1 /* ---------------------------------------------------------------------------- 
   2  * This file was automatically generated by SWIG (http://www.swig.org). 
   5  * This file is not intended to be easily readable and contains a number of  
   6  * coding conventions designed to improve portability and efficiency. Do not make 
   7  * changes to this file unless you know what you are doing--modify the SWIG  
   8  * interface file instead.  
   9  * ----------------------------------------------------------------------------- */ 
  14 template<class T
> class SwigValueWrapper 
{ 
  17     SwigValueWrapper() : tt(0) { } 
  18     SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { } 
  19     SwigValueWrapper(const T
& t
) : tt(new T(t
)) { } 
  20     ~SwigValueWrapper() { delete tt
; }  
  21     SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt 
= new T(t
); return *this; } 
  22     operator T
&() const { return *tt
; } 
  23     T 
*operator&() { return tt
; } 
  25     SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
); 
  30 #ifndef SWIG_TEMPLATE_DISAMBIGUATOR 
  31 #  if defined(__SUNPRO_CC)  
  32 #    define SWIG_TEMPLATE_DISAMBIGUATOR template 
  34 #    define SWIG_TEMPLATE_DISAMBIGUATOR  
  41 /*********************************************************************** 
  44  *     This file contains generic CAPI SWIG runtime support for pointer 
  47  ************************************************************************/ 
  49 /* This should only be incremented when either the layout of swig_type_info changes, 
  50    or for whatever reason, the runtime changes incompatibly */ 
  51 #define SWIG_RUNTIME_VERSION "1" 
  53 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */ 
  54 #ifdef SWIG_TYPE_TABLE 
  55 #define SWIG_QUOTE_STRING(x) #x 
  56 #define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x) 
  57 #define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE) 
  59 #define SWIG_TYPE_TABLE_NAME 
  65 #if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__)) 
  66 #  define SWIGINLINE inline 
  73   You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for 
  74   creating a static or dynamic library from the swig runtime code. 
  75   In 99.9% of the cases, swig just needs to declare them as 'static'. 
  77   But only do this if is strictly necessary, ie, if you have problems 
  78   with your compiler or so. 
  81 #define SWIGRUNTIME static 
  83 #ifndef SWIGRUNTIMEINLINE 
  84 #define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE 
  91 typedef void *(*swig_converter_func
)(void *); 
  92 typedef struct swig_type_info 
*(*swig_dycast_func
)(void **); 
  94 typedef struct swig_type_info 
{ 
  96   swig_converter_func     converter
; 
  99   swig_dycast_func        dcast
; 
 100   struct swig_type_info  
*next
; 
 101   struct swig_type_info  
*prev
; 
 105   Compare two type names skipping the space characters, therefore 
 106   "char*" == "char *" and "Class<int>" == "Class<int >", etc. 
 108   Return 0 when the two name types are equivalent, as in 
 109   strncmp, but skipping ' '. 
 112 SWIG_TypeNameComp(const char *f1
, const char *l1
, 
 113                   const char *f2
, const char *l2
) { 
 114   for (;(f1 
!= l1
) && (f2 
!= l2
); ++f1
, ++f2
) { 
 115     while ((*f1 
== ' ') && (f1 
!= l1
)) ++f1
; 
 116     while ((*f2 
== ' ') && (f2 
!= l2
)) ++f2
; 
 117     if (*f1 
!= *f2
) return *f1 
- *f2
; 
 119   return (l1 
- f1
) - (l2 
- f2
); 
 123   Check type equivalence in a name list like <name1>|<name2>|... 
 126 SWIG_TypeEquiv(const char *nb
, const char *tb
) { 
 128   const char* te 
= tb 
+ strlen(tb
); 
 130   while (!equiv 
&& *ne
) { 
 131     for (nb 
= ne
; *ne
; ++ne
) { 
 132       if (*ne 
== '|') break; 
 134     equiv 
= SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0; 
 141   Register a type mapping with the type-checking 
 143 SWIGRUNTIME swig_type_info 
* 
 144 SWIG_TypeRegisterTL(swig_type_info 
**tl
, swig_type_info 
*ti
) { 
 145   swig_type_info 
*tc
, *head
, *ret
, *next
; 
 146   /* Check to see if this type has already been registered */ 
 149     /* check simple type equivalence */ 
 150     int typeequiv 
= (strcmp(tc
->name
, ti
->name
) == 0);    
 151     /* check full type equivalence, resolving typedefs */ 
 153       /* only if tc is not a typedef (no '|' on it) */ 
 154       if (tc
->str 
&& ti
->str 
&& !strstr(tc
->str
,"|")) { 
 155         typeequiv 
= SWIG_TypeEquiv(ti
->str
,tc
->str
); 
 159       /* Already exists in the table.  Just add additional types to the list */ 
 160       if (ti
->clientdata
) tc
->clientdata 
= ti
->clientdata
; 
 174   /* Build linked lists */ 
 178   /* Patch up the rest of the links */ 
 185   if (next
) next
->prev 
= head
; 
 194 SWIGRUNTIME swig_type_info 
* 
 195 SWIG_TypeCheck(const char *c
, swig_type_info 
*ty
) { 
 197   if (!ty
) return 0;        /* Void pointer */ 
 198   s 
= ty
->next
;             /* First element always just a name */ 
 200     if (strcmp(s
->name
,c
) == 0) { 
 201       if (s 
== ty
->next
) return s
; 
 202       /* Move s to the top of the linked list */ 
 203       s
->prev
->next 
= s
->next
; 
 205         s
->next
->prev 
= s
->prev
; 
 207       /* Insert s as second element in the list */ 
 209       if (ty
->next
) ty
->next
->prev 
= s
; 
 215   } while (s 
&& (s 
!= ty
->next
)); 
 220   Cast a pointer up an inheritance hierarchy 
 222 SWIGRUNTIMEINLINE 
void * 
 223 SWIG_TypeCast(swig_type_info 
*ty
, void *ptr
) { 
 224   return ((!ty
) || (!ty
->converter
)) ? ptr 
: (*ty
->converter
)(ptr
); 
 228    Dynamic pointer casting. Down an inheritance hierarchy 
 230 SWIGRUNTIME swig_type_info 
* 
 231 SWIG_TypeDynamicCast(swig_type_info 
*ty
, void **ptr
) { 
 232   swig_type_info 
*lastty 
= ty
; 
 233   if (!ty 
|| !ty
->dcast
) return ty
; 
 234   while (ty 
&& (ty
->dcast
)) { 
 235     ty 
= (*ty
->dcast
)(ptr
); 
 242   Return the name associated with this type 
 244 SWIGRUNTIMEINLINE 
const char * 
 245 SWIG_TypeName(const swig_type_info 
*ty
) { 
 250   Return the pretty name associated with this type, 
 251   that is an unmangled type name in a form presentable to the user. 
 253 SWIGRUNTIME 
const char * 
 254 SWIG_TypePrettyName(const swig_type_info 
*type
) { 
 255   /* The "str" field contains the equivalent pretty names of the 
 256      type, separated by vertical-bar characters.  We choose 
 257      to print the last name, as it is often (?) the most 
 259   if (type
->str 
!= NULL
) { 
 260     const char *last_name 
= type
->str
; 
 262     for (s 
= type
->str
; *s
; s
++) 
 263       if (*s 
== '|') last_name 
= s
+1; 
 271   Search for a swig_type_info structure 
 273 SWIGRUNTIME swig_type_info 
* 
 274 SWIG_TypeQueryTL(swig_type_info 
*tl
, const char *name
) { 
 275   swig_type_info 
*ty 
= tl
; 
 277     if (ty
->str 
&& (SWIG_TypeEquiv(ty
->str
,name
))) return ty
; 
 278     if (ty
->name 
&& (strcmp(name
,ty
->name
) == 0)) return ty
; 
 285    Set the clientdata field for a type 
 288 SWIG_TypeClientDataTL(swig_type_info 
*tl
, swig_type_info 
*ti
, void *clientdata
) { 
 289   swig_type_info 
*tc
, *equiv
; 
 290   if (ti
->clientdata
) return; 
 291   /* if (ti->clientdata == clientdata) return; */ 
 292   ti
->clientdata 
= clientdata
; 
 295     if (!equiv
->converter
) { 
 298         if ((strcmp(tc
->name
, equiv
->name
) == 0)) 
 299           SWIG_TypeClientDataTL(tl
,tc
,clientdata
); 
 308    Pack binary data into a string 
 311 SWIG_PackData(char *c
, void *ptr
, size_t sz
) { 
 312   static char hex
[17] = "0123456789abcdef"; 
 313   unsigned char *u 
= (unsigned char *) ptr
; 
 314   const unsigned char *eu 
=  u 
+ sz
; 
 315   register unsigned char uu
; 
 316   for (; u 
!= eu
; ++u
) { 
 318     *(c
++) = hex
[(uu 
& 0xf0) >> 4]; 
 319     *(c
++) = hex
[uu 
& 0xf]; 
 325    Unpack binary data from a string 
 327 SWIGRUNTIME 
const char * 
 328 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) { 
 329   register unsigned char *u 
= (unsigned char *) ptr
; 
 330   register const unsigned char *eu 
=  u 
+ sz
; 
 331   for (; u 
!= eu
; ++u
) { 
 332     register int d 
= *(c
++); 
 333     register unsigned char uu 
= 0; 
 334     if ((d 
>= '0') && (d 
<= '9')) 
 335       uu 
= ((d 
- '0') << 4); 
 336     else if ((d 
>= 'a') && (d 
<= 'f')) 
 337       uu 
= ((d 
- ('a'-10)) << 4); 
 341     if ((d 
>= '0') && (d 
<= '9')) 
 343     else if ((d 
>= 'a') && (d 
<= 'f')) 
 344       uu 
|= (d 
- ('a'-10)); 
 353   This function will propagate the clientdata field of type to any new 
 354   swig_type_info structures that have been added into the list of 
 355   equivalent types.  It is like calling SWIG_TypeClientData(type, 
 356   clientdata) a second time. 
 359 SWIG_PropagateClientDataTL(swig_type_info 
*tl
, swig_type_info 
*type
) { 
 360   swig_type_info 
*equiv 
= type
->next
; 
 362   if (!type
->clientdata
) return; 
 364     if (!equiv
->converter
) { 
 367         if ((strcmp(tc
->name
, equiv
->name
) == 0) && !tc
->clientdata
) 
 368           SWIG_TypeClientDataTL(tl
,tc
, type
->clientdata
); 
 377    Pack 'void *' into a string buffer. 
 380 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) { 
 382   if ((2*sizeof(void *) + 2) > bsz
) return 0; 
 384   r 
= SWIG_PackData(r
,&ptr
,sizeof(void *)); 
 385   if (strlen(name
) + 1 > (bsz 
- (r 
- buff
))) return 0; 
 390 SWIGRUNTIME 
const char * 
 391 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) { 
 393     if (strcmp(c
,"NULL") == 0) { 
 400   return SWIG_UnpackData(++c
,ptr
,sizeof(void *)); 
 404 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) { 
 406   size_t lname 
= (name 
? strlen(name
) : 0); 
 407   if ((2*sz 
+ 2 + lname
) > bsz
) return 0; 
 409   r 
= SWIG_PackData(r
,ptr
,sz
); 
 411     strncpy(r
,name
,lname
+1); 
 418 SWIGRUNTIME 
const char * 
 419 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) { 
 421     if (strcmp(c
,"NULL") == 0) { 
 428   return SWIG_UnpackData(++c
,ptr
,sz
); 
 435 /*********************************************************************** 
 438  *     This file contains generic SWIG runtime support for pointer 
 439  *     type checking as well as a few commonly used macros to control 
 442  * Author : David Beazley (beazley@cs.uchicago.edu) 
 444  * Copyright (c) 1999-2000, The University of Chicago 
 446  * This file may be freely redistributed without license or fee provided 
 447  * this copyright message remains intact. 
 448  ************************************************************************/ 
 451 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__) 
 452 #  if !defined(STATIC_LINKED) 
 453 #    define SWIGEXPORT(a) __declspec(dllexport) a 
 455 #    define SWIGEXPORT(a) a 
 458 #  define SWIGEXPORT(a) a 
 466 /*************************************************************************/ 
 469 /* The static type info list */ 
 471 static swig_type_info 
*swig_type_list 
= 0; 
 472 static swig_type_info 
**swig_type_list_handle 
= &swig_type_list
; 
 475 /* Register a type mapping with the type-checking */ 
 476 static swig_type_info 
* 
 477 SWIG_TypeRegister(swig_type_info 
*ti
) { 
 478   return SWIG_TypeRegisterTL(swig_type_list_handle
, ti
); 
 481 /* Search for a swig_type_info structure */ 
 482 static swig_type_info 
* 
 483 SWIG_TypeQuery(const char *name
) { 
 484   return SWIG_TypeQueryTL(*swig_type_list_handle
, name
); 
 487 /* Set the clientdata field for a type */ 
 489 SWIG_TypeClientData(swig_type_info 
*ti
, void *clientdata
) { 
 490   SWIG_TypeClientDataTL(*swig_type_list_handle
, ti
, clientdata
); 
 493 /* This function will propagate the clientdata field of type to 
 494 * any new swig_type_info structures that have been added into the list 
 495 * of equivalent types.  It is like calling 
 496 * SWIG_TypeClientData(type, clientdata) a second time. 
 499 SWIG_PropagateClientData(swig_type_info 
*type
) { 
 500   SWIG_PropagateClientDataTL(*swig_type_list_handle
, type
); 
 507 /* ----------------------------------------------------------------------------- 
 508  * SWIG API. Portion that goes into the runtime 
 509  * ----------------------------------------------------------------------------- */ 
 515 /* ----------------------------------------------------------------------------- 
 516  * for internal method declarations 
 517  * ----------------------------------------------------------------------------- */ 
 520 #define SWIGINTERN static  
 523 #ifndef SWIGINTERNSHORT 
 525 #define SWIGINTERNSHORT static inline  
 527 #define SWIGINTERNSHORT static  
 528 #endif /* __cplusplus */ 
 533   Exception handling in wrappers 
 535 #define SWIG_fail                goto fail 
 536 #define SWIG_arg_fail(arg)       SWIG_Python_ArgFail(arg) 
 537 #define SWIG_append_errmsg(msg)   SWIG_Python_AddErrMesg(msg,0) 
 538 #define SWIG_preppend_errmsg(msg) SWIG_Python_AddErrMesg(msg,1) 
 539 #define SWIG_type_error(type,obj) SWIG_Python_TypeError(type,obj) 
 540 #define SWIG_null_ref(type)       SWIG_Python_NullRef(type) 
 545 #define SWIG_contract_assert(expr, msg) \ 
 546  if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else 
 548 /* ----------------------------------------------------------------------------- 
 549  * Constant declarations 
 550  * ----------------------------------------------------------------------------- */ 
 553 #define SWIG_PY_INT     1 
 554 #define SWIG_PY_FLOAT   2 
 555 #define SWIG_PY_STRING  3 
 556 #define SWIG_PY_POINTER 4 
 557 #define SWIG_PY_BINARY  5 
 559 /* Constant information structure */ 
 560 typedef struct swig_const_info 
{ 
 566     swig_type_info 
**ptype
; 
 570 /* ----------------------------------------------------------------------------- 
 571  * Alloc. memory flags 
 572  * ----------------------------------------------------------------------------- */ 
 573 #define SWIG_OLDOBJ  1 
 574 #define SWIG_NEWOBJ  SWIG_OLDOBJ + 1 
 575 #define SWIG_PYSTR   SWIG_NEWOBJ + 1 
 582 /*********************************************************************** 
 585  *     This file contains the runtime support for Python modules 
 586  *     and includes code for managing global variables and pointer 
 589  * Author : David Beazley (beazley@cs.uchicago.edu) 
 590  ************************************************************************/ 
 592 /* Common SWIG API */ 
 593 #define SWIG_ConvertPtr(obj, pp, type, flags)    SWIG_Python_ConvertPtr(obj, pp, type, flags) 
 594 #define SWIG_NewPointerObj(p, type, flags)       SWIG_Python_NewPointerObj(p, type, flags) 
 595 #define SWIG_MustGetPtr(p, type, argnum, flags)  SWIG_Python_MustGetPtr(p, type, argnum, flags) 
 598 /* Python-specific SWIG API */ 
 599 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags)   SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags) 
 600 #define SWIG_NewPackedObj(ptr, sz, type)              SWIG_Python_NewPackedObj(ptr, sz, type) 
 603 /* ----------------------------------------------------------------------------- 
 604  * Pointer declarations 
 605  * ----------------------------------------------------------------------------- */ 
 607   Use SWIG_NO_COBJECT_TYPES to force the use of strings to represent 
 608   C/C++ pointers in the python side. Very useful for debugging, but 
 611 #if !defined(SWIG_NO_COBJECT_TYPES) && !defined(SWIG_COBJECT_TYPES) 
 612 #  define SWIG_COBJECT_TYPES 
 615 /* Flags for pointer conversion */ 
 616 #define SWIG_POINTER_EXCEPTION     0x1 
 617 #define SWIG_POINTER_DISOWN        0x2 
 624 /* ----------------------------------------------------------------------------- 
 625  * Create a new pointer string  
 626  * ----------------------------------------------------------------------------- */ 
 628 #ifndef SWIG_BUFFER_SIZE 
 629 #define SWIG_BUFFER_SIZE 1024 
 632 #if defined(SWIG_COBJECT_TYPES) 
 633 #if !defined(SWIG_COBJECT_PYTHON) 
 634 /* ----------------------------------------------------------------------------- 
 635  * Implements a simple Swig Object type, and use it instead of PyCObject 
 636  * ----------------------------------------------------------------------------- */ 
 644 /* Declarations for objects of type PySwigObject */ 
 647 PySwigObject_print(PySwigObject 
*v
, FILE *fp
, int flags
) 
 649   char result
[SWIG_BUFFER_SIZE
]; 
 650   if (SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
))) { 
 651     fputs("<Swig Object at ", fp
); fputs(result
, fp
); fputs(">", fp
); 
 658 SWIGRUNTIME PyObject 
* 
 659 PySwigObject_repr(PySwigObject 
*v
) 
 661   char result
[SWIG_BUFFER_SIZE
]; 
 662   return SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
)) ? 
 663     PyString_FromFormat("<Swig Object at %s>", result
) : 0; 
 666 SWIGRUNTIME PyObject 
* 
 667 PySwigObject_str(PySwigObject 
*v
) 
 669   char result
[SWIG_BUFFER_SIZE
]; 
 670   return SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
)) ? 
 671     PyString_FromString(result
) : 0; 
 674 SWIGRUNTIME PyObject 
* 
 675 PySwigObject_long(PySwigObject 
*v
) 
 677   return PyLong_FromUnsignedLong((unsigned long) v
->ptr
); 
 680 SWIGRUNTIME PyObject 
* 
 681 PySwigObject_oct(PySwigObject 
*v
) 
 684   unsigned long x 
= (unsigned long)v
->ptr
; 
 688     PyOS_snprintf(buf
, sizeof(buf
), "0%lo", x
); 
 689   return PyString_FromString(buf
); 
 692 SWIGRUNTIME PyObject 
* 
 693 PySwigObject_hex(PySwigObject 
*v
) 
 696   PyOS_snprintf(buf
, sizeof(buf
), "0x%lx", (unsigned long)v
->ptr
); 
 697   return PyString_FromString(buf
); 
 701 PySwigObject_compare(PySwigObject 
*v
, PySwigObject 
*w
) 
 703   int c 
= strcmp(v
->desc
, w
->desc
); 
 709     return (i 
< j
) ? -1 : (i 
> j
) ? 1 : 0; 
 714 PySwigObject_dealloc(PySwigObject 
*self
) 
 719 SWIGRUNTIME PyTypeObject
* 
 720 PySwigObject_GetType() { 
 721   static char PySwigObject_Type__doc__
[] =  
 722     "Swig object carries a C/C++ instance pointer"; 
 724   static PyNumberMethods PySwigObject_as_number 
= { 
 725     (binaryfunc
)0, /*nb_add*/ 
 726     (binaryfunc
)0, /*nb_subtract*/ 
 727     (binaryfunc
)0, /*nb_multiply*/ 
 728     (binaryfunc
)0, /*nb_divide*/ 
 729     (binaryfunc
)0, /*nb_remainder*/ 
 730     (binaryfunc
)0, /*nb_divmod*/ 
 731     (ternaryfunc
)0,/*nb_power*/ 
 732     (unaryfunc
)0,  /*nb_negative*/ 
 733     (unaryfunc
)0,  /*nb_positive*/ 
 734     (unaryfunc
)0,  /*nb_absolute*/ 
 735     (inquiry
)0,    /*nb_nonzero*/ 
 742     (coercion
)0,   /*nb_coerce*/ 
 743     (unaryfunc
)PySwigObject_long
, /*nb_int*/ 
 744     (unaryfunc
)PySwigObject_long
, /*nb_long*/ 
 745     (unaryfunc
)0,                 /*nb_float*/ 
 746     (unaryfunc
)PySwigObject_oct
,  /*nb_oct*/ 
 747     (unaryfunc
)PySwigObject_hex
,  /*nb_hex*/ 
 748 #if PY_VERSION_HEX >= 0x02000000 
 749     0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */  
 753   static int type_init 
= 0;   
 754   static PyTypeObject PySwigObject_Type
; 
 758     PyObject_HEAD_INIT(&PyType_Type
) 
 760     "PySwigObject",                     /*tp_name*/ 
 761     sizeof(PySwigObject
),               /*tp_basicsize*/ 
 764     (destructor
)PySwigObject_dealloc
,   /*tp_dealloc*/ 
 765     (printfunc
)PySwigObject_print
,      /*tp_print*/ 
 766     (getattrfunc
)0,                     /*tp_getattr*/ 
 767     (setattrfunc
)0,                     /*tp_setattr*/ 
 768     (cmpfunc
)PySwigObject_compare
,      /*tp_compare*/ 
 769     (reprfunc
)PySwigObject_repr
,        /*tp_repr*/ 
 770     &PySwigObject_as_number
,            /*tp_as_number*/ 
 771     0,                                  /*tp_as_sequence*/ 
 773     (hashfunc
)0,                        /*tp_hash*/ 
 774     (ternaryfunc
)0,                     /*tp_call*/ 
 775     (reprfunc
)PySwigObject_str
,         /*tp_str*/ 
 776     /* Space for future expansion */ 
 778     PySwigObject_Type__doc__
,           /* Documentation string */ 
 779 #if PY_VERSION_HEX >= 0x02000000 
 783 #if PY_VERSION_HEX >= 0x02010000 
 784     0,                                  /* tp_richcompare */ 
 785     0,                                  /* tp_weaklistoffset */ 
 787 #if PY_VERSION_HEX >= 0x02020000 
 788     0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */ 
 790 #if PY_VERSION_HEX >= 0x02030000 
 794     0,0,0,0                             /* tp_alloc -> tp_next */ 
 798     PySwigObject_Type 
= tmp
; 
 802   return &PySwigObject_Type
; 
 805 SWIGRUNTIME PyObject 
* 
 806 PySwigObject_FromVoidPtrAndDesc(void *ptr
, const char *desc
) 
 808   PySwigObject 
*self 
= PyObject_NEW(PySwigObject
, PySwigObject_GetType()); 
 809   if (self 
== NULL
) return NULL
; 
 812   return (PyObject 
*)self
; 
 815 SWIGRUNTIMEINLINE 
void * 
 816 PySwigObject_AsVoidPtr(PyObject 
*self
) 
 818   return ((PySwigObject 
*)self
)->ptr
; 
 821 SWIGRUNTIMEINLINE 
const char * 
 822 PySwigObject_GetDesc(PyObject 
*self
) 
 824   return ((PySwigObject 
*)self
)->desc
; 
 827 SWIGRUNTIMEINLINE 
int 
 828 PySwigObject_Check(PyObject 
*op
) { 
 829   return ((op
)->ob_type 
== PySwigObject_GetType())  
 830     || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0); 
 833 /* ----------------------------------------------------------------------------- 
 834  * Implements a simple Swig Packed type, and use it instead of string 
 835  * ----------------------------------------------------------------------------- */ 
 845 PySwigPacked_print(PySwigPacked 
*v
, FILE *fp
, int flags
) 
 847   char result
[SWIG_BUFFER_SIZE
]; 
 848   fputs("<Swig Packed ", fp
);  
 849   if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) { 
 858 SWIGRUNTIME PyObject 
* 
 859 PySwigPacked_repr(PySwigPacked 
*v
) 
 861   char result
[SWIG_BUFFER_SIZE
]; 
 862   if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) { 
 863     return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->desc
); 
 865     return PyString_FromFormat("<Swig Packed %s>", v
->desc
); 
 869 SWIGRUNTIME PyObject 
* 
 870 PySwigPacked_str(PySwigPacked 
*v
) 
 872   char result
[SWIG_BUFFER_SIZE
]; 
 873   if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){ 
 874     return PyString_FromFormat("%s%s", result
, v
->desc
); 
 876     return PyString_FromFormat("%s", v
->desc
); 
 881 PySwigPacked_compare(PySwigPacked 
*v
, PySwigPacked 
*w
) 
 883   int c 
= strcmp(v
->desc
, w
->desc
); 
 889     int s 
= (i 
< j
) ? -1 : (i 
> j
) ? 1 : 0; 
 890     return s 
? s 
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
); 
 895 PySwigPacked_dealloc(PySwigPacked 
*self
) 
 901 SWIGRUNTIME PyTypeObject
* 
 902 PySwigPacked_GetType() { 
 903   static char PySwigPacked_Type__doc__
[] =  
 904     "Swig object carries a C/C++ instance pointer"; 
 905   static int type_init 
= 0; 
 907   static PyTypeObject PySwigPacked_Type
; 
 910     PyObject_HEAD_INIT(&PyType_Type
) 
 912     "PySwigPacked",                     /*tp_name*/ 
 913     sizeof(PySwigPacked
),               /*tp_basicsize*/ 
 916     (destructor
)PySwigPacked_dealloc
,   /*tp_dealloc*/ 
 917     (printfunc
)PySwigPacked_print
,      /*tp_print*/ 
 918     (getattrfunc
)0,                     /*tp_getattr*/ 
 919     (setattrfunc
)0,                     /*tp_setattr*/ 
 920     (cmpfunc
)PySwigPacked_compare
,      /*tp_compare*/ 
 921     (reprfunc
)PySwigPacked_repr
,        /*tp_repr*/ 
 923     0,                                  /*tp_as_sequence*/ 
 925     (hashfunc
)0,                        /*tp_hash*/ 
 926     (ternaryfunc
)0,                     /*tp_call*/ 
 927     (reprfunc
)PySwigPacked_str
,         /*tp_str*/ 
 928     /* Space for future expansion */ 
 930     PySwigPacked_Type__doc__
,           /* Documentation string */ 
 931 #if PY_VERSION_HEX >= 0x02000000 
 935 #if PY_VERSION_HEX >= 0x02010000 
 936     0,                                  /* tp_richcompare */ 
 937     0,                                  /* tp_weaklistoffset */ 
 939 #if PY_VERSION_HEX >= 0x02020000          
 940     0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */ 
 942 #if PY_VERSION_HEX >= 0x02030000 
 946     0,0,0,0                             /* tp_alloc -> tp_next */ 
 950     PySwigPacked_Type 
= tmp
; 
 956   return &PySwigPacked_Type
; 
 959 SWIGRUNTIME PyObject 
* 
 960 PySwigPacked_FromDataAndDesc(void *ptr
, size_t size
, const char *desc
) 
 962   PySwigPacked 
*self 
= PyObject_NEW(PySwigPacked
, PySwigPacked_GetType()); 
 966     void *pack 
= malloc(size
); 
 967     memcpy(pack
, ptr
, size
); 
 971     return (PyObject 
*) self
; 
 975 SWIGRUNTIMEINLINE 
const char * 
 976 PySwigPacked_UnpackData(PyObject 
*obj
, void *ptr
, size_t size
) 
 978   PySwigPacked 
*self 
= (PySwigPacked 
*)obj
; 
 979   if (self
->size 
!= size
) return 0; 
 980   memcpy(ptr
, self
->pack
, size
); 
 984 SWIGRUNTIMEINLINE 
const char * 
 985 PySwigPacked_GetDesc(PyObject 
*self
) 
 987   return ((PySwigPacked 
*)self
)->desc
; 
 990 SWIGRUNTIMEINLINE 
int 
 991 PySwigPacked_Check(PyObject 
*op
) { 
 992   return ((op
)->ob_type 
== PySwigPacked_GetType())  
 993     || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0); 
 997 /* ----------------------------------------------------------------------------- 
 998  * Use the old Python PyCObject instead of PySwigObject 
 999  * ----------------------------------------------------------------------------- */ 
1001 #define PySwigObject_GetDesc(obj)                  PyCObject_GetDesc(obj) 
1002 #define PySwigObject_Check(obj)            PyCObject_Check(obj) 
1003 #define PySwigObject_AsVoidPtr(obj)        PyCObject_AsVoidPtr(obj) 
1004 #define PySwigObject_FromVoidPtrAndDesc(p, d)  PyCObject_FromVoidPtrAndDesc(p, d, NULL) 
1010 /* ----------------------------------------------------------------------------- 
1011  * errors manipulation 
1012  * ----------------------------------------------------------------------------- */ 
1015 SWIG_Python_TypeError(const char *type
, PyObject 
*obj
) 
1018 #if defined(SWIG_COBJECT_TYPES) 
1019     if (PySwigObject_Check(obj
)) { 
1020       const char *otype 
= (const char *) PySwigObject_GetDesc(obj
); 
1022         PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received", 
1029       const char *otype 
= (obj 
? obj
->ob_type
->tp_name 
: 0);  
1031         PyObject 
*str 
= PyObject_Str(obj
); 
1032         const char *cstr 
= str 
? PyString_AsString(str
) : 0; 
1034           PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received", 
1037           PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received", 
1044     PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
); 
1046     PyErr_Format(PyExc_TypeError
, "unexpected type is received"); 
1050 SWIGRUNTIMEINLINE 
void 
1051 SWIG_Python_NullRef(const char *type
) 
1054     PyErr_Format(PyExc_TypeError
, "null reference of type '%s' was received",type
); 
1056     PyErr_Format(PyExc_TypeError
, "null reference was received"); 
1061 SWIG_Python_AddErrMesg(const char* mesg
, int infront
) 
1063   if (PyErr_Occurred()) { 
1065     PyObject 
*value 
= 0; 
1066     PyObject 
*traceback 
= 0; 
1067     PyErr_Fetch(&type
, &value
, &traceback
); 
1069       PyObject 
*old_str 
= PyObject_Str(value
); 
1073         PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
)); 
1075         PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
); 
1086 SWIG_Python_ArgFail(int argnum
) 
1088   if (PyErr_Occurred()) { 
1089     /* add information about failing argument */ 
1091     sprintf(mesg
, "argument number %d:", argnum
); 
1092     return SWIG_Python_AddErrMesg(mesg
, 1); 
1099 /* ----------------------------------------------------------------------------- 
1100  * pointers/data manipulation 
1101  * ----------------------------------------------------------------------------- */ 
1103 /* Convert a pointer value */ 
1105 SWIG_Python_ConvertPtr(PyObject 
*obj
, void **ptr
, swig_type_info 
*ty
, int flags
) { 
1108   static PyObject 
*SWIG_this 
= 0; 
1110   PyObject  
*pyobj 
= 0; 
1114   if (obj 
== Py_None
) { 
1119 #ifdef SWIG_COBJECT_TYPES 
1120   if (!(PySwigObject_Check(obj
))) { 
1122       SWIG_this 
= PyString_FromString("this"); 
1124     obj 
= PyObject_GetAttr(obj
,SWIG_this
); 
1126     if (!obj
) goto type_error
; 
1127     if (!PySwigObject_Check(obj
)) { 
1132   vptr 
= PySwigObject_AsVoidPtr(obj
); 
1133   c 
= (const char *) PySwigObject_GetDesc(obj
); 
1134   if (newref
) { Py_DECREF(obj
); } 
1137   if (!(PyString_Check(obj
))) { 
1139       SWIG_this 
= PyString_FromString("this"); 
1141     obj 
= PyObject_GetAttr(obj
,SWIG_this
); 
1143     if (!obj
) goto type_error
; 
1144     if (!PyString_Check(obj
)) { 
1149   c 
= PyString_AS_STRING(obj
); 
1150   /* Pointer values must start with leading underscore */ 
1151   c 
= SWIG_UnpackVoidPtr(c
, &vptr
, ty
->name
); 
1152   if (newref
) { Py_DECREF(obj
); } 
1153   if (!c
) goto type_error
; 
1159     tc 
= SWIG_TypeCheck(c
,ty
); 
1160     if (!tc
) goto type_error
; 
1161     *ptr 
= SWIG_TypeCast(tc
,vptr
); 
1166   if ((pyobj
) && (flags 
& SWIG_POINTER_DISOWN
)) { 
1167     PyObject_SetAttrString(pyobj
,(char*)"thisown",Py_False
); 
1173   if (pyobj 
&& !obj
) {     
1175     if (PyCFunction_Check(obj
)) { 
1176       /* here we get the method pointer for callbacks */ 
1177       char *doc 
= (((PyCFunctionObject 
*)obj
) -> m_ml 
-> ml_doc
); 
1178       c 
= doc 
? strstr(doc
, "swig_ptr: ") : 0; 
1180         c 
= SWIG_UnpackVoidPtr(c 
+ 10, &vptr
, ty
->name
); 
1181         if (!c
) goto type_error
; 
1186   if (flags 
& SWIG_POINTER_EXCEPTION
) { 
1188       SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
); 
1190       SWIG_Python_TypeError("C/C++ pointer", obj
); 
1196 /* Convert a pointer value, signal an exception on a type mismatch */ 
1198 SWIG_Python_MustGetPtr(PyObject 
*obj
, swig_type_info 
*ty
, int argnum
, int flags
) { 
1200   if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) { 
1202     if (flags 
& SWIG_POINTER_EXCEPTION
) { 
1203       SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
); 
1204       SWIG_Python_ArgFail(argnum
); 
1210 /* Convert a packed value value */ 
1212 SWIG_Python_ConvertPacked(PyObject 
*obj
, void *ptr
, size_t sz
, swig_type_info 
*ty
, int flags
) { 
1216 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON) 
1217   c 
= PySwigPacked_UnpackData(obj
, ptr
, sz
); 
1219   if ((!obj
) || (!PyString_Check(obj
))) goto type_error
; 
1220   c 
= PyString_AS_STRING(obj
); 
1221   /* Pointer values must start with leading underscore */ 
1222   c 
= SWIG_UnpackDataName(c
, ptr
, sz
, ty
->name
); 
1224   if (!c
) goto type_error
; 
1226     tc 
= SWIG_TypeCheck(c
,ty
); 
1227     if (!tc
) goto type_error
; 
1233   if (flags 
& SWIG_POINTER_EXCEPTION
) { 
1235       SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
); 
1237       SWIG_Python_TypeError("C/C++ packed data", obj
); 
1243 /* Create a new array object */ 
1244 SWIGRUNTIME PyObject 
* 
1245 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info 
*type
, int own
) { 
1251 #ifdef SWIG_COBJECT_TYPES 
1252   robj 
= PySwigObject_FromVoidPtrAndDesc((void *) ptr
, (char *)type
->name
); 
1255     char result
[SWIG_BUFFER_SIZE
]; 
1256     robj 
= SWIG_PackVoidPtr(result
, ptr
, type
->name
, sizeof(result
)) ? 
1257       PyString_FromString(result
) : 0; 
1260   if (!robj 
|| (robj 
== Py_None
)) return robj
; 
1261   if (type
->clientdata
) { 
1263     PyObject 
*args 
= Py_BuildValue((char*)"(O)", robj
); 
1265     inst 
= PyObject_CallObject((PyObject 
*) type
->clientdata
, args
); 
1269         PyObject_SetAttrString(inst
,(char*)"thisown",Py_True
); 
1277 SWIGRUNTIME PyObject 
* 
1278 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info 
*type
) { 
1284 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON) 
1285   robj 
= PySwigPacked_FromDataAndDesc((void *) ptr
, sz
, (char *)type
->name
); 
1288     char result
[SWIG_BUFFER_SIZE
]; 
1289     robj 
= SWIG_PackDataName(result
, ptr
, sz
, type
->name
, sizeof(result
)) ? 
1290       PyString_FromString(result
) : 0; 
1296 /* -----------------------------------------------------------------------------* 
1298  * -----------------------------------------------------------------------------*/ 
1300 #ifdef SWIG_LINK_RUNTIME 
1301 void *SWIG_ReturnGlobalTypeList(void *); 
1304 SWIGRUNTIME swig_type_info 
** 
1305 SWIG_Python_GetTypeListHandle() { 
1306   static void *type_pointer 
= (void *)0; 
1307   /* first check if module already created */ 
1308   if (!type_pointer
) { 
1309 #ifdef SWIG_LINK_RUNTIME 
1310     type_pointer 
= SWIG_ReturnGlobalTypeList((void *)0); 
1312     type_pointer 
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
, 
1313                                     (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
); 
1314     if (PyErr_Occurred()) { 
1316       type_pointer 
= (void *)0; 
1320   return (swig_type_info 
**) type_pointer
; 
1324   Search for a swig_type_info structure 
1326 SWIGRUNTIMEINLINE swig_type_info 
* 
1327 SWIG_Python_GetTypeList() { 
1328   swig_type_info 
**tlh 
= SWIG_Python_GetTypeListHandle(); 
1329   return tlh 
? *tlh 
: (swig_type_info
*)0; 
1332 #define SWIG_Runtime_GetTypeList SWIG_Python_GetTypeList  
1339 /* -------- TYPES TABLE (BEGIN) -------- */ 
1341 #define  SWIGTYPE_p_wxFrame swig_types[0]  
1342 #define  SWIGTYPE_p_wxIcon swig_types[1]  
1343 #define  SWIGTYPE_p_wxObject swig_types[2]  
1344 #define  SWIGTYPE_p_unsigned_char swig_types[3]  
1345 #define  SWIGTYPE_p_wxDialog swig_types[4]  
1346 #define  SWIGTYPE_p_wxColour swig_types[5]  
1347 #define  SWIGTYPE_p_wxWindow swig_types[6]  
1348 #define  SWIGTYPE_p_wxArtClient swig_types[7]  
1349 #define  SWIGTYPE_p_unsigned_long swig_types[8]  
1350 #define  SWIGTYPE_p_wxPyXmlSubclassFactory swig_types[9]  
1351 #define  SWIGTYPE_p_wxBitmap swig_types[10]  
1352 #define  SWIGTYPE_p_form_ops_t swig_types[11]  
1353 #define  SWIGTYPE_p_unsigned_int swig_types[12]  
1354 #define  SWIGTYPE_unsigned_int swig_types[13]  
1355 #define  SWIGTYPE_p_wxDuplexMode swig_types[14]  
1356 #define  SWIGTYPE_p_char swig_types[15]  
1357 #define  SWIGTYPE_p_wxPoint swig_types[16]  
1358 #define  SWIGTYPE_p_wxXmlNode swig_types[17]  
1359 #define  SWIGTYPE_p_wxInputStream swig_types[18]  
1360 #define  SWIGTYPE_p_wxOutputStream swig_types[19]  
1361 #define  SWIGTYPE_p_wxPyXmlResourceHandler swig_types[20]  
1362 #define  SWIGTYPE_p_wxFileSystem swig_types[21]  
1363 #define  SWIGTYPE_std__ptrdiff_t swig_types[22]  
1364 #define  SWIGTYPE_ptrdiff_t swig_types[23]  
1365 #define  SWIGTYPE_p_wxXmlProperty swig_types[24]  
1366 #define  SWIGTYPE_p_wxFont swig_types[25]  
1367 #define  SWIGTYPE_p_wxXmlResource swig_types[26]  
1368 #define  SWIGTYPE_p_wxPanel swig_types[27]  
1369 #define  SWIGTYPE_p_wxXmlDocument swig_types[28]  
1370 #define  SWIGTYPE_p_wxPaperSize swig_types[29]  
1371 #define  SWIGTYPE_p_wxSize swig_types[30]  
1372 #define  SWIGTYPE_p_int swig_types[31]  
1373 static swig_type_info 
*swig_types
[33]; 
1375 /* -------- TYPES TABLE (END) -------- */ 
1378 /*----------------------------------------------- 
1380   ------------------------------------------------*/ 
1381 #define SWIG_init    init_xrc 
1383 #define SWIG_name    "_xrc" 
1385 #include "wx/wxPython/wxPython.h" 
1386 #include "wx/wxPython/pyclasses.h" 
1387 #include "wx/wxPython/pyistream.h" 
1389 #include <wx/xml/xml.h> 
1390 #include <wx/xrc/xmlres.h> 
1392  static const wxString 
wxPyEmptyString(wxEmptyString
);  
1393  static const wxString 
wxPyUTF8String(wxT("UTF-8"));  
1394  static const wxString 
wxPyStyleString(wxT("style"));  
1395  static const wxString 
wxPySizeString(wxT("size"));  
1396  static const wxString 
wxPyPosString(wxT("pos"));  
1397  static const wxString 
wxPyBitmapString(wxT("bitmap"));  
1398  static const wxString 
wxPyIconString(wxT("icon"));  
1399  static const wxString 
wxPyFontString(wxT("font"));  
1401   /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/ 
1402 #define SWIG_From_int PyInt_FromLong 
1410   SWIG_CheckLongInRange(long value
, long min_value
, long max_value
, 
1413   if (value 
< min_value
) { 
1415       PyErr_Format(PyExc_OverflowError
,  
1416                    "value %ld is less than '%s' minimum %ld",  
1417                    value
, errmsg
, min_value
); 
1420   } else if (value 
> max_value
) { 
1422       PyErr_Format(PyExc_OverflowError
, 
1423                    "value %ld is greater than '%s' maximum %ld",  
1424                    value
, errmsg
, max_value
); 
1433 SWIG_AsVal_long(PyObject
* obj
, long* val
) 
1435     if (PyNumber_Check(obj
)) { 
1436         if (val
) *val 
= PyInt_AsLong(obj
); 
1440         SWIG_type_error("number", obj
); 
1446 #if INT_MAX != LONG_MAX 
1448   SWIG_AsVal_int(PyObject 
*obj
, int *val
) 
1450   const char* errmsg 
= val 
? "int" : (char*)0; 
1452   if (SWIG_AsVal_long(obj
, &v
)) { 
1453     if (SWIG_CheckLongInRange(v
, INT_MIN
,INT_MAX
, errmsg
)) { 
1454       if (val
) *val 
= (int)(v
); 
1463     SWIG_type_error(errmsg
, obj
); 
1469   SWIG_AsVal_int(PyObject 
*obj
, int *val
) 
1471   return SWIG_AsVal_long(obj
,(long*)val
); 
1477 SWIG_As_int(PyObject
* obj
) 
1480   if (!SWIG_AsVal_int(obj
, &v
)) { 
1482       this is needed to make valgrind/purify happier.  
1484     memset((void*)&v
, 0, sizeof(int)); 
1491 SWIG_Check_int(PyObject
* obj
) 
1493   return SWIG_AsVal_int(obj
, (int*)0); 
1496 static bool wxXmlResource_LoadFromString(wxXmlResource 
*self
,wxString 
const &data
){ 
1497             static int s_memFileIdx 
= 0; 
1499             // Check for memory FS. If not present, load the handler: 
1500             wxMemoryFSHandler::AddFile(wxT("XRC_resource/dummy_file"), 
1503             wxFSFile 
*f 
= fsys
.OpenFile(wxT("memory:XRC_resource/dummy_file")); 
1504             wxMemoryFSHandler::RemoveFile(wxT("XRC_resource/dummy_file")); 
1508                 wxFileSystem::AddHandler(new wxMemoryFSHandler
); 
1510             // Now put the resource data into the memory FS 
1511             wxString 
filename(wxT("XRC_resource/data_string_")); 
1512             filename 
<< s_memFileIdx
; 
1514             wxMemoryFSHandler::AddFile(filename
, data
); 
1516             // Load the "file" into the resource object 
1517             bool retval 
= self
->Load(wxT("memory:") + filename 
); 
1522   /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/ 
1523 #define SWIG_From_long PyInt_FromLong 
1527 class wxPyXmlSubclassFactory 
: public wxXmlSubclassFactory
 
1530     wxPyXmlSubclassFactory() {} 
1531     DEC_PYCALLBACK_OBJECT_STRING_pure(Create
); 
1535 IMP_PYCALLBACK_OBJECT_STRING_pure(wxPyXmlSubclassFactory
, wxXmlSubclassFactory
, Create
); 
1537  // C++ version of Python aware wxXmlResourceHandler, for the pure virtual 
1538    // callbacks, as well as to make some protected things public so they can 
1540 class wxPyXmlResourceHandler 
: public wxXmlResourceHandler 
{ 
1542     wxPyXmlResourceHandler() : wxXmlResourceHandler() {} 
1543     //~wxPyXmlResourceHandler(); 
1545     // Base class virtuals 
1547     DEC_PYCALLBACK_OBJECT__pure(DoCreateResource
); 
1548     DEC_PYCALLBACK_BOOL_NODE_pure(CanHandle
); 
1551     // accessors for protected members 
1553     wxXmlResource
* GetResource()        { return m_resource
; } 
1554     wxXmlNode
* GetNode()                { return m_node
; } 
1555     wxString 
GetClass()                 { return m_class
; } 
1556     wxObject
* GetParent()               { return m_parent
; } 
1557     wxObject
* GetInstance()             { return m_instance
; } 
1558     wxWindow
* GetParentAsWindow()       { return m_parentAsWindow
; } 
1559 //    wxWindow* GetInstanceAsWindow()     { return m_instanceAsWindow; } 
1562     // turn some protected methods into public via delegation 
1564     bool IsOfClass(wxXmlNode 
*node
, const wxString
& classname
) 
1565         { return wxXmlResourceHandler::IsOfClass(node
, classname
); } 
1567     wxString 
GetNodeContent(wxXmlNode 
*node
) 
1568         { return wxXmlResourceHandler::GetNodeContent(node
); } 
1570     bool HasParam(const wxString
& param
) 
1571         { return wxXmlResourceHandler::HasParam(param
); } 
1573     wxXmlNode 
*GetParamNode(const wxString
& param
) 
1574         { return wxXmlResourceHandler::GetParamNode(param
); } 
1576     wxString 
GetParamValue(const wxString
& param
) 
1577         { return wxXmlResourceHandler::GetParamValue(param
); } 
1579     void AddStyle(const wxString
& name
, int value
) 
1580         { wxXmlResourceHandler::AddStyle(name
, value
); } 
1582     void AddWindowStyles() 
1583         { wxXmlResourceHandler::AddWindowStyles(); } 
1585     int GetStyle(const wxString
& param 
= wxT("style"), int defaults 
= 0) 
1586         { return wxXmlResourceHandler::GetStyle(param
, defaults
); } 
1588     wxString 
GetText(const wxString
& param
, bool translate 
= true) 
1589         { return wxXmlResourceHandler::GetText(param
, translate
); } 
1592         { return wxXmlResourceHandler::GetID(); } 
1595         { return wxXmlResourceHandler::GetName(); } 
1597     bool GetBool(const wxString
& param
, bool defaultv 
= false) 
1598         { return wxXmlResourceHandler::GetBool(param
, defaultv
); } 
1600     long GetLong( const wxString
& param
, long defaultv 
= 0 ) 
1601         { return wxXmlResourceHandler::GetLong(param
, defaultv
); } 
1603     wxColour 
GetColour(const wxString
& param
) 
1604         { return wxXmlResourceHandler::GetColour(param
); } 
1606     wxSize 
GetSize(const wxString
& param 
= wxT("size")) 
1607         { return wxXmlResourceHandler::GetSize(param
); } 
1609     wxPoint 
GetPosition(const wxString
& param 
= wxT("pos")) 
1610         { return wxXmlResourceHandler::GetPosition(param
); } 
1612     wxCoord 
GetDimension(const wxString
& param
, wxCoord defaultv 
= 0) 
1613         { return wxXmlResourceHandler::GetDimension(param
, defaultv
); } 
1615     wxBitmap 
GetBitmap(const wxString
& param 
= wxT("bitmap"), 
1616                        const wxArtClient
& defaultArtClient 
= wxART_OTHER
, 
1617                        wxSize size 
= wxDefaultSize
) 
1618         { return wxXmlResourceHandler::GetBitmap(param
, defaultArtClient
, size
); } 
1620     wxIcon 
GetIcon(const wxString
& param 
= wxT("icon"), 
1621                    const wxArtClient
& defaultArtClient 
= wxART_OTHER
, 
1622                    wxSize size 
= wxDefaultSize
) 
1623         { return wxXmlResourceHandler::GetIcon(param
, defaultArtClient
, size
); } 
1625     wxFont 
GetFont(const wxString
& param 
= wxT("font")) 
1626         { return wxXmlResourceHandler::GetFont(param
); } 
1628     void SetupWindow(wxWindow 
*wnd
) 
1629         { wxXmlResourceHandler::SetupWindow(wnd
); } 
1631     void CreateChildren(wxObject 
*parent
, bool this_hnd_only 
= false) 
1632         { wxXmlResourceHandler::CreateChildren(parent
, this_hnd_only
); } 
1634     void CreateChildrenPrivately(wxObject 
*parent
, wxXmlNode 
*rootnode 
= NULL
) 
1635         { wxXmlResourceHandler::CreateChildrenPrivately(parent
, rootnode
); } 
1637     wxObject 
*CreateResFromNode(wxXmlNode 
*node
, 
1638                                 wxObject 
*parent
, wxObject 
*instance 
= NULL
) 
1639         { return wxXmlResourceHandler::CreateResFromNode(node
, parent
, instance
); } 
1641     wxFileSystem
& GetCurFileSystem() 
1642         { return wxXmlResourceHandler::GetCurFileSystem(); } 
1648 IMP_PYCALLBACK_OBJECT__pure(wxPyXmlResourceHandler
, wxXmlResourceHandler
, DoCreateResource
); 
1649 IMP_PYCALLBACK_BOOL_NODE_pure(wxPyXmlResourceHandler
, wxXmlResourceHandler
, CanHandle
); 
1654   SWIG_AsVal_bool(PyObject 
*obj
, bool *val
) 
1656   if (obj 
== Py_True
) { 
1657     if (val
) *val 
= true; 
1660   if (obj 
== Py_False
) { 
1661     if (val
) *val 
= false; 
1665   if (SWIG_AsVal_int(obj
, &res
)) {     
1666     if (val
) *val 
= res 
? true : false; 
1672     SWIG_type_error("bool", obj
); 
1678 SWIGINTERNSHORT 
bool 
1679 SWIG_As_bool(PyObject
* obj
) 
1682   if (!SWIG_AsVal_bool(obj
, &v
)) { 
1684       this is needed to make valgrind/purify happier.  
1686     memset((void*)&v
, 0, sizeof(bool)); 
1693 SWIG_Check_bool(PyObject
* obj
) 
1695   return SWIG_AsVal_bool(obj
, (bool*)0); 
1699 SWIGINTERNSHORT 
long 
1700 SWIG_As_long(PyObject
* obj
) 
1703   if (!SWIG_AsVal_long(obj
, &v
)) { 
1705       this is needed to make valgrind/purify happier.  
1707     memset((void*)&v
, 0, sizeof(long)); 
1714 SWIG_Check_long(PyObject
* obj
) 
1716   return SWIG_AsVal_long(obj
, (long*)0); 
1722 static int _wrap_UTF8String_set(PyObject 
*) { 
1723     PyErr_SetString(PyExc_TypeError
,"Variable UTF8String is read-only."); 
1728 static PyObject 
*_wrap_UTF8String_get(void) { 
1733         pyobj 
= PyUnicode_FromWideChar((&wxPyUTF8String
)->c_str(), (&wxPyUTF8String
)->Len()); 
1735         pyobj 
= PyString_FromStringAndSize((&wxPyUTF8String
)->c_str(), (&wxPyUTF8String
)->Len()); 
1742 static int _wrap_StyleString_set(PyObject 
*) { 
1743     PyErr_SetString(PyExc_TypeError
,"Variable StyleString is read-only."); 
1748 static PyObject 
*_wrap_StyleString_get(void) { 
1753         pyobj 
= PyUnicode_FromWideChar((&wxPyStyleString
)->c_str(), (&wxPyStyleString
)->Len()); 
1755         pyobj 
= PyString_FromStringAndSize((&wxPyStyleString
)->c_str(), (&wxPyStyleString
)->Len()); 
1762 static int _wrap_SizeString_set(PyObject 
*) { 
1763     PyErr_SetString(PyExc_TypeError
,"Variable SizeString is read-only."); 
1768 static PyObject 
*_wrap_SizeString_get(void) { 
1773         pyobj 
= PyUnicode_FromWideChar((&wxPySizeString
)->c_str(), (&wxPySizeString
)->Len()); 
1775         pyobj 
= PyString_FromStringAndSize((&wxPySizeString
)->c_str(), (&wxPySizeString
)->Len()); 
1782 static int _wrap_PosString_set(PyObject 
*) { 
1783     PyErr_SetString(PyExc_TypeError
,"Variable PosString is read-only."); 
1788 static PyObject 
*_wrap_PosString_get(void) { 
1793         pyobj 
= PyUnicode_FromWideChar((&wxPyPosString
)->c_str(), (&wxPyPosString
)->Len()); 
1795         pyobj 
= PyString_FromStringAndSize((&wxPyPosString
)->c_str(), (&wxPyPosString
)->Len()); 
1802 static int _wrap_BitmapString_set(PyObject 
*) { 
1803     PyErr_SetString(PyExc_TypeError
,"Variable BitmapString is read-only."); 
1808 static PyObject 
*_wrap_BitmapString_get(void) { 
1813         pyobj 
= PyUnicode_FromWideChar((&wxPyBitmapString
)->c_str(), (&wxPyBitmapString
)->Len()); 
1815         pyobj 
= PyString_FromStringAndSize((&wxPyBitmapString
)->c_str(), (&wxPyBitmapString
)->Len()); 
1822 static int _wrap_IconString_set(PyObject 
*) { 
1823     PyErr_SetString(PyExc_TypeError
,"Variable IconString is read-only."); 
1828 static PyObject 
*_wrap_IconString_get(void) { 
1833         pyobj 
= PyUnicode_FromWideChar((&wxPyIconString
)->c_str(), (&wxPyIconString
)->Len()); 
1835         pyobj 
= PyString_FromStringAndSize((&wxPyIconString
)->c_str(), (&wxPyIconString
)->Len()); 
1842 static int _wrap_FontString_set(PyObject 
*) { 
1843     PyErr_SetString(PyExc_TypeError
,"Variable FontString is read-only."); 
1848 static PyObject 
*_wrap_FontString_get(void) { 
1853         pyobj 
= PyUnicode_FromWideChar((&wxPyFontString
)->c_str(), (&wxPyFontString
)->Len()); 
1855         pyobj 
= PyString_FromStringAndSize((&wxPyFontString
)->c_str(), (&wxPyFontString
)->Len()); 
1862 static PyObject 
*_wrap_new_XmlResource(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
1863     PyObject 
*resultobj
; 
1864     wxString 
*arg1 
= 0 ; 
1865     int arg2 
= (int) wxXRC_USE_LOCALE 
; 
1866     wxXmlResource 
*result
; 
1867     bool temp1 
= false ; 
1868     PyObject 
* obj0 
= 0 ; 
1869     PyObject 
* obj1 
= 0 ; 
1871         (char *) "filemask",(char *) "flags", NULL 
 
1874     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_XmlResource",kwnames
,&obj0
,&obj1
)) goto fail
; 
1876         arg1 
= wxString_in_helper(obj0
); 
1877         if (arg1 
== NULL
) SWIG_fail
; 
1882             arg2 
= (int)(SWIG_As_int(obj1
));  
1883             if (SWIG_arg_fail(2)) SWIG_fail
; 
1887         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1888         result 
= (wxXmlResource 
*)new wxXmlResource((wxString 
const &)*arg1
,arg2
); 
1890         wxPyEndAllowThreads(__tstate
); 
1891         if (PyErr_Occurred()) SWIG_fail
; 
1893     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxXmlResource
, 1); 
1908 static PyObject 
*_wrap_new_EmptyXmlResource(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
1909     PyObject 
*resultobj
; 
1910     int arg1 
= (int) wxXRC_USE_LOCALE 
; 
1911     wxXmlResource 
*result
; 
1912     PyObject 
* obj0 
= 0 ; 
1914         (char *) "flags", NULL 
 
1917     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_EmptyXmlResource",kwnames
,&obj0
)) goto fail
; 
1920             arg1 
= (int)(SWIG_As_int(obj0
));  
1921             if (SWIG_arg_fail(1)) SWIG_fail
; 
1925         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1926         result 
= (wxXmlResource 
*)new wxXmlResource(arg1
); 
1928         wxPyEndAllowThreads(__tstate
); 
1929         if (PyErr_Occurred()) SWIG_fail
; 
1931     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxXmlResource
, 1); 
1938 static PyObject 
*_wrap_delete_XmlResource(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
1939     PyObject 
*resultobj
; 
1940     wxXmlResource 
*arg1 
= (wxXmlResource 
*) 0 ; 
1941     PyObject 
* obj0 
= 0 ; 
1943         (char *) "self", NULL 
 
1946     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_XmlResource",kwnames
,&obj0
)) goto fail
; 
1947     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxXmlResource
, SWIG_POINTER_EXCEPTION 
| 0); 
1948     if (SWIG_arg_fail(1)) SWIG_fail
; 
1950         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1953         wxPyEndAllowThreads(__tstate
); 
1954         if (PyErr_Occurred()) SWIG_fail
; 
1956     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
1963 static PyObject 
*_wrap_XmlResource_Load(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
1964     PyObject 
*resultobj
; 
1965     wxXmlResource 
*arg1 
= (wxXmlResource 
*) 0 ; 
1966     wxString 
*arg2 
= 0 ; 
1968     bool temp2 
= false ; 
1969     PyObject 
* obj0 
= 0 ; 
1970     PyObject 
* obj1 
= 0 ; 
1972         (char *) "self",(char *) "filemask", NULL 
 
1975     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:XmlResource_Load",kwnames
,&obj0
,&obj1
)) goto fail
; 
1976     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxXmlResource
, SWIG_POINTER_EXCEPTION 
| 0); 
1977     if (SWIG_arg_fail(1)) SWIG_fail
; 
1979         arg2 
= wxString_in_helper(obj1
); 
1980         if (arg2 
== NULL
) SWIG_fail
; 
1984         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1985         result 
= (bool)(arg1
)->Load((wxString 
const &)*arg2
); 
1987         wxPyEndAllowThreads(__tstate
); 
1988         if (PyErr_Occurred()) SWIG_fail
; 
1991         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
2007 static PyObject 
*_wrap_XmlResource_LoadFromString(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2008     PyObject 
*resultobj
; 
2009     wxXmlResource 
*arg1 
= (wxXmlResource 
*) 0 ; 
2010     wxString 
*arg2 
= 0 ; 
2012     bool temp2 
= false ; 
2013     PyObject 
* obj0 
= 0 ; 
2014     PyObject 
* obj1 
= 0 ; 
2016         (char *) "self",(char *) "data", NULL 
 
2019     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:XmlResource_LoadFromString",kwnames
,&obj0
,&obj1
)) goto fail
; 
2020     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxXmlResource
, SWIG_POINTER_EXCEPTION 
| 0); 
2021     if (SWIG_arg_fail(1)) SWIG_fail
; 
2023         arg2 
= wxString_in_helper(obj1
); 
2024         if (arg2 
== NULL
) SWIG_fail
; 
2028         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2029         result 
= (bool)wxXmlResource_LoadFromString(arg1
,(wxString 
const &)*arg2
); 
2031         wxPyEndAllowThreads(__tstate
); 
2032         if (PyErr_Occurred()) SWIG_fail
; 
2035         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
2051 static PyObject 
*_wrap_XmlResource_InitAllHandlers(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2052     PyObject 
*resultobj
; 
2053     wxXmlResource 
*arg1 
= (wxXmlResource 
*) 0 ; 
2054     PyObject 
* obj0 
= 0 ; 
2056         (char *) "self", NULL 
 
2059     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:XmlResource_InitAllHandlers",kwnames
,&obj0
)) goto fail
; 
2060     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxXmlResource
, SWIG_POINTER_EXCEPTION 
| 0); 
2061     if (SWIG_arg_fail(1)) SWIG_fail
; 
2063         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2064         (arg1
)->InitAllHandlers(); 
2066         wxPyEndAllowThreads(__tstate
); 
2067         if (PyErr_Occurred()) SWIG_fail
; 
2069     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
2076 static PyObject 
*_wrap_XmlResource_AddHandler(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2077     PyObject 
*resultobj
; 
2078     wxXmlResource 
*arg1 
= (wxXmlResource 
*) 0 ; 
2079     wxPyXmlResourceHandler 
*arg2 
= (wxPyXmlResourceHandler 
*) 0 ; 
2080     PyObject 
* obj0 
= 0 ; 
2081     PyObject 
* obj1 
= 0 ; 
2083         (char *) "self",(char *) "handler", NULL 
 
2086     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:XmlResource_AddHandler",kwnames
,&obj0
,&obj1
)) goto fail
; 
2087     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxXmlResource
, SWIG_POINTER_EXCEPTION 
| 0); 
2088     if (SWIG_arg_fail(1)) SWIG_fail
; 
2089     SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyXmlResourceHandler
, SWIG_POINTER_EXCEPTION 
| 0); 
2090     if (SWIG_arg_fail(2)) SWIG_fail
; 
2092         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2093         (arg1
)->AddHandler(arg2
); 
2095         wxPyEndAllowThreads(__tstate
); 
2096         if (PyErr_Occurred()) SWIG_fail
; 
2098     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
2105 static PyObject 
*_wrap_XmlResource_InsertHandler(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2106     PyObject 
*resultobj
; 
2107     wxXmlResource 
*arg1 
= (wxXmlResource 
*) 0 ; 
2108     wxPyXmlResourceHandler 
*arg2 
= (wxPyXmlResourceHandler 
*) 0 ; 
2109     PyObject 
* obj0 
= 0 ; 
2110     PyObject 
* obj1 
= 0 ; 
2112         (char *) "self",(char *) "handler", NULL 
 
2115     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:XmlResource_InsertHandler",kwnames
,&obj0
,&obj1
)) goto fail
; 
2116     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxXmlResource
, SWIG_POINTER_EXCEPTION 
| 0); 
2117     if (SWIG_arg_fail(1)) SWIG_fail
; 
2118     SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyXmlResourceHandler
, SWIG_POINTER_EXCEPTION 
| 0); 
2119     if (SWIG_arg_fail(2)) SWIG_fail
; 
2121         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2122         (arg1
)->InsertHandler(arg2
); 
2124         wxPyEndAllowThreads(__tstate
); 
2125         if (PyErr_Occurred()) SWIG_fail
; 
2127     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
2134 static PyObject 
*_wrap_XmlResource_ClearHandlers(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2135     PyObject 
*resultobj
; 
2136     wxXmlResource 
*arg1 
= (wxXmlResource 
*) 0 ; 
2137     PyObject 
* obj0 
= 0 ; 
2139         (char *) "self", NULL 
 
2142     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:XmlResource_ClearHandlers",kwnames
,&obj0
)) goto fail
; 
2143     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxXmlResource
, SWIG_POINTER_EXCEPTION 
| 0); 
2144     if (SWIG_arg_fail(1)) SWIG_fail
; 
2146         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2147         (arg1
)->ClearHandlers(); 
2149         wxPyEndAllowThreads(__tstate
); 
2150         if (PyErr_Occurred()) SWIG_fail
; 
2152     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
2159 static PyObject 
*_wrap_XmlResource_AddSubclassFactory(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2160     PyObject 
*resultobj
; 
2161     wxPyXmlSubclassFactory 
*arg1 
= (wxPyXmlSubclassFactory 
*) 0 ; 
2162     PyObject 
* obj0 
= 0 ; 
2164         (char *) "factory", NULL 
 
2167     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:XmlResource_AddSubclassFactory",kwnames
,&obj0
)) goto fail
; 
2168     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyXmlSubclassFactory
, SWIG_POINTER_EXCEPTION 
| 0); 
2169     if (SWIG_arg_fail(1)) SWIG_fail
; 
2171         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2172         wxXmlResource::AddSubclassFactory(arg1
); 
2174         wxPyEndAllowThreads(__tstate
); 
2175         if (PyErr_Occurred()) SWIG_fail
; 
2177     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
2184 static PyObject 
*_wrap_XmlResource_LoadMenu(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2185     PyObject 
*resultobj
; 
2186     wxXmlResource 
*arg1 
= (wxXmlResource 
*) 0 ; 
2187     wxString 
*arg2 
= 0 ; 
2189     bool temp2 
= false ; 
2190     PyObject 
* obj0 
= 0 ; 
2191     PyObject 
* obj1 
= 0 ; 
2193         (char *) "self",(char *) "name", NULL 
 
2196     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:XmlResource_LoadMenu",kwnames
,&obj0
,&obj1
)) goto fail
; 
2197     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxXmlResource
, SWIG_POINTER_EXCEPTION 
| 0); 
2198     if (SWIG_arg_fail(1)) SWIG_fail
; 
2200         arg2 
= wxString_in_helper(obj1
); 
2201         if (arg2 
== NULL
) SWIG_fail
; 
2205         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2206         result 
= (wxMenu 
*)(arg1
)->LoadMenu((wxString 
const &)*arg2
); 
2208         wxPyEndAllowThreads(__tstate
); 
2209         if (PyErr_Occurred()) SWIG_fail
; 
2212         resultobj 
= wxPyMake_wxObject(result
, 0);  
2228 static PyObject 
*_wrap_XmlResource_LoadMenuBar(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2229     PyObject 
*resultobj
; 
2230     wxXmlResource 
*arg1 
= (wxXmlResource 
*) 0 ; 
2231     wxString 
*arg2 
= 0 ; 
2233     bool temp2 
= false ; 
2234     PyObject 
* obj0 
= 0 ; 
2235     PyObject 
* obj1 
= 0 ; 
2237         (char *) "self",(char *) "name", NULL 
 
2240     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:XmlResource_LoadMenuBar",kwnames
,&obj0
,&obj1
)) goto fail
; 
2241     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxXmlResource
, SWIG_POINTER_EXCEPTION 
| 0); 
2242     if (SWIG_arg_fail(1)) SWIG_fail
; 
2244         arg2 
= wxString_in_helper(obj1
); 
2245         if (arg2 
== NULL
) SWIG_fail
; 
2249         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2250         result 
= (wxMenuBar 
*)(arg1
)->LoadMenuBar((wxString 
const &)*arg2
); 
2252         wxPyEndAllowThreads(__tstate
); 
2253         if (PyErr_Occurred()) SWIG_fail
; 
2256         resultobj 
= wxPyMake_wxObject(result
, 0);  
2272 static PyObject 
*_wrap_XmlResource_LoadMenuBarOnFrame(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2273     PyObject 
*resultobj
; 
2274     wxXmlResource 
*arg1 
= (wxXmlResource 
*) 0 ; 
2275     wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
2276     wxString 
*arg3 
= 0 ; 
2278     bool temp3 
= false ; 
2279     PyObject 
* obj0 
= 0 ; 
2280     PyObject 
* obj1 
= 0 ; 
2281     PyObject 
* obj2 
= 0 ; 
2283         (char *) "self",(char *) "parent",(char *) "name", NULL 
 
2286     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:XmlResource_LoadMenuBarOnFrame",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
2287     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxXmlResource
, SWIG_POINTER_EXCEPTION 
| 0); 
2288     if (SWIG_arg_fail(1)) SWIG_fail
; 
2289     SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
2290     if (SWIG_arg_fail(2)) SWIG_fail
; 
2292         arg3 
= wxString_in_helper(obj2
); 
2293         if (arg3 
== NULL
) SWIG_fail
; 
2297         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2298         result 
= (wxMenuBar 
*)(arg1
)->LoadMenuBar(arg2
,(wxString 
const &)*arg3
); 
2300         wxPyEndAllowThreads(__tstate
); 
2301         if (PyErr_Occurred()) SWIG_fail
; 
2304         resultobj 
= wxPyMake_wxObject(result
, 0);  
2320 static PyObject 
*_wrap_XmlResource_LoadToolBar(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2321     PyObject 
*resultobj
; 
2322     wxXmlResource 
*arg1 
= (wxXmlResource 
*) 0 ; 
2323     wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
2324     wxString 
*arg3 
= 0 ; 
2326     bool temp3 
= false ; 
2327     PyObject 
* obj0 
= 0 ; 
2328     PyObject 
* obj1 
= 0 ; 
2329     PyObject 
* obj2 
= 0 ; 
2331         (char *) "self",(char *) "parent",(char *) "name", NULL 
 
2334     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:XmlResource_LoadToolBar",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
2335     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxXmlResource
, SWIG_POINTER_EXCEPTION 
| 0); 
2336     if (SWIG_arg_fail(1)) SWIG_fail
; 
2337     SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
2338     if (SWIG_arg_fail(2)) SWIG_fail
; 
2340         arg3 
= wxString_in_helper(obj2
); 
2341         if (arg3 
== NULL
) SWIG_fail
; 
2345         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2346         result 
= (wxToolBar 
*)(arg1
)->LoadToolBar(arg2
,(wxString 
const &)*arg3
); 
2348         wxPyEndAllowThreads(__tstate
); 
2349         if (PyErr_Occurred()) SWIG_fail
; 
2352         resultobj 
= wxPyMake_wxObject(result
, 0);  
2368 static PyObject 
*_wrap_XmlResource_LoadDialog(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2369     PyObject 
*resultobj
; 
2370     wxXmlResource 
*arg1 
= (wxXmlResource 
*) 0 ; 
2371     wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
2372     wxString 
*arg3 
= 0 ; 
2374     bool temp3 
= false ; 
2375     PyObject 
* obj0 
= 0 ; 
2376     PyObject 
* obj1 
= 0 ; 
2377     PyObject 
* obj2 
= 0 ; 
2379         (char *) "self",(char *) "parent",(char *) "name", NULL 
 
2382     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:XmlResource_LoadDialog",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
2383     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxXmlResource
, SWIG_POINTER_EXCEPTION 
| 0); 
2384     if (SWIG_arg_fail(1)) SWIG_fail
; 
2385     SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
2386     if (SWIG_arg_fail(2)) SWIG_fail
; 
2388         arg3 
= wxString_in_helper(obj2
); 
2389         if (arg3 
== NULL
) SWIG_fail
; 
2393         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2394         result 
= (wxDialog 
*)(arg1
)->LoadDialog(arg2
,(wxString 
const &)*arg3
); 
2396         wxPyEndAllowThreads(__tstate
); 
2397         if (PyErr_Occurred()) SWIG_fail
; 
2400         resultobj 
= wxPyMake_wxObject(result
, 0);  
2416 static PyObject 
*_wrap_XmlResource_LoadOnDialog(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2417     PyObject 
*resultobj
; 
2418     wxXmlResource 
*arg1 
= (wxXmlResource 
*) 0 ; 
2419     wxDialog 
*arg2 
= (wxDialog 
*) 0 ; 
2420     wxWindow 
*arg3 
= (wxWindow 
*) 0 ; 
2421     wxString 
*arg4 
= 0 ; 
2423     bool temp4 
= false ; 
2424     PyObject 
* obj0 
= 0 ; 
2425     PyObject 
* obj1 
= 0 ; 
2426     PyObject 
* obj2 
= 0 ; 
2427     PyObject 
* obj3 
= 0 ; 
2429         (char *) "self",(char *) "dlg",(char *) "parent",(char *) "name", NULL 
 
2432     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:XmlResource_LoadOnDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
2433     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxXmlResource
, SWIG_POINTER_EXCEPTION 
| 0); 
2434     if (SWIG_arg_fail(1)) SWIG_fail
; 
2435     SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION 
| 0); 
2436     if (SWIG_arg_fail(2)) SWIG_fail
; 
2437     SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
2438     if (SWIG_arg_fail(3)) SWIG_fail
; 
2440         arg4 
= wxString_in_helper(obj3
); 
2441         if (arg4 
== NULL
) SWIG_fail
; 
2445         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2446         result 
= (bool)(arg1
)->LoadDialog(arg2
,arg3
,(wxString 
const &)*arg4
); 
2448         wxPyEndAllowThreads(__tstate
); 
2449         if (PyErr_Occurred()) SWIG_fail
; 
2452         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
2468 static PyObject 
*_wrap_XmlResource_LoadPanel(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2469     PyObject 
*resultobj
; 
2470     wxXmlResource 
*arg1 
= (wxXmlResource 
*) 0 ; 
2471     wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
2472     wxString 
*arg3 
= 0 ; 
2474     bool temp3 
= false ; 
2475     PyObject 
* obj0 
= 0 ; 
2476     PyObject 
* obj1 
= 0 ; 
2477     PyObject 
* obj2 
= 0 ; 
2479         (char *) "self",(char *) "parent",(char *) "name", NULL 
 
2482     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:XmlResource_LoadPanel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
2483     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxXmlResource
, SWIG_POINTER_EXCEPTION 
| 0); 
2484     if (SWIG_arg_fail(1)) SWIG_fail
; 
2485     SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
2486     if (SWIG_arg_fail(2)) SWIG_fail
; 
2488         arg3 
= wxString_in_helper(obj2
); 
2489         if (arg3 
== NULL
) SWIG_fail
; 
2493         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2494         result 
= (wxPanel 
*)(arg1
)->LoadPanel(arg2
,(wxString 
const &)*arg3
); 
2496         wxPyEndAllowThreads(__tstate
); 
2497         if (PyErr_Occurred()) SWIG_fail
; 
2500         resultobj 
= wxPyMake_wxObject(result
, 0);  
2516 static PyObject 
*_wrap_XmlResource_LoadOnPanel(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2517     PyObject 
*resultobj
; 
2518     wxXmlResource 
*arg1 
= (wxXmlResource 
*) 0 ; 
2519     wxPanel 
*arg2 
= (wxPanel 
*) 0 ; 
2520     wxWindow 
*arg3 
= (wxWindow 
*) 0 ; 
2521     wxString 
*arg4 
= 0 ; 
2523     bool temp4 
= false ; 
2524     PyObject 
* obj0 
= 0 ; 
2525     PyObject 
* obj1 
= 0 ; 
2526     PyObject 
* obj2 
= 0 ; 
2527     PyObject 
* obj3 
= 0 ; 
2529         (char *) "self",(char *) "panel",(char *) "parent",(char *) "name", NULL 
 
2532     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:XmlResource_LoadOnPanel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
2533     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxXmlResource
, SWIG_POINTER_EXCEPTION 
| 0); 
2534     if (SWIG_arg_fail(1)) SWIG_fail
; 
2535     SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPanel
, SWIG_POINTER_EXCEPTION 
| 0); 
2536     if (SWIG_arg_fail(2)) SWIG_fail
; 
2537     SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
2538     if (SWIG_arg_fail(3)) SWIG_fail
; 
2540         arg4 
= wxString_in_helper(obj3
); 
2541         if (arg4 
== NULL
) SWIG_fail
; 
2545         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2546         result 
= (bool)(arg1
)->LoadPanel(arg2
,arg3
,(wxString 
const &)*arg4
); 
2548         wxPyEndAllowThreads(__tstate
); 
2549         if (PyErr_Occurred()) SWIG_fail
; 
2552         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
2568 static PyObject 
*_wrap_XmlResource_LoadFrame(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2569     PyObject 
*resultobj
; 
2570     wxXmlResource 
*arg1 
= (wxXmlResource 
*) 0 ; 
2571     wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
2572     wxString 
*arg3 
= 0 ; 
2574     bool temp3 
= false ; 
2575     PyObject 
* obj0 
= 0 ; 
2576     PyObject 
* obj1 
= 0 ; 
2577     PyObject 
* obj2 
= 0 ; 
2579         (char *) "self",(char *) "parent",(char *) "name", NULL 
 
2582     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:XmlResource_LoadFrame",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
2583     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxXmlResource
, SWIG_POINTER_EXCEPTION 
| 0); 
2584     if (SWIG_arg_fail(1)) SWIG_fail
; 
2585     SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
2586     if (SWIG_arg_fail(2)) SWIG_fail
; 
2588         arg3 
= wxString_in_helper(obj2
); 
2589         if (arg3 
== NULL
) SWIG_fail
; 
2593         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2594         result 
= (wxFrame 
*)(arg1
)->LoadFrame(arg2
,(wxString 
const &)*arg3
); 
2596         wxPyEndAllowThreads(__tstate
); 
2597         if (PyErr_Occurred()) SWIG_fail
; 
2600         resultobj 
= wxPyMake_wxObject(result
, 0);  
2616 static PyObject 
*_wrap_XmlResource_LoadOnFrame(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2617     PyObject 
*resultobj
; 
2618     wxXmlResource 
*arg1 
= (wxXmlResource 
*) 0 ; 
2619     wxFrame 
*arg2 
= (wxFrame 
*) 0 ; 
2620     wxWindow 
*arg3 
= (wxWindow 
*) 0 ; 
2621     wxString 
*arg4 
= 0 ; 
2623     bool temp4 
= false ; 
2624     PyObject 
* obj0 
= 0 ; 
2625     PyObject 
* obj1 
= 0 ; 
2626     PyObject 
* obj2 
= 0 ; 
2627     PyObject 
* obj3 
= 0 ; 
2629         (char *) "self",(char *) "frame",(char *) "parent",(char *) "name", NULL 
 
2632     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:XmlResource_LoadOnFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
2633     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxXmlResource
, SWIG_POINTER_EXCEPTION 
| 0); 
2634     if (SWIG_arg_fail(1)) SWIG_fail
; 
2635     SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION 
| 0); 
2636     if (SWIG_arg_fail(2)) SWIG_fail
; 
2637     SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
2638     if (SWIG_arg_fail(3)) SWIG_fail
; 
2640         arg4 
= wxString_in_helper(obj3
); 
2641         if (arg4 
== NULL
) SWIG_fail
; 
2645         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2646         result 
= (bool)(arg1
)->LoadFrame(arg2
,arg3
,(wxString 
const &)*arg4
); 
2648         wxPyEndAllowThreads(__tstate
); 
2649         if (PyErr_Occurred()) SWIG_fail
; 
2652         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
2668 static PyObject 
*_wrap_XmlResource_LoadObject(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2669     PyObject 
*resultobj
; 
2670     wxXmlResource 
*arg1 
= (wxXmlResource 
*) 0 ; 
2671     wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
2672     wxString 
*arg3 
= 0 ; 
2673     wxString 
*arg4 
= 0 ; 
2675     bool temp3 
= false ; 
2676     bool temp4 
= false ; 
2677     PyObject 
* obj0 
= 0 ; 
2678     PyObject 
* obj1 
= 0 ; 
2679     PyObject 
* obj2 
= 0 ; 
2680     PyObject 
* obj3 
= 0 ; 
2682         (char *) "self",(char *) "parent",(char *) "name",(char *) "classname", NULL 
 
2685     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:XmlResource_LoadObject",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
2686     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxXmlResource
, SWIG_POINTER_EXCEPTION 
| 0); 
2687     if (SWIG_arg_fail(1)) SWIG_fail
; 
2688     SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
2689     if (SWIG_arg_fail(2)) SWIG_fail
; 
2691         arg3 
= wxString_in_helper(obj2
); 
2692         if (arg3 
== NULL
) SWIG_fail
; 
2696         arg4 
= wxString_in_helper(obj3
); 
2697         if (arg4 
== NULL
) SWIG_fail
; 
2701         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2702         result 
= (wxObject 
*)(arg1
)->LoadObject(arg2
,(wxString 
const &)*arg3
,(wxString 
const &)*arg4
); 
2704         wxPyEndAllowThreads(__tstate
); 
2705         if (PyErr_Occurred()) SWIG_fail
; 
2708         resultobj 
= wxPyMake_wxObject(result
, 0);  
2732 static PyObject 
*_wrap_XmlResource_LoadOnObject(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2733     PyObject 
*resultobj
; 
2734     wxXmlResource 
*arg1 
= (wxXmlResource 
*) 0 ; 
2735     wxObject 
*arg2 
= (wxObject 
*) 0 ; 
2736     wxWindow 
*arg3 
= (wxWindow 
*) 0 ; 
2737     wxString 
*arg4 
= 0 ; 
2738     wxString 
*arg5 
= 0 ; 
2740     bool temp4 
= false ; 
2741     bool temp5 
= false ; 
2742     PyObject 
* obj0 
= 0 ; 
2743     PyObject 
* obj1 
= 0 ; 
2744     PyObject 
* obj2 
= 0 ; 
2745     PyObject 
* obj3 
= 0 ; 
2746     PyObject 
* obj4 
= 0 ; 
2748         (char *) "self",(char *) "instance",(char *) "parent",(char *) "name",(char *) "classname", NULL 
 
2751     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:XmlResource_LoadOnObject",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
; 
2752     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxXmlResource
, SWIG_POINTER_EXCEPTION 
| 0); 
2753     if (SWIG_arg_fail(1)) SWIG_fail
; 
2754     SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxObject
, SWIG_POINTER_EXCEPTION 
| 0); 
2755     if (SWIG_arg_fail(2)) SWIG_fail
; 
2756     SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
2757     if (SWIG_arg_fail(3)) SWIG_fail
; 
2759         arg4 
= wxString_in_helper(obj3
); 
2760         if (arg4 
== NULL
) SWIG_fail
; 
2764         arg5 
= wxString_in_helper(obj4
); 
2765         if (arg5 
== NULL
) SWIG_fail
; 
2769         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2770         result 
= (bool)(arg1
)->LoadObject(arg2
,arg3
,(wxString 
const &)*arg4
,(wxString 
const &)*arg5
); 
2772         wxPyEndAllowThreads(__tstate
); 
2773         if (PyErr_Occurred()) SWIG_fail
; 
2776         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
2800 static PyObject 
*_wrap_XmlResource_LoadBitmap(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2801     PyObject 
*resultobj
; 
2802     wxXmlResource 
*arg1 
= (wxXmlResource 
*) 0 ; 
2803     wxString 
*arg2 
= 0 ; 
2805     bool temp2 
= false ; 
2806     PyObject 
* obj0 
= 0 ; 
2807     PyObject 
* obj1 
= 0 ; 
2809         (char *) "self",(char *) "name", NULL 
 
2812     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:XmlResource_LoadBitmap",kwnames
,&obj0
,&obj1
)) goto fail
; 
2813     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxXmlResource
, SWIG_POINTER_EXCEPTION 
| 0); 
2814     if (SWIG_arg_fail(1)) SWIG_fail
; 
2816         arg2 
= wxString_in_helper(obj1
); 
2817         if (arg2 
== NULL
) SWIG_fail
; 
2821         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2822         result 
= (arg1
)->LoadBitmap((wxString 
const &)*arg2
); 
2824         wxPyEndAllowThreads(__tstate
); 
2825         if (PyErr_Occurred()) SWIG_fail
; 
2828         wxBitmap 
* resultptr
; 
2829         resultptr 
= new wxBitmap((wxBitmap 
&)(result
)); 
2830         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1); 
2846 static PyObject 
*_wrap_XmlResource_LoadIcon(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2847     PyObject 
*resultobj
; 
2848     wxXmlResource 
*arg1 
= (wxXmlResource 
*) 0 ; 
2849     wxString 
*arg2 
= 0 ; 
2851     bool temp2 
= false ; 
2852     PyObject 
* obj0 
= 0 ; 
2853     PyObject 
* obj1 
= 0 ; 
2855         (char *) "self",(char *) "name", NULL 
 
2858     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:XmlResource_LoadIcon",kwnames
,&obj0
,&obj1
)) goto fail
; 
2859     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxXmlResource
, SWIG_POINTER_EXCEPTION 
| 0); 
2860     if (SWIG_arg_fail(1)) SWIG_fail
; 
2862         arg2 
= wxString_in_helper(obj1
); 
2863         if (arg2 
== NULL
) SWIG_fail
; 
2867         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2868         result 
= (arg1
)->LoadIcon((wxString 
const &)*arg2
); 
2870         wxPyEndAllowThreads(__tstate
); 
2871         if (PyErr_Occurred()) SWIG_fail
; 
2875         resultptr 
= new wxIcon((wxIcon 
&)(result
)); 
2876         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxIcon
, 1); 
2892 static PyObject 
*_wrap_XmlResource_AttachUnknownControl(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2893     PyObject 
*resultobj
; 
2894     wxXmlResource 
*arg1 
= (wxXmlResource 
*) 0 ; 
2895     wxString 
*arg2 
= 0 ; 
2896     wxWindow 
*arg3 
= (wxWindow 
*) 0 ; 
2897     wxWindow 
*arg4 
= (wxWindow 
*) NULL 
; 
2899     bool temp2 
= false ; 
2900     PyObject 
* obj0 
= 0 ; 
2901     PyObject 
* obj1 
= 0 ; 
2902     PyObject 
* obj2 
= 0 ; 
2903     PyObject 
* obj3 
= 0 ; 
2905         (char *) "self",(char *) "name",(char *) "control",(char *) "parent", NULL 
 
2908     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:XmlResource_AttachUnknownControl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
2909     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxXmlResource
, SWIG_POINTER_EXCEPTION 
| 0); 
2910     if (SWIG_arg_fail(1)) SWIG_fail
; 
2912         arg2 
= wxString_in_helper(obj1
); 
2913         if (arg2 
== NULL
) SWIG_fail
; 
2916     SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
2917     if (SWIG_arg_fail(3)) SWIG_fail
; 
2919         SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
2920         if (SWIG_arg_fail(4)) SWIG_fail
; 
2923         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2924         result 
= (bool)(arg1
)->AttachUnknownControl((wxString 
const &)*arg2
,arg3
,arg4
); 
2926         wxPyEndAllowThreads(__tstate
); 
2927         if (PyErr_Occurred()) SWIG_fail
; 
2930         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
2946 static PyObject 
*_wrap_XmlResource_GetXRCID(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2947     PyObject 
*resultobj
; 
2948     wxString 
*arg1 
= 0 ; 
2950     bool temp1 
= false ; 
2951     PyObject 
* obj0 
= 0 ; 
2953         (char *) "str_id", NULL 
 
2956     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:XmlResource_GetXRCID",kwnames
,&obj0
)) goto fail
; 
2958         arg1 
= wxString_in_helper(obj0
); 
2959         if (arg1 
== NULL
) SWIG_fail
; 
2963         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2964         result 
= (int)wxXmlResource::GetXRCID((wxString 
const &)*arg1
); 
2966         wxPyEndAllowThreads(__tstate
); 
2967         if (PyErr_Occurred()) SWIG_fail
; 
2970         resultobj 
= SWIG_From_int((int)(result
));  
2986 static PyObject 
*_wrap_XmlResource_GetVersion(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2987     PyObject 
*resultobj
; 
2988     wxXmlResource 
*arg1 
= (wxXmlResource 
*) 0 ; 
2990     PyObject 
* obj0 
= 0 ; 
2992         (char *) "self", NULL 
 
2995     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:XmlResource_GetVersion",kwnames
,&obj0
)) goto fail
; 
2996     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxXmlResource
, SWIG_POINTER_EXCEPTION 
| 0); 
2997     if (SWIG_arg_fail(1)) SWIG_fail
; 
2999         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3000         result 
= (long)((wxXmlResource 
const *)arg1
)->GetVersion(); 
3002         wxPyEndAllowThreads(__tstate
); 
3003         if (PyErr_Occurred()) SWIG_fail
; 
3006         resultobj 
= SWIG_From_long((long)(result
));  
3014 static PyObject 
*_wrap_XmlResource_CompareVersion(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3015     PyObject 
*resultobj
; 
3016     wxXmlResource 
*arg1 
= (wxXmlResource 
*) 0 ; 
3022     PyObject 
* obj0 
= 0 ; 
3023     PyObject 
* obj1 
= 0 ; 
3024     PyObject 
* obj2 
= 0 ; 
3025     PyObject 
* obj3 
= 0 ; 
3026     PyObject 
* obj4 
= 0 ; 
3028         (char *) "self",(char *) "major",(char *) "minor",(char *) "release",(char *) "revision", NULL 
 
3031     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:XmlResource_CompareVersion",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
; 
3032     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxXmlResource
, SWIG_POINTER_EXCEPTION 
| 0); 
3033     if (SWIG_arg_fail(1)) SWIG_fail
; 
3035         arg2 
= (int)(SWIG_As_int(obj1
));  
3036         if (SWIG_arg_fail(2)) SWIG_fail
; 
3039         arg3 
= (int)(SWIG_As_int(obj2
));  
3040         if (SWIG_arg_fail(3)) SWIG_fail
; 
3043         arg4 
= (int)(SWIG_As_int(obj3
));  
3044         if (SWIG_arg_fail(4)) SWIG_fail
; 
3047         arg5 
= (int)(SWIG_As_int(obj4
));  
3048         if (SWIG_arg_fail(5)) SWIG_fail
; 
3051         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3052         result 
= (int)((wxXmlResource 
const *)arg1
)->CompareVersion(arg2
,arg3
,arg4
,arg5
); 
3054         wxPyEndAllowThreads(__tstate
); 
3055         if (PyErr_Occurred()) SWIG_fail
; 
3058         resultobj 
= SWIG_From_int((int)(result
));  
3066 static PyObject 
*_wrap_XmlResource_Get(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3067     PyObject 
*resultobj
; 
3068     wxXmlResource 
*result
; 
3073     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":XmlResource_Get",kwnames
)) goto fail
; 
3075         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3076         result 
= (wxXmlResource 
*)wxXmlResource::Get(); 
3078         wxPyEndAllowThreads(__tstate
); 
3079         if (PyErr_Occurred()) SWIG_fail
; 
3081     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxXmlResource
, 0); 
3088 static PyObject 
*_wrap_XmlResource_Set(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3089     PyObject 
*resultobj
; 
3090     wxXmlResource 
*arg1 
= (wxXmlResource 
*) 0 ; 
3091     wxXmlResource 
*result
; 
3092     PyObject 
* obj0 
= 0 ; 
3094         (char *) "res", NULL 
 
3097     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:XmlResource_Set",kwnames
,&obj0
)) goto fail
; 
3098     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxXmlResource
, SWIG_POINTER_EXCEPTION 
| 0); 
3099     if (SWIG_arg_fail(1)) SWIG_fail
; 
3101         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3102         result 
= (wxXmlResource 
*)wxXmlResource::Set(arg1
); 
3104         wxPyEndAllowThreads(__tstate
); 
3105         if (PyErr_Occurred()) SWIG_fail
; 
3107     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxXmlResource
, 0); 
3114 static PyObject 
*_wrap_XmlResource_GetFlags(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3115     PyObject 
*resultobj
; 
3116     wxXmlResource 
*arg1 
= (wxXmlResource 
*) 0 ; 
3118     PyObject 
* obj0 
= 0 ; 
3120         (char *) "self", NULL 
 
3123     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:XmlResource_GetFlags",kwnames
,&obj0
)) goto fail
; 
3124     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxXmlResource
, SWIG_POINTER_EXCEPTION 
| 0); 
3125     if (SWIG_arg_fail(1)) SWIG_fail
; 
3127         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3128         result 
= (int)(arg1
)->GetFlags(); 
3130         wxPyEndAllowThreads(__tstate
); 
3131         if (PyErr_Occurred()) SWIG_fail
; 
3134         resultobj 
= SWIG_From_int((int)(result
));  
3142 static PyObject 
*_wrap_XmlResource_SetFlags(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3143     PyObject 
*resultobj
; 
3144     wxXmlResource 
*arg1 
= (wxXmlResource 
*) 0 ; 
3146     PyObject 
* obj0 
= 0 ; 
3147     PyObject 
* obj1 
= 0 ; 
3149         (char *) "self",(char *) "flags", NULL 
 
3152     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:XmlResource_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
; 
3153     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxXmlResource
, SWIG_POINTER_EXCEPTION 
| 0); 
3154     if (SWIG_arg_fail(1)) SWIG_fail
; 
3156         arg2 
= (int)(SWIG_As_int(obj1
));  
3157         if (SWIG_arg_fail(2)) SWIG_fail
; 
3160         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3161         (arg1
)->SetFlags(arg2
); 
3163         wxPyEndAllowThreads(__tstate
); 
3164         if (PyErr_Occurred()) SWIG_fail
; 
3166     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
3173 static PyObject 
* XmlResource_swigregister(PyObject 
*, PyObject 
*args
) { 
3175     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
3176     SWIG_TypeClientData(SWIGTYPE_p_wxXmlResource
, obj
); 
3178     return Py_BuildValue((char *)""); 
3180 static PyObject 
*_wrap_new_XmlSubclassFactory(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3181     PyObject 
*resultobj
; 
3182     wxPyXmlSubclassFactory 
*result
; 
3187     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_XmlSubclassFactory",kwnames
)) goto fail
; 
3189         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3190         result 
= (wxPyXmlSubclassFactory 
*)new wxPyXmlSubclassFactory(); 
3192         wxPyEndAllowThreads(__tstate
); 
3193         if (PyErr_Occurred()) SWIG_fail
; 
3195     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyXmlSubclassFactory
, 1); 
3202 static PyObject 
*_wrap_XmlSubclassFactory__setCallbackInfo(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3203     PyObject 
*resultobj
; 
3204     wxPyXmlSubclassFactory 
*arg1 
= (wxPyXmlSubclassFactory 
*) 0 ; 
3205     PyObject 
*arg2 
= (PyObject 
*) 0 ; 
3206     PyObject 
*arg3 
= (PyObject 
*) 0 ; 
3207     PyObject 
* obj0 
= 0 ; 
3208     PyObject 
* obj1 
= 0 ; 
3209     PyObject 
* obj2 
= 0 ; 
3211         (char *) "self",(char *) "self",(char *) "_class", NULL 
 
3214     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:XmlSubclassFactory__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
3215     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyXmlSubclassFactory
, SWIG_POINTER_EXCEPTION 
| 0); 
3216     if (SWIG_arg_fail(1)) SWIG_fail
; 
3220         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3221         (arg1
)->_setCallbackInfo(arg2
,arg3
); 
3223         wxPyEndAllowThreads(__tstate
); 
3224         if (PyErr_Occurred()) SWIG_fail
; 
3226     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
3233 static PyObject 
* XmlSubclassFactory_swigregister(PyObject 
*, PyObject 
*args
) { 
3235     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
3236     SWIG_TypeClientData(SWIGTYPE_p_wxPyXmlSubclassFactory
, obj
); 
3238     return Py_BuildValue((char *)""); 
3240 static PyObject 
*_wrap_new_XmlProperty(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3241     PyObject 
*resultobj
; 
3242     wxString 
const &arg1_defvalue 
= wxPyEmptyString 
; 
3243     wxString 
*arg1 
= (wxString 
*) &arg1_defvalue 
; 
3244     wxString 
const &arg2_defvalue 
= wxPyEmptyString 
; 
3245     wxString 
*arg2 
= (wxString 
*) &arg2_defvalue 
; 
3246     wxXmlProperty 
*arg3 
= (wxXmlProperty 
*) NULL 
; 
3247     wxXmlProperty 
*result
; 
3248     bool temp1 
= false ; 
3249     bool temp2 
= false ; 
3250     PyObject 
* obj0 
= 0 ; 
3251     PyObject 
* obj1 
= 0 ; 
3252     PyObject 
* obj2 
= 0 ; 
3254         (char *) "name",(char *) "value",(char *) "next", NULL 
 
3257     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_XmlProperty",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
3260             arg1 
= wxString_in_helper(obj0
); 
3261             if (arg1 
== NULL
) SWIG_fail
; 
3267             arg2 
= wxString_in_helper(obj1
); 
3268             if (arg2 
== NULL
) SWIG_fail
; 
3273         SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxXmlProperty
, SWIG_POINTER_EXCEPTION 
| 0); 
3274         if (SWIG_arg_fail(3)) SWIG_fail
; 
3277         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3278         result 
= (wxXmlProperty 
*)new wxXmlProperty((wxString 
const &)*arg1
,(wxString 
const &)*arg2
,arg3
); 
3280         wxPyEndAllowThreads(__tstate
); 
3281         if (PyErr_Occurred()) SWIG_fail
; 
3283     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxXmlProperty
, 1); 
3306 static PyObject 
*_wrap_XmlProperty_GetName(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3307     PyObject 
*resultobj
; 
3308     wxXmlProperty 
*arg1 
= (wxXmlProperty 
*) 0 ; 
3310     PyObject 
* obj0 
= 0 ; 
3312         (char *) "self", NULL 
 
3315     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:XmlProperty_GetName",kwnames
,&obj0
)) goto fail
; 
3316     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxXmlProperty
, SWIG_POINTER_EXCEPTION 
| 0); 
3317     if (SWIG_arg_fail(1)) SWIG_fail
; 
3319         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3320         result 
= ((wxXmlProperty 
const *)arg1
)->GetName(); 
3322         wxPyEndAllowThreads(__tstate
); 
3323         if (PyErr_Occurred()) SWIG_fail
; 
3327         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
3329         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
3338 static PyObject 
*_wrap_XmlProperty_GetValue(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3339     PyObject 
*resultobj
; 
3340     wxXmlProperty 
*arg1 
= (wxXmlProperty 
*) 0 ; 
3342     PyObject 
* obj0 
= 0 ; 
3344         (char *) "self", NULL 
 
3347     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:XmlProperty_GetValue",kwnames
,&obj0
)) goto fail
; 
3348     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxXmlProperty
, SWIG_POINTER_EXCEPTION 
| 0); 
3349     if (SWIG_arg_fail(1)) SWIG_fail
; 
3351         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3352         result 
= ((wxXmlProperty 
const *)arg1
)->GetValue(); 
3354         wxPyEndAllowThreads(__tstate
); 
3355         if (PyErr_Occurred()) SWIG_fail
; 
3359         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
3361         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
3370 static PyObject 
*_wrap_XmlProperty_GetNext(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3371     PyObject 
*resultobj
; 
3372     wxXmlProperty 
*arg1 
= (wxXmlProperty 
*) 0 ; 
3373     wxXmlProperty 
*result
; 
3374     PyObject 
* obj0 
= 0 ; 
3376         (char *) "self", NULL 
 
3379     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:XmlProperty_GetNext",kwnames
,&obj0
)) goto fail
; 
3380     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxXmlProperty
, SWIG_POINTER_EXCEPTION 
| 0); 
3381     if (SWIG_arg_fail(1)) SWIG_fail
; 
3383         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3384         result 
= (wxXmlProperty 
*)((wxXmlProperty 
const *)arg1
)->GetNext(); 
3386         wxPyEndAllowThreads(__tstate
); 
3387         if (PyErr_Occurred()) SWIG_fail
; 
3389     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxXmlProperty
, 0); 
3396 static PyObject 
*_wrap_XmlProperty_SetName(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3397     PyObject 
*resultobj
; 
3398     wxXmlProperty 
*arg1 
= (wxXmlProperty 
*) 0 ; 
3399     wxString 
*arg2 
= 0 ; 
3400     bool temp2 
= false ; 
3401     PyObject 
* obj0 
= 0 ; 
3402     PyObject 
* obj1 
= 0 ; 
3404         (char *) "self",(char *) "name", NULL 
 
3407     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:XmlProperty_SetName",kwnames
,&obj0
,&obj1
)) goto fail
; 
3408     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxXmlProperty
, SWIG_POINTER_EXCEPTION 
| 0); 
3409     if (SWIG_arg_fail(1)) SWIG_fail
; 
3411         arg2 
= wxString_in_helper(obj1
); 
3412         if (arg2 
== NULL
) SWIG_fail
; 
3416         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3417         (arg1
)->SetName((wxString 
const &)*arg2
); 
3419         wxPyEndAllowThreads(__tstate
); 
3420         if (PyErr_Occurred()) SWIG_fail
; 
3422     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
3437 static PyObject 
*_wrap_XmlProperty_SetValue(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3438     PyObject 
*resultobj
; 
3439     wxXmlProperty 
*arg1 
= (wxXmlProperty 
*) 0 ; 
3440     wxString 
*arg2 
= 0 ; 
3441     bool temp2 
= false ; 
3442     PyObject 
* obj0 
= 0 ; 
3443     PyObject 
* obj1 
= 0 ; 
3445         (char *) "self",(char *) "value", NULL 
 
3448     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:XmlProperty_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
; 
3449     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxXmlProperty
, SWIG_POINTER_EXCEPTION 
| 0); 
3450     if (SWIG_arg_fail(1)) SWIG_fail
; 
3452         arg2 
= wxString_in_helper(obj1
); 
3453         if (arg2 
== NULL
) SWIG_fail
; 
3457         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3458         (arg1
)->SetValue((wxString 
const &)*arg2
); 
3460         wxPyEndAllowThreads(__tstate
); 
3461         if (PyErr_Occurred()) SWIG_fail
; 
3463     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
3478 static PyObject 
*_wrap_XmlProperty_SetNext(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3479     PyObject 
*resultobj
; 
3480     wxXmlProperty 
*arg1 
= (wxXmlProperty 
*) 0 ; 
3481     wxXmlProperty 
*arg2 
= (wxXmlProperty 
*) 0 ; 
3482     PyObject 
* obj0 
= 0 ; 
3483     PyObject 
* obj1 
= 0 ; 
3485         (char *) "self",(char *) "next", NULL 
 
3488     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:XmlProperty_SetNext",kwnames
,&obj0
,&obj1
)) goto fail
; 
3489     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxXmlProperty
, SWIG_POINTER_EXCEPTION 
| 0); 
3490     if (SWIG_arg_fail(1)) SWIG_fail
; 
3491     SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxXmlProperty
, SWIG_POINTER_EXCEPTION 
| 0); 
3492     if (SWIG_arg_fail(2)) SWIG_fail
; 
3494         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3495         (arg1
)->SetNext(arg2
); 
3497         wxPyEndAllowThreads(__tstate
); 
3498         if (PyErr_Occurred()) SWIG_fail
; 
3500     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
3507 static PyObject 
* XmlProperty_swigregister(PyObject 
*, PyObject 
*args
) { 
3509     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
3510     SWIG_TypeClientData(SWIGTYPE_p_wxXmlProperty
, obj
); 
3512     return Py_BuildValue((char *)""); 
3514 static PyObject 
*_wrap_new_XmlNode(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3515     PyObject 
*resultobj
; 
3516     wxXmlNode 
*arg1 
= (wxXmlNode 
*) NULL 
; 
3517     wxXmlNodeType arg2 
= (wxXmlNodeType
) 0 ; 
3518     wxString 
const &arg3_defvalue 
= wxPyEmptyString 
; 
3519     wxString 
*arg3 
= (wxString 
*) &arg3_defvalue 
; 
3520     wxString 
const &arg4_defvalue 
= wxPyEmptyString 
; 
3521     wxString 
*arg4 
= (wxString 
*) &arg4_defvalue 
; 
3522     wxXmlProperty 
*arg5 
= (wxXmlProperty 
*) NULL 
; 
3523     wxXmlNode 
*arg6 
= (wxXmlNode 
*) NULL 
; 
3525     bool temp3 
= false ; 
3526     bool temp4 
= false ; 
3527     PyObject 
* obj0 
= 0 ; 
3528     PyObject 
* obj1 
= 0 ; 
3529     PyObject 
* obj2 
= 0 ; 
3530     PyObject 
* obj3 
= 0 ; 
3531     PyObject 
* obj4 
= 0 ; 
3532     PyObject 
* obj5 
= 0 ; 
3534         (char *) "parent",(char *) "type",(char *) "name",(char *) "content",(char *) "props",(char *) "next", NULL 
 
3537     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOO:new_XmlNode",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
; 
3539         SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxXmlNode
, SWIG_POINTER_EXCEPTION 
| 0); 
3540         if (SWIG_arg_fail(1)) SWIG_fail
; 
3544             arg2 
= (wxXmlNodeType
)(SWIG_As_int(obj1
));  
3545             if (SWIG_arg_fail(2)) SWIG_fail
; 
3550             arg3 
= wxString_in_helper(obj2
); 
3551             if (arg3 
== NULL
) SWIG_fail
; 
3557             arg4 
= wxString_in_helper(obj3
); 
3558             if (arg4 
== NULL
) SWIG_fail
; 
3563         SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxXmlProperty
, SWIG_POINTER_EXCEPTION 
| 0); 
3564         if (SWIG_arg_fail(5)) SWIG_fail
; 
3567         SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxXmlNode
, SWIG_POINTER_EXCEPTION 
| 0); 
3568         if (SWIG_arg_fail(6)) SWIG_fail
; 
3571         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3572         result 
= (wxXmlNode 
*)new wxXmlNode(arg1
,(wxXmlNodeType 
)arg2
,(wxString 
const &)*arg3
,(wxString 
const &)*arg4
,arg5
,arg6
); 
3574         wxPyEndAllowThreads(__tstate
); 
3575         if (PyErr_Occurred()) SWIG_fail
; 
3577     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxXmlNode
, 1); 
3600 static PyObject 
*_wrap_delete_XmlNode(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3601     PyObject 
*resultobj
; 
3602     wxXmlNode 
*arg1 
= (wxXmlNode 
*) 0 ; 
3603     PyObject 
* obj0 
= 0 ; 
3605         (char *) "self", NULL 
 
3608     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_XmlNode",kwnames
,&obj0
)) goto fail
; 
3609     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxXmlNode
, SWIG_POINTER_EXCEPTION 
| 0); 
3610     if (SWIG_arg_fail(1)) SWIG_fail
; 
3612         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3615         wxPyEndAllowThreads(__tstate
); 
3616         if (PyErr_Occurred()) SWIG_fail
; 
3618     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
3625 static PyObject 
*_wrap_new_XmlNodeEasy(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3626     PyObject 
*resultobj
; 
3627     wxXmlNodeType arg1 
; 
3628     wxString 
*arg2 
= 0 ; 
3629     wxString 
const &arg3_defvalue 
= wxPyEmptyString 
; 
3630     wxString 
*arg3 
= (wxString 
*) &arg3_defvalue 
; 
3632     bool temp2 
= false ; 
3633     bool temp3 
= false ; 
3634     PyObject 
* obj0 
= 0 ; 
3635     PyObject 
* obj1 
= 0 ; 
3636     PyObject 
* obj2 
= 0 ; 
3638         (char *) "type",(char *) "name",(char *) "content", NULL 
 
3641     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_XmlNodeEasy",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
3643         arg1 
= (wxXmlNodeType
)(SWIG_As_int(obj0
));  
3644         if (SWIG_arg_fail(1)) SWIG_fail
; 
3647         arg2 
= wxString_in_helper(obj1
); 
3648         if (arg2 
== NULL
) SWIG_fail
; 
3653             arg3 
= wxString_in_helper(obj2
); 
3654             if (arg3 
== NULL
) SWIG_fail
; 
3659         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3660         result 
= (wxXmlNode 
*)new wxXmlNode((wxXmlNodeType 
)arg1
,(wxString 
const &)*arg2
,(wxString 
const &)*arg3
); 
3662         wxPyEndAllowThreads(__tstate
); 
3663         if (PyErr_Occurred()) SWIG_fail
; 
3665     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxXmlNode
, 1); 
3688 static PyObject 
*_wrap_XmlNode_AddChild(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3689     PyObject 
*resultobj
; 
3690     wxXmlNode 
*arg1 
= (wxXmlNode 
*) 0 ; 
3691     wxXmlNode 
*arg2 
= (wxXmlNode 
*) 0 ; 
3692     PyObject 
* obj0 
= 0 ; 
3693     PyObject 
* obj1 
= 0 ; 
3695         (char *) "self",(char *) "child", NULL 
 
3698     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:XmlNode_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
; 
3699     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxXmlNode
, SWIG_POINTER_EXCEPTION 
| 0); 
3700     if (SWIG_arg_fail(1)) SWIG_fail
; 
3701     SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxXmlNode
, SWIG_POINTER_EXCEPTION 
| 0); 
3702     if (SWIG_arg_fail(2)) SWIG_fail
; 
3704         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3705         (arg1
)->AddChild(arg2
); 
3707         wxPyEndAllowThreads(__tstate
); 
3708         if (PyErr_Occurred()) SWIG_fail
; 
3710     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
3717 static PyObject 
*_wrap_XmlNode_InsertChild(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3718     PyObject 
*resultobj
; 
3719     wxXmlNode 
*arg1 
= (wxXmlNode 
*) 0 ; 
3720     wxXmlNode 
*arg2 
= (wxXmlNode 
*) 0 ; 
3721     wxXmlNode 
*arg3 
= (wxXmlNode 
*) 0 ; 
3722     PyObject 
* obj0 
= 0 ; 
3723     PyObject 
* obj1 
= 0 ; 
3724     PyObject 
* obj2 
= 0 ; 
3726         (char *) "self",(char *) "child",(char *) "before_node", NULL 
 
3729     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:XmlNode_InsertChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
3730     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxXmlNode
, SWIG_POINTER_EXCEPTION 
| 0); 
3731     if (SWIG_arg_fail(1)) SWIG_fail
; 
3732     SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxXmlNode
, SWIG_POINTER_EXCEPTION 
| 0); 
3733     if (SWIG_arg_fail(2)) SWIG_fail
; 
3734     SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxXmlNode
, SWIG_POINTER_EXCEPTION 
| 0); 
3735     if (SWIG_arg_fail(3)) SWIG_fail
; 
3737         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3738         (arg1
)->InsertChild(arg2
,arg3
); 
3740         wxPyEndAllowThreads(__tstate
); 
3741         if (PyErr_Occurred()) SWIG_fail
; 
3743     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
3750 static PyObject 
*_wrap_XmlNode_RemoveChild(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3751     PyObject 
*resultobj
; 
3752     wxXmlNode 
*arg1 
= (wxXmlNode 
*) 0 ; 
3753     wxXmlNode 
*arg2 
= (wxXmlNode 
*) 0 ; 
3755     PyObject 
* obj0 
= 0 ; 
3756     PyObject 
* obj1 
= 0 ; 
3758         (char *) "self",(char *) "child", NULL 
 
3761     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:XmlNode_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
; 
3762     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxXmlNode
, SWIG_POINTER_EXCEPTION 
| 0); 
3763     if (SWIG_arg_fail(1)) SWIG_fail
; 
3764     SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxXmlNode
, SWIG_POINTER_EXCEPTION 
| 0); 
3765     if (SWIG_arg_fail(2)) SWIG_fail
; 
3767         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3768         result 
= (bool)(arg1
)->RemoveChild(arg2
); 
3770         wxPyEndAllowThreads(__tstate
); 
3771         if (PyErr_Occurred()) SWIG_fail
; 
3774         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
3782 static PyObject 
*_wrap_XmlNode_AddProperty(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3783     PyObject 
*resultobj
; 
3784     wxXmlNode 
*arg1 
= (wxXmlNode 
*) 0 ; 
3785     wxXmlProperty 
*arg2 
= (wxXmlProperty 
*) 0 ; 
3786     PyObject 
* obj0 
= 0 ; 
3787     PyObject 
* obj1 
= 0 ; 
3789         (char *) "self",(char *) "prop", NULL 
 
3792     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:XmlNode_AddProperty",kwnames
,&obj0
,&obj1
)) goto fail
; 
3793     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxXmlNode
, SWIG_POINTER_EXCEPTION 
| 0); 
3794     if (SWIG_arg_fail(1)) SWIG_fail
; 
3795     SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxXmlProperty
, SWIG_POINTER_EXCEPTION 
| 0); 
3796     if (SWIG_arg_fail(2)) SWIG_fail
; 
3798         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3799         (arg1
)->AddProperty(arg2
); 
3801         wxPyEndAllowThreads(__tstate
); 
3802         if (PyErr_Occurred()) SWIG_fail
; 
3804     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
3811 static PyObject 
*_wrap_XmlNode_AddPropertyName(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3812     PyObject 
*resultobj
; 
3813     wxXmlNode 
*arg1 
= (wxXmlNode 
*) 0 ; 
3814     wxString 
*arg2 
= 0 ; 
3815     wxString 
*arg3 
= 0 ; 
3816     bool temp2 
= false ; 
3817     bool temp3 
= false ; 
3818     PyObject 
* obj0 
= 0 ; 
3819     PyObject 
* obj1 
= 0 ; 
3820     PyObject 
* obj2 
= 0 ; 
3822         (char *) "self",(char *) "name",(char *) "value", NULL 
 
3825     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:XmlNode_AddPropertyName",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
3826     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxXmlNode
, SWIG_POINTER_EXCEPTION 
| 0); 
3827     if (SWIG_arg_fail(1)) SWIG_fail
; 
3829         arg2 
= wxString_in_helper(obj1
); 
3830         if (arg2 
== NULL
) SWIG_fail
; 
3834         arg3 
= wxString_in_helper(obj2
); 
3835         if (arg3 
== NULL
) SWIG_fail
; 
3839         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3840         (arg1
)->AddProperty((wxString 
const &)*arg2
,(wxString 
const &)*arg3
); 
3842         wxPyEndAllowThreads(__tstate
); 
3843         if (PyErr_Occurred()) SWIG_fail
; 
3845     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
3868 static PyObject 
*_wrap_XmlNode_DeleteProperty(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3869     PyObject 
*resultobj
; 
3870     wxXmlNode 
*arg1 
= (wxXmlNode 
*) 0 ; 
3871     wxString 
*arg2 
= 0 ; 
3873     bool temp2 
= false ; 
3874     PyObject 
* obj0 
= 0 ; 
3875     PyObject 
* obj1 
= 0 ; 
3877         (char *) "self",(char *) "name", NULL 
 
3880     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:XmlNode_DeleteProperty",kwnames
,&obj0
,&obj1
)) goto fail
; 
3881     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxXmlNode
, SWIG_POINTER_EXCEPTION 
| 0); 
3882     if (SWIG_arg_fail(1)) SWIG_fail
; 
3884         arg2 
= wxString_in_helper(obj1
); 
3885         if (arg2 
== NULL
) SWIG_fail
; 
3889         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3890         result 
= (bool)(arg1
)->DeleteProperty((wxString 
const &)*arg2
); 
3892         wxPyEndAllowThreads(__tstate
); 
3893         if (PyErr_Occurred()) SWIG_fail
; 
3896         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
3912 static PyObject 
*_wrap_XmlNode_GetType(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3913     PyObject 
*resultobj
; 
3914     wxXmlNode 
*arg1 
= (wxXmlNode 
*) 0 ; 
3915     wxXmlNodeType result
; 
3916     PyObject 
* obj0 
= 0 ; 
3918         (char *) "self", NULL 
 
3921     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:XmlNode_GetType",kwnames
,&obj0
)) goto fail
; 
3922     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxXmlNode
, SWIG_POINTER_EXCEPTION 
| 0); 
3923     if (SWIG_arg_fail(1)) SWIG_fail
; 
3925         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3926         result 
= (wxXmlNodeType
)((wxXmlNode 
const *)arg1
)->GetType(); 
3928         wxPyEndAllowThreads(__tstate
); 
3929         if (PyErr_Occurred()) SWIG_fail
; 
3931     resultobj 
= SWIG_From_int((result
)); 
3938 static PyObject 
*_wrap_XmlNode_GetName(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3939     PyObject 
*resultobj
; 
3940     wxXmlNode 
*arg1 
= (wxXmlNode 
*) 0 ; 
3942     PyObject 
* obj0 
= 0 ; 
3944         (char *) "self", NULL 
 
3947     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:XmlNode_GetName",kwnames
,&obj0
)) goto fail
; 
3948     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxXmlNode
, SWIG_POINTER_EXCEPTION 
| 0); 
3949     if (SWIG_arg_fail(1)) SWIG_fail
; 
3951         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3952         result 
= ((wxXmlNode 
const *)arg1
)->GetName(); 
3954         wxPyEndAllowThreads(__tstate
); 
3955         if (PyErr_Occurred()) SWIG_fail
; 
3959         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
3961         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
3970 static PyObject 
*_wrap_XmlNode_GetContent(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3971     PyObject 
*resultobj
; 
3972     wxXmlNode 
*arg1 
= (wxXmlNode 
*) 0 ; 
3974     PyObject 
* obj0 
= 0 ; 
3976         (char *) "self", NULL 
 
3979     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:XmlNode_GetContent",kwnames
,&obj0
)) goto fail
; 
3980     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxXmlNode
, SWIG_POINTER_EXCEPTION 
| 0); 
3981     if (SWIG_arg_fail(1)) SWIG_fail
; 
3983         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3984         result 
= ((wxXmlNode 
const *)arg1
)->GetContent(); 
3986         wxPyEndAllowThreads(__tstate
); 
3987         if (PyErr_Occurred()) SWIG_fail
; 
3991         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
3993         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
4002 static PyObject 
*_wrap_XmlNode_GetParent(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4003     PyObject 
*resultobj
; 
4004     wxXmlNode 
*arg1 
= (wxXmlNode 
*) 0 ; 
4006     PyObject 
* obj0 
= 0 ; 
4008         (char *) "self", NULL 
 
4011     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:XmlNode_GetParent",kwnames
,&obj0
)) goto fail
; 
4012     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxXmlNode
, SWIG_POINTER_EXCEPTION 
| 0); 
4013     if (SWIG_arg_fail(1)) SWIG_fail
; 
4015         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4016         result 
= (wxXmlNode 
*)((wxXmlNode 
const *)arg1
)->GetParent(); 
4018         wxPyEndAllowThreads(__tstate
); 
4019         if (PyErr_Occurred()) SWIG_fail
; 
4021     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxXmlNode
, 0); 
4028 static PyObject 
*_wrap_XmlNode_GetNext(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4029     PyObject 
*resultobj
; 
4030     wxXmlNode 
*arg1 
= (wxXmlNode 
*) 0 ; 
4032     PyObject 
* obj0 
= 0 ; 
4034         (char *) "self", NULL 
 
4037     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:XmlNode_GetNext",kwnames
,&obj0
)) goto fail
; 
4038     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxXmlNode
, SWIG_POINTER_EXCEPTION 
| 0); 
4039     if (SWIG_arg_fail(1)) SWIG_fail
; 
4041         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4042         result 
= (wxXmlNode 
*)((wxXmlNode 
const *)arg1
)->GetNext(); 
4044         wxPyEndAllowThreads(__tstate
); 
4045         if (PyErr_Occurred()) SWIG_fail
; 
4047     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxXmlNode
, 0); 
4054 static PyObject 
*_wrap_XmlNode_GetChildren(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4055     PyObject 
*resultobj
; 
4056     wxXmlNode 
*arg1 
= (wxXmlNode 
*) 0 ; 
4058     PyObject 
* obj0 
= 0 ; 
4060         (char *) "self", NULL 
 
4063     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:XmlNode_GetChildren",kwnames
,&obj0
)) goto fail
; 
4064     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxXmlNode
, SWIG_POINTER_EXCEPTION 
| 0); 
4065     if (SWIG_arg_fail(1)) SWIG_fail
; 
4067         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4068         result 
= (wxXmlNode 
*)((wxXmlNode 
const *)arg1
)->GetChildren(); 
4070         wxPyEndAllowThreads(__tstate
); 
4071         if (PyErr_Occurred()) SWIG_fail
; 
4073     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxXmlNode
, 0); 
4080 static PyObject 
*_wrap_XmlNode_GetProperties(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4081     PyObject 
*resultobj
; 
4082     wxXmlNode 
*arg1 
= (wxXmlNode 
*) 0 ; 
4083     wxXmlProperty 
*result
; 
4084     PyObject 
* obj0 
= 0 ; 
4086         (char *) "self", NULL 
 
4089     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:XmlNode_GetProperties",kwnames
,&obj0
)) goto fail
; 
4090     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxXmlNode
, SWIG_POINTER_EXCEPTION 
| 0); 
4091     if (SWIG_arg_fail(1)) SWIG_fail
; 
4093         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4094         result 
= (wxXmlProperty 
*)((wxXmlNode 
const *)arg1
)->GetProperties(); 
4096         wxPyEndAllowThreads(__tstate
); 
4097         if (PyErr_Occurred()) SWIG_fail
; 
4099     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxXmlProperty
, 0); 
4106 static PyObject 
*_wrap_XmlNode_GetPropVal(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4107     PyObject 
*resultobj
; 
4108     wxXmlNode 
*arg1 
= (wxXmlNode 
*) 0 ; 
4109     wxString 
*arg2 
= 0 ; 
4110     wxString 
*arg3 
= 0 ; 
4112     bool temp2 
= false ; 
4113     bool temp3 
= false ; 
4114     PyObject 
* obj0 
= 0 ; 
4115     PyObject 
* obj1 
= 0 ; 
4116     PyObject 
* obj2 
= 0 ; 
4118         (char *) "self",(char *) "propName",(char *) "defaultVal", NULL 
 
4121     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:XmlNode_GetPropVal",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
4122     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxXmlNode
, SWIG_POINTER_EXCEPTION 
| 0); 
4123     if (SWIG_arg_fail(1)) SWIG_fail
; 
4125         arg2 
= wxString_in_helper(obj1
); 
4126         if (arg2 
== NULL
) SWIG_fail
; 
4130         arg3 
= wxString_in_helper(obj2
); 
4131         if (arg3 
== NULL
) SWIG_fail
; 
4135         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4136         result 
= ((wxXmlNode 
const *)arg1
)->GetPropVal((wxString 
const &)*arg2
,(wxString 
const &)*arg3
); 
4138         wxPyEndAllowThreads(__tstate
); 
4139         if (PyErr_Occurred()) SWIG_fail
; 
4143         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
4145         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
4170 static PyObject 
*_wrap_XmlNode_HasProp(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4171     PyObject 
*resultobj
; 
4172     wxXmlNode 
*arg1 
= (wxXmlNode 
*) 0 ; 
4173     wxString 
*arg2 
= 0 ; 
4175     bool temp2 
= false ; 
4176     PyObject 
* obj0 
= 0 ; 
4177     PyObject 
* obj1 
= 0 ; 
4179         (char *) "self",(char *) "propName", NULL 
 
4182     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:XmlNode_HasProp",kwnames
,&obj0
,&obj1
)) goto fail
; 
4183     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxXmlNode
, SWIG_POINTER_EXCEPTION 
| 0); 
4184     if (SWIG_arg_fail(1)) SWIG_fail
; 
4186         arg2 
= wxString_in_helper(obj1
); 
4187         if (arg2 
== NULL
) SWIG_fail
; 
4191         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4192         result 
= (bool)((wxXmlNode 
const *)arg1
)->HasProp((wxString 
const &)*arg2
); 
4194         wxPyEndAllowThreads(__tstate
); 
4195         if (PyErr_Occurred()) SWIG_fail
; 
4198         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
4214 static PyObject 
*_wrap_XmlNode_SetType(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4215     PyObject 
*resultobj
; 
4216     wxXmlNode 
*arg1 
= (wxXmlNode 
*) 0 ; 
4217     wxXmlNodeType arg2 
; 
4218     PyObject 
* obj0 
= 0 ; 
4219     PyObject 
* obj1 
= 0 ; 
4221         (char *) "self",(char *) "type", NULL 
 
4224     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:XmlNode_SetType",kwnames
,&obj0
,&obj1
)) goto fail
; 
4225     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxXmlNode
, SWIG_POINTER_EXCEPTION 
| 0); 
4226     if (SWIG_arg_fail(1)) SWIG_fail
; 
4228         arg2 
= (wxXmlNodeType
)(SWIG_As_int(obj1
));  
4229         if (SWIG_arg_fail(2)) SWIG_fail
; 
4232         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4233         (arg1
)->SetType((wxXmlNodeType 
)arg2
); 
4235         wxPyEndAllowThreads(__tstate
); 
4236         if (PyErr_Occurred()) SWIG_fail
; 
4238     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
4245 static PyObject 
*_wrap_XmlNode_SetName(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4246     PyObject 
*resultobj
; 
4247     wxXmlNode 
*arg1 
= (wxXmlNode 
*) 0 ; 
4248     wxString 
*arg2 
= 0 ; 
4249     bool temp2 
= false ; 
4250     PyObject 
* obj0 
= 0 ; 
4251     PyObject 
* obj1 
= 0 ; 
4253         (char *) "self",(char *) "name", NULL 
 
4256     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:XmlNode_SetName",kwnames
,&obj0
,&obj1
)) goto fail
; 
4257     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxXmlNode
, SWIG_POINTER_EXCEPTION 
| 0); 
4258     if (SWIG_arg_fail(1)) SWIG_fail
; 
4260         arg2 
= wxString_in_helper(obj1
); 
4261         if (arg2 
== NULL
) SWIG_fail
; 
4265         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4266         (arg1
)->SetName((wxString 
const &)*arg2
); 
4268         wxPyEndAllowThreads(__tstate
); 
4269         if (PyErr_Occurred()) SWIG_fail
; 
4271     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
4286 static PyObject 
*_wrap_XmlNode_SetContent(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4287     PyObject 
*resultobj
; 
4288     wxXmlNode 
*arg1 
= (wxXmlNode 
*) 0 ; 
4289     wxString 
*arg2 
= 0 ; 
4290     bool temp2 
= false ; 
4291     PyObject 
* obj0 
= 0 ; 
4292     PyObject 
* obj1 
= 0 ; 
4294         (char *) "self",(char *) "con", NULL 
 
4297     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:XmlNode_SetContent",kwnames
,&obj0
,&obj1
)) goto fail
; 
4298     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxXmlNode
, SWIG_POINTER_EXCEPTION 
| 0); 
4299     if (SWIG_arg_fail(1)) SWIG_fail
; 
4301         arg2 
= wxString_in_helper(obj1
); 
4302         if (arg2 
== NULL
) SWIG_fail
; 
4306         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4307         (arg1
)->SetContent((wxString 
const &)*arg2
); 
4309         wxPyEndAllowThreads(__tstate
); 
4310         if (PyErr_Occurred()) SWIG_fail
; 
4312     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
4327 static PyObject 
*_wrap_XmlNode_SetParent(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4328     PyObject 
*resultobj
; 
4329     wxXmlNode 
*arg1 
= (wxXmlNode 
*) 0 ; 
4330     wxXmlNode 
*arg2 
= (wxXmlNode 
*) 0 ; 
4331     PyObject 
* obj0 
= 0 ; 
4332     PyObject 
* obj1 
= 0 ; 
4334         (char *) "self",(char *) "parent", NULL 
 
4337     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:XmlNode_SetParent",kwnames
,&obj0
,&obj1
)) goto fail
; 
4338     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxXmlNode
, SWIG_POINTER_EXCEPTION 
| 0); 
4339     if (SWIG_arg_fail(1)) SWIG_fail
; 
4340     SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxXmlNode
, SWIG_POINTER_EXCEPTION 
| 0); 
4341     if (SWIG_arg_fail(2)) SWIG_fail
; 
4343         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4344         (arg1
)->SetParent(arg2
); 
4346         wxPyEndAllowThreads(__tstate
); 
4347         if (PyErr_Occurred()) SWIG_fail
; 
4349     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
4356 static PyObject 
*_wrap_XmlNode_SetNext(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4357     PyObject 
*resultobj
; 
4358     wxXmlNode 
*arg1 
= (wxXmlNode 
*) 0 ; 
4359     wxXmlNode 
*arg2 
= (wxXmlNode 
*) 0 ; 
4360     PyObject 
* obj0 
= 0 ; 
4361     PyObject 
* obj1 
= 0 ; 
4363         (char *) "self",(char *) "next", NULL 
 
4366     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:XmlNode_SetNext",kwnames
,&obj0
,&obj1
)) goto fail
; 
4367     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxXmlNode
, SWIG_POINTER_EXCEPTION 
| 0); 
4368     if (SWIG_arg_fail(1)) SWIG_fail
; 
4369     SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxXmlNode
, SWIG_POINTER_EXCEPTION 
| 0); 
4370     if (SWIG_arg_fail(2)) SWIG_fail
; 
4372         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4373         (arg1
)->SetNext(arg2
); 
4375         wxPyEndAllowThreads(__tstate
); 
4376         if (PyErr_Occurred()) SWIG_fail
; 
4378     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
4385 static PyObject 
*_wrap_XmlNode_SetChildren(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4386     PyObject 
*resultobj
; 
4387     wxXmlNode 
*arg1 
= (wxXmlNode 
*) 0 ; 
4388     wxXmlNode 
*arg2 
= (wxXmlNode 
*) 0 ; 
4389     PyObject 
* obj0 
= 0 ; 
4390     PyObject 
* obj1 
= 0 ; 
4392         (char *) "self",(char *) "child", NULL 
 
4395     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:XmlNode_SetChildren",kwnames
,&obj0
,&obj1
)) goto fail
; 
4396     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxXmlNode
, SWIG_POINTER_EXCEPTION 
| 0); 
4397     if (SWIG_arg_fail(1)) SWIG_fail
; 
4398     SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxXmlNode
, SWIG_POINTER_EXCEPTION 
| 0); 
4399     if (SWIG_arg_fail(2)) SWIG_fail
; 
4401         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4402         (arg1
)->SetChildren(arg2
); 
4404         wxPyEndAllowThreads(__tstate
); 
4405         if (PyErr_Occurred()) SWIG_fail
; 
4407     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
4414 static PyObject 
*_wrap_XmlNode_SetProperties(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4415     PyObject 
*resultobj
; 
4416     wxXmlNode 
*arg1 
= (wxXmlNode 
*) 0 ; 
4417     wxXmlProperty 
*arg2 
= (wxXmlProperty 
*) 0 ; 
4418     PyObject 
* obj0 
= 0 ; 
4419     PyObject 
* obj1 
= 0 ; 
4421         (char *) "self",(char *) "prop", NULL 
 
4424     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:XmlNode_SetProperties",kwnames
,&obj0
,&obj1
)) goto fail
; 
4425     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxXmlNode
, SWIG_POINTER_EXCEPTION 
| 0); 
4426     if (SWIG_arg_fail(1)) SWIG_fail
; 
4427     SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxXmlProperty
, SWIG_POINTER_EXCEPTION 
| 0); 
4428     if (SWIG_arg_fail(2)) SWIG_fail
; 
4430         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4431         (arg1
)->SetProperties(arg2
); 
4433         wxPyEndAllowThreads(__tstate
); 
4434         if (PyErr_Occurred()) SWIG_fail
; 
4436     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
4443 static PyObject 
* XmlNode_swigregister(PyObject 
*, PyObject 
*args
) { 
4445     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
4446     SWIG_TypeClientData(SWIGTYPE_p_wxXmlNode
, obj
); 
4448     return Py_BuildValue((char *)""); 
4450 static PyObject 
*_wrap_new_XmlDocument(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4451     PyObject 
*resultobj
; 
4452     wxString 
*arg1 
= 0 ; 
4453     wxString 
const &arg2_defvalue 
= wxPyUTF8String 
; 
4454     wxString 
*arg2 
= (wxString 
*) &arg2_defvalue 
; 
4455     wxXmlDocument 
*result
; 
4456     bool temp1 
= false ; 
4457     bool temp2 
= false ; 
4458     PyObject 
* obj0 
= 0 ; 
4459     PyObject 
* obj1 
= 0 ; 
4461         (char *) "filename",(char *) "encoding", NULL 
 
4464     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_XmlDocument",kwnames
,&obj0
,&obj1
)) goto fail
; 
4466         arg1 
= wxString_in_helper(obj0
); 
4467         if (arg1 
== NULL
) SWIG_fail
; 
4472             arg2 
= wxString_in_helper(obj1
); 
4473             if (arg2 
== NULL
) SWIG_fail
; 
4478         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4479         result 
= (wxXmlDocument 
*)new wxXmlDocument((wxString 
const &)*arg1
,(wxString 
const &)*arg2
); 
4481         wxPyEndAllowThreads(__tstate
); 
4482         if (PyErr_Occurred()) SWIG_fail
; 
4484     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxXmlDocument
, 1); 
4507 static PyObject 
*_wrap_new_XmlDocumentFromStream(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4508     PyObject 
*resultobj
; 
4509     wxInputStream 
*arg1 
= 0 ; 
4510     wxString 
const &arg2_defvalue 
= wxPyUTF8String 
; 
4511     wxString 
*arg2 
= (wxString 
*) &arg2_defvalue 
; 
4512     wxXmlDocument 
*result
; 
4513     wxPyInputStream 
*temp1 
; 
4515     bool temp2 
= false ; 
4516     PyObject 
* obj0 
= 0 ; 
4517     PyObject 
* obj1 
= 0 ; 
4519         (char *) "stream",(char *) "encoding", NULL 
 
4522     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_XmlDocumentFromStream",kwnames
,&obj0
,&obj1
)) goto fail
; 
4524         if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) { 
4525             arg1 
= temp1
->m_wxis
; 
4528             PyErr_Clear();  // clear the failure of the wxPyConvert above 
4529             arg1 
= wxPyCBInputStream_create(obj0
, false); 
4531                 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object."); 
4539             arg2 
= wxString_in_helper(obj1
); 
4540             if (arg2 
== NULL
) SWIG_fail
; 
4545         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4546         result 
= (wxXmlDocument 
*)new wxXmlDocument(*arg1
,(wxString 
const &)*arg2
); 
4548         wxPyEndAllowThreads(__tstate
); 
4549         if (PyErr_Occurred()) SWIG_fail
; 
4551     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxXmlDocument
, 1); 
4574 static PyObject 
*_wrap_new_EmptyXmlDocument(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4575     PyObject 
*resultobj
; 
4576     wxXmlDocument 
*result
; 
4581     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EmptyXmlDocument",kwnames
)) goto fail
; 
4583         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4584         result 
= (wxXmlDocument 
*)new wxXmlDocument(); 
4586         wxPyEndAllowThreads(__tstate
); 
4587         if (PyErr_Occurred()) SWIG_fail
; 
4589     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxXmlDocument
, 1); 
4596 static PyObject 
*_wrap_delete_XmlDocument(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4597     PyObject 
*resultobj
; 
4598     wxXmlDocument 
*arg1 
= (wxXmlDocument 
*) 0 ; 
4599     PyObject 
* obj0 
= 0 ; 
4601         (char *) "self", NULL 
 
4604     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_XmlDocument",kwnames
,&obj0
)) goto fail
; 
4605     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxXmlDocument
, SWIG_POINTER_EXCEPTION 
| 0); 
4606     if (SWIG_arg_fail(1)) SWIG_fail
; 
4608         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4611         wxPyEndAllowThreads(__tstate
); 
4612         if (PyErr_Occurred()) SWIG_fail
; 
4614     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
4621 static PyObject 
*_wrap_XmlDocument_Load(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4622     PyObject 
*resultobj
; 
4623     wxXmlDocument 
*arg1 
= (wxXmlDocument 
*) 0 ; 
4624     wxString 
*arg2 
= 0 ; 
4625     wxString 
const &arg3_defvalue 
= wxPyUTF8String 
; 
4626     wxString 
*arg3 
= (wxString 
*) &arg3_defvalue 
; 
4628     bool temp2 
= false ; 
4629     bool temp3 
= false ; 
4630     PyObject 
* obj0 
= 0 ; 
4631     PyObject 
* obj1 
= 0 ; 
4632     PyObject 
* obj2 
= 0 ; 
4634         (char *) "self",(char *) "filename",(char *) "encoding", NULL 
 
4637     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:XmlDocument_Load",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
4638     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxXmlDocument
, SWIG_POINTER_EXCEPTION 
| 0); 
4639     if (SWIG_arg_fail(1)) SWIG_fail
; 
4641         arg2 
= wxString_in_helper(obj1
); 
4642         if (arg2 
== NULL
) SWIG_fail
; 
4647             arg3 
= wxString_in_helper(obj2
); 
4648             if (arg3 
== NULL
) SWIG_fail
; 
4653         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4654         result 
= (bool)(arg1
)->Load((wxString 
const &)*arg2
,(wxString 
const &)*arg3
); 
4656         wxPyEndAllowThreads(__tstate
); 
4657         if (PyErr_Occurred()) SWIG_fail
; 
4660         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
4684 static PyObject 
*_wrap_XmlDocument_LoadFromStream(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4685     PyObject 
*resultobj
; 
4686     wxXmlDocument 
*arg1 
= (wxXmlDocument 
*) 0 ; 
4687     wxInputStream 
*arg2 
= 0 ; 
4688     wxString 
const &arg3_defvalue 
= wxPyUTF8String 
; 
4689     wxString 
*arg3 
= (wxString 
*) &arg3_defvalue 
; 
4691     wxPyInputStream 
*temp2 
; 
4693     bool temp3 
= false ; 
4694     PyObject 
* obj0 
= 0 ; 
4695     PyObject 
* obj1 
= 0 ; 
4696     PyObject 
* obj2 
= 0 ; 
4698         (char *) "self",(char *) "stream",(char *) "encoding", NULL 
 
4701     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:XmlDocument_LoadFromStream",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
4702     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxXmlDocument
, SWIG_POINTER_EXCEPTION 
| 0); 
4703     if (SWIG_arg_fail(1)) SWIG_fail
; 
4705         if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) { 
4706             arg2 
= temp2
->m_wxis
; 
4709             PyErr_Clear();  // clear the failure of the wxPyConvert above 
4710             arg2 
= wxPyCBInputStream_create(obj1
, false); 
4712                 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object."); 
4720             arg3 
= wxString_in_helper(obj2
); 
4721             if (arg3 
== NULL
) SWIG_fail
; 
4726         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4727         result 
= (bool)(arg1
)->Load(*arg2
,(wxString 
const &)*arg3
); 
4729         wxPyEndAllowThreads(__tstate
); 
4730         if (PyErr_Occurred()) SWIG_fail
; 
4733         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
4757 static PyObject 
*_wrap_XmlDocument_Save(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4758     PyObject 
*resultobj
; 
4759     wxXmlDocument 
*arg1 
= (wxXmlDocument 
*) 0 ; 
4760     wxString 
*arg2 
= 0 ; 
4762     bool temp2 
= false ; 
4763     PyObject 
* obj0 
= 0 ; 
4764     PyObject 
* obj1 
= 0 ; 
4766         (char *) "self",(char *) "filename", NULL 
 
4769     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:XmlDocument_Save",kwnames
,&obj0
,&obj1
)) goto fail
; 
4770     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxXmlDocument
, SWIG_POINTER_EXCEPTION 
| 0); 
4771     if (SWIG_arg_fail(1)) SWIG_fail
; 
4773         arg2 
= wxString_in_helper(obj1
); 
4774         if (arg2 
== NULL
) SWIG_fail
; 
4778         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4779         result 
= (bool)((wxXmlDocument 
const *)arg1
)->Save((wxString 
const &)*arg2
); 
4781         wxPyEndAllowThreads(__tstate
); 
4782         if (PyErr_Occurred()) SWIG_fail
; 
4785         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
4801 static PyObject 
*_wrap_XmlDocument_SaveToStream(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4802     PyObject 
*resultobj
; 
4803     wxXmlDocument 
*arg1 
= (wxXmlDocument 
*) 0 ; 
4804     wxOutputStream 
*arg2 
= 0 ; 
4806     PyObject 
* obj0 
= 0 ; 
4807     PyObject 
* obj1 
= 0 ; 
4809         (char *) "self",(char *) "stream", NULL 
 
4812     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:XmlDocument_SaveToStream",kwnames
,&obj0
,&obj1
)) goto fail
; 
4813     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxXmlDocument
, SWIG_POINTER_EXCEPTION 
| 0); 
4814     if (SWIG_arg_fail(1)) SWIG_fail
; 
4816         SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxOutputStream
, SWIG_POINTER_EXCEPTION 
| 0); 
4817         if (SWIG_arg_fail(2)) SWIG_fail
; 
4819             SWIG_null_ref("wxOutputStream"); 
4821         if (SWIG_arg_fail(2)) SWIG_fail
; 
4824         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4825         result 
= (bool)((wxXmlDocument 
const *)arg1
)->Save(*arg2
); 
4827         wxPyEndAllowThreads(__tstate
); 
4828         if (PyErr_Occurred()) SWIG_fail
; 
4831         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
4839 static PyObject 
*_wrap_XmlDocument_IsOk(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4840     PyObject 
*resultobj
; 
4841     wxXmlDocument 
*arg1 
= (wxXmlDocument 
*) 0 ; 
4843     PyObject 
* obj0 
= 0 ; 
4845         (char *) "self", NULL 
 
4848     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:XmlDocument_IsOk",kwnames
,&obj0
)) goto fail
; 
4849     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxXmlDocument
, SWIG_POINTER_EXCEPTION 
| 0); 
4850     if (SWIG_arg_fail(1)) SWIG_fail
; 
4852         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4853         result 
= (bool)((wxXmlDocument 
const *)arg1
)->IsOk(); 
4855         wxPyEndAllowThreads(__tstate
); 
4856         if (PyErr_Occurred()) SWIG_fail
; 
4859         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
4867 static PyObject 
*_wrap_XmlDocument_GetRoot(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4868     PyObject 
*resultobj
; 
4869     wxXmlDocument 
*arg1 
= (wxXmlDocument 
*) 0 ; 
4871     PyObject 
* obj0 
= 0 ; 
4873         (char *) "self", NULL 
 
4876     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:XmlDocument_GetRoot",kwnames
,&obj0
)) goto fail
; 
4877     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxXmlDocument
, SWIG_POINTER_EXCEPTION 
| 0); 
4878     if (SWIG_arg_fail(1)) SWIG_fail
; 
4880         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4881         result 
= (wxXmlNode 
*)((wxXmlDocument 
const *)arg1
)->GetRoot(); 
4883         wxPyEndAllowThreads(__tstate
); 
4884         if (PyErr_Occurred()) SWIG_fail
; 
4886     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxXmlNode
, 0); 
4893 static PyObject 
*_wrap_XmlDocument_GetVersion(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4894     PyObject 
*resultobj
; 
4895     wxXmlDocument 
*arg1 
= (wxXmlDocument 
*) 0 ; 
4897     PyObject 
* obj0 
= 0 ; 
4899         (char *) "self", NULL 
 
4902     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:XmlDocument_GetVersion",kwnames
,&obj0
)) goto fail
; 
4903     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxXmlDocument
, SWIG_POINTER_EXCEPTION 
| 0); 
4904     if (SWIG_arg_fail(1)) SWIG_fail
; 
4906         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4907         result 
= ((wxXmlDocument 
const *)arg1
)->GetVersion(); 
4909         wxPyEndAllowThreads(__tstate
); 
4910         if (PyErr_Occurred()) SWIG_fail
; 
4914         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
4916         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
4925 static PyObject 
*_wrap_XmlDocument_GetFileEncoding(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4926     PyObject 
*resultobj
; 
4927     wxXmlDocument 
*arg1 
= (wxXmlDocument 
*) 0 ; 
4929     PyObject 
* obj0 
= 0 ; 
4931         (char *) "self", NULL 
 
4934     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:XmlDocument_GetFileEncoding",kwnames
,&obj0
)) goto fail
; 
4935     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxXmlDocument
, SWIG_POINTER_EXCEPTION 
| 0); 
4936     if (SWIG_arg_fail(1)) SWIG_fail
; 
4938         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4939         result 
= ((wxXmlDocument 
const *)arg1
)->GetFileEncoding(); 
4941         wxPyEndAllowThreads(__tstate
); 
4942         if (PyErr_Occurred()) SWIG_fail
; 
4946         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
4948         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
4957 static PyObject 
*_wrap_XmlDocument_SetRoot(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4958     PyObject 
*resultobj
; 
4959     wxXmlDocument 
*arg1 
= (wxXmlDocument 
*) 0 ; 
4960     wxXmlNode 
*arg2 
= (wxXmlNode 
*) 0 ; 
4961     PyObject 
* obj0 
= 0 ; 
4962     PyObject 
* obj1 
= 0 ; 
4964         (char *) "self",(char *) "node", NULL 
 
4967     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:XmlDocument_SetRoot",kwnames
,&obj0
,&obj1
)) goto fail
; 
4968     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxXmlDocument
, SWIG_POINTER_EXCEPTION 
| 0); 
4969     if (SWIG_arg_fail(1)) SWIG_fail
; 
4970     SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxXmlNode
, SWIG_POINTER_EXCEPTION 
| 0); 
4971     if (SWIG_arg_fail(2)) SWIG_fail
; 
4973         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4974         (arg1
)->SetRoot(arg2
); 
4976         wxPyEndAllowThreads(__tstate
); 
4977         if (PyErr_Occurred()) SWIG_fail
; 
4979     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
4986 static PyObject 
*_wrap_XmlDocument_SetVersion(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4987     PyObject 
*resultobj
; 
4988     wxXmlDocument 
*arg1 
= (wxXmlDocument 
*) 0 ; 
4989     wxString 
*arg2 
= 0 ; 
4990     bool temp2 
= false ; 
4991     PyObject 
* obj0 
= 0 ; 
4992     PyObject 
* obj1 
= 0 ; 
4994         (char *) "self",(char *) "version", NULL 
 
4997     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:XmlDocument_SetVersion",kwnames
,&obj0
,&obj1
)) goto fail
; 
4998     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxXmlDocument
, SWIG_POINTER_EXCEPTION 
| 0); 
4999     if (SWIG_arg_fail(1)) SWIG_fail
; 
5001         arg2 
= wxString_in_helper(obj1
); 
5002         if (arg2 
== NULL
) SWIG_fail
; 
5006         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5007         (arg1
)->SetVersion((wxString 
const &)*arg2
); 
5009         wxPyEndAllowThreads(__tstate
); 
5010         if (PyErr_Occurred()) SWIG_fail
; 
5012     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
5027 static PyObject 
*_wrap_XmlDocument_SetFileEncoding(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5028     PyObject 
*resultobj
; 
5029     wxXmlDocument 
*arg1 
= (wxXmlDocument 
*) 0 ; 
5030     wxString 
*arg2 
= 0 ; 
5031     bool temp2 
= false ; 
5032     PyObject 
* obj0 
= 0 ; 
5033     PyObject 
* obj1 
= 0 ; 
5035         (char *) "self",(char *) "encoding", NULL 
 
5038     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:XmlDocument_SetFileEncoding",kwnames
,&obj0
,&obj1
)) goto fail
; 
5039     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxXmlDocument
, SWIG_POINTER_EXCEPTION 
| 0); 
5040     if (SWIG_arg_fail(1)) SWIG_fail
; 
5042         arg2 
= wxString_in_helper(obj1
); 
5043         if (arg2 
== NULL
) SWIG_fail
; 
5047         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5048         (arg1
)->SetFileEncoding((wxString 
const &)*arg2
); 
5050         wxPyEndAllowThreads(__tstate
); 
5051         if (PyErr_Occurred()) SWIG_fail
; 
5053     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
5068 static PyObject 
* XmlDocument_swigregister(PyObject 
*, PyObject 
*args
) { 
5070     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
5071     SWIG_TypeClientData(SWIGTYPE_p_wxXmlDocument
, obj
); 
5073     return Py_BuildValue((char *)""); 
5075 static PyObject 
*_wrap_new_XmlResourceHandler(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5076     PyObject 
*resultobj
; 
5077     wxPyXmlResourceHandler 
*result
; 
5082     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_XmlResourceHandler",kwnames
)) goto fail
; 
5084         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5085         result 
= (wxPyXmlResourceHandler 
*)new wxPyXmlResourceHandler(); 
5087         wxPyEndAllowThreads(__tstate
); 
5088         if (PyErr_Occurred()) SWIG_fail
; 
5090     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyXmlResourceHandler
, 1); 
5097 static PyObject 
*_wrap_XmlResourceHandler__setCallbackInfo(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5098     PyObject 
*resultobj
; 
5099     wxPyXmlResourceHandler 
*arg1 
= (wxPyXmlResourceHandler 
*) 0 ; 
5100     PyObject 
*arg2 
= (PyObject 
*) 0 ; 
5101     PyObject 
*arg3 
= (PyObject 
*) 0 ; 
5102     PyObject 
* obj0 
= 0 ; 
5103     PyObject 
* obj1 
= 0 ; 
5104     PyObject 
* obj2 
= 0 ; 
5106         (char *) "self",(char *) "self",(char *) "_class", NULL 
 
5109     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:XmlResourceHandler__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
5110     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyXmlResourceHandler
, SWIG_POINTER_EXCEPTION 
| 0); 
5111     if (SWIG_arg_fail(1)) SWIG_fail
; 
5115         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5116         (arg1
)->_setCallbackInfo(arg2
,arg3
); 
5118         wxPyEndAllowThreads(__tstate
); 
5119         if (PyErr_Occurred()) SWIG_fail
; 
5121     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
5128 static PyObject 
*_wrap_XmlResourceHandler_CreateResource(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5129     PyObject 
*resultobj
; 
5130     wxPyXmlResourceHandler 
*arg1 
= (wxPyXmlResourceHandler 
*) 0 ; 
5131     wxXmlNode 
*arg2 
= (wxXmlNode 
*) 0 ; 
5132     wxObject 
*arg3 
= (wxObject 
*) 0 ; 
5133     wxObject 
*arg4 
= (wxObject 
*) 0 ; 
5135     PyObject 
* obj0 
= 0 ; 
5136     PyObject 
* obj1 
= 0 ; 
5137     PyObject 
* obj2 
= 0 ; 
5138     PyObject 
* obj3 
= 0 ; 
5140         (char *) "self",(char *) "node",(char *) "parent",(char *) "instance", NULL 
 
5143     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:XmlResourceHandler_CreateResource",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
5144     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyXmlResourceHandler
, SWIG_POINTER_EXCEPTION 
| 0); 
5145     if (SWIG_arg_fail(1)) SWIG_fail
; 
5146     SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxXmlNode
, SWIG_POINTER_EXCEPTION 
| 0); 
5147     if (SWIG_arg_fail(2)) SWIG_fail
; 
5148     SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxObject
, SWIG_POINTER_EXCEPTION 
| 0); 
5149     if (SWIG_arg_fail(3)) SWIG_fail
; 
5150     SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxObject
, SWIG_POINTER_EXCEPTION 
| 0); 
5151     if (SWIG_arg_fail(4)) SWIG_fail
; 
5153         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5154         result 
= (wxObject 
*)(arg1
)->CreateResource(arg2
,arg3
,arg4
); 
5156         wxPyEndAllowThreads(__tstate
); 
5157         if (PyErr_Occurred()) SWIG_fail
; 
5160         resultobj 
= wxPyMake_wxObject(result
, 0);  
5168 static PyObject 
*_wrap_XmlResourceHandler_SetParentResource(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5169     PyObject 
*resultobj
; 
5170     wxPyXmlResourceHandler 
*arg1 
= (wxPyXmlResourceHandler 
*) 0 ; 
5171     wxXmlResource 
*arg2 
= (wxXmlResource 
*) 0 ; 
5172     PyObject 
* obj0 
= 0 ; 
5173     PyObject 
* obj1 
= 0 ; 
5175         (char *) "self",(char *) "res", NULL 
 
5178     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:XmlResourceHandler_SetParentResource",kwnames
,&obj0
,&obj1
)) goto fail
; 
5179     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyXmlResourceHandler
, SWIG_POINTER_EXCEPTION 
| 0); 
5180     if (SWIG_arg_fail(1)) SWIG_fail
; 
5181     SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxXmlResource
, SWIG_POINTER_EXCEPTION 
| 0); 
5182     if (SWIG_arg_fail(2)) SWIG_fail
; 
5184         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5185         (arg1
)->SetParentResource(arg2
); 
5187         wxPyEndAllowThreads(__tstate
); 
5188         if (PyErr_Occurred()) SWIG_fail
; 
5190     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
5197 static PyObject 
*_wrap_XmlResourceHandler_GetResource(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5198     PyObject 
*resultobj
; 
5199     wxPyXmlResourceHandler 
*arg1 
= (wxPyXmlResourceHandler 
*) 0 ; 
5200     wxXmlResource 
*result
; 
5201     PyObject 
* obj0 
= 0 ; 
5203         (char *) "self", NULL 
 
5206     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:XmlResourceHandler_GetResource",kwnames
,&obj0
)) goto fail
; 
5207     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyXmlResourceHandler
, SWIG_POINTER_EXCEPTION 
| 0); 
5208     if (SWIG_arg_fail(1)) SWIG_fail
; 
5210         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5211         result 
= (wxXmlResource 
*)(arg1
)->GetResource(); 
5213         wxPyEndAllowThreads(__tstate
); 
5214         if (PyErr_Occurred()) SWIG_fail
; 
5216     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxXmlResource
, 0); 
5223 static PyObject 
*_wrap_XmlResourceHandler_GetNode(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5224     PyObject 
*resultobj
; 
5225     wxPyXmlResourceHandler 
*arg1 
= (wxPyXmlResourceHandler 
*) 0 ; 
5227     PyObject 
* obj0 
= 0 ; 
5229         (char *) "self", NULL 
 
5232     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:XmlResourceHandler_GetNode",kwnames
,&obj0
)) goto fail
; 
5233     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyXmlResourceHandler
, SWIG_POINTER_EXCEPTION 
| 0); 
5234     if (SWIG_arg_fail(1)) SWIG_fail
; 
5236         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5237         result 
= (wxXmlNode 
*)(arg1
)->GetNode(); 
5239         wxPyEndAllowThreads(__tstate
); 
5240         if (PyErr_Occurred()) SWIG_fail
; 
5242     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxXmlNode
, 0); 
5249 static PyObject 
*_wrap_XmlResourceHandler_GetClass(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5250     PyObject 
*resultobj
; 
5251     wxPyXmlResourceHandler 
*arg1 
= (wxPyXmlResourceHandler 
*) 0 ; 
5253     PyObject 
* obj0 
= 0 ; 
5255         (char *) "self", NULL 
 
5258     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:XmlResourceHandler_GetClass",kwnames
,&obj0
)) goto fail
; 
5259     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyXmlResourceHandler
, SWIG_POINTER_EXCEPTION 
| 0); 
5260     if (SWIG_arg_fail(1)) SWIG_fail
; 
5262         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5263         result 
= (arg1
)->GetClass(); 
5265         wxPyEndAllowThreads(__tstate
); 
5266         if (PyErr_Occurred()) SWIG_fail
; 
5270         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
5272         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
5281 static PyObject 
*_wrap_XmlResourceHandler_GetParent(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5282     PyObject 
*resultobj
; 
5283     wxPyXmlResourceHandler 
*arg1 
= (wxPyXmlResourceHandler 
*) 0 ; 
5285     PyObject 
* obj0 
= 0 ; 
5287         (char *) "self", NULL 
 
5290     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:XmlResourceHandler_GetParent",kwnames
,&obj0
)) goto fail
; 
5291     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyXmlResourceHandler
, SWIG_POINTER_EXCEPTION 
| 0); 
5292     if (SWIG_arg_fail(1)) SWIG_fail
; 
5294         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5295         result 
= (wxObject 
*)(arg1
)->GetParent(); 
5297         wxPyEndAllowThreads(__tstate
); 
5298         if (PyErr_Occurred()) SWIG_fail
; 
5301         resultobj 
= wxPyMake_wxObject(result
, 0);  
5309 static PyObject 
*_wrap_XmlResourceHandler_GetInstance(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5310     PyObject 
*resultobj
; 
5311     wxPyXmlResourceHandler 
*arg1 
= (wxPyXmlResourceHandler 
*) 0 ; 
5313     PyObject 
* obj0 
= 0 ; 
5315         (char *) "self", NULL 
 
5318     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:XmlResourceHandler_GetInstance",kwnames
,&obj0
)) goto fail
; 
5319     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyXmlResourceHandler
, SWIG_POINTER_EXCEPTION 
| 0); 
5320     if (SWIG_arg_fail(1)) SWIG_fail
; 
5322         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5323         result 
= (wxObject 
*)(arg1
)->GetInstance(); 
5325         wxPyEndAllowThreads(__tstate
); 
5326         if (PyErr_Occurred()) SWIG_fail
; 
5329         resultobj 
= wxPyMake_wxObject(result
, 0);  
5337 static PyObject 
*_wrap_XmlResourceHandler_GetParentAsWindow(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5338     PyObject 
*resultobj
; 
5339     wxPyXmlResourceHandler 
*arg1 
= (wxPyXmlResourceHandler 
*) 0 ; 
5341     PyObject 
* obj0 
= 0 ; 
5343         (char *) "self", NULL 
 
5346     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:XmlResourceHandler_GetParentAsWindow",kwnames
,&obj0
)) goto fail
; 
5347     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyXmlResourceHandler
, SWIG_POINTER_EXCEPTION 
| 0); 
5348     if (SWIG_arg_fail(1)) SWIG_fail
; 
5350         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5351         result 
= (wxWindow 
*)(arg1
)->GetParentAsWindow(); 
5353         wxPyEndAllowThreads(__tstate
); 
5354         if (PyErr_Occurred()) SWIG_fail
; 
5357         resultobj 
= wxPyMake_wxObject(result
, 0);  
5365 static PyObject 
*_wrap_XmlResourceHandler_IsOfClass(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5366     PyObject 
*resultobj
; 
5367     wxPyXmlResourceHandler 
*arg1 
= (wxPyXmlResourceHandler 
*) 0 ; 
5368     wxXmlNode 
*arg2 
= (wxXmlNode 
*) 0 ; 
5369     wxString 
*arg3 
= 0 ; 
5371     bool temp3 
= false ; 
5372     PyObject 
* obj0 
= 0 ; 
5373     PyObject 
* obj1 
= 0 ; 
5374     PyObject 
* obj2 
= 0 ; 
5376         (char *) "self",(char *) "node",(char *) "classname", NULL 
 
5379     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:XmlResourceHandler_IsOfClass",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
5380     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyXmlResourceHandler
, SWIG_POINTER_EXCEPTION 
| 0); 
5381     if (SWIG_arg_fail(1)) SWIG_fail
; 
5382     SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxXmlNode
, SWIG_POINTER_EXCEPTION 
| 0); 
5383     if (SWIG_arg_fail(2)) SWIG_fail
; 
5385         arg3 
= wxString_in_helper(obj2
); 
5386         if (arg3 
== NULL
) SWIG_fail
; 
5390         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5391         result 
= (bool)(arg1
)->IsOfClass(arg2
,(wxString 
const &)*arg3
); 
5393         wxPyEndAllowThreads(__tstate
); 
5394         if (PyErr_Occurred()) SWIG_fail
; 
5397         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
5413 static PyObject 
*_wrap_XmlResourceHandler_GetNodeContent(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5414     PyObject 
*resultobj
; 
5415     wxPyXmlResourceHandler 
*arg1 
= (wxPyXmlResourceHandler 
*) 0 ; 
5416     wxXmlNode 
*arg2 
= (wxXmlNode 
*) 0 ; 
5418     PyObject 
* obj0 
= 0 ; 
5419     PyObject 
* obj1 
= 0 ; 
5421         (char *) "self",(char *) "node", NULL 
 
5424     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:XmlResourceHandler_GetNodeContent",kwnames
,&obj0
,&obj1
)) goto fail
; 
5425     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyXmlResourceHandler
, SWIG_POINTER_EXCEPTION 
| 0); 
5426     if (SWIG_arg_fail(1)) SWIG_fail
; 
5427     SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxXmlNode
, SWIG_POINTER_EXCEPTION 
| 0); 
5428     if (SWIG_arg_fail(2)) SWIG_fail
; 
5430         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5431         result 
= (arg1
)->GetNodeContent(arg2
); 
5433         wxPyEndAllowThreads(__tstate
); 
5434         if (PyErr_Occurred()) SWIG_fail
; 
5438         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
5440         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
5449 static PyObject 
*_wrap_XmlResourceHandler_HasParam(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5450     PyObject 
*resultobj
; 
5451     wxPyXmlResourceHandler 
*arg1 
= (wxPyXmlResourceHandler 
*) 0 ; 
5452     wxString 
*arg2 
= 0 ; 
5454     bool temp2 
= false ; 
5455     PyObject 
* obj0 
= 0 ; 
5456     PyObject 
* obj1 
= 0 ; 
5458         (char *) "self",(char *) "param", NULL 
 
5461     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:XmlResourceHandler_HasParam",kwnames
,&obj0
,&obj1
)) goto fail
; 
5462     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyXmlResourceHandler
, SWIG_POINTER_EXCEPTION 
| 0); 
5463     if (SWIG_arg_fail(1)) SWIG_fail
; 
5465         arg2 
= wxString_in_helper(obj1
); 
5466         if (arg2 
== NULL
) SWIG_fail
; 
5470         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5471         result 
= (bool)(arg1
)->HasParam((wxString 
const &)*arg2
); 
5473         wxPyEndAllowThreads(__tstate
); 
5474         if (PyErr_Occurred()) SWIG_fail
; 
5477         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
5493 static PyObject 
*_wrap_XmlResourceHandler_GetParamNode(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5494     PyObject 
*resultobj
; 
5495     wxPyXmlResourceHandler 
*arg1 
= (wxPyXmlResourceHandler 
*) 0 ; 
5496     wxString 
*arg2 
= 0 ; 
5498     bool temp2 
= false ; 
5499     PyObject 
* obj0 
= 0 ; 
5500     PyObject 
* obj1 
= 0 ; 
5502         (char *) "self",(char *) "param", NULL 
 
5505     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:XmlResourceHandler_GetParamNode",kwnames
,&obj0
,&obj1
)) goto fail
; 
5506     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyXmlResourceHandler
, SWIG_POINTER_EXCEPTION 
| 0); 
5507     if (SWIG_arg_fail(1)) SWIG_fail
; 
5509         arg2 
= wxString_in_helper(obj1
); 
5510         if (arg2 
== NULL
) SWIG_fail
; 
5514         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5515         result 
= (wxXmlNode 
*)(arg1
)->GetParamNode((wxString 
const &)*arg2
); 
5517         wxPyEndAllowThreads(__tstate
); 
5518         if (PyErr_Occurred()) SWIG_fail
; 
5520     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxXmlNode
, 0); 
5535 static PyObject 
*_wrap_XmlResourceHandler_GetParamValue(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5536     PyObject 
*resultobj
; 
5537     wxPyXmlResourceHandler 
*arg1 
= (wxPyXmlResourceHandler 
*) 0 ; 
5538     wxString 
*arg2 
= 0 ; 
5540     bool temp2 
= false ; 
5541     PyObject 
* obj0 
= 0 ; 
5542     PyObject 
* obj1 
= 0 ; 
5544         (char *) "self",(char *) "param", NULL 
 
5547     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:XmlResourceHandler_GetParamValue",kwnames
,&obj0
,&obj1
)) goto fail
; 
5548     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyXmlResourceHandler
, SWIG_POINTER_EXCEPTION 
| 0); 
5549     if (SWIG_arg_fail(1)) SWIG_fail
; 
5551         arg2 
= wxString_in_helper(obj1
); 
5552         if (arg2 
== NULL
) SWIG_fail
; 
5556         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5557         result 
= (arg1
)->GetParamValue((wxString 
const &)*arg2
); 
5559         wxPyEndAllowThreads(__tstate
); 
5560         if (PyErr_Occurred()) SWIG_fail
; 
5564         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
5566         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
5583 static PyObject 
*_wrap_XmlResourceHandler_AddStyle(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5584     PyObject 
*resultobj
; 
5585     wxPyXmlResourceHandler 
*arg1 
= (wxPyXmlResourceHandler 
*) 0 ; 
5586     wxString 
*arg2 
= 0 ; 
5588     bool temp2 
= false ; 
5589     PyObject 
* obj0 
= 0 ; 
5590     PyObject 
* obj1 
= 0 ; 
5591     PyObject 
* obj2 
= 0 ; 
5593         (char *) "self",(char *) "name",(char *) "value", NULL 
 
5596     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:XmlResourceHandler_AddStyle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
5597     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyXmlResourceHandler
, SWIG_POINTER_EXCEPTION 
| 0); 
5598     if (SWIG_arg_fail(1)) SWIG_fail
; 
5600         arg2 
= wxString_in_helper(obj1
); 
5601         if (arg2 
== NULL
) SWIG_fail
; 
5605         arg3 
= (int)(SWIG_As_int(obj2
));  
5606         if (SWIG_arg_fail(3)) SWIG_fail
; 
5609         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5610         (arg1
)->AddStyle((wxString 
const &)*arg2
,arg3
); 
5612         wxPyEndAllowThreads(__tstate
); 
5613         if (PyErr_Occurred()) SWIG_fail
; 
5615     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
5630 static PyObject 
*_wrap_XmlResourceHandler_AddWindowStyles(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5631     PyObject 
*resultobj
; 
5632     wxPyXmlResourceHandler 
*arg1 
= (wxPyXmlResourceHandler 
*) 0 ; 
5633     PyObject 
* obj0 
= 0 ; 
5635         (char *) "self", NULL 
 
5638     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:XmlResourceHandler_AddWindowStyles",kwnames
,&obj0
)) goto fail
; 
5639     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyXmlResourceHandler
, SWIG_POINTER_EXCEPTION 
| 0); 
5640     if (SWIG_arg_fail(1)) SWIG_fail
; 
5642         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5643         (arg1
)->AddWindowStyles(); 
5645         wxPyEndAllowThreads(__tstate
); 
5646         if (PyErr_Occurred()) SWIG_fail
; 
5648     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
5655 static PyObject 
*_wrap_XmlResourceHandler_GetStyle(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5656     PyObject 
*resultobj
; 
5657     wxPyXmlResourceHandler 
*arg1 
= (wxPyXmlResourceHandler 
*) 0 ; 
5658     wxString 
const &arg2_defvalue 
= wxPyStyleString 
; 
5659     wxString 
*arg2 
= (wxString 
*) &arg2_defvalue 
; 
5660     int arg3 
= (int) 0 ; 
5662     bool temp2 
= false ; 
5663     PyObject 
* obj0 
= 0 ; 
5664     PyObject 
* obj1 
= 0 ; 
5665     PyObject 
* obj2 
= 0 ; 
5667         (char *) "self",(char *) "param",(char *) "defaults", NULL 
 
5670     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:XmlResourceHandler_GetStyle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
5671     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyXmlResourceHandler
, SWIG_POINTER_EXCEPTION 
| 0); 
5672     if (SWIG_arg_fail(1)) SWIG_fail
; 
5675             arg2 
= wxString_in_helper(obj1
); 
5676             if (arg2 
== NULL
) SWIG_fail
; 
5682             arg3 
= (int)(SWIG_As_int(obj2
));  
5683             if (SWIG_arg_fail(3)) SWIG_fail
; 
5687         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5688         result 
= (int)(arg1
)->GetStyle((wxString 
const &)*arg2
,arg3
); 
5690         wxPyEndAllowThreads(__tstate
); 
5691         if (PyErr_Occurred()) SWIG_fail
; 
5694         resultobj 
= SWIG_From_int((int)(result
));  
5710 static PyObject 
*_wrap_XmlResourceHandler_GetText(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5711     PyObject 
*resultobj
; 
5712     wxPyXmlResourceHandler 
*arg1 
= (wxPyXmlResourceHandler 
*) 0 ; 
5713     wxString 
*arg2 
= 0 ; 
5714     bool arg3 
= (bool) true ; 
5716     bool temp2 
= false ; 
5717     PyObject 
* obj0 
= 0 ; 
5718     PyObject 
* obj1 
= 0 ; 
5719     PyObject 
* obj2 
= 0 ; 
5721         (char *) "self",(char *) "param",(char *) "translate", NULL 
 
5724     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:XmlResourceHandler_GetText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
5725     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyXmlResourceHandler
, SWIG_POINTER_EXCEPTION 
| 0); 
5726     if (SWIG_arg_fail(1)) SWIG_fail
; 
5728         arg2 
= wxString_in_helper(obj1
); 
5729         if (arg2 
== NULL
) SWIG_fail
; 
5734             arg3 
= (bool)(SWIG_As_bool(obj2
));  
5735             if (SWIG_arg_fail(3)) SWIG_fail
; 
5739         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5740         result 
= (arg1
)->GetText((wxString 
const &)*arg2
,arg3
); 
5742         wxPyEndAllowThreads(__tstate
); 
5743         if (PyErr_Occurred()) SWIG_fail
; 
5747         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
5749         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
5766 static PyObject 
*_wrap_XmlResourceHandler_GetID(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5767     PyObject 
*resultobj
; 
5768     wxPyXmlResourceHandler 
*arg1 
= (wxPyXmlResourceHandler 
*) 0 ; 
5770     PyObject 
* obj0 
= 0 ; 
5772         (char *) "self", NULL 
 
5775     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:XmlResourceHandler_GetID",kwnames
,&obj0
)) goto fail
; 
5776     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyXmlResourceHandler
, SWIG_POINTER_EXCEPTION 
| 0); 
5777     if (SWIG_arg_fail(1)) SWIG_fail
; 
5779         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5780         result 
= (int)(arg1
)->GetID(); 
5782         wxPyEndAllowThreads(__tstate
); 
5783         if (PyErr_Occurred()) SWIG_fail
; 
5786         resultobj 
= SWIG_From_int((int)(result
));  
5794 static PyObject 
*_wrap_XmlResourceHandler_GetName(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5795     PyObject 
*resultobj
; 
5796     wxPyXmlResourceHandler 
*arg1 
= (wxPyXmlResourceHandler 
*) 0 ; 
5798     PyObject 
* obj0 
= 0 ; 
5800         (char *) "self", NULL 
 
5803     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:XmlResourceHandler_GetName",kwnames
,&obj0
)) goto fail
; 
5804     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyXmlResourceHandler
, SWIG_POINTER_EXCEPTION 
| 0); 
5805     if (SWIG_arg_fail(1)) SWIG_fail
; 
5807         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5808         result 
= (arg1
)->GetName(); 
5810         wxPyEndAllowThreads(__tstate
); 
5811         if (PyErr_Occurred()) SWIG_fail
; 
5815         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
5817         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
5826 static PyObject 
*_wrap_XmlResourceHandler_GetBool(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5827     PyObject 
*resultobj
; 
5828     wxPyXmlResourceHandler 
*arg1 
= (wxPyXmlResourceHandler 
*) 0 ; 
5829     wxString 
*arg2 
= 0 ; 
5830     bool arg3 
= (bool) false ; 
5832     bool temp2 
= false ; 
5833     PyObject 
* obj0 
= 0 ; 
5834     PyObject 
* obj1 
= 0 ; 
5835     PyObject 
* obj2 
= 0 ; 
5837         (char *) "self",(char *) "param",(char *) "defaultv", NULL 
 
5840     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:XmlResourceHandler_GetBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
5841     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyXmlResourceHandler
, SWIG_POINTER_EXCEPTION 
| 0); 
5842     if (SWIG_arg_fail(1)) SWIG_fail
; 
5844         arg2 
= wxString_in_helper(obj1
); 
5845         if (arg2 
== NULL
) SWIG_fail
; 
5850             arg3 
= (bool)(SWIG_As_bool(obj2
));  
5851             if (SWIG_arg_fail(3)) SWIG_fail
; 
5855         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5856         result 
= (bool)(arg1
)->GetBool((wxString 
const &)*arg2
,arg3
); 
5858         wxPyEndAllowThreads(__tstate
); 
5859         if (PyErr_Occurred()) SWIG_fail
; 
5862         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
5878 static PyObject 
*_wrap_XmlResourceHandler_GetLong(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5879     PyObject 
*resultobj
; 
5880     wxPyXmlResourceHandler 
*arg1 
= (wxPyXmlResourceHandler 
*) 0 ; 
5881     wxString 
*arg2 
= 0 ; 
5882     long arg3 
= (long) 0 ; 
5884     bool temp2 
= false ; 
5885     PyObject 
* obj0 
= 0 ; 
5886     PyObject 
* obj1 
= 0 ; 
5887     PyObject 
* obj2 
= 0 ; 
5889         (char *) "self",(char *) "param",(char *) "defaultv", NULL 
 
5892     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:XmlResourceHandler_GetLong",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
5893     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyXmlResourceHandler
, SWIG_POINTER_EXCEPTION 
| 0); 
5894     if (SWIG_arg_fail(1)) SWIG_fail
; 
5896         arg2 
= wxString_in_helper(obj1
); 
5897         if (arg2 
== NULL
) SWIG_fail
; 
5902             arg3 
= (long)(SWIG_As_long(obj2
));  
5903             if (SWIG_arg_fail(3)) SWIG_fail
; 
5907         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5908         result 
= (long)(arg1
)->GetLong((wxString 
const &)*arg2
,arg3
); 
5910         wxPyEndAllowThreads(__tstate
); 
5911         if (PyErr_Occurred()) SWIG_fail
; 
5914         resultobj 
= SWIG_From_long((long)(result
));  
5930 static PyObject 
*_wrap_XmlResourceHandler_GetColour(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5931     PyObject 
*resultobj
; 
5932     wxPyXmlResourceHandler 
*arg1 
= (wxPyXmlResourceHandler 
*) 0 ; 
5933     wxString 
*arg2 
= 0 ; 
5935     bool temp2 
= false ; 
5936     PyObject 
* obj0 
= 0 ; 
5937     PyObject 
* obj1 
= 0 ; 
5939         (char *) "self",(char *) "param", NULL 
 
5942     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:XmlResourceHandler_GetColour",kwnames
,&obj0
,&obj1
)) goto fail
; 
5943     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyXmlResourceHandler
, SWIG_POINTER_EXCEPTION 
| 0); 
5944     if (SWIG_arg_fail(1)) SWIG_fail
; 
5946         arg2 
= wxString_in_helper(obj1
); 
5947         if (arg2 
== NULL
) SWIG_fail
; 
5951         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5952         result 
= (arg1
)->GetColour((wxString 
const &)*arg2
); 
5954         wxPyEndAllowThreads(__tstate
); 
5955         if (PyErr_Occurred()) SWIG_fail
; 
5958         wxColour 
* resultptr
; 
5959         resultptr 
= new wxColour((wxColour 
&)(result
)); 
5960         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1); 
5976 static PyObject 
*_wrap_XmlResourceHandler_GetSize(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5977     PyObject 
*resultobj
; 
5978     wxPyXmlResourceHandler 
*arg1 
= (wxPyXmlResourceHandler 
*) 0 ; 
5979     wxString 
const &arg2_defvalue 
= wxPySizeString 
; 
5980     wxString 
*arg2 
= (wxString 
*) &arg2_defvalue 
; 
5982     bool temp2 
= false ; 
5983     PyObject 
* obj0 
= 0 ; 
5984     PyObject 
* obj1 
= 0 ; 
5986         (char *) "self",(char *) "param", NULL 
 
5989     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:XmlResourceHandler_GetSize",kwnames
,&obj0
,&obj1
)) goto fail
; 
5990     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyXmlResourceHandler
, SWIG_POINTER_EXCEPTION 
| 0); 
5991     if (SWIG_arg_fail(1)) SWIG_fail
; 
5994             arg2 
= wxString_in_helper(obj1
); 
5995             if (arg2 
== NULL
) SWIG_fail
; 
6000         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6001         result 
= (arg1
)->GetSize((wxString 
const &)*arg2
); 
6003         wxPyEndAllowThreads(__tstate
); 
6004         if (PyErr_Occurred()) SWIG_fail
; 
6008         resultptr 
= new wxSize((wxSize 
&)(result
)); 
6009         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1); 
6025 static PyObject 
*_wrap_XmlResourceHandler_GetPosition(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6026     PyObject 
*resultobj
; 
6027     wxPyXmlResourceHandler 
*arg1 
= (wxPyXmlResourceHandler 
*) 0 ; 
6028     wxString 
const &arg2_defvalue 
= wxPyPosString 
; 
6029     wxString 
*arg2 
= (wxString 
*) &arg2_defvalue 
; 
6031     bool temp2 
= false ; 
6032     PyObject 
* obj0 
= 0 ; 
6033     PyObject 
* obj1 
= 0 ; 
6035         (char *) "self",(char *) "param", NULL 
 
6038     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:XmlResourceHandler_GetPosition",kwnames
,&obj0
,&obj1
)) goto fail
; 
6039     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyXmlResourceHandler
, SWIG_POINTER_EXCEPTION 
| 0); 
6040     if (SWIG_arg_fail(1)) SWIG_fail
; 
6043             arg2 
= wxString_in_helper(obj1
); 
6044             if (arg2 
== NULL
) SWIG_fail
; 
6049         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6050         result 
= (arg1
)->GetPosition((wxString 
const &)*arg2
); 
6052         wxPyEndAllowThreads(__tstate
); 
6053         if (PyErr_Occurred()) SWIG_fail
; 
6056         wxPoint 
* resultptr
; 
6057         resultptr 
= new wxPoint((wxPoint 
&)(result
)); 
6058         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1); 
6074 static PyObject 
*_wrap_XmlResourceHandler_GetDimension(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6075     PyObject 
*resultobj
; 
6076     wxPyXmlResourceHandler 
*arg1 
= (wxPyXmlResourceHandler 
*) 0 ; 
6077     wxString 
*arg2 
= 0 ; 
6078     int arg3 
= (int) 0 ; 
6080     bool temp2 
= false ; 
6081     PyObject 
* obj0 
= 0 ; 
6082     PyObject 
* obj1 
= 0 ; 
6083     PyObject 
* obj2 
= 0 ; 
6085         (char *) "self",(char *) "param",(char *) "defaultv", NULL 
 
6088     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:XmlResourceHandler_GetDimension",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
6089     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyXmlResourceHandler
, SWIG_POINTER_EXCEPTION 
| 0); 
6090     if (SWIG_arg_fail(1)) SWIG_fail
; 
6092         arg2 
= wxString_in_helper(obj1
); 
6093         if (arg2 
== NULL
) SWIG_fail
; 
6098             arg3 
= (int)(SWIG_As_int(obj2
));  
6099             if (SWIG_arg_fail(3)) SWIG_fail
; 
6103         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6104         result 
= (int)(arg1
)->GetDimension((wxString 
const &)*arg2
,arg3
); 
6106         wxPyEndAllowThreads(__tstate
); 
6107         if (PyErr_Occurred()) SWIG_fail
; 
6110         resultobj 
= SWIG_From_int((int)(result
));  
6126 static PyObject 
*_wrap_XmlResourceHandler_GetBitmap(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6127     PyObject 
*resultobj
; 
6128     wxPyXmlResourceHandler 
*arg1 
= (wxPyXmlResourceHandler 
*) 0 ; 
6129     wxString 
const &arg2_defvalue 
= wxPyBitmapString 
; 
6130     wxString 
*arg2 
= (wxString 
*) &arg2_defvalue 
; 
6131     wxArtClient 
const &arg3_defvalue 
= wxART_OTHER 
; 
6132     wxArtClient 
*arg3 
= (wxArtClient 
*) &arg3_defvalue 
; 
6133     wxSize arg4 
= (wxSize
) wxDefaultSize 
; 
6135     bool temp2 
= false ; 
6136     PyObject 
* obj0 
= 0 ; 
6137     PyObject 
* obj1 
= 0 ; 
6138     PyObject 
* obj2 
= 0 ; 
6139     PyObject 
* obj3 
= 0 ; 
6141         (char *) "self",(char *) "param",(char *) "defaultArtClient",(char *) "size", NULL 
 
6144     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:XmlResourceHandler_GetBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
6145     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyXmlResourceHandler
, SWIG_POINTER_EXCEPTION 
| 0); 
6146     if (SWIG_arg_fail(1)) SWIG_fail
; 
6149             arg2 
= wxString_in_helper(obj1
); 
6150             if (arg2 
== NULL
) SWIG_fail
; 
6156             SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxArtClient
, SWIG_POINTER_EXCEPTION 
| 0); 
6157             if (SWIG_arg_fail(3)) SWIG_fail
; 
6159                 SWIG_null_ref("wxArtClient"); 
6161             if (SWIG_arg_fail(3)) SWIG_fail
; 
6167             SWIG_Python_ConvertPtr(obj3
, (void **)&argp
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
); 
6168             if (SWIG_arg_fail(4)) SWIG_fail
; 
6170                 SWIG_null_ref("wxSize"); 
6172             if (SWIG_arg_fail(4)) SWIG_fail
; 
6177         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6178         result 
= (arg1
)->GetBitmap((wxString 
const &)*arg2
,(wxArtClient 
const &)*arg3
,arg4
); 
6180         wxPyEndAllowThreads(__tstate
); 
6181         if (PyErr_Occurred()) SWIG_fail
; 
6184         wxBitmap 
* resultptr
; 
6185         resultptr 
= new wxBitmap((wxBitmap 
&)(result
)); 
6186         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1); 
6202 static PyObject 
*_wrap_XmlResourceHandler_GetIcon(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6203     PyObject 
*resultobj
; 
6204     wxPyXmlResourceHandler 
*arg1 
= (wxPyXmlResourceHandler 
*) 0 ; 
6205     wxString 
const &arg2_defvalue 
= wxPyIconString 
; 
6206     wxString 
*arg2 
= (wxString 
*) &arg2_defvalue 
; 
6207     wxArtClient 
const &arg3_defvalue 
= wxART_OTHER 
; 
6208     wxArtClient 
*arg3 
= (wxArtClient 
*) &arg3_defvalue 
; 
6209     wxSize arg4 
= (wxSize
) wxDefaultSize 
; 
6211     bool temp2 
= false ; 
6212     PyObject 
* obj0 
= 0 ; 
6213     PyObject 
* obj1 
= 0 ; 
6214     PyObject 
* obj2 
= 0 ; 
6215     PyObject 
* obj3 
= 0 ; 
6217         (char *) "self",(char *) "param",(char *) "defaultArtClient",(char *) "size", NULL 
 
6220     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:XmlResourceHandler_GetIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
6221     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyXmlResourceHandler
, SWIG_POINTER_EXCEPTION 
| 0); 
6222     if (SWIG_arg_fail(1)) SWIG_fail
; 
6225             arg2 
= wxString_in_helper(obj1
); 
6226             if (arg2 
== NULL
) SWIG_fail
; 
6232             SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxArtClient
, SWIG_POINTER_EXCEPTION 
| 0); 
6233             if (SWIG_arg_fail(3)) SWIG_fail
; 
6235                 SWIG_null_ref("wxArtClient"); 
6237             if (SWIG_arg_fail(3)) SWIG_fail
; 
6243             SWIG_Python_ConvertPtr(obj3
, (void **)&argp
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
); 
6244             if (SWIG_arg_fail(4)) SWIG_fail
; 
6246                 SWIG_null_ref("wxSize"); 
6248             if (SWIG_arg_fail(4)) SWIG_fail
; 
6253         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6254         result 
= (arg1
)->GetIcon((wxString 
const &)*arg2
,(wxArtClient 
const &)*arg3
,arg4
); 
6256         wxPyEndAllowThreads(__tstate
); 
6257         if (PyErr_Occurred()) SWIG_fail
; 
6261         resultptr 
= new wxIcon((wxIcon 
&)(result
)); 
6262         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxIcon
, 1); 
6278 static PyObject 
*_wrap_XmlResourceHandler_GetFont(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6279     PyObject 
*resultobj
; 
6280     wxPyXmlResourceHandler 
*arg1 
= (wxPyXmlResourceHandler 
*) 0 ; 
6281     wxString 
const &arg2_defvalue 
= wxPyFontString 
; 
6282     wxString 
*arg2 
= (wxString 
*) &arg2_defvalue 
; 
6284     bool temp2 
= false ; 
6285     PyObject 
* obj0 
= 0 ; 
6286     PyObject 
* obj1 
= 0 ; 
6288         (char *) "self",(char *) "param", NULL 
 
6291     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:XmlResourceHandler_GetFont",kwnames
,&obj0
,&obj1
)) goto fail
; 
6292     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyXmlResourceHandler
, SWIG_POINTER_EXCEPTION 
| 0); 
6293     if (SWIG_arg_fail(1)) SWIG_fail
; 
6296             arg2 
= wxString_in_helper(obj1
); 
6297             if (arg2 
== NULL
) SWIG_fail
; 
6302         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6303         result 
= (arg1
)->GetFont((wxString 
const &)*arg2
); 
6305         wxPyEndAllowThreads(__tstate
); 
6306         if (PyErr_Occurred()) SWIG_fail
; 
6310         resultptr 
= new wxFont((wxFont 
&)(result
)); 
6311         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1); 
6327 static PyObject 
*_wrap_XmlResourceHandler_SetupWindow(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6328     PyObject 
*resultobj
; 
6329     wxPyXmlResourceHandler 
*arg1 
= (wxPyXmlResourceHandler 
*) 0 ; 
6330     wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
6331     PyObject 
* obj0 
= 0 ; 
6332     PyObject 
* obj1 
= 0 ; 
6334         (char *) "self",(char *) "wnd", NULL 
 
6337     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:XmlResourceHandler_SetupWindow",kwnames
,&obj0
,&obj1
)) goto fail
; 
6338     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyXmlResourceHandler
, SWIG_POINTER_EXCEPTION 
| 0); 
6339     if (SWIG_arg_fail(1)) SWIG_fail
; 
6340     SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
6341     if (SWIG_arg_fail(2)) SWIG_fail
; 
6343         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6344         (arg1
)->SetupWindow(arg2
); 
6346         wxPyEndAllowThreads(__tstate
); 
6347         if (PyErr_Occurred()) SWIG_fail
; 
6349     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
6356 static PyObject 
*_wrap_XmlResourceHandler_CreateChildren(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6357     PyObject 
*resultobj
; 
6358     wxPyXmlResourceHandler 
*arg1 
= (wxPyXmlResourceHandler 
*) 0 ; 
6359     wxObject 
*arg2 
= (wxObject 
*) 0 ; 
6360     bool arg3 
= (bool) false ; 
6361     PyObject 
* obj0 
= 0 ; 
6362     PyObject 
* obj1 
= 0 ; 
6363     PyObject 
* obj2 
= 0 ; 
6365         (char *) "self",(char *) "parent",(char *) "this_hnd_only", NULL 
 
6368     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:XmlResourceHandler_CreateChildren",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
6369     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyXmlResourceHandler
, SWIG_POINTER_EXCEPTION 
| 0); 
6370     if (SWIG_arg_fail(1)) SWIG_fail
; 
6371     SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxObject
, SWIG_POINTER_EXCEPTION 
| 0); 
6372     if (SWIG_arg_fail(2)) SWIG_fail
; 
6375             arg3 
= (bool)(SWIG_As_bool(obj2
));  
6376             if (SWIG_arg_fail(3)) SWIG_fail
; 
6380         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6381         (arg1
)->CreateChildren(arg2
,arg3
); 
6383         wxPyEndAllowThreads(__tstate
); 
6384         if (PyErr_Occurred()) SWIG_fail
; 
6386     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
6393 static PyObject 
*_wrap_XmlResourceHandler_CreateChildrenPrivately(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6394     PyObject 
*resultobj
; 
6395     wxPyXmlResourceHandler 
*arg1 
= (wxPyXmlResourceHandler 
*) 0 ; 
6396     wxObject 
*arg2 
= (wxObject 
*) 0 ; 
6397     wxXmlNode 
*arg3 
= (wxXmlNode 
*) NULL 
; 
6398     PyObject 
* obj0 
= 0 ; 
6399     PyObject 
* obj1 
= 0 ; 
6400     PyObject 
* obj2 
= 0 ; 
6402         (char *) "self",(char *) "parent",(char *) "rootnode", NULL 
 
6405     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:XmlResourceHandler_CreateChildrenPrivately",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
6406     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyXmlResourceHandler
, SWIG_POINTER_EXCEPTION 
| 0); 
6407     if (SWIG_arg_fail(1)) SWIG_fail
; 
6408     SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxObject
, SWIG_POINTER_EXCEPTION 
| 0); 
6409     if (SWIG_arg_fail(2)) SWIG_fail
; 
6411         SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxXmlNode
, SWIG_POINTER_EXCEPTION 
| 0); 
6412         if (SWIG_arg_fail(3)) SWIG_fail
; 
6415         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6416         (arg1
)->CreateChildrenPrivately(arg2
,arg3
); 
6418         wxPyEndAllowThreads(__tstate
); 
6419         if (PyErr_Occurred()) SWIG_fail
; 
6421     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
6428 static PyObject 
*_wrap_XmlResourceHandler_CreateResFromNode(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6429     PyObject 
*resultobj
; 
6430     wxPyXmlResourceHandler 
*arg1 
= (wxPyXmlResourceHandler 
*) 0 ; 
6431     wxXmlNode 
*arg2 
= (wxXmlNode 
*) 0 ; 
6432     wxObject 
*arg3 
= (wxObject 
*) 0 ; 
6433     wxObject 
*arg4 
= (wxObject 
*) NULL 
; 
6435     PyObject 
* obj0 
= 0 ; 
6436     PyObject 
* obj1 
= 0 ; 
6437     PyObject 
* obj2 
= 0 ; 
6438     PyObject 
* obj3 
= 0 ; 
6440         (char *) "self",(char *) "node",(char *) "parent",(char *) "instance", NULL 
 
6443     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:XmlResourceHandler_CreateResFromNode",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
6444     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyXmlResourceHandler
, SWIG_POINTER_EXCEPTION 
| 0); 
6445     if (SWIG_arg_fail(1)) SWIG_fail
; 
6446     SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxXmlNode
, SWIG_POINTER_EXCEPTION 
| 0); 
6447     if (SWIG_arg_fail(2)) SWIG_fail
; 
6448     SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxObject
, SWIG_POINTER_EXCEPTION 
| 0); 
6449     if (SWIG_arg_fail(3)) SWIG_fail
; 
6451         SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxObject
, SWIG_POINTER_EXCEPTION 
| 0); 
6452         if (SWIG_arg_fail(4)) SWIG_fail
; 
6455         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6456         result 
= (wxObject 
*)(arg1
)->CreateResFromNode(arg2
,arg3
,arg4
); 
6458         wxPyEndAllowThreads(__tstate
); 
6459         if (PyErr_Occurred()) SWIG_fail
; 
6462         resultobj 
= wxPyMake_wxObject(result
, 0);  
6470 static PyObject 
*_wrap_XmlResourceHandler_GetCurFileSystem(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6471     PyObject 
*resultobj
; 
6472     wxPyXmlResourceHandler 
*arg1 
= (wxPyXmlResourceHandler 
*) 0 ; 
6473     wxFileSystem 
*result
; 
6474     PyObject 
* obj0 
= 0 ; 
6476         (char *) "self", NULL 
 
6479     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:XmlResourceHandler_GetCurFileSystem",kwnames
,&obj0
)) goto fail
; 
6480     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyXmlResourceHandler
, SWIG_POINTER_EXCEPTION 
| 0); 
6481     if (SWIG_arg_fail(1)) SWIG_fail
; 
6483         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6485             wxFileSystem 
&_result_ref 
= (arg1
)->GetCurFileSystem(); 
6486             result 
= (wxFileSystem 
*) &_result_ref
; 
6489         wxPyEndAllowThreads(__tstate
); 
6490         if (PyErr_Occurred()) SWIG_fail
; 
6492     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileSystem
, 0); 
6499 static PyObject 
* XmlResourceHandler_swigregister(PyObject 
*, PyObject 
*args
) { 
6501     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
6502     SWIG_TypeClientData(SWIGTYPE_p_wxPyXmlResourceHandler
, obj
); 
6504     return Py_BuildValue((char *)""); 
6506 static PyMethodDef SwigMethods
[] = { 
6507          { (char *)"new_XmlResource", (PyCFunction
) _wrap_new_XmlResource
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6508          { (char *)"new_EmptyXmlResource", (PyCFunction
) _wrap_new_EmptyXmlResource
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6509          { (char *)"delete_XmlResource", (PyCFunction
) _wrap_delete_XmlResource
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6510          { (char *)"XmlResource_Load", (PyCFunction
) _wrap_XmlResource_Load
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6511          { (char *)"XmlResource_LoadFromString", (PyCFunction
) _wrap_XmlResource_LoadFromString
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6512          { (char *)"XmlResource_InitAllHandlers", (PyCFunction
) _wrap_XmlResource_InitAllHandlers
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6513          { (char *)"XmlResource_AddHandler", (PyCFunction
) _wrap_XmlResource_AddHandler
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6514          { (char *)"XmlResource_InsertHandler", (PyCFunction
) _wrap_XmlResource_InsertHandler
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6515          { (char *)"XmlResource_ClearHandlers", (PyCFunction
) _wrap_XmlResource_ClearHandlers
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6516          { (char *)"XmlResource_AddSubclassFactory", (PyCFunction
) _wrap_XmlResource_AddSubclassFactory
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6517          { (char *)"XmlResource_LoadMenu", (PyCFunction
) _wrap_XmlResource_LoadMenu
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6518          { (char *)"XmlResource_LoadMenuBar", (PyCFunction
) _wrap_XmlResource_LoadMenuBar
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6519          { (char *)"XmlResource_LoadMenuBarOnFrame", (PyCFunction
) _wrap_XmlResource_LoadMenuBarOnFrame
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6520          { (char *)"XmlResource_LoadToolBar", (PyCFunction
) _wrap_XmlResource_LoadToolBar
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6521          { (char *)"XmlResource_LoadDialog", (PyCFunction
) _wrap_XmlResource_LoadDialog
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6522          { (char *)"XmlResource_LoadOnDialog", (PyCFunction
) _wrap_XmlResource_LoadOnDialog
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6523          { (char *)"XmlResource_LoadPanel", (PyCFunction
) _wrap_XmlResource_LoadPanel
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6524          { (char *)"XmlResource_LoadOnPanel", (PyCFunction
) _wrap_XmlResource_LoadOnPanel
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6525          { (char *)"XmlResource_LoadFrame", (PyCFunction
) _wrap_XmlResource_LoadFrame
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6526          { (char *)"XmlResource_LoadOnFrame", (PyCFunction
) _wrap_XmlResource_LoadOnFrame
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6527          { (char *)"XmlResource_LoadObject", (PyCFunction
) _wrap_XmlResource_LoadObject
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6528          { (char *)"XmlResource_LoadOnObject", (PyCFunction
) _wrap_XmlResource_LoadOnObject
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6529          { (char *)"XmlResource_LoadBitmap", (PyCFunction
) _wrap_XmlResource_LoadBitmap
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6530          { (char *)"XmlResource_LoadIcon", (PyCFunction
) _wrap_XmlResource_LoadIcon
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6531          { (char *)"XmlResource_AttachUnknownControl", (PyCFunction
) _wrap_XmlResource_AttachUnknownControl
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6532          { (char *)"XmlResource_GetXRCID", (PyCFunction
) _wrap_XmlResource_GetXRCID
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6533          { (char *)"XmlResource_GetVersion", (PyCFunction
) _wrap_XmlResource_GetVersion
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6534          { (char *)"XmlResource_CompareVersion", (PyCFunction
) _wrap_XmlResource_CompareVersion
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6535          { (char *)"XmlResource_Get", (PyCFunction
) _wrap_XmlResource_Get
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6536          { (char *)"XmlResource_Set", (PyCFunction
) _wrap_XmlResource_Set
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6537          { (char *)"XmlResource_GetFlags", (PyCFunction
) _wrap_XmlResource_GetFlags
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6538          { (char *)"XmlResource_SetFlags", (PyCFunction
) _wrap_XmlResource_SetFlags
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6539          { (char *)"XmlResource_swigregister", XmlResource_swigregister
, METH_VARARGS
, NULL
}, 
6540          { (char *)"new_XmlSubclassFactory", (PyCFunction
) _wrap_new_XmlSubclassFactory
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6541          { (char *)"XmlSubclassFactory__setCallbackInfo", (PyCFunction
) _wrap_XmlSubclassFactory__setCallbackInfo
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6542          { (char *)"XmlSubclassFactory_swigregister", XmlSubclassFactory_swigregister
, METH_VARARGS
, NULL
}, 
6543          { (char *)"new_XmlProperty", (PyCFunction
) _wrap_new_XmlProperty
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6544          { (char *)"XmlProperty_GetName", (PyCFunction
) _wrap_XmlProperty_GetName
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6545          { (char *)"XmlProperty_GetValue", (PyCFunction
) _wrap_XmlProperty_GetValue
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6546          { (char *)"XmlProperty_GetNext", (PyCFunction
) _wrap_XmlProperty_GetNext
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6547          { (char *)"XmlProperty_SetName", (PyCFunction
) _wrap_XmlProperty_SetName
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6548          { (char *)"XmlProperty_SetValue", (PyCFunction
) _wrap_XmlProperty_SetValue
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6549          { (char *)"XmlProperty_SetNext", (PyCFunction
) _wrap_XmlProperty_SetNext
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6550          { (char *)"XmlProperty_swigregister", XmlProperty_swigregister
, METH_VARARGS
, NULL
}, 
6551          { (char *)"new_XmlNode", (PyCFunction
) _wrap_new_XmlNode
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6552          { (char *)"delete_XmlNode", (PyCFunction
) _wrap_delete_XmlNode
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6553          { (char *)"new_XmlNodeEasy", (PyCFunction
) _wrap_new_XmlNodeEasy
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6554          { (char *)"XmlNode_AddChild", (PyCFunction
) _wrap_XmlNode_AddChild
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6555          { (char *)"XmlNode_InsertChild", (PyCFunction
) _wrap_XmlNode_InsertChild
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6556          { (char *)"XmlNode_RemoveChild", (PyCFunction
) _wrap_XmlNode_RemoveChild
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6557          { (char *)"XmlNode_AddProperty", (PyCFunction
) _wrap_XmlNode_AddProperty
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6558          { (char *)"XmlNode_AddPropertyName", (PyCFunction
) _wrap_XmlNode_AddPropertyName
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6559          { (char *)"XmlNode_DeleteProperty", (PyCFunction
) _wrap_XmlNode_DeleteProperty
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6560          { (char *)"XmlNode_GetType", (PyCFunction
) _wrap_XmlNode_GetType
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6561          { (char *)"XmlNode_GetName", (PyCFunction
) _wrap_XmlNode_GetName
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6562          { (char *)"XmlNode_GetContent", (PyCFunction
) _wrap_XmlNode_GetContent
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6563          { (char *)"XmlNode_GetParent", (PyCFunction
) _wrap_XmlNode_GetParent
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6564          { (char *)"XmlNode_GetNext", (PyCFunction
) _wrap_XmlNode_GetNext
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6565          { (char *)"XmlNode_GetChildren", (PyCFunction
) _wrap_XmlNode_GetChildren
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6566          { (char *)"XmlNode_GetProperties", (PyCFunction
) _wrap_XmlNode_GetProperties
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6567          { (char *)"XmlNode_GetPropVal", (PyCFunction
) _wrap_XmlNode_GetPropVal
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6568          { (char *)"XmlNode_HasProp", (PyCFunction
) _wrap_XmlNode_HasProp
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6569          { (char *)"XmlNode_SetType", (PyCFunction
) _wrap_XmlNode_SetType
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6570          { (char *)"XmlNode_SetName", (PyCFunction
) _wrap_XmlNode_SetName
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6571          { (char *)"XmlNode_SetContent", (PyCFunction
) _wrap_XmlNode_SetContent
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6572          { (char *)"XmlNode_SetParent", (PyCFunction
) _wrap_XmlNode_SetParent
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6573          { (char *)"XmlNode_SetNext", (PyCFunction
) _wrap_XmlNode_SetNext
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6574          { (char *)"XmlNode_SetChildren", (PyCFunction
) _wrap_XmlNode_SetChildren
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6575          { (char *)"XmlNode_SetProperties", (PyCFunction
) _wrap_XmlNode_SetProperties
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6576          { (char *)"XmlNode_swigregister", XmlNode_swigregister
, METH_VARARGS
, NULL
}, 
6577          { (char *)"new_XmlDocument", (PyCFunction
) _wrap_new_XmlDocument
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6578          { (char *)"new_XmlDocumentFromStream", (PyCFunction
) _wrap_new_XmlDocumentFromStream
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6579          { (char *)"new_EmptyXmlDocument", (PyCFunction
) _wrap_new_EmptyXmlDocument
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6580          { (char *)"delete_XmlDocument", (PyCFunction
) _wrap_delete_XmlDocument
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6581          { (char *)"XmlDocument_Load", (PyCFunction
) _wrap_XmlDocument_Load
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6582          { (char *)"XmlDocument_LoadFromStream", (PyCFunction
) _wrap_XmlDocument_LoadFromStream
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6583          { (char *)"XmlDocument_Save", (PyCFunction
) _wrap_XmlDocument_Save
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6584          { (char *)"XmlDocument_SaveToStream", (PyCFunction
) _wrap_XmlDocument_SaveToStream
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6585          { (char *)"XmlDocument_IsOk", (PyCFunction
) _wrap_XmlDocument_IsOk
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6586          { (char *)"XmlDocument_GetRoot", (PyCFunction
) _wrap_XmlDocument_GetRoot
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6587          { (char *)"XmlDocument_GetVersion", (PyCFunction
) _wrap_XmlDocument_GetVersion
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6588          { (char *)"XmlDocument_GetFileEncoding", (PyCFunction
) _wrap_XmlDocument_GetFileEncoding
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6589          { (char *)"XmlDocument_SetRoot", (PyCFunction
) _wrap_XmlDocument_SetRoot
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6590          { (char *)"XmlDocument_SetVersion", (PyCFunction
) _wrap_XmlDocument_SetVersion
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6591          { (char *)"XmlDocument_SetFileEncoding", (PyCFunction
) _wrap_XmlDocument_SetFileEncoding
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6592          { (char *)"XmlDocument_swigregister", XmlDocument_swigregister
, METH_VARARGS
, NULL
}, 
6593          { (char *)"new_XmlResourceHandler", (PyCFunction
) _wrap_new_XmlResourceHandler
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6594          { (char *)"XmlResourceHandler__setCallbackInfo", (PyCFunction
) _wrap_XmlResourceHandler__setCallbackInfo
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6595          { (char *)"XmlResourceHandler_CreateResource", (PyCFunction
) _wrap_XmlResourceHandler_CreateResource
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6596          { (char *)"XmlResourceHandler_SetParentResource", (PyCFunction
) _wrap_XmlResourceHandler_SetParentResource
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6597          { (char *)"XmlResourceHandler_GetResource", (PyCFunction
) _wrap_XmlResourceHandler_GetResource
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6598          { (char *)"XmlResourceHandler_GetNode", (PyCFunction
) _wrap_XmlResourceHandler_GetNode
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6599          { (char *)"XmlResourceHandler_GetClass", (PyCFunction
) _wrap_XmlResourceHandler_GetClass
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6600          { (char *)"XmlResourceHandler_GetParent", (PyCFunction
) _wrap_XmlResourceHandler_GetParent
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6601          { (char *)"XmlResourceHandler_GetInstance", (PyCFunction
) _wrap_XmlResourceHandler_GetInstance
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6602          { (char *)"XmlResourceHandler_GetParentAsWindow", (PyCFunction
) _wrap_XmlResourceHandler_GetParentAsWindow
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6603          { (char *)"XmlResourceHandler_IsOfClass", (PyCFunction
) _wrap_XmlResourceHandler_IsOfClass
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6604          { (char *)"XmlResourceHandler_GetNodeContent", (PyCFunction
) _wrap_XmlResourceHandler_GetNodeContent
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6605          { (char *)"XmlResourceHandler_HasParam", (PyCFunction
) _wrap_XmlResourceHandler_HasParam
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6606          { (char *)"XmlResourceHandler_GetParamNode", (PyCFunction
) _wrap_XmlResourceHandler_GetParamNode
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6607          { (char *)"XmlResourceHandler_GetParamValue", (PyCFunction
) _wrap_XmlResourceHandler_GetParamValue
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6608          { (char *)"XmlResourceHandler_AddStyle", (PyCFunction
) _wrap_XmlResourceHandler_AddStyle
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6609          { (char *)"XmlResourceHandler_AddWindowStyles", (PyCFunction
) _wrap_XmlResourceHandler_AddWindowStyles
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6610          { (char *)"XmlResourceHandler_GetStyle", (PyCFunction
) _wrap_XmlResourceHandler_GetStyle
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6611          { (char *)"XmlResourceHandler_GetText", (PyCFunction
) _wrap_XmlResourceHandler_GetText
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6612          { (char *)"XmlResourceHandler_GetID", (PyCFunction
) _wrap_XmlResourceHandler_GetID
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6613          { (char *)"XmlResourceHandler_GetName", (PyCFunction
) _wrap_XmlResourceHandler_GetName
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6614          { (char *)"XmlResourceHandler_GetBool", (PyCFunction
) _wrap_XmlResourceHandler_GetBool
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6615          { (char *)"XmlResourceHandler_GetLong", (PyCFunction
) _wrap_XmlResourceHandler_GetLong
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6616          { (char *)"XmlResourceHandler_GetColour", (PyCFunction
) _wrap_XmlResourceHandler_GetColour
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6617          { (char *)"XmlResourceHandler_GetSize", (PyCFunction
) _wrap_XmlResourceHandler_GetSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6618          { (char *)"XmlResourceHandler_GetPosition", (PyCFunction
) _wrap_XmlResourceHandler_GetPosition
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6619          { (char *)"XmlResourceHandler_GetDimension", (PyCFunction
) _wrap_XmlResourceHandler_GetDimension
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6620          { (char *)"XmlResourceHandler_GetBitmap", (PyCFunction
) _wrap_XmlResourceHandler_GetBitmap
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6621          { (char *)"XmlResourceHandler_GetIcon", (PyCFunction
) _wrap_XmlResourceHandler_GetIcon
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6622          { (char *)"XmlResourceHandler_GetFont", (PyCFunction
) _wrap_XmlResourceHandler_GetFont
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6623          { (char *)"XmlResourceHandler_SetupWindow", (PyCFunction
) _wrap_XmlResourceHandler_SetupWindow
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6624          { (char *)"XmlResourceHandler_CreateChildren", (PyCFunction
) _wrap_XmlResourceHandler_CreateChildren
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6625          { (char *)"XmlResourceHandler_CreateChildrenPrivately", (PyCFunction
) _wrap_XmlResourceHandler_CreateChildrenPrivately
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6626          { (char *)"XmlResourceHandler_CreateResFromNode", (PyCFunction
) _wrap_XmlResourceHandler_CreateResFromNode
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6627          { (char *)"XmlResourceHandler_GetCurFileSystem", (PyCFunction
) _wrap_XmlResourceHandler_GetCurFileSystem
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6628          { (char *)"XmlResourceHandler_swigregister", XmlResourceHandler_swigregister
, METH_VARARGS
, NULL
}, 
6629          { NULL
, NULL
, 0, NULL 
} 
6633 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */ 
6635 static void *_p_wxControlTo_p_wxWindow(void *x
) { 
6636     return (void *)((wxWindow 
*)  ((wxControl 
*) x
)); 
6638 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) { 
6639     return (void *)((wxWindow 
*) (wxControl 
*) ((wxControlWithItems 
*) x
)); 
6641 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) { 
6642     return (void *)((wxWindow 
*)  ((wxMenuBar 
*) x
)); 
6644 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) { 
6645     return (void *)((wxObject 
*)  ((wxLayoutConstraints 
*) x
)); 
6647 static void *_p_wxXmlDocumentTo_p_wxObject(void *x
) { 
6648     return (void *)((wxObject 
*)  ((wxXmlDocument 
*) x
)); 
6650 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) { 
6651     return (void *)((wxObject 
*) (wxSizerItem 
*) ((wxGBSizerItem 
*) x
)); 
6653 static void *_p_wxSizerItemTo_p_wxObject(void *x
) { 
6654     return (void *)((wxObject 
*)  ((wxSizerItem 
*) x
)); 
6656 static void *_p_wxScrollEventTo_p_wxObject(void *x
) { 
6657     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxScrollEvent 
*) x
)); 
6659 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) { 
6660     return (void *)((wxObject 
*)  ((wxIndividualLayoutConstraint 
*) x
)); 
6662 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) { 
6663     return (void *)((wxObject 
*) (wxSizer 
*)(wxBoxSizer 
*) ((wxStaticBoxSizer 
*) x
)); 
6665 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) { 
6666     return (void *)((wxObject 
*) (wxSizer 
*) ((wxBoxSizer 
*) x
)); 
6668 static void *_p_wxSizerTo_p_wxObject(void *x
) { 
6669     return (void *)((wxObject 
*)  ((wxSizer 
*) x
)); 
6671 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) { 
6672     return (void *)((wxObject 
*) (wxSizer 
*)(wxGridSizer 
*)(wxFlexGridSizer 
*) ((wxGridBagSizer 
*) x
)); 
6674 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) { 
6675     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxUpdateUIEvent 
*) x
)); 
6677 static void *_p_wxEventTo_p_wxObject(void *x
) { 
6678     return (void *)((wxObject 
*)  ((wxEvent 
*) x
)); 
6680 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) { 
6681     return (void *)((wxObject 
*) (wxSizer 
*)(wxGridSizer 
*) ((wxFlexGridSizer 
*) x
)); 
6683 static void *_p_wxGridSizerTo_p_wxObject(void *x
) { 
6684     return (void *)((wxObject 
*) (wxSizer 
*) ((wxGridSizer 
*) x
)); 
6686 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) { 
6687     return (void *)((wxObject 
*) (wxEvent 
*) ((wxInitDialogEvent 
*) x
)); 
6689 static void *_p_wxPaintEventTo_p_wxObject(void *x
) { 
6690     return (void *)((wxObject 
*) (wxEvent 
*) ((wxPaintEvent 
*) x
)); 
6692 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) { 
6693     return (void *)((wxObject 
*) (wxEvent 
*) ((wxNcPaintEvent 
*) x
)); 
6695 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) { 
6696     return (void *)((wxObject 
*) (wxEvent 
*) ((wxPaletteChangedEvent 
*) x
)); 
6698 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) { 
6699     return (void *)((wxObject 
*) (wxEvent 
*) ((wxDisplayChangedEvent 
*) x
)); 
6701 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) { 
6702     return (void *)((wxObject 
*) (wxEvent 
*) ((wxMouseCaptureChangedEvent 
*) x
)); 
6704 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) { 
6705     return (void *)((wxObject 
*) (wxEvent 
*) ((wxSysColourChangedEvent 
*) x
)); 
6707 static void *_p_wxControlTo_p_wxObject(void *x
) { 
6708     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*) ((wxControl 
*) x
)); 
6710 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) { 
6711     return (void *)((wxObject 
*) (wxEvent 
*) ((wxSetCursorEvent 
*) x
)); 
6713 static void *_p_wxFSFileTo_p_wxObject(void *x
) { 
6714     return (void *)((wxObject 
*)  ((wxFSFile 
*) x
)); 
6716 static void *_p_wxPySizerTo_p_wxObject(void *x
) { 
6717     return (void *)((wxObject 
*) (wxSizer 
*) ((wxPySizer 
*) x
)); 
6719 static void *_p_wxPyEventTo_p_wxObject(void *x
) { 
6720     return (void *)((wxObject 
*) (wxEvent 
*) ((wxPyEvent 
*) x
)); 
6722 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) { 
6723     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxNotifyEvent 
*) x
)); 
6725 static void *_p_wxShowEventTo_p_wxObject(void *x
) { 
6726     return (void *)((wxObject 
*) (wxEvent 
*) ((wxShowEvent 
*) x
)); 
6728 static void *_p_wxMenuItemTo_p_wxObject(void *x
) { 
6729     return (void *)((wxObject 
*)  ((wxMenuItem 
*) x
)); 
6731 static void *_p_wxIdleEventTo_p_wxObject(void *x
) { 
6732     return (void *)((wxObject 
*) (wxEvent 
*) ((wxIdleEvent 
*) x
)); 
6734 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) { 
6735     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxWindowCreateEvent 
*) x
)); 
6737 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) { 
6738     return (void *)((wxObject 
*) (wxEvent 
*) ((wxQueryNewPaletteEvent 
*) x
)); 
6740 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) { 
6741     return (void *)((wxObject 
*) (wxEvent 
*) ((wxMaximizeEvent 
*) x
)); 
6743 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) { 
6744     return (void *)((wxObject 
*) (wxEvent 
*) ((wxIconizeEvent 
*) x
)); 
6746 static void *_p_wxSizeEventTo_p_wxObject(void *x
) { 
6747     return (void *)((wxObject 
*) (wxEvent 
*) ((wxSizeEvent 
*) x
)); 
6749 static void *_p_wxMoveEventTo_p_wxObject(void *x
) { 
6750     return (void *)((wxObject 
*) (wxEvent 
*) ((wxMoveEvent 
*) x
)); 
6752 static void *_p_wxActivateEventTo_p_wxObject(void *x
) { 
6753     return (void *)((wxObject 
*) (wxEvent 
*) ((wxActivateEvent 
*) x
)); 
6755 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) { 
6756     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxXPMHandler 
*) x
)); 
6758 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) { 
6759     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxPNMHandler 
*) x
)); 
6761 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) { 
6762     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxJPEGHandler 
*) x
)); 
6764 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) { 
6765     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxPCXHandler 
*) x
)); 
6767 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) { 
6768     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxGIFHandler 
*) x
)); 
6770 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) { 
6771     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxPNGHandler 
*) x
)); 
6773 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) { 
6774     return (void *)((wxObject 
*) (wxImageHandler 
*)(wxBMPHandler 
*)(wxICOHandler 
*)(wxCURHandler 
*) ((wxANIHandler 
*) x
)); 
6776 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) { 
6777     return (void *)((wxObject 
*) (wxImageHandler 
*)(wxBMPHandler 
*)(wxICOHandler 
*) ((wxCURHandler 
*) x
)); 
6779 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) { 
6780     return (void *)((wxObject 
*) (wxImageHandler 
*)(wxBMPHandler 
*) ((wxICOHandler 
*) x
)); 
6782 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) { 
6783     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxBMPHandler 
*) x
)); 
6785 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) { 
6786     return (void *)((wxObject 
*)  ((wxImageHandler 
*) x
)); 
6788 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) { 
6789     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxTIFFHandler 
*) x
)); 
6791 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) { 
6792     return (void *)((wxObject 
*)  ((wxEvtHandler 
*) x
)); 
6794 static void *_p_wxPyXmlResourceHandlerTo_p_wxObject(void *x
) { 
6795     return (void *)((wxObject 
*)  ((wxPyXmlResourceHandler 
*) x
)); 
6797 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) { 
6798     return (void *)((wxObject 
*)  ((wxAcceleratorTable 
*) x
)); 
6800 static void *_p_wxImageTo_p_wxObject(void *x
) { 
6801     return (void *)((wxObject 
*)  ((wxImage 
*) x
)); 
6803 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) { 
6804     return (void *)((wxObject 
*) (wxEvent 
*) ((wxScrollWinEvent 
*) x
)); 
6806 static void *_p_wxXmlResourceTo_p_wxObject(void *x
) { 
6807     return (void *)((wxObject 
*)  ((wxXmlResource 
*) x
)); 
6809 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) { 
6810     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxWindowDestroyEvent 
*) x
)); 
6812 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) { 
6813     return (void *)((wxObject 
*) (wxEvent 
*) ((wxNavigationKeyEvent 
*) x
)); 
6815 static void *_p_wxKeyEventTo_p_wxObject(void *x
) { 
6816     return (void *)((wxObject 
*) (wxEvent 
*) ((wxKeyEvent 
*) x
)); 
6818 static void *_p_wxWindowTo_p_wxObject(void *x
) { 
6819     return (void *)((wxObject 
*) (wxEvtHandler 
*) ((wxWindow 
*) x
)); 
6821 static void *_p_wxMenuTo_p_wxObject(void *x
) { 
6822     return (void *)((wxObject 
*) (wxEvtHandler 
*) ((wxMenu 
*) x
)); 
6824 static void *_p_wxMenuBarTo_p_wxObject(void *x
) { 
6825     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*) ((wxMenuBar 
*) x
)); 
6827 static void *_p_wxFileSystemTo_p_wxObject(void *x
) { 
6828     return (void *)((wxObject 
*)  ((wxFileSystem 
*) x
)); 
6830 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) { 
6831     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxContextMenuEvent 
*) x
)); 
6833 static void *_p_wxMenuEventTo_p_wxObject(void *x
) { 
6834     return (void *)((wxObject 
*) (wxEvent 
*) ((wxMenuEvent 
*) x
)); 
6836 static void *_p_wxPyAppTo_p_wxObject(void *x
) { 
6837     return (void *)((wxObject 
*) (wxEvtHandler 
*) ((wxPyApp 
*) x
)); 
6839 static void *_p_wxCloseEventTo_p_wxObject(void *x
) { 
6840     return (void *)((wxObject 
*) (wxEvent 
*) ((wxCloseEvent 
*) x
)); 
6842 static void *_p_wxMouseEventTo_p_wxObject(void *x
) { 
6843     return (void *)((wxObject 
*) (wxEvent 
*) ((wxMouseEvent 
*) x
)); 
6845 static void *_p_wxEraseEventTo_p_wxObject(void *x
) { 
6846     return (void *)((wxObject 
*) (wxEvent 
*) ((wxEraseEvent 
*) x
)); 
6848 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) { 
6849     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxPyCommandEvent 
*) x
)); 
6851 static void *_p_wxCommandEventTo_p_wxObject(void *x
) { 
6852     return (void *)((wxObject 
*) (wxEvent 
*) ((wxCommandEvent 
*) x
)); 
6854 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) { 
6855     return (void *)((wxObject 
*) (wxEvent 
*) ((wxDropFilesEvent 
*) x
)); 
6857 static void *_p_wxFocusEventTo_p_wxObject(void *x
) { 
6858     return (void *)((wxObject 
*) (wxEvent 
*) ((wxFocusEvent 
*) x
)); 
6860 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) { 
6861     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxChildFocusEvent 
*) x
)); 
6863 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) { 
6864     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxControl 
*) ((wxControlWithItems 
*) x
)); 
6866 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) { 
6867     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxValidator 
*) ((wxPyValidator 
*) x
)); 
6869 static void *_p_wxValidatorTo_p_wxObject(void *x
) { 
6870     return (void *)((wxObject 
*) (wxEvtHandler 
*) ((wxValidator 
*) x
)); 
6872 static swig_type_info _swigt__p_wxFrame
[] = {{"_p_wxFrame", 0, "wxFrame *", 0, 0, 0, 0},{"_p_wxFrame", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
6873 static swig_type_info _swigt__p_wxIcon
[] = {{"_p_wxIcon", 0, "wxIcon *", 0, 0, 0, 0},{"_p_wxIcon", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
6874 static swig_type_info _swigt__p_wxObject
[] = {{"_p_wxObject", 0, "wxObject *", 0, 0, 0, 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxXmlDocument", _p_wxXmlDocumentTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizer", _p_wxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEvent", _p_wxEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyXmlResourceHandler", _p_wxPyXmlResourceHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxImage", _p_wxImageTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxObject", 0, 0, 0, 0, 0, 0},{"_p_wxXmlResource", _p_wxXmlResourceTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
6875 static swig_type_info _swigt__p_unsigned_char
[] = {{"_p_unsigned_char", 0, "unsigned char *|byte *", 0, 0, 0, 0},{"_p_unsigned_char", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
6876 static swig_type_info _swigt__p_wxDialog
[] = {{"_p_wxDialog", 0, "wxDialog *", 0, 0, 0, 0},{"_p_wxDialog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
6877 static swig_type_info _swigt__p_wxColour
[] = {{"_p_wxColour", 0, "wxColour *", 0, 0, 0, 0},{"_p_wxColour", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
6878 static swig_type_info _swigt__p_wxWindow
[] = {{"_p_wxWindow", 0, "wxWindow *", 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxWindow", 0, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
6879 static swig_type_info _swigt__p_wxArtClient
[] = {{"_p_wxArtClient", 0, "wxArtClient *", 0, 0, 0, 0},{"_p_wxArtClient", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
6880 static swig_type_info _swigt__p_unsigned_long
[] = {{"_p_unsigned_long", 0, "unsigned long *|wxUIntPtr *", 0, 0, 0, 0},{"_p_unsigned_long", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
6881 static swig_type_info _swigt__p_wxPyXmlSubclassFactory
[] = {{"_p_wxPyXmlSubclassFactory", 0, "wxPyXmlSubclassFactory *", 0, 0, 0, 0},{"_p_wxPyXmlSubclassFactory", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
6882 static swig_type_info _swigt__p_wxBitmap
[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0, 0, 0, 0},{"_p_wxBitmap", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
6883 static swig_type_info _swigt__p_form_ops_t
[] = {{"_p_form_ops_t", 0, "enum form_ops_t *|form_ops_t *", 0, 0, 0, 0},{"_p_form_ops_t", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
6884 static swig_type_info _swigt__p_unsigned_int
[] = {{"_p_unsigned_int", 0, "unsigned int *|time_t *", 0, 0, 0, 0},{"_p_unsigned_int", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
6885 static swig_type_info _swigt__unsigned_int
[] = {{"_unsigned_int", 0, "unsigned int|std::size_t", 0, 0, 0, 0},{"_unsigned_int", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
6886 static swig_type_info _swigt__p_wxDuplexMode
[] = {{"_p_wxDuplexMode", 0, "enum wxDuplexMode *|wxDuplexMode *", 0, 0, 0, 0},{"_p_wxDuplexMode", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
6887 static swig_type_info _swigt__p_char
[] = {{"_p_char", 0, "char *", 0, 0, 0, 0},{"_p_char", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
6888 static swig_type_info _swigt__p_wxPoint
[] = {{"_p_wxPoint", 0, "wxPoint *", 0, 0, 0, 0},{"_p_wxPoint", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
6889 static swig_type_info _swigt__p_wxXmlNode
[] = {{"_p_wxXmlNode", 0, "wxXmlNode *", 0, 0, 0, 0},{"_p_wxXmlNode", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
6890 static swig_type_info _swigt__p_wxInputStream
[] = {{"_p_wxInputStream", 0, "wxInputStream *", 0, 0, 0, 0},{"_p_wxInputStream", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
6891 static swig_type_info _swigt__p_wxOutputStream
[] = {{"_p_wxOutputStream", 0, "wxOutputStream *", 0, 0, 0, 0},{"_p_wxOutputStream", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
6892 static swig_type_info _swigt__p_wxPyXmlResourceHandler
[] = {{"_p_wxPyXmlResourceHandler", 0, "wxPyXmlResourceHandler *", 0, 0, 0, 0},{"_p_wxPyXmlResourceHandler", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
6893 static swig_type_info _swigt__p_wxFileSystem
[] = {{"_p_wxFileSystem", 0, "wxFileSystem *", 0, 0, 0, 0},{"_p_wxFileSystem", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
6894 static swig_type_info _swigt__std__ptrdiff_t
[] = {{"_std__ptrdiff_t", 0, "std::ptrdiff_t", 0, 0, 0, 0},{"_std__ptrdiff_t", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
6895 static swig_type_info _swigt__ptrdiff_t
[] = {{"_ptrdiff_t", 0, "ptrdiff_t", 0, 0, 0, 0},{"_ptrdiff_t", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
6896 static swig_type_info _swigt__p_wxXmlProperty
[] = {{"_p_wxXmlProperty", 0, "wxXmlProperty *", 0, 0, 0, 0},{"_p_wxXmlProperty", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
6897 static swig_type_info _swigt__p_wxFont
[] = {{"_p_wxFont", 0, "wxFont *", 0, 0, 0, 0},{"_p_wxFont", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
6898 static swig_type_info _swigt__p_wxXmlResource
[] = {{"_p_wxXmlResource", 0, "wxXmlResource *", 0, 0, 0, 0},{"_p_wxXmlResource", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
6899 static swig_type_info _swigt__p_wxPanel
[] = {{"_p_wxPanel", 0, "wxPanel *", 0, 0, 0, 0},{"_p_wxPanel", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
6900 static swig_type_info _swigt__p_wxXmlDocument
[] = {{"_p_wxXmlDocument", 0, "wxXmlDocument *", 0, 0, 0, 0},{"_p_wxXmlDocument", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
6901 static swig_type_info _swigt__p_wxPaperSize
[] = {{"_p_wxPaperSize", 0, "enum wxPaperSize *|wxPaperSize *", 0, 0, 0, 0},{"_p_wxPaperSize", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
6902 static swig_type_info _swigt__p_wxSize
[] = {{"_p_wxSize", 0, "wxSize *", 0, 0, 0, 0},{"_p_wxSize", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
6903 static swig_type_info _swigt__p_int
[] = {{"_p_int", 0, "int *|wxEventType *", 0, 0, 0, 0},{"_p_int", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
6905 static swig_type_info 
*swig_types_initial
[] = { 
6909 _swigt__p_unsigned_char
,  
6913 _swigt__p_wxArtClient
,  
6914 _swigt__p_unsigned_long
,  
6915 _swigt__p_wxPyXmlSubclassFactory
,  
6917 _swigt__p_form_ops_t
,  
6918 _swigt__p_unsigned_int
,  
6919 _swigt__unsigned_int
,  
6920 _swigt__p_wxDuplexMode
,  
6923 _swigt__p_wxXmlNode
,  
6924 _swigt__p_wxInputStream
,  
6925 _swigt__p_wxOutputStream
,  
6926 _swigt__p_wxPyXmlResourceHandler
,  
6927 _swigt__p_wxFileSystem
,  
6928 _swigt__std__ptrdiff_t
,  
6930 _swigt__p_wxXmlProperty
,  
6932 _swigt__p_wxXmlResource
,  
6934 _swigt__p_wxXmlDocument
,  
6935 _swigt__p_wxPaperSize
,  
6942 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */ 
6944 static swig_const_info swig_const_table
[] = { 
6945 {0, 0, 0, 0.0, 0, 0}}; 
6956     /* Python-specific SWIG API */ 
6957 #define SWIG_newvarlink()                             SWIG_Python_newvarlink() 
6958 #define SWIG_addvarlink(p, name, get_attr, set_attr)  SWIG_Python_addvarlink(p, name, get_attr, set_attr) 
6959 #define SWIG_InstallConstants(d, constants)           SWIG_Python_InstallConstants(d, constants) 
6961     /* ----------------------------------------------------------------------------- 
6962      * global variable support code. 
6963      * ----------------------------------------------------------------------------- */ 
6965     typedef struct swig_globalvar 
{ 
6966         char       *name
;                  /* Name of global variable */ 
6967         PyObject 
*(*get_attr
)();           /* Return the current value */ 
6968         int       (*set_attr
)(PyObject 
*); /* Set the value */ 
6969         struct swig_globalvar 
*next
; 
6972     typedef struct swig_varlinkobject 
{ 
6974         swig_globalvar 
*vars
; 
6975     } swig_varlinkobject
; 
6978     swig_varlink_repr(swig_varlinkobject 
*v
) { 
6980         return PyString_FromString("<Swig global variables>"); 
6984     swig_varlink_print(swig_varlinkobject 
*v
, FILE *fp
, int flags
) { 
6985         swig_globalvar  
*var
; 
6987         fprintf(fp
,"Swig global variables { "); 
6988         for (var 
= v
->vars
; var
; var
=var
->next
) { 
6989             fprintf(fp
,"%s", var
->name
); 
6990             if (var
->next
) fprintf(fp
,", "); 
6997     swig_varlink_getattr(swig_varlinkobject 
*v
, char *n
) { 
6998         swig_globalvar 
*var 
= v
->vars
; 
7000             if (strcmp(var
->name
,n
) == 0) { 
7001                 return (*var
->get_attr
)(); 
7005         PyErr_SetString(PyExc_NameError
,"Unknown C global variable"); 
7010     swig_varlink_setattr(swig_varlinkobject 
*v
, char *n
, PyObject 
*p
) { 
7011         swig_globalvar 
*var 
= v
->vars
; 
7013             if (strcmp(var
->name
,n
) == 0) { 
7014                 return (*var
->set_attr
)(p
); 
7018         PyErr_SetString(PyExc_NameError
,"Unknown C global variable"); 
7022     static PyTypeObject varlinktype 
= { 
7023         PyObject_HEAD_INIT(0)               
7024         0,                                  /* Number of items in variable part (ob_size) */ 
7025         (char *)"swigvarlink",              /* Type name (tp_name) */ 
7026         sizeof(swig_varlinkobject
),         /* Basic size (tp_basicsize) */ 
7027         0,                                  /* Itemsize (tp_itemsize) */ 
7028         0,                                  /* Deallocator (tp_dealloc) */  
7029         (printfunc
) swig_varlink_print
,     /* Print (tp_print) */ 
7030         (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */ 
7031         (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */ 
7033         (reprfunc
) swig_varlink_repr
,       /* tp_repr */ 
7034         0,                                  /* tp_as_number */ 
7035         0,                                  /* tp_as_sequence */ 
7036         0,                                  /* tp_as_mapping */ 
7040         0,                                  /* tp_getattro */ 
7041         0,                                  /* tp_setattro */ 
7042         0,                                  /* tp_as_buffer */ 
7045 #if PY_VERSION_HEX >= 0x02000000 
7046         0,                                  /* tp_traverse */ 
7049 #if PY_VERSION_HEX >= 0x02010000 
7050         0,                                  /* tp_richcompare */ 
7051         0,                                  /* tp_weaklistoffset */ 
7053 #if PY_VERSION_HEX >= 0x02020000 
7054         0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */ 
7056 #if PY_VERSION_HEX >= 0x02030000 
7060         0,0,0,0                             /* tp_alloc -> tp_next */ 
7064     /* Create a variable linking object for use later */ 
7066     SWIG_Python_newvarlink(void) { 
7067         swig_varlinkobject 
*result 
= 0; 
7068         result 
= PyMem_NEW(swig_varlinkobject
,1); 
7069         varlinktype
.ob_type 
= &PyType_Type
;    /* Patch varlinktype into a PyType */ 
7070         result
->ob_type 
= &varlinktype
; 
7072         result
->ob_refcnt 
= 0; 
7073         Py_XINCREF((PyObject 
*) result
); 
7074         return ((PyObject
*) result
); 
7078     SWIG_Python_addvarlink(PyObject 
*p
, char *name
, PyObject 
*(*get_attr
)(void), int (*set_attr
)(PyObject 
*p
)) { 
7079         swig_varlinkobject 
*v
; 
7081         v
= (swig_varlinkobject 
*) p
; 
7082         gv 
= (swig_globalvar 
*) malloc(sizeof(swig_globalvar
)); 
7083         gv
->name 
= (char *) malloc(strlen(name
)+1); 
7084         strcpy(gv
->name
,name
); 
7085         gv
->get_attr 
= get_attr
; 
7086         gv
->set_attr 
= set_attr
; 
7091     /* ----------------------------------------------------------------------------- 
7092      * constants/methods manipulation 
7093      * ----------------------------------------------------------------------------- */ 
7095     /* Install Constants */ 
7097     SWIG_Python_InstallConstants(PyObject 
*d
, swig_const_info constants
[]) { 
7100         for (i 
= 0; constants
[i
].type
; i
++) { 
7101             switch(constants
[i
].type
) { 
7103                 obj 
= PyInt_FromLong(constants
[i
].lvalue
); 
7106                 obj 
= PyFloat_FromDouble(constants
[i
].dvalue
); 
7108                 case SWIG_PY_STRING
: 
7109                 if (constants
[i
].pvalue
) { 
7110                     obj 
= PyString_FromString((char *) constants
[i
].pvalue
); 
7116                 case SWIG_PY_POINTER
: 
7117                 obj 
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0); 
7119                 case SWIG_PY_BINARY
: 
7120                 obj 
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
)); 
7127                 PyDict_SetItemString(d
,constants
[i
].name
,obj
); 
7133     /* -----------------------------------------------------------------------------*/ 
7134     /* Fix SwigMethods to carry the callback ptrs when needed */ 
7135     /* -----------------------------------------------------------------------------*/ 
7138     SWIG_Python_FixMethods(PyMethodDef 
*methods
, 
7139     swig_const_info 
*const_table
, 
7140     swig_type_info 
**types
, 
7141     swig_type_info 
**types_initial
) { 
7143         for (i 
= 0; methods
[i
].ml_name
; ++i
) { 
7144             char *c 
= methods
[i
].ml_doc
; 
7145             if (c 
&& (c 
= strstr(c
, "swig_ptr: "))) { 
7147                 swig_const_info 
*ci 
= 0; 
7148                 char *name 
= c 
+ 10; 
7149                 for (j 
= 0; const_table
[j
].type
; j
++) { 
7150                     if (strncmp(const_table
[j
].name
, name
,  
7151                     strlen(const_table
[j
].name
)) == 0) { 
7152                         ci 
= &(const_table
[j
]); 
7157                     size_t shift 
= (ci
->ptype
) - types
; 
7158                     swig_type_info 
*ty 
= types_initial
[shift
]; 
7159                     size_t ldoc 
= (c 
- methods
[i
].ml_doc
); 
7160                     size_t lptr 
= strlen(ty
->name
)+2*sizeof(void*)+2; 
7161                     char *ndoc 
= (char*)malloc(ldoc 
+ lptr 
+ 10); 
7163                     void *ptr 
= (ci
->type 
== SWIG_PY_POINTER
) ? ci
->pvalue
: (void *)(ci
->lvalue
); 
7164                     strncpy(buff
, methods
[i
].ml_doc
, ldoc
); 
7166                     strncpy(buff
, "swig_ptr: ", 10); 
7168                     SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
); 
7169                     methods
[i
].ml_doc 
= ndoc
; 
7175     /* -----------------------------------------------------------------------------* 
7176      *  Initialize type list 
7177      * -----------------------------------------------------------------------------*/ 
7179 #if PY_MAJOR_VERSION < 2 
7180     /* PyModule_AddObject function was introduced in Python 2.0.  The following function 
7181     is copied out of Python/modsupport.c in python version 2.3.4 */ 
7183     PyModule_AddObject(PyObject 
*m
, char *name
, PyObject 
*o
) 
7186         if (!PyModule_Check(m
)) { 
7187             PyErr_SetString(PyExc_TypeError
, 
7188             "PyModule_AddObject() needs module as first arg"); 
7192             PyErr_SetString(PyExc_TypeError
, 
7193             "PyModule_AddObject() needs non-NULL value"); 
7197         dict 
= PyModule_GetDict(m
); 
7199             /* Internal error -- modules must have a dict! */ 
7200             PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__", 
7201             PyModule_GetName(m
)); 
7204         if (PyDict_SetItemString(dict
, name
, o
)) 
7211     static swig_type_info 
** 
7212     SWIG_Python_SetTypeListHandle(swig_type_info 
**type_list_handle
) { 
7213         static PyMethodDef swig_empty_runtime_method_table
[] = { 
7219         PyObject 
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
, 
7220         swig_empty_runtime_method_table
); 
7221         PyObject 
*pointer 
= PyCObject_FromVoidPtr((void *) type_list_handle
, NULL
); 
7222         if (pointer 
&& module) { 
7223             PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
); 
7225         return type_list_handle
; 
7228     static swig_type_info 
** 
7229     SWIG_Python_LookupTypePointer(swig_type_info 
**type_list_handle
) { 
7230         swig_type_info 
**type_pointer
; 
7232         /* first check if module already created */ 
7233         type_pointer 
= SWIG_Python_GetTypeListHandle(); 
7235             return type_pointer
; 
7237             /* create a new module and variable */ 
7238             return SWIG_Python_SetTypeListHandle(type_list_handle
); 
7246 /* -----------------------------------------------------------------------------* 
7247  *  Partial Init method 
7248  * -----------------------------------------------------------------------------*/ 
7250 #ifdef SWIG_LINK_RUNTIME 
7254 SWIGEXPORT(void *) SWIG_ReturnGlobalTypeList(void *); 
7260 SWIGEXPORT(void) SWIG_init(void) { 
7261     static PyObject 
*SWIG_globals 
= 0;  
7262     static int       typeinit 
= 0; 
7265     if (!SWIG_globals
) SWIG_globals 
= SWIG_newvarlink(); 
7267     /* Fix SwigMethods to carry the callback ptrs when needed */ 
7268     SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_types_initial
); 
7270     m 
= Py_InitModule((char *) SWIG_name
, SwigMethods
); 
7271     d 
= PyModule_GetDict(m
); 
7274 #ifdef SWIG_LINK_RUNTIME 
7275         swig_type_list_handle 
= (swig_type_info 
**) SWIG_ReturnGlobalTypeList(swig_type_list_handle
); 
7277 #  ifndef SWIG_STATIC_RUNTIME 
7278         swig_type_list_handle 
= SWIG_Python_LookupTypePointer(swig_type_list_handle
); 
7281         for (i 
= 0; swig_types_initial
[i
]; i
++) { 
7282             swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]); 
7286     SWIG_InstallConstants(d
,swig_const_table
); 
7288     PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
); 
7289     SWIG_addvarlink(SWIG_globals
,(char*)"UTF8String",_wrap_UTF8String_get
, _wrap_UTF8String_set
); 
7290     SWIG_addvarlink(SWIG_globals
,(char*)"StyleString",_wrap_StyleString_get
, _wrap_StyleString_set
); 
7291     SWIG_addvarlink(SWIG_globals
,(char*)"SizeString",_wrap_SizeString_get
, _wrap_SizeString_set
); 
7292     SWIG_addvarlink(SWIG_globals
,(char*)"PosString",_wrap_PosString_get
, _wrap_PosString_set
); 
7293     SWIG_addvarlink(SWIG_globals
,(char*)"BitmapString",_wrap_BitmapString_get
, _wrap_BitmapString_set
); 
7294     SWIG_addvarlink(SWIG_globals
,(char*)"IconString",_wrap_IconString_get
, _wrap_IconString_set
); 
7295     SWIG_addvarlink(SWIG_globals
,(char*)"FontString",_wrap_FontString_get
, _wrap_FontString_set
); 
7297         PyDict_SetItemString(d
,"WX_XMLRES_CURRENT_VERSION_MAJOR", SWIG_From_int((int)(WX_XMLRES_CURRENT_VERSION_MAJOR
)));  
7300         PyDict_SetItemString(d
,"WX_XMLRES_CURRENT_VERSION_MINOR", SWIG_From_int((int)(WX_XMLRES_CURRENT_VERSION_MINOR
)));  
7303         PyDict_SetItemString(d
,"WX_XMLRES_CURRENT_VERSION_RELEASE", SWIG_From_int((int)(WX_XMLRES_CURRENT_VERSION_RELEASE
)));  
7306         PyDict_SetItemString(d
,"WX_XMLRES_CURRENT_VERSION_REVISION", SWIG_From_int((int)(WX_XMLRES_CURRENT_VERSION_REVISION
)));  
7309         PyDict_SetItemString(d
,"XRC_USE_LOCALE", SWIG_From_int((int)(wxXRC_USE_LOCALE
)));  
7312         PyDict_SetItemString(d
,"XRC_NO_SUBCLASSING", SWIG_From_int((int)(wxXRC_NO_SUBCLASSING
)));  
7315         PyDict_SetItemString(d
,"XRC_NO_RELOADING", SWIG_From_int((int)(wxXRC_NO_RELOADING
)));  
7318         PyDict_SetItemString(d
,"XML_ELEMENT_NODE", SWIG_From_int((int)(wxXML_ELEMENT_NODE
)));  
7321         PyDict_SetItemString(d
,"XML_ATTRIBUTE_NODE", SWIG_From_int((int)(wxXML_ATTRIBUTE_NODE
)));  
7324         PyDict_SetItemString(d
,"XML_TEXT_NODE", SWIG_From_int((int)(wxXML_TEXT_NODE
)));  
7327         PyDict_SetItemString(d
,"XML_CDATA_SECTION_NODE", SWIG_From_int((int)(wxXML_CDATA_SECTION_NODE
)));  
7330         PyDict_SetItemString(d
,"XML_ENTITY_REF_NODE", SWIG_From_int((int)(wxXML_ENTITY_REF_NODE
)));  
7333         PyDict_SetItemString(d
,"XML_ENTITY_NODE", SWIG_From_int((int)(wxXML_ENTITY_NODE
)));  
7336         PyDict_SetItemString(d
,"XML_PI_NODE", SWIG_From_int((int)(wxXML_PI_NODE
)));  
7339         PyDict_SetItemString(d
,"XML_COMMENT_NODE", SWIG_From_int((int)(wxXML_COMMENT_NODE
)));  
7342         PyDict_SetItemString(d
,"XML_DOCUMENT_NODE", SWIG_From_int((int)(wxXML_DOCUMENT_NODE
)));  
7345         PyDict_SetItemString(d
,"XML_DOCUMENT_TYPE_NODE", SWIG_From_int((int)(wxXML_DOCUMENT_TYPE_NODE
)));  
7348         PyDict_SetItemString(d
,"XML_DOCUMENT_FRAG_NODE", SWIG_From_int((int)(wxXML_DOCUMENT_FRAG_NODE
)));  
7351         PyDict_SetItemString(d
,"XML_NOTATION_NODE", SWIG_From_int((int)(wxXML_NOTATION_NODE
)));  
7354         PyDict_SetItemString(d
,"XML_HTML_DOCUMENT_NODE", SWIG_From_int((int)(wxXML_HTML_DOCUMENT_NODE
)));  
7358     wxXmlInitResourceModule(); 
7359     wxXmlResource::Get()->InitAllHandlers();