1 /* ---------------------------------------------------------------------------- 
   2  * This file was automatically generated by SWIG (http://www.swig.org). 
   5  * This file is not intended to be easily readable and contains a number of  
   6  * coding conventions designed to improve portability and efficiency. Do not make 
   7  * changes to this file unless you know what you are doing--modify the SWIG  
   8  * interface file instead.  
   9  * ----------------------------------------------------------------------------- */ 
  12 #define SWIG_VERSION 0x010327 
  15 template<class T
> class SwigValueWrapper 
{ 
  18     SwigValueWrapper() : tt(0) { } 
  19     SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { } 
  20     SwigValueWrapper(const T
& t
) : tt(new T(t
)) { } 
  21     ~SwigValueWrapper() { delete tt
; }  
  22     SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt 
= new T(t
); return *this; } 
  23     operator T
&() const { return *tt
; } 
  24     T 
*operator&() { return tt
; } 
  26     SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
); 
  30 /*********************************************************************** 
  32  *  This section contains generic SWIG labels for method/variable 
  33  *  declarations/attributes, and other compiler dependent labels. 
  35  ************************************************************************/ 
  37 /* template workaround for compilers that cannot correctly implement the C++ standard */ 
  38 #ifndef SWIGTEMPLATEDISAMBIGUATOR 
  39 #  if defined(__SUNPRO_CC) && (__SUNPRO_CC <= 0x560) 
  40 #    define SWIGTEMPLATEDISAMBIGUATOR template 
  42 #    define SWIGTEMPLATEDISAMBIGUATOR  
  46 /* inline attribute */ 
  48 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__)) 
  49 #   define SWIGINLINE inline 
  55 /* attribute recognised by some compilers to avoid 'unused' warnings */ 
  57 # if defined(__GNUC__) || defined(__ICC) 
  58 #   define SWIGUNUSED __attribute__ ((unused))  
  64 /* internal SWIG method */ 
  66 # define SWIGINTERN static SWIGUNUSED 
  69 /* internal inline SWIG method */ 
  70 #ifndef SWIGINTERNINLINE 
  71 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE 
  74 /* exporting methods for Windows DLLs */ 
  76 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__) 
  77 #   if defined(STATIC_LINKED) 
  80 #     define SWIGEXPORT __declspec(dllexport) 
  87 /* calling conventions for Windows */ 
  89 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__) 
  90 #   define SWIGSTDCALL __stdcall 
 100 /*********************************************************************** 
 103  *     This file contains generic CAPI SWIG runtime support for pointer 
 106  ************************************************************************/ 
 108 /* This should only be incremented when either the layout of swig_type_info changes, 
 109    or for whatever reason, the runtime changes incompatibly */ 
 110 #define SWIG_RUNTIME_VERSION "2" 
 112 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */ 
 113 #ifdef SWIG_TYPE_TABLE 
 114 # define SWIG_QUOTE_STRING(x) #x 
 115 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x) 
 116 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE) 
 118 # define SWIG_TYPE_TABLE_NAME 
 122   You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for 
 123   creating a static or dynamic library from the swig runtime code. 
 124   In 99.9% of the cases, swig just needs to declare them as 'static'. 
 126   But only do this if is strictly necessary, ie, if you have problems 
 127   with your compiler or so. 
 131 # define SWIGRUNTIME SWIGINTERN 
 134 #ifndef SWIGRUNTIMEINLINE 
 135 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE 
 144 typedef void *(*swig_converter_func
)(void *); 
 145 typedef struct swig_type_info 
*(*swig_dycast_func
)(void **); 
 147 /* Structure to store inforomation on one type */ 
 148 typedef struct swig_type_info 
{ 
 149   const char             *name
;                 /* mangled name of this type */ 
 150   const char             *str
;                  /* human readable name of this type */ 
 151   swig_dycast_func        dcast
;                /* dynamic cast function down a hierarchy */ 
 152   struct swig_cast_info  
*cast
;                 /* linked list of types that can cast into this type */ 
 153   void                   *clientdata
;           /* language specific type data */ 
 156 /* Structure to store a type and conversion function used for casting */ 
 157 typedef struct swig_cast_info 
{ 
 158   swig_type_info         
*type
;                 /* pointer to type that is equivalent to this type */ 
 159   swig_converter_func     converter
;            /* function to cast the void pointers */ 
 160   struct swig_cast_info  
*next
;                 /* pointer to next cast in linked list */ 
 161   struct swig_cast_info  
*prev
;                 /* pointer to the previous cast */ 
 164 /* Structure used to store module information 
 165  * Each module generates one structure like this, and the runtime collects 
 166  * all of these structures and stores them in a circularly linked list.*/ 
 167 typedef struct swig_module_info 
{ 
 168   swig_type_info         
**types
;               /* Array of pointers to swig_type_info structures that are in this module */ 
 169   size_t                 size
;                  /* Number of types in this module */ 
 170   struct swig_module_info 
*next
;                /* Pointer to next element in circularly linked list */ 
 171   swig_type_info         
**type_initial
;        /* Array of initially generated type structures */ 
 172   swig_cast_info         
**cast_initial
;        /* Array of initially generated casting structures */ 
 173   void                    *clientdata
;          /* Language specific module data */ 
 178   Compare two type names skipping the space characters, therefore 
 179   "char*" == "char *" and "Class<int>" == "Class<int >", etc. 
 181   Return 0 when the two name types are equivalent, as in 
 182   strncmp, but skipping ' '. 
 185 SWIG_TypeNameComp(const char *f1
, const char *l1
, 
 186                   const char *f2
, const char *l2
) { 
 187   for (;(f1 
!= l1
) && (f2 
!= l2
); ++f1
, ++f2
) { 
 188     while ((*f1 
== ' ') && (f1 
!= l1
)) ++f1
; 
 189     while ((*f2 
== ' ') && (f2 
!= l2
)) ++f2
; 
 190     if (*f1 
!= *f2
) return (int)(*f1 
- *f2
); 
 192   return (l1 
- f1
) - (l2 
- f2
); 
 196   Check type equivalence in a name list like <name1>|<name2>|... 
 197   Return 0 if not equal, 1 if equal 
 200 SWIG_TypeEquiv(const char *nb
, const char *tb
) { 
 202   const char* te 
= tb 
+ strlen(tb
); 
 204   while (!equiv 
&& *ne
) { 
 205     for (nb 
= ne
; *ne
; ++ne
) { 
 206       if (*ne 
== '|') break; 
 208     equiv 
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0; 
 215   Check type equivalence in a name list like <name1>|<name2>|... 
 216   Return 0 if equal, -1 if nb < tb, 1 if nb > tb 
 219 SWIG_TypeCompare(const char *nb
, const char *tb
) { 
 221   const char* te 
= tb 
+ strlen(tb
); 
 223   while (!equiv 
&& *ne
) { 
 224     for (nb 
= ne
; *ne
; ++ne
) { 
 225       if (*ne 
== '|') break; 
 227     equiv 
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0; 
 234 /* think of this as a c++ template<> or a scheme macro */ 
 235 #define SWIG_TypeCheck_Template(comparison, ty)         \ 
 237     swig_cast_info *iter = ty->cast;                    \ 
 240         if (iter == ty->cast) return iter;              \ 
 241         /* Move iter to the top of the linked list */   \ 
 242         iter->prev->next = iter->next;                  \ 
 244           iter->next->prev = iter->prev;                \ 
 245         iter->next = ty->cast;                          \ 
 247         if (ty->cast) ty->cast->prev = iter;            \ 
 259 SWIGRUNTIME swig_cast_info 
* 
 260 SWIG_TypeCheck(const char *c
, swig_type_info 
*ty
) { 
 261   SWIG_TypeCheck_Template(strcmp(iter
->type
->name
, c
) == 0, ty
); 
 264 /* Same as previous function, except strcmp is replaced with a pointer comparison */ 
 265 SWIGRUNTIME swig_cast_info 
* 
 266 SWIG_TypeCheckStruct(swig_type_info 
*from
, swig_type_info 
*into
) { 
 267   SWIG_TypeCheck_Template(iter
->type 
== from
, into
); 
 271   Cast a pointer up an inheritance hierarchy 
 273 SWIGRUNTIMEINLINE 
void * 
 274 SWIG_TypeCast(swig_cast_info 
*ty
, void *ptr
) { 
 275   return ((!ty
) || (!ty
->converter
)) ? ptr 
: (*ty
->converter
)(ptr
); 
 279    Dynamic pointer casting. Down an inheritance hierarchy 
 281 SWIGRUNTIME swig_type_info 
* 
 282 SWIG_TypeDynamicCast(swig_type_info 
*ty
, void **ptr
) { 
 283   swig_type_info 
*lastty 
= ty
; 
 284   if (!ty 
|| !ty
->dcast
) return ty
; 
 285   while (ty 
&& (ty
->dcast
)) { 
 286     ty 
= (*ty
->dcast
)(ptr
); 
 293   Return the name associated with this type 
 295 SWIGRUNTIMEINLINE 
const char * 
 296 SWIG_TypeName(const swig_type_info 
*ty
) { 
 301   Return the pretty name associated with this type, 
 302   that is an unmangled type name in a form presentable to the user. 
 304 SWIGRUNTIME 
const char * 
 305 SWIG_TypePrettyName(const swig_type_info 
*type
) { 
 306   /* The "str" field contains the equivalent pretty names of the 
 307      type, separated by vertical-bar characters.  We choose 
 308      to print the last name, as it is often (?) the most 
 310   if (type
->str 
!= NULL
) { 
 311     const char *last_name 
= type
->str
; 
 313     for (s 
= type
->str
; *s
; s
++) 
 314       if (*s 
== '|') last_name 
= s
+1; 
 322    Set the clientdata field for a type 
 325 SWIG_TypeClientData(swig_type_info 
*ti
, void *clientdata
) { 
 326   swig_cast_info 
*cast 
= ti
->cast
; 
 327   /* if (ti->clientdata == clientdata) return; */ 
 328   ti
->clientdata 
= clientdata
; 
 331     if (!cast
->converter
) { 
 332       swig_type_info 
*tc 
= cast
->type
; 
 333       if (!tc
->clientdata
) { 
 334         SWIG_TypeClientData(tc
, clientdata
); 
 342   Search for a swig_type_info structure only by mangled name 
 343   Search is a O(log #types) 
 345   We start searching at module start, and finish searching when start == end.   
 346   Note: if start == end at the beginning of the function, we go all the way around 
 349 SWIGRUNTIME swig_type_info 
* 
 350 SWIG_MangledTypeQueryModule(swig_module_info 
*start
,  
 351                             swig_module_info 
*end
,  
 353   swig_module_info 
*iter 
= start
; 
 356       register size_t l 
= 0; 
 357       register size_t r 
= iter
->size 
- 1; 
 359         /* since l+r >= 0, we can (>> 1) instead (/ 2) */ 
 360         register size_t i 
= (l 
+ r
) >> 1;  
 361         const char *iname 
= iter
->types
[i
]->name
; 
 363           register int compare 
= strcmp(name
, iname
); 
 365             return iter
->types
[i
]; 
 366           } else if (compare 
< 0) { 
 372           } else if (compare 
> 0) { 
 376           break; /* should never happen */ 
 381   } while (iter 
!= end
); 
 386   Search for a swig_type_info structure for either a mangled name or a human readable name. 
 387   It first searches the mangled names of the types, which is a O(log #types) 
 388   If a type is not found it then searches the human readable names, which is O(#types). 
 390   We start searching at module start, and finish searching when start == end.   
 391   Note: if start == end at the beginning of the function, we go all the way around 
 394 SWIGRUNTIME swig_type_info 
* 
 395 SWIG_TypeQueryModule(swig_module_info 
*start
,  
 396                      swig_module_info 
*end
,  
 398   /* STEP 1: Search the name field using binary search */ 
 399   swig_type_info 
*ret 
= SWIG_MangledTypeQueryModule(start
, end
, name
); 
 403     /* STEP 2: If the type hasn't been found, do a complete search 
 404        of the str field (the human readable name) */ 
 405     swig_module_info 
*iter 
= start
; 
 407       register size_t i 
= 0; 
 408       for (; i 
< iter
->size
; ++i
) { 
 409         if (iter
->types
[i
]->str 
&& (SWIG_TypeEquiv(iter
->types
[i
]->str
, name
))) 
 410           return iter
->types
[i
]; 
 413     } while (iter 
!= end
); 
 416   /* neither found a match */ 
 422    Pack binary data into a string 
 425 SWIG_PackData(char *c
, void *ptr
, size_t sz
) { 
 426   static const char hex
[17] = "0123456789abcdef"; 
 427   register const unsigned char *u 
= (unsigned char *) ptr
; 
 428   register const unsigned char *eu 
=  u 
+ sz
; 
 429   for (; u 
!= eu
; ++u
) { 
 430     register unsigned char uu 
= *u
; 
 431     *(c
++) = hex
[(uu 
& 0xf0) >> 4]; 
 432     *(c
++) = hex
[uu 
& 0xf]; 
 438    Unpack binary data from a string 
 440 SWIGRUNTIME 
const char * 
 441 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) { 
 442   register unsigned char *u 
= (unsigned char *) ptr
; 
 443   register const unsigned char *eu 
= u 
+ sz
; 
 444   for (; u 
!= eu
; ++u
) { 
 445     register char d 
= *(c
++); 
 446     register unsigned char uu 
= 0; 
 447     if ((d 
>= '0') && (d 
<= '9')) 
 448       uu 
= ((d 
- '0') << 4); 
 449     else if ((d 
>= 'a') && (d 
<= 'f')) 
 450       uu 
= ((d 
- ('a'-10)) << 4); 
 454     if ((d 
>= '0') && (d 
<= '9')) 
 456     else if ((d 
>= 'a') && (d 
<= 'f')) 
 457       uu 
|= (d 
- ('a'-10)); 
 466    Pack 'void *' into a string buffer. 
 469 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) { 
 471   if ((2*sizeof(void *) + 2) > bsz
) return 0; 
 473   r 
= SWIG_PackData(r
,&ptr
,sizeof(void *)); 
 474   if (strlen(name
) + 1 > (bsz 
- (r 
- buff
))) return 0; 
 479 SWIGRUNTIME 
const char * 
 480 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) { 
 482     if (strcmp(c
,"NULL") == 0) { 
 489   return SWIG_UnpackData(++c
,ptr
,sizeof(void *)); 
 493 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) { 
 495   size_t lname 
= (name 
? strlen(name
) : 0); 
 496   if ((2*sz 
+ 2 + lname
) > bsz
) return 0; 
 498   r 
= SWIG_PackData(r
,ptr
,sz
); 
 500     strncpy(r
,name
,lname
+1); 
 507 SWIGRUNTIME 
const char * 
 508 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) { 
 510     if (strcmp(c
,"NULL") == 0) { 
 517   return SWIG_UnpackData(++c
,ptr
,sz
); 
 524 /* ----------------------------------------------------------------------------- 
 525  * SWIG API. Portion that goes into the runtime 
 526  * ----------------------------------------------------------------------------- */ 
 532 /* ----------------------------------------------------------------------------- 
 533  * for internal method declarations 
 534  * ----------------------------------------------------------------------------- */ 
 537 #  define SWIGINTERN static SWIGUNUSED 
 540 #ifndef SWIGINTERNINLINE 
 541 #  define SWIGINTERNINLINE SWIGINTERN SWIGINLINE 
 545   Exception handling in wrappers 
 547 #define SWIG_fail                goto fail 
 548 #define SWIG_arg_fail(arg)       SWIG_Python_ArgFail(arg) 
 549 #define SWIG_append_errmsg(msg)   SWIG_Python_AddErrMesg(msg,0) 
 550 #define SWIG_preppend_errmsg(msg) SWIG_Python_AddErrMesg(msg,1) 
 551 #define SWIG_type_error(type,obj) SWIG_Python_TypeError(type,obj) 
 552 #define SWIG_null_ref(type)       SWIG_Python_NullRef(type) 
 557 #define SWIG_contract_assert(expr, msg) \ 
 558  if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else 
 560 /* ----------------------------------------------------------------------------- 
 561  * Constant declarations 
 562  * ----------------------------------------------------------------------------- */ 
 565 #define SWIG_PY_INT     1 
 566 #define SWIG_PY_FLOAT   2 
 567 #define SWIG_PY_STRING  3 
 568 #define SWIG_PY_POINTER 4 
 569 #define SWIG_PY_BINARY  5 
 571 /* Constant information structure */ 
 572 typedef struct swig_const_info 
{ 
 578     swig_type_info 
**ptype
; 
 582 /* ----------------------------------------------------------------------------- 
 583  * Alloc. memory flags 
 584  * ----------------------------------------------------------------------------- */ 
 585 #define SWIG_OLDOBJ  1 
 586 #define SWIG_NEWOBJ  SWIG_OLDOBJ + 1 
 587 #define SWIG_PYSTR   SWIG_NEWOBJ + 1 
 594 /*********************************************************************** 
 597  *     This file contains the runtime support for Python modules 
 598  *     and includes code for managing global variables and pointer 
 601  * Author : David Beazley (beazley@cs.uchicago.edu) 
 602  ************************************************************************/ 
 604 /* Common SWIG API */ 
 605 #define SWIG_ConvertPtr(obj, pp, type, flags)    SWIG_Python_ConvertPtr(obj, pp, type, flags) 
 606 #define SWIG_NewPointerObj(p, type, flags)       SWIG_Python_NewPointerObj(p, type, flags) 
 607 #define SWIG_MustGetPtr(p, type, argnum, flags)  SWIG_Python_MustGetPtr(p, type, argnum, flags) 
 610 /* Python-specific SWIG API */ 
 611 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags)   SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags) 
 612 #define SWIG_NewPackedObj(ptr, sz, type)              SWIG_Python_NewPackedObj(ptr, sz, type) 
 615 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule() 
 616 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer) 
 618 /* ----------------------------------------------------------------------------- 
 619  * Pointer declarations 
 620  * ----------------------------------------------------------------------------- */ 
 622   Use SWIG_NO_COBJECT_TYPES to force the use of strings to represent 
 623   C/C++ pointers in the python side. Very useful for debugging, but 
 626 #if !defined(SWIG_NO_COBJECT_TYPES) && !defined(SWIG_COBJECT_TYPES) 
 627 #  define SWIG_COBJECT_TYPES 
 630 /* Flags for pointer conversion */ 
 631 #define SWIG_POINTER_EXCEPTION     0x1 
 632 #define SWIG_POINTER_DISOWN        0x2 
 635 /* Add PyOS_snprintf for old Pythons */ 
 636 #if PY_VERSION_HEX < 0x02020000 
 637 #define PyOS_snprintf snprintf 
 644 /* ----------------------------------------------------------------------------- 
 645  * Create a new pointer string  
 646  * ----------------------------------------------------------------------------- */ 
 647 #ifndef SWIG_BUFFER_SIZE 
 648 #define SWIG_BUFFER_SIZE 1024 
 651 /* A crude PyString_FromFormat implementation for old Pythons */ 
 652 #if PY_VERSION_HEX < 0x02020000 
 654 PyString_FromFormat(const char *fmt
, ...) { 
 656   char buf
[SWIG_BUFFER_SIZE 
* 2]; 
 659   res 
= vsnprintf(buf
, sizeof(buf
), fmt
, ap
); 
 661   return (res 
< 0 || res 
>= sizeof(buf
)) ? 0 : PyString_FromString(buf
); 
 665 #if PY_VERSION_HEX < 0x01060000 
 666 #define PyObject_Del(op) PyMem_DEL((op)) 
 669 #if defined(SWIG_COBJECT_TYPES) 
 670 #if !defined(SWIG_COBJECT_PYTHON) 
 671 /* ----------------------------------------------------------------------------- 
 672  * Implements a simple Swig Object type, and use it instead of PyCObject 
 673  * ----------------------------------------------------------------------------- */ 
 681 /* Declarations for objects of type PySwigObject */ 
 684 PySwigObject_print(PySwigObject 
*v
, FILE *fp
, int flags
) 
 686   char result
[SWIG_BUFFER_SIZE
]; 
 688   if (SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
))) { 
 689     fputs("<Swig Object at ", fp
); fputs(result
, fp
); fputs(">", fp
); 
 696 SWIGRUNTIME PyObject 
* 
 697 PySwigObject_repr(PySwigObject 
*v
) 
 699   char result
[SWIG_BUFFER_SIZE
]; 
 700   return SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
)) ? 
 701     PyString_FromFormat("<Swig Object at %s>", result
) : 0; 
 704 SWIGRUNTIME PyObject 
* 
 705 PySwigObject_str(PySwigObject 
*v
) 
 707   char result
[SWIG_BUFFER_SIZE
]; 
 708   return SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
)) ? 
 709     PyString_FromString(result
) : 0; 
 712 SWIGRUNTIME PyObject 
* 
 713 PySwigObject_long(PySwigObject 
*v
) 
 715   return PyLong_FromVoidPtr(v
->ptr
); 
 718 SWIGRUNTIME PyObject 
* 
 719 PySwigObject_format(const char* fmt
, PySwigObject 
*v
) 
 721   PyObject 
*res 
= NULL
; 
 722   PyObject 
*args 
= PyTuple_New(1); 
 723   if (args 
&& (PyTuple_SetItem(args
, 0, PySwigObject_long(v
)) == 0)) { 
 724     PyObject 
*ofmt 
= PyString_FromString(fmt
); 
 726       res 
= PyString_Format(ofmt
,args
); 
 734 SWIGRUNTIME PyObject 
* 
 735 PySwigObject_oct(PySwigObject 
*v
) 
 737   return PySwigObject_format("%o",v
); 
 740 SWIGRUNTIME PyObject 
* 
 741 PySwigObject_hex(PySwigObject 
*v
) 
 743   return PySwigObject_format("%x",v
); 
 747 PySwigObject_compare(PySwigObject 
*v
, PySwigObject 
*w
) 
 749   int c 
= strcmp(v
->desc
, w
->desc
); 
 751     return (c 
> 0) ? 1 : -1; 
 755     return (i 
< j
) ? -1 : ((i 
> j
) ? 1 : 0); 
 760 PySwigObject_dealloc(PySwigObject 
*self
) 
 765 SWIGRUNTIME PyTypeObject
* 
 766 PySwigObject_type(void) { 
 767   static char pyswigobject_type__doc__
[] =  
 768     "Swig object carries a C/C++ instance pointer"; 
 770   static PyNumberMethods PySwigObject_as_number 
= { 
 771     (binaryfunc
)0, /*nb_add*/ 
 772     (binaryfunc
)0, /*nb_subtract*/ 
 773     (binaryfunc
)0, /*nb_multiply*/ 
 774     (binaryfunc
)0, /*nb_divide*/ 
 775     (binaryfunc
)0, /*nb_remainder*/ 
 776     (binaryfunc
)0, /*nb_divmod*/ 
 777     (ternaryfunc
)0,/*nb_power*/ 
 778     (unaryfunc
)0,  /*nb_negative*/ 
 779     (unaryfunc
)0,  /*nb_positive*/ 
 780     (unaryfunc
)0,  /*nb_absolute*/ 
 781     (inquiry
)0,    /*nb_nonzero*/ 
 788     (coercion
)0,   /*nb_coerce*/ 
 789     (unaryfunc
)PySwigObject_long
, /*nb_int*/ 
 790     (unaryfunc
)PySwigObject_long
, /*nb_long*/ 
 791     (unaryfunc
)0,                 /*nb_float*/ 
 792     (unaryfunc
)PySwigObject_oct
,  /*nb_oct*/ 
 793     (unaryfunc
)PySwigObject_hex
,  /*nb_hex*/ 
 794 #if PY_VERSION_HEX >= 0x02020000 
 795     0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */  
 796 #elif PY_VERSION_HEX >= 0x02000000 
 797     0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */ 
 801   static PyTypeObject pyswigobject_type
 
 802 #if !defined(__cplusplus) 
 804   static int type_init 
= 0; 
 809     PyObject_HEAD_INIT(&PyType_Type
) 
 811     (char *)"PySwigObject",             /*tp_name*/ 
 812     sizeof(PySwigObject
),               /*tp_basicsize*/ 
 815     (destructor
)PySwigObject_dealloc
,   /*tp_dealloc*/ 
 816     (printfunc
)PySwigObject_print
,      /*tp_print*/ 
 817     (getattrfunc
)0,                     /*tp_getattr*/ 
 818     (setattrfunc
)0,                     /*tp_setattr*/ 
 819     (cmpfunc
)PySwigObject_compare
,      /*tp_compare*/ 
 820     (reprfunc
)PySwigObject_repr
,        /*tp_repr*/ 
 821     &PySwigObject_as_number
,            /*tp_as_number*/ 
 822     0,                                  /*tp_as_sequence*/ 
 824     (hashfunc
)0,                        /*tp_hash*/ 
 825     (ternaryfunc
)0,                     /*tp_call*/ 
 826     (reprfunc
)PySwigObject_str
,         /*tp_str*/ 
 827     /* Space for future expansion */ 
 829     pyswigobject_type__doc__
,           /* Documentation string */ 
 830 #if PY_VERSION_HEX >= 0x02000000 
 834 #if PY_VERSION_HEX >= 0x02010000 
 835     0,                                  /* tp_richcompare */ 
 836     0,                                  /* tp_weaklistoffset */ 
 838 #if PY_VERSION_HEX >= 0x02020000 
 839     0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */ 
 841 #if PY_VERSION_HEX >= 0x02030000 
 845     0,0,0,0                             /* tp_alloc -> tp_next */ 
 848 #if !defined(__cplusplus) 
 849     pyswigobject_type 
= tmp
; 
 853   return &pyswigobject_type
; 
 856 SWIGRUNTIME PyObject 
* 
 857 PySwigObject_FromVoidPtrAndDesc(void *ptr
, const char *desc
) 
 859   PySwigObject 
*self 
= PyObject_NEW(PySwigObject
, PySwigObject_type()); 
 864   return (PyObject 
*)self
; 
 867 SWIGRUNTIMEINLINE 
void * 
 868 PySwigObject_AsVoidPtr(PyObject 
*self
) 
 870   return ((PySwigObject 
*)self
)->ptr
; 
 873 SWIGRUNTIMEINLINE 
const char * 
 874 PySwigObject_GetDesc(PyObject 
*self
) 
 876   return ((PySwigObject 
*)self
)->desc
; 
 879 SWIGRUNTIMEINLINE 
int 
 880 PySwigObject_Check(PyObject 
*op
) { 
 881   return ((op
)->ob_type 
== PySwigObject_type())  
 882     || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0); 
 885 /* ----------------------------------------------------------------------------- 
 886  * Implements a simple Swig Packed type, and use it instead of string 
 887  * ----------------------------------------------------------------------------- */ 
 897 PySwigPacked_print(PySwigPacked 
*v
, FILE *fp
, int flags
) 
 899   char result
[SWIG_BUFFER_SIZE
]; 
 901   fputs("<Swig Packed ", fp
);  
 902   if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) { 
 911 SWIGRUNTIME PyObject 
* 
 912 PySwigPacked_repr(PySwigPacked 
*v
) 
 914   char result
[SWIG_BUFFER_SIZE
]; 
 915   if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) { 
 916     return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->desc
); 
 918     return PyString_FromFormat("<Swig Packed %s>", v
->desc
); 
 922 SWIGRUNTIME PyObject 
* 
 923 PySwigPacked_str(PySwigPacked 
*v
) 
 925   char result
[SWIG_BUFFER_SIZE
]; 
 926   if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){ 
 927     return PyString_FromFormat("%s%s", result
, v
->desc
); 
 929     return PyString_FromString(v
->desc
); 
 934 PySwigPacked_compare(PySwigPacked 
*v
, PySwigPacked 
*w
) 
 936   int c 
= strcmp(v
->desc
, w
->desc
); 
 938     return (c 
> 0) ? 1 : -1; 
 942     int s 
= (i 
< j
) ? -1 : ((i 
> j
) ? 1 : 0); 
 943     return s 
? s 
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
); 
 948 PySwigPacked_dealloc(PySwigPacked 
*self
) 
 954 SWIGRUNTIME PyTypeObject
* 
 955 PySwigPacked_type(void) { 
 956   static char pyswigpacked_type__doc__
[] =  
 957     "Swig object carries a C/C++ instance pointer"; 
 958   static PyTypeObject pyswigpacked_type
 
 959 #if !defined(__cplusplus) 
 961   static int type_init 
= 0;   
 966     PyObject_HEAD_INIT(&PyType_Type
) 
 968     (char *)"PySwigPacked",             /*tp_name*/ 
 969     sizeof(PySwigPacked
),               /*tp_basicsize*/ 
 972     (destructor
)PySwigPacked_dealloc
,   /*tp_dealloc*/ 
 973     (printfunc
)PySwigPacked_print
,      /*tp_print*/ 
 974     (getattrfunc
)0,                     /*tp_getattr*/ 
 975     (setattrfunc
)0,                     /*tp_setattr*/ 
 976     (cmpfunc
)PySwigPacked_compare
,      /*tp_compare*/ 
 977     (reprfunc
)PySwigPacked_repr
,        /*tp_repr*/ 
 979     0,                                  /*tp_as_sequence*/ 
 981     (hashfunc
)0,                        /*tp_hash*/ 
 982     (ternaryfunc
)0,                     /*tp_call*/ 
 983     (reprfunc
)PySwigPacked_str
,         /*tp_str*/ 
 984     /* Space for future expansion */ 
 986     pyswigpacked_type__doc__
,           /* Documentation string */ 
 987 #if PY_VERSION_HEX >= 0x02000000 
 991 #if PY_VERSION_HEX >= 0x02010000 
 992     0,                                  /* tp_richcompare */ 
 993     0,                                  /* tp_weaklistoffset */ 
 995 #if PY_VERSION_HEX >= 0x02020000          
 996     0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */ 
 998 #if PY_VERSION_HEX >= 0x02030000 
1002     0,0,0,0                             /* tp_alloc -> tp_next */ 
1005 #if !defined(__cplusplus) 
1006     pyswigpacked_type 
= tmp
; 
1010   return &pyswigpacked_type
; 
1013 SWIGRUNTIME PyObject 
* 
1014 PySwigPacked_FromDataAndDesc(void *ptr
, size_t size
, const char *desc
) 
1016   PySwigPacked 
*self 
= PyObject_NEW(PySwigPacked
, PySwigPacked_type()); 
1020     void *pack 
= malloc(size
); 
1022       memcpy(pack
, ptr
, size
); 
1026       return (PyObject 
*) self
; 
1032 SWIGRUNTIMEINLINE 
const char * 
1033 PySwigPacked_UnpackData(PyObject 
*obj
, void *ptr
, size_t size
) 
1035   PySwigPacked 
*self 
= (PySwigPacked 
*)obj
; 
1036   if (self
->size 
!= size
) return 0; 
1037   memcpy(ptr
, self
->pack
, size
); 
1041 SWIGRUNTIMEINLINE 
const char * 
1042 PySwigPacked_GetDesc(PyObject 
*self
) 
1044   return ((PySwigPacked 
*)self
)->desc
; 
1047 SWIGRUNTIMEINLINE 
int 
1048 PySwigPacked_Check(PyObject 
*op
) { 
1049   return ((op
)->ob_type 
== PySwigPacked_type())  
1050     || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0); 
1054 /* ----------------------------------------------------------------------------- 
1055  * Use the old Python PyCObject instead of PySwigObject 
1056  * ----------------------------------------------------------------------------- */ 
1058 #define PySwigObject_GetDesc(obj)                  PyCObject_GetDesc(obj) 
1059 #define PySwigObject_Check(obj)            PyCObject_Check(obj) 
1060 #define PySwigObject_AsVoidPtr(obj)        PyCObject_AsVoidPtr(obj) 
1061 #define PySwigObject_FromVoidPtrAndDesc(p, d)  PyCObject_FromVoidPtrAndDesc(p, d, NULL) 
1067 /* ----------------------------------------------------------------------------- 
1068  * errors manipulation 
1069  * ----------------------------------------------------------------------------- */ 
1072 SWIG_Python_TypeError(const char *type
, PyObject 
*obj
) 
1075 #if defined(SWIG_COBJECT_TYPES) 
1076     if (obj 
&& PySwigObject_Check(obj
)) { 
1077       const char *otype 
= (const char *) PySwigObject_GetDesc(obj
); 
1079         PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received", 
1086       const char *otype 
= (obj 
? obj
->ob_type
->tp_name 
: 0);  
1088         PyObject 
*str 
= PyObject_Str(obj
); 
1089         const char *cstr 
= str 
? PyString_AsString(str
) : 0; 
1091           PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received", 
1094           PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received", 
1101     PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
); 
1103     PyErr_Format(PyExc_TypeError
, "unexpected type is received"); 
1107 SWIGRUNTIMEINLINE 
void 
1108 SWIG_Python_NullRef(const char *type
) 
1111     PyErr_Format(PyExc_TypeError
, "null reference of type '%s' was received",type
); 
1113     PyErr_Format(PyExc_TypeError
, "null reference was received"); 
1118 SWIG_Python_AddErrMesg(const char* mesg
, int infront
) 
1120   if (PyErr_Occurred()) { 
1122     PyObject 
*value 
= 0; 
1123     PyObject 
*traceback 
= 0; 
1124     PyErr_Fetch(&type
, &value
, &traceback
); 
1126       PyObject 
*old_str 
= PyObject_Str(value
); 
1130         PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
)); 
1132         PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
); 
1143 SWIG_Python_ArgFail(int argnum
) 
1145   if (PyErr_Occurred()) { 
1146     /* add information about failing argument */ 
1148     PyOS_snprintf(mesg
, sizeof(mesg
), "argument number %d:", argnum
); 
1149     return SWIG_Python_AddErrMesg(mesg
, 1); 
1156 /* ----------------------------------------------------------------------------- 
1157  * pointers/data manipulation 
1158  * ----------------------------------------------------------------------------- */ 
1160 /* Convert a pointer value */ 
1162 SWIG_Python_ConvertPtr(PyObject 
*obj
, void **ptr
, swig_type_info 
*ty
, int flags
) { 
1165   static PyObject 
*SWIG_this 
= 0; 
1167   PyObject  
*pyobj 
= 0; 
1171   if (obj 
== Py_None
) { 
1176 #ifdef SWIG_COBJECT_TYPES 
1177   if (!(PySwigObject_Check(obj
))) { 
1179       SWIG_this 
= PyString_FromString("this"); 
1181     obj 
= PyObject_GetAttr(obj
,SWIG_this
); 
1183     if (!obj
) goto type_error
; 
1184     if (!PySwigObject_Check(obj
)) { 
1189   vptr 
= PySwigObject_AsVoidPtr(obj
); 
1190   c 
= (const char *) PySwigObject_GetDesc(obj
); 
1191   if (newref
) { Py_DECREF(obj
); } 
1194   if (!(PyString_Check(obj
))) { 
1196       SWIG_this 
= PyString_FromString("this"); 
1198     obj 
= PyObject_GetAttr(obj
,SWIG_this
); 
1200     if (!obj
) goto type_error
; 
1201     if (!PyString_Check(obj
)) { 
1206   c 
= PyString_AsString(obj
); 
1207   /* Pointer values must start with leading underscore */ 
1208   c 
= SWIG_UnpackVoidPtr(c
, &vptr
, ty
->name
); 
1209   if (newref
) { Py_DECREF(obj
); } 
1210   if (!c
) goto type_error
; 
1215     tc 
= SWIG_TypeCheck(c
,ty
); 
1216     if (!tc
) goto type_error
; 
1217     *ptr 
= SWIG_TypeCast(tc
,vptr
); 
1221   if ((pyobj
) && (flags 
& SWIG_POINTER_DISOWN
)) { 
1222     PyObject_SetAttrString(pyobj
,(char*)"thisown",Py_False
); 
1228   if (pyobj 
&& !obj
) {     
1230     if (PyCFunction_Check(obj
)) { 
1231       /* here we get the method pointer for callbacks */ 
1232       char *doc 
= (((PyCFunctionObject 
*)obj
) -> m_ml 
-> ml_doc
); 
1233       c 
= doc 
? strstr(doc
, "swig_ptr: ") : 0; 
1235         c 
= ty 
? SWIG_UnpackVoidPtr(c 
+ 10, &vptr
, ty
->name
) : 0; 
1236         if (!c
) goto type_error
; 
1241   if (flags 
& SWIG_POINTER_EXCEPTION
) { 
1243       SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
); 
1245       SWIG_Python_TypeError("C/C++ pointer", obj
); 
1251 /* Convert a pointer value, signal an exception on a type mismatch */ 
1253 SWIG_Python_MustGetPtr(PyObject 
*obj
, swig_type_info 
*ty
, int argnum
, int flags
) { 
1255   if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) { 
1257     if (flags 
& SWIG_POINTER_EXCEPTION
) { 
1258       SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
); 
1259       SWIG_Python_ArgFail(argnum
); 
1265 /* Convert a packed value value */ 
1267 SWIG_Python_ConvertPacked(PyObject 
*obj
, void *ptr
, size_t sz
, swig_type_info 
*ty
, int flags
) { 
1271 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON) 
1272   c 
= PySwigPacked_UnpackData(obj
, ptr
, sz
); 
1274   if ((!obj
) || (!PyString_Check(obj
))) goto type_error
; 
1275   c 
= PyString_AsString(obj
); 
1276   /* Pointer values must start with leading underscore */ 
1277   c 
= SWIG_UnpackDataName(c
, ptr
, sz
, ty
->name
); 
1279   if (!c
) goto type_error
; 
1281     tc 
= SWIG_TypeCheck(c
,ty
); 
1282     if (!tc
) goto type_error
; 
1288   if (flags 
& SWIG_POINTER_EXCEPTION
) { 
1290       SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
); 
1292       SWIG_Python_TypeError("C/C++ packed data", obj
); 
1298 /* Create a new array object */ 
1299 SWIGRUNTIME PyObject 
* 
1300 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info 
*type
, int own
) { 
1303     if (!PyErr_Occurred()) { 
1304       PyErr_Format(PyExc_TypeError
, "Swig: null type passed to NewPointerObj"); 
1312 #ifdef SWIG_COBJECT_TYPES 
1313   robj 
= PySwigObject_FromVoidPtrAndDesc((void *) ptr
, (char *)type
->name
); 
1316     char result
[SWIG_BUFFER_SIZE
]; 
1317     robj 
= SWIG_PackVoidPtr(result
, ptr
, type
->name
, sizeof(result
)) ? 
1318       PyString_FromString(result
) : 0; 
1321   if (!robj 
|| (robj 
== Py_None
)) return robj
; 
1322   if (type
->clientdata
) { 
1324     PyObject 
*args 
= Py_BuildValue((char*)"(O)", robj
); 
1326     inst 
= PyObject_CallObject((PyObject 
*) type
->clientdata
, args
); 
1330         PyObject_SetAttrString(inst
,(char*)"thisown",Py_True
); 
1338 SWIGRUNTIME PyObject 
* 
1339 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info 
*type
) { 
1345 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON) 
1346   robj 
= PySwigPacked_FromDataAndDesc((void *) ptr
, sz
, (char *)type
->name
); 
1349     char result
[SWIG_BUFFER_SIZE
]; 
1350     robj 
= SWIG_PackDataName(result
, ptr
, sz
, type
->name
, sizeof(result
)) ? 
1351       PyString_FromString(result
) : 0; 
1357 /* -----------------------------------------------------------------------------* 
1359  * -----------------------------------------------------------------------------*/ 
1361 #ifdef SWIG_LINK_RUNTIME 
1362 void *SWIG_ReturnGlobalTypeList(void *); 
1365 SWIGRUNTIME swig_module_info 
* 
1366 SWIG_Python_GetModule(void) { 
1367   static void *type_pointer 
= (void *)0; 
1368   /* first check if module already created */ 
1369   if (!type_pointer
) { 
1370 #ifdef SWIG_LINK_RUNTIME 
1371     type_pointer 
= SWIG_ReturnGlobalTypeList((void *)0); 
1373     type_pointer 
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
, 
1374                                     (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
); 
1375     if (PyErr_Occurred()) { 
1377       type_pointer 
= (void *)0; 
1381   return (swig_module_info 
*) type_pointer
; 
1384 #if PY_MAJOR_VERSION < 2 
1385 /* PyModule_AddObject function was introduced in Python 2.0.  The following function 
1386 is copied out of Python/modsupport.c in python version 2.3.4 */ 
1388 PyModule_AddObject(PyObject 
*m
, char *name
, PyObject 
*o
) 
1391   if (!PyModule_Check(m
)) { 
1392     PyErr_SetString(PyExc_TypeError
, 
1393                     "PyModule_AddObject() needs module as first arg"); 
1397     PyErr_SetString(PyExc_TypeError
, 
1398                     "PyModule_AddObject() needs non-NULL value"); 
1402   dict 
= PyModule_GetDict(m
); 
1404     /* Internal error -- modules must have a dict! */ 
1405     PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__", 
1406                  PyModule_GetName(m
)); 
1409   if (PyDict_SetItemString(dict
, name
, o
)) 
1417 SWIG_Python_SetModule(swig_module_info 
*swig_module
) { 
1418   static PyMethodDef swig_empty_runtime_method_table
[] = { {NULL
, NULL
, 0, NULL
} };/* Sentinel */ 
1420   PyObject 
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
, 
1421                                    swig_empty_runtime_method_table
); 
1422   PyObject 
*pointer 
= PyCObject_FromVoidPtr((void *) swig_module
, NULL
); 
1423   if (pointer 
&& module) { 
1424     PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
); 
1433 /* -------- TYPES TABLE (BEGIN) -------- */ 
1435 #define SWIGTYPE_p_CLSID swig_types[0] 
1436 #define SWIGTYPE_p_char swig_types[1] 
1437 #define SWIGTYPE_p_form_ops_t swig_types[2] 
1438 #define SWIGTYPE_p_int swig_types[3] 
1439 #define SWIGTYPE_p_long swig_types[4] 
1440 #define SWIGTYPE_p_unsigned_char swig_types[5] 
1441 #define SWIGTYPE_p_unsigned_int swig_types[6] 
1442 #define SWIGTYPE_p_unsigned_long swig_types[7] 
1443 #define SWIGTYPE_p_unsigned_short swig_types[8] 
1444 #define SWIGTYPE_p_wxANIHandler swig_types[9] 
1445 #define SWIGTYPE_p_wxAcceleratorTable swig_types[10] 
1446 #define SWIGTYPE_p_wxActivateEvent swig_types[11] 
1447 #define SWIGTYPE_p_wxActiveXEvent swig_types[12] 
1448 #define SWIGTYPE_p_wxActiveXWindow swig_types[13] 
1449 #define SWIGTYPE_p_wxBMPHandler swig_types[14] 
1450 #define SWIGTYPE_p_wxBoxSizer swig_types[15] 
1451 #define SWIGTYPE_p_wxCURHandler swig_types[16] 
1452 #define SWIGTYPE_p_wxChildFocusEvent swig_types[17] 
1453 #define SWIGTYPE_p_wxCloseEvent swig_types[18] 
1454 #define SWIGTYPE_p_wxCommandEvent swig_types[19] 
1455 #define SWIGTYPE_p_wxContextMenuEvent swig_types[20] 
1456 #define SWIGTYPE_p_wxControl swig_types[21] 
1457 #define SWIGTYPE_p_wxControlWithItems swig_types[22] 
1458 #define SWIGTYPE_p_wxDateEvent swig_types[23] 
1459 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[24] 
1460 #define SWIGTYPE_p_wxDropFilesEvent swig_types[25] 
1461 #define SWIGTYPE_p_wxDuplexMode swig_types[26] 
1462 #define SWIGTYPE_p_wxEraseEvent swig_types[27] 
1463 #define SWIGTYPE_p_wxEvent swig_types[28] 
1464 #define SWIGTYPE_p_wxEvtHandler swig_types[29] 
1465 #define SWIGTYPE_p_wxFSFile swig_types[30] 
1466 #define SWIGTYPE_p_wxFileSystem swig_types[31] 
1467 #define SWIGTYPE_p_wxFlexGridSizer swig_types[32] 
1468 #define SWIGTYPE_p_wxFocusEvent swig_types[33] 
1469 #define SWIGTYPE_p_wxFuncX swig_types[34] 
1470 #define SWIGTYPE_p_wxFuncXArray swig_types[35] 
1471 #define SWIGTYPE_p_wxGBSizerItem swig_types[36] 
1472 #define SWIGTYPE_p_wxGIFHandler swig_types[37] 
1473 #define SWIGTYPE_p_wxGridBagSizer swig_types[38] 
1474 #define SWIGTYPE_p_wxGridSizer swig_types[39] 
1475 #define SWIGTYPE_p_wxICOHandler swig_types[40] 
1476 #define SWIGTYPE_p_wxIEHtmlWindowBase swig_types[41] 
1477 #define SWIGTYPE_p_wxIconizeEvent swig_types[42] 
1478 #define SWIGTYPE_p_wxIdleEvent swig_types[43] 
1479 #define SWIGTYPE_p_wxImage swig_types[44] 
1480 #define SWIGTYPE_p_wxImageHandler swig_types[45] 
1481 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[46] 
1482 #define SWIGTYPE_p_wxInitDialogEvent swig_types[47] 
1483 #define SWIGTYPE_p_wxInputStream swig_types[48] 
1484 #define SWIGTYPE_p_wxJPEGHandler swig_types[49] 
1485 #define SWIGTYPE_p_wxKeyEvent swig_types[50] 
1486 #define SWIGTYPE_p_wxLayoutConstraints swig_types[51] 
1487 #define SWIGTYPE_p_wxMaximizeEvent swig_types[52] 
1488 #define SWIGTYPE_p_wxMenu swig_types[53] 
1489 #define SWIGTYPE_p_wxMenuBar swig_types[54] 
1490 #define SWIGTYPE_p_wxMenuEvent swig_types[55] 
1491 #define SWIGTYPE_p_wxMenuItem swig_types[56] 
1492 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[57] 
1493 #define SWIGTYPE_p_wxMouseEvent swig_types[58] 
1494 #define SWIGTYPE_p_wxMoveEvent swig_types[59] 
1495 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[60] 
1496 #define SWIGTYPE_p_wxNcPaintEvent swig_types[61] 
1497 #define SWIGTYPE_p_wxNotifyEvent swig_types[62] 
1498 #define SWIGTYPE_p_wxObject swig_types[63] 
1499 #define SWIGTYPE_p_wxPCXHandler swig_types[64] 
1500 #define SWIGTYPE_p_wxPNGHandler swig_types[65] 
1501 #define SWIGTYPE_p_wxPNMHandler swig_types[66] 
1502 #define SWIGTYPE_p_wxPaintEvent swig_types[67] 
1503 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[68] 
1504 #define SWIGTYPE_p_wxPaperSize swig_types[69] 
1505 #define SWIGTYPE_p_wxParamX swig_types[70] 
1506 #define SWIGTYPE_p_wxParamXArray swig_types[71] 
1507 #define SWIGTYPE_p_wxPropX swig_types[72] 
1508 #define SWIGTYPE_p_wxPropXArray swig_types[73] 
1509 #define SWIGTYPE_p_wxPyApp swig_types[74] 
1510 #define SWIGTYPE_p_wxPyCommandEvent swig_types[75] 
1511 #define SWIGTYPE_p_wxPyEvent swig_types[76] 
1512 #define SWIGTYPE_p_wxPyImageHandler swig_types[77] 
1513 #define SWIGTYPE_p_wxPySizer swig_types[78] 
1514 #define SWIGTYPE_p_wxPyValidator swig_types[79] 
1515 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[80] 
1516 #define SWIGTYPE_p_wxScrollEvent swig_types[81] 
1517 #define SWIGTYPE_p_wxScrollWinEvent swig_types[82] 
1518 #define SWIGTYPE_p_wxSetCursorEvent swig_types[83] 
1519 #define SWIGTYPE_p_wxShowEvent swig_types[84] 
1520 #define SWIGTYPE_p_wxSizeEvent swig_types[85] 
1521 #define SWIGTYPE_p_wxSizer swig_types[86] 
1522 #define SWIGTYPE_p_wxSizerItem swig_types[87] 
1523 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[88] 
1524 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[89] 
1525 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[90] 
1526 #define SWIGTYPE_p_wxTIFFHandler swig_types[91] 
1527 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[92] 
1528 #define SWIGTYPE_p_wxValidator swig_types[93] 
1529 #define SWIGTYPE_p_wxWindow swig_types[94] 
1530 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[95] 
1531 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[96] 
1532 #define SWIGTYPE_p_wxXPMHandler swig_types[97] 
1533 #define SWIGTYPE_ptrdiff_t swig_types[98] 
1534 #define SWIGTYPE_std__ptrdiff_t swig_types[99] 
1535 #define SWIGTYPE_unsigned_int swig_types[100] 
1536 static swig_type_info 
*swig_types
[102]; 
1537 static swig_module_info swig_module 
= {swig_types
, 101, 0, 0, 0, 0}; 
1538 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name) 
1539 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name) 
1541 /* -------- TYPES TABLE (END) -------- */ 
1544 /*----------------------------------------------- 
1545               @(target):= _activex.so 
1546   ------------------------------------------------*/ 
1547 #define SWIG_init    init_activex 
1549 #define SWIG_name    "_activex" 
1551 #include "wx/wxPython/wxPython.h" 
1552 #include "wx/wxPython/pyclasses.h" 
1553 #include "wx/wxPython/pyistream.h" 
1555 #include "wxactivex.h" 
1557  static const wxString 
wxPyPanelNameStr(wxPanelNameStr
);  
1559 // Since SWIG doesn't support nested classes, we need to fool it a bit 
1560 // and make them look like global classes.  These defines make the C++ code 
1561 // know what we are doing. 
1562 #define wxParamX        wxActiveX::ParamX 
1563 #define wxFuncX         wxActiveX::FuncX 
1564 #define wxPropX         wxActiveX::PropX 
1565 #define wxParamXArray   wxActiveX::ParamXArray 
1566 #define wxFuncXArray    wxActiveX::FuncXArray 
1567 #define wxPropXArray    wxActiveX::PropXArray 
1570 // Some conversion helpers 
1571 static wxVariant 
_PyObj2Variant(PyObject
* value
); 
1572 static bool  _PyObj2Variant(PyObject
* value
, wxVariant
& wv
); 
1573 static PyObject
* _Variant2PyObj(wxVariant
& value
, bool useNone
=false); 
1574 static wxString  
_VARTYPEname(VARTYPE vt
); 
1576 // Check if an exception has been raised  (blocking threads) 
1577 inline bool wxPyErr_Occurred() 
1580     wxPyBlock_t blocked 
= wxPyBeginBlockThreads(); 
1581     rval 
= PyErr_Occurred() != NULL
; 
1582     wxPyEndBlockThreads(blocked
); 
1587 static CLSID 
*new_CLSID(wxString 
const &id
){ 
1589             CLSID
* self 
= new CLSID
; 
1590             memset(self
, 0, sizeof(CLSID
)); 
1592             if (id
[0] == _T('{')) { 
1593                 // Looks like a classID string 
1596                         (LPOLESTR
)(const wchar_t *)id
.wc_str(wxConvUTF8
), 
1602                         (LPOLESTR
)(const wchar_t *)id
.wc_str(wxConvUTF8
), 
1605             if (result 
!= NOERROR
) { 
1606                 wxPyErr_SetString(PyExc_ValueError
, "Not a recognized classID or progID"); 
1612 static void delete_CLSID(CLSID 
*self
){ delete self
; } 
1613 static wxString 
CLSID_GetCLSIDString(CLSID 
*self
){ 
1616             if (StringFromCLSID(*self
, &s
) == S_OK
) { 
1621                 str 
= _T("Error!");  // TODO: raise exception? 
1625 static wxString 
CLSID_GetProgIDString(CLSID 
*self
){ 
1628             if (ProgIDFromCLSID(*self
, &s
) == S_OK
) { 
1633                 str 
= _T("Error!"); // TODO: raise exception? 
1638   /*@c:\\PROJECTS\\SWIG-1.3.27\\Lib\\python\\pymacros.swg,72,SWIG_define@*/ 
1639 #define SWIG_From_unsigned_SS_short PyInt_FromLong 
1642 static wxString 
wxParamX_vt_type_get(wxParamX 
*self
){ return _VARTYPEname(self
->vt
); } 
1644   /*@c:\\PROJECTS\\SWIG-1.3.27\\Lib\\python\\pymacros.swg,72,SWIG_define@*/ 
1645 #define SWIG_From_long PyInt_FromLong 
1648 static bool wxParamXArray___nonzero__(wxParamXArray 
*self
){ return self
->size() > 0; } 
1649 static int wxParamXArray___len__(wxParamXArray 
*self
){ return self
->size(); } 
1651   /*@c:\\PROJECTS\\SWIG-1.3.27\\Lib\\python\\pymacros.swg,72,SWIG_define@*/ 
1652 #define SWIG_From_int PyInt_FromLong 
1660   SWIG_CheckLongInRange(long value
, long min_value
, long max_value
, 
1663   if (value 
< min_value
) { 
1665       PyErr_Format(PyExc_OverflowError
,  
1666                    "value %ld is less than '%s' minimum %ld",  
1667                    value
, errmsg
, min_value
); 
1670   } else if (value 
> max_value
) { 
1672       PyErr_Format(PyExc_OverflowError
, 
1673                    "value %ld is greater than '%s' maximum %ld",  
1674                    value
, errmsg
, max_value
); 
1683 SWIG_AsVal_long(PyObject
* obj
, long* val
) 
1685     if (PyNumber_Check(obj
)) { 
1686         if (val
) *val 
= PyInt_AsLong(obj
); 
1690         SWIG_Python_TypeError("number", obj
); 
1696 #if INT_MAX != LONG_MAX 
1698   SWIG_AsVal_int(PyObject 
*obj
, int *val
) 
1700   const char* errmsg 
= val 
? "int" : (char*)0; 
1702   if (SWIG_AsVal_long(obj
, &v
)) { 
1703     if (SWIG_CheckLongInRange(v
, INT_MIN
,INT_MAX
, errmsg
)) { 
1704       if (val
) *val 
= static_cast<int >(v
); 
1713     SWIG_type_error(errmsg
, obj
); 
1718 SWIGINTERNINLINE 
int 
1719   SWIG_AsVal_int(PyObject 
*obj
, int *val
) 
1721   return SWIG_AsVal_long(obj
,(long*)val
); 
1726 SWIGINTERNINLINE 
int 
1727 SWIG_As_int(PyObject
* obj
) 
1730   if (!SWIG_AsVal_int(obj
, &v
)) { 
1732       this is needed to make valgrind/purify happier.  
1734     memset((void*)&v
, 0, sizeof(int)); 
1740 SWIGINTERNINLINE 
int 
1741 SWIG_Check_int(PyObject
* obj
) 
1743   return SWIG_AsVal_int(obj
, (int*)0); 
1746 static wxParamX 
const &wxParamXArray___getitem__(wxParamXArray 
*self
,int idx
){ 
1747             if ( idx 
>= 0 && idx 
< self
->size() ) 
1748                 return (*self
)[idx
]; 
1750                 static wxParamX BadVal
; 
1751                 wxPyErr_SetString(PyExc_IndexError
, "Index out of range"); 
1755 static bool wxFuncXArray___nonzero__(wxFuncXArray 
*self
){ return self
->size() > 0; } 
1756 static int wxFuncXArray___len__(wxFuncXArray 
*self
){ return self
->size(); } 
1757 static wxFuncX 
const &wxFuncXArray___getitem__(wxFuncXArray 
*self
,int idx
){ 
1758             if ( idx 
>= 0 && idx 
< self
->size() ) 
1759                 return (*self
)[idx
]; 
1761                 static wxFuncX BadVal
; 
1762                 wxPyErr_SetString(PyExc_IndexError
, "Index out of range"); 
1766 static bool wxPropXArray___nonzero__(wxPropXArray 
*self
){ return self
->size() > 0; } 
1767 static int wxPropXArray___len__(wxPropXArray 
*self
){ return self
->size(); } 
1768 static wxPropX 
const &wxPropXArray___getitem__(wxPropXArray 
*self
,int idx
){ 
1769             if ( idx 
>= 0 && idx 
< self
->size() ) 
1770                 return (*self
)[idx
]; 
1772                 static wxPropX BadVal
; 
1773                 wxPyErr_SetString(PyExc_IndexError
, "Index out of range"); 
1778 // C++ version of a Python-aware wxActiveX     
1779 class wxActiveXWindow 
: public wxActiveX
 
1784     DECLARE_ABSTRACT_CLASS(wxActiveXWindow
); 
1787     wxActiveXWindow( wxWindow
* parent
, const CLSID
& clsId
, wxWindowID id 
= -1, 
1788                      const wxPoint
& pos 
= wxDefaultPosition
, 
1789                      const wxSize
& size 
= wxDefaultSize
, 
1791                      const wxString
& name 
= wxPyPanelNameStr
) 
1792         : wxActiveX(parent
, clsId
, id
, pos
, size
, style
, name
) 
1797     const CLSID
& GetCLSID() const { return m_CLSID
; } 
1800     // Renamed versions of some base class methods that delegate 
1801     // to the base where appropriate, and raise Python exceptions 
1803     int GetAXEventCount() const  { return wxActiveX::GetEventCount(); } 
1804     int GetAXPropCount() const   { return wxActiveX::GetPropCount(); } 
1805     int GetAXMethodCount() const { return wxActiveX::GetMethodCount(); } 
1807     const wxFuncX
& GetAXEventDesc(int idx
) const 
1809         static wxFuncX BadVal
; 
1810         if (idx 
< 0 || idx 
>= GetAXEventCount()) { 
1811             wxPyErr_SetString(PyExc_IndexError
, "Index out of range"); 
1814         return m_events
[idx
]; 
1816     const wxFuncX
& GetAXMethodDesc(int idx
) const 
1818         static wxFuncX BadVal
; 
1819         if (idx 
< 0 || idx 
>= GetAXMethodCount()) { 
1820             wxPyErr_SetString(PyExc_IndexError
, "Index out of range"); 
1823         return m_methods
[idx
]; 
1825     const wxPropX
& GetAXPropDesc(int idx
) const 
1827         static wxPropX BadVal
; 
1828         if (idx 
< 0 || idx 
>= GetAXPropCount()) { 
1829             wxPyErr_SetString(PyExc_IndexError
, "Index out of range"); 
1832         return m_props
[idx
]; 
1835     const wxFuncX
& GetAXMethodDesc(const wxString
& name
) const 
1837         NameMap::const_iterator it 
= m_methodNames
.find(name
); 
1838         if (it 
== m_methodNames
.end())     { 
1840             msg 
<< _T("method <") << name 
<< _T("> not found"); 
1841             wxPyErr_SetString(PyExc_KeyError
, msg
.mb_str()); 
1842             static wxFuncX BadVal
; 
1845         return GetAXMethodDesc(it
->second
); 
1847     const wxPropX
& GetAXPropDesc(const wxString
& name
) const 
1849         NameMap::const_iterator it 
= m_propNames
.find(name
); 
1850         if (it 
== m_propNames
.end())     { 
1852             msg 
<< _T("property <") << name 
<< _T("> not found"); 
1853             wxPyErr_SetString(PyExc_KeyError
, msg
.mb_str()); 
1854             static wxPropX BadVal
; 
1857         return GetAXPropDesc(it
->second
); 
1860     // Accessors for the internal vectors of events, methods and 
1861     // proprties.  Can be used as sequence like objects from 
1863     const wxFuncXArray
& GetAXEvents()      { return m_events
; } 
1864     const wxFuncXArray
& GetAXMethods()     { return m_methods
; } 
1865     const wxPropXArray
& GetAXProperties()  { return m_props
; } 
1868     // Set a property from a Python object 
1869     void SetAXProp(const wxString
& name
, PyObject
* value
) 
1871         const wxPropX
& prop 
= GetAXPropDesc(name
); 
1872         wxPyBlock_t blocked 
= wxPyBeginBlockThreads(); 
1873         if (! PyErr_Occurred() ) { 
1874             if (! prop
.CanSet()) { 
1876                 msg 
<< _T("property <") << name 
<< _T("> is readonly"); 
1877                 PyErr_SetString(PyExc_TypeError
, msg
.mb_str()); 
1880                 wxVariant wxV 
= _PyObj2Variant(value
); 
1881                 if (PyErr_Occurred()) 
1883                 VARIANT v 
= {prop
.arg
.vt
}; 
1884                 if (!VariantToMSWVariant(wxV
, v
) || PyErr_Occurred()) { 
1886                     msg 
<< _T("Unable to convert value to expected type: (") 
1887                         << _VARTYPEname(prop
.arg
.vt
) << _T(") for property <") 
1889                     PyErr_SetString(PyExc_TypeError
, msg
.mb_str()); 
1892                 PyThreadState
* tstate 
= wxPyBeginAllowThreads(); 
1893                 SetProp(prop
.memid
, v
); 
1895                 wxPyEndAllowThreads(tstate
); 
1899         wxPyEndBlockThreads(blocked
); 
1903     // Get a property and convert it to a Python object 
1904     PyObject
* GetAXProp(const wxString
& name
) 
1906         PyObject
* rval 
= NULL
; 
1907         const wxPropX
& prop 
= GetAXPropDesc(name
); 
1908         wxPyBlock_t blocked 
= wxPyBeginBlockThreads(); 
1909         if (! PyErr_Occurred() ) { 
1910             if (! prop
.CanGet()) { 
1912                 msg 
<< _T("property <") << name 
<< _T("> is writeonly"); 
1913                 PyErr_SetString(PyExc_TypeError
, msg
.mb_str()); 
1916                 PyThreadState
* tstate 
= wxPyBeginAllowThreads(); 
1917                 VARIANT v 
= GetPropAsVariant(prop
.memid
); 
1918                 wxPyEndAllowThreads(tstate
); 
1920                 if (!MSWVariantToVariant(v
, wv
) || PyErr_Occurred()) { 
1922                     msg 
<< _T("Unable to convert value to expected type: (") 
1923                         << _VARTYPEname(prop
.arg
.vt
) << _T(") for property <") 
1925                     PyErr_SetString(PyExc_TypeError
, msg
.mb_str()); 
1928                 rval 
= _Variant2PyObj(wv
); 
1933         wxPyEndBlockThreads(blocked
); 
1938     // If both IsIn and isOut are false, assume it is actually an 
1940     bool paramIsIn(const wxParamX
& p
) 
1942         return p
.IsIn() || (!p
.IsIn() && !p
.IsOut()); 
1946     // Call a method of the ActiveX object 
1947     PyObject
* _CallAXMethod(const wxString
& name
, PyObject
* args
) 
1949         VARIANTARG 
*vargs 
= NULL
; 
1951         PyObject
* rval 
= NULL
; 
1952         const wxFuncX
& func 
= GetAXMethodDesc(name
); 
1954         wxPyBlock_t blocked 
= wxPyBeginBlockThreads(); 
1955         if (! PyErr_Occurred() ) { 
1956             nargs 
= func
.params
.size(); 
1958                 vargs 
= new VARIANTARG
[nargs
]; 
1961                 // init type of vargs, in reverse order 
1963                 for (i 
= 0; i 
< nargs
; i
++) 
1964                     vargs
[nargs 
- i 
- 1].vt 
= func
.params
[i
].vt
; 
1966                 // Map the args coming from Python to the input parameters in vargs 
1969                 while ( i
<nargs 
&& pi
<PyTuple_Size(args
) ) { 
1970                     // Move to the next input param.  
1971                     if (! paramIsIn(func
.params
[i
])) { 
1975                     // convert the python object 
1976                     PyObject
* obj 
= PyTuple_GetItem(args
, pi
); 
1977                     if (obj 
== Py_None
) // special-case None? 
1978                         vargs
[nargs 
- i 
- 1].vt 
= VT_EMPTY
; 
1980                         wxVariant wxV 
= _PyObj2Variant(obj
); 
1981                         if (PyErr_Occurred()) 
1983                         if (!VariantToMSWVariant(wxV
, vargs
[nargs 
- i 
- 1]) || PyErr_Occurred()) { 
1985                             msg 
<< _T("Unable to convert value to expected type: (") 
1986                                 << _VARTYPEname(vargs
[nargs 
- i 
- 1].vt
) 
1987                                 << _T(") for parameter ") << i
; 
1988                             PyErr_SetString(PyExc_TypeError
, msg
.mb_str()); 
1998             PyThreadState
* tstate 
= wxPyBeginAllowThreads(); 
1999             VARIANT rv 
= CallMethod(func
.memid
, vargs
, nargs
); 
2000             wxPyEndAllowThreads(tstate
); 
2002             // Convert the return value and any out-params, ignoring 
2003             // conversion errors for now 
2005             MSWVariantToVariant(rv
, wv
); 
2006             rval 
= _Variant2PyObj(wv
, true); 
2010                 // make a list and put the rval in it if it is not None 
2011                 PyObject
* lst 
= PyList_New(0); 
2012                 if (rval 
!= Py_None
) 
2013                     PyList_Append(lst
, rval
); 
2017                 // find the out params and convert them 
2018                 for (int i 
= 0; i 
< nargs
; i
++) { 
2019                     VARIANTARG
& va 
= vargs
[nargs 
- i 
- 1]; 
2020                     const wxParamX 
&px 
= func
.params
[i
]; 
2022                         MSWVariantToVariant(va
, wv
); 
2023                         PyObject
* obj 
= _Variant2PyObj(wv
, true); 
2024                         PyList_Append(lst
, obj
); 
2027                 rval 
= PyList_AsTuple(lst
); 
2030             if (PyErr_Occurred()) 
2034         wxPyEndBlockThreads(blocked
); 
2036             for (int i 
= 0; i 
< nargs
; i
++) 
2037                 VariantClear(&vargs
[i
]); 
2044 IMPLEMENT_ABSTRACT_CLASS( wxActiveXWindow
, wxWindow 
); 
2047 SWIGINTERNINLINE 
long 
2048 SWIG_As_long(PyObject
* obj
) 
2051   if (!SWIG_AsVal_long(obj
, &v
)) { 
2053       this is needed to make valgrind/purify happier.  
2055     memset((void*)&v
, 0, sizeof(long)); 
2061 SWIGINTERNINLINE 
int 
2062 SWIG_Check_long(PyObject
* obj
) 
2064   return SWIG_AsVal_long(obj
, (long*)0); 
2067 static void wxActiveXEvent__preCallInit(wxActiveXEvent 
*self
,PyObject 
*pyself
){ 
2068             wxPyBlock_t blocked 
= wxPyBeginBlockThreads(); 
2069             PyObject
* pList 
= PyList_New(0); 
2070             PyObject_SetAttrString(pyself
, "paramList", pList
); 
2072             for (int i
=0; i
<self
->ParamCount(); i
+=1) { 
2073                 PyObject
* name 
= PyString_FromString((char*)(const char*)self
->ParamName(i
).mb_str()); 
2074                 PyObject
* val 
= _Variant2PyObj((*self
)[i
], true); 
2075                 PyObject_SetAttr(pyself
, name
, val
); 
2076                 PyList_Append(pList
, name
); 
2080             wxPyEndBlockThreads(blocked
); 
2082 static void wxActiveXEvent__postCallCleanup(wxActiveXEvent 
*self
,PyObject 
*pyself
){ 
2083             wxPyBlock_t blocked 
= wxPyBeginBlockThreads(); 
2084             for (int i
=0; i
<self
->ParamCount(); i
+=1) { 
2085                 PyObject
* val 
= PyObject_GetAttrString( 
2086                     pyself
, (char*)(const char*)self
->ParamName(i
).mb_str()); 
2087                 _PyObj2Variant(val
, (*self
)[i
]); 
2090             wxPyEndBlockThreads(blocked
); 
2094 // Caller should already have the GIL! 
2095 wxVariant 
_PyObj2Variant(PyObject
* value
) 
2099     if (value 
== Py_None
) 
2102 #if PYTHON_API_VERSION >= 1012  // Python 2.3+ 
2103     else if (PyBool_Check(value
)) 
2104         rval 
= (value 
== Py_True
) ? true : false; 
2107     else if (PyInt_Check(value
)) 
2108         rval 
= PyInt_AS_LONG(value
); 
2110     else if (PyFloat_Check(value
)) 
2111         rval 
= PyFloat_AS_DOUBLE(value
); 
2113     else if (PyString_Check(value
) || PyUnicode_Check(value
)) 
2114         rval 
= Py2wxString(value
); 
2116     // TODO:    PyList of strings --> wxArrayString 
2122         PyErr_SetString(PyExc_TypeError
, "Unsupported object type in _PyObj2Variant"); 
2129 // This one uses the type of the variant to try and force the conversion 
2130 bool  _PyObj2Variant(PyObject
* value
, wxVariant
& wv
) 
2132     wxString type 
= wv
.GetType(); 
2134     if ( type 
== _T("long") || type 
== _T("bool") || type 
== _T("char") ) 
2135         wv 
= PyInt_AsLong(value
); 
2137     else if ( type 
== _T("string") ) 
2138         wv 
= Py2wxString(value
); 
2140     else if ( type 
== _T("double") ) 
2141         wv  
= PyFloat_AsDouble(value
); 
2144         // it's some other type that we dont' handle yet.  Log it? 
2150 // Caller should already have the GIL! 
2151 PyObject
* _Variant2PyObj(wxVariant
& value
, bool useNone
) 
2153     PyObject
* rval 
= NULL
; 
2155     if (value
.IsNull()) { 
2160     // should "char" be treated as an int or as a string? 
2161     else if (value
.IsType(_T("char")) || value
.IsType(_T("long"))) 
2162         rval 
= PyInt_FromLong(value
); 
2164     else if (value
.IsType(_T("double"))) 
2165         rval 
= PyFloat_FromDouble(value
); 
2167     else if (value
.IsType(_T("bool"))) { 
2168         rval 
= (bool)value 
? Py_True 
: Py_False
; 
2172     else if (value
.IsType(_T("string"))) 
2173         rval 
= wx2PyString(value
); 
2181             PyErr_SetString(PyExc_TypeError
, "Unsupported object type in _Variant2PyObj"); 
2188 wxString 
_VARTYPEname(VARTYPE vt
) 
2195         return _T("VT_VARIANT"); 
2215     // decimals are converted from doubles too 
2217         return _T("double"); 
2223         return _T("wx.DateTime"); 
2226         return _T("string"); 
2229         return _T("VT_UNKNOWN"); 
2232         return _T("VT_DISPATCH"); 
2235         return _T("VT_EMPTY"); 
2238         return _T("VT_NULL"); 
2241         return _T("VT_VOID"); 
2245         msg 
<< _T("unsupported type ") << vt
; 
2252 // A class derived from our wxActiveXWindow for the IE WebBrowser 
2253 // control that will serve as a base class for a Python 
2254 // implementation.  This is done so we can "eat our own dog food" 
2255 // and use a class at least mostly generated by genaxmodule, but 
2256 // also get some of the extra stuff like loading a document from 
2257 // a string or a stream, getting text contents, etc. that 
2258 // Lindsay's version gives us. 
2261 #include <wx/mstream.h> 
2263 #include <winerror.h> 
2264 #include <exdispid.h> 
2270 #include "IEHtmlStream.h" 
2272 class wxIEHtmlWindowBase 
: public wxActiveXWindow 
{ 
2274     wxAutoOleInterface
<IWebBrowser2
>  m_webBrowser
; 
2276     DECLARE_ABSTRACT_CLASS(wxIEHtmlWindowBase
); 
2280     wxIEHtmlWindowBase ( wxWindow
* parent
, const CLSID
& clsId
, wxWindowID id 
= -1, 
2281                          const wxPoint
& pos 
= wxDefaultPosition
, 
2282                          const wxSize
& size 
= wxDefaultSize
, 
2284                          const wxString
& name 
= wxPyPanelNameStr
) 
2285         : wxActiveXWindow(parent
, clsId
, id
, pos
, size
, style
, name
) 
2289         // Get IWebBrowser2 Interface 
2290         hret 
= m_webBrowser
.QueryInterface(IID_IWebBrowser2
, m_ActiveX
); 
2291         wxASSERT(SUCCEEDED(hret
)); 
2293         // web browser setup 
2294         m_webBrowser
->put_MenuBar(VARIANT_FALSE
); 
2295         m_webBrowser
->put_AddressBar(VARIANT_FALSE
); 
2296         m_webBrowser
->put_StatusBar(VARIANT_FALSE
); 
2297         m_webBrowser
->put_ToolBar(VARIANT_FALSE
); 
2299         m_webBrowser
->put_RegisterAsBrowser(VARIANT_TRUE
); 
2300         m_webBrowser
->put_RegisterAsDropTarget(VARIANT_TRUE
); 
2302         m_webBrowser
->Navigate( L
"about:blank", NULL
, NULL
, NULL
, NULL 
); 
2306     void SetCharset(const wxString
& charset
) 
2311         IDispatch 
*pDisp 
= NULL
; 
2312         hret 
= m_webBrowser
->get_Document(&pDisp
); 
2313         wxAutoOleInterface
<IDispatch
> disp(pDisp
); 
2317             wxAutoOleInterface
<IHTMLDocument2
> doc(IID_IHTMLDocument2
, disp
); 
2319                 doc
->put_charset((BSTR
) (const wchar_t *) charset
.wc_str(wxConvUTF8
)); 
2320             //doc->put_charset((BSTR) wxConvUTF8.cMB2WC(charset).data()); 
2325     bool LoadString(const wxString
& html
) 
2328         size_t len 
= html
.length(); 
2329         len 
*= sizeof(wxChar
); 
2330         data 
= (char *) malloc(len
); 
2331         memcpy(data
, html
.c_str(), len
); 
2332         return LoadStream(new wxOwnedMemInputStream(data
, len
)); 
2336     bool LoadStream(IStreamAdaptorBase 
*pstrm
) 
2338         // need to prepend this as poxy MSHTML will not recognise a HTML comment 
2339         // as starting a html document and treats it as plain text 
2340         // Does nayone know how to force it to html mode ? 
2342         // TODO: What to do in this case??? 
2344         pstrm
->prepend 
= _T("<html>"); 
2347         // strip leading whitespace as it can confuse MSHTML 
2348         wxAutoOleInterface
<IStream
> strm(pstrm
); 
2350         // Document Interface 
2351         IDispatch 
*pDisp 
= NULL
; 
2352         HRESULT hret 
= m_webBrowser
->get_Document(&pDisp
); 
2355         wxAutoOleInterface
<IDispatch
> disp(pDisp
); 
2358         // get IPersistStreamInit 
2359         wxAutoOleInterface
<IPersistStreamInit
> 
2360             pPersistStreamInit(IID_IPersistStreamInit
, disp
); 
2362         if (pPersistStreamInit
.Ok()) 
2364             HRESULT hr 
= pPersistStreamInit
->InitNew(); 
2366                 hr 
= pPersistStreamInit
->Load(strm
); 
2368             return SUCCEEDED(hr
); 
2374     bool LoadStream(wxInputStream 
*is
) 
2376         // wrap reference around stream 
2377         IwxStreamAdaptor 
*pstrm 
= new IwxStreamAdaptor(is
); 
2380         return LoadStream(pstrm
); 
2384     wxString 
GetStringSelection(bool asHTML
) 
2386         wxAutoOleInterface
<IHTMLTxtRange
> tr(wxieGetSelRange(m_oleObject
)); 
2388             return wxEmptyString
; 
2391         HRESULT hr 
= E_FAIL
; 
2394             hr 
= tr
->get_htmlText(&text
); 
2396             hr 
= tr
->get_text(&text
); 
2398             return wxEmptyString
; 
2401         SysFreeString(text
); 
2406     wxString 
GetText(bool asHTML
) 
2408         if (! m_webBrowser
.Ok()) 
2409             return wxEmptyString
; 
2411         // get document dispatch interface 
2412         IDispatch 
*iDisp 
= NULL
; 
2413         HRESULT hr 
= m_webBrowser
->get_Document(&iDisp
); 
2415             return wxEmptyString
; 
2417         // Query for Document Interface 
2418         wxAutoOleInterface
<IHTMLDocument2
> hd(IID_IHTMLDocument2
, iDisp
); 
2422             return wxEmptyString
; 
2425         IHTMLElement 
*_body 
= NULL
; 
2426         hd
->get_body(&_body
); 
2428             return wxEmptyString
; 
2429         wxAutoOleInterface
<IHTMLElement
> body(_body
); 
2436             hr 
= body
->get_innerHTML(&text
); 
2438             hr 
= body
->get_innerText(&text
); 
2440             return wxEmptyString
; 
2443         SysFreeString(text
); 
2449 //     void wxIEHtmlWin::SetEditMode(bool seton) 
2451 //         m_bAmbientUserMode = ! seton; 
2452 //         AmbientPropertyChanged(DISPID_AMBIENT_USERMODE); 
2455 //     bool wxIEHtmlWin::GetEditMode() 
2457 //         return ! m_bAmbientUserMode; 
2461 IMPLEMENT_ABSTRACT_CLASS( wxIEHtmlWindowBase
, wxActiveXWindow 
); 
2466   SWIG_AsVal_bool(PyObject 
*obj
, bool *val
) 
2468   if (obj 
== Py_True
) { 
2469     if (val
) *val 
= true; 
2472   if (obj 
== Py_False
) { 
2473     if (val
) *val 
= false; 
2477   if (SWIG_AsVal_int(obj
, &res
)) {     
2478     if (val
) *val 
= res 
? true : false; 
2484     SWIG_type_error("bool", obj
); 
2490 SWIGINTERNINLINE 
bool 
2491 SWIG_As_bool(PyObject
* obj
) 
2494   if (!SWIG_AsVal_bool(obj
, &v
)) { 
2496       this is needed to make valgrind/purify happier.  
2498     memset((void*)&v
, 0, sizeof(bool)); 
2504 SWIGINTERNINLINE 
int 
2505 SWIG_Check_bool(PyObject
* obj
) 
2507   return SWIG_AsVal_bool(obj
, (bool*)0); 
2513 static PyObject 
*_wrap_new_CLSID(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2514     PyObject 
*resultobj 
= NULL
; 
2515     wxString 
*arg1 
= 0 ; 
2517     bool temp1 
= false ; 
2518     PyObject 
* obj0 
= 0 ; 
2523     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CLSID",kwnames
,&obj0
)) goto fail
; 
2525         arg1 
= wxString_in_helper(obj0
); 
2526         if (arg1 
== NULL
) SWIG_fail
; 
2530         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2531         result 
= (CLSID 
*)new_CLSID((wxString 
const &)*arg1
); 
2533         wxPyEndAllowThreads(__tstate
); 
2534         if (PyErr_Occurred()) SWIG_fail
; 
2536     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_CLSID
, 1); 
2551 static PyObject 
*_wrap_delete_CLSID(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2552     PyObject 
*resultobj 
= NULL
; 
2553     CLSID 
*arg1 
= (CLSID 
*) 0 ; 
2554     PyObject 
* obj0 
= 0 ; 
2556         (char *) "self", NULL 
 
2559     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_CLSID",kwnames
,&obj0
)) goto fail
; 
2560     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_CLSID
, SWIG_POINTER_EXCEPTION 
| 0); 
2561     if (SWIG_arg_fail(1)) SWIG_fail
; 
2563         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2566         wxPyEndAllowThreads(__tstate
); 
2567         if (PyErr_Occurred()) SWIG_fail
; 
2569     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
2576 static PyObject 
*_wrap_CLSID_GetCLSIDString(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2577     PyObject 
*resultobj 
= NULL
; 
2578     CLSID 
*arg1 
= (CLSID 
*) 0 ; 
2580     PyObject 
* obj0 
= 0 ; 
2582         (char *) "self", NULL 
 
2585     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CLSID_GetCLSIDString",kwnames
,&obj0
)) goto fail
; 
2586     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_CLSID
, SWIG_POINTER_EXCEPTION 
| 0); 
2587     if (SWIG_arg_fail(1)) SWIG_fail
; 
2589         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2590         result 
= CLSID_GetCLSIDString(arg1
); 
2592         wxPyEndAllowThreads(__tstate
); 
2593         if (PyErr_Occurred()) SWIG_fail
; 
2597         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
2599         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
2608 static PyObject 
*_wrap_CLSID_GetProgIDString(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2609     PyObject 
*resultobj 
= NULL
; 
2610     CLSID 
*arg1 
= (CLSID 
*) 0 ; 
2612     PyObject 
* obj0 
= 0 ; 
2614         (char *) "self", NULL 
 
2617     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CLSID_GetProgIDString",kwnames
,&obj0
)) goto fail
; 
2618     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_CLSID
, SWIG_POINTER_EXCEPTION 
| 0); 
2619     if (SWIG_arg_fail(1)) SWIG_fail
; 
2621         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2622         result 
= CLSID_GetProgIDString(arg1
); 
2624         wxPyEndAllowThreads(__tstate
); 
2625         if (PyErr_Occurred()) SWIG_fail
; 
2629         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
2631         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
2640 static PyObject 
* CLSID_swigregister(PyObject 
*, PyObject 
*args
) { 
2642     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
2643     SWIG_TypeClientData(SWIGTYPE_p_CLSID
, obj
); 
2645     return Py_BuildValue((char *)""); 
2647 static PyObject 
*_wrap_ParamX_flags_get(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2648     PyObject 
*resultobj 
= NULL
; 
2649     wxParamX 
*arg1 
= (wxParamX 
*) 0 ; 
2651     PyObject 
* obj0 
= 0 ; 
2653         (char *) "self", NULL 
 
2656     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ParamX_flags_get",kwnames
,&obj0
)) goto fail
; 
2657     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxParamX
, SWIG_POINTER_EXCEPTION 
| 0); 
2658     if (SWIG_arg_fail(1)) SWIG_fail
; 
2659     result 
= (USHORT
) ((arg1
)->flags
); 
2662         resultobj 
= SWIG_From_unsigned_SS_short(static_cast<unsigned short >(result
));  
2670 static PyObject 
*_wrap_ParamX_isPtr_get(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2671     PyObject 
*resultobj 
= NULL
; 
2672     wxParamX 
*arg1 
= (wxParamX 
*) 0 ; 
2674     PyObject 
* obj0 
= 0 ; 
2676         (char *) "self", NULL 
 
2679     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ParamX_isPtr_get",kwnames
,&obj0
)) goto fail
; 
2680     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxParamX
, SWIG_POINTER_EXCEPTION 
| 0); 
2681     if (SWIG_arg_fail(1)) SWIG_fail
; 
2682     result 
= (bool) ((arg1
)->isPtr
); 
2685         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
2693 static PyObject 
*_wrap_ParamX_isSafeArray_get(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2694     PyObject 
*resultobj 
= NULL
; 
2695     wxParamX 
*arg1 
= (wxParamX 
*) 0 ; 
2697     PyObject 
* obj0 
= 0 ; 
2699         (char *) "self", NULL 
 
2702     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ParamX_isSafeArray_get",kwnames
,&obj0
)) goto fail
; 
2703     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxParamX
, SWIG_POINTER_EXCEPTION 
| 0); 
2704     if (SWIG_arg_fail(1)) SWIG_fail
; 
2705     result 
= (bool) ((arg1
)->isSafeArray
); 
2708         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
2716 static PyObject 
*_wrap_ParamX_isOptional_get(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2717     PyObject 
*resultobj 
= NULL
; 
2718     wxParamX 
*arg1 
= (wxParamX 
*) 0 ; 
2720     PyObject 
* obj0 
= 0 ; 
2722         (char *) "self", NULL 
 
2725     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ParamX_isOptional_get",kwnames
,&obj0
)) goto fail
; 
2726     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxParamX
, SWIG_POINTER_EXCEPTION 
| 0); 
2727     if (SWIG_arg_fail(1)) SWIG_fail
; 
2728     result 
= (bool) ((arg1
)->isOptional
); 
2731         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
2739 static PyObject 
*_wrap_ParamX_vt_get(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2740     PyObject 
*resultobj 
= NULL
; 
2741     wxParamX 
*arg1 
= (wxParamX 
*) 0 ; 
2743     PyObject 
* obj0 
= 0 ; 
2745         (char *) "self", NULL 
 
2748     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ParamX_vt_get",kwnames
,&obj0
)) goto fail
; 
2749     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxParamX
, SWIG_POINTER_EXCEPTION 
| 0); 
2750     if (SWIG_arg_fail(1)) SWIG_fail
; 
2751     result 
= (VARTYPE
) ((arg1
)->vt
); 
2754         resultobj 
= SWIG_From_unsigned_SS_short(static_cast<unsigned short >(result
));  
2762 static PyObject 
*_wrap_ParamX_name_get(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2763     PyObject 
*resultobj 
= NULL
; 
2764     wxParamX 
*arg1 
= (wxParamX 
*) 0 ; 
2766     PyObject 
* obj0 
= 0 ; 
2768         (char *) "self", NULL 
 
2771     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ParamX_name_get",kwnames
,&obj0
)) goto fail
; 
2772     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxParamX
, SWIG_POINTER_EXCEPTION 
| 0); 
2773     if (SWIG_arg_fail(1)) SWIG_fail
; 
2774     result 
= (wxString 
*)& ((arg1
)->name
); 
2778         resultobj 
= PyUnicode_FromWideChar(result
->c_str(), result
->Len()); 
2780         resultobj 
= PyString_FromStringAndSize(result
->c_str(), result
->Len()); 
2789 static PyObject 
*_wrap_ParamX_vt_type_get(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2790     PyObject 
*resultobj 
= NULL
; 
2791     wxParamX 
*arg1 
= (wxParamX 
*) 0 ; 
2793     PyObject 
* obj0 
= 0 ; 
2795         (char *) "self", NULL 
 
2798     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ParamX_vt_type_get",kwnames
,&obj0
)) goto fail
; 
2799     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxParamX
, SWIG_POINTER_EXCEPTION 
| 0); 
2800     if (SWIG_arg_fail(1)) SWIG_fail
; 
2802         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2803         result 
= wxParamX_vt_type_get(arg1
); 
2805         wxPyEndAllowThreads(__tstate
); 
2806         if (PyErr_Occurred()) SWIG_fail
; 
2810         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
2812         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
2821 static PyObject 
*_wrap_ParamX_IsIn(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2822     PyObject 
*resultobj 
= NULL
; 
2823     wxParamX 
*arg1 
= (wxParamX 
*) 0 ; 
2825     PyObject 
* obj0 
= 0 ; 
2827         (char *) "self", NULL 
 
2830     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ParamX_IsIn",kwnames
,&obj0
)) goto fail
; 
2831     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxParamX
, SWIG_POINTER_EXCEPTION 
| 0); 
2832     if (SWIG_arg_fail(1)) SWIG_fail
; 
2834         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2835         result 
= (bool)((wxParamX 
const *)arg1
)->IsIn(); 
2837         wxPyEndAllowThreads(__tstate
); 
2838         if (PyErr_Occurred()) SWIG_fail
; 
2841         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
2849 static PyObject 
*_wrap_ParamX_IsOut(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2850     PyObject 
*resultobj 
= NULL
; 
2851     wxParamX 
*arg1 
= (wxParamX 
*) 0 ; 
2853     PyObject 
* obj0 
= 0 ; 
2855         (char *) "self", NULL 
 
2858     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ParamX_IsOut",kwnames
,&obj0
)) goto fail
; 
2859     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxParamX
, SWIG_POINTER_EXCEPTION 
| 0); 
2860     if (SWIG_arg_fail(1)) SWIG_fail
; 
2862         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2863         result 
= (bool)((wxParamX 
const *)arg1
)->IsOut(); 
2865         wxPyEndAllowThreads(__tstate
); 
2866         if (PyErr_Occurred()) SWIG_fail
; 
2869         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
2877 static PyObject 
*_wrap_ParamX_IsRetVal(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2878     PyObject 
*resultobj 
= NULL
; 
2879     wxParamX 
*arg1 
= (wxParamX 
*) 0 ; 
2881     PyObject 
* obj0 
= 0 ; 
2883         (char *) "self", NULL 
 
2886     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ParamX_IsRetVal",kwnames
,&obj0
)) goto fail
; 
2887     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxParamX
, SWIG_POINTER_EXCEPTION 
| 0); 
2888     if (SWIG_arg_fail(1)) SWIG_fail
; 
2890         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2891         result 
= (bool)((wxParamX 
const *)arg1
)->IsRetVal(); 
2893         wxPyEndAllowThreads(__tstate
); 
2894         if (PyErr_Occurred()) SWIG_fail
; 
2897         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
2905 static PyObject 
* ParamX_swigregister(PyObject 
*, PyObject 
*args
) { 
2907     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
2908     SWIG_TypeClientData(SWIGTYPE_p_wxParamX
, obj
); 
2910     return Py_BuildValue((char *)""); 
2912 static PyObject 
*_wrap_FuncX_name_get(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2913     PyObject 
*resultobj 
= NULL
; 
2914     wxFuncX 
*arg1 
= (wxFuncX 
*) 0 ; 
2916     PyObject 
* obj0 
= 0 ; 
2918         (char *) "self", NULL 
 
2921     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FuncX_name_get",kwnames
,&obj0
)) goto fail
; 
2922     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFuncX
, SWIG_POINTER_EXCEPTION 
| 0); 
2923     if (SWIG_arg_fail(1)) SWIG_fail
; 
2924     result 
= (wxString 
*)& ((arg1
)->name
); 
2928         resultobj 
= PyUnicode_FromWideChar(result
->c_str(), result
->Len()); 
2930         resultobj 
= PyString_FromStringAndSize(result
->c_str(), result
->Len()); 
2939 static PyObject 
*_wrap_FuncX_memid_get(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2940     PyObject 
*resultobj 
= NULL
; 
2941     wxFuncX 
*arg1 
= (wxFuncX 
*) 0 ; 
2943     PyObject 
* obj0 
= 0 ; 
2945         (char *) "self", NULL 
 
2948     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FuncX_memid_get",kwnames
,&obj0
)) goto fail
; 
2949     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFuncX
, SWIG_POINTER_EXCEPTION 
| 0); 
2950     if (SWIG_arg_fail(1)) SWIG_fail
; 
2951     result 
= (MEMBERID
) ((arg1
)->memid
); 
2954         resultobj 
= SWIG_From_long(static_cast<long >(result
));  
2962 static PyObject 
*_wrap_FuncX_hasOut_get(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2963     PyObject 
*resultobj 
= NULL
; 
2964     wxFuncX 
*arg1 
= (wxFuncX 
*) 0 ; 
2966     PyObject 
* obj0 
= 0 ; 
2968         (char *) "self", NULL 
 
2971     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FuncX_hasOut_get",kwnames
,&obj0
)) goto fail
; 
2972     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFuncX
, SWIG_POINTER_EXCEPTION 
| 0); 
2973     if (SWIG_arg_fail(1)) SWIG_fail
; 
2974     result 
= (bool) ((arg1
)->hasOut
); 
2977         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
2985 static PyObject 
*_wrap_FuncX_retType_get(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2986     PyObject 
*resultobj 
= NULL
; 
2987     wxFuncX 
*arg1 
= (wxFuncX 
*) 0 ; 
2989     PyObject 
* obj0 
= 0 ; 
2991         (char *) "self", NULL 
 
2994     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FuncX_retType_get",kwnames
,&obj0
)) goto fail
; 
2995     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFuncX
, SWIG_POINTER_EXCEPTION 
| 0); 
2996     if (SWIG_arg_fail(1)) SWIG_fail
; 
2997     result 
= (wxParamX 
*)& ((arg1
)->retType
); 
2999     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxParamX
, 0); 
3006 static PyObject 
*_wrap_FuncX_params_get(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3007     PyObject 
*resultobj 
= NULL
; 
3008     wxFuncX 
*arg1 
= (wxFuncX 
*) 0 ; 
3009     wxParamXArray 
*result
; 
3010     PyObject 
* obj0 
= 0 ; 
3012         (char *) "self", NULL 
 
3015     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FuncX_params_get",kwnames
,&obj0
)) goto fail
; 
3016     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFuncX
, SWIG_POINTER_EXCEPTION 
| 0); 
3017     if (SWIG_arg_fail(1)) SWIG_fail
; 
3018     result 
= (wxParamXArray 
*)& ((arg1
)->params
); 
3020     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxParamXArray
, 0); 
3027 static PyObject 
* FuncX_swigregister(PyObject 
*, PyObject 
*args
) { 
3029     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
3030     SWIG_TypeClientData(SWIGTYPE_p_wxFuncX
, obj
); 
3032     return Py_BuildValue((char *)""); 
3034 static PyObject 
*_wrap_PropX_name_get(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3035     PyObject 
*resultobj 
= NULL
; 
3036     wxPropX 
*arg1 
= (wxPropX 
*) 0 ; 
3038     PyObject 
* obj0 
= 0 ; 
3040         (char *) "self", NULL 
 
3043     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PropX_name_get",kwnames
,&obj0
)) goto fail
; 
3044     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPropX
, SWIG_POINTER_EXCEPTION 
| 0); 
3045     if (SWIG_arg_fail(1)) SWIG_fail
; 
3046     result 
= (wxString 
*)& ((arg1
)->name
); 
3050         resultobj 
= PyUnicode_FromWideChar(result
->c_str(), result
->Len()); 
3052         resultobj 
= PyString_FromStringAndSize(result
->c_str(), result
->Len()); 
3061 static PyObject 
*_wrap_PropX_memid_get(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3062     PyObject 
*resultobj 
= NULL
; 
3063     wxPropX 
*arg1 
= (wxPropX 
*) 0 ; 
3065     PyObject 
* obj0 
= 0 ; 
3067         (char *) "self", NULL 
 
3070     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PropX_memid_get",kwnames
,&obj0
)) goto fail
; 
3071     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPropX
, SWIG_POINTER_EXCEPTION 
| 0); 
3072     if (SWIG_arg_fail(1)) SWIG_fail
; 
3073     result 
= (MEMBERID
) ((arg1
)->memid
); 
3076         resultobj 
= SWIG_From_long(static_cast<long >(result
));  
3084 static PyObject 
*_wrap_PropX_type_get(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3085     PyObject 
*resultobj 
= NULL
; 
3086     wxPropX 
*arg1 
= (wxPropX 
*) 0 ; 
3088     PyObject 
* obj0 
= 0 ; 
3090         (char *) "self", NULL 
 
3093     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PropX_type_get",kwnames
,&obj0
)) goto fail
; 
3094     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPropX
, SWIG_POINTER_EXCEPTION 
| 0); 
3095     if (SWIG_arg_fail(1)) SWIG_fail
; 
3096     result 
= (wxParamX 
*)& ((arg1
)->type
); 
3098     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxParamX
, 0); 
3105 static PyObject 
*_wrap_PropX_arg_get(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3106     PyObject 
*resultobj 
= NULL
; 
3107     wxPropX 
*arg1 
= (wxPropX 
*) 0 ; 
3109     PyObject 
* obj0 
= 0 ; 
3111         (char *) "self", NULL 
 
3114     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PropX_arg_get",kwnames
,&obj0
)) goto fail
; 
3115     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPropX
, SWIG_POINTER_EXCEPTION 
| 0); 
3116     if (SWIG_arg_fail(1)) SWIG_fail
; 
3117     result 
= (wxParamX 
*)& ((arg1
)->arg
); 
3119     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxParamX
, 0); 
3126 static PyObject 
*_wrap_PropX_putByRef_get(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3127     PyObject 
*resultobj 
= NULL
; 
3128     wxPropX 
*arg1 
= (wxPropX 
*) 0 ; 
3130     PyObject 
* obj0 
= 0 ; 
3132         (char *) "self", NULL 
 
3135     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PropX_putByRef_get",kwnames
,&obj0
)) goto fail
; 
3136     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPropX
, SWIG_POINTER_EXCEPTION 
| 0); 
3137     if (SWIG_arg_fail(1)) SWIG_fail
; 
3138     result 
= (bool) ((arg1
)->putByRef
); 
3141         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
3149 static PyObject 
*_wrap_PropX_CanGet(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3150     PyObject 
*resultobj 
= NULL
; 
3151     wxPropX 
*arg1 
= (wxPropX 
*) 0 ; 
3153     PyObject 
* obj0 
= 0 ; 
3155         (char *) "self", NULL 
 
3158     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PropX_CanGet",kwnames
,&obj0
)) goto fail
; 
3159     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPropX
, SWIG_POINTER_EXCEPTION 
| 0); 
3160     if (SWIG_arg_fail(1)) SWIG_fail
; 
3162         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3163         result 
= (bool)((wxPropX 
const *)arg1
)->CanGet(); 
3165         wxPyEndAllowThreads(__tstate
); 
3166         if (PyErr_Occurred()) SWIG_fail
; 
3169         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
3177 static PyObject 
*_wrap_PropX_CanSet(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3178     PyObject 
*resultobj 
= NULL
; 
3179     wxPropX 
*arg1 
= (wxPropX 
*) 0 ; 
3181     PyObject 
* obj0 
= 0 ; 
3183         (char *) "self", NULL 
 
3186     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PropX_CanSet",kwnames
,&obj0
)) goto fail
; 
3187     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPropX
, SWIG_POINTER_EXCEPTION 
| 0); 
3188     if (SWIG_arg_fail(1)) SWIG_fail
; 
3190         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3191         result 
= (bool)((wxPropX 
const *)arg1
)->CanSet(); 
3193         wxPyEndAllowThreads(__tstate
); 
3194         if (PyErr_Occurred()) SWIG_fail
; 
3197         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
3205 static PyObject 
* PropX_swigregister(PyObject 
*, PyObject 
*args
) { 
3207     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
3208     SWIG_TypeClientData(SWIGTYPE_p_wxPropX
, obj
); 
3210     return Py_BuildValue((char *)""); 
3212 static PyObject 
*_wrap_ParamXArray___nonzero__(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3213     PyObject 
*resultobj 
= NULL
; 
3214     wxParamXArray 
*arg1 
= (wxParamXArray 
*) 0 ; 
3216     PyObject 
* obj0 
= 0 ; 
3218         (char *) "self", NULL 
 
3221     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ParamXArray___nonzero__",kwnames
,&obj0
)) goto fail
; 
3222     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxParamXArray
, SWIG_POINTER_EXCEPTION 
| 0); 
3223     if (SWIG_arg_fail(1)) SWIG_fail
; 
3225         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3226         result 
= (bool)wxParamXArray___nonzero__(arg1
); 
3228         wxPyEndAllowThreads(__tstate
); 
3229         if (PyErr_Occurred()) SWIG_fail
; 
3232         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
3240 static PyObject 
*_wrap_ParamXArray___len__(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3241     PyObject 
*resultobj 
= NULL
; 
3242     wxParamXArray 
*arg1 
= (wxParamXArray 
*) 0 ; 
3244     PyObject 
* obj0 
= 0 ; 
3246         (char *) "self", NULL 
 
3249     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ParamXArray___len__",kwnames
,&obj0
)) goto fail
; 
3250     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxParamXArray
, SWIG_POINTER_EXCEPTION 
| 0); 
3251     if (SWIG_arg_fail(1)) SWIG_fail
; 
3253         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3254         result 
= (int)wxParamXArray___len__(arg1
); 
3256         wxPyEndAllowThreads(__tstate
); 
3257         if (PyErr_Occurred()) SWIG_fail
; 
3260         resultobj 
= SWIG_From_int(static_cast<int >(result
));  
3268 static PyObject 
*_wrap_ParamXArray___getitem__(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3269     PyObject 
*resultobj 
= NULL
; 
3270     wxParamXArray 
*arg1 
= (wxParamXArray 
*) 0 ; 
3273     PyObject 
* obj0 
= 0 ; 
3274     PyObject 
* obj1 
= 0 ; 
3276         (char *) "self",(char *) "idx", NULL 
 
3279     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ParamXArray___getitem__",kwnames
,&obj0
,&obj1
)) goto fail
; 
3280     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxParamXArray
, SWIG_POINTER_EXCEPTION 
| 0); 
3281     if (SWIG_arg_fail(1)) SWIG_fail
; 
3283         arg2 
= static_cast<int >(SWIG_As_int(obj1
));  
3284         if (SWIG_arg_fail(2)) SWIG_fail
; 
3287         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3289             wxParamX 
const &_result_ref 
= wxParamXArray___getitem__(arg1
,arg2
); 
3290             result 
= (wxParamX 
*) &_result_ref
; 
3293         wxPyEndAllowThreads(__tstate
); 
3294         if (PyErr_Occurred()) SWIG_fail
; 
3296     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxParamX
, 0); 
3303 static PyObject 
* ParamXArray_swigregister(PyObject 
*, PyObject 
*args
) { 
3305     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
3306     SWIG_TypeClientData(SWIGTYPE_p_wxParamXArray
, obj
); 
3308     return Py_BuildValue((char *)""); 
3310 static PyObject 
*_wrap_FuncXArray___nonzero__(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3311     PyObject 
*resultobj 
= NULL
; 
3312     wxFuncXArray 
*arg1 
= (wxFuncXArray 
*) 0 ; 
3314     PyObject 
* obj0 
= 0 ; 
3316         (char *) "self", NULL 
 
3319     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FuncXArray___nonzero__",kwnames
,&obj0
)) goto fail
; 
3320     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFuncXArray
, SWIG_POINTER_EXCEPTION 
| 0); 
3321     if (SWIG_arg_fail(1)) SWIG_fail
; 
3323         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3324         result 
= (bool)wxFuncXArray___nonzero__(arg1
); 
3326         wxPyEndAllowThreads(__tstate
); 
3327         if (PyErr_Occurred()) SWIG_fail
; 
3330         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
3338 static PyObject 
*_wrap_FuncXArray___len__(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3339     PyObject 
*resultobj 
= NULL
; 
3340     wxFuncXArray 
*arg1 
= (wxFuncXArray 
*) 0 ; 
3342     PyObject 
* obj0 
= 0 ; 
3344         (char *) "self", NULL 
 
3347     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FuncXArray___len__",kwnames
,&obj0
)) goto fail
; 
3348     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFuncXArray
, SWIG_POINTER_EXCEPTION 
| 0); 
3349     if (SWIG_arg_fail(1)) SWIG_fail
; 
3351         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3352         result 
= (int)wxFuncXArray___len__(arg1
); 
3354         wxPyEndAllowThreads(__tstate
); 
3355         if (PyErr_Occurred()) SWIG_fail
; 
3358         resultobj 
= SWIG_From_int(static_cast<int >(result
));  
3366 static PyObject 
*_wrap_FuncXArray___getitem__(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3367     PyObject 
*resultobj 
= NULL
; 
3368     wxFuncXArray 
*arg1 
= (wxFuncXArray 
*) 0 ; 
3371     PyObject 
* obj0 
= 0 ; 
3372     PyObject 
* obj1 
= 0 ; 
3374         (char *) "self",(char *) "idx", NULL 
 
3377     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FuncXArray___getitem__",kwnames
,&obj0
,&obj1
)) goto fail
; 
3378     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFuncXArray
, SWIG_POINTER_EXCEPTION 
| 0); 
3379     if (SWIG_arg_fail(1)) SWIG_fail
; 
3381         arg2 
= static_cast<int >(SWIG_As_int(obj1
));  
3382         if (SWIG_arg_fail(2)) SWIG_fail
; 
3385         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3387             wxFuncX 
const &_result_ref 
= wxFuncXArray___getitem__(arg1
,arg2
); 
3388             result 
= (wxFuncX 
*) &_result_ref
; 
3391         wxPyEndAllowThreads(__tstate
); 
3392         if (PyErr_Occurred()) SWIG_fail
; 
3394     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFuncX
, 0); 
3401 static PyObject 
* FuncXArray_swigregister(PyObject 
*, PyObject 
*args
) { 
3403     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
3404     SWIG_TypeClientData(SWIGTYPE_p_wxFuncXArray
, obj
); 
3406     return Py_BuildValue((char *)""); 
3408 static PyObject 
*_wrap_PropXArray___nonzero__(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3409     PyObject 
*resultobj 
= NULL
; 
3410     wxPropXArray 
*arg1 
= (wxPropXArray 
*) 0 ; 
3412     PyObject 
* obj0 
= 0 ; 
3414         (char *) "self", NULL 
 
3417     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PropXArray___nonzero__",kwnames
,&obj0
)) goto fail
; 
3418     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPropXArray
, SWIG_POINTER_EXCEPTION 
| 0); 
3419     if (SWIG_arg_fail(1)) SWIG_fail
; 
3421         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3422         result 
= (bool)wxPropXArray___nonzero__(arg1
); 
3424         wxPyEndAllowThreads(__tstate
); 
3425         if (PyErr_Occurred()) SWIG_fail
; 
3428         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
3436 static PyObject 
*_wrap_PropXArray___len__(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3437     PyObject 
*resultobj 
= NULL
; 
3438     wxPropXArray 
*arg1 
= (wxPropXArray 
*) 0 ; 
3440     PyObject 
* obj0 
= 0 ; 
3442         (char *) "self", NULL 
 
3445     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PropXArray___len__",kwnames
,&obj0
)) goto fail
; 
3446     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPropXArray
, SWIG_POINTER_EXCEPTION 
| 0); 
3447     if (SWIG_arg_fail(1)) SWIG_fail
; 
3449         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3450         result 
= (int)wxPropXArray___len__(arg1
); 
3452         wxPyEndAllowThreads(__tstate
); 
3453         if (PyErr_Occurred()) SWIG_fail
; 
3456         resultobj 
= SWIG_From_int(static_cast<int >(result
));  
3464 static PyObject 
*_wrap_PropXArray___getitem__(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3465     PyObject 
*resultobj 
= NULL
; 
3466     wxPropXArray 
*arg1 
= (wxPropXArray 
*) 0 ; 
3469     PyObject 
* obj0 
= 0 ; 
3470     PyObject 
* obj1 
= 0 ; 
3472         (char *) "self",(char *) "idx", NULL 
 
3475     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PropXArray___getitem__",kwnames
,&obj0
,&obj1
)) goto fail
; 
3476     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPropXArray
, SWIG_POINTER_EXCEPTION 
| 0); 
3477     if (SWIG_arg_fail(1)) SWIG_fail
; 
3479         arg2 
= static_cast<int >(SWIG_As_int(obj1
));  
3480         if (SWIG_arg_fail(2)) SWIG_fail
; 
3483         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3485             wxPropX 
const &_result_ref 
= wxPropXArray___getitem__(arg1
,arg2
); 
3486             result 
= (wxPropX 
*) &_result_ref
; 
3489         wxPyEndAllowThreads(__tstate
); 
3490         if (PyErr_Occurred()) SWIG_fail
; 
3492     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPropX
, 0); 
3499 static PyObject 
* PropXArray_swigregister(PyObject 
*, PyObject 
*args
) { 
3501     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
3502     SWIG_TypeClientData(SWIGTYPE_p_wxPropXArray
, obj
); 
3504     return Py_BuildValue((char *)""); 
3506 static PyObject 
*_wrap_new_ActiveXWindow(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3507     PyObject 
*resultobj 
= NULL
; 
3508     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
3510     int arg3 
= (int) -1 ; 
3511     wxPoint 
const &arg4_defvalue 
= wxDefaultPosition 
; 
3512     wxPoint 
*arg4 
= (wxPoint 
*) &arg4_defvalue 
; 
3513     wxSize 
const &arg5_defvalue 
= wxDefaultSize 
; 
3514     wxSize 
*arg5 
= (wxSize 
*) &arg5_defvalue 
; 
3515     long arg6 
= (long) 0 ; 
3516     wxString 
const &arg7_defvalue 
= wxPyPanelNameStr 
; 
3517     wxString 
*arg7 
= (wxString 
*) &arg7_defvalue 
; 
3518     wxActiveXWindow 
*result
; 
3521     bool temp7 
= false ; 
3522     PyObject 
* obj0 
= 0 ; 
3523     PyObject 
* obj1 
= 0 ; 
3524     PyObject 
* obj2 
= 0 ; 
3525     PyObject 
* obj3 
= 0 ; 
3526     PyObject 
* obj4 
= 0 ; 
3527     PyObject 
* obj5 
= 0 ; 
3528     PyObject 
* obj6 
= 0 ; 
3530         (char *) "parent",(char *) "clsId",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL 
 
3533     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:new_ActiveXWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
; 
3534     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
3535     if (SWIG_arg_fail(1)) SWIG_fail
; 
3537         SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_CLSID
, SWIG_POINTER_EXCEPTION 
| 0); 
3538         if (SWIG_arg_fail(2)) SWIG_fail
; 
3540             SWIG_null_ref("CLSID"); 
3542         if (SWIG_arg_fail(2)) SWIG_fail
; 
3546             arg3 
= static_cast<int >(SWIG_As_int(obj2
));  
3547             if (SWIG_arg_fail(3)) SWIG_fail
; 
3553             if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
; 
3559             if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
; 
3564             arg6 
= static_cast<long >(SWIG_As_long(obj5
));  
3565             if (SWIG_arg_fail(6)) SWIG_fail
; 
3570             arg7 
= wxString_in_helper(obj6
); 
3571             if (arg7 
== NULL
) SWIG_fail
; 
3576         if (!wxPyCheckForApp()) SWIG_fail
; 
3577         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3578         result 
= (wxActiveXWindow 
*)new wxActiveXWindow(arg1
,(CLSID 
const &)*arg2
,arg3
,(wxPoint 
const &)*arg4
,(wxSize 
const &)*arg5
,arg6
,(wxString 
const &)*arg7
); 
3580         wxPyEndAllowThreads(__tstate
); 
3581         if (PyErr_Occurred()) SWIG_fail
; 
3583     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxActiveXWindow
, 1); 
3598 static PyObject 
*_wrap_ActiveXWindow_GetCLSID(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3599     PyObject 
*resultobj 
= NULL
; 
3600     wxActiveXWindow 
*arg1 
= (wxActiveXWindow 
*) 0 ; 
3602     PyObject 
* obj0 
= 0 ; 
3604         (char *) "self", NULL 
 
3607     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ActiveXWindow_GetCLSID",kwnames
,&obj0
)) goto fail
; 
3608     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxActiveXWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
3609     if (SWIG_arg_fail(1)) SWIG_fail
; 
3611         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3613             CLSID 
const &_result_ref 
= ((wxActiveXWindow 
const *)arg1
)->GetCLSID(); 
3614             result 
= (CLSID 
*) &_result_ref
; 
3617         wxPyEndAllowThreads(__tstate
); 
3618         if (PyErr_Occurred()) SWIG_fail
; 
3620     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_CLSID
, 0); 
3627 static PyObject 
*_wrap_ActiveXWindow_GetAXEventCount(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3628     PyObject 
*resultobj 
= NULL
; 
3629     wxActiveXWindow 
*arg1 
= (wxActiveXWindow 
*) 0 ; 
3631     PyObject 
* obj0 
= 0 ; 
3633         (char *) "self", NULL 
 
3636     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ActiveXWindow_GetAXEventCount",kwnames
,&obj0
)) goto fail
; 
3637     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxActiveXWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
3638     if (SWIG_arg_fail(1)) SWIG_fail
; 
3640         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3641         result 
= (int)((wxActiveXWindow 
const *)arg1
)->GetAXEventCount(); 
3643         wxPyEndAllowThreads(__tstate
); 
3644         if (PyErr_Occurred()) SWIG_fail
; 
3647         resultobj 
= SWIG_From_int(static_cast<int >(result
));  
3655 static PyObject 
*_wrap_ActiveXWindow_GetAXEventDesc(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3656     PyObject 
*resultobj 
= NULL
; 
3657     wxActiveXWindow 
*arg1 
= (wxActiveXWindow 
*) 0 ; 
3660     PyObject 
* obj0 
= 0 ; 
3661     PyObject 
* obj1 
= 0 ; 
3663         (char *) "self",(char *) "idx", NULL 
 
3666     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ActiveXWindow_GetAXEventDesc",kwnames
,&obj0
,&obj1
)) goto fail
; 
3667     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxActiveXWindow
, 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(); 
3676             wxFuncX 
const &_result_ref 
= ((wxActiveXWindow 
const *)arg1
)->GetAXEventDesc(arg2
); 
3677             result 
= (wxFuncX 
*) &_result_ref
; 
3680         wxPyEndAllowThreads(__tstate
); 
3681         if (PyErr_Occurred()) SWIG_fail
; 
3683     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFuncX
, 0); 
3690 static PyObject 
*_wrap_ActiveXWindow_GetAXPropCount(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3691     PyObject 
*resultobj 
= NULL
; 
3692     wxActiveXWindow 
*arg1 
= (wxActiveXWindow 
*) 0 ; 
3694     PyObject 
* obj0 
= 0 ; 
3696         (char *) "self", NULL 
 
3699     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ActiveXWindow_GetAXPropCount",kwnames
,&obj0
)) goto fail
; 
3700     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxActiveXWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
3701     if (SWIG_arg_fail(1)) SWIG_fail
; 
3703         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3704         result 
= (int)((wxActiveXWindow 
const *)arg1
)->GetAXPropCount(); 
3706         wxPyEndAllowThreads(__tstate
); 
3707         if (PyErr_Occurred()) SWIG_fail
; 
3710         resultobj 
= SWIG_From_int(static_cast<int >(result
));  
3718 static PyObject 
*_wrap_ActiveXWindow_GetAXPropDesc__SWIG_0(PyObject 
*, PyObject 
*args
) { 
3719     PyObject 
*resultobj 
= NULL
; 
3720     wxActiveXWindow 
*arg1 
= (wxActiveXWindow 
*) 0 ; 
3723     PyObject 
* obj0 
= 0 ; 
3724     PyObject 
* obj1 
= 0 ; 
3726     if(!PyArg_ParseTuple(args
,(char *)"OO:ActiveXWindow_GetAXPropDesc",&obj0
,&obj1
)) goto fail
; 
3727     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxActiveXWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
3728     if (SWIG_arg_fail(1)) SWIG_fail
; 
3730         arg2 
= static_cast<int >(SWIG_As_int(obj1
));  
3731         if (SWIG_arg_fail(2)) SWIG_fail
; 
3734         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3736             wxPropX 
const &_result_ref 
= ((wxActiveXWindow 
const *)arg1
)->GetAXPropDesc(arg2
); 
3737             result 
= (wxPropX 
*) &_result_ref
; 
3740         wxPyEndAllowThreads(__tstate
); 
3741         if (PyErr_Occurred()) SWIG_fail
; 
3743     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPropX
, 0); 
3750 static PyObject 
*_wrap_ActiveXWindow_GetAXPropDesc__SWIG_1(PyObject 
*, PyObject 
*args
) { 
3751     PyObject 
*resultobj 
= NULL
; 
3752     wxActiveXWindow 
*arg1 
= (wxActiveXWindow 
*) 0 ; 
3753     wxString 
*arg2 
= 0 ; 
3755     bool temp2 
= false ; 
3756     PyObject 
* obj0 
= 0 ; 
3757     PyObject 
* obj1 
= 0 ; 
3759     if(!PyArg_ParseTuple(args
,(char *)"OO:ActiveXWindow_GetAXPropDesc",&obj0
,&obj1
)) goto fail
; 
3760     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxActiveXWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
3761     if (SWIG_arg_fail(1)) SWIG_fail
; 
3763         arg2 
= wxString_in_helper(obj1
); 
3764         if (arg2 
== NULL
) SWIG_fail
; 
3768         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3770             wxPropX 
const &_result_ref 
= ((wxActiveXWindow 
const *)arg1
)->GetAXPropDesc((wxString 
const &)*arg2
); 
3771             result 
= (wxPropX 
*) &_result_ref
; 
3774         wxPyEndAllowThreads(__tstate
); 
3775         if (PyErr_Occurred()) SWIG_fail
; 
3777     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPropX
, 0); 
3792 static PyObject 
*_wrap_ActiveXWindow_GetAXPropDesc(PyObject 
*self
, PyObject 
*args
) { 
3797     argc 
= PyObject_Length(args
); 
3798     for (ii 
= 0; (ii 
< argc
) && (ii 
< 2); ii
++) { 
3799         argv
[ii
] = PyTuple_GetItem(args
,ii
); 
3805             if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxActiveXWindow
, 0) == -1) { 
3814                 _v 
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]); 
3817                 return _wrap_ActiveXWindow_GetAXPropDesc__SWIG_1(self
,args
); 
3825             if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxActiveXWindow
, 0) == -1) { 
3833             _v 
= SWIG_Check_int(argv
[1]); 
3835                 return _wrap_ActiveXWindow_GetAXPropDesc__SWIG_0(self
,args
); 
3840     PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'ActiveXWindow_GetAXPropDesc'"); 
3845 static PyObject 
*_wrap_ActiveXWindow_GetAXMethodCount(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3846     PyObject 
*resultobj 
= NULL
; 
3847     wxActiveXWindow 
*arg1 
= (wxActiveXWindow 
*) 0 ; 
3849     PyObject 
* obj0 
= 0 ; 
3851         (char *) "self", NULL 
 
3854     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ActiveXWindow_GetAXMethodCount",kwnames
,&obj0
)) goto fail
; 
3855     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxActiveXWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
3856     if (SWIG_arg_fail(1)) SWIG_fail
; 
3858         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3859         result 
= (int)((wxActiveXWindow 
const *)arg1
)->GetAXMethodCount(); 
3861         wxPyEndAllowThreads(__tstate
); 
3862         if (PyErr_Occurred()) SWIG_fail
; 
3865         resultobj 
= SWIG_From_int(static_cast<int >(result
));  
3873 static PyObject 
*_wrap_ActiveXWindow_GetAXMethodDesc__SWIG_0(PyObject 
*, PyObject 
*args
) { 
3874     PyObject 
*resultobj 
= NULL
; 
3875     wxActiveXWindow 
*arg1 
= (wxActiveXWindow 
*) 0 ; 
3878     PyObject 
* obj0 
= 0 ; 
3879     PyObject 
* obj1 
= 0 ; 
3881     if(!PyArg_ParseTuple(args
,(char *)"OO:ActiveXWindow_GetAXMethodDesc",&obj0
,&obj1
)) goto fail
; 
3882     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxActiveXWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
3883     if (SWIG_arg_fail(1)) SWIG_fail
; 
3885         arg2 
= static_cast<int >(SWIG_As_int(obj1
));  
3886         if (SWIG_arg_fail(2)) SWIG_fail
; 
3889         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3891             wxFuncX 
const &_result_ref 
= ((wxActiveXWindow 
const *)arg1
)->GetAXMethodDesc(arg2
); 
3892             result 
= (wxFuncX 
*) &_result_ref
; 
3895         wxPyEndAllowThreads(__tstate
); 
3896         if (PyErr_Occurred()) SWIG_fail
; 
3898     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFuncX
, 0); 
3905 static PyObject 
*_wrap_ActiveXWindow_GetAXMethodDesc__SWIG_1(PyObject 
*, PyObject 
*args
) { 
3906     PyObject 
*resultobj 
= NULL
; 
3907     wxActiveXWindow 
*arg1 
= (wxActiveXWindow 
*) 0 ; 
3908     wxString 
*arg2 
= 0 ; 
3910     bool temp2 
= false ; 
3911     PyObject 
* obj0 
= 0 ; 
3912     PyObject 
* obj1 
= 0 ; 
3914     if(!PyArg_ParseTuple(args
,(char *)"OO:ActiveXWindow_GetAXMethodDesc",&obj0
,&obj1
)) goto fail
; 
3915     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxActiveXWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
3916     if (SWIG_arg_fail(1)) SWIG_fail
; 
3918         arg2 
= wxString_in_helper(obj1
); 
3919         if (arg2 
== NULL
) SWIG_fail
; 
3923         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3925             wxFuncX 
const &_result_ref 
= ((wxActiveXWindow 
const *)arg1
)->GetAXMethodDesc((wxString 
const &)*arg2
); 
3926             result 
= (wxFuncX 
*) &_result_ref
; 
3929         wxPyEndAllowThreads(__tstate
); 
3930         if (PyErr_Occurred()) SWIG_fail
; 
3932     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFuncX
, 0); 
3947 static PyObject 
*_wrap_ActiveXWindow_GetAXMethodDesc(PyObject 
*self
, PyObject 
*args
) { 
3952     argc 
= PyObject_Length(args
); 
3953     for (ii 
= 0; (ii 
< argc
) && (ii 
< 2); ii
++) { 
3954         argv
[ii
] = PyTuple_GetItem(args
,ii
); 
3960             if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxActiveXWindow
, 0) == -1) { 
3969                 _v 
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]); 
3972                 return _wrap_ActiveXWindow_GetAXMethodDesc__SWIG_1(self
,args
); 
3980             if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxActiveXWindow
, 0) == -1) { 
3988             _v 
= SWIG_Check_int(argv
[1]); 
3990                 return _wrap_ActiveXWindow_GetAXMethodDesc__SWIG_0(self
,args
); 
3995     PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'ActiveXWindow_GetAXMethodDesc'"); 
4000 static PyObject 
*_wrap_ActiveXWindow_GetAXEvents(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4001     PyObject 
*resultobj 
= NULL
; 
4002     wxActiveXWindow 
*arg1 
= (wxActiveXWindow 
*) 0 ; 
4003     wxFuncXArray 
*result
; 
4004     PyObject 
* obj0 
= 0 ; 
4006         (char *) "self", NULL 
 
4009     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ActiveXWindow_GetAXEvents",kwnames
,&obj0
)) goto fail
; 
4010     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxActiveXWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
4011     if (SWIG_arg_fail(1)) SWIG_fail
; 
4013         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4015             wxFuncXArray 
const &_result_ref 
= (arg1
)->GetAXEvents(); 
4016             result 
= (wxFuncXArray 
*) &_result_ref
; 
4019         wxPyEndAllowThreads(__tstate
); 
4020         if (PyErr_Occurred()) SWIG_fail
; 
4022     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFuncXArray
, 0); 
4029 static PyObject 
*_wrap_ActiveXWindow_GetAXMethods(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4030     PyObject 
*resultobj 
= NULL
; 
4031     wxActiveXWindow 
*arg1 
= (wxActiveXWindow 
*) 0 ; 
4032     wxFuncXArray 
*result
; 
4033     PyObject 
* obj0 
= 0 ; 
4035         (char *) "self", NULL 
 
4038     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ActiveXWindow_GetAXMethods",kwnames
,&obj0
)) goto fail
; 
4039     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxActiveXWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
4040     if (SWIG_arg_fail(1)) SWIG_fail
; 
4042         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4044             wxFuncXArray 
const &_result_ref 
= (arg1
)->GetAXMethods(); 
4045             result 
= (wxFuncXArray 
*) &_result_ref
; 
4048         wxPyEndAllowThreads(__tstate
); 
4049         if (PyErr_Occurred()) SWIG_fail
; 
4051     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFuncXArray
, 0); 
4058 static PyObject 
*_wrap_ActiveXWindow_GetAXProperties(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4059     PyObject 
*resultobj 
= NULL
; 
4060     wxActiveXWindow 
*arg1 
= (wxActiveXWindow 
*) 0 ; 
4061     wxPropXArray 
*result
; 
4062     PyObject 
* obj0 
= 0 ; 
4064         (char *) "self", NULL 
 
4067     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ActiveXWindow_GetAXProperties",kwnames
,&obj0
)) goto fail
; 
4068     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxActiveXWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
4069     if (SWIG_arg_fail(1)) SWIG_fail
; 
4071         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4073             wxPropXArray 
const &_result_ref 
= (arg1
)->GetAXProperties(); 
4074             result 
= (wxPropXArray 
*) &_result_ref
; 
4077         wxPyEndAllowThreads(__tstate
); 
4078         if (PyErr_Occurred()) SWIG_fail
; 
4080     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPropXArray
, 0); 
4087 static PyObject 
*_wrap_ActiveXWindow_SetAXProp(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4088     PyObject 
*resultobj 
= NULL
; 
4089     wxActiveXWindow 
*arg1 
= (wxActiveXWindow 
*) 0 ; 
4090     wxString 
*arg2 
= 0 ; 
4091     PyObject 
*arg3 
= (PyObject 
*) 0 ; 
4092     bool temp2 
= false ; 
4093     PyObject 
* obj0 
= 0 ; 
4094     PyObject 
* obj1 
= 0 ; 
4095     PyObject 
* obj2 
= 0 ; 
4097         (char *) "self",(char *) "name",(char *) "value", NULL 
 
4100     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ActiveXWindow_SetAXProp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
4101     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxActiveXWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
4102     if (SWIG_arg_fail(1)) SWIG_fail
; 
4104         arg2 
= wxString_in_helper(obj1
); 
4105         if (arg2 
== NULL
) SWIG_fail
; 
4110         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4111         (arg1
)->SetAXProp((wxString 
const &)*arg2
,arg3
); 
4113         wxPyEndAllowThreads(__tstate
); 
4114         if (PyErr_Occurred()) SWIG_fail
; 
4116     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
4131 static PyObject 
*_wrap_ActiveXWindow_GetAXProp(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4132     PyObject 
*resultobj 
= NULL
; 
4133     wxActiveXWindow 
*arg1 
= (wxActiveXWindow 
*) 0 ; 
4134     wxString 
*arg2 
= 0 ; 
4136     bool temp2 
= false ; 
4137     PyObject 
* obj0 
= 0 ; 
4138     PyObject 
* obj1 
= 0 ; 
4140         (char *) "self",(char *) "name", NULL 
 
4143     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ActiveXWindow_GetAXProp",kwnames
,&obj0
,&obj1
)) goto fail
; 
4144     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxActiveXWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
4145     if (SWIG_arg_fail(1)) SWIG_fail
; 
4147         arg2 
= wxString_in_helper(obj1
); 
4148         if (arg2 
== NULL
) SWIG_fail
; 
4152         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4153         result 
= (PyObject 
*)(arg1
)->GetAXProp((wxString 
const &)*arg2
); 
4155         wxPyEndAllowThreads(__tstate
); 
4156         if (PyErr_Occurred()) SWIG_fail
; 
4173 static PyObject 
*_wrap_ActiveXWindow__CallAXMethod(PyObject 
*, PyObject 
*args
) { 
4174     PyObject 
*resultobj 
= NULL
; 
4175     wxActiveXWindow 
*arg1 
= (wxActiveXWindow 
*) 0 ; 
4176     wxString 
*arg2 
= 0 ; 
4177     PyObject 
*arg3 
= (PyObject 
*) 0 ; 
4179     bool temp2 
= false ; 
4180     PyObject 
* obj0 
= 0 ; 
4181     PyObject 
* obj1 
= 0 ; 
4182     PyObject 
* obj2 
= 0 ; 
4184     if(!PyArg_ParseTuple(args
,(char *)"OOO:ActiveXWindow__CallAXMethod",&obj0
,&obj1
,&obj2
)) goto fail
; 
4185     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxActiveXWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
4186     if (SWIG_arg_fail(1)) SWIG_fail
; 
4188         arg2 
= wxString_in_helper(obj1
); 
4189         if (arg2 
== NULL
) SWIG_fail
; 
4194         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4195         result 
= (PyObject 
*)(arg1
)->_CallAXMethod((wxString 
const &)*arg2
,arg3
); 
4197         wxPyEndAllowThreads(__tstate
); 
4198         if (PyErr_Occurred()) SWIG_fail
; 
4215 static PyObject 
* ActiveXWindow_swigregister(PyObject 
*, PyObject 
*args
) { 
4217     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
4218     SWIG_TypeClientData(SWIGTYPE_p_wxActiveXWindow
, obj
); 
4220     return Py_BuildValue((char *)""); 
4222 static PyObject 
*_wrap_RegisterActiveXEvent(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4223     PyObject 
*resultobj 
= NULL
; 
4224     wxString 
*arg1 
= 0 ; 
4226     bool temp1 
= false ; 
4227     PyObject 
* obj0 
= 0 ; 
4229         (char *) "eventName", NULL 
 
4232     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegisterActiveXEvent",kwnames
,&obj0
)) goto fail
; 
4234         arg1 
= wxString_in_helper(obj0
); 
4235         if (arg1 
== NULL
) SWIG_fail
; 
4239         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4240         result 
= (wxEventType
)RegisterActiveXEvent((wxString 
const &)*arg1
); 
4242         wxPyEndAllowThreads(__tstate
); 
4243         if (PyErr_Occurred()) SWIG_fail
; 
4246         resultobj 
= SWIG_From_int(static_cast<int >(result
));  
4262 static PyObject 
*_wrap_ActiveXEvent_EventName(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4263     PyObject 
*resultobj 
= NULL
; 
4264     wxActiveXEvent 
*arg1 
= (wxActiveXEvent 
*) 0 ; 
4266     PyObject 
* obj0 
= 0 ; 
4268         (char *) "self", NULL 
 
4271     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ActiveXEvent_EventName",kwnames
,&obj0
)) goto fail
; 
4272     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxActiveXEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
4273     if (SWIG_arg_fail(1)) SWIG_fail
; 
4275         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4276         result 
= (arg1
)->EventName(); 
4278         wxPyEndAllowThreads(__tstate
); 
4279         if (PyErr_Occurred()) SWIG_fail
; 
4283         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
4285         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
4294 static PyObject 
*_wrap_ActiveXEvent__preCallInit(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4295     PyObject 
*resultobj 
= NULL
; 
4296     wxActiveXEvent 
*arg1 
= (wxActiveXEvent 
*) 0 ; 
4297     PyObject 
*arg2 
= (PyObject 
*) 0 ; 
4298     PyObject 
* obj0 
= 0 ; 
4299     PyObject 
* obj1 
= 0 ; 
4301         (char *) "self",(char *) "pyself", NULL 
 
4304     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ActiveXEvent__preCallInit",kwnames
,&obj0
,&obj1
)) goto fail
; 
4305     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxActiveXEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
4306     if (SWIG_arg_fail(1)) SWIG_fail
; 
4309         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4310         wxActiveXEvent__preCallInit(arg1
,arg2
); 
4312         wxPyEndAllowThreads(__tstate
); 
4313         if (PyErr_Occurred()) SWIG_fail
; 
4315     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
4322 static PyObject 
*_wrap_ActiveXEvent__postCallCleanup(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4323     PyObject 
*resultobj 
= NULL
; 
4324     wxActiveXEvent 
*arg1 
= (wxActiveXEvent 
*) 0 ; 
4325     PyObject 
*arg2 
= (PyObject 
*) 0 ; 
4326     PyObject 
* obj0 
= 0 ; 
4327     PyObject 
* obj1 
= 0 ; 
4329         (char *) "self",(char *) "pyself", NULL 
 
4332     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ActiveXEvent__postCallCleanup",kwnames
,&obj0
,&obj1
)) goto fail
; 
4333     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxActiveXEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
4334     if (SWIG_arg_fail(1)) SWIG_fail
; 
4337         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4338         wxActiveXEvent__postCallCleanup(arg1
,arg2
); 
4340         wxPyEndAllowThreads(__tstate
); 
4341         if (PyErr_Occurred()) SWIG_fail
; 
4343     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
4350 static PyObject 
* ActiveXEvent_swigregister(PyObject 
*, PyObject 
*args
) { 
4352     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
4353     SWIG_TypeClientData(SWIGTYPE_p_wxActiveXEvent
, obj
); 
4355     return Py_BuildValue((char *)""); 
4357 static PyObject 
*_wrap_new_IEHtmlWindowBase(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4358     PyObject 
*resultobj 
= NULL
; 
4359     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
4361     int arg3 
= (int) -1 ; 
4362     wxPoint 
const &arg4_defvalue 
= wxDefaultPosition 
; 
4363     wxPoint 
*arg4 
= (wxPoint 
*) &arg4_defvalue 
; 
4364     wxSize 
const &arg5_defvalue 
= wxDefaultSize 
; 
4365     wxSize 
*arg5 
= (wxSize 
*) &arg5_defvalue 
; 
4366     long arg6 
= (long) 0 ; 
4367     wxString 
const &arg7_defvalue 
= wxPyPanelNameStr 
; 
4368     wxString 
*arg7 
= (wxString 
*) &arg7_defvalue 
; 
4369     wxIEHtmlWindowBase 
*result
; 
4372     bool temp7 
= false ; 
4373     PyObject 
* obj0 
= 0 ; 
4374     PyObject 
* obj1 
= 0 ; 
4375     PyObject 
* obj2 
= 0 ; 
4376     PyObject 
* obj3 
= 0 ; 
4377     PyObject 
* obj4 
= 0 ; 
4378     PyObject 
* obj5 
= 0 ; 
4379     PyObject 
* obj6 
= 0 ; 
4381         (char *) "parent",(char *) "clsId",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL 
 
4384     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:new_IEHtmlWindowBase",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
; 
4385     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
4386     if (SWIG_arg_fail(1)) SWIG_fail
; 
4388         SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_CLSID
, SWIG_POINTER_EXCEPTION 
| 0); 
4389         if (SWIG_arg_fail(2)) SWIG_fail
; 
4391             SWIG_null_ref("CLSID"); 
4393         if (SWIG_arg_fail(2)) SWIG_fail
; 
4397             arg3 
= static_cast<int >(SWIG_As_int(obj2
));  
4398             if (SWIG_arg_fail(3)) SWIG_fail
; 
4404             if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
; 
4410             if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
; 
4415             arg6 
= static_cast<long >(SWIG_As_long(obj5
));  
4416             if (SWIG_arg_fail(6)) SWIG_fail
; 
4421             arg7 
= wxString_in_helper(obj6
); 
4422             if (arg7 
== NULL
) SWIG_fail
; 
4427         if (!wxPyCheckForApp()) SWIG_fail
; 
4428         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4429         result 
= (wxIEHtmlWindowBase 
*)new wxIEHtmlWindowBase(arg1
,(CLSID 
const &)*arg2
,arg3
,(wxPoint 
const &)*arg4
,(wxSize 
const &)*arg5
,arg6
,(wxString 
const &)*arg7
); 
4431         wxPyEndAllowThreads(__tstate
); 
4432         if (PyErr_Occurred()) SWIG_fail
; 
4434     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIEHtmlWindowBase
, 1); 
4449 static PyObject 
*_wrap_IEHtmlWindowBase_SetCharset(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4450     PyObject 
*resultobj 
= NULL
; 
4451     wxIEHtmlWindowBase 
*arg1 
= (wxIEHtmlWindowBase 
*) 0 ; 
4452     wxString 
*arg2 
= 0 ; 
4453     bool temp2 
= false ; 
4454     PyObject 
* obj0 
= 0 ; 
4455     PyObject 
* obj1 
= 0 ; 
4457         (char *) "self",(char *) "charset", NULL 
 
4460     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IEHtmlWindowBase_SetCharset",kwnames
,&obj0
,&obj1
)) goto fail
; 
4461     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIEHtmlWindowBase
, SWIG_POINTER_EXCEPTION 
| 0); 
4462     if (SWIG_arg_fail(1)) SWIG_fail
; 
4464         arg2 
= wxString_in_helper(obj1
); 
4465         if (arg2 
== NULL
) SWIG_fail
; 
4469         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4470         (arg1
)->SetCharset((wxString 
const &)*arg2
); 
4472         wxPyEndAllowThreads(__tstate
); 
4473         if (PyErr_Occurred()) SWIG_fail
; 
4475     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
4490 static PyObject 
*_wrap_IEHtmlWindowBase_LoadString(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4491     PyObject 
*resultobj 
= NULL
; 
4492     wxIEHtmlWindowBase 
*arg1 
= (wxIEHtmlWindowBase 
*) 0 ; 
4493     wxString 
*arg2 
= 0 ; 
4495     bool temp2 
= false ; 
4496     PyObject 
* obj0 
= 0 ; 
4497     PyObject 
* obj1 
= 0 ; 
4499         (char *) "self",(char *) "html", NULL 
 
4502     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IEHtmlWindowBase_LoadString",kwnames
,&obj0
,&obj1
)) goto fail
; 
4503     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIEHtmlWindowBase
, SWIG_POINTER_EXCEPTION 
| 0); 
4504     if (SWIG_arg_fail(1)) SWIG_fail
; 
4506         arg2 
= wxString_in_helper(obj1
); 
4507         if (arg2 
== NULL
) SWIG_fail
; 
4511         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4512         result 
= (bool)(arg1
)->LoadString((wxString 
const &)*arg2
); 
4514         wxPyEndAllowThreads(__tstate
); 
4515         if (PyErr_Occurred()) SWIG_fail
; 
4518         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
4534 static PyObject 
*_wrap_IEHtmlWindowBase_LoadStream(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4535     PyObject 
*resultobj 
= NULL
; 
4536     wxIEHtmlWindowBase 
*arg1 
= (wxIEHtmlWindowBase 
*) 0 ; 
4537     wxInputStream 
*arg2 
= (wxInputStream 
*) 0 ; 
4539     wxPyInputStream 
*temp2 
; 
4540     PyObject 
* obj0 
= 0 ; 
4541     PyObject 
* obj1 
= 0 ; 
4543         (char *) "self",(char *) "is", NULL 
 
4546     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IEHtmlWindowBase_LoadStream",kwnames
,&obj0
,&obj1
)) goto fail
; 
4547     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIEHtmlWindowBase
, SWIG_POINTER_EXCEPTION 
| 0); 
4548     if (SWIG_arg_fail(1)) SWIG_fail
; 
4550         if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) { 
4551             arg2 
= wxPyCBInputStream_copy((wxPyCBInputStream
*)temp2
->m_wxis
); 
4553             PyErr_Clear();  // clear the failure of the wxPyConvert above 
4554             arg2 
= wxPyCBInputStream_create(obj1
, true); 
4556                 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object."); 
4562         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4563         result 
= (bool)(arg1
)->LoadStream(arg2
); 
4565         wxPyEndAllowThreads(__tstate
); 
4566         if (PyErr_Occurred()) SWIG_fail
; 
4569         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
4577 static PyObject 
*_wrap_IEHtmlWindowBase_GetStringSelection(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4578     PyObject 
*resultobj 
= NULL
; 
4579     wxIEHtmlWindowBase 
*arg1 
= (wxIEHtmlWindowBase 
*) 0 ; 
4582     PyObject 
* obj0 
= 0 ; 
4583     PyObject 
* obj1 
= 0 ; 
4585         (char *) "self",(char *) "asHTML", NULL 
 
4588     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IEHtmlWindowBase_GetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
; 
4589     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIEHtmlWindowBase
, SWIG_POINTER_EXCEPTION 
| 0); 
4590     if (SWIG_arg_fail(1)) SWIG_fail
; 
4592         arg2 
= static_cast<bool >(SWIG_As_bool(obj1
));  
4593         if (SWIG_arg_fail(2)) SWIG_fail
; 
4596         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4597         result 
= (arg1
)->GetStringSelection(arg2
); 
4599         wxPyEndAllowThreads(__tstate
); 
4600         if (PyErr_Occurred()) SWIG_fail
; 
4604         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
4606         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
4615 static PyObject 
*_wrap_IEHtmlWindowBase_GetText(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4616     PyObject 
*resultobj 
= NULL
; 
4617     wxIEHtmlWindowBase 
*arg1 
= (wxIEHtmlWindowBase 
*) 0 ; 
4620     PyObject 
* obj0 
= 0 ; 
4621     PyObject 
* obj1 
= 0 ; 
4623         (char *) "self",(char *) "asHTML", NULL 
 
4626     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IEHtmlWindowBase_GetText",kwnames
,&obj0
,&obj1
)) goto fail
; 
4627     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIEHtmlWindowBase
, SWIG_POINTER_EXCEPTION 
| 0); 
4628     if (SWIG_arg_fail(1)) SWIG_fail
; 
4630         arg2 
= static_cast<bool >(SWIG_As_bool(obj1
));  
4631         if (SWIG_arg_fail(2)) SWIG_fail
; 
4634         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4635         result 
= (arg1
)->GetText(arg2
); 
4637         wxPyEndAllowThreads(__tstate
); 
4638         if (PyErr_Occurred()) SWIG_fail
; 
4642         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
4644         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
4653 static PyObject 
* IEHtmlWindowBase_swigregister(PyObject 
*, PyObject 
*args
) { 
4655     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
4656     SWIG_TypeClientData(SWIGTYPE_p_wxIEHtmlWindowBase
, obj
); 
4658     return Py_BuildValue((char *)""); 
4660 static PyMethodDef SwigMethods
[] = { 
4661          { (char *)"new_CLSID", (PyCFunction
) _wrap_new_CLSID
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
4662          { (char *)"delete_CLSID", (PyCFunction
) _wrap_delete_CLSID
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
4663          { (char *)"CLSID_GetCLSIDString", (PyCFunction
) _wrap_CLSID_GetCLSIDString
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
4664          { (char *)"CLSID_GetProgIDString", (PyCFunction
) _wrap_CLSID_GetProgIDString
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
4665          { (char *)"CLSID_swigregister", CLSID_swigregister
, METH_VARARGS
, NULL
}, 
4666          { (char *)"ParamX_flags_get", (PyCFunction
) _wrap_ParamX_flags_get
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
4667          { (char *)"ParamX_isPtr_get", (PyCFunction
) _wrap_ParamX_isPtr_get
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
4668          { (char *)"ParamX_isSafeArray_get", (PyCFunction
) _wrap_ParamX_isSafeArray_get
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
4669          { (char *)"ParamX_isOptional_get", (PyCFunction
) _wrap_ParamX_isOptional_get
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
4670          { (char *)"ParamX_vt_get", (PyCFunction
) _wrap_ParamX_vt_get
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
4671          { (char *)"ParamX_name_get", (PyCFunction
) _wrap_ParamX_name_get
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
4672          { (char *)"ParamX_vt_type_get", (PyCFunction
) _wrap_ParamX_vt_type_get
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
4673          { (char *)"ParamX_IsIn", (PyCFunction
) _wrap_ParamX_IsIn
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
4674          { (char *)"ParamX_IsOut", (PyCFunction
) _wrap_ParamX_IsOut
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
4675          { (char *)"ParamX_IsRetVal", (PyCFunction
) _wrap_ParamX_IsRetVal
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
4676          { (char *)"ParamX_swigregister", ParamX_swigregister
, METH_VARARGS
, NULL
}, 
4677          { (char *)"FuncX_name_get", (PyCFunction
) _wrap_FuncX_name_get
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
4678          { (char *)"FuncX_memid_get", (PyCFunction
) _wrap_FuncX_memid_get
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
4679          { (char *)"FuncX_hasOut_get", (PyCFunction
) _wrap_FuncX_hasOut_get
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
4680          { (char *)"FuncX_retType_get", (PyCFunction
) _wrap_FuncX_retType_get
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
4681          { (char *)"FuncX_params_get", (PyCFunction
) _wrap_FuncX_params_get
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
4682          { (char *)"FuncX_swigregister", FuncX_swigregister
, METH_VARARGS
, NULL
}, 
4683          { (char *)"PropX_name_get", (PyCFunction
) _wrap_PropX_name_get
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
4684          { (char *)"PropX_memid_get", (PyCFunction
) _wrap_PropX_memid_get
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
4685          { (char *)"PropX_type_get", (PyCFunction
) _wrap_PropX_type_get
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
4686          { (char *)"PropX_arg_get", (PyCFunction
) _wrap_PropX_arg_get
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
4687          { (char *)"PropX_putByRef_get", (PyCFunction
) _wrap_PropX_putByRef_get
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
4688          { (char *)"PropX_CanGet", (PyCFunction
) _wrap_PropX_CanGet
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
4689          { (char *)"PropX_CanSet", (PyCFunction
) _wrap_PropX_CanSet
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
4690          { (char *)"PropX_swigregister", PropX_swigregister
, METH_VARARGS
, NULL
}, 
4691          { (char *)"ParamXArray___nonzero__", (PyCFunction
) _wrap_ParamXArray___nonzero__
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
4692          { (char *)"ParamXArray___len__", (PyCFunction
) _wrap_ParamXArray___len__
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
4693          { (char *)"ParamXArray___getitem__", (PyCFunction
) _wrap_ParamXArray___getitem__
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
4694          { (char *)"ParamXArray_swigregister", ParamXArray_swigregister
, METH_VARARGS
, NULL
}, 
4695          { (char *)"FuncXArray___nonzero__", (PyCFunction
) _wrap_FuncXArray___nonzero__
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
4696          { (char *)"FuncXArray___len__", (PyCFunction
) _wrap_FuncXArray___len__
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
4697          { (char *)"FuncXArray___getitem__", (PyCFunction
) _wrap_FuncXArray___getitem__
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
4698          { (char *)"FuncXArray_swigregister", FuncXArray_swigregister
, METH_VARARGS
, NULL
}, 
4699          { (char *)"PropXArray___nonzero__", (PyCFunction
) _wrap_PropXArray___nonzero__
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
4700          { (char *)"PropXArray___len__", (PyCFunction
) _wrap_PropXArray___len__
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
4701          { (char *)"PropXArray___getitem__", (PyCFunction
) _wrap_PropXArray___getitem__
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
4702          { (char *)"PropXArray_swigregister", PropXArray_swigregister
, METH_VARARGS
, NULL
}, 
4703          { (char *)"new_ActiveXWindow", (PyCFunction
) _wrap_new_ActiveXWindow
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
4704          { (char *)"ActiveXWindow_GetCLSID", (PyCFunction
) _wrap_ActiveXWindow_GetCLSID
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
4705          { (char *)"ActiveXWindow_GetAXEventCount", (PyCFunction
) _wrap_ActiveXWindow_GetAXEventCount
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
4706          { (char *)"ActiveXWindow_GetAXEventDesc", (PyCFunction
) _wrap_ActiveXWindow_GetAXEventDesc
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
4707          { (char *)"ActiveXWindow_GetAXPropCount", (PyCFunction
) _wrap_ActiveXWindow_GetAXPropCount
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
4708          { (char *)"ActiveXWindow_GetAXPropDesc", _wrap_ActiveXWindow_GetAXPropDesc
, METH_VARARGS
, NULL
}, 
4709          { (char *)"ActiveXWindow_GetAXMethodCount", (PyCFunction
) _wrap_ActiveXWindow_GetAXMethodCount
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
4710          { (char *)"ActiveXWindow_GetAXMethodDesc", _wrap_ActiveXWindow_GetAXMethodDesc
, METH_VARARGS
, NULL
}, 
4711          { (char *)"ActiveXWindow_GetAXEvents", (PyCFunction
) _wrap_ActiveXWindow_GetAXEvents
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
4712          { (char *)"ActiveXWindow_GetAXMethods", (PyCFunction
) _wrap_ActiveXWindow_GetAXMethods
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
4713          { (char *)"ActiveXWindow_GetAXProperties", (PyCFunction
) _wrap_ActiveXWindow_GetAXProperties
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
4714          { (char *)"ActiveXWindow_SetAXProp", (PyCFunction
) _wrap_ActiveXWindow_SetAXProp
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
4715          { (char *)"ActiveXWindow_GetAXProp", (PyCFunction
) _wrap_ActiveXWindow_GetAXProp
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
4716          { (char *)"ActiveXWindow__CallAXMethod", _wrap_ActiveXWindow__CallAXMethod
, METH_VARARGS
, NULL
}, 
4717          { (char *)"ActiveXWindow_swigregister", ActiveXWindow_swigregister
, METH_VARARGS
, NULL
}, 
4718          { (char *)"RegisterActiveXEvent", (PyCFunction
) _wrap_RegisterActiveXEvent
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
4719          { (char *)"ActiveXEvent_EventName", (PyCFunction
) _wrap_ActiveXEvent_EventName
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
4720          { (char *)"ActiveXEvent__preCallInit", (PyCFunction
) _wrap_ActiveXEvent__preCallInit
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
4721          { (char *)"ActiveXEvent__postCallCleanup", (PyCFunction
) _wrap_ActiveXEvent__postCallCleanup
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
4722          { (char *)"ActiveXEvent_swigregister", ActiveXEvent_swigregister
, METH_VARARGS
, NULL
}, 
4723          { (char *)"new_IEHtmlWindowBase", (PyCFunction
) _wrap_new_IEHtmlWindowBase
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
4724          { (char *)"IEHtmlWindowBase_SetCharset", (PyCFunction
) _wrap_IEHtmlWindowBase_SetCharset
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
4725          { (char *)"IEHtmlWindowBase_LoadString", (PyCFunction
) _wrap_IEHtmlWindowBase_LoadString
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
4726          { (char *)"IEHtmlWindowBase_LoadStream", (PyCFunction
) _wrap_IEHtmlWindowBase_LoadStream
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
4727          { (char *)"IEHtmlWindowBase_GetStringSelection", (PyCFunction
) _wrap_IEHtmlWindowBase_GetStringSelection
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
4728          { (char *)"IEHtmlWindowBase_GetText", (PyCFunction
) _wrap_IEHtmlWindowBase_GetText
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
4729          { (char *)"IEHtmlWindowBase_swigregister", IEHtmlWindowBase_swigregister
, METH_VARARGS
, NULL
}, 
4730          { NULL
, NULL
, 0, NULL 
} 
4734 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */ 
4736 static void *_p_wxControlTo_p_wxWindow(void *x
) { 
4737     return (void *)((wxWindow 
*)  ((wxControl 
*) x
)); 
4739 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) { 
4740     return (void *)((wxWindow 
*) (wxControl 
*) ((wxControlWithItems 
*) x
)); 
4742 static void *_p_wxActiveXWindowTo_p_wxWindow(void *x
) { 
4743     return (void *)((wxWindow 
*)  ((wxActiveXWindow 
*) x
)); 
4745 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) { 
4746     return (void *)((wxWindow 
*)  ((wxMenuBar 
*) x
)); 
4748 static void *_p_wxIEHtmlWindowBaseTo_p_wxWindow(void *x
) { 
4749     return (void *)((wxWindow 
*) (wxActiveXWindow 
*) ((wxIEHtmlWindowBase 
*) x
)); 
4751 static void *_p_wxIEHtmlWindowBaseTo_p_wxActiveXWindow(void *x
) { 
4752     return (void *)((wxActiveXWindow 
*)  ((wxIEHtmlWindowBase 
*) x
)); 
4754 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) { 
4755     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxContextMenuEvent 
*) x
)); 
4757 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) { 
4758     return (void *)((wxEvent 
*)  ((wxMenuEvent 
*) x
)); 
4760 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) { 
4761     return (void *)((wxEvent 
*)  ((wxCloseEvent 
*) x
)); 
4763 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) { 
4764     return (void *)((wxEvent 
*)  ((wxMouseEvent 
*) x
)); 
4766 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) { 
4767     return (void *)((wxEvent 
*)  ((wxEraseEvent 
*) x
)); 
4769 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) { 
4770     return (void *)((wxEvent 
*)  ((wxSetCursorEvent 
*) x
)); 
4772 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) { 
4773     return (void *)((wxEvent 
*)  ((wxInitDialogEvent 
*) x
)); 
4775 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) { 
4776     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxScrollEvent 
*) x
)); 
4778 static void *_p_wxPyEventTo_p_wxEvent(void *x
) { 
4779     return (void *)((wxEvent 
*)  ((wxPyEvent 
*) x
)); 
4781 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) { 
4782     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxNotifyEvent 
*) x
)); 
4784 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) { 
4785     return (void *)((wxEvent 
*)  ((wxIdleEvent 
*) x
)); 
4787 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) { 
4788     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxWindowCreateEvent 
*) x
)); 
4790 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) { 
4791     return (void *)((wxEvent 
*)  ((wxQueryNewPaletteEvent 
*) x
)); 
4793 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) { 
4794     return (void *)((wxEvent 
*)  ((wxMaximizeEvent 
*) x
)); 
4796 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) { 
4797     return (void *)((wxEvent 
*)  ((wxIconizeEvent 
*) x
)); 
4799 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) { 
4800     return (void *)((wxEvent 
*)  ((wxActivateEvent 
*) x
)); 
4802 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) { 
4803     return (void *)((wxEvent 
*)  ((wxSizeEvent 
*) x
)); 
4805 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) { 
4806     return (void *)((wxEvent 
*)  ((wxMoveEvent 
*) x
)); 
4808 static void *_p_wxDateEventTo_p_wxEvent(void *x
) { 
4809     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxDateEvent 
*) x
)); 
4811 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) { 
4812     return (void *)((wxEvent 
*)  ((wxPaintEvent 
*) x
)); 
4814 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) { 
4815     return (void *)((wxEvent 
*)  ((wxNcPaintEvent 
*) x
)); 
4817 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) { 
4818     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxUpdateUIEvent 
*) x
)); 
4820 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) { 
4821     return (void *)((wxEvent 
*)  ((wxPaletteChangedEvent 
*) x
)); 
4823 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) { 
4824     return (void *)((wxEvent 
*)  ((wxDisplayChangedEvent 
*) x
)); 
4826 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) { 
4827     return (void *)((wxEvent 
*)  ((wxMouseCaptureChangedEvent 
*) x
)); 
4829 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) { 
4830     return (void *)((wxEvent 
*)  ((wxSysColourChangedEvent 
*) x
)); 
4832 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) { 
4833     return (void *)((wxEvent 
*)  ((wxDropFilesEvent 
*) x
)); 
4835 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) { 
4836     return (void *)((wxEvent 
*)  ((wxFocusEvent 
*) x
)); 
4838 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) { 
4839     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxChildFocusEvent 
*) x
)); 
4841 static void *_p_wxActiveXEventTo_p_wxEvent(void *x
) { 
4842     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxActiveXEvent 
*) x
)); 
4844 static void *_p_wxShowEventTo_p_wxEvent(void *x
) { 
4845     return (void *)((wxEvent 
*)  ((wxShowEvent 
*) x
)); 
4847 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) { 
4848     return (void *)((wxEvent 
*)  ((wxCommandEvent 
*) x
)); 
4850 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) { 
4851     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxPyCommandEvent 
*) x
)); 
4853 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) { 
4854     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxWindowDestroyEvent 
*) x
)); 
4856 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) { 
4857     return (void *)((wxEvent 
*)  ((wxNavigationKeyEvent 
*) x
)); 
4859 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) { 
4860     return (void *)((wxEvent 
*)  ((wxKeyEvent 
*) x
)); 
4862 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) { 
4863     return (void *)((wxEvent 
*)  ((wxScrollWinEvent 
*) x
)); 
4865 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) { 
4866     return (void *)((wxObject 
*)  ((wxLayoutConstraints 
*) x
)); 
4868 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) { 
4869     return (void *)((wxObject 
*) (wxSizerItem 
*) ((wxGBSizerItem 
*) x
)); 
4871 static void *_p_wxSizerItemTo_p_wxObject(void *x
) { 
4872     return (void *)((wxObject 
*)  ((wxSizerItem 
*) x
)); 
4874 static void *_p_wxScrollEventTo_p_wxObject(void *x
) { 
4875     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxScrollEvent 
*) x
)); 
4877 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) { 
4878     return (void *)((wxObject 
*)  ((wxIndividualLayoutConstraint 
*) x
)); 
4880 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) { 
4881     return (void *)((wxObject 
*) (wxSizer 
*)(wxBoxSizer 
*) ((wxStaticBoxSizer 
*) x
)); 
4883 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) { 
4884     return (void *)((wxObject 
*) (wxSizer 
*) ((wxBoxSizer 
*) x
)); 
4886 static void *_p_wxSizerTo_p_wxObject(void *x
) { 
4887     return (void *)((wxObject 
*)  ((wxSizer 
*) x
)); 
4889 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) { 
4890     return (void *)((wxObject 
*) (wxSizer 
*)(wxGridSizer 
*)(wxFlexGridSizer 
*) ((wxGridBagSizer 
*) x
)); 
4892 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) { 
4893     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxUpdateUIEvent 
*) x
)); 
4895 static void *_p_wxEventTo_p_wxObject(void *x
) { 
4896     return (void *)((wxObject 
*)  ((wxEvent 
*) x
)); 
4898 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) { 
4899     return (void *)((wxObject 
*) (wxSizer 
*)(wxGridSizer 
*) ((wxFlexGridSizer 
*) x
)); 
4901 static void *_p_wxGridSizerTo_p_wxObject(void *x
) { 
4902     return (void *)((wxObject 
*) (wxSizer 
*) ((wxGridSizer 
*) x
)); 
4904 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) { 
4905     return (void *)((wxObject 
*) (wxEvent 
*) ((wxInitDialogEvent 
*) x
)); 
4907 static void *_p_wxPaintEventTo_p_wxObject(void *x
) { 
4908     return (void *)((wxObject 
*) (wxEvent 
*) ((wxPaintEvent 
*) x
)); 
4910 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) { 
4911     return (void *)((wxObject 
*) (wxEvent 
*) ((wxNcPaintEvent 
*) x
)); 
4913 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) { 
4914     return (void *)((wxObject 
*) (wxEvent 
*) ((wxPaletteChangedEvent 
*) x
)); 
4916 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) { 
4917     return (void *)((wxObject 
*) (wxEvent 
*) ((wxDisplayChangedEvent 
*) x
)); 
4919 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) { 
4920     return (void *)((wxObject 
*) (wxEvent 
*) ((wxMouseCaptureChangedEvent 
*) x
)); 
4922 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) { 
4923     return (void *)((wxObject 
*) (wxEvent 
*) ((wxSysColourChangedEvent 
*) x
)); 
4925 static void *_p_wxControlTo_p_wxObject(void *x
) { 
4926     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*) ((wxControl 
*) x
)); 
4928 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) { 
4929     return (void *)((wxObject 
*) (wxEvent 
*) ((wxSetCursorEvent 
*) x
)); 
4931 static void *_p_wxFSFileTo_p_wxObject(void *x
) { 
4932     return (void *)((wxObject 
*)  ((wxFSFile 
*) x
)); 
4934 static void *_p_wxPySizerTo_p_wxObject(void *x
) { 
4935     return (void *)((wxObject 
*) (wxSizer 
*) ((wxPySizer 
*) x
)); 
4937 static void *_p_wxPyEventTo_p_wxObject(void *x
) { 
4938     return (void *)((wxObject 
*) (wxEvent 
*) ((wxPyEvent 
*) x
)); 
4940 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) { 
4941     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxNotifyEvent 
*) x
)); 
4943 static void *_p_wxShowEventTo_p_wxObject(void *x
) { 
4944     return (void *)((wxObject 
*) (wxEvent 
*) ((wxShowEvent 
*) x
)); 
4946 static void *_p_wxMenuItemTo_p_wxObject(void *x
) { 
4947     return (void *)((wxObject 
*)  ((wxMenuItem 
*) x
)); 
4949 static void *_p_wxDateEventTo_p_wxObject(void *x
) { 
4950     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxDateEvent 
*) x
)); 
4952 static void *_p_wxIdleEventTo_p_wxObject(void *x
) { 
4953     return (void *)((wxObject 
*) (wxEvent 
*) ((wxIdleEvent 
*) x
)); 
4955 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) { 
4956     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxWindowCreateEvent 
*) x
)); 
4958 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) { 
4959     return (void *)((wxObject 
*) (wxEvent 
*) ((wxQueryNewPaletteEvent 
*) x
)); 
4961 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) { 
4962     return (void *)((wxObject 
*) (wxEvent 
*) ((wxMaximizeEvent 
*) x
)); 
4964 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) { 
4965     return (void *)((wxObject 
*) (wxEvent 
*) ((wxIconizeEvent 
*) x
)); 
4967 static void *_p_wxSizeEventTo_p_wxObject(void *x
) { 
4968     return (void *)((wxObject 
*) (wxEvent 
*) ((wxSizeEvent 
*) x
)); 
4970 static void *_p_wxMoveEventTo_p_wxObject(void *x
) { 
4971     return (void *)((wxObject 
*) (wxEvent 
*) ((wxMoveEvent 
*) x
)); 
4973 static void *_p_wxActivateEventTo_p_wxObject(void *x
) { 
4974     return (void *)((wxObject 
*) (wxEvent 
*) ((wxActivateEvent 
*) x
)); 
4976 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) { 
4977     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxPNMHandler 
*) x
)); 
4979 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) { 
4980     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxJPEGHandler 
*) x
)); 
4982 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) { 
4983     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxPCXHandler 
*) x
)); 
4985 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) { 
4986     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxGIFHandler 
*) x
)); 
4988 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) { 
4989     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxPNGHandler 
*) x
)); 
4991 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) { 
4992     return (void *)((wxObject 
*) (wxImageHandler 
*)(wxBMPHandler 
*)(wxICOHandler 
*)(wxCURHandler 
*) ((wxANIHandler 
*) x
)); 
4994 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) { 
4995     return (void *)((wxObject 
*) (wxImageHandler 
*)(wxBMPHandler 
*)(wxICOHandler 
*) ((wxCURHandler 
*) x
)); 
4997 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) { 
4998     return (void *)((wxObject 
*) (wxImageHandler 
*)(wxBMPHandler 
*) ((wxICOHandler 
*) x
)); 
5000 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) { 
5001     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxBMPHandler 
*) x
)); 
5003 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) { 
5004     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxPyImageHandler 
*) x
)); 
5006 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) { 
5007     return (void *)((wxObject 
*)  ((wxImageHandler 
*) x
)); 
5009 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) { 
5010     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxXPMHandler 
*) x
)); 
5012 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) { 
5013     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxTIFFHandler 
*) x
)); 
5015 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) { 
5016     return (void *)((wxObject 
*)  ((wxEvtHandler 
*) x
)); 
5018 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) { 
5019     return (void *)((wxObject 
*) (wxSizer 
*)(wxBoxSizer 
*) ((wxStdDialogButtonSizer 
*) x
)); 
5021 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) { 
5022     return (void *)((wxObject 
*)  ((wxAcceleratorTable 
*) x
)); 
5024 static void *_p_wxImageTo_p_wxObject(void *x
) { 
5025     return (void *)((wxObject 
*)  ((wxImage 
*) x
)); 
5027 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) { 
5028     return (void *)((wxObject 
*) (wxEvent 
*) ((wxScrollWinEvent 
*) x
)); 
5030 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) { 
5031     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxWindowDestroyEvent 
*) x
)); 
5033 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) { 
5034     return (void *)((wxObject 
*) (wxEvent 
*) ((wxNavigationKeyEvent 
*) x
)); 
5036 static void *_p_wxKeyEventTo_p_wxObject(void *x
) { 
5037     return (void *)((wxObject 
*) (wxEvent 
*) ((wxKeyEvent 
*) x
)); 
5039 static void *_p_wxWindowTo_p_wxObject(void *x
) { 
5040     return (void *)((wxObject 
*) (wxEvtHandler 
*) ((wxWindow 
*) x
)); 
5042 static void *_p_wxMenuTo_p_wxObject(void *x
) { 
5043     return (void *)((wxObject 
*) (wxEvtHandler 
*) ((wxMenu 
*) x
)); 
5045 static void *_p_wxMenuBarTo_p_wxObject(void *x
) { 
5046     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*) ((wxMenuBar 
*) x
)); 
5048 static void *_p_wxActiveXWindowTo_p_wxObject(void *x
) { 
5049     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*) ((wxActiveXWindow 
*) x
)); 
5051 static void *_p_wxActiveXEventTo_p_wxObject(void *x
) { 
5052     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxActiveXEvent 
*) x
)); 
5054 static void *_p_wxFileSystemTo_p_wxObject(void *x
) { 
5055     return (void *)((wxObject 
*)  ((wxFileSystem 
*) x
)); 
5057 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) { 
5058     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxContextMenuEvent 
*) x
)); 
5060 static void *_p_wxMenuEventTo_p_wxObject(void *x
) { 
5061     return (void *)((wxObject 
*) (wxEvent 
*) ((wxMenuEvent 
*) x
)); 
5063 static void *_p_wxIEHtmlWindowBaseTo_p_wxObject(void *x
) { 
5064     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxActiveXWindow 
*) ((wxIEHtmlWindowBase 
*) x
)); 
5066 static void *_p_wxPyAppTo_p_wxObject(void *x
) { 
5067     return (void *)((wxObject 
*) (wxEvtHandler 
*) ((wxPyApp 
*) x
)); 
5069 static void *_p_wxCloseEventTo_p_wxObject(void *x
) { 
5070     return (void *)((wxObject 
*) (wxEvent 
*) ((wxCloseEvent 
*) x
)); 
5072 static void *_p_wxMouseEventTo_p_wxObject(void *x
) { 
5073     return (void *)((wxObject 
*) (wxEvent 
*) ((wxMouseEvent 
*) x
)); 
5075 static void *_p_wxEraseEventTo_p_wxObject(void *x
) { 
5076     return (void *)((wxObject 
*) (wxEvent 
*) ((wxEraseEvent 
*) x
)); 
5078 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) { 
5079     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxPyCommandEvent 
*) x
)); 
5081 static void *_p_wxCommandEventTo_p_wxObject(void *x
) { 
5082     return (void *)((wxObject 
*) (wxEvent 
*) ((wxCommandEvent 
*) x
)); 
5084 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) { 
5085     return (void *)((wxObject 
*) (wxEvent 
*) ((wxDropFilesEvent 
*) x
)); 
5087 static void *_p_wxFocusEventTo_p_wxObject(void *x
) { 
5088     return (void *)((wxObject 
*) (wxEvent 
*) ((wxFocusEvent 
*) x
)); 
5090 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) { 
5091     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxChildFocusEvent 
*) x
)); 
5093 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) { 
5094     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxControl 
*) ((wxControlWithItems 
*) x
)); 
5096 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) { 
5097     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxValidator 
*) ((wxPyValidator 
*) x
)); 
5099 static void *_p_wxValidatorTo_p_wxObject(void *x
) { 
5100     return (void *)((wxObject 
*) (wxEvtHandler 
*) ((wxValidator 
*) x
)); 
5102 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) { 
5103     return (void *)((wxEvtHandler 
*) (wxWindow 
*) ((wxControl 
*) x
)); 
5105 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) { 
5106     return (void *)((wxEvtHandler 
*)  ((wxWindow 
*) x
)); 
5108 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) { 
5109     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxControl 
*) ((wxControlWithItems 
*) x
)); 
5111 static void *_p_wxActiveXWindowTo_p_wxEvtHandler(void *x
) { 
5112     return (void *)((wxEvtHandler 
*) (wxWindow 
*) ((wxActiveXWindow 
*) x
)); 
5114 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) { 
5115     return (void *)((wxEvtHandler 
*)  ((wxPyApp 
*) x
)); 
5117 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) { 
5118     return (void *)((wxEvtHandler 
*)  ((wxValidator 
*) x
)); 
5120 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) { 
5121     return (void *)((wxEvtHandler 
*) (wxValidator 
*) ((wxPyValidator 
*) x
)); 
5123 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) { 
5124     return (void *)((wxEvtHandler 
*) (wxWindow 
*) ((wxMenuBar 
*) x
)); 
5126 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) { 
5127     return (void *)((wxEvtHandler 
*)  ((wxMenu 
*) x
)); 
5129 static void *_p_wxIEHtmlWindowBaseTo_p_wxEvtHandler(void *x
) { 
5130     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxActiveXWindow 
*) ((wxIEHtmlWindowBase 
*) x
)); 
5132 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) { 
5133     return (void *)((wxCommandEvent 
*)  ((wxChildFocusEvent 
*) x
)); 
5135 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) { 
5136     return (void *)((wxCommandEvent 
*)  ((wxScrollEvent 
*) x
)); 
5138 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) { 
5139     return (void *)((wxCommandEvent 
*)  ((wxWindowCreateEvent 
*) x
)); 
5141 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) { 
5142     return (void *)((wxCommandEvent 
*)  ((wxDateEvent 
*) x
)); 
5144 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) { 
5145     return (void *)((wxCommandEvent 
*)  ((wxUpdateUIEvent 
*) x
)); 
5147 static void *_p_wxActiveXEventTo_p_wxCommandEvent(void *x
) { 
5148     return (void *)((wxCommandEvent 
*)  ((wxActiveXEvent 
*) x
)); 
5150 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) { 
5151     return (void *)((wxCommandEvent 
*)  ((wxWindowDestroyEvent 
*) x
)); 
5153 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) { 
5154     return (void *)((wxCommandEvent 
*)  ((wxContextMenuEvent 
*) x
)); 
5156 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) { 
5157     return (void *)((wxCommandEvent 
*)  ((wxNotifyEvent 
*) x
)); 
5159 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) { 
5160     return (void *)((wxCommandEvent 
*)  ((wxPyCommandEvent 
*) x
)); 
5162 static swig_type_info _swigt__p_CLSID 
= {"_p_CLSID", "CLSID *", 0, 0, 0}; 
5163 static swig_type_info _swigt__p_char 
= {"_p_char", "char *", 0, 0, 0}; 
5164 static swig_type_info _swigt__p_form_ops_t 
= {"_p_form_ops_t", "enum form_ops_t *|form_ops_t *", 0, 0, 0}; 
5165 static swig_type_info _swigt__p_int 
= {"_p_int", "int *|wxEventType *", 0, 0, 0}; 
5166 static swig_type_info _swigt__p_long 
= {"_p_long", "long *|MEMBERID *", 0, 0, 0}; 
5167 static swig_type_info _swigt__p_unsigned_char 
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, 0}; 
5168 static swig_type_info _swigt__p_unsigned_int 
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, 0}; 
5169 static swig_type_info _swigt__p_unsigned_long 
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, 0}; 
5170 static swig_type_info _swigt__p_unsigned_short 
= {"_p_unsigned_short", "unsigned short *|VARTYPE *", 0, 0, 0}; 
5171 static swig_type_info _swigt__p_wxActiveXEvent 
= {"_p_wxActiveXEvent", "wxActiveXEvent *", 0, 0, 0}; 
5172 static swig_type_info _swigt__p_wxActiveXWindow 
= {"_p_wxActiveXWindow", "wxActiveXWindow *", 0, 0, 0}; 
5173 static swig_type_info _swigt__p_wxCommandEvent 
= {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, 0}; 
5174 static swig_type_info _swigt__p_wxChildFocusEvent 
= {"_p_wxChildFocusEvent", 0, 0, 0, 0}; 
5175 static swig_type_info _swigt__p_wxScrollEvent 
= {"_p_wxScrollEvent", 0, 0, 0, 0}; 
5176 static swig_type_info _swigt__p_wxWindowCreateEvent 
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0}; 
5177 static swig_type_info _swigt__p_wxDateEvent 
= {"_p_wxDateEvent", 0, 0, 0, 0}; 
5178 static swig_type_info _swigt__p_wxUpdateUIEvent 
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0}; 
5179 static swig_type_info _swigt__p_wxWindowDestroyEvent 
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0}; 
5180 static swig_type_info _swigt__p_wxContextMenuEvent 
= {"_p_wxContextMenuEvent", 0, 0, 0, 0}; 
5181 static swig_type_info _swigt__p_wxNotifyEvent 
= {"_p_wxNotifyEvent", 0, 0, 0, 0}; 
5182 static swig_type_info _swigt__p_wxPyCommandEvent 
= {"_p_wxPyCommandEvent", 0, 0, 0, 0}; 
5183 static swig_type_info _swigt__p_wxDuplexMode 
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, 0}; 
5184 static swig_type_info _swigt__p_wxEvent 
= {"_p_wxEvent", "wxEvent *", 0, 0, 0}; 
5185 static swig_type_info _swigt__p_wxMenuEvent 
= {"_p_wxMenuEvent", 0, 0, 0, 0}; 
5186 static swig_type_info _swigt__p_wxCloseEvent 
= {"_p_wxCloseEvent", 0, 0, 0, 0}; 
5187 static swig_type_info _swigt__p_wxMouseEvent 
= {"_p_wxMouseEvent", 0, 0, 0, 0}; 
5188 static swig_type_info _swigt__p_wxEraseEvent 
= {"_p_wxEraseEvent", 0, 0, 0, 0}; 
5189 static swig_type_info _swigt__p_wxSetCursorEvent 
= {"_p_wxSetCursorEvent", 0, 0, 0, 0}; 
5190 static swig_type_info _swigt__p_wxInitDialogEvent 
= {"_p_wxInitDialogEvent", 0, 0, 0, 0}; 
5191 static swig_type_info _swigt__p_wxPyEvent 
= {"_p_wxPyEvent", 0, 0, 0, 0}; 
5192 static swig_type_info _swigt__p_wxQueryNewPaletteEvent 
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0}; 
5193 static swig_type_info _swigt__p_wxIdleEvent 
= {"_p_wxIdleEvent", 0, 0, 0, 0}; 
5194 static swig_type_info _swigt__p_wxMaximizeEvent 
= {"_p_wxMaximizeEvent", 0, 0, 0, 0}; 
5195 static swig_type_info _swigt__p_wxIconizeEvent 
= {"_p_wxIconizeEvent", 0, 0, 0, 0}; 
5196 static swig_type_info _swigt__p_wxActivateEvent 
= {"_p_wxActivateEvent", 0, 0, 0, 0}; 
5197 static swig_type_info _swigt__p_wxMoveEvent 
= {"_p_wxMoveEvent", 0, 0, 0, 0}; 
5198 static swig_type_info _swigt__p_wxSizeEvent 
= {"_p_wxSizeEvent", 0, 0, 0, 0}; 
5199 static swig_type_info _swigt__p_wxPaintEvent 
= {"_p_wxPaintEvent", 0, 0, 0, 0}; 
5200 static swig_type_info _swigt__p_wxNcPaintEvent 
= {"_p_wxNcPaintEvent", 0, 0, 0, 0}; 
5201 static swig_type_info _swigt__p_wxPaletteChangedEvent 
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0}; 
5202 static swig_type_info _swigt__p_wxDisplayChangedEvent 
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0}; 
5203 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent 
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0}; 
5204 static swig_type_info _swigt__p_wxSysColourChangedEvent 
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0}; 
5205 static swig_type_info _swigt__p_wxDropFilesEvent 
= {"_p_wxDropFilesEvent", 0, 0, 0, 0}; 
5206 static swig_type_info _swigt__p_wxFocusEvent 
= {"_p_wxFocusEvent", 0, 0, 0, 0}; 
5207 static swig_type_info _swigt__p_wxShowEvent 
= {"_p_wxShowEvent", 0, 0, 0, 0}; 
5208 static swig_type_info _swigt__p_wxNavigationKeyEvent 
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0}; 
5209 static swig_type_info _swigt__p_wxKeyEvent 
= {"_p_wxKeyEvent", 0, 0, 0, 0}; 
5210 static swig_type_info _swigt__p_wxScrollWinEvent 
= {"_p_wxScrollWinEvent", 0, 0, 0, 0}; 
5211 static swig_type_info _swigt__p_wxEvtHandler 
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, 0}; 
5212 static swig_type_info _swigt__p_wxControl 
= {"_p_wxControl", 0, 0, 0, 0}; 
5213 static swig_type_info _swigt__p_wxControlWithItems 
= {"_p_wxControlWithItems", 0, 0, 0, 0}; 
5214 static swig_type_info _swigt__p_wxPyApp 
= {"_p_wxPyApp", 0, 0, 0, 0}; 
5215 static swig_type_info _swigt__p_wxMenuBar 
= {"_p_wxMenuBar", 0, 0, 0, 0}; 
5216 static swig_type_info _swigt__p_wxValidator 
= {"_p_wxValidator", 0, 0, 0, 0}; 
5217 static swig_type_info _swigt__p_wxPyValidator 
= {"_p_wxPyValidator", 0, 0, 0, 0}; 
5218 static swig_type_info _swigt__p_wxMenu 
= {"_p_wxMenu", 0, 0, 0, 0}; 
5219 static swig_type_info _swigt__p_wxFuncX 
= {"_p_wxFuncX", "wxFuncX *", 0, 0, 0}; 
5220 static swig_type_info _swigt__p_wxFuncXArray 
= {"_p_wxFuncXArray", "wxFuncXArray *", 0, 0, 0}; 
5221 static swig_type_info _swigt__p_wxIEHtmlWindowBase 
= {"_p_wxIEHtmlWindowBase", "wxIEHtmlWindowBase *", 0, 0, 0}; 
5222 static swig_type_info _swigt__p_wxInputStream 
= {"_p_wxInputStream", "wxInputStream *", 0, 0, 0}; 
5223 static swig_type_info _swigt__p_wxObject 
= {"_p_wxObject", "wxObject *", 0, 0, 0}; 
5224 static swig_type_info _swigt__p_wxLayoutConstraints 
= {"_p_wxLayoutConstraints", 0, 0, 0, 0}; 
5225 static swig_type_info _swigt__p_wxGBSizerItem 
= {"_p_wxGBSizerItem", 0, 0, 0, 0}; 
5226 static swig_type_info _swigt__p_wxSizerItem 
= {"_p_wxSizerItem", 0, 0, 0, 0}; 
5227 static swig_type_info _swigt__p_wxIndividualLayoutConstraint 
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0}; 
5228 static swig_type_info _swigt__p_wxStaticBoxSizer 
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0}; 
5229 static swig_type_info _swigt__p_wxBoxSizer 
= {"_p_wxBoxSizer", 0, 0, 0, 0}; 
5230 static swig_type_info _swigt__p_wxSizer 
= {"_p_wxSizer", 0, 0, 0, 0}; 
5231 static swig_type_info _swigt__p_wxGridBagSizer 
= {"_p_wxGridBagSizer", 0, 0, 0, 0}; 
5232 static swig_type_info _swigt__p_wxFlexGridSizer 
= {"_p_wxFlexGridSizer", 0, 0, 0, 0}; 
5233 static swig_type_info _swigt__p_wxGridSizer 
= {"_p_wxGridSizer", 0, 0, 0, 0}; 
5234 static swig_type_info _swigt__p_wxFSFile 
= {"_p_wxFSFile", 0, 0, 0, 0}; 
5235 static swig_type_info _swigt__p_wxPySizer 
= {"_p_wxPySizer", 0, 0, 0, 0}; 
5236 static swig_type_info _swigt__p_wxMenuItem 
= {"_p_wxMenuItem", 0, 0, 0, 0}; 
5237 static swig_type_info _swigt__p_wxPCXHandler 
= {"_p_wxPCXHandler", 0, 0, 0, 0}; 
5238 static swig_type_info _swigt__p_wxGIFHandler 
= {"_p_wxGIFHandler", 0, 0, 0, 0}; 
5239 static swig_type_info _swigt__p_wxPNGHandler 
= {"_p_wxPNGHandler", 0, 0, 0, 0}; 
5240 static swig_type_info _swigt__p_wxANIHandler 
= {"_p_wxANIHandler", 0, 0, 0, 0}; 
5241 static swig_type_info _swigt__p_wxCURHandler 
= {"_p_wxCURHandler", 0, 0, 0, 0}; 
5242 static swig_type_info _swigt__p_wxICOHandler 
= {"_p_wxICOHandler", 0, 0, 0, 0}; 
5243 static swig_type_info _swigt__p_wxBMPHandler 
= {"_p_wxBMPHandler", 0, 0, 0, 0}; 
5244 static swig_type_info _swigt__p_wxPyImageHandler 
= {"_p_wxPyImageHandler", 0, 0, 0, 0}; 
5245 static swig_type_info _swigt__p_wxImageHandler 
= {"_p_wxImageHandler", 0, 0, 0, 0}; 
5246 static swig_type_info _swigt__p_wxXPMHandler 
= {"_p_wxXPMHandler", 0, 0, 0, 0}; 
5247 static swig_type_info _swigt__p_wxTIFFHandler 
= {"_p_wxTIFFHandler", 0, 0, 0, 0}; 
5248 static swig_type_info _swigt__p_wxJPEGHandler 
= {"_p_wxJPEGHandler", 0, 0, 0, 0}; 
5249 static swig_type_info _swigt__p_wxPNMHandler 
= {"_p_wxPNMHandler", 0, 0, 0, 0}; 
5250 static swig_type_info _swigt__p_wxStdDialogButtonSizer 
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0}; 
5251 static swig_type_info _swigt__p_wxAcceleratorTable 
= {"_p_wxAcceleratorTable", 0, 0, 0, 0}; 
5252 static swig_type_info _swigt__p_wxImage 
= {"_p_wxImage", 0, 0, 0, 0}; 
5253 static swig_type_info _swigt__p_wxFileSystem 
= {"_p_wxFileSystem", 0, 0, 0, 0}; 
5254 static swig_type_info _swigt__p_wxPaperSize 
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, 0}; 
5255 static swig_type_info _swigt__p_wxParamX 
= {"_p_wxParamX", "wxParamX *", 0, 0, 0}; 
5256 static swig_type_info _swigt__p_wxParamXArray 
= {"_p_wxParamXArray", "wxParamXArray *", 0, 0, 0}; 
5257 static swig_type_info _swigt__p_wxPropX 
= {"_p_wxPropX", "wxPropX *", 0, 0, 0}; 
5258 static swig_type_info _swigt__p_wxPropXArray 
= {"_p_wxPropXArray", "wxPropXArray *", 0, 0, 0}; 
5259 static swig_type_info _swigt__p_wxWindow 
= {"_p_wxWindow", "wxWindow *", 0, 0, 0}; 
5260 static swig_type_info _swigt__ptrdiff_t 
= {"_ptrdiff_t", "ptrdiff_t", 0, 0, 0}; 
5261 static swig_type_info _swigt__std__ptrdiff_t 
= {"_std__ptrdiff_t", "std::ptrdiff_t", 0, 0, 0}; 
5262 static swig_type_info _swigt__unsigned_int 
= {"_unsigned_int", "unsigned int|std::size_t", 0, 0, 0}; 
5264 static swig_type_info 
*swig_type_initial
[] = { 
5267   &_swigt__p_form_ops_t
, 
5270   &_swigt__p_unsigned_char
, 
5271   &_swigt__p_unsigned_int
, 
5272   &_swigt__p_unsigned_long
, 
5273   &_swigt__p_unsigned_short
, 
5274   &_swigt__p_wxANIHandler
, 
5275   &_swigt__p_wxAcceleratorTable
, 
5276   &_swigt__p_wxActivateEvent
, 
5277   &_swigt__p_wxActiveXEvent
, 
5278   &_swigt__p_wxActiveXWindow
, 
5279   &_swigt__p_wxBMPHandler
, 
5280   &_swigt__p_wxBoxSizer
, 
5281   &_swigt__p_wxCURHandler
, 
5282   &_swigt__p_wxChildFocusEvent
, 
5283   &_swigt__p_wxCloseEvent
, 
5284   &_swigt__p_wxCommandEvent
, 
5285   &_swigt__p_wxContextMenuEvent
, 
5286   &_swigt__p_wxControl
, 
5287   &_swigt__p_wxControlWithItems
, 
5288   &_swigt__p_wxDateEvent
, 
5289   &_swigt__p_wxDisplayChangedEvent
, 
5290   &_swigt__p_wxDropFilesEvent
, 
5291   &_swigt__p_wxDuplexMode
, 
5292   &_swigt__p_wxEraseEvent
, 
5294   &_swigt__p_wxEvtHandler
, 
5295   &_swigt__p_wxFSFile
, 
5296   &_swigt__p_wxFileSystem
, 
5297   &_swigt__p_wxFlexGridSizer
, 
5298   &_swigt__p_wxFocusEvent
, 
5300   &_swigt__p_wxFuncXArray
, 
5301   &_swigt__p_wxGBSizerItem
, 
5302   &_swigt__p_wxGIFHandler
, 
5303   &_swigt__p_wxGridBagSizer
, 
5304   &_swigt__p_wxGridSizer
, 
5305   &_swigt__p_wxICOHandler
, 
5306   &_swigt__p_wxIEHtmlWindowBase
, 
5307   &_swigt__p_wxIconizeEvent
, 
5308   &_swigt__p_wxIdleEvent
, 
5310   &_swigt__p_wxImageHandler
, 
5311   &_swigt__p_wxIndividualLayoutConstraint
, 
5312   &_swigt__p_wxInitDialogEvent
, 
5313   &_swigt__p_wxInputStream
, 
5314   &_swigt__p_wxJPEGHandler
, 
5315   &_swigt__p_wxKeyEvent
, 
5316   &_swigt__p_wxLayoutConstraints
, 
5317   &_swigt__p_wxMaximizeEvent
, 
5319   &_swigt__p_wxMenuBar
, 
5320   &_swigt__p_wxMenuEvent
, 
5321   &_swigt__p_wxMenuItem
, 
5322   &_swigt__p_wxMouseCaptureChangedEvent
, 
5323   &_swigt__p_wxMouseEvent
, 
5324   &_swigt__p_wxMoveEvent
, 
5325   &_swigt__p_wxNavigationKeyEvent
, 
5326   &_swigt__p_wxNcPaintEvent
, 
5327   &_swigt__p_wxNotifyEvent
, 
5328   &_swigt__p_wxObject
, 
5329   &_swigt__p_wxPCXHandler
, 
5330   &_swigt__p_wxPNGHandler
, 
5331   &_swigt__p_wxPNMHandler
, 
5332   &_swigt__p_wxPaintEvent
, 
5333   &_swigt__p_wxPaletteChangedEvent
, 
5334   &_swigt__p_wxPaperSize
, 
5335   &_swigt__p_wxParamX
, 
5336   &_swigt__p_wxParamXArray
, 
5338   &_swigt__p_wxPropXArray
, 
5340   &_swigt__p_wxPyCommandEvent
, 
5341   &_swigt__p_wxPyEvent
, 
5342   &_swigt__p_wxPyImageHandler
, 
5343   &_swigt__p_wxPySizer
, 
5344   &_swigt__p_wxPyValidator
, 
5345   &_swigt__p_wxQueryNewPaletteEvent
, 
5346   &_swigt__p_wxScrollEvent
, 
5347   &_swigt__p_wxScrollWinEvent
, 
5348   &_swigt__p_wxSetCursorEvent
, 
5349   &_swigt__p_wxShowEvent
, 
5350   &_swigt__p_wxSizeEvent
, 
5352   &_swigt__p_wxSizerItem
, 
5353   &_swigt__p_wxStaticBoxSizer
, 
5354   &_swigt__p_wxStdDialogButtonSizer
, 
5355   &_swigt__p_wxSysColourChangedEvent
, 
5356   &_swigt__p_wxTIFFHandler
, 
5357   &_swigt__p_wxUpdateUIEvent
, 
5358   &_swigt__p_wxValidator
, 
5359   &_swigt__p_wxWindow
, 
5360   &_swigt__p_wxWindowCreateEvent
, 
5361   &_swigt__p_wxWindowDestroyEvent
, 
5362   &_swigt__p_wxXPMHandler
, 
5364   &_swigt__std__ptrdiff_t
, 
5365   &_swigt__unsigned_int
, 
5368 static swig_cast_info _swigc__p_CLSID
[] = {  {&_swigt__p_CLSID
, 0, 0, 0},{0, 0, 0, 0}}; 
5369 static swig_cast_info _swigc__p_char
[] = {  {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}}; 
5370 static swig_cast_info _swigc__p_form_ops_t
[] = {  {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}}; 
5371 static swig_cast_info _swigc__p_int
[] = {  {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}}; 
5372 static swig_cast_info _swigc__p_long
[] = {  {&_swigt__p_long
, 0, 0, 0},{0, 0, 0, 0}}; 
5373 static swig_cast_info _swigc__p_unsigned_char
[] = {  {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}}; 
5374 static swig_cast_info _swigc__p_unsigned_int
[] = {  {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}}; 
5375 static swig_cast_info _swigc__p_unsigned_long
[] = {  {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}}; 
5376 static swig_cast_info _swigc__p_unsigned_short
[] = {  {&_swigt__p_unsigned_short
, 0, 0, 0},{0, 0, 0, 0}}; 
5377 static swig_cast_info _swigc__p_wxActiveXEvent
[] = {  {&_swigt__p_wxActiveXEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
5378 static swig_cast_info _swigc__p_wxActiveXWindow
[] = {  {&_swigt__p_wxActiveXWindow
, 0, 0, 0},  {&_swigt__p_wxIEHtmlWindowBase
, _p_wxIEHtmlWindowBaseTo_p_wxActiveXWindow
, 0, 0},{0, 0, 0, 0}}; 
5379 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
5380 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
5381 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
5382 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
5383 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
5384 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
5385 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
5386 static swig_cast_info _swigc__p_wxNotifyEvent
[] = {{&_swigt__p_wxNotifyEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
5387 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
5388 static swig_cast_info _swigc__p_wxCommandEvent
[] = {  {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxCommandEvent
, 0, 0},  {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxCommandEvent
, 0, 0},  {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxCommandEvent
, 0, 0},  {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxCommandEvent
, 0, 0},  {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxCommandEvent
, 0, 0},  {&_swigt__p_wxActiveXEvent
, _p_wxActiveXEventTo_p_wxCommandEvent
, 0, 0},  {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxCommandEvent
, 0, 0},  {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxCommandEvent
, 0, 0},  {&_swigt__p_wxCommandEvent
, 0, 0, 0},  {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxCommandEvent
, 0, 0},  {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxCommandEvent
, 0, 0},{0, 0, 0, 0}}; 
5389 static swig_cast_info _swigc__p_wxDuplexMode
[] = {  {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}}; 
5390 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
5391 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
5392 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
5393 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
5394 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
5395 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
5396 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
5397 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
5398 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
5399 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
5400 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
5401 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
5402 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
5403 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
5404 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
5405 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
5406 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
5407 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
5408 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
5409 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
5410 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
5411 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
5412 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
5413 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
5414 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
5415 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
5416 static swig_cast_info _swigc__p_wxEvent
[] = {  {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxMenuEvent
, _p_wxMenuEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxCloseEvent
, _p_wxCloseEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxMouseEvent
, _p_wxMouseEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxEraseEvent
, _p_wxEraseEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxSetCursorEvent
, _p_wxSetCursorEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxInitDialogEvent
, _p_wxInitDialogEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxPyEvent
, _p_wxPyEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxEvent
, 0, 0, 0},  {&_swigt__p_wxQueryNewPaletteEvent
, _p_wxQueryNewPaletteEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxIdleEvent
, _p_wxIdleEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxMaximizeEvent
, _p_wxMaximizeEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxIconizeEvent
, _p_wxIconizeEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxActivateEvent
, _p_wxActivateEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxMoveEvent
, _p_wxMoveEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxSizeEvent
, _p_wxSizeEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxPaintEvent
, _p_wxPaintEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxNcPaintEvent
, _p_wxNcPaintEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxPaletteChangedEvent
, _p_wxPaletteChangedEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxDisplayChangedEvent
, _p_wxDisplayChangedEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxMouseCaptureChangedEvent
, _p_wxMouseCaptureChangedEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxSysColourChangedEvent
, _p_wxSysColourChangedEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxActiveXEvent
, _p_wxActiveXEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxDropFilesEvent
, _p_wxDropFilesEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxFocusEvent
, _p_wxFocusEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxShowEvent
, _p_wxShowEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxCommandEvent
, _p_wxCommandEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxNavigationKeyEvent
, _p_wxNavigationKeyEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxKeyEvent
, _p_wxKeyEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxScrollWinEvent
, _p_wxScrollWinEventTo_p_wxEvent
, 0, 0},{0, 0, 0, 0}}; 
5417 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}}; 
5418 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}}; 
5419 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}}; 
5420 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}}; 
5421 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}}; 
5422 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}}; 
5423 static swig_cast_info _swigc__p_wxMenu
[] = {{&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}}; 
5424 static swig_cast_info _swigc__p_wxEvtHandler
[] = {  {&_swigt__p_wxControl
, _p_wxControlTo_p_wxEvtHandler
, 0, 0},  {&_swigt__p_wxWindow
, _p_wxWindowTo_p_wxEvtHandler
, 0, 0},  {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxEvtHandler
, 0, 0},  {&_swigt__p_wxActiveXWindow
, _p_wxActiveXWindowTo_p_wxEvtHandler
, 0, 0},  {&_swigt__p_wxEvtHandler
, 0, 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},  {&_swigt__p_wxIEHtmlWindowBase
, _p_wxIEHtmlWindowBaseTo_p_wxEvtHandler
, 0, 0},{0, 0, 0, 0}}; 
5425 static swig_cast_info _swigc__p_wxFuncX
[] = {  {&_swigt__p_wxFuncX
, 0, 0, 0},{0, 0, 0, 0}}; 
5426 static swig_cast_info _swigc__p_wxFuncXArray
[] = {  {&_swigt__p_wxFuncXArray
, 0, 0, 0},{0, 0, 0, 0}}; 
5427 static swig_cast_info _swigc__p_wxIEHtmlWindowBase
[] = {  {&_swigt__p_wxIEHtmlWindowBase
, 0, 0, 0},{0, 0, 0, 0}}; 
5428 static swig_cast_info _swigc__p_wxInputStream
[] = {  {&_swigt__p_wxInputStream
, 0, 0, 0},{0, 0, 0, 0}}; 
5429 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}}; 
5430 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}}; 
5431 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}}; 
5432 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}}; 
5433 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}}; 
5434 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}}; 
5435 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}}; 
5436 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}}; 
5437 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}}; 
5438 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}}; 
5439 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}}; 
5440 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}}; 
5441 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}}; 
5442 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}}; 
5443 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}}; 
5444 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}}; 
5445 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}}; 
5446 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}}; 
5447 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}}; 
5448 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}}; 
5449 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}}; 
5450 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}}; 
5451 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}}; 
5452 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}}; 
5453 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}}; 
5454 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}}; 
5455 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}}; 
5456 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}}; 
5457 static swig_cast_info _swigc__p_wxImage
[] = {{&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}}; 
5458 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}}; 
5459 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_wxFlexGridSizer
, _p_wxFlexGridSizerTo_p_wxObject
, 0, 0},  {&_swigt__p_wxGridSizer
, _p_wxGridSizerTo_p_wxObject
, 0, 0},  {&_swigt__p_wxInitDialogEvent
, _p_wxInitDialogEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxNcPaintEvent
, _p_wxNcPaintEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxPaintEvent
, _p_wxPaintEventTo_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_wxMenuItem
, _p_wxMenuItemTo_p_wxObject
, 0, 0},  {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxMoveEvent
, _p_wxMoveEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxSizeEvent
, _p_wxSizeEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxActivateEvent
, _p_wxActivateEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxIconizeEvent
, _p_wxIconizeEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxMaximizeEvent
, _p_wxMaximizeEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxIdleEvent
, _p_wxIdleEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxQueryNewPaletteEvent
, _p_wxQueryNewPaletteEventTo_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_wxJPEGHandler
, _p_wxJPEGHandlerTo_p_wxObject
, 0, 0},  {&_swigt__p_wxPNMHandler
, _p_wxPNMHandlerTo_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_wxKeyEvent
, _p_wxKeyEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxNavigationKeyEvent
, _p_wxNavigationKeyEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxActiveXEvent
, _p_wxActiveXEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxActiveXWindow
, _p_wxActiveXWindowTo_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_wxIEHtmlWindowBase
, _p_wxIEHtmlWindowBaseTo_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_wxCloseEvent
, _p_wxCloseEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxMouseEvent
, _p_wxMouseEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxEraseEvent
, _p_wxEraseEventTo_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_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}}; 
5460 static swig_cast_info _swigc__p_wxPaperSize
[] = {  {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}}; 
5461 static swig_cast_info _swigc__p_wxParamX
[] = {  {&_swigt__p_wxParamX
, 0, 0, 0},{0, 0, 0, 0}}; 
5462 static swig_cast_info _swigc__p_wxParamXArray
[] = {  {&_swigt__p_wxParamXArray
, 0, 0, 0},{0, 0, 0, 0}}; 
5463 static swig_cast_info _swigc__p_wxPropX
[] = {  {&_swigt__p_wxPropX
, 0, 0, 0},{0, 0, 0, 0}}; 
5464 static swig_cast_info _swigc__p_wxPropXArray
[] = {  {&_swigt__p_wxPropXArray
, 0, 0, 0},{0, 0, 0, 0}}; 
5465 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_wxActiveXWindow
, _p_wxActiveXWindowTo_p_wxWindow
, 0, 0},  {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxWindow
, 0, 0},  {&_swigt__p_wxIEHtmlWindowBase
, _p_wxIEHtmlWindowBaseTo_p_wxWindow
, 0, 0},{0, 0, 0, 0}}; 
5466 static swig_cast_info _swigc__ptrdiff_t
[] = {  {&_swigt__ptrdiff_t
, 0, 0, 0},{0, 0, 0, 0}}; 
5467 static swig_cast_info _swigc__std__ptrdiff_t
[] = {  {&_swigt__std__ptrdiff_t
, 0, 0, 0},{0, 0, 0, 0}}; 
5468 static swig_cast_info _swigc__unsigned_int
[] = {  {&_swigt__unsigned_int
, 0, 0, 0},{0, 0, 0, 0}}; 
5470 static swig_cast_info 
*swig_cast_initial
[] = { 
5473   _swigc__p_form_ops_t
, 
5476   _swigc__p_unsigned_char
, 
5477   _swigc__p_unsigned_int
, 
5478   _swigc__p_unsigned_long
, 
5479   _swigc__p_unsigned_short
, 
5480   _swigc__p_wxANIHandler
, 
5481   _swigc__p_wxAcceleratorTable
, 
5482   _swigc__p_wxActivateEvent
, 
5483   _swigc__p_wxActiveXEvent
, 
5484   _swigc__p_wxActiveXWindow
, 
5485   _swigc__p_wxBMPHandler
, 
5486   _swigc__p_wxBoxSizer
, 
5487   _swigc__p_wxCURHandler
, 
5488   _swigc__p_wxChildFocusEvent
, 
5489   _swigc__p_wxCloseEvent
, 
5490   _swigc__p_wxCommandEvent
, 
5491   _swigc__p_wxContextMenuEvent
, 
5492   _swigc__p_wxControl
, 
5493   _swigc__p_wxControlWithItems
, 
5494   _swigc__p_wxDateEvent
, 
5495   _swigc__p_wxDisplayChangedEvent
, 
5496   _swigc__p_wxDropFilesEvent
, 
5497   _swigc__p_wxDuplexMode
, 
5498   _swigc__p_wxEraseEvent
, 
5500   _swigc__p_wxEvtHandler
, 
5502   _swigc__p_wxFileSystem
, 
5503   _swigc__p_wxFlexGridSizer
, 
5504   _swigc__p_wxFocusEvent
, 
5506   _swigc__p_wxFuncXArray
, 
5507   _swigc__p_wxGBSizerItem
, 
5508   _swigc__p_wxGIFHandler
, 
5509   _swigc__p_wxGridBagSizer
, 
5510   _swigc__p_wxGridSizer
, 
5511   _swigc__p_wxICOHandler
, 
5512   _swigc__p_wxIEHtmlWindowBase
, 
5513   _swigc__p_wxIconizeEvent
, 
5514   _swigc__p_wxIdleEvent
, 
5516   _swigc__p_wxImageHandler
, 
5517   _swigc__p_wxIndividualLayoutConstraint
, 
5518   _swigc__p_wxInitDialogEvent
, 
5519   _swigc__p_wxInputStream
, 
5520   _swigc__p_wxJPEGHandler
, 
5521   _swigc__p_wxKeyEvent
, 
5522   _swigc__p_wxLayoutConstraints
, 
5523   _swigc__p_wxMaximizeEvent
, 
5525   _swigc__p_wxMenuBar
, 
5526   _swigc__p_wxMenuEvent
, 
5527   _swigc__p_wxMenuItem
, 
5528   _swigc__p_wxMouseCaptureChangedEvent
, 
5529   _swigc__p_wxMouseEvent
, 
5530   _swigc__p_wxMoveEvent
, 
5531   _swigc__p_wxNavigationKeyEvent
, 
5532   _swigc__p_wxNcPaintEvent
, 
5533   _swigc__p_wxNotifyEvent
, 
5535   _swigc__p_wxPCXHandler
, 
5536   _swigc__p_wxPNGHandler
, 
5537   _swigc__p_wxPNMHandler
, 
5538   _swigc__p_wxPaintEvent
, 
5539   _swigc__p_wxPaletteChangedEvent
, 
5540   _swigc__p_wxPaperSize
, 
5542   _swigc__p_wxParamXArray
, 
5544   _swigc__p_wxPropXArray
, 
5546   _swigc__p_wxPyCommandEvent
, 
5547   _swigc__p_wxPyEvent
, 
5548   _swigc__p_wxPyImageHandler
, 
5549   _swigc__p_wxPySizer
, 
5550   _swigc__p_wxPyValidator
, 
5551   _swigc__p_wxQueryNewPaletteEvent
, 
5552   _swigc__p_wxScrollEvent
, 
5553   _swigc__p_wxScrollWinEvent
, 
5554   _swigc__p_wxSetCursorEvent
, 
5555   _swigc__p_wxShowEvent
, 
5556   _swigc__p_wxSizeEvent
, 
5558   _swigc__p_wxSizerItem
, 
5559   _swigc__p_wxStaticBoxSizer
, 
5560   _swigc__p_wxStdDialogButtonSizer
, 
5561   _swigc__p_wxSysColourChangedEvent
, 
5562   _swigc__p_wxTIFFHandler
, 
5563   _swigc__p_wxUpdateUIEvent
, 
5564   _swigc__p_wxValidator
, 
5566   _swigc__p_wxWindowCreateEvent
, 
5567   _swigc__p_wxWindowDestroyEvent
, 
5568   _swigc__p_wxXPMHandler
, 
5570   _swigc__std__ptrdiff_t
, 
5571   _swigc__unsigned_int
, 
5575 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */ 
5577 static swig_const_info swig_const_table
[] = { 
5578 {0, 0, 0, 0.0, 0, 0}}; 
5583 /************************************************************************* 
5584  * Type initialization: 
5585  * This problem is tough by the requirement that no dynamic  
5586  * memory is used. Also, since swig_type_info structures store pointers to  
5587  * swig_cast_info structures and swig_cast_info structures store pointers back 
5588  * to swig_type_info structures, we need some lookup code at initialization.  
5589  * The idea is that swig generates all the structures that are needed.  
5590  * The runtime then collects these partially filled structures.  
5591  * The SWIG_InitializeModule function takes these initial arrays out of  
5592  * swig_module, and does all the lookup, filling in the swig_module.types 
5593  * array with the correct data and linking the correct swig_cast_info 
5594  * structures together. 
5596  * The generated swig_type_info structures are assigned staticly to an initial  
5597  * array. We just loop though that array, and handle each type individually. 
5598  * First we lookup if this type has been already loaded, and if so, use the 
5599  * loaded structure instead of the generated one. Then we have to fill in the 
5600  * cast linked list. The cast data is initially stored in something like a 
5601  * two-dimensional array. Each row corresponds to a type (there are the same 
5602  * number of rows as there are in the swig_type_initial array). Each entry in 
5603  * a column is one of the swig_cast_info structures for that type. 
5604  * The cast_initial array is actually an array of arrays, because each row has 
5605  * a variable number of columns. So to actually build the cast linked list, 
5606  * we find the array of casts associated with the type, and loop through it  
5607  * adding the casts to the list. The one last trick we need to do is making 
5608  * sure the type pointer in the swig_cast_info struct is correct. 
5610  * First off, we lookup the cast->type name to see if it is already loaded.  
5611  * There are three cases to handle: 
5612  *  1) If the cast->type has already been loaded AND the type we are adding 
5613  *     casting info to has not been loaded (it is in this module), THEN we 
5614  *     replace the cast->type pointer with the type pointer that has already 
5616  *  2) If BOTH types (the one we are adding casting info to, and the  
5617  *     cast->type) are loaded, THEN the cast info has already been loaded by 
5618  *     the previous module so we just ignore it. 
5619  *  3) Finally, if cast->type has not already been loaded, then we add that 
5620  *     swig_cast_info to the linked list (because the cast->type) pointer will 
5632 #define SWIGRUNTIME_DEBUG 
5636 SWIG_InitializeModule(void *clientdata
) { 
5638     swig_module_info 
*module_head
; 
5639     static int init_run 
= 0; 
5641     clientdata 
= clientdata
; 
5643     if (init_run
) return; 
5646     /* Initialize the swig_module */ 
5647     swig_module
.type_initial 
= swig_type_initial
; 
5648     swig_module
.cast_initial 
= swig_cast_initial
; 
5650     /* Try and load any already created modules */ 
5651     module_head 
= SWIG_GetModule(clientdata
); 
5653         swig_module
.next 
= module_head
->next
; 
5654         module_head
->next 
= &swig_module
; 
5656         /* This is the first module loaded */ 
5657         swig_module
.next 
= &swig_module
; 
5658         SWIG_SetModule(clientdata
, &swig_module
); 
5661     /* Now work on filling in swig_module.types */ 
5662 #ifdef SWIGRUNTIME_DEBUG 
5663     printf("SWIG_InitializeModule: size %d\n", swig_module
.size
); 
5665     for (i 
= 0; i 
< swig_module
.size
; ++i
) { 
5666         swig_type_info 
*type 
= 0; 
5667         swig_type_info 
*ret
; 
5668         swig_cast_info 
*cast
; 
5670 #ifdef SWIGRUNTIME_DEBUG 
5671         printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
); 
5674         /* if there is another module already loaded */ 
5675         if (swig_module
.next 
!= &swig_module
) { 
5676             type 
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
); 
5679             /* Overwrite clientdata field */ 
5680 #ifdef SWIGRUNTIME_DEBUG 
5681             printf("SWIG_InitializeModule: found type %s\n", type
->name
); 
5683             if (swig_module
.type_initial
[i
]->clientdata
) { 
5684                 type
->clientdata 
= swig_module
.type_initial
[i
]->clientdata
; 
5685 #ifdef SWIGRUNTIME_DEBUG 
5686                 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
); 
5690             type 
= swig_module
.type_initial
[i
]; 
5693         /* Insert casting types */ 
5694         cast 
= swig_module
.cast_initial
[i
]; 
5695         while (cast
->type
) { 
5696             /* Don't need to add information already in the list */ 
5698 #ifdef SWIGRUNTIME_DEBUG 
5699             printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
); 
5701             if (swig_module
.next 
!= &swig_module
) { 
5702                 ret 
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
); 
5703 #ifdef SWIGRUNTIME_DEBUG 
5704                 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
); 
5708                 if (type 
== swig_module
.type_initial
[i
]) { 
5709 #ifdef SWIGRUNTIME_DEBUG 
5710                     printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
); 
5715                     /* Check for casting already in the list */ 
5716                     swig_cast_info 
*ocast 
= SWIG_TypeCheck(ret
->name
, type
); 
5717 #ifdef SWIGRUNTIME_DEBUG 
5718                     if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
); 
5720                     if (!ocast
) ret 
= 0; 
5725 #ifdef SWIGRUNTIME_DEBUG 
5726                 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
); 
5729                     type
->cast
->prev 
= cast
; 
5730                     cast
->next 
= type
->cast
; 
5736         /* Set entry in modules->types array equal to the type */ 
5737         swig_module
.types
[i
] = type
; 
5739     swig_module
.types
[i
] = 0; 
5741 #ifdef SWIGRUNTIME_DEBUG 
5742     printf("**** SWIG_InitializeModule: Cast List ******\n"); 
5743     for (i 
= 0; i 
< swig_module
.size
; ++i
) { 
5745         swig_cast_info 
*cast 
= swig_module
.cast_initial
[i
]; 
5746         printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
); 
5747         while (cast
->type
) { 
5748             printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
); 
5752         printf("---- Total casts: %d\n",j
); 
5754     printf("**** SWIG_InitializeModule: Cast List ******\n"); 
5758 /* This function will propagate the clientdata field of type to 
5759 * any new swig_type_info structures that have been added into the list 
5760 * of equivalent types.  It is like calling 
5761 * SWIG_TypeClientData(type, clientdata) a second time. 
5764 SWIG_PropagateClientData(void) { 
5766     swig_cast_info 
*equiv
; 
5767     static int init_run 
= 0; 
5769     if (init_run
) return; 
5772     for (i 
= 0; i 
< swig_module
.size
; i
++) { 
5773         if (swig_module
.types
[i
]->clientdata
) { 
5774             equiv 
= swig_module
.types
[i
]->cast
; 
5776                 if (!equiv
->converter
) { 
5777                     if (equiv
->type 
&& !equiv
->type
->clientdata
) 
5778                     SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
); 
5780                 equiv 
= equiv
->next
; 
5800     /* Python-specific SWIG API */ 
5801 #define SWIG_newvarlink()                             SWIG_Python_newvarlink() 
5802 #define SWIG_addvarlink(p, name, get_attr, set_attr)  SWIG_Python_addvarlink(p, name, get_attr, set_attr) 
5803 #define SWIG_InstallConstants(d, constants)           SWIG_Python_InstallConstants(d, constants) 
5805     /* ----------------------------------------------------------------------------- 
5806      * global variable support code. 
5807      * ----------------------------------------------------------------------------- */ 
5809     typedef struct swig_globalvar 
{ 
5810         char       *name
;                  /* Name of global variable */ 
5811         PyObject 
*(*get_attr
)(void);       /* Return the current value */ 
5812         int       (*set_attr
)(PyObject 
*); /* Set the value */ 
5813         struct swig_globalvar 
*next
; 
5816     typedef struct swig_varlinkobject 
{ 
5818         swig_globalvar 
*vars
; 
5819     } swig_varlinkobject
; 
5821     SWIGINTERN PyObject 
* 
5822     swig_varlink_repr(swig_varlinkobject 
*v
) { 
5824         return PyString_FromString("<Swig global variables>"); 
5828     swig_varlink_print(swig_varlinkobject 
*v
, FILE *fp
, int flags
) { 
5829         swig_globalvar  
*var
; 
5831         fprintf(fp
,"Swig global variables { "); 
5832         for (var 
= v
->vars
; var
; var
=var
->next
) { 
5833             fprintf(fp
,"%s", var
->name
); 
5834             if (var
->next
) fprintf(fp
,", "); 
5840     SWIGINTERN PyObject 
* 
5841     swig_varlink_getattr(swig_varlinkobject 
*v
, char *n
) { 
5842         swig_globalvar 
*var 
= v
->vars
; 
5844             if (strcmp(var
->name
,n
) == 0) { 
5845                 return (*var
->get_attr
)(); 
5849         PyErr_SetString(PyExc_NameError
,"Unknown C global variable"); 
5854     swig_varlink_setattr(swig_varlinkobject 
*v
, char *n
, PyObject 
*p
) { 
5855         swig_globalvar 
*var 
= v
->vars
; 
5857             if (strcmp(var
->name
,n
) == 0) { 
5858                 return (*var
->set_attr
)(p
); 
5862         PyErr_SetString(PyExc_NameError
,"Unknown C global variable"); 
5866     SWIGINTERN PyTypeObject
* 
5867     swig_varlink_type(void) { 
5868         static char varlink__doc__
[] = "Swig var link object"; 
5869         static PyTypeObject varlink_type
 
5870 #if !defined(__cplusplus) 
5872         static int type_init 
= 0;   
5877                 PyObject_HEAD_INIT(&PyType_Type
) 
5878                 0,                                  /* Number of items in variable part (ob_size) */ 
5879                 (char *)"swigvarlink",              /* Type name (tp_name) */ 
5880                 sizeof(swig_varlinkobject
),         /* Basic size (tp_basicsize) */ 
5881                 0,                                  /* Itemsize (tp_itemsize) */ 
5882                 0,                                  /* Deallocator (tp_dealloc) */  
5883                 (printfunc
) swig_varlink_print
,     /* Print (tp_print) */ 
5884                 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */ 
5885                 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */ 
5887                 (reprfunc
) swig_varlink_repr
,       /* tp_repr */ 
5888                 0,                                  /* tp_as_number */ 
5889                 0,                                  /* tp_as_sequence */ 
5890                 0,                                  /* tp_as_mapping */ 
5894                 0,                                  /* tp_getattro */ 
5895                 0,                                  /* tp_setattro */ 
5896                 0,                                  /* tp_as_buffer */ 
5898                 varlink__doc__
,                     /* tp_doc */ 
5899 #if PY_VERSION_HEX >= 0x02000000 
5900                 0,                                  /* tp_traverse */ 
5903 #if PY_VERSION_HEX >= 0x02010000 
5904                 0,                                  /* tp_richcompare */ 
5905                 0,                                  /* tp_weaklistoffset */ 
5907 #if PY_VERSION_HEX >= 0x02020000 
5908                 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */ 
5910 #if PY_VERSION_HEX >= 0x02030000 
5914                 0,0,0,0                             /* tp_alloc -> tp_next */ 
5917 #if !defined(__cplusplus) 
5922         return &varlink_type
; 
5925     /* Create a variable linking object for use later */ 
5926     SWIGINTERN PyObject 
* 
5927     SWIG_Python_newvarlink(void) { 
5928         swig_varlinkobject 
*result 
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type()); 
5932         return ((PyObject
*) result
); 
5936     SWIG_Python_addvarlink(PyObject 
*p
, char *name
, PyObject 
*(*get_attr
)(void), int (*set_attr
)(PyObject 
*p
)) { 
5937         swig_varlinkobject 
*v 
= (swig_varlinkobject 
*) p
; 
5938         swig_globalvar 
*gv 
= (swig_globalvar 
*) malloc(sizeof(swig_globalvar
)); 
5940             size_t size 
= strlen(name
)+1; 
5941             gv
->name 
= (char *)malloc(size
); 
5943                 strncpy(gv
->name
,name
,size
); 
5944                 gv
->get_attr 
= get_attr
; 
5945                 gv
->set_attr 
= set_attr
; 
5952     /* ----------------------------------------------------------------------------- 
5953      * constants/methods manipulation 
5954      * ----------------------------------------------------------------------------- */ 
5956     /* Install Constants */ 
5958     SWIG_Python_InstallConstants(PyObject 
*d
, swig_const_info constants
[]) { 
5961         for (i 
= 0; constants
[i
].type
; ++i
) { 
5962             switch(constants
[i
].type
) { 
5964                 obj 
= PyInt_FromLong(constants
[i
].lvalue
); 
5967                 obj 
= PyFloat_FromDouble(constants
[i
].dvalue
); 
5969                 case SWIG_PY_STRING
: 
5970                 if (constants
[i
].pvalue
) { 
5971                     obj 
= PyString_FromString((char *) constants
[i
].pvalue
); 
5977                 case SWIG_PY_POINTER
: 
5978                 obj 
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0); 
5980                 case SWIG_PY_BINARY
: 
5981                 obj 
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
)); 
5988                 PyDict_SetItemString(d
,constants
[i
].name
,obj
); 
5994     /* -----------------------------------------------------------------------------*/ 
5995     /* Fix SwigMethods to carry the callback ptrs when needed */ 
5996     /* -----------------------------------------------------------------------------*/ 
5999     SWIG_Python_FixMethods(PyMethodDef 
*methods
, 
6000     swig_const_info 
*const_table
, 
6001     swig_type_info 
**types
, 
6002     swig_type_info 
**types_initial
) { 
6004         for (i 
= 0; methods
[i
].ml_name
; ++i
) { 
6005             char *c 
= methods
[i
].ml_doc
; 
6006             if (c 
&& (c 
= strstr(c
, "swig_ptr: "))) { 
6008                 swig_const_info 
*ci 
= 0; 
6009                 char *name 
= c 
+ 10; 
6010                 for (j 
= 0; const_table
[j
].type
; ++j
) { 
6011                     if (strncmp(const_table
[j
].name
, name
,  
6012                     strlen(const_table
[j
].name
)) == 0) { 
6013                         ci 
= &(const_table
[j
]); 
6018                     size_t shift 
= (ci
->ptype
) - types
; 
6019                     swig_type_info 
*ty 
= types_initial
[shift
]; 
6020                     size_t ldoc 
= (c 
- methods
[i
].ml_doc
); 
6021                     size_t lptr 
= strlen(ty
->name
)+2*sizeof(void*)+2; 
6022                     char *ndoc 
= (char*)malloc(ldoc 
+ lptr 
+ 10); 
6025                         void *ptr 
= (ci
->type 
== SWIG_PY_POINTER
) ? ci
->pvalue 
: 0; 
6027                             strncpy(buff
, methods
[i
].ml_doc
, ldoc
); 
6029                             strncpy(buff
, "swig_ptr: ", 10); 
6031                             SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
); 
6032                             methods
[i
].ml_doc 
= ndoc
; 
6040     /* -----------------------------------------------------------------------------* 
6041      *  Initialize type list 
6042      * -----------------------------------------------------------------------------*/ 
6048 /* -----------------------------------------------------------------------------* 
6049  *  Partial Init method 
6050  * -----------------------------------------------------------------------------*/ 
6055 SWIGEXPORT 
void SWIG_init(void) { 
6056     static PyObject 
*SWIG_globals 
= 0;  
6058     if (!SWIG_globals
) SWIG_globals 
= SWIG_newvarlink(); 
6060     /* Fix SwigMethods to carry the callback ptrs when needed */ 
6061     SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
); 
6063     m 
= Py_InitModule((char *) SWIG_name
, SwigMethods
); 
6064     d 
= PyModule_GetDict(m
); 
6066     SWIG_InitializeModule(0); 
6067     SWIG_InstallConstants(d
,swig_const_table
);