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", 
1045     PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
); 
1047     PyErr_Format(PyExc_TypeError
, "unexpected type is received"); 
1051 SWIGRUNTIMEINLINE 
void 
1052 SWIG_Python_NullRef(const char *type
) 
1055     PyErr_Format(PyExc_TypeError
, "null reference of type '%s' was received",type
); 
1057     PyErr_Format(PyExc_TypeError
, "null reference was received"); 
1062 SWIG_Python_AddErrMesg(const char* mesg
, int infront
) 
1064   if (PyErr_Occurred()) { 
1066     PyObject 
*value 
= 0; 
1067     PyObject 
*traceback 
= 0; 
1068     PyErr_Fetch(&type
, &value
, &traceback
); 
1070       PyObject 
*old_str 
= PyObject_Str(value
); 
1074         PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
)); 
1076         PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
); 
1087 SWIG_Python_ArgFail(int argnum
) 
1089   if (PyErr_Occurred()) { 
1090     /* add information about failing argument */ 
1092     sprintf(mesg
, "argument number %d:", argnum
); 
1093     return SWIG_Python_AddErrMesg(mesg
, 1); 
1100 /* ----------------------------------------------------------------------------- 
1101  * pointers/data manipulation 
1102  * ----------------------------------------------------------------------------- */ 
1104 /* Convert a pointer value */ 
1106 SWIG_Python_ConvertPtr(PyObject 
*obj
, void **ptr
, swig_type_info 
*ty
, int flags
) { 
1109   static PyObject 
*SWIG_this 
= 0; 
1111   PyObject  
*pyobj 
= 0; 
1115   if (obj 
== Py_None
) { 
1120 #ifdef SWIG_COBJECT_TYPES 
1121   if (!(PySwigObject_Check(obj
))) { 
1123       SWIG_this 
= PyString_FromString("this"); 
1125     obj 
= PyObject_GetAttr(obj
,SWIG_this
); 
1127     if (!obj
) goto type_error
; 
1128     if (!PySwigObject_Check(obj
)) { 
1133   vptr 
= PySwigObject_AsVoidPtr(obj
); 
1134   c 
= (const char *) PySwigObject_GetDesc(obj
); 
1135   if (newref
) { Py_DECREF(obj
); } 
1138   if (!(PyString_Check(obj
))) { 
1140       SWIG_this 
= PyString_FromString("this"); 
1142     obj 
= PyObject_GetAttr(obj
,SWIG_this
); 
1144     if (!obj
) goto type_error
; 
1145     if (!PyString_Check(obj
)) { 
1150   c 
= PyString_AS_STRING(obj
); 
1151   /* Pointer values must start with leading underscore */ 
1152   c 
= SWIG_UnpackVoidPtr(c
, &vptr
, ty
->name
); 
1153   if (newref
) { Py_DECREF(obj
); } 
1154   if (!c
) goto type_error
; 
1160     tc 
= SWIG_TypeCheck(c
,ty
); 
1161     if (!tc
) goto type_error
; 
1162     *ptr 
= SWIG_TypeCast(tc
,vptr
); 
1167   if ((pyobj
) && (flags 
& SWIG_POINTER_DISOWN
)) { 
1168     PyObject_SetAttrString(pyobj
,(char*)"thisown",Py_False
); 
1174   if (pyobj 
&& !obj
) {     
1176     if (PyCFunction_Check(obj
)) { 
1177       /* here we get the method pointer for callbacks */ 
1178       char *doc 
= (((PyCFunctionObject 
*)obj
) -> m_ml 
-> ml_doc
); 
1179       c 
= doc 
? strstr(doc
, "swig_ptr: ") : 0; 
1181         c 
= SWIG_UnpackVoidPtr(c 
+ 10, &vptr
, ty
->name
); 
1182         if (!c
) goto type_error
; 
1187   if (flags 
& SWIG_POINTER_EXCEPTION
) { 
1189       SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
); 
1191       SWIG_Python_TypeError("C/C++ pointer", obj
); 
1197 /* Convert a pointer value, signal an exception on a type mismatch */ 
1199 SWIG_Python_MustGetPtr(PyObject 
*obj
, swig_type_info 
*ty
, int argnum
, int flags
) { 
1201   if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) { 
1203     if (flags 
& SWIG_POINTER_EXCEPTION
) { 
1204       SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
); 
1205       SWIG_Python_ArgFail(argnum
); 
1211 /* Convert a packed value value */ 
1213 SWIG_Python_ConvertPacked(PyObject 
*obj
, void *ptr
, size_t sz
, swig_type_info 
*ty
, int flags
) { 
1217 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON) 
1218   c 
= PySwigPacked_UnpackData(obj
, ptr
, sz
); 
1220   if ((!obj
) || (!PyString_Check(obj
))) goto type_error
; 
1221   c 
= PyString_AS_STRING(obj
); 
1222   /* Pointer values must start with leading underscore */ 
1223   c 
= SWIG_UnpackDataName(c
, ptr
, sz
, ty
->name
); 
1225   if (!c
) goto type_error
; 
1227     tc 
= SWIG_TypeCheck(c
,ty
); 
1228     if (!tc
) goto type_error
; 
1234   if (flags 
& SWIG_POINTER_EXCEPTION
) { 
1236       SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
); 
1238       SWIG_Python_TypeError("C/C++ packed data", obj
); 
1244 /* Create a new array object */ 
1245 SWIGRUNTIME PyObject 
* 
1246 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info 
*type
, int own
) { 
1252 #ifdef SWIG_COBJECT_TYPES 
1253   robj 
= PySwigObject_FromVoidPtrAndDesc((void *) ptr
, (char *)type
->name
); 
1256     char result
[SWIG_BUFFER_SIZE
]; 
1257     robj 
= SWIG_PackVoidPtr(result
, ptr
, type
->name
, sizeof(result
)) ? 
1258       PyString_FromString(result
) : 0; 
1261   if (!robj 
|| (robj 
== Py_None
)) return robj
; 
1262   if (type
->clientdata
) { 
1264     PyObject 
*args 
= Py_BuildValue((char*)"(O)", robj
); 
1266     inst 
= PyObject_CallObject((PyObject 
*) type
->clientdata
, args
); 
1270         PyObject_SetAttrString(inst
,(char*)"thisown",Py_True
); 
1278 SWIGRUNTIME PyObject 
* 
1279 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info 
*type
) { 
1285 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON) 
1286   robj 
= PySwigPacked_FromDataAndDesc((void *) ptr
, sz
, (char *)type
->name
); 
1289     char result
[SWIG_BUFFER_SIZE
]; 
1290     robj 
= SWIG_PackDataName(result
, ptr
, sz
, type
->name
, sizeof(result
)) ? 
1291       PyString_FromString(result
) : 0; 
1297 /* -----------------------------------------------------------------------------* 
1299  * -----------------------------------------------------------------------------*/ 
1301 #ifdef SWIG_LINK_RUNTIME 
1302 void *SWIG_ReturnGlobalTypeList(void *); 
1305 SWIGRUNTIME swig_type_info 
** 
1306 SWIG_Python_GetTypeListHandle() { 
1307   static void *type_pointer 
= (void *)0; 
1308   /* first check if module already created */ 
1309   if (!type_pointer
) { 
1310 #ifdef SWIG_LINK_RUNTIME 
1311     type_pointer 
= SWIG_ReturnGlobalTypeList((void *)0); 
1313     type_pointer 
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
, 
1314                                     (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
); 
1315     if (PyErr_Occurred()) { 
1317       type_pointer 
= (void *)0; 
1321   return (swig_type_info 
**) type_pointer
; 
1325   Search for a swig_type_info structure 
1327 SWIGRUNTIMEINLINE swig_type_info 
* 
1328 SWIG_Python_GetTypeList() { 
1329   swig_type_info 
**tlh 
= SWIG_Python_GetTypeListHandle(); 
1330   return tlh 
? *tlh 
: (swig_type_info
*)0; 
1333 #define SWIG_Runtime_GetTypeList SWIG_Python_GetTypeList  
1340 /* -------- TYPES TABLE (BEGIN) -------- */ 
1342 #define  SWIGTYPE_p_wxFrame swig_types[0]  
1343 #define  SWIGTYPE_p_wxIcon swig_types[1]  
1344 #define  SWIGTYPE_p_wxObject swig_types[2]  
1345 #define  SWIGTYPE_p_unsigned_char swig_types[3]  
1346 #define  SWIGTYPE_p_wxDialog swig_types[4]  
1347 #define  SWIGTYPE_p_wxColour swig_types[5]  
1348 #define  SWIGTYPE_p_wxWindow swig_types[6]  
1349 #define  SWIGTYPE_p_wxArtClient swig_types[7]  
1350 #define  SWIGTYPE_p_unsigned_long swig_types[8]  
1351 #define  SWIGTYPE_p_wxPyXmlSubclassFactory swig_types[9]  
1352 #define  SWIGTYPE_p_wxBitmap swig_types[10]  
1353 #define  SWIGTYPE_p_form_ops_t swig_types[11]  
1354 #define  SWIGTYPE_p_unsigned_int swig_types[12]  
1355 #define  SWIGTYPE_unsigned_int swig_types[13]  
1356 #define  SWIGTYPE_p_wxDuplexMode swig_types[14]  
1357 #define  SWIGTYPE_p_char swig_types[15]  
1358 #define  SWIGTYPE_p_wxPoint swig_types[16]  
1359 #define  SWIGTYPE_p_wxXmlNode swig_types[17]  
1360 #define  SWIGTYPE_p_wxInputStream swig_types[18]  
1361 #define  SWIGTYPE_p_wxOutputStream swig_types[19]  
1362 #define  SWIGTYPE_p_wxPyXmlResourceHandler swig_types[20]  
1363 #define  SWIGTYPE_p_wxFileSystem swig_types[21]  
1364 #define  SWIGTYPE_std__ptrdiff_t swig_types[22]  
1365 #define  SWIGTYPE_ptrdiff_t swig_types[23]  
1366 #define  SWIGTYPE_p_wxXmlProperty swig_types[24]  
1367 #define  SWIGTYPE_p_wxFont swig_types[25]  
1368 #define  SWIGTYPE_p_wxXmlResource swig_types[26]  
1369 #define  SWIGTYPE_p_wxPanel swig_types[27]  
1370 #define  SWIGTYPE_p_wxXmlDocument swig_types[28]  
1371 #define  SWIGTYPE_p_wxPaperSize swig_types[29]  
1372 #define  SWIGTYPE_p_wxSize swig_types[30]  
1373 #define  SWIGTYPE_p_int swig_types[31]  
1374 static swig_type_info 
*swig_types
[33]; 
1376 /* -------- TYPES TABLE (END) -------- */ 
1379 /*----------------------------------------------- 
1381   ------------------------------------------------*/ 
1382 #define SWIG_init    init_xrc 
1384 #define SWIG_name    "_xrc" 
1386 #include "wx/wxPython/wxPython.h" 
1387 #include "wx/wxPython/pyclasses.h" 
1388 #include "wx/wxPython/pyistream.h" 
1390 #include <wx/xml/xml.h> 
1391 #include <wx/xrc/xmlres.h> 
1393  static const wxString 
wxPyEmptyString(wxEmptyString
);  
1394  static const wxString 
wxPyUTF8String(wxT("UTF-8"));  
1395  static const wxString 
wxPyStyleString(wxT("style"));  
1396  static const wxString 
wxPySizeString(wxT("size"));  
1397  static const wxString 
wxPyPosString(wxT("pos"));  
1398  static const wxString 
wxPyBitmapString(wxT("bitmap"));  
1399  static const wxString 
wxPyIconString(wxT("icon"));  
1400  static const wxString 
wxPyFontString(wxT("font"));  
1402   /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/ 
1403 #define SWIG_From_int PyInt_FromLong 
1411   SWIG_CheckLongInRange(long value
, long min_value
, long max_value
, 
1414   if (value 
< min_value
) { 
1416       PyErr_Format(PyExc_OverflowError
,  
1417                    "value %ld is less than '%s' minimum %ld",  
1418                    value
, errmsg
, min_value
); 
1421   } else if (value 
> max_value
) { 
1423       PyErr_Format(PyExc_OverflowError
, 
1424                    "value %ld is greater than '%s' maximum %ld",  
1425                    value
, errmsg
, max_value
); 
1434 SWIG_AsVal_long(PyObject
* obj
, long* val
) 
1436     if (PyNumber_Check(obj
)) { 
1437         if (val
) *val 
= PyInt_AsLong(obj
); 
1441         SWIG_type_error("number", obj
); 
1447 #if INT_MAX != LONG_MAX 
1449   SWIG_AsVal_int(PyObject 
*obj
, int *val
) 
1451   const char* errmsg 
= val 
? "int" : (char*)0; 
1453   if (SWIG_AsVal_long(obj
, &v
)) { 
1454     if (SWIG_CheckLongInRange(v
, INT_MIN
,INT_MAX
, errmsg
)) { 
1455       if (val
) *val 
= (int)(v
); 
1464     SWIG_type_error(errmsg
, obj
); 
1470   SWIG_AsVal_int(PyObject 
*obj
, int *val
) 
1472   return SWIG_AsVal_long(obj
,(long*)val
); 
1478 SWIG_As_int(PyObject
* obj
) 
1481   if (!SWIG_AsVal_int(obj
, &v
)) { 
1483       this is needed to make valgrind/purify happier.  
1485     memset((void*)&v
, 0, sizeof(int)); 
1492 SWIG_Check_int(PyObject
* obj
) 
1494   return SWIG_AsVal_int(obj
, (int*)0); 
1497 static bool wxXmlResource_LoadFromString(wxXmlResource 
*self
,wxString 
const &data
){ 
1498             static int s_memFileIdx 
= 0; 
1500             // Check for memory FS. If not present, load the handler: 
1501             wxMemoryFSHandler::AddFile(wxT("XRC_resource/dummy_file"), 
1504             wxFSFile 
*f 
= fsys
.OpenFile(wxT("memory:XRC_resource/dummy_file")); 
1505             wxMemoryFSHandler::RemoveFile(wxT("XRC_resource/dummy_file")); 
1509                 wxFileSystem::AddHandler(new wxMemoryFSHandler
); 
1511             // Now put the resource data into the memory FS 
1512             wxString 
filename(wxT("XRC_resource/data_string_")); 
1513             filename 
<< s_memFileIdx
; 
1515             wxMemoryFSHandler::AddFile(filename
, data
); 
1517             // Load the "file" into the resource object 
1518             bool retval 
= self
->Load(wxT("memory:") + filename 
); 
1523   /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/ 
1524 #define SWIG_From_long PyInt_FromLong 
1528 class wxPyXmlSubclassFactory 
: public wxXmlSubclassFactory
 
1531     wxPyXmlSubclassFactory() {} 
1532     DEC_PYCALLBACK_OBJECT_STRING_pure(Create
); 
1536 IMP_PYCALLBACK_OBJECT_STRING_pure(wxPyXmlSubclassFactory
, wxXmlSubclassFactory
, Create
); 
1538  // C++ version of Python aware wxXmlResourceHandler, for the pure virtual 
1539    // callbacks, as well as to make some protected things public so they can 
1541 class wxPyXmlResourceHandler 
: public wxXmlResourceHandler 
{ 
1543     wxPyXmlResourceHandler() : wxXmlResourceHandler() {} 
1544     //~wxPyXmlResourceHandler(); 
1546     // Base class virtuals 
1548     DEC_PYCALLBACK_OBJECT__pure(DoCreateResource
); 
1549     DEC_PYCALLBACK_BOOL_NODE_pure(CanHandle
); 
1552     // accessors for protected members 
1554     wxXmlResource
* GetResource()        { return m_resource
; } 
1555     wxXmlNode
* GetNode()                { return m_node
; } 
1556     wxString 
GetClass()                 { return m_class
; } 
1557     wxObject
* GetParent()               { return m_parent
; } 
1558     wxObject
* GetInstance()             { return m_instance
; } 
1559     wxWindow
* GetParentAsWindow()       { return m_parentAsWindow
; } 
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 wx.InputStream 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); 
4553         if (created1
) delete arg1
;  
4562         if (created1
) delete arg1
;  
4572 static PyObject 
*_wrap_new_EmptyXmlDocument(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4573     PyObject 
*resultobj
; 
4574     wxXmlDocument 
*result
; 
4579     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EmptyXmlDocument",kwnames
)) goto fail
; 
4581         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4582         result 
= (wxXmlDocument 
*)new wxXmlDocument(); 
4584         wxPyEndAllowThreads(__tstate
); 
4585         if (PyErr_Occurred()) SWIG_fail
; 
4587     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxXmlDocument
, 1); 
4594 static PyObject 
*_wrap_delete_XmlDocument(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4595     PyObject 
*resultobj
; 
4596     wxXmlDocument 
*arg1 
= (wxXmlDocument 
*) 0 ; 
4597     PyObject 
* obj0 
= 0 ; 
4599         (char *) "self", NULL 
 
4602     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_XmlDocument",kwnames
,&obj0
)) goto fail
; 
4603     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxXmlDocument
, SWIG_POINTER_EXCEPTION 
| 0); 
4604     if (SWIG_arg_fail(1)) SWIG_fail
; 
4606         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4609         wxPyEndAllowThreads(__tstate
); 
4610         if (PyErr_Occurred()) SWIG_fail
; 
4612     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
4619 static PyObject 
*_wrap_XmlDocument_Load(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4620     PyObject 
*resultobj
; 
4621     wxXmlDocument 
*arg1 
= (wxXmlDocument 
*) 0 ; 
4622     wxString 
*arg2 
= 0 ; 
4623     wxString 
const &arg3_defvalue 
= wxPyUTF8String 
; 
4624     wxString 
*arg3 
= (wxString 
*) &arg3_defvalue 
; 
4626     bool temp2 
= false ; 
4627     bool temp3 
= false ; 
4628     PyObject 
* obj0 
= 0 ; 
4629     PyObject 
* obj1 
= 0 ; 
4630     PyObject 
* obj2 
= 0 ; 
4632         (char *) "self",(char *) "filename",(char *) "encoding", NULL 
 
4635     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:XmlDocument_Load",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
4636     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxXmlDocument
, SWIG_POINTER_EXCEPTION 
| 0); 
4637     if (SWIG_arg_fail(1)) SWIG_fail
; 
4639         arg2 
= wxString_in_helper(obj1
); 
4640         if (arg2 
== NULL
) SWIG_fail
; 
4645             arg3 
= wxString_in_helper(obj2
); 
4646             if (arg3 
== NULL
) SWIG_fail
; 
4651         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4652         result 
= (bool)(arg1
)->Load((wxString 
const &)*arg2
,(wxString 
const &)*arg3
); 
4654         wxPyEndAllowThreads(__tstate
); 
4655         if (PyErr_Occurred()) SWIG_fail
; 
4658         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
4682 static PyObject 
*_wrap_XmlDocument_LoadFromStream(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4683     PyObject 
*resultobj
; 
4684     wxXmlDocument 
*arg1 
= (wxXmlDocument 
*) 0 ; 
4685     wxInputStream 
*arg2 
= 0 ; 
4686     wxString 
const &arg3_defvalue 
= wxPyUTF8String 
; 
4687     wxString 
*arg3 
= (wxString 
*) &arg3_defvalue 
; 
4689     wxPyInputStream 
*temp2 
; 
4691     bool temp3 
= false ; 
4692     PyObject 
* obj0 
= 0 ; 
4693     PyObject 
* obj1 
= 0 ; 
4694     PyObject 
* obj2 
= 0 ; 
4696         (char *) "self",(char *) "stream",(char *) "encoding", NULL 
 
4699     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:XmlDocument_LoadFromStream",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
4700     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxXmlDocument
, SWIG_POINTER_EXCEPTION 
| 0); 
4701     if (SWIG_arg_fail(1)) SWIG_fail
; 
4703         if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) { 
4704             arg2 
= temp2
->m_wxis
; 
4707             PyErr_Clear();  // clear the failure of the wxPyConvert above 
4708             arg2 
= wxPyCBInputStream_create(obj1
, false); 
4710                 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object."); 
4718             arg3 
= wxString_in_helper(obj2
); 
4719             if (arg3 
== NULL
) SWIG_fail
; 
4724         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4725         result 
= (bool)(arg1
)->Load(*arg2
,(wxString 
const &)*arg3
); 
4727         wxPyEndAllowThreads(__tstate
); 
4728         if (PyErr_Occurred()) SWIG_fail
; 
4731         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
4734         if (created2
) delete arg2
;  
4743         if (created2
) delete arg2
;  
4753 static PyObject 
*_wrap_XmlDocument_Save(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4754     PyObject 
*resultobj
; 
4755     wxXmlDocument 
*arg1 
= (wxXmlDocument 
*) 0 ; 
4756     wxString 
*arg2 
= 0 ; 
4758     bool temp2 
= false ; 
4759     PyObject 
* obj0 
= 0 ; 
4760     PyObject 
* obj1 
= 0 ; 
4762         (char *) "self",(char *) "filename", NULL 
 
4765     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:XmlDocument_Save",kwnames
,&obj0
,&obj1
)) goto fail
; 
4766     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxXmlDocument
, SWIG_POINTER_EXCEPTION 
| 0); 
4767     if (SWIG_arg_fail(1)) SWIG_fail
; 
4769         arg2 
= wxString_in_helper(obj1
); 
4770         if (arg2 
== NULL
) SWIG_fail
; 
4774         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4775         result 
= (bool)((wxXmlDocument 
const *)arg1
)->Save((wxString 
const &)*arg2
); 
4777         wxPyEndAllowThreads(__tstate
); 
4778         if (PyErr_Occurred()) SWIG_fail
; 
4781         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
4797 static PyObject 
*_wrap_XmlDocument_SaveToStream(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4798     PyObject 
*resultobj
; 
4799     wxXmlDocument 
*arg1 
= (wxXmlDocument 
*) 0 ; 
4800     wxOutputStream 
*arg2 
= 0 ; 
4802     PyObject 
* obj0 
= 0 ; 
4803     PyObject 
* obj1 
= 0 ; 
4805         (char *) "self",(char *) "stream", NULL 
 
4808     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:XmlDocument_SaveToStream",kwnames
,&obj0
,&obj1
)) goto fail
; 
4809     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxXmlDocument
, SWIG_POINTER_EXCEPTION 
| 0); 
4810     if (SWIG_arg_fail(1)) SWIG_fail
; 
4812         SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxOutputStream
, SWIG_POINTER_EXCEPTION 
| 0); 
4813         if (SWIG_arg_fail(2)) SWIG_fail
; 
4815             SWIG_null_ref("wxOutputStream"); 
4817         if (SWIG_arg_fail(2)) SWIG_fail
; 
4820         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4821         result 
= (bool)((wxXmlDocument 
const *)arg1
)->Save(*arg2
); 
4823         wxPyEndAllowThreads(__tstate
); 
4824         if (PyErr_Occurred()) SWIG_fail
; 
4827         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
4835 static PyObject 
*_wrap_XmlDocument_IsOk(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4836     PyObject 
*resultobj
; 
4837     wxXmlDocument 
*arg1 
= (wxXmlDocument 
*) 0 ; 
4839     PyObject 
* obj0 
= 0 ; 
4841         (char *) "self", NULL 
 
4844     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:XmlDocument_IsOk",kwnames
,&obj0
)) goto fail
; 
4845     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxXmlDocument
, SWIG_POINTER_EXCEPTION 
| 0); 
4846     if (SWIG_arg_fail(1)) SWIG_fail
; 
4848         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4849         result 
= (bool)((wxXmlDocument 
const *)arg1
)->IsOk(); 
4851         wxPyEndAllowThreads(__tstate
); 
4852         if (PyErr_Occurred()) SWIG_fail
; 
4855         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
4863 static PyObject 
*_wrap_XmlDocument_GetRoot(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4864     PyObject 
*resultobj
; 
4865     wxXmlDocument 
*arg1 
= (wxXmlDocument 
*) 0 ; 
4867     PyObject 
* obj0 
= 0 ; 
4869         (char *) "self", NULL 
 
4872     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:XmlDocument_GetRoot",kwnames
,&obj0
)) goto fail
; 
4873     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxXmlDocument
, SWIG_POINTER_EXCEPTION 
| 0); 
4874     if (SWIG_arg_fail(1)) SWIG_fail
; 
4876         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4877         result 
= (wxXmlNode 
*)((wxXmlDocument 
const *)arg1
)->GetRoot(); 
4879         wxPyEndAllowThreads(__tstate
); 
4880         if (PyErr_Occurred()) SWIG_fail
; 
4882     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxXmlNode
, 0); 
4889 static PyObject 
*_wrap_XmlDocument_GetVersion(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4890     PyObject 
*resultobj
; 
4891     wxXmlDocument 
*arg1 
= (wxXmlDocument 
*) 0 ; 
4893     PyObject 
* obj0 
= 0 ; 
4895         (char *) "self", NULL 
 
4898     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:XmlDocument_GetVersion",kwnames
,&obj0
)) goto fail
; 
4899     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxXmlDocument
, SWIG_POINTER_EXCEPTION 
| 0); 
4900     if (SWIG_arg_fail(1)) SWIG_fail
; 
4902         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4903         result 
= ((wxXmlDocument 
const *)arg1
)->GetVersion(); 
4905         wxPyEndAllowThreads(__tstate
); 
4906         if (PyErr_Occurred()) SWIG_fail
; 
4910         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
4912         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
4921 static PyObject 
*_wrap_XmlDocument_GetFileEncoding(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4922     PyObject 
*resultobj
; 
4923     wxXmlDocument 
*arg1 
= (wxXmlDocument 
*) 0 ; 
4925     PyObject 
* obj0 
= 0 ; 
4927         (char *) "self", NULL 
 
4930     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:XmlDocument_GetFileEncoding",kwnames
,&obj0
)) goto fail
; 
4931     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxXmlDocument
, SWIG_POINTER_EXCEPTION 
| 0); 
4932     if (SWIG_arg_fail(1)) SWIG_fail
; 
4934         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4935         result 
= ((wxXmlDocument 
const *)arg1
)->GetFileEncoding(); 
4937         wxPyEndAllowThreads(__tstate
); 
4938         if (PyErr_Occurred()) SWIG_fail
; 
4942         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
4944         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
4953 static PyObject 
*_wrap_XmlDocument_SetRoot(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4954     PyObject 
*resultobj
; 
4955     wxXmlDocument 
*arg1 
= (wxXmlDocument 
*) 0 ; 
4956     wxXmlNode 
*arg2 
= (wxXmlNode 
*) 0 ; 
4957     PyObject 
* obj0 
= 0 ; 
4958     PyObject 
* obj1 
= 0 ; 
4960         (char *) "self",(char *) "node", NULL 
 
4963     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:XmlDocument_SetRoot",kwnames
,&obj0
,&obj1
)) goto fail
; 
4964     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxXmlDocument
, SWIG_POINTER_EXCEPTION 
| 0); 
4965     if (SWIG_arg_fail(1)) SWIG_fail
; 
4966     SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxXmlNode
, SWIG_POINTER_EXCEPTION 
| 0); 
4967     if (SWIG_arg_fail(2)) SWIG_fail
; 
4969         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4970         (arg1
)->SetRoot(arg2
); 
4972         wxPyEndAllowThreads(__tstate
); 
4973         if (PyErr_Occurred()) SWIG_fail
; 
4975     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
4982 static PyObject 
*_wrap_XmlDocument_SetVersion(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4983     PyObject 
*resultobj
; 
4984     wxXmlDocument 
*arg1 
= (wxXmlDocument 
*) 0 ; 
4985     wxString 
*arg2 
= 0 ; 
4986     bool temp2 
= false ; 
4987     PyObject 
* obj0 
= 0 ; 
4988     PyObject 
* obj1 
= 0 ; 
4990         (char *) "self",(char *) "version", NULL 
 
4993     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:XmlDocument_SetVersion",kwnames
,&obj0
,&obj1
)) goto fail
; 
4994     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxXmlDocument
, SWIG_POINTER_EXCEPTION 
| 0); 
4995     if (SWIG_arg_fail(1)) SWIG_fail
; 
4997         arg2 
= wxString_in_helper(obj1
); 
4998         if (arg2 
== NULL
) SWIG_fail
; 
5002         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5003         (arg1
)->SetVersion((wxString 
const &)*arg2
); 
5005         wxPyEndAllowThreads(__tstate
); 
5006         if (PyErr_Occurred()) SWIG_fail
; 
5008     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
5023 static PyObject 
*_wrap_XmlDocument_SetFileEncoding(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5024     PyObject 
*resultobj
; 
5025     wxXmlDocument 
*arg1 
= (wxXmlDocument 
*) 0 ; 
5026     wxString 
*arg2 
= 0 ; 
5027     bool temp2 
= false ; 
5028     PyObject 
* obj0 
= 0 ; 
5029     PyObject 
* obj1 
= 0 ; 
5031         (char *) "self",(char *) "encoding", NULL 
 
5034     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:XmlDocument_SetFileEncoding",kwnames
,&obj0
,&obj1
)) goto fail
; 
5035     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxXmlDocument
, SWIG_POINTER_EXCEPTION 
| 0); 
5036     if (SWIG_arg_fail(1)) SWIG_fail
; 
5038         arg2 
= wxString_in_helper(obj1
); 
5039         if (arg2 
== NULL
) SWIG_fail
; 
5043         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5044         (arg1
)->SetFileEncoding((wxString 
const &)*arg2
); 
5046         wxPyEndAllowThreads(__tstate
); 
5047         if (PyErr_Occurred()) SWIG_fail
; 
5049     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
5064 static PyObject 
* XmlDocument_swigregister(PyObject 
*, PyObject 
*args
) { 
5066     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
5067     SWIG_TypeClientData(SWIGTYPE_p_wxXmlDocument
, obj
); 
5069     return Py_BuildValue((char *)""); 
5071 static PyObject 
*_wrap_new_XmlResourceHandler(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5072     PyObject 
*resultobj
; 
5073     wxPyXmlResourceHandler 
*result
; 
5078     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_XmlResourceHandler",kwnames
)) goto fail
; 
5080         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5081         result 
= (wxPyXmlResourceHandler 
*)new wxPyXmlResourceHandler(); 
5083         wxPyEndAllowThreads(__tstate
); 
5084         if (PyErr_Occurred()) SWIG_fail
; 
5086     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyXmlResourceHandler
, 1); 
5093 static PyObject 
*_wrap_XmlResourceHandler__setCallbackInfo(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5094     PyObject 
*resultobj
; 
5095     wxPyXmlResourceHandler 
*arg1 
= (wxPyXmlResourceHandler 
*) 0 ; 
5096     PyObject 
*arg2 
= (PyObject 
*) 0 ; 
5097     PyObject 
*arg3 
= (PyObject 
*) 0 ; 
5098     PyObject 
* obj0 
= 0 ; 
5099     PyObject 
* obj1 
= 0 ; 
5100     PyObject 
* obj2 
= 0 ; 
5102         (char *) "self",(char *) "self",(char *) "_class", NULL 
 
5105     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:XmlResourceHandler__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
5106     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyXmlResourceHandler
, SWIG_POINTER_EXCEPTION 
| 0); 
5107     if (SWIG_arg_fail(1)) SWIG_fail
; 
5111         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5112         (arg1
)->_setCallbackInfo(arg2
,arg3
); 
5114         wxPyEndAllowThreads(__tstate
); 
5115         if (PyErr_Occurred()) SWIG_fail
; 
5117     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
5124 static PyObject 
*_wrap_XmlResourceHandler_CreateResource(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5125     PyObject 
*resultobj
; 
5126     wxPyXmlResourceHandler 
*arg1 
= (wxPyXmlResourceHandler 
*) 0 ; 
5127     wxXmlNode 
*arg2 
= (wxXmlNode 
*) 0 ; 
5128     wxObject 
*arg3 
= (wxObject 
*) 0 ; 
5129     wxObject 
*arg4 
= (wxObject 
*) 0 ; 
5131     PyObject 
* obj0 
= 0 ; 
5132     PyObject 
* obj1 
= 0 ; 
5133     PyObject 
* obj2 
= 0 ; 
5134     PyObject 
* obj3 
= 0 ; 
5136         (char *) "self",(char *) "node",(char *) "parent",(char *) "instance", NULL 
 
5139     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:XmlResourceHandler_CreateResource",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
5140     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyXmlResourceHandler
, SWIG_POINTER_EXCEPTION 
| 0); 
5141     if (SWIG_arg_fail(1)) SWIG_fail
; 
5142     SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxXmlNode
, SWIG_POINTER_EXCEPTION 
| 0); 
5143     if (SWIG_arg_fail(2)) SWIG_fail
; 
5144     SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxObject
, SWIG_POINTER_EXCEPTION 
| 0); 
5145     if (SWIG_arg_fail(3)) SWIG_fail
; 
5146     SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxObject
, SWIG_POINTER_EXCEPTION 
| 0); 
5147     if (SWIG_arg_fail(4)) SWIG_fail
; 
5149         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5150         result 
= (wxObject 
*)(arg1
)->CreateResource(arg2
,arg3
,arg4
); 
5152         wxPyEndAllowThreads(__tstate
); 
5153         if (PyErr_Occurred()) SWIG_fail
; 
5156         resultobj 
= wxPyMake_wxObject(result
, 0);  
5164 static PyObject 
*_wrap_XmlResourceHandler_SetParentResource(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5165     PyObject 
*resultobj
; 
5166     wxPyXmlResourceHandler 
*arg1 
= (wxPyXmlResourceHandler 
*) 0 ; 
5167     wxXmlResource 
*arg2 
= (wxXmlResource 
*) 0 ; 
5168     PyObject 
* obj0 
= 0 ; 
5169     PyObject 
* obj1 
= 0 ; 
5171         (char *) "self",(char *) "res", NULL 
 
5174     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:XmlResourceHandler_SetParentResource",kwnames
,&obj0
,&obj1
)) goto fail
; 
5175     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyXmlResourceHandler
, SWIG_POINTER_EXCEPTION 
| 0); 
5176     if (SWIG_arg_fail(1)) SWIG_fail
; 
5177     SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxXmlResource
, SWIG_POINTER_EXCEPTION 
| 0); 
5178     if (SWIG_arg_fail(2)) SWIG_fail
; 
5180         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5181         (arg1
)->SetParentResource(arg2
); 
5183         wxPyEndAllowThreads(__tstate
); 
5184         if (PyErr_Occurred()) SWIG_fail
; 
5186     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
5193 static PyObject 
*_wrap_XmlResourceHandler_GetResource(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5194     PyObject 
*resultobj
; 
5195     wxPyXmlResourceHandler 
*arg1 
= (wxPyXmlResourceHandler 
*) 0 ; 
5196     wxXmlResource 
*result
; 
5197     PyObject 
* obj0 
= 0 ; 
5199         (char *) "self", NULL 
 
5202     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:XmlResourceHandler_GetResource",kwnames
,&obj0
)) goto fail
; 
5203     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyXmlResourceHandler
, SWIG_POINTER_EXCEPTION 
| 0); 
5204     if (SWIG_arg_fail(1)) SWIG_fail
; 
5206         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5207         result 
= (wxXmlResource 
*)(arg1
)->GetResource(); 
5209         wxPyEndAllowThreads(__tstate
); 
5210         if (PyErr_Occurred()) SWIG_fail
; 
5212     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxXmlResource
, 0); 
5219 static PyObject 
*_wrap_XmlResourceHandler_GetNode(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5220     PyObject 
*resultobj
; 
5221     wxPyXmlResourceHandler 
*arg1 
= (wxPyXmlResourceHandler 
*) 0 ; 
5223     PyObject 
* obj0 
= 0 ; 
5225         (char *) "self", NULL 
 
5228     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:XmlResourceHandler_GetNode",kwnames
,&obj0
)) goto fail
; 
5229     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyXmlResourceHandler
, SWIG_POINTER_EXCEPTION 
| 0); 
5230     if (SWIG_arg_fail(1)) SWIG_fail
; 
5232         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5233         result 
= (wxXmlNode 
*)(arg1
)->GetNode(); 
5235         wxPyEndAllowThreads(__tstate
); 
5236         if (PyErr_Occurred()) SWIG_fail
; 
5238     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxXmlNode
, 0); 
5245 static PyObject 
*_wrap_XmlResourceHandler_GetClass(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5246     PyObject 
*resultobj
; 
5247     wxPyXmlResourceHandler 
*arg1 
= (wxPyXmlResourceHandler 
*) 0 ; 
5249     PyObject 
* obj0 
= 0 ; 
5251         (char *) "self", NULL 
 
5254     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:XmlResourceHandler_GetClass",kwnames
,&obj0
)) goto fail
; 
5255     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyXmlResourceHandler
, SWIG_POINTER_EXCEPTION 
| 0); 
5256     if (SWIG_arg_fail(1)) SWIG_fail
; 
5258         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5259         result 
= (arg1
)->GetClass(); 
5261         wxPyEndAllowThreads(__tstate
); 
5262         if (PyErr_Occurred()) SWIG_fail
; 
5266         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
5268         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
5277 static PyObject 
*_wrap_XmlResourceHandler_GetParent(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5278     PyObject 
*resultobj
; 
5279     wxPyXmlResourceHandler 
*arg1 
= (wxPyXmlResourceHandler 
*) 0 ; 
5281     PyObject 
* obj0 
= 0 ; 
5283         (char *) "self", NULL 
 
5286     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:XmlResourceHandler_GetParent",kwnames
,&obj0
)) goto fail
; 
5287     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyXmlResourceHandler
, SWIG_POINTER_EXCEPTION 
| 0); 
5288     if (SWIG_arg_fail(1)) SWIG_fail
; 
5290         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5291         result 
= (wxObject 
*)(arg1
)->GetParent(); 
5293         wxPyEndAllowThreads(__tstate
); 
5294         if (PyErr_Occurred()) SWIG_fail
; 
5297         resultobj 
= wxPyMake_wxObject(result
, 0);  
5305 static PyObject 
*_wrap_XmlResourceHandler_GetInstance(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5306     PyObject 
*resultobj
; 
5307     wxPyXmlResourceHandler 
*arg1 
= (wxPyXmlResourceHandler 
*) 0 ; 
5309     PyObject 
* obj0 
= 0 ; 
5311         (char *) "self", NULL 
 
5314     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:XmlResourceHandler_GetInstance",kwnames
,&obj0
)) goto fail
; 
5315     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyXmlResourceHandler
, SWIG_POINTER_EXCEPTION 
| 0); 
5316     if (SWIG_arg_fail(1)) SWIG_fail
; 
5318         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5319         result 
= (wxObject 
*)(arg1
)->GetInstance(); 
5321         wxPyEndAllowThreads(__tstate
); 
5322         if (PyErr_Occurred()) SWIG_fail
; 
5325         resultobj 
= wxPyMake_wxObject(result
, 0);  
5333 static PyObject 
*_wrap_XmlResourceHandler_GetParentAsWindow(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5334     PyObject 
*resultobj
; 
5335     wxPyXmlResourceHandler 
*arg1 
= (wxPyXmlResourceHandler 
*) 0 ; 
5337     PyObject 
* obj0 
= 0 ; 
5339         (char *) "self", NULL 
 
5342     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:XmlResourceHandler_GetParentAsWindow",kwnames
,&obj0
)) goto fail
; 
5343     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyXmlResourceHandler
, SWIG_POINTER_EXCEPTION 
| 0); 
5344     if (SWIG_arg_fail(1)) SWIG_fail
; 
5346         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5347         result 
= (wxWindow 
*)(arg1
)->GetParentAsWindow(); 
5349         wxPyEndAllowThreads(__tstate
); 
5350         if (PyErr_Occurred()) SWIG_fail
; 
5353         resultobj 
= wxPyMake_wxObject(result
, 0);  
5361 static PyObject 
*_wrap_XmlResourceHandler_IsOfClass(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5362     PyObject 
*resultobj
; 
5363     wxPyXmlResourceHandler 
*arg1 
= (wxPyXmlResourceHandler 
*) 0 ; 
5364     wxXmlNode 
*arg2 
= (wxXmlNode 
*) 0 ; 
5365     wxString 
*arg3 
= 0 ; 
5367     bool temp3 
= false ; 
5368     PyObject 
* obj0 
= 0 ; 
5369     PyObject 
* obj1 
= 0 ; 
5370     PyObject 
* obj2 
= 0 ; 
5372         (char *) "self",(char *) "node",(char *) "classname", NULL 
 
5375     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:XmlResourceHandler_IsOfClass",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
5376     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyXmlResourceHandler
, SWIG_POINTER_EXCEPTION 
| 0); 
5377     if (SWIG_arg_fail(1)) SWIG_fail
; 
5378     SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxXmlNode
, SWIG_POINTER_EXCEPTION 
| 0); 
5379     if (SWIG_arg_fail(2)) SWIG_fail
; 
5381         arg3 
= wxString_in_helper(obj2
); 
5382         if (arg3 
== NULL
) SWIG_fail
; 
5386         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5387         result 
= (bool)(arg1
)->IsOfClass(arg2
,(wxString 
const &)*arg3
); 
5389         wxPyEndAllowThreads(__tstate
); 
5390         if (PyErr_Occurred()) SWIG_fail
; 
5393         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
5409 static PyObject 
*_wrap_XmlResourceHandler_GetNodeContent(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5410     PyObject 
*resultobj
; 
5411     wxPyXmlResourceHandler 
*arg1 
= (wxPyXmlResourceHandler 
*) 0 ; 
5412     wxXmlNode 
*arg2 
= (wxXmlNode 
*) 0 ; 
5414     PyObject 
* obj0 
= 0 ; 
5415     PyObject 
* obj1 
= 0 ; 
5417         (char *) "self",(char *) "node", NULL 
 
5420     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:XmlResourceHandler_GetNodeContent",kwnames
,&obj0
,&obj1
)) goto fail
; 
5421     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyXmlResourceHandler
, SWIG_POINTER_EXCEPTION 
| 0); 
5422     if (SWIG_arg_fail(1)) SWIG_fail
; 
5423     SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxXmlNode
, SWIG_POINTER_EXCEPTION 
| 0); 
5424     if (SWIG_arg_fail(2)) SWIG_fail
; 
5426         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5427         result 
= (arg1
)->GetNodeContent(arg2
); 
5429         wxPyEndAllowThreads(__tstate
); 
5430         if (PyErr_Occurred()) SWIG_fail
; 
5434         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
5436         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
5445 static PyObject 
*_wrap_XmlResourceHandler_HasParam(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5446     PyObject 
*resultobj
; 
5447     wxPyXmlResourceHandler 
*arg1 
= (wxPyXmlResourceHandler 
*) 0 ; 
5448     wxString 
*arg2 
= 0 ; 
5450     bool temp2 
= false ; 
5451     PyObject 
* obj0 
= 0 ; 
5452     PyObject 
* obj1 
= 0 ; 
5454         (char *) "self",(char *) "param", NULL 
 
5457     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:XmlResourceHandler_HasParam",kwnames
,&obj0
,&obj1
)) goto fail
; 
5458     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyXmlResourceHandler
, SWIG_POINTER_EXCEPTION 
| 0); 
5459     if (SWIG_arg_fail(1)) SWIG_fail
; 
5461         arg2 
= wxString_in_helper(obj1
); 
5462         if (arg2 
== NULL
) SWIG_fail
; 
5466         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5467         result 
= (bool)(arg1
)->HasParam((wxString 
const &)*arg2
); 
5469         wxPyEndAllowThreads(__tstate
); 
5470         if (PyErr_Occurred()) SWIG_fail
; 
5473         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
5489 static PyObject 
*_wrap_XmlResourceHandler_GetParamNode(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5490     PyObject 
*resultobj
; 
5491     wxPyXmlResourceHandler 
*arg1 
= (wxPyXmlResourceHandler 
*) 0 ; 
5492     wxString 
*arg2 
= 0 ; 
5494     bool temp2 
= false ; 
5495     PyObject 
* obj0 
= 0 ; 
5496     PyObject 
* obj1 
= 0 ; 
5498         (char *) "self",(char *) "param", NULL 
 
5501     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:XmlResourceHandler_GetParamNode",kwnames
,&obj0
,&obj1
)) goto fail
; 
5502     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyXmlResourceHandler
, SWIG_POINTER_EXCEPTION 
| 0); 
5503     if (SWIG_arg_fail(1)) SWIG_fail
; 
5505         arg2 
= wxString_in_helper(obj1
); 
5506         if (arg2 
== NULL
) SWIG_fail
; 
5510         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5511         result 
= (wxXmlNode 
*)(arg1
)->GetParamNode((wxString 
const &)*arg2
); 
5513         wxPyEndAllowThreads(__tstate
); 
5514         if (PyErr_Occurred()) SWIG_fail
; 
5516     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxXmlNode
, 0); 
5531 static PyObject 
*_wrap_XmlResourceHandler_GetParamValue(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5532     PyObject 
*resultobj
; 
5533     wxPyXmlResourceHandler 
*arg1 
= (wxPyXmlResourceHandler 
*) 0 ; 
5534     wxString 
*arg2 
= 0 ; 
5536     bool temp2 
= false ; 
5537     PyObject 
* obj0 
= 0 ; 
5538     PyObject 
* obj1 
= 0 ; 
5540         (char *) "self",(char *) "param", NULL 
 
5543     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:XmlResourceHandler_GetParamValue",kwnames
,&obj0
,&obj1
)) goto fail
; 
5544     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyXmlResourceHandler
, SWIG_POINTER_EXCEPTION 
| 0); 
5545     if (SWIG_arg_fail(1)) SWIG_fail
; 
5547         arg2 
= wxString_in_helper(obj1
); 
5548         if (arg2 
== NULL
) SWIG_fail
; 
5552         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5553         result 
= (arg1
)->GetParamValue((wxString 
const &)*arg2
); 
5555         wxPyEndAllowThreads(__tstate
); 
5556         if (PyErr_Occurred()) SWIG_fail
; 
5560         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
5562         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
5579 static PyObject 
*_wrap_XmlResourceHandler_AddStyle(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5580     PyObject 
*resultobj
; 
5581     wxPyXmlResourceHandler 
*arg1 
= (wxPyXmlResourceHandler 
*) 0 ; 
5582     wxString 
*arg2 
= 0 ; 
5584     bool temp2 
= false ; 
5585     PyObject 
* obj0 
= 0 ; 
5586     PyObject 
* obj1 
= 0 ; 
5587     PyObject 
* obj2 
= 0 ; 
5589         (char *) "self",(char *) "name",(char *) "value", NULL 
 
5592     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:XmlResourceHandler_AddStyle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
5593     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyXmlResourceHandler
, SWIG_POINTER_EXCEPTION 
| 0); 
5594     if (SWIG_arg_fail(1)) SWIG_fail
; 
5596         arg2 
= wxString_in_helper(obj1
); 
5597         if (arg2 
== NULL
) SWIG_fail
; 
5601         arg3 
= (int)(SWIG_As_int(obj2
));  
5602         if (SWIG_arg_fail(3)) SWIG_fail
; 
5605         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5606         (arg1
)->AddStyle((wxString 
const &)*arg2
,arg3
); 
5608         wxPyEndAllowThreads(__tstate
); 
5609         if (PyErr_Occurred()) SWIG_fail
; 
5611     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
5626 static PyObject 
*_wrap_XmlResourceHandler_AddWindowStyles(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5627     PyObject 
*resultobj
; 
5628     wxPyXmlResourceHandler 
*arg1 
= (wxPyXmlResourceHandler 
*) 0 ; 
5629     PyObject 
* obj0 
= 0 ; 
5631         (char *) "self", NULL 
 
5634     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:XmlResourceHandler_AddWindowStyles",kwnames
,&obj0
)) goto fail
; 
5635     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyXmlResourceHandler
, SWIG_POINTER_EXCEPTION 
| 0); 
5636     if (SWIG_arg_fail(1)) SWIG_fail
; 
5638         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5639         (arg1
)->AddWindowStyles(); 
5641         wxPyEndAllowThreads(__tstate
); 
5642         if (PyErr_Occurred()) SWIG_fail
; 
5644     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
5651 static PyObject 
*_wrap_XmlResourceHandler_GetStyle(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5652     PyObject 
*resultobj
; 
5653     wxPyXmlResourceHandler 
*arg1 
= (wxPyXmlResourceHandler 
*) 0 ; 
5654     wxString 
const &arg2_defvalue 
= wxPyStyleString 
; 
5655     wxString 
*arg2 
= (wxString 
*) &arg2_defvalue 
; 
5656     int arg3 
= (int) 0 ; 
5658     bool temp2 
= false ; 
5659     PyObject 
* obj0 
= 0 ; 
5660     PyObject 
* obj1 
= 0 ; 
5661     PyObject 
* obj2 
= 0 ; 
5663         (char *) "self",(char *) "param",(char *) "defaults", NULL 
 
5666     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:XmlResourceHandler_GetStyle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
5667     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyXmlResourceHandler
, SWIG_POINTER_EXCEPTION 
| 0); 
5668     if (SWIG_arg_fail(1)) SWIG_fail
; 
5671             arg2 
= wxString_in_helper(obj1
); 
5672             if (arg2 
== NULL
) SWIG_fail
; 
5678             arg3 
= (int)(SWIG_As_int(obj2
));  
5679             if (SWIG_arg_fail(3)) SWIG_fail
; 
5683         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5684         result 
= (int)(arg1
)->GetStyle((wxString 
const &)*arg2
,arg3
); 
5686         wxPyEndAllowThreads(__tstate
); 
5687         if (PyErr_Occurred()) SWIG_fail
; 
5690         resultobj 
= SWIG_From_int((int)(result
));  
5706 static PyObject 
*_wrap_XmlResourceHandler_GetText(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5707     PyObject 
*resultobj
; 
5708     wxPyXmlResourceHandler 
*arg1 
= (wxPyXmlResourceHandler 
*) 0 ; 
5709     wxString 
*arg2 
= 0 ; 
5710     bool arg3 
= (bool) true ; 
5712     bool temp2 
= false ; 
5713     PyObject 
* obj0 
= 0 ; 
5714     PyObject 
* obj1 
= 0 ; 
5715     PyObject 
* obj2 
= 0 ; 
5717         (char *) "self",(char *) "param",(char *) "translate", NULL 
 
5720     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:XmlResourceHandler_GetText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
5721     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyXmlResourceHandler
, SWIG_POINTER_EXCEPTION 
| 0); 
5722     if (SWIG_arg_fail(1)) SWIG_fail
; 
5724         arg2 
= wxString_in_helper(obj1
); 
5725         if (arg2 
== NULL
) SWIG_fail
; 
5730             arg3 
= (bool)(SWIG_As_bool(obj2
));  
5731             if (SWIG_arg_fail(3)) SWIG_fail
; 
5735         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5736         result 
= (arg1
)->GetText((wxString 
const &)*arg2
,arg3
); 
5738         wxPyEndAllowThreads(__tstate
); 
5739         if (PyErr_Occurred()) SWIG_fail
; 
5743         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
5745         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
5762 static PyObject 
*_wrap_XmlResourceHandler_GetID(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5763     PyObject 
*resultobj
; 
5764     wxPyXmlResourceHandler 
*arg1 
= (wxPyXmlResourceHandler 
*) 0 ; 
5766     PyObject 
* obj0 
= 0 ; 
5768         (char *) "self", NULL 
 
5771     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:XmlResourceHandler_GetID",kwnames
,&obj0
)) goto fail
; 
5772     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyXmlResourceHandler
, SWIG_POINTER_EXCEPTION 
| 0); 
5773     if (SWIG_arg_fail(1)) SWIG_fail
; 
5775         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5776         result 
= (int)(arg1
)->GetID(); 
5778         wxPyEndAllowThreads(__tstate
); 
5779         if (PyErr_Occurred()) SWIG_fail
; 
5782         resultobj 
= SWIG_From_int((int)(result
));  
5790 static PyObject 
*_wrap_XmlResourceHandler_GetName(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5791     PyObject 
*resultobj
; 
5792     wxPyXmlResourceHandler 
*arg1 
= (wxPyXmlResourceHandler 
*) 0 ; 
5794     PyObject 
* obj0 
= 0 ; 
5796         (char *) "self", NULL 
 
5799     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:XmlResourceHandler_GetName",kwnames
,&obj0
)) goto fail
; 
5800     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyXmlResourceHandler
, SWIG_POINTER_EXCEPTION 
| 0); 
5801     if (SWIG_arg_fail(1)) SWIG_fail
; 
5803         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5804         result 
= (arg1
)->GetName(); 
5806         wxPyEndAllowThreads(__tstate
); 
5807         if (PyErr_Occurred()) SWIG_fail
; 
5811         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
5813         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
5822 static PyObject 
*_wrap_XmlResourceHandler_GetBool(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5823     PyObject 
*resultobj
; 
5824     wxPyXmlResourceHandler 
*arg1 
= (wxPyXmlResourceHandler 
*) 0 ; 
5825     wxString 
*arg2 
= 0 ; 
5826     bool arg3 
= (bool) false ; 
5828     bool temp2 
= false ; 
5829     PyObject 
* obj0 
= 0 ; 
5830     PyObject 
* obj1 
= 0 ; 
5831     PyObject 
* obj2 
= 0 ; 
5833         (char *) "self",(char *) "param",(char *) "defaultv", NULL 
 
5836     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:XmlResourceHandler_GetBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
5837     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyXmlResourceHandler
, SWIG_POINTER_EXCEPTION 
| 0); 
5838     if (SWIG_arg_fail(1)) SWIG_fail
; 
5840         arg2 
= wxString_in_helper(obj1
); 
5841         if (arg2 
== NULL
) SWIG_fail
; 
5846             arg3 
= (bool)(SWIG_As_bool(obj2
));  
5847             if (SWIG_arg_fail(3)) SWIG_fail
; 
5851         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5852         result 
= (bool)(arg1
)->GetBool((wxString 
const &)*arg2
,arg3
); 
5854         wxPyEndAllowThreads(__tstate
); 
5855         if (PyErr_Occurred()) SWIG_fail
; 
5858         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
5874 static PyObject 
*_wrap_XmlResourceHandler_GetLong(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5875     PyObject 
*resultobj
; 
5876     wxPyXmlResourceHandler 
*arg1 
= (wxPyXmlResourceHandler 
*) 0 ; 
5877     wxString 
*arg2 
= 0 ; 
5878     long arg3 
= (long) 0 ; 
5880     bool temp2 
= false ; 
5881     PyObject 
* obj0 
= 0 ; 
5882     PyObject 
* obj1 
= 0 ; 
5883     PyObject 
* obj2 
= 0 ; 
5885         (char *) "self",(char *) "param",(char *) "defaultv", NULL 
 
5888     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:XmlResourceHandler_GetLong",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
5889     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyXmlResourceHandler
, SWIG_POINTER_EXCEPTION 
| 0); 
5890     if (SWIG_arg_fail(1)) SWIG_fail
; 
5892         arg2 
= wxString_in_helper(obj1
); 
5893         if (arg2 
== NULL
) SWIG_fail
; 
5898             arg3 
= (long)(SWIG_As_long(obj2
));  
5899             if (SWIG_arg_fail(3)) SWIG_fail
; 
5903         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5904         result 
= (long)(arg1
)->GetLong((wxString 
const &)*arg2
,arg3
); 
5906         wxPyEndAllowThreads(__tstate
); 
5907         if (PyErr_Occurred()) SWIG_fail
; 
5910         resultobj 
= SWIG_From_long((long)(result
));  
5926 static PyObject 
*_wrap_XmlResourceHandler_GetColour(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5927     PyObject 
*resultobj
; 
5928     wxPyXmlResourceHandler 
*arg1 
= (wxPyXmlResourceHandler 
*) 0 ; 
5929     wxString 
*arg2 
= 0 ; 
5931     bool temp2 
= false ; 
5932     PyObject 
* obj0 
= 0 ; 
5933     PyObject 
* obj1 
= 0 ; 
5935         (char *) "self",(char *) "param", NULL 
 
5938     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:XmlResourceHandler_GetColour",kwnames
,&obj0
,&obj1
)) goto fail
; 
5939     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyXmlResourceHandler
, SWIG_POINTER_EXCEPTION 
| 0); 
5940     if (SWIG_arg_fail(1)) SWIG_fail
; 
5942         arg2 
= wxString_in_helper(obj1
); 
5943         if (arg2 
== NULL
) SWIG_fail
; 
5947         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5948         result 
= (arg1
)->GetColour((wxString 
const &)*arg2
); 
5950         wxPyEndAllowThreads(__tstate
); 
5951         if (PyErr_Occurred()) SWIG_fail
; 
5954         wxColour 
* resultptr
; 
5955         resultptr 
= new wxColour((wxColour 
&)(result
)); 
5956         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1); 
5972 static PyObject 
*_wrap_XmlResourceHandler_GetSize(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5973     PyObject 
*resultobj
; 
5974     wxPyXmlResourceHandler 
*arg1 
= (wxPyXmlResourceHandler 
*) 0 ; 
5975     wxString 
const &arg2_defvalue 
= wxPySizeString 
; 
5976     wxString 
*arg2 
= (wxString 
*) &arg2_defvalue 
; 
5978     bool temp2 
= false ; 
5979     PyObject 
* obj0 
= 0 ; 
5980     PyObject 
* obj1 
= 0 ; 
5982         (char *) "self",(char *) "param", NULL 
 
5985     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:XmlResourceHandler_GetSize",kwnames
,&obj0
,&obj1
)) goto fail
; 
5986     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyXmlResourceHandler
, SWIG_POINTER_EXCEPTION 
| 0); 
5987     if (SWIG_arg_fail(1)) SWIG_fail
; 
5990             arg2 
= wxString_in_helper(obj1
); 
5991             if (arg2 
== NULL
) SWIG_fail
; 
5996         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5997         result 
= (arg1
)->GetSize((wxString 
const &)*arg2
); 
5999         wxPyEndAllowThreads(__tstate
); 
6000         if (PyErr_Occurred()) SWIG_fail
; 
6004         resultptr 
= new wxSize((wxSize 
&)(result
)); 
6005         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1); 
6021 static PyObject 
*_wrap_XmlResourceHandler_GetPosition(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6022     PyObject 
*resultobj
; 
6023     wxPyXmlResourceHandler 
*arg1 
= (wxPyXmlResourceHandler 
*) 0 ; 
6024     wxString 
const &arg2_defvalue 
= wxPyPosString 
; 
6025     wxString 
*arg2 
= (wxString 
*) &arg2_defvalue 
; 
6027     bool temp2 
= false ; 
6028     PyObject 
* obj0 
= 0 ; 
6029     PyObject 
* obj1 
= 0 ; 
6031         (char *) "self",(char *) "param", NULL 
 
6034     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:XmlResourceHandler_GetPosition",kwnames
,&obj0
,&obj1
)) goto fail
; 
6035     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyXmlResourceHandler
, SWIG_POINTER_EXCEPTION 
| 0); 
6036     if (SWIG_arg_fail(1)) SWIG_fail
; 
6039             arg2 
= wxString_in_helper(obj1
); 
6040             if (arg2 
== NULL
) SWIG_fail
; 
6045         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6046         result 
= (arg1
)->GetPosition((wxString 
const &)*arg2
); 
6048         wxPyEndAllowThreads(__tstate
); 
6049         if (PyErr_Occurred()) SWIG_fail
; 
6052         wxPoint 
* resultptr
; 
6053         resultptr 
= new wxPoint((wxPoint 
&)(result
)); 
6054         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1); 
6070 static PyObject 
*_wrap_XmlResourceHandler_GetDimension(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6071     PyObject 
*resultobj
; 
6072     wxPyXmlResourceHandler 
*arg1 
= (wxPyXmlResourceHandler 
*) 0 ; 
6073     wxString 
*arg2 
= 0 ; 
6074     int arg3 
= (int) 0 ; 
6076     bool temp2 
= false ; 
6077     PyObject 
* obj0 
= 0 ; 
6078     PyObject 
* obj1 
= 0 ; 
6079     PyObject 
* obj2 
= 0 ; 
6081         (char *) "self",(char *) "param",(char *) "defaultv", NULL 
 
6084     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:XmlResourceHandler_GetDimension",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
6085     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyXmlResourceHandler
, SWIG_POINTER_EXCEPTION 
| 0); 
6086     if (SWIG_arg_fail(1)) SWIG_fail
; 
6088         arg2 
= wxString_in_helper(obj1
); 
6089         if (arg2 
== NULL
) SWIG_fail
; 
6094             arg3 
= (int)(SWIG_As_int(obj2
));  
6095             if (SWIG_arg_fail(3)) SWIG_fail
; 
6099         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6100         result 
= (int)(arg1
)->GetDimension((wxString 
const &)*arg2
,arg3
); 
6102         wxPyEndAllowThreads(__tstate
); 
6103         if (PyErr_Occurred()) SWIG_fail
; 
6106         resultobj 
= SWIG_From_int((int)(result
));  
6122 static PyObject 
*_wrap_XmlResourceHandler_GetBitmap(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6123     PyObject 
*resultobj
; 
6124     wxPyXmlResourceHandler 
*arg1 
= (wxPyXmlResourceHandler 
*) 0 ; 
6125     wxString 
const &arg2_defvalue 
= wxPyBitmapString 
; 
6126     wxString 
*arg2 
= (wxString 
*) &arg2_defvalue 
; 
6127     wxArtClient 
const &arg3_defvalue 
= wxART_OTHER 
; 
6128     wxArtClient 
*arg3 
= (wxArtClient 
*) &arg3_defvalue 
; 
6129     wxSize arg4 
= (wxSize
) wxDefaultSize 
; 
6131     bool temp2 
= false ; 
6132     PyObject 
* obj0 
= 0 ; 
6133     PyObject 
* obj1 
= 0 ; 
6134     PyObject 
* obj2 
= 0 ; 
6135     PyObject 
* obj3 
= 0 ; 
6137         (char *) "self",(char *) "param",(char *) "defaultArtClient",(char *) "size", NULL 
 
6140     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:XmlResourceHandler_GetBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
6141     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyXmlResourceHandler
, SWIG_POINTER_EXCEPTION 
| 0); 
6142     if (SWIG_arg_fail(1)) SWIG_fail
; 
6145             arg2 
= wxString_in_helper(obj1
); 
6146             if (arg2 
== NULL
) SWIG_fail
; 
6152             SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxArtClient
, SWIG_POINTER_EXCEPTION 
| 0); 
6153             if (SWIG_arg_fail(3)) SWIG_fail
; 
6155                 SWIG_null_ref("wxArtClient"); 
6157             if (SWIG_arg_fail(3)) SWIG_fail
; 
6163             SWIG_Python_ConvertPtr(obj3
, (void **)&argp
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
); 
6164             if (SWIG_arg_fail(4)) SWIG_fail
; 
6166                 SWIG_null_ref("wxSize"); 
6168             if (SWIG_arg_fail(4)) SWIG_fail
; 
6173         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6174         result 
= (arg1
)->GetBitmap((wxString 
const &)*arg2
,(wxArtClient 
const &)*arg3
,arg4
); 
6176         wxPyEndAllowThreads(__tstate
); 
6177         if (PyErr_Occurred()) SWIG_fail
; 
6180         wxBitmap 
* resultptr
; 
6181         resultptr 
= new wxBitmap((wxBitmap 
&)(result
)); 
6182         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1); 
6198 static PyObject 
*_wrap_XmlResourceHandler_GetIcon(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6199     PyObject 
*resultobj
; 
6200     wxPyXmlResourceHandler 
*arg1 
= (wxPyXmlResourceHandler 
*) 0 ; 
6201     wxString 
const &arg2_defvalue 
= wxPyIconString 
; 
6202     wxString 
*arg2 
= (wxString 
*) &arg2_defvalue 
; 
6203     wxArtClient 
const &arg3_defvalue 
= wxART_OTHER 
; 
6204     wxArtClient 
*arg3 
= (wxArtClient 
*) &arg3_defvalue 
; 
6205     wxSize arg4 
= (wxSize
) wxDefaultSize 
; 
6207     bool temp2 
= false ; 
6208     PyObject 
* obj0 
= 0 ; 
6209     PyObject 
* obj1 
= 0 ; 
6210     PyObject 
* obj2 
= 0 ; 
6211     PyObject 
* obj3 
= 0 ; 
6213         (char *) "self",(char *) "param",(char *) "defaultArtClient",(char *) "size", NULL 
 
6216     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:XmlResourceHandler_GetIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
6217     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyXmlResourceHandler
, SWIG_POINTER_EXCEPTION 
| 0); 
6218     if (SWIG_arg_fail(1)) SWIG_fail
; 
6221             arg2 
= wxString_in_helper(obj1
); 
6222             if (arg2 
== NULL
) SWIG_fail
; 
6228             SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxArtClient
, SWIG_POINTER_EXCEPTION 
| 0); 
6229             if (SWIG_arg_fail(3)) SWIG_fail
; 
6231                 SWIG_null_ref("wxArtClient"); 
6233             if (SWIG_arg_fail(3)) SWIG_fail
; 
6239             SWIG_Python_ConvertPtr(obj3
, (void **)&argp
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
); 
6240             if (SWIG_arg_fail(4)) SWIG_fail
; 
6242                 SWIG_null_ref("wxSize"); 
6244             if (SWIG_arg_fail(4)) SWIG_fail
; 
6249         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6250         result 
= (arg1
)->GetIcon((wxString 
const &)*arg2
,(wxArtClient 
const &)*arg3
,arg4
); 
6252         wxPyEndAllowThreads(__tstate
); 
6253         if (PyErr_Occurred()) SWIG_fail
; 
6257         resultptr 
= new wxIcon((wxIcon 
&)(result
)); 
6258         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxIcon
, 1); 
6274 static PyObject 
*_wrap_XmlResourceHandler_GetFont(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6275     PyObject 
*resultobj
; 
6276     wxPyXmlResourceHandler 
*arg1 
= (wxPyXmlResourceHandler 
*) 0 ; 
6277     wxString 
const &arg2_defvalue 
= wxPyFontString 
; 
6278     wxString 
*arg2 
= (wxString 
*) &arg2_defvalue 
; 
6280     bool temp2 
= false ; 
6281     PyObject 
* obj0 
= 0 ; 
6282     PyObject 
* obj1 
= 0 ; 
6284         (char *) "self",(char *) "param", NULL 
 
6287     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:XmlResourceHandler_GetFont",kwnames
,&obj0
,&obj1
)) goto fail
; 
6288     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyXmlResourceHandler
, SWIG_POINTER_EXCEPTION 
| 0); 
6289     if (SWIG_arg_fail(1)) SWIG_fail
; 
6292             arg2 
= wxString_in_helper(obj1
); 
6293             if (arg2 
== NULL
) SWIG_fail
; 
6298         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6299         result 
= (arg1
)->GetFont((wxString 
const &)*arg2
); 
6301         wxPyEndAllowThreads(__tstate
); 
6302         if (PyErr_Occurred()) SWIG_fail
; 
6306         resultptr 
= new wxFont((wxFont 
&)(result
)); 
6307         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1); 
6323 static PyObject 
*_wrap_XmlResourceHandler_SetupWindow(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6324     PyObject 
*resultobj
; 
6325     wxPyXmlResourceHandler 
*arg1 
= (wxPyXmlResourceHandler 
*) 0 ; 
6326     wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
6327     PyObject 
* obj0 
= 0 ; 
6328     PyObject 
* obj1 
= 0 ; 
6330         (char *) "self",(char *) "wnd", NULL 
 
6333     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:XmlResourceHandler_SetupWindow",kwnames
,&obj0
,&obj1
)) goto fail
; 
6334     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyXmlResourceHandler
, SWIG_POINTER_EXCEPTION 
| 0); 
6335     if (SWIG_arg_fail(1)) SWIG_fail
; 
6336     SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
6337     if (SWIG_arg_fail(2)) SWIG_fail
; 
6339         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6340         (arg1
)->SetupWindow(arg2
); 
6342         wxPyEndAllowThreads(__tstate
); 
6343         if (PyErr_Occurred()) SWIG_fail
; 
6345     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
6352 static PyObject 
*_wrap_XmlResourceHandler_CreateChildren(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6353     PyObject 
*resultobj
; 
6354     wxPyXmlResourceHandler 
*arg1 
= (wxPyXmlResourceHandler 
*) 0 ; 
6355     wxObject 
*arg2 
= (wxObject 
*) 0 ; 
6356     bool arg3 
= (bool) false ; 
6357     PyObject 
* obj0 
= 0 ; 
6358     PyObject 
* obj1 
= 0 ; 
6359     PyObject 
* obj2 
= 0 ; 
6361         (char *) "self",(char *) "parent",(char *) "this_hnd_only", NULL 
 
6364     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:XmlResourceHandler_CreateChildren",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
6365     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyXmlResourceHandler
, SWIG_POINTER_EXCEPTION 
| 0); 
6366     if (SWIG_arg_fail(1)) SWIG_fail
; 
6367     SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxObject
, SWIG_POINTER_EXCEPTION 
| 0); 
6368     if (SWIG_arg_fail(2)) SWIG_fail
; 
6371             arg3 
= (bool)(SWIG_As_bool(obj2
));  
6372             if (SWIG_arg_fail(3)) SWIG_fail
; 
6376         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6377         (arg1
)->CreateChildren(arg2
,arg3
); 
6379         wxPyEndAllowThreads(__tstate
); 
6380         if (PyErr_Occurred()) SWIG_fail
; 
6382     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
6389 static PyObject 
*_wrap_XmlResourceHandler_CreateChildrenPrivately(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6390     PyObject 
*resultobj
; 
6391     wxPyXmlResourceHandler 
*arg1 
= (wxPyXmlResourceHandler 
*) 0 ; 
6392     wxObject 
*arg2 
= (wxObject 
*) 0 ; 
6393     wxXmlNode 
*arg3 
= (wxXmlNode 
*) NULL 
; 
6394     PyObject 
* obj0 
= 0 ; 
6395     PyObject 
* obj1 
= 0 ; 
6396     PyObject 
* obj2 
= 0 ; 
6398         (char *) "self",(char *) "parent",(char *) "rootnode", NULL 
 
6401     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:XmlResourceHandler_CreateChildrenPrivately",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
6402     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyXmlResourceHandler
, SWIG_POINTER_EXCEPTION 
| 0); 
6403     if (SWIG_arg_fail(1)) SWIG_fail
; 
6404     SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxObject
, SWIG_POINTER_EXCEPTION 
| 0); 
6405     if (SWIG_arg_fail(2)) SWIG_fail
; 
6407         SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxXmlNode
, SWIG_POINTER_EXCEPTION 
| 0); 
6408         if (SWIG_arg_fail(3)) SWIG_fail
; 
6411         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6412         (arg1
)->CreateChildrenPrivately(arg2
,arg3
); 
6414         wxPyEndAllowThreads(__tstate
); 
6415         if (PyErr_Occurred()) SWIG_fail
; 
6417     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
6424 static PyObject 
*_wrap_XmlResourceHandler_CreateResFromNode(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6425     PyObject 
*resultobj
; 
6426     wxPyXmlResourceHandler 
*arg1 
= (wxPyXmlResourceHandler 
*) 0 ; 
6427     wxXmlNode 
*arg2 
= (wxXmlNode 
*) 0 ; 
6428     wxObject 
*arg3 
= (wxObject 
*) 0 ; 
6429     wxObject 
*arg4 
= (wxObject 
*) NULL 
; 
6431     PyObject 
* obj0 
= 0 ; 
6432     PyObject 
* obj1 
= 0 ; 
6433     PyObject 
* obj2 
= 0 ; 
6434     PyObject 
* obj3 
= 0 ; 
6436         (char *) "self",(char *) "node",(char *) "parent",(char *) "instance", NULL 
 
6439     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:XmlResourceHandler_CreateResFromNode",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
6440     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyXmlResourceHandler
, SWIG_POINTER_EXCEPTION 
| 0); 
6441     if (SWIG_arg_fail(1)) SWIG_fail
; 
6442     SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxXmlNode
, SWIG_POINTER_EXCEPTION 
| 0); 
6443     if (SWIG_arg_fail(2)) SWIG_fail
; 
6444     SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxObject
, SWIG_POINTER_EXCEPTION 
| 0); 
6445     if (SWIG_arg_fail(3)) SWIG_fail
; 
6447         SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxObject
, SWIG_POINTER_EXCEPTION 
| 0); 
6448         if (SWIG_arg_fail(4)) SWIG_fail
; 
6451         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6452         result 
= (wxObject 
*)(arg1
)->CreateResFromNode(arg2
,arg3
,arg4
); 
6454         wxPyEndAllowThreads(__tstate
); 
6455         if (PyErr_Occurred()) SWIG_fail
; 
6458         resultobj 
= wxPyMake_wxObject(result
, 0);  
6466 static PyObject 
*_wrap_XmlResourceHandler_GetCurFileSystem(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6467     PyObject 
*resultobj
; 
6468     wxPyXmlResourceHandler 
*arg1 
= (wxPyXmlResourceHandler 
*) 0 ; 
6469     wxFileSystem 
*result
; 
6470     PyObject 
* obj0 
= 0 ; 
6472         (char *) "self", NULL 
 
6475     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:XmlResourceHandler_GetCurFileSystem",kwnames
,&obj0
)) goto fail
; 
6476     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyXmlResourceHandler
, SWIG_POINTER_EXCEPTION 
| 0); 
6477     if (SWIG_arg_fail(1)) SWIG_fail
; 
6479         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6481             wxFileSystem 
&_result_ref 
= (arg1
)->GetCurFileSystem(); 
6482             result 
= (wxFileSystem 
*) &_result_ref
; 
6485         wxPyEndAllowThreads(__tstate
); 
6486         if (PyErr_Occurred()) SWIG_fail
; 
6488     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileSystem
, 0); 
6495 static PyObject 
* XmlResourceHandler_swigregister(PyObject 
*, PyObject 
*args
) { 
6497     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
6498     SWIG_TypeClientData(SWIGTYPE_p_wxPyXmlResourceHandler
, obj
); 
6500     return Py_BuildValue((char *)""); 
6502 static PyMethodDef SwigMethods
[] = { 
6503          { (char *)"new_XmlResource", (PyCFunction
) _wrap_new_XmlResource
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6504          { (char *)"new_EmptyXmlResource", (PyCFunction
) _wrap_new_EmptyXmlResource
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6505          { (char *)"delete_XmlResource", (PyCFunction
) _wrap_delete_XmlResource
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6506          { (char *)"XmlResource_Load", (PyCFunction
) _wrap_XmlResource_Load
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6507          { (char *)"XmlResource_LoadFromString", (PyCFunction
) _wrap_XmlResource_LoadFromString
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6508          { (char *)"XmlResource_InitAllHandlers", (PyCFunction
) _wrap_XmlResource_InitAllHandlers
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6509          { (char *)"XmlResource_AddHandler", (PyCFunction
) _wrap_XmlResource_AddHandler
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6510          { (char *)"XmlResource_InsertHandler", (PyCFunction
) _wrap_XmlResource_InsertHandler
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6511          { (char *)"XmlResource_ClearHandlers", (PyCFunction
) _wrap_XmlResource_ClearHandlers
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6512          { (char *)"XmlResource_AddSubclassFactory", (PyCFunction
) _wrap_XmlResource_AddSubclassFactory
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6513          { (char *)"XmlResource_LoadMenu", (PyCFunction
) _wrap_XmlResource_LoadMenu
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6514          { (char *)"XmlResource_LoadMenuBar", (PyCFunction
) _wrap_XmlResource_LoadMenuBar
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6515          { (char *)"XmlResource_LoadMenuBarOnFrame", (PyCFunction
) _wrap_XmlResource_LoadMenuBarOnFrame
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6516          { (char *)"XmlResource_LoadToolBar", (PyCFunction
) _wrap_XmlResource_LoadToolBar
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6517          { (char *)"XmlResource_LoadDialog", (PyCFunction
) _wrap_XmlResource_LoadDialog
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6518          { (char *)"XmlResource_LoadOnDialog", (PyCFunction
) _wrap_XmlResource_LoadOnDialog
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6519          { (char *)"XmlResource_LoadPanel", (PyCFunction
) _wrap_XmlResource_LoadPanel
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6520          { (char *)"XmlResource_LoadOnPanel", (PyCFunction
) _wrap_XmlResource_LoadOnPanel
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6521          { (char *)"XmlResource_LoadFrame", (PyCFunction
) _wrap_XmlResource_LoadFrame
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6522          { (char *)"XmlResource_LoadOnFrame", (PyCFunction
) _wrap_XmlResource_LoadOnFrame
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6523          { (char *)"XmlResource_LoadObject", (PyCFunction
) _wrap_XmlResource_LoadObject
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6524          { (char *)"XmlResource_LoadOnObject", (PyCFunction
) _wrap_XmlResource_LoadOnObject
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6525          { (char *)"XmlResource_LoadBitmap", (PyCFunction
) _wrap_XmlResource_LoadBitmap
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6526          { (char *)"XmlResource_LoadIcon", (PyCFunction
) _wrap_XmlResource_LoadIcon
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6527          { (char *)"XmlResource_AttachUnknownControl", (PyCFunction
) _wrap_XmlResource_AttachUnknownControl
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6528          { (char *)"XmlResource_GetXRCID", (PyCFunction
) _wrap_XmlResource_GetXRCID
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6529          { (char *)"XmlResource_GetVersion", (PyCFunction
) _wrap_XmlResource_GetVersion
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6530          { (char *)"XmlResource_CompareVersion", (PyCFunction
) _wrap_XmlResource_CompareVersion
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6531          { (char *)"XmlResource_Get", (PyCFunction
) _wrap_XmlResource_Get
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6532          { (char *)"XmlResource_Set", (PyCFunction
) _wrap_XmlResource_Set
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6533          { (char *)"XmlResource_GetFlags", (PyCFunction
) _wrap_XmlResource_GetFlags
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6534          { (char *)"XmlResource_SetFlags", (PyCFunction
) _wrap_XmlResource_SetFlags
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6535          { (char *)"XmlResource_swigregister", XmlResource_swigregister
, METH_VARARGS
, NULL
}, 
6536          { (char *)"new_XmlSubclassFactory", (PyCFunction
) _wrap_new_XmlSubclassFactory
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6537          { (char *)"XmlSubclassFactory__setCallbackInfo", (PyCFunction
) _wrap_XmlSubclassFactory__setCallbackInfo
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6538          { (char *)"XmlSubclassFactory_swigregister", XmlSubclassFactory_swigregister
, METH_VARARGS
, NULL
}, 
6539          { (char *)"new_XmlProperty", (PyCFunction
) _wrap_new_XmlProperty
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6540          { (char *)"XmlProperty_GetName", (PyCFunction
) _wrap_XmlProperty_GetName
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6541          { (char *)"XmlProperty_GetValue", (PyCFunction
) _wrap_XmlProperty_GetValue
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6542          { (char *)"XmlProperty_GetNext", (PyCFunction
) _wrap_XmlProperty_GetNext
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6543          { (char *)"XmlProperty_SetName", (PyCFunction
) _wrap_XmlProperty_SetName
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6544          { (char *)"XmlProperty_SetValue", (PyCFunction
) _wrap_XmlProperty_SetValue
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6545          { (char *)"XmlProperty_SetNext", (PyCFunction
) _wrap_XmlProperty_SetNext
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6546          { (char *)"XmlProperty_swigregister", XmlProperty_swigregister
, METH_VARARGS
, NULL
}, 
6547          { (char *)"new_XmlNode", (PyCFunction
) _wrap_new_XmlNode
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6548          { (char *)"delete_XmlNode", (PyCFunction
) _wrap_delete_XmlNode
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6549          { (char *)"new_XmlNodeEasy", (PyCFunction
) _wrap_new_XmlNodeEasy
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6550          { (char *)"XmlNode_AddChild", (PyCFunction
) _wrap_XmlNode_AddChild
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6551          { (char *)"XmlNode_InsertChild", (PyCFunction
) _wrap_XmlNode_InsertChild
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6552          { (char *)"XmlNode_RemoveChild", (PyCFunction
) _wrap_XmlNode_RemoveChild
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6553          { (char *)"XmlNode_AddProperty", (PyCFunction
) _wrap_XmlNode_AddProperty
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6554          { (char *)"XmlNode_AddPropertyName", (PyCFunction
) _wrap_XmlNode_AddPropertyName
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6555          { (char *)"XmlNode_DeleteProperty", (PyCFunction
) _wrap_XmlNode_DeleteProperty
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6556          { (char *)"XmlNode_GetType", (PyCFunction
) _wrap_XmlNode_GetType
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6557          { (char *)"XmlNode_GetName", (PyCFunction
) _wrap_XmlNode_GetName
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6558          { (char *)"XmlNode_GetContent", (PyCFunction
) _wrap_XmlNode_GetContent
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6559          { (char *)"XmlNode_GetParent", (PyCFunction
) _wrap_XmlNode_GetParent
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6560          { (char *)"XmlNode_GetNext", (PyCFunction
) _wrap_XmlNode_GetNext
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6561          { (char *)"XmlNode_GetChildren", (PyCFunction
) _wrap_XmlNode_GetChildren
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6562          { (char *)"XmlNode_GetProperties", (PyCFunction
) _wrap_XmlNode_GetProperties
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6563          { (char *)"XmlNode_GetPropVal", (PyCFunction
) _wrap_XmlNode_GetPropVal
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6564          { (char *)"XmlNode_HasProp", (PyCFunction
) _wrap_XmlNode_HasProp
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6565          { (char *)"XmlNode_SetType", (PyCFunction
) _wrap_XmlNode_SetType
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6566          { (char *)"XmlNode_SetName", (PyCFunction
) _wrap_XmlNode_SetName
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6567          { (char *)"XmlNode_SetContent", (PyCFunction
) _wrap_XmlNode_SetContent
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6568          { (char *)"XmlNode_SetParent", (PyCFunction
) _wrap_XmlNode_SetParent
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6569          { (char *)"XmlNode_SetNext", (PyCFunction
) _wrap_XmlNode_SetNext
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6570          { (char *)"XmlNode_SetChildren", (PyCFunction
) _wrap_XmlNode_SetChildren
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6571          { (char *)"XmlNode_SetProperties", (PyCFunction
) _wrap_XmlNode_SetProperties
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6572          { (char *)"XmlNode_swigregister", XmlNode_swigregister
, METH_VARARGS
, NULL
}, 
6573          { (char *)"new_XmlDocument", (PyCFunction
) _wrap_new_XmlDocument
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6574          { (char *)"new_XmlDocumentFromStream", (PyCFunction
) _wrap_new_XmlDocumentFromStream
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6575          { (char *)"new_EmptyXmlDocument", (PyCFunction
) _wrap_new_EmptyXmlDocument
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6576          { (char *)"delete_XmlDocument", (PyCFunction
) _wrap_delete_XmlDocument
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6577          { (char *)"XmlDocument_Load", (PyCFunction
) _wrap_XmlDocument_Load
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6578          { (char *)"XmlDocument_LoadFromStream", (PyCFunction
) _wrap_XmlDocument_LoadFromStream
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6579          { (char *)"XmlDocument_Save", (PyCFunction
) _wrap_XmlDocument_Save
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6580          { (char *)"XmlDocument_SaveToStream", (PyCFunction
) _wrap_XmlDocument_SaveToStream
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6581          { (char *)"XmlDocument_IsOk", (PyCFunction
) _wrap_XmlDocument_IsOk
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6582          { (char *)"XmlDocument_GetRoot", (PyCFunction
) _wrap_XmlDocument_GetRoot
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6583          { (char *)"XmlDocument_GetVersion", (PyCFunction
) _wrap_XmlDocument_GetVersion
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6584          { (char *)"XmlDocument_GetFileEncoding", (PyCFunction
) _wrap_XmlDocument_GetFileEncoding
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6585          { (char *)"XmlDocument_SetRoot", (PyCFunction
) _wrap_XmlDocument_SetRoot
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6586          { (char *)"XmlDocument_SetVersion", (PyCFunction
) _wrap_XmlDocument_SetVersion
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6587          { (char *)"XmlDocument_SetFileEncoding", (PyCFunction
) _wrap_XmlDocument_SetFileEncoding
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6588          { (char *)"XmlDocument_swigregister", XmlDocument_swigregister
, METH_VARARGS
, NULL
}, 
6589          { (char *)"new_XmlResourceHandler", (PyCFunction
) _wrap_new_XmlResourceHandler
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6590          { (char *)"XmlResourceHandler__setCallbackInfo", (PyCFunction
) _wrap_XmlResourceHandler__setCallbackInfo
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6591          { (char *)"XmlResourceHandler_CreateResource", (PyCFunction
) _wrap_XmlResourceHandler_CreateResource
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6592          { (char *)"XmlResourceHandler_SetParentResource", (PyCFunction
) _wrap_XmlResourceHandler_SetParentResource
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6593          { (char *)"XmlResourceHandler_GetResource", (PyCFunction
) _wrap_XmlResourceHandler_GetResource
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6594          { (char *)"XmlResourceHandler_GetNode", (PyCFunction
) _wrap_XmlResourceHandler_GetNode
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6595          { (char *)"XmlResourceHandler_GetClass", (PyCFunction
) _wrap_XmlResourceHandler_GetClass
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6596          { (char *)"XmlResourceHandler_GetParent", (PyCFunction
) _wrap_XmlResourceHandler_GetParent
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6597          { (char *)"XmlResourceHandler_GetInstance", (PyCFunction
) _wrap_XmlResourceHandler_GetInstance
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6598          { (char *)"XmlResourceHandler_GetParentAsWindow", (PyCFunction
) _wrap_XmlResourceHandler_GetParentAsWindow
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6599          { (char *)"XmlResourceHandler_IsOfClass", (PyCFunction
) _wrap_XmlResourceHandler_IsOfClass
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6600          { (char *)"XmlResourceHandler_GetNodeContent", (PyCFunction
) _wrap_XmlResourceHandler_GetNodeContent
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6601          { (char *)"XmlResourceHandler_HasParam", (PyCFunction
) _wrap_XmlResourceHandler_HasParam
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6602          { (char *)"XmlResourceHandler_GetParamNode", (PyCFunction
) _wrap_XmlResourceHandler_GetParamNode
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6603          { (char *)"XmlResourceHandler_GetParamValue", (PyCFunction
) _wrap_XmlResourceHandler_GetParamValue
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6604          { (char *)"XmlResourceHandler_AddStyle", (PyCFunction
) _wrap_XmlResourceHandler_AddStyle
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6605          { (char *)"XmlResourceHandler_AddWindowStyles", (PyCFunction
) _wrap_XmlResourceHandler_AddWindowStyles
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6606          { (char *)"XmlResourceHandler_GetStyle", (PyCFunction
) _wrap_XmlResourceHandler_GetStyle
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6607          { (char *)"XmlResourceHandler_GetText", (PyCFunction
) _wrap_XmlResourceHandler_GetText
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6608          { (char *)"XmlResourceHandler_GetID", (PyCFunction
) _wrap_XmlResourceHandler_GetID
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6609          { (char *)"XmlResourceHandler_GetName", (PyCFunction
) _wrap_XmlResourceHandler_GetName
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6610          { (char *)"XmlResourceHandler_GetBool", (PyCFunction
) _wrap_XmlResourceHandler_GetBool
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6611          { (char *)"XmlResourceHandler_GetLong", (PyCFunction
) _wrap_XmlResourceHandler_GetLong
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6612          { (char *)"XmlResourceHandler_GetColour", (PyCFunction
) _wrap_XmlResourceHandler_GetColour
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6613          { (char *)"XmlResourceHandler_GetSize", (PyCFunction
) _wrap_XmlResourceHandler_GetSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6614          { (char *)"XmlResourceHandler_GetPosition", (PyCFunction
) _wrap_XmlResourceHandler_GetPosition
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6615          { (char *)"XmlResourceHandler_GetDimension", (PyCFunction
) _wrap_XmlResourceHandler_GetDimension
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6616          { (char *)"XmlResourceHandler_GetBitmap", (PyCFunction
) _wrap_XmlResourceHandler_GetBitmap
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6617          { (char *)"XmlResourceHandler_GetIcon", (PyCFunction
) _wrap_XmlResourceHandler_GetIcon
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6618          { (char *)"XmlResourceHandler_GetFont", (PyCFunction
) _wrap_XmlResourceHandler_GetFont
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6619          { (char *)"XmlResourceHandler_SetupWindow", (PyCFunction
) _wrap_XmlResourceHandler_SetupWindow
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6620          { (char *)"XmlResourceHandler_CreateChildren", (PyCFunction
) _wrap_XmlResourceHandler_CreateChildren
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6621          { (char *)"XmlResourceHandler_CreateChildrenPrivately", (PyCFunction
) _wrap_XmlResourceHandler_CreateChildrenPrivately
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6622          { (char *)"XmlResourceHandler_CreateResFromNode", (PyCFunction
) _wrap_XmlResourceHandler_CreateResFromNode
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6623          { (char *)"XmlResourceHandler_GetCurFileSystem", (PyCFunction
) _wrap_XmlResourceHandler_GetCurFileSystem
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
6624          { (char *)"XmlResourceHandler_swigregister", XmlResourceHandler_swigregister
, METH_VARARGS
, NULL
}, 
6625          { NULL
, NULL
, 0, NULL 
} 
6629 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */ 
6631 static void *_p_wxControlTo_p_wxWindow(void *x
) { 
6632     return (void *)((wxWindow 
*)  ((wxControl 
*) x
)); 
6634 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) { 
6635     return (void *)((wxWindow 
*) (wxControl 
*) ((wxControlWithItems 
*) x
)); 
6637 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) { 
6638     return (void *)((wxWindow 
*)  ((wxMenuBar 
*) x
)); 
6640 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) { 
6641     return (void *)((wxObject 
*)  ((wxLayoutConstraints 
*) x
)); 
6643 static void *_p_wxXmlDocumentTo_p_wxObject(void *x
) { 
6644     return (void *)((wxObject 
*)  ((wxXmlDocument 
*) x
)); 
6646 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) { 
6647     return (void *)((wxObject 
*) (wxSizerItem 
*) ((wxGBSizerItem 
*) x
)); 
6649 static void *_p_wxSizerItemTo_p_wxObject(void *x
) { 
6650     return (void *)((wxObject 
*)  ((wxSizerItem 
*) x
)); 
6652 static void *_p_wxScrollEventTo_p_wxObject(void *x
) { 
6653     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxScrollEvent 
*) x
)); 
6655 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) { 
6656     return (void *)((wxObject 
*)  ((wxIndividualLayoutConstraint 
*) x
)); 
6658 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) { 
6659     return (void *)((wxObject 
*) (wxSizer 
*)(wxBoxSizer 
*) ((wxStaticBoxSizer 
*) x
)); 
6661 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) { 
6662     return (void *)((wxObject 
*) (wxSizer 
*) ((wxBoxSizer 
*) x
)); 
6664 static void *_p_wxSizerTo_p_wxObject(void *x
) { 
6665     return (void *)((wxObject 
*)  ((wxSizer 
*) x
)); 
6667 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) { 
6668     return (void *)((wxObject 
*) (wxSizer 
*)(wxGridSizer 
*)(wxFlexGridSizer 
*) ((wxGridBagSizer 
*) x
)); 
6670 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) { 
6671     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxUpdateUIEvent 
*) x
)); 
6673 static void *_p_wxEventTo_p_wxObject(void *x
) { 
6674     return (void *)((wxObject 
*)  ((wxEvent 
*) x
)); 
6676 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) { 
6677     return (void *)((wxObject 
*) (wxSizer 
*)(wxGridSizer 
*) ((wxFlexGridSizer 
*) x
)); 
6679 static void *_p_wxGridSizerTo_p_wxObject(void *x
) { 
6680     return (void *)((wxObject 
*) (wxSizer 
*) ((wxGridSizer 
*) x
)); 
6682 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) { 
6683     return (void *)((wxObject 
*) (wxEvent 
*) ((wxInitDialogEvent 
*) x
)); 
6685 static void *_p_wxPaintEventTo_p_wxObject(void *x
) { 
6686     return (void *)((wxObject 
*) (wxEvent 
*) ((wxPaintEvent 
*) x
)); 
6688 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) { 
6689     return (void *)((wxObject 
*) (wxEvent 
*) ((wxNcPaintEvent 
*) x
)); 
6691 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) { 
6692     return (void *)((wxObject 
*) (wxEvent 
*) ((wxPaletteChangedEvent 
*) x
)); 
6694 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) { 
6695     return (void *)((wxObject 
*) (wxEvent 
*) ((wxDisplayChangedEvent 
*) x
)); 
6697 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) { 
6698     return (void *)((wxObject 
*) (wxEvent 
*) ((wxMouseCaptureChangedEvent 
*) x
)); 
6700 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) { 
6701     return (void *)((wxObject 
*) (wxEvent 
*) ((wxSysColourChangedEvent 
*) x
)); 
6703 static void *_p_wxControlTo_p_wxObject(void *x
) { 
6704     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*) ((wxControl 
*) x
)); 
6706 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) { 
6707     return (void *)((wxObject 
*) (wxEvent 
*) ((wxSetCursorEvent 
*) x
)); 
6709 static void *_p_wxFSFileTo_p_wxObject(void *x
) { 
6710     return (void *)((wxObject 
*)  ((wxFSFile 
*) x
)); 
6712 static void *_p_wxPySizerTo_p_wxObject(void *x
) { 
6713     return (void *)((wxObject 
*) (wxSizer 
*) ((wxPySizer 
*) x
)); 
6715 static void *_p_wxPyEventTo_p_wxObject(void *x
) { 
6716     return (void *)((wxObject 
*) (wxEvent 
*) ((wxPyEvent 
*) x
)); 
6718 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) { 
6719     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxNotifyEvent 
*) x
)); 
6721 static void *_p_wxShowEventTo_p_wxObject(void *x
) { 
6722     return (void *)((wxObject 
*) (wxEvent 
*) ((wxShowEvent 
*) x
)); 
6724 static void *_p_wxMenuItemTo_p_wxObject(void *x
) { 
6725     return (void *)((wxObject 
*)  ((wxMenuItem 
*) x
)); 
6727 static void *_p_wxDateEventTo_p_wxObject(void *x
) { 
6728     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxDateEvent 
*) x
)); 
6730 static void *_p_wxIdleEventTo_p_wxObject(void *x
) { 
6731     return (void *)((wxObject 
*) (wxEvent 
*) ((wxIdleEvent 
*) x
)); 
6733 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) { 
6734     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxWindowCreateEvent 
*) x
)); 
6736 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) { 
6737     return (void *)((wxObject 
*) (wxEvent 
*) ((wxQueryNewPaletteEvent 
*) x
)); 
6739 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) { 
6740     return (void *)((wxObject 
*) (wxEvent 
*) ((wxMaximizeEvent 
*) x
)); 
6742 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) { 
6743     return (void *)((wxObject 
*) (wxEvent 
*) ((wxIconizeEvent 
*) x
)); 
6745 static void *_p_wxSizeEventTo_p_wxObject(void *x
) { 
6746     return (void *)((wxObject 
*) (wxEvent 
*) ((wxSizeEvent 
*) x
)); 
6748 static void *_p_wxMoveEventTo_p_wxObject(void *x
) { 
6749     return (void *)((wxObject 
*) (wxEvent 
*) ((wxMoveEvent 
*) x
)); 
6751 static void *_p_wxActivateEventTo_p_wxObject(void *x
) { 
6752     return (void *)((wxObject 
*) (wxEvent 
*) ((wxActivateEvent 
*) x
)); 
6754 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) { 
6755     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxXPMHandler 
*) x
)); 
6757 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) { 
6758     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxPNMHandler 
*) x
)); 
6760 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) { 
6761     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxJPEGHandler 
*) x
)); 
6763 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) { 
6764     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxPCXHandler 
*) x
)); 
6766 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) { 
6767     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxGIFHandler 
*) x
)); 
6769 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) { 
6770     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxPNGHandler 
*) x
)); 
6772 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) { 
6773     return (void *)((wxObject 
*) (wxImageHandler 
*)(wxBMPHandler 
*)(wxICOHandler 
*)(wxCURHandler 
*) ((wxANIHandler 
*) x
)); 
6775 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) { 
6776     return (void *)((wxObject 
*) (wxImageHandler 
*)(wxBMPHandler 
*)(wxICOHandler 
*) ((wxCURHandler 
*) x
)); 
6778 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) { 
6779     return (void *)((wxObject 
*) (wxImageHandler 
*)(wxBMPHandler 
*) ((wxICOHandler 
*) x
)); 
6781 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) { 
6782     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxBMPHandler 
*) x
)); 
6784 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) { 
6785     return (void *)((wxObject 
*)  ((wxImageHandler 
*) x
)); 
6787 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) { 
6788     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxTIFFHandler 
*) x
)); 
6790 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) { 
6791     return (void *)((wxObject 
*)  ((wxEvtHandler 
*) x
)); 
6793 static void *_p_wxPyXmlResourceHandlerTo_p_wxObject(void *x
) { 
6794     return (void *)((wxObject 
*)  ((wxPyXmlResourceHandler 
*) x
)); 
6796 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) { 
6797     return (void *)((wxObject 
*) (wxSizer 
*)(wxBoxSizer 
*) ((wxStdDialogButtonSizer 
*) x
)); 
6799 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) { 
6800     return (void *)((wxObject 
*)  ((wxAcceleratorTable 
*) x
)); 
6802 static void *_p_wxImageTo_p_wxObject(void *x
) { 
6803     return (void *)((wxObject 
*)  ((wxImage 
*) x
)); 
6805 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) { 
6806     return (void *)((wxObject 
*) (wxEvent 
*) ((wxScrollWinEvent 
*) x
)); 
6808 static void *_p_wxXmlResourceTo_p_wxObject(void *x
) { 
6809     return (void *)((wxObject 
*)  ((wxXmlResource 
*) x
)); 
6811 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) { 
6812     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxWindowDestroyEvent 
*) x
)); 
6814 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) { 
6815     return (void *)((wxObject 
*) (wxEvent 
*) ((wxNavigationKeyEvent 
*) x
)); 
6817 static void *_p_wxKeyEventTo_p_wxObject(void *x
) { 
6818     return (void *)((wxObject 
*) (wxEvent 
*) ((wxKeyEvent 
*) x
)); 
6820 static void *_p_wxWindowTo_p_wxObject(void *x
) { 
6821     return (void *)((wxObject 
*) (wxEvtHandler 
*) ((wxWindow 
*) x
)); 
6823 static void *_p_wxMenuTo_p_wxObject(void *x
) { 
6824     return (void *)((wxObject 
*) (wxEvtHandler 
*) ((wxMenu 
*) x
)); 
6826 static void *_p_wxMenuBarTo_p_wxObject(void *x
) { 
6827     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*) ((wxMenuBar 
*) x
)); 
6829 static void *_p_wxFileSystemTo_p_wxObject(void *x
) { 
6830     return (void *)((wxObject 
*)  ((wxFileSystem 
*) x
)); 
6832 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) { 
6833     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxContextMenuEvent 
*) x
)); 
6835 static void *_p_wxMenuEventTo_p_wxObject(void *x
) { 
6836     return (void *)((wxObject 
*) (wxEvent 
*) ((wxMenuEvent 
*) x
)); 
6838 static void *_p_wxPyAppTo_p_wxObject(void *x
) { 
6839     return (void *)((wxObject 
*) (wxEvtHandler 
*) ((wxPyApp 
*) x
)); 
6841 static void *_p_wxCloseEventTo_p_wxObject(void *x
) { 
6842     return (void *)((wxObject 
*) (wxEvent 
*) ((wxCloseEvent 
*) x
)); 
6844 static void *_p_wxMouseEventTo_p_wxObject(void *x
) { 
6845     return (void *)((wxObject 
*) (wxEvent 
*) ((wxMouseEvent 
*) x
)); 
6847 static void *_p_wxEraseEventTo_p_wxObject(void *x
) { 
6848     return (void *)((wxObject 
*) (wxEvent 
*) ((wxEraseEvent 
*) x
)); 
6850 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) { 
6851     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxPyCommandEvent 
*) x
)); 
6853 static void *_p_wxCommandEventTo_p_wxObject(void *x
) { 
6854     return (void *)((wxObject 
*) (wxEvent 
*) ((wxCommandEvent 
*) x
)); 
6856 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) { 
6857     return (void *)((wxObject 
*) (wxEvent 
*) ((wxDropFilesEvent 
*) x
)); 
6859 static void *_p_wxFocusEventTo_p_wxObject(void *x
) { 
6860     return (void *)((wxObject 
*) (wxEvent 
*) ((wxFocusEvent 
*) x
)); 
6862 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) { 
6863     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxChildFocusEvent 
*) x
)); 
6865 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) { 
6866     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxControl 
*) ((wxControlWithItems 
*) x
)); 
6868 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) { 
6869     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxValidator 
*) ((wxPyValidator 
*) x
)); 
6871 static void *_p_wxValidatorTo_p_wxObject(void *x
) { 
6872     return (void *)((wxObject 
*) (wxEvtHandler 
*) ((wxValidator 
*) x
)); 
6874 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}}; 
6875 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}}; 
6876 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_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_wxDateEvent", _p_wxDateEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_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_wxStdDialogButtonSizer", _p_wxStdDialogButtonSizerTo_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_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_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}}; 
6877 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}}; 
6878 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}}; 
6879 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}}; 
6880 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}}; 
6881 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}}; 
6882 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}}; 
6883 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}}; 
6884 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}}; 
6885 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}}; 
6886 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}}; 
6887 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}}; 
6888 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}}; 
6889 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}}; 
6890 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}}; 
6891 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}}; 
6892 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}}; 
6893 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}}; 
6894 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}}; 
6895 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}}; 
6896 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}}; 
6897 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}}; 
6898 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}}; 
6899 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}}; 
6900 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}}; 
6901 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}}; 
6902 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}}; 
6903 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}}; 
6904 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}}; 
6905 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}}; 
6907 static swig_type_info 
*swig_types_initial
[] = { 
6911 _swigt__p_unsigned_char
,  
6915 _swigt__p_wxArtClient
,  
6916 _swigt__p_unsigned_long
,  
6917 _swigt__p_wxPyXmlSubclassFactory
,  
6919 _swigt__p_form_ops_t
,  
6920 _swigt__p_unsigned_int
,  
6921 _swigt__unsigned_int
,  
6922 _swigt__p_wxDuplexMode
,  
6925 _swigt__p_wxXmlNode
,  
6926 _swigt__p_wxInputStream
,  
6927 _swigt__p_wxOutputStream
,  
6928 _swigt__p_wxPyXmlResourceHandler
,  
6929 _swigt__p_wxFileSystem
,  
6930 _swigt__std__ptrdiff_t
,  
6932 _swigt__p_wxXmlProperty
,  
6934 _swigt__p_wxXmlResource
,  
6936 _swigt__p_wxXmlDocument
,  
6937 _swigt__p_wxPaperSize
,  
6944 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */ 
6946 static swig_const_info swig_const_table
[] = { 
6947 {0, 0, 0, 0.0, 0, 0}}; 
6958     /* Python-specific SWIG API */ 
6959 #define SWIG_newvarlink()                             SWIG_Python_newvarlink() 
6960 #define SWIG_addvarlink(p, name, get_attr, set_attr)  SWIG_Python_addvarlink(p, name, get_attr, set_attr) 
6961 #define SWIG_InstallConstants(d, constants)           SWIG_Python_InstallConstants(d, constants) 
6963     /* ----------------------------------------------------------------------------- 
6964      * global variable support code. 
6965      * ----------------------------------------------------------------------------- */ 
6967     typedef struct swig_globalvar 
{ 
6968         char       *name
;                  /* Name of global variable */ 
6969         PyObject 
*(*get_attr
)();           /* Return the current value */ 
6970         int       (*set_attr
)(PyObject 
*); /* Set the value */ 
6971         struct swig_globalvar 
*next
; 
6974     typedef struct swig_varlinkobject 
{ 
6976         swig_globalvar 
*vars
; 
6977     } swig_varlinkobject
; 
6980     swig_varlink_repr(swig_varlinkobject 
*v
) { 
6982         return PyString_FromString("<Swig global variables>"); 
6986     swig_varlink_print(swig_varlinkobject 
*v
, FILE *fp
, int flags
) { 
6987         swig_globalvar  
*var
; 
6989         fprintf(fp
,"Swig global variables { "); 
6990         for (var 
= v
->vars
; var
; var
=var
->next
) { 
6991             fprintf(fp
,"%s", var
->name
); 
6992             if (var
->next
) fprintf(fp
,", "); 
6999     swig_varlink_getattr(swig_varlinkobject 
*v
, char *n
) { 
7000         swig_globalvar 
*var 
= v
->vars
; 
7002             if (strcmp(var
->name
,n
) == 0) { 
7003                 return (*var
->get_attr
)(); 
7007         PyErr_SetString(PyExc_NameError
,"Unknown C global variable"); 
7012     swig_varlink_setattr(swig_varlinkobject 
*v
, char *n
, PyObject 
*p
) { 
7013         swig_globalvar 
*var 
= v
->vars
; 
7015             if (strcmp(var
->name
,n
) == 0) { 
7016                 return (*var
->set_attr
)(p
); 
7020         PyErr_SetString(PyExc_NameError
,"Unknown C global variable"); 
7024     static PyTypeObject varlinktype 
= { 
7025         PyObject_HEAD_INIT(0)               
7026         0,                                  /* Number of items in variable part (ob_size) */ 
7027         (char *)"swigvarlink",              /* Type name (tp_name) */ 
7028         sizeof(swig_varlinkobject
),         /* Basic size (tp_basicsize) */ 
7029         0,                                  /* Itemsize (tp_itemsize) */ 
7030         0,                                  /* Deallocator (tp_dealloc) */  
7031         (printfunc
) swig_varlink_print
,     /* Print (tp_print) */ 
7032         (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */ 
7033         (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */ 
7035         (reprfunc
) swig_varlink_repr
,       /* tp_repr */ 
7036         0,                                  /* tp_as_number */ 
7037         0,                                  /* tp_as_sequence */ 
7038         0,                                  /* tp_as_mapping */ 
7042         0,                                  /* tp_getattro */ 
7043         0,                                  /* tp_setattro */ 
7044         0,                                  /* tp_as_buffer */ 
7047 #if PY_VERSION_HEX >= 0x02000000 
7048         0,                                  /* tp_traverse */ 
7051 #if PY_VERSION_HEX >= 0x02010000 
7052         0,                                  /* tp_richcompare */ 
7053         0,                                  /* tp_weaklistoffset */ 
7055 #if PY_VERSION_HEX >= 0x02020000 
7056         0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */ 
7058 #if PY_VERSION_HEX >= 0x02030000 
7062         0,0,0,0                             /* tp_alloc -> tp_next */ 
7066     /* Create a variable linking object for use later */ 
7068     SWIG_Python_newvarlink(void) { 
7069         swig_varlinkobject 
*result 
= 0; 
7070         result 
= PyMem_NEW(swig_varlinkobject
,1); 
7071         varlinktype
.ob_type 
= &PyType_Type
;    /* Patch varlinktype into a PyType */ 
7072         result
->ob_type 
= &varlinktype
; 
7074         result
->ob_refcnt 
= 0; 
7075         Py_XINCREF((PyObject 
*) result
); 
7076         return ((PyObject
*) result
); 
7080     SWIG_Python_addvarlink(PyObject 
*p
, char *name
, PyObject 
*(*get_attr
)(void), int (*set_attr
)(PyObject 
*p
)) { 
7081         swig_varlinkobject 
*v
; 
7083         v
= (swig_varlinkobject 
*) p
; 
7084         gv 
= (swig_globalvar 
*) malloc(sizeof(swig_globalvar
)); 
7085         gv
->name 
= (char *) malloc(strlen(name
)+1); 
7086         strcpy(gv
->name
,name
); 
7087         gv
->get_attr 
= get_attr
; 
7088         gv
->set_attr 
= set_attr
; 
7093     /* ----------------------------------------------------------------------------- 
7094      * constants/methods manipulation 
7095      * ----------------------------------------------------------------------------- */ 
7097     /* Install Constants */ 
7099     SWIG_Python_InstallConstants(PyObject 
*d
, swig_const_info constants
[]) { 
7102         for (i 
= 0; constants
[i
].type
; i
++) { 
7103             switch(constants
[i
].type
) { 
7105                 obj 
= PyInt_FromLong(constants
[i
].lvalue
); 
7108                 obj 
= PyFloat_FromDouble(constants
[i
].dvalue
); 
7110                 case SWIG_PY_STRING
: 
7111                 if (constants
[i
].pvalue
) { 
7112                     obj 
= PyString_FromString((char *) constants
[i
].pvalue
); 
7118                 case SWIG_PY_POINTER
: 
7119                 obj 
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0); 
7121                 case SWIG_PY_BINARY
: 
7122                 obj 
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
)); 
7129                 PyDict_SetItemString(d
,constants
[i
].name
,obj
); 
7135     /* -----------------------------------------------------------------------------*/ 
7136     /* Fix SwigMethods to carry the callback ptrs when needed */ 
7137     /* -----------------------------------------------------------------------------*/ 
7140     SWIG_Python_FixMethods(PyMethodDef 
*methods
, 
7141     swig_const_info 
*const_table
, 
7142     swig_type_info 
**types
, 
7143     swig_type_info 
**types_initial
) { 
7145         for (i 
= 0; methods
[i
].ml_name
; ++i
) { 
7146             char *c 
= methods
[i
].ml_doc
; 
7147             if (c 
&& (c 
= strstr(c
, "swig_ptr: "))) { 
7149                 swig_const_info 
*ci 
= 0; 
7150                 char *name 
= c 
+ 10; 
7151                 for (j 
= 0; const_table
[j
].type
; j
++) { 
7152                     if (strncmp(const_table
[j
].name
, name
,  
7153                     strlen(const_table
[j
].name
)) == 0) { 
7154                         ci 
= &(const_table
[j
]); 
7159                     size_t shift 
= (ci
->ptype
) - types
; 
7160                     swig_type_info 
*ty 
= types_initial
[shift
]; 
7161                     size_t ldoc 
= (c 
- methods
[i
].ml_doc
); 
7162                     size_t lptr 
= strlen(ty
->name
)+2*sizeof(void*)+2; 
7163                     char *ndoc 
= (char*)malloc(ldoc 
+ lptr 
+ 10); 
7165                     void *ptr 
= (ci
->type 
== SWIG_PY_POINTER
) ? ci
->pvalue
: (void *)(ci
->lvalue
); 
7166                     strncpy(buff
, methods
[i
].ml_doc
, ldoc
); 
7168                     strncpy(buff
, "swig_ptr: ", 10); 
7170                     SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
); 
7171                     methods
[i
].ml_doc 
= ndoc
; 
7177     /* -----------------------------------------------------------------------------* 
7178      *  Initialize type list 
7179      * -----------------------------------------------------------------------------*/ 
7181 #if PY_MAJOR_VERSION < 2 
7182     /* PyModule_AddObject function was introduced in Python 2.0.  The following function 
7183     is copied out of Python/modsupport.c in python version 2.3.4 */ 
7185     PyModule_AddObject(PyObject 
*m
, char *name
, PyObject 
*o
) 
7188         if (!PyModule_Check(m
)) { 
7189             PyErr_SetString(PyExc_TypeError
, 
7190             "PyModule_AddObject() needs module as first arg"); 
7194             PyErr_SetString(PyExc_TypeError
, 
7195             "PyModule_AddObject() needs non-NULL value"); 
7199         dict 
= PyModule_GetDict(m
); 
7201             /* Internal error -- modules must have a dict! */ 
7202             PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__", 
7203             PyModule_GetName(m
)); 
7206         if (PyDict_SetItemString(dict
, name
, o
)) 
7213     static swig_type_info 
** 
7214     SWIG_Python_SetTypeListHandle(swig_type_info 
**type_list_handle
) { 
7215         static PyMethodDef swig_empty_runtime_method_table
[] = { 
7221         PyObject 
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
, 
7222         swig_empty_runtime_method_table
); 
7223         PyObject 
*pointer 
= PyCObject_FromVoidPtr((void *) type_list_handle
, NULL
); 
7224         if (pointer 
&& module) { 
7225             PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
); 
7227         return type_list_handle
; 
7230     static swig_type_info 
** 
7231     SWIG_Python_LookupTypePointer(swig_type_info 
**type_list_handle
) { 
7232         swig_type_info 
**type_pointer
; 
7234         /* first check if module already created */ 
7235         type_pointer 
= SWIG_Python_GetTypeListHandle(); 
7237             return type_pointer
; 
7239             /* create a new module and variable */ 
7240             return SWIG_Python_SetTypeListHandle(type_list_handle
); 
7248 /* -----------------------------------------------------------------------------* 
7249  *  Partial Init method 
7250  * -----------------------------------------------------------------------------*/ 
7252 #ifdef SWIG_LINK_RUNTIME 
7256 SWIGEXPORT(void *) SWIG_ReturnGlobalTypeList(void *); 
7262 SWIGEXPORT(void) SWIG_init(void) { 
7263     static PyObject 
*SWIG_globals 
= 0;  
7264     static int       typeinit 
= 0; 
7267     if (!SWIG_globals
) SWIG_globals 
= SWIG_newvarlink(); 
7269     /* Fix SwigMethods to carry the callback ptrs when needed */ 
7270     SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_types_initial
); 
7272     m 
= Py_InitModule((char *) SWIG_name
, SwigMethods
); 
7273     d 
= PyModule_GetDict(m
); 
7276 #ifdef SWIG_LINK_RUNTIME 
7277         swig_type_list_handle 
= (swig_type_info 
**) SWIG_ReturnGlobalTypeList(swig_type_list_handle
); 
7279 #  ifndef SWIG_STATIC_RUNTIME 
7280         swig_type_list_handle 
= SWIG_Python_LookupTypePointer(swig_type_list_handle
); 
7283         for (i 
= 0; swig_types_initial
[i
]; i
++) { 
7284             swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]); 
7288     SWIG_InstallConstants(d
,swig_const_table
); 
7290     PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
); 
7291     SWIG_addvarlink(SWIG_globals
,(char*)"UTF8String",_wrap_UTF8String_get
, _wrap_UTF8String_set
); 
7292     SWIG_addvarlink(SWIG_globals
,(char*)"StyleString",_wrap_StyleString_get
, _wrap_StyleString_set
); 
7293     SWIG_addvarlink(SWIG_globals
,(char*)"SizeString",_wrap_SizeString_get
, _wrap_SizeString_set
); 
7294     SWIG_addvarlink(SWIG_globals
,(char*)"PosString",_wrap_PosString_get
, _wrap_PosString_set
); 
7295     SWIG_addvarlink(SWIG_globals
,(char*)"BitmapString",_wrap_BitmapString_get
, _wrap_BitmapString_set
); 
7296     SWIG_addvarlink(SWIG_globals
,(char*)"IconString",_wrap_IconString_get
, _wrap_IconString_set
); 
7297     SWIG_addvarlink(SWIG_globals
,(char*)"FontString",_wrap_FontString_get
, _wrap_FontString_set
); 
7299         PyDict_SetItemString(d
,"WX_XMLRES_CURRENT_VERSION_MAJOR", SWIG_From_int((int)(WX_XMLRES_CURRENT_VERSION_MAJOR
)));  
7302         PyDict_SetItemString(d
,"WX_XMLRES_CURRENT_VERSION_MINOR", SWIG_From_int((int)(WX_XMLRES_CURRENT_VERSION_MINOR
)));  
7305         PyDict_SetItemString(d
,"WX_XMLRES_CURRENT_VERSION_RELEASE", SWIG_From_int((int)(WX_XMLRES_CURRENT_VERSION_RELEASE
)));  
7308         PyDict_SetItemString(d
,"WX_XMLRES_CURRENT_VERSION_REVISION", SWIG_From_int((int)(WX_XMLRES_CURRENT_VERSION_REVISION
)));  
7311         PyDict_SetItemString(d
,"XRC_USE_LOCALE", SWIG_From_int((int)(wxXRC_USE_LOCALE
)));  
7314         PyDict_SetItemString(d
,"XRC_NO_SUBCLASSING", SWIG_From_int((int)(wxXRC_NO_SUBCLASSING
)));  
7317         PyDict_SetItemString(d
,"XRC_NO_RELOADING", SWIG_From_int((int)(wxXRC_NO_RELOADING
)));  
7320         PyDict_SetItemString(d
,"XML_ELEMENT_NODE", SWIG_From_int((int)(wxXML_ELEMENT_NODE
)));  
7323         PyDict_SetItemString(d
,"XML_ATTRIBUTE_NODE", SWIG_From_int((int)(wxXML_ATTRIBUTE_NODE
)));  
7326         PyDict_SetItemString(d
,"XML_TEXT_NODE", SWIG_From_int((int)(wxXML_TEXT_NODE
)));  
7329         PyDict_SetItemString(d
,"XML_CDATA_SECTION_NODE", SWIG_From_int((int)(wxXML_CDATA_SECTION_NODE
)));  
7332         PyDict_SetItemString(d
,"XML_ENTITY_REF_NODE", SWIG_From_int((int)(wxXML_ENTITY_REF_NODE
)));  
7335         PyDict_SetItemString(d
,"XML_ENTITY_NODE", SWIG_From_int((int)(wxXML_ENTITY_NODE
)));  
7338         PyDict_SetItemString(d
,"XML_PI_NODE", SWIG_From_int((int)(wxXML_PI_NODE
)));  
7341         PyDict_SetItemString(d
,"XML_COMMENT_NODE", SWIG_From_int((int)(wxXML_COMMENT_NODE
)));  
7344         PyDict_SetItemString(d
,"XML_DOCUMENT_NODE", SWIG_From_int((int)(wxXML_DOCUMENT_NODE
)));  
7347         PyDict_SetItemString(d
,"XML_DOCUMENT_TYPE_NODE", SWIG_From_int((int)(wxXML_DOCUMENT_TYPE_NODE
)));  
7350         PyDict_SetItemString(d
,"XML_DOCUMENT_FRAG_NODE", SWIG_From_int((int)(wxXML_DOCUMENT_FRAG_NODE
)));  
7353         PyDict_SetItemString(d
,"XML_NOTATION_NODE", SWIG_From_int((int)(wxXML_NOTATION_NODE
)));  
7356         PyDict_SetItemString(d
,"XML_HTML_DOCUMENT_NODE", SWIG_From_int((int)(wxXML_HTML_DOCUMENT_NODE
)));  
7360     wxXmlInitResourceModule(); 
7361     wxXmlResource::Get()->InitAllHandlers();