1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_VERSION 0x010327
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
30 /***********************************************************************
32 * This section contains generic SWIG labels for method/variable
33 * declarations/attributes, and other compiler dependent labels.
35 ************************************************************************/
37 /* template workaround for compilers that cannot correctly implement the C++ standard */
38 #ifndef SWIGTEMPLATEDISAMBIGUATOR
39 # if defined(__SUNPRO_CC) && (__SUNPRO_CC <= 0x560)
40 # define SWIGTEMPLATEDISAMBIGUATOR template
42 # define SWIGTEMPLATEDISAMBIGUATOR
46 /* inline attribute */
48 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
49 # define SWIGINLINE inline
55 /* attribute recognised by some compilers to avoid 'unused' warnings */
57 # if defined(__GNUC__) || defined(__ICC)
58 # define SWIGUNUSED __attribute__ ((unused))
64 /* internal SWIG method */
66 # define SWIGINTERN static SWIGUNUSED
69 /* internal inline SWIG method */
70 #ifndef SWIGINTERNINLINE
71 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
74 /* exporting methods for Windows DLLs */
76 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
77 # if defined(STATIC_LINKED)
80 # define SWIGEXPORT __declspec(dllexport)
87 /* calling conventions for Windows */
89 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
90 # define SWIGSTDCALL __stdcall
100 /***********************************************************************
103 * This file contains generic CAPI SWIG runtime support for pointer
106 ************************************************************************/
108 /* This should only be incremented when either the layout of swig_type_info changes,
109 or for whatever reason, the runtime changes incompatibly */
110 #define SWIG_RUNTIME_VERSION "2"
112 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
113 #ifdef SWIG_TYPE_TABLE
114 # define SWIG_QUOTE_STRING(x) #x
115 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
116 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
118 # define SWIG_TYPE_TABLE_NAME
122 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
123 creating a static or dynamic library from the swig runtime code.
124 In 99.9% of the cases, swig just needs to declare them as 'static'.
126 But only do this if is strictly necessary, ie, if you have problems
127 with your compiler or so.
131 # define SWIGRUNTIME SWIGINTERN
134 #ifndef SWIGRUNTIMEINLINE
135 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
144 typedef void *(*swig_converter_func
)(void *);
145 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
147 /* Structure to store inforomation on one type */
148 typedef struct swig_type_info
{
149 const char *name
; /* mangled name of this type */
150 const char *str
; /* human readable name of this type */
151 swig_dycast_func dcast
; /* dynamic cast function down a hierarchy */
152 struct swig_cast_info
*cast
; /* linked list of types that can cast into this type */
153 void *clientdata
; /* language specific type data */
156 /* Structure to store a type and conversion function used for casting */
157 typedef struct swig_cast_info
{
158 swig_type_info
*type
; /* pointer to type that is equivalent to this type */
159 swig_converter_func converter
; /* function to cast the void pointers */
160 struct swig_cast_info
*next
; /* pointer to next cast in linked list */
161 struct swig_cast_info
*prev
; /* pointer to the previous cast */
164 /* Structure used to store module information
165 * Each module generates one structure like this, and the runtime collects
166 * all of these structures and stores them in a circularly linked list.*/
167 typedef struct swig_module_info
{
168 swig_type_info
**types
; /* Array of pointers to swig_type_info structures that are in this module */
169 size_t size
; /* Number of types in this module */
170 struct swig_module_info
*next
; /* Pointer to next element in circularly linked list */
171 swig_type_info
**type_initial
; /* Array of initially generated type structures */
172 swig_cast_info
**cast_initial
; /* Array of initially generated casting structures */
173 void *clientdata
; /* Language specific module data */
178 Compare two type names skipping the space characters, therefore
179 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
181 Return 0 when the two name types are equivalent, as in
182 strncmp, but skipping ' '.
185 SWIG_TypeNameComp(const char *f1
, const char *l1
,
186 const char *f2
, const char *l2
) {
187 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
188 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
189 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
190 if (*f1
!= *f2
) return (int)(*f1
- *f2
);
192 return (l1
- f1
) - (l2
- f2
);
196 Check type equivalence in a name list like <name1>|<name2>|...
197 Return 0 if not equal, 1 if equal
200 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
202 const char* te
= tb
+ strlen(tb
);
204 while (!equiv
&& *ne
) {
205 for (nb
= ne
; *ne
; ++ne
) {
206 if (*ne
== '|') break;
208 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
215 Check type equivalence in a name list like <name1>|<name2>|...
216 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
219 SWIG_TypeCompare(const char *nb
, const char *tb
) {
221 const char* te
= tb
+ strlen(tb
);
223 while (!equiv
&& *ne
) {
224 for (nb
= ne
; *ne
; ++ne
) {
225 if (*ne
== '|') break;
227 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
234 /* think of this as a c++ template<> or a scheme macro */
235 #define SWIG_TypeCheck_Template(comparison, ty) \
237 swig_cast_info *iter = ty->cast; \
240 if (iter == ty->cast) return iter; \
241 /* Move iter to the top of the linked list */ \
242 iter->prev->next = iter->next; \
244 iter->next->prev = iter->prev; \
245 iter->next = ty->cast; \
247 if (ty->cast) ty->cast->prev = iter; \
259 SWIGRUNTIME swig_cast_info
*
260 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
261 SWIG_TypeCheck_Template(strcmp(iter
->type
->name
, c
) == 0, ty
);
264 /* Same as previous function, except strcmp is replaced with a pointer comparison */
265 SWIGRUNTIME swig_cast_info
*
266 SWIG_TypeCheckStruct(swig_type_info
*from
, swig_type_info
*into
) {
267 SWIG_TypeCheck_Template(iter
->type
== from
, into
);
271 Cast a pointer up an inheritance hierarchy
273 SWIGRUNTIMEINLINE
void *
274 SWIG_TypeCast(swig_cast_info
*ty
, void *ptr
) {
275 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
279 Dynamic pointer casting. Down an inheritance hierarchy
281 SWIGRUNTIME swig_type_info
*
282 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
283 swig_type_info
*lastty
= ty
;
284 if (!ty
|| !ty
->dcast
) return ty
;
285 while (ty
&& (ty
->dcast
)) {
286 ty
= (*ty
->dcast
)(ptr
);
293 Return the name associated with this type
295 SWIGRUNTIMEINLINE
const char *
296 SWIG_TypeName(const swig_type_info
*ty
) {
301 Return the pretty name associated with this type,
302 that is an unmangled type name in a form presentable to the user.
304 SWIGRUNTIME
const char *
305 SWIG_TypePrettyName(const swig_type_info
*type
) {
306 /* The "str" field contains the equivalent pretty names of the
307 type, separated by vertical-bar characters. We choose
308 to print the last name, as it is often (?) the most
310 if (type
->str
!= NULL
) {
311 const char *last_name
= type
->str
;
313 for (s
= type
->str
; *s
; s
++)
314 if (*s
== '|') last_name
= s
+1;
322 Set the clientdata field for a type
325 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
326 swig_cast_info
*cast
= ti
->cast
;
327 /* if (ti->clientdata == clientdata) return; */
328 ti
->clientdata
= clientdata
;
331 if (!cast
->converter
) {
332 swig_type_info
*tc
= cast
->type
;
333 if (!tc
->clientdata
) {
334 SWIG_TypeClientData(tc
, clientdata
);
342 Search for a swig_type_info structure only by mangled name
343 Search is a O(log #types)
345 We start searching at module start, and finish searching when start == end.
346 Note: if start == end at the beginning of the function, we go all the way around
349 SWIGRUNTIME swig_type_info
*
350 SWIG_MangledTypeQueryModule(swig_module_info
*start
,
351 swig_module_info
*end
,
353 swig_module_info
*iter
= start
;
356 register size_t l
= 0;
357 register size_t r
= iter
->size
- 1;
359 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
360 register size_t i
= (l
+ r
) >> 1;
361 const char *iname
= iter
->types
[i
]->name
;
363 register int compare
= strcmp(name
, iname
);
365 return iter
->types
[i
];
366 } else if (compare
< 0) {
372 } else if (compare
> 0) {
376 break; /* should never happen */
381 } while (iter
!= end
);
386 Search for a swig_type_info structure for either a mangled name or a human readable name.
387 It first searches the mangled names of the types, which is a O(log #types)
388 If a type is not found it then searches the human readable names, which is O(#types).
390 We start searching at module start, and finish searching when start == end.
391 Note: if start == end at the beginning of the function, we go all the way around
394 SWIGRUNTIME swig_type_info
*
395 SWIG_TypeQueryModule(swig_module_info
*start
,
396 swig_module_info
*end
,
398 /* STEP 1: Search the name field using binary search */
399 swig_type_info
*ret
= SWIG_MangledTypeQueryModule(start
, end
, name
);
403 /* STEP 2: If the type hasn't been found, do a complete search
404 of the str field (the human readable name) */
405 swig_module_info
*iter
= start
;
407 register size_t i
= 0;
408 for (; i
< iter
->size
; ++i
) {
409 if (iter
->types
[i
]->str
&& (SWIG_TypeEquiv(iter
->types
[i
]->str
, name
)))
410 return iter
->types
[i
];
413 } while (iter
!= end
);
416 /* neither found a match */
422 Pack binary data into a string
425 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
426 static const char hex
[17] = "0123456789abcdef";
427 register const unsigned char *u
= (unsigned char *) ptr
;
428 register const unsigned char *eu
= u
+ sz
;
429 for (; u
!= eu
; ++u
) {
430 register unsigned char uu
= *u
;
431 *(c
++) = hex
[(uu
& 0xf0) >> 4];
432 *(c
++) = hex
[uu
& 0xf];
438 Unpack binary data from a string
440 SWIGRUNTIME
const char *
441 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
442 register unsigned char *u
= (unsigned char *) ptr
;
443 register const unsigned char *eu
= u
+ sz
;
444 for (; u
!= eu
; ++u
) {
445 register char d
= *(c
++);
446 register unsigned char uu
= 0;
447 if ((d
>= '0') && (d
<= '9'))
448 uu
= ((d
- '0') << 4);
449 else if ((d
>= 'a') && (d
<= 'f'))
450 uu
= ((d
- ('a'-10)) << 4);
454 if ((d
>= '0') && (d
<= '9'))
456 else if ((d
>= 'a') && (d
<= 'f'))
457 uu
|= (d
- ('a'-10));
466 Pack 'void *' into a string buffer.
469 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
471 if ((2*sizeof(void *) + 2) > bsz
) return 0;
473 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
474 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
479 SWIGRUNTIME
const char *
480 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
482 if (strcmp(c
,"NULL") == 0) {
489 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
493 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
495 size_t lname
= (name
? strlen(name
) : 0);
496 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
498 r
= SWIG_PackData(r
,ptr
,sz
);
500 strncpy(r
,name
,lname
+1);
507 SWIGRUNTIME
const char *
508 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
510 if (strcmp(c
,"NULL") == 0) {
517 return SWIG_UnpackData(++c
,ptr
,sz
);
524 /* -----------------------------------------------------------------------------
525 * SWIG API. Portion that goes into the runtime
526 * ----------------------------------------------------------------------------- */
532 /* -----------------------------------------------------------------------------
533 * for internal method declarations
534 * ----------------------------------------------------------------------------- */
537 # define SWIGINTERN static SWIGUNUSED
540 #ifndef SWIGINTERNINLINE
541 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
545 Exception handling in wrappers
547 #define SWIG_fail goto fail
548 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
549 #define SWIG_append_errmsg(msg) SWIG_Python_AddErrMesg(msg,0)
550 #define SWIG_preppend_errmsg(msg) SWIG_Python_AddErrMesg(msg,1)
551 #define SWIG_type_error(type,obj) SWIG_Python_TypeError(type,obj)
552 #define SWIG_null_ref(type) SWIG_Python_NullRef(type)
557 #define SWIG_contract_assert(expr, msg) \
558 if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
560 /* -----------------------------------------------------------------------------
561 * Constant declarations
562 * ----------------------------------------------------------------------------- */
565 #define SWIG_PY_INT 1
566 #define SWIG_PY_FLOAT 2
567 #define SWIG_PY_STRING 3
568 #define SWIG_PY_POINTER 4
569 #define SWIG_PY_BINARY 5
571 /* Constant information structure */
572 typedef struct swig_const_info
{
578 swig_type_info
**ptype
;
582 /* -----------------------------------------------------------------------------
583 * Alloc. memory flags
584 * ----------------------------------------------------------------------------- */
585 #define SWIG_OLDOBJ 1
586 #define SWIG_NEWOBJ SWIG_OLDOBJ + 1
587 #define SWIG_PYSTR SWIG_NEWOBJ + 1
594 /***********************************************************************
597 * This file contains the runtime support for Python modules
598 * and includes code for managing global variables and pointer
601 * Author : David Beazley (beazley@cs.uchicago.edu)
602 ************************************************************************/
604 /* Common SWIG API */
605 #define SWIG_ConvertPtr(obj, pp, type, flags) SWIG_Python_ConvertPtr(obj, pp, type, flags)
606 #define SWIG_NewPointerObj(p, type, flags) SWIG_Python_NewPointerObj(p, type, flags)
607 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
610 /* Python-specific SWIG API */
611 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
612 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
615 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
616 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
618 /* -----------------------------------------------------------------------------
619 * Pointer declarations
620 * ----------------------------------------------------------------------------- */
622 Use SWIG_NO_COBJECT_TYPES to force the use of strings to represent
623 C/C++ pointers in the python side. Very useful for debugging, but
626 #if !defined(SWIG_NO_COBJECT_TYPES) && !defined(SWIG_COBJECT_TYPES)
627 # define SWIG_COBJECT_TYPES
630 /* Flags for pointer conversion */
631 #define SWIG_POINTER_EXCEPTION 0x1
632 #define SWIG_POINTER_DISOWN 0x2
635 /* Add PyOS_snprintf for old Pythons */
636 #if PY_VERSION_HEX < 0x02020000
637 #define PyOS_snprintf snprintf
644 /* -----------------------------------------------------------------------------
645 * Create a new pointer string
646 * ----------------------------------------------------------------------------- */
647 #ifndef SWIG_BUFFER_SIZE
648 #define SWIG_BUFFER_SIZE 1024
651 /* A crude PyString_FromFormat implementation for old Pythons */
652 #if PY_VERSION_HEX < 0x02020000
654 PyString_FromFormat(const char *fmt
, ...) {
656 char buf
[SWIG_BUFFER_SIZE
* 2];
659 res
= vsnprintf(buf
, sizeof(buf
), fmt
, ap
);
661 return (res
< 0 || res
>= sizeof(buf
)) ? 0 : PyString_FromString(buf
);
665 #if PY_VERSION_HEX < 0x01060000
666 #define PyObject_Del(op) PyMem_DEL((op))
669 #if defined(SWIG_COBJECT_TYPES)
670 #if !defined(SWIG_COBJECT_PYTHON)
671 /* -----------------------------------------------------------------------------
672 * Implements a simple Swig Object type, and use it instead of PyCObject
673 * ----------------------------------------------------------------------------- */
681 /* Declarations for objects of type PySwigObject */
684 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int flags
)
686 char result
[SWIG_BUFFER_SIZE
];
688 if (SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
))) {
689 fputs("<Swig Object at ", fp
); fputs(result
, fp
); fputs(">", fp
);
696 SWIGRUNTIME PyObject
*
697 PySwigObject_repr(PySwigObject
*v
)
699 char result
[SWIG_BUFFER_SIZE
];
700 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
)) ?
701 PyString_FromFormat("<Swig Object at %s>", result
) : 0;
704 SWIGRUNTIME PyObject
*
705 PySwigObject_str(PySwigObject
*v
)
707 char result
[SWIG_BUFFER_SIZE
];
708 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
)) ?
709 PyString_FromString(result
) : 0;
712 SWIGRUNTIME PyObject
*
713 PySwigObject_long(PySwigObject
*v
)
715 return PyLong_FromVoidPtr(v
->ptr
);
718 SWIGRUNTIME PyObject
*
719 PySwigObject_format(const char* fmt
, PySwigObject
*v
)
721 PyObject
*res
= NULL
;
722 PyObject
*args
= PyTuple_New(1);
723 if (args
&& (PyTuple_SetItem(args
, 0, PySwigObject_long(v
)) == 0)) {
724 PyObject
*ofmt
= PyString_FromString(fmt
);
726 res
= PyString_Format(ofmt
,args
);
734 SWIGRUNTIME PyObject
*
735 PySwigObject_oct(PySwigObject
*v
)
737 return PySwigObject_format("%o",v
);
740 SWIGRUNTIME PyObject
*
741 PySwigObject_hex(PySwigObject
*v
)
743 return PySwigObject_format("%x",v
);
747 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
749 int c
= strcmp(v
->desc
, w
->desc
);
751 return (c
> 0) ? 1 : -1;
755 return (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
760 PySwigObject_dealloc(PySwigObject
*self
)
765 SWIGRUNTIME PyTypeObject
*
766 PySwigObject_type(void) {
767 static char pyswigobject_type__doc__
[] =
768 "Swig object carries a C/C++ instance pointer";
770 static PyNumberMethods PySwigObject_as_number
= {
771 (binaryfunc
)0, /*nb_add*/
772 (binaryfunc
)0, /*nb_subtract*/
773 (binaryfunc
)0, /*nb_multiply*/
774 (binaryfunc
)0, /*nb_divide*/
775 (binaryfunc
)0, /*nb_remainder*/
776 (binaryfunc
)0, /*nb_divmod*/
777 (ternaryfunc
)0,/*nb_power*/
778 (unaryfunc
)0, /*nb_negative*/
779 (unaryfunc
)0, /*nb_positive*/
780 (unaryfunc
)0, /*nb_absolute*/
781 (inquiry
)0, /*nb_nonzero*/
788 (coercion
)0, /*nb_coerce*/
789 (unaryfunc
)PySwigObject_long
, /*nb_int*/
790 (unaryfunc
)PySwigObject_long
, /*nb_long*/
791 (unaryfunc
)0, /*nb_float*/
792 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
793 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
794 #if PY_VERSION_HEX >= 0x02020000
795 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
796 #elif PY_VERSION_HEX >= 0x02000000
797 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
801 static PyTypeObject pyswigobject_type
802 #if !defined(__cplusplus)
804 static int type_init
= 0;
809 PyObject_HEAD_INIT(&PyType_Type
)
811 (char *)"PySwigObject", /*tp_name*/
812 sizeof(PySwigObject
), /*tp_basicsize*/
815 (destructor
)PySwigObject_dealloc
, /*tp_dealloc*/
816 (printfunc
)PySwigObject_print
, /*tp_print*/
817 (getattrfunc
)0, /*tp_getattr*/
818 (setattrfunc
)0, /*tp_setattr*/
819 (cmpfunc
)PySwigObject_compare
, /*tp_compare*/
820 (reprfunc
)PySwigObject_repr
, /*tp_repr*/
821 &PySwigObject_as_number
, /*tp_as_number*/
822 0, /*tp_as_sequence*/
824 (hashfunc
)0, /*tp_hash*/
825 (ternaryfunc
)0, /*tp_call*/
826 (reprfunc
)PySwigObject_str
, /*tp_str*/
827 /* Space for future expansion */
829 pyswigobject_type__doc__
, /* Documentation string */
830 #if PY_VERSION_HEX >= 0x02000000
834 #if PY_VERSION_HEX >= 0x02010000
835 0, /* tp_richcompare */
836 0, /* tp_weaklistoffset */
838 #if PY_VERSION_HEX >= 0x02020000
839 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
841 #if PY_VERSION_HEX >= 0x02030000
845 0,0,0,0 /* tp_alloc -> tp_next */
848 #if !defined(__cplusplus)
849 pyswigobject_type
= tmp
;
853 return &pyswigobject_type
;
856 SWIGRUNTIME PyObject
*
857 PySwigObject_FromVoidPtrAndDesc(void *ptr
, const char *desc
)
859 PySwigObject
*self
= PyObject_NEW(PySwigObject
, PySwigObject_type());
864 return (PyObject
*)self
;
867 SWIGRUNTIMEINLINE
void *
868 PySwigObject_AsVoidPtr(PyObject
*self
)
870 return ((PySwigObject
*)self
)->ptr
;
873 SWIGRUNTIMEINLINE
const char *
874 PySwigObject_GetDesc(PyObject
*self
)
876 return ((PySwigObject
*)self
)->desc
;
879 SWIGRUNTIMEINLINE
int
880 PySwigObject_Check(PyObject
*op
) {
881 return ((op
)->ob_type
== PySwigObject_type())
882 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
885 /* -----------------------------------------------------------------------------
886 * Implements a simple Swig Packed type, and use it instead of string
887 * ----------------------------------------------------------------------------- */
897 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int flags
)
899 char result
[SWIG_BUFFER_SIZE
];
901 fputs("<Swig Packed ", fp
);
902 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
911 SWIGRUNTIME PyObject
*
912 PySwigPacked_repr(PySwigPacked
*v
)
914 char result
[SWIG_BUFFER_SIZE
];
915 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
916 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->desc
);
918 return PyString_FromFormat("<Swig Packed %s>", v
->desc
);
922 SWIGRUNTIME PyObject
*
923 PySwigPacked_str(PySwigPacked
*v
)
925 char result
[SWIG_BUFFER_SIZE
];
926 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
927 return PyString_FromFormat("%s%s", result
, v
->desc
);
929 return PyString_FromString(v
->desc
);
934 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
936 int c
= strcmp(v
->desc
, w
->desc
);
938 return (c
> 0) ? 1 : -1;
942 int s
= (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
943 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
948 PySwigPacked_dealloc(PySwigPacked
*self
)
954 SWIGRUNTIME PyTypeObject
*
955 PySwigPacked_type(void) {
956 static char pyswigpacked_type__doc__
[] =
957 "Swig object carries a C/C++ instance pointer";
958 static PyTypeObject pyswigpacked_type
959 #if !defined(__cplusplus)
961 static int type_init
= 0;
966 PyObject_HEAD_INIT(&PyType_Type
)
968 (char *)"PySwigPacked", /*tp_name*/
969 sizeof(PySwigPacked
), /*tp_basicsize*/
972 (destructor
)PySwigPacked_dealloc
, /*tp_dealloc*/
973 (printfunc
)PySwigPacked_print
, /*tp_print*/
974 (getattrfunc
)0, /*tp_getattr*/
975 (setattrfunc
)0, /*tp_setattr*/
976 (cmpfunc
)PySwigPacked_compare
, /*tp_compare*/
977 (reprfunc
)PySwigPacked_repr
, /*tp_repr*/
979 0, /*tp_as_sequence*/
981 (hashfunc
)0, /*tp_hash*/
982 (ternaryfunc
)0, /*tp_call*/
983 (reprfunc
)PySwigPacked_str
, /*tp_str*/
984 /* Space for future expansion */
986 pyswigpacked_type__doc__
, /* Documentation string */
987 #if PY_VERSION_HEX >= 0x02000000
991 #if PY_VERSION_HEX >= 0x02010000
992 0, /* tp_richcompare */
993 0, /* tp_weaklistoffset */
995 #if PY_VERSION_HEX >= 0x02020000
996 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
998 #if PY_VERSION_HEX >= 0x02030000
1002 0,0,0,0 /* tp_alloc -> tp_next */
1005 #if !defined(__cplusplus)
1006 pyswigpacked_type
= tmp
;
1010 return &pyswigpacked_type
;
1013 SWIGRUNTIME PyObject
*
1014 PySwigPacked_FromDataAndDesc(void *ptr
, size_t size
, const char *desc
)
1016 PySwigPacked
*self
= PyObject_NEW(PySwigPacked
, PySwigPacked_type());
1020 void *pack
= malloc(size
);
1022 memcpy(pack
, ptr
, size
);
1026 return (PyObject
*) self
;
1032 SWIGRUNTIMEINLINE
const char *
1033 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
1035 PySwigPacked
*self
= (PySwigPacked
*)obj
;
1036 if (self
->size
!= size
) return 0;
1037 memcpy(ptr
, self
->pack
, size
);
1041 SWIGRUNTIMEINLINE
const char *
1042 PySwigPacked_GetDesc(PyObject
*self
)
1044 return ((PySwigPacked
*)self
)->desc
;
1047 SWIGRUNTIMEINLINE
int
1048 PySwigPacked_Check(PyObject
*op
) {
1049 return ((op
)->ob_type
== PySwigPacked_type())
1050 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
1054 /* -----------------------------------------------------------------------------
1055 * Use the old Python PyCObject instead of PySwigObject
1056 * ----------------------------------------------------------------------------- */
1058 #define PySwigObject_GetDesc(obj) PyCObject_GetDesc(obj)
1059 #define PySwigObject_Check(obj) PyCObject_Check(obj)
1060 #define PySwigObject_AsVoidPtr(obj) PyCObject_AsVoidPtr(obj)
1061 #define PySwigObject_FromVoidPtrAndDesc(p, d) PyCObject_FromVoidPtrAndDesc(p, d, NULL)
1067 /* -----------------------------------------------------------------------------
1068 * errors manipulation
1069 * ----------------------------------------------------------------------------- */
1072 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
1075 #if defined(SWIG_COBJECT_TYPES)
1076 if (obj
&& PySwigObject_Check(obj
)) {
1077 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
1079 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
1086 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
1088 PyObject
*str
= PyObject_Str(obj
);
1089 const char *cstr
= str
? PyString_AsString(str
) : 0;
1091 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
1094 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
1101 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
1103 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
1107 SWIGRUNTIMEINLINE
void
1108 SWIG_Python_NullRef(const char *type
)
1111 PyErr_Format(PyExc_TypeError
, "null reference of type '%s' was received",type
);
1113 PyErr_Format(PyExc_TypeError
, "null reference was received");
1118 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
1120 if (PyErr_Occurred()) {
1122 PyObject
*value
= 0;
1123 PyObject
*traceback
= 0;
1124 PyErr_Fetch(&type
, &value
, &traceback
);
1126 PyObject
*old_str
= PyObject_Str(value
);
1130 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
1132 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
1143 SWIG_Python_ArgFail(int argnum
)
1145 if (PyErr_Occurred()) {
1146 /* add information about failing argument */
1148 PyOS_snprintf(mesg
, sizeof(mesg
), "argument number %d:", argnum
);
1149 return SWIG_Python_AddErrMesg(mesg
, 1);
1156 /* -----------------------------------------------------------------------------
1157 * pointers/data manipulation
1158 * ----------------------------------------------------------------------------- */
1160 /* Convert a pointer value */
1162 SWIG_Python_ConvertPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
) {
1165 static PyObject
*SWIG_this
= 0;
1167 PyObject
*pyobj
= 0;
1171 if (obj
== Py_None
) {
1176 #ifdef SWIG_COBJECT_TYPES
1177 if (!(PySwigObject_Check(obj
))) {
1179 SWIG_this
= PyString_FromString("this");
1181 obj
= PyObject_GetAttr(obj
,SWIG_this
);
1183 if (!obj
) goto type_error
;
1184 if (!PySwigObject_Check(obj
)) {
1189 vptr
= PySwigObject_AsVoidPtr(obj
);
1190 c
= (const char *) PySwigObject_GetDesc(obj
);
1191 if (newref
) { Py_DECREF(obj
); }
1194 if (!(PyString_Check(obj
))) {
1196 SWIG_this
= PyString_FromString("this");
1198 obj
= PyObject_GetAttr(obj
,SWIG_this
);
1200 if (!obj
) goto type_error
;
1201 if (!PyString_Check(obj
)) {
1206 c
= PyString_AsString(obj
);
1207 /* Pointer values must start with leading underscore */
1208 c
= SWIG_UnpackVoidPtr(c
, &vptr
, ty
->name
);
1209 if (newref
) { Py_DECREF(obj
); }
1210 if (!c
) goto type_error
;
1215 tc
= SWIG_TypeCheck(c
,ty
);
1216 if (!tc
) goto type_error
;
1217 *ptr
= SWIG_TypeCast(tc
,vptr
);
1221 if ((pyobj
) && (flags
& SWIG_POINTER_DISOWN
)) {
1222 PyObject_SetAttrString(pyobj
,(char*)"thisown",Py_False
);
1228 if (pyobj
&& !obj
) {
1230 if (PyCFunction_Check(obj
)) {
1231 /* here we get the method pointer for callbacks */
1232 char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
1233 c
= doc
? strstr(doc
, "swig_ptr: ") : 0;
1235 c
= ty
? SWIG_UnpackVoidPtr(c
+ 10, &vptr
, ty
->name
) : 0;
1236 if (!c
) goto type_error
;
1241 if (flags
& SWIG_POINTER_EXCEPTION
) {
1243 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1245 SWIG_Python_TypeError("C/C++ pointer", obj
);
1251 /* Convert a pointer value, signal an exception on a type mismatch */
1253 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
1255 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
1257 if (flags
& SWIG_POINTER_EXCEPTION
) {
1258 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1259 SWIG_Python_ArgFail(argnum
);
1265 /* Convert a packed value value */
1267 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
, int flags
) {
1271 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1272 c
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
1274 if ((!obj
) || (!PyString_Check(obj
))) goto type_error
;
1275 c
= PyString_AsString(obj
);
1276 /* Pointer values must start with leading underscore */
1277 c
= SWIG_UnpackDataName(c
, ptr
, sz
, ty
->name
);
1279 if (!c
) goto type_error
;
1281 tc
= SWIG_TypeCheck(c
,ty
);
1282 if (!tc
) goto type_error
;
1288 if (flags
& SWIG_POINTER_EXCEPTION
) {
1290 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1292 SWIG_Python_TypeError("C/C++ packed data", obj
);
1298 /* Create a new array object */
1299 SWIGRUNTIME PyObject
*
1300 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int own
) {
1303 if (!PyErr_Occurred()) {
1304 PyErr_Format(PyExc_TypeError
, "Swig: null type passed to NewPointerObj");
1312 #ifdef SWIG_COBJECT_TYPES
1313 robj
= PySwigObject_FromVoidPtrAndDesc((void *) ptr
, (char *)type
->name
);
1316 char result
[SWIG_BUFFER_SIZE
];
1317 robj
= SWIG_PackVoidPtr(result
, ptr
, type
->name
, sizeof(result
)) ?
1318 PyString_FromString(result
) : 0;
1321 if (!robj
|| (robj
== Py_None
)) return robj
;
1322 if (type
->clientdata
) {
1324 PyObject
*args
= Py_BuildValue((char*)"(O)", robj
);
1326 inst
= PyObject_CallObject((PyObject
*) type
->clientdata
, args
);
1330 PyObject_SetAttrString(inst
,(char*)"thisown",Py_True
);
1338 SWIGRUNTIME PyObject
*
1339 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
1345 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1346 robj
= PySwigPacked_FromDataAndDesc((void *) ptr
, sz
, (char *)type
->name
);
1349 char result
[SWIG_BUFFER_SIZE
];
1350 robj
= SWIG_PackDataName(result
, ptr
, sz
, type
->name
, sizeof(result
)) ?
1351 PyString_FromString(result
) : 0;
1357 /* -----------------------------------------------------------------------------*
1359 * -----------------------------------------------------------------------------*/
1361 #ifdef SWIG_LINK_RUNTIME
1362 void *SWIG_ReturnGlobalTypeList(void *);
1365 SWIGRUNTIME swig_module_info
*
1366 SWIG_Python_GetModule(void) {
1367 static void *type_pointer
= (void *)0;
1368 /* first check if module already created */
1369 if (!type_pointer
) {
1370 #ifdef SWIG_LINK_RUNTIME
1371 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
1373 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
1374 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
1375 if (PyErr_Occurred()) {
1377 type_pointer
= (void *)0;
1381 return (swig_module_info
*) type_pointer
;
1384 #if PY_MAJOR_VERSION < 2
1385 /* PyModule_AddObject function was introduced in Python 2.0. The following function
1386 is copied out of Python/modsupport.c in python version 2.3.4 */
1388 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
1391 if (!PyModule_Check(m
)) {
1392 PyErr_SetString(PyExc_TypeError
,
1393 "PyModule_AddObject() needs module as first arg");
1397 PyErr_SetString(PyExc_TypeError
,
1398 "PyModule_AddObject() needs non-NULL value");
1402 dict
= PyModule_GetDict(m
);
1404 /* Internal error -- modules must have a dict! */
1405 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
1406 PyModule_GetName(m
));
1409 if (PyDict_SetItemString(dict
, name
, o
))
1417 SWIG_Python_SetModule(swig_module_info
*swig_module
) {
1418 static PyMethodDef swig_empty_runtime_method_table
[] = { {NULL
, NULL
, 0, NULL
} };/* Sentinel */
1420 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
1421 swig_empty_runtime_method_table
);
1422 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) swig_module
, NULL
);
1423 if (pointer
&& module) {
1424 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
1433 /* -------- TYPES TABLE (BEGIN) -------- */
1435 #define SWIGTYPE_p_char swig_types[0]
1436 #define SWIGTYPE_p_form_ops_t swig_types[1]
1437 #define SWIGTYPE_p_int swig_types[2]
1438 #define SWIGTYPE_p_unsigned_char swig_types[3]
1439 #define SWIGTYPE_p_unsigned_int swig_types[4]
1440 #define SWIGTYPE_p_unsigned_long swig_types[5]
1441 #define SWIGTYPE_p_wxANIHandler swig_types[6]
1442 #define SWIGTYPE_p_wxAcceleratorTable swig_types[7]
1443 #define SWIGTYPE_p_wxActivateEvent swig_types[8]
1444 #define SWIGTYPE_p_wxAnimationBase swig_types[9]
1445 #define SWIGTYPE_p_wxAnimationPlayer swig_types[10]
1446 #define SWIGTYPE_p_wxBMPHandler swig_types[11]
1447 #define SWIGTYPE_p_wxBitmap swig_types[12]
1448 #define SWIGTYPE_p_wxBoxSizer swig_types[13]
1449 #define SWIGTYPE_p_wxCURHandler swig_types[14]
1450 #define SWIGTYPE_p_wxChildFocusEvent swig_types[15]
1451 #define SWIGTYPE_p_wxCloseEvent swig_types[16]
1452 #define SWIGTYPE_p_wxColour swig_types[17]
1453 #define SWIGTYPE_p_wxCommandEvent swig_types[18]
1454 #define SWIGTYPE_p_wxContextMenuEvent swig_types[19]
1455 #define SWIGTYPE_p_wxControl swig_types[20]
1456 #define SWIGTYPE_p_wxControlWithItems swig_types[21]
1457 #define SWIGTYPE_p_wxDC swig_types[22]
1458 #define SWIGTYPE_p_wxDateEvent swig_types[23]
1459 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[24]
1460 #define SWIGTYPE_p_wxDropFilesEvent swig_types[25]
1461 #define SWIGTYPE_p_wxDuplexMode swig_types[26]
1462 #define SWIGTYPE_p_wxEraseEvent swig_types[27]
1463 #define SWIGTYPE_p_wxEvent swig_types[28]
1464 #define SWIGTYPE_p_wxEvtHandler swig_types[29]
1465 #define SWIGTYPE_p_wxFSFile swig_types[30]
1466 #define SWIGTYPE_p_wxFileSystem swig_types[31]
1467 #define SWIGTYPE_p_wxFlexGridSizer swig_types[32]
1468 #define SWIGTYPE_p_wxFocusEvent swig_types[33]
1469 #define SWIGTYPE_p_wxGBSizerItem swig_types[34]
1470 #define SWIGTYPE_p_wxGIFAnimation swig_types[35]
1471 #define SWIGTYPE_p_wxGIFAnimationCtrl swig_types[36]
1472 #define SWIGTYPE_p_wxGIFHandler swig_types[37]
1473 #define SWIGTYPE_p_wxGridBagSizer swig_types[38]
1474 #define SWIGTYPE_p_wxGridSizer swig_types[39]
1475 #define SWIGTYPE_p_wxICOHandler swig_types[40]
1476 #define SWIGTYPE_p_wxIconizeEvent swig_types[41]
1477 #define SWIGTYPE_p_wxIdleEvent swig_types[42]
1478 #define SWIGTYPE_p_wxImage swig_types[43]
1479 #define SWIGTYPE_p_wxImageHandler swig_types[44]
1480 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[45]
1481 #define SWIGTYPE_p_wxInitDialogEvent swig_types[46]
1482 #define SWIGTYPE_p_wxJPEGHandler swig_types[47]
1483 #define SWIGTYPE_p_wxKeyEvent swig_types[48]
1484 #define SWIGTYPE_p_wxLayoutConstraints swig_types[49]
1485 #define SWIGTYPE_p_wxMaximizeEvent swig_types[50]
1486 #define SWIGTYPE_p_wxMenu swig_types[51]
1487 #define SWIGTYPE_p_wxMenuBar swig_types[52]
1488 #define SWIGTYPE_p_wxMenuEvent swig_types[53]
1489 #define SWIGTYPE_p_wxMenuItem swig_types[54]
1490 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[55]
1491 #define SWIGTYPE_p_wxMouseEvent swig_types[56]
1492 #define SWIGTYPE_p_wxMoveEvent swig_types[57]
1493 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[58]
1494 #define SWIGTYPE_p_wxNcPaintEvent swig_types[59]
1495 #define SWIGTYPE_p_wxNotifyEvent swig_types[60]
1496 #define SWIGTYPE_p_wxObject swig_types[61]
1497 #define SWIGTYPE_p_wxPCXHandler swig_types[62]
1498 #define SWIGTYPE_p_wxPNGHandler swig_types[63]
1499 #define SWIGTYPE_p_wxPNMHandler swig_types[64]
1500 #define SWIGTYPE_p_wxPaintEvent swig_types[65]
1501 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[66]
1502 #define SWIGTYPE_p_wxPaperSize swig_types[67]
1503 #define SWIGTYPE_p_wxPoint swig_types[68]
1504 #define SWIGTYPE_p_wxPyApp swig_types[69]
1505 #define SWIGTYPE_p_wxPyCommandEvent swig_types[70]
1506 #define SWIGTYPE_p_wxPyEvent swig_types[71]
1507 #define SWIGTYPE_p_wxPyImageHandler swig_types[72]
1508 #define SWIGTYPE_p_wxPySizer swig_types[73]
1509 #define SWIGTYPE_p_wxPyValidator swig_types[74]
1510 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[75]
1511 #define SWIGTYPE_p_wxRect swig_types[76]
1512 #define SWIGTYPE_p_wxScrollEvent swig_types[77]
1513 #define SWIGTYPE_p_wxScrollWinEvent swig_types[78]
1514 #define SWIGTYPE_p_wxSetCursorEvent swig_types[79]
1515 #define SWIGTYPE_p_wxShowEvent swig_types[80]
1516 #define SWIGTYPE_p_wxSize swig_types[81]
1517 #define SWIGTYPE_p_wxSizeEvent swig_types[82]
1518 #define SWIGTYPE_p_wxSizer swig_types[83]
1519 #define SWIGTYPE_p_wxSizerItem swig_types[84]
1520 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[85]
1521 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[86]
1522 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[87]
1523 #define SWIGTYPE_p_wxTIFFHandler swig_types[88]
1524 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[89]
1525 #define SWIGTYPE_p_wxValidator swig_types[90]
1526 #define SWIGTYPE_p_wxWindow swig_types[91]
1527 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[92]
1528 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[93]
1529 #define SWIGTYPE_p_wxXPMHandler swig_types[94]
1530 #define SWIGTYPE_ptrdiff_t swig_types[95]
1531 #define SWIGTYPE_std__ptrdiff_t swig_types[96]
1532 #define SWIGTYPE_unsigned_int swig_types[97]
1533 static swig_type_info
*swig_types
[99];
1534 static swig_module_info swig_module
= {swig_types
, 98, 0, 0, 0, 0};
1535 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
1536 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
1538 /* -------- TYPES TABLE (END) -------- */
1541 /*-----------------------------------------------
1542 @(target):= _animate.so
1543 ------------------------------------------------*/
1544 #define SWIG_init init_animate
1546 #define SWIG_name "_animate"
1548 #include "wx/wxPython/wxPython.h"
1549 #include "wx/wxPython/pyclasses.h"
1550 #include <wx/animate/animate.h>
1552 static const wxString
wxPyAnimationControlNameStr(wxT("animationControl"));
1553 static const wxString
wxPyEmptyString(wxEmptyString
);
1555 /*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/
1556 #define SWIG_From_int PyInt_FromLong
1564 SWIG_CheckLongInRange(long value
, long min_value
, long max_value
,
1567 if (value
< min_value
) {
1569 PyErr_Format(PyExc_OverflowError
,
1570 "value %ld is less than '%s' minimum %ld",
1571 value
, errmsg
, min_value
);
1574 } else if (value
> max_value
) {
1576 PyErr_Format(PyExc_OverflowError
,
1577 "value %ld is greater than '%s' maximum %ld",
1578 value
, errmsg
, max_value
);
1587 SWIG_AsVal_long(PyObject
* obj
, long* val
)
1589 if (PyNumber_Check(obj
)) {
1590 if (val
) *val
= PyInt_AsLong(obj
);
1594 SWIG_Python_TypeError("number", obj
);
1600 #if INT_MAX != LONG_MAX
1602 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1604 const char* errmsg
= val
? "int" : (char*)0;
1606 if (SWIG_AsVal_long(obj
, &v
)) {
1607 if (SWIG_CheckLongInRange(v
, INT_MIN
,INT_MAX
, errmsg
)) {
1608 if (val
) *val
= static_cast<int >(v
);
1617 SWIG_type_error(errmsg
, obj
);
1622 SWIGINTERNINLINE
int
1623 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1625 return SWIG_AsVal_long(obj
,(long*)val
);
1631 SWIG_AsVal_bool(PyObject
*obj
, bool *val
)
1633 if (obj
== Py_True
) {
1634 if (val
) *val
= true;
1637 if (obj
== Py_False
) {
1638 if (val
) *val
= false;
1642 if (SWIG_AsVal_int(obj
, &res
)) {
1643 if (val
) *val
= res
? true : false;
1649 SWIG_type_error("bool", obj
);
1655 SWIGINTERNINLINE
bool
1656 SWIG_As_bool(PyObject
* obj
)
1659 if (!SWIG_AsVal_bool(obj
, &v
)) {
1661 this is needed to make valgrind/purify happier.
1663 memset((void*)&v
, 0, sizeof(bool));
1669 SWIGINTERNINLINE
int
1670 SWIG_Check_bool(PyObject
* obj
)
1672 return SWIG_AsVal_bool(obj
, (bool*)0);
1676 SWIGINTERNINLINE
int
1677 SWIG_As_int(PyObject
* obj
)
1680 if (!SWIG_AsVal_int(obj
, &v
)) {
1682 this is needed to make valgrind/purify happier.
1684 memset((void*)&v
, 0, sizeof(int));
1690 SWIGINTERNINLINE
int
1691 SWIG_Check_int(PyObject
* obj
)
1693 return SWIG_AsVal_int(obj
, (int*)0);
1697 SWIGINTERNINLINE
long
1698 SWIG_As_long(PyObject
* obj
)
1701 if (!SWIG_AsVal_long(obj
, &v
)) {
1703 this is needed to make valgrind/purify happier.
1705 memset((void*)&v
, 0, sizeof(long));
1711 SWIGINTERNINLINE
int
1712 SWIG_Check_long(PyObject
* obj
)
1714 return SWIG_AsVal_long(obj
, (long*)0);
1720 static int _wrap_AnimationControlNameStr_set(PyObject
*) {
1721 PyErr_SetString(PyExc_TypeError
,"Variable AnimationControlNameStr is read-only.");
1726 static PyObject
*_wrap_AnimationControlNameStr_get(void) {
1727 PyObject
*pyobj
= NULL
;
1731 pyobj
= PyUnicode_FromWideChar((&wxPyAnimationControlNameStr
)->c_str(), (&wxPyAnimationControlNameStr
)->Len());
1733 pyobj
= PyString_FromStringAndSize((&wxPyAnimationControlNameStr
)->c_str(), (&wxPyAnimationControlNameStr
)->Len());
1740 static PyObject
*_wrap_new_AnimationPlayer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1741 PyObject
*resultobj
= NULL
;
1742 wxAnimationBase
*arg1
= (wxAnimationBase
*) NULL
;
1743 bool arg2
= (bool) false ;
1744 wxAnimationPlayer
*result
;
1745 PyObject
* obj0
= 0 ;
1746 PyObject
* obj1
= 0 ;
1748 (char *) "animation",(char *) "destroyAnimation", NULL
1751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_AnimationPlayer",kwnames
,&obj0
,&obj1
)) goto fail
;
1753 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAnimationBase
, SWIG_POINTER_EXCEPTION
| 0);
1754 if (SWIG_arg_fail(1)) SWIG_fail
;
1758 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
1759 if (SWIG_arg_fail(2)) SWIG_fail
;
1763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1764 result
= (wxAnimationPlayer
*)new wxAnimationPlayer(arg1
,arg2
);
1766 wxPyEndAllowThreads(__tstate
);
1767 if (PyErr_Occurred()) SWIG_fail
;
1769 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAnimationPlayer
, 1);
1776 static PyObject
*_wrap_delete_AnimationPlayer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1777 PyObject
*resultobj
= NULL
;
1778 wxAnimationPlayer
*arg1
= (wxAnimationPlayer
*) 0 ;
1779 PyObject
* obj0
= 0 ;
1781 (char *) "self", NULL
1784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_AnimationPlayer",kwnames
,&obj0
)) goto fail
;
1785 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAnimationPlayer
, SWIG_POINTER_EXCEPTION
| 0);
1786 if (SWIG_arg_fail(1)) SWIG_fail
;
1788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1791 wxPyEndAllowThreads(__tstate
);
1792 if (PyErr_Occurred()) SWIG_fail
;
1794 Py_INCREF(Py_None
); resultobj
= Py_None
;
1801 static PyObject
*_wrap_AnimationPlayer_SetAnimation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1802 PyObject
*resultobj
= NULL
;
1803 wxAnimationPlayer
*arg1
= (wxAnimationPlayer
*) 0 ;
1804 wxAnimationBase
*arg2
= (wxAnimationBase
*) 0 ;
1805 bool arg3
= (bool) false ;
1806 PyObject
* obj0
= 0 ;
1807 PyObject
* obj1
= 0 ;
1808 PyObject
* obj2
= 0 ;
1810 (char *) "self",(char *) "animation",(char *) "destroyAnimation", NULL
1813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:AnimationPlayer_SetAnimation",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1814 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAnimationPlayer
, SWIG_POINTER_EXCEPTION
| 0);
1815 if (SWIG_arg_fail(1)) SWIG_fail
;
1816 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxAnimationBase
, SWIG_POINTER_EXCEPTION
| 0);
1817 if (SWIG_arg_fail(2)) SWIG_fail
;
1820 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
1821 if (SWIG_arg_fail(3)) SWIG_fail
;
1825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1826 (arg1
)->SetAnimation(arg2
,arg3
);
1828 wxPyEndAllowThreads(__tstate
);
1829 if (PyErr_Occurred()) SWIG_fail
;
1831 Py_INCREF(Py_None
); resultobj
= Py_None
;
1838 static PyObject
*_wrap_AnimationPlayer_GetAnimation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1839 PyObject
*resultobj
= NULL
;
1840 wxAnimationPlayer
*arg1
= (wxAnimationPlayer
*) 0 ;
1841 wxAnimationBase
*result
;
1842 PyObject
* obj0
= 0 ;
1844 (char *) "self", NULL
1847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AnimationPlayer_GetAnimation",kwnames
,&obj0
)) goto fail
;
1848 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAnimationPlayer
, SWIG_POINTER_EXCEPTION
| 0);
1849 if (SWIG_arg_fail(1)) SWIG_fail
;
1851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1852 result
= (wxAnimationBase
*)((wxAnimationPlayer
const *)arg1
)->GetAnimation();
1854 wxPyEndAllowThreads(__tstate
);
1855 if (PyErr_Occurred()) SWIG_fail
;
1857 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAnimationBase
, 0);
1864 static PyObject
*_wrap_AnimationPlayer_SetDestroyAnimation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1865 PyObject
*resultobj
= NULL
;
1866 wxAnimationPlayer
*arg1
= (wxAnimationPlayer
*) 0 ;
1868 PyObject
* obj0
= 0 ;
1869 PyObject
* obj1
= 0 ;
1871 (char *) "self",(char *) "destroyAnimation", NULL
1874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AnimationPlayer_SetDestroyAnimation",kwnames
,&obj0
,&obj1
)) goto fail
;
1875 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAnimationPlayer
, SWIG_POINTER_EXCEPTION
| 0);
1876 if (SWIG_arg_fail(1)) SWIG_fail
;
1878 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
1879 if (SWIG_arg_fail(2)) SWIG_fail
;
1882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1883 (arg1
)->SetDestroyAnimation(arg2
);
1885 wxPyEndAllowThreads(__tstate
);
1886 if (PyErr_Occurred()) SWIG_fail
;
1888 Py_INCREF(Py_None
); resultobj
= Py_None
;
1895 static PyObject
*_wrap_AnimationPlayer_GetDestroyAnimation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1896 PyObject
*resultobj
= NULL
;
1897 wxAnimationPlayer
*arg1
= (wxAnimationPlayer
*) 0 ;
1899 PyObject
* obj0
= 0 ;
1901 (char *) "self", NULL
1904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AnimationPlayer_GetDestroyAnimation",kwnames
,&obj0
)) goto fail
;
1905 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAnimationPlayer
, SWIG_POINTER_EXCEPTION
| 0);
1906 if (SWIG_arg_fail(1)) SWIG_fail
;
1908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1909 result
= (bool)((wxAnimationPlayer
const *)arg1
)->GetDestroyAnimation();
1911 wxPyEndAllowThreads(__tstate
);
1912 if (PyErr_Occurred()) SWIG_fail
;
1915 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1923 static PyObject
*_wrap_AnimationPlayer_SetCurrentFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1924 PyObject
*resultobj
= NULL
;
1925 wxAnimationPlayer
*arg1
= (wxAnimationPlayer
*) 0 ;
1927 PyObject
* obj0
= 0 ;
1928 PyObject
* obj1
= 0 ;
1930 (char *) "self",(char *) "currentFrame", NULL
1933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AnimationPlayer_SetCurrentFrame",kwnames
,&obj0
,&obj1
)) goto fail
;
1934 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAnimationPlayer
, SWIG_POINTER_EXCEPTION
| 0);
1935 if (SWIG_arg_fail(1)) SWIG_fail
;
1937 arg2
= static_cast<int >(SWIG_As_int(obj1
));
1938 if (SWIG_arg_fail(2)) SWIG_fail
;
1941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1942 (arg1
)->SetCurrentFrame(arg2
);
1944 wxPyEndAllowThreads(__tstate
);
1945 if (PyErr_Occurred()) SWIG_fail
;
1947 Py_INCREF(Py_None
); resultobj
= Py_None
;
1954 static PyObject
*_wrap_AnimationPlayer_GetCurrentFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1955 PyObject
*resultobj
= NULL
;
1956 wxAnimationPlayer
*arg1
= (wxAnimationPlayer
*) 0 ;
1958 PyObject
* obj0
= 0 ;
1960 (char *) "self", NULL
1963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AnimationPlayer_GetCurrentFrame",kwnames
,&obj0
)) goto fail
;
1964 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAnimationPlayer
, SWIG_POINTER_EXCEPTION
| 0);
1965 if (SWIG_arg_fail(1)) SWIG_fail
;
1967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1968 result
= (int)((wxAnimationPlayer
const *)arg1
)->GetCurrentFrame();
1970 wxPyEndAllowThreads(__tstate
);
1971 if (PyErr_Occurred()) SWIG_fail
;
1974 resultobj
= SWIG_From_int(static_cast<int >(result
));
1982 static PyObject
*_wrap_AnimationPlayer_SetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1983 PyObject
*resultobj
= NULL
;
1984 wxAnimationPlayer
*arg1
= (wxAnimationPlayer
*) 0 ;
1985 wxWindow
*arg2
= (wxWindow
*) 0 ;
1986 PyObject
* obj0
= 0 ;
1987 PyObject
* obj1
= 0 ;
1989 (char *) "self",(char *) "window", NULL
1992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AnimationPlayer_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
1993 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAnimationPlayer
, SWIG_POINTER_EXCEPTION
| 0);
1994 if (SWIG_arg_fail(1)) SWIG_fail
;
1995 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
1996 if (SWIG_arg_fail(2)) SWIG_fail
;
1998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1999 (arg1
)->SetWindow(arg2
);
2001 wxPyEndAllowThreads(__tstate
);
2002 if (PyErr_Occurred()) SWIG_fail
;
2004 Py_INCREF(Py_None
); resultobj
= Py_None
;
2011 static PyObject
*_wrap_AnimationPlayer_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2012 PyObject
*resultobj
= NULL
;
2013 wxAnimationPlayer
*arg1
= (wxAnimationPlayer
*) 0 ;
2015 PyObject
* obj0
= 0 ;
2017 (char *) "self", NULL
2020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AnimationPlayer_GetWindow",kwnames
,&obj0
)) goto fail
;
2021 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAnimationPlayer
, SWIG_POINTER_EXCEPTION
| 0);
2022 if (SWIG_arg_fail(1)) SWIG_fail
;
2024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2025 result
= (wxWindow
*)((wxAnimationPlayer
const *)arg1
)->GetWindow();
2027 wxPyEndAllowThreads(__tstate
);
2028 if (PyErr_Occurred()) SWIG_fail
;
2031 resultobj
= wxPyMake_wxObject(result
, 0);
2039 static PyObject
*_wrap_AnimationPlayer_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2040 PyObject
*resultobj
= NULL
;
2041 wxAnimationPlayer
*arg1
= (wxAnimationPlayer
*) 0 ;
2044 PyObject
* obj0
= 0 ;
2045 PyObject
* obj1
= 0 ;
2047 (char *) "self",(char *) "pos", NULL
2050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AnimationPlayer_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
2051 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAnimationPlayer
, SWIG_POINTER_EXCEPTION
| 0);
2052 if (SWIG_arg_fail(1)) SWIG_fail
;
2055 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2059 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
2061 wxPyEndAllowThreads(__tstate
);
2062 if (PyErr_Occurred()) SWIG_fail
;
2064 Py_INCREF(Py_None
); resultobj
= Py_None
;
2071 static PyObject
*_wrap_AnimationPlayer_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2072 PyObject
*resultobj
= NULL
;
2073 wxAnimationPlayer
*arg1
= (wxAnimationPlayer
*) 0 ;
2075 PyObject
* obj0
= 0 ;
2077 (char *) "self", NULL
2080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AnimationPlayer_GetPosition",kwnames
,&obj0
)) goto fail
;
2081 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAnimationPlayer
, SWIG_POINTER_EXCEPTION
| 0);
2082 if (SWIG_arg_fail(1)) SWIG_fail
;
2084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2085 result
= ((wxAnimationPlayer
const *)arg1
)->GetPosition();
2087 wxPyEndAllowThreads(__tstate
);
2088 if (PyErr_Occurred()) SWIG_fail
;
2091 wxPoint
* resultptr
;
2092 resultptr
= new wxPoint(static_cast<wxPoint
& >(result
));
2093 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
2101 static PyObject
*_wrap_AnimationPlayer_SetLooped(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2102 PyObject
*resultobj
= NULL
;
2103 wxAnimationPlayer
*arg1
= (wxAnimationPlayer
*) 0 ;
2105 PyObject
* obj0
= 0 ;
2106 PyObject
* obj1
= 0 ;
2108 (char *) "self",(char *) "looped", NULL
2111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AnimationPlayer_SetLooped",kwnames
,&obj0
,&obj1
)) goto fail
;
2112 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAnimationPlayer
, SWIG_POINTER_EXCEPTION
| 0);
2113 if (SWIG_arg_fail(1)) SWIG_fail
;
2115 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
2116 if (SWIG_arg_fail(2)) SWIG_fail
;
2119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2120 (arg1
)->SetLooped(arg2
);
2122 wxPyEndAllowThreads(__tstate
);
2123 if (PyErr_Occurred()) SWIG_fail
;
2125 Py_INCREF(Py_None
); resultobj
= Py_None
;
2132 static PyObject
*_wrap_AnimationPlayer_GetLooped(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2133 PyObject
*resultobj
= NULL
;
2134 wxAnimationPlayer
*arg1
= (wxAnimationPlayer
*) 0 ;
2136 PyObject
* obj0
= 0 ;
2138 (char *) "self", NULL
2141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AnimationPlayer_GetLooped",kwnames
,&obj0
)) goto fail
;
2142 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAnimationPlayer
, SWIG_POINTER_EXCEPTION
| 0);
2143 if (SWIG_arg_fail(1)) SWIG_fail
;
2145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2146 result
= (bool)((wxAnimationPlayer
const *)arg1
)->GetLooped();
2148 wxPyEndAllowThreads(__tstate
);
2149 if (PyErr_Occurred()) SWIG_fail
;
2152 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2160 static PyObject
*_wrap_AnimationPlayer_HasAnimation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2161 PyObject
*resultobj
= NULL
;
2162 wxAnimationPlayer
*arg1
= (wxAnimationPlayer
*) 0 ;
2164 PyObject
* obj0
= 0 ;
2166 (char *) "self", NULL
2169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AnimationPlayer_HasAnimation",kwnames
,&obj0
)) goto fail
;
2170 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAnimationPlayer
, SWIG_POINTER_EXCEPTION
| 0);
2171 if (SWIG_arg_fail(1)) SWIG_fail
;
2173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2174 result
= (bool)((wxAnimationPlayer
const *)arg1
)->HasAnimation();
2176 wxPyEndAllowThreads(__tstate
);
2177 if (PyErr_Occurred()) SWIG_fail
;
2180 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2188 static PyObject
*_wrap_AnimationPlayer_IsPlaying(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2189 PyObject
*resultobj
= NULL
;
2190 wxAnimationPlayer
*arg1
= (wxAnimationPlayer
*) 0 ;
2192 PyObject
* obj0
= 0 ;
2194 (char *) "self", NULL
2197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AnimationPlayer_IsPlaying",kwnames
,&obj0
)) goto fail
;
2198 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAnimationPlayer
, SWIG_POINTER_EXCEPTION
| 0);
2199 if (SWIG_arg_fail(1)) SWIG_fail
;
2201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2202 result
= (bool)((wxAnimationPlayer
const *)arg1
)->IsPlaying();
2204 wxPyEndAllowThreads(__tstate
);
2205 if (PyErr_Occurred()) SWIG_fail
;
2208 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2216 static PyObject
*_wrap_AnimationPlayer_UseBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2217 PyObject
*resultobj
= NULL
;
2218 wxAnimationPlayer
*arg1
= (wxAnimationPlayer
*) 0 ;
2220 PyObject
* obj0
= 0 ;
2221 PyObject
* obj1
= 0 ;
2223 (char *) "self",(char *) "useBackground", NULL
2226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AnimationPlayer_UseBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
2227 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAnimationPlayer
, SWIG_POINTER_EXCEPTION
| 0);
2228 if (SWIG_arg_fail(1)) SWIG_fail
;
2230 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
2231 if (SWIG_arg_fail(2)) SWIG_fail
;
2234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2235 (arg1
)->UseBackgroundColour(arg2
);
2237 wxPyEndAllowThreads(__tstate
);
2238 if (PyErr_Occurred()) SWIG_fail
;
2240 Py_INCREF(Py_None
); resultobj
= Py_None
;
2247 static PyObject
*_wrap_AnimationPlayer_UsingBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2248 PyObject
*resultobj
= NULL
;
2249 wxAnimationPlayer
*arg1
= (wxAnimationPlayer
*) 0 ;
2251 PyObject
* obj0
= 0 ;
2253 (char *) "self", NULL
2256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AnimationPlayer_UsingBackgroundColour",kwnames
,&obj0
)) goto fail
;
2257 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAnimationPlayer
, SWIG_POINTER_EXCEPTION
| 0);
2258 if (SWIG_arg_fail(1)) SWIG_fail
;
2260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2261 result
= (bool)((wxAnimationPlayer
const *)arg1
)->UsingBackgroundColour();
2263 wxPyEndAllowThreads(__tstate
);
2264 if (PyErr_Occurred()) SWIG_fail
;
2267 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2275 static PyObject
*_wrap_AnimationPlayer_SetCustomBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2276 PyObject
*resultobj
= NULL
;
2277 wxAnimationPlayer
*arg1
= (wxAnimationPlayer
*) 0 ;
2278 wxColour
*arg2
= 0 ;
2279 bool arg3
= (bool) true ;
2281 PyObject
* obj0
= 0 ;
2282 PyObject
* obj1
= 0 ;
2283 PyObject
* obj2
= 0 ;
2285 (char *) "self",(char *) "col",(char *) "useCustomBackgroundColour", NULL
2288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:AnimationPlayer_SetCustomBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2289 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAnimationPlayer
, SWIG_POINTER_EXCEPTION
| 0);
2290 if (SWIG_arg_fail(1)) SWIG_fail
;
2293 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
2297 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
2298 if (SWIG_arg_fail(3)) SWIG_fail
;
2302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2303 (arg1
)->SetCustomBackgroundColour((wxColour
const &)*arg2
,arg3
);
2305 wxPyEndAllowThreads(__tstate
);
2306 if (PyErr_Occurred()) SWIG_fail
;
2308 Py_INCREF(Py_None
); resultobj
= Py_None
;
2315 static PyObject
*_wrap_AnimationPlayer_UsingCustomBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2316 PyObject
*resultobj
= NULL
;
2317 wxAnimationPlayer
*arg1
= (wxAnimationPlayer
*) 0 ;
2319 PyObject
* obj0
= 0 ;
2321 (char *) "self", NULL
2324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AnimationPlayer_UsingCustomBackgroundColour",kwnames
,&obj0
)) goto fail
;
2325 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAnimationPlayer
, SWIG_POINTER_EXCEPTION
| 0);
2326 if (SWIG_arg_fail(1)) SWIG_fail
;
2328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2329 result
= (bool)((wxAnimationPlayer
const *)arg1
)->UsingCustomBackgroundColour();
2331 wxPyEndAllowThreads(__tstate
);
2332 if (PyErr_Occurred()) SWIG_fail
;
2335 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2343 static PyObject
*_wrap_AnimationPlayer_GetCustomBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2344 PyObject
*resultobj
= NULL
;
2345 wxAnimationPlayer
*arg1
= (wxAnimationPlayer
*) 0 ;
2347 PyObject
* obj0
= 0 ;
2349 (char *) "self", NULL
2352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AnimationPlayer_GetCustomBackgroundColour",kwnames
,&obj0
)) goto fail
;
2353 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAnimationPlayer
, SWIG_POINTER_EXCEPTION
| 0);
2354 if (SWIG_arg_fail(1)) SWIG_fail
;
2356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2358 wxColour
const &_result_ref
= ((wxAnimationPlayer
const *)arg1
)->GetCustomBackgroundColour();
2359 result
= (wxColour
*) &_result_ref
;
2362 wxPyEndAllowThreads(__tstate
);
2363 if (PyErr_Occurred()) SWIG_fail
;
2365 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
2372 static PyObject
*_wrap_AnimationPlayer_UseParentBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2373 PyObject
*resultobj
= NULL
;
2374 wxAnimationPlayer
*arg1
= (wxAnimationPlayer
*) 0 ;
2376 PyObject
* obj0
= 0 ;
2377 PyObject
* obj1
= 0 ;
2379 (char *) "self",(char *) "useParent", NULL
2382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AnimationPlayer_UseParentBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
2383 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAnimationPlayer
, SWIG_POINTER_EXCEPTION
| 0);
2384 if (SWIG_arg_fail(1)) SWIG_fail
;
2386 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
2387 if (SWIG_arg_fail(2)) SWIG_fail
;
2390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2391 (arg1
)->UseParentBackground(arg2
);
2393 wxPyEndAllowThreads(__tstate
);
2394 if (PyErr_Occurred()) SWIG_fail
;
2396 Py_INCREF(Py_None
); resultobj
= Py_None
;
2403 static PyObject
*_wrap_AnimationPlayer_UsingParentBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2404 PyObject
*resultobj
= NULL
;
2405 wxAnimationPlayer
*arg1
= (wxAnimationPlayer
*) 0 ;
2407 PyObject
* obj0
= 0 ;
2409 (char *) "self", NULL
2412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AnimationPlayer_UsingParentBackground",kwnames
,&obj0
)) goto fail
;
2413 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAnimationPlayer
, SWIG_POINTER_EXCEPTION
| 0);
2414 if (SWIG_arg_fail(1)) SWIG_fail
;
2416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2417 result
= (bool)((wxAnimationPlayer
const *)arg1
)->UsingParentBackground();
2419 wxPyEndAllowThreads(__tstate
);
2420 if (PyErr_Occurred()) SWIG_fail
;
2423 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2431 static PyObject
*_wrap_AnimationPlayer_Play(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2432 PyObject
*resultobj
= NULL
;
2433 wxAnimationPlayer
*arg1
= (wxAnimationPlayer
*) 0 ;
2434 wxWindow
*arg2
= 0 ;
2435 wxPoint
const &arg3_defvalue
= wxPoint(0, 0) ;
2436 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
2437 bool arg4
= (bool) true ;
2440 PyObject
* obj0
= 0 ;
2441 PyObject
* obj1
= 0 ;
2442 PyObject
* obj2
= 0 ;
2443 PyObject
* obj3
= 0 ;
2445 (char *) "self",(char *) "window",(char *) "pos",(char *) "looped", NULL
2448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:AnimationPlayer_Play",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
2449 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAnimationPlayer
, SWIG_POINTER_EXCEPTION
| 0);
2450 if (SWIG_arg_fail(1)) SWIG_fail
;
2452 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
2453 if (SWIG_arg_fail(2)) SWIG_fail
;
2455 SWIG_null_ref("wxWindow");
2457 if (SWIG_arg_fail(2)) SWIG_fail
;
2462 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
2467 arg4
= static_cast<bool >(SWIG_As_bool(obj3
));
2468 if (SWIG_arg_fail(4)) SWIG_fail
;
2472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2473 result
= (bool)(arg1
)->Play(*arg2
,(wxPoint
const &)*arg3
,arg4
);
2475 wxPyEndAllowThreads(__tstate
);
2476 if (PyErr_Occurred()) SWIG_fail
;
2479 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2487 static PyObject
*_wrap_AnimationPlayer_Build(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2488 PyObject
*resultobj
= NULL
;
2489 wxAnimationPlayer
*arg1
= (wxAnimationPlayer
*) 0 ;
2491 PyObject
* obj0
= 0 ;
2493 (char *) "self", NULL
2496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AnimationPlayer_Build",kwnames
,&obj0
)) goto fail
;
2497 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAnimationPlayer
, SWIG_POINTER_EXCEPTION
| 0);
2498 if (SWIG_arg_fail(1)) SWIG_fail
;
2500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2501 result
= (bool)(arg1
)->Build();
2503 wxPyEndAllowThreads(__tstate
);
2504 if (PyErr_Occurred()) SWIG_fail
;
2507 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2515 static PyObject
*_wrap_AnimationPlayer_Stop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2516 PyObject
*resultobj
= NULL
;
2517 wxAnimationPlayer
*arg1
= (wxAnimationPlayer
*) 0 ;
2518 PyObject
* obj0
= 0 ;
2520 (char *) "self", NULL
2523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AnimationPlayer_Stop",kwnames
,&obj0
)) goto fail
;
2524 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAnimationPlayer
, SWIG_POINTER_EXCEPTION
| 0);
2525 if (SWIG_arg_fail(1)) SWIG_fail
;
2527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2530 wxPyEndAllowThreads(__tstate
);
2531 if (PyErr_Occurred()) SWIG_fail
;
2533 Py_INCREF(Py_None
); resultobj
= Py_None
;
2540 static PyObject
*_wrap_AnimationPlayer_Draw(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2541 PyObject
*resultobj
= NULL
;
2542 wxAnimationPlayer
*arg1
= (wxAnimationPlayer
*) 0 ;
2544 PyObject
* obj0
= 0 ;
2545 PyObject
* obj1
= 0 ;
2547 (char *) "self",(char *) "dc", NULL
2550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AnimationPlayer_Draw",kwnames
,&obj0
,&obj1
)) goto fail
;
2551 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAnimationPlayer
, SWIG_POINTER_EXCEPTION
| 0);
2552 if (SWIG_arg_fail(1)) SWIG_fail
;
2554 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
2555 if (SWIG_arg_fail(2)) SWIG_fail
;
2557 SWIG_null_ref("wxDC");
2559 if (SWIG_arg_fail(2)) SWIG_fail
;
2562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2563 (arg1
)->Draw(*arg2
);
2565 wxPyEndAllowThreads(__tstate
);
2566 if (PyErr_Occurred()) SWIG_fail
;
2568 Py_INCREF(Py_None
); resultobj
= Py_None
;
2575 static PyObject
*_wrap_AnimationPlayer_GetFrameCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2576 PyObject
*resultobj
= NULL
;
2577 wxAnimationPlayer
*arg1
= (wxAnimationPlayer
*) 0 ;
2579 PyObject
* obj0
= 0 ;
2581 (char *) "self", NULL
2584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AnimationPlayer_GetFrameCount",kwnames
,&obj0
)) goto fail
;
2585 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAnimationPlayer
, SWIG_POINTER_EXCEPTION
| 0);
2586 if (SWIG_arg_fail(1)) SWIG_fail
;
2588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2589 result
= (int)((wxAnimationPlayer
const *)arg1
)->GetFrameCount();
2591 wxPyEndAllowThreads(__tstate
);
2592 if (PyErr_Occurred()) SWIG_fail
;
2595 resultobj
= SWIG_From_int(static_cast<int >(result
));
2603 static PyObject
*_wrap_AnimationPlayer_GetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2604 PyObject
*resultobj
= NULL
;
2605 wxAnimationPlayer
*arg1
= (wxAnimationPlayer
*) 0 ;
2608 PyObject
* obj0
= 0 ;
2609 PyObject
* obj1
= 0 ;
2611 (char *) "self",(char *) "i", NULL
2614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AnimationPlayer_GetFrame",kwnames
,&obj0
,&obj1
)) goto fail
;
2615 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAnimationPlayer
, SWIG_POINTER_EXCEPTION
| 0);
2616 if (SWIG_arg_fail(1)) SWIG_fail
;
2618 arg2
= static_cast<int >(SWIG_As_int(obj1
));
2619 if (SWIG_arg_fail(2)) SWIG_fail
;
2622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2623 result
= (wxImage
*)((wxAnimationPlayer
const *)arg1
)->GetFrame(arg2
);
2625 wxPyEndAllowThreads(__tstate
);
2626 if (PyErr_Occurred()) SWIG_fail
;
2629 resultobj
= wxPyMake_wxObject(result
, 1);
2637 static PyObject
*_wrap_AnimationPlayer_GetDisposalMethod(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2638 PyObject
*resultobj
= NULL
;
2639 wxAnimationPlayer
*arg1
= (wxAnimationPlayer
*) 0 ;
2641 wxAnimationDisposal result
;
2642 PyObject
* obj0
= 0 ;
2643 PyObject
* obj1
= 0 ;
2645 (char *) "self",(char *) "i", NULL
2648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AnimationPlayer_GetDisposalMethod",kwnames
,&obj0
,&obj1
)) goto fail
;
2649 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAnimationPlayer
, SWIG_POINTER_EXCEPTION
| 0);
2650 if (SWIG_arg_fail(1)) SWIG_fail
;
2652 arg2
= static_cast<int >(SWIG_As_int(obj1
));
2653 if (SWIG_arg_fail(2)) SWIG_fail
;
2656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2657 result
= (wxAnimationDisposal
)((wxAnimationPlayer
const *)arg1
)->GetDisposalMethod(arg2
);
2659 wxPyEndAllowThreads(__tstate
);
2660 if (PyErr_Occurred()) SWIG_fail
;
2662 resultobj
= SWIG_From_int((result
));
2669 static PyObject
*_wrap_AnimationPlayer_GetFrameRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2670 PyObject
*resultobj
= NULL
;
2671 wxAnimationPlayer
*arg1
= (wxAnimationPlayer
*) 0 ;
2674 PyObject
* obj0
= 0 ;
2675 PyObject
* obj1
= 0 ;
2677 (char *) "self",(char *) "i", NULL
2680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AnimationPlayer_GetFrameRect",kwnames
,&obj0
,&obj1
)) goto fail
;
2681 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAnimationPlayer
, SWIG_POINTER_EXCEPTION
| 0);
2682 if (SWIG_arg_fail(1)) SWIG_fail
;
2684 arg2
= static_cast<int >(SWIG_As_int(obj1
));
2685 if (SWIG_arg_fail(2)) SWIG_fail
;
2688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2689 result
= ((wxAnimationPlayer
const *)arg1
)->GetFrameRect(arg2
);
2691 wxPyEndAllowThreads(__tstate
);
2692 if (PyErr_Occurred()) SWIG_fail
;
2696 resultptr
= new wxRect(static_cast<wxRect
& >(result
));
2697 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
2705 static PyObject
*_wrap_AnimationPlayer_GetDelay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2706 PyObject
*resultobj
= NULL
;
2707 wxAnimationPlayer
*arg1
= (wxAnimationPlayer
*) 0 ;
2710 PyObject
* obj0
= 0 ;
2711 PyObject
* obj1
= 0 ;
2713 (char *) "self",(char *) "i", NULL
2716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AnimationPlayer_GetDelay",kwnames
,&obj0
,&obj1
)) goto fail
;
2717 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAnimationPlayer
, SWIG_POINTER_EXCEPTION
| 0);
2718 if (SWIG_arg_fail(1)) SWIG_fail
;
2720 arg2
= static_cast<int >(SWIG_As_int(obj1
));
2721 if (SWIG_arg_fail(2)) SWIG_fail
;
2724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2725 result
= (int)((wxAnimationPlayer
const *)arg1
)->GetDelay(arg2
);
2727 wxPyEndAllowThreads(__tstate
);
2728 if (PyErr_Occurred()) SWIG_fail
;
2731 resultobj
= SWIG_From_int(static_cast<int >(result
));
2739 static PyObject
*_wrap_AnimationPlayer_GetLogicalScreenSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2740 PyObject
*resultobj
= NULL
;
2741 wxAnimationPlayer
*arg1
= (wxAnimationPlayer
*) 0 ;
2743 PyObject
* obj0
= 0 ;
2745 (char *) "self", NULL
2748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AnimationPlayer_GetLogicalScreenSize",kwnames
,&obj0
)) goto fail
;
2749 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAnimationPlayer
, SWIG_POINTER_EXCEPTION
| 0);
2750 if (SWIG_arg_fail(1)) SWIG_fail
;
2752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2753 result
= ((wxAnimationPlayer
const *)arg1
)->GetLogicalScreenSize();
2755 wxPyEndAllowThreads(__tstate
);
2756 if (PyErr_Occurred()) SWIG_fail
;
2760 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
2761 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
2769 static PyObject
*_wrap_AnimationPlayer_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2770 PyObject
*resultobj
= NULL
;
2771 wxAnimationPlayer
*arg1
= (wxAnimationPlayer
*) 0 ;
2772 wxColour
*arg2
= 0 ;
2775 PyObject
* obj0
= 0 ;
2776 PyObject
* obj1
= 0 ;
2778 (char *) "self",(char *) "col", NULL
2781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AnimationPlayer_GetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
2782 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAnimationPlayer
, SWIG_POINTER_EXCEPTION
| 0);
2783 if (SWIG_arg_fail(1)) SWIG_fail
;
2786 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
2789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2790 result
= (bool)((wxAnimationPlayer
const *)arg1
)->GetBackgroundColour(*arg2
);
2792 wxPyEndAllowThreads(__tstate
);
2793 if (PyErr_Occurred()) SWIG_fail
;
2796 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2804 static PyObject
*_wrap_AnimationPlayer_GetTransparentColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2805 PyObject
*resultobj
= NULL
;
2806 wxAnimationPlayer
*arg1
= (wxAnimationPlayer
*) 0 ;
2807 wxColour
*arg2
= 0 ;
2810 PyObject
* obj0
= 0 ;
2811 PyObject
* obj1
= 0 ;
2813 (char *) "self",(char *) "col", NULL
2816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AnimationPlayer_GetTransparentColour",kwnames
,&obj0
,&obj1
)) goto fail
;
2817 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAnimationPlayer
, SWIG_POINTER_EXCEPTION
| 0);
2818 if (SWIG_arg_fail(1)) SWIG_fail
;
2821 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
2824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2825 result
= (bool)((wxAnimationPlayer
const *)arg1
)->GetTransparentColour(*arg2
);
2827 wxPyEndAllowThreads(__tstate
);
2828 if (PyErr_Occurred()) SWIG_fail
;
2831 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2839 static PyObject
*_wrap_AnimationPlayer_PlayFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2840 PyObject
*resultobj
= NULL
;
2841 wxAnimationPlayer
*arg1
= (wxAnimationPlayer
*) 0 ;
2843 wxWindow
*arg3
= 0 ;
2847 PyObject
* obj0
= 0 ;
2848 PyObject
* obj1
= 0 ;
2849 PyObject
* obj2
= 0 ;
2850 PyObject
* obj3
= 0 ;
2852 (char *) "self",(char *) "frame",(char *) "window",(char *) "pos", NULL
2855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AnimationPlayer_PlayFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
2856 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAnimationPlayer
, SWIG_POINTER_EXCEPTION
| 0);
2857 if (SWIG_arg_fail(1)) SWIG_fail
;
2859 arg2
= static_cast<int >(SWIG_As_int(obj1
));
2860 if (SWIG_arg_fail(2)) SWIG_fail
;
2863 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
2864 if (SWIG_arg_fail(3)) SWIG_fail
;
2866 SWIG_null_ref("wxWindow");
2868 if (SWIG_arg_fail(3)) SWIG_fail
;
2872 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2876 result
= (bool)(arg1
)->PlayFrame(arg2
,*arg3
,(wxPoint
const &)*arg4
);
2878 wxPyEndAllowThreads(__tstate
);
2879 if (PyErr_Occurred()) SWIG_fail
;
2882 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2890 static PyObject
*_wrap_AnimationPlayer_PlayNextFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2891 PyObject
*resultobj
= NULL
;
2892 wxAnimationPlayer
*arg1
= (wxAnimationPlayer
*) 0 ;
2894 PyObject
* obj0
= 0 ;
2896 (char *) "self", NULL
2899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AnimationPlayer_PlayNextFrame",kwnames
,&obj0
)) goto fail
;
2900 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAnimationPlayer
, SWIG_POINTER_EXCEPTION
| 0);
2901 if (SWIG_arg_fail(1)) SWIG_fail
;
2903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2904 result
= (bool)(arg1
)->PlayFrame();
2906 wxPyEndAllowThreads(__tstate
);
2907 if (PyErr_Occurred()) SWIG_fail
;
2910 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2918 static PyObject
*_wrap_AnimationPlayer_DrawFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2919 PyObject
*resultobj
= NULL
;
2920 wxAnimationPlayer
*arg1
= (wxAnimationPlayer
*) 0 ;
2925 PyObject
* obj0
= 0 ;
2926 PyObject
* obj1
= 0 ;
2927 PyObject
* obj2
= 0 ;
2928 PyObject
* obj3
= 0 ;
2930 (char *) "self",(char *) "frame",(char *) "dc",(char *) "pos", NULL
2933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AnimationPlayer_DrawFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
2934 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAnimationPlayer
, SWIG_POINTER_EXCEPTION
| 0);
2935 if (SWIG_arg_fail(1)) SWIG_fail
;
2937 arg2
= static_cast<int >(SWIG_As_int(obj1
));
2938 if (SWIG_arg_fail(2)) SWIG_fail
;
2941 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
2942 if (SWIG_arg_fail(3)) SWIG_fail
;
2944 SWIG_null_ref("wxDC");
2946 if (SWIG_arg_fail(3)) SWIG_fail
;
2950 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2954 (arg1
)->DrawFrame(arg2
,*arg3
,(wxPoint
const &)*arg4
);
2956 wxPyEndAllowThreads(__tstate
);
2957 if (PyErr_Occurred()) SWIG_fail
;
2959 Py_INCREF(Py_None
); resultobj
= Py_None
;
2966 static PyObject
*_wrap_AnimationPlayer_DrawBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2967 PyObject
*resultobj
= NULL
;
2968 wxAnimationPlayer
*arg1
= (wxAnimationPlayer
*) 0 ;
2971 wxColour
*arg4
= 0 ;
2974 PyObject
* obj0
= 0 ;
2975 PyObject
* obj1
= 0 ;
2976 PyObject
* obj2
= 0 ;
2977 PyObject
* obj3
= 0 ;
2979 (char *) "self",(char *) "dc",(char *) "pos",(char *) "colour", NULL
2982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AnimationPlayer_DrawBackground",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
2983 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAnimationPlayer
, SWIG_POINTER_EXCEPTION
| 0);
2984 if (SWIG_arg_fail(1)) SWIG_fail
;
2986 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
2987 if (SWIG_arg_fail(2)) SWIG_fail
;
2989 SWIG_null_ref("wxDC");
2991 if (SWIG_arg_fail(2)) SWIG_fail
;
2995 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
2999 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
3002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3003 (arg1
)->DrawBackground(*arg2
,(wxPoint
const &)*arg3
,(wxColour
const &)*arg4
);
3005 wxPyEndAllowThreads(__tstate
);
3006 if (PyErr_Occurred()) SWIG_fail
;
3008 Py_INCREF(Py_None
); resultobj
= Py_None
;
3015 static PyObject
*_wrap_AnimationPlayer_ClearCache(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3016 PyObject
*resultobj
= NULL
;
3017 wxAnimationPlayer
*arg1
= (wxAnimationPlayer
*) 0 ;
3018 PyObject
* obj0
= 0 ;
3020 (char *) "self", NULL
3023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AnimationPlayer_ClearCache",kwnames
,&obj0
)) goto fail
;
3024 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAnimationPlayer
, SWIG_POINTER_EXCEPTION
| 0);
3025 if (SWIG_arg_fail(1)) SWIG_fail
;
3027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3028 (arg1
)->ClearCache();
3030 wxPyEndAllowThreads(__tstate
);
3031 if (PyErr_Occurred()) SWIG_fail
;
3033 Py_INCREF(Py_None
); resultobj
= Py_None
;
3040 static PyObject
*_wrap_AnimationPlayer_SaveBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3041 PyObject
*resultobj
= NULL
;
3042 wxAnimationPlayer
*arg1
= (wxAnimationPlayer
*) 0 ;
3045 PyObject
* obj0
= 0 ;
3046 PyObject
* obj1
= 0 ;
3048 (char *) "self",(char *) "rect", NULL
3051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AnimationPlayer_SaveBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
3052 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAnimationPlayer
, SWIG_POINTER_EXCEPTION
| 0);
3053 if (SWIG_arg_fail(1)) SWIG_fail
;
3056 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
3059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3060 (arg1
)->SaveBackground((wxRect
const &)*arg2
);
3062 wxPyEndAllowThreads(__tstate
);
3063 if (PyErr_Occurred()) SWIG_fail
;
3065 Py_INCREF(Py_None
); resultobj
= Py_None
;
3072 static PyObject
*_wrap_AnimationPlayer_GetBackingStore(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3073 PyObject
*resultobj
= NULL
;
3074 wxAnimationPlayer
*arg1
= (wxAnimationPlayer
*) 0 ;
3076 PyObject
* obj0
= 0 ;
3078 (char *) "self", NULL
3081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AnimationPlayer_GetBackingStore",kwnames
,&obj0
)) goto fail
;
3082 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAnimationPlayer
, SWIG_POINTER_EXCEPTION
| 0);
3083 if (SWIG_arg_fail(1)) SWIG_fail
;
3085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3087 wxBitmap
&_result_ref
= (arg1
)->GetBackingStore();
3088 result
= (wxBitmap
*) &_result_ref
;
3091 wxPyEndAllowThreads(__tstate
);
3092 if (PyErr_Occurred()) SWIG_fail
;
3095 wxBitmap
* resultptr
= new wxBitmap(*result
);
3096 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
3104 static PyObject
* AnimationPlayer_swigregister(PyObject
*, PyObject
*args
) {
3106 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3107 SWIG_TypeClientData(SWIGTYPE_p_wxAnimationPlayer
, obj
);
3109 return Py_BuildValue((char *)"");
3111 static PyObject
*_wrap_delete_AnimationBase(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3112 PyObject
*resultobj
= NULL
;
3113 wxAnimationBase
*arg1
= (wxAnimationBase
*) 0 ;
3114 PyObject
* obj0
= 0 ;
3116 (char *) "self", NULL
3119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_AnimationBase",kwnames
,&obj0
)) goto fail
;
3120 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAnimationBase
, SWIG_POINTER_EXCEPTION
| 0);
3121 if (SWIG_arg_fail(1)) SWIG_fail
;
3123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3126 wxPyEndAllowThreads(__tstate
);
3127 if (PyErr_Occurred()) SWIG_fail
;
3129 Py_INCREF(Py_None
); resultobj
= Py_None
;
3136 static PyObject
*_wrap_AnimationBase_GetFrameCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3137 PyObject
*resultobj
= NULL
;
3138 wxAnimationBase
*arg1
= (wxAnimationBase
*) 0 ;
3140 PyObject
* obj0
= 0 ;
3142 (char *) "self", NULL
3145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AnimationBase_GetFrameCount",kwnames
,&obj0
)) goto fail
;
3146 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAnimationBase
, SWIG_POINTER_EXCEPTION
| 0);
3147 if (SWIG_arg_fail(1)) SWIG_fail
;
3149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3150 result
= (int)((wxAnimationBase
const *)arg1
)->GetFrameCount();
3152 wxPyEndAllowThreads(__tstate
);
3153 if (PyErr_Occurred()) SWIG_fail
;
3156 resultobj
= SWIG_From_int(static_cast<int >(result
));
3164 static PyObject
*_wrap_AnimationBase_GetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3165 PyObject
*resultobj
= NULL
;
3166 wxAnimationBase
*arg1
= (wxAnimationBase
*) 0 ;
3169 PyObject
* obj0
= 0 ;
3170 PyObject
* obj1
= 0 ;
3172 (char *) "self",(char *) "i", NULL
3175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AnimationBase_GetFrame",kwnames
,&obj0
,&obj1
)) goto fail
;
3176 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAnimationBase
, SWIG_POINTER_EXCEPTION
| 0);
3177 if (SWIG_arg_fail(1)) SWIG_fail
;
3179 arg2
= static_cast<int >(SWIG_As_int(obj1
));
3180 if (SWIG_arg_fail(2)) SWIG_fail
;
3183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3184 result
= (wxImage
*)((wxAnimationBase
const *)arg1
)->GetFrame(arg2
);
3186 wxPyEndAllowThreads(__tstate
);
3187 if (PyErr_Occurred()) SWIG_fail
;
3190 resultobj
= wxPyMake_wxObject(result
, 1);
3198 static PyObject
*_wrap_AnimationBase_GetDisposalMethod(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3199 PyObject
*resultobj
= NULL
;
3200 wxAnimationBase
*arg1
= (wxAnimationBase
*) 0 ;
3202 wxAnimationDisposal result
;
3203 PyObject
* obj0
= 0 ;
3204 PyObject
* obj1
= 0 ;
3206 (char *) "self",(char *) "i", NULL
3209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AnimationBase_GetDisposalMethod",kwnames
,&obj0
,&obj1
)) goto fail
;
3210 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAnimationBase
, SWIG_POINTER_EXCEPTION
| 0);
3211 if (SWIG_arg_fail(1)) SWIG_fail
;
3213 arg2
= static_cast<int >(SWIG_As_int(obj1
));
3214 if (SWIG_arg_fail(2)) SWIG_fail
;
3217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3218 result
= (wxAnimationDisposal
)((wxAnimationBase
const *)arg1
)->GetDisposalMethod(arg2
);
3220 wxPyEndAllowThreads(__tstate
);
3221 if (PyErr_Occurred()) SWIG_fail
;
3223 resultobj
= SWIG_From_int((result
));
3230 static PyObject
*_wrap_AnimationBase_GetFrameRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3231 PyObject
*resultobj
= NULL
;
3232 wxAnimationBase
*arg1
= (wxAnimationBase
*) 0 ;
3235 PyObject
* obj0
= 0 ;
3236 PyObject
* obj1
= 0 ;
3238 (char *) "self",(char *) "i", NULL
3241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AnimationBase_GetFrameRect",kwnames
,&obj0
,&obj1
)) goto fail
;
3242 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAnimationBase
, SWIG_POINTER_EXCEPTION
| 0);
3243 if (SWIG_arg_fail(1)) SWIG_fail
;
3245 arg2
= static_cast<int >(SWIG_As_int(obj1
));
3246 if (SWIG_arg_fail(2)) SWIG_fail
;
3249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3250 result
= ((wxAnimationBase
const *)arg1
)->GetFrameRect(arg2
);
3252 wxPyEndAllowThreads(__tstate
);
3253 if (PyErr_Occurred()) SWIG_fail
;
3257 resultptr
= new wxRect(static_cast<wxRect
& >(result
));
3258 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
3266 static PyObject
*_wrap_AnimationBase_GetDelay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3267 PyObject
*resultobj
= NULL
;
3268 wxAnimationBase
*arg1
= (wxAnimationBase
*) 0 ;
3271 PyObject
* obj0
= 0 ;
3272 PyObject
* obj1
= 0 ;
3274 (char *) "self",(char *) "i", NULL
3277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AnimationBase_GetDelay",kwnames
,&obj0
,&obj1
)) goto fail
;
3278 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAnimationBase
, SWIG_POINTER_EXCEPTION
| 0);
3279 if (SWIG_arg_fail(1)) SWIG_fail
;
3281 arg2
= static_cast<int >(SWIG_As_int(obj1
));
3282 if (SWIG_arg_fail(2)) SWIG_fail
;
3285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3286 result
= (int)((wxAnimationBase
const *)arg1
)->GetDelay(arg2
);
3288 wxPyEndAllowThreads(__tstate
);
3289 if (PyErr_Occurred()) SWIG_fail
;
3292 resultobj
= SWIG_From_int(static_cast<int >(result
));
3300 static PyObject
*_wrap_AnimationBase_GetLogicalScreenSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3301 PyObject
*resultobj
= NULL
;
3302 wxAnimationBase
*arg1
= (wxAnimationBase
*) 0 ;
3304 PyObject
* obj0
= 0 ;
3306 (char *) "self", NULL
3309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AnimationBase_GetLogicalScreenSize",kwnames
,&obj0
)) goto fail
;
3310 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAnimationBase
, SWIG_POINTER_EXCEPTION
| 0);
3311 if (SWIG_arg_fail(1)) SWIG_fail
;
3313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3314 result
= ((wxAnimationBase
const *)arg1
)->GetLogicalScreenSize();
3316 wxPyEndAllowThreads(__tstate
);
3317 if (PyErr_Occurred()) SWIG_fail
;
3321 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
3322 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
3330 static PyObject
*_wrap_AnimationBase_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3331 PyObject
*resultobj
= NULL
;
3332 wxAnimationBase
*arg1
= (wxAnimationBase
*) 0 ;
3333 wxColour
*arg2
= 0 ;
3336 PyObject
* obj0
= 0 ;
3337 PyObject
* obj1
= 0 ;
3339 (char *) "self",(char *) "col", NULL
3342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AnimationBase_GetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
3343 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAnimationBase
, SWIG_POINTER_EXCEPTION
| 0);
3344 if (SWIG_arg_fail(1)) SWIG_fail
;
3347 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
3350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3351 result
= (bool)((wxAnimationBase
const *)arg1
)->GetBackgroundColour(*arg2
);
3353 wxPyEndAllowThreads(__tstate
);
3354 if (PyErr_Occurred()) SWIG_fail
;
3357 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3365 static PyObject
*_wrap_AnimationBase_GetTransparentColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3366 PyObject
*resultobj
= NULL
;
3367 wxAnimationBase
*arg1
= (wxAnimationBase
*) 0 ;
3368 wxColour
*arg2
= 0 ;
3371 PyObject
* obj0
= 0 ;
3372 PyObject
* obj1
= 0 ;
3374 (char *) "self",(char *) "col", NULL
3377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AnimationBase_GetTransparentColour",kwnames
,&obj0
,&obj1
)) goto fail
;
3378 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAnimationBase
, SWIG_POINTER_EXCEPTION
| 0);
3379 if (SWIG_arg_fail(1)) SWIG_fail
;
3382 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
3385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3386 result
= (bool)((wxAnimationBase
const *)arg1
)->GetTransparentColour(*arg2
);
3388 wxPyEndAllowThreads(__tstate
);
3389 if (PyErr_Occurred()) SWIG_fail
;
3392 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3400 static PyObject
*_wrap_AnimationBase_IsValid(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3401 PyObject
*resultobj
= NULL
;
3402 wxAnimationBase
*arg1
= (wxAnimationBase
*) 0 ;
3404 PyObject
* obj0
= 0 ;
3406 (char *) "self", NULL
3409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AnimationBase_IsValid",kwnames
,&obj0
)) goto fail
;
3410 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAnimationBase
, SWIG_POINTER_EXCEPTION
| 0);
3411 if (SWIG_arg_fail(1)) SWIG_fail
;
3413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3414 result
= (bool)((wxAnimationBase
const *)arg1
)->IsValid();
3416 wxPyEndAllowThreads(__tstate
);
3417 if (PyErr_Occurred()) SWIG_fail
;
3420 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3428 static PyObject
*_wrap_AnimationBase_LoadFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3429 PyObject
*resultobj
= NULL
;
3430 wxAnimationBase
*arg1
= (wxAnimationBase
*) 0 ;
3431 wxString
*arg2
= 0 ;
3433 bool temp2
= false ;
3434 PyObject
* obj0
= 0 ;
3435 PyObject
* obj1
= 0 ;
3437 (char *) "self",(char *) "filename", NULL
3440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AnimationBase_LoadFile",kwnames
,&obj0
,&obj1
)) goto fail
;
3441 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAnimationBase
, SWIG_POINTER_EXCEPTION
| 0);
3442 if (SWIG_arg_fail(1)) SWIG_fail
;
3444 arg2
= wxString_in_helper(obj1
);
3445 if (arg2
== NULL
) SWIG_fail
;
3449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3450 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
);
3452 wxPyEndAllowThreads(__tstate
);
3453 if (PyErr_Occurred()) SWIG_fail
;
3456 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3472 static PyObject
* AnimationBase_swigregister(PyObject
*, PyObject
*args
) {
3474 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3475 SWIG_TypeClientData(SWIGTYPE_p_wxAnimationBase
, obj
);
3477 return Py_BuildValue((char *)"");
3479 static PyObject
*_wrap_new_GIFAnimation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3480 PyObject
*resultobj
= NULL
;
3481 wxGIFAnimation
*result
;
3486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GIFAnimation",kwnames
)) goto fail
;
3488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3489 result
= (wxGIFAnimation
*)new wxGIFAnimation();
3491 wxPyEndAllowThreads(__tstate
);
3492 if (PyErr_Occurred()) SWIG_fail
;
3494 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGIFAnimation
, 1);
3501 static PyObject
*_wrap_delete_GIFAnimation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3502 PyObject
*resultobj
= NULL
;
3503 wxGIFAnimation
*arg1
= (wxGIFAnimation
*) 0 ;
3504 PyObject
* obj0
= 0 ;
3506 (char *) "self", NULL
3509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_GIFAnimation",kwnames
,&obj0
)) goto fail
;
3510 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGIFAnimation
, SWIG_POINTER_EXCEPTION
| 0);
3511 if (SWIG_arg_fail(1)) SWIG_fail
;
3513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3516 wxPyEndAllowThreads(__tstate
);
3517 if (PyErr_Occurred()) SWIG_fail
;
3519 Py_INCREF(Py_None
); resultobj
= Py_None
;
3526 static PyObject
*_wrap_GIFAnimation_GetFrameCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3527 PyObject
*resultobj
= NULL
;
3528 wxGIFAnimation
*arg1
= (wxGIFAnimation
*) 0 ;
3530 PyObject
* obj0
= 0 ;
3532 (char *) "self", NULL
3535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GIFAnimation_GetFrameCount",kwnames
,&obj0
)) goto fail
;
3536 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGIFAnimation
, SWIG_POINTER_EXCEPTION
| 0);
3537 if (SWIG_arg_fail(1)) SWIG_fail
;
3539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3540 result
= (int)((wxGIFAnimation
const *)arg1
)->GetFrameCount();
3542 wxPyEndAllowThreads(__tstate
);
3543 if (PyErr_Occurred()) SWIG_fail
;
3546 resultobj
= SWIG_From_int(static_cast<int >(result
));
3554 static PyObject
*_wrap_GIFAnimation_GetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3555 PyObject
*resultobj
= NULL
;
3556 wxGIFAnimation
*arg1
= (wxGIFAnimation
*) 0 ;
3559 PyObject
* obj0
= 0 ;
3560 PyObject
* obj1
= 0 ;
3562 (char *) "self",(char *) "i", NULL
3565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GIFAnimation_GetFrame",kwnames
,&obj0
,&obj1
)) goto fail
;
3566 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGIFAnimation
, SWIG_POINTER_EXCEPTION
| 0);
3567 if (SWIG_arg_fail(1)) SWIG_fail
;
3569 arg2
= static_cast<int >(SWIG_As_int(obj1
));
3570 if (SWIG_arg_fail(2)) SWIG_fail
;
3573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3574 result
= (wxImage
*)((wxGIFAnimation
const *)arg1
)->GetFrame(arg2
);
3576 wxPyEndAllowThreads(__tstate
);
3577 if (PyErr_Occurred()) SWIG_fail
;
3580 resultobj
= wxPyMake_wxObject(result
, 1);
3588 static PyObject
*_wrap_GIFAnimation_GetDisposalMethod(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3589 PyObject
*resultobj
= NULL
;
3590 wxGIFAnimation
*arg1
= (wxGIFAnimation
*) 0 ;
3592 wxAnimationDisposal result
;
3593 PyObject
* obj0
= 0 ;
3594 PyObject
* obj1
= 0 ;
3596 (char *) "self",(char *) "i", NULL
3599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GIFAnimation_GetDisposalMethod",kwnames
,&obj0
,&obj1
)) goto fail
;
3600 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGIFAnimation
, SWIG_POINTER_EXCEPTION
| 0);
3601 if (SWIG_arg_fail(1)) SWIG_fail
;
3603 arg2
= static_cast<int >(SWIG_As_int(obj1
));
3604 if (SWIG_arg_fail(2)) SWIG_fail
;
3607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3608 result
= (wxAnimationDisposal
)((wxGIFAnimation
const *)arg1
)->GetDisposalMethod(arg2
);
3610 wxPyEndAllowThreads(__tstate
);
3611 if (PyErr_Occurred()) SWIG_fail
;
3613 resultobj
= SWIG_From_int((result
));
3620 static PyObject
*_wrap_GIFAnimation_GetFrameRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3621 PyObject
*resultobj
= NULL
;
3622 wxGIFAnimation
*arg1
= (wxGIFAnimation
*) 0 ;
3625 PyObject
* obj0
= 0 ;
3626 PyObject
* obj1
= 0 ;
3628 (char *) "self",(char *) "i", NULL
3631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GIFAnimation_GetFrameRect",kwnames
,&obj0
,&obj1
)) goto fail
;
3632 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGIFAnimation
, SWIG_POINTER_EXCEPTION
| 0);
3633 if (SWIG_arg_fail(1)) SWIG_fail
;
3635 arg2
= static_cast<int >(SWIG_As_int(obj1
));
3636 if (SWIG_arg_fail(2)) SWIG_fail
;
3639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3640 result
= ((wxGIFAnimation
const *)arg1
)->GetFrameRect(arg2
);
3642 wxPyEndAllowThreads(__tstate
);
3643 if (PyErr_Occurred()) SWIG_fail
;
3647 resultptr
= new wxRect(static_cast<wxRect
& >(result
));
3648 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
3656 static PyObject
*_wrap_GIFAnimation_GetDelay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3657 PyObject
*resultobj
= NULL
;
3658 wxGIFAnimation
*arg1
= (wxGIFAnimation
*) 0 ;
3661 PyObject
* obj0
= 0 ;
3662 PyObject
* obj1
= 0 ;
3664 (char *) "self",(char *) "i", NULL
3667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GIFAnimation_GetDelay",kwnames
,&obj0
,&obj1
)) goto fail
;
3668 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGIFAnimation
, SWIG_POINTER_EXCEPTION
| 0);
3669 if (SWIG_arg_fail(1)) SWIG_fail
;
3671 arg2
= static_cast<int >(SWIG_As_int(obj1
));
3672 if (SWIG_arg_fail(2)) SWIG_fail
;
3675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3676 result
= (int)((wxGIFAnimation
const *)arg1
)->GetDelay(arg2
);
3678 wxPyEndAllowThreads(__tstate
);
3679 if (PyErr_Occurred()) SWIG_fail
;
3682 resultobj
= SWIG_From_int(static_cast<int >(result
));
3690 static PyObject
*_wrap_GIFAnimation_GetLogicalScreenSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3691 PyObject
*resultobj
= NULL
;
3692 wxGIFAnimation
*arg1
= (wxGIFAnimation
*) 0 ;
3694 PyObject
* obj0
= 0 ;
3696 (char *) "self", NULL
3699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GIFAnimation_GetLogicalScreenSize",kwnames
,&obj0
)) goto fail
;
3700 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGIFAnimation
, SWIG_POINTER_EXCEPTION
| 0);
3701 if (SWIG_arg_fail(1)) SWIG_fail
;
3703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3704 result
= ((wxGIFAnimation
const *)arg1
)->GetLogicalScreenSize();
3706 wxPyEndAllowThreads(__tstate
);
3707 if (PyErr_Occurred()) SWIG_fail
;
3711 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
3712 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
3720 static PyObject
*_wrap_GIFAnimation_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3721 PyObject
*resultobj
= NULL
;
3722 wxGIFAnimation
*arg1
= (wxGIFAnimation
*) 0 ;
3723 wxColour
*arg2
= 0 ;
3726 PyObject
* obj0
= 0 ;
3727 PyObject
* obj1
= 0 ;
3729 (char *) "self",(char *) "col", NULL
3732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GIFAnimation_GetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
3733 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGIFAnimation
, SWIG_POINTER_EXCEPTION
| 0);
3734 if (SWIG_arg_fail(1)) SWIG_fail
;
3737 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
3740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3741 result
= (bool)((wxGIFAnimation
const *)arg1
)->GetBackgroundColour(*arg2
);
3743 wxPyEndAllowThreads(__tstate
);
3744 if (PyErr_Occurred()) SWIG_fail
;
3747 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3755 static PyObject
*_wrap_GIFAnimation_GetTransparentColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3756 PyObject
*resultobj
= NULL
;
3757 wxGIFAnimation
*arg1
= (wxGIFAnimation
*) 0 ;
3758 wxColour
*arg2
= 0 ;
3761 PyObject
* obj0
= 0 ;
3762 PyObject
* obj1
= 0 ;
3764 (char *) "self",(char *) "col", NULL
3767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GIFAnimation_GetTransparentColour",kwnames
,&obj0
,&obj1
)) goto fail
;
3768 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGIFAnimation
, SWIG_POINTER_EXCEPTION
| 0);
3769 if (SWIG_arg_fail(1)) SWIG_fail
;
3772 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
3775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3776 result
= (bool)((wxGIFAnimation
const *)arg1
)->GetTransparentColour(*arg2
);
3778 wxPyEndAllowThreads(__tstate
);
3779 if (PyErr_Occurred()) SWIG_fail
;
3782 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3790 static PyObject
*_wrap_GIFAnimation_IsValid(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3791 PyObject
*resultobj
= NULL
;
3792 wxGIFAnimation
*arg1
= (wxGIFAnimation
*) 0 ;
3794 PyObject
* obj0
= 0 ;
3796 (char *) "self", NULL
3799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GIFAnimation_IsValid",kwnames
,&obj0
)) goto fail
;
3800 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGIFAnimation
, SWIG_POINTER_EXCEPTION
| 0);
3801 if (SWIG_arg_fail(1)) SWIG_fail
;
3803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3804 result
= (bool)((wxGIFAnimation
const *)arg1
)->IsValid();
3806 wxPyEndAllowThreads(__tstate
);
3807 if (PyErr_Occurred()) SWIG_fail
;
3810 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3818 static PyObject
*_wrap_GIFAnimation_LoadFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3819 PyObject
*resultobj
= NULL
;
3820 wxGIFAnimation
*arg1
= (wxGIFAnimation
*) 0 ;
3821 wxString
*arg2
= 0 ;
3823 bool temp2
= false ;
3824 PyObject
* obj0
= 0 ;
3825 PyObject
* obj1
= 0 ;
3827 (char *) "self",(char *) "filename", NULL
3830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GIFAnimation_LoadFile",kwnames
,&obj0
,&obj1
)) goto fail
;
3831 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGIFAnimation
, SWIG_POINTER_EXCEPTION
| 0);
3832 if (SWIG_arg_fail(1)) SWIG_fail
;
3834 arg2
= wxString_in_helper(obj1
);
3835 if (arg2
== NULL
) SWIG_fail
;
3839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3840 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
);
3842 wxPyEndAllowThreads(__tstate
);
3843 if (PyErr_Occurred()) SWIG_fail
;
3846 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3862 static PyObject
* GIFAnimation_swigregister(PyObject
*, PyObject
*args
) {
3864 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3865 SWIG_TypeClientData(SWIGTYPE_p_wxGIFAnimation
, obj
);
3867 return Py_BuildValue((char *)"");
3869 static PyObject
*_wrap_new_GIFAnimationCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3870 PyObject
*resultobj
= NULL
;
3871 wxWindow
*arg1
= (wxWindow
*) 0 ;
3872 int arg2
= (int) -1 ;
3873 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3874 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3875 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3876 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3877 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3878 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3879 long arg6
= (long) wxAN_FIT_ANIMATION
|wxNO_BORDER
;
3880 wxString
const &arg7_defvalue
= wxPyAnimationControlNameStr
;
3881 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
3882 wxGIFAnimationCtrl
*result
;
3883 bool temp3
= false ;
3886 bool temp7
= false ;
3887 PyObject
* obj0
= 0 ;
3888 PyObject
* obj1
= 0 ;
3889 PyObject
* obj2
= 0 ;
3890 PyObject
* obj3
= 0 ;
3891 PyObject
* obj4
= 0 ;
3892 PyObject
* obj5
= 0 ;
3893 PyObject
* obj6
= 0 ;
3895 (char *) "parent",(char *) "id",(char *) "filename",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_GIFAnimationCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
3899 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
3900 if (SWIG_arg_fail(1)) SWIG_fail
;
3903 arg2
= static_cast<int >(SWIG_As_int(obj1
));
3904 if (SWIG_arg_fail(2)) SWIG_fail
;
3909 arg3
= wxString_in_helper(obj2
);
3910 if (arg3
== NULL
) SWIG_fail
;
3917 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3923 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3928 arg6
= static_cast<long >(SWIG_As_long(obj5
));
3929 if (SWIG_arg_fail(6)) SWIG_fail
;
3934 arg7
= wxString_in_helper(obj6
);
3935 if (arg7
== NULL
) SWIG_fail
;
3940 if (!wxPyCheckForApp()) SWIG_fail
;
3941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3942 result
= (wxGIFAnimationCtrl
*)new wxGIFAnimationCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
3944 wxPyEndAllowThreads(__tstate
);
3945 if (PyErr_Occurred()) SWIG_fail
;
3947 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGIFAnimationCtrl
, 1);
3970 static PyObject
*_wrap_new_PreGIFAnimationCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3971 PyObject
*resultobj
= NULL
;
3972 wxGIFAnimationCtrl
*result
;
3977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGIFAnimationCtrl",kwnames
)) goto fail
;
3979 if (!wxPyCheckForApp()) SWIG_fail
;
3980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3981 result
= (wxGIFAnimationCtrl
*)new wxGIFAnimationCtrl();
3983 wxPyEndAllowThreads(__tstate
);
3984 if (PyErr_Occurred()) SWIG_fail
;
3986 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGIFAnimationCtrl
, 1);
3993 static PyObject
*_wrap_GIFAnimationCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3994 PyObject
*resultobj
= NULL
;
3995 wxGIFAnimationCtrl
*arg1
= (wxGIFAnimationCtrl
*) 0 ;
3996 wxWindow
*arg2
= (wxWindow
*) 0 ;
3997 int arg3
= (int) -1 ;
3998 wxString
const &arg4_defvalue
= wxPyEmptyString
;
3999 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4000 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4001 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4002 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4003 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4004 long arg7
= (long) wxAN_FIT_ANIMATION
|wxNO_BORDER
;
4005 wxString
const &arg8_defvalue
= wxPyAnimationControlNameStr
;
4006 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4008 bool temp4
= false ;
4011 bool temp8
= false ;
4012 PyObject
* obj0
= 0 ;
4013 PyObject
* obj1
= 0 ;
4014 PyObject
* obj2
= 0 ;
4015 PyObject
* obj3
= 0 ;
4016 PyObject
* obj4
= 0 ;
4017 PyObject
* obj5
= 0 ;
4018 PyObject
* obj6
= 0 ;
4019 PyObject
* obj7
= 0 ;
4021 (char *) "self",(char *) "parent",(char *) "id",(char *) "filename",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:GIFAnimationCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4025 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGIFAnimationCtrl
, SWIG_POINTER_EXCEPTION
| 0);
4026 if (SWIG_arg_fail(1)) SWIG_fail
;
4027 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4028 if (SWIG_arg_fail(2)) SWIG_fail
;
4031 arg3
= static_cast<int >(SWIG_As_int(obj2
));
4032 if (SWIG_arg_fail(3)) SWIG_fail
;
4037 arg4
= wxString_in_helper(obj3
);
4038 if (arg4
== NULL
) SWIG_fail
;
4045 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4051 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4056 arg7
= static_cast<long >(SWIG_As_long(obj6
));
4057 if (SWIG_arg_fail(7)) SWIG_fail
;
4062 arg8
= wxString_in_helper(obj7
);
4063 if (arg8
== NULL
) SWIG_fail
;
4068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4069 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4071 wxPyEndAllowThreads(__tstate
);
4072 if (PyErr_Occurred()) SWIG_fail
;
4075 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4099 static PyObject
*_wrap_GIFAnimationCtrl_LoadFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4100 PyObject
*resultobj
= NULL
;
4101 wxGIFAnimationCtrl
*arg1
= (wxGIFAnimationCtrl
*) 0 ;
4102 wxString
const &arg2_defvalue
= wxPyEmptyString
;
4103 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
4105 bool temp2
= false ;
4106 PyObject
* obj0
= 0 ;
4107 PyObject
* obj1
= 0 ;
4109 (char *) "self",(char *) "filename", NULL
4112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:GIFAnimationCtrl_LoadFile",kwnames
,&obj0
,&obj1
)) goto fail
;
4113 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGIFAnimationCtrl
, SWIG_POINTER_EXCEPTION
| 0);
4114 if (SWIG_arg_fail(1)) SWIG_fail
;
4117 arg2
= wxString_in_helper(obj1
);
4118 if (arg2
== NULL
) SWIG_fail
;
4123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4124 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
);
4126 wxPyEndAllowThreads(__tstate
);
4127 if (PyErr_Occurred()) SWIG_fail
;
4130 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4146 static PyObject
*_wrap_GIFAnimationCtrl_Play(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4147 PyObject
*resultobj
= NULL
;
4148 wxGIFAnimationCtrl
*arg1
= (wxGIFAnimationCtrl
*) 0 ;
4149 bool arg2
= (bool) true ;
4151 PyObject
* obj0
= 0 ;
4152 PyObject
* obj1
= 0 ;
4154 (char *) "self",(char *) "looped", NULL
4157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:GIFAnimationCtrl_Play",kwnames
,&obj0
,&obj1
)) goto fail
;
4158 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGIFAnimationCtrl
, SWIG_POINTER_EXCEPTION
| 0);
4159 if (SWIG_arg_fail(1)) SWIG_fail
;
4162 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
4163 if (SWIG_arg_fail(2)) SWIG_fail
;
4167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4168 result
= (bool)(arg1
)->Play(arg2
);
4170 wxPyEndAllowThreads(__tstate
);
4171 if (PyErr_Occurred()) SWIG_fail
;
4174 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4182 static PyObject
*_wrap_GIFAnimationCtrl_Stop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4183 PyObject
*resultobj
= NULL
;
4184 wxGIFAnimationCtrl
*arg1
= (wxGIFAnimationCtrl
*) 0 ;
4185 PyObject
* obj0
= 0 ;
4187 (char *) "self", NULL
4190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GIFAnimationCtrl_Stop",kwnames
,&obj0
)) goto fail
;
4191 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGIFAnimationCtrl
, SWIG_POINTER_EXCEPTION
| 0);
4192 if (SWIG_arg_fail(1)) SWIG_fail
;
4194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4197 wxPyEndAllowThreads(__tstate
);
4198 if (PyErr_Occurred()) SWIG_fail
;
4200 Py_INCREF(Py_None
); resultobj
= Py_None
;
4207 static PyObject
*_wrap_GIFAnimationCtrl_FitToAnimation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4208 PyObject
*resultobj
= NULL
;
4209 wxGIFAnimationCtrl
*arg1
= (wxGIFAnimationCtrl
*) 0 ;
4210 PyObject
* obj0
= 0 ;
4212 (char *) "self", NULL
4215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GIFAnimationCtrl_FitToAnimation",kwnames
,&obj0
)) goto fail
;
4216 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGIFAnimationCtrl
, SWIG_POINTER_EXCEPTION
| 0);
4217 if (SWIG_arg_fail(1)) SWIG_fail
;
4219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4220 (arg1
)->FitToAnimation();
4222 wxPyEndAllowThreads(__tstate
);
4223 if (PyErr_Occurred()) SWIG_fail
;
4225 Py_INCREF(Py_None
); resultobj
= Py_None
;
4232 static PyObject
*_wrap_GIFAnimationCtrl_IsPlaying(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4233 PyObject
*resultobj
= NULL
;
4234 wxGIFAnimationCtrl
*arg1
= (wxGIFAnimationCtrl
*) 0 ;
4236 PyObject
* obj0
= 0 ;
4238 (char *) "self", NULL
4241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GIFAnimationCtrl_IsPlaying",kwnames
,&obj0
)) goto fail
;
4242 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGIFAnimationCtrl
, SWIG_POINTER_EXCEPTION
| 0);
4243 if (SWIG_arg_fail(1)) SWIG_fail
;
4245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4246 result
= (bool)((wxGIFAnimationCtrl
const *)arg1
)->IsPlaying();
4248 wxPyEndAllowThreads(__tstate
);
4249 if (PyErr_Occurred()) SWIG_fail
;
4252 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4260 static PyObject
*_wrap_GIFAnimationCtrl_GetPlayer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4261 PyObject
*resultobj
= NULL
;
4262 wxGIFAnimationCtrl
*arg1
= (wxGIFAnimationCtrl
*) 0 ;
4263 wxAnimationPlayer
*result
;
4264 PyObject
* obj0
= 0 ;
4266 (char *) "self", NULL
4269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GIFAnimationCtrl_GetPlayer",kwnames
,&obj0
)) goto fail
;
4270 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGIFAnimationCtrl
, SWIG_POINTER_EXCEPTION
| 0);
4271 if (SWIG_arg_fail(1)) SWIG_fail
;
4273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4275 wxAnimationPlayer
&_result_ref
= (arg1
)->GetPlayer();
4276 result
= (wxAnimationPlayer
*) &_result_ref
;
4279 wxPyEndAllowThreads(__tstate
);
4280 if (PyErr_Occurred()) SWIG_fail
;
4282 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAnimationPlayer
, 0);
4289 static PyObject
*_wrap_GIFAnimationCtrl_GetAnimation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4290 PyObject
*resultobj
= NULL
;
4291 wxGIFAnimationCtrl
*arg1
= (wxGIFAnimationCtrl
*) 0 ;
4292 wxAnimationBase
*result
;
4293 PyObject
* obj0
= 0 ;
4295 (char *) "self", NULL
4298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GIFAnimationCtrl_GetAnimation",kwnames
,&obj0
)) goto fail
;
4299 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGIFAnimationCtrl
, SWIG_POINTER_EXCEPTION
| 0);
4300 if (SWIG_arg_fail(1)) SWIG_fail
;
4302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4303 result
= (wxAnimationBase
*)(arg1
)->GetAnimation();
4305 wxPyEndAllowThreads(__tstate
);
4306 if (PyErr_Occurred()) SWIG_fail
;
4308 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAnimationBase
, 0);
4315 static PyObject
*_wrap_GIFAnimationCtrl_GetFilename(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4316 PyObject
*resultobj
= NULL
;
4317 wxGIFAnimationCtrl
*arg1
= (wxGIFAnimationCtrl
*) 0 ;
4319 PyObject
* obj0
= 0 ;
4321 (char *) "self", NULL
4324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GIFAnimationCtrl_GetFilename",kwnames
,&obj0
)) goto fail
;
4325 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGIFAnimationCtrl
, SWIG_POINTER_EXCEPTION
| 0);
4326 if (SWIG_arg_fail(1)) SWIG_fail
;
4328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4330 wxString
const &_result_ref
= ((wxGIFAnimationCtrl
const *)arg1
)->GetFilename();
4331 result
= (wxString
*) &_result_ref
;
4334 wxPyEndAllowThreads(__tstate
);
4335 if (PyErr_Occurred()) SWIG_fail
;
4339 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
4341 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
4350 static PyObject
*_wrap_GIFAnimationCtrl_SetFilename(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4351 PyObject
*resultobj
= NULL
;
4352 wxGIFAnimationCtrl
*arg1
= (wxGIFAnimationCtrl
*) 0 ;
4353 wxString
*arg2
= 0 ;
4354 bool temp2
= false ;
4355 PyObject
* obj0
= 0 ;
4356 PyObject
* obj1
= 0 ;
4358 (char *) "self",(char *) "filename", NULL
4361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GIFAnimationCtrl_SetFilename",kwnames
,&obj0
,&obj1
)) goto fail
;
4362 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGIFAnimationCtrl
, SWIG_POINTER_EXCEPTION
| 0);
4363 if (SWIG_arg_fail(1)) SWIG_fail
;
4365 arg2
= wxString_in_helper(obj1
);
4366 if (arg2
== NULL
) SWIG_fail
;
4370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4371 (arg1
)->SetFilename((wxString
const &)*arg2
);
4373 wxPyEndAllowThreads(__tstate
);
4374 if (PyErr_Occurred()) SWIG_fail
;
4376 Py_INCREF(Py_None
); resultobj
= Py_None
;
4391 static PyObject
* GIFAnimationCtrl_swigregister(PyObject
*, PyObject
*args
) {
4393 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4394 SWIG_TypeClientData(SWIGTYPE_p_wxGIFAnimationCtrl
, obj
);
4396 return Py_BuildValue((char *)"");
4398 static PyMethodDef SwigMethods
[] = {
4399 { (char *)"new_AnimationPlayer", (PyCFunction
) _wrap_new_AnimationPlayer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
4400 { (char *)"delete_AnimationPlayer", (PyCFunction
) _wrap_delete_AnimationPlayer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
4401 { (char *)"AnimationPlayer_SetAnimation", (PyCFunction
) _wrap_AnimationPlayer_SetAnimation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
4402 { (char *)"AnimationPlayer_GetAnimation", (PyCFunction
) _wrap_AnimationPlayer_GetAnimation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
4403 { (char *)"AnimationPlayer_SetDestroyAnimation", (PyCFunction
) _wrap_AnimationPlayer_SetDestroyAnimation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
4404 { (char *)"AnimationPlayer_GetDestroyAnimation", (PyCFunction
) _wrap_AnimationPlayer_GetDestroyAnimation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
4405 { (char *)"AnimationPlayer_SetCurrentFrame", (PyCFunction
) _wrap_AnimationPlayer_SetCurrentFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
4406 { (char *)"AnimationPlayer_GetCurrentFrame", (PyCFunction
) _wrap_AnimationPlayer_GetCurrentFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
4407 { (char *)"AnimationPlayer_SetWindow", (PyCFunction
) _wrap_AnimationPlayer_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
4408 { (char *)"AnimationPlayer_GetWindow", (PyCFunction
) _wrap_AnimationPlayer_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
4409 { (char *)"AnimationPlayer_SetPosition", (PyCFunction
) _wrap_AnimationPlayer_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
4410 { (char *)"AnimationPlayer_GetPosition", (PyCFunction
) _wrap_AnimationPlayer_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
4411 { (char *)"AnimationPlayer_SetLooped", (PyCFunction
) _wrap_AnimationPlayer_SetLooped
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
4412 { (char *)"AnimationPlayer_GetLooped", (PyCFunction
) _wrap_AnimationPlayer_GetLooped
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
4413 { (char *)"AnimationPlayer_HasAnimation", (PyCFunction
) _wrap_AnimationPlayer_HasAnimation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
4414 { (char *)"AnimationPlayer_IsPlaying", (PyCFunction
) _wrap_AnimationPlayer_IsPlaying
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
4415 { (char *)"AnimationPlayer_UseBackgroundColour", (PyCFunction
) _wrap_AnimationPlayer_UseBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
4416 { (char *)"AnimationPlayer_UsingBackgroundColour", (PyCFunction
) _wrap_AnimationPlayer_UsingBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
4417 { (char *)"AnimationPlayer_SetCustomBackgroundColour", (PyCFunction
) _wrap_AnimationPlayer_SetCustomBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
4418 { (char *)"AnimationPlayer_UsingCustomBackgroundColour", (PyCFunction
) _wrap_AnimationPlayer_UsingCustomBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
4419 { (char *)"AnimationPlayer_GetCustomBackgroundColour", (PyCFunction
) _wrap_AnimationPlayer_GetCustomBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
4420 { (char *)"AnimationPlayer_UseParentBackground", (PyCFunction
) _wrap_AnimationPlayer_UseParentBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
4421 { (char *)"AnimationPlayer_UsingParentBackground", (PyCFunction
) _wrap_AnimationPlayer_UsingParentBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
4422 { (char *)"AnimationPlayer_Play", (PyCFunction
) _wrap_AnimationPlayer_Play
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
4423 { (char *)"AnimationPlayer_Build", (PyCFunction
) _wrap_AnimationPlayer_Build
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
4424 { (char *)"AnimationPlayer_Stop", (PyCFunction
) _wrap_AnimationPlayer_Stop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
4425 { (char *)"AnimationPlayer_Draw", (PyCFunction
) _wrap_AnimationPlayer_Draw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
4426 { (char *)"AnimationPlayer_GetFrameCount", (PyCFunction
) _wrap_AnimationPlayer_GetFrameCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
4427 { (char *)"AnimationPlayer_GetFrame", (PyCFunction
) _wrap_AnimationPlayer_GetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
4428 { (char *)"AnimationPlayer_GetDisposalMethod", (PyCFunction
) _wrap_AnimationPlayer_GetDisposalMethod
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
4429 { (char *)"AnimationPlayer_GetFrameRect", (PyCFunction
) _wrap_AnimationPlayer_GetFrameRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
4430 { (char *)"AnimationPlayer_GetDelay", (PyCFunction
) _wrap_AnimationPlayer_GetDelay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
4431 { (char *)"AnimationPlayer_GetLogicalScreenSize", (PyCFunction
) _wrap_AnimationPlayer_GetLogicalScreenSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
4432 { (char *)"AnimationPlayer_GetBackgroundColour", (PyCFunction
) _wrap_AnimationPlayer_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
4433 { (char *)"AnimationPlayer_GetTransparentColour", (PyCFunction
) _wrap_AnimationPlayer_GetTransparentColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
4434 { (char *)"AnimationPlayer_PlayFrame", (PyCFunction
) _wrap_AnimationPlayer_PlayFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
4435 { (char *)"AnimationPlayer_PlayNextFrame", (PyCFunction
) _wrap_AnimationPlayer_PlayNextFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
4436 { (char *)"AnimationPlayer_DrawFrame", (PyCFunction
) _wrap_AnimationPlayer_DrawFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
4437 { (char *)"AnimationPlayer_DrawBackground", (PyCFunction
) _wrap_AnimationPlayer_DrawBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
4438 { (char *)"AnimationPlayer_ClearCache", (PyCFunction
) _wrap_AnimationPlayer_ClearCache
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
4439 { (char *)"AnimationPlayer_SaveBackground", (PyCFunction
) _wrap_AnimationPlayer_SaveBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
4440 { (char *)"AnimationPlayer_GetBackingStore", (PyCFunction
) _wrap_AnimationPlayer_GetBackingStore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
4441 { (char *)"AnimationPlayer_swigregister", AnimationPlayer_swigregister
, METH_VARARGS
, NULL
},
4442 { (char *)"delete_AnimationBase", (PyCFunction
) _wrap_delete_AnimationBase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
4443 { (char *)"AnimationBase_GetFrameCount", (PyCFunction
) _wrap_AnimationBase_GetFrameCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
4444 { (char *)"AnimationBase_GetFrame", (PyCFunction
) _wrap_AnimationBase_GetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
4445 { (char *)"AnimationBase_GetDisposalMethod", (PyCFunction
) _wrap_AnimationBase_GetDisposalMethod
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
4446 { (char *)"AnimationBase_GetFrameRect", (PyCFunction
) _wrap_AnimationBase_GetFrameRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
4447 { (char *)"AnimationBase_GetDelay", (PyCFunction
) _wrap_AnimationBase_GetDelay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
4448 { (char *)"AnimationBase_GetLogicalScreenSize", (PyCFunction
) _wrap_AnimationBase_GetLogicalScreenSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
4449 { (char *)"AnimationBase_GetBackgroundColour", (PyCFunction
) _wrap_AnimationBase_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
4450 { (char *)"AnimationBase_GetTransparentColour", (PyCFunction
) _wrap_AnimationBase_GetTransparentColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
4451 { (char *)"AnimationBase_IsValid", (PyCFunction
) _wrap_AnimationBase_IsValid
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
4452 { (char *)"AnimationBase_LoadFile", (PyCFunction
) _wrap_AnimationBase_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
4453 { (char *)"AnimationBase_swigregister", AnimationBase_swigregister
, METH_VARARGS
, NULL
},
4454 { (char *)"new_GIFAnimation", (PyCFunction
) _wrap_new_GIFAnimation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
4455 { (char *)"delete_GIFAnimation", (PyCFunction
) _wrap_delete_GIFAnimation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
4456 { (char *)"GIFAnimation_GetFrameCount", (PyCFunction
) _wrap_GIFAnimation_GetFrameCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
4457 { (char *)"GIFAnimation_GetFrame", (PyCFunction
) _wrap_GIFAnimation_GetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
4458 { (char *)"GIFAnimation_GetDisposalMethod", (PyCFunction
) _wrap_GIFAnimation_GetDisposalMethod
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
4459 { (char *)"GIFAnimation_GetFrameRect", (PyCFunction
) _wrap_GIFAnimation_GetFrameRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
4460 { (char *)"GIFAnimation_GetDelay", (PyCFunction
) _wrap_GIFAnimation_GetDelay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
4461 { (char *)"GIFAnimation_GetLogicalScreenSize", (PyCFunction
) _wrap_GIFAnimation_GetLogicalScreenSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
4462 { (char *)"GIFAnimation_GetBackgroundColour", (PyCFunction
) _wrap_GIFAnimation_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
4463 { (char *)"GIFAnimation_GetTransparentColour", (PyCFunction
) _wrap_GIFAnimation_GetTransparentColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
4464 { (char *)"GIFAnimation_IsValid", (PyCFunction
) _wrap_GIFAnimation_IsValid
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
4465 { (char *)"GIFAnimation_LoadFile", (PyCFunction
) _wrap_GIFAnimation_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
4466 { (char *)"GIFAnimation_swigregister", GIFAnimation_swigregister
, METH_VARARGS
, NULL
},
4467 { (char *)"new_GIFAnimationCtrl", (PyCFunction
) _wrap_new_GIFAnimationCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
4468 { (char *)"new_PreGIFAnimationCtrl", (PyCFunction
) _wrap_new_PreGIFAnimationCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
4469 { (char *)"GIFAnimationCtrl_Create", (PyCFunction
) _wrap_GIFAnimationCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
4470 { (char *)"GIFAnimationCtrl_LoadFile", (PyCFunction
) _wrap_GIFAnimationCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
4471 { (char *)"GIFAnimationCtrl_Play", (PyCFunction
) _wrap_GIFAnimationCtrl_Play
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
4472 { (char *)"GIFAnimationCtrl_Stop", (PyCFunction
) _wrap_GIFAnimationCtrl_Stop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
4473 { (char *)"GIFAnimationCtrl_FitToAnimation", (PyCFunction
) _wrap_GIFAnimationCtrl_FitToAnimation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
4474 { (char *)"GIFAnimationCtrl_IsPlaying", (PyCFunction
) _wrap_GIFAnimationCtrl_IsPlaying
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
4475 { (char *)"GIFAnimationCtrl_GetPlayer", (PyCFunction
) _wrap_GIFAnimationCtrl_GetPlayer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
4476 { (char *)"GIFAnimationCtrl_GetAnimation", (PyCFunction
) _wrap_GIFAnimationCtrl_GetAnimation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
4477 { (char *)"GIFAnimationCtrl_GetFilename", (PyCFunction
) _wrap_GIFAnimationCtrl_GetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
4478 { (char *)"GIFAnimationCtrl_SetFilename", (PyCFunction
) _wrap_GIFAnimationCtrl_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
4479 { (char *)"GIFAnimationCtrl_swigregister", GIFAnimationCtrl_swigregister
, METH_VARARGS
, NULL
},
4480 { NULL
, NULL
, 0, NULL
}
4484 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
4486 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
4487 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
4489 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
4490 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
4492 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
4493 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
4495 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
4496 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
4498 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
4499 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
4501 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
4502 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
4504 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
4505 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
4507 static void *_p_wxSizerTo_p_wxObject(void *x
) {
4508 return (void *)((wxObject
*) ((wxSizer
*) x
));
4510 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
4511 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
4513 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
4514 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
4516 static void *_p_wxEventTo_p_wxObject(void *x
) {
4517 return (void *)((wxObject
*) ((wxEvent
*) x
));
4519 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
4520 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
4522 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
4523 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
4525 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
4526 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
4528 static void *_p_wxAnimationBaseTo_p_wxObject(void *x
) {
4529 return (void *)((wxObject
*) ((wxAnimationBase
*) x
));
4531 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
4532 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
4534 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
4535 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
4537 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
4538 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
4540 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
4541 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
4543 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
4544 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
4546 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
4547 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
4549 static void *_p_wxControlTo_p_wxObject(void *x
) {
4550 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
4552 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
4553 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
4555 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
4556 return (void *)((wxObject
*) ((wxFSFile
*) x
));
4558 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
4559 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
4561 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
4562 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
4564 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
4565 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
4567 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
4568 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
4570 static void *_p_wxAnimationPlayerTo_p_wxObject(void *x
) {
4571 return (void *)((wxObject
*) ((wxAnimationPlayer
*) x
));
4573 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
4574 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
4576 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
4577 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
4579 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
4580 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
4582 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
4583 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
4585 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
4586 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
4588 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
4589 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
4591 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
4592 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
4594 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
4595 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
4597 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
4598 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
4600 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
4601 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
4603 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
4604 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
4606 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
4607 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
4609 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
4610 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
4612 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
4613 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
4615 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
4616 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
4618 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
4619 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
4621 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
4622 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
4624 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
4625 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
4627 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
4628 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
4630 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
4631 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
4633 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
4634 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
4636 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
4637 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
4639 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
4640 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
4642 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
4643 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
4645 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
4646 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
4648 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
4649 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
4651 static void *_p_wxImageTo_p_wxObject(void *x
) {
4652 return (void *)((wxObject
*) ((wxImage
*) x
));
4654 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
4655 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
4657 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
4658 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
4660 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
4661 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
4663 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
4664 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
4666 static void *_p_wxWindowTo_p_wxObject(void *x
) {
4667 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
4669 static void *_p_wxMenuTo_p_wxObject(void *x
) {
4670 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
4672 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
4673 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
4675 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
4676 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
4678 static void *_p_wxGIFAnimationTo_p_wxObject(void *x
) {
4679 return (void *)((wxObject
*) (wxAnimationBase
*) ((wxGIFAnimation
*) x
));
4681 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
4682 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
4684 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
4685 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
4687 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
4688 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
4690 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
4691 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
4693 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
4694 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
4696 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
4697 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
4699 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
4700 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
4702 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
4703 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
4705 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
4706 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
4708 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
4709 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
4711 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
4712 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
4714 static void *_p_wxGIFAnimationCtrlTo_p_wxObject(void *x
) {
4715 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGIFAnimationCtrl
*) x
));
4717 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
4718 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
4720 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
4721 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
4723 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
4724 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
4726 static void *_p_wxControlTo_p_wxWindow(void *x
) {
4727 return (void *)((wxWindow
*) ((wxControl
*) x
));
4729 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
4730 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
4732 static void *_p_wxGIFAnimationCtrlTo_p_wxWindow(void *x
) {
4733 return (void *)((wxWindow
*) (wxControl
*) ((wxGIFAnimationCtrl
*) x
));
4735 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
4736 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
4738 static void *_p_wxGIFAnimationTo_p_wxAnimationBase(void *x
) {
4739 return (void *)((wxAnimationBase
*) ((wxGIFAnimation
*) x
));
4741 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
4742 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
4744 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
4745 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
4747 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
4748 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
4750 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
4751 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
4753 static void *_p_wxGIFAnimationCtrlTo_p_wxEvtHandler(void *x
) {
4754 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGIFAnimationCtrl
*) x
));
4756 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
4757 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
4759 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
4760 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
4762 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
4763 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
4765 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
4766 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
4768 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
4769 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
4771 static void *_p_wxGIFAnimationCtrlTo_p_wxControl(void *x
) {
4772 return (void *)((wxControl
*) ((wxGIFAnimationCtrl
*) x
));
4774 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, 0};
4775 static swig_type_info _swigt__p_form_ops_t
= {"_p_form_ops_t", "enum form_ops_t *|form_ops_t *", 0, 0, 0};
4776 static swig_type_info _swigt__p_int
= {"_p_int", "int *|wxEventType *", 0, 0, 0};
4777 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, 0};
4778 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, 0};
4779 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, 0};
4780 static swig_type_info _swigt__p_wxAnimationBase
= {"_p_wxAnimationBase", "wxAnimationBase *", 0, 0, 0};
4781 static swig_type_info _swigt__p_wxAnimationPlayer
= {"_p_wxAnimationPlayer", "wxAnimationPlayer *", 0, 0, 0};
4782 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, 0};
4783 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, 0};
4784 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", "wxControl *", 0, 0, 0};
4785 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0};
4786 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, 0};
4787 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, 0};
4788 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, 0};
4789 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0};
4790 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0};
4791 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0};
4792 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0};
4793 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", 0, 0, 0, 0};
4794 static swig_type_info _swigt__p_wxGIFAnimation
= {"_p_wxGIFAnimation", "wxGIFAnimation *", 0, 0, 0};
4795 static swig_type_info _swigt__p_wxGIFAnimationCtrl
= {"_p_wxGIFAnimationCtrl", "wxGIFAnimationCtrl *", 0, 0, 0};
4796 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, 0};
4797 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0};
4798 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0};
4799 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0};
4800 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0};
4801 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0};
4802 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0};
4803 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0};
4804 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0};
4805 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0};
4806 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0};
4807 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", 0, 0, 0, 0};
4808 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0};
4809 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0};
4810 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0};
4811 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0};
4812 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0};
4813 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0};
4814 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0};
4815 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0};
4816 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0};
4817 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0};
4818 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0};
4819 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0};
4820 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0};
4821 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", 0, 0, 0, 0};
4822 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0};
4823 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0};
4824 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0};
4825 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0};
4826 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0};
4827 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0};
4828 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0};
4829 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0};
4830 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0};
4831 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0};
4832 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0};
4833 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0};
4834 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0};
4835 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0};
4836 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0};
4837 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0};
4838 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0};
4839 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0};
4840 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0};
4841 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0};
4842 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0};
4843 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0};
4844 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0};
4845 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0};
4846 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0};
4847 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0};
4848 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", 0, 0, 0, 0};
4849 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0};
4850 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0};
4851 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0};
4852 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0};
4853 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0};
4854 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0};
4855 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0};
4856 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0};
4857 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0};
4858 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0};
4859 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", 0, 0, 0, 0};
4860 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0};
4861 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0};
4862 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0};
4863 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0};
4864 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, 0};
4865 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, 0};
4866 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, 0};
4867 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, 0};
4868 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, 0};
4869 static swig_type_info _swigt__ptrdiff_t
= {"_ptrdiff_t", "ptrdiff_t", 0, 0, 0};
4870 static swig_type_info _swigt__std__ptrdiff_t
= {"_std__ptrdiff_t", "std::ptrdiff_t", 0, 0, 0};
4871 static swig_type_info _swigt__unsigned_int
= {"_unsigned_int", "unsigned int|std::size_t", 0, 0, 0};
4873 static swig_type_info
*swig_type_initial
[] = {
4875 &_swigt__p_form_ops_t
,
4877 &_swigt__p_unsigned_char
,
4878 &_swigt__p_unsigned_int
,
4879 &_swigt__p_unsigned_long
,
4880 &_swigt__p_wxANIHandler
,
4881 &_swigt__p_wxAcceleratorTable
,
4882 &_swigt__p_wxActivateEvent
,
4883 &_swigt__p_wxAnimationBase
,
4884 &_swigt__p_wxAnimationPlayer
,
4885 &_swigt__p_wxBMPHandler
,
4886 &_swigt__p_wxBitmap
,
4887 &_swigt__p_wxBoxSizer
,
4888 &_swigt__p_wxCURHandler
,
4889 &_swigt__p_wxChildFocusEvent
,
4890 &_swigt__p_wxCloseEvent
,
4891 &_swigt__p_wxColour
,
4892 &_swigt__p_wxCommandEvent
,
4893 &_swigt__p_wxContextMenuEvent
,
4894 &_swigt__p_wxControl
,
4895 &_swigt__p_wxControlWithItems
,
4897 &_swigt__p_wxDateEvent
,
4898 &_swigt__p_wxDisplayChangedEvent
,
4899 &_swigt__p_wxDropFilesEvent
,
4900 &_swigt__p_wxDuplexMode
,
4901 &_swigt__p_wxEraseEvent
,
4903 &_swigt__p_wxEvtHandler
,
4904 &_swigt__p_wxFSFile
,
4905 &_swigt__p_wxFileSystem
,
4906 &_swigt__p_wxFlexGridSizer
,
4907 &_swigt__p_wxFocusEvent
,
4908 &_swigt__p_wxGBSizerItem
,
4909 &_swigt__p_wxGIFAnimation
,
4910 &_swigt__p_wxGIFAnimationCtrl
,
4911 &_swigt__p_wxGIFHandler
,
4912 &_swigt__p_wxGridBagSizer
,
4913 &_swigt__p_wxGridSizer
,
4914 &_swigt__p_wxICOHandler
,
4915 &_swigt__p_wxIconizeEvent
,
4916 &_swigt__p_wxIdleEvent
,
4918 &_swigt__p_wxImageHandler
,
4919 &_swigt__p_wxIndividualLayoutConstraint
,
4920 &_swigt__p_wxInitDialogEvent
,
4921 &_swigt__p_wxJPEGHandler
,
4922 &_swigt__p_wxKeyEvent
,
4923 &_swigt__p_wxLayoutConstraints
,
4924 &_swigt__p_wxMaximizeEvent
,
4926 &_swigt__p_wxMenuBar
,
4927 &_swigt__p_wxMenuEvent
,
4928 &_swigt__p_wxMenuItem
,
4929 &_swigt__p_wxMouseCaptureChangedEvent
,
4930 &_swigt__p_wxMouseEvent
,
4931 &_swigt__p_wxMoveEvent
,
4932 &_swigt__p_wxNavigationKeyEvent
,
4933 &_swigt__p_wxNcPaintEvent
,
4934 &_swigt__p_wxNotifyEvent
,
4935 &_swigt__p_wxObject
,
4936 &_swigt__p_wxPCXHandler
,
4937 &_swigt__p_wxPNGHandler
,
4938 &_swigt__p_wxPNMHandler
,
4939 &_swigt__p_wxPaintEvent
,
4940 &_swigt__p_wxPaletteChangedEvent
,
4941 &_swigt__p_wxPaperSize
,
4944 &_swigt__p_wxPyCommandEvent
,
4945 &_swigt__p_wxPyEvent
,
4946 &_swigt__p_wxPyImageHandler
,
4947 &_swigt__p_wxPySizer
,
4948 &_swigt__p_wxPyValidator
,
4949 &_swigt__p_wxQueryNewPaletteEvent
,
4951 &_swigt__p_wxScrollEvent
,
4952 &_swigt__p_wxScrollWinEvent
,
4953 &_swigt__p_wxSetCursorEvent
,
4954 &_swigt__p_wxShowEvent
,
4956 &_swigt__p_wxSizeEvent
,
4958 &_swigt__p_wxSizerItem
,
4959 &_swigt__p_wxStaticBoxSizer
,
4960 &_swigt__p_wxStdDialogButtonSizer
,
4961 &_swigt__p_wxSysColourChangedEvent
,
4962 &_swigt__p_wxTIFFHandler
,
4963 &_swigt__p_wxUpdateUIEvent
,
4964 &_swigt__p_wxValidator
,
4965 &_swigt__p_wxWindow
,
4966 &_swigt__p_wxWindowCreateEvent
,
4967 &_swigt__p_wxWindowDestroyEvent
,
4968 &_swigt__p_wxXPMHandler
,
4970 &_swigt__std__ptrdiff_t
,
4971 &_swigt__unsigned_int
,
4974 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
4975 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
4976 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
4977 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
4978 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
4979 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
4980 static swig_cast_info _swigc__p_wxAnimationBase
[] = { {&_swigt__p_wxAnimationBase
, 0, 0, 0}, {&_swigt__p_wxGIFAnimation
, _p_wxGIFAnimationTo_p_wxAnimationBase
, 0, 0},{0, 0, 0, 0}};
4981 static swig_cast_info _swigc__p_wxAnimationPlayer
[] = { {&_swigt__p_wxAnimationPlayer
, 0, 0, 0},{0, 0, 0, 0}};
4982 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
4983 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
4984 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
4985 static swig_cast_info _swigc__p_wxControl
[] = { {&_swigt__p_wxControl
, 0, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxControl
, 0, 0}, {&_swigt__p_wxGIFAnimationCtrl
, _p_wxGIFAnimationCtrlTo_p_wxControl
, 0, 0},{0, 0, 0, 0}};
4986 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxDC
, 0, 0, 0},{0, 0, 0, 0}};
4987 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
4988 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
4989 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
4990 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
4991 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
4992 static swig_cast_info _swigc__p_wxMenu
[] = {{&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
4993 static swig_cast_info _swigc__p_wxEvtHandler
[] = { {&_swigt__p_wxControl
, _p_wxControlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxWindow
, _p_wxWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxEvtHandler
, 0, 0, 0}, {&_swigt__p_wxGIFAnimationCtrl
, _p_wxGIFAnimationCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyApp
, _p_wxPyAppTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxValidator
, _p_wxValidatorTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyValidator
, _p_wxPyValidatorTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMenu
, _p_wxMenuTo_p_wxEvtHandler
, 0, 0},{0, 0, 0, 0}};
4994 static swig_cast_info _swigc__p_wxGIFAnimation
[] = { {&_swigt__p_wxGIFAnimation
, 0, 0, 0},{0, 0, 0, 0}};
4995 static swig_cast_info _swigc__p_wxGIFAnimationCtrl
[] = { {&_swigt__p_wxGIFAnimationCtrl
, 0, 0, 0},{0, 0, 0, 0}};
4996 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
4997 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
4998 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
4999 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
5000 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
5001 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
5002 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
5003 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
5004 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
5005 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
5006 static swig_cast_info _swigc__p_wxEvent
[] = {{&_swigt__p_wxEvent
, 0, 0, 0},{0, 0, 0, 0}};
5007 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
5008 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
5009 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
5010 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
5011 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
5012 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
5013 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
5014 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
5015 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
5016 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
5017 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
5018 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
5019 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
5020 static swig_cast_info _swigc__p_wxNotifyEvent
[] = {{&_swigt__p_wxNotifyEvent
, 0, 0, 0},{0, 0, 0, 0}};
5021 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
5022 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
5023 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
5024 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
5025 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
5026 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
5027 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
5028 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
5029 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
5030 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
5031 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
5032 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
5033 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
5034 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
5035 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
5036 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
5037 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
5038 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
5039 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
5040 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
5041 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
5042 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
5043 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
5044 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
5045 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
5046 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
5047 static swig_cast_info _swigc__p_wxImage
[] = {{&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
5048 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
5049 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
5050 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
5051 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
5052 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
5053 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
5054 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
5055 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
5056 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
5057 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
5058 static swig_cast_info _swigc__p_wxCommandEvent
[] = {{&_swigt__p_wxCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
5059 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
5060 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
5061 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
5062 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
5063 static swig_cast_info _swigc__p_wxObject
[] = { {&_swigt__p_wxLayoutConstraints
, _p_wxLayoutConstraintsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGBSizerItem
, _p_wxGBSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizerItem
, _p_wxSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint
, _p_wxIndividualLayoutConstraintTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticBoxSizer
, _p_wxStaticBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBoxSizer
, _p_wxBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizer
, _p_wxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridBagSizer
, _p_wxGridBagSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenu
, _p_wxMenuTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvent
, _p_wxEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridSizer
, _p_wxGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFlexGridSizer
, _p_wxFlexGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxInitDialogEvent
, _p_wxInitDialogEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxAnimationBase
, _p_wxAnimationBaseTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaintEvent
, _p_wxPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNcPaintEvent
, _p_wxNcPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaletteChangedEvent
, _p_wxPaletteChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDisplayChangedEvent
, _p_wxDisplayChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent
, _p_wxMouseCaptureChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSysColourChangedEvent
, _p_wxSysColourChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSetCursorEvent
, _p_wxSetCursorEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFSFile
, _p_wxFSFileTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPySizer
, _p_wxPySizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyEvent
, _p_wxPyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxShowEvent
, _p_wxShowEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxAnimationPlayer
, _p_wxAnimationPlayerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuItem
, _p_wxMenuItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIdleEvent
, _p_wxIdleEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent
, _p_wxQueryNewPaletteEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMaximizeEvent
, _p_wxMaximizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIconizeEvent
, _p_wxIconizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizeEvent
, _p_wxSizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMoveEvent
, _p_wxMoveEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxActivateEvent
, _p_wxActivateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNMHandler
, _p_wxPNMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxJPEGHandler
, _p_wxJPEGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPCXHandler
, _p_wxPCXHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGIFHandler
, _p_wxGIFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNGHandler
, _p_wxPNGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxANIHandler
, _p_wxANIHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCURHandler
, _p_wxCURHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxICOHandler
, _p_wxICOHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBMPHandler
, _p_wxBMPHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyImageHandler
, _p_wxPyImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImageHandler
, _p_wxImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxXPMHandler
, _p_wxXPMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTIFFHandler
, _p_wxTIFFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvtHandler
, _p_wxEvtHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer
, _p_wxStdDialogButtonSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxAcceleratorTable
, _p_wxAcceleratorTableTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImage
, _p_wxImageTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollWinEvent
, _p_wxScrollWinEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxObject
, 0, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNavigationKeyEvent
, _p_wxNavigationKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxKeyEvent
, _p_wxKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindow
, _p_wxWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFileSystem
, _p_wxFileSystemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGIFAnimation
, _p_wxGIFAnimationTo_p_wxObject
, 0, 0}, {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuEvent
, _p_wxMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyApp
, _p_wxPyAppTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEraseEvent
, _p_wxEraseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseEvent
, _p_wxMouseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCloseEvent
, _p_wxCloseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCommandEvent
, _p_wxCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDropFilesEvent
, _p_wxDropFilesEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFocusEvent
, _p_wxFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGIFAnimationCtrl
, _p_wxGIFAnimationCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyValidator
, _p_wxPyValidatorTo_p_wxObject
, 0, 0}, {&_swigt__p_wxValidator
, _p_wxValidatorTo_p_wxObject
, 0, 0},{0, 0, 0, 0}};
5064 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
5065 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
5066 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
5067 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
5068 static swig_cast_info _swigc__p_wxWindow
[] = { {&_swigt__p_wxControl
, _p_wxControlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxWindow
, 0, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxGIFAnimationCtrl
, _p_wxGIFAnimationCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxWindow
, 0, 0},{0, 0, 0, 0}};
5069 static swig_cast_info _swigc__ptrdiff_t
[] = { {&_swigt__ptrdiff_t
, 0, 0, 0},{0, 0, 0, 0}};
5070 static swig_cast_info _swigc__std__ptrdiff_t
[] = { {&_swigt__std__ptrdiff_t
, 0, 0, 0},{0, 0, 0, 0}};
5071 static swig_cast_info _swigc__unsigned_int
[] = { {&_swigt__unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
5073 static swig_cast_info
*swig_cast_initial
[] = {
5075 _swigc__p_form_ops_t
,
5077 _swigc__p_unsigned_char
,
5078 _swigc__p_unsigned_int
,
5079 _swigc__p_unsigned_long
,
5080 _swigc__p_wxANIHandler
,
5081 _swigc__p_wxAcceleratorTable
,
5082 _swigc__p_wxActivateEvent
,
5083 _swigc__p_wxAnimationBase
,
5084 _swigc__p_wxAnimationPlayer
,
5085 _swigc__p_wxBMPHandler
,
5087 _swigc__p_wxBoxSizer
,
5088 _swigc__p_wxCURHandler
,
5089 _swigc__p_wxChildFocusEvent
,
5090 _swigc__p_wxCloseEvent
,
5092 _swigc__p_wxCommandEvent
,
5093 _swigc__p_wxContextMenuEvent
,
5094 _swigc__p_wxControl
,
5095 _swigc__p_wxControlWithItems
,
5097 _swigc__p_wxDateEvent
,
5098 _swigc__p_wxDisplayChangedEvent
,
5099 _swigc__p_wxDropFilesEvent
,
5100 _swigc__p_wxDuplexMode
,
5101 _swigc__p_wxEraseEvent
,
5103 _swigc__p_wxEvtHandler
,
5105 _swigc__p_wxFileSystem
,
5106 _swigc__p_wxFlexGridSizer
,
5107 _swigc__p_wxFocusEvent
,
5108 _swigc__p_wxGBSizerItem
,
5109 _swigc__p_wxGIFAnimation
,
5110 _swigc__p_wxGIFAnimationCtrl
,
5111 _swigc__p_wxGIFHandler
,
5112 _swigc__p_wxGridBagSizer
,
5113 _swigc__p_wxGridSizer
,
5114 _swigc__p_wxICOHandler
,
5115 _swigc__p_wxIconizeEvent
,
5116 _swigc__p_wxIdleEvent
,
5118 _swigc__p_wxImageHandler
,
5119 _swigc__p_wxIndividualLayoutConstraint
,
5120 _swigc__p_wxInitDialogEvent
,
5121 _swigc__p_wxJPEGHandler
,
5122 _swigc__p_wxKeyEvent
,
5123 _swigc__p_wxLayoutConstraints
,
5124 _swigc__p_wxMaximizeEvent
,
5126 _swigc__p_wxMenuBar
,
5127 _swigc__p_wxMenuEvent
,
5128 _swigc__p_wxMenuItem
,
5129 _swigc__p_wxMouseCaptureChangedEvent
,
5130 _swigc__p_wxMouseEvent
,
5131 _swigc__p_wxMoveEvent
,
5132 _swigc__p_wxNavigationKeyEvent
,
5133 _swigc__p_wxNcPaintEvent
,
5134 _swigc__p_wxNotifyEvent
,
5136 _swigc__p_wxPCXHandler
,
5137 _swigc__p_wxPNGHandler
,
5138 _swigc__p_wxPNMHandler
,
5139 _swigc__p_wxPaintEvent
,
5140 _swigc__p_wxPaletteChangedEvent
,
5141 _swigc__p_wxPaperSize
,
5144 _swigc__p_wxPyCommandEvent
,
5145 _swigc__p_wxPyEvent
,
5146 _swigc__p_wxPyImageHandler
,
5147 _swigc__p_wxPySizer
,
5148 _swigc__p_wxPyValidator
,
5149 _swigc__p_wxQueryNewPaletteEvent
,
5151 _swigc__p_wxScrollEvent
,
5152 _swigc__p_wxScrollWinEvent
,
5153 _swigc__p_wxSetCursorEvent
,
5154 _swigc__p_wxShowEvent
,
5156 _swigc__p_wxSizeEvent
,
5158 _swigc__p_wxSizerItem
,
5159 _swigc__p_wxStaticBoxSizer
,
5160 _swigc__p_wxStdDialogButtonSizer
,
5161 _swigc__p_wxSysColourChangedEvent
,
5162 _swigc__p_wxTIFFHandler
,
5163 _swigc__p_wxUpdateUIEvent
,
5164 _swigc__p_wxValidator
,
5166 _swigc__p_wxWindowCreateEvent
,
5167 _swigc__p_wxWindowDestroyEvent
,
5168 _swigc__p_wxXPMHandler
,
5170 _swigc__std__ptrdiff_t
,
5171 _swigc__unsigned_int
,
5175 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
5177 static swig_const_info swig_const_table
[] = {
5178 {0, 0, 0, 0.0, 0, 0}};
5183 /*************************************************************************
5184 * Type initialization:
5185 * This problem is tough by the requirement that no dynamic
5186 * memory is used. Also, since swig_type_info structures store pointers to
5187 * swig_cast_info structures and swig_cast_info structures store pointers back
5188 * to swig_type_info structures, we need some lookup code at initialization.
5189 * The idea is that swig generates all the structures that are needed.
5190 * The runtime then collects these partially filled structures.
5191 * The SWIG_InitializeModule function takes these initial arrays out of
5192 * swig_module, and does all the lookup, filling in the swig_module.types
5193 * array with the correct data and linking the correct swig_cast_info
5194 * structures together.
5196 * The generated swig_type_info structures are assigned staticly to an initial
5197 * array. We just loop though that array, and handle each type individually.
5198 * First we lookup if this type has been already loaded, and if so, use the
5199 * loaded structure instead of the generated one. Then we have to fill in the
5200 * cast linked list. The cast data is initially stored in something like a
5201 * two-dimensional array. Each row corresponds to a type (there are the same
5202 * number of rows as there are in the swig_type_initial array). Each entry in
5203 * a column is one of the swig_cast_info structures for that type.
5204 * The cast_initial array is actually an array of arrays, because each row has
5205 * a variable number of columns. So to actually build the cast linked list,
5206 * we find the array of casts associated with the type, and loop through it
5207 * adding the casts to the list. The one last trick we need to do is making
5208 * sure the type pointer in the swig_cast_info struct is correct.
5210 * First off, we lookup the cast->type name to see if it is already loaded.
5211 * There are three cases to handle:
5212 * 1) If the cast->type has already been loaded AND the type we are adding
5213 * casting info to has not been loaded (it is in this module), THEN we
5214 * replace the cast->type pointer with the type pointer that has already
5216 * 2) If BOTH types (the one we are adding casting info to, and the
5217 * cast->type) are loaded, THEN the cast info has already been loaded by
5218 * the previous module so we just ignore it.
5219 * 3) Finally, if cast->type has not already been loaded, then we add that
5220 * swig_cast_info to the linked list (because the cast->type) pointer will
5232 #define SWIGRUNTIME_DEBUG
5236 SWIG_InitializeModule(void *clientdata
) {
5238 swig_module_info
*module_head
;
5239 static int init_run
= 0;
5241 clientdata
= clientdata
;
5243 if (init_run
) return;
5246 /* Initialize the swig_module */
5247 swig_module
.type_initial
= swig_type_initial
;
5248 swig_module
.cast_initial
= swig_cast_initial
;
5250 /* Try and load any already created modules */
5251 module_head
= SWIG_GetModule(clientdata
);
5253 swig_module
.next
= module_head
->next
;
5254 module_head
->next
= &swig_module
;
5256 /* This is the first module loaded */
5257 swig_module
.next
= &swig_module
;
5258 SWIG_SetModule(clientdata
, &swig_module
);
5261 /* Now work on filling in swig_module.types */
5262 #ifdef SWIGRUNTIME_DEBUG
5263 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
5265 for (i
= 0; i
< swig_module
.size
; ++i
) {
5266 swig_type_info
*type
= 0;
5267 swig_type_info
*ret
;
5268 swig_cast_info
*cast
;
5270 #ifdef SWIGRUNTIME_DEBUG
5271 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
5274 /* if there is another module already loaded */
5275 if (swig_module
.next
!= &swig_module
) {
5276 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
5279 /* Overwrite clientdata field */
5280 #ifdef SWIGRUNTIME_DEBUG
5281 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
5283 if (swig_module
.type_initial
[i
]->clientdata
) {
5284 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
5285 #ifdef SWIGRUNTIME_DEBUG
5286 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
5290 type
= swig_module
.type_initial
[i
];
5293 /* Insert casting types */
5294 cast
= swig_module
.cast_initial
[i
];
5295 while (cast
->type
) {
5296 /* Don't need to add information already in the list */
5298 #ifdef SWIGRUNTIME_DEBUG
5299 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
5301 if (swig_module
.next
!= &swig_module
) {
5302 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
5303 #ifdef SWIGRUNTIME_DEBUG
5304 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
5308 if (type
== swig_module
.type_initial
[i
]) {
5309 #ifdef SWIGRUNTIME_DEBUG
5310 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
5315 /* Check for casting already in the list */
5316 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
5317 #ifdef SWIGRUNTIME_DEBUG
5318 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
5320 if (!ocast
) ret
= 0;
5325 #ifdef SWIGRUNTIME_DEBUG
5326 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
5329 type
->cast
->prev
= cast
;
5330 cast
->next
= type
->cast
;
5336 /* Set entry in modules->types array equal to the type */
5337 swig_module
.types
[i
] = type
;
5339 swig_module
.types
[i
] = 0;
5341 #ifdef SWIGRUNTIME_DEBUG
5342 printf("**** SWIG_InitializeModule: Cast List ******\n");
5343 for (i
= 0; i
< swig_module
.size
; ++i
) {
5345 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
5346 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
5347 while (cast
->type
) {
5348 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
5352 printf("---- Total casts: %d\n",j
);
5354 printf("**** SWIG_InitializeModule: Cast List ******\n");
5358 /* This function will propagate the clientdata field of type to
5359 * any new swig_type_info structures that have been added into the list
5360 * of equivalent types. It is like calling
5361 * SWIG_TypeClientData(type, clientdata) a second time.
5364 SWIG_PropagateClientData(void) {
5366 swig_cast_info
*equiv
;
5367 static int init_run
= 0;
5369 if (init_run
) return;
5372 for (i
= 0; i
< swig_module
.size
; i
++) {
5373 if (swig_module
.types
[i
]->clientdata
) {
5374 equiv
= swig_module
.types
[i
]->cast
;
5376 if (!equiv
->converter
) {
5377 if (equiv
->type
&& !equiv
->type
->clientdata
)
5378 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
5380 equiv
= equiv
->next
;
5400 /* Python-specific SWIG API */
5401 #define SWIG_newvarlink() SWIG_Python_newvarlink()
5402 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
5403 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
5405 /* -----------------------------------------------------------------------------
5406 * global variable support code.
5407 * ----------------------------------------------------------------------------- */
5409 typedef struct swig_globalvar
{
5410 char *name
; /* Name of global variable */
5411 PyObject
*(*get_attr
)(void); /* Return the current value */
5412 int (*set_attr
)(PyObject
*); /* Set the value */
5413 struct swig_globalvar
*next
;
5416 typedef struct swig_varlinkobject
{
5418 swig_globalvar
*vars
;
5419 } swig_varlinkobject
;
5421 SWIGINTERN PyObject
*
5422 swig_varlink_repr(swig_varlinkobject
*v
) {
5424 return PyString_FromString("<Swig global variables>");
5428 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int flags
) {
5429 swig_globalvar
*var
;
5431 fprintf(fp
,"Swig global variables { ");
5432 for (var
= v
->vars
; var
; var
=var
->next
) {
5433 fprintf(fp
,"%s", var
->name
);
5434 if (var
->next
) fprintf(fp
,", ");
5440 SWIGINTERN PyObject
*
5441 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
5442 swig_globalvar
*var
= v
->vars
;
5444 if (strcmp(var
->name
,n
) == 0) {
5445 return (*var
->get_attr
)();
5449 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
5454 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
5455 swig_globalvar
*var
= v
->vars
;
5457 if (strcmp(var
->name
,n
) == 0) {
5458 return (*var
->set_attr
)(p
);
5462 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
5466 SWIGINTERN PyTypeObject
*
5467 swig_varlink_type(void) {
5468 static char varlink__doc__
[] = "Swig var link object";
5469 static PyTypeObject varlink_type
5470 #if !defined(__cplusplus)
5472 static int type_init
= 0;
5477 PyObject_HEAD_INIT(&PyType_Type
)
5478 0, /* Number of items in variable part (ob_size) */
5479 (char *)"swigvarlink", /* Type name (tp_name) */
5480 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
5481 0, /* Itemsize (tp_itemsize) */
5482 0, /* Deallocator (tp_dealloc) */
5483 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
5484 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
5485 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
5487 (reprfunc
) swig_varlink_repr
, /* tp_repr */
5488 0, /* tp_as_number */
5489 0, /* tp_as_sequence */
5490 0, /* tp_as_mapping */
5494 0, /* tp_getattro */
5495 0, /* tp_setattro */
5496 0, /* tp_as_buffer */
5498 varlink__doc__
, /* tp_doc */
5499 #if PY_VERSION_HEX >= 0x02000000
5500 0, /* tp_traverse */
5503 #if PY_VERSION_HEX >= 0x02010000
5504 0, /* tp_richcompare */
5505 0, /* tp_weaklistoffset */
5507 #if PY_VERSION_HEX >= 0x02020000
5508 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
5510 #if PY_VERSION_HEX >= 0x02030000
5514 0,0,0,0 /* tp_alloc -> tp_next */
5517 #if !defined(__cplusplus)
5522 return &varlink_type
;
5525 /* Create a variable linking object for use later */
5526 SWIGINTERN PyObject
*
5527 SWIG_Python_newvarlink(void) {
5528 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
5532 return ((PyObject
*) result
);
5536 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
5537 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
5538 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
5540 size_t size
= strlen(name
)+1;
5541 gv
->name
= (char *)malloc(size
);
5543 strncpy(gv
->name
,name
,size
);
5544 gv
->get_attr
= get_attr
;
5545 gv
->set_attr
= set_attr
;
5552 /* -----------------------------------------------------------------------------
5553 * constants/methods manipulation
5554 * ----------------------------------------------------------------------------- */
5556 /* Install Constants */
5558 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
5561 for (i
= 0; constants
[i
].type
; ++i
) {
5562 switch(constants
[i
].type
) {
5564 obj
= PyInt_FromLong(constants
[i
].lvalue
);
5567 obj
= PyFloat_FromDouble(constants
[i
].dvalue
);
5569 case SWIG_PY_STRING
:
5570 if (constants
[i
].pvalue
) {
5571 obj
= PyString_FromString((char *) constants
[i
].pvalue
);
5577 case SWIG_PY_POINTER
:
5578 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
5580 case SWIG_PY_BINARY
:
5581 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
5588 PyDict_SetItemString(d
,constants
[i
].name
,obj
);
5594 /* -----------------------------------------------------------------------------*/
5595 /* Fix SwigMethods to carry the callback ptrs when needed */
5596 /* -----------------------------------------------------------------------------*/
5599 SWIG_Python_FixMethods(PyMethodDef
*methods
,
5600 swig_const_info
*const_table
,
5601 swig_type_info
**types
,
5602 swig_type_info
**types_initial
) {
5604 for (i
= 0; methods
[i
].ml_name
; ++i
) {
5605 char *c
= methods
[i
].ml_doc
;
5606 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
5608 swig_const_info
*ci
= 0;
5609 char *name
= c
+ 10;
5610 for (j
= 0; const_table
[j
].type
; ++j
) {
5611 if (strncmp(const_table
[j
].name
, name
,
5612 strlen(const_table
[j
].name
)) == 0) {
5613 ci
= &(const_table
[j
]);
5618 size_t shift
= (ci
->ptype
) - types
;
5619 swig_type_info
*ty
= types_initial
[shift
];
5620 size_t ldoc
= (c
- methods
[i
].ml_doc
);
5621 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
5622 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
5625 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
5627 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
5629 strncpy(buff
, "swig_ptr: ", 10);
5631 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
5632 methods
[i
].ml_doc
= ndoc
;
5640 /* -----------------------------------------------------------------------------*
5641 * Initialize type list
5642 * -----------------------------------------------------------------------------*/
5648 /* -----------------------------------------------------------------------------*
5649 * Partial Init method
5650 * -----------------------------------------------------------------------------*/
5655 SWIGEXPORT
void SWIG_init(void) {
5656 static PyObject
*SWIG_globals
= 0;
5658 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
5660 /* Fix SwigMethods to carry the callback ptrs when needed */
5661 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
5663 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
5664 d
= PyModule_GetDict(m
);
5666 SWIG_InitializeModule(0);
5667 SWIG_InstallConstants(d
,swig_const_table
);
5669 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
5670 SWIG_addvarlink(SWIG_globals
,(char*)"AnimationControlNameStr",_wrap_AnimationControlNameStr_get
, _wrap_AnimationControlNameStr_set
);
5672 PyDict_SetItemString(d
,"ANIM_UNSPECIFIED", SWIG_From_int(static_cast<int >(wxANIM_UNSPECIFIED
)));
5675 PyDict_SetItemString(d
,"ANIM_DONOTREMOVE", SWIG_From_int(static_cast<int >(wxANIM_DONOTREMOVE
)));
5678 PyDict_SetItemString(d
,"ANIM_TOBACKGROUND", SWIG_From_int(static_cast<int >(wxANIM_TOBACKGROUND
)));
5681 PyDict_SetItemString(d
,"ANIM_TOPREVIOUS", SWIG_From_int(static_cast<int >(wxANIM_TOPREVIOUS
)));
5684 PyDict_SetItemString(d
,"AN_FIT_ANIMATION", SWIG_From_int(static_cast<int >(wxAN_FIT_ANIMATION
)));