1 /* ---------------------------------------------------------------------------- 
   2  * This file was automatically generated by SWIG (http://www.swig.org). 
   5  * This file is not intended to be easily readable and contains a number of  
   6  * coding conventions designed to improve portability and efficiency. Do not make 
   7  * changes to this file unless you know what you are doing--modify the SWIG  
   8  * interface file instead.  
   9  * ----------------------------------------------------------------------------- */ 
  14 template<class T
> class SwigValueWrapper 
{ 
  17     SwigValueWrapper() : tt(0) { } 
  18     SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { } 
  19     SwigValueWrapper(const T
& t
) : tt(new T(t
)) { } 
  20     ~SwigValueWrapper() { delete tt
; }  
  21     SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt 
= new T(t
); return *this; } 
  22     operator T
&() const { return *tt
; } 
  23     T 
*operator&() { return tt
; } 
  25     SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
); 
  29 /*********************************************************************** 
  31  *  This section contains generic SWIG labels for method/variable 
  32  *  declarations/attributes, and other compiler dependent labels. 
  34  ************************************************************************/ 
  36 /* template workaround for compilers that cannot correctly implement the C++ standard */ 
  37 #ifndef SWIGTEMPLATEDISAMBIGUATOR 
  38 #  if defined(__SUNPRO_CC) && (__SUNPRO_CC <= 0x560) 
  39 #    define SWIGTEMPLATEDISAMBIGUATOR template 
  41 #    define SWIGTEMPLATEDISAMBIGUATOR  
  45 /* inline attribute */ 
  47 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__)) 
  48 #   define SWIGINLINE inline 
  54 /* attribute recognised by some compilers to avoid 'unused' warnings */ 
  56 # if defined(__GNUC__) || defined(__ICC) 
  57 #   define SWIGUNUSED __attribute__ ((unused))  
  63 /* internal SWIG method */ 
  65 # define SWIGINTERN static SWIGUNUSED 
  68 /* internal inline SWIG method */ 
  69 #ifndef SWIGINTERNINLINE 
  70 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE 
  73 /* exporting methods for Windows DLLs */ 
  75 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__) 
  76 #   if defined(STATIC_LINKED) 
  79 #     define SWIGEXPORT __declspec(dllexport) 
  86 /* calling conventions for Windows */ 
  88 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__) 
  89 #   define SWIGSTDCALL __stdcall 
  99 /*********************************************************************** 
 102  *     This file contains generic CAPI SWIG runtime support for pointer 
 105  ************************************************************************/ 
 107 /* This should only be incremented when either the layout of swig_type_info changes, 
 108    or for whatever reason, the runtime changes incompatibly */ 
 109 #define SWIG_RUNTIME_VERSION "2" 
 111 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */ 
 112 #ifdef SWIG_TYPE_TABLE 
 113 # define SWIG_QUOTE_STRING(x) #x 
 114 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x) 
 115 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE) 
 117 # define SWIG_TYPE_TABLE_NAME 
 121   You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for 
 122   creating a static or dynamic library from the swig runtime code. 
 123   In 99.9% of the cases, swig just needs to declare them as 'static'. 
 125   But only do this if is strictly necessary, ie, if you have problems 
 126   with your compiler or so. 
 130 # define SWIGRUNTIME SWIGINTERN 
 133 #ifndef SWIGRUNTIMEINLINE 
 134 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE 
 143 typedef void *(*swig_converter_func
)(void *); 
 144 typedef struct swig_type_info 
*(*swig_dycast_func
)(void **); 
 146 /* Structure to store inforomation on one type */ 
 147 typedef struct swig_type_info 
{ 
 148   const char             *name
;                 /* mangled name of this type */ 
 149   const char             *str
;                  /* human readable name of this type */ 
 150   swig_dycast_func        dcast
;                /* dynamic cast function down a hierarchy */ 
 151   struct swig_cast_info  
*cast
;                 /* linked list of types that can cast into this type */ 
 152   void                   *clientdata
;           /* language specific type data */ 
 155 /* Structure to store a type and conversion function used for casting */ 
 156 typedef struct swig_cast_info 
{ 
 157   swig_type_info         
*type
;                 /* pointer to type that is equivalent to this type */ 
 158   swig_converter_func     converter
;            /* function to cast the void pointers */ 
 159   struct swig_cast_info  
*next
;                 /* pointer to next cast in linked list */ 
 160   struct swig_cast_info  
*prev
;                 /* pointer to the previous cast */ 
 163 /* Structure used to store module information 
 164  * Each module generates one structure like this, and the runtime collects 
 165  * all of these structures and stores them in a circularly linked list.*/ 
 166 typedef struct swig_module_info 
{ 
 167   swig_type_info         
**types
;               /* Array of pointers to swig_type_info structures that are in this module */ 
 168   size_t                 size
;                  /* Number of types in this module */ 
 169   struct swig_module_info 
*next
;                /* Pointer to next element in circularly linked list */ 
 170   swig_type_info         
**type_initial
;        /* Array of initially generated type structures */ 
 171   swig_cast_info         
**cast_initial
;        /* Array of initially generated casting structures */ 
 172   void                    *clientdata
;          /* Language specific module data */ 
 177   Compare two type names skipping the space characters, therefore 
 178   "char*" == "char *" and "Class<int>" == "Class<int >", etc. 
 180   Return 0 when the two name types are equivalent, as in 
 181   strncmp, but skipping ' '. 
 184 SWIG_TypeNameComp(const char *f1
, const char *l1
, 
 185                   const char *f2
, const char *l2
) { 
 186   for (;(f1 
!= l1
) && (f2 
!= l2
); ++f1
, ++f2
) { 
 187     while ((*f1 
== ' ') && (f1 
!= l1
)) ++f1
; 
 188     while ((*f2 
== ' ') && (f2 
!= l2
)) ++f2
; 
 189     if (*f1 
!= *f2
) return (int)(*f1 
- *f2
); 
 191   return (l1 
- f1
) - (l2 
- f2
); 
 195   Check type equivalence in a name list like <name1>|<name2>|... 
 196   Return 0 if not equal, 1 if equal 
 199 SWIG_TypeEquiv(const char *nb
, const char *tb
) { 
 201   const char* te 
= tb 
+ strlen(tb
); 
 203   while (!equiv 
&& *ne
) { 
 204     for (nb 
= ne
; *ne
; ++ne
) { 
 205       if (*ne 
== '|') break; 
 207     equiv 
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0; 
 214   Check type equivalence in a name list like <name1>|<name2>|... 
 215   Return 0 if equal, -1 if nb < tb, 1 if nb > tb 
 218 SWIG_TypeCompare(const char *nb
, const char *tb
) { 
 220   const char* te 
= tb 
+ strlen(tb
); 
 222   while (!equiv 
&& *ne
) { 
 223     for (nb 
= ne
; *ne
; ++ne
) { 
 224       if (*ne 
== '|') break; 
 226     equiv 
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0; 
 233 /* think of this as a c++ template<> or a scheme macro */ 
 234 #define SWIG_TypeCheck_Template(comparison, ty)         \ 
 236     swig_cast_info *iter = ty->cast;                    \ 
 239         if (iter == ty->cast) return iter;              \ 
 240         /* Move iter to the top of the linked list */   \ 
 241         iter->prev->next = iter->next;                  \ 
 243           iter->next->prev = iter->prev;                \ 
 244         iter->next = ty->cast;                          \ 
 246         if (ty->cast) ty->cast->prev = iter;            \ 
 258 SWIGRUNTIME swig_cast_info 
* 
 259 SWIG_TypeCheck(const char *c
, swig_type_info 
*ty
) { 
 260   SWIG_TypeCheck_Template(strcmp(iter
->type
->name
, c
) == 0, ty
); 
 263 /* Same as previous function, except strcmp is replaced with a pointer comparison */ 
 264 SWIGRUNTIME swig_cast_info 
* 
 265 SWIG_TypeCheckStruct(swig_type_info 
*from
, swig_type_info 
*into
) { 
 266   SWIG_TypeCheck_Template(iter
->type 
== from
, into
); 
 270   Cast a pointer up an inheritance hierarchy 
 272 SWIGRUNTIMEINLINE 
void * 
 273 SWIG_TypeCast(swig_cast_info 
*ty
, void *ptr
) { 
 274   return ((!ty
) || (!ty
->converter
)) ? ptr 
: (*ty
->converter
)(ptr
); 
 278    Dynamic pointer casting. Down an inheritance hierarchy 
 280 SWIGRUNTIME swig_type_info 
* 
 281 SWIG_TypeDynamicCast(swig_type_info 
*ty
, void **ptr
) { 
 282   swig_type_info 
*lastty 
= ty
; 
 283   if (!ty 
|| !ty
->dcast
) return ty
; 
 284   while (ty 
&& (ty
->dcast
)) { 
 285     ty 
= (*ty
->dcast
)(ptr
); 
 292   Return the name associated with this type 
 294 SWIGRUNTIMEINLINE 
const char * 
 295 SWIG_TypeName(const swig_type_info 
*ty
) { 
 300   Return the pretty name associated with this type, 
 301   that is an unmangled type name in a form presentable to the user. 
 303 SWIGRUNTIME 
const char * 
 304 SWIG_TypePrettyName(const swig_type_info 
*type
) { 
 305   /* The "str" field contains the equivalent pretty names of the 
 306      type, separated by vertical-bar characters.  We choose 
 307      to print the last name, as it is often (?) the most 
 309   if (type
->str 
!= NULL
) { 
 310     const char *last_name 
= type
->str
; 
 312     for (s 
= type
->str
; *s
; s
++) 
 313       if (*s 
== '|') last_name 
= s
+1; 
 321    Set the clientdata field for a type 
 324 SWIG_TypeClientData(swig_type_info 
*ti
, void *clientdata
) { 
 325   swig_cast_info 
*cast 
= ti
->cast
; 
 326   /* if (ti->clientdata == clientdata) return; */ 
 327   ti
->clientdata 
= clientdata
; 
 330     if (!cast
->converter
) { 
 331       swig_type_info 
*tc 
= cast
->type
; 
 332       if (!tc
->clientdata
) { 
 333         SWIG_TypeClientData(tc
, clientdata
); 
 341   Search for a swig_type_info structure only by mangled name 
 342   Search is a O(log #types) 
 344   We start searching at module start, and finish searching when start == end.   
 345   Note: if start == end at the beginning of the function, we go all the way around 
 348 SWIGRUNTIME swig_type_info 
* 
 349 SWIG_MangledTypeQueryModule(swig_module_info 
*start
,  
 350                             swig_module_info 
*end
,  
 352   swig_module_info 
*iter 
= start
; 
 355       register size_t l 
= 0; 
 356       register size_t r 
= iter
->size 
- 1; 
 358         /* since l+r >= 0, we can (>> 1) instead (/ 2) */ 
 359         register size_t i 
= (l 
+ r
) >> 1;  
 360         const char *iname 
= iter
->types
[i
]->name
; 
 362           register int compare 
= strcmp(name
, iname
); 
 364             return iter
->types
[i
]; 
 365           } else if (compare 
< 0) { 
 371           } else if (compare 
> 0) { 
 375           break; /* should never happen */ 
 380   } while (iter 
!= end
); 
 385   Search for a swig_type_info structure for either a mangled name or a human readable name. 
 386   It first searches the mangled names of the types, which is a O(log #types) 
 387   If a type is not found it then searches the human readable names, which is O(#types). 
 389   We start searching at module start, and finish searching when start == end.   
 390   Note: if start == end at the beginning of the function, we go all the way around 
 393 SWIGRUNTIME swig_type_info 
* 
 394 SWIG_TypeQueryModule(swig_module_info 
*start
,  
 395                      swig_module_info 
*end
,  
 397   /* STEP 1: Search the name field using binary search */ 
 398   swig_type_info 
*ret 
= SWIG_MangledTypeQueryModule(start
, end
, name
); 
 402     /* STEP 2: If the type hasn't been found, do a complete search 
 403        of the str field (the human readable name) */ 
 404     swig_module_info 
*iter 
= start
; 
 406       register size_t i 
= 0; 
 407       for (; i 
< iter
->size
; ++i
) { 
 408         if (iter
->types
[i
]->str 
&& (SWIG_TypeEquiv(iter
->types
[i
]->str
, name
))) 
 409           return iter
->types
[i
]; 
 412     } while (iter 
!= end
); 
 415   /* neither found a match */ 
 421    Pack binary data into a string 
 424 SWIG_PackData(char *c
, void *ptr
, size_t sz
) { 
 425   static const char hex
[17] = "0123456789abcdef"; 
 426   register const unsigned char *u 
= (unsigned char *) ptr
; 
 427   register const unsigned char *eu 
=  u 
+ sz
; 
 428   for (; u 
!= eu
; ++u
) { 
 429     register unsigned char uu 
= *u
; 
 430     *(c
++) = hex
[(uu 
& 0xf0) >> 4]; 
 431     *(c
++) = hex
[uu 
& 0xf]; 
 437    Unpack binary data from a string 
 439 SWIGRUNTIME 
const char * 
 440 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) { 
 441   register unsigned char *u 
= (unsigned char *) ptr
; 
 442   register const unsigned char *eu 
= u 
+ sz
; 
 443   for (; u 
!= eu
; ++u
) { 
 444     register char d 
= *(c
++); 
 445     register unsigned char uu 
= 0; 
 446     if ((d 
>= '0') && (d 
<= '9')) 
 447       uu 
= ((d 
- '0') << 4); 
 448     else if ((d 
>= 'a') && (d 
<= 'f')) 
 449       uu 
= ((d 
- ('a'-10)) << 4); 
 453     if ((d 
>= '0') && (d 
<= '9')) 
 455     else if ((d 
>= 'a') && (d 
<= 'f')) 
 456       uu 
|= (d 
- ('a'-10)); 
 465    Pack 'void *' into a string buffer. 
 468 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) { 
 470   if ((2*sizeof(void *) + 2) > bsz
) return 0; 
 472   r 
= SWIG_PackData(r
,&ptr
,sizeof(void *)); 
 473   if (strlen(name
) + 1 > (bsz 
- (r 
- buff
))) return 0; 
 478 SWIGRUNTIME 
const char * 
 479 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) { 
 481     if (strcmp(c
,"NULL") == 0) { 
 488   return SWIG_UnpackData(++c
,ptr
,sizeof(void *)); 
 492 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) { 
 494   size_t lname 
= (name 
? strlen(name
) : 0); 
 495   if ((2*sz 
+ 2 + lname
) > bsz
) return 0; 
 497   r 
= SWIG_PackData(r
,ptr
,sz
); 
 499     strncpy(r
,name
,lname
+1); 
 506 SWIGRUNTIME 
const char * 
 507 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) { 
 509     if (strcmp(c
,"NULL") == 0) { 
 516   return SWIG_UnpackData(++c
,ptr
,sz
); 
 523 /* ----------------------------------------------------------------------------- 
 524  * SWIG API. Portion that goes into the runtime 
 525  * ----------------------------------------------------------------------------- */ 
 531 /* ----------------------------------------------------------------------------- 
 532  * for internal method declarations 
 533  * ----------------------------------------------------------------------------- */ 
 536 #  define SWIGINTERN static SWIGUNUSED 
 539 #ifndef SWIGINTERNINLINE 
 540 #  define SWIGINTERNINLINE SWIGINTERN SWIGINLINE 
 544   Exception handling in wrappers 
 546 #define SWIG_fail                goto fail 
 547 #define SWIG_arg_fail(arg)       SWIG_Python_ArgFail(arg) 
 548 #define SWIG_append_errmsg(msg)   SWIG_Python_AddErrMesg(msg,0) 
 549 #define SWIG_preppend_errmsg(msg) SWIG_Python_AddErrMesg(msg,1) 
 550 #define SWIG_type_error(type,obj) SWIG_Python_TypeError(type,obj) 
 551 #define SWIG_null_ref(type)       SWIG_Python_NullRef(type) 
 556 #define SWIG_contract_assert(expr, msg) \ 
 557  if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else 
 559 /* ----------------------------------------------------------------------------- 
 560  * Constant declarations 
 561  * ----------------------------------------------------------------------------- */ 
 564 #define SWIG_PY_INT     1 
 565 #define SWIG_PY_FLOAT   2 
 566 #define SWIG_PY_STRING  3 
 567 #define SWIG_PY_POINTER 4 
 568 #define SWIG_PY_BINARY  5 
 570 /* Constant information structure */ 
 571 typedef struct swig_const_info 
{ 
 577     swig_type_info 
**ptype
; 
 581 /* ----------------------------------------------------------------------------- 
 582  * Alloc. memory flags 
 583  * ----------------------------------------------------------------------------- */ 
 584 #define SWIG_OLDOBJ  1 
 585 #define SWIG_NEWOBJ  SWIG_OLDOBJ + 1 
 586 #define SWIG_PYSTR   SWIG_NEWOBJ + 1 
 593 /*********************************************************************** 
 596  *     This file contains the runtime support for Python modules 
 597  *     and includes code for managing global variables and pointer 
 600  * Author : David Beazley (beazley@cs.uchicago.edu) 
 601  ************************************************************************/ 
 603 /* Common SWIG API */ 
 604 #define SWIG_ConvertPtr(obj, pp, type, flags)    SWIG_Python_ConvertPtr(obj, pp, type, flags) 
 605 #define SWIG_NewPointerObj(p, type, flags)       SWIG_Python_NewPointerObj(p, type, flags) 
 606 #define SWIG_MustGetPtr(p, type, argnum, flags)  SWIG_Python_MustGetPtr(p, type, argnum, flags) 
 609 /* Python-specific SWIG API */ 
 610 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags)   SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags) 
 611 #define SWIG_NewPackedObj(ptr, sz, type)              SWIG_Python_NewPackedObj(ptr, sz, type) 
 614 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule() 
 615 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer) 
 617 /* ----------------------------------------------------------------------------- 
 618  * Pointer declarations 
 619  * ----------------------------------------------------------------------------- */ 
 621   Use SWIG_NO_COBJECT_TYPES to force the use of strings to represent 
 622   C/C++ pointers in the python side. Very useful for debugging, but 
 625 #if !defined(SWIG_NO_COBJECT_TYPES) && !defined(SWIG_COBJECT_TYPES) 
 626 #  define SWIG_COBJECT_TYPES 
 629 /* Flags for pointer conversion */ 
 630 #define SWIG_POINTER_EXCEPTION     0x1 
 631 #define SWIG_POINTER_DISOWN        0x2 
 634 /* Add PyOS_snprintf for old Pythons */ 
 635 #if PY_VERSION_HEX < 0x02020000 
 636 #define PyOS_snprintf snprintf 
 643 /* ----------------------------------------------------------------------------- 
 644  * Create a new pointer string  
 645  * ----------------------------------------------------------------------------- */ 
 646 #ifndef SWIG_BUFFER_SIZE 
 647 #define SWIG_BUFFER_SIZE 1024 
 650 /* A crude PyString_FromFormat implementation for old Pythons */ 
 651 #if PY_VERSION_HEX < 0x02020000 
 653 PyString_FromFormat(const char *fmt
, ...) { 
 655   char buf
[SWIG_BUFFER_SIZE 
* 2]; 
 658   res 
= vsnprintf(buf
, sizeof(buf
), fmt
, ap
); 
 660   return (res 
< 0 || res 
>= sizeof(buf
)) ? 0 : PyString_FromString(buf
); 
 664 #if PY_VERSION_HEX < 0x01060000 
 665 #define PyObject_Del(op) PyMem_DEL((op)) 
 668 #if defined(SWIG_COBJECT_TYPES) 
 669 #if !defined(SWIG_COBJECT_PYTHON) 
 670 /* ----------------------------------------------------------------------------- 
 671  * Implements a simple Swig Object type, and use it instead of PyCObject 
 672  * ----------------------------------------------------------------------------- */ 
 680 /* Declarations for objects of type PySwigObject */ 
 683 PySwigObject_print(PySwigObject 
*v
, FILE *fp
, int flags
) 
 685   char result
[SWIG_BUFFER_SIZE
]; 
 687   if (SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
))) { 
 688     fputs("<Swig Object at ", fp
); fputs(result
, fp
); fputs(">", fp
); 
 695 SWIGRUNTIME PyObject 
* 
 696 PySwigObject_repr(PySwigObject 
*v
) 
 698   char result
[SWIG_BUFFER_SIZE
]; 
 699   return SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
)) ? 
 700     PyString_FromFormat("<Swig Object at %s>", result
) : 0; 
 703 SWIGRUNTIME PyObject 
* 
 704 PySwigObject_str(PySwigObject 
*v
) 
 706   char result
[SWIG_BUFFER_SIZE
]; 
 707   return SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
)) ? 
 708     PyString_FromString(result
) : 0; 
 711 SWIGRUNTIME PyObject 
* 
 712 PySwigObject_long(PySwigObject 
*v
) 
 714   return PyLong_FromVoidPtr(v
->ptr
); 
 717 SWIGRUNTIME PyObject 
* 
 718 PySwigObject_format(const char* fmt
, PySwigObject 
*v
) 
 720   PyObject 
*res 
= NULL
; 
 721   PyObject 
*args 
= PyTuple_New(1); 
 722   if (args 
&& (PyTuple_SetItem(args
, 0, PySwigObject_long(v
)) == 0)) { 
 723     PyObject 
*ofmt 
= PyString_FromString(fmt
); 
 725       res 
= PyString_Format(ofmt
,args
); 
 733 SWIGRUNTIME PyObject 
* 
 734 PySwigObject_oct(PySwigObject 
*v
) 
 736   return PySwigObject_format("%o",v
); 
 739 SWIGRUNTIME PyObject 
* 
 740 PySwigObject_hex(PySwigObject 
*v
) 
 742   return PySwigObject_format("%x",v
); 
 746 PySwigObject_compare(PySwigObject 
*v
, PySwigObject 
*w
) 
 748   int c 
= strcmp(v
->desc
, w
->desc
); 
 750     return (c 
> 0) ? 1 : -1; 
 754     return (i 
< j
) ? -1 : ((i 
> j
) ? 1 : 0); 
 759 PySwigObject_dealloc(PySwigObject 
*self
) 
 764 SWIGRUNTIME PyTypeObject
* 
 765 PySwigObject_type(void) { 
 766   static char pyswigobject_type__doc__
[] =  
 767     "Swig object carries a C/C++ instance pointer"; 
 769   static PyNumberMethods PySwigObject_as_number 
= { 
 770     (binaryfunc
)0, /*nb_add*/ 
 771     (binaryfunc
)0, /*nb_subtract*/ 
 772     (binaryfunc
)0, /*nb_multiply*/ 
 773     (binaryfunc
)0, /*nb_divide*/ 
 774     (binaryfunc
)0, /*nb_remainder*/ 
 775     (binaryfunc
)0, /*nb_divmod*/ 
 776     (ternaryfunc
)0,/*nb_power*/ 
 777     (unaryfunc
)0,  /*nb_negative*/ 
 778     (unaryfunc
)0,  /*nb_positive*/ 
 779     (unaryfunc
)0,  /*nb_absolute*/ 
 780     (inquiry
)0,    /*nb_nonzero*/ 
 787     (coercion
)0,   /*nb_coerce*/ 
 788     (unaryfunc
)PySwigObject_long
, /*nb_int*/ 
 789     (unaryfunc
)PySwigObject_long
, /*nb_long*/ 
 790     (unaryfunc
)0,                 /*nb_float*/ 
 791     (unaryfunc
)PySwigObject_oct
,  /*nb_oct*/ 
 792     (unaryfunc
)PySwigObject_hex
,  /*nb_hex*/ 
 793 #if PY_VERSION_HEX >= 0x02020000 
 794     0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */  
 795 #elif PY_VERSION_HEX >= 0x02000000 
 796     0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */ 
 800   static PyTypeObject pyswigobject_type
 
 801 #if !defined(__cplusplus) 
 803   static int type_init 
= 0; 
 808     PyObject_HEAD_INIT(&PyType_Type
) 
 810     (char *)"PySwigObject",             /*tp_name*/ 
 811     sizeof(PySwigObject
),               /*tp_basicsize*/ 
 814     (destructor
)PySwigObject_dealloc
,   /*tp_dealloc*/ 
 815     (printfunc
)PySwigObject_print
,      /*tp_print*/ 
 816     (getattrfunc
)0,                     /*tp_getattr*/ 
 817     (setattrfunc
)0,                     /*tp_setattr*/ 
 818     (cmpfunc
)PySwigObject_compare
,      /*tp_compare*/ 
 819     (reprfunc
)PySwigObject_repr
,        /*tp_repr*/ 
 820     &PySwigObject_as_number
,            /*tp_as_number*/ 
 821     0,                                  /*tp_as_sequence*/ 
 823     (hashfunc
)0,                        /*tp_hash*/ 
 824     (ternaryfunc
)0,                     /*tp_call*/ 
 825     (reprfunc
)PySwigObject_str
,         /*tp_str*/ 
 826     /* Space for future expansion */ 
 828     pyswigobject_type__doc__
,           /* Documentation string */ 
 829 #if PY_VERSION_HEX >= 0x02000000 
 833 #if PY_VERSION_HEX >= 0x02010000 
 834     0,                                  /* tp_richcompare */ 
 835     0,                                  /* tp_weaklistoffset */ 
 837 #if PY_VERSION_HEX >= 0x02020000 
 838     0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */ 
 840 #if PY_VERSION_HEX >= 0x02030000 
 844     0,0,0,0                             /* tp_alloc -> tp_next */ 
 847 #if !defined(__cplusplus) 
 848     pyswigobject_type 
= tmp
; 
 852   return &pyswigobject_type
; 
 855 SWIGRUNTIME PyObject 
* 
 856 PySwigObject_FromVoidPtrAndDesc(void *ptr
, const char *desc
) 
 858   PySwigObject 
*self 
= PyObject_NEW(PySwigObject
, PySwigObject_type()); 
 863   return (PyObject 
*)self
; 
 866 SWIGRUNTIMEINLINE 
void * 
 867 PySwigObject_AsVoidPtr(PyObject 
*self
) 
 869   return ((PySwigObject 
*)self
)->ptr
; 
 872 SWIGRUNTIMEINLINE 
const char * 
 873 PySwigObject_GetDesc(PyObject 
*self
) 
 875   return ((PySwigObject 
*)self
)->desc
; 
 878 SWIGRUNTIMEINLINE 
int 
 879 PySwigObject_Check(PyObject 
*op
) { 
 880   return ((op
)->ob_type 
== PySwigObject_type())  
 881     || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0); 
 884 /* ----------------------------------------------------------------------------- 
 885  * Implements a simple Swig Packed type, and use it instead of string 
 886  * ----------------------------------------------------------------------------- */ 
 896 PySwigPacked_print(PySwigPacked 
*v
, FILE *fp
, int flags
) 
 898   char result
[SWIG_BUFFER_SIZE
]; 
 900   fputs("<Swig Packed ", fp
);  
 901   if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) { 
 910 SWIGRUNTIME PyObject 
* 
 911 PySwigPacked_repr(PySwigPacked 
*v
) 
 913   char result
[SWIG_BUFFER_SIZE
]; 
 914   if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) { 
 915     return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->desc
); 
 917     return PyString_FromFormat("<Swig Packed %s>", v
->desc
); 
 921 SWIGRUNTIME PyObject 
* 
 922 PySwigPacked_str(PySwigPacked 
*v
) 
 924   char result
[SWIG_BUFFER_SIZE
]; 
 925   if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){ 
 926     return PyString_FromFormat("%s%s", result
, v
->desc
); 
 928     return PyString_FromString(v
->desc
); 
 933 PySwigPacked_compare(PySwigPacked 
*v
, PySwigPacked 
*w
) 
 935   int c 
= strcmp(v
->desc
, w
->desc
); 
 937     return (c 
> 0) ? 1 : -1; 
 941     int s 
= (i 
< j
) ? -1 : ((i 
> j
) ? 1 : 0); 
 942     return s 
? s 
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
); 
 947 PySwigPacked_dealloc(PySwigPacked 
*self
) 
 953 SWIGRUNTIME PyTypeObject
* 
 954 PySwigPacked_type(void) { 
 955   static char pyswigpacked_type__doc__
[] =  
 956     "Swig object carries a C/C++ instance pointer"; 
 957   static PyTypeObject pyswigpacked_type
 
 958 #if !defined(__cplusplus) 
 960   static int type_init 
= 0;   
 965     PyObject_HEAD_INIT(&PyType_Type
) 
 967     (char *)"PySwigPacked",             /*tp_name*/ 
 968     sizeof(PySwigPacked
),               /*tp_basicsize*/ 
 971     (destructor
)PySwigPacked_dealloc
,   /*tp_dealloc*/ 
 972     (printfunc
)PySwigPacked_print
,      /*tp_print*/ 
 973     (getattrfunc
)0,                     /*tp_getattr*/ 
 974     (setattrfunc
)0,                     /*tp_setattr*/ 
 975     (cmpfunc
)PySwigPacked_compare
,      /*tp_compare*/ 
 976     (reprfunc
)PySwigPacked_repr
,        /*tp_repr*/ 
 978     0,                                  /*tp_as_sequence*/ 
 980     (hashfunc
)0,                        /*tp_hash*/ 
 981     (ternaryfunc
)0,                     /*tp_call*/ 
 982     (reprfunc
)PySwigPacked_str
,         /*tp_str*/ 
 983     /* Space for future expansion */ 
 985     pyswigpacked_type__doc__
,           /* Documentation string */ 
 986 #if PY_VERSION_HEX >= 0x02000000 
 990 #if PY_VERSION_HEX >= 0x02010000 
 991     0,                                  /* tp_richcompare */ 
 992     0,                                  /* tp_weaklistoffset */ 
 994 #if PY_VERSION_HEX >= 0x02020000          
 995     0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */ 
 997 #if PY_VERSION_HEX >= 0x02030000 
1001     0,0,0,0                             /* tp_alloc -> tp_next */ 
1004 #if !defined(__cplusplus) 
1005     pyswigpacked_type 
= tmp
; 
1009   return &pyswigpacked_type
; 
1012 SWIGRUNTIME PyObject 
* 
1013 PySwigPacked_FromDataAndDesc(void *ptr
, size_t size
, const char *desc
) 
1015   PySwigPacked 
*self 
= PyObject_NEW(PySwigPacked
, PySwigPacked_type()); 
1019     void *pack 
= malloc(size
); 
1021       memcpy(pack
, ptr
, size
); 
1025       return (PyObject 
*) self
; 
1031 SWIGRUNTIMEINLINE 
const char * 
1032 PySwigPacked_UnpackData(PyObject 
*obj
, void *ptr
, size_t size
) 
1034   PySwigPacked 
*self 
= (PySwigPacked 
*)obj
; 
1035   if (self
->size 
!= size
) return 0; 
1036   memcpy(ptr
, self
->pack
, size
); 
1040 SWIGRUNTIMEINLINE 
const char * 
1041 PySwigPacked_GetDesc(PyObject 
*self
) 
1043   return ((PySwigPacked 
*)self
)->desc
; 
1046 SWIGRUNTIMEINLINE 
int 
1047 PySwigPacked_Check(PyObject 
*op
) { 
1048   return ((op
)->ob_type 
== PySwigPacked_type())  
1049     || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0); 
1053 /* ----------------------------------------------------------------------------- 
1054  * Use the old Python PyCObject instead of PySwigObject 
1055  * ----------------------------------------------------------------------------- */ 
1057 #define PySwigObject_GetDesc(obj)                  PyCObject_GetDesc(obj) 
1058 #define PySwigObject_Check(obj)            PyCObject_Check(obj) 
1059 #define PySwigObject_AsVoidPtr(obj)        PyCObject_AsVoidPtr(obj) 
1060 #define PySwigObject_FromVoidPtrAndDesc(p, d)  PyCObject_FromVoidPtrAndDesc(p, d, NULL) 
1066 /* ----------------------------------------------------------------------------- 
1067  * errors manipulation 
1068  * ----------------------------------------------------------------------------- */ 
1071 SWIG_Python_TypeError(const char *type
, PyObject 
*obj
) 
1074 #if defined(SWIG_COBJECT_TYPES) 
1075     if (obj 
&& PySwigObject_Check(obj
)) { 
1076       const char *otype 
= (const char *) PySwigObject_GetDesc(obj
); 
1078         PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received", 
1085       const char *otype 
= (obj 
? obj
->ob_type
->tp_name 
: 0);  
1087         PyObject 
*str 
= PyObject_Str(obj
); 
1088         const char *cstr 
= str 
? PyString_AsString(str
) : 0; 
1090           PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received", 
1093           PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received", 
1100     PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
); 
1102     PyErr_Format(PyExc_TypeError
, "unexpected type is received"); 
1106 SWIGRUNTIMEINLINE 
void 
1107 SWIG_Python_NullRef(const char *type
) 
1110     PyErr_Format(PyExc_TypeError
, "null reference of type '%s' was received",type
); 
1112     PyErr_Format(PyExc_TypeError
, "null reference was received"); 
1117 SWIG_Python_AddErrMesg(const char* mesg
, int infront
) 
1119   if (PyErr_Occurred()) { 
1121     PyObject 
*value 
= 0; 
1122     PyObject 
*traceback 
= 0; 
1123     PyErr_Fetch(&type
, &value
, &traceback
); 
1125       PyObject 
*old_str 
= PyObject_Str(value
); 
1129         PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
)); 
1131         PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
); 
1142 SWIG_Python_ArgFail(int argnum
) 
1144   if (PyErr_Occurred()) { 
1145     /* add information about failing argument */ 
1147     PyOS_snprintf(mesg
, sizeof(mesg
), "argument number %d:", argnum
); 
1148     return SWIG_Python_AddErrMesg(mesg
, 1); 
1155 /* ----------------------------------------------------------------------------- 
1156  * pointers/data manipulation 
1157  * ----------------------------------------------------------------------------- */ 
1159 /* Convert a pointer value */ 
1161 SWIG_Python_ConvertPtr(PyObject 
*obj
, void **ptr
, swig_type_info 
*ty
, int flags
) { 
1164   static PyObject 
*SWIG_this 
= 0; 
1166   PyObject  
*pyobj 
= 0; 
1170   if (obj 
== Py_None
) { 
1175 #ifdef SWIG_COBJECT_TYPES 
1176   if (!(PySwigObject_Check(obj
))) { 
1178       SWIG_this 
= PyString_FromString("this"); 
1180     obj 
= PyObject_GetAttr(obj
,SWIG_this
); 
1182     if (!obj
) goto type_error
; 
1183     if (!PySwigObject_Check(obj
)) { 
1188   vptr 
= PySwigObject_AsVoidPtr(obj
); 
1189   c 
= (const char *) PySwigObject_GetDesc(obj
); 
1190   if (newref
) { Py_DECREF(obj
); } 
1193   if (!(PyString_Check(obj
))) { 
1195       SWIG_this 
= PyString_FromString("this"); 
1197     obj 
= PyObject_GetAttr(obj
,SWIG_this
); 
1199     if (!obj
) goto type_error
; 
1200     if (!PyString_Check(obj
)) { 
1205   c 
= PyString_AsString(obj
); 
1206   /* Pointer values must start with leading underscore */ 
1207   c 
= SWIG_UnpackVoidPtr(c
, &vptr
, ty
->name
); 
1208   if (newref
) { Py_DECREF(obj
); } 
1209   if (!c
) goto type_error
; 
1214     tc 
= SWIG_TypeCheck(c
,ty
); 
1215     if (!tc
) goto type_error
; 
1216     *ptr 
= SWIG_TypeCast(tc
,vptr
); 
1220   if ((pyobj
) && (flags 
& SWIG_POINTER_DISOWN
)) { 
1221     PyObject_SetAttrString(pyobj
,(char*)"thisown",Py_False
); 
1227   if (pyobj 
&& !obj
) {     
1229     if (PyCFunction_Check(obj
)) { 
1230       /* here we get the method pointer for callbacks */ 
1231       char *doc 
= (((PyCFunctionObject 
*)obj
) -> m_ml 
-> ml_doc
); 
1232       c 
= doc 
? strstr(doc
, "swig_ptr: ") : 0; 
1234         c 
= ty 
? SWIG_UnpackVoidPtr(c 
+ 10, &vptr
, ty
->name
) : 0; 
1235         if (!c
) goto type_error
; 
1240   if (flags 
& SWIG_POINTER_EXCEPTION
) { 
1242       SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
); 
1244       SWIG_Python_TypeError("C/C++ pointer", obj
); 
1250 /* Convert a pointer value, signal an exception on a type mismatch */ 
1252 SWIG_Python_MustGetPtr(PyObject 
*obj
, swig_type_info 
*ty
, int argnum
, int flags
) { 
1254   if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) { 
1256     if (flags 
& SWIG_POINTER_EXCEPTION
) { 
1257       SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
); 
1258       SWIG_Python_ArgFail(argnum
); 
1264 /* Convert a packed value value */ 
1266 SWIG_Python_ConvertPacked(PyObject 
*obj
, void *ptr
, size_t sz
, swig_type_info 
*ty
, int flags
) { 
1270 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON) 
1271   c 
= PySwigPacked_UnpackData(obj
, ptr
, sz
); 
1273   if ((!obj
) || (!PyString_Check(obj
))) goto type_error
; 
1274   c 
= PyString_AsString(obj
); 
1275   /* Pointer values must start with leading underscore */ 
1276   c 
= SWIG_UnpackDataName(c
, ptr
, sz
, ty
->name
); 
1278   if (!c
) goto type_error
; 
1280     tc 
= SWIG_TypeCheck(c
,ty
); 
1281     if (!tc
) goto type_error
; 
1287   if (flags 
& SWIG_POINTER_EXCEPTION
) { 
1289       SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
); 
1291       SWIG_Python_TypeError("C/C++ packed data", obj
); 
1297 /* Create a new array object */ 
1298 SWIGRUNTIME PyObject 
* 
1299 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info 
*type
, int own
) { 
1302     if (!PyErr_Occurred()) { 
1303       PyErr_Format(PyExc_TypeError
, "Swig: null type passed to NewPointerObj"); 
1311 #ifdef SWIG_COBJECT_TYPES 
1312   robj 
= PySwigObject_FromVoidPtrAndDesc((void *) ptr
, (char *)type
->name
); 
1315     char result
[SWIG_BUFFER_SIZE
]; 
1316     robj 
= SWIG_PackVoidPtr(result
, ptr
, type
->name
, sizeof(result
)) ? 
1317       PyString_FromString(result
) : 0; 
1320   if (!robj 
|| (robj 
== Py_None
)) return robj
; 
1321   if (type
->clientdata
) { 
1323     PyObject 
*args 
= Py_BuildValue((char*)"(O)", robj
); 
1325     inst 
= PyObject_CallObject((PyObject 
*) type
->clientdata
, args
); 
1329         PyObject_SetAttrString(inst
,(char*)"thisown",Py_True
); 
1337 SWIGRUNTIME PyObject 
* 
1338 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info 
*type
) { 
1344 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON) 
1345   robj 
= PySwigPacked_FromDataAndDesc((void *) ptr
, sz
, (char *)type
->name
); 
1348     char result
[SWIG_BUFFER_SIZE
]; 
1349     robj 
= SWIG_PackDataName(result
, ptr
, sz
, type
->name
, sizeof(result
)) ? 
1350       PyString_FromString(result
) : 0; 
1356 /* -----------------------------------------------------------------------------* 
1358  * -----------------------------------------------------------------------------*/ 
1360 #ifdef SWIG_LINK_RUNTIME 
1361 void *SWIG_ReturnGlobalTypeList(void *); 
1364 SWIGRUNTIME swig_module_info 
* 
1365 SWIG_Python_GetModule(void) { 
1366   static void *type_pointer 
= (void *)0; 
1367   /* first check if module already created */ 
1368   if (!type_pointer
) { 
1369 #ifdef SWIG_LINK_RUNTIME 
1370     type_pointer 
= SWIG_ReturnGlobalTypeList((void *)0); 
1372     type_pointer 
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
, 
1373                                     (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
); 
1374     if (PyErr_Occurred()) { 
1376       type_pointer 
= (void *)0; 
1380   return (swig_module_info 
*) type_pointer
; 
1383 #if PY_MAJOR_VERSION < 2 
1384 /* PyModule_AddObject function was introduced in Python 2.0.  The following function 
1385 is copied out of Python/modsupport.c in python version 2.3.4 */ 
1387 PyModule_AddObject(PyObject 
*m
, char *name
, PyObject 
*o
) 
1390   if (!PyModule_Check(m
)) { 
1391     PyErr_SetString(PyExc_TypeError
, 
1392                     "PyModule_AddObject() needs module as first arg"); 
1396     PyErr_SetString(PyExc_TypeError
, 
1397                     "PyModule_AddObject() needs non-NULL value"); 
1401   dict 
= PyModule_GetDict(m
); 
1403     /* Internal error -- modules must have a dict! */ 
1404     PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__", 
1405                  PyModule_GetName(m
)); 
1408   if (PyDict_SetItemString(dict
, name
, o
)) 
1416 SWIG_Python_SetModule(swig_module_info 
*swig_module
) { 
1417   static PyMethodDef swig_empty_runtime_method_table
[] = { {NULL
, NULL
, 0, NULL
} };/* Sentinel */ 
1419   PyObject 
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
, 
1420                                    swig_empty_runtime_method_table
); 
1421   PyObject 
*pointer 
= PyCObject_FromVoidPtr((void *) swig_module
, NULL
); 
1422   if (pointer 
&& module) { 
1423     PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
); 
1432 /* -------- TYPES TABLE (BEGIN) -------- */ 
1434 #define SWIGTYPE_p_char swig_types[0] 
1435 #define SWIGTYPE_p_form_ops_t swig_types[1] 
1436 #define SWIGTYPE_p_int swig_types[2] 
1437 #define SWIGTYPE_p_unsigned_char swig_types[3] 
1438 #define SWIGTYPE_p_unsigned_int swig_types[4] 
1439 #define SWIGTYPE_p_unsigned_long swig_types[5] 
1440 #define SWIGTYPE_p_wxANIHandler swig_types[6] 
1441 #define SWIGTYPE_p_wxAcceleratorTable swig_types[7] 
1442 #define SWIGTYPE_p_wxActivateEvent swig_types[8] 
1443 #define SWIGTYPE_p_wxAnimationBase swig_types[9] 
1444 #define SWIGTYPE_p_wxAnimationPlayer swig_types[10] 
1445 #define SWIGTYPE_p_wxBMPHandler swig_types[11] 
1446 #define SWIGTYPE_p_wxBitmap swig_types[12] 
1447 #define SWIGTYPE_p_wxBoxSizer swig_types[13] 
1448 #define SWIGTYPE_p_wxCURHandler swig_types[14] 
1449 #define SWIGTYPE_p_wxChildFocusEvent swig_types[15] 
1450 #define SWIGTYPE_p_wxCloseEvent swig_types[16] 
1451 #define SWIGTYPE_p_wxColour swig_types[17] 
1452 #define SWIGTYPE_p_wxCommandEvent swig_types[18] 
1453 #define SWIGTYPE_p_wxContextMenuEvent swig_types[19] 
1454 #define SWIGTYPE_p_wxControl swig_types[20] 
1455 #define SWIGTYPE_p_wxControlWithItems swig_types[21] 
1456 #define SWIGTYPE_p_wxDC swig_types[22] 
1457 #define SWIGTYPE_p_wxDateEvent swig_types[23] 
1458 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[24] 
1459 #define SWIGTYPE_p_wxDropFilesEvent swig_types[25] 
1460 #define SWIGTYPE_p_wxDuplexMode swig_types[26] 
1461 #define SWIGTYPE_p_wxEraseEvent swig_types[27] 
1462 #define SWIGTYPE_p_wxEvent swig_types[28] 
1463 #define SWIGTYPE_p_wxEvtHandler swig_types[29] 
1464 #define SWIGTYPE_p_wxFSFile swig_types[30] 
1465 #define SWIGTYPE_p_wxFileSystem swig_types[31] 
1466 #define SWIGTYPE_p_wxFlexGridSizer swig_types[32] 
1467 #define SWIGTYPE_p_wxFocusEvent swig_types[33] 
1468 #define SWIGTYPE_p_wxGBSizerItem swig_types[34] 
1469 #define SWIGTYPE_p_wxGIFAnimation swig_types[35] 
1470 #define SWIGTYPE_p_wxGIFAnimationCtrl swig_types[36] 
1471 #define SWIGTYPE_p_wxGIFHandler swig_types[37] 
1472 #define SWIGTYPE_p_wxGridBagSizer swig_types[38] 
1473 #define SWIGTYPE_p_wxGridSizer swig_types[39] 
1474 #define SWIGTYPE_p_wxICOHandler swig_types[40] 
1475 #define SWIGTYPE_p_wxIconizeEvent swig_types[41] 
1476 #define SWIGTYPE_p_wxIdleEvent swig_types[42] 
1477 #define SWIGTYPE_p_wxImage swig_types[43] 
1478 #define SWIGTYPE_p_wxImageHandler swig_types[44] 
1479 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[45] 
1480 #define SWIGTYPE_p_wxInitDialogEvent swig_types[46] 
1481 #define SWIGTYPE_p_wxJPEGHandler swig_types[47] 
1482 #define SWIGTYPE_p_wxKeyEvent swig_types[48] 
1483 #define SWIGTYPE_p_wxLayoutConstraints swig_types[49] 
1484 #define SWIGTYPE_p_wxMaximizeEvent swig_types[50] 
1485 #define SWIGTYPE_p_wxMenu swig_types[51] 
1486 #define SWIGTYPE_p_wxMenuBar swig_types[52] 
1487 #define SWIGTYPE_p_wxMenuEvent swig_types[53] 
1488 #define SWIGTYPE_p_wxMenuItem swig_types[54] 
1489 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[55] 
1490 #define SWIGTYPE_p_wxMouseEvent swig_types[56] 
1491 #define SWIGTYPE_p_wxMoveEvent swig_types[57] 
1492 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[58] 
1493 #define SWIGTYPE_p_wxNcPaintEvent swig_types[59] 
1494 #define SWIGTYPE_p_wxNotifyEvent swig_types[60] 
1495 #define SWIGTYPE_p_wxObject swig_types[61] 
1496 #define SWIGTYPE_p_wxPCXHandler swig_types[62] 
1497 #define SWIGTYPE_p_wxPNGHandler swig_types[63] 
1498 #define SWIGTYPE_p_wxPNMHandler swig_types[64] 
1499 #define SWIGTYPE_p_wxPaintEvent swig_types[65] 
1500 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[66] 
1501 #define SWIGTYPE_p_wxPaperSize swig_types[67] 
1502 #define SWIGTYPE_p_wxPoint swig_types[68] 
1503 #define SWIGTYPE_p_wxPyApp swig_types[69] 
1504 #define SWIGTYPE_p_wxPyCommandEvent swig_types[70] 
1505 #define SWIGTYPE_p_wxPyEvent swig_types[71] 
1506 #define SWIGTYPE_p_wxPyImageHandler swig_types[72] 
1507 #define SWIGTYPE_p_wxPySizer swig_types[73] 
1508 #define SWIGTYPE_p_wxPyValidator swig_types[74] 
1509 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[75] 
1510 #define SWIGTYPE_p_wxRect swig_types[76] 
1511 #define SWIGTYPE_p_wxScrollEvent swig_types[77] 
1512 #define SWIGTYPE_p_wxScrollWinEvent swig_types[78] 
1513 #define SWIGTYPE_p_wxSetCursorEvent swig_types[79] 
1514 #define SWIGTYPE_p_wxShowEvent swig_types[80] 
1515 #define SWIGTYPE_p_wxSize swig_types[81] 
1516 #define SWIGTYPE_p_wxSizeEvent swig_types[82] 
1517 #define SWIGTYPE_p_wxSizer swig_types[83] 
1518 #define SWIGTYPE_p_wxSizerItem swig_types[84] 
1519 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[85] 
1520 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[86] 
1521 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[87] 
1522 #define SWIGTYPE_p_wxTIFFHandler swig_types[88] 
1523 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[89] 
1524 #define SWIGTYPE_p_wxValidator swig_types[90] 
1525 #define SWIGTYPE_p_wxWindow swig_types[91] 
1526 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[92] 
1527 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[93] 
1528 #define SWIGTYPE_p_wxXPMHandler swig_types[94] 
1529 #define SWIGTYPE_ptrdiff_t swig_types[95] 
1530 #define SWIGTYPE_std__ptrdiff_t swig_types[96] 
1531 #define SWIGTYPE_unsigned_int swig_types[97] 
1532 static swig_type_info 
*swig_types
[99]; 
1533 static swig_module_info swig_module 
= {swig_types
, 98, 0, 0, 0, 0}; 
1534 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name) 
1535 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name) 
1537 /* -------- TYPES TABLE (END) -------- */ 
1540 /*----------------------------------------------- 
1541               @(target):= _animate.so 
1542   ------------------------------------------------*/ 
1543 #define SWIG_init    init_animate 
1545 #define SWIG_name    "_animate" 
1547 #include "wx/wxPython/wxPython.h" 
1548 #include "wx/wxPython/pyclasses.h" 
1549 #include <wx/animate/animate.h> 
1551  static const wxString 
wxPyAnimationControlNameStr(wxT("animationControl"));  
1552  static const wxString 
wxPyEmptyString(wxEmptyString
);  
1554   /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,72,SWIG_define@*/ 
1555 #define SWIG_From_int PyInt_FromLong 
1563   SWIG_CheckLongInRange(long value
, long min_value
, long max_value
, 
1566   if (value 
< min_value
) { 
1568       PyErr_Format(PyExc_OverflowError
,  
1569                    "value %ld is less than '%s' minimum %ld",  
1570                    value
, errmsg
, min_value
); 
1573   } else if (value 
> max_value
) { 
1575       PyErr_Format(PyExc_OverflowError
, 
1576                    "value %ld is greater than '%s' maximum %ld",  
1577                    value
, errmsg
, max_value
); 
1586 SWIG_AsVal_long(PyObject
* obj
, long* val
) 
1588     if (PyNumber_Check(obj
)) { 
1589         if (val
) *val 
= PyInt_AsLong(obj
); 
1593         SWIG_type_error("number", obj
); 
1599 #if INT_MAX != LONG_MAX 
1601   SWIG_AsVal_int(PyObject 
*obj
, int *val
) 
1603   const char* errmsg 
= val 
? "int" : (char*)0; 
1605   if (SWIG_AsVal_long(obj
, &v
)) { 
1606     if (SWIG_CheckLongInRange(v
, INT_MIN
,INT_MAX
, errmsg
)) { 
1607       if (val
) *val 
= static_cast<int >(v
); 
1616     SWIG_type_error(errmsg
, obj
); 
1621 SWIGINTERNINLINE 
int 
1622   SWIG_AsVal_int(PyObject 
*obj
, int *val
) 
1624   return SWIG_AsVal_long(obj
,(long*)val
); 
1630   SWIG_AsVal_bool(PyObject 
*obj
, bool *val
) 
1632   if (obj 
== Py_True
) { 
1633     if (val
) *val 
= true; 
1636   if (obj 
== Py_False
) { 
1637     if (val
) *val 
= false; 
1641   if (SWIG_AsVal_int(obj
, &res
)) {     
1642     if (val
) *val 
= res 
? true : false; 
1648     SWIG_type_error("bool", obj
); 
1654 SWIGINTERNINLINE 
bool 
1655 SWIG_As_bool(PyObject
* obj
) 
1658   if (!SWIG_AsVal_bool(obj
, &v
)) { 
1660       this is needed to make valgrind/purify happier.  
1662     memset((void*)&v
, 0, sizeof(bool)); 
1668 SWIGINTERNINLINE 
int 
1669 SWIG_Check_bool(PyObject
* obj
) 
1671   return SWIG_AsVal_bool(obj
, (bool*)0); 
1675 SWIGINTERNINLINE 
int 
1676 SWIG_As_int(PyObject
* obj
) 
1679   if (!SWIG_AsVal_int(obj
, &v
)) { 
1681       this is needed to make valgrind/purify happier.  
1683     memset((void*)&v
, 0, sizeof(int)); 
1689 SWIGINTERNINLINE 
int 
1690 SWIG_Check_int(PyObject
* obj
) 
1692   return SWIG_AsVal_int(obj
, (int*)0); 
1696 SWIGINTERNINLINE 
long 
1697 SWIG_As_long(PyObject
* obj
) 
1700   if (!SWIG_AsVal_long(obj
, &v
)) { 
1702       this is needed to make valgrind/purify happier.  
1704     memset((void*)&v
, 0, sizeof(long)); 
1710 SWIGINTERNINLINE 
int 
1711 SWIG_Check_long(PyObject
* obj
) 
1713   return SWIG_AsVal_long(obj
, (long*)0); 
1719 static int _wrap_AnimationControlNameStr_set(PyObject 
*) { 
1720     PyErr_SetString(PyExc_TypeError
,"Variable AnimationControlNameStr is read-only."); 
1725 static PyObject 
*_wrap_AnimationControlNameStr_get(void) { 
1726     PyObject 
*pyobj 
= NULL
; 
1730         pyobj 
= PyUnicode_FromWideChar((&wxPyAnimationControlNameStr
)->c_str(), (&wxPyAnimationControlNameStr
)->Len()); 
1732         pyobj 
= PyString_FromStringAndSize((&wxPyAnimationControlNameStr
)->c_str(), (&wxPyAnimationControlNameStr
)->Len()); 
1739 static PyObject 
*_wrap_new_AnimationPlayer(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
1740     PyObject 
*resultobj 
= NULL
; 
1741     wxAnimationBase 
*arg1 
= (wxAnimationBase 
*) NULL 
; 
1742     bool arg2 
= (bool) false ; 
1743     wxAnimationPlayer 
*result
; 
1744     PyObject 
* obj0 
= 0 ; 
1745     PyObject 
* obj1 
= 0 ; 
1747         (char *) "animation",(char *) "destroyAnimation", NULL 
 
1750     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_AnimationPlayer",kwnames
,&obj0
,&obj1
)) goto fail
; 
1752         SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAnimationBase
, SWIG_POINTER_EXCEPTION 
| 0); 
1753         if (SWIG_arg_fail(1)) SWIG_fail
; 
1757             arg2 
= static_cast<bool >(SWIG_As_bool(obj1
));  
1758             if (SWIG_arg_fail(2)) SWIG_fail
; 
1762         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1763         result 
= (wxAnimationPlayer 
*)new wxAnimationPlayer(arg1
,arg2
); 
1765         wxPyEndAllowThreads(__tstate
); 
1766         if (PyErr_Occurred()) SWIG_fail
; 
1768     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAnimationPlayer
, 1); 
1775 static PyObject 
*_wrap_delete_AnimationPlayer(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
1776     PyObject 
*resultobj 
= NULL
; 
1777     wxAnimationPlayer 
*arg1 
= (wxAnimationPlayer 
*) 0 ; 
1778     PyObject 
* obj0 
= 0 ; 
1780         (char *) "self", NULL 
 
1783     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_AnimationPlayer",kwnames
,&obj0
)) goto fail
; 
1784     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAnimationPlayer
, SWIG_POINTER_EXCEPTION 
| 0); 
1785     if (SWIG_arg_fail(1)) SWIG_fail
; 
1787         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1790         wxPyEndAllowThreads(__tstate
); 
1791         if (PyErr_Occurred()) SWIG_fail
; 
1793     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
1800 static PyObject 
*_wrap_AnimationPlayer_SetAnimation(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
1801     PyObject 
*resultobj 
= NULL
; 
1802     wxAnimationPlayer 
*arg1 
= (wxAnimationPlayer 
*) 0 ; 
1803     wxAnimationBase 
*arg2 
= (wxAnimationBase 
*) 0 ; 
1804     bool arg3 
= (bool) false ; 
1805     PyObject 
* obj0 
= 0 ; 
1806     PyObject 
* obj1 
= 0 ; 
1807     PyObject 
* obj2 
= 0 ; 
1809         (char *) "self",(char *) "animation",(char *) "destroyAnimation", NULL 
 
1812     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:AnimationPlayer_SetAnimation",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
1813     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAnimationPlayer
, SWIG_POINTER_EXCEPTION 
| 0); 
1814     if (SWIG_arg_fail(1)) SWIG_fail
; 
1815     SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxAnimationBase
, SWIG_POINTER_EXCEPTION 
| 0); 
1816     if (SWIG_arg_fail(2)) SWIG_fail
; 
1819             arg3 
= static_cast<bool >(SWIG_As_bool(obj2
));  
1820             if (SWIG_arg_fail(3)) SWIG_fail
; 
1824         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1825         (arg1
)->SetAnimation(arg2
,arg3
); 
1827         wxPyEndAllowThreads(__tstate
); 
1828         if (PyErr_Occurred()) SWIG_fail
; 
1830     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
1837 static PyObject 
*_wrap_AnimationPlayer_GetAnimation(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
1838     PyObject 
*resultobj 
= NULL
; 
1839     wxAnimationPlayer 
*arg1 
= (wxAnimationPlayer 
*) 0 ; 
1840     wxAnimationBase 
*result
; 
1841     PyObject 
* obj0 
= 0 ; 
1843         (char *) "self", NULL 
 
1846     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AnimationPlayer_GetAnimation",kwnames
,&obj0
)) goto fail
; 
1847     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAnimationPlayer
, SWIG_POINTER_EXCEPTION 
| 0); 
1848     if (SWIG_arg_fail(1)) SWIG_fail
; 
1850         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1851         result 
= (wxAnimationBase 
*)((wxAnimationPlayer 
const *)arg1
)->GetAnimation(); 
1853         wxPyEndAllowThreads(__tstate
); 
1854         if (PyErr_Occurred()) SWIG_fail
; 
1856     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAnimationBase
, 0); 
1863 static PyObject 
*_wrap_AnimationPlayer_SetDestroyAnimation(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
1864     PyObject 
*resultobj 
= NULL
; 
1865     wxAnimationPlayer 
*arg1 
= (wxAnimationPlayer 
*) 0 ; 
1867     PyObject 
* obj0 
= 0 ; 
1868     PyObject 
* obj1 
= 0 ; 
1870         (char *) "self",(char *) "destroyAnimation", NULL 
 
1873     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AnimationPlayer_SetDestroyAnimation",kwnames
,&obj0
,&obj1
)) goto fail
; 
1874     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAnimationPlayer
, SWIG_POINTER_EXCEPTION 
| 0); 
1875     if (SWIG_arg_fail(1)) SWIG_fail
; 
1877         arg2 
= static_cast<bool >(SWIG_As_bool(obj1
));  
1878         if (SWIG_arg_fail(2)) SWIG_fail
; 
1881         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1882         (arg1
)->SetDestroyAnimation(arg2
); 
1884         wxPyEndAllowThreads(__tstate
); 
1885         if (PyErr_Occurred()) SWIG_fail
; 
1887     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
1894 static PyObject 
*_wrap_AnimationPlayer_GetDestroyAnimation(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
1895     PyObject 
*resultobj 
= NULL
; 
1896     wxAnimationPlayer 
*arg1 
= (wxAnimationPlayer 
*) 0 ; 
1898     PyObject 
* obj0 
= 0 ; 
1900         (char *) "self", NULL 
 
1903     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AnimationPlayer_GetDestroyAnimation",kwnames
,&obj0
)) goto fail
; 
1904     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAnimationPlayer
, SWIG_POINTER_EXCEPTION 
| 0); 
1905     if (SWIG_arg_fail(1)) SWIG_fail
; 
1907         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1908         result 
= (bool)((wxAnimationPlayer 
const *)arg1
)->GetDestroyAnimation(); 
1910         wxPyEndAllowThreads(__tstate
); 
1911         if (PyErr_Occurred()) SWIG_fail
; 
1914         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
1922 static PyObject 
*_wrap_AnimationPlayer_SetCurrentFrame(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
1923     PyObject 
*resultobj 
= NULL
; 
1924     wxAnimationPlayer 
*arg1 
= (wxAnimationPlayer 
*) 0 ; 
1926     PyObject 
* obj0 
= 0 ; 
1927     PyObject 
* obj1 
= 0 ; 
1929         (char *) "self",(char *) "currentFrame", NULL 
 
1932     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AnimationPlayer_SetCurrentFrame",kwnames
,&obj0
,&obj1
)) goto fail
; 
1933     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAnimationPlayer
, SWIG_POINTER_EXCEPTION 
| 0); 
1934     if (SWIG_arg_fail(1)) SWIG_fail
; 
1936         arg2 
= static_cast<int >(SWIG_As_int(obj1
));  
1937         if (SWIG_arg_fail(2)) SWIG_fail
; 
1940         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1941         (arg1
)->SetCurrentFrame(arg2
); 
1943         wxPyEndAllowThreads(__tstate
); 
1944         if (PyErr_Occurred()) SWIG_fail
; 
1946     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
1953 static PyObject 
*_wrap_AnimationPlayer_GetCurrentFrame(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
1954     PyObject 
*resultobj 
= NULL
; 
1955     wxAnimationPlayer 
*arg1 
= (wxAnimationPlayer 
*) 0 ; 
1957     PyObject 
* obj0 
= 0 ; 
1959         (char *) "self", NULL 
 
1962     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AnimationPlayer_GetCurrentFrame",kwnames
,&obj0
)) goto fail
; 
1963     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAnimationPlayer
, SWIG_POINTER_EXCEPTION 
| 0); 
1964     if (SWIG_arg_fail(1)) SWIG_fail
; 
1966         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1967         result 
= (int)((wxAnimationPlayer 
const *)arg1
)->GetCurrentFrame(); 
1969         wxPyEndAllowThreads(__tstate
); 
1970         if (PyErr_Occurred()) SWIG_fail
; 
1973         resultobj 
= SWIG_From_int(static_cast<int >(result
));  
1981 static PyObject 
*_wrap_AnimationPlayer_SetWindow(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
1982     PyObject 
*resultobj 
= NULL
; 
1983     wxAnimationPlayer 
*arg1 
= (wxAnimationPlayer 
*) 0 ; 
1984     wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
1985     PyObject 
* obj0 
= 0 ; 
1986     PyObject 
* obj1 
= 0 ; 
1988         (char *) "self",(char *) "window", NULL 
 
1991     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AnimationPlayer_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
; 
1992     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAnimationPlayer
, SWIG_POINTER_EXCEPTION 
| 0); 
1993     if (SWIG_arg_fail(1)) SWIG_fail
; 
1994     SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
1995     if (SWIG_arg_fail(2)) SWIG_fail
; 
1997         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1998         (arg1
)->SetWindow(arg2
); 
2000         wxPyEndAllowThreads(__tstate
); 
2001         if (PyErr_Occurred()) SWIG_fail
; 
2003     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
2010 static PyObject 
*_wrap_AnimationPlayer_GetWindow(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2011     PyObject 
*resultobj 
= NULL
; 
2012     wxAnimationPlayer 
*arg1 
= (wxAnimationPlayer 
*) 0 ; 
2014     PyObject 
* obj0 
= 0 ; 
2016         (char *) "self", NULL 
 
2019     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AnimationPlayer_GetWindow",kwnames
,&obj0
)) goto fail
; 
2020     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAnimationPlayer
, SWIG_POINTER_EXCEPTION 
| 0); 
2021     if (SWIG_arg_fail(1)) SWIG_fail
; 
2023         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2024         result 
= (wxWindow 
*)((wxAnimationPlayer 
const *)arg1
)->GetWindow(); 
2026         wxPyEndAllowThreads(__tstate
); 
2027         if (PyErr_Occurred()) SWIG_fail
; 
2030         resultobj 
= wxPyMake_wxObject(result
, 0);  
2038 static PyObject 
*_wrap_AnimationPlayer_SetPosition(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2039     PyObject 
*resultobj 
= NULL
; 
2040     wxAnimationPlayer 
*arg1 
= (wxAnimationPlayer 
*) 0 ; 
2043     PyObject 
* obj0 
= 0 ; 
2044     PyObject 
* obj1 
= 0 ; 
2046         (char *) "self",(char *) "pos", NULL 
 
2049     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AnimationPlayer_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
; 
2050     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAnimationPlayer
, SWIG_POINTER_EXCEPTION 
| 0); 
2051     if (SWIG_arg_fail(1)) SWIG_fail
; 
2054         if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
2057         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2058         (arg1
)->SetPosition((wxPoint 
const &)*arg2
); 
2060         wxPyEndAllowThreads(__tstate
); 
2061         if (PyErr_Occurred()) SWIG_fail
; 
2063     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
2070 static PyObject 
*_wrap_AnimationPlayer_GetPosition(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2071     PyObject 
*resultobj 
= NULL
; 
2072     wxAnimationPlayer 
*arg1 
= (wxAnimationPlayer 
*) 0 ; 
2074     PyObject 
* obj0 
= 0 ; 
2076         (char *) "self", NULL 
 
2079     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AnimationPlayer_GetPosition",kwnames
,&obj0
)) goto fail
; 
2080     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAnimationPlayer
, SWIG_POINTER_EXCEPTION 
| 0); 
2081     if (SWIG_arg_fail(1)) SWIG_fail
; 
2083         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2084         result 
= ((wxAnimationPlayer 
const *)arg1
)->GetPosition(); 
2086         wxPyEndAllowThreads(__tstate
); 
2087         if (PyErr_Occurred()) SWIG_fail
; 
2090         wxPoint 
* resultptr
; 
2091         resultptr 
= new wxPoint(static_cast<wxPoint 
& >(result
)); 
2092         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1); 
2100 static PyObject 
*_wrap_AnimationPlayer_SetLooped(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2101     PyObject 
*resultobj 
= NULL
; 
2102     wxAnimationPlayer 
*arg1 
= (wxAnimationPlayer 
*) 0 ; 
2104     PyObject 
* obj0 
= 0 ; 
2105     PyObject 
* obj1 
= 0 ; 
2107         (char *) "self",(char *) "looped", NULL 
 
2110     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AnimationPlayer_SetLooped",kwnames
,&obj0
,&obj1
)) goto fail
; 
2111     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAnimationPlayer
, SWIG_POINTER_EXCEPTION 
| 0); 
2112     if (SWIG_arg_fail(1)) SWIG_fail
; 
2114         arg2 
= static_cast<bool >(SWIG_As_bool(obj1
));  
2115         if (SWIG_arg_fail(2)) SWIG_fail
; 
2118         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2119         (arg1
)->SetLooped(arg2
); 
2121         wxPyEndAllowThreads(__tstate
); 
2122         if (PyErr_Occurred()) SWIG_fail
; 
2124     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
2131 static PyObject 
*_wrap_AnimationPlayer_GetLooped(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2132     PyObject 
*resultobj 
= NULL
; 
2133     wxAnimationPlayer 
*arg1 
= (wxAnimationPlayer 
*) 0 ; 
2135     PyObject 
* obj0 
= 0 ; 
2137         (char *) "self", NULL 
 
2140     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AnimationPlayer_GetLooped",kwnames
,&obj0
)) goto fail
; 
2141     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAnimationPlayer
, SWIG_POINTER_EXCEPTION 
| 0); 
2142     if (SWIG_arg_fail(1)) SWIG_fail
; 
2144         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2145         result 
= (bool)((wxAnimationPlayer 
const *)arg1
)->GetLooped(); 
2147         wxPyEndAllowThreads(__tstate
); 
2148         if (PyErr_Occurred()) SWIG_fail
; 
2151         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
2159 static PyObject 
*_wrap_AnimationPlayer_HasAnimation(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2160     PyObject 
*resultobj 
= NULL
; 
2161     wxAnimationPlayer 
*arg1 
= (wxAnimationPlayer 
*) 0 ; 
2163     PyObject 
* obj0 
= 0 ; 
2165         (char *) "self", NULL 
 
2168     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AnimationPlayer_HasAnimation",kwnames
,&obj0
)) goto fail
; 
2169     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAnimationPlayer
, SWIG_POINTER_EXCEPTION 
| 0); 
2170     if (SWIG_arg_fail(1)) SWIG_fail
; 
2172         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2173         result 
= (bool)((wxAnimationPlayer 
const *)arg1
)->HasAnimation(); 
2175         wxPyEndAllowThreads(__tstate
); 
2176         if (PyErr_Occurred()) SWIG_fail
; 
2179         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
2187 static PyObject 
*_wrap_AnimationPlayer_IsPlaying(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2188     PyObject 
*resultobj 
= NULL
; 
2189     wxAnimationPlayer 
*arg1 
= (wxAnimationPlayer 
*) 0 ; 
2191     PyObject 
* obj0 
= 0 ; 
2193         (char *) "self", NULL 
 
2196     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AnimationPlayer_IsPlaying",kwnames
,&obj0
)) goto fail
; 
2197     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAnimationPlayer
, SWIG_POINTER_EXCEPTION 
| 0); 
2198     if (SWIG_arg_fail(1)) SWIG_fail
; 
2200         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2201         result 
= (bool)((wxAnimationPlayer 
const *)arg1
)->IsPlaying(); 
2203         wxPyEndAllowThreads(__tstate
); 
2204         if (PyErr_Occurred()) SWIG_fail
; 
2207         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
2215 static PyObject 
*_wrap_AnimationPlayer_UseBackgroundColour(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2216     PyObject 
*resultobj 
= NULL
; 
2217     wxAnimationPlayer 
*arg1 
= (wxAnimationPlayer 
*) 0 ; 
2219     PyObject 
* obj0 
= 0 ; 
2220     PyObject 
* obj1 
= 0 ; 
2222         (char *) "self",(char *) "useBackground", NULL 
 
2225     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AnimationPlayer_UseBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
; 
2226     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAnimationPlayer
, SWIG_POINTER_EXCEPTION 
| 0); 
2227     if (SWIG_arg_fail(1)) SWIG_fail
; 
2229         arg2 
= static_cast<bool >(SWIG_As_bool(obj1
));  
2230         if (SWIG_arg_fail(2)) SWIG_fail
; 
2233         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2234         (arg1
)->UseBackgroundColour(arg2
); 
2236         wxPyEndAllowThreads(__tstate
); 
2237         if (PyErr_Occurred()) SWIG_fail
; 
2239     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
2246 static PyObject 
*_wrap_AnimationPlayer_UsingBackgroundColour(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2247     PyObject 
*resultobj 
= NULL
; 
2248     wxAnimationPlayer 
*arg1 
= (wxAnimationPlayer 
*) 0 ; 
2250     PyObject 
* obj0 
= 0 ; 
2252         (char *) "self", NULL 
 
2255     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AnimationPlayer_UsingBackgroundColour",kwnames
,&obj0
)) goto fail
; 
2256     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAnimationPlayer
, SWIG_POINTER_EXCEPTION 
| 0); 
2257     if (SWIG_arg_fail(1)) SWIG_fail
; 
2259         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2260         result 
= (bool)((wxAnimationPlayer 
const *)arg1
)->UsingBackgroundColour(); 
2262         wxPyEndAllowThreads(__tstate
); 
2263         if (PyErr_Occurred()) SWIG_fail
; 
2266         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
2274 static PyObject 
*_wrap_AnimationPlayer_SetCustomBackgroundColour(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2275     PyObject 
*resultobj 
= NULL
; 
2276     wxAnimationPlayer 
*arg1 
= (wxAnimationPlayer 
*) 0 ; 
2277     wxColour 
*arg2 
= 0 ; 
2278     bool arg3 
= (bool) true ; 
2280     PyObject 
* obj0 
= 0 ; 
2281     PyObject 
* obj1 
= 0 ; 
2282     PyObject 
* obj2 
= 0 ; 
2284         (char *) "self",(char *) "col",(char *) "useCustomBackgroundColour", NULL 
 
2287     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:AnimationPlayer_SetCustomBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
2288     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAnimationPlayer
, SWIG_POINTER_EXCEPTION 
| 0); 
2289     if (SWIG_arg_fail(1)) SWIG_fail
; 
2292         if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
2296             arg3 
= static_cast<bool >(SWIG_As_bool(obj2
));  
2297             if (SWIG_arg_fail(3)) SWIG_fail
; 
2301         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2302         (arg1
)->SetCustomBackgroundColour((wxColour 
const &)*arg2
,arg3
); 
2304         wxPyEndAllowThreads(__tstate
); 
2305         if (PyErr_Occurred()) SWIG_fail
; 
2307     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
2314 static PyObject 
*_wrap_AnimationPlayer_UsingCustomBackgroundColour(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2315     PyObject 
*resultobj 
= NULL
; 
2316     wxAnimationPlayer 
*arg1 
= (wxAnimationPlayer 
*) 0 ; 
2318     PyObject 
* obj0 
= 0 ; 
2320         (char *) "self", NULL 
 
2323     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AnimationPlayer_UsingCustomBackgroundColour",kwnames
,&obj0
)) goto fail
; 
2324     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAnimationPlayer
, SWIG_POINTER_EXCEPTION 
| 0); 
2325     if (SWIG_arg_fail(1)) SWIG_fail
; 
2327         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2328         result 
= (bool)((wxAnimationPlayer 
const *)arg1
)->UsingCustomBackgroundColour(); 
2330         wxPyEndAllowThreads(__tstate
); 
2331         if (PyErr_Occurred()) SWIG_fail
; 
2334         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
2342 static PyObject 
*_wrap_AnimationPlayer_GetCustomBackgroundColour(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2343     PyObject 
*resultobj 
= NULL
; 
2344     wxAnimationPlayer 
*arg1 
= (wxAnimationPlayer 
*) 0 ; 
2346     PyObject 
* obj0 
= 0 ; 
2348         (char *) "self", NULL 
 
2351     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AnimationPlayer_GetCustomBackgroundColour",kwnames
,&obj0
)) goto fail
; 
2352     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAnimationPlayer
, SWIG_POINTER_EXCEPTION 
| 0); 
2353     if (SWIG_arg_fail(1)) SWIG_fail
; 
2355         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2357             wxColour 
const &_result_ref 
= ((wxAnimationPlayer 
const *)arg1
)->GetCustomBackgroundColour(); 
2358             result 
= (wxColour 
*) &_result_ref
; 
2361         wxPyEndAllowThreads(__tstate
); 
2362         if (PyErr_Occurred()) SWIG_fail
; 
2364     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0); 
2371 static PyObject 
*_wrap_AnimationPlayer_UseParentBackground(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2372     PyObject 
*resultobj 
= NULL
; 
2373     wxAnimationPlayer 
*arg1 
= (wxAnimationPlayer 
*) 0 ; 
2375     PyObject 
* obj0 
= 0 ; 
2376     PyObject 
* obj1 
= 0 ; 
2378         (char *) "self",(char *) "useParent", NULL 
 
2381     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AnimationPlayer_UseParentBackground",kwnames
,&obj0
,&obj1
)) goto fail
; 
2382     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAnimationPlayer
, SWIG_POINTER_EXCEPTION 
| 0); 
2383     if (SWIG_arg_fail(1)) SWIG_fail
; 
2385         arg2 
= static_cast<bool >(SWIG_As_bool(obj1
));  
2386         if (SWIG_arg_fail(2)) SWIG_fail
; 
2389         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2390         (arg1
)->UseParentBackground(arg2
); 
2392         wxPyEndAllowThreads(__tstate
); 
2393         if (PyErr_Occurred()) SWIG_fail
; 
2395     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
2402 static PyObject 
*_wrap_AnimationPlayer_UsingParentBackground(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2403     PyObject 
*resultobj 
= NULL
; 
2404     wxAnimationPlayer 
*arg1 
= (wxAnimationPlayer 
*) 0 ; 
2406     PyObject 
* obj0 
= 0 ; 
2408         (char *) "self", NULL 
 
2411     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AnimationPlayer_UsingParentBackground",kwnames
,&obj0
)) goto fail
; 
2412     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAnimationPlayer
, SWIG_POINTER_EXCEPTION 
| 0); 
2413     if (SWIG_arg_fail(1)) SWIG_fail
; 
2415         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2416         result 
= (bool)((wxAnimationPlayer 
const *)arg1
)->UsingParentBackground(); 
2418         wxPyEndAllowThreads(__tstate
); 
2419         if (PyErr_Occurred()) SWIG_fail
; 
2422         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
2430 static PyObject 
*_wrap_AnimationPlayer_Play(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2431     PyObject 
*resultobj 
= NULL
; 
2432     wxAnimationPlayer 
*arg1 
= (wxAnimationPlayer 
*) 0 ; 
2433     wxWindow 
*arg2 
= 0 ; 
2434     wxPoint 
const &arg3_defvalue 
= wxPoint(0, 0) ; 
2435     wxPoint 
*arg3 
= (wxPoint 
*) &arg3_defvalue 
; 
2436     bool arg4 
= (bool) true ; 
2439     PyObject 
* obj0 
= 0 ; 
2440     PyObject 
* obj1 
= 0 ; 
2441     PyObject 
* obj2 
= 0 ; 
2442     PyObject 
* obj3 
= 0 ; 
2444         (char *) "self",(char *) "window",(char *) "pos",(char *) "looped", NULL 
 
2447     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:AnimationPlayer_Play",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
2448     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAnimationPlayer
, SWIG_POINTER_EXCEPTION 
| 0); 
2449     if (SWIG_arg_fail(1)) SWIG_fail
; 
2451         SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
2452         if (SWIG_arg_fail(2)) SWIG_fail
; 
2454             SWIG_null_ref("wxWindow"); 
2456         if (SWIG_arg_fail(2)) SWIG_fail
; 
2461             if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
; 
2466             arg4 
= static_cast<bool >(SWIG_As_bool(obj3
));  
2467             if (SWIG_arg_fail(4)) SWIG_fail
; 
2471         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2472         result 
= (bool)(arg1
)->Play(*arg2
,(wxPoint 
const &)*arg3
,arg4
); 
2474         wxPyEndAllowThreads(__tstate
); 
2475         if (PyErr_Occurred()) SWIG_fail
; 
2478         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
2486 static PyObject 
*_wrap_AnimationPlayer_Build(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2487     PyObject 
*resultobj 
= NULL
; 
2488     wxAnimationPlayer 
*arg1 
= (wxAnimationPlayer 
*) 0 ; 
2490     PyObject 
* obj0 
= 0 ; 
2492         (char *) "self", NULL 
 
2495     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AnimationPlayer_Build",kwnames
,&obj0
)) goto fail
; 
2496     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAnimationPlayer
, SWIG_POINTER_EXCEPTION 
| 0); 
2497     if (SWIG_arg_fail(1)) SWIG_fail
; 
2499         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2500         result 
= (bool)(arg1
)->Build(); 
2502         wxPyEndAllowThreads(__tstate
); 
2503         if (PyErr_Occurred()) SWIG_fail
; 
2506         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
2514 static PyObject 
*_wrap_AnimationPlayer_Stop(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2515     PyObject 
*resultobj 
= NULL
; 
2516     wxAnimationPlayer 
*arg1 
= (wxAnimationPlayer 
*) 0 ; 
2517     PyObject 
* obj0 
= 0 ; 
2519         (char *) "self", NULL 
 
2522     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AnimationPlayer_Stop",kwnames
,&obj0
)) goto fail
; 
2523     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAnimationPlayer
, SWIG_POINTER_EXCEPTION 
| 0); 
2524     if (SWIG_arg_fail(1)) SWIG_fail
; 
2526         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2529         wxPyEndAllowThreads(__tstate
); 
2530         if (PyErr_Occurred()) SWIG_fail
; 
2532     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
2539 static PyObject 
*_wrap_AnimationPlayer_Draw(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2540     PyObject 
*resultobj 
= NULL
; 
2541     wxAnimationPlayer 
*arg1 
= (wxAnimationPlayer 
*) 0 ; 
2543     PyObject 
* obj0 
= 0 ; 
2544     PyObject 
* obj1 
= 0 ; 
2546         (char *) "self",(char *) "dc", NULL 
 
2549     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AnimationPlayer_Draw",kwnames
,&obj0
,&obj1
)) goto fail
; 
2550     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAnimationPlayer
, SWIG_POINTER_EXCEPTION 
| 0); 
2551     if (SWIG_arg_fail(1)) SWIG_fail
; 
2553         SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
2554         if (SWIG_arg_fail(2)) SWIG_fail
; 
2556             SWIG_null_ref("wxDC"); 
2558         if (SWIG_arg_fail(2)) SWIG_fail
; 
2561         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2562         (arg1
)->Draw(*arg2
); 
2564         wxPyEndAllowThreads(__tstate
); 
2565         if (PyErr_Occurred()) SWIG_fail
; 
2567     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
2574 static PyObject 
*_wrap_AnimationPlayer_GetFrameCount(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2575     PyObject 
*resultobj 
= NULL
; 
2576     wxAnimationPlayer 
*arg1 
= (wxAnimationPlayer 
*) 0 ; 
2578     PyObject 
* obj0 
= 0 ; 
2580         (char *) "self", NULL 
 
2583     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AnimationPlayer_GetFrameCount",kwnames
,&obj0
)) goto fail
; 
2584     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAnimationPlayer
, SWIG_POINTER_EXCEPTION 
| 0); 
2585     if (SWIG_arg_fail(1)) SWIG_fail
; 
2587         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2588         result 
= (int)((wxAnimationPlayer 
const *)arg1
)->GetFrameCount(); 
2590         wxPyEndAllowThreads(__tstate
); 
2591         if (PyErr_Occurred()) SWIG_fail
; 
2594         resultobj 
= SWIG_From_int(static_cast<int >(result
));  
2602 static PyObject 
*_wrap_AnimationPlayer_GetFrame(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2603     PyObject 
*resultobj 
= NULL
; 
2604     wxAnimationPlayer 
*arg1 
= (wxAnimationPlayer 
*) 0 ; 
2607     PyObject 
* obj0 
= 0 ; 
2608     PyObject 
* obj1 
= 0 ; 
2610         (char *) "self",(char *) "i", NULL 
 
2613     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AnimationPlayer_GetFrame",kwnames
,&obj0
,&obj1
)) goto fail
; 
2614     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAnimationPlayer
, SWIG_POINTER_EXCEPTION 
| 0); 
2615     if (SWIG_arg_fail(1)) SWIG_fail
; 
2617         arg2 
= static_cast<int >(SWIG_As_int(obj1
));  
2618         if (SWIG_arg_fail(2)) SWIG_fail
; 
2621         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2622         result 
= (wxImage 
*)((wxAnimationPlayer 
const *)arg1
)->GetFrame(arg2
); 
2624         wxPyEndAllowThreads(__tstate
); 
2625         if (PyErr_Occurred()) SWIG_fail
; 
2628         resultobj 
= wxPyMake_wxObject(result
, 1);  
2636 static PyObject 
*_wrap_AnimationPlayer_GetDisposalMethod(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2637     PyObject 
*resultobj 
= NULL
; 
2638     wxAnimationPlayer 
*arg1 
= (wxAnimationPlayer 
*) 0 ; 
2640     wxAnimationDisposal result
; 
2641     PyObject 
* obj0 
= 0 ; 
2642     PyObject 
* obj1 
= 0 ; 
2644         (char *) "self",(char *) "i", NULL 
 
2647     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AnimationPlayer_GetDisposalMethod",kwnames
,&obj0
,&obj1
)) goto fail
; 
2648     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAnimationPlayer
, SWIG_POINTER_EXCEPTION 
| 0); 
2649     if (SWIG_arg_fail(1)) SWIG_fail
; 
2651         arg2 
= static_cast<int >(SWIG_As_int(obj1
));  
2652         if (SWIG_arg_fail(2)) SWIG_fail
; 
2655         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2656         result 
= (wxAnimationDisposal
)((wxAnimationPlayer 
const *)arg1
)->GetDisposalMethod(arg2
); 
2658         wxPyEndAllowThreads(__tstate
); 
2659         if (PyErr_Occurred()) SWIG_fail
; 
2661     resultobj 
= SWIG_From_int((result
)); 
2668 static PyObject 
*_wrap_AnimationPlayer_GetFrameRect(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2669     PyObject 
*resultobj 
= NULL
; 
2670     wxAnimationPlayer 
*arg1 
= (wxAnimationPlayer 
*) 0 ; 
2673     PyObject 
* obj0 
= 0 ; 
2674     PyObject 
* obj1 
= 0 ; 
2676         (char *) "self",(char *) "i", NULL 
 
2679     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AnimationPlayer_GetFrameRect",kwnames
,&obj0
,&obj1
)) goto fail
; 
2680     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAnimationPlayer
, SWIG_POINTER_EXCEPTION 
| 0); 
2681     if (SWIG_arg_fail(1)) SWIG_fail
; 
2683         arg2 
= static_cast<int >(SWIG_As_int(obj1
));  
2684         if (SWIG_arg_fail(2)) SWIG_fail
; 
2687         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2688         result 
= ((wxAnimationPlayer 
const *)arg1
)->GetFrameRect(arg2
); 
2690         wxPyEndAllowThreads(__tstate
); 
2691         if (PyErr_Occurred()) SWIG_fail
; 
2695         resultptr 
= new wxRect(static_cast<wxRect 
& >(result
)); 
2696         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1); 
2704 static PyObject 
*_wrap_AnimationPlayer_GetDelay(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2705     PyObject 
*resultobj 
= NULL
; 
2706     wxAnimationPlayer 
*arg1 
= (wxAnimationPlayer 
*) 0 ; 
2709     PyObject 
* obj0 
= 0 ; 
2710     PyObject 
* obj1 
= 0 ; 
2712         (char *) "self",(char *) "i", NULL 
 
2715     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AnimationPlayer_GetDelay",kwnames
,&obj0
,&obj1
)) goto fail
; 
2716     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAnimationPlayer
, SWIG_POINTER_EXCEPTION 
| 0); 
2717     if (SWIG_arg_fail(1)) SWIG_fail
; 
2719         arg2 
= static_cast<int >(SWIG_As_int(obj1
));  
2720         if (SWIG_arg_fail(2)) SWIG_fail
; 
2723         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2724         result 
= (int)((wxAnimationPlayer 
const *)arg1
)->GetDelay(arg2
); 
2726         wxPyEndAllowThreads(__tstate
); 
2727         if (PyErr_Occurred()) SWIG_fail
; 
2730         resultobj 
= SWIG_From_int(static_cast<int >(result
));  
2738 static PyObject 
*_wrap_AnimationPlayer_GetLogicalScreenSize(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2739     PyObject 
*resultobj 
= NULL
; 
2740     wxAnimationPlayer 
*arg1 
= (wxAnimationPlayer 
*) 0 ; 
2742     PyObject 
* obj0 
= 0 ; 
2744         (char *) "self", NULL 
 
2747     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AnimationPlayer_GetLogicalScreenSize",kwnames
,&obj0
)) goto fail
; 
2748     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAnimationPlayer
, SWIG_POINTER_EXCEPTION 
| 0); 
2749     if (SWIG_arg_fail(1)) SWIG_fail
; 
2751         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2752         result 
= ((wxAnimationPlayer 
const *)arg1
)->GetLogicalScreenSize(); 
2754         wxPyEndAllowThreads(__tstate
); 
2755         if (PyErr_Occurred()) SWIG_fail
; 
2759         resultptr 
= new wxSize(static_cast<wxSize 
& >(result
)); 
2760         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1); 
2768 static PyObject 
*_wrap_AnimationPlayer_GetBackgroundColour(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2769     PyObject 
*resultobj 
= NULL
; 
2770     wxAnimationPlayer 
*arg1 
= (wxAnimationPlayer 
*) 0 ; 
2771     wxColour 
*arg2 
= 0 ; 
2774     PyObject 
* obj0 
= 0 ; 
2775     PyObject 
* obj1 
= 0 ; 
2777         (char *) "self",(char *) "col", NULL 
 
2780     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AnimationPlayer_GetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
; 
2781     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAnimationPlayer
, SWIG_POINTER_EXCEPTION 
| 0); 
2782     if (SWIG_arg_fail(1)) SWIG_fail
; 
2785         if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
2788         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2789         result 
= (bool)((wxAnimationPlayer 
const *)arg1
)->GetBackgroundColour(*arg2
); 
2791         wxPyEndAllowThreads(__tstate
); 
2792         if (PyErr_Occurred()) SWIG_fail
; 
2795         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
2803 static PyObject 
*_wrap_AnimationPlayer_GetTransparentColour(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2804     PyObject 
*resultobj 
= NULL
; 
2805     wxAnimationPlayer 
*arg1 
= (wxAnimationPlayer 
*) 0 ; 
2806     wxColour 
*arg2 
= 0 ; 
2809     PyObject 
* obj0 
= 0 ; 
2810     PyObject 
* obj1 
= 0 ; 
2812         (char *) "self",(char *) "col", NULL 
 
2815     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AnimationPlayer_GetTransparentColour",kwnames
,&obj0
,&obj1
)) goto fail
; 
2816     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAnimationPlayer
, SWIG_POINTER_EXCEPTION 
| 0); 
2817     if (SWIG_arg_fail(1)) SWIG_fail
; 
2820         if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
2823         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2824         result 
= (bool)((wxAnimationPlayer 
const *)arg1
)->GetTransparentColour(*arg2
); 
2826         wxPyEndAllowThreads(__tstate
); 
2827         if (PyErr_Occurred()) SWIG_fail
; 
2830         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
2838 static PyObject 
*_wrap_AnimationPlayer_PlayFrame(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2839     PyObject 
*resultobj 
= NULL
; 
2840     wxAnimationPlayer 
*arg1 
= (wxAnimationPlayer 
*) 0 ; 
2842     wxWindow 
*arg3 
= 0 ; 
2846     PyObject 
* obj0 
= 0 ; 
2847     PyObject 
* obj1 
= 0 ; 
2848     PyObject 
* obj2 
= 0 ; 
2849     PyObject 
* obj3 
= 0 ; 
2851         (char *) "self",(char *) "frame",(char *) "window",(char *) "pos", NULL 
 
2854     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AnimationPlayer_PlayFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
2855     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAnimationPlayer
, SWIG_POINTER_EXCEPTION 
| 0); 
2856     if (SWIG_arg_fail(1)) SWIG_fail
; 
2858         arg2 
= static_cast<int >(SWIG_As_int(obj1
));  
2859         if (SWIG_arg_fail(2)) SWIG_fail
; 
2862         SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
2863         if (SWIG_arg_fail(3)) SWIG_fail
; 
2865             SWIG_null_ref("wxWindow"); 
2867         if (SWIG_arg_fail(3)) SWIG_fail
; 
2871         if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
; 
2874         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2875         result 
= (bool)(arg1
)->PlayFrame(arg2
,*arg3
,(wxPoint 
const &)*arg4
); 
2877         wxPyEndAllowThreads(__tstate
); 
2878         if (PyErr_Occurred()) SWIG_fail
; 
2881         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
2889 static PyObject 
*_wrap_AnimationPlayer_PlayNextFrame(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2890     PyObject 
*resultobj 
= NULL
; 
2891     wxAnimationPlayer 
*arg1 
= (wxAnimationPlayer 
*) 0 ; 
2893     PyObject 
* obj0 
= 0 ; 
2895         (char *) "self", NULL 
 
2898     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AnimationPlayer_PlayNextFrame",kwnames
,&obj0
)) goto fail
; 
2899     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAnimationPlayer
, SWIG_POINTER_EXCEPTION 
| 0); 
2900     if (SWIG_arg_fail(1)) SWIG_fail
; 
2902         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2903         result 
= (bool)(arg1
)->PlayFrame(); 
2905         wxPyEndAllowThreads(__tstate
); 
2906         if (PyErr_Occurred()) SWIG_fail
; 
2909         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
2917 static PyObject 
*_wrap_AnimationPlayer_DrawFrame(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2918     PyObject 
*resultobj 
= NULL
; 
2919     wxAnimationPlayer 
*arg1 
= (wxAnimationPlayer 
*) 0 ; 
2924     PyObject 
* obj0 
= 0 ; 
2925     PyObject 
* obj1 
= 0 ; 
2926     PyObject 
* obj2 
= 0 ; 
2927     PyObject 
* obj3 
= 0 ; 
2929         (char *) "self",(char *) "frame",(char *) "dc",(char *) "pos", NULL 
 
2932     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AnimationPlayer_DrawFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
2933     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAnimationPlayer
, SWIG_POINTER_EXCEPTION 
| 0); 
2934     if (SWIG_arg_fail(1)) SWIG_fail
; 
2936         arg2 
= static_cast<int >(SWIG_As_int(obj1
));  
2937         if (SWIG_arg_fail(2)) SWIG_fail
; 
2940         SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
2941         if (SWIG_arg_fail(3)) SWIG_fail
; 
2943             SWIG_null_ref("wxDC"); 
2945         if (SWIG_arg_fail(3)) SWIG_fail
; 
2949         if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
; 
2952         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2953         (arg1
)->DrawFrame(arg2
,*arg3
,(wxPoint 
const &)*arg4
); 
2955         wxPyEndAllowThreads(__tstate
); 
2956         if (PyErr_Occurred()) SWIG_fail
; 
2958     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
2965 static PyObject 
*_wrap_AnimationPlayer_DrawBackground(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2966     PyObject 
*resultobj 
= NULL
; 
2967     wxAnimationPlayer 
*arg1 
= (wxAnimationPlayer 
*) 0 ; 
2970     wxColour 
*arg4 
= 0 ; 
2973     PyObject 
* obj0 
= 0 ; 
2974     PyObject 
* obj1 
= 0 ; 
2975     PyObject 
* obj2 
= 0 ; 
2976     PyObject 
* obj3 
= 0 ; 
2978         (char *) "self",(char *) "dc",(char *) "pos",(char *) "colour", NULL 
 
2981     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AnimationPlayer_DrawBackground",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
2982     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAnimationPlayer
, SWIG_POINTER_EXCEPTION 
| 0); 
2983     if (SWIG_arg_fail(1)) SWIG_fail
; 
2985         SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
2986         if (SWIG_arg_fail(2)) SWIG_fail
; 
2988             SWIG_null_ref("wxDC"); 
2990         if (SWIG_arg_fail(2)) SWIG_fail
; 
2994         if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
; 
2998         if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
; 
3001         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3002         (arg1
)->DrawBackground(*arg2
,(wxPoint 
const &)*arg3
,(wxColour 
const &)*arg4
); 
3004         wxPyEndAllowThreads(__tstate
); 
3005         if (PyErr_Occurred()) SWIG_fail
; 
3007     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
3014 static PyObject 
*_wrap_AnimationPlayer_ClearCache(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3015     PyObject 
*resultobj 
= NULL
; 
3016     wxAnimationPlayer 
*arg1 
= (wxAnimationPlayer 
*) 0 ; 
3017     PyObject 
* obj0 
= 0 ; 
3019         (char *) "self", NULL 
 
3022     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AnimationPlayer_ClearCache",kwnames
,&obj0
)) goto fail
; 
3023     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAnimationPlayer
, SWIG_POINTER_EXCEPTION 
| 0); 
3024     if (SWIG_arg_fail(1)) SWIG_fail
; 
3026         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3027         (arg1
)->ClearCache(); 
3029         wxPyEndAllowThreads(__tstate
); 
3030         if (PyErr_Occurred()) SWIG_fail
; 
3032     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
3039 static PyObject 
*_wrap_AnimationPlayer_SaveBackground(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3040     PyObject 
*resultobj 
= NULL
; 
3041     wxAnimationPlayer 
*arg1 
= (wxAnimationPlayer 
*) 0 ; 
3044     PyObject 
* obj0 
= 0 ; 
3045     PyObject 
* obj1 
= 0 ; 
3047         (char *) "self",(char *) "rect", NULL 
 
3050     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AnimationPlayer_SaveBackground",kwnames
,&obj0
,&obj1
)) goto fail
; 
3051     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAnimationPlayer
, SWIG_POINTER_EXCEPTION 
| 0); 
3052     if (SWIG_arg_fail(1)) SWIG_fail
; 
3055         if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
; 
3058         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3059         (arg1
)->SaveBackground((wxRect 
const &)*arg2
); 
3061         wxPyEndAllowThreads(__tstate
); 
3062         if (PyErr_Occurred()) SWIG_fail
; 
3064     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
3071 static PyObject 
*_wrap_AnimationPlayer_GetBackingStore(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3072     PyObject 
*resultobj 
= NULL
; 
3073     wxAnimationPlayer 
*arg1 
= (wxAnimationPlayer 
*) 0 ; 
3075     PyObject 
* obj0 
= 0 ; 
3077         (char *) "self", NULL 
 
3080     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AnimationPlayer_GetBackingStore",kwnames
,&obj0
)) goto fail
; 
3081     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAnimationPlayer
, SWIG_POINTER_EXCEPTION 
| 0); 
3082     if (SWIG_arg_fail(1)) SWIG_fail
; 
3084         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3086             wxBitmap 
&_result_ref 
= (arg1
)->GetBackingStore(); 
3087             result 
= (wxBitmap 
*) &_result_ref
; 
3090         wxPyEndAllowThreads(__tstate
); 
3091         if (PyErr_Occurred()) SWIG_fail
; 
3094         wxBitmap
* resultptr 
= new wxBitmap(*result
); 
3095         resultobj 
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1); 
3103 static PyObject 
* AnimationPlayer_swigregister(PyObject 
*, PyObject 
*args
) { 
3105     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
3106     SWIG_TypeClientData(SWIGTYPE_p_wxAnimationPlayer
, obj
); 
3108     return Py_BuildValue((char *)""); 
3110 static PyObject 
*_wrap_delete_AnimationBase(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3111     PyObject 
*resultobj 
= NULL
; 
3112     wxAnimationBase 
*arg1 
= (wxAnimationBase 
*) 0 ; 
3113     PyObject 
* obj0 
= 0 ; 
3115         (char *) "self", NULL 
 
3118     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_AnimationBase",kwnames
,&obj0
)) goto fail
; 
3119     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAnimationBase
, SWIG_POINTER_EXCEPTION 
| 0); 
3120     if (SWIG_arg_fail(1)) SWIG_fail
; 
3122         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3125         wxPyEndAllowThreads(__tstate
); 
3126         if (PyErr_Occurred()) SWIG_fail
; 
3128     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
3135 static PyObject 
*_wrap_AnimationBase_GetFrameCount(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3136     PyObject 
*resultobj 
= NULL
; 
3137     wxAnimationBase 
*arg1 
= (wxAnimationBase 
*) 0 ; 
3139     PyObject 
* obj0 
= 0 ; 
3141         (char *) "self", NULL 
 
3144     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AnimationBase_GetFrameCount",kwnames
,&obj0
)) goto fail
; 
3145     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAnimationBase
, SWIG_POINTER_EXCEPTION 
| 0); 
3146     if (SWIG_arg_fail(1)) SWIG_fail
; 
3148         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3149         result 
= (int)((wxAnimationBase 
const *)arg1
)->GetFrameCount(); 
3151         wxPyEndAllowThreads(__tstate
); 
3152         if (PyErr_Occurred()) SWIG_fail
; 
3155         resultobj 
= SWIG_From_int(static_cast<int >(result
));  
3163 static PyObject 
*_wrap_AnimationBase_GetFrame(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3164     PyObject 
*resultobj 
= NULL
; 
3165     wxAnimationBase 
*arg1 
= (wxAnimationBase 
*) 0 ; 
3168     PyObject 
* obj0 
= 0 ; 
3169     PyObject 
* obj1 
= 0 ; 
3171         (char *) "self",(char *) "i", NULL 
 
3174     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AnimationBase_GetFrame",kwnames
,&obj0
,&obj1
)) goto fail
; 
3175     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAnimationBase
, SWIG_POINTER_EXCEPTION 
| 0); 
3176     if (SWIG_arg_fail(1)) SWIG_fail
; 
3178         arg2 
= static_cast<int >(SWIG_As_int(obj1
));  
3179         if (SWIG_arg_fail(2)) SWIG_fail
; 
3182         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3183         result 
= (wxImage 
*)((wxAnimationBase 
const *)arg1
)->GetFrame(arg2
); 
3185         wxPyEndAllowThreads(__tstate
); 
3186         if (PyErr_Occurred()) SWIG_fail
; 
3189         resultobj 
= wxPyMake_wxObject(result
, 1);  
3197 static PyObject 
*_wrap_AnimationBase_GetDisposalMethod(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3198     PyObject 
*resultobj 
= NULL
; 
3199     wxAnimationBase 
*arg1 
= (wxAnimationBase 
*) 0 ; 
3201     wxAnimationDisposal result
; 
3202     PyObject 
* obj0 
= 0 ; 
3203     PyObject 
* obj1 
= 0 ; 
3205         (char *) "self",(char *) "i", NULL 
 
3208     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AnimationBase_GetDisposalMethod",kwnames
,&obj0
,&obj1
)) goto fail
; 
3209     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAnimationBase
, SWIG_POINTER_EXCEPTION 
| 0); 
3210     if (SWIG_arg_fail(1)) SWIG_fail
; 
3212         arg2 
= static_cast<int >(SWIG_As_int(obj1
));  
3213         if (SWIG_arg_fail(2)) SWIG_fail
; 
3216         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3217         result 
= (wxAnimationDisposal
)((wxAnimationBase 
const *)arg1
)->GetDisposalMethod(arg2
); 
3219         wxPyEndAllowThreads(__tstate
); 
3220         if (PyErr_Occurred()) SWIG_fail
; 
3222     resultobj 
= SWIG_From_int((result
)); 
3229 static PyObject 
*_wrap_AnimationBase_GetFrameRect(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3230     PyObject 
*resultobj 
= NULL
; 
3231     wxAnimationBase 
*arg1 
= (wxAnimationBase 
*) 0 ; 
3234     PyObject 
* obj0 
= 0 ; 
3235     PyObject 
* obj1 
= 0 ; 
3237         (char *) "self",(char *) "i", NULL 
 
3240     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AnimationBase_GetFrameRect",kwnames
,&obj0
,&obj1
)) goto fail
; 
3241     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAnimationBase
, SWIG_POINTER_EXCEPTION 
| 0); 
3242     if (SWIG_arg_fail(1)) SWIG_fail
; 
3244         arg2 
= static_cast<int >(SWIG_As_int(obj1
));  
3245         if (SWIG_arg_fail(2)) SWIG_fail
; 
3248         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3249         result 
= ((wxAnimationBase 
const *)arg1
)->GetFrameRect(arg2
); 
3251         wxPyEndAllowThreads(__tstate
); 
3252         if (PyErr_Occurred()) SWIG_fail
; 
3256         resultptr 
= new wxRect(static_cast<wxRect 
& >(result
)); 
3257         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1); 
3265 static PyObject 
*_wrap_AnimationBase_GetDelay(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3266     PyObject 
*resultobj 
= NULL
; 
3267     wxAnimationBase 
*arg1 
= (wxAnimationBase 
*) 0 ; 
3270     PyObject 
* obj0 
= 0 ; 
3271     PyObject 
* obj1 
= 0 ; 
3273         (char *) "self",(char *) "i", NULL 
 
3276     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AnimationBase_GetDelay",kwnames
,&obj0
,&obj1
)) goto fail
; 
3277     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAnimationBase
, SWIG_POINTER_EXCEPTION 
| 0); 
3278     if (SWIG_arg_fail(1)) SWIG_fail
; 
3280         arg2 
= static_cast<int >(SWIG_As_int(obj1
));  
3281         if (SWIG_arg_fail(2)) SWIG_fail
; 
3284         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3285         result 
= (int)((wxAnimationBase 
const *)arg1
)->GetDelay(arg2
); 
3287         wxPyEndAllowThreads(__tstate
); 
3288         if (PyErr_Occurred()) SWIG_fail
; 
3291         resultobj 
= SWIG_From_int(static_cast<int >(result
));  
3299 static PyObject 
*_wrap_AnimationBase_GetLogicalScreenSize(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3300     PyObject 
*resultobj 
= NULL
; 
3301     wxAnimationBase 
*arg1 
= (wxAnimationBase 
*) 0 ; 
3303     PyObject 
* obj0 
= 0 ; 
3305         (char *) "self", NULL 
 
3308     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AnimationBase_GetLogicalScreenSize",kwnames
,&obj0
)) goto fail
; 
3309     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAnimationBase
, SWIG_POINTER_EXCEPTION 
| 0); 
3310     if (SWIG_arg_fail(1)) SWIG_fail
; 
3312         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3313         result 
= ((wxAnimationBase 
const *)arg1
)->GetLogicalScreenSize(); 
3315         wxPyEndAllowThreads(__tstate
); 
3316         if (PyErr_Occurred()) SWIG_fail
; 
3320         resultptr 
= new wxSize(static_cast<wxSize 
& >(result
)); 
3321         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1); 
3329 static PyObject 
*_wrap_AnimationBase_GetBackgroundColour(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3330     PyObject 
*resultobj 
= NULL
; 
3331     wxAnimationBase 
*arg1 
= (wxAnimationBase 
*) 0 ; 
3332     wxColour 
*arg2 
= 0 ; 
3335     PyObject 
* obj0 
= 0 ; 
3336     PyObject 
* obj1 
= 0 ; 
3338         (char *) "self",(char *) "col", NULL 
 
3341     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AnimationBase_GetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
; 
3342     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAnimationBase
, SWIG_POINTER_EXCEPTION 
| 0); 
3343     if (SWIG_arg_fail(1)) SWIG_fail
; 
3346         if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
3349         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3350         result 
= (bool)((wxAnimationBase 
const *)arg1
)->GetBackgroundColour(*arg2
); 
3352         wxPyEndAllowThreads(__tstate
); 
3353         if (PyErr_Occurred()) SWIG_fail
; 
3356         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
3364 static PyObject 
*_wrap_AnimationBase_GetTransparentColour(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3365     PyObject 
*resultobj 
= NULL
; 
3366     wxAnimationBase 
*arg1 
= (wxAnimationBase 
*) 0 ; 
3367     wxColour 
*arg2 
= 0 ; 
3370     PyObject 
* obj0 
= 0 ; 
3371     PyObject 
* obj1 
= 0 ; 
3373         (char *) "self",(char *) "col", NULL 
 
3376     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AnimationBase_GetTransparentColour",kwnames
,&obj0
,&obj1
)) goto fail
; 
3377     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAnimationBase
, SWIG_POINTER_EXCEPTION 
| 0); 
3378     if (SWIG_arg_fail(1)) SWIG_fail
; 
3381         if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
3384         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3385         result 
= (bool)((wxAnimationBase 
const *)arg1
)->GetTransparentColour(*arg2
); 
3387         wxPyEndAllowThreads(__tstate
); 
3388         if (PyErr_Occurred()) SWIG_fail
; 
3391         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
3399 static PyObject 
*_wrap_AnimationBase_IsValid(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3400     PyObject 
*resultobj 
= NULL
; 
3401     wxAnimationBase 
*arg1 
= (wxAnimationBase 
*) 0 ; 
3403     PyObject 
* obj0 
= 0 ; 
3405         (char *) "self", NULL 
 
3408     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AnimationBase_IsValid",kwnames
,&obj0
)) goto fail
; 
3409     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAnimationBase
, SWIG_POINTER_EXCEPTION 
| 0); 
3410     if (SWIG_arg_fail(1)) SWIG_fail
; 
3412         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3413         result 
= (bool)((wxAnimationBase 
const *)arg1
)->IsValid(); 
3415         wxPyEndAllowThreads(__tstate
); 
3416         if (PyErr_Occurred()) SWIG_fail
; 
3419         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
3427 static PyObject 
*_wrap_AnimationBase_LoadFile(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3428     PyObject 
*resultobj 
= NULL
; 
3429     wxAnimationBase 
*arg1 
= (wxAnimationBase 
*) 0 ; 
3430     wxString 
*arg2 
= 0 ; 
3432     bool temp2 
= false ; 
3433     PyObject 
* obj0 
= 0 ; 
3434     PyObject 
* obj1 
= 0 ; 
3436         (char *) "self",(char *) "filename", NULL 
 
3439     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AnimationBase_LoadFile",kwnames
,&obj0
,&obj1
)) goto fail
; 
3440     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAnimationBase
, SWIG_POINTER_EXCEPTION 
| 0); 
3441     if (SWIG_arg_fail(1)) SWIG_fail
; 
3443         arg2 
= wxString_in_helper(obj1
); 
3444         if (arg2 
== NULL
) SWIG_fail
; 
3448         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3449         result 
= (bool)(arg1
)->LoadFile((wxString 
const &)*arg2
); 
3451         wxPyEndAllowThreads(__tstate
); 
3452         if (PyErr_Occurred()) SWIG_fail
; 
3455         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
3471 static PyObject 
* AnimationBase_swigregister(PyObject 
*, PyObject 
*args
) { 
3473     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
3474     SWIG_TypeClientData(SWIGTYPE_p_wxAnimationBase
, obj
); 
3476     return Py_BuildValue((char *)""); 
3478 static PyObject 
*_wrap_new_GIFAnimation(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3479     PyObject 
*resultobj 
= NULL
; 
3480     wxGIFAnimation 
*result
; 
3485     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GIFAnimation",kwnames
)) goto fail
; 
3487         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3488         result 
= (wxGIFAnimation 
*)new wxGIFAnimation(); 
3490         wxPyEndAllowThreads(__tstate
); 
3491         if (PyErr_Occurred()) SWIG_fail
; 
3493     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGIFAnimation
, 1); 
3500 static PyObject 
*_wrap_delete_GIFAnimation(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3501     PyObject 
*resultobj 
= NULL
; 
3502     wxGIFAnimation 
*arg1 
= (wxGIFAnimation 
*) 0 ; 
3503     PyObject 
* obj0 
= 0 ; 
3505         (char *) "self", NULL 
 
3508     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_GIFAnimation",kwnames
,&obj0
)) goto fail
; 
3509     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGIFAnimation
, SWIG_POINTER_EXCEPTION 
| 0); 
3510     if (SWIG_arg_fail(1)) SWIG_fail
; 
3512         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3515         wxPyEndAllowThreads(__tstate
); 
3516         if (PyErr_Occurred()) SWIG_fail
; 
3518     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
3525 static PyObject 
*_wrap_GIFAnimation_GetFrameCount(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3526     PyObject 
*resultobj 
= NULL
; 
3527     wxGIFAnimation 
*arg1 
= (wxGIFAnimation 
*) 0 ; 
3529     PyObject 
* obj0 
= 0 ; 
3531         (char *) "self", NULL 
 
3534     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GIFAnimation_GetFrameCount",kwnames
,&obj0
)) goto fail
; 
3535     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGIFAnimation
, SWIG_POINTER_EXCEPTION 
| 0); 
3536     if (SWIG_arg_fail(1)) SWIG_fail
; 
3538         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3539         result 
= (int)((wxGIFAnimation 
const *)arg1
)->GetFrameCount(); 
3541         wxPyEndAllowThreads(__tstate
); 
3542         if (PyErr_Occurred()) SWIG_fail
; 
3545         resultobj 
= SWIG_From_int(static_cast<int >(result
));  
3553 static PyObject 
*_wrap_GIFAnimation_GetFrame(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3554     PyObject 
*resultobj 
= NULL
; 
3555     wxGIFAnimation 
*arg1 
= (wxGIFAnimation 
*) 0 ; 
3558     PyObject 
* obj0 
= 0 ; 
3559     PyObject 
* obj1 
= 0 ; 
3561         (char *) "self",(char *) "i", NULL 
 
3564     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GIFAnimation_GetFrame",kwnames
,&obj0
,&obj1
)) goto fail
; 
3565     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGIFAnimation
, SWIG_POINTER_EXCEPTION 
| 0); 
3566     if (SWIG_arg_fail(1)) SWIG_fail
; 
3568         arg2 
= static_cast<int >(SWIG_As_int(obj1
));  
3569         if (SWIG_arg_fail(2)) SWIG_fail
; 
3572         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3573         result 
= (wxImage 
*)((wxGIFAnimation 
const *)arg1
)->GetFrame(arg2
); 
3575         wxPyEndAllowThreads(__tstate
); 
3576         if (PyErr_Occurred()) SWIG_fail
; 
3579         resultobj 
= wxPyMake_wxObject(result
, 1);  
3587 static PyObject 
*_wrap_GIFAnimation_GetDisposalMethod(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3588     PyObject 
*resultobj 
= NULL
; 
3589     wxGIFAnimation 
*arg1 
= (wxGIFAnimation 
*) 0 ; 
3591     wxAnimationDisposal result
; 
3592     PyObject 
* obj0 
= 0 ; 
3593     PyObject 
* obj1 
= 0 ; 
3595         (char *) "self",(char *) "i", NULL 
 
3598     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GIFAnimation_GetDisposalMethod",kwnames
,&obj0
,&obj1
)) goto fail
; 
3599     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGIFAnimation
, SWIG_POINTER_EXCEPTION 
| 0); 
3600     if (SWIG_arg_fail(1)) SWIG_fail
; 
3602         arg2 
= static_cast<int >(SWIG_As_int(obj1
));  
3603         if (SWIG_arg_fail(2)) SWIG_fail
; 
3606         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3607         result 
= (wxAnimationDisposal
)((wxGIFAnimation 
const *)arg1
)->GetDisposalMethod(arg2
); 
3609         wxPyEndAllowThreads(__tstate
); 
3610         if (PyErr_Occurred()) SWIG_fail
; 
3612     resultobj 
= SWIG_From_int((result
)); 
3619 static PyObject 
*_wrap_GIFAnimation_GetFrameRect(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3620     PyObject 
*resultobj 
= NULL
; 
3621     wxGIFAnimation 
*arg1 
= (wxGIFAnimation 
*) 0 ; 
3624     PyObject 
* obj0 
= 0 ; 
3625     PyObject 
* obj1 
= 0 ; 
3627         (char *) "self",(char *) "i", NULL 
 
3630     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GIFAnimation_GetFrameRect",kwnames
,&obj0
,&obj1
)) goto fail
; 
3631     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGIFAnimation
, SWIG_POINTER_EXCEPTION 
| 0); 
3632     if (SWIG_arg_fail(1)) SWIG_fail
; 
3634         arg2 
= static_cast<int >(SWIG_As_int(obj1
));  
3635         if (SWIG_arg_fail(2)) SWIG_fail
; 
3638         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3639         result 
= ((wxGIFAnimation 
const *)arg1
)->GetFrameRect(arg2
); 
3641         wxPyEndAllowThreads(__tstate
); 
3642         if (PyErr_Occurred()) SWIG_fail
; 
3646         resultptr 
= new wxRect(static_cast<wxRect 
& >(result
)); 
3647         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1); 
3655 static PyObject 
*_wrap_GIFAnimation_GetDelay(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3656     PyObject 
*resultobj 
= NULL
; 
3657     wxGIFAnimation 
*arg1 
= (wxGIFAnimation 
*) 0 ; 
3660     PyObject 
* obj0 
= 0 ; 
3661     PyObject 
* obj1 
= 0 ; 
3663         (char *) "self",(char *) "i", NULL 
 
3666     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GIFAnimation_GetDelay",kwnames
,&obj0
,&obj1
)) goto fail
; 
3667     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGIFAnimation
, SWIG_POINTER_EXCEPTION 
| 0); 
3668     if (SWIG_arg_fail(1)) SWIG_fail
; 
3670         arg2 
= static_cast<int >(SWIG_As_int(obj1
));  
3671         if (SWIG_arg_fail(2)) SWIG_fail
; 
3674         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3675         result 
= (int)((wxGIFAnimation 
const *)arg1
)->GetDelay(arg2
); 
3677         wxPyEndAllowThreads(__tstate
); 
3678         if (PyErr_Occurred()) SWIG_fail
; 
3681         resultobj 
= SWIG_From_int(static_cast<int >(result
));  
3689 static PyObject 
*_wrap_GIFAnimation_GetLogicalScreenSize(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3690     PyObject 
*resultobj 
= NULL
; 
3691     wxGIFAnimation 
*arg1 
= (wxGIFAnimation 
*) 0 ; 
3693     PyObject 
* obj0 
= 0 ; 
3695         (char *) "self", NULL 
 
3698     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GIFAnimation_GetLogicalScreenSize",kwnames
,&obj0
)) goto fail
; 
3699     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGIFAnimation
, SWIG_POINTER_EXCEPTION 
| 0); 
3700     if (SWIG_arg_fail(1)) SWIG_fail
; 
3702         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3703         result 
= ((wxGIFAnimation 
const *)arg1
)->GetLogicalScreenSize(); 
3705         wxPyEndAllowThreads(__tstate
); 
3706         if (PyErr_Occurred()) SWIG_fail
; 
3710         resultptr 
= new wxSize(static_cast<wxSize 
& >(result
)); 
3711         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1); 
3719 static PyObject 
*_wrap_GIFAnimation_GetBackgroundColour(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3720     PyObject 
*resultobj 
= NULL
; 
3721     wxGIFAnimation 
*arg1 
= (wxGIFAnimation 
*) 0 ; 
3722     wxColour 
*arg2 
= 0 ; 
3725     PyObject 
* obj0 
= 0 ; 
3726     PyObject 
* obj1 
= 0 ; 
3728         (char *) "self",(char *) "col", NULL 
 
3731     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GIFAnimation_GetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
; 
3732     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGIFAnimation
, SWIG_POINTER_EXCEPTION 
| 0); 
3733     if (SWIG_arg_fail(1)) SWIG_fail
; 
3736         if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
3739         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3740         result 
= (bool)((wxGIFAnimation 
const *)arg1
)->GetBackgroundColour(*arg2
); 
3742         wxPyEndAllowThreads(__tstate
); 
3743         if (PyErr_Occurred()) SWIG_fail
; 
3746         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
3754 static PyObject 
*_wrap_GIFAnimation_GetTransparentColour(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3755     PyObject 
*resultobj 
= NULL
; 
3756     wxGIFAnimation 
*arg1 
= (wxGIFAnimation 
*) 0 ; 
3757     wxColour 
*arg2 
= 0 ; 
3760     PyObject 
* obj0 
= 0 ; 
3761     PyObject 
* obj1 
= 0 ; 
3763         (char *) "self",(char *) "col", NULL 
 
3766     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GIFAnimation_GetTransparentColour",kwnames
,&obj0
,&obj1
)) goto fail
; 
3767     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGIFAnimation
, SWIG_POINTER_EXCEPTION 
| 0); 
3768     if (SWIG_arg_fail(1)) SWIG_fail
; 
3771         if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
3774         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3775         result 
= (bool)((wxGIFAnimation 
const *)arg1
)->GetTransparentColour(*arg2
); 
3777         wxPyEndAllowThreads(__tstate
); 
3778         if (PyErr_Occurred()) SWIG_fail
; 
3781         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
3789 static PyObject 
*_wrap_GIFAnimation_IsValid(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3790     PyObject 
*resultobj 
= NULL
; 
3791     wxGIFAnimation 
*arg1 
= (wxGIFAnimation 
*) 0 ; 
3793     PyObject 
* obj0 
= 0 ; 
3795         (char *) "self", NULL 
 
3798     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GIFAnimation_IsValid",kwnames
,&obj0
)) goto fail
; 
3799     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGIFAnimation
, SWIG_POINTER_EXCEPTION 
| 0); 
3800     if (SWIG_arg_fail(1)) SWIG_fail
; 
3802         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3803         result 
= (bool)((wxGIFAnimation 
const *)arg1
)->IsValid(); 
3805         wxPyEndAllowThreads(__tstate
); 
3806         if (PyErr_Occurred()) SWIG_fail
; 
3809         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
3817 static PyObject 
*_wrap_GIFAnimation_LoadFile(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3818     PyObject 
*resultobj 
= NULL
; 
3819     wxGIFAnimation 
*arg1 
= (wxGIFAnimation 
*) 0 ; 
3820     wxString 
*arg2 
= 0 ; 
3822     bool temp2 
= false ; 
3823     PyObject 
* obj0 
= 0 ; 
3824     PyObject 
* obj1 
= 0 ; 
3826         (char *) "self",(char *) "filename", NULL 
 
3829     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GIFAnimation_LoadFile",kwnames
,&obj0
,&obj1
)) goto fail
; 
3830     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGIFAnimation
, SWIG_POINTER_EXCEPTION 
| 0); 
3831     if (SWIG_arg_fail(1)) SWIG_fail
; 
3833         arg2 
= wxString_in_helper(obj1
); 
3834         if (arg2 
== NULL
) SWIG_fail
; 
3838         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3839         result 
= (bool)(arg1
)->LoadFile((wxString 
const &)*arg2
); 
3841         wxPyEndAllowThreads(__tstate
); 
3842         if (PyErr_Occurred()) SWIG_fail
; 
3845         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
3861 static PyObject 
* GIFAnimation_swigregister(PyObject 
*, PyObject 
*args
) { 
3863     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
3864     SWIG_TypeClientData(SWIGTYPE_p_wxGIFAnimation
, obj
); 
3866     return Py_BuildValue((char *)""); 
3868 static PyObject 
*_wrap_new_GIFAnimationCtrl(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3869     PyObject 
*resultobj 
= NULL
; 
3870     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
3871     int arg2 
= (int) -1 ; 
3872     wxString 
const &arg3_defvalue 
= wxPyEmptyString 
; 
3873     wxString 
*arg3 
= (wxString 
*) &arg3_defvalue 
; 
3874     wxPoint 
const &arg4_defvalue 
= wxDefaultPosition 
; 
3875     wxPoint 
*arg4 
= (wxPoint 
*) &arg4_defvalue 
; 
3876     wxSize 
const &arg5_defvalue 
= wxDefaultSize 
; 
3877     wxSize 
*arg5 
= (wxSize 
*) &arg5_defvalue 
; 
3878     long arg6 
= (long) wxAN_FIT_ANIMATION
|wxNO_BORDER 
; 
3879     wxString 
const &arg7_defvalue 
= wxPyAnimationControlNameStr 
; 
3880     wxString 
*arg7 
= (wxString 
*) &arg7_defvalue 
; 
3881     wxGIFAnimationCtrl 
*result
; 
3882     bool temp3 
= false ; 
3885     bool temp7 
= false ; 
3886     PyObject 
* obj0 
= 0 ; 
3887     PyObject 
* obj1 
= 0 ; 
3888     PyObject 
* obj2 
= 0 ; 
3889     PyObject 
* obj3 
= 0 ; 
3890     PyObject 
* obj4 
= 0 ; 
3891     PyObject 
* obj5 
= 0 ; 
3892     PyObject 
* obj6 
= 0 ; 
3894         (char *) "parent",(char *) "id",(char *) "filename",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL 
 
3897     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_GIFAnimationCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
; 
3898     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
3899     if (SWIG_arg_fail(1)) SWIG_fail
; 
3902             arg2 
= static_cast<int >(SWIG_As_int(obj1
));  
3903             if (SWIG_arg_fail(2)) SWIG_fail
; 
3908             arg3 
= wxString_in_helper(obj2
); 
3909             if (arg3 
== NULL
) SWIG_fail
; 
3916             if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
; 
3922             if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
; 
3927             arg6 
= static_cast<long >(SWIG_As_long(obj5
));  
3928             if (SWIG_arg_fail(6)) SWIG_fail
; 
3933             arg7 
= wxString_in_helper(obj6
); 
3934             if (arg7 
== NULL
) SWIG_fail
; 
3939         if (!wxPyCheckForApp()) SWIG_fail
; 
3940         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3941         result 
= (wxGIFAnimationCtrl 
*)new wxGIFAnimationCtrl(arg1
,arg2
,(wxString 
const &)*arg3
,(wxPoint 
const &)*arg4
,(wxSize 
const &)*arg5
,arg6
,(wxString 
const &)*arg7
); 
3943         wxPyEndAllowThreads(__tstate
); 
3944         if (PyErr_Occurred()) SWIG_fail
; 
3946     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGIFAnimationCtrl
, 1); 
3969 static PyObject 
*_wrap_new_PreGIFAnimationCtrl(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3970     PyObject 
*resultobj 
= NULL
; 
3971     wxGIFAnimationCtrl 
*result
; 
3976     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGIFAnimationCtrl",kwnames
)) goto fail
; 
3978         if (!wxPyCheckForApp()) SWIG_fail
; 
3979         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3980         result 
= (wxGIFAnimationCtrl 
*)new wxGIFAnimationCtrl(); 
3982         wxPyEndAllowThreads(__tstate
); 
3983         if (PyErr_Occurred()) SWIG_fail
; 
3985     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGIFAnimationCtrl
, 1); 
3992 static PyObject 
*_wrap_GIFAnimationCtrl_Create(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3993     PyObject 
*resultobj 
= NULL
; 
3994     wxGIFAnimationCtrl 
*arg1 
= (wxGIFAnimationCtrl 
*) 0 ; 
3995     wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
3996     int arg3 
= (int) -1 ; 
3997     wxString 
const &arg4_defvalue 
= wxPyEmptyString 
; 
3998     wxString 
*arg4 
= (wxString 
*) &arg4_defvalue 
; 
3999     wxPoint 
const &arg5_defvalue 
= wxDefaultPosition 
; 
4000     wxPoint 
*arg5 
= (wxPoint 
*) &arg5_defvalue 
; 
4001     wxSize 
const &arg6_defvalue 
= wxDefaultSize 
; 
4002     wxSize 
*arg6 
= (wxSize 
*) &arg6_defvalue 
; 
4003     long arg7 
= (long) wxAN_FIT_ANIMATION
|wxNO_BORDER 
; 
4004     wxString 
const &arg8_defvalue 
= wxPyAnimationControlNameStr 
; 
4005     wxString 
*arg8 
= (wxString 
*) &arg8_defvalue 
; 
4007     bool temp4 
= false ; 
4010     bool temp8 
= false ; 
4011     PyObject 
* obj0 
= 0 ; 
4012     PyObject 
* obj1 
= 0 ; 
4013     PyObject 
* obj2 
= 0 ; 
4014     PyObject 
* obj3 
= 0 ; 
4015     PyObject 
* obj4 
= 0 ; 
4016     PyObject 
* obj5 
= 0 ; 
4017     PyObject 
* obj6 
= 0 ; 
4018     PyObject 
* obj7 
= 0 ; 
4020         (char *) "self",(char *) "parent",(char *) "id",(char *) "filename",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL 
 
4023     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:GIFAnimationCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
; 
4024     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGIFAnimationCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
4025     if (SWIG_arg_fail(1)) SWIG_fail
; 
4026     SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
4027     if (SWIG_arg_fail(2)) SWIG_fail
; 
4030             arg3 
= static_cast<int >(SWIG_As_int(obj2
));  
4031             if (SWIG_arg_fail(3)) SWIG_fail
; 
4036             arg4 
= wxString_in_helper(obj3
); 
4037             if (arg4 
== NULL
) SWIG_fail
; 
4044             if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
; 
4050             if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
; 
4055             arg7 
= static_cast<long >(SWIG_As_long(obj6
));  
4056             if (SWIG_arg_fail(7)) SWIG_fail
; 
4061             arg8 
= wxString_in_helper(obj7
); 
4062             if (arg8 
== NULL
) SWIG_fail
; 
4067         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4068         result 
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString 
const &)*arg4
,(wxPoint 
const &)*arg5
,(wxSize 
const &)*arg6
,arg7
,(wxString 
const &)*arg8
); 
4070         wxPyEndAllowThreads(__tstate
); 
4071         if (PyErr_Occurred()) SWIG_fail
; 
4074         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
4098 static PyObject 
*_wrap_GIFAnimationCtrl_LoadFile(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4099     PyObject 
*resultobj 
= NULL
; 
4100     wxGIFAnimationCtrl 
*arg1 
= (wxGIFAnimationCtrl 
*) 0 ; 
4101     wxString 
const &arg2_defvalue 
= wxPyEmptyString 
; 
4102     wxString 
*arg2 
= (wxString 
*) &arg2_defvalue 
; 
4104     bool temp2 
= false ; 
4105     PyObject 
* obj0 
= 0 ; 
4106     PyObject 
* obj1 
= 0 ; 
4108         (char *) "self",(char *) "filename", NULL 
 
4111     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:GIFAnimationCtrl_LoadFile",kwnames
,&obj0
,&obj1
)) goto fail
; 
4112     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGIFAnimationCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
4113     if (SWIG_arg_fail(1)) SWIG_fail
; 
4116             arg2 
= wxString_in_helper(obj1
); 
4117             if (arg2 
== NULL
) SWIG_fail
; 
4122         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4123         result 
= (bool)(arg1
)->LoadFile((wxString 
const &)*arg2
); 
4125         wxPyEndAllowThreads(__tstate
); 
4126         if (PyErr_Occurred()) SWIG_fail
; 
4129         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
4145 static PyObject 
*_wrap_GIFAnimationCtrl_Play(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4146     PyObject 
*resultobj 
= NULL
; 
4147     wxGIFAnimationCtrl 
*arg1 
= (wxGIFAnimationCtrl 
*) 0 ; 
4148     bool arg2 
= (bool) true ; 
4150     PyObject 
* obj0 
= 0 ; 
4151     PyObject 
* obj1 
= 0 ; 
4153         (char *) "self",(char *) "looped", NULL 
 
4156     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:GIFAnimationCtrl_Play",kwnames
,&obj0
,&obj1
)) goto fail
; 
4157     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGIFAnimationCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
4158     if (SWIG_arg_fail(1)) SWIG_fail
; 
4161             arg2 
= static_cast<bool >(SWIG_As_bool(obj1
));  
4162             if (SWIG_arg_fail(2)) SWIG_fail
; 
4166         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4167         result 
= (bool)(arg1
)->Play(arg2
); 
4169         wxPyEndAllowThreads(__tstate
); 
4170         if (PyErr_Occurred()) SWIG_fail
; 
4173         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
4181 static PyObject 
*_wrap_GIFAnimationCtrl_Stop(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4182     PyObject 
*resultobj 
= NULL
; 
4183     wxGIFAnimationCtrl 
*arg1 
= (wxGIFAnimationCtrl 
*) 0 ; 
4184     PyObject 
* obj0 
= 0 ; 
4186         (char *) "self", NULL 
 
4189     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GIFAnimationCtrl_Stop",kwnames
,&obj0
)) goto fail
; 
4190     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGIFAnimationCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
4191     if (SWIG_arg_fail(1)) SWIG_fail
; 
4193         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4196         wxPyEndAllowThreads(__tstate
); 
4197         if (PyErr_Occurred()) SWIG_fail
; 
4199     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
4206 static PyObject 
*_wrap_GIFAnimationCtrl_FitToAnimation(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4207     PyObject 
*resultobj 
= NULL
; 
4208     wxGIFAnimationCtrl 
*arg1 
= (wxGIFAnimationCtrl 
*) 0 ; 
4209     PyObject 
* obj0 
= 0 ; 
4211         (char *) "self", NULL 
 
4214     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GIFAnimationCtrl_FitToAnimation",kwnames
,&obj0
)) goto fail
; 
4215     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGIFAnimationCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
4216     if (SWIG_arg_fail(1)) SWIG_fail
; 
4218         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4219         (arg1
)->FitToAnimation(); 
4221         wxPyEndAllowThreads(__tstate
); 
4222         if (PyErr_Occurred()) SWIG_fail
; 
4224     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
4231 static PyObject 
*_wrap_GIFAnimationCtrl_IsPlaying(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4232     PyObject 
*resultobj 
= NULL
; 
4233     wxGIFAnimationCtrl 
*arg1 
= (wxGIFAnimationCtrl 
*) 0 ; 
4235     PyObject 
* obj0 
= 0 ; 
4237         (char *) "self", NULL 
 
4240     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GIFAnimationCtrl_IsPlaying",kwnames
,&obj0
)) goto fail
; 
4241     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGIFAnimationCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
4242     if (SWIG_arg_fail(1)) SWIG_fail
; 
4244         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4245         result 
= (bool)((wxGIFAnimationCtrl 
const *)arg1
)->IsPlaying(); 
4247         wxPyEndAllowThreads(__tstate
); 
4248         if (PyErr_Occurred()) SWIG_fail
; 
4251         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
4259 static PyObject 
*_wrap_GIFAnimationCtrl_GetPlayer(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4260     PyObject 
*resultobj 
= NULL
; 
4261     wxGIFAnimationCtrl 
*arg1 
= (wxGIFAnimationCtrl 
*) 0 ; 
4262     wxAnimationPlayer 
*result
; 
4263     PyObject 
* obj0 
= 0 ; 
4265         (char *) "self", NULL 
 
4268     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GIFAnimationCtrl_GetPlayer",kwnames
,&obj0
)) goto fail
; 
4269     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGIFAnimationCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
4270     if (SWIG_arg_fail(1)) SWIG_fail
; 
4272         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4274             wxAnimationPlayer 
&_result_ref 
= (arg1
)->GetPlayer(); 
4275             result 
= (wxAnimationPlayer 
*) &_result_ref
; 
4278         wxPyEndAllowThreads(__tstate
); 
4279         if (PyErr_Occurred()) SWIG_fail
; 
4281     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAnimationPlayer
, 0); 
4288 static PyObject 
*_wrap_GIFAnimationCtrl_GetAnimation(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4289     PyObject 
*resultobj 
= NULL
; 
4290     wxGIFAnimationCtrl 
*arg1 
= (wxGIFAnimationCtrl 
*) 0 ; 
4291     wxAnimationBase 
*result
; 
4292     PyObject 
* obj0 
= 0 ; 
4294         (char *) "self", NULL 
 
4297     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GIFAnimationCtrl_GetAnimation",kwnames
,&obj0
)) goto fail
; 
4298     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGIFAnimationCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
4299     if (SWIG_arg_fail(1)) SWIG_fail
; 
4301         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4302         result 
= (wxAnimationBase 
*)(arg1
)->GetAnimation(); 
4304         wxPyEndAllowThreads(__tstate
); 
4305         if (PyErr_Occurred()) SWIG_fail
; 
4307     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAnimationBase
, 0); 
4314 static PyObject 
*_wrap_GIFAnimationCtrl_GetFilename(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4315     PyObject 
*resultobj 
= NULL
; 
4316     wxGIFAnimationCtrl 
*arg1 
= (wxGIFAnimationCtrl 
*) 0 ; 
4318     PyObject 
* obj0 
= 0 ; 
4320         (char *) "self", NULL 
 
4323     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GIFAnimationCtrl_GetFilename",kwnames
,&obj0
)) goto fail
; 
4324     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGIFAnimationCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
4325     if (SWIG_arg_fail(1)) SWIG_fail
; 
4327         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4329             wxString 
const &_result_ref 
= ((wxGIFAnimationCtrl 
const *)arg1
)->GetFilename(); 
4330             result 
= (wxString 
*) &_result_ref
; 
4333         wxPyEndAllowThreads(__tstate
); 
4334         if (PyErr_Occurred()) SWIG_fail
; 
4338         resultobj 
= PyUnicode_FromWideChar(result
->c_str(), result
->Len()); 
4340         resultobj 
= PyString_FromStringAndSize(result
->c_str(), result
->Len()); 
4349 static PyObject 
*_wrap_GIFAnimationCtrl_SetFilename(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4350     PyObject 
*resultobj 
= NULL
; 
4351     wxGIFAnimationCtrl 
*arg1 
= (wxGIFAnimationCtrl 
*) 0 ; 
4352     wxString 
*arg2 
= 0 ; 
4353     bool temp2 
= false ; 
4354     PyObject 
* obj0 
= 0 ; 
4355     PyObject 
* obj1 
= 0 ; 
4357         (char *) "self",(char *) "filename", NULL 
 
4360     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GIFAnimationCtrl_SetFilename",kwnames
,&obj0
,&obj1
)) goto fail
; 
4361     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGIFAnimationCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
4362     if (SWIG_arg_fail(1)) SWIG_fail
; 
4364         arg2 
= wxString_in_helper(obj1
); 
4365         if (arg2 
== NULL
) SWIG_fail
; 
4369         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4370         (arg1
)->SetFilename((wxString 
const &)*arg2
); 
4372         wxPyEndAllowThreads(__tstate
); 
4373         if (PyErr_Occurred()) SWIG_fail
; 
4375     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
4390 static PyObject 
* GIFAnimationCtrl_swigregister(PyObject 
*, PyObject 
*args
) { 
4392     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
4393     SWIG_TypeClientData(SWIGTYPE_p_wxGIFAnimationCtrl
, obj
); 
4395     return Py_BuildValue((char *)""); 
4397 static PyMethodDef SwigMethods
[] = { 
4398          { (char *)"new_AnimationPlayer", (PyCFunction
) _wrap_new_AnimationPlayer
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
4399          { (char *)"delete_AnimationPlayer", (PyCFunction
) _wrap_delete_AnimationPlayer
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
4400          { (char *)"AnimationPlayer_SetAnimation", (PyCFunction
) _wrap_AnimationPlayer_SetAnimation
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
4401          { (char *)"AnimationPlayer_GetAnimation", (PyCFunction
) _wrap_AnimationPlayer_GetAnimation
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
4402          { (char *)"AnimationPlayer_SetDestroyAnimation", (PyCFunction
) _wrap_AnimationPlayer_SetDestroyAnimation
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
4403          { (char *)"AnimationPlayer_GetDestroyAnimation", (PyCFunction
) _wrap_AnimationPlayer_GetDestroyAnimation
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
4404          { (char *)"AnimationPlayer_SetCurrentFrame", (PyCFunction
) _wrap_AnimationPlayer_SetCurrentFrame
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
4405          { (char *)"AnimationPlayer_GetCurrentFrame", (PyCFunction
) _wrap_AnimationPlayer_GetCurrentFrame
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
4406          { (char *)"AnimationPlayer_SetWindow", (PyCFunction
) _wrap_AnimationPlayer_SetWindow
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
4407          { (char *)"AnimationPlayer_GetWindow", (PyCFunction
) _wrap_AnimationPlayer_GetWindow
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
4408          { (char *)"AnimationPlayer_SetPosition", (PyCFunction
) _wrap_AnimationPlayer_SetPosition
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
4409          { (char *)"AnimationPlayer_GetPosition", (PyCFunction
) _wrap_AnimationPlayer_GetPosition
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
4410          { (char *)"AnimationPlayer_SetLooped", (PyCFunction
) _wrap_AnimationPlayer_SetLooped
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
4411          { (char *)"AnimationPlayer_GetLooped", (PyCFunction
) _wrap_AnimationPlayer_GetLooped
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
4412          { (char *)"AnimationPlayer_HasAnimation", (PyCFunction
) _wrap_AnimationPlayer_HasAnimation
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
4413          { (char *)"AnimationPlayer_IsPlaying", (PyCFunction
) _wrap_AnimationPlayer_IsPlaying
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
4414          { (char *)"AnimationPlayer_UseBackgroundColour", (PyCFunction
) _wrap_AnimationPlayer_UseBackgroundColour
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
4415          { (char *)"AnimationPlayer_UsingBackgroundColour", (PyCFunction
) _wrap_AnimationPlayer_UsingBackgroundColour
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
4416          { (char *)"AnimationPlayer_SetCustomBackgroundColour", (PyCFunction
) _wrap_AnimationPlayer_SetCustomBackgroundColour
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
4417          { (char *)"AnimationPlayer_UsingCustomBackgroundColour", (PyCFunction
) _wrap_AnimationPlayer_UsingCustomBackgroundColour
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
4418          { (char *)"AnimationPlayer_GetCustomBackgroundColour", (PyCFunction
) _wrap_AnimationPlayer_GetCustomBackgroundColour
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
4419          { (char *)"AnimationPlayer_UseParentBackground", (PyCFunction
) _wrap_AnimationPlayer_UseParentBackground
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
4420          { (char *)"AnimationPlayer_UsingParentBackground", (PyCFunction
) _wrap_AnimationPlayer_UsingParentBackground
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
4421          { (char *)"AnimationPlayer_Play", (PyCFunction
) _wrap_AnimationPlayer_Play
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
4422          { (char *)"AnimationPlayer_Build", (PyCFunction
) _wrap_AnimationPlayer_Build
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
4423          { (char *)"AnimationPlayer_Stop", (PyCFunction
) _wrap_AnimationPlayer_Stop
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
4424          { (char *)"AnimationPlayer_Draw", (PyCFunction
) _wrap_AnimationPlayer_Draw
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
4425          { (char *)"AnimationPlayer_GetFrameCount", (PyCFunction
) _wrap_AnimationPlayer_GetFrameCount
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
4426          { (char *)"AnimationPlayer_GetFrame", (PyCFunction
) _wrap_AnimationPlayer_GetFrame
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
4427          { (char *)"AnimationPlayer_GetDisposalMethod", (PyCFunction
) _wrap_AnimationPlayer_GetDisposalMethod
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
4428          { (char *)"AnimationPlayer_GetFrameRect", (PyCFunction
) _wrap_AnimationPlayer_GetFrameRect
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
4429          { (char *)"AnimationPlayer_GetDelay", (PyCFunction
) _wrap_AnimationPlayer_GetDelay
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
4430          { (char *)"AnimationPlayer_GetLogicalScreenSize", (PyCFunction
) _wrap_AnimationPlayer_GetLogicalScreenSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
4431          { (char *)"AnimationPlayer_GetBackgroundColour", (PyCFunction
) _wrap_AnimationPlayer_GetBackgroundColour
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
4432          { (char *)"AnimationPlayer_GetTransparentColour", (PyCFunction
) _wrap_AnimationPlayer_GetTransparentColour
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
4433          { (char *)"AnimationPlayer_PlayFrame", (PyCFunction
) _wrap_AnimationPlayer_PlayFrame
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
4434          { (char *)"AnimationPlayer_PlayNextFrame", (PyCFunction
) _wrap_AnimationPlayer_PlayNextFrame
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
4435          { (char *)"AnimationPlayer_DrawFrame", (PyCFunction
) _wrap_AnimationPlayer_DrawFrame
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
4436          { (char *)"AnimationPlayer_DrawBackground", (PyCFunction
) _wrap_AnimationPlayer_DrawBackground
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
4437          { (char *)"AnimationPlayer_ClearCache", (PyCFunction
) _wrap_AnimationPlayer_ClearCache
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
4438          { (char *)"AnimationPlayer_SaveBackground", (PyCFunction
) _wrap_AnimationPlayer_SaveBackground
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
4439          { (char *)"AnimationPlayer_GetBackingStore", (PyCFunction
) _wrap_AnimationPlayer_GetBackingStore
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
4440          { (char *)"AnimationPlayer_swigregister", AnimationPlayer_swigregister
, METH_VARARGS
, NULL
}, 
4441          { (char *)"delete_AnimationBase", (PyCFunction
) _wrap_delete_AnimationBase
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
4442          { (char *)"AnimationBase_GetFrameCount", (PyCFunction
) _wrap_AnimationBase_GetFrameCount
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
4443          { (char *)"AnimationBase_GetFrame", (PyCFunction
) _wrap_AnimationBase_GetFrame
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
4444          { (char *)"AnimationBase_GetDisposalMethod", (PyCFunction
) _wrap_AnimationBase_GetDisposalMethod
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
4445          { (char *)"AnimationBase_GetFrameRect", (PyCFunction
) _wrap_AnimationBase_GetFrameRect
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
4446          { (char *)"AnimationBase_GetDelay", (PyCFunction
) _wrap_AnimationBase_GetDelay
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
4447          { (char *)"AnimationBase_GetLogicalScreenSize", (PyCFunction
) _wrap_AnimationBase_GetLogicalScreenSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
4448          { (char *)"AnimationBase_GetBackgroundColour", (PyCFunction
) _wrap_AnimationBase_GetBackgroundColour
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
4449          { (char *)"AnimationBase_GetTransparentColour", (PyCFunction
) _wrap_AnimationBase_GetTransparentColour
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
4450          { (char *)"AnimationBase_IsValid", (PyCFunction
) _wrap_AnimationBase_IsValid
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
4451          { (char *)"AnimationBase_LoadFile", (PyCFunction
) _wrap_AnimationBase_LoadFile
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
4452          { (char *)"AnimationBase_swigregister", AnimationBase_swigregister
, METH_VARARGS
, NULL
}, 
4453          { (char *)"new_GIFAnimation", (PyCFunction
) _wrap_new_GIFAnimation
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
4454          { (char *)"delete_GIFAnimation", (PyCFunction
) _wrap_delete_GIFAnimation
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
4455          { (char *)"GIFAnimation_GetFrameCount", (PyCFunction
) _wrap_GIFAnimation_GetFrameCount
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
4456          { (char *)"GIFAnimation_GetFrame", (PyCFunction
) _wrap_GIFAnimation_GetFrame
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
4457          { (char *)"GIFAnimation_GetDisposalMethod", (PyCFunction
) _wrap_GIFAnimation_GetDisposalMethod
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
4458          { (char *)"GIFAnimation_GetFrameRect", (PyCFunction
) _wrap_GIFAnimation_GetFrameRect
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
4459          { (char *)"GIFAnimation_GetDelay", (PyCFunction
) _wrap_GIFAnimation_GetDelay
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
4460          { (char *)"GIFAnimation_GetLogicalScreenSize", (PyCFunction
) _wrap_GIFAnimation_GetLogicalScreenSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
4461          { (char *)"GIFAnimation_GetBackgroundColour", (PyCFunction
) _wrap_GIFAnimation_GetBackgroundColour
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
4462          { (char *)"GIFAnimation_GetTransparentColour", (PyCFunction
) _wrap_GIFAnimation_GetTransparentColour
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
4463          { (char *)"GIFAnimation_IsValid", (PyCFunction
) _wrap_GIFAnimation_IsValid
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
4464          { (char *)"GIFAnimation_LoadFile", (PyCFunction
) _wrap_GIFAnimation_LoadFile
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
4465          { (char *)"GIFAnimation_swigregister", GIFAnimation_swigregister
, METH_VARARGS
, NULL
}, 
4466          { (char *)"new_GIFAnimationCtrl", (PyCFunction
) _wrap_new_GIFAnimationCtrl
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
4467          { (char *)"new_PreGIFAnimationCtrl", (PyCFunction
) _wrap_new_PreGIFAnimationCtrl
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
4468          { (char *)"GIFAnimationCtrl_Create", (PyCFunction
) _wrap_GIFAnimationCtrl_Create
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
4469          { (char *)"GIFAnimationCtrl_LoadFile", (PyCFunction
) _wrap_GIFAnimationCtrl_LoadFile
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
4470          { (char *)"GIFAnimationCtrl_Play", (PyCFunction
) _wrap_GIFAnimationCtrl_Play
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
4471          { (char *)"GIFAnimationCtrl_Stop", (PyCFunction
) _wrap_GIFAnimationCtrl_Stop
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
4472          { (char *)"GIFAnimationCtrl_FitToAnimation", (PyCFunction
) _wrap_GIFAnimationCtrl_FitToAnimation
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
4473          { (char *)"GIFAnimationCtrl_IsPlaying", (PyCFunction
) _wrap_GIFAnimationCtrl_IsPlaying
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
4474          { (char *)"GIFAnimationCtrl_GetPlayer", (PyCFunction
) _wrap_GIFAnimationCtrl_GetPlayer
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
4475          { (char *)"GIFAnimationCtrl_GetAnimation", (PyCFunction
) _wrap_GIFAnimationCtrl_GetAnimation
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
4476          { (char *)"GIFAnimationCtrl_GetFilename", (PyCFunction
) _wrap_GIFAnimationCtrl_GetFilename
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
4477          { (char *)"GIFAnimationCtrl_SetFilename", (PyCFunction
) _wrap_GIFAnimationCtrl_SetFilename
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
4478          { (char *)"GIFAnimationCtrl_swigregister", GIFAnimationCtrl_swigregister
, METH_VARARGS
, NULL
}, 
4479          { NULL
, NULL
, 0, NULL 
} 
4483 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */ 
4485 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) { 
4486     return (void *)((wxObject 
*)  ((wxLayoutConstraints 
*) x
)); 
4488 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) { 
4489     return (void *)((wxObject 
*) (wxSizerItem 
*) ((wxGBSizerItem 
*) x
)); 
4491 static void *_p_wxSizerItemTo_p_wxObject(void *x
) { 
4492     return (void *)((wxObject 
*)  ((wxSizerItem 
*) x
)); 
4494 static void *_p_wxScrollEventTo_p_wxObject(void *x
) { 
4495     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxScrollEvent 
*) x
)); 
4497 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) { 
4498     return (void *)((wxObject 
*)  ((wxIndividualLayoutConstraint 
*) x
)); 
4500 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) { 
4501     return (void *)((wxObject 
*) (wxSizer 
*)(wxBoxSizer 
*) ((wxStaticBoxSizer 
*) x
)); 
4503 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) { 
4504     return (void *)((wxObject 
*) (wxSizer 
*) ((wxBoxSizer 
*) x
)); 
4506 static void *_p_wxSizerTo_p_wxObject(void *x
) { 
4507     return (void *)((wxObject 
*)  ((wxSizer 
*) x
)); 
4509 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) { 
4510     return (void *)((wxObject 
*) (wxSizer 
*)(wxGridSizer 
*)(wxFlexGridSizer 
*) ((wxGridBagSizer 
*) x
)); 
4512 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) { 
4513     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxUpdateUIEvent 
*) x
)); 
4515 static void *_p_wxEventTo_p_wxObject(void *x
) { 
4516     return (void *)((wxObject 
*)  ((wxEvent 
*) x
)); 
4518 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) { 
4519     return (void *)((wxObject 
*) (wxSizer 
*)(wxGridSizer 
*) ((wxFlexGridSizer 
*) x
)); 
4521 static void *_p_wxGridSizerTo_p_wxObject(void *x
) { 
4522     return (void *)((wxObject 
*) (wxSizer 
*) ((wxGridSizer 
*) x
)); 
4524 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) { 
4525     return (void *)((wxObject 
*) (wxEvent 
*) ((wxInitDialogEvent 
*) x
)); 
4527 static void *_p_wxAnimationBaseTo_p_wxObject(void *x
) { 
4528     return (void *)((wxObject 
*)  ((wxAnimationBase 
*) x
)); 
4530 static void *_p_wxPaintEventTo_p_wxObject(void *x
) { 
4531     return (void *)((wxObject 
*) (wxEvent 
*) ((wxPaintEvent 
*) x
)); 
4533 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) { 
4534     return (void *)((wxObject 
*) (wxEvent 
*) ((wxNcPaintEvent 
*) x
)); 
4536 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) { 
4537     return (void *)((wxObject 
*) (wxEvent 
*) ((wxPaletteChangedEvent 
*) x
)); 
4539 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) { 
4540     return (void *)((wxObject 
*) (wxEvent 
*) ((wxDisplayChangedEvent 
*) x
)); 
4542 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) { 
4543     return (void *)((wxObject 
*) (wxEvent 
*) ((wxMouseCaptureChangedEvent 
*) x
)); 
4545 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) { 
4546     return (void *)((wxObject 
*) (wxEvent 
*) ((wxSysColourChangedEvent 
*) x
)); 
4548 static void *_p_wxControlTo_p_wxObject(void *x
) { 
4549     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*) ((wxControl 
*) x
)); 
4551 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) { 
4552     return (void *)((wxObject 
*) (wxEvent 
*) ((wxSetCursorEvent 
*) x
)); 
4554 static void *_p_wxFSFileTo_p_wxObject(void *x
) { 
4555     return (void *)((wxObject 
*)  ((wxFSFile 
*) x
)); 
4557 static void *_p_wxPySizerTo_p_wxObject(void *x
) { 
4558     return (void *)((wxObject 
*) (wxSizer 
*) ((wxPySizer 
*) x
)); 
4560 static void *_p_wxPyEventTo_p_wxObject(void *x
) { 
4561     return (void *)((wxObject 
*) (wxEvent 
*) ((wxPyEvent 
*) x
)); 
4563 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) { 
4564     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxNotifyEvent 
*) x
)); 
4566 static void *_p_wxShowEventTo_p_wxObject(void *x
) { 
4567     return (void *)((wxObject 
*) (wxEvent 
*) ((wxShowEvent 
*) x
)); 
4569 static void *_p_wxAnimationPlayerTo_p_wxObject(void *x
) { 
4570     return (void *)((wxObject 
*)  ((wxAnimationPlayer 
*) x
)); 
4572 static void *_p_wxMenuItemTo_p_wxObject(void *x
) { 
4573     return (void *)((wxObject 
*)  ((wxMenuItem 
*) x
)); 
4575 static void *_p_wxDateEventTo_p_wxObject(void *x
) { 
4576     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxDateEvent 
*) x
)); 
4578 static void *_p_wxIdleEventTo_p_wxObject(void *x
) { 
4579     return (void *)((wxObject 
*) (wxEvent 
*) ((wxIdleEvent 
*) x
)); 
4581 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) { 
4582     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxWindowCreateEvent 
*) x
)); 
4584 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) { 
4585     return (void *)((wxObject 
*) (wxEvent 
*) ((wxQueryNewPaletteEvent 
*) x
)); 
4587 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) { 
4588     return (void *)((wxObject 
*) (wxEvent 
*) ((wxMaximizeEvent 
*) x
)); 
4590 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) { 
4591     return (void *)((wxObject 
*) (wxEvent 
*) ((wxIconizeEvent 
*) x
)); 
4593 static void *_p_wxSizeEventTo_p_wxObject(void *x
) { 
4594     return (void *)((wxObject 
*) (wxEvent 
*) ((wxSizeEvent 
*) x
)); 
4596 static void *_p_wxMoveEventTo_p_wxObject(void *x
) { 
4597     return (void *)((wxObject 
*) (wxEvent 
*) ((wxMoveEvent 
*) x
)); 
4599 static void *_p_wxActivateEventTo_p_wxObject(void *x
) { 
4600     return (void *)((wxObject 
*) (wxEvent 
*) ((wxActivateEvent 
*) x
)); 
4602 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) { 
4603     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxPNMHandler 
*) x
)); 
4605 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) { 
4606     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxJPEGHandler 
*) x
)); 
4608 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) { 
4609     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxPCXHandler 
*) x
)); 
4611 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) { 
4612     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxGIFHandler 
*) x
)); 
4614 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) { 
4615     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxPNGHandler 
*) x
)); 
4617 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) { 
4618     return (void *)((wxObject 
*) (wxImageHandler 
*)(wxBMPHandler 
*)(wxICOHandler 
*)(wxCURHandler 
*) ((wxANIHandler 
*) x
)); 
4620 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) { 
4621     return (void *)((wxObject 
*) (wxImageHandler 
*)(wxBMPHandler 
*)(wxICOHandler 
*) ((wxCURHandler 
*) x
)); 
4623 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) { 
4624     return (void *)((wxObject 
*) (wxImageHandler 
*)(wxBMPHandler 
*) ((wxICOHandler 
*) x
)); 
4626 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) { 
4627     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxBMPHandler 
*) x
)); 
4629 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) { 
4630     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxPyImageHandler 
*) x
)); 
4632 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) { 
4633     return (void *)((wxObject 
*)  ((wxImageHandler 
*) x
)); 
4635 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) { 
4636     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxXPMHandler 
*) x
)); 
4638 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) { 
4639     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxTIFFHandler 
*) x
)); 
4641 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) { 
4642     return (void *)((wxObject 
*)  ((wxEvtHandler 
*) x
)); 
4644 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) { 
4645     return (void *)((wxObject 
*) (wxSizer 
*)(wxBoxSizer 
*) ((wxStdDialogButtonSizer 
*) x
)); 
4647 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) { 
4648     return (void *)((wxObject 
*)  ((wxAcceleratorTable 
*) x
)); 
4650 static void *_p_wxImageTo_p_wxObject(void *x
) { 
4651     return (void *)((wxObject 
*)  ((wxImage 
*) x
)); 
4653 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) { 
4654     return (void *)((wxObject 
*) (wxEvent 
*) ((wxScrollWinEvent 
*) x
)); 
4656 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) { 
4657     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxWindowDestroyEvent 
*) x
)); 
4659 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) { 
4660     return (void *)((wxObject 
*) (wxEvent 
*) ((wxNavigationKeyEvent 
*) x
)); 
4662 static void *_p_wxKeyEventTo_p_wxObject(void *x
) { 
4663     return (void *)((wxObject 
*) (wxEvent 
*) ((wxKeyEvent 
*) x
)); 
4665 static void *_p_wxWindowTo_p_wxObject(void *x
) { 
4666     return (void *)((wxObject 
*) (wxEvtHandler 
*) ((wxWindow 
*) x
)); 
4668 static void *_p_wxMenuTo_p_wxObject(void *x
) { 
4669     return (void *)((wxObject 
*) (wxEvtHandler 
*) ((wxMenu 
*) x
)); 
4671 static void *_p_wxMenuBarTo_p_wxObject(void *x
) { 
4672     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*) ((wxMenuBar 
*) x
)); 
4674 static void *_p_wxFileSystemTo_p_wxObject(void *x
) { 
4675     return (void *)((wxObject 
*)  ((wxFileSystem 
*) x
)); 
4677 static void *_p_wxGIFAnimationTo_p_wxObject(void *x
) { 
4678     return (void *)((wxObject 
*) (wxAnimationBase 
*) ((wxGIFAnimation 
*) x
)); 
4680 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) { 
4681     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxContextMenuEvent 
*) x
)); 
4683 static void *_p_wxMenuEventTo_p_wxObject(void *x
) { 
4684     return (void *)((wxObject 
*) (wxEvent 
*) ((wxMenuEvent 
*) x
)); 
4686 static void *_p_wxPyAppTo_p_wxObject(void *x
) { 
4687     return (void *)((wxObject 
*) (wxEvtHandler 
*) ((wxPyApp 
*) x
)); 
4689 static void *_p_wxCloseEventTo_p_wxObject(void *x
) { 
4690     return (void *)((wxObject 
*) (wxEvent 
*) ((wxCloseEvent 
*) x
)); 
4692 static void *_p_wxMouseEventTo_p_wxObject(void *x
) { 
4693     return (void *)((wxObject 
*) (wxEvent 
*) ((wxMouseEvent 
*) x
)); 
4695 static void *_p_wxEraseEventTo_p_wxObject(void *x
) { 
4696     return (void *)((wxObject 
*) (wxEvent 
*) ((wxEraseEvent 
*) x
)); 
4698 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) { 
4699     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxPyCommandEvent 
*) x
)); 
4701 static void *_p_wxCommandEventTo_p_wxObject(void *x
) { 
4702     return (void *)((wxObject 
*) (wxEvent 
*) ((wxCommandEvent 
*) x
)); 
4704 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) { 
4705     return (void *)((wxObject 
*) (wxEvent 
*) ((wxDropFilesEvent 
*) x
)); 
4707 static void *_p_wxFocusEventTo_p_wxObject(void *x
) { 
4708     return (void *)((wxObject 
*) (wxEvent 
*) ((wxFocusEvent 
*) x
)); 
4710 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) { 
4711     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxChildFocusEvent 
*) x
)); 
4713 static void *_p_wxGIFAnimationCtrlTo_p_wxObject(void *x
) { 
4714     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxControl 
*) ((wxGIFAnimationCtrl 
*) x
)); 
4716 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) { 
4717     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxControl 
*) ((wxControlWithItems 
*) x
)); 
4719 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) { 
4720     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxValidator 
*) ((wxPyValidator 
*) x
)); 
4722 static void *_p_wxValidatorTo_p_wxObject(void *x
) { 
4723     return (void *)((wxObject 
*) (wxEvtHandler 
*) ((wxValidator 
*) x
)); 
4725 static void *_p_wxControlTo_p_wxWindow(void *x
) { 
4726     return (void *)((wxWindow 
*)  ((wxControl 
*) x
)); 
4728 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) { 
4729     return (void *)((wxWindow 
*) (wxControl 
*) ((wxControlWithItems 
*) x
)); 
4731 static void *_p_wxGIFAnimationCtrlTo_p_wxWindow(void *x
) { 
4732     return (void *)((wxWindow 
*) (wxControl 
*) ((wxGIFAnimationCtrl 
*) x
)); 
4734 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) { 
4735     return (void *)((wxWindow 
*)  ((wxMenuBar 
*) x
)); 
4737 static void *_p_wxGIFAnimationTo_p_wxAnimationBase(void *x
) { 
4738     return (void *)((wxAnimationBase 
*)  ((wxGIFAnimation 
*) x
)); 
4740 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) { 
4741     return (void *)((wxEvtHandler 
*) (wxWindow 
*) ((wxControl 
*) x
)); 
4743 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) { 
4744     return (void *)((wxEvtHandler 
*)  ((wxWindow 
*) x
)); 
4746 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) { 
4747     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxControl 
*) ((wxControlWithItems 
*) x
)); 
4749 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) { 
4750     return (void *)((wxEvtHandler 
*)  ((wxPyApp 
*) x
)); 
4752 static void *_p_wxGIFAnimationCtrlTo_p_wxEvtHandler(void *x
) { 
4753     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxControl 
*) ((wxGIFAnimationCtrl 
*) x
)); 
4755 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) { 
4756     return (void *)((wxEvtHandler 
*)  ((wxValidator 
*) x
)); 
4758 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) { 
4759     return (void *)((wxEvtHandler 
*) (wxValidator 
*) ((wxPyValidator 
*) x
)); 
4761 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) { 
4762     return (void *)((wxEvtHandler 
*) (wxWindow 
*) ((wxMenuBar 
*) x
)); 
4764 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) { 
4765     return (void *)((wxEvtHandler 
*)  ((wxMenu 
*) x
)); 
4767 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) { 
4768     return (void *)((wxControl 
*)  ((wxControlWithItems 
*) x
)); 
4770 static void *_p_wxGIFAnimationCtrlTo_p_wxControl(void *x
) { 
4771     return (void *)((wxControl 
*)  ((wxGIFAnimationCtrl 
*) x
)); 
4773 static swig_type_info _swigt__p_char 
= {"_p_char", "char *", 0, 0, 0}; 
4774 static swig_type_info _swigt__p_form_ops_t 
= {"_p_form_ops_t", "enum form_ops_t *|form_ops_t *", 0, 0, 0}; 
4775 static swig_type_info _swigt__p_int 
= {"_p_int", "int *|wxEventType *", 0, 0, 0}; 
4776 static swig_type_info _swigt__p_unsigned_char 
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, 0}; 
4777 static swig_type_info _swigt__p_unsigned_int 
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, 0}; 
4778 static swig_type_info _swigt__p_unsigned_long 
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, 0}; 
4779 static swig_type_info _swigt__p_wxAnimationBase 
= {"_p_wxAnimationBase", "wxAnimationBase *", 0, 0, 0}; 
4780 static swig_type_info _swigt__p_wxAnimationPlayer 
= {"_p_wxAnimationPlayer", "wxAnimationPlayer *", 0, 0, 0}; 
4781 static swig_type_info _swigt__p_wxBitmap 
= {"_p_wxBitmap", "wxBitmap *", 0, 0, 0}; 
4782 static swig_type_info _swigt__p_wxColour 
= {"_p_wxColour", "wxColour *", 0, 0, 0}; 
4783 static swig_type_info _swigt__p_wxControl 
= {"_p_wxControl", "wxControl *", 0, 0, 0}; 
4784 static swig_type_info _swigt__p_wxControlWithItems 
= {"_p_wxControlWithItems", 0, 0, 0, 0}; 
4785 static swig_type_info _swigt__p_wxDC 
= {"_p_wxDC", "wxDC *", 0, 0, 0}; 
4786 static swig_type_info _swigt__p_wxDuplexMode 
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, 0}; 
4787 static swig_type_info _swigt__p_wxEvtHandler 
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, 0}; 
4788 static swig_type_info _swigt__p_wxPyApp 
= {"_p_wxPyApp", 0, 0, 0, 0}; 
4789 static swig_type_info _swigt__p_wxMenuBar 
= {"_p_wxMenuBar", 0, 0, 0, 0}; 
4790 static swig_type_info _swigt__p_wxValidator 
= {"_p_wxValidator", 0, 0, 0, 0}; 
4791 static swig_type_info _swigt__p_wxPyValidator 
= {"_p_wxPyValidator", 0, 0, 0, 0}; 
4792 static swig_type_info _swigt__p_wxMenu 
= {"_p_wxMenu", 0, 0, 0, 0}; 
4793 static swig_type_info _swigt__p_wxGIFAnimation 
= {"_p_wxGIFAnimation", "wxGIFAnimation *", 0, 0, 0}; 
4794 static swig_type_info _swigt__p_wxGIFAnimationCtrl 
= {"_p_wxGIFAnimationCtrl", "wxGIFAnimationCtrl *", 0, 0, 0}; 
4795 static swig_type_info _swigt__p_wxObject 
= {"_p_wxObject", "wxObject *", 0, 0, 0}; 
4796 static swig_type_info _swigt__p_wxLayoutConstraints 
= {"_p_wxLayoutConstraints", 0, 0, 0, 0}; 
4797 static swig_type_info _swigt__p_wxGBSizerItem 
= {"_p_wxGBSizerItem", 0, 0, 0, 0}; 
4798 static swig_type_info _swigt__p_wxSizerItem 
= {"_p_wxSizerItem", 0, 0, 0, 0}; 
4799 static swig_type_info _swigt__p_wxScrollEvent 
= {"_p_wxScrollEvent", 0, 0, 0, 0}; 
4800 static swig_type_info _swigt__p_wxIndividualLayoutConstraint 
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0}; 
4801 static swig_type_info _swigt__p_wxStaticBoxSizer 
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0}; 
4802 static swig_type_info _swigt__p_wxBoxSizer 
= {"_p_wxBoxSizer", 0, 0, 0, 0}; 
4803 static swig_type_info _swigt__p_wxSizer 
= {"_p_wxSizer", 0, 0, 0, 0}; 
4804 static swig_type_info _swigt__p_wxGridBagSizer 
= {"_p_wxGridBagSizer", 0, 0, 0, 0}; 
4805 static swig_type_info _swigt__p_wxUpdateUIEvent 
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0}; 
4806 static swig_type_info _swigt__p_wxEvent 
= {"_p_wxEvent", 0, 0, 0, 0}; 
4807 static swig_type_info _swigt__p_wxGridSizer 
= {"_p_wxGridSizer", 0, 0, 0, 0}; 
4808 static swig_type_info _swigt__p_wxFlexGridSizer 
= {"_p_wxFlexGridSizer", 0, 0, 0, 0}; 
4809 static swig_type_info _swigt__p_wxInitDialogEvent 
= {"_p_wxInitDialogEvent", 0, 0, 0, 0}; 
4810 static swig_type_info _swigt__p_wxPaintEvent 
= {"_p_wxPaintEvent", 0, 0, 0, 0}; 
4811 static swig_type_info _swigt__p_wxNcPaintEvent 
= {"_p_wxNcPaintEvent", 0, 0, 0, 0}; 
4812 static swig_type_info _swigt__p_wxPaletteChangedEvent 
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0}; 
4813 static swig_type_info _swigt__p_wxDisplayChangedEvent 
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0}; 
4814 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent 
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0}; 
4815 static swig_type_info _swigt__p_wxSysColourChangedEvent 
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0}; 
4816 static swig_type_info _swigt__p_wxSetCursorEvent 
= {"_p_wxSetCursorEvent", 0, 0, 0, 0}; 
4817 static swig_type_info _swigt__p_wxFSFile 
= {"_p_wxFSFile", 0, 0, 0, 0}; 
4818 static swig_type_info _swigt__p_wxPySizer 
= {"_p_wxPySizer", 0, 0, 0, 0}; 
4819 static swig_type_info _swigt__p_wxPyEvent 
= {"_p_wxPyEvent", 0, 0, 0, 0}; 
4820 static swig_type_info _swigt__p_wxNotifyEvent 
= {"_p_wxNotifyEvent", 0, 0, 0, 0}; 
4821 static swig_type_info _swigt__p_wxShowEvent 
= {"_p_wxShowEvent", 0, 0, 0, 0}; 
4822 static swig_type_info _swigt__p_wxMenuItem 
= {"_p_wxMenuItem", 0, 0, 0, 0}; 
4823 static swig_type_info _swigt__p_wxWindowCreateEvent 
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0}; 
4824 static swig_type_info _swigt__p_wxIdleEvent 
= {"_p_wxIdleEvent", 0, 0, 0, 0}; 
4825 static swig_type_info _swigt__p_wxDateEvent 
= {"_p_wxDateEvent", 0, 0, 0, 0}; 
4826 static swig_type_info _swigt__p_wxQueryNewPaletteEvent 
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0}; 
4827 static swig_type_info _swigt__p_wxMaximizeEvent 
= {"_p_wxMaximizeEvent", 0, 0, 0, 0}; 
4828 static swig_type_info _swigt__p_wxIconizeEvent 
= {"_p_wxIconizeEvent", 0, 0, 0, 0}; 
4829 static swig_type_info _swigt__p_wxSizeEvent 
= {"_p_wxSizeEvent", 0, 0, 0, 0}; 
4830 static swig_type_info _swigt__p_wxMoveEvent 
= {"_p_wxMoveEvent", 0, 0, 0, 0}; 
4831 static swig_type_info _swigt__p_wxActivateEvent 
= {"_p_wxActivateEvent", 0, 0, 0, 0}; 
4832 static swig_type_info _swigt__p_wxPNMHandler 
= {"_p_wxPNMHandler", 0, 0, 0, 0}; 
4833 static swig_type_info _swigt__p_wxJPEGHandler 
= {"_p_wxJPEGHandler", 0, 0, 0, 0}; 
4834 static swig_type_info _swigt__p_wxPCXHandler 
= {"_p_wxPCXHandler", 0, 0, 0, 0}; 
4835 static swig_type_info _swigt__p_wxGIFHandler 
= {"_p_wxGIFHandler", 0, 0, 0, 0}; 
4836 static swig_type_info _swigt__p_wxPNGHandler 
= {"_p_wxPNGHandler", 0, 0, 0, 0}; 
4837 static swig_type_info _swigt__p_wxANIHandler 
= {"_p_wxANIHandler", 0, 0, 0, 0}; 
4838 static swig_type_info _swigt__p_wxCURHandler 
= {"_p_wxCURHandler", 0, 0, 0, 0}; 
4839 static swig_type_info _swigt__p_wxICOHandler 
= {"_p_wxICOHandler", 0, 0, 0, 0}; 
4840 static swig_type_info _swigt__p_wxBMPHandler 
= {"_p_wxBMPHandler", 0, 0, 0, 0}; 
4841 static swig_type_info _swigt__p_wxPyImageHandler 
= {"_p_wxPyImageHandler", 0, 0, 0, 0}; 
4842 static swig_type_info _swigt__p_wxImageHandler 
= {"_p_wxImageHandler", 0, 0, 0, 0}; 
4843 static swig_type_info _swigt__p_wxXPMHandler 
= {"_p_wxXPMHandler", 0, 0, 0, 0}; 
4844 static swig_type_info _swigt__p_wxTIFFHandler 
= {"_p_wxTIFFHandler", 0, 0, 0, 0}; 
4845 static swig_type_info _swigt__p_wxStdDialogButtonSizer 
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0}; 
4846 static swig_type_info _swigt__p_wxAcceleratorTable 
= {"_p_wxAcceleratorTable", 0, 0, 0, 0}; 
4847 static swig_type_info _swigt__p_wxImage 
= {"_p_wxImage", 0, 0, 0, 0}; 
4848 static swig_type_info _swigt__p_wxScrollWinEvent 
= {"_p_wxScrollWinEvent", 0, 0, 0, 0}; 
4849 static swig_type_info _swigt__p_wxWindowDestroyEvent 
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0}; 
4850 static swig_type_info _swigt__p_wxNavigationKeyEvent 
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0}; 
4851 static swig_type_info _swigt__p_wxKeyEvent 
= {"_p_wxKeyEvent", 0, 0, 0, 0}; 
4852 static swig_type_info _swigt__p_wxFileSystem 
= {"_p_wxFileSystem", 0, 0, 0, 0}; 
4853 static swig_type_info _swigt__p_wxContextMenuEvent 
= {"_p_wxContextMenuEvent", 0, 0, 0, 0}; 
4854 static swig_type_info _swigt__p_wxMenuEvent 
= {"_p_wxMenuEvent", 0, 0, 0, 0}; 
4855 static swig_type_info _swigt__p_wxEraseEvent 
= {"_p_wxEraseEvent", 0, 0, 0, 0}; 
4856 static swig_type_info _swigt__p_wxMouseEvent 
= {"_p_wxMouseEvent", 0, 0, 0, 0}; 
4857 static swig_type_info _swigt__p_wxCloseEvent 
= {"_p_wxCloseEvent", 0, 0, 0, 0}; 
4858 static swig_type_info _swigt__p_wxCommandEvent 
= {"_p_wxCommandEvent", 0, 0, 0, 0}; 
4859 static swig_type_info _swigt__p_wxPyCommandEvent 
= {"_p_wxPyCommandEvent", 0, 0, 0, 0}; 
4860 static swig_type_info _swigt__p_wxDropFilesEvent 
= {"_p_wxDropFilesEvent", 0, 0, 0, 0}; 
4861 static swig_type_info _swigt__p_wxFocusEvent 
= {"_p_wxFocusEvent", 0, 0, 0, 0}; 
4862 static swig_type_info _swigt__p_wxChildFocusEvent 
= {"_p_wxChildFocusEvent", 0, 0, 0, 0}; 
4863 static swig_type_info _swigt__p_wxPaperSize 
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, 0}; 
4864 static swig_type_info _swigt__p_wxPoint 
= {"_p_wxPoint", "wxPoint *", 0, 0, 0}; 
4865 static swig_type_info _swigt__p_wxRect 
= {"_p_wxRect", "wxRect *", 0, 0, 0}; 
4866 static swig_type_info _swigt__p_wxSize 
= {"_p_wxSize", "wxSize *", 0, 0, 0}; 
4867 static swig_type_info _swigt__p_wxWindow 
= {"_p_wxWindow", "wxWindow *", 0, 0, 0}; 
4868 static swig_type_info _swigt__ptrdiff_t 
= {"_ptrdiff_t", "ptrdiff_t", 0, 0, 0}; 
4869 static swig_type_info _swigt__std__ptrdiff_t 
= {"_std__ptrdiff_t", "std::ptrdiff_t", 0, 0, 0}; 
4870 static swig_type_info _swigt__unsigned_int 
= {"_unsigned_int", "unsigned int|std::size_t", 0, 0, 0}; 
4872 static swig_type_info 
*swig_type_initial
[] = { 
4874   &_swigt__p_form_ops_t
, 
4876   &_swigt__p_unsigned_char
, 
4877   &_swigt__p_unsigned_int
, 
4878   &_swigt__p_unsigned_long
, 
4879   &_swigt__p_wxANIHandler
, 
4880   &_swigt__p_wxAcceleratorTable
, 
4881   &_swigt__p_wxActivateEvent
, 
4882   &_swigt__p_wxAnimationBase
, 
4883   &_swigt__p_wxAnimationPlayer
, 
4884   &_swigt__p_wxBMPHandler
, 
4885   &_swigt__p_wxBitmap
, 
4886   &_swigt__p_wxBoxSizer
, 
4887   &_swigt__p_wxCURHandler
, 
4888   &_swigt__p_wxChildFocusEvent
, 
4889   &_swigt__p_wxCloseEvent
, 
4890   &_swigt__p_wxColour
, 
4891   &_swigt__p_wxCommandEvent
, 
4892   &_swigt__p_wxContextMenuEvent
, 
4893   &_swigt__p_wxControl
, 
4894   &_swigt__p_wxControlWithItems
, 
4896   &_swigt__p_wxDateEvent
, 
4897   &_swigt__p_wxDisplayChangedEvent
, 
4898   &_swigt__p_wxDropFilesEvent
, 
4899   &_swigt__p_wxDuplexMode
, 
4900   &_swigt__p_wxEraseEvent
, 
4902   &_swigt__p_wxEvtHandler
, 
4903   &_swigt__p_wxFSFile
, 
4904   &_swigt__p_wxFileSystem
, 
4905   &_swigt__p_wxFlexGridSizer
, 
4906   &_swigt__p_wxFocusEvent
, 
4907   &_swigt__p_wxGBSizerItem
, 
4908   &_swigt__p_wxGIFAnimation
, 
4909   &_swigt__p_wxGIFAnimationCtrl
, 
4910   &_swigt__p_wxGIFHandler
, 
4911   &_swigt__p_wxGridBagSizer
, 
4912   &_swigt__p_wxGridSizer
, 
4913   &_swigt__p_wxICOHandler
, 
4914   &_swigt__p_wxIconizeEvent
, 
4915   &_swigt__p_wxIdleEvent
, 
4917   &_swigt__p_wxImageHandler
, 
4918   &_swigt__p_wxIndividualLayoutConstraint
, 
4919   &_swigt__p_wxInitDialogEvent
, 
4920   &_swigt__p_wxJPEGHandler
, 
4921   &_swigt__p_wxKeyEvent
, 
4922   &_swigt__p_wxLayoutConstraints
, 
4923   &_swigt__p_wxMaximizeEvent
, 
4925   &_swigt__p_wxMenuBar
, 
4926   &_swigt__p_wxMenuEvent
, 
4927   &_swigt__p_wxMenuItem
, 
4928   &_swigt__p_wxMouseCaptureChangedEvent
, 
4929   &_swigt__p_wxMouseEvent
, 
4930   &_swigt__p_wxMoveEvent
, 
4931   &_swigt__p_wxNavigationKeyEvent
, 
4932   &_swigt__p_wxNcPaintEvent
, 
4933   &_swigt__p_wxNotifyEvent
, 
4934   &_swigt__p_wxObject
, 
4935   &_swigt__p_wxPCXHandler
, 
4936   &_swigt__p_wxPNGHandler
, 
4937   &_swigt__p_wxPNMHandler
, 
4938   &_swigt__p_wxPaintEvent
, 
4939   &_swigt__p_wxPaletteChangedEvent
, 
4940   &_swigt__p_wxPaperSize
, 
4943   &_swigt__p_wxPyCommandEvent
, 
4944   &_swigt__p_wxPyEvent
, 
4945   &_swigt__p_wxPyImageHandler
, 
4946   &_swigt__p_wxPySizer
, 
4947   &_swigt__p_wxPyValidator
, 
4948   &_swigt__p_wxQueryNewPaletteEvent
, 
4950   &_swigt__p_wxScrollEvent
, 
4951   &_swigt__p_wxScrollWinEvent
, 
4952   &_swigt__p_wxSetCursorEvent
, 
4953   &_swigt__p_wxShowEvent
, 
4955   &_swigt__p_wxSizeEvent
, 
4957   &_swigt__p_wxSizerItem
, 
4958   &_swigt__p_wxStaticBoxSizer
, 
4959   &_swigt__p_wxStdDialogButtonSizer
, 
4960   &_swigt__p_wxSysColourChangedEvent
, 
4961   &_swigt__p_wxTIFFHandler
, 
4962   &_swigt__p_wxUpdateUIEvent
, 
4963   &_swigt__p_wxValidator
, 
4964   &_swigt__p_wxWindow
, 
4965   &_swigt__p_wxWindowCreateEvent
, 
4966   &_swigt__p_wxWindowDestroyEvent
, 
4967   &_swigt__p_wxXPMHandler
, 
4969   &_swigt__std__ptrdiff_t
, 
4970   &_swigt__unsigned_int
, 
4973 static swig_cast_info _swigc__p_char
[] = {  {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}}; 
4974 static swig_cast_info _swigc__p_form_ops_t
[] = {  {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}}; 
4975 static swig_cast_info _swigc__p_int
[] = {  {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}}; 
4976 static swig_cast_info _swigc__p_unsigned_char
[] = {  {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}}; 
4977 static swig_cast_info _swigc__p_unsigned_int
[] = {  {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}}; 
4978 static swig_cast_info _swigc__p_unsigned_long
[] = {  {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}}; 
4979 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}}; 
4980 static swig_cast_info _swigc__p_wxAnimationPlayer
[] = {  {&_swigt__p_wxAnimationPlayer
, 0, 0, 0},{0, 0, 0, 0}}; 
4981 static swig_cast_info _swigc__p_wxBitmap
[] = {  {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}}; 
4982 static swig_cast_info _swigc__p_wxColour
[] = {  {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}}; 
4983 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}}; 
4984 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}}; 
4985 static swig_cast_info _swigc__p_wxDC
[] = {  {&_swigt__p_wxDC
, 0, 0, 0},{0, 0, 0, 0}}; 
4986 static swig_cast_info _swigc__p_wxDuplexMode
[] = {  {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}}; 
4987 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}}; 
4988 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}}; 
4989 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}}; 
4990 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}}; 
4991 static swig_cast_info _swigc__p_wxMenu
[] = {{&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}}; 
4992 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}}; 
4993 static swig_cast_info _swigc__p_wxGIFAnimation
[] = {  {&_swigt__p_wxGIFAnimation
, 0, 0, 0},{0, 0, 0, 0}}; 
4994 static swig_cast_info _swigc__p_wxGIFAnimationCtrl
[] = {  {&_swigt__p_wxGIFAnimationCtrl
, 0, 0, 0},{0, 0, 0, 0}}; 
4995 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}}; 
4996 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}}; 
4997 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}}; 
4998 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
4999 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}}; 
5000 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}}; 
5001 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}}; 
5002 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}}; 
5003 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}}; 
5004 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
5005 static swig_cast_info _swigc__p_wxEvent
[] = {{&_swigt__p_wxEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
5006 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}}; 
5007 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}}; 
5008 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
5009 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
5010 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
5011 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
5012 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
5013 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
5014 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
5015 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
5016 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}}; 
5017 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}}; 
5018 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
5019 static swig_cast_info _swigc__p_wxNotifyEvent
[] = {{&_swigt__p_wxNotifyEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
5020 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
5021 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}}; 
5022 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
5023 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
5024 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
5025 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
5026 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
5027 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
5028 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
5029 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
5030 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
5031 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}}; 
5032 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}}; 
5033 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}}; 
5034 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}}; 
5035 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}}; 
5036 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}}; 
5037 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}}; 
5038 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}}; 
5039 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}}; 
5040 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}}; 
5041 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}}; 
5042 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}}; 
5043 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}}; 
5044 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}}; 
5045 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}}; 
5046 static swig_cast_info _swigc__p_wxImage
[] = {{&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}}; 
5047 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
5048 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
5049 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
5050 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
5051 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}}; 
5052 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
5053 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
5054 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
5055 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
5056 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
5057 static swig_cast_info _swigc__p_wxCommandEvent
[] = {{&_swigt__p_wxCommandEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
5058 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
5059 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
5060 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
5061 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
5062 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}}; 
5063 static swig_cast_info _swigc__p_wxPaperSize
[] = {  {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}}; 
5064 static swig_cast_info _swigc__p_wxPoint
[] = {  {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}}; 
5065 static swig_cast_info _swigc__p_wxRect
[] = {  {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}}; 
5066 static swig_cast_info _swigc__p_wxSize
[] = {  {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}}; 
5067 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}}; 
5068 static swig_cast_info _swigc__ptrdiff_t
[] = {  {&_swigt__ptrdiff_t
, 0, 0, 0},{0, 0, 0, 0}}; 
5069 static swig_cast_info _swigc__std__ptrdiff_t
[] = {  {&_swigt__std__ptrdiff_t
, 0, 0, 0},{0, 0, 0, 0}}; 
5070 static swig_cast_info _swigc__unsigned_int
[] = {  {&_swigt__unsigned_int
, 0, 0, 0},{0, 0, 0, 0}}; 
5072 static swig_cast_info 
*swig_cast_initial
[] = { 
5074   _swigc__p_form_ops_t
, 
5076   _swigc__p_unsigned_char
, 
5077   _swigc__p_unsigned_int
, 
5078   _swigc__p_unsigned_long
, 
5079   _swigc__p_wxANIHandler
, 
5080   _swigc__p_wxAcceleratorTable
, 
5081   _swigc__p_wxActivateEvent
, 
5082   _swigc__p_wxAnimationBase
, 
5083   _swigc__p_wxAnimationPlayer
, 
5084   _swigc__p_wxBMPHandler
, 
5086   _swigc__p_wxBoxSizer
, 
5087   _swigc__p_wxCURHandler
, 
5088   _swigc__p_wxChildFocusEvent
, 
5089   _swigc__p_wxCloseEvent
, 
5091   _swigc__p_wxCommandEvent
, 
5092   _swigc__p_wxContextMenuEvent
, 
5093   _swigc__p_wxControl
, 
5094   _swigc__p_wxControlWithItems
, 
5096   _swigc__p_wxDateEvent
, 
5097   _swigc__p_wxDisplayChangedEvent
, 
5098   _swigc__p_wxDropFilesEvent
, 
5099   _swigc__p_wxDuplexMode
, 
5100   _swigc__p_wxEraseEvent
, 
5102   _swigc__p_wxEvtHandler
, 
5104   _swigc__p_wxFileSystem
, 
5105   _swigc__p_wxFlexGridSizer
, 
5106   _swigc__p_wxFocusEvent
, 
5107   _swigc__p_wxGBSizerItem
, 
5108   _swigc__p_wxGIFAnimation
, 
5109   _swigc__p_wxGIFAnimationCtrl
, 
5110   _swigc__p_wxGIFHandler
, 
5111   _swigc__p_wxGridBagSizer
, 
5112   _swigc__p_wxGridSizer
, 
5113   _swigc__p_wxICOHandler
, 
5114   _swigc__p_wxIconizeEvent
, 
5115   _swigc__p_wxIdleEvent
, 
5117   _swigc__p_wxImageHandler
, 
5118   _swigc__p_wxIndividualLayoutConstraint
, 
5119   _swigc__p_wxInitDialogEvent
, 
5120   _swigc__p_wxJPEGHandler
, 
5121   _swigc__p_wxKeyEvent
, 
5122   _swigc__p_wxLayoutConstraints
, 
5123   _swigc__p_wxMaximizeEvent
, 
5125   _swigc__p_wxMenuBar
, 
5126   _swigc__p_wxMenuEvent
, 
5127   _swigc__p_wxMenuItem
, 
5128   _swigc__p_wxMouseCaptureChangedEvent
, 
5129   _swigc__p_wxMouseEvent
, 
5130   _swigc__p_wxMoveEvent
, 
5131   _swigc__p_wxNavigationKeyEvent
, 
5132   _swigc__p_wxNcPaintEvent
, 
5133   _swigc__p_wxNotifyEvent
, 
5135   _swigc__p_wxPCXHandler
, 
5136   _swigc__p_wxPNGHandler
, 
5137   _swigc__p_wxPNMHandler
, 
5138   _swigc__p_wxPaintEvent
, 
5139   _swigc__p_wxPaletteChangedEvent
, 
5140   _swigc__p_wxPaperSize
, 
5143   _swigc__p_wxPyCommandEvent
, 
5144   _swigc__p_wxPyEvent
, 
5145   _swigc__p_wxPyImageHandler
, 
5146   _swigc__p_wxPySizer
, 
5147   _swigc__p_wxPyValidator
, 
5148   _swigc__p_wxQueryNewPaletteEvent
, 
5150   _swigc__p_wxScrollEvent
, 
5151   _swigc__p_wxScrollWinEvent
, 
5152   _swigc__p_wxSetCursorEvent
, 
5153   _swigc__p_wxShowEvent
, 
5155   _swigc__p_wxSizeEvent
, 
5157   _swigc__p_wxSizerItem
, 
5158   _swigc__p_wxStaticBoxSizer
, 
5159   _swigc__p_wxStdDialogButtonSizer
, 
5160   _swigc__p_wxSysColourChangedEvent
, 
5161   _swigc__p_wxTIFFHandler
, 
5162   _swigc__p_wxUpdateUIEvent
, 
5163   _swigc__p_wxValidator
, 
5165   _swigc__p_wxWindowCreateEvent
, 
5166   _swigc__p_wxWindowDestroyEvent
, 
5167   _swigc__p_wxXPMHandler
, 
5169   _swigc__std__ptrdiff_t
, 
5170   _swigc__unsigned_int
, 
5174 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */ 
5176 static swig_const_info swig_const_table
[] = { 
5177 {0, 0, 0, 0.0, 0, 0}}; 
5182 /************************************************************************* 
5183  * Type initialization: 
5184  * This problem is tough by the requirement that no dynamic  
5185  * memory is used. Also, since swig_type_info structures store pointers to  
5186  * swig_cast_info structures and swig_cast_info structures store pointers back 
5187  * to swig_type_info structures, we need some lookup code at initialization.  
5188  * The idea is that swig generates all the structures that are needed.  
5189  * The runtime then collects these partially filled structures.  
5190  * The SWIG_InitializeModule function takes these initial arrays out of  
5191  * swig_module, and does all the lookup, filling in the swig_module.types 
5192  * array with the correct data and linking the correct swig_cast_info 
5193  * structures together. 
5195  * The generated swig_type_info structures are assigned staticly to an initial  
5196  * array. We just loop though that array, and handle each type individually. 
5197  * First we lookup if this type has been already loaded, and if so, use the 
5198  * loaded structure instead of the generated one. Then we have to fill in the 
5199  * cast linked list. The cast data is initially stored in something like a 
5200  * two-dimensional array. Each row corresponds to a type (there are the same 
5201  * number of rows as there are in the swig_type_initial array). Each entry in 
5202  * a column is one of the swig_cast_info structures for that type. 
5203  * The cast_initial array is actually an array of arrays, because each row has 
5204  * a variable number of columns. So to actually build the cast linked list, 
5205  * we find the array of casts associated with the type, and loop through it  
5206  * adding the casts to the list. The one last trick we need to do is making 
5207  * sure the type pointer in the swig_cast_info struct is correct. 
5209  * First off, we lookup the cast->type name to see if it is already loaded.  
5210  * There are three cases to handle: 
5211  *  1) If the cast->type has already been loaded AND the type we are adding 
5212  *     casting info to has not been loaded (it is in this module), THEN we 
5213  *     replace the cast->type pointer with the type pointer that has already 
5215  *  2) If BOTH types (the one we are adding casting info to, and the  
5216  *     cast->type) are loaded, THEN the cast info has already been loaded by 
5217  *     the previous module so we just ignore it. 
5218  *  3) Finally, if cast->type has not already been loaded, then we add that 
5219  *     swig_cast_info to the linked list (because the cast->type) pointer will 
5231 #define SWIGRUNTIME_DEBUG 
5235 SWIG_InitializeModule(void *clientdata
) { 
5237     swig_module_info 
*module_head
; 
5238     static int init_run 
= 0; 
5240     clientdata 
= clientdata
; 
5242     if (init_run
) return; 
5245     /* Initialize the swig_module */ 
5246     swig_module
.type_initial 
= swig_type_initial
; 
5247     swig_module
.cast_initial 
= swig_cast_initial
; 
5249     /* Try and load any already created modules */ 
5250     module_head 
= SWIG_GetModule(clientdata
); 
5252         swig_module
.next 
= module_head
->next
; 
5253         module_head
->next 
= &swig_module
; 
5255         /* This is the first module loaded */ 
5256         swig_module
.next 
= &swig_module
; 
5257         SWIG_SetModule(clientdata
, &swig_module
); 
5260     /* Now work on filling in swig_module.types */ 
5261 #ifdef SWIGRUNTIME_DEBUG 
5262     printf("SWIG_InitializeModule: size %d\n", swig_module
.size
); 
5264     for (i 
= 0; i 
< swig_module
.size
; ++i
) { 
5265         swig_type_info 
*type 
= 0; 
5266         swig_type_info 
*ret
; 
5267         swig_cast_info 
*cast
; 
5269 #ifdef SWIGRUNTIME_DEBUG 
5270         printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
); 
5273         /* if there is another module already loaded */ 
5274         if (swig_module
.next 
!= &swig_module
) { 
5275             type 
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
); 
5278             /* Overwrite clientdata field */ 
5279 #ifdef SWIGRUNTIME_DEBUG 
5280             printf("SWIG_InitializeModule: found type %s\n", type
->name
); 
5282             if (swig_module
.type_initial
[i
]->clientdata
) { 
5283                 type
->clientdata 
= swig_module
.type_initial
[i
]->clientdata
; 
5284 #ifdef SWIGRUNTIME_DEBUG 
5285                 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
); 
5289             type 
= swig_module
.type_initial
[i
]; 
5292         /* Insert casting types */ 
5293         cast 
= swig_module
.cast_initial
[i
]; 
5294         while (cast
->type
) { 
5295             /* Don't need to add information already in the list */ 
5297 #ifdef SWIGRUNTIME_DEBUG 
5298             printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
); 
5300             if (swig_module
.next 
!= &swig_module
) { 
5301                 ret 
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
); 
5302 #ifdef SWIGRUNTIME_DEBUG 
5303                 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
); 
5307                 if (type 
== swig_module
.type_initial
[i
]) { 
5308 #ifdef SWIGRUNTIME_DEBUG 
5309                     printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
); 
5314                     /* Check for casting already in the list */ 
5315                     swig_cast_info 
*ocast 
= SWIG_TypeCheck(ret
->name
, type
); 
5316 #ifdef SWIGRUNTIME_DEBUG 
5317                     if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
); 
5319                     if (!ocast
) ret 
= 0; 
5324 #ifdef SWIGRUNTIME_DEBUG 
5325                 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
); 
5328                     type
->cast
->prev 
= cast
; 
5329                     cast
->next 
= type
->cast
; 
5335         /* Set entry in modules->types array equal to the type */ 
5336         swig_module
.types
[i
] = type
; 
5338     swig_module
.types
[i
] = 0; 
5340 #ifdef SWIGRUNTIME_DEBUG 
5341     printf("**** SWIG_InitializeModule: Cast List ******\n"); 
5342     for (i 
= 0; i 
< swig_module
.size
; ++i
) { 
5344         swig_cast_info 
*cast 
= swig_module
.cast_initial
[i
]; 
5345         printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
); 
5346         while (cast
->type
) { 
5347             printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
); 
5351         printf("---- Total casts: %d\n",j
); 
5353     printf("**** SWIG_InitializeModule: Cast List ******\n"); 
5357 /* This function will propagate the clientdata field of type to 
5358 * any new swig_type_info structures that have been added into the list 
5359 * of equivalent types.  It is like calling 
5360 * SWIG_TypeClientData(type, clientdata) a second time. 
5363 SWIG_PropagateClientData(void) { 
5365     swig_cast_info 
*equiv
; 
5366     static int init_run 
= 0; 
5368     if (init_run
) return; 
5371     for (i 
= 0; i 
< swig_module
.size
; i
++) { 
5372         if (swig_module
.types
[i
]->clientdata
) { 
5373             equiv 
= swig_module
.types
[i
]->cast
; 
5375                 if (!equiv
->converter
) { 
5376                     if (equiv
->type 
&& !equiv
->type
->clientdata
) 
5377                     SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
); 
5379                 equiv 
= equiv
->next
; 
5399     /* Python-specific SWIG API */ 
5400 #define SWIG_newvarlink()                             SWIG_Python_newvarlink() 
5401 #define SWIG_addvarlink(p, name, get_attr, set_attr)  SWIG_Python_addvarlink(p, name, get_attr, set_attr) 
5402 #define SWIG_InstallConstants(d, constants)           SWIG_Python_InstallConstants(d, constants) 
5404     /* ----------------------------------------------------------------------------- 
5405      * global variable support code. 
5406      * ----------------------------------------------------------------------------- */ 
5408     typedef struct swig_globalvar 
{ 
5409         char       *name
;                  /* Name of global variable */ 
5410         PyObject 
*(*get_attr
)(void);       /* Return the current value */ 
5411         int       (*set_attr
)(PyObject 
*); /* Set the value */ 
5412         struct swig_globalvar 
*next
; 
5415     typedef struct swig_varlinkobject 
{ 
5417         swig_globalvar 
*vars
; 
5418     } swig_varlinkobject
; 
5420     SWIGINTERN PyObject 
* 
5421     swig_varlink_repr(swig_varlinkobject 
*v
) { 
5423         return PyString_FromString("<Swig global variables>"); 
5427     swig_varlink_print(swig_varlinkobject 
*v
, FILE *fp
, int flags
) { 
5428         swig_globalvar  
*var
; 
5430         fprintf(fp
,"Swig global variables { "); 
5431         for (var 
= v
->vars
; var
; var
=var
->next
) { 
5432             fprintf(fp
,"%s", var
->name
); 
5433             if (var
->next
) fprintf(fp
,", "); 
5439     SWIGINTERN PyObject 
* 
5440     swig_varlink_getattr(swig_varlinkobject 
*v
, char *n
) { 
5441         swig_globalvar 
*var 
= v
->vars
; 
5443             if (strcmp(var
->name
,n
) == 0) { 
5444                 return (*var
->get_attr
)(); 
5448         PyErr_SetString(PyExc_NameError
,"Unknown C global variable"); 
5453     swig_varlink_setattr(swig_varlinkobject 
*v
, char *n
, PyObject 
*p
) { 
5454         swig_globalvar 
*var 
= v
->vars
; 
5456             if (strcmp(var
->name
,n
) == 0) { 
5457                 return (*var
->set_attr
)(p
); 
5461         PyErr_SetString(PyExc_NameError
,"Unknown C global variable"); 
5465     SWIGINTERN PyTypeObject
* 
5466     swig_varlink_type(void) { 
5467         static char varlink__doc__
[] = "Swig var link object"; 
5468         static PyTypeObject varlink_type
 
5469 #if !defined(__cplusplus) 
5471         static int type_init 
= 0;   
5476                 PyObject_HEAD_INIT(&PyType_Type
) 
5477                 0,                                  /* Number of items in variable part (ob_size) */ 
5478                 (char *)"swigvarlink",              /* Type name (tp_name) */ 
5479                 sizeof(swig_varlinkobject
),         /* Basic size (tp_basicsize) */ 
5480                 0,                                  /* Itemsize (tp_itemsize) */ 
5481                 0,                                  /* Deallocator (tp_dealloc) */  
5482                 (printfunc
) swig_varlink_print
,     /* Print (tp_print) */ 
5483                 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */ 
5484                 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */ 
5486                 (reprfunc
) swig_varlink_repr
,       /* tp_repr */ 
5487                 0,                                  /* tp_as_number */ 
5488                 0,                                  /* tp_as_sequence */ 
5489                 0,                                  /* tp_as_mapping */ 
5493                 0,                                  /* tp_getattro */ 
5494                 0,                                  /* tp_setattro */ 
5495                 0,                                  /* tp_as_buffer */ 
5497                 varlink__doc__
,                     /* tp_doc */ 
5498 #if PY_VERSION_HEX >= 0x02000000 
5499                 0,                                  /* tp_traverse */ 
5502 #if PY_VERSION_HEX >= 0x02010000 
5503                 0,                                  /* tp_richcompare */ 
5504                 0,                                  /* tp_weaklistoffset */ 
5506 #if PY_VERSION_HEX >= 0x02020000 
5507                 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */ 
5509 #if PY_VERSION_HEX >= 0x02030000 
5513                 0,0,0,0                             /* tp_alloc -> tp_next */ 
5516 #if !defined(__cplusplus) 
5521         return &varlink_type
; 
5524     /* Create a variable linking object for use later */ 
5525     SWIGINTERN PyObject 
* 
5526     SWIG_Python_newvarlink(void) { 
5527         swig_varlinkobject 
*result 
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type()); 
5531         return ((PyObject
*) result
); 
5535     SWIG_Python_addvarlink(PyObject 
*p
, char *name
, PyObject 
*(*get_attr
)(void), int (*set_attr
)(PyObject 
*p
)) { 
5536         swig_varlinkobject 
*v 
= (swig_varlinkobject 
*) p
; 
5537         swig_globalvar 
*gv 
= (swig_globalvar 
*) malloc(sizeof(swig_globalvar
)); 
5539             size_t size 
= strlen(name
)+1; 
5540             gv
->name 
= (char *)malloc(size
); 
5542                 strncpy(gv
->name
,name
,size
); 
5543                 gv
->get_attr 
= get_attr
; 
5544                 gv
->set_attr 
= set_attr
; 
5551     /* ----------------------------------------------------------------------------- 
5552      * constants/methods manipulation 
5553      * ----------------------------------------------------------------------------- */ 
5555     /* Install Constants */ 
5557     SWIG_Python_InstallConstants(PyObject 
*d
, swig_const_info constants
[]) { 
5560         for (i 
= 0; constants
[i
].type
; ++i
) { 
5561             switch(constants
[i
].type
) { 
5563                 obj 
= PyInt_FromLong(constants
[i
].lvalue
); 
5566                 obj 
= PyFloat_FromDouble(constants
[i
].dvalue
); 
5568                 case SWIG_PY_STRING
: 
5569                 if (constants
[i
].pvalue
) { 
5570                     obj 
= PyString_FromString((char *) constants
[i
].pvalue
); 
5576                 case SWIG_PY_POINTER
: 
5577                 obj 
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0); 
5579                 case SWIG_PY_BINARY
: 
5580                 obj 
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
)); 
5587                 PyDict_SetItemString(d
,constants
[i
].name
,obj
); 
5593     /* -----------------------------------------------------------------------------*/ 
5594     /* Fix SwigMethods to carry the callback ptrs when needed */ 
5595     /* -----------------------------------------------------------------------------*/ 
5598     SWIG_Python_FixMethods(PyMethodDef 
*methods
, 
5599     swig_const_info 
*const_table
, 
5600     swig_type_info 
**types
, 
5601     swig_type_info 
**types_initial
) { 
5603         for (i 
= 0; methods
[i
].ml_name
; ++i
) { 
5604             char *c 
= methods
[i
].ml_doc
; 
5605             if (c 
&& (c 
= strstr(c
, "swig_ptr: "))) { 
5607                 swig_const_info 
*ci 
= 0; 
5608                 char *name 
= c 
+ 10; 
5609                 for (j 
= 0; const_table
[j
].type
; ++j
) { 
5610                     if (strncmp(const_table
[j
].name
, name
,  
5611                     strlen(const_table
[j
].name
)) == 0) { 
5612                         ci 
= &(const_table
[j
]); 
5617                     size_t shift 
= (ci
->ptype
) - types
; 
5618                     swig_type_info 
*ty 
= types_initial
[shift
]; 
5619                     size_t ldoc 
= (c 
- methods
[i
].ml_doc
); 
5620                     size_t lptr 
= strlen(ty
->name
)+2*sizeof(void*)+2; 
5621                     char *ndoc 
= (char*)malloc(ldoc 
+ lptr 
+ 10); 
5624                         void *ptr 
= (ci
->type 
== SWIG_PY_POINTER
) ? ci
->pvalue 
: 0; 
5626                             strncpy(buff
, methods
[i
].ml_doc
, ldoc
); 
5628                             strncpy(buff
, "swig_ptr: ", 10); 
5630                             SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
); 
5631                             methods
[i
].ml_doc 
= ndoc
; 
5639     /* -----------------------------------------------------------------------------* 
5640      *  Initialize type list 
5641      * -----------------------------------------------------------------------------*/ 
5647 /* -----------------------------------------------------------------------------* 
5648  *  Partial Init method 
5649  * -----------------------------------------------------------------------------*/ 
5654 SWIGEXPORT 
void SWIG_init(void) { 
5655     static PyObject 
*SWIG_globals 
= 0;  
5657     if (!SWIG_globals
) SWIG_globals 
= SWIG_newvarlink(); 
5659     /* Fix SwigMethods to carry the callback ptrs when needed */ 
5660     SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
); 
5662     m 
= Py_InitModule((char *) SWIG_name
, SwigMethods
); 
5663     d 
= PyModule_GetDict(m
); 
5665     SWIG_InitializeModule(0); 
5666     SWIG_InstallConstants(d
,swig_const_table
); 
5668     PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
); 
5669     SWIG_addvarlink(SWIG_globals
,(char*)"AnimationControlNameStr",_wrap_AnimationControlNameStr_get
, _wrap_AnimationControlNameStr_set
); 
5671         PyDict_SetItemString(d
,"ANIM_UNSPECIFIED", SWIG_From_int(static_cast<int >(wxANIM_UNSPECIFIED
)));  
5674         PyDict_SetItemString(d
,"ANIM_DONOTREMOVE", SWIG_From_int(static_cast<int >(wxANIM_DONOTREMOVE
)));  
5677         PyDict_SetItemString(d
,"ANIM_TOBACKGROUND", SWIG_From_int(static_cast<int >(wxANIM_TOBACKGROUND
)));  
5680         PyDict_SetItemString(d
,"ANIM_TOPREVIOUS", SWIG_From_int(static_cast<int >(wxANIM_TOPREVIOUS
)));  
5683         PyDict_SetItemString(d
,"AN_FIT_ANIMATION", SWIG_From_int(static_cast<int >(wxAN_FIT_ANIMATION
)));