1 /* ---------------------------------------------------------------------------- 
   2  * This file was automatically generated by SWIG (http://www.swig.org). 
   5  * This file is not intended to be easily readable and contains a number of  
   6  * coding conventions designed to improve portability and efficiency. Do not make 
   7  * changes to this file unless you know what you are doing--modify the SWIG  
   8  * interface file instead.  
   9  * ----------------------------------------------------------------------------- */ 
  14 template<class T
> class SwigValueWrapper 
{ 
  17     SwigValueWrapper() : tt(0) { } 
  18     SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { } 
  19     SwigValueWrapper(const T
& t
) : tt(new T(t
)) { } 
  20     ~SwigValueWrapper() { delete tt
; }  
  21     SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt 
= new T(t
); return *this; } 
  22     operator T
&() const { return *tt
; } 
  23     T 
*operator&() { return tt
; } 
  25     SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
); 
  30 #ifndef SWIG_TEMPLATE_DISAMBIGUATOR 
  31 #  if defined(__SUNPRO_CC)  
  32 #    define SWIG_TEMPLATE_DISAMBIGUATOR template 
  34 #    define SWIG_TEMPLATE_DISAMBIGUATOR  
  41 /*********************************************************************** 
  44  *     This file contains generic CAPI SWIG runtime support for pointer 
  47  ************************************************************************/ 
  49 /* This should only be incremented when either the layout of swig_type_info changes, 
  50    or for whatever reason, the runtime changes incompatibly */ 
  51 #define SWIG_RUNTIME_VERSION "1" 
  53 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */ 
  54 #ifdef SWIG_TYPE_TABLE 
  55 #define SWIG_QUOTE_STRING(x) #x 
  56 #define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x) 
  57 #define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE) 
  59 #define SWIG_TYPE_TABLE_NAME 
  65 #if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__)) 
  66 #  define SWIGINLINE inline 
  73   You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for 
  74   creating a static or dynamic library from the swig runtime code. 
  75   In 99.9% of the cases, swig just needs to declare them as 'static'. 
  77   But only do this if is strictly necessary, ie, if you have problems 
  78   with your compiler or so. 
  81 #define SWIGRUNTIME static 
  83 #ifndef SWIGRUNTIMEINLINE 
  84 #define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE 
  91 typedef void *(*swig_converter_func
)(void *); 
  92 typedef struct swig_type_info 
*(*swig_dycast_func
)(void **); 
  94 typedef struct swig_type_info 
{ 
  96   swig_converter_func     converter
; 
  99   swig_dycast_func        dcast
; 
 100   struct swig_type_info  
*next
; 
 101   struct swig_type_info  
*prev
; 
 105   Compare two type names skipping the space characters, therefore 
 106   "char*" == "char *" and "Class<int>" == "Class<int >", etc. 
 108   Return 0 when the two name types are equivalent, as in 
 109   strncmp, but skipping ' '. 
 112 SWIG_TypeNameComp(const char *f1
, const char *l1
, 
 113                   const char *f2
, const char *l2
) { 
 114   for (;(f1 
!= l1
) && (f2 
!= l2
); ++f1
, ++f2
) { 
 115     while ((*f1 
== ' ') && (f1 
!= l1
)) ++f1
; 
 116     while ((*f2 
== ' ') && (f2 
!= l2
)) ++f2
; 
 117     if (*f1 
!= *f2
) return *f1 
- *f2
; 
 119   return (l1 
- f1
) - (l2 
- f2
); 
 123   Check type equivalence in a name list like <name1>|<name2>|... 
 126 SWIG_TypeEquiv(const char *nb
, const char *tb
) { 
 128   const char* te 
= tb 
+ strlen(tb
); 
 130   while (!equiv 
&& *ne
) { 
 131     for (nb 
= ne
; *ne
; ++ne
) { 
 132       if (*ne 
== '|') break; 
 134     equiv 
= SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0; 
 141   Register a type mapping with the type-checking 
 143 SWIGRUNTIME swig_type_info 
* 
 144 SWIG_TypeRegisterTL(swig_type_info 
**tl
, swig_type_info 
*ti
) { 
 145   swig_type_info 
*tc
, *head
, *ret
, *next
; 
 146   /* Check to see if this type has already been registered */ 
 149     /* check simple type equivalence */ 
 150     int typeequiv 
= (strcmp(tc
->name
, ti
->name
) == 0);    
 151     /* check full type equivalence, resolving typedefs */ 
 153       /* only if tc is not a typedef (no '|' on it) */ 
 154       if (tc
->str 
&& ti
->str 
&& !strstr(tc
->str
,"|")) { 
 155         typeequiv 
= SWIG_TypeEquiv(ti
->str
,tc
->str
); 
 159       /* Already exists in the table.  Just add additional types to the list */ 
 160       if (ti
->clientdata
) tc
->clientdata 
= ti
->clientdata
; 
 174   /* Build linked lists */ 
 178   /* Patch up the rest of the links */ 
 185   if (next
) next
->prev 
= head
; 
 194 SWIGRUNTIME swig_type_info 
* 
 195 SWIG_TypeCheck(const char *c
, swig_type_info 
*ty
) { 
 197   if (!ty
) return 0;        /* Void pointer */ 
 198   s 
= ty
->next
;             /* First element always just a name */ 
 200     if (strcmp(s
->name
,c
) == 0) { 
 201       if (s 
== ty
->next
) return s
; 
 202       /* Move s to the top of the linked list */ 
 203       s
->prev
->next 
= s
->next
; 
 205         s
->next
->prev 
= s
->prev
; 
 207       /* Insert s as second element in the list */ 
 209       if (ty
->next
) ty
->next
->prev 
= s
; 
 215   } while (s 
&& (s 
!= ty
->next
)); 
 220   Cast a pointer up an inheritance hierarchy 
 222 SWIGRUNTIMEINLINE 
void * 
 223 SWIG_TypeCast(swig_type_info 
*ty
, void *ptr
) { 
 224   return ((!ty
) || (!ty
->converter
)) ? ptr 
: (*ty
->converter
)(ptr
); 
 228    Dynamic pointer casting. Down an inheritance hierarchy 
 230 SWIGRUNTIME swig_type_info 
* 
 231 SWIG_TypeDynamicCast(swig_type_info 
*ty
, void **ptr
) { 
 232   swig_type_info 
*lastty 
= ty
; 
 233   if (!ty 
|| !ty
->dcast
) return ty
; 
 234   while (ty 
&& (ty
->dcast
)) { 
 235     ty 
= (*ty
->dcast
)(ptr
); 
 242   Return the name associated with this type 
 244 SWIGRUNTIMEINLINE 
const char * 
 245 SWIG_TypeName(const swig_type_info 
*ty
) { 
 250   Return the pretty name associated with this type, 
 251   that is an unmangled type name in a form presentable to the user. 
 253 SWIGRUNTIME 
const char * 
 254 SWIG_TypePrettyName(const swig_type_info 
*type
) { 
 255   /* The "str" field contains the equivalent pretty names of the 
 256      type, separated by vertical-bar characters.  We choose 
 257      to print the last name, as it is often (?) the most 
 259   if (type
->str 
!= NULL
) { 
 260     const char *last_name 
= type
->str
; 
 262     for (s 
= type
->str
; *s
; s
++) 
 263       if (*s 
== '|') last_name 
= s
+1; 
 271   Search for a swig_type_info structure 
 273 SWIGRUNTIME swig_type_info 
* 
 274 SWIG_TypeQueryTL(swig_type_info 
*tl
, const char *name
) { 
 275   swig_type_info 
*ty 
= tl
; 
 277     if (ty
->str 
&& (SWIG_TypeEquiv(ty
->str
,name
))) return ty
; 
 278     if (ty
->name 
&& (strcmp(name
,ty
->name
) == 0)) return ty
; 
 285    Set the clientdata field for a type 
 288 SWIG_TypeClientDataTL(swig_type_info 
*tl
, swig_type_info 
*ti
, void *clientdata
) { 
 289   swig_type_info 
*tc
, *equiv
; 
 290   if (ti
->clientdata
) return; 
 291   /* if (ti->clientdata == clientdata) return; */ 
 292   ti
->clientdata 
= clientdata
; 
 295     if (!equiv
->converter
) { 
 298         if ((strcmp(tc
->name
, equiv
->name
) == 0)) 
 299           SWIG_TypeClientDataTL(tl
,tc
,clientdata
); 
 308    Pack binary data into a string 
 311 SWIG_PackData(char *c
, void *ptr
, size_t sz
) { 
 312   static char hex
[17] = "0123456789abcdef"; 
 313   unsigned char *u 
= (unsigned char *) ptr
; 
 314   const unsigned char *eu 
=  u 
+ sz
; 
 315   register unsigned char uu
; 
 316   for (; u 
!= eu
; ++u
) { 
 318     *(c
++) = hex
[(uu 
& 0xf0) >> 4]; 
 319     *(c
++) = hex
[uu 
& 0xf]; 
 325    Unpack binary data from a string 
 327 SWIGRUNTIME 
const char * 
 328 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) { 
 329   register unsigned char *u 
= (unsigned char *) ptr
; 
 330   register const unsigned char *eu 
=  u 
+ sz
; 
 331   for (; u 
!= eu
; ++u
) { 
 332     register int d 
= *(c
++); 
 333     register unsigned char uu 
= 0; 
 334     if ((d 
>= '0') && (d 
<= '9')) 
 335       uu 
= ((d 
- '0') << 4); 
 336     else if ((d 
>= 'a') && (d 
<= 'f')) 
 337       uu 
= ((d 
- ('a'-10)) << 4); 
 341     if ((d 
>= '0') && (d 
<= '9')) 
 343     else if ((d 
>= 'a') && (d 
<= 'f')) 
 344       uu 
|= (d 
- ('a'-10)); 
 353   This function will propagate the clientdata field of type to any new 
 354   swig_type_info structures that have been added into the list of 
 355   equivalent types.  It is like calling SWIG_TypeClientData(type, 
 356   clientdata) a second time. 
 359 SWIG_PropagateClientDataTL(swig_type_info 
*tl
, swig_type_info 
*type
) { 
 360   swig_type_info 
*equiv 
= type
->next
; 
 362   if (!type
->clientdata
) return; 
 364     if (!equiv
->converter
) { 
 367         if ((strcmp(tc
->name
, equiv
->name
) == 0) && !tc
->clientdata
) 
 368           SWIG_TypeClientDataTL(tl
,tc
, type
->clientdata
); 
 377    Pack 'void *' into a string buffer. 
 380 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) { 
 382   if ((2*sizeof(void *) + 2) > bsz
) return 0; 
 384   r 
= SWIG_PackData(r
,&ptr
,sizeof(void *)); 
 385   if (strlen(name
) + 1 > (bsz 
- (r 
- buff
))) return 0; 
 390 SWIGRUNTIME 
const char * 
 391 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) { 
 393     if (strcmp(c
,"NULL") == 0) { 
 400   return SWIG_UnpackData(++c
,ptr
,sizeof(void *)); 
 404 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) { 
 406   size_t lname 
= (name 
? strlen(name
) : 0); 
 407   if ((2*sz 
+ 2 + lname
) > bsz
) return 0; 
 409   r 
= SWIG_PackData(r
,ptr
,sz
); 
 411     strncpy(r
,name
,lname
+1); 
 418 SWIGRUNTIME 
const char * 
 419 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) { 
 421     if (strcmp(c
,"NULL") == 0) { 
 428   return SWIG_UnpackData(++c
,ptr
,sz
); 
 435 /*********************************************************************** 
 438  *     This file contains generic SWIG runtime support for pointer 
 439  *     type checking as well as a few commonly used macros to control 
 442  * Author : David Beazley (beazley@cs.uchicago.edu) 
 444  * Copyright (c) 1999-2000, The University of Chicago 
 446  * This file may be freely redistributed without license or fee provided 
 447  * this copyright message remains intact. 
 448  ************************************************************************/ 
 451 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__) 
 452 #  if !defined(STATIC_LINKED) 
 453 #    define SWIGEXPORT(a) __declspec(dllexport) a 
 455 #    define SWIGEXPORT(a) a 
 458 #  define SWIGEXPORT(a) a 
 466 /*************************************************************************/ 
 469 /* The static type info list */ 
 471 static swig_type_info 
*swig_type_list 
= 0; 
 472 static swig_type_info 
**swig_type_list_handle 
= &swig_type_list
; 
 475 /* Register a type mapping with the type-checking */ 
 476 static swig_type_info 
* 
 477 SWIG_TypeRegister(swig_type_info 
*ti
) { 
 478   return SWIG_TypeRegisterTL(swig_type_list_handle
, ti
); 
 481 /* Search for a swig_type_info structure */ 
 482 static swig_type_info 
* 
 483 SWIG_TypeQuery(const char *name
) { 
 484   return SWIG_TypeQueryTL(*swig_type_list_handle
, name
); 
 487 /* Set the clientdata field for a type */ 
 489 SWIG_TypeClientData(swig_type_info 
*ti
, void *clientdata
) { 
 490   SWIG_TypeClientDataTL(*swig_type_list_handle
, ti
, clientdata
); 
 493 /* This function will propagate the clientdata field of type to 
 494 * any new swig_type_info structures that have been added into the list 
 495 * of equivalent types.  It is like calling 
 496 * SWIG_TypeClientData(type, clientdata) a second time. 
 499 SWIG_PropagateClientData(swig_type_info 
*type
) { 
 500   SWIG_PropagateClientDataTL(*swig_type_list_handle
, type
); 
 507 /* ----------------------------------------------------------------------------- 
 508  * SWIG API. Portion that goes into the runtime 
 509  * ----------------------------------------------------------------------------- */ 
 515 /* ----------------------------------------------------------------------------- 
 516  * for internal method declarations 
 517  * ----------------------------------------------------------------------------- */ 
 520 #define SWIGINTERN static  
 523 #ifndef SWIGINTERNSHORT 
 525 #define SWIGINTERNSHORT static inline  
 527 #define SWIGINTERNSHORT static  
 528 #endif /* __cplusplus */ 
 533   Exception handling in wrappers 
 535 #define SWIG_fail                goto fail 
 536 #define SWIG_arg_fail(arg)       SWIG_Python_ArgFail(arg) 
 537 #define SWIG_append_errmsg(msg)   SWIG_Python_AddErrMesg(msg,0) 
 538 #define SWIG_preppend_errmsg(msg) SWIG_Python_AddErrMesg(msg,1) 
 539 #define SWIG_type_error(type,obj) SWIG_Python_TypeError(type,obj) 
 540 #define SWIG_null_ref(type)       SWIG_Python_NullRef(type) 
 545 #define SWIG_contract_assert(expr, msg) \ 
 546  if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else 
 548 /* ----------------------------------------------------------------------------- 
 549  * Constant declarations 
 550  * ----------------------------------------------------------------------------- */ 
 553 #define SWIG_PY_INT     1 
 554 #define SWIG_PY_FLOAT   2 
 555 #define SWIG_PY_STRING  3 
 556 #define SWIG_PY_POINTER 4 
 557 #define SWIG_PY_BINARY  5 
 559 /* Constant information structure */ 
 560 typedef struct swig_const_info 
{ 
 566     swig_type_info 
**ptype
; 
 570 /* ----------------------------------------------------------------------------- 
 571  * Alloc. memory flags 
 572  * ----------------------------------------------------------------------------- */ 
 573 #define SWIG_OLDOBJ  1 
 574 #define SWIG_NEWOBJ  SWIG_OLDOBJ + 1 
 575 #define SWIG_PYSTR   SWIG_NEWOBJ + 1 
 582 /*********************************************************************** 
 585  *     This file contains the runtime support for Python modules 
 586  *     and includes code for managing global variables and pointer 
 589  * Author : David Beazley (beazley@cs.uchicago.edu) 
 590  ************************************************************************/ 
 592 /* Common SWIG API */ 
 593 #define SWIG_ConvertPtr(obj, pp, type, flags)    SWIG_Python_ConvertPtr(obj, pp, type, flags) 
 594 #define SWIG_NewPointerObj(p, type, flags)       SWIG_Python_NewPointerObj(p, type, flags) 
 595 #define SWIG_MustGetPtr(p, type, argnum, flags)  SWIG_Python_MustGetPtr(p, type, argnum, flags) 
 598 /* Python-specific SWIG API */ 
 599 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags)   SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags) 
 600 #define SWIG_NewPackedObj(ptr, sz, type)              SWIG_Python_NewPackedObj(ptr, sz, type) 
 603 /* ----------------------------------------------------------------------------- 
 604  * Pointer declarations 
 605  * ----------------------------------------------------------------------------- */ 
 607   Use SWIG_NO_COBJECT_TYPES to force the use of strings to represent 
 608   C/C++ pointers in the python side. Very useful for debugging, but 
 611 #if !defined(SWIG_NO_COBJECT_TYPES) && !defined(SWIG_COBJECT_TYPES) 
 612 #  define SWIG_COBJECT_TYPES 
 615 /* Flags for pointer conversion */ 
 616 #define SWIG_POINTER_EXCEPTION     0x1 
 617 #define SWIG_POINTER_DISOWN        0x2 
 624 /* ----------------------------------------------------------------------------- 
 625  * Create a new pointer string  
 626  * ----------------------------------------------------------------------------- */ 
 628 #ifndef SWIG_BUFFER_SIZE 
 629 #define SWIG_BUFFER_SIZE 1024 
 632 #if defined(SWIG_COBJECT_TYPES) 
 633 #if !defined(SWIG_COBJECT_PYTHON) 
 634 /* ----------------------------------------------------------------------------- 
 635  * Implements a simple Swig Object type, and use it instead of PyCObject 
 636  * ----------------------------------------------------------------------------- */ 
 644 /* Declarations for objects of type PySwigObject */ 
 647 PySwigObject_print(PySwigObject 
*v
, FILE *fp
, int flags
) 
 649   char result
[SWIG_BUFFER_SIZE
]; 
 650   if (SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
))) { 
 651     fputs("<Swig Object at ", fp
); fputs(result
, fp
); fputs(">", fp
); 
 658 SWIGRUNTIME PyObject 
* 
 659 PySwigObject_repr(PySwigObject 
*v
) 
 661   char result
[SWIG_BUFFER_SIZE
]; 
 662   return SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
)) ? 
 663     PyString_FromFormat("<Swig Object at %s>", result
) : 0; 
 666 SWIGRUNTIME PyObject 
* 
 667 PySwigObject_str(PySwigObject 
*v
) 
 669   char result
[SWIG_BUFFER_SIZE
]; 
 670   return SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
)) ? 
 671     PyString_FromString(result
) : 0; 
 674 SWIGRUNTIME PyObject 
* 
 675 PySwigObject_long(PySwigObject 
*v
) 
 677   return PyLong_FromUnsignedLong((unsigned long) v
->ptr
); 
 680 SWIGRUNTIME PyObject 
* 
 681 PySwigObject_oct(PySwigObject 
*v
) 
 684   unsigned long x 
= (unsigned long)v
->ptr
; 
 688     PyOS_snprintf(buf
, sizeof(buf
), "0%lo", x
); 
 689   return PyString_FromString(buf
); 
 692 SWIGRUNTIME PyObject 
* 
 693 PySwigObject_hex(PySwigObject 
*v
) 
 696   PyOS_snprintf(buf
, sizeof(buf
), "0x%lx", (unsigned long)v
->ptr
); 
 697   return PyString_FromString(buf
); 
 701 PySwigObject_compare(PySwigObject 
*v
, PySwigObject 
*w
) 
 703   int c 
= strcmp(v
->desc
, w
->desc
); 
 709     return (i 
< j
) ? -1 : (i 
> j
) ? 1 : 0; 
 714 PySwigObject_dealloc(PySwigObject 
*self
) 
 719 SWIGRUNTIME PyTypeObject
* 
 720 PySwigObject_GetType() { 
 721   static char PySwigObject_Type__doc__
[] =  
 722     "Swig object carries a C/C++ instance pointer"; 
 724   static PyNumberMethods PySwigObject_as_number 
= { 
 725     (binaryfunc
)0, /*nb_add*/ 
 726     (binaryfunc
)0, /*nb_subtract*/ 
 727     (binaryfunc
)0, /*nb_multiply*/ 
 728     (binaryfunc
)0, /*nb_divide*/ 
 729     (binaryfunc
)0, /*nb_remainder*/ 
 730     (binaryfunc
)0, /*nb_divmod*/ 
 731     (ternaryfunc
)0,/*nb_power*/ 
 732     (unaryfunc
)0,  /*nb_negative*/ 
 733     (unaryfunc
)0,  /*nb_positive*/ 
 734     (unaryfunc
)0,  /*nb_absolute*/ 
 735     (inquiry
)0,    /*nb_nonzero*/ 
 742     (coercion
)0,   /*nb_coerce*/ 
 743     (unaryfunc
)PySwigObject_long
, /*nb_int*/ 
 744     (unaryfunc
)PySwigObject_long
, /*nb_long*/ 
 745     (unaryfunc
)0,                 /*nb_float*/ 
 746     (unaryfunc
)PySwigObject_oct
,  /*nb_oct*/ 
 747     (unaryfunc
)PySwigObject_hex
,  /*nb_hex*/ 
 748 #if PY_VERSION_HEX >= 0x02000000 
 749     0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */  
 753   static int type_init 
= 0;   
 754   static PyTypeObject PySwigObject_Type
; 
 758     PyObject_HEAD_INIT(&PyType_Type
) 
 760     "PySwigObject",                     /*tp_name*/ 
 761     sizeof(PySwigObject
),               /*tp_basicsize*/ 
 764     (destructor
)PySwigObject_dealloc
,   /*tp_dealloc*/ 
 765     (printfunc
)PySwigObject_print
,      /*tp_print*/ 
 766     (getattrfunc
)0,                     /*tp_getattr*/ 
 767     (setattrfunc
)0,                     /*tp_setattr*/ 
 768     (cmpfunc
)PySwigObject_compare
,      /*tp_compare*/ 
 769     (reprfunc
)PySwigObject_repr
,        /*tp_repr*/ 
 770     &PySwigObject_as_number
,            /*tp_as_number*/ 
 771     0,                                  /*tp_as_sequence*/ 
 773     (hashfunc
)0,                        /*tp_hash*/ 
 774     (ternaryfunc
)0,                     /*tp_call*/ 
 775     (reprfunc
)PySwigObject_str
,         /*tp_str*/ 
 776     /* Space for future expansion */ 
 778     PySwigObject_Type__doc__
,           /* Documentation string */ 
 779 #if PY_VERSION_HEX >= 0x02000000 
 783 #if PY_VERSION_HEX >= 0x02010000 
 784     0,                                  /* tp_richcompare */ 
 785     0,                                  /* tp_weaklistoffset */ 
 787 #if PY_VERSION_HEX >= 0x02020000 
 788     0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */ 
 790 #if PY_VERSION_HEX >= 0x02030000 
 794     0,0,0,0                             /* tp_alloc -> tp_next */ 
 798     PySwigObject_Type 
= tmp
; 
 802   return &PySwigObject_Type
; 
 805 SWIGRUNTIME PyObject 
* 
 806 PySwigObject_FromVoidPtrAndDesc(void *ptr
, const char *desc
) 
 808   PySwigObject 
*self 
= PyObject_NEW(PySwigObject
, PySwigObject_GetType()); 
 809   if (self 
== NULL
) return NULL
; 
 812   return (PyObject 
*)self
; 
 815 SWIGRUNTIMEINLINE 
void * 
 816 PySwigObject_AsVoidPtr(PyObject 
*self
) 
 818   return ((PySwigObject 
*)self
)->ptr
; 
 821 SWIGRUNTIMEINLINE 
const char * 
 822 PySwigObject_GetDesc(PyObject 
*self
) 
 824   return ((PySwigObject 
*)self
)->desc
; 
 827 SWIGRUNTIMEINLINE 
int 
 828 PySwigObject_Check(PyObject 
*op
) { 
 829   return ((op
)->ob_type 
== PySwigObject_GetType())  
 830     || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0); 
 833 /* ----------------------------------------------------------------------------- 
 834  * Implements a simple Swig Packed type, and use it instead of string 
 835  * ----------------------------------------------------------------------------- */ 
 845 PySwigPacked_print(PySwigPacked 
*v
, FILE *fp
, int flags
) 
 847   char result
[SWIG_BUFFER_SIZE
]; 
 848   fputs("<Swig Packed ", fp
);  
 849   if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) { 
 858 SWIGRUNTIME PyObject 
* 
 859 PySwigPacked_repr(PySwigPacked 
*v
) 
 861   char result
[SWIG_BUFFER_SIZE
]; 
 862   if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) { 
 863     return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->desc
); 
 865     return PyString_FromFormat("<Swig Packed %s>", v
->desc
); 
 869 SWIGRUNTIME PyObject 
* 
 870 PySwigPacked_str(PySwigPacked 
*v
) 
 872   char result
[SWIG_BUFFER_SIZE
]; 
 873   if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){ 
 874     return PyString_FromFormat("%s%s", result
, v
->desc
); 
 876     return PyString_FromFormat("%s", v
->desc
); 
 881 PySwigPacked_compare(PySwigPacked 
*v
, PySwigPacked 
*w
) 
 883   int c 
= strcmp(v
->desc
, w
->desc
); 
 889     int s 
= (i 
< j
) ? -1 : (i 
> j
) ? 1 : 0; 
 890     return s 
? s 
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
); 
 895 PySwigPacked_dealloc(PySwigPacked 
*self
) 
 901 SWIGRUNTIME PyTypeObject
* 
 902 PySwigPacked_GetType() { 
 903   static char PySwigPacked_Type__doc__
[] =  
 904     "Swig object carries a C/C++ instance pointer"; 
 905   static int type_init 
= 0; 
 907   static PyTypeObject PySwigPacked_Type
; 
 910     PyObject_HEAD_INIT(&PyType_Type
) 
 912     "PySwigPacked",                     /*tp_name*/ 
 913     sizeof(PySwigPacked
),               /*tp_basicsize*/ 
 916     (destructor
)PySwigPacked_dealloc
,   /*tp_dealloc*/ 
 917     (printfunc
)PySwigPacked_print
,      /*tp_print*/ 
 918     (getattrfunc
)0,                     /*tp_getattr*/ 
 919     (setattrfunc
)0,                     /*tp_setattr*/ 
 920     (cmpfunc
)PySwigPacked_compare
,      /*tp_compare*/ 
 921     (reprfunc
)PySwigPacked_repr
,        /*tp_repr*/ 
 923     0,                                  /*tp_as_sequence*/ 
 925     (hashfunc
)0,                        /*tp_hash*/ 
 926     (ternaryfunc
)0,                     /*tp_call*/ 
 927     (reprfunc
)PySwigPacked_str
,         /*tp_str*/ 
 928     /* Space for future expansion */ 
 930     PySwigPacked_Type__doc__
,           /* Documentation string */ 
 931 #if PY_VERSION_HEX >= 0x02000000 
 935 #if PY_VERSION_HEX >= 0x02010000 
 936     0,                                  /* tp_richcompare */ 
 937     0,                                  /* tp_weaklistoffset */ 
 939 #if PY_VERSION_HEX >= 0x02020000          
 940     0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */ 
 942 #if PY_VERSION_HEX >= 0x02030000 
 946     0,0,0,0                             /* tp_alloc -> tp_next */ 
 950     PySwigPacked_Type 
= tmp
; 
 956   return &PySwigPacked_Type
; 
 959 SWIGRUNTIME PyObject 
* 
 960 PySwigPacked_FromDataAndDesc(void *ptr
, size_t size
, const char *desc
) 
 962   PySwigPacked 
*self 
= PyObject_NEW(PySwigPacked
, PySwigPacked_GetType()); 
 966     void *pack 
= malloc(size
); 
 967     memcpy(pack
, ptr
, size
); 
 971     return (PyObject 
*) self
; 
 975 SWIGRUNTIMEINLINE 
const char * 
 976 PySwigPacked_UnpackData(PyObject 
*obj
, void *ptr
, size_t size
) 
 978   PySwigPacked 
*self 
= (PySwigPacked 
*)obj
; 
 979   if (self
->size 
!= size
) return 0; 
 980   memcpy(ptr
, self
->pack
, size
); 
 984 SWIGRUNTIMEINLINE 
const char * 
 985 PySwigPacked_GetDesc(PyObject 
*self
) 
 987   return ((PySwigPacked 
*)self
)->desc
; 
 990 SWIGRUNTIMEINLINE 
int 
 991 PySwigPacked_Check(PyObject 
*op
) { 
 992   return ((op
)->ob_type 
== PySwigPacked_GetType())  
 993     || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0); 
 997 /* ----------------------------------------------------------------------------- 
 998  * Use the old Python PyCObject instead of PySwigObject 
 999  * ----------------------------------------------------------------------------- */ 
1001 #define PySwigObject_GetDesc(obj)                  PyCObject_GetDesc(obj) 
1002 #define PySwigObject_Check(obj)            PyCObject_Check(obj) 
1003 #define PySwigObject_AsVoidPtr(obj)        PyCObject_AsVoidPtr(obj) 
1004 #define PySwigObject_FromVoidPtrAndDesc(p, d)  PyCObject_FromVoidPtrAndDesc(p, d, NULL) 
1010 /* ----------------------------------------------------------------------------- 
1011  * errors manipulation 
1012  * ----------------------------------------------------------------------------- */ 
1015 SWIG_Python_TypeError(const char *type
, PyObject 
*obj
) 
1018 #if defined(SWIG_COBJECT_TYPES) 
1019     if (PySwigObject_Check(obj
)) { 
1020       const char *otype 
= (const char *) PySwigObject_GetDesc(obj
); 
1022         PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received", 
1029       const char *otype 
= (obj 
? obj
->ob_type
->tp_name 
: 0);  
1031         PyObject 
*str 
= PyObject_Str(obj
); 
1032         const char *cstr 
= str 
? PyString_AsString(str
) : 0; 
1034           PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received", 
1037           PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received", 
1044     PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
); 
1046     PyErr_Format(PyExc_TypeError
, "unexpected type is received"); 
1050 SWIGRUNTIMEINLINE 
void 
1051 SWIG_Python_NullRef(const char *type
) 
1054     PyErr_Format(PyExc_TypeError
, "null reference of type '%s' was received",type
); 
1056     PyErr_Format(PyExc_TypeError
, "null reference was received"); 
1061 SWIG_Python_AddErrMesg(const char* mesg
, int infront
) 
1063   if (PyErr_Occurred()) { 
1065     PyObject 
*value 
= 0; 
1066     PyObject 
*traceback 
= 0; 
1067     PyErr_Fetch(&type
, &value
, &traceback
); 
1069       PyObject 
*old_str 
= PyObject_Str(value
); 
1073         PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
)); 
1075         PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
); 
1086 SWIG_Python_ArgFail(int argnum
) 
1088   if (PyErr_Occurred()) { 
1089     /* add information about failing argument */ 
1091     sprintf(mesg
, "argument number %d:", argnum
); 
1092     return SWIG_Python_AddErrMesg(mesg
, 1); 
1099 /* ----------------------------------------------------------------------------- 
1100  * pointers/data manipulation 
1101  * ----------------------------------------------------------------------------- */ 
1103 /* Convert a pointer value */ 
1105 SWIG_Python_ConvertPtr(PyObject 
*obj
, void **ptr
, swig_type_info 
*ty
, int flags
) { 
1108   static PyObject 
*SWIG_this 
= 0; 
1110   PyObject  
*pyobj 
= 0; 
1114   if (obj 
== Py_None
) { 
1119 #ifdef SWIG_COBJECT_TYPES 
1120   if (!(PySwigObject_Check(obj
))) { 
1122       SWIG_this 
= PyString_FromString("this"); 
1124     obj 
= PyObject_GetAttr(obj
,SWIG_this
); 
1126     if (!obj
) goto type_error
; 
1127     if (!PySwigObject_Check(obj
)) { 
1132   vptr 
= PySwigObject_AsVoidPtr(obj
); 
1133   c 
= (const char *) PySwigObject_GetDesc(obj
); 
1134   if (newref
) { Py_DECREF(obj
); } 
1137   if (!(PyString_Check(obj
))) { 
1139       SWIG_this 
= PyString_FromString("this"); 
1141     obj 
= PyObject_GetAttr(obj
,SWIG_this
); 
1143     if (!obj
) goto type_error
; 
1144     if (!PyString_Check(obj
)) { 
1149   c 
= PyString_AS_STRING(obj
); 
1150   /* Pointer values must start with leading underscore */ 
1151   c 
= SWIG_UnpackVoidPtr(c
, &vptr
, ty
->name
); 
1152   if (newref
) { Py_DECREF(obj
); } 
1153   if (!c
) goto type_error
; 
1159     tc 
= SWIG_TypeCheck(c
,ty
); 
1160     if (!tc
) goto type_error
; 
1161     *ptr 
= SWIG_TypeCast(tc
,vptr
); 
1166   if ((pyobj
) && (flags 
& SWIG_POINTER_DISOWN
)) { 
1167     PyObject_SetAttrString(pyobj
,(char*)"thisown",Py_False
); 
1173   if (pyobj 
&& !obj
) {     
1175     if (PyCFunction_Check(obj
)) { 
1176       /* here we get the method pointer for callbacks */ 
1177       char *doc 
= (((PyCFunctionObject 
*)obj
) -> m_ml 
-> ml_doc
); 
1178       c 
= doc 
? strstr(doc
, "swig_ptr: ") : 0; 
1180         c 
= SWIG_UnpackVoidPtr(c 
+ 10, &vptr
, ty
->name
); 
1181         if (!c
) goto type_error
; 
1186   if (flags 
& SWIG_POINTER_EXCEPTION
) { 
1188       SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
); 
1190       SWIG_Python_TypeError("C/C++ pointer", obj
); 
1196 /* Convert a pointer value, signal an exception on a type mismatch */ 
1198 SWIG_Python_MustGetPtr(PyObject 
*obj
, swig_type_info 
*ty
, int argnum
, int flags
) { 
1200   if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) { 
1202     if (flags 
& SWIG_POINTER_EXCEPTION
) { 
1203       SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
); 
1204       SWIG_Python_ArgFail(argnum
); 
1210 /* Convert a packed value value */ 
1212 SWIG_Python_ConvertPacked(PyObject 
*obj
, void *ptr
, size_t sz
, swig_type_info 
*ty
, int flags
) { 
1216 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON) 
1217   c 
= PySwigPacked_UnpackData(obj
, ptr
, sz
); 
1219   if ((!obj
) || (!PyString_Check(obj
))) goto type_error
; 
1220   c 
= PyString_AS_STRING(obj
); 
1221   /* Pointer values must start with leading underscore */ 
1222   c 
= SWIG_UnpackDataName(c
, ptr
, sz
, ty
->name
); 
1224   if (!c
) goto type_error
; 
1226     tc 
= SWIG_TypeCheck(c
,ty
); 
1227     if (!tc
) goto type_error
; 
1233   if (flags 
& SWIG_POINTER_EXCEPTION
) { 
1235       SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
); 
1237       SWIG_Python_TypeError("C/C++ packed data", obj
); 
1243 /* Create a new array object */ 
1244 SWIGRUNTIME PyObject 
* 
1245 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info 
*type
, int own
) { 
1251 #ifdef SWIG_COBJECT_TYPES 
1252   robj 
= PySwigObject_FromVoidPtrAndDesc((void *) ptr
, (char *)type
->name
); 
1255     char result
[SWIG_BUFFER_SIZE
]; 
1256     robj 
= SWIG_PackVoidPtr(result
, ptr
, type
->name
, sizeof(result
)) ? 
1257       PyString_FromString(result
) : 0; 
1260   if (!robj 
|| (robj 
== Py_None
)) return robj
; 
1261   if (type
->clientdata
) { 
1263     PyObject 
*args 
= Py_BuildValue((char*)"(O)", robj
); 
1265     inst 
= PyObject_CallObject((PyObject 
*) type
->clientdata
, args
); 
1269         PyObject_SetAttrString(inst
,(char*)"thisown",Py_True
); 
1277 SWIGRUNTIME PyObject 
* 
1278 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info 
*type
) { 
1284 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON) 
1285   robj 
= PySwigPacked_FromDataAndDesc((void *) ptr
, sz
, (char *)type
->name
); 
1288     char result
[SWIG_BUFFER_SIZE
]; 
1289     robj 
= SWIG_PackDataName(result
, ptr
, sz
, type
->name
, sizeof(result
)) ? 
1290       PyString_FromString(result
) : 0; 
1296 /* -----------------------------------------------------------------------------* 
1298  * -----------------------------------------------------------------------------*/ 
1300 #ifdef SWIG_LINK_RUNTIME 
1301 void *SWIG_ReturnGlobalTypeList(void *); 
1304 SWIGRUNTIME swig_type_info 
** 
1305 SWIG_Python_GetTypeListHandle() { 
1306   static void *type_pointer 
= (void *)0; 
1307   /* first check if module already created */ 
1308   if (!type_pointer
) { 
1309 #ifdef SWIG_LINK_RUNTIME 
1310     type_pointer 
= SWIG_ReturnGlobalTypeList((void *)0); 
1312     type_pointer 
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
, 
1313                                     (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
); 
1314     if (PyErr_Occurred()) { 
1316       type_pointer 
= (void *)0; 
1320   return (swig_type_info 
**) type_pointer
; 
1324   Search for a swig_type_info structure 
1326 SWIGRUNTIMEINLINE swig_type_info 
* 
1327 SWIG_Python_GetTypeList() { 
1328   swig_type_info 
**tlh 
= SWIG_Python_GetTypeListHandle(); 
1329   return tlh 
? *tlh 
: (swig_type_info
*)0; 
1332 #define SWIG_Runtime_GetTypeList SWIG_Python_GetTypeList  
1339 /* -------- TYPES TABLE (BEGIN) -------- */ 
1341 #define  SWIGTYPE_p_wxLayoutConstraints swig_types[0]  
1342 #define  SWIGTYPE_p_wxRealPoint swig_types[1]  
1343 #define  SWIGTYPE_p_wxSizerItem swig_types[2]  
1344 #define  SWIGTYPE_p_wxGBSizerItem swig_types[3]  
1345 #define  SWIGTYPE_p_wxScrollEvent swig_types[4]  
1346 #define  SWIGTYPE_p_wxEventLoop swig_types[5]  
1347 #define  SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[6]  
1348 #define  SWIGTYPE_p_wxSizer swig_types[7]  
1349 #define  SWIGTYPE_p_wxBoxSizer swig_types[8]  
1350 #define  SWIGTYPE_p_wxStaticBoxSizer swig_types[9]  
1351 #define  SWIGTYPE_p_wxGridBagSizer swig_types[10]  
1352 #define  SWIGTYPE_p_wxAcceleratorEntry swig_types[11]  
1353 #define  SWIGTYPE_p_wxUpdateUIEvent swig_types[12]  
1354 #define  SWIGTYPE_p_wxEvent swig_types[13]  
1355 #define  SWIGTYPE_p_wxMenu swig_types[14]  
1356 #define  SWIGTYPE_p_wxGridSizer swig_types[15]  
1357 #define  SWIGTYPE_p_wxFlexGridSizer swig_types[16]  
1358 #define  SWIGTYPE_p_wxInitDialogEvent swig_types[17]  
1359 #define  SWIGTYPE_p_wxItemContainer swig_types[18]  
1360 #define  SWIGTYPE_p_wxNcPaintEvent swig_types[19]  
1361 #define  SWIGTYPE_p_wxPaintEvent swig_types[20]  
1362 #define  SWIGTYPE_p_wxSysColourChangedEvent swig_types[21]  
1363 #define  SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[22]  
1364 #define  SWIGTYPE_p_wxDisplayChangedEvent swig_types[23]  
1365 #define  SWIGTYPE_p_wxPaletteChangedEvent swig_types[24]  
1366 #define  SWIGTYPE_p_wxControl swig_types[25]  
1367 #define  SWIGTYPE_p_wxFont swig_types[26]  
1368 #define  SWIGTYPE_p_wxMenuBarBase swig_types[27]  
1369 #define  SWIGTYPE_p_wxSetCursorEvent swig_types[28]  
1370 #define  SWIGTYPE_p_wxFSFile swig_types[29]  
1371 #define  SWIGTYPE_p_wxCaret swig_types[30]  
1372 #define  SWIGTYPE_ptrdiff_t swig_types[31]  
1373 #define  SWIGTYPE_std__ptrdiff_t swig_types[32]  
1374 #define  SWIGTYPE_p_wxRegion swig_types[33]  
1375 #define  SWIGTYPE_p_wxPoint2D swig_types[34]  
1376 #define  SWIGTYPE_p_int swig_types[35]  
1377 #define  SWIGTYPE_p_wxSize swig_types[36]  
1378 #define  SWIGTYPE_p_wxDC swig_types[37]  
1379 #define  SWIGTYPE_p_wxPySizer swig_types[38]  
1380 #define  SWIGTYPE_p_wxVisualAttributes swig_types[39]  
1381 #define  SWIGTYPE_p_wxNotifyEvent swig_types[40]  
1382 #define  SWIGTYPE_p_wxPyEvent swig_types[41]  
1383 #define  SWIGTYPE_p_wxPropagationDisabler swig_types[42]  
1384 #define  SWIGTYPE_p_form_ops_t swig_types[43]  
1385 #define  SWIGTYPE_p_wxAppTraits swig_types[44]  
1386 #define  SWIGTYPE_p_wxArrayString swig_types[45]  
1387 #define  SWIGTYPE_p_wxShowEvent swig_types[46]  
1388 #define  SWIGTYPE_p_wxToolTip swig_types[47]  
1389 #define  SWIGTYPE_p_wxMoveEvent swig_types[48]  
1390 #define  SWIGTYPE_p_wxSizeEvent swig_types[49]  
1391 #define  SWIGTYPE_p_wxActivateEvent swig_types[50]  
1392 #define  SWIGTYPE_p_wxIconizeEvent swig_types[51]  
1393 #define  SWIGTYPE_p_wxMaximizeEvent swig_types[52]  
1394 #define  SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[53]  
1395 #define  SWIGTYPE_p_wxWindowCreateEvent swig_types[54]  
1396 #define  SWIGTYPE_p_wxIdleEvent swig_types[55]  
1397 #define  SWIGTYPE_p_wxDateEvent swig_types[56]  
1398 #define  SWIGTYPE_p_wxMenuItem swig_types[57]  
1399 #define  SWIGTYPE_p_wxStaticBox swig_types[58]  
1400 #define  SWIGTYPE_p_long swig_types[59]  
1401 #define  SWIGTYPE_p_wxDuplexMode swig_types[60]  
1402 #define  SWIGTYPE_p_wxTIFFHandler swig_types[61]  
1403 #define  SWIGTYPE_p_wxXPMHandler swig_types[62]  
1404 #define  SWIGTYPE_p_wxPNMHandler swig_types[63]  
1405 #define  SWIGTYPE_p_wxJPEGHandler swig_types[64]  
1406 #define  SWIGTYPE_p_wxPCXHandler swig_types[65]  
1407 #define  SWIGTYPE_p_wxGIFHandler swig_types[66]  
1408 #define  SWIGTYPE_p_wxPNGHandler swig_types[67]  
1409 #define  SWIGTYPE_p_wxANIHandler swig_types[68]  
1410 #define  SWIGTYPE_p_wxMemoryFSHandler swig_types[69]  
1411 #define  SWIGTYPE_p_wxZipFSHandler swig_types[70]  
1412 #define  SWIGTYPE_p_wxInternetFSHandler swig_types[71]  
1413 #define  SWIGTYPE_p_wxPyFileSystemHandler swig_types[72]  
1414 #define  SWIGTYPE_p_wxEvtHandler swig_types[73]  
1415 #define  SWIGTYPE_p_wxCURHandler swig_types[74]  
1416 #define  SWIGTYPE_p_wxICOHandler swig_types[75]  
1417 #define  SWIGTYPE_p_wxBMPHandler swig_types[76]  
1418 #define  SWIGTYPE_p_wxImageHandler swig_types[77]  
1419 #define  SWIGTYPE_p_wxFileSystemHandler swig_types[78]  
1420 #define  SWIGTYPE_p_wxRect swig_types[79]  
1421 #define  SWIGTYPE_p_wxButton swig_types[80]  
1422 #define  SWIGTYPE_p_wxGBSpan swig_types[81]  
1423 #define  SWIGTYPE_p_wxPropagateOnce swig_types[82]  
1424 #define  SWIGTYPE_p_wxAcceleratorTable swig_types[83]  
1425 #define  SWIGTYPE_p_wxStdDialogButtonSizer swig_types[84]  
1426 #define  SWIGTYPE_p_char swig_types[85]  
1427 #define  SWIGTYPE_p_wxGBPosition swig_types[86]  
1428 #define  SWIGTYPE_p_wxImage swig_types[87]  
1429 #define  SWIGTYPE_p_wxFrame swig_types[88]  
1430 #define  SWIGTYPE_p_wxScrollWinEvent swig_types[89]  
1431 #define  SWIGTYPE_p_wxPaperSize swig_types[90]  
1432 #define  SWIGTYPE_p_wxImageHistogram swig_types[91]  
1433 #define  SWIGTYPE_p_wxPoint swig_types[92]  
1434 #define  SWIGTYPE_p_wxCursor swig_types[93]  
1435 #define  SWIGTYPE_p_wxObject swig_types[94]  
1436 #define  SWIGTYPE_p_wxInputStream swig_types[95]  
1437 #define  SWIGTYPE_p_wxOutputStream swig_types[96]  
1438 #define  SWIGTYPE_p_wxPyInputStream swig_types[97]  
1439 #define  SWIGTYPE_p_wxDateTime swig_types[98]  
1440 #define  SWIGTYPE_p_wxKeyEvent swig_types[99]  
1441 #define  SWIGTYPE_p_wxNavigationKeyEvent swig_types[100]  
1442 #define  SWIGTYPE_p_wxWindowDestroyEvent swig_types[101]  
1443 #define  SWIGTYPE_p_unsigned_long swig_types[102]  
1444 #define  SWIGTYPE_p_wxWindow swig_types[103]  
1445 #define  SWIGTYPE_p_wxMenuBar swig_types[104]  
1446 #define  SWIGTYPE_p_wxFileSystem swig_types[105]  
1447 #define  SWIGTYPE_p_wxBitmap swig_types[106]  
1448 #define  SWIGTYPE_unsigned_int swig_types[107]  
1449 #define  SWIGTYPE_p_unsigned_int swig_types[108]  
1450 #define  SWIGTYPE_p_wxMenuEvent swig_types[109]  
1451 #define  SWIGTYPE_p_wxContextMenuEvent swig_types[110]  
1452 #define  SWIGTYPE_p_unsigned_char swig_types[111]  
1453 #define  SWIGTYPE_p_wxEraseEvent swig_types[112]  
1454 #define  SWIGTYPE_p_wxMouseEvent swig_types[113]  
1455 #define  SWIGTYPE_p_wxCloseEvent swig_types[114]  
1456 #define  SWIGTYPE_p_wxPyApp swig_types[115]  
1457 #define  SWIGTYPE_p_wxCommandEvent swig_types[116]  
1458 #define  SWIGTYPE_p_wxPyCommandEvent swig_types[117]  
1459 #define  SWIGTYPE_p_wxPyDropTarget swig_types[118]  
1460 #define  SWIGTYPE_p_wxQuantize swig_types[119]  
1461 #define  SWIGTYPE_p_wxChildFocusEvent swig_types[120]  
1462 #define  SWIGTYPE_p_wxFocusEvent swig_types[121]  
1463 #define  SWIGTYPE_p_wxDropFilesEvent swig_types[122]  
1464 #define  SWIGTYPE_p_wxControlWithItems swig_types[123]  
1465 #define  SWIGTYPE_p_wxColour swig_types[124]  
1466 #define  SWIGTYPE_p_wxValidator swig_types[125]  
1467 #define  SWIGTYPE_p_wxPyValidator swig_types[126]  
1468 static swig_type_info 
*swig_types
[128]; 
1470 /* -------- TYPES TABLE (END) -------- */ 
1473 /*----------------------------------------------- 
1474               @(target):= _core_.so 
1475   ------------------------------------------------*/ 
1476 #define SWIG_init    init_core_ 
1478 #define SWIG_name    "_core_" 
1480 #include "wx/wxPython/wxPython_int.h" 
1481 #include "wx/wxPython/pyclasses.h" 
1484 #ifndef wxPyUSE_EXPORT 
1485 // Helper functions for dealing with SWIG objects and such.  These are 
1486 // located here so they know about the SWIG types and functions declared 
1487 // in the wrapper code. 
1489 #include <wx/hashmap.h> 
1490 WX_DECLARE_STRING_HASH_MAP( swig_type_info
*, wxPyTypeInfoHashMap 
); 
1493 // Maintains a hashmap of className to swig_type_info pointers.  Given the 
1494 // name of a class either looks up the type info in the cache, or scans the 
1495 // SWIG tables for it. 
1496 extern PyObject
* wxPyPtrTypeMap
;  
1498 swig_type_info
* wxPyFindSwigType(const wxChar
* className
) { 
1500     static wxPyTypeInfoHashMap
* typeInfoCache 
= NULL
; 
1502     if (typeInfoCache 
== NULL
) 
1503         typeInfoCache 
= new wxPyTypeInfoHashMap
; 
1505     wxString 
name(className
); 
1506     swig_type_info
* swigType 
= (*typeInfoCache
)[name
]; 
1509         // it wasn't in the cache, so look it up from SWIG 
1510         name
.Append(wxT(" *")); 
1511         swigType 
= SWIG_TypeQuery(name
.mb_str()); 
1513         // if it still wasn't found, try looking for a mapped name 
1518             if ((item 
= PyDict_GetItemString(wxPyPtrTypeMap
, 
1519                                (char*)(const char*)name
.mbc_str())) != NULL
) { 
1520                 name 
= wxString(PyString_AsString(item
), *wxConvCurrent
); 
1521                 name
.Append(wxT(" *")); 
1522                 swigType 
= SWIG_TypeQuery(name
.mb_str()); 
1526             // and add it to the map if found 
1527             (*typeInfoCache
)[className
] = swigType
; 
1534 // Check if a class name is a type known to SWIG 
1535 bool wxPyCheckSwigType(const wxChar
* className
) { 
1537     swig_type_info
* swigType 
= wxPyFindSwigType(className
); 
1538     return swigType 
!= NULL
; 
1542 // Given a pointer to a C++ object and a class name, construct a Python proxy 
1544 PyObject
* wxPyConstructObject(void* ptr
, 
1545                               const wxChar
* className
, 
1548     swig_type_info
* swigType 
= wxPyFindSwigType(className
); 
1549     wxCHECK_MSG(swigType 
!= NULL
, NULL
, wxT("Unknown type in wxPyConstructObject")); 
1551     return SWIG_Python_NewPointerObj(ptr
, swigType
, setThisOwn
); 
1555 // Extract a pointer to the wrapped C++ object from a Python proxy object. 
1556 // Ensures that the proxy object is of the specified (or derived) type.  If 
1557 // not able to perform the conversion then a Python exception is set and the 
1558 // error should be handled properly in the caller.  Returns True on success. 
1559 bool wxPyConvertSwigPtr(PyObject
* obj
, void **ptr
, 
1560                         const wxChar
* className
) { 
1562     swig_type_info
* swigType 
= wxPyFindSwigType(className
); 
1563     wxCHECK_MSG(swigType 
!= NULL
, false, wxT("Unknown type in wxPyConvertSwigPtr")); 
1565     return SWIG_Python_ConvertPtr(obj
, ptr
, swigType
, SWIG_POINTER_EXCEPTION
) != -1; 
1569 // Make a SWIGified pointer object suitable for a .this attribute 
1570 PyObject
* wxPyMakeSwigPtr(void* ptr
, const wxChar
* className
) { 
1572     PyObject
* robj 
= NULL
; 
1574     swig_type_info
* swigType 
= wxPyFindSwigType(className
); 
1575     wxCHECK_MSG(swigType 
!= NULL
, NULL
, wxT("Unknown type in wxPyConvertSwigPtr")); 
1577 #ifdef SWIG_COBJECT_TYPES 
1578     robj 
= PySwigObject_FromVoidPtrAndDesc((void *) ptr
, (char *)swigType
->name
); 
1582         robj 
= SWIG_PackVoidPtr(result
, ptr
, swigType
->name
, sizeof(result
)) ? 
1583             PyString_FromString(result
) : 0; 
1593 // Export a C API in a struct.  Other modules will be able to load this from 
1594 // the wx._core_ module and will then have safe access to these functions, 
1595 // even if they are located in another shared library. 
1596 static wxPyCoreAPI API 
= { 
1599     wxPyConstructObject
, 
1603     wxPyBeginAllowThreads
, 
1604     wxPyEndAllowThreads
, 
1605     wxPyBeginBlockThreads
, 
1606     wxPyEndBlockThreads
, 
1618     wxPoint_LIST_helper
, 
1619     wxBitmap_LIST_helper
, 
1620     wxString_LIST_helper
, 
1621     wxAcceleratorEntry_LIST_helper
, 
1630     wxPySimple_typecheck
, 
1633     wxPyCBH_setCallbackInfo
, 
1634     wxPyCBH_findCallback
, 
1635     wxPyCBH_callCallback
, 
1636     wxPyCBH_callCallbackObj
, 
1642     wxPy2int_seq_helper
, 
1643     wxPy4int_seq_helper
, 
1644     wxArrayString2PyList_helper
, 
1645     wxArrayInt2PyList_helper
, 
1647     wxPyClientData_dtor
, 
1649     wxPyOORClientData_dtor
, 
1651     wxPyCBInputStream_create
, 
1652     wxPyCBInputStream_copy
, 
1655     wxPySwigInstance_Check
, 
1664 #if !WXWIN_COMPATIBILITY_2_4 
1665     #define wxHIDE_READONLY  0 
1669   /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/ 
1670 #define SWIG_From_int PyInt_FromLong 
1675 enum wxHotkeyModifier
 
1683 #define wxEVT_HOTKEY 9999 
1686  static const wxString 
wxPyEmptyString(wxEmptyString
);  
1687 static wxString 
wxObject_GetClassName(wxObject 
*self
){ 
1688             return self
->GetClassInfo()->GetClassName(); 
1690 static void wxObject_Destroy(wxObject 
*self
){ 
1695 #define wxCURSOR_COPY_ARROW wxCURSOR_ARROW 
1703   SWIG_CheckLongInRange(long value
, long min_value
, long max_value
, 
1706   if (value 
< min_value
) { 
1708       PyErr_Format(PyExc_OverflowError
,  
1709                    "value %ld is less than '%s' minimum %ld",  
1710                    value
, errmsg
, min_value
); 
1713   } else if (value 
> max_value
) { 
1715       PyErr_Format(PyExc_OverflowError
, 
1716                    "value %ld is greater than '%s' maximum %ld",  
1717                    value
, errmsg
, max_value
); 
1726 SWIG_AsVal_long(PyObject
* obj
, long* val
) 
1728     if (PyNumber_Check(obj
)) { 
1729         if (val
) *val 
= PyInt_AsLong(obj
); 
1733         SWIG_type_error("number", obj
); 
1739 #if INT_MAX != LONG_MAX 
1741   SWIG_AsVal_int(PyObject 
*obj
, int *val
) 
1743   const char* errmsg 
= val 
? "int" : (char*)0; 
1745   if (SWIG_AsVal_long(obj
, &v
)) { 
1746     if (SWIG_CheckLongInRange(v
, INT_MIN
,INT_MAX
, errmsg
)) { 
1747       if (val
) *val 
= (int)(v
); 
1756     SWIG_type_error(errmsg
, obj
); 
1762   SWIG_AsVal_int(PyObject 
*obj
, int *val
) 
1764   return SWIG_AsVal_long(obj
,(long*)val
); 
1770 SWIG_As_int(PyObject
* obj
) 
1773   if (!SWIG_AsVal_int(obj
, &v
)) { 
1775       this is needed to make valgrind/purify happier.  
1777     memset((void*)&v
, 0, sizeof(int)); 
1784 SWIG_Check_int(PyObject
* obj
) 
1786   return SWIG_AsVal_int(obj
, (int*)0); 
1789 static PyObject 
*wxSize_Get(wxSize 
*self
){ 
1790             wxPyBlock_t blocked 
= wxPyBeginBlockThreads(); 
1791             PyObject
* tup 
= PyTuple_New(2); 
1792             PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
)); 
1793             PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
)); 
1794             wxPyEndBlockThreads(blocked
); 
1799 SWIG_AsVal_double(PyObject 
*obj
, double* val
) 
1801     if (PyNumber_Check(obj
)) { 
1802         if (val
) *val 
= PyFloat_AsDouble(obj
); 
1806         SWIG_type_error("number", obj
); 
1812 SWIGINTERNSHORT 
double 
1813 SWIG_As_double(PyObject
* obj
) 
1816   if (!SWIG_AsVal_double(obj
, &v
)) { 
1818       this is needed to make valgrind/purify happier.  
1820     memset((void*)&v
, 0, sizeof(double)); 
1827 SWIG_Check_double(PyObject
* obj
) 
1829   return SWIG_AsVal_double(obj
, (double*)0); 
1833   /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/ 
1834 #define SWIG_From_double PyFloat_FromDouble 
1837 static void wxRealPoint_Set(wxRealPoint 
*self
,double x
,double y
){ 
1841 static PyObject 
*wxRealPoint_Get(wxRealPoint 
*self
){ 
1842             wxPyBlock_t blocked 
= wxPyBeginBlockThreads(); 
1843             PyObject
* tup 
= PyTuple_New(2); 
1844             PyTuple_SET_ITEM(tup
, 0, PyFloat_FromDouble(self
->x
)); 
1845             PyTuple_SET_ITEM(tup
, 1, PyFloat_FromDouble(self
->y
)); 
1846             wxPyEndBlockThreads(blocked
); 
1850 SWIGINTERNSHORT 
long 
1851 SWIG_As_long(PyObject
* obj
) 
1854   if (!SWIG_AsVal_long(obj
, &v
)) { 
1856       this is needed to make valgrind/purify happier.  
1858     memset((void*)&v
, 0, sizeof(long)); 
1865 SWIG_Check_long(PyObject
* obj
) 
1867   return SWIG_AsVal_long(obj
, (long*)0); 
1870 static void wxPoint_Set(wxPoint 
*self
,long x
,long y
){ 
1874 static PyObject 
*wxPoint_Get(wxPoint 
*self
){ 
1875             wxPyBlock_t blocked 
= wxPyBeginBlockThreads(); 
1876             PyObject
* tup 
= PyTuple_New(2); 
1877             PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
)); 
1878             PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
)); 
1879             wxPyEndBlockThreads(blocked
); 
1882 static void wxRect_Set(wxRect 
*self
,int x
=0,int y
=0,int width
=0,int height
=0){ 
1885             self
->width 
= width
; 
1886             self
->height 
= height
; 
1888 static PyObject 
*wxRect_Get(wxRect 
*self
){ 
1889             wxPyBlock_t blocked 
= wxPyBeginBlockThreads(); 
1890             PyObject
* tup 
= PyTuple_New(4); 
1891             PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
)); 
1892             PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
)); 
1893             PyTuple_SET_ITEM(tup
, 2, PyInt_FromLong(self
->width
)); 
1894             PyTuple_SET_ITEM(tup
, 3, PyInt_FromLong(self
->height
)); 
1895             wxPyEndBlockThreads(blocked
); 
1899     PyObject
* wxIntersectRect(wxRect
* r1
, wxRect
* r2
) { 
1902         wxRect    
dest(0,0,0,0); 
1905         reg1
.Intersect(reg2
); 
1906         dest 
= reg1
.GetBox(); 
1908         if (dest 
!= wxRect(0,0,0,0)) { 
1909             wxPyBlock_t blocked 
= wxPyBeginBlockThreads(); 
1910             wxRect
* newRect 
= new wxRect(dest
); 
1911             obj 
= wxPyConstructObject((void*)newRect
, wxT("wxRect"), true); 
1912             wxPyEndBlockThreads(blocked
); 
1920   static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) { 
1926     } else if (target 
== Py_None
) {   
1930         if (!PyTuple_Check(target
)) { 
1932             target 
= PyTuple_New(1); 
1933             PyTuple_SetItem(target
, 0, o2
); 
1935         o3 
= PyTuple_New(1);             
1936         PyTuple_SetItem(o3
, 0, o
);       
1939         target 
= PySequence_Concat(o2
, o3
);  
1947 static void wxPoint2D_Set(wxPoint2D 
*self
,double x
=0,double y
=0){ 
1951 static PyObject 
*wxPoint2D_Get(wxPoint2D 
*self
){ 
1952             wxPyBlock_t blocked 
= wxPyBeginBlockThreads(); 
1953             PyObject
* tup 
= PyTuple_New(2); 
1954             PyTuple_SET_ITEM(tup
, 0, PyFloat_FromDouble(self
->m_x
)); 
1955             PyTuple_SET_ITEM(tup
, 1, PyFloat_FromDouble(self
->m_y
)); 
1956             wxPyEndBlockThreads(blocked
); 
1960 #include "wx/wxPython/pyistream.h" 
1962 static wxPyInputStream 
*new_wxPyInputStream(PyObject 
*p
){ 
1963             wxInputStream
* wxis 
= wxPyCBInputStream::create(p
); 
1965                 return new wxPyInputStream(wxis
); 
1970 SWIGINTERNSHORT PyObject
* 
1971   SWIG_From_char(char c
)  
1973   return PyString_FromStringAndSize(&c
,1); 
1977 SWIGINTERNSHORT PyObject
*  
1978   SWIG_From_unsigned_SS_long(unsigned long value
) 
1980   return (value 
> LONG_MAX
) ? 
1981     PyLong_FromUnsignedLong(value
)  
1982     : PyInt_FromLong((long)(value
));  
1986 /* returns SWIG_OLDOBJ if the input is a raw char*, SWIG_PYSTR if is a PyString */ 
1988 SWIG_AsCharPtrAndSize(PyObject 
*obj
, char** cptr
, size_t* psize
) 
1990   static swig_type_info
* pchar_info 
= 0; 
1992   if (!pchar_info
) pchar_info 
= SWIG_TypeQuery("char *"); 
1993   if (SWIG_ConvertPtr(obj
, (void**)&vptr
, pchar_info
, 0) != -1) { 
1994     if (cptr
) *cptr 
= vptr
; 
1995     if (psize
) *psize 
= vptr 
? (strlen(vptr
) + 1) : 0; 
1999     if (PyString_Check(obj
)) { 
2001         *cptr 
= PyString_AS_STRING(obj
); 
2003           *psize 
= PyString_GET_SIZE(obj
) + 1; 
2010     SWIG_type_error("char *", obj
); 
2017 SWIG_AsCharArray(PyObject 
*obj
, char *val
, size_t size
) 
2019   char* cptr
; size_t csize
;   
2020   if (SWIG_AsCharPtrAndSize(obj
, &cptr
, &csize
)) { 
2023          char x[5] = "hello";  
2025         ie, assing the array using an extra '0' char. 
2027     if ((csize 
== size 
+ 1) && !(cptr
[csize
-1])) --csize
; 
2028     if (csize 
<= size
) { 
2030         if (csize
) memcpy(val
, cptr
, csize
); 
2031         if (csize 
< size
) memset(val 
+ csize
, 0, size 
- csize
); 
2037     PyErr_Format(PyExc_TypeError
, 
2038                  "a char array of maximum size %lu is expected",  
2039                  (unsigned long) size
); 
2046   SWIG_AsVal_char(PyObject 
*obj
, char *val
) 
2048   const char* errmsg 
= val 
? "char" : (char*)0; 
2050   if (SWIG_AsVal_long(obj
, &v
)) { 
2051     if (SWIG_CheckLongInRange(v
, CHAR_MIN
,CHAR_MAX
, errmsg
)) { 
2052       if (val
) *val 
= (char)(v
); 
2059     return SWIG_AsCharArray(obj
, val
, 1); 
2064 SWIGINTERNSHORT 
char 
2065 SWIG_As_char(PyObject
* obj
) 
2068   if (!SWIG_AsVal_char(obj
, &v
)) { 
2070       this is needed to make valgrind/purify happier.  
2072     memset((void*)&v
, 0, sizeof(char)); 
2079 SWIG_Check_char(PyObject
* obj
) 
2081   return SWIG_AsVal_char(obj
, (char*)0); 
2085   /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/ 
2086 #define SWIG_From_long PyInt_FromLong 
2089 static void wxOutputStream_write(wxOutputStream 
*self
,PyObject 
*obj
){ 
2090             // We use only strings for the streams, not unicode 
2091             PyObject
* str 
= PyObject_Str(obj
); 
2093                 PyErr_SetString(PyExc_TypeError
, "Unable to convert to string"); 
2096             self
->Write(PyString_AS_STRING(str
), 
2097                         PyString_GET_SIZE(str
)); 
2101 #include "wx/wxPython/pyistream.h" 
2104 class wxPyFileSystemHandler 
: public wxFileSystemHandler
 
2107     wxPyFileSystemHandler() : wxFileSystemHandler() {} 
2109     DEC_PYCALLBACK_BOOL_STRING_pure(CanOpen
); 
2110     DEC_PYCALLBACK_FSF_FSSTRING_pure(OpenFile
); 
2111     DEC_PYCALLBACK_STRING_STRINGINT_pure(FindFirst
); 
2112     DEC_PYCALLBACK_STRING__pure(FindNext
); 
2114     wxString 
GetProtocol(const wxString
& location
) { 
2115         return wxFileSystemHandler::GetProtocol(location
); 
2118     wxString 
GetLeftLocation(const wxString
& location
) { 
2119         return wxFileSystemHandler::GetLeftLocation(location
); 
2122     wxString 
GetAnchor(const wxString
& location
) { 
2123         return wxFileSystemHandler::GetAnchor(location
); 
2126     wxString 
GetRightLocation(const wxString
& location
) { 
2127         return wxFileSystemHandler::GetRightLocation(location
); 
2130     wxString 
GetMimeTypeFromExt(const wxString
& location
) { 
2131         return wxFileSystemHandler::GetMimeTypeFromExt(location
); 
2138 IMP_PYCALLBACK_BOOL_STRING_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, CanOpen
); 
2139 IMP_PYCALLBACK_FSF_FSSTRING_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, OpenFile
); 
2140 IMP_PYCALLBACK_STRING_STRINGINT_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, FindFirst
); 
2141 IMP_PYCALLBACK_STRING__pure(wxPyFileSystemHandler
, wxFileSystemHandler
, FindNext
); 
2145   SWIG_AsVal_bool(PyObject 
*obj
, bool *val
) 
2147   if (obj 
== Py_True
) { 
2148     if (val
) *val 
= true; 
2151   if (obj 
== Py_False
) { 
2152     if (val
) *val 
= false; 
2156   if (SWIG_AsVal_int(obj
, &res
)) {     
2157     if (val
) *val 
= res 
? true : false; 
2163     SWIG_type_error("bool", obj
); 
2169 SWIGINTERNSHORT 
bool 
2170 SWIG_As_bool(PyObject
* obj
) 
2173   if (!SWIG_AsVal_bool(obj
, &v
)) { 
2175       this is needed to make valgrind/purify happier.  
2177     memset((void*)&v
, 0, sizeof(bool)); 
2184 SWIG_Check_bool(PyObject
* obj
) 
2186   return SWIG_AsVal_bool(obj
, (bool*)0); 
2189 static wxString 
FileSystem_URLToFileName(wxString 
const &url
){ 
2190             wxFileName fname 
= wxFileSystem::URLToFileName(url
); 
2191             return fname
.GetFullPath(); 
2194     void __wxMemoryFSHandler_AddFile_wxImage(const wxString
& filename
, 
2197         wxMemoryFSHandler::AddFile(filename
, image
, type
); 
2200     void __wxMemoryFSHandler_AddFile_wxBitmap(const wxString
& filename
, 
2201                                               const wxBitmap
& bitmap
, 
2203         wxMemoryFSHandler::AddFile(filename
, bitmap
, type
); 
2206     void __wxMemoryFSHandler_AddFile_Data(const wxString
& filename
, 
2208         if (! PyString_Check(data
)) { 
2209             wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError
, 
2210                                               "Expected string object")); 
2214         wxPyBlock_t blocked 
= wxPyBeginBlockThreads(); 
2215         void*  ptr 
= (void*)PyString_AsString(data
); 
2216         size_t size 
= PyString_Size(data
); 
2217         wxPyEndBlockThreads(blocked
); 
2219         wxMemoryFSHandler::AddFile(filename
, ptr
, size
); 
2223 #include "wx/wxPython/pyistream.h" 
2227 SWIG_AsVal_unsigned_SS_long(PyObject
* obj
, unsigned long* val
) 
2230     if (SWIG_AsVal_long(obj
, &v
) && v 
< 0) { 
2231         SWIG_type_error("unsigned number", obj
); 
2234         *val 
= (unsigned long)v
; 
2240   SWIG_CheckUnsignedLongInRange(unsigned long value
, 
2241                                 unsigned long max_value
, 
2244   if (value 
> max_value
) { 
2246       PyErr_Format(PyExc_OverflowError
, 
2247                    "value %lu is greater than '%s' minimum %lu", 
2248                    value
, errmsg
, max_value
); 
2257   SWIG_AsVal_unsigned_SS_char(PyObject 
*obj
, unsigned char *val
) 
2259   const char* errmsg 
= val 
? "unsigned char" : (char*)0; 
2261   if (SWIG_AsVal_unsigned_SS_long(obj
, &v
)) { 
2262     if (SWIG_CheckUnsignedLongInRange(v
, UCHAR_MAX
,errmsg
)) { 
2263       if (val
) *val 
= (unsigned char)(v
); 
2272     SWIG_type_error(errmsg
, obj
); 
2278 SWIGINTERNSHORT 
unsigned char 
2279 SWIG_As_unsigned_SS_char(PyObject
* obj
) 
2282   if (!SWIG_AsVal_unsigned_SS_char(obj
, &v
)) { 
2284       this is needed to make valgrind/purify happier.  
2286     memset((void*)&v
, 0, sizeof(unsigned char)); 
2293 SWIG_Check_unsigned_SS_char(PyObject
* obj
) 
2295   return SWIG_AsVal_unsigned_SS_char(obj
, (unsigned char*)0); 
2299   /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/ 
2300 #define SWIG_From_unsigned_SS_char PyInt_FromLong 
2305 SWIGINTERNSHORT 
unsigned long 
2306 SWIG_As_unsigned_SS_long(PyObject
* obj
) 
2309   if (!SWIG_AsVal_unsigned_SS_long(obj
, &v
)) { 
2311       this is needed to make valgrind/purify happier.  
2313     memset((void*)&v
, 0, sizeof(unsigned long)); 
2320 SWIG_Check_unsigned_SS_long(PyObject
* obj
) 
2322   return SWIG_AsVal_unsigned_SS_long(obj
, (unsigned long*)0); 
2325 static unsigned long wxImageHistogram_GetCount(wxImageHistogram 
*self
,unsigned long key
){ 
2326             wxImageHistogramEntry e 
= (*self
)[key
]; 
2329 static unsigned long wxImageHistogram_GetCountRGB(wxImageHistogram 
*self
,unsigned char r
,unsigned char g
,unsigned char b
){ 
2330             unsigned long key 
= wxImageHistogram::MakeKey(r
, g
, b
); 
2331             wxImageHistogramEntry e 
= (*self
)[key
]; 
2334 static unsigned long wxImageHistogram_GetCountColour(wxImageHistogram 
*self
,wxColour 
const &colour
){ 
2335             unsigned long key 
= wxImageHistogram::MakeKey(colour
.Red(), 
2338             wxImageHistogramEntry e 
= (*self
)[key
]; 
2341 static wxImage 
*new_wxImage(int width
=0,int height
=0,bool clear
=true){ 
2342             if (width 
> 0 && height 
> 0) 
2343                 return new wxImage(width
, height
, clear
); 
2347 static wxImage 
*new_wxImage(wxBitmap 
const &bitmap
){ 
2348             return new wxImage(bitmap
.ConvertToImage()); 
2350 static wxImage 
*new_wxImage(int width
,int height
,unsigned char *data
){ 
2351             // Copy the source data so the wxImage can clean it up later 
2352             unsigned char* copy 
= (unsigned char*)malloc(width
*height
*3); 
2357             memcpy(copy
, data
, width
*height
*3); 
2358             return new wxImage(width
, height
, copy
, false); 
2360 static wxImage 
*new_wxImage(int width
,int height
,unsigned char *data
,unsigned char *alpha
){ 
2361             // Copy the source data so the wxImage can clean it up later 
2362             unsigned char* dcopy 
= (unsigned char*)malloc(width
*height
*3); 
2363             if (dcopy 
== NULL
) { 
2367             memcpy(dcopy
, data
, width
*height
*3); 
2368             unsigned char* acopy 
= (unsigned char*)malloc(width
*height
); 
2369             if (acopy 
== NULL
) { 
2373             memcpy(acopy
, alpha
, width
*height
); 
2375             return new wxImage(width
, height
, dcopy
, acopy
, false); 
2377 static wxSize 
wxImage_GetSize(wxImage 
*self
){ 
2378             wxSize 
size(self
->GetWidth(), self
->GetHeight()); 
2381 static PyObject 
*wxImage_GetData(wxImage 
*self
){ 
2382             unsigned char* data 
= self
->GetData(); 
2383             int len 
= self
->GetWidth() * self
->GetHeight() * 3; 
2385             wxPyBLOCK_THREADS( rv 
= PyString_FromStringAndSize((char*)data
, len
)); 
2388 static void wxImage_SetData(wxImage 
*self
,PyObject 
*data
){ 
2389             unsigned char* dataPtr
; 
2391             if (! PyString_Check(data
)) { 
2392                 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError
, 
2393                                                   "Expected string object")); 
2397             size_t len 
= self
->GetWidth() * self
->GetHeight() * 3; 
2398             dataPtr 
= (unsigned char*) malloc(len
); 
2399             wxPyBLOCK_THREADS( memcpy(dataPtr
, PyString_AsString(data
), len
) ); 
2400             self
->SetData(dataPtr
); 
2401             // wxImage takes ownership of dataPtr... 
2403 static PyObject 
*wxImage_GetDataBuffer(wxImage 
*self
){ 
2404             unsigned char* data 
= self
->GetData(); 
2405             int len 
= self
->GetWidth() * self
->GetHeight() * 3; 
2407             wxPyBLOCK_THREADS( rv 
= PyBuffer_FromReadWriteMemory(data
, len
) ); 
2410 static void wxImage_SetDataBuffer(wxImage 
*self
,PyObject 
*data
){ 
2411             unsigned char* buffer
; 
2414             wxPyBlock_t blocked 
= wxPyBeginBlockThreads(); 
2415             if (!PyArg_Parse(data
, "t#", &buffer
, &size
)) 
2418             if (size 
!= self
->GetWidth() * self
->GetHeight() * 3) { 
2419                 PyErr_SetString(PyExc_TypeError
, "Incorrect buffer size"); 
2422             self
->SetData(buffer
); 
2424             wxPyEndBlockThreads(blocked
); 
2426 static PyObject 
*wxImage_GetAlphaData(wxImage 
*self
){ 
2427             unsigned char* data 
= self
->GetAlpha(); 
2431                 int len 
= self
->GetWidth() * self
->GetHeight(); 
2433                 wxPyBLOCK_THREADS( rv 
= PyString_FromStringAndSize((char*)data
, len
) ); 
2437 static void wxImage_SetAlphaData(wxImage 
*self
,PyObject 
*data
){ 
2438             unsigned char* dataPtr
; 
2440             if (! PyString_Check(data
)) { 
2441                 PyErr_SetString(PyExc_TypeError
, "Expected string object"); 
2445             size_t len 
= self
->GetWidth() * self
->GetHeight(); 
2446             dataPtr 
= (unsigned char*) malloc(len
); 
2447             wxPyBLOCK_THREADS( memcpy(dataPtr
, PyString_AsString(data
), len
) ); 
2448             self
->SetAlpha(dataPtr
); 
2449             // wxImage takes ownership of dataPtr... 
2451 static PyObject 
*wxImage_GetAlphaBuffer(wxImage 
*self
){ 
2452             unsigned char* data 
= self
->GetAlpha(); 
2453             int len 
= self
->GetWidth() * self
->GetHeight(); 
2455             wxPyBLOCK_THREADS( rv 
= PyBuffer_FromReadWriteMemory(data
, len
) ); 
2458 static void wxImage_SetAlphaBuffer(wxImage 
*self
,PyObject 
*data
){ 
2459             unsigned char* buffer
; 
2462             wxPyBlock_t blocked 
= wxPyBeginBlockThreads(); 
2463             if (!PyArg_Parse(data
, "t#", &buffer
, &size
)) 
2466             if (size 
!= self
->GetWidth() * self
->GetHeight()) { 
2467                 PyErr_SetString(PyExc_TypeError
, "Incorrect buffer size"); 
2470             self
->SetAlpha(buffer
); 
2472             wxPyEndBlockThreads(blocked
); 
2474 static wxBitmap 
wxImage_ConvertToBitmap(wxImage 
*self
,int depth
=-1){ 
2475             wxBitmap 
bitmap(*self
, depth
); 
2478 static wxBitmap 
wxImage_ConvertToMonoBitmap(wxImage 
*self
,unsigned char red
,unsigned char green
,unsigned char blue
){ 
2479             wxImage mono 
= self
->ConvertToMono( red
, green
, blue 
); 
2480             wxBitmap 
bitmap( mono
, 1 ); 
2483  static const wxString 
wxPyIMAGE_OPTION_FILENAME(wxIMAGE_OPTION_FILENAME
);  
2484  static const wxString 
wxPyIMAGE_OPTION_BMP_FORMAT(wxIMAGE_OPTION_BMP_FORMAT
);  
2485  static const wxString 
wxPyIMAGE_OPTION_CUR_HOTSPOT_X(wxIMAGE_OPTION_CUR_HOTSPOT_X
);  
2486  static const wxString 
wxPyIMAGE_OPTION_CUR_HOTSPOT_Y(wxIMAGE_OPTION_CUR_HOTSPOT_Y
);  
2487  static const wxString 
wxPyIMAGE_OPTION_RESOLUTION(wxIMAGE_OPTION_RESOLUTION
);  
2488  static const wxString 
wxPyIMAGE_OPTION_RESOLUTIONX(wxIMAGE_OPTION_RESOLUTIONX
);  
2489  static const wxString 
wxPyIMAGE_OPTION_RESOLUTIONY(wxIMAGE_OPTION_RESOLUTIONY
);  
2490  static const wxString 
wxPyIMAGE_OPTION_RESOLUTIONUNIT(wxIMAGE_OPTION_RESOLUTIONUNIT
);  
2491  static const wxString 
wxPyIMAGE_OPTION_QUALITY(wxIMAGE_OPTION_QUALITY
);  
2492  static const wxString 
wxPyIMAGE_OPTION_BITSPERSAMPLE(wxIMAGE_OPTION_BITSPERSAMPLE
);  
2493  static const wxString 
wxPyIMAGE_OPTION_SAMPLESPERPIXEL(wxIMAGE_OPTION_SAMPLESPERPIXEL
);  
2494  static const wxString 
wxPyIMAGE_OPTION_COMPRESSION(wxIMAGE_OPTION_COMPRESSION
);  
2495  static const wxString 
wxPyIMAGE_OPTION_IMAGEDESCRIPTOR(wxIMAGE_OPTION_IMAGEDESCRIPTOR
);  
2496  static const wxString 
wxPyIMAGE_OPTION_PNG_FORMAT(wxIMAGE_OPTION_PNG_FORMAT
);  
2497  static const wxString 
wxPyIMAGE_OPTION_PNG_BITDEPTH(wxIMAGE_OPTION_PNG_BITDEPTH
);  
2499 #include <wx/quantize.h> 
2501 static bool Quantize_Quantize(wxImage 
const &src
,wxImage 
&dest
,int desiredNoColours
=236,int flags
=wxQUANTIZE_INCLUDE_WINDOWS_COLOURS
|wxQUANTIZE_FILL_DESTINATION_IMAGE
){ 
2502                 return wxQuantize::Quantize(src
, dest
,  
2505                                             NULL
, // eightBitData 
2508 static void wxEvtHandler_Connect(wxEvtHandler 
*self
,int id
,int lastId
,int eventType
,PyObject 
*func
){ 
2509             if (PyCallable_Check(func
)) { 
2510                 self
->Connect(id
, lastId
, eventType
, 
2511                           (wxObjectEventFunction
) &wxPyCallback::EventThunker
, 
2512                           new wxPyCallback(func
)); 
2514             else if (func 
== Py_None
) { 
2515                 self
->Disconnect(id
, lastId
, eventType
, 
2516                                  (wxObjectEventFunction
) 
2517                                  &wxPyCallback::EventThunker
); 
2521                     PyErr_SetString(PyExc_TypeError
, "Expected callable object or None.")); 
2524 static bool wxEvtHandler_Disconnect(wxEvtHandler 
*self
,int id
,int lastId
=-1,wxEventType eventType
=wxEVT_NULL
){ 
2525             return self
->Disconnect(id
, lastId
, eventType
, 
2526                                    (wxObjectEventFunction
) 
2527                                     &wxPyCallback::EventThunker
); 
2529 static void wxEvtHandler__setOORInfo(wxEvtHandler 
*self
,PyObject 
*_self
,bool incref
=true){ 
2530             if (_self 
&& _self 
!= Py_None
) { 
2531                 self
->SetClientObject(new wxPyOORClientData(_self
, incref
)); 
2534                 wxPyOORClientData
* data 
= (wxPyOORClientData
*)self
->GetClientObject(); 
2536                     self
->SetClientObject(NULL
);  // This will delete it too 
2541 static int wxKeyEvent_GetUnicodeKey(wxKeyEvent 
*self
){ 
2543             return self
->GetUnicodeKey(); 
2549 #if UINT_MAX < LONG_MAX 
2550 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/ 
2551 #define SWIG_From_unsigned_SS_int SWIG_From_long 
2554 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/ 
2555 #define SWIG_From_unsigned_SS_int SWIG_From_unsigned_SS_long 
2560 #if UINT_MAX != ULONG_MAX 
2562   SWIG_AsVal_unsigned_SS_int(PyObject 
*obj
, unsigned int *val
) 
2564   const char* errmsg 
= val 
? "unsigned int" : (char*)0; 
2566   if (SWIG_AsVal_unsigned_SS_long(obj
, &v
)) { 
2567     if (SWIG_CheckUnsignedLongInRange(v
, INT_MAX
, errmsg
)) { 
2568       if (val
) *val 
= (unsigned int)(v
); 
2575     SWIG_type_error(errmsg
, obj
); 
2580 SWIGINTERNSHORT 
unsigned int 
2581   SWIG_AsVal_unsigned_SS_int(PyObject 
*obj
, unsigned int *val
) 
2583   return SWIG_AsVal_unsigned_SS_long(obj
,(unsigned long *)val
); 
2588 SWIGINTERNSHORT 
unsigned int 
2589 SWIG_As_unsigned_SS_int(PyObject
* obj
) 
2592   if (!SWIG_AsVal_unsigned_SS_int(obj
, &v
)) { 
2594       this is needed to make valgrind/purify happier.  
2596     memset((void*)&v
, 0, sizeof(unsigned int)); 
2603 SWIG_Check_unsigned_SS_int(PyObject
* obj
) 
2605   return SWIG_AsVal_unsigned_SS_int(obj
, (unsigned int*)0); 
2608 static void wxSizeEvent_SetSize(wxSizeEvent 
*self
,wxSize size
){ 
2609             self
->m_size 
= size
; 
2611 static PyObject 
*wxDropFilesEvent_GetFiles(wxDropFilesEvent 
*self
){ 
2612             int         count 
= self
->GetNumberOfFiles(); 
2613             wxString
*   files 
= self
->GetFiles(); 
2614             PyObject
*   list  
= PyList_New(count
); 
2617                 PyErr_SetString(PyExc_MemoryError
, "Can't allocate list of files!"); 
2621             for (int i
=0; i
<count
; i
++) { 
2622                 PyList_SetItem(list
, i
, wx2PyString(files
[i
])); 
2628 static wxPyApp 
*new_wxPyApp(){ 
2629             wxPythonApp 
= new wxPyApp(); 
2632 static int PyApp_GetComCtl32Version(){ wxPyRaiseNotImplemented(); return 0; } 
2634     void wxApp_CleanUp() { 
2639     wxPyApp
* wxPyGetApp() { return (wxPyApp
*)wxTheApp
; } 
2643 SWIG_AsCharPtr(PyObject 
*obj
, char **val
) 
2645   if (SWIG_AsCharPtrAndSize(obj
, val
, (size_t*)(0))) { 
2650     SWIG_type_error("char *", obj
); 
2656 SWIGINTERN PyObject 
* 
2657 SWIG_FromCharPtr(const char* cptr
) 
2660     size_t size 
= strlen(cptr
); 
2661     if (size 
> INT_MAX
) { 
2662       return SWIG_NewPointerObj((char*)(cptr
),  
2663                                 SWIG_TypeQuery("char *"), 0); 
2666         return PyString_FromStringAndSize(cptr
, size
); 
2668         return PyString_FromString(cptr
); 
2679 // A dummy class that raises an exception if used...     
2683     wxEventLoop() { wxPyRaiseNotImplemented(); } 
2684     int Run() { return 0; } 
2685     void Exit(int rc 
= 0) {} 
2686     bool Pending() const { return false; } 
2687     bool Dispatch() { return false; } 
2688     bool IsRunning() const { return false; } 
2689     static wxEventLoop 
*GetActive() { wxPyRaiseNotImplemented(); return NULL
; } 
2690     static void SetActive(wxEventLoop
* loop
) { wxPyRaiseNotImplemented(); } 
2695 #include <wx/evtloop.h> 
2701  static const wxString 
wxPyPanelNameStr(wxPanelNameStr
);  
2702 static wxVisualAttributes 
*new_wxVisualAttributes(){ return new wxVisualAttributes
; } 
2703 static void delete_wxVisualAttributes(wxVisualAttributes 
*self
){ delete self
; } 
2704 static PyObject 
*wxWindow_GetChildren(wxWindow 
*self
){ 
2705             wxWindowList
& list 
= self
->GetChildren(); 
2706             return wxPy_ConvertList(&list
); 
2708 static bool wxWindow_RegisterHotKey(wxWindow 
*self
,int hotkeyId
,int modifiers
,int keycode
){ 
2710             return self
->RegisterHotKey(hotkeyId
, modifiers
, keycode
); 
2715 static bool wxWindow_UnregisterHotKey(wxWindow 
*self
,int hotkeyId
){ 
2722 static long wxWindow_GetHandle(wxWindow 
*self
){ 
2723             return wxPyGetWinHandle(self
); 
2725 static void wxWindow_AssociateHandle(wxWindow 
*self
,long handle
){ 
2726             self
->AssociateHandle((WXWidget
)handle
); 
2729 wxWindow
* wxFindWindowById( long id
, const wxWindow 
*parent 
= NULL 
) { 
2730     return wxWindow::FindWindowById(id
, parent
); 
2733 wxWindow
* wxFindWindowByName( const wxString
& name
, 
2734                               const wxWindow 
*parent 
= NULL 
) { 
2735      return wxWindow::FindWindowByName(name
, parent
); 
2738 wxWindow
* wxFindWindowByLabel( const wxString
& label
, 
2739                                const wxWindow 
*parent 
= NULL 
) { 
2740     return wxWindow::FindWindowByLabel(label
, parent
); 
2745 #include <wx/msw/private.h>  // to get wxGetWindowId 
2749     wxWindow
* wxWindow_FromHWND(wxWindow
* parent
, unsigned long _hWnd
) { 
2751         WXHWND hWnd 
= (WXHWND
)_hWnd
; 
2752         long id 
= wxGetWindowId(hWnd
); 
2753         wxWindow
* win 
= new wxWindow
; 
2754         parent
->AddChild(win
); 
2755         win
->SetEventHandler(win
); 
2758         win
->SubclassWin(hWnd
); 
2759         win
->AdoptAttributesFromHWND(); 
2760         win
->SetupColours(); 
2763         wxPyRaiseNotImplemented(); 
2769 IMP_PYCALLBACK_BOOL_WXWIN(wxPyValidator
, wxValidator
, Validate
); 
2770 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferToWindow
); 
2771 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferFromWindow
); 
2773 IMPLEMENT_DYNAMIC_CLASS(wxPyValidator
, wxValidator
); 
2775 static void wxMenu_Destroy(wxMenu 
*self
){ delete self
; } 
2776 static PyObject 
*wxMenu_GetMenuItems(wxMenu 
*self
){ 
2777             wxMenuItemList
& list 
= self
->GetMenuItems(); 
2778             return wxPy_ConvertList(&list
); 
2780 static void wxMenuItem_SetFont(wxMenuItem 
*self
,wxFont 
const &font
){} 
2781 static wxFont 
wxMenuItem_GetFont(wxMenuItem 
*self
){ return wxNullFont
; } 
2782 static void wxMenuItem_SetTextColour(wxMenuItem 
*self
,wxColour 
const &colText
){} 
2783 static wxColour 
wxMenuItem_GetTextColour(wxMenuItem 
*self
){ return wxNullColour
; } 
2784 static void wxMenuItem_SetBackgroundColour(wxMenuItem 
*self
,wxColour 
const &colBack
){} 
2785 static wxColour 
wxMenuItem_GetBackgroundColour(wxMenuItem 
*self
){ return wxNullColour
; } 
2786 static void wxMenuItem_SetBitmaps(wxMenuItem 
*self
,wxBitmap 
const &bmpChecked
,wxBitmap 
const &bmpUnchecked
=wxNullBitmap
){} 
2787 static void wxMenuItem_SetDisabledBitmap(wxMenuItem 
*self
,wxBitmap 
const &bmpDisabled
){} 
2788 static wxBitmap 
const &wxMenuItem_GetDisabledBitmap(wxMenuItem 
const *self
){ return wxNullBitmap
; } 
2789 static void wxMenuItem_SetMarginWidth(wxMenuItem 
*self
,int nWidth
){} 
2790 static int wxMenuItem_GetMarginWidth(wxMenuItem 
*self
){ return 0; } 
2791 static int MenuItem_GetDefaultMarginWidth(){ return 0; } 
2792 static bool wxMenuItem_IsOwnerDrawn(wxMenuItem 
*self
){ return false; } 
2793 static void wxMenuItem_SetOwnerDrawn(wxMenuItem 
*self
,bool ownerDrawn
=true){} 
2794 static void wxMenuItem_ResetOwnerDrawn(wxMenuItem 
*self
){} 
2795  static const wxString 
wxPyControlNameStr(wxControlNameStr
);  
2796 static int wxItemContainer_Append(wxItemContainer 
*self
,wxString 
const &item
,PyObject 
*clientData
=NULL
){ 
2798                 wxPyClientData
* data 
= new wxPyClientData(clientData
); 
2799                 return self
->Append(item
, data
); 
2801                 return self
->Append(item
); 
2803 static int wxItemContainer_Insert(wxItemContainer 
*self
,wxString 
const &item
,int pos
,PyObject 
*clientData
=NULL
){ 
2805                 wxPyClientData
* data 
= new wxPyClientData(clientData
); 
2806                 return self
->Insert(item
, pos
, data
); 
2808                 return self
->Insert(item
, pos
); 
2810 static PyObject 
*wxItemContainer_GetClientData(wxItemContainer 
*self
,int n
){ 
2811             wxPyClientData
* data 
= (wxPyClientData
*)self
->GetClientObject(n
); 
2813                 Py_INCREF(data
->m_obj
); 
2820 static void wxItemContainer_SetClientData(wxItemContainer 
*self
,int n
,PyObject 
*clientData
){ 
2821             wxPyClientData
* data 
= new wxPyClientData(clientData
); 
2822             self
->SetClientObject(n
, data
); 
2826 static wxSizerItem 
*new_wxSizerItem(wxWindow 
*window
,int proportion
,int flag
,int border
,PyObject 
*userData
=NULL
){ 
2827             wxPyUserData
* data 
= NULL
; 
2829                 wxPyBlock_t blocked 
= wxPyBeginBlockThreads(); 
2830                 data 
= new wxPyUserData(userData
); 
2831                 wxPyEndBlockThreads(blocked
); 
2833             return new wxSizerItem(window
, proportion
, flag
, border
, data
); 
2835 static wxSizerItem 
*new_wxSizerItem(int width
,int height
,int proportion
,int flag
,int border
,PyObject 
*userData
=NULL
){ 
2836             wxPyUserData
* data 
= NULL
; 
2838                 wxPyBlock_t blocked 
= wxPyBeginBlockThreads(); 
2839                 data 
= new wxPyUserData(userData
); 
2840                 wxPyEndBlockThreads(blocked
); 
2842             return new wxSizerItem(width
, height
, proportion
, flag
, border
, data
); 
2844 static wxSizerItem 
*new_wxSizerItem(wxSizer 
*sizer
,int proportion
,int flag
,int border
,PyObject 
*userData
=NULL
){ 
2845             wxPyUserData
* data 
= NULL
; 
2847                 wxPyBlock_t blocked 
= wxPyBeginBlockThreads(); 
2848                 data 
= new wxPyUserData(userData
); 
2849                 wxPyEndBlockThreads(blocked
); 
2851             return new wxSizerItem(sizer
, proportion
, flag
, border
, data
); 
2856   SWIG_CheckDoubleInRange(double value
, double min_value
,  
2857                           double max_value
, const char* errmsg
) 
2859   if (value 
< min_value
) { 
2861       PyErr_Format(PyExc_OverflowError
,  
2862                    "value %g is less than %s minimum %g",  
2863                    value
, errmsg
, min_value
); 
2866   } else if (value 
> max_value
) { 
2868       PyErr_Format(PyExc_OverflowError
,  
2869                    "value %g is greater than %s maximum %g",  
2870                    value
, errmsg
, max_value
); 
2879   SWIG_AsVal_float(PyObject 
*obj
, float *val
) 
2881   const char* errmsg 
= val 
? "float" : (char*)0; 
2883   if (SWIG_AsVal_double(obj
, &v
)) { 
2884     if (SWIG_CheckDoubleInRange(v
, -FLT_MAX
, FLT_MAX
, errmsg
)) { 
2885       if (val
) *val 
= (float)(v
); 
2894     SWIG_type_error(errmsg
, obj
); 
2900 SWIGINTERNSHORT 
float 
2901 SWIG_As_float(PyObject
* obj
) 
2904   if (!SWIG_AsVal_float(obj
, &v
)) { 
2906       this is needed to make valgrind/purify happier.  
2908     memset((void*)&v
, 0, sizeof(float)); 
2915 SWIG_Check_float(PyObject
* obj
) 
2917   return SWIG_AsVal_float(obj
, (float*)0); 
2921   /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/ 
2922 #define SWIG_From_float PyFloat_FromDouble 
2925 static PyObject 
*wxSizerItem_GetUserData(wxSizerItem 
*self
){ 
2926             wxPyUserData
* data 
= (wxPyUserData
*)self
->GetUserData(); 
2928                 Py_INCREF(data
->m_obj
); 
2936 // Figure out the type of the sizer item 
2938 struct wxPySizerItemInfo 
{ 
2940         : window(NULL
), sizer(NULL
), gotSize(false), 
2941           size(wxDefaultSize
), gotPos(false), pos(-1) 
2952 static wxPySizerItemInfo 
wxPySizerItemTypeHelper(PyObject
* item
, bool checkSize
, bool checkIdx 
) { 
2954     wxPySizerItemInfo info
; 
2956     wxSize
* sizePtr 
= &size
; 
2958     // Find out what the type of the item is 
2960     if ( ! wxPyConvertSwigPtr(item
, (void**)&info
.window
, wxT("wxWindow")) ) { 
2965         if ( ! wxPyConvertSwigPtr(item
, (void**)&info
.sizer
, wxT("wxSizer")) ) { 
2969             // try wxSize or (w,h) 
2970             if ( checkSize 
&& wxSize_helper(item
, &sizePtr
)) { 
2971                 info
.size 
= *sizePtr
; 
2972                 info
.gotSize 
= true; 
2976             if (checkIdx 
&& PyInt_Check(item
)) { 
2977                 info
.pos 
= PyInt_AsLong(item
); 
2983     if ( !(info
.window 
|| info
.sizer 
|| (checkSize 
&& info
.gotSize
) || (checkIdx 
&& info
.gotPos
)) ) { 
2984         // no expected type, figure out what kind of error message to generate 
2985         if ( !checkSize 
&& !checkIdx 
) 
2986             PyErr_SetString(PyExc_TypeError
, "wxWindow or wxSizer expected for item"); 
2987         else if ( checkSize 
&& !checkIdx 
) 
2988             PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer, wxSize, or (w,h) expected for item"); 
2989         else if ( !checkSize 
&& checkIdx
) 
2990             PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer or int (position) expected for item"); 
2992             // can this one happen? 
2993             PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer, wxSize, or (w,h) or int (position) expected for item"); 
2999 static void wxSizer__setOORInfo(wxSizer 
*self
,PyObject 
*_self
){ 
3000             if (!self
->GetClientObject()) 
3001                 self
->SetClientObject(new wxPyOORClientData(_self
)); 
3003 static wxSizerItem 
*wxSizer_Add(wxSizer 
*self
,PyObject 
*item
,int proportion
=0,int flag
=0,int border
=0,PyObject 
*userData
=NULL
){ 
3005             wxPyUserData
* data 
= NULL
; 
3006             wxPyBlock_t blocked 
= wxPyBeginBlockThreads(); 
3007             wxPySizerItemInfo info 
= wxPySizerItemTypeHelper(item
, true, false); 
3008             if ( userData 
&& (info
.window 
|| info
.sizer 
|| info
.gotSize
) ) 
3009                 data 
= new wxPyUserData(userData
); 
3010             wxPyEndBlockThreads(blocked
); 
3012             // Now call the real Add method if a valid item type was found 
3014                 return self
->Add(info
.window
, proportion
, flag
, border
, data
); 
3015             else if ( info
.sizer 
) 
3016                 return self
->Add(info
.sizer
, proportion
, flag
, border
, data
); 
3017             else if (info
.gotSize
) 
3018                 return self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(), 
3019                                  proportion
, flag
, border
, data
); 
3023 static wxSizerItem 
*wxSizer_Insert(wxSizer 
*self
,int before
,PyObject 
*item
,int proportion
=0,int flag
=0,int border
=0,PyObject 
*userData
=NULL
){ 
3025             wxPyUserData
* data 
= NULL
; 
3026             wxPyBlock_t blocked 
= wxPyBeginBlockThreads(); 
3027             wxPySizerItemInfo info 
= wxPySizerItemTypeHelper(item
, true, false); 
3028             if ( userData 
&& (info
.window 
|| info
.sizer 
|| info
.gotSize
) ) 
3029                 data 
= new wxPyUserData(userData
); 
3030             wxPyEndBlockThreads(blocked
); 
3032             // Now call the real Insert method if a valid item type was found 
3034                 return self
->Insert(before
, info
.window
, proportion
, flag
, border
, data
); 
3035             else if ( info
.sizer 
) 
3036                 return self
->Insert(before
, info
.sizer
, proportion
, flag
, border
, data
); 
3037             else if (info
.gotSize
) 
3038                 return self
->Insert(before
, info
.size
.GetWidth(), info
.size
.GetHeight(), 
3039                                     proportion
, flag
, border
, data
); 
3043 static wxSizerItem 
*wxSizer_Prepend(wxSizer 
*self
,PyObject 
*item
,int proportion
=0,int flag
=0,int border
=0,PyObject 
*userData
=NULL
){ 
3045             wxPyUserData
* data 
= NULL
; 
3046             wxPyBlock_t blocked 
= wxPyBeginBlockThreads(); 
3047             wxPySizerItemInfo info 
= wxPySizerItemTypeHelper(item
, true, false); 
3048             if ( userData 
&& (info
.window 
|| info
.sizer 
|| info
.gotSize
) ) 
3049                 data 
= new wxPyUserData(userData
); 
3050             wxPyEndBlockThreads(blocked
); 
3052             // Now call the real Prepend method if a valid item type was found 
3054                 return self
->Prepend(info
.window
, proportion
, flag
, border
, data
); 
3055             else if ( info
.sizer 
) 
3056                 return self
->Prepend(info
.sizer
, proportion
, flag
, border
, data
); 
3057             else if (info
.gotSize
) 
3058                 return self
->Prepend(info
.size
.GetWidth(), info
.size
.GetHeight(), 
3059                                      proportion
, flag
, border
, data
); 
3063 static bool wxSizer_Remove(wxSizer 
*self
,PyObject 
*item
){ 
3064             wxPyBlock_t blocked 
= wxPyBeginBlockThreads(); 
3065             wxPySizerItemInfo info 
= wxPySizerItemTypeHelper(item
, false, true); 
3066             wxPyEndBlockThreads(blocked
); 
3068                 return self
->Remove(info
.window
); 
3069             else if ( info
.sizer 
) 
3070                 return self
->Remove(info
.sizer
); 
3071             else if ( info
.gotPos 
) 
3072                 return self
->Remove(info
.pos
); 
3076 static bool wxSizer_Detach(wxSizer 
*self
,PyObject 
*item
){ 
3077             wxPyBlock_t blocked 
= wxPyBeginBlockThreads(); 
3078             wxPySizerItemInfo info 
= wxPySizerItemTypeHelper(item
, false, true); 
3079             wxPyEndBlockThreads(blocked
); 
3081                 return self
->Detach(info
.window
); 
3082             else if ( info
.sizer 
) 
3083                 return self
->Detach(info
.sizer
); 
3084             else if ( info
.gotPos 
) 
3085                 return self
->Detach(info
.pos
); 
3089 static wxSizerItem 
*wxSizer_GetItem(wxSizer 
*self
,PyObject 
*item
){ 
3090             wxPyBlock_t blocked 
= wxPyBeginBlockThreads(); 
3091             wxPySizerItemInfo info 
= wxPySizerItemTypeHelper(item
, false, true); 
3092             wxPyEndBlockThreads(blocked
); 
3094                 return self
->GetItem(info
.window
); 
3095             else if ( info
.sizer 
) 
3096                 return self
->GetItem(info
.sizer
); 
3097             else if ( info
.gotPos 
) 
3098                 return self
->GetItem(info
.pos
); 
3102 static void wxSizer__SetItemMinSize(wxSizer 
*self
,PyObject 
*item
,wxSize 
const &size
){ 
3103             wxPyBlock_t blocked 
= wxPyBeginBlockThreads(); 
3104             wxPySizerItemInfo info 
= wxPySizerItemTypeHelper(item
, false, true); 
3105             wxPyEndBlockThreads(blocked
); 
3107                 self
->SetItemMinSize(info
.window
, size
); 
3108             else if ( info
.sizer 
) 
3109                 self
->SetItemMinSize(info
.sizer
, size
); 
3110             else if ( info
.gotPos 
) 
3111                 self
->SetItemMinSize(info
.pos
, size
); 
3113 static PyObject 
*wxSizer_GetChildren(wxSizer 
*self
){ 
3114             wxSizerItemList
& list 
= self
->GetChildren(); 
3115             return wxPy_ConvertList(&list
); 
3117 static bool wxSizer_Show(wxSizer 
*self
,PyObject 
*item
,bool show
=true,bool recursive
=false){ 
3118             wxPyBlock_t blocked 
= wxPyBeginBlockThreads(); 
3119             wxPySizerItemInfo info 
= wxPySizerItemTypeHelper(item
, false, true); 
3120             wxPyEndBlockThreads(blocked
); 
3122                 return self
->Show(info
.window
, show
, recursive
); 
3123             else if ( info
.sizer 
) 
3124                 return self
->Show(info
.sizer
, show
, recursive
); 
3125             else if ( info
.gotPos 
) 
3126                 return self
->Show(info
.pos
, show
); 
3130 static bool wxSizer_IsShown(wxSizer 
*self
,PyObject 
*item
){ 
3131             wxPyBlock_t blocked 
= wxPyBeginBlockThreads(); 
3132             wxPySizerItemInfo info 
= wxPySizerItemTypeHelper(item
, false, false); 
3133             wxPyEndBlockThreads(blocked
); 
3135                 return self
->IsShown(info
.window
); 
3136             else if ( info
.sizer 
) 
3137                 return self
->IsShown(info
.sizer
); 
3138             else if ( info
.gotPos 
) 
3139                 return self
->IsShown(info
.pos
); 
3145 IMP_PYCALLBACK___pure(wxPySizer
, wxSizer
, RecalcSizes
); 
3146 IMP_PYCALLBACK_wxSize__pure(wxPySizer
, wxSizer
, CalcMin
); 
3147 IMPLEMENT_DYNAMIC_CLASS(wxPySizer
, wxSizer
); 
3152 bool wxGBPosition_helper(PyObject
* source
, wxGBPosition
** obj
) 
3154     if (source 
== Py_None
) { 
3155         **obj 
= wxGBPosition(-1,-1); 
3158     return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBPosition")); 
3161 bool wxGBSpan_helper(PyObject
* source
, wxGBSpan
** obj
) 
3163     if (source 
== Py_None
) { 
3164         **obj 
= wxGBSpan(-1,-1); 
3167     return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBSpan")); 
3171 static void wxGBPosition_Set(wxGBPosition 
*self
,int row
=0,int col
=0){ 
3175 static PyObject 
*wxGBPosition_Get(wxGBPosition 
*self
){ 
3176             wxPyBlock_t blocked 
= wxPyBeginBlockThreads(); 
3177             PyObject
* tup 
= PyTuple_New(2); 
3178             PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRow())); 
3179             PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetCol())); 
3180             wxPyEndBlockThreads(blocked
); 
3183 static void wxGBSpan_Set(wxGBSpan 
*self
,int rowspan
=1,int colspan
=1){ 
3184             self
->SetRowspan(rowspan
); 
3185             self
->SetColspan(colspan
); 
3187 static PyObject 
*wxGBSpan_Get(wxGBSpan 
*self
){ 
3188             wxPyBlock_t blocked 
= wxPyBeginBlockThreads(); 
3189             PyObject
* tup 
= PyTuple_New(2); 
3190             PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRowspan())); 
3191             PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetColspan())); 
3192             wxPyEndBlockThreads(blocked
); 
3195 static wxGBSizerItem 
*new_wxGBSizerItem(wxWindow 
*window
,wxGBPosition 
const &pos
,wxGBSpan 
const &span
,int flag
,int border
,PyObject 
*userData
=NULL
){ 
3196                 wxPyUserData
* data 
= NULL
; 
3198                     wxPyBlock_t blocked 
= wxPyBeginBlockThreads(); 
3199                     data 
= new wxPyUserData(userData
); 
3200                     wxPyEndBlockThreads(blocked
); 
3202                 return new wxGBSizerItem(window
, pos
, span
, flag
, border
, data
); 
3204 static wxGBSizerItem 
*new_wxGBSizerItem(wxSizer 
*sizer
,wxGBPosition 
const &pos
,wxGBSpan 
const &span
,int flag
,int border
,PyObject 
*userData
=NULL
){ 
3205                 wxPyUserData
* data 
= NULL
; 
3207                     wxPyBlock_t blocked 
= wxPyBeginBlockThreads(); 
3208                     data 
= new wxPyUserData(userData
); 
3209                     wxPyEndBlockThreads(blocked
); 
3211                 return new wxGBSizerItem(sizer
, pos
, span
, flag
, border
, data
); 
3213 static wxGBSizerItem 
*new_wxGBSizerItem(int width
,int height
,wxGBPosition 
const &pos
,wxGBSpan 
const &span
,int flag
,int border
,PyObject 
*userData
=NULL
){ 
3214                 wxPyUserData
* data 
= NULL
; 
3216                     wxPyBlock_t blocked 
= wxPyBeginBlockThreads(); 
3217                     data 
= new wxPyUserData(userData
); 
3218                     wxPyEndBlockThreads(blocked
); 
3220                 return new wxGBSizerItem(width
, height
, pos
, span
, flag
, border
, data
); 
3222 static wxGBPosition 
wxGBSizerItem_GetEndPos(wxGBSizerItem 
*self
){ 
3224             self
->GetEndPos(row
, col
); 
3225             return wxGBPosition(row
, col
); 
3227 static wxGBSizerItem 
*wxGridBagSizer_Add(wxGridBagSizer 
*self
,PyObject 
*item
,wxGBPosition 
const &pos
,wxGBSpan 
const &span
=wxDefaultSpan
,int flag
=0,int border
=0,PyObject 
*userData
=NULL
){ 
3229             wxPyUserData
* data 
= NULL
; 
3230             wxPyBlock_t blocked 
= wxPyBeginBlockThreads(); 
3231             wxPySizerItemInfo info 
= wxPySizerItemTypeHelper(item
, true, false); 
3232             if ( userData 
&& (info
.window 
|| info
.sizer 
|| info
.gotSize
) ) 
3233                 data 
= new wxPyUserData(userData
); 
3234             wxPyEndBlockThreads(blocked
); 
3236             // Now call the real Add method if a valid item type was found 
3238                 return (wxGBSizerItem
*)self
->Add(info
.window
, pos
, span
, flag
, border
, data
); 
3239             else if ( info
.sizer 
) 
3240                 return (wxGBSizerItem
*)self
->Add(info
.sizer
, pos
, span
, flag
, border
, data
); 
3241             else if (info
.gotSize
) 
3242                 return (wxGBSizerItem
*)self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(), 
3243                                                  pos
, span
, flag
, border
, data
); 
3251 static int _wrap_EmptyString_set(PyObject 
*) { 
3252     PyErr_SetString(PyExc_TypeError
,"Variable EmptyString is read-only."); 
3257 static PyObject 
*_wrap_EmptyString_get(void) { 
3262         pyobj 
= PyUnicode_FromWideChar((&wxPyEmptyString
)->c_str(), (&wxPyEmptyString
)->Len()); 
3264         pyobj 
= PyString_FromStringAndSize((&wxPyEmptyString
)->c_str(), (&wxPyEmptyString
)->Len()); 
3271 static PyObject 
*_wrap_Object_GetClassName(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3272     PyObject 
*resultobj
; 
3273     wxObject 
*arg1 
= (wxObject 
*) 0 ; 
3275     PyObject 
* obj0 
= 0 ; 
3277         (char *) "self", NULL 
 
3280     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Object_GetClassName",kwnames
,&obj0
)) goto fail
; 
3281     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxObject
, SWIG_POINTER_EXCEPTION 
| 0); 
3282     if (SWIG_arg_fail(1)) SWIG_fail
; 
3284         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3285         result 
= wxObject_GetClassName(arg1
); 
3287         wxPyEndAllowThreads(__tstate
); 
3288         if (PyErr_Occurred()) SWIG_fail
; 
3292         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
3294         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
3303 static PyObject 
*_wrap_Object_Destroy(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3304     PyObject 
*resultobj
; 
3305     wxObject 
*arg1 
= (wxObject 
*) 0 ; 
3306     PyObject 
* obj0 
= 0 ; 
3308         (char *) "self", NULL 
 
3311     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Object_Destroy",kwnames
,&obj0
)) goto fail
; 
3312     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxObject
, SWIG_POINTER_EXCEPTION 
| 0); 
3313     if (SWIG_arg_fail(1)) SWIG_fail
; 
3315         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3316         wxObject_Destroy(arg1
); 
3318         wxPyEndAllowThreads(__tstate
); 
3319         if (PyErr_Occurred()) SWIG_fail
; 
3321     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
3328 static PyObject 
* Object_swigregister(PyObject 
*, PyObject 
*args
) { 
3330     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
3331     SWIG_TypeClientData(SWIGTYPE_p_wxObject
, obj
); 
3333     return Py_BuildValue((char *)""); 
3335 static PyObject 
*_wrap_Size_width_set(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3336     PyObject 
*resultobj
; 
3337     wxSize 
*arg1 
= (wxSize 
*) 0 ; 
3339     PyObject 
* obj0 
= 0 ; 
3340     PyObject 
* obj1 
= 0 ; 
3342         (char *) "self",(char *) "x", NULL 
 
3345     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_width_set",kwnames
,&obj0
,&obj1
)) goto fail
; 
3346     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION 
| 0); 
3347     if (SWIG_arg_fail(1)) SWIG_fail
; 
3349         arg2 
= (int)(SWIG_As_int(obj1
));  
3350         if (SWIG_arg_fail(2)) SWIG_fail
; 
3352     if (arg1
) (arg1
)->x 
= arg2
; 
3354     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
3361 static PyObject 
*_wrap_Size_width_get(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3362     PyObject 
*resultobj
; 
3363     wxSize 
*arg1 
= (wxSize 
*) 0 ; 
3365     PyObject 
* obj0 
= 0 ; 
3367         (char *) "self", NULL 
 
3370     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_width_get",kwnames
,&obj0
)) goto fail
; 
3371     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION 
| 0); 
3372     if (SWIG_arg_fail(1)) SWIG_fail
; 
3373     result 
= (int) ((arg1
)->x
); 
3376         resultobj 
= SWIG_From_int((int)(result
));  
3384 static PyObject 
*_wrap_Size_height_set(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3385     PyObject 
*resultobj
; 
3386     wxSize 
*arg1 
= (wxSize 
*) 0 ; 
3388     PyObject 
* obj0 
= 0 ; 
3389     PyObject 
* obj1 
= 0 ; 
3391         (char *) "self",(char *) "y", NULL 
 
3394     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_height_set",kwnames
,&obj0
,&obj1
)) goto fail
; 
3395     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION 
| 0); 
3396     if (SWIG_arg_fail(1)) SWIG_fail
; 
3398         arg2 
= (int)(SWIG_As_int(obj1
));  
3399         if (SWIG_arg_fail(2)) SWIG_fail
; 
3401     if (arg1
) (arg1
)->y 
= arg2
; 
3403     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
3410 static PyObject 
*_wrap_Size_height_get(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3411     PyObject 
*resultobj
; 
3412     wxSize 
*arg1 
= (wxSize 
*) 0 ; 
3414     PyObject 
* obj0 
= 0 ; 
3416         (char *) "self", NULL 
 
3419     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_height_get",kwnames
,&obj0
)) goto fail
; 
3420     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION 
| 0); 
3421     if (SWIG_arg_fail(1)) SWIG_fail
; 
3422     result 
= (int) ((arg1
)->y
); 
3425         resultobj 
= SWIG_From_int((int)(result
));  
3433 static PyObject 
*_wrap_new_Size(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3434     PyObject 
*resultobj
; 
3435     int arg1 
= (int) 0 ; 
3436     int arg2 
= (int) 0 ; 
3438     PyObject 
* obj0 
= 0 ; 
3439     PyObject 
* obj1 
= 0 ; 
3441         (char *) "w",(char *) "h", NULL 
 
3444     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Size",kwnames
,&obj0
,&obj1
)) goto fail
; 
3447             arg1 
= (int)(SWIG_As_int(obj0
));  
3448             if (SWIG_arg_fail(1)) SWIG_fail
; 
3453             arg2 
= (int)(SWIG_As_int(obj1
));  
3454             if (SWIG_arg_fail(2)) SWIG_fail
; 
3458         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3459         result 
= (wxSize 
*)new wxSize(arg1
,arg2
); 
3461         wxPyEndAllowThreads(__tstate
); 
3462         if (PyErr_Occurred()) SWIG_fail
; 
3464     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 1); 
3471 static PyObject 
*_wrap_delete_Size(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3472     PyObject 
*resultobj
; 
3473     wxSize 
*arg1 
= (wxSize 
*) 0 ; 
3474     PyObject 
* obj0 
= 0 ; 
3476         (char *) "self", NULL 
 
3479     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Size",kwnames
,&obj0
)) goto fail
; 
3480     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION 
| 0); 
3481     if (SWIG_arg_fail(1)) SWIG_fail
; 
3483         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3486         wxPyEndAllowThreads(__tstate
); 
3487         if (PyErr_Occurred()) SWIG_fail
; 
3489     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
3496 static PyObject 
*_wrap_Size___eq__(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3497     PyObject 
*resultobj
; 
3498     wxSize 
*arg1 
= (wxSize 
*) 0 ; 
3502     PyObject 
* obj0 
= 0 ; 
3503     PyObject 
* obj1 
= 0 ; 
3505         (char *) "self",(char *) "sz", NULL 
 
3508     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___eq__",kwnames
,&obj0
,&obj1
)) goto fail
; 
3509     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION 
| 0); 
3510     if (SWIG_arg_fail(1)) SWIG_fail
; 
3513         if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
; 
3516         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3517         result 
= (bool)(arg1
)->operator ==((wxSize 
const &)*arg2
); 
3519         wxPyEndAllowThreads(__tstate
); 
3520         if (PyErr_Occurred()) SWIG_fail
; 
3523         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
3531 static PyObject 
*_wrap_Size___ne__(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3532     PyObject 
*resultobj
; 
3533     wxSize 
*arg1 
= (wxSize 
*) 0 ; 
3537     PyObject 
* obj0 
= 0 ; 
3538     PyObject 
* obj1 
= 0 ; 
3540         (char *) "self",(char *) "sz", NULL 
 
3543     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___ne__",kwnames
,&obj0
,&obj1
)) goto fail
; 
3544     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION 
| 0); 
3545     if (SWIG_arg_fail(1)) SWIG_fail
; 
3548         if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
; 
3551         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3552         result 
= (bool)(arg1
)->operator !=((wxSize 
const &)*arg2
); 
3554         wxPyEndAllowThreads(__tstate
); 
3555         if (PyErr_Occurred()) SWIG_fail
; 
3558         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
3566 static PyObject 
*_wrap_Size___add__(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3567     PyObject 
*resultobj
; 
3568     wxSize 
*arg1 
= (wxSize 
*) 0 ; 
3572     PyObject 
* obj0 
= 0 ; 
3573     PyObject 
* obj1 
= 0 ; 
3575         (char *) "self",(char *) "sz", NULL 
 
3578     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___add__",kwnames
,&obj0
,&obj1
)) goto fail
; 
3579     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION 
| 0); 
3580     if (SWIG_arg_fail(1)) SWIG_fail
; 
3583         if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
; 
3586         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3587         result 
= (arg1
)->operator +((wxSize 
const &)*arg2
); 
3589         wxPyEndAllowThreads(__tstate
); 
3590         if (PyErr_Occurred()) SWIG_fail
; 
3594         resultptr 
= new wxSize((wxSize 
&)(result
)); 
3595         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1); 
3603 static PyObject 
*_wrap_Size___sub__(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3604     PyObject 
*resultobj
; 
3605     wxSize 
*arg1 
= (wxSize 
*) 0 ; 
3609     PyObject 
* obj0 
= 0 ; 
3610     PyObject 
* obj1 
= 0 ; 
3612         (char *) "self",(char *) "sz", NULL 
 
3615     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___sub__",kwnames
,&obj0
,&obj1
)) goto fail
; 
3616     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION 
| 0); 
3617     if (SWIG_arg_fail(1)) SWIG_fail
; 
3620         if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
; 
3623         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3624         result 
= (arg1
)->operator -((wxSize 
const &)*arg2
); 
3626         wxPyEndAllowThreads(__tstate
); 
3627         if (PyErr_Occurred()) SWIG_fail
; 
3631         resultptr 
= new wxSize((wxSize 
&)(result
)); 
3632         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1); 
3640 static PyObject 
*_wrap_Size_IncTo(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3641     PyObject 
*resultobj
; 
3642     wxSize 
*arg1 
= (wxSize 
*) 0 ; 
3645     PyObject 
* obj0 
= 0 ; 
3646     PyObject 
* obj1 
= 0 ; 
3648         (char *) "self",(char *) "sz", NULL 
 
3651     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_IncTo",kwnames
,&obj0
,&obj1
)) goto fail
; 
3652     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION 
| 0); 
3653     if (SWIG_arg_fail(1)) SWIG_fail
; 
3656         if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
; 
3659         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3660         (arg1
)->IncTo((wxSize 
const &)*arg2
); 
3662         wxPyEndAllowThreads(__tstate
); 
3663         if (PyErr_Occurred()) SWIG_fail
; 
3665     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
3672 static PyObject 
*_wrap_Size_DecTo(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3673     PyObject 
*resultobj
; 
3674     wxSize 
*arg1 
= (wxSize 
*) 0 ; 
3677     PyObject 
* obj0 
= 0 ; 
3678     PyObject 
* obj1 
= 0 ; 
3680         (char *) "self",(char *) "sz", NULL 
 
3683     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_DecTo",kwnames
,&obj0
,&obj1
)) goto fail
; 
3684     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION 
| 0); 
3685     if (SWIG_arg_fail(1)) SWIG_fail
; 
3688         if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
; 
3691         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3692         (arg1
)->DecTo((wxSize 
const &)*arg2
); 
3694         wxPyEndAllowThreads(__tstate
); 
3695         if (PyErr_Occurred()) SWIG_fail
; 
3697     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
3704 static PyObject 
*_wrap_Size_Set(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3705     PyObject 
*resultobj
; 
3706     wxSize 
*arg1 
= (wxSize 
*) 0 ; 
3709     PyObject 
* obj0 
= 0 ; 
3710     PyObject 
* obj1 
= 0 ; 
3711     PyObject 
* obj2 
= 0 ; 
3713         (char *) "self",(char *) "w",(char *) "h", NULL 
 
3716     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Size_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
3717     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION 
| 0); 
3718     if (SWIG_arg_fail(1)) SWIG_fail
; 
3720         arg2 
= (int)(SWIG_As_int(obj1
));  
3721         if (SWIG_arg_fail(2)) SWIG_fail
; 
3724         arg3 
= (int)(SWIG_As_int(obj2
));  
3725         if (SWIG_arg_fail(3)) SWIG_fail
; 
3728         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3729         (arg1
)->Set(arg2
,arg3
); 
3731         wxPyEndAllowThreads(__tstate
); 
3732         if (PyErr_Occurred()) SWIG_fail
; 
3734     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
3741 static PyObject 
*_wrap_Size_SetWidth(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3742     PyObject 
*resultobj
; 
3743     wxSize 
*arg1 
= (wxSize 
*) 0 ; 
3745     PyObject 
* obj0 
= 0 ; 
3746     PyObject 
* obj1 
= 0 ; 
3748         (char *) "self",(char *) "w", NULL 
 
3751     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
; 
3752     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION 
| 0); 
3753     if (SWIG_arg_fail(1)) SWIG_fail
; 
3755         arg2 
= (int)(SWIG_As_int(obj1
));  
3756         if (SWIG_arg_fail(2)) SWIG_fail
; 
3759         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3760         (arg1
)->SetWidth(arg2
); 
3762         wxPyEndAllowThreads(__tstate
); 
3763         if (PyErr_Occurred()) SWIG_fail
; 
3765     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
3772 static PyObject 
*_wrap_Size_SetHeight(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3773     PyObject 
*resultobj
; 
3774     wxSize 
*arg1 
= (wxSize 
*) 0 ; 
3776     PyObject 
* obj0 
= 0 ; 
3777     PyObject 
* obj1 
= 0 ; 
3779         (char *) "self",(char *) "h", NULL 
 
3782     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
; 
3783     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION 
| 0); 
3784     if (SWIG_arg_fail(1)) SWIG_fail
; 
3786         arg2 
= (int)(SWIG_As_int(obj1
));  
3787         if (SWIG_arg_fail(2)) SWIG_fail
; 
3790         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3791         (arg1
)->SetHeight(arg2
); 
3793         wxPyEndAllowThreads(__tstate
); 
3794         if (PyErr_Occurred()) SWIG_fail
; 
3796     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
3803 static PyObject 
*_wrap_Size_GetWidth(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3804     PyObject 
*resultobj
; 
3805     wxSize 
*arg1 
= (wxSize 
*) 0 ; 
3807     PyObject 
* obj0 
= 0 ; 
3809         (char *) "self", NULL 
 
3812     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_GetWidth",kwnames
,&obj0
)) goto fail
; 
3813     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION 
| 0); 
3814     if (SWIG_arg_fail(1)) SWIG_fail
; 
3816         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3817         result 
= (int)((wxSize 
const *)arg1
)->GetWidth(); 
3819         wxPyEndAllowThreads(__tstate
); 
3820         if (PyErr_Occurred()) SWIG_fail
; 
3823         resultobj 
= SWIG_From_int((int)(result
));  
3831 static PyObject 
*_wrap_Size_GetHeight(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3832     PyObject 
*resultobj
; 
3833     wxSize 
*arg1 
= (wxSize 
*) 0 ; 
3835     PyObject 
* obj0 
= 0 ; 
3837         (char *) "self", NULL 
 
3840     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_GetHeight",kwnames
,&obj0
)) goto fail
; 
3841     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION 
| 0); 
3842     if (SWIG_arg_fail(1)) SWIG_fail
; 
3844         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3845         result 
= (int)((wxSize 
const *)arg1
)->GetHeight(); 
3847         wxPyEndAllowThreads(__tstate
); 
3848         if (PyErr_Occurred()) SWIG_fail
; 
3851         resultobj 
= SWIG_From_int((int)(result
));  
3859 static PyObject 
*_wrap_Size_IsFullySpecified(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3860     PyObject 
*resultobj
; 
3861     wxSize 
*arg1 
= (wxSize 
*) 0 ; 
3863     PyObject 
* obj0 
= 0 ; 
3865         (char *) "self", NULL 
 
3868     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_IsFullySpecified",kwnames
,&obj0
)) goto fail
; 
3869     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION 
| 0); 
3870     if (SWIG_arg_fail(1)) SWIG_fail
; 
3872         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3873         result 
= (bool)((wxSize 
const *)arg1
)->IsFullySpecified(); 
3875         wxPyEndAllowThreads(__tstate
); 
3876         if (PyErr_Occurred()) SWIG_fail
; 
3879         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
3887 static PyObject 
*_wrap_Size_SetDefaults(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3888     PyObject 
*resultobj
; 
3889     wxSize 
*arg1 
= (wxSize 
*) 0 ; 
3892     PyObject 
* obj0 
= 0 ; 
3893     PyObject 
* obj1 
= 0 ; 
3895         (char *) "self",(char *) "size", NULL 
 
3898     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetDefaults",kwnames
,&obj0
,&obj1
)) goto fail
; 
3899     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION 
| 0); 
3900     if (SWIG_arg_fail(1)) SWIG_fail
; 
3903         if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
; 
3906         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3907         (arg1
)->SetDefaults((wxSize 
const &)*arg2
); 
3909         wxPyEndAllowThreads(__tstate
); 
3910         if (PyErr_Occurred()) SWIG_fail
; 
3912     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
3919 static PyObject 
*_wrap_Size_Get(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3920     PyObject 
*resultobj
; 
3921     wxSize 
*arg1 
= (wxSize 
*) 0 ; 
3923     PyObject 
* obj0 
= 0 ; 
3925         (char *) "self", NULL 
 
3928     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_Get",kwnames
,&obj0
)) goto fail
; 
3929     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION 
| 0); 
3930     if (SWIG_arg_fail(1)) SWIG_fail
; 
3932         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3933         result 
= (PyObject 
*)wxSize_Get(arg1
); 
3935         wxPyEndAllowThreads(__tstate
); 
3936         if (PyErr_Occurred()) SWIG_fail
; 
3945 static PyObject 
* Size_swigregister(PyObject 
*, PyObject 
*args
) { 
3947     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
3948     SWIG_TypeClientData(SWIGTYPE_p_wxSize
, obj
); 
3950     return Py_BuildValue((char *)""); 
3952 static PyObject 
*_wrap_RealPoint_x_set(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3953     PyObject 
*resultobj
; 
3954     wxRealPoint 
*arg1 
= (wxRealPoint 
*) 0 ; 
3956     PyObject 
* obj0 
= 0 ; 
3957     PyObject 
* obj1 
= 0 ; 
3959         (char *) "self",(char *) "x", NULL 
 
3962     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint_x_set",kwnames
,&obj0
,&obj1
)) goto fail
; 
3963     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION 
| 0); 
3964     if (SWIG_arg_fail(1)) SWIG_fail
; 
3966         arg2 
= (double)(SWIG_As_double(obj1
));  
3967         if (SWIG_arg_fail(2)) SWIG_fail
; 
3969     if (arg1
) (arg1
)->x 
= arg2
; 
3971     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
3978 static PyObject 
*_wrap_RealPoint_x_get(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3979     PyObject 
*resultobj
; 
3980     wxRealPoint 
*arg1 
= (wxRealPoint 
*) 0 ; 
3982     PyObject 
* obj0 
= 0 ; 
3984         (char *) "self", NULL 
 
3987     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_x_get",kwnames
,&obj0
)) goto fail
; 
3988     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION 
| 0); 
3989     if (SWIG_arg_fail(1)) SWIG_fail
; 
3990     result 
= (double) ((arg1
)->x
); 
3993         resultobj 
= SWIG_From_double((double)(result
));  
4001 static PyObject 
*_wrap_RealPoint_y_set(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4002     PyObject 
*resultobj
; 
4003     wxRealPoint 
*arg1 
= (wxRealPoint 
*) 0 ; 
4005     PyObject 
* obj0 
= 0 ; 
4006     PyObject 
* obj1 
= 0 ; 
4008         (char *) "self",(char *) "y", NULL 
 
4011     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint_y_set",kwnames
,&obj0
,&obj1
)) goto fail
; 
4012     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION 
| 0); 
4013     if (SWIG_arg_fail(1)) SWIG_fail
; 
4015         arg2 
= (double)(SWIG_As_double(obj1
));  
4016         if (SWIG_arg_fail(2)) SWIG_fail
; 
4018     if (arg1
) (arg1
)->y 
= arg2
; 
4020     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
4027 static PyObject 
*_wrap_RealPoint_y_get(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4028     PyObject 
*resultobj
; 
4029     wxRealPoint 
*arg1 
= (wxRealPoint 
*) 0 ; 
4031     PyObject 
* obj0 
= 0 ; 
4033         (char *) "self", NULL 
 
4036     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_y_get",kwnames
,&obj0
)) goto fail
; 
4037     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION 
| 0); 
4038     if (SWIG_arg_fail(1)) SWIG_fail
; 
4039     result 
= (double) ((arg1
)->y
); 
4042         resultobj 
= SWIG_From_double((double)(result
));  
4050 static PyObject 
*_wrap_new_RealPoint(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4051     PyObject 
*resultobj
; 
4052     double arg1 
= (double) 0.0 ; 
4053     double arg2 
= (double) 0.0 ; 
4054     wxRealPoint 
*result
; 
4055     PyObject 
* obj0 
= 0 ; 
4056     PyObject 
* obj1 
= 0 ; 
4058         (char *) "x",(char *) "y", NULL 
 
4061     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_RealPoint",kwnames
,&obj0
,&obj1
)) goto fail
; 
4064             arg1 
= (double)(SWIG_As_double(obj0
));  
4065             if (SWIG_arg_fail(1)) SWIG_fail
; 
4070             arg2 
= (double)(SWIG_As_double(obj1
));  
4071             if (SWIG_arg_fail(2)) SWIG_fail
; 
4075         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4076         result 
= (wxRealPoint 
*)new wxRealPoint(arg1
,arg2
); 
4078         wxPyEndAllowThreads(__tstate
); 
4079         if (PyErr_Occurred()) SWIG_fail
; 
4081     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRealPoint
, 1); 
4088 static PyObject 
*_wrap_delete_RealPoint(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4089     PyObject 
*resultobj
; 
4090     wxRealPoint 
*arg1 
= (wxRealPoint 
*) 0 ; 
4091     PyObject 
* obj0 
= 0 ; 
4093         (char *) "self", NULL 
 
4096     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_RealPoint",kwnames
,&obj0
)) goto fail
; 
4097     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION 
| 0); 
4098     if (SWIG_arg_fail(1)) SWIG_fail
; 
4100         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4103         wxPyEndAllowThreads(__tstate
); 
4104         if (PyErr_Occurred()) SWIG_fail
; 
4106     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
4113 static PyObject 
*_wrap_RealPoint___eq__(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4114     PyObject 
*resultobj
; 
4115     wxRealPoint 
*arg1 
= (wxRealPoint 
*) 0 ; 
4116     wxRealPoint 
*arg2 
= 0 ; 
4119     PyObject 
* obj0 
= 0 ; 
4120     PyObject 
* obj1 
= 0 ; 
4122         (char *) "self",(char *) "pt", NULL 
 
4125     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___eq__",kwnames
,&obj0
,&obj1
)) goto fail
; 
4126     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION 
| 0); 
4127     if (SWIG_arg_fail(1)) SWIG_fail
; 
4130         if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
4133         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4134         result 
= (bool)(arg1
)->operator ==((wxRealPoint 
const &)*arg2
); 
4136         wxPyEndAllowThreads(__tstate
); 
4137         if (PyErr_Occurred()) SWIG_fail
; 
4140         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
4148 static PyObject 
*_wrap_RealPoint___ne__(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4149     PyObject 
*resultobj
; 
4150     wxRealPoint 
*arg1 
= (wxRealPoint 
*) 0 ; 
4151     wxRealPoint 
*arg2 
= 0 ; 
4154     PyObject 
* obj0 
= 0 ; 
4155     PyObject 
* obj1 
= 0 ; 
4157         (char *) "self",(char *) "pt", NULL 
 
4160     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___ne__",kwnames
,&obj0
,&obj1
)) goto fail
; 
4161     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION 
| 0); 
4162     if (SWIG_arg_fail(1)) SWIG_fail
; 
4165         if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
4168         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4169         result 
= (bool)(arg1
)->operator !=((wxRealPoint 
const &)*arg2
); 
4171         wxPyEndAllowThreads(__tstate
); 
4172         if (PyErr_Occurred()) SWIG_fail
; 
4175         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
4183 static PyObject 
*_wrap_RealPoint___add__(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4184     PyObject 
*resultobj
; 
4185     wxRealPoint 
*arg1 
= (wxRealPoint 
*) 0 ; 
4186     wxRealPoint 
*arg2 
= 0 ; 
4189     PyObject 
* obj0 
= 0 ; 
4190     PyObject 
* obj1 
= 0 ; 
4192         (char *) "self",(char *) "pt", NULL 
 
4195     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___add__",kwnames
,&obj0
,&obj1
)) goto fail
; 
4196     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION 
| 0); 
4197     if (SWIG_arg_fail(1)) SWIG_fail
; 
4200         if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
4203         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4204         result 
= (arg1
)->operator +((wxRealPoint 
const &)*arg2
); 
4206         wxPyEndAllowThreads(__tstate
); 
4207         if (PyErr_Occurred()) SWIG_fail
; 
4210         wxRealPoint 
* resultptr
; 
4211         resultptr 
= new wxRealPoint((wxRealPoint 
&)(result
)); 
4212         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRealPoint
, 1); 
4220 static PyObject 
*_wrap_RealPoint___sub__(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4221     PyObject 
*resultobj
; 
4222     wxRealPoint 
*arg1 
= (wxRealPoint 
*) 0 ; 
4223     wxRealPoint 
*arg2 
= 0 ; 
4226     PyObject 
* obj0 
= 0 ; 
4227     PyObject 
* obj1 
= 0 ; 
4229         (char *) "self",(char *) "pt", NULL 
 
4232     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___sub__",kwnames
,&obj0
,&obj1
)) goto fail
; 
4233     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION 
| 0); 
4234     if (SWIG_arg_fail(1)) SWIG_fail
; 
4237         if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
4240         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4241         result 
= (arg1
)->operator -((wxRealPoint 
const &)*arg2
); 
4243         wxPyEndAllowThreads(__tstate
); 
4244         if (PyErr_Occurred()) SWIG_fail
; 
4247         wxRealPoint 
* resultptr
; 
4248         resultptr 
= new wxRealPoint((wxRealPoint 
&)(result
)); 
4249         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRealPoint
, 1); 
4257 static PyObject 
*_wrap_RealPoint_Set(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4258     PyObject 
*resultobj
; 
4259     wxRealPoint 
*arg1 
= (wxRealPoint 
*) 0 ; 
4262     PyObject 
* obj0 
= 0 ; 
4263     PyObject 
* obj1 
= 0 ; 
4264     PyObject 
* obj2 
= 0 ; 
4266         (char *) "self",(char *) "x",(char *) "y", NULL 
 
4269     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RealPoint_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
4270     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION 
| 0); 
4271     if (SWIG_arg_fail(1)) SWIG_fail
; 
4273         arg2 
= (double)(SWIG_As_double(obj1
));  
4274         if (SWIG_arg_fail(2)) SWIG_fail
; 
4277         arg3 
= (double)(SWIG_As_double(obj2
));  
4278         if (SWIG_arg_fail(3)) SWIG_fail
; 
4281         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4282         wxRealPoint_Set(arg1
,arg2
,arg3
); 
4284         wxPyEndAllowThreads(__tstate
); 
4285         if (PyErr_Occurred()) SWIG_fail
; 
4287     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
4294 static PyObject 
*_wrap_RealPoint_Get(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4295     PyObject 
*resultobj
; 
4296     wxRealPoint 
*arg1 
= (wxRealPoint 
*) 0 ; 
4298     PyObject 
* obj0 
= 0 ; 
4300         (char *) "self", NULL 
 
4303     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_Get",kwnames
,&obj0
)) goto fail
; 
4304     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION 
| 0); 
4305     if (SWIG_arg_fail(1)) SWIG_fail
; 
4307         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4308         result 
= (PyObject 
*)wxRealPoint_Get(arg1
); 
4310         wxPyEndAllowThreads(__tstate
); 
4311         if (PyErr_Occurred()) SWIG_fail
; 
4320 static PyObject 
* RealPoint_swigregister(PyObject 
*, PyObject 
*args
) { 
4322     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
4323     SWIG_TypeClientData(SWIGTYPE_p_wxRealPoint
, obj
); 
4325     return Py_BuildValue((char *)""); 
4327 static PyObject 
*_wrap_Point_x_set(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4328     PyObject 
*resultobj
; 
4329     wxPoint 
*arg1 
= (wxPoint 
*) 0 ; 
4331     PyObject 
* obj0 
= 0 ; 
4332     PyObject 
* obj1 
= 0 ; 
4334         (char *) "self",(char *) "x", NULL 
 
4337     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point_x_set",kwnames
,&obj0
,&obj1
)) goto fail
; 
4338     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION 
| 0); 
4339     if (SWIG_arg_fail(1)) SWIG_fail
; 
4341         arg2 
= (int)(SWIG_As_int(obj1
));  
4342         if (SWIG_arg_fail(2)) SWIG_fail
; 
4344     if (arg1
) (arg1
)->x 
= arg2
; 
4346     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
4353 static PyObject 
*_wrap_Point_x_get(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4354     PyObject 
*resultobj
; 
4355     wxPoint 
*arg1 
= (wxPoint 
*) 0 ; 
4357     PyObject 
* obj0 
= 0 ; 
4359         (char *) "self", NULL 
 
4362     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_x_get",kwnames
,&obj0
)) goto fail
; 
4363     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION 
| 0); 
4364     if (SWIG_arg_fail(1)) SWIG_fail
; 
4365     result 
= (int) ((arg1
)->x
); 
4368         resultobj 
= SWIG_From_int((int)(result
));  
4376 static PyObject 
*_wrap_Point_y_set(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4377     PyObject 
*resultobj
; 
4378     wxPoint 
*arg1 
= (wxPoint 
*) 0 ; 
4380     PyObject 
* obj0 
= 0 ; 
4381     PyObject 
* obj1 
= 0 ; 
4383         (char *) "self",(char *) "y", NULL 
 
4386     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point_y_set",kwnames
,&obj0
,&obj1
)) goto fail
; 
4387     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION 
| 0); 
4388     if (SWIG_arg_fail(1)) SWIG_fail
; 
4390         arg2 
= (int)(SWIG_As_int(obj1
));  
4391         if (SWIG_arg_fail(2)) SWIG_fail
; 
4393     if (arg1
) (arg1
)->y 
= arg2
; 
4395     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
4402 static PyObject 
*_wrap_Point_y_get(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4403     PyObject 
*resultobj
; 
4404     wxPoint 
*arg1 
= (wxPoint 
*) 0 ; 
4406     PyObject 
* obj0 
= 0 ; 
4408         (char *) "self", NULL 
 
4411     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_y_get",kwnames
,&obj0
)) goto fail
; 
4412     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION 
| 0); 
4413     if (SWIG_arg_fail(1)) SWIG_fail
; 
4414     result 
= (int) ((arg1
)->y
); 
4417         resultobj 
= SWIG_From_int((int)(result
));  
4425 static PyObject 
*_wrap_new_Point(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4426     PyObject 
*resultobj
; 
4427     int arg1 
= (int) 0 ; 
4428     int arg2 
= (int) 0 ; 
4430     PyObject 
* obj0 
= 0 ; 
4431     PyObject 
* obj1 
= 0 ; 
4433         (char *) "x",(char *) "y", NULL 
 
4436     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Point",kwnames
,&obj0
,&obj1
)) goto fail
; 
4439             arg1 
= (int)(SWIG_As_int(obj0
));  
4440             if (SWIG_arg_fail(1)) SWIG_fail
; 
4445             arg2 
= (int)(SWIG_As_int(obj1
));  
4446             if (SWIG_arg_fail(2)) SWIG_fail
; 
4450         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4451         result 
= (wxPoint 
*)new wxPoint(arg1
,arg2
); 
4453         wxPyEndAllowThreads(__tstate
); 
4454         if (PyErr_Occurred()) SWIG_fail
; 
4456     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 1); 
4463 static PyObject 
*_wrap_delete_Point(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4464     PyObject 
*resultobj
; 
4465     wxPoint 
*arg1 
= (wxPoint 
*) 0 ; 
4466     PyObject 
* obj0 
= 0 ; 
4468         (char *) "self", NULL 
 
4471     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Point",kwnames
,&obj0
)) goto fail
; 
4472     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION 
| 0); 
4473     if (SWIG_arg_fail(1)) SWIG_fail
; 
4475         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4478         wxPyEndAllowThreads(__tstate
); 
4479         if (PyErr_Occurred()) SWIG_fail
; 
4481     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
4488 static PyObject 
*_wrap_Point___eq__(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4489     PyObject 
*resultobj
; 
4490     wxPoint 
*arg1 
= (wxPoint 
*) 0 ; 
4494     PyObject 
* obj0 
= 0 ; 
4495     PyObject 
* obj1 
= 0 ; 
4497         (char *) "self",(char *) "pt", NULL 
 
4500     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___eq__",kwnames
,&obj0
,&obj1
)) goto fail
; 
4501     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION 
| 0); 
4502     if (SWIG_arg_fail(1)) SWIG_fail
; 
4505         if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
4508         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4509         result 
= (bool)(arg1
)->operator ==((wxPoint 
const &)*arg2
); 
4511         wxPyEndAllowThreads(__tstate
); 
4512         if (PyErr_Occurred()) SWIG_fail
; 
4515         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
4523 static PyObject 
*_wrap_Point___ne__(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4524     PyObject 
*resultobj
; 
4525     wxPoint 
*arg1 
= (wxPoint 
*) 0 ; 
4529     PyObject 
* obj0 
= 0 ; 
4530     PyObject 
* obj1 
= 0 ; 
4532         (char *) "self",(char *) "pt", NULL 
 
4535     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___ne__",kwnames
,&obj0
,&obj1
)) goto fail
; 
4536     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION 
| 0); 
4537     if (SWIG_arg_fail(1)) SWIG_fail
; 
4540         if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
4543         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4544         result 
= (bool)(arg1
)->operator !=((wxPoint 
const &)*arg2
); 
4546         wxPyEndAllowThreads(__tstate
); 
4547         if (PyErr_Occurred()) SWIG_fail
; 
4550         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
4558 static PyObject 
*_wrap_Point___add__(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4559     PyObject 
*resultobj
; 
4560     wxPoint 
*arg1 
= (wxPoint 
*) 0 ; 
4564     PyObject 
* obj0 
= 0 ; 
4565     PyObject 
* obj1 
= 0 ; 
4567         (char *) "self",(char *) "pt", NULL 
 
4570     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___add__",kwnames
,&obj0
,&obj1
)) goto fail
; 
4571     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION 
| 0); 
4572     if (SWIG_arg_fail(1)) SWIG_fail
; 
4575         if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
4578         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4579         result 
= (arg1
)->operator +((wxPoint 
const &)*arg2
); 
4581         wxPyEndAllowThreads(__tstate
); 
4582         if (PyErr_Occurred()) SWIG_fail
; 
4585         wxPoint 
* resultptr
; 
4586         resultptr 
= new wxPoint((wxPoint 
&)(result
)); 
4587         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1); 
4595 static PyObject 
*_wrap_Point___sub__(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4596     PyObject 
*resultobj
; 
4597     wxPoint 
*arg1 
= (wxPoint 
*) 0 ; 
4601     PyObject 
* obj0 
= 0 ; 
4602     PyObject 
* obj1 
= 0 ; 
4604         (char *) "self",(char *) "pt", NULL 
 
4607     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___sub__",kwnames
,&obj0
,&obj1
)) goto fail
; 
4608     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION 
| 0); 
4609     if (SWIG_arg_fail(1)) SWIG_fail
; 
4612         if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
4615         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4616         result 
= (arg1
)->operator -((wxPoint 
const &)*arg2
); 
4618         wxPyEndAllowThreads(__tstate
); 
4619         if (PyErr_Occurred()) SWIG_fail
; 
4622         wxPoint 
* resultptr
; 
4623         resultptr 
= new wxPoint((wxPoint 
&)(result
)); 
4624         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1); 
4632 static PyObject 
*_wrap_Point___iadd__(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4633     PyObject 
*resultobj
; 
4634     wxPoint 
*arg1 
= (wxPoint 
*) 0 ; 
4638     PyObject 
* obj0 
= 0 ; 
4639     PyObject 
* obj1 
= 0 ; 
4641         (char *) "self",(char *) "pt", NULL 
 
4644     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
; 
4645     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION 
| SWIG_POINTER_DISOWN
); 
4646     if (SWIG_arg_fail(1)) SWIG_fail
; 
4649         if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
4652         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4654             wxPoint 
&_result_ref 
= (arg1
)->operator +=((wxPoint 
const &)*arg2
); 
4655             result 
= (wxPoint 
*) &_result_ref
; 
4658         wxPyEndAllowThreads(__tstate
); 
4659         if (PyErr_Occurred()) SWIG_fail
; 
4661     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 1); 
4668 static PyObject 
*_wrap_Point___isub__(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4669     PyObject 
*resultobj
; 
4670     wxPoint 
*arg1 
= (wxPoint 
*) 0 ; 
4674     PyObject 
* obj0 
= 0 ; 
4675     PyObject 
* obj1 
= 0 ; 
4677         (char *) "self",(char *) "pt", NULL 
 
4680     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___isub__",kwnames
,&obj0
,&obj1
)) goto fail
; 
4681     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION 
| SWIG_POINTER_DISOWN
); 
4682     if (SWIG_arg_fail(1)) SWIG_fail
; 
4685         if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
4688         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4690             wxPoint 
&_result_ref 
= (arg1
)->operator -=((wxPoint 
const &)*arg2
); 
4691             result 
= (wxPoint 
*) &_result_ref
; 
4694         wxPyEndAllowThreads(__tstate
); 
4695         if (PyErr_Occurred()) SWIG_fail
; 
4697     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 1); 
4704 static PyObject 
*_wrap_Point_Set(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4705     PyObject 
*resultobj
; 
4706     wxPoint 
*arg1 
= (wxPoint 
*) 0 ; 
4709     PyObject 
* obj0 
= 0 ; 
4710     PyObject 
* obj1 
= 0 ; 
4711     PyObject 
* obj2 
= 0 ; 
4713         (char *) "self",(char *) "x",(char *) "y", NULL 
 
4716     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Point_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
4717     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION 
| 0); 
4718     if (SWIG_arg_fail(1)) SWIG_fail
; 
4720         arg2 
= (long)(SWIG_As_long(obj1
));  
4721         if (SWIG_arg_fail(2)) SWIG_fail
; 
4724         arg3 
= (long)(SWIG_As_long(obj2
));  
4725         if (SWIG_arg_fail(3)) SWIG_fail
; 
4728         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4729         wxPoint_Set(arg1
,arg2
,arg3
); 
4731         wxPyEndAllowThreads(__tstate
); 
4732         if (PyErr_Occurred()) SWIG_fail
; 
4734     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
4741 static PyObject 
*_wrap_Point_Get(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4742     PyObject 
*resultobj
; 
4743     wxPoint 
*arg1 
= (wxPoint 
*) 0 ; 
4745     PyObject 
* obj0 
= 0 ; 
4747         (char *) "self", NULL 
 
4750     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_Get",kwnames
,&obj0
)) goto fail
; 
4751     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION 
| 0); 
4752     if (SWIG_arg_fail(1)) SWIG_fail
; 
4754         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4755         result 
= (PyObject 
*)wxPoint_Get(arg1
); 
4757         wxPyEndAllowThreads(__tstate
); 
4758         if (PyErr_Occurred()) SWIG_fail
; 
4767 static PyObject 
* Point_swigregister(PyObject 
*, PyObject 
*args
) { 
4769     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
4770     SWIG_TypeClientData(SWIGTYPE_p_wxPoint
, obj
); 
4772     return Py_BuildValue((char *)""); 
4774 static PyObject 
*_wrap_new_Rect(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4775     PyObject 
*resultobj
; 
4776     int arg1 
= (int) 0 ; 
4777     int arg2 
= (int) 0 ; 
4778     int arg3 
= (int) 0 ; 
4779     int arg4 
= (int) 0 ; 
4781     PyObject 
* obj0 
= 0 ; 
4782     PyObject 
* obj1 
= 0 ; 
4783     PyObject 
* obj2 
= 0 ; 
4784     PyObject 
* obj3 
= 0 ; 
4786         (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL 
 
4789     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Rect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
4792             arg1 
= (int)(SWIG_As_int(obj0
));  
4793             if (SWIG_arg_fail(1)) SWIG_fail
; 
4798             arg2 
= (int)(SWIG_As_int(obj1
));  
4799             if (SWIG_arg_fail(2)) SWIG_fail
; 
4804             arg3 
= (int)(SWIG_As_int(obj2
));  
4805             if (SWIG_arg_fail(3)) SWIG_fail
; 
4810             arg4 
= (int)(SWIG_As_int(obj3
));  
4811             if (SWIG_arg_fail(4)) SWIG_fail
; 
4815         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4816         result 
= (wxRect 
*)new wxRect(arg1
,arg2
,arg3
,arg4
); 
4818         wxPyEndAllowThreads(__tstate
); 
4819         if (PyErr_Occurred()) SWIG_fail
; 
4821     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1); 
4828 static PyObject 
*_wrap_new_RectPP(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4829     PyObject 
*resultobj
; 
4835     PyObject 
* obj0 
= 0 ; 
4836     PyObject 
* obj1 
= 0 ; 
4838         (char *) "topLeft",(char *) "bottomRight", NULL 
 
4841     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPP",kwnames
,&obj0
,&obj1
)) goto fail
; 
4844         if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
; 
4848         if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
4851         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4852         result 
= (wxRect 
*)new wxRect((wxPoint 
const &)*arg1
,(wxPoint 
const &)*arg2
); 
4854         wxPyEndAllowThreads(__tstate
); 
4855         if (PyErr_Occurred()) SWIG_fail
; 
4857     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1); 
4864 static PyObject 
*_wrap_new_RectPS(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4865     PyObject 
*resultobj
; 
4871     PyObject 
* obj0 
= 0 ; 
4872     PyObject 
* obj1 
= 0 ; 
4874         (char *) "pos",(char *) "size", NULL 
 
4877     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPS",kwnames
,&obj0
,&obj1
)) goto fail
; 
4880         if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
; 
4884         if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
; 
4887         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4888         result 
= (wxRect 
*)new wxRect((wxPoint 
const &)*arg1
,(wxSize 
const &)*arg2
); 
4890         wxPyEndAllowThreads(__tstate
); 
4891         if (PyErr_Occurred()) SWIG_fail
; 
4893     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1); 
4900 static PyObject 
*_wrap_new_RectS(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4901     PyObject 
*resultobj
; 
4905     PyObject 
* obj0 
= 0 ; 
4907         (char *) "size", NULL 
 
4910     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RectS",kwnames
,&obj0
)) goto fail
; 
4913         if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
; 
4916         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4917         result 
= (wxRect 
*)new wxRect((wxSize 
const &)*arg1
); 
4919         wxPyEndAllowThreads(__tstate
); 
4920         if (PyErr_Occurred()) SWIG_fail
; 
4922     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1); 
4929 static PyObject 
*_wrap_delete_Rect(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4930     PyObject 
*resultobj
; 
4931     wxRect 
*arg1 
= (wxRect 
*) 0 ; 
4932     PyObject 
* obj0 
= 0 ; 
4934         (char *) "self", NULL 
 
4937     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Rect",kwnames
,&obj0
)) goto fail
; 
4938     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION 
| 0); 
4939     if (SWIG_arg_fail(1)) SWIG_fail
; 
4941         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4944         wxPyEndAllowThreads(__tstate
); 
4945         if (PyErr_Occurred()) SWIG_fail
; 
4947     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
4954 static PyObject 
*_wrap_Rect_GetX(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4955     PyObject 
*resultobj
; 
4956     wxRect 
*arg1 
= (wxRect 
*) 0 ; 
4958     PyObject 
* obj0 
= 0 ; 
4960         (char *) "self", NULL 
 
4963     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetX",kwnames
,&obj0
)) goto fail
; 
4964     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION 
| 0); 
4965     if (SWIG_arg_fail(1)) SWIG_fail
; 
4967         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4968         result 
= (int)((wxRect 
const *)arg1
)->GetX(); 
4970         wxPyEndAllowThreads(__tstate
); 
4971         if (PyErr_Occurred()) SWIG_fail
; 
4974         resultobj 
= SWIG_From_int((int)(result
));  
4982 static PyObject 
*_wrap_Rect_SetX(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4983     PyObject 
*resultobj
; 
4984     wxRect 
*arg1 
= (wxRect 
*) 0 ; 
4986     PyObject 
* obj0 
= 0 ; 
4987     PyObject 
* obj1 
= 0 ; 
4989         (char *) "self",(char *) "x", NULL 
 
4992     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetX",kwnames
,&obj0
,&obj1
)) goto fail
; 
4993     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION 
| 0); 
4994     if (SWIG_arg_fail(1)) SWIG_fail
; 
4996         arg2 
= (int)(SWIG_As_int(obj1
));  
4997         if (SWIG_arg_fail(2)) SWIG_fail
; 
5000         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5003         wxPyEndAllowThreads(__tstate
); 
5004         if (PyErr_Occurred()) SWIG_fail
; 
5006     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
5013 static PyObject 
*_wrap_Rect_GetY(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5014     PyObject 
*resultobj
; 
5015     wxRect 
*arg1 
= (wxRect 
*) 0 ; 
5017     PyObject 
* obj0 
= 0 ; 
5019         (char *) "self", NULL 
 
5022     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetY",kwnames
,&obj0
)) goto fail
; 
5023     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION 
| 0); 
5024     if (SWIG_arg_fail(1)) SWIG_fail
; 
5026         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5027         result 
= (int)(arg1
)->GetY(); 
5029         wxPyEndAllowThreads(__tstate
); 
5030         if (PyErr_Occurred()) SWIG_fail
; 
5033         resultobj 
= SWIG_From_int((int)(result
));  
5041 static PyObject 
*_wrap_Rect_SetY(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5042     PyObject 
*resultobj
; 
5043     wxRect 
*arg1 
= (wxRect 
*) 0 ; 
5045     PyObject 
* obj0 
= 0 ; 
5046     PyObject 
* obj1 
= 0 ; 
5048         (char *) "self",(char *) "y", NULL 
 
5051     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetY",kwnames
,&obj0
,&obj1
)) goto fail
; 
5052     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION 
| 0); 
5053     if (SWIG_arg_fail(1)) SWIG_fail
; 
5055         arg2 
= (int)(SWIG_As_int(obj1
));  
5056         if (SWIG_arg_fail(2)) SWIG_fail
; 
5059         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5062         wxPyEndAllowThreads(__tstate
); 
5063         if (PyErr_Occurred()) SWIG_fail
; 
5065     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
5072 static PyObject 
*_wrap_Rect_GetWidth(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5073     PyObject 
*resultobj
; 
5074     wxRect 
*arg1 
= (wxRect 
*) 0 ; 
5076     PyObject 
* obj0 
= 0 ; 
5078         (char *) "self", NULL 
 
5081     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetWidth",kwnames
,&obj0
)) goto fail
; 
5082     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION 
| 0); 
5083     if (SWIG_arg_fail(1)) SWIG_fail
; 
5085         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5086         result 
= (int)((wxRect 
const *)arg1
)->GetWidth(); 
5088         wxPyEndAllowThreads(__tstate
); 
5089         if (PyErr_Occurred()) SWIG_fail
; 
5092         resultobj 
= SWIG_From_int((int)(result
));  
5100 static PyObject 
*_wrap_Rect_SetWidth(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5101     PyObject 
*resultobj
; 
5102     wxRect 
*arg1 
= (wxRect 
*) 0 ; 
5104     PyObject 
* obj0 
= 0 ; 
5105     PyObject 
* obj1 
= 0 ; 
5107         (char *) "self",(char *) "w", NULL 
 
5110     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
; 
5111     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION 
| 0); 
5112     if (SWIG_arg_fail(1)) SWIG_fail
; 
5114         arg2 
= (int)(SWIG_As_int(obj1
));  
5115         if (SWIG_arg_fail(2)) SWIG_fail
; 
5118         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5119         (arg1
)->SetWidth(arg2
); 
5121         wxPyEndAllowThreads(__tstate
); 
5122         if (PyErr_Occurred()) SWIG_fail
; 
5124     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
5131 static PyObject 
*_wrap_Rect_GetHeight(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5132     PyObject 
*resultobj
; 
5133     wxRect 
*arg1 
= (wxRect 
*) 0 ; 
5135     PyObject 
* obj0 
= 0 ; 
5137         (char *) "self", NULL 
 
5140     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetHeight",kwnames
,&obj0
)) goto fail
; 
5141     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION 
| 0); 
5142     if (SWIG_arg_fail(1)) SWIG_fail
; 
5144         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5145         result 
= (int)((wxRect 
const *)arg1
)->GetHeight(); 
5147         wxPyEndAllowThreads(__tstate
); 
5148         if (PyErr_Occurred()) SWIG_fail
; 
5151         resultobj 
= SWIG_From_int((int)(result
));  
5159 static PyObject 
*_wrap_Rect_SetHeight(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5160     PyObject 
*resultobj
; 
5161     wxRect 
*arg1 
= (wxRect 
*) 0 ; 
5163     PyObject 
* obj0 
= 0 ; 
5164     PyObject 
* obj1 
= 0 ; 
5166         (char *) "self",(char *) "h", NULL 
 
5169     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
; 
5170     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION 
| 0); 
5171     if (SWIG_arg_fail(1)) SWIG_fail
; 
5173         arg2 
= (int)(SWIG_As_int(obj1
));  
5174         if (SWIG_arg_fail(2)) SWIG_fail
; 
5177         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5178         (arg1
)->SetHeight(arg2
); 
5180         wxPyEndAllowThreads(__tstate
); 
5181         if (PyErr_Occurred()) SWIG_fail
; 
5183     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
5190 static PyObject 
*_wrap_Rect_GetPosition(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5191     PyObject 
*resultobj
; 
5192     wxRect 
*arg1 
= (wxRect 
*) 0 ; 
5194     PyObject 
* obj0 
= 0 ; 
5196         (char *) "self", NULL 
 
5199     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetPosition",kwnames
,&obj0
)) goto fail
; 
5200     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION 
| 0); 
5201     if (SWIG_arg_fail(1)) SWIG_fail
; 
5203         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5204         result 
= ((wxRect 
const *)arg1
)->GetPosition(); 
5206         wxPyEndAllowThreads(__tstate
); 
5207         if (PyErr_Occurred()) SWIG_fail
; 
5210         wxPoint 
* resultptr
; 
5211         resultptr 
= new wxPoint((wxPoint 
&)(result
)); 
5212         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1); 
5220 static PyObject 
*_wrap_Rect_SetPosition(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5221     PyObject 
*resultobj
; 
5222     wxRect 
*arg1 
= (wxRect 
*) 0 ; 
5225     PyObject 
* obj0 
= 0 ; 
5226     PyObject 
* obj1 
= 0 ; 
5228         (char *) "self",(char *) "p", NULL 
 
5231     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
; 
5232     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION 
| 0); 
5233     if (SWIG_arg_fail(1)) SWIG_fail
; 
5236         if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
5239         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5240         (arg1
)->SetPosition((wxPoint 
const &)*arg2
); 
5242         wxPyEndAllowThreads(__tstate
); 
5243         if (PyErr_Occurred()) SWIG_fail
; 
5245     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
5252 static PyObject 
*_wrap_Rect_GetSize(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5253     PyObject 
*resultobj
; 
5254     wxRect 
*arg1 
= (wxRect 
*) 0 ; 
5256     PyObject 
* obj0 
= 0 ; 
5258         (char *) "self", NULL 
 
5261     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetSize",kwnames
,&obj0
)) goto fail
; 
5262     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION 
| 0); 
5263     if (SWIG_arg_fail(1)) SWIG_fail
; 
5265         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5266         result 
= ((wxRect 
const *)arg1
)->GetSize(); 
5268         wxPyEndAllowThreads(__tstate
); 
5269         if (PyErr_Occurred()) SWIG_fail
; 
5273         resultptr 
= new wxSize((wxSize 
&)(result
)); 
5274         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1); 
5282 static PyObject 
*_wrap_Rect_SetSize(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5283     PyObject 
*resultobj
; 
5284     wxRect 
*arg1 
= (wxRect 
*) 0 ; 
5287     PyObject 
* obj0 
= 0 ; 
5288     PyObject 
* obj1 
= 0 ; 
5290         (char *) "self",(char *) "s", NULL 
 
5293     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
; 
5294     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION 
| 0); 
5295     if (SWIG_arg_fail(1)) SWIG_fail
; 
5298         if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
; 
5301         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5302         (arg1
)->SetSize((wxSize 
const &)*arg2
); 
5304         wxPyEndAllowThreads(__tstate
); 
5305         if (PyErr_Occurred()) SWIG_fail
; 
5307     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
5314 static PyObject 
*_wrap_Rect_IsEmpty(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5315     PyObject 
*resultobj
; 
5316     wxRect 
*arg1 
= (wxRect 
*) 0 ; 
5318     PyObject 
* obj0 
= 0 ; 
5320         (char *) "self", NULL 
 
5323     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_IsEmpty",kwnames
,&obj0
)) goto fail
; 
5324     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION 
| 0); 
5325     if (SWIG_arg_fail(1)) SWIG_fail
; 
5327         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5328         result 
= (bool)((wxRect 
const *)arg1
)->IsEmpty(); 
5330         wxPyEndAllowThreads(__tstate
); 
5331         if (PyErr_Occurred()) SWIG_fail
; 
5334         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
5342 static PyObject 
*_wrap_Rect_GetTopLeft(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5343     PyObject 
*resultobj
; 
5344     wxRect 
*arg1 
= (wxRect 
*) 0 ; 
5346     PyObject 
* obj0 
= 0 ; 
5348         (char *) "self", NULL 
 
5351     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetTopLeft",kwnames
,&obj0
)) goto fail
; 
5352     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION 
| 0); 
5353     if (SWIG_arg_fail(1)) SWIG_fail
; 
5355         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5356         result 
= ((wxRect 
const *)arg1
)->GetTopLeft(); 
5358         wxPyEndAllowThreads(__tstate
); 
5359         if (PyErr_Occurred()) SWIG_fail
; 
5362         wxPoint 
* resultptr
; 
5363         resultptr 
= new wxPoint((wxPoint 
&)(result
)); 
5364         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1); 
5372 static PyObject 
*_wrap_Rect_SetTopLeft(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5373     PyObject 
*resultobj
; 
5374     wxRect 
*arg1 
= (wxRect 
*) 0 ; 
5377     PyObject 
* obj0 
= 0 ; 
5378     PyObject 
* obj1 
= 0 ; 
5380         (char *) "self",(char *) "p", NULL 
 
5383     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
; 
5384     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION 
| 0); 
5385     if (SWIG_arg_fail(1)) SWIG_fail
; 
5388         if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
5391         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5392         (arg1
)->SetTopLeft((wxPoint 
const &)*arg2
); 
5394         wxPyEndAllowThreads(__tstate
); 
5395         if (PyErr_Occurred()) SWIG_fail
; 
5397     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
5404 static PyObject 
*_wrap_Rect_GetBottomRight(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5405     PyObject 
*resultobj
; 
5406     wxRect 
*arg1 
= (wxRect 
*) 0 ; 
5408     PyObject 
* obj0 
= 0 ; 
5410         (char *) "self", NULL 
 
5413     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetBottomRight",kwnames
,&obj0
)) goto fail
; 
5414     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION 
| 0); 
5415     if (SWIG_arg_fail(1)) SWIG_fail
; 
5417         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5418         result 
= ((wxRect 
const *)arg1
)->GetBottomRight(); 
5420         wxPyEndAllowThreads(__tstate
); 
5421         if (PyErr_Occurred()) SWIG_fail
; 
5424         wxPoint 
* resultptr
; 
5425         resultptr 
= new wxPoint((wxPoint 
&)(result
)); 
5426         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1); 
5434 static PyObject 
*_wrap_Rect_SetBottomRight(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5435     PyObject 
*resultobj
; 
5436     wxRect 
*arg1 
= (wxRect 
*) 0 ; 
5439     PyObject 
* obj0 
= 0 ; 
5440     PyObject 
* obj1 
= 0 ; 
5442         (char *) "self",(char *) "p", NULL 
 
5445     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
; 
5446     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION 
| 0); 
5447     if (SWIG_arg_fail(1)) SWIG_fail
; 
5450         if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
5453         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5454         (arg1
)->SetBottomRight((wxPoint 
const &)*arg2
); 
5456         wxPyEndAllowThreads(__tstate
); 
5457         if (PyErr_Occurred()) SWIG_fail
; 
5459     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
5466 static PyObject 
*_wrap_Rect_GetLeft(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5467     PyObject 
*resultobj
; 
5468     wxRect 
*arg1 
= (wxRect 
*) 0 ; 
5470     PyObject 
* obj0 
= 0 ; 
5472         (char *) "self", NULL 
 
5475     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetLeft",kwnames
,&obj0
)) goto fail
; 
5476     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION 
| 0); 
5477     if (SWIG_arg_fail(1)) SWIG_fail
; 
5479         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5480         result 
= (int)((wxRect 
const *)arg1
)->GetLeft(); 
5482         wxPyEndAllowThreads(__tstate
); 
5483         if (PyErr_Occurred()) SWIG_fail
; 
5486         resultobj 
= SWIG_From_int((int)(result
));  
5494 static PyObject 
*_wrap_Rect_GetTop(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5495     PyObject 
*resultobj
; 
5496     wxRect 
*arg1 
= (wxRect 
*) 0 ; 
5498     PyObject 
* obj0 
= 0 ; 
5500         (char *) "self", NULL 
 
5503     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetTop",kwnames
,&obj0
)) goto fail
; 
5504     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION 
| 0); 
5505     if (SWIG_arg_fail(1)) SWIG_fail
; 
5507         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5508         result 
= (int)((wxRect 
const *)arg1
)->GetTop(); 
5510         wxPyEndAllowThreads(__tstate
); 
5511         if (PyErr_Occurred()) SWIG_fail
; 
5514         resultobj 
= SWIG_From_int((int)(result
));  
5522 static PyObject 
*_wrap_Rect_GetBottom(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5523     PyObject 
*resultobj
; 
5524     wxRect 
*arg1 
= (wxRect 
*) 0 ; 
5526     PyObject 
* obj0 
= 0 ; 
5528         (char *) "self", NULL 
 
5531     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetBottom",kwnames
,&obj0
)) goto fail
; 
5532     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION 
| 0); 
5533     if (SWIG_arg_fail(1)) SWIG_fail
; 
5535         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5536         result 
= (int)((wxRect 
const *)arg1
)->GetBottom(); 
5538         wxPyEndAllowThreads(__tstate
); 
5539         if (PyErr_Occurred()) SWIG_fail
; 
5542         resultobj 
= SWIG_From_int((int)(result
));  
5550 static PyObject 
*_wrap_Rect_GetRight(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5551     PyObject 
*resultobj
; 
5552     wxRect 
*arg1 
= (wxRect 
*) 0 ; 
5554     PyObject 
* obj0 
= 0 ; 
5556         (char *) "self", NULL 
 
5559     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetRight",kwnames
,&obj0
)) goto fail
; 
5560     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION 
| 0); 
5561     if (SWIG_arg_fail(1)) SWIG_fail
; 
5563         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5564         result 
= (int)((wxRect 
const *)arg1
)->GetRight(); 
5566         wxPyEndAllowThreads(__tstate
); 
5567         if (PyErr_Occurred()) SWIG_fail
; 
5570         resultobj 
= SWIG_From_int((int)(result
));  
5578 static PyObject 
*_wrap_Rect_SetLeft(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5579     PyObject 
*resultobj
; 
5580     wxRect 
*arg1 
= (wxRect 
*) 0 ; 
5582     PyObject 
* obj0 
= 0 ; 
5583     PyObject 
* obj1 
= 0 ; 
5585         (char *) "self",(char *) "left", NULL 
 
5588     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetLeft",kwnames
,&obj0
,&obj1
)) goto fail
; 
5589     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION 
| 0); 
5590     if (SWIG_arg_fail(1)) SWIG_fail
; 
5592         arg2 
= (int)(SWIG_As_int(obj1
));  
5593         if (SWIG_arg_fail(2)) SWIG_fail
; 
5596         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5597         (arg1
)->SetLeft(arg2
); 
5599         wxPyEndAllowThreads(__tstate
); 
5600         if (PyErr_Occurred()) SWIG_fail
; 
5602     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
5609 static PyObject 
*_wrap_Rect_SetRight(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5610     PyObject 
*resultobj
; 
5611     wxRect 
*arg1 
= (wxRect 
*) 0 ; 
5613     PyObject 
* obj0 
= 0 ; 
5614     PyObject 
* obj1 
= 0 ; 
5616         (char *) "self",(char *) "right", NULL 
 
5619     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetRight",kwnames
,&obj0
,&obj1
)) goto fail
; 
5620     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION 
| 0); 
5621     if (SWIG_arg_fail(1)) SWIG_fail
; 
5623         arg2 
= (int)(SWIG_As_int(obj1
));  
5624         if (SWIG_arg_fail(2)) SWIG_fail
; 
5627         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5628         (arg1
)->SetRight(arg2
); 
5630         wxPyEndAllowThreads(__tstate
); 
5631         if (PyErr_Occurred()) SWIG_fail
; 
5633     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
5640 static PyObject 
*_wrap_Rect_SetTop(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5641     PyObject 
*resultobj
; 
5642     wxRect 
*arg1 
= (wxRect 
*) 0 ; 
5644     PyObject 
* obj0 
= 0 ; 
5645     PyObject 
* obj1 
= 0 ; 
5647         (char *) "self",(char *) "top", NULL 
 
5650     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetTop",kwnames
,&obj0
,&obj1
)) goto fail
; 
5651     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION 
| 0); 
5652     if (SWIG_arg_fail(1)) SWIG_fail
; 
5654         arg2 
= (int)(SWIG_As_int(obj1
));  
5655         if (SWIG_arg_fail(2)) SWIG_fail
; 
5658         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5659         (arg1
)->SetTop(arg2
); 
5661         wxPyEndAllowThreads(__tstate
); 
5662         if (PyErr_Occurred()) SWIG_fail
; 
5664     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
5671 static PyObject 
*_wrap_Rect_SetBottom(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5672     PyObject 
*resultobj
; 
5673     wxRect 
*arg1 
= (wxRect 
*) 0 ; 
5675     PyObject 
* obj0 
= 0 ; 
5676     PyObject 
* obj1 
= 0 ; 
5678         (char *) "self",(char *) "bottom", NULL 
 
5681     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetBottom",kwnames
,&obj0
,&obj1
)) goto fail
; 
5682     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION 
| 0); 
5683     if (SWIG_arg_fail(1)) SWIG_fail
; 
5685         arg2 
= (int)(SWIG_As_int(obj1
));  
5686         if (SWIG_arg_fail(2)) SWIG_fail
; 
5689         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5690         (arg1
)->SetBottom(arg2
); 
5692         wxPyEndAllowThreads(__tstate
); 
5693         if (PyErr_Occurred()) SWIG_fail
; 
5695     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
5702 static PyObject 
*_wrap_Rect_Inflate(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5703     PyObject 
*resultobj
; 
5704     wxRect 
*arg1 
= (wxRect 
*) 0 ; 
5708     PyObject 
* obj0 
= 0 ; 
5709     PyObject 
* obj1 
= 0 ; 
5710     PyObject 
* obj2 
= 0 ; 
5712         (char *) "self",(char *) "dx",(char *) "dy", NULL 
 
5715     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_Inflate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
5716     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION 
| 0); 
5717     if (SWIG_arg_fail(1)) SWIG_fail
; 
5719         arg2 
= (int)(SWIG_As_int(obj1
));  
5720         if (SWIG_arg_fail(2)) SWIG_fail
; 
5723         arg3 
= (int)(SWIG_As_int(obj2
));  
5724         if (SWIG_arg_fail(3)) SWIG_fail
; 
5727         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5729             wxRect 
&_result_ref 
= (arg1
)->Inflate(arg2
,arg3
); 
5730             result 
= (wxRect 
*) &_result_ref
; 
5733         wxPyEndAllowThreads(__tstate
); 
5734         if (PyErr_Occurred()) SWIG_fail
; 
5736     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0); 
5743 static PyObject 
*_wrap_Rect_Deflate(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5744     PyObject 
*resultobj
; 
5745     wxRect 
*arg1 
= (wxRect 
*) 0 ; 
5749     PyObject 
* obj0 
= 0 ; 
5750     PyObject 
* obj1 
= 0 ; 
5751     PyObject 
* obj2 
= 0 ; 
5753         (char *) "self",(char *) "dx",(char *) "dy", NULL 
 
5756     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_Deflate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
5757     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION 
| 0); 
5758     if (SWIG_arg_fail(1)) SWIG_fail
; 
5760         arg2 
= (int)(SWIG_As_int(obj1
));  
5761         if (SWIG_arg_fail(2)) SWIG_fail
; 
5764         arg3 
= (int)(SWIG_As_int(obj2
));  
5765         if (SWIG_arg_fail(3)) SWIG_fail
; 
5768         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5770             wxRect 
&_result_ref 
= (arg1
)->Deflate(arg2
,arg3
); 
5771             result 
= (wxRect 
*) &_result_ref
; 
5774         wxPyEndAllowThreads(__tstate
); 
5775         if (PyErr_Occurred()) SWIG_fail
; 
5777     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0); 
5784 static PyObject 
*_wrap_Rect_OffsetXY(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5785     PyObject 
*resultobj
; 
5786     wxRect 
*arg1 
= (wxRect 
*) 0 ; 
5789     PyObject 
* obj0 
= 0 ; 
5790     PyObject 
* obj1 
= 0 ; 
5791     PyObject 
* obj2 
= 0 ; 
5793         (char *) "self",(char *) "dx",(char *) "dy", NULL 
 
5796     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_OffsetXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
5797     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION 
| 0); 
5798     if (SWIG_arg_fail(1)) SWIG_fail
; 
5800         arg2 
= (int)(SWIG_As_int(obj1
));  
5801         if (SWIG_arg_fail(2)) SWIG_fail
; 
5804         arg3 
= (int)(SWIG_As_int(obj2
));  
5805         if (SWIG_arg_fail(3)) SWIG_fail
; 
5808         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5809         (arg1
)->Offset(arg2
,arg3
); 
5811         wxPyEndAllowThreads(__tstate
); 
5812         if (PyErr_Occurred()) SWIG_fail
; 
5814     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
5821 static PyObject 
*_wrap_Rect_Offset(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5822     PyObject 
*resultobj
; 
5823     wxRect 
*arg1 
= (wxRect 
*) 0 ; 
5826     PyObject 
* obj0 
= 0 ; 
5827     PyObject 
* obj1 
= 0 ; 
5829         (char *) "self",(char *) "pt", NULL 
 
5832     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Offset",kwnames
,&obj0
,&obj1
)) goto fail
; 
5833     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION 
| 0); 
5834     if (SWIG_arg_fail(1)) SWIG_fail
; 
5837         if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
5840         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5841         (arg1
)->Offset((wxPoint 
const &)*arg2
); 
5843         wxPyEndAllowThreads(__tstate
); 
5844         if (PyErr_Occurred()) SWIG_fail
; 
5846     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
5853 static PyObject 
*_wrap_Rect_Intersect(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5854     PyObject 
*resultobj
; 
5855     wxRect 
*arg1 
= (wxRect 
*) 0 ; 
5859     PyObject 
* obj0 
= 0 ; 
5860     PyObject 
* obj1 
= 0 ; 
5862         (char *) "self",(char *) "rect", NULL 
 
5865     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersect",kwnames
,&obj0
,&obj1
)) goto fail
; 
5866     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION 
| 0); 
5867     if (SWIG_arg_fail(1)) SWIG_fail
; 
5870         if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
; 
5873         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5874         result 
= (arg1
)->Intersect((wxRect 
const &)*arg2
); 
5876         wxPyEndAllowThreads(__tstate
); 
5877         if (PyErr_Occurred()) SWIG_fail
; 
5881         resultptr 
= new wxRect((wxRect 
&)(result
)); 
5882         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1); 
5890 static PyObject 
*_wrap_Rect_Union(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5891     PyObject 
*resultobj
; 
5892     wxRect 
*arg1 
= (wxRect 
*) 0 ; 
5896     PyObject 
* obj0 
= 0 ; 
5897     PyObject 
* obj1 
= 0 ; 
5899         (char *) "self",(char *) "rect", NULL 
 
5902     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Union",kwnames
,&obj0
,&obj1
)) goto fail
; 
5903     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION 
| 0); 
5904     if (SWIG_arg_fail(1)) SWIG_fail
; 
5907         if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
; 
5910         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5911         result 
= (arg1
)->Union((wxRect 
const &)*arg2
); 
5913         wxPyEndAllowThreads(__tstate
); 
5914         if (PyErr_Occurred()) SWIG_fail
; 
5918         resultptr 
= new wxRect((wxRect 
&)(result
)); 
5919         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1); 
5927 static PyObject 
*_wrap_Rect___add__(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5928     PyObject 
*resultobj
; 
5929     wxRect 
*arg1 
= (wxRect 
*) 0 ; 
5933     PyObject 
* obj0 
= 0 ; 
5934     PyObject 
* obj1 
= 0 ; 
5936         (char *) "self",(char *) "rect", NULL 
 
5939     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___add__",kwnames
,&obj0
,&obj1
)) goto fail
; 
5940     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION 
| 0); 
5941     if (SWIG_arg_fail(1)) SWIG_fail
; 
5944         if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
; 
5947         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5948         result 
= ((wxRect 
const *)arg1
)->operator +((wxRect 
const &)*arg2
); 
5950         wxPyEndAllowThreads(__tstate
); 
5951         if (PyErr_Occurred()) SWIG_fail
; 
5955         resultptr 
= new wxRect((wxRect 
&)(result
)); 
5956         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1); 
5964 static PyObject 
*_wrap_Rect___iadd__(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5965     PyObject 
*resultobj
; 
5966     wxRect 
*arg1 
= (wxRect 
*) 0 ; 
5970     PyObject 
* obj0 
= 0 ; 
5971     PyObject 
* obj1 
= 0 ; 
5973         (char *) "self",(char *) "rect", NULL 
 
5976     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
; 
5977     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION 
| SWIG_POINTER_DISOWN
); 
5978     if (SWIG_arg_fail(1)) SWIG_fail
; 
5981         if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
; 
5984         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5986             wxRect 
&_result_ref 
= (arg1
)->operator +=((wxRect 
const &)*arg2
); 
5987             result 
= (wxRect 
*) &_result_ref
; 
5990         wxPyEndAllowThreads(__tstate
); 
5991         if (PyErr_Occurred()) SWIG_fail
; 
5993     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1); 
6000 static PyObject 
*_wrap_Rect___eq__(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6001     PyObject 
*resultobj
; 
6002     wxRect 
*arg1 
= (wxRect 
*) 0 ; 
6006     PyObject 
* obj0 
= 0 ; 
6007     PyObject 
* obj1 
= 0 ; 
6009         (char *) "self",(char *) "rect", NULL 
 
6012     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___eq__",kwnames
,&obj0
,&obj1
)) goto fail
; 
6013     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION 
| 0); 
6014     if (SWIG_arg_fail(1)) SWIG_fail
; 
6017         if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
; 
6020         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6021         result 
= (bool)((wxRect 
const *)arg1
)->operator ==((wxRect 
const &)*arg2
); 
6023         wxPyEndAllowThreads(__tstate
); 
6024         if (PyErr_Occurred()) SWIG_fail
; 
6027         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
6035 static PyObject 
*_wrap_Rect___ne__(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6036     PyObject 
*resultobj
; 
6037     wxRect 
*arg1 
= (wxRect 
*) 0 ; 
6041     PyObject 
* obj0 
= 0 ; 
6042     PyObject 
* obj1 
= 0 ; 
6044         (char *) "self",(char *) "rect", NULL 
 
6047     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___ne__",kwnames
,&obj0
,&obj1
)) goto fail
; 
6048     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION 
| 0); 
6049     if (SWIG_arg_fail(1)) SWIG_fail
; 
6052         if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
; 
6055         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6056         result 
= (bool)((wxRect 
const *)arg1
)->operator !=((wxRect 
const &)*arg2
); 
6058         wxPyEndAllowThreads(__tstate
); 
6059         if (PyErr_Occurred()) SWIG_fail
; 
6062         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
6070 static PyObject 
*_wrap_Rect_InsideXY(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6071     PyObject 
*resultobj
; 
6072     wxRect 
*arg1 
= (wxRect 
*) 0 ; 
6076     PyObject 
* obj0 
= 0 ; 
6077     PyObject 
* obj1 
= 0 ; 
6078     PyObject 
* obj2 
= 0 ; 
6080         (char *) "self",(char *) "x",(char *) "y", NULL 
 
6083     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_InsideXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
6084     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION 
| 0); 
6085     if (SWIG_arg_fail(1)) SWIG_fail
; 
6087         arg2 
= (int)(SWIG_As_int(obj1
));  
6088         if (SWIG_arg_fail(2)) SWIG_fail
; 
6091         arg3 
= (int)(SWIG_As_int(obj2
));  
6092         if (SWIG_arg_fail(3)) SWIG_fail
; 
6095         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6096         result 
= (bool)((wxRect 
const *)arg1
)->Inside(arg2
,arg3
); 
6098         wxPyEndAllowThreads(__tstate
); 
6099         if (PyErr_Occurred()) SWIG_fail
; 
6102         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
6110 static PyObject 
*_wrap_Rect_Inside(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6111     PyObject 
*resultobj
; 
6112     wxRect 
*arg1 
= (wxRect 
*) 0 ; 
6116     PyObject 
* obj0 
= 0 ; 
6117     PyObject 
* obj1 
= 0 ; 
6119         (char *) "self",(char *) "pt", NULL 
 
6122     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Inside",kwnames
,&obj0
,&obj1
)) goto fail
; 
6123     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION 
| 0); 
6124     if (SWIG_arg_fail(1)) SWIG_fail
; 
6127         if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
6130         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6131         result 
= (bool)((wxRect 
const *)arg1
)->Inside((wxPoint 
const &)*arg2
); 
6133         wxPyEndAllowThreads(__tstate
); 
6134         if (PyErr_Occurred()) SWIG_fail
; 
6137         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
6145 static PyObject 
*_wrap_Rect_Intersects(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6146     PyObject 
*resultobj
; 
6147     wxRect 
*arg1 
= (wxRect 
*) 0 ; 
6151     PyObject 
* obj0 
= 0 ; 
6152     PyObject 
* obj1 
= 0 ; 
6154         (char *) "self",(char *) "rect", NULL 
 
6157     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersects",kwnames
,&obj0
,&obj1
)) goto fail
; 
6158     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION 
| 0); 
6159     if (SWIG_arg_fail(1)) SWIG_fail
; 
6162         if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
; 
6165         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6166         result 
= (bool)((wxRect 
const *)arg1
)->Intersects((wxRect 
const &)*arg2
); 
6168         wxPyEndAllowThreads(__tstate
); 
6169         if (PyErr_Occurred()) SWIG_fail
; 
6172         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
6180 static PyObject 
*_wrap_Rect_x_set(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6181     PyObject 
*resultobj
; 
6182     wxRect 
*arg1 
= (wxRect 
*) 0 ; 
6184     PyObject 
* obj0 
= 0 ; 
6185     PyObject 
* obj1 
= 0 ; 
6187         (char *) "self",(char *) "x", NULL 
 
6190     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_x_set",kwnames
,&obj0
,&obj1
)) goto fail
; 
6191     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION 
| 0); 
6192     if (SWIG_arg_fail(1)) SWIG_fail
; 
6194         arg2 
= (int)(SWIG_As_int(obj1
));  
6195         if (SWIG_arg_fail(2)) SWIG_fail
; 
6197     if (arg1
) (arg1
)->x 
= arg2
; 
6199     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
6206 static PyObject 
*_wrap_Rect_x_get(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6207     PyObject 
*resultobj
; 
6208     wxRect 
*arg1 
= (wxRect 
*) 0 ; 
6210     PyObject 
* obj0 
= 0 ; 
6212         (char *) "self", NULL 
 
6215     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_x_get",kwnames
,&obj0
)) goto fail
; 
6216     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION 
| 0); 
6217     if (SWIG_arg_fail(1)) SWIG_fail
; 
6218     result 
= (int) ((arg1
)->x
); 
6221         resultobj 
= SWIG_From_int((int)(result
));  
6229 static PyObject 
*_wrap_Rect_y_set(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6230     PyObject 
*resultobj
; 
6231     wxRect 
*arg1 
= (wxRect 
*) 0 ; 
6233     PyObject 
* obj0 
= 0 ; 
6234     PyObject 
* obj1 
= 0 ; 
6236         (char *) "self",(char *) "y", NULL 
 
6239     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_y_set",kwnames
,&obj0
,&obj1
)) goto fail
; 
6240     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION 
| 0); 
6241     if (SWIG_arg_fail(1)) SWIG_fail
; 
6243         arg2 
= (int)(SWIG_As_int(obj1
));  
6244         if (SWIG_arg_fail(2)) SWIG_fail
; 
6246     if (arg1
) (arg1
)->y 
= arg2
; 
6248     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
6255 static PyObject 
*_wrap_Rect_y_get(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6256     PyObject 
*resultobj
; 
6257     wxRect 
*arg1 
= (wxRect 
*) 0 ; 
6259     PyObject 
* obj0 
= 0 ; 
6261         (char *) "self", NULL 
 
6264     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_y_get",kwnames
,&obj0
)) goto fail
; 
6265     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION 
| 0); 
6266     if (SWIG_arg_fail(1)) SWIG_fail
; 
6267     result 
= (int) ((arg1
)->y
); 
6270         resultobj 
= SWIG_From_int((int)(result
));  
6278 static PyObject 
*_wrap_Rect_width_set(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6279     PyObject 
*resultobj
; 
6280     wxRect 
*arg1 
= (wxRect 
*) 0 ; 
6282     PyObject 
* obj0 
= 0 ; 
6283     PyObject 
* obj1 
= 0 ; 
6285         (char *) "self",(char *) "width", NULL 
 
6288     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_width_set",kwnames
,&obj0
,&obj1
)) goto fail
; 
6289     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION 
| 0); 
6290     if (SWIG_arg_fail(1)) SWIG_fail
; 
6292         arg2 
= (int)(SWIG_As_int(obj1
));  
6293         if (SWIG_arg_fail(2)) SWIG_fail
; 
6295     if (arg1
) (arg1
)->width 
= arg2
; 
6297     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
6304 static PyObject 
*_wrap_Rect_width_get(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6305     PyObject 
*resultobj
; 
6306     wxRect 
*arg1 
= (wxRect 
*) 0 ; 
6308     PyObject 
* obj0 
= 0 ; 
6310         (char *) "self", NULL 
 
6313     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_width_get",kwnames
,&obj0
)) goto fail
; 
6314     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION 
| 0); 
6315     if (SWIG_arg_fail(1)) SWIG_fail
; 
6316     result 
= (int) ((arg1
)->width
); 
6319         resultobj 
= SWIG_From_int((int)(result
));  
6327 static PyObject 
*_wrap_Rect_height_set(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6328     PyObject 
*resultobj
; 
6329     wxRect 
*arg1 
= (wxRect 
*) 0 ; 
6331     PyObject 
* obj0 
= 0 ; 
6332     PyObject 
* obj1 
= 0 ; 
6334         (char *) "self",(char *) "height", NULL 
 
6337     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_height_set",kwnames
,&obj0
,&obj1
)) goto fail
; 
6338     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION 
| 0); 
6339     if (SWIG_arg_fail(1)) SWIG_fail
; 
6341         arg2 
= (int)(SWIG_As_int(obj1
));  
6342         if (SWIG_arg_fail(2)) SWIG_fail
; 
6344     if (arg1
) (arg1
)->height 
= arg2
; 
6346     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
6353 static PyObject 
*_wrap_Rect_height_get(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6354     PyObject 
*resultobj
; 
6355     wxRect 
*arg1 
= (wxRect 
*) 0 ; 
6357     PyObject 
* obj0 
= 0 ; 
6359         (char *) "self", NULL 
 
6362     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_height_get",kwnames
,&obj0
)) goto fail
; 
6363     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION 
| 0); 
6364     if (SWIG_arg_fail(1)) SWIG_fail
; 
6365     result 
= (int) ((arg1
)->height
); 
6368         resultobj 
= SWIG_From_int((int)(result
));  
6376 static PyObject 
*_wrap_Rect_Set(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6377     PyObject 
*resultobj
; 
6378     wxRect 
*arg1 
= (wxRect 
*) 0 ; 
6379     int arg2 
= (int) 0 ; 
6380     int arg3 
= (int) 0 ; 
6381     int arg4 
= (int) 0 ; 
6382     int arg5 
= (int) 0 ; 
6383     PyObject 
* obj0 
= 0 ; 
6384     PyObject 
* obj1 
= 0 ; 
6385     PyObject 
* obj2 
= 0 ; 
6386     PyObject 
* obj3 
= 0 ; 
6387     PyObject 
* obj4 
= 0 ; 
6389         (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL 
 
6392     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Rect_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
; 
6393     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION 
| 0); 
6394     if (SWIG_arg_fail(1)) SWIG_fail
; 
6397             arg2 
= (int)(SWIG_As_int(obj1
));  
6398             if (SWIG_arg_fail(2)) SWIG_fail
; 
6403             arg3 
= (int)(SWIG_As_int(obj2
));  
6404             if (SWIG_arg_fail(3)) SWIG_fail
; 
6409             arg4 
= (int)(SWIG_As_int(obj3
));  
6410             if (SWIG_arg_fail(4)) SWIG_fail
; 
6415             arg5 
= (int)(SWIG_As_int(obj4
));  
6416             if (SWIG_arg_fail(5)) SWIG_fail
; 
6420         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6421         wxRect_Set(arg1
,arg2
,arg3
,arg4
,arg5
); 
6423         wxPyEndAllowThreads(__tstate
); 
6424         if (PyErr_Occurred()) SWIG_fail
; 
6426     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
6433 static PyObject 
*_wrap_Rect_Get(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6434     PyObject 
*resultobj
; 
6435     wxRect 
*arg1 
= (wxRect 
*) 0 ; 
6437     PyObject 
* obj0 
= 0 ; 
6439         (char *) "self", NULL 
 
6442     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_Get",kwnames
,&obj0
)) goto fail
; 
6443     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION 
| 0); 
6444     if (SWIG_arg_fail(1)) SWIG_fail
; 
6446         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6447         result 
= (PyObject 
*)wxRect_Get(arg1
); 
6449         wxPyEndAllowThreads(__tstate
); 
6450         if (PyErr_Occurred()) SWIG_fail
; 
6459 static PyObject 
* Rect_swigregister(PyObject 
*, PyObject 
*args
) { 
6461     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
6462     SWIG_TypeClientData(SWIGTYPE_p_wxRect
, obj
); 
6464     return Py_BuildValue((char *)""); 
6466 static PyObject 
*_wrap_IntersectRect(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6467     PyObject 
*resultobj
; 
6468     wxRect 
*arg1 
= (wxRect 
*) 0 ; 
6469     wxRect 
*arg2 
= (wxRect 
*) 0 ; 
6471     PyObject 
* obj0 
= 0 ; 
6472     PyObject 
* obj1 
= 0 ; 
6474         (char *) "r1",(char *) "r2", NULL 
 
6477     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IntersectRect",kwnames
,&obj0
,&obj1
)) goto fail
; 
6478     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION 
| 0); 
6479     if (SWIG_arg_fail(1)) SWIG_fail
; 
6480     SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION 
| 0); 
6481     if (SWIG_arg_fail(2)) SWIG_fail
; 
6483         if (!wxPyCheckForApp()) SWIG_fail
; 
6484         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6485         result 
= (PyObject 
*)wxIntersectRect(arg1
,arg2
); 
6487         wxPyEndAllowThreads(__tstate
); 
6488         if (PyErr_Occurred()) SWIG_fail
; 
6497 static PyObject 
*_wrap_new_Point2D(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6498     PyObject 
*resultobj
; 
6499     double arg1 
= (double) 0.0 ; 
6500     double arg2 
= (double) 0.0 ; 
6502     PyObject 
* obj0 
= 0 ; 
6503     PyObject 
* obj1 
= 0 ; 
6505         (char *) "x",(char *) "y", NULL 
 
6508     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Point2D",kwnames
,&obj0
,&obj1
)) goto fail
; 
6511             arg1 
= (double)(SWIG_As_double(obj0
));  
6512             if (SWIG_arg_fail(1)) SWIG_fail
; 
6517             arg2 
= (double)(SWIG_As_double(obj1
));  
6518             if (SWIG_arg_fail(2)) SWIG_fail
; 
6522         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6523         result 
= (wxPoint2D 
*)new wxPoint2D(arg1
,arg2
); 
6525         wxPyEndAllowThreads(__tstate
); 
6526         if (PyErr_Occurred()) SWIG_fail
; 
6528     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1); 
6535 static PyObject 
*_wrap_new_Point2DCopy(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6536     PyObject 
*resultobj
; 
6537     wxPoint2D 
*arg1 
= 0 ; 
6540     PyObject 
* obj0 
= 0 ; 
6545     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DCopy",kwnames
,&obj0
)) goto fail
; 
6548         if ( ! wxPoint2D_helper(obj0
, &arg1
)) SWIG_fail
; 
6551         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6552         result 
= (wxPoint2D 
*)new wxPoint2D((wxPoint2D 
const &)*arg1
); 
6554         wxPyEndAllowThreads(__tstate
); 
6555         if (PyErr_Occurred()) SWIG_fail
; 
6557     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1); 
6564 static PyObject 
*_wrap_new_Point2DFromPoint(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6565     PyObject 
*resultobj
; 
6569     PyObject 
* obj0 
= 0 ; 
6574     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DFromPoint",kwnames
,&obj0
)) goto fail
; 
6577         if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
; 
6580         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6581         result 
= (wxPoint2D 
*)new wxPoint2D((wxPoint 
const &)*arg1
); 
6583         wxPyEndAllowThreads(__tstate
); 
6584         if (PyErr_Occurred()) SWIG_fail
; 
6586     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1); 
6593 static PyObject 
*_wrap_Point2D_GetFloor(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6594     PyObject 
*resultobj
; 
6595     wxPoint2D 
*arg1 
= (wxPoint2D 
*) 0 ; 
6596     int *arg2 
= (int *) 0 ; 
6597     int *arg3 
= (int *) 0 ; 
6602     PyObject 
* obj0 
= 0 ; 
6604         (char *) "self", NULL 
 
6607     arg2 
= &temp2
; res2 
= SWIG_NEWOBJ
; 
6608     arg3 
= &temp3
; res3 
= SWIG_NEWOBJ
; 
6609     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetFloor",kwnames
,&obj0
)) goto fail
; 
6610     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION 
| 0); 
6611     if (SWIG_arg_fail(1)) SWIG_fail
; 
6613         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6614         ((wxPoint2D 
const *)arg1
)->GetFloor(arg2
,arg3
); 
6616         wxPyEndAllowThreads(__tstate
); 
6617         if (PyErr_Occurred()) SWIG_fail
; 
6619     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
6620     resultobj 
= t_output_helper(resultobj
, ((res2 
== SWIG_NEWOBJ
) ? 
6621     SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0))); 
6622     resultobj 
= t_output_helper(resultobj
, ((res3 
== SWIG_NEWOBJ
) ? 
6623     SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0))); 
6630 static PyObject 
*_wrap_Point2D_GetRounded(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6631     PyObject 
*resultobj
; 
6632     wxPoint2D 
*arg1 
= (wxPoint2D 
*) 0 ; 
6633     int *arg2 
= (int *) 0 ; 
6634     int *arg3 
= (int *) 0 ; 
6639     PyObject 
* obj0 
= 0 ; 
6641         (char *) "self", NULL 
 
6644     arg2 
= &temp2
; res2 
= SWIG_NEWOBJ
; 
6645     arg3 
= &temp3
; res3 
= SWIG_NEWOBJ
; 
6646     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetRounded",kwnames
,&obj0
)) goto fail
; 
6647     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION 
| 0); 
6648     if (SWIG_arg_fail(1)) SWIG_fail
; 
6650         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6651         ((wxPoint2D 
const *)arg1
)->GetRounded(arg2
,arg3
); 
6653         wxPyEndAllowThreads(__tstate
); 
6654         if (PyErr_Occurred()) SWIG_fail
; 
6656     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
6657     resultobj 
= t_output_helper(resultobj
, ((res2 
== SWIG_NEWOBJ
) ? 
6658     SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0))); 
6659     resultobj 
= t_output_helper(resultobj
, ((res3 
== SWIG_NEWOBJ
) ? 
6660     SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0))); 
6667 static PyObject 
*_wrap_Point2D_GetVectorLength(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6668     PyObject 
*resultobj
; 
6669     wxPoint2D 
*arg1 
= (wxPoint2D 
*) 0 ; 
6671     PyObject 
* obj0 
= 0 ; 
6673         (char *) "self", NULL 
 
6676     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetVectorLength",kwnames
,&obj0
)) goto fail
; 
6677     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION 
| 0); 
6678     if (SWIG_arg_fail(1)) SWIG_fail
; 
6680         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6681         result 
= (double)((wxPoint2D 
const *)arg1
)->GetVectorLength(); 
6683         wxPyEndAllowThreads(__tstate
); 
6684         if (PyErr_Occurred()) SWIG_fail
; 
6687         resultobj 
= SWIG_From_double((double)(result
));  
6695 static PyObject 
*_wrap_Point2D_GetVectorAngle(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6696     PyObject 
*resultobj
; 
6697     wxPoint2D 
*arg1 
= (wxPoint2D 
*) 0 ; 
6699     PyObject 
* obj0 
= 0 ; 
6701         (char *) "self", NULL 
 
6704     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetVectorAngle",kwnames
,&obj0
)) goto fail
; 
6705     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION 
| 0); 
6706     if (SWIG_arg_fail(1)) SWIG_fail
; 
6708         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6709         result 
= (double)((wxPoint2D 
const *)arg1
)->GetVectorAngle(); 
6711         wxPyEndAllowThreads(__tstate
); 
6712         if (PyErr_Occurred()) SWIG_fail
; 
6715         resultobj 
= SWIG_From_double((double)(result
));  
6723 static PyObject 
*_wrap_Point2D_SetVectorLength(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6724     PyObject 
*resultobj
; 
6725     wxPoint2D 
*arg1 
= (wxPoint2D 
*) 0 ; 
6727     PyObject 
* obj0 
= 0 ; 
6728     PyObject 
* obj1 
= 0 ; 
6730         (char *) "self",(char *) "length", NULL 
 
6733     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_SetVectorLength",kwnames
,&obj0
,&obj1
)) goto fail
; 
6734     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION 
| 0); 
6735     if (SWIG_arg_fail(1)) SWIG_fail
; 
6737         arg2 
= (double)(SWIG_As_double(obj1
));  
6738         if (SWIG_arg_fail(2)) SWIG_fail
; 
6741         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6742         (arg1
)->SetVectorLength(arg2
); 
6744         wxPyEndAllowThreads(__tstate
); 
6745         if (PyErr_Occurred()) SWIG_fail
; 
6747     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
6754 static PyObject 
*_wrap_Point2D_SetVectorAngle(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6755     PyObject 
*resultobj
; 
6756     wxPoint2D 
*arg1 
= (wxPoint2D 
*) 0 ; 
6758     PyObject 
* obj0 
= 0 ; 
6759     PyObject 
* obj1 
= 0 ; 
6761         (char *) "self",(char *) "degrees", NULL 
 
6764     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_SetVectorAngle",kwnames
,&obj0
,&obj1
)) goto fail
; 
6765     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION 
| 0); 
6766     if (SWIG_arg_fail(1)) SWIG_fail
; 
6768         arg2 
= (double)(SWIG_As_double(obj1
));  
6769         if (SWIG_arg_fail(2)) SWIG_fail
; 
6772         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6773         (arg1
)->SetVectorAngle(arg2
); 
6775         wxPyEndAllowThreads(__tstate
); 
6776         if (PyErr_Occurred()) SWIG_fail
; 
6778     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
6785 static PyObject 
*_wrap_Point2D_GetDistance(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6786     PyObject 
*resultobj
; 
6787     wxPoint2D 
*arg1 
= (wxPoint2D 
*) 0 ; 
6788     wxPoint2D 
*arg2 
= 0 ; 
6791     PyObject 
* obj0 
= 0 ; 
6792     PyObject 
* obj1 
= 0 ; 
6794         (char *) "self",(char *) "pt", NULL 
 
6797     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistance",kwnames
,&obj0
,&obj1
)) goto fail
; 
6798     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION 
| 0); 
6799     if (SWIG_arg_fail(1)) SWIG_fail
; 
6802         if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
; 
6805         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6806         result 
= (double)((wxPoint2D 
const *)arg1
)->GetDistance((wxPoint2D 
const &)*arg2
); 
6808         wxPyEndAllowThreads(__tstate
); 
6809         if (PyErr_Occurred()) SWIG_fail
; 
6812         resultobj 
= SWIG_From_double((double)(result
));  
6820 static PyObject 
*_wrap_Point2D_GetDistanceSquare(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6821     PyObject 
*resultobj
; 
6822     wxPoint2D 
*arg1 
= (wxPoint2D 
*) 0 ; 
6823     wxPoint2D 
*arg2 
= 0 ; 
6826     PyObject 
* obj0 
= 0 ; 
6827     PyObject 
* obj1 
= 0 ; 
6829         (char *) "self",(char *) "pt", NULL 
 
6832     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistanceSquare",kwnames
,&obj0
,&obj1
)) goto fail
; 
6833     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION 
| 0); 
6834     if (SWIG_arg_fail(1)) SWIG_fail
; 
6837         if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
; 
6840         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6841         result 
= (double)((wxPoint2D 
const *)arg1
)->GetDistanceSquare((wxPoint2D 
const &)*arg2
); 
6843         wxPyEndAllowThreads(__tstate
); 
6844         if (PyErr_Occurred()) SWIG_fail
; 
6847         resultobj 
= SWIG_From_double((double)(result
));  
6855 static PyObject 
*_wrap_Point2D_GetDotProduct(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6856     PyObject 
*resultobj
; 
6857     wxPoint2D 
*arg1 
= (wxPoint2D 
*) 0 ; 
6858     wxPoint2D 
*arg2 
= 0 ; 
6861     PyObject 
* obj0 
= 0 ; 
6862     PyObject 
* obj1 
= 0 ; 
6864         (char *) "self",(char *) "vec", NULL 
 
6867     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDotProduct",kwnames
,&obj0
,&obj1
)) goto fail
; 
6868     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION 
| 0); 
6869     if (SWIG_arg_fail(1)) SWIG_fail
; 
6872         if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
; 
6875         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6876         result 
= (double)((wxPoint2D 
const *)arg1
)->GetDotProduct((wxPoint2D 
const &)*arg2
); 
6878         wxPyEndAllowThreads(__tstate
); 
6879         if (PyErr_Occurred()) SWIG_fail
; 
6882         resultobj 
= SWIG_From_double((double)(result
));  
6890 static PyObject 
*_wrap_Point2D_GetCrossProduct(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6891     PyObject 
*resultobj
; 
6892     wxPoint2D 
*arg1 
= (wxPoint2D 
*) 0 ; 
6893     wxPoint2D 
*arg2 
= 0 ; 
6896     PyObject 
* obj0 
= 0 ; 
6897     PyObject 
* obj1 
= 0 ; 
6899         (char *) "self",(char *) "vec", NULL 
 
6902     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetCrossProduct",kwnames
,&obj0
,&obj1
)) goto fail
; 
6903     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION 
| 0); 
6904     if (SWIG_arg_fail(1)) SWIG_fail
; 
6907         if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
; 
6910         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6911         result 
= (double)((wxPoint2D 
const *)arg1
)->GetCrossProduct((wxPoint2D 
const &)*arg2
); 
6913         wxPyEndAllowThreads(__tstate
); 
6914         if (PyErr_Occurred()) SWIG_fail
; 
6917         resultobj 
= SWIG_From_double((double)(result
));  
6925 static PyObject 
*_wrap_Point2D___neg__(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6926     PyObject 
*resultobj
; 
6927     wxPoint2D 
*arg1 
= (wxPoint2D 
*) 0 ; 
6929     PyObject 
* obj0 
= 0 ; 
6931         (char *) "self", NULL 
 
6934     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D___neg__",kwnames
,&obj0
)) goto fail
; 
6935     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION 
| 0); 
6936     if (SWIG_arg_fail(1)) SWIG_fail
; 
6938         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6939         result 
= (arg1
)->operator -(); 
6941         wxPyEndAllowThreads(__tstate
); 
6942         if (PyErr_Occurred()) SWIG_fail
; 
6945         wxPoint2D 
* resultptr
; 
6946         resultptr 
= new wxPoint2D((wxPoint2D 
&)(result
)); 
6947         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint2D
, 1); 
6955 static PyObject 
*_wrap_Point2D___iadd__(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6956     PyObject 
*resultobj
; 
6957     wxPoint2D 
*arg1 
= (wxPoint2D 
*) 0 ; 
6958     wxPoint2D 
*arg2 
= 0 ; 
6961     PyObject 
* obj0 
= 0 ; 
6962     PyObject 
* obj1 
= 0 ; 
6964         (char *) "self",(char *) "pt", NULL 
 
6967     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
; 
6968     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION 
| SWIG_POINTER_DISOWN
); 
6969     if (SWIG_arg_fail(1)) SWIG_fail
; 
6972         if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
; 
6975         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6977             wxPoint2D 
&_result_ref 
= (arg1
)->operator +=((wxPoint2D 
const &)*arg2
); 
6978             result 
= (wxPoint2D 
*) &_result_ref
; 
6981         wxPyEndAllowThreads(__tstate
); 
6982         if (PyErr_Occurred()) SWIG_fail
; 
6984     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1); 
6991 static PyObject 
*_wrap_Point2D___isub__(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6992     PyObject 
*resultobj
; 
6993     wxPoint2D 
*arg1 
= (wxPoint2D 
*) 0 ; 
6994     wxPoint2D 
*arg2 
= 0 ; 
6997     PyObject 
* obj0 
= 0 ; 
6998     PyObject 
* obj1 
= 0 ; 
7000         (char *) "self",(char *) "pt", NULL 
 
7003     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___isub__",kwnames
,&obj0
,&obj1
)) goto fail
; 
7004     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION 
| SWIG_POINTER_DISOWN
); 
7005     if (SWIG_arg_fail(1)) SWIG_fail
; 
7008         if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
; 
7011         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7013             wxPoint2D 
&_result_ref 
= (arg1
)->operator -=((wxPoint2D 
const &)*arg2
); 
7014             result 
= (wxPoint2D 
*) &_result_ref
; 
7017         wxPyEndAllowThreads(__tstate
); 
7018         if (PyErr_Occurred()) SWIG_fail
; 
7020     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1); 
7027 static PyObject 
*_wrap_Point2D___imul__(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7028     PyObject 
*resultobj
; 
7029     wxPoint2D 
*arg1 
= (wxPoint2D 
*) 0 ; 
7030     wxPoint2D 
*arg2 
= 0 ; 
7033     PyObject 
* obj0 
= 0 ; 
7034     PyObject 
* obj1 
= 0 ; 
7036         (char *) "self",(char *) "pt", NULL 
 
7039     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___imul__",kwnames
,&obj0
,&obj1
)) goto fail
; 
7040     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION 
| SWIG_POINTER_DISOWN
); 
7041     if (SWIG_arg_fail(1)) SWIG_fail
; 
7044         if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
; 
7047         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7049             wxPoint2D 
&_result_ref 
= (arg1
)->operator *=((wxPoint2D 
const &)*arg2
); 
7050             result 
= (wxPoint2D 
*) &_result_ref
; 
7053         wxPyEndAllowThreads(__tstate
); 
7054         if (PyErr_Occurred()) SWIG_fail
; 
7056     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1); 
7063 static PyObject 
*_wrap_Point2D___idiv__(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7064     PyObject 
*resultobj
; 
7065     wxPoint2D 
*arg1 
= (wxPoint2D 
*) 0 ; 
7066     wxPoint2D 
*arg2 
= 0 ; 
7069     PyObject 
* obj0 
= 0 ; 
7070     PyObject 
* obj1 
= 0 ; 
7072         (char *) "self",(char *) "pt", NULL 
 
7075     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___idiv__",kwnames
,&obj0
,&obj1
)) goto fail
; 
7076     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION 
| SWIG_POINTER_DISOWN
); 
7077     if (SWIG_arg_fail(1)) SWIG_fail
; 
7080         if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
; 
7083         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7085             wxPoint2D 
&_result_ref 
= (arg1
)->operator /=((wxPoint2D 
const &)*arg2
); 
7086             result 
= (wxPoint2D 
*) &_result_ref
; 
7089         wxPyEndAllowThreads(__tstate
); 
7090         if (PyErr_Occurred()) SWIG_fail
; 
7092     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1); 
7099 static PyObject 
*_wrap_Point2D___eq__(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7100     PyObject 
*resultobj
; 
7101     wxPoint2D 
*arg1 
= (wxPoint2D 
*) 0 ; 
7102     wxPoint2D 
*arg2 
= 0 ; 
7105     PyObject 
* obj0 
= 0 ; 
7106     PyObject 
* obj1 
= 0 ; 
7108         (char *) "self",(char *) "pt", NULL 
 
7111     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___eq__",kwnames
,&obj0
,&obj1
)) goto fail
; 
7112     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION 
| 0); 
7113     if (SWIG_arg_fail(1)) SWIG_fail
; 
7116         if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
; 
7119         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7120         result 
= (bool)((wxPoint2D 
const *)arg1
)->operator ==((wxPoint2D 
const &)*arg2
); 
7122         wxPyEndAllowThreads(__tstate
); 
7123         if (PyErr_Occurred()) SWIG_fail
; 
7126         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
7134 static PyObject 
*_wrap_Point2D___ne__(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7135     PyObject 
*resultobj
; 
7136     wxPoint2D 
*arg1 
= (wxPoint2D 
*) 0 ; 
7137     wxPoint2D 
*arg2 
= 0 ; 
7140     PyObject 
* obj0 
= 0 ; 
7141     PyObject 
* obj1 
= 0 ; 
7143         (char *) "self",(char *) "pt", NULL 
 
7146     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___ne__",kwnames
,&obj0
,&obj1
)) goto fail
; 
7147     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION 
| 0); 
7148     if (SWIG_arg_fail(1)) SWIG_fail
; 
7151         if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
; 
7154         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7155         result 
= (bool)((wxPoint2D 
const *)arg1
)->operator !=((wxPoint2D 
const &)*arg2
); 
7157         wxPyEndAllowThreads(__tstate
); 
7158         if (PyErr_Occurred()) SWIG_fail
; 
7161         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
7169 static PyObject 
*_wrap_Point2D_x_set(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7170     PyObject 
*resultobj
; 
7171     wxPoint2D 
*arg1 
= (wxPoint2D 
*) 0 ; 
7173     PyObject 
* obj0 
= 0 ; 
7174     PyObject 
* obj1 
= 0 ; 
7176         (char *) "self",(char *) "m_x", NULL 
 
7179     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_x_set",kwnames
,&obj0
,&obj1
)) goto fail
; 
7180     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION 
| 0); 
7181     if (SWIG_arg_fail(1)) SWIG_fail
; 
7183         arg2 
= (double)(SWIG_As_double(obj1
));  
7184         if (SWIG_arg_fail(2)) SWIG_fail
; 
7186     if (arg1
) (arg1
)->m_x 
= arg2
; 
7188     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
7195 static PyObject 
*_wrap_Point2D_x_get(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7196     PyObject 
*resultobj
; 
7197     wxPoint2D 
*arg1 
= (wxPoint2D 
*) 0 ; 
7199     PyObject 
* obj0 
= 0 ; 
7201         (char *) "self", NULL 
 
7204     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_x_get",kwnames
,&obj0
)) goto fail
; 
7205     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION 
| 0); 
7206     if (SWIG_arg_fail(1)) SWIG_fail
; 
7207     result 
= (double) ((arg1
)->m_x
); 
7210         resultobj 
= SWIG_From_double((double)(result
));  
7218 static PyObject 
*_wrap_Point2D_y_set(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7219     PyObject 
*resultobj
; 
7220     wxPoint2D 
*arg1 
= (wxPoint2D 
*) 0 ; 
7222     PyObject 
* obj0 
= 0 ; 
7223     PyObject 
* obj1 
= 0 ; 
7225         (char *) "self",(char *) "m_y", NULL 
 
7228     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_y_set",kwnames
,&obj0
,&obj1
)) goto fail
; 
7229     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION 
| 0); 
7230     if (SWIG_arg_fail(1)) SWIG_fail
; 
7232         arg2 
= (double)(SWIG_As_double(obj1
));  
7233         if (SWIG_arg_fail(2)) SWIG_fail
; 
7235     if (arg1
) (arg1
)->m_y 
= arg2
; 
7237     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
7244 static PyObject 
*_wrap_Point2D_y_get(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7245     PyObject 
*resultobj
; 
7246     wxPoint2D 
*arg1 
= (wxPoint2D 
*) 0 ; 
7248     PyObject 
* obj0 
= 0 ; 
7250         (char *) "self", NULL 
 
7253     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_y_get",kwnames
,&obj0
)) goto fail
; 
7254     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION 
| 0); 
7255     if (SWIG_arg_fail(1)) SWIG_fail
; 
7256     result 
= (double) ((arg1
)->m_y
); 
7259         resultobj 
= SWIG_From_double((double)(result
));  
7267 static PyObject 
*_wrap_Point2D_Set(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7268     PyObject 
*resultobj
; 
7269     wxPoint2D 
*arg1 
= (wxPoint2D 
*) 0 ; 
7270     double arg2 
= (double) 0 ; 
7271     double arg3 
= (double) 0 ; 
7272     PyObject 
* obj0 
= 0 ; 
7273     PyObject 
* obj1 
= 0 ; 
7274     PyObject 
* obj2 
= 0 ; 
7276         (char *) "self",(char *) "x",(char *) "y", NULL 
 
7279     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Point2D_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
7280     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION 
| 0); 
7281     if (SWIG_arg_fail(1)) SWIG_fail
; 
7284             arg2 
= (double)(SWIG_As_double(obj1
));  
7285             if (SWIG_arg_fail(2)) SWIG_fail
; 
7290             arg3 
= (double)(SWIG_As_double(obj2
));  
7291             if (SWIG_arg_fail(3)) SWIG_fail
; 
7295         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7296         wxPoint2D_Set(arg1
,arg2
,arg3
); 
7298         wxPyEndAllowThreads(__tstate
); 
7299         if (PyErr_Occurred()) SWIG_fail
; 
7301     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
7308 static PyObject 
*_wrap_Point2D_Get(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7309     PyObject 
*resultobj
; 
7310     wxPoint2D 
*arg1 
= (wxPoint2D 
*) 0 ; 
7312     PyObject 
* obj0 
= 0 ; 
7314         (char *) "self", NULL 
 
7317     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_Get",kwnames
,&obj0
)) goto fail
; 
7318     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION 
| 0); 
7319     if (SWIG_arg_fail(1)) SWIG_fail
; 
7321         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7322         result 
= (PyObject 
*)wxPoint2D_Get(arg1
); 
7324         wxPyEndAllowThreads(__tstate
); 
7325         if (PyErr_Occurred()) SWIG_fail
; 
7334 static PyObject 
* Point2D_swigregister(PyObject 
*, PyObject 
*args
) { 
7336     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
7337     SWIG_TypeClientData(SWIGTYPE_p_wxPoint2D
, obj
); 
7339     return Py_BuildValue((char *)""); 
7341 static int _wrap_DefaultPosition_set(PyObject 
*) { 
7342     PyErr_SetString(PyExc_TypeError
,"Variable DefaultPosition is read-only."); 
7347 static PyObject 
*_wrap_DefaultPosition_get(void) { 
7350     pyobj 
= SWIG_NewPointerObj((void *)(&wxDefaultPosition
), SWIGTYPE_p_wxPoint
, 0); 
7355 static int _wrap_DefaultSize_set(PyObject 
*) { 
7356     PyErr_SetString(PyExc_TypeError
,"Variable DefaultSize is read-only."); 
7361 static PyObject 
*_wrap_DefaultSize_get(void) { 
7364     pyobj 
= SWIG_NewPointerObj((void *)(&wxDefaultSize
), SWIGTYPE_p_wxSize
, 0); 
7369 static PyObject 
*_wrap_new_InputStream(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7370     PyObject 
*resultobj
; 
7371     PyObject 
*arg1 
= (PyObject 
*) 0 ; 
7372     wxPyInputStream 
*result
; 
7373     PyObject 
* obj0 
= 0 ; 
7378     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_InputStream",kwnames
,&obj0
)) goto fail
; 
7381         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7382         result 
= (wxPyInputStream 
*)new_wxPyInputStream(arg1
); 
7384         wxPyEndAllowThreads(__tstate
); 
7385         if (PyErr_Occurred()) SWIG_fail
; 
7387     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyInputStream
, 1); 
7394 static PyObject 
*_wrap_delete_InputStream(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7395     PyObject 
*resultobj
; 
7396     wxPyInputStream 
*arg1 
= (wxPyInputStream 
*) 0 ; 
7397     PyObject 
* obj0 
= 0 ; 
7399         (char *) "self", NULL 
 
7402     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_InputStream",kwnames
,&obj0
)) goto fail
; 
7403     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION 
| 0); 
7404     if (SWIG_arg_fail(1)) SWIG_fail
; 
7406         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7409         wxPyEndAllowThreads(__tstate
); 
7410         if (PyErr_Occurred()) SWIG_fail
; 
7412     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
7419 static PyObject 
*_wrap_InputStream_close(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7420     PyObject 
*resultobj
; 
7421     wxPyInputStream 
*arg1 
= (wxPyInputStream 
*) 0 ; 
7422     PyObject 
* obj0 
= 0 ; 
7424         (char *) "self", NULL 
 
7427     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_close",kwnames
,&obj0
)) goto fail
; 
7428     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION 
| 0); 
7429     if (SWIG_arg_fail(1)) SWIG_fail
; 
7431         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7434         wxPyEndAllowThreads(__tstate
); 
7435         if (PyErr_Occurred()) SWIG_fail
; 
7437     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
7444 static PyObject 
*_wrap_InputStream_flush(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7445     PyObject 
*resultobj
; 
7446     wxPyInputStream 
*arg1 
= (wxPyInputStream 
*) 0 ; 
7447     PyObject 
* obj0 
= 0 ; 
7449         (char *) "self", NULL 
 
7452     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_flush",kwnames
,&obj0
)) goto fail
; 
7453     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION 
| 0); 
7454     if (SWIG_arg_fail(1)) SWIG_fail
; 
7456         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7459         wxPyEndAllowThreads(__tstate
); 
7460         if (PyErr_Occurred()) SWIG_fail
; 
7462     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
7469 static PyObject 
*_wrap_InputStream_eof(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7470     PyObject 
*resultobj
; 
7471     wxPyInputStream 
*arg1 
= (wxPyInputStream 
*) 0 ; 
7473     PyObject 
* obj0 
= 0 ; 
7475         (char *) "self", NULL 
 
7478     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_eof",kwnames
,&obj0
)) goto fail
; 
7479     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION 
| 0); 
7480     if (SWIG_arg_fail(1)) SWIG_fail
; 
7482         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7483         result 
= (bool)(arg1
)->eof(); 
7485         wxPyEndAllowThreads(__tstate
); 
7486         if (PyErr_Occurred()) SWIG_fail
; 
7489         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
7497 static PyObject 
*_wrap_InputStream_read(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7498     PyObject 
*resultobj
; 
7499     wxPyInputStream 
*arg1 
= (wxPyInputStream 
*) 0 ; 
7500     int arg2 
= (int) -1 ; 
7502     PyObject 
* obj0 
= 0 ; 
7503     PyObject 
* obj1 
= 0 ; 
7505         (char *) "self",(char *) "size", NULL 
 
7508     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_read",kwnames
,&obj0
,&obj1
)) goto fail
; 
7509     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION 
| 0); 
7510     if (SWIG_arg_fail(1)) SWIG_fail
; 
7513             arg2 
= (int)(SWIG_As_int(obj1
));  
7514             if (SWIG_arg_fail(2)) SWIG_fail
; 
7518         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7519         result 
= (PyObject 
*)(arg1
)->read(arg2
); 
7521         wxPyEndAllowThreads(__tstate
); 
7522         if (PyErr_Occurred()) SWIG_fail
; 
7531 static PyObject 
*_wrap_InputStream_readline(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7532     PyObject 
*resultobj
; 
7533     wxPyInputStream 
*arg1 
= (wxPyInputStream 
*) 0 ; 
7534     int arg2 
= (int) -1 ; 
7536     PyObject 
* obj0 
= 0 ; 
7537     PyObject 
* obj1 
= 0 ; 
7539         (char *) "self",(char *) "size", NULL 
 
7542     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_readline",kwnames
,&obj0
,&obj1
)) goto fail
; 
7543     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION 
| 0); 
7544     if (SWIG_arg_fail(1)) SWIG_fail
; 
7547             arg2 
= (int)(SWIG_As_int(obj1
));  
7548             if (SWIG_arg_fail(2)) SWIG_fail
; 
7552         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7553         result 
= (PyObject 
*)(arg1
)->readline(arg2
); 
7555         wxPyEndAllowThreads(__tstate
); 
7556         if (PyErr_Occurred()) SWIG_fail
; 
7565 static PyObject 
*_wrap_InputStream_readlines(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7566     PyObject 
*resultobj
; 
7567     wxPyInputStream 
*arg1 
= (wxPyInputStream 
*) 0 ; 
7568     int arg2 
= (int) -1 ; 
7570     PyObject 
* obj0 
= 0 ; 
7571     PyObject 
* obj1 
= 0 ; 
7573         (char *) "self",(char *) "sizehint", NULL 
 
7576     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_readlines",kwnames
,&obj0
,&obj1
)) goto fail
; 
7577     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION 
| 0); 
7578     if (SWIG_arg_fail(1)) SWIG_fail
; 
7581             arg2 
= (int)(SWIG_As_int(obj1
));  
7582             if (SWIG_arg_fail(2)) SWIG_fail
; 
7586         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7587         result 
= (PyObject 
*)(arg1
)->readlines(arg2
); 
7589         wxPyEndAllowThreads(__tstate
); 
7590         if (PyErr_Occurred()) SWIG_fail
; 
7599 static PyObject 
*_wrap_InputStream_seek(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7600     PyObject 
*resultobj
; 
7601     wxPyInputStream 
*arg1 
= (wxPyInputStream 
*) 0 ; 
7603     int arg3 
= (int) 0 ; 
7604     PyObject 
* obj0 
= 0 ; 
7605     PyObject 
* obj1 
= 0 ; 
7606     PyObject 
* obj2 
= 0 ; 
7608         (char *) "self",(char *) "offset",(char *) "whence", NULL 
 
7611     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:InputStream_seek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
7612     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION 
| 0); 
7613     if (SWIG_arg_fail(1)) SWIG_fail
; 
7615         arg2 
= (int)(SWIG_As_int(obj1
));  
7616         if (SWIG_arg_fail(2)) SWIG_fail
; 
7620             arg3 
= (int)(SWIG_As_int(obj2
));  
7621             if (SWIG_arg_fail(3)) SWIG_fail
; 
7625         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7626         (arg1
)->seek(arg2
,arg3
); 
7628         wxPyEndAllowThreads(__tstate
); 
7629         if (PyErr_Occurred()) SWIG_fail
; 
7631     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
7638 static PyObject 
*_wrap_InputStream_tell(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7639     PyObject 
*resultobj
; 
7640     wxPyInputStream 
*arg1 
= (wxPyInputStream 
*) 0 ; 
7642     PyObject 
* obj0 
= 0 ; 
7644         (char *) "self", NULL 
 
7647     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_tell",kwnames
,&obj0
)) goto fail
; 
7648     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION 
| 0); 
7649     if (SWIG_arg_fail(1)) SWIG_fail
; 
7651         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7652         result 
= (int)(arg1
)->tell(); 
7654         wxPyEndAllowThreads(__tstate
); 
7655         if (PyErr_Occurred()) SWIG_fail
; 
7658         resultobj 
= SWIG_From_int((int)(result
));  
7666 static PyObject 
*_wrap_InputStream_Peek(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7667     PyObject 
*resultobj
; 
7668     wxPyInputStream 
*arg1 
= (wxPyInputStream 
*) 0 ; 
7670     PyObject 
* obj0 
= 0 ; 
7672         (char *) "self", NULL 
 
7675     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_Peek",kwnames
,&obj0
)) goto fail
; 
7676     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION 
| 0); 
7677     if (SWIG_arg_fail(1)) SWIG_fail
; 
7679         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7680         result 
= (char)(arg1
)->Peek(); 
7682         wxPyEndAllowThreads(__tstate
); 
7683         if (PyErr_Occurred()) SWIG_fail
; 
7686         resultobj 
= SWIG_From_char((char)(result
));  
7694 static PyObject 
*_wrap_InputStream_GetC(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7695     PyObject 
*resultobj
; 
7696     wxPyInputStream 
*arg1 
= (wxPyInputStream 
*) 0 ; 
7698     PyObject 
* obj0 
= 0 ; 
7700         (char *) "self", NULL 
 
7703     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_GetC",kwnames
,&obj0
)) goto fail
; 
7704     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION 
| 0); 
7705     if (SWIG_arg_fail(1)) SWIG_fail
; 
7707         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7708         result 
= (char)(arg1
)->GetC(); 
7710         wxPyEndAllowThreads(__tstate
); 
7711         if (PyErr_Occurred()) SWIG_fail
; 
7714         resultobj 
= SWIG_From_char((char)(result
));  
7722 static PyObject 
*_wrap_InputStream_LastRead(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7723     PyObject 
*resultobj
; 
7724     wxPyInputStream 
*arg1 
= (wxPyInputStream 
*) 0 ; 
7726     PyObject 
* obj0 
= 0 ; 
7728         (char *) "self", NULL 
 
7731     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_LastRead",kwnames
,&obj0
)) goto fail
; 
7732     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION 
| 0); 
7733     if (SWIG_arg_fail(1)) SWIG_fail
; 
7735         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7736         result 
= (size_t)(arg1
)->LastRead(); 
7738         wxPyEndAllowThreads(__tstate
); 
7739         if (PyErr_Occurred()) SWIG_fail
; 
7742         resultobj 
= SWIG_From_unsigned_SS_long((unsigned long)(result
));  
7750 static PyObject 
*_wrap_InputStream_CanRead(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7751     PyObject 
*resultobj
; 
7752     wxPyInputStream 
*arg1 
= (wxPyInputStream 
*) 0 ; 
7754     PyObject 
* obj0 
= 0 ; 
7756         (char *) "self", NULL 
 
7759     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_CanRead",kwnames
,&obj0
)) goto fail
; 
7760     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION 
| 0); 
7761     if (SWIG_arg_fail(1)) SWIG_fail
; 
7763         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7764         result 
= (bool)(arg1
)->CanRead(); 
7766         wxPyEndAllowThreads(__tstate
); 
7767         if (PyErr_Occurred()) SWIG_fail
; 
7770         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
7778 static PyObject 
*_wrap_InputStream_Eof(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7779     PyObject 
*resultobj
; 
7780     wxPyInputStream 
*arg1 
= (wxPyInputStream 
*) 0 ; 
7782     PyObject 
* obj0 
= 0 ; 
7784         (char *) "self", NULL 
 
7787     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_Eof",kwnames
,&obj0
)) goto fail
; 
7788     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION 
| 0); 
7789     if (SWIG_arg_fail(1)) SWIG_fail
; 
7791         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7792         result 
= (bool)(arg1
)->Eof(); 
7794         wxPyEndAllowThreads(__tstate
); 
7795         if (PyErr_Occurred()) SWIG_fail
; 
7798         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
7806 static PyObject 
*_wrap_InputStream_Ungetch(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7807     PyObject 
*resultobj
; 
7808     wxPyInputStream 
*arg1 
= (wxPyInputStream 
*) 0 ; 
7811     PyObject 
* obj0 
= 0 ; 
7812     PyObject 
* obj1 
= 0 ; 
7814         (char *) "self",(char *) "c", NULL 
 
7817     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:InputStream_Ungetch",kwnames
,&obj0
,&obj1
)) goto fail
; 
7818     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION 
| 0); 
7819     if (SWIG_arg_fail(1)) SWIG_fail
; 
7821         arg2 
= (char)(SWIG_As_char(obj1
));  
7822         if (SWIG_arg_fail(2)) SWIG_fail
; 
7825         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7826         result 
= (bool)(arg1
)->Ungetch(arg2
); 
7828         wxPyEndAllowThreads(__tstate
); 
7829         if (PyErr_Occurred()) SWIG_fail
; 
7832         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
7840 static PyObject 
*_wrap_InputStream_SeekI(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7841     PyObject 
*resultobj
; 
7842     wxPyInputStream 
*arg1 
= (wxPyInputStream 
*) 0 ; 
7844     wxSeekMode arg3 
= (wxSeekMode
) wxFromStart 
; 
7846     PyObject 
* obj0 
= 0 ; 
7847     PyObject 
* obj1 
= 0 ; 
7848     PyObject 
* obj2 
= 0 ; 
7850         (char *) "self",(char *) "pos",(char *) "mode", NULL 
 
7853     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:InputStream_SeekI",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
7854     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION 
| 0); 
7855     if (SWIG_arg_fail(1)) SWIG_fail
; 
7857         arg2 
= (long)(SWIG_As_long(obj1
));  
7858         if (SWIG_arg_fail(2)) SWIG_fail
; 
7862             arg3 
= (wxSeekMode
)(SWIG_As_int(obj2
));  
7863             if (SWIG_arg_fail(3)) SWIG_fail
; 
7867         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7868         result 
= (long)(arg1
)->SeekI(arg2
,(wxSeekMode 
)arg3
); 
7870         wxPyEndAllowThreads(__tstate
); 
7871         if (PyErr_Occurred()) SWIG_fail
; 
7874         resultobj 
= SWIG_From_long((long)(result
));  
7882 static PyObject 
*_wrap_InputStream_TellI(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7883     PyObject 
*resultobj
; 
7884     wxPyInputStream 
*arg1 
= (wxPyInputStream 
*) 0 ; 
7886     PyObject 
* obj0 
= 0 ; 
7888         (char *) "self", NULL 
 
7891     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_TellI",kwnames
,&obj0
)) goto fail
; 
7892     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION 
| 0); 
7893     if (SWIG_arg_fail(1)) SWIG_fail
; 
7895         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7896         result 
= (long)(arg1
)->TellI(); 
7898         wxPyEndAllowThreads(__tstate
); 
7899         if (PyErr_Occurred()) SWIG_fail
; 
7902         resultobj 
= SWIG_From_long((long)(result
));  
7910 static PyObject 
* InputStream_swigregister(PyObject 
*, PyObject 
*args
) { 
7912     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
7913     SWIG_TypeClientData(SWIGTYPE_p_wxPyInputStream
, obj
); 
7915     return Py_BuildValue((char *)""); 
7917 static PyObject 
*_wrap_OutputStream_write(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7918     PyObject 
*resultobj
; 
7919     wxOutputStream 
*arg1 
= (wxOutputStream 
*) 0 ; 
7920     PyObject 
*arg2 
= (PyObject 
*) 0 ; 
7921     PyObject 
* obj0 
= 0 ; 
7922     PyObject 
* obj1 
= 0 ; 
7924         (char *) "self",(char *) "obj", NULL 
 
7927     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:OutputStream_write",kwnames
,&obj0
,&obj1
)) goto fail
; 
7928     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxOutputStream
, SWIG_POINTER_EXCEPTION 
| 0); 
7929     if (SWIG_arg_fail(1)) SWIG_fail
; 
7932         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7933         wxOutputStream_write(arg1
,arg2
); 
7935         wxPyEndAllowThreads(__tstate
); 
7936         if (PyErr_Occurred()) SWIG_fail
; 
7938     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
7945 static PyObject 
* OutputStream_swigregister(PyObject 
*, PyObject 
*args
) { 
7947     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
7948     SWIG_TypeClientData(SWIGTYPE_p_wxOutputStream
, obj
); 
7950     return Py_BuildValue((char *)""); 
7952 static PyObject 
*_wrap_new_FSFile(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7953     PyObject 
*resultobj
; 
7954     wxInputStream 
*arg1 
= (wxInputStream 
*) 0 ; 
7955     wxString 
*arg2 
= 0 ; 
7956     wxString 
*arg3 
= 0 ; 
7957     wxString 
*arg4 
= 0 ; 
7960     wxPyInputStream 
*temp1 
; 
7961     bool temp2 
= false ; 
7962     bool temp3 
= false ; 
7963     bool temp4 
= false ; 
7964     PyObject 
* obj0 
= 0 ; 
7965     PyObject 
* obj1 
= 0 ; 
7966     PyObject 
* obj2 
= 0 ; 
7967     PyObject 
* obj3 
= 0 ; 
7968     PyObject 
* obj4 
= 0 ; 
7970         (char *) "stream",(char *) "loc",(char *) "mimetype",(char *) "anchor",(char *) "modif", NULL 
 
7973     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:new_FSFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
; 
7975         if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) { 
7976             arg1 
= wxPyCBInputStream_copy((wxPyCBInputStream
*)temp1
->m_wxis
); 
7978             PyErr_Clear();  // clear the failure of the wxPyConvert above 
7979             arg1 
= wxPyCBInputStream_create(obj0
, true); 
7981                 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object."); 
7987         arg2 
= wxString_in_helper(obj1
); 
7988         if (arg2 
== NULL
) SWIG_fail
; 
7992         arg3 
= wxString_in_helper(obj2
); 
7993         if (arg3 
== NULL
) SWIG_fail
; 
7997         arg4 
= wxString_in_helper(obj3
); 
7998         if (arg4 
== NULL
) SWIG_fail
; 
8003         SWIG_Python_ConvertPtr(obj4
, (void **)&argp
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
); 
8004         if (SWIG_arg_fail(5)) SWIG_fail
; 
8006             SWIG_null_ref("wxDateTime"); 
8008         if (SWIG_arg_fail(5)) SWIG_fail
; 
8012         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8013         result 
= (wxFSFile 
*)new wxFSFile(arg1
,(wxString 
const &)*arg2
,(wxString 
const &)*arg3
,(wxString 
const &)*arg4
,arg5
); 
8015         wxPyEndAllowThreads(__tstate
); 
8016         if (PyErr_Occurred()) SWIG_fail
; 
8019         resultobj 
= wxPyMake_wxObject(result
, 1);  
8051 static PyObject 
*_wrap_delete_FSFile(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
8052     PyObject 
*resultobj
; 
8053     wxFSFile 
*arg1 
= (wxFSFile 
*) 0 ; 
8054     PyObject 
* obj0 
= 0 ; 
8056         (char *) "self", NULL 
 
8059     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FSFile",kwnames
,&obj0
)) goto fail
; 
8060     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION 
| 0); 
8061     if (SWIG_arg_fail(1)) SWIG_fail
; 
8063         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8066         wxPyEndAllowThreads(__tstate
); 
8067         if (PyErr_Occurred()) SWIG_fail
; 
8069     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
8076 static PyObject 
*_wrap_FSFile_GetStream(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
8077     PyObject 
*resultobj
; 
8078     wxFSFile 
*arg1 
= (wxFSFile 
*) 0 ; 
8079     wxInputStream 
*result
; 
8080     PyObject 
* obj0 
= 0 ; 
8082         (char *) "self", NULL 
 
8085     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetStream",kwnames
,&obj0
)) goto fail
; 
8086     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION 
| 0); 
8087     if (SWIG_arg_fail(1)) SWIG_fail
; 
8089         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8090         result 
= (wxInputStream 
*)(arg1
)->GetStream(); 
8092         wxPyEndAllowThreads(__tstate
); 
8093         if (PyErr_Occurred()) SWIG_fail
; 
8096         wxPyInputStream 
* _ptr 
= NULL
; 
8099             _ptr 
= new wxPyInputStream(result
); 
8101         resultobj 
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), 0); 
8109 static PyObject 
*_wrap_FSFile_GetMimeType(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
8110     PyObject 
*resultobj
; 
8111     wxFSFile 
*arg1 
= (wxFSFile 
*) 0 ; 
8113     PyObject 
* obj0 
= 0 ; 
8115         (char *) "self", NULL 
 
8118     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetMimeType",kwnames
,&obj0
)) goto fail
; 
8119     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION 
| 0); 
8120     if (SWIG_arg_fail(1)) SWIG_fail
; 
8122         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8124             wxString 
const &_result_ref 
= (arg1
)->GetMimeType(); 
8125             result 
= (wxString 
*) &_result_ref
; 
8128         wxPyEndAllowThreads(__tstate
); 
8129         if (PyErr_Occurred()) SWIG_fail
; 
8133         resultobj 
= PyUnicode_FromWideChar(result
->c_str(), result
->Len()); 
8135         resultobj 
= PyString_FromStringAndSize(result
->c_str(), result
->Len()); 
8144 static PyObject 
*_wrap_FSFile_GetLocation(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
8145     PyObject 
*resultobj
; 
8146     wxFSFile 
*arg1 
= (wxFSFile 
*) 0 ; 
8148     PyObject 
* obj0 
= 0 ; 
8150         (char *) "self", NULL 
 
8153     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetLocation",kwnames
,&obj0
)) goto fail
; 
8154     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION 
| 0); 
8155     if (SWIG_arg_fail(1)) SWIG_fail
; 
8157         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8159             wxString 
const &_result_ref 
= (arg1
)->GetLocation(); 
8160             result 
= (wxString 
*) &_result_ref
; 
8163         wxPyEndAllowThreads(__tstate
); 
8164         if (PyErr_Occurred()) SWIG_fail
; 
8168         resultobj 
= PyUnicode_FromWideChar(result
->c_str(), result
->Len()); 
8170         resultobj 
= PyString_FromStringAndSize(result
->c_str(), result
->Len()); 
8179 static PyObject 
*_wrap_FSFile_GetAnchor(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
8180     PyObject 
*resultobj
; 
8181     wxFSFile 
*arg1 
= (wxFSFile 
*) 0 ; 
8183     PyObject 
* obj0 
= 0 ; 
8185         (char *) "self", NULL 
 
8188     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetAnchor",kwnames
,&obj0
)) goto fail
; 
8189     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION 
| 0); 
8190     if (SWIG_arg_fail(1)) SWIG_fail
; 
8192         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8194             wxString 
const &_result_ref 
= (arg1
)->GetAnchor(); 
8195             result 
= (wxString 
*) &_result_ref
; 
8198         wxPyEndAllowThreads(__tstate
); 
8199         if (PyErr_Occurred()) SWIG_fail
; 
8203         resultobj 
= PyUnicode_FromWideChar(result
->c_str(), result
->Len()); 
8205         resultobj 
= PyString_FromStringAndSize(result
->c_str(), result
->Len()); 
8214 static PyObject 
*_wrap_FSFile_GetModificationTime(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
8215     PyObject 
*resultobj
; 
8216     wxFSFile 
*arg1 
= (wxFSFile 
*) 0 ; 
8218     PyObject 
* obj0 
= 0 ; 
8220         (char *) "self", NULL 
 
8223     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetModificationTime",kwnames
,&obj0
)) goto fail
; 
8224     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION 
| 0); 
8225     if (SWIG_arg_fail(1)) SWIG_fail
; 
8227         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8228         result 
= (arg1
)->GetModificationTime(); 
8230         wxPyEndAllowThreads(__tstate
); 
8231         if (PyErr_Occurred()) SWIG_fail
; 
8234         wxDateTime 
* resultptr
; 
8235         resultptr 
= new wxDateTime((wxDateTime 
&)(result
)); 
8236         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1); 
8244 static PyObject 
* FSFile_swigregister(PyObject 
*, PyObject 
*args
) { 
8246     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
8247     SWIG_TypeClientData(SWIGTYPE_p_wxFSFile
, obj
); 
8249     return Py_BuildValue((char *)""); 
8251 static PyObject 
* CPPFileSystemHandler_swigregister(PyObject 
*, PyObject 
*args
) { 
8253     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
8254     SWIG_TypeClientData(SWIGTYPE_p_wxFileSystemHandler
, obj
); 
8256     return Py_BuildValue((char *)""); 
8258 static PyObject 
*_wrap_new_FileSystemHandler(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
8259     PyObject 
*resultobj
; 
8260     wxPyFileSystemHandler 
*result
; 
8265     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileSystemHandler",kwnames
)) goto fail
; 
8267         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8268         result 
= (wxPyFileSystemHandler 
*)new wxPyFileSystemHandler(); 
8270         wxPyEndAllowThreads(__tstate
); 
8271         if (PyErr_Occurred()) SWIG_fail
; 
8273     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFileSystemHandler
, 1); 
8280 static PyObject 
*_wrap_FileSystemHandler__setCallbackInfo(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
8281     PyObject 
*resultobj
; 
8282     wxPyFileSystemHandler 
*arg1 
= (wxPyFileSystemHandler 
*) 0 ; 
8283     PyObject 
*arg2 
= (PyObject 
*) 0 ; 
8284     PyObject 
*arg3 
= (PyObject 
*) 0 ; 
8285     PyObject 
* obj0 
= 0 ; 
8286     PyObject 
* obj1 
= 0 ; 
8287     PyObject 
* obj2 
= 0 ; 
8289         (char *) "self",(char *) "self",(char *) "_class", NULL 
 
8292     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
8293     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION 
| 0); 
8294     if (SWIG_arg_fail(1)) SWIG_fail
; 
8298         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8299         (arg1
)->_setCallbackInfo(arg2
,arg3
); 
8301         wxPyEndAllowThreads(__tstate
); 
8302         if (PyErr_Occurred()) SWIG_fail
; 
8304     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
8311 static PyObject 
*_wrap_FileSystemHandler_CanOpen(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
8312     PyObject 
*resultobj
; 
8313     wxPyFileSystemHandler 
*arg1 
= (wxPyFileSystemHandler 
*) 0 ; 
8314     wxString 
*arg2 
= 0 ; 
8316     bool temp2 
= false ; 
8317     PyObject 
* obj0 
= 0 ; 
8318     PyObject 
* obj1 
= 0 ; 
8320         (char *) "self",(char *) "location", NULL 
 
8323     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
; 
8324     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION 
| 0); 
8325     if (SWIG_arg_fail(1)) SWIG_fail
; 
8327         arg2 
= wxString_in_helper(obj1
); 
8328         if (arg2 
== NULL
) SWIG_fail
; 
8332         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8333         result 
= (bool)(arg1
)->CanOpen((wxString 
const &)*arg2
); 
8335         wxPyEndAllowThreads(__tstate
); 
8336         if (PyErr_Occurred()) SWIG_fail
; 
8339         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
8355 static PyObject 
*_wrap_FileSystemHandler_OpenFile(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
8356     PyObject 
*resultobj
; 
8357     wxPyFileSystemHandler 
*arg1 
= (wxPyFileSystemHandler 
*) 0 ; 
8358     wxFileSystem 
*arg2 
= 0 ; 
8359     wxString 
*arg3 
= 0 ; 
8361     bool temp3 
= false ; 
8362     PyObject 
* obj0 
= 0 ; 
8363     PyObject 
* obj1 
= 0 ; 
8364     PyObject 
* obj2 
= 0 ; 
8366         (char *) "self",(char *) "fs",(char *) "location", NULL 
 
8369     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
8370     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION 
| 0); 
8371     if (SWIG_arg_fail(1)) SWIG_fail
; 
8373         SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION 
| 0); 
8374         if (SWIG_arg_fail(2)) SWIG_fail
; 
8376             SWIG_null_ref("wxFileSystem"); 
8378         if (SWIG_arg_fail(2)) SWIG_fail
; 
8381         arg3 
= wxString_in_helper(obj2
); 
8382         if (arg3 
== NULL
) SWIG_fail
; 
8386         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8387         result 
= (wxFSFile 
*)(arg1
)->OpenFile(*arg2
,(wxString 
const &)*arg3
); 
8389         wxPyEndAllowThreads(__tstate
); 
8390         if (PyErr_Occurred()) SWIG_fail
; 
8393         resultobj 
= wxPyMake_wxObject(result
, 1);  
8409 static PyObject 
*_wrap_FileSystemHandler_FindFirst(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
8410     PyObject 
*resultobj
; 
8411     wxPyFileSystemHandler 
*arg1 
= (wxPyFileSystemHandler 
*) 0 ; 
8412     wxString 
*arg2 
= 0 ; 
8413     int arg3 
= (int) 0 ; 
8415     bool temp2 
= false ; 
8416     PyObject 
* obj0 
= 0 ; 
8417     PyObject 
* obj1 
= 0 ; 
8418     PyObject 
* obj2 
= 0 ; 
8420         (char *) "self",(char *) "spec",(char *) "flags", NULL 
 
8423     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystemHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
8424     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION 
| 0); 
8425     if (SWIG_arg_fail(1)) SWIG_fail
; 
8427         arg2 
= wxString_in_helper(obj1
); 
8428         if (arg2 
== NULL
) SWIG_fail
; 
8433             arg3 
= (int)(SWIG_As_int(obj2
));  
8434             if (SWIG_arg_fail(3)) SWIG_fail
; 
8438         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8439         result 
= (arg1
)->FindFirst((wxString 
const &)*arg2
,arg3
); 
8441         wxPyEndAllowThreads(__tstate
); 
8442         if (PyErr_Occurred()) SWIG_fail
; 
8446         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
8448         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
8465 static PyObject 
*_wrap_FileSystemHandler_FindNext(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
8466     PyObject 
*resultobj
; 
8467     wxPyFileSystemHandler 
*arg1 
= (wxPyFileSystemHandler 
*) 0 ; 
8469     PyObject 
* obj0 
= 0 ; 
8471         (char *) "self", NULL 
 
8474     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystemHandler_FindNext",kwnames
,&obj0
)) goto fail
; 
8475     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION 
| 0); 
8476     if (SWIG_arg_fail(1)) SWIG_fail
; 
8478         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8479         result 
= (arg1
)->FindNext(); 
8481         wxPyEndAllowThreads(__tstate
); 
8482         if (PyErr_Occurred()) SWIG_fail
; 
8486         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
8488         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
8497 static PyObject 
*_wrap_FileSystemHandler_GetProtocol(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
8498     PyObject 
*resultobj
; 
8499     wxPyFileSystemHandler 
*arg1 
= (wxPyFileSystemHandler 
*) 0 ; 
8500     wxString 
*arg2 
= 0 ; 
8502     bool temp2 
= false ; 
8503     PyObject 
* obj0 
= 0 ; 
8504     PyObject 
* obj1 
= 0 ; 
8506         (char *) "self",(char *) "location", NULL 
 
8509     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetProtocol",kwnames
,&obj0
,&obj1
)) goto fail
; 
8510     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION 
| 0); 
8511     if (SWIG_arg_fail(1)) SWIG_fail
; 
8513         arg2 
= wxString_in_helper(obj1
); 
8514         if (arg2 
== NULL
) SWIG_fail
; 
8518         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8519         result 
= (arg1
)->GetProtocol((wxString 
const &)*arg2
); 
8521         wxPyEndAllowThreads(__tstate
); 
8522         if (PyErr_Occurred()) SWIG_fail
; 
8526         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
8528         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
8545 static PyObject 
*_wrap_FileSystemHandler_GetLeftLocation(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
8546     PyObject 
*resultobj
; 
8547     wxPyFileSystemHandler 
*arg1 
= (wxPyFileSystemHandler 
*) 0 ; 
8548     wxString 
*arg2 
= 0 ; 
8550     bool temp2 
= false ; 
8551     PyObject 
* obj0 
= 0 ; 
8552     PyObject 
* obj1 
= 0 ; 
8554         (char *) "self",(char *) "location", NULL 
 
8557     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetLeftLocation",kwnames
,&obj0
,&obj1
)) goto fail
; 
8558     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION 
| 0); 
8559     if (SWIG_arg_fail(1)) SWIG_fail
; 
8561         arg2 
= wxString_in_helper(obj1
); 
8562         if (arg2 
== NULL
) SWIG_fail
; 
8566         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8567         result 
= (arg1
)->GetLeftLocation((wxString 
const &)*arg2
); 
8569         wxPyEndAllowThreads(__tstate
); 
8570         if (PyErr_Occurred()) SWIG_fail
; 
8574         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
8576         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
8593 static PyObject 
*_wrap_FileSystemHandler_GetAnchor(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
8594     PyObject 
*resultobj
; 
8595     wxPyFileSystemHandler 
*arg1 
= (wxPyFileSystemHandler 
*) 0 ; 
8596     wxString 
*arg2 
= 0 ; 
8598     bool temp2 
= false ; 
8599     PyObject 
* obj0 
= 0 ; 
8600     PyObject 
* obj1 
= 0 ; 
8602         (char *) "self",(char *) "location", NULL 
 
8605     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetAnchor",kwnames
,&obj0
,&obj1
)) goto fail
; 
8606     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION 
| 0); 
8607     if (SWIG_arg_fail(1)) SWIG_fail
; 
8609         arg2 
= wxString_in_helper(obj1
); 
8610         if (arg2 
== NULL
) SWIG_fail
; 
8614         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8615         result 
= (arg1
)->GetAnchor((wxString 
const &)*arg2
); 
8617         wxPyEndAllowThreads(__tstate
); 
8618         if (PyErr_Occurred()) SWIG_fail
; 
8622         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
8624         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
8641 static PyObject 
*_wrap_FileSystemHandler_GetRightLocation(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
8642     PyObject 
*resultobj
; 
8643     wxPyFileSystemHandler 
*arg1 
= (wxPyFileSystemHandler 
*) 0 ; 
8644     wxString 
*arg2 
= 0 ; 
8646     bool temp2 
= false ; 
8647     PyObject 
* obj0 
= 0 ; 
8648     PyObject 
* obj1 
= 0 ; 
8650         (char *) "self",(char *) "location", NULL 
 
8653     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetRightLocation",kwnames
,&obj0
,&obj1
)) goto fail
; 
8654     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION 
| 0); 
8655     if (SWIG_arg_fail(1)) SWIG_fail
; 
8657         arg2 
= wxString_in_helper(obj1
); 
8658         if (arg2 
== NULL
) SWIG_fail
; 
8662         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8663         result 
= (arg1
)->GetRightLocation((wxString 
const &)*arg2
); 
8665         wxPyEndAllowThreads(__tstate
); 
8666         if (PyErr_Occurred()) SWIG_fail
; 
8670         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
8672         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
8689 static PyObject 
*_wrap_FileSystemHandler_GetMimeTypeFromExt(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
8690     PyObject 
*resultobj
; 
8691     wxPyFileSystemHandler 
*arg1 
= (wxPyFileSystemHandler 
*) 0 ; 
8692     wxString 
*arg2 
= 0 ; 
8694     bool temp2 
= false ; 
8695     PyObject 
* obj0 
= 0 ; 
8696     PyObject 
* obj1 
= 0 ; 
8698         (char *) "self",(char *) "location", NULL 
 
8701     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetMimeTypeFromExt",kwnames
,&obj0
,&obj1
)) goto fail
; 
8702     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION 
| 0); 
8703     if (SWIG_arg_fail(1)) SWIG_fail
; 
8705         arg2 
= wxString_in_helper(obj1
); 
8706         if (arg2 
== NULL
) SWIG_fail
; 
8710         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8711         result 
= (arg1
)->GetMimeTypeFromExt((wxString 
const &)*arg2
); 
8713         wxPyEndAllowThreads(__tstate
); 
8714         if (PyErr_Occurred()) SWIG_fail
; 
8718         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
8720         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
8737 static PyObject 
* FileSystemHandler_swigregister(PyObject 
*, PyObject 
*args
) { 
8739     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
8740     SWIG_TypeClientData(SWIGTYPE_p_wxPyFileSystemHandler
, obj
); 
8742     return Py_BuildValue((char *)""); 
8744 static PyObject 
*_wrap_new_FileSystem(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
8745     PyObject 
*resultobj
; 
8746     wxFileSystem 
*result
; 
8751     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileSystem",kwnames
)) goto fail
; 
8753         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8754         result 
= (wxFileSystem 
*)new wxFileSystem(); 
8756         wxPyEndAllowThreads(__tstate
); 
8757         if (PyErr_Occurred()) SWIG_fail
; 
8760         resultobj 
= wxPyMake_wxObject(result
, 1);  
8768 static PyObject 
*_wrap_delete_FileSystem(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
8769     PyObject 
*resultobj
; 
8770     wxFileSystem 
*arg1 
= (wxFileSystem 
*) 0 ; 
8771     PyObject 
* obj0 
= 0 ; 
8773         (char *) "self", NULL 
 
8776     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileSystem",kwnames
,&obj0
)) goto fail
; 
8777     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION 
| 0); 
8778     if (SWIG_arg_fail(1)) SWIG_fail
; 
8780         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8783         wxPyEndAllowThreads(__tstate
); 
8784         if (PyErr_Occurred()) SWIG_fail
; 
8786     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
8793 static PyObject 
*_wrap_FileSystem_ChangePathTo(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
8794     PyObject 
*resultobj
; 
8795     wxFileSystem 
*arg1 
= (wxFileSystem 
*) 0 ; 
8796     wxString 
*arg2 
= 0 ; 
8797     bool arg3 
= (bool) false ; 
8798     bool temp2 
= false ; 
8799     PyObject 
* obj0 
= 0 ; 
8800     PyObject 
* obj1 
= 0 ; 
8801     PyObject 
* obj2 
= 0 ; 
8803         (char *) "self",(char *) "location",(char *) "is_dir", NULL 
 
8806     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystem_ChangePathTo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
8807     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION 
| 0); 
8808     if (SWIG_arg_fail(1)) SWIG_fail
; 
8810         arg2 
= wxString_in_helper(obj1
); 
8811         if (arg2 
== NULL
) SWIG_fail
; 
8816             arg3 
= (bool)(SWIG_As_bool(obj2
));  
8817             if (SWIG_arg_fail(3)) SWIG_fail
; 
8821         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8822         (arg1
)->ChangePathTo((wxString 
const &)*arg2
,arg3
); 
8824         wxPyEndAllowThreads(__tstate
); 
8825         if (PyErr_Occurred()) SWIG_fail
; 
8827     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
8842 static PyObject 
*_wrap_FileSystem_GetPath(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
8843     PyObject 
*resultobj
; 
8844     wxFileSystem 
*arg1 
= (wxFileSystem 
*) 0 ; 
8846     PyObject 
* obj0 
= 0 ; 
8848         (char *) "self", NULL 
 
8851     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_GetPath",kwnames
,&obj0
)) goto fail
; 
8852     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION 
| 0); 
8853     if (SWIG_arg_fail(1)) SWIG_fail
; 
8855         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8856         result 
= (arg1
)->GetPath(); 
8858         wxPyEndAllowThreads(__tstate
); 
8859         if (PyErr_Occurred()) SWIG_fail
; 
8863         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
8865         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
8874 static PyObject 
*_wrap_FileSystem_OpenFile(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
8875     PyObject 
*resultobj
; 
8876     wxFileSystem 
*arg1 
= (wxFileSystem 
*) 0 ; 
8877     wxString 
*arg2 
= 0 ; 
8879     bool temp2 
= false ; 
8880     PyObject 
* obj0 
= 0 ; 
8881     PyObject 
* obj1 
= 0 ; 
8883         (char *) "self",(char *) "location", NULL 
 
8886     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystem_OpenFile",kwnames
,&obj0
,&obj1
)) goto fail
; 
8887     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION 
| 0); 
8888     if (SWIG_arg_fail(1)) SWIG_fail
; 
8890         arg2 
= wxString_in_helper(obj1
); 
8891         if (arg2 
== NULL
) SWIG_fail
; 
8895         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8896         result 
= (wxFSFile 
*)(arg1
)->OpenFile((wxString 
const &)*arg2
); 
8898         wxPyEndAllowThreads(__tstate
); 
8899         if (PyErr_Occurred()) SWIG_fail
; 
8902         resultobj 
= wxPyMake_wxObject(result
, 1);  
8918 static PyObject 
*_wrap_FileSystem_FindFirst(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
8919     PyObject 
*resultobj
; 
8920     wxFileSystem 
*arg1 
= (wxFileSystem 
*) 0 ; 
8921     wxString 
*arg2 
= 0 ; 
8922     int arg3 
= (int) 0 ; 
8924     bool temp2 
= false ; 
8925     PyObject 
* obj0 
= 0 ; 
8926     PyObject 
* obj1 
= 0 ; 
8927     PyObject 
* obj2 
= 0 ; 
8929         (char *) "self",(char *) "spec",(char *) "flags", NULL 
 
8932     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystem_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
8933     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION 
| 0); 
8934     if (SWIG_arg_fail(1)) SWIG_fail
; 
8936         arg2 
= wxString_in_helper(obj1
); 
8937         if (arg2 
== NULL
) SWIG_fail
; 
8942             arg3 
= (int)(SWIG_As_int(obj2
));  
8943             if (SWIG_arg_fail(3)) SWIG_fail
; 
8947         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8948         result 
= (arg1
)->FindFirst((wxString 
const &)*arg2
,arg3
); 
8950         wxPyEndAllowThreads(__tstate
); 
8951         if (PyErr_Occurred()) SWIG_fail
; 
8955         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
8957         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
8974 static PyObject 
*_wrap_FileSystem_FindNext(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
8975     PyObject 
*resultobj
; 
8976     wxFileSystem 
*arg1 
= (wxFileSystem 
*) 0 ; 
8978     PyObject 
* obj0 
= 0 ; 
8980         (char *) "self", NULL 
 
8983     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_FindNext",kwnames
,&obj0
)) goto fail
; 
8984     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION 
| 0); 
8985     if (SWIG_arg_fail(1)) SWIG_fail
; 
8987         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8988         result 
= (arg1
)->FindNext(); 
8990         wxPyEndAllowThreads(__tstate
); 
8991         if (PyErr_Occurred()) SWIG_fail
; 
8995         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
8997         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
9006 static PyObject 
*_wrap_FileSystem_AddHandler(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9007     PyObject 
*resultobj
; 
9008     wxFileSystemHandler 
*arg1 
= (wxFileSystemHandler 
*) 0 ; 
9009     PyObject 
* obj0 
= 0 ; 
9011         (char *) "handler", NULL 
 
9014     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_AddHandler",kwnames
,&obj0
)) goto fail
; 
9015     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystemHandler
, SWIG_POINTER_EXCEPTION 
| 0); 
9016     if (SWIG_arg_fail(1)) SWIG_fail
; 
9018         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9019         wxFileSystem::AddHandler(arg1
); 
9021         wxPyEndAllowThreads(__tstate
); 
9022         if (PyErr_Occurred()) SWIG_fail
; 
9024     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
9031 static PyObject 
*_wrap_FileSystem_CleanUpHandlers(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9032     PyObject 
*resultobj
; 
9037     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FileSystem_CleanUpHandlers",kwnames
)) goto fail
; 
9039         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9040         wxFileSystem::CleanUpHandlers(); 
9042         wxPyEndAllowThreads(__tstate
); 
9043         if (PyErr_Occurred()) SWIG_fail
; 
9045     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
9052 static PyObject 
*_wrap_FileSystem_FileNameToURL(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9053     PyObject 
*resultobj
; 
9054     wxString 
*arg1 
= 0 ; 
9056     bool temp1 
= false ; 
9057     PyObject 
* obj0 
= 0 ; 
9059         (char *) "filename", NULL 
 
9062     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_FileNameToURL",kwnames
,&obj0
)) goto fail
; 
9064         arg1 
= wxString_in_helper(obj0
); 
9065         if (arg1 
== NULL
) SWIG_fail
; 
9069         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9070         result 
= wxFileSystem::FileNameToURL((wxString 
const &)*arg1
); 
9072         wxPyEndAllowThreads(__tstate
); 
9073         if (PyErr_Occurred()) SWIG_fail
; 
9077         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
9079         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
9096 static PyObject 
*_wrap_FileSystem_URLToFileName(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9097     PyObject 
*resultobj
; 
9098     wxString 
*arg1 
= 0 ; 
9100     bool temp1 
= false ; 
9101     PyObject 
* obj0 
= 0 ; 
9103         (char *) "url", NULL 
 
9106     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_URLToFileName",kwnames
,&obj0
)) goto fail
; 
9108         arg1 
= wxString_in_helper(obj0
); 
9109         if (arg1 
== NULL
) SWIG_fail
; 
9113         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9114         result 
= FileSystem_URLToFileName((wxString 
const &)*arg1
); 
9116         wxPyEndAllowThreads(__tstate
); 
9117         if (PyErr_Occurred()) SWIG_fail
; 
9121         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
9123         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
9140 static PyObject 
* FileSystem_swigregister(PyObject 
*, PyObject 
*args
) { 
9142     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
9143     SWIG_TypeClientData(SWIGTYPE_p_wxFileSystem
, obj
); 
9145     return Py_BuildValue((char *)""); 
9147 static PyObject 
*_wrap_new_InternetFSHandler(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9148     PyObject 
*resultobj
; 
9149     wxInternetFSHandler 
*result
; 
9154     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_InternetFSHandler",kwnames
)) goto fail
; 
9156         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9157         result 
= (wxInternetFSHandler 
*)new wxInternetFSHandler(); 
9159         wxPyEndAllowThreads(__tstate
); 
9160         if (PyErr_Occurred()) SWIG_fail
; 
9162     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxInternetFSHandler
, 1); 
9169 static PyObject 
*_wrap_InternetFSHandler_CanOpen(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9170     PyObject 
*resultobj
; 
9171     wxInternetFSHandler 
*arg1 
= (wxInternetFSHandler 
*) 0 ; 
9172     wxString 
*arg2 
= 0 ; 
9174     bool temp2 
= false ; 
9175     PyObject 
* obj0 
= 0 ; 
9176     PyObject 
* obj1 
= 0 ; 
9178         (char *) "self",(char *) "location", NULL 
 
9181     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:InternetFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
; 
9182     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxInternetFSHandler
, SWIG_POINTER_EXCEPTION 
| 0); 
9183     if (SWIG_arg_fail(1)) SWIG_fail
; 
9185         arg2 
= wxString_in_helper(obj1
); 
9186         if (arg2 
== NULL
) SWIG_fail
; 
9190         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9191         result 
= (bool)(arg1
)->CanOpen((wxString 
const &)*arg2
); 
9193         wxPyEndAllowThreads(__tstate
); 
9194         if (PyErr_Occurred()) SWIG_fail
; 
9197         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
9213 static PyObject 
*_wrap_InternetFSHandler_OpenFile(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9214     PyObject 
*resultobj
; 
9215     wxInternetFSHandler 
*arg1 
= (wxInternetFSHandler 
*) 0 ; 
9216     wxFileSystem 
*arg2 
= 0 ; 
9217     wxString 
*arg3 
= 0 ; 
9219     bool temp3 
= false ; 
9220     PyObject 
* obj0 
= 0 ; 
9221     PyObject 
* obj1 
= 0 ; 
9222     PyObject 
* obj2 
= 0 ; 
9224         (char *) "self",(char *) "fs",(char *) "location", NULL 
 
9227     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:InternetFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
9228     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxInternetFSHandler
, SWIG_POINTER_EXCEPTION 
| 0); 
9229     if (SWIG_arg_fail(1)) SWIG_fail
; 
9231         SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION 
| 0); 
9232         if (SWIG_arg_fail(2)) SWIG_fail
; 
9234             SWIG_null_ref("wxFileSystem"); 
9236         if (SWIG_arg_fail(2)) SWIG_fail
; 
9239         arg3 
= wxString_in_helper(obj2
); 
9240         if (arg3 
== NULL
) SWIG_fail
; 
9244         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9245         result 
= (wxFSFile 
*)(arg1
)->OpenFile(*arg2
,(wxString 
const &)*arg3
); 
9247         wxPyEndAllowThreads(__tstate
); 
9248         if (PyErr_Occurred()) SWIG_fail
; 
9251         resultobj 
= wxPyMake_wxObject(result
, 1);  
9267 static PyObject 
* InternetFSHandler_swigregister(PyObject 
*, PyObject 
*args
) { 
9269     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
9270     SWIG_TypeClientData(SWIGTYPE_p_wxInternetFSHandler
, obj
); 
9272     return Py_BuildValue((char *)""); 
9274 static PyObject 
*_wrap_new_ZipFSHandler(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9275     PyObject 
*resultobj
; 
9276     wxZipFSHandler 
*result
; 
9281     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ZipFSHandler",kwnames
)) goto fail
; 
9283         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9284         result 
= (wxZipFSHandler 
*)new wxZipFSHandler(); 
9286         wxPyEndAllowThreads(__tstate
); 
9287         if (PyErr_Occurred()) SWIG_fail
; 
9289     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxZipFSHandler
, 1); 
9296 static PyObject 
*_wrap_ZipFSHandler_CanOpen(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9297     PyObject 
*resultobj
; 
9298     wxZipFSHandler 
*arg1 
= (wxZipFSHandler 
*) 0 ; 
9299     wxString 
*arg2 
= 0 ; 
9301     bool temp2 
= false ; 
9302     PyObject 
* obj0 
= 0 ; 
9303     PyObject 
* obj1 
= 0 ; 
9305         (char *) "self",(char *) "location", NULL 
 
9308     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ZipFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
; 
9309     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxZipFSHandler
, SWIG_POINTER_EXCEPTION 
| 0); 
9310     if (SWIG_arg_fail(1)) SWIG_fail
; 
9312         arg2 
= wxString_in_helper(obj1
); 
9313         if (arg2 
== NULL
) SWIG_fail
; 
9317         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9318         result 
= (bool)(arg1
)->CanOpen((wxString 
const &)*arg2
); 
9320         wxPyEndAllowThreads(__tstate
); 
9321         if (PyErr_Occurred()) SWIG_fail
; 
9324         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
9340 static PyObject 
*_wrap_ZipFSHandler_OpenFile(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9341     PyObject 
*resultobj
; 
9342     wxZipFSHandler 
*arg1 
= (wxZipFSHandler 
*) 0 ; 
9343     wxFileSystem 
*arg2 
= 0 ; 
9344     wxString 
*arg3 
= 0 ; 
9346     bool temp3 
= false ; 
9347     PyObject 
* obj0 
= 0 ; 
9348     PyObject 
* obj1 
= 0 ; 
9349     PyObject 
* obj2 
= 0 ; 
9351         (char *) "self",(char *) "fs",(char *) "location", NULL 
 
9354     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ZipFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
9355     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxZipFSHandler
, SWIG_POINTER_EXCEPTION 
| 0); 
9356     if (SWIG_arg_fail(1)) SWIG_fail
; 
9358         SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION 
| 0); 
9359         if (SWIG_arg_fail(2)) SWIG_fail
; 
9361             SWIG_null_ref("wxFileSystem"); 
9363         if (SWIG_arg_fail(2)) SWIG_fail
; 
9366         arg3 
= wxString_in_helper(obj2
); 
9367         if (arg3 
== NULL
) SWIG_fail
; 
9371         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9372         result 
= (wxFSFile 
*)(arg1
)->OpenFile(*arg2
,(wxString 
const &)*arg3
); 
9374         wxPyEndAllowThreads(__tstate
); 
9375         if (PyErr_Occurred()) SWIG_fail
; 
9378         resultobj 
= wxPyMake_wxObject(result
, 1);  
9394 static PyObject 
*_wrap_ZipFSHandler_FindFirst(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9395     PyObject 
*resultobj
; 
9396     wxZipFSHandler 
*arg1 
= (wxZipFSHandler 
*) 0 ; 
9397     wxString 
*arg2 
= 0 ; 
9398     int arg3 
= (int) 0 ; 
9400     bool temp2 
= false ; 
9401     PyObject 
* obj0 
= 0 ; 
9402     PyObject 
* obj1 
= 0 ; 
9403     PyObject 
* obj2 
= 0 ; 
9405         (char *) "self",(char *) "spec",(char *) "flags", NULL 
 
9408     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ZipFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
9409     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxZipFSHandler
, SWIG_POINTER_EXCEPTION 
| 0); 
9410     if (SWIG_arg_fail(1)) SWIG_fail
; 
9412         arg2 
= wxString_in_helper(obj1
); 
9413         if (arg2 
== NULL
) SWIG_fail
; 
9418             arg3 
= (int)(SWIG_As_int(obj2
));  
9419             if (SWIG_arg_fail(3)) SWIG_fail
; 
9423         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9424         result 
= (arg1
)->FindFirst((wxString 
const &)*arg2
,arg3
); 
9426         wxPyEndAllowThreads(__tstate
); 
9427         if (PyErr_Occurred()) SWIG_fail
; 
9431         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
9433         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
9450 static PyObject 
*_wrap_ZipFSHandler_FindNext(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9451     PyObject 
*resultobj
; 
9452     wxZipFSHandler 
*arg1 
= (wxZipFSHandler 
*) 0 ; 
9454     PyObject 
* obj0 
= 0 ; 
9456         (char *) "self", NULL 
 
9459     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ZipFSHandler_FindNext",kwnames
,&obj0
)) goto fail
; 
9460     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxZipFSHandler
, SWIG_POINTER_EXCEPTION 
| 0); 
9461     if (SWIG_arg_fail(1)) SWIG_fail
; 
9463         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9464         result 
= (arg1
)->FindNext(); 
9466         wxPyEndAllowThreads(__tstate
); 
9467         if (PyErr_Occurred()) SWIG_fail
; 
9471         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
9473         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
9482 static PyObject 
* ZipFSHandler_swigregister(PyObject 
*, PyObject 
*args
) { 
9484     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
9485     SWIG_TypeClientData(SWIGTYPE_p_wxZipFSHandler
, obj
); 
9487     return Py_BuildValue((char *)""); 
9489 static PyObject 
*_wrap___wxMemoryFSHandler_AddFile_wxImage(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9490     PyObject 
*resultobj
; 
9491     wxString 
*arg1 
= 0 ; 
9494     bool temp1 
= false ; 
9495     PyObject 
* obj0 
= 0 ; 
9496     PyObject 
* obj1 
= 0 ; 
9497     PyObject 
* obj2 
= 0 ; 
9499         (char *) "filename",(char *) "image",(char *) "type", NULL 
 
9502     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
9504         arg1 
= wxString_in_helper(obj0
); 
9505         if (arg1 
== NULL
) SWIG_fail
; 
9509         SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION 
| 0); 
9510         if (SWIG_arg_fail(2)) SWIG_fail
; 
9512             SWIG_null_ref("wxImage"); 
9514         if (SWIG_arg_fail(2)) SWIG_fail
; 
9517         arg3 
= (long)(SWIG_As_long(obj2
));  
9518         if (SWIG_arg_fail(3)) SWIG_fail
; 
9521         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9522         __wxMemoryFSHandler_AddFile_wxImage((wxString 
const &)*arg1
,*arg2
,arg3
); 
9524         wxPyEndAllowThreads(__tstate
); 
9525         if (PyErr_Occurred()) SWIG_fail
; 
9527     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
9542 static PyObject 
*_wrap___wxMemoryFSHandler_AddFile_wxBitmap(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9543     PyObject 
*resultobj
; 
9544     wxString 
*arg1 
= 0 ; 
9545     wxBitmap 
*arg2 
= 0 ; 
9547     bool temp1 
= false ; 
9548     PyObject 
* obj0 
= 0 ; 
9549     PyObject 
* obj1 
= 0 ; 
9550     PyObject 
* obj2 
= 0 ; 
9552         (char *) "filename",(char *) "bitmap",(char *) "type", NULL 
 
9555     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
9557         arg1 
= wxString_in_helper(obj0
); 
9558         if (arg1 
== NULL
) SWIG_fail
; 
9562         SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION 
| 0); 
9563         if (SWIG_arg_fail(2)) SWIG_fail
; 
9565             SWIG_null_ref("wxBitmap"); 
9567         if (SWIG_arg_fail(2)) SWIG_fail
; 
9570         arg3 
= (long)(SWIG_As_long(obj2
));  
9571         if (SWIG_arg_fail(3)) SWIG_fail
; 
9574         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9575         __wxMemoryFSHandler_AddFile_wxBitmap((wxString 
const &)*arg1
,(wxBitmap 
const &)*arg2
,arg3
); 
9577         wxPyEndAllowThreads(__tstate
); 
9578         if (PyErr_Occurred()) SWIG_fail
; 
9580     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
9595 static PyObject 
*_wrap___wxMemoryFSHandler_AddFile_Data(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9596     PyObject 
*resultobj
; 
9597     wxString 
*arg1 
= 0 ; 
9598     PyObject 
*arg2 
= (PyObject 
*) 0 ; 
9599     bool temp1 
= false ; 
9600     PyObject 
* obj0 
= 0 ; 
9601     PyObject 
* obj1 
= 0 ; 
9603         (char *) "filename",(char *) "data", NULL 
 
9606     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:__wxMemoryFSHandler_AddFile_Data",kwnames
,&obj0
,&obj1
)) goto fail
; 
9608         arg1 
= wxString_in_helper(obj0
); 
9609         if (arg1 
== NULL
) SWIG_fail
; 
9614         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9615         __wxMemoryFSHandler_AddFile_Data((wxString 
const &)*arg1
,arg2
); 
9617         wxPyEndAllowThreads(__tstate
); 
9618         if (PyErr_Occurred()) SWIG_fail
; 
9620     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
9635 static PyObject 
*_wrap_new_MemoryFSHandler(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9636     PyObject 
*resultobj
; 
9637     wxMemoryFSHandler 
*result
; 
9642     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MemoryFSHandler",kwnames
)) goto fail
; 
9644         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9645         result 
= (wxMemoryFSHandler 
*)new wxMemoryFSHandler(); 
9647         wxPyEndAllowThreads(__tstate
); 
9648         if (PyErr_Occurred()) SWIG_fail
; 
9650     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMemoryFSHandler
, 1); 
9657 static PyObject 
*_wrap_MemoryFSHandler_RemoveFile(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9658     PyObject 
*resultobj
; 
9659     wxString 
*arg1 
= 0 ; 
9660     bool temp1 
= false ; 
9661     PyObject 
* obj0 
= 0 ; 
9663         (char *) "filename", NULL 
 
9666     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MemoryFSHandler_RemoveFile",kwnames
,&obj0
)) goto fail
; 
9668         arg1 
= wxString_in_helper(obj0
); 
9669         if (arg1 
== NULL
) SWIG_fail
; 
9673         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9674         wxMemoryFSHandler::RemoveFile((wxString 
const &)*arg1
); 
9676         wxPyEndAllowThreads(__tstate
); 
9677         if (PyErr_Occurred()) SWIG_fail
; 
9679     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
9694 static PyObject 
*_wrap_MemoryFSHandler_CanOpen(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9695     PyObject 
*resultobj
; 
9696     wxMemoryFSHandler 
*arg1 
= (wxMemoryFSHandler 
*) 0 ; 
9697     wxString 
*arg2 
= 0 ; 
9699     bool temp2 
= false ; 
9700     PyObject 
* obj0 
= 0 ; 
9701     PyObject 
* obj1 
= 0 ; 
9703         (char *) "self",(char *) "location", NULL 
 
9706     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
; 
9707     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMemoryFSHandler
, SWIG_POINTER_EXCEPTION 
| 0); 
9708     if (SWIG_arg_fail(1)) SWIG_fail
; 
9710         arg2 
= wxString_in_helper(obj1
); 
9711         if (arg2 
== NULL
) SWIG_fail
; 
9715         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9716         result 
= (bool)(arg1
)->CanOpen((wxString 
const &)*arg2
); 
9718         wxPyEndAllowThreads(__tstate
); 
9719         if (PyErr_Occurred()) SWIG_fail
; 
9722         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
9738 static PyObject 
*_wrap_MemoryFSHandler_OpenFile(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9739     PyObject 
*resultobj
; 
9740     wxMemoryFSHandler 
*arg1 
= (wxMemoryFSHandler 
*) 0 ; 
9741     wxFileSystem 
*arg2 
= 0 ; 
9742     wxString 
*arg3 
= 0 ; 
9744     bool temp3 
= false ; 
9745     PyObject 
* obj0 
= 0 ; 
9746     PyObject 
* obj1 
= 0 ; 
9747     PyObject 
* obj2 
= 0 ; 
9749         (char *) "self",(char *) "fs",(char *) "location", NULL 
 
9752     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MemoryFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
9753     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMemoryFSHandler
, SWIG_POINTER_EXCEPTION 
| 0); 
9754     if (SWIG_arg_fail(1)) SWIG_fail
; 
9756         SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION 
| 0); 
9757         if (SWIG_arg_fail(2)) SWIG_fail
; 
9759             SWIG_null_ref("wxFileSystem"); 
9761         if (SWIG_arg_fail(2)) SWIG_fail
; 
9764         arg3 
= wxString_in_helper(obj2
); 
9765         if (arg3 
== NULL
) SWIG_fail
; 
9769         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9770         result 
= (wxFSFile 
*)(arg1
)->OpenFile(*arg2
,(wxString 
const &)*arg3
); 
9772         wxPyEndAllowThreads(__tstate
); 
9773         if (PyErr_Occurred()) SWIG_fail
; 
9776         resultobj 
= wxPyMake_wxObject(result
, 1);  
9792 static PyObject 
*_wrap_MemoryFSHandler_FindFirst(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9793     PyObject 
*resultobj
; 
9794     wxMemoryFSHandler 
*arg1 
= (wxMemoryFSHandler 
*) 0 ; 
9795     wxString 
*arg2 
= 0 ; 
9796     int arg3 
= (int) 0 ; 
9798     bool temp2 
= false ; 
9799     PyObject 
* obj0 
= 0 ; 
9800     PyObject 
* obj1 
= 0 ; 
9801     PyObject 
* obj2 
= 0 ; 
9803         (char *) "self",(char *) "spec",(char *) "flags", NULL 
 
9806     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MemoryFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
9807     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMemoryFSHandler
, SWIG_POINTER_EXCEPTION 
| 0); 
9808     if (SWIG_arg_fail(1)) SWIG_fail
; 
9810         arg2 
= wxString_in_helper(obj1
); 
9811         if (arg2 
== NULL
) SWIG_fail
; 
9816             arg3 
= (int)(SWIG_As_int(obj2
));  
9817             if (SWIG_arg_fail(3)) SWIG_fail
; 
9821         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9822         result 
= (arg1
)->FindFirst((wxString 
const &)*arg2
,arg3
); 
9824         wxPyEndAllowThreads(__tstate
); 
9825         if (PyErr_Occurred()) SWIG_fail
; 
9829         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
9831         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
9848 static PyObject 
*_wrap_MemoryFSHandler_FindNext(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9849     PyObject 
*resultobj
; 
9850     wxMemoryFSHandler 
*arg1 
= (wxMemoryFSHandler 
*) 0 ; 
9852     PyObject 
* obj0 
= 0 ; 
9854         (char *) "self", NULL 
 
9857     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MemoryFSHandler_FindNext",kwnames
,&obj0
)) goto fail
; 
9858     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMemoryFSHandler
, SWIG_POINTER_EXCEPTION 
| 0); 
9859     if (SWIG_arg_fail(1)) SWIG_fail
; 
9861         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9862         result 
= (arg1
)->FindNext(); 
9864         wxPyEndAllowThreads(__tstate
); 
9865         if (PyErr_Occurred()) SWIG_fail
; 
9869         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
9871         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
9880 static PyObject 
* MemoryFSHandler_swigregister(PyObject 
*, PyObject 
*args
) { 
9882     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
9883     SWIG_TypeClientData(SWIGTYPE_p_wxMemoryFSHandler
, obj
); 
9885     return Py_BuildValue((char *)""); 
9887 static PyObject 
*_wrap_ImageHandler_GetName(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9888     PyObject 
*resultobj
; 
9889     wxImageHandler 
*arg1 
= (wxImageHandler 
*) 0 ; 
9891     PyObject 
* obj0 
= 0 ; 
9893         (char *) "self", NULL 
 
9896     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetName",kwnames
,&obj0
)) goto fail
; 
9897     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION 
| 0); 
9898     if (SWIG_arg_fail(1)) SWIG_fail
; 
9900         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9901         result 
= (arg1
)->GetName(); 
9903         wxPyEndAllowThreads(__tstate
); 
9904         if (PyErr_Occurred()) SWIG_fail
; 
9908         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
9910         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
9919 static PyObject 
*_wrap_ImageHandler_GetExtension(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9920     PyObject 
*resultobj
; 
9921     wxImageHandler 
*arg1 
= (wxImageHandler 
*) 0 ; 
9923     PyObject 
* obj0 
= 0 ; 
9925         (char *) "self", NULL 
 
9928     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetExtension",kwnames
,&obj0
)) goto fail
; 
9929     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION 
| 0); 
9930     if (SWIG_arg_fail(1)) SWIG_fail
; 
9932         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9933         result 
= (arg1
)->GetExtension(); 
9935         wxPyEndAllowThreads(__tstate
); 
9936         if (PyErr_Occurred()) SWIG_fail
; 
9940         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
9942         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
9951 static PyObject 
*_wrap_ImageHandler_GetType(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9952     PyObject 
*resultobj
; 
9953     wxImageHandler 
*arg1 
= (wxImageHandler 
*) 0 ; 
9955     PyObject 
* obj0 
= 0 ; 
9957         (char *) "self", NULL 
 
9960     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetType",kwnames
,&obj0
)) goto fail
; 
9961     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION 
| 0); 
9962     if (SWIG_arg_fail(1)) SWIG_fail
; 
9964         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9965         result 
= (long)(arg1
)->GetType(); 
9967         wxPyEndAllowThreads(__tstate
); 
9968         if (PyErr_Occurred()) SWIG_fail
; 
9971         resultobj 
= SWIG_From_long((long)(result
));  
9979 static PyObject 
*_wrap_ImageHandler_GetMimeType(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9980     PyObject 
*resultobj
; 
9981     wxImageHandler 
*arg1 
= (wxImageHandler 
*) 0 ; 
9983     PyObject 
* obj0 
= 0 ; 
9985         (char *) "self", NULL 
 
9988     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetMimeType",kwnames
,&obj0
)) goto fail
; 
9989     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION 
| 0); 
9990     if (SWIG_arg_fail(1)) SWIG_fail
; 
9992         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9993         result 
= (arg1
)->GetMimeType(); 
9995         wxPyEndAllowThreads(__tstate
); 
9996         if (PyErr_Occurred()) SWIG_fail
; 
10000         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
10002         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
10011 static PyObject 
*_wrap_ImageHandler_CanRead(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
10012     PyObject 
*resultobj
; 
10013     wxImageHandler 
*arg1 
= (wxImageHandler 
*) 0 ; 
10014     wxString 
*arg2 
= 0 ; 
10016     bool temp2 
= false ; 
10017     PyObject 
* obj0 
= 0 ; 
10018     PyObject 
* obj1 
= 0 ; 
10019     char *kwnames
[] = { 
10020         (char *) "self",(char *) "name", NULL 
 
10023     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_CanRead",kwnames
,&obj0
,&obj1
)) goto fail
; 
10024     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION 
| 0); 
10025     if (SWIG_arg_fail(1)) SWIG_fail
; 
10027         arg2 
= wxString_in_helper(obj1
); 
10028         if (arg2 
== NULL
) SWIG_fail
; 
10032         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10033         result 
= (bool)(arg1
)->CanRead((wxString 
const &)*arg2
); 
10035         wxPyEndAllowThreads(__tstate
); 
10036         if (PyErr_Occurred()) SWIG_fail
; 
10039         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
10055 static PyObject 
*_wrap_ImageHandler_SetName(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
10056     PyObject 
*resultobj
; 
10057     wxImageHandler 
*arg1 
= (wxImageHandler 
*) 0 ; 
10058     wxString 
*arg2 
= 0 ; 
10059     bool temp2 
= false ; 
10060     PyObject 
* obj0 
= 0 ; 
10061     PyObject 
* obj1 
= 0 ; 
10062     char *kwnames
[] = { 
10063         (char *) "self",(char *) "name", NULL 
 
10066     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetName",kwnames
,&obj0
,&obj1
)) goto fail
; 
10067     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION 
| 0); 
10068     if (SWIG_arg_fail(1)) SWIG_fail
; 
10070         arg2 
= wxString_in_helper(obj1
); 
10071         if (arg2 
== NULL
) SWIG_fail
; 
10075         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10076         (arg1
)->SetName((wxString 
const &)*arg2
); 
10078         wxPyEndAllowThreads(__tstate
); 
10079         if (PyErr_Occurred()) SWIG_fail
; 
10081     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
10096 static PyObject 
*_wrap_ImageHandler_SetExtension(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
10097     PyObject 
*resultobj
; 
10098     wxImageHandler 
*arg1 
= (wxImageHandler 
*) 0 ; 
10099     wxString 
*arg2 
= 0 ; 
10100     bool temp2 
= false ; 
10101     PyObject 
* obj0 
= 0 ; 
10102     PyObject 
* obj1 
= 0 ; 
10103     char *kwnames
[] = { 
10104         (char *) "self",(char *) "extension", NULL 
 
10107     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetExtension",kwnames
,&obj0
,&obj1
)) goto fail
; 
10108     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION 
| 0); 
10109     if (SWIG_arg_fail(1)) SWIG_fail
; 
10111         arg2 
= wxString_in_helper(obj1
); 
10112         if (arg2 
== NULL
) SWIG_fail
; 
10116         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10117         (arg1
)->SetExtension((wxString 
const &)*arg2
); 
10119         wxPyEndAllowThreads(__tstate
); 
10120         if (PyErr_Occurred()) SWIG_fail
; 
10122     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
10137 static PyObject 
*_wrap_ImageHandler_SetType(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
10138     PyObject 
*resultobj
; 
10139     wxImageHandler 
*arg1 
= (wxImageHandler 
*) 0 ; 
10141     PyObject 
* obj0 
= 0 ; 
10142     PyObject 
* obj1 
= 0 ; 
10143     char *kwnames
[] = { 
10144         (char *) "self",(char *) "type", NULL 
 
10147     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetType",kwnames
,&obj0
,&obj1
)) goto fail
; 
10148     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION 
| 0); 
10149     if (SWIG_arg_fail(1)) SWIG_fail
; 
10151         arg2 
= (long)(SWIG_As_long(obj1
));  
10152         if (SWIG_arg_fail(2)) SWIG_fail
; 
10155         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10156         (arg1
)->SetType(arg2
); 
10158         wxPyEndAllowThreads(__tstate
); 
10159         if (PyErr_Occurred()) SWIG_fail
; 
10161     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
10168 static PyObject 
*_wrap_ImageHandler_SetMimeType(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
10169     PyObject 
*resultobj
; 
10170     wxImageHandler 
*arg1 
= (wxImageHandler 
*) 0 ; 
10171     wxString 
*arg2 
= 0 ; 
10172     bool temp2 
= false ; 
10173     PyObject 
* obj0 
= 0 ; 
10174     PyObject 
* obj1 
= 0 ; 
10175     char *kwnames
[] = { 
10176         (char *) "self",(char *) "mimetype", NULL 
 
10179     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetMimeType",kwnames
,&obj0
,&obj1
)) goto fail
; 
10180     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION 
| 0); 
10181     if (SWIG_arg_fail(1)) SWIG_fail
; 
10183         arg2 
= wxString_in_helper(obj1
); 
10184         if (arg2 
== NULL
) SWIG_fail
; 
10188         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10189         (arg1
)->SetMimeType((wxString 
const &)*arg2
); 
10191         wxPyEndAllowThreads(__tstate
); 
10192         if (PyErr_Occurred()) SWIG_fail
; 
10194     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
10209 static PyObject 
* ImageHandler_swigregister(PyObject 
*, PyObject 
*args
) { 
10211     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
10212     SWIG_TypeClientData(SWIGTYPE_p_wxImageHandler
, obj
); 
10214     return Py_BuildValue((char *)""); 
10216 static PyObject 
*_wrap_new_ImageHistogram(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
10217     PyObject 
*resultobj
; 
10218     wxImageHistogram 
*result
; 
10219     char *kwnames
[] = { 
10223     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ImageHistogram",kwnames
)) goto fail
; 
10225         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10226         result 
= (wxImageHistogram 
*)new wxImageHistogram(); 
10228         wxPyEndAllowThreads(__tstate
); 
10229         if (PyErr_Occurred()) SWIG_fail
; 
10231     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImageHistogram
, 1); 
10238 static PyObject 
*_wrap_ImageHistogram_MakeKey(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
10239     PyObject 
*resultobj
; 
10240     unsigned char arg1 
; 
10241     unsigned char arg2 
; 
10242     unsigned char arg3 
; 
10243     unsigned long result
; 
10244     PyObject 
* obj0 
= 0 ; 
10245     PyObject 
* obj1 
= 0 ; 
10246     PyObject 
* obj2 
= 0 ; 
10247     char *kwnames
[] = { 
10248         (char *) "r",(char *) "g",(char *) "b", NULL 
 
10251     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageHistogram_MakeKey",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
10253         arg1 
= (unsigned char)(SWIG_As_unsigned_SS_char(obj0
));  
10254         if (SWIG_arg_fail(1)) SWIG_fail
; 
10257         arg2 
= (unsigned char)(SWIG_As_unsigned_SS_char(obj1
));  
10258         if (SWIG_arg_fail(2)) SWIG_fail
; 
10261         arg3 
= (unsigned char)(SWIG_As_unsigned_SS_char(obj2
));  
10262         if (SWIG_arg_fail(3)) SWIG_fail
; 
10265         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10266         result 
= (unsigned long)wxImageHistogram::MakeKey(arg1
,arg2
,arg3
); 
10268         wxPyEndAllowThreads(__tstate
); 
10269         if (PyErr_Occurred()) SWIG_fail
; 
10272         resultobj 
= SWIG_From_unsigned_SS_long((unsigned long)(result
));  
10280 static PyObject 
*_wrap_ImageHistogram_FindFirstUnusedColour(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
10281     PyObject 
*resultobj
; 
10282     wxImageHistogram 
*arg1 
= (wxImageHistogram 
*) 0 ; 
10283     unsigned char *arg2 
= (unsigned char *) 0 ; 
10284     unsigned char *arg3 
= (unsigned char *) 0 ; 
10285     unsigned char *arg4 
= (unsigned char *) 0 ; 
10286     unsigned char arg5 
= (unsigned char) 1 ; 
10287     unsigned char arg6 
= (unsigned char) 0 ; 
10288     unsigned char arg7 
= (unsigned char) 0 ; 
10290     unsigned char temp2 
; 
10292     unsigned char temp3 
; 
10294     unsigned char temp4 
; 
10296     PyObject 
* obj0 
= 0 ; 
10297     PyObject 
* obj1 
= 0 ; 
10298     PyObject 
* obj2 
= 0 ; 
10299     PyObject 
* obj3 
= 0 ; 
10300     char *kwnames
[] = { 
10301         (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL 
 
10304     arg2 
= &temp2
; res2 
= SWIG_NEWOBJ
; 
10305     arg3 
= &temp3
; res3 
= SWIG_NEWOBJ
; 
10306     arg4 
= &temp4
; res4 
= SWIG_NEWOBJ
; 
10307     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:ImageHistogram_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
10308     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHistogram
, SWIG_POINTER_EXCEPTION 
| 0); 
10309     if (SWIG_arg_fail(1)) SWIG_fail
; 
10312             arg5 
= (unsigned char)(SWIG_As_unsigned_SS_char(obj1
));  
10313             if (SWIG_arg_fail(5)) SWIG_fail
; 
10318             arg6 
= (unsigned char)(SWIG_As_unsigned_SS_char(obj2
));  
10319             if (SWIG_arg_fail(6)) SWIG_fail
; 
10324             arg7 
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));  
10325             if (SWIG_arg_fail(7)) SWIG_fail
; 
10329         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10330         result 
= (bool)((wxImageHistogram 
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
); 
10332         wxPyEndAllowThreads(__tstate
); 
10333         if (PyErr_Occurred()) SWIG_fail
; 
10336         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
10338     resultobj 
= t_output_helper(resultobj
, ((res2 
== SWIG_NEWOBJ
) ? 
10339     SWIG_From_unsigned_SS_char((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_unsigned_char
, 0))); 
10340     resultobj 
= t_output_helper(resultobj
, ((res3 
== SWIG_NEWOBJ
) ? 
10341     SWIG_From_unsigned_SS_char((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, 0))); 
10342     resultobj 
= t_output_helper(resultobj
, ((res4 
== SWIG_NEWOBJ
) ? 
10343     SWIG_From_unsigned_SS_char((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, 0))); 
10350 static PyObject 
*_wrap_ImageHistogram_GetCount(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
10351     PyObject 
*resultobj
; 
10352     wxImageHistogram 
*arg1 
= (wxImageHistogram 
*) 0 ; 
10353     unsigned long arg2 
; 
10354     unsigned long result
; 
10355     PyObject 
* obj0 
= 0 ; 
10356     PyObject 
* obj1 
= 0 ; 
10357     char *kwnames
[] = { 
10358         (char *) "self",(char *) "key", NULL 
 
10361     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHistogram_GetCount",kwnames
,&obj0
,&obj1
)) goto fail
; 
10362     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHistogram
, SWIG_POINTER_EXCEPTION 
| 0); 
10363     if (SWIG_arg_fail(1)) SWIG_fail
; 
10365         arg2 
= (unsigned long)(SWIG_As_unsigned_SS_long(obj1
));  
10366         if (SWIG_arg_fail(2)) SWIG_fail
; 
10369         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10370         result 
= (unsigned long)wxImageHistogram_GetCount(arg1
,arg2
); 
10372         wxPyEndAllowThreads(__tstate
); 
10373         if (PyErr_Occurred()) SWIG_fail
; 
10376         resultobj 
= SWIG_From_unsigned_SS_long((unsigned long)(result
));  
10384 static PyObject 
*_wrap_ImageHistogram_GetCountRGB(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
10385     PyObject 
*resultobj
; 
10386     wxImageHistogram 
*arg1 
= (wxImageHistogram 
*) 0 ; 
10387     unsigned char arg2 
; 
10388     unsigned char arg3 
; 
10389     unsigned char arg4 
; 
10390     unsigned long result
; 
10391     PyObject 
* obj0 
= 0 ; 
10392     PyObject 
* obj1 
= 0 ; 
10393     PyObject 
* obj2 
= 0 ; 
10394     PyObject 
* obj3 
= 0 ; 
10395     char *kwnames
[] = { 
10396         (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL 
 
10399     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ImageHistogram_GetCountRGB",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
10400     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHistogram
, SWIG_POINTER_EXCEPTION 
| 0); 
10401     if (SWIG_arg_fail(1)) SWIG_fail
; 
10403         arg2 
= (unsigned char)(SWIG_As_unsigned_SS_char(obj1
));  
10404         if (SWIG_arg_fail(2)) SWIG_fail
; 
10407         arg3 
= (unsigned char)(SWIG_As_unsigned_SS_char(obj2
));  
10408         if (SWIG_arg_fail(3)) SWIG_fail
; 
10411         arg4 
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));  
10412         if (SWIG_arg_fail(4)) SWIG_fail
; 
10415         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10416         result 
= (unsigned long)wxImageHistogram_GetCountRGB(arg1
,arg2
,arg3
,arg4
); 
10418         wxPyEndAllowThreads(__tstate
); 
10419         if (PyErr_Occurred()) SWIG_fail
; 
10422         resultobj 
= SWIG_From_unsigned_SS_long((unsigned long)(result
));  
10430 static PyObject 
*_wrap_ImageHistogram_GetCountColour(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
10431     PyObject 
*resultobj
; 
10432     wxImageHistogram 
*arg1 
= (wxImageHistogram 
*) 0 ; 
10433     wxColour 
*arg2 
= 0 ; 
10434     unsigned long result
; 
10436     PyObject 
* obj0 
= 0 ; 
10437     PyObject 
* obj1 
= 0 ; 
10438     char *kwnames
[] = { 
10439         (char *) "self",(char *) "colour", NULL 
 
10442     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHistogram_GetCountColour",kwnames
,&obj0
,&obj1
)) goto fail
; 
10443     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHistogram
, SWIG_POINTER_EXCEPTION 
| 0); 
10444     if (SWIG_arg_fail(1)) SWIG_fail
; 
10447         if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
10450         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10451         result 
= (unsigned long)wxImageHistogram_GetCountColour(arg1
,(wxColour 
const &)*arg2
); 
10453         wxPyEndAllowThreads(__tstate
); 
10454         if (PyErr_Occurred()) SWIG_fail
; 
10457         resultobj 
= SWIG_From_unsigned_SS_long((unsigned long)(result
));  
10465 static PyObject 
* ImageHistogram_swigregister(PyObject 
*, PyObject 
*args
) { 
10467     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
10468     SWIG_TypeClientData(SWIGTYPE_p_wxImageHistogram
, obj
); 
10470     return Py_BuildValue((char *)""); 
10472 static PyObject 
*_wrap_new_Image(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
10473     PyObject 
*resultobj
; 
10474     wxString 
*arg1 
= 0 ; 
10475     long arg2 
= (long) wxBITMAP_TYPE_ANY 
; 
10476     int arg3 
= (int) -1 ; 
10478     bool temp1 
= false ; 
10479     PyObject 
* obj0 
= 0 ; 
10480     PyObject 
* obj1 
= 0 ; 
10481     PyObject 
* obj2 
= 0 ; 
10482     char *kwnames
[] = { 
10483         (char *) "name",(char *) "type",(char *) "index", NULL 
 
10486     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Image",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
10488         arg1 
= wxString_in_helper(obj0
); 
10489         if (arg1 
== NULL
) SWIG_fail
; 
10494             arg2 
= (long)(SWIG_As_long(obj1
));  
10495             if (SWIG_arg_fail(2)) SWIG_fail
; 
10500             arg3 
= (int)(SWIG_As_int(obj2
));  
10501             if (SWIG_arg_fail(3)) SWIG_fail
; 
10505         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10506         result 
= (wxImage 
*)new wxImage((wxString 
const &)*arg1
,arg2
,arg3
); 
10508         wxPyEndAllowThreads(__tstate
); 
10509         if (PyErr_Occurred()) SWIG_fail
; 
10511     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1); 
10526 static PyObject 
*_wrap_delete_Image(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
10527     PyObject 
*resultobj
; 
10528     wxImage 
*arg1 
= (wxImage 
*) 0 ; 
10529     PyObject 
* obj0 
= 0 ; 
10530     char *kwnames
[] = { 
10531         (char *) "self", NULL 
 
10534     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Image",kwnames
,&obj0
)) goto fail
; 
10535     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION 
| 0); 
10536     if (SWIG_arg_fail(1)) SWIG_fail
; 
10538         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10541         wxPyEndAllowThreads(__tstate
); 
10542         if (PyErr_Occurred()) SWIG_fail
; 
10544     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
10551 static PyObject 
*_wrap_new_ImageFromMime(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
10552     PyObject 
*resultobj
; 
10553     wxString 
*arg1 
= 0 ; 
10554     wxString 
*arg2 
= 0 ; 
10555     int arg3 
= (int) -1 ; 
10557     bool temp1 
= false ; 
10558     bool temp2 
= false ; 
10559     PyObject 
* obj0 
= 0 ; 
10560     PyObject 
* obj1 
= 0 ; 
10561     PyObject 
* obj2 
= 0 ; 
10562     char *kwnames
[] = { 
10563         (char *) "name",(char *) "mimetype",(char *) "index", NULL 
 
10566     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_ImageFromMime",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
10568         arg1 
= wxString_in_helper(obj0
); 
10569         if (arg1 
== NULL
) SWIG_fail
; 
10573         arg2 
= wxString_in_helper(obj1
); 
10574         if (arg2 
== NULL
) SWIG_fail
; 
10579             arg3 
= (int)(SWIG_As_int(obj2
));  
10580             if (SWIG_arg_fail(3)) SWIG_fail
; 
10584         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10585         result 
= (wxImage 
*)new wxImage((wxString 
const &)*arg1
,(wxString 
const &)*arg2
,arg3
); 
10587         wxPyEndAllowThreads(__tstate
); 
10588         if (PyErr_Occurred()) SWIG_fail
; 
10590     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1); 
10613 static PyObject 
*_wrap_new_ImageFromStream(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
10614     PyObject 
*resultobj
; 
10615     wxInputStream 
*arg1 
= 0 ; 
10616     long arg2 
= (long) wxBITMAP_TYPE_ANY 
; 
10617     int arg3 
= (int) -1 ; 
10619     wxPyInputStream 
*temp1 
; 
10621     PyObject 
* obj0 
= 0 ; 
10622     PyObject 
* obj1 
= 0 ; 
10623     PyObject 
* obj2 
= 0 ; 
10624     char *kwnames
[] = { 
10625         (char *) "stream",(char *) "type",(char *) "index", NULL 
 
10628     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_ImageFromStream",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
10630         if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) { 
10631             arg1 
= temp1
->m_wxis
; 
10634             PyErr_Clear();  // clear the failure of the wxPyConvert above 
10635             arg1 
= wxPyCBInputStream_create(obj0
, false); 
10636             if (arg1 
== NULL
) { 
10637                 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object."); 
10645             arg2 
= (long)(SWIG_As_long(obj1
));  
10646             if (SWIG_arg_fail(2)) SWIG_fail
; 
10651             arg3 
= (int)(SWIG_As_int(obj2
));  
10652             if (SWIG_arg_fail(3)) SWIG_fail
; 
10656         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10657         result 
= (wxImage 
*)new wxImage(*arg1
,arg2
,arg3
); 
10659         wxPyEndAllowThreads(__tstate
); 
10660         if (PyErr_Occurred()) SWIG_fail
; 
10662     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1); 
10664         if (created1
) delete arg1
;  
10669         if (created1
) delete arg1
;  
10675 static PyObject 
*_wrap_new_ImageFromStreamMime(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
10676     PyObject 
*resultobj
; 
10677     wxInputStream 
*arg1 
= 0 ; 
10678     wxString 
*arg2 
= 0 ; 
10679     int arg3 
= (int) -1 ; 
10681     wxPyInputStream 
*temp1 
; 
10683     bool temp2 
= false ; 
10684     PyObject 
* obj0 
= 0 ; 
10685     PyObject 
* obj1 
= 0 ; 
10686     PyObject 
* obj2 
= 0 ; 
10687     char *kwnames
[] = { 
10688         (char *) "stream",(char *) "mimetype",(char *) "index", NULL 
 
10691     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_ImageFromStreamMime",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
10693         if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) { 
10694             arg1 
= temp1
->m_wxis
; 
10697             PyErr_Clear();  // clear the failure of the wxPyConvert above 
10698             arg1 
= wxPyCBInputStream_create(obj0
, false); 
10699             if (arg1 
== NULL
) { 
10700                 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object."); 
10707         arg2 
= wxString_in_helper(obj1
); 
10708         if (arg2 
== NULL
) SWIG_fail
; 
10713             arg3 
= (int)(SWIG_As_int(obj2
));  
10714             if (SWIG_arg_fail(3)) SWIG_fail
; 
10718         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10719         result 
= (wxImage 
*)new wxImage(*arg1
,(wxString 
const &)*arg2
,arg3
); 
10721         wxPyEndAllowThreads(__tstate
); 
10722         if (PyErr_Occurred()) SWIG_fail
; 
10724     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1); 
10726         if (created1
) delete arg1
;  
10735         if (created1
) delete arg1
;  
10745 static PyObject 
*_wrap_new_EmptyImage(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
10746     PyObject 
*resultobj
; 
10747     int arg1 
= (int) 0 ; 
10748     int arg2 
= (int) 0 ; 
10749     bool arg3 
= (bool) true ; 
10751     PyObject 
* obj0 
= 0 ; 
10752     PyObject 
* obj1 
= 0 ; 
10753     PyObject 
* obj2 
= 0 ; 
10754     char *kwnames
[] = { 
10755         (char *) "width",(char *) "height",(char *) "clear", NULL 
 
10758     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_EmptyImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
10761             arg1 
= (int)(SWIG_As_int(obj0
));  
10762             if (SWIG_arg_fail(1)) SWIG_fail
; 
10767             arg2 
= (int)(SWIG_As_int(obj1
));  
10768             if (SWIG_arg_fail(2)) SWIG_fail
; 
10773             arg3 
= (bool)(SWIG_As_bool(obj2
));  
10774             if (SWIG_arg_fail(3)) SWIG_fail
; 
10778         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10779         result 
= (wxImage 
*)new_wxImage(arg1
,arg2
,arg3
); 
10781         wxPyEndAllowThreads(__tstate
); 
10782         if (PyErr_Occurred()) SWIG_fail
; 
10784     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1); 
10791 static PyObject 
*_wrap_new_ImageFromBitmap(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
10792     PyObject 
*resultobj
; 
10793     wxBitmap 
*arg1 
= 0 ; 
10795     PyObject 
* obj0 
= 0 ; 
10796     char *kwnames
[] = { 
10797         (char *) "bitmap", NULL 
 
10800     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ImageFromBitmap",kwnames
,&obj0
)) goto fail
; 
10802         SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION 
| 0); 
10803         if (SWIG_arg_fail(1)) SWIG_fail
; 
10804         if (arg1 
== NULL
) { 
10805             SWIG_null_ref("wxBitmap"); 
10807         if (SWIG_arg_fail(1)) SWIG_fail
; 
10810         if (!wxPyCheckForApp()) SWIG_fail
; 
10811         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10812         result 
= (wxImage 
*)new_wxImage((wxBitmap 
const &)*arg1
); 
10814         wxPyEndAllowThreads(__tstate
); 
10815         if (PyErr_Occurred()) SWIG_fail
; 
10817     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1); 
10824 static PyObject 
*_wrap_new_ImageFromData(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
10825     PyObject 
*resultobj
; 
10828     unsigned char *arg3 
= (unsigned char *) 0 ; 
10830     PyObject 
* obj0 
= 0 ; 
10831     PyObject 
* obj1 
= 0 ; 
10832     PyObject 
* obj2 
= 0 ; 
10833     char *kwnames
[] = { 
10834         (char *) "width",(char *) "height",(char *) "data", NULL 
 
10837     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_ImageFromData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
10839         arg1 
= (int)(SWIG_As_int(obj0
));  
10840         if (SWIG_arg_fail(1)) SWIG_fail
; 
10843         arg2 
= (int)(SWIG_As_int(obj1
));  
10844         if (SWIG_arg_fail(2)) SWIG_fail
; 
10846     SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_unsigned_char
, SWIG_POINTER_EXCEPTION 
| 0); 
10847     if (SWIG_arg_fail(3)) SWIG_fail
; 
10849         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10850         result 
= (wxImage 
*)new_wxImage(arg1
,arg2
,arg3
); 
10852         wxPyEndAllowThreads(__tstate
); 
10853         if (PyErr_Occurred()) SWIG_fail
; 
10855     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1); 
10862 static PyObject 
*_wrap_new_ImageFromDataWithAlpha(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
10863     PyObject 
*resultobj
; 
10866     unsigned char *arg3 
= (unsigned char *) 0 ; 
10867     unsigned char *arg4 
= (unsigned char *) 0 ; 
10869     PyObject 
* obj0 
= 0 ; 
10870     PyObject 
* obj1 
= 0 ; 
10871     PyObject 
* obj2 
= 0 ; 
10872     PyObject 
* obj3 
= 0 ; 
10873     char *kwnames
[] = { 
10874         (char *) "width",(char *) "height",(char *) "data",(char *) "alpha", NULL 
 
10877     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_ImageFromDataWithAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
10879         arg1 
= (int)(SWIG_As_int(obj0
));  
10880         if (SWIG_arg_fail(1)) SWIG_fail
; 
10883         arg2 
= (int)(SWIG_As_int(obj1
));  
10884         if (SWIG_arg_fail(2)) SWIG_fail
; 
10886     SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_unsigned_char
, SWIG_POINTER_EXCEPTION 
| 0); 
10887     if (SWIG_arg_fail(3)) SWIG_fail
; 
10888     SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_unsigned_char
, SWIG_POINTER_EXCEPTION 
| 0); 
10889     if (SWIG_arg_fail(4)) SWIG_fail
; 
10891         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10892         result 
= (wxImage 
*)new_wxImage(arg1
,arg2
,arg3
,arg4
); 
10894         wxPyEndAllowThreads(__tstate
); 
10895         if (PyErr_Occurred()) SWIG_fail
; 
10897     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1); 
10904 static PyObject 
*_wrap_Image_Create(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
10905     PyObject 
*resultobj
; 
10906     wxImage 
*arg1 
= (wxImage 
*) 0 ; 
10909     PyObject 
* obj0 
= 0 ; 
10910     PyObject 
* obj1 
= 0 ; 
10911     PyObject 
* obj2 
= 0 ; 
10912     char *kwnames
[] = { 
10913         (char *) "self",(char *) "width",(char *) "height", NULL 
 
10916     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
10917     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION 
| 0); 
10918     if (SWIG_arg_fail(1)) SWIG_fail
; 
10920         arg2 
= (int)(SWIG_As_int(obj1
));  
10921         if (SWIG_arg_fail(2)) SWIG_fail
; 
10924         arg3 
= (int)(SWIG_As_int(obj2
));  
10925         if (SWIG_arg_fail(3)) SWIG_fail
; 
10928         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10929         (arg1
)->Create(arg2
,arg3
); 
10931         wxPyEndAllowThreads(__tstate
); 
10932         if (PyErr_Occurred()) SWIG_fail
; 
10934     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
10941 static PyObject 
*_wrap_Image_Destroy(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
10942     PyObject 
*resultobj
; 
10943     wxImage 
*arg1 
= (wxImage 
*) 0 ; 
10944     PyObject 
* obj0 
= 0 ; 
10945     char *kwnames
[] = { 
10946         (char *) "self", NULL 
 
10949     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Destroy",kwnames
,&obj0
)) goto fail
; 
10950     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION 
| 0); 
10951     if (SWIG_arg_fail(1)) SWIG_fail
; 
10953         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10956         wxPyEndAllowThreads(__tstate
); 
10957         if (PyErr_Occurred()) SWIG_fail
; 
10959     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
10966 static PyObject 
*_wrap_Image_Scale(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
10967     PyObject 
*resultobj
; 
10968     wxImage 
*arg1 
= (wxImage 
*) 0 ; 
10971     SwigValueWrapper
<wxImage 
> result
; 
10972     PyObject 
* obj0 
= 0 ; 
10973     PyObject 
* obj1 
= 0 ; 
10974     PyObject 
* obj2 
= 0 ; 
10975     char *kwnames
[] = { 
10976         (char *) "self",(char *) "width",(char *) "height", NULL 
 
10979     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
10980     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION 
| 0); 
10981     if (SWIG_arg_fail(1)) SWIG_fail
; 
10983         arg2 
= (int)(SWIG_As_int(obj1
));  
10984         if (SWIG_arg_fail(2)) SWIG_fail
; 
10987         arg3 
= (int)(SWIG_As_int(obj2
));  
10988         if (SWIG_arg_fail(3)) SWIG_fail
; 
10991         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10992         result 
= (arg1
)->Scale(arg2
,arg3
); 
10994         wxPyEndAllowThreads(__tstate
); 
10995         if (PyErr_Occurred()) SWIG_fail
; 
10998         wxImage 
* resultptr
; 
10999         resultptr 
= new wxImage((wxImage 
&)(result
)); 
11000         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1); 
11008 static PyObject 
*_wrap_Image_ShrinkBy(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
11009     PyObject 
*resultobj
; 
11010     wxImage 
*arg1 
= (wxImage 
*) 0 ; 
11013     SwigValueWrapper
<wxImage 
> result
; 
11014     PyObject 
* obj0 
= 0 ; 
11015     PyObject 
* obj1 
= 0 ; 
11016     PyObject 
* obj2 
= 0 ; 
11017     char *kwnames
[] = { 
11018         (char *) "self",(char *) "xFactor",(char *) "yFactor", NULL 
 
11021     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_ShrinkBy",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
11022     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION 
| 0); 
11023     if (SWIG_arg_fail(1)) SWIG_fail
; 
11025         arg2 
= (int)(SWIG_As_int(obj1
));  
11026         if (SWIG_arg_fail(2)) SWIG_fail
; 
11029         arg3 
= (int)(SWIG_As_int(obj2
));  
11030         if (SWIG_arg_fail(3)) SWIG_fail
; 
11033         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11034         result 
= ((wxImage 
const *)arg1
)->ShrinkBy(arg2
,arg3
); 
11036         wxPyEndAllowThreads(__tstate
); 
11037         if (PyErr_Occurred()) SWIG_fail
; 
11040         wxImage 
* resultptr
; 
11041         resultptr 
= new wxImage((wxImage 
&)(result
)); 
11042         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1); 
11050 static PyObject 
*_wrap_Image_Rescale(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
11051     PyObject 
*resultobj
; 
11052     wxImage 
*arg1 
= (wxImage 
*) 0 ; 
11056     PyObject 
* obj0 
= 0 ; 
11057     PyObject 
* obj1 
= 0 ; 
11058     PyObject 
* obj2 
= 0 ; 
11059     char *kwnames
[] = { 
11060         (char *) "self",(char *) "width",(char *) "height", NULL 
 
11063     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Rescale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
11064     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION 
| 0); 
11065     if (SWIG_arg_fail(1)) SWIG_fail
; 
11067         arg2 
= (int)(SWIG_As_int(obj1
));  
11068         if (SWIG_arg_fail(2)) SWIG_fail
; 
11071         arg3 
= (int)(SWIG_As_int(obj2
));  
11072         if (SWIG_arg_fail(3)) SWIG_fail
; 
11075         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11077             wxImage 
&_result_ref 
= (arg1
)->Rescale(arg2
,arg3
); 
11078             result 
= (wxImage 
*) &_result_ref
; 
11081         wxPyEndAllowThreads(__tstate
); 
11082         if (PyErr_Occurred()) SWIG_fail
; 
11084     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 0); 
11091 static PyObject 
*_wrap_Image_Resize(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
11092     PyObject 
*resultobj
; 
11093     wxImage 
*arg1 
= (wxImage 
*) 0 ; 
11095     wxPoint 
*arg3 
= 0 ; 
11096     int arg4 
= (int) -1 ; 
11097     int arg5 
= (int) -1 ; 
11098     int arg6 
= (int) -1 ; 
11102     PyObject 
* obj0 
= 0 ; 
11103     PyObject 
* obj1 
= 0 ; 
11104     PyObject 
* obj2 
= 0 ; 
11105     PyObject 
* obj3 
= 0 ; 
11106     PyObject 
* obj4 
= 0 ; 
11107     PyObject 
* obj5 
= 0 ; 
11108     char *kwnames
[] = { 
11109         (char *) "self",(char *) "size",(char *) "pos",(char *) "r",(char *) "g",(char *) "b", NULL 
 
11112     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:Image_Resize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
; 
11113     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION 
| 0); 
11114     if (SWIG_arg_fail(1)) SWIG_fail
; 
11117         if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
; 
11121         if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
; 
11125             arg4 
= (int)(SWIG_As_int(obj3
));  
11126             if (SWIG_arg_fail(4)) SWIG_fail
; 
11131             arg5 
= (int)(SWIG_As_int(obj4
));  
11132             if (SWIG_arg_fail(5)) SWIG_fail
; 
11137             arg6 
= (int)(SWIG_As_int(obj5
));  
11138             if (SWIG_arg_fail(6)) SWIG_fail
; 
11142         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11144             wxImage 
&_result_ref 
= (arg1
)->Resize((wxSize 
const &)*arg2
,(wxPoint 
const &)*arg3
,arg4
,arg5
,arg6
); 
11145             result 
= (wxImage 
*) &_result_ref
; 
11148         wxPyEndAllowThreads(__tstate
); 
11149         if (PyErr_Occurred()) SWIG_fail
; 
11151     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 0); 
11158 static PyObject 
*_wrap_Image_SetRGB(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
11159     PyObject 
*resultobj
; 
11160     wxImage 
*arg1 
= (wxImage 
*) 0 ; 
11163     unsigned char arg4 
; 
11164     unsigned char arg5 
; 
11165     unsigned char arg6 
; 
11166     PyObject 
* obj0 
= 0 ; 
11167     PyObject 
* obj1 
= 0 ; 
11168     PyObject 
* obj2 
= 0 ; 
11169     PyObject 
* obj3 
= 0 ; 
11170     PyObject 
* obj4 
= 0 ; 
11171     PyObject 
* obj5 
= 0 ; 
11172     char *kwnames
[] = { 
11173         (char *) "self",(char *) "x",(char *) "y",(char *) "r",(char *) "g",(char *) "b", NULL 
 
11176     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Image_SetRGB",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
; 
11177     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION 
| 0); 
11178     if (SWIG_arg_fail(1)) SWIG_fail
; 
11180         arg2 
= (int)(SWIG_As_int(obj1
));  
11181         if (SWIG_arg_fail(2)) SWIG_fail
; 
11184         arg3 
= (int)(SWIG_As_int(obj2
));  
11185         if (SWIG_arg_fail(3)) SWIG_fail
; 
11188         arg4 
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));  
11189         if (SWIG_arg_fail(4)) SWIG_fail
; 
11192         arg5 
= (unsigned char)(SWIG_As_unsigned_SS_char(obj4
));  
11193         if (SWIG_arg_fail(5)) SWIG_fail
; 
11196         arg6 
= (unsigned char)(SWIG_As_unsigned_SS_char(obj5
));  
11197         if (SWIG_arg_fail(6)) SWIG_fail
; 
11200         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11201         (arg1
)->SetRGB(arg2
,arg3
,arg4
,arg5
,arg6
); 
11203         wxPyEndAllowThreads(__tstate
); 
11204         if (PyErr_Occurred()) SWIG_fail
; 
11206     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
11213 static PyObject 
*_wrap_Image_SetRGBRect(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
11214     PyObject 
*resultobj
; 
11215     wxImage 
*arg1 
= (wxImage 
*) 0 ; 
11217     unsigned char arg3 
; 
11218     unsigned char arg4 
; 
11219     unsigned char arg5 
; 
11221     PyObject 
* obj0 
= 0 ; 
11222     PyObject 
* obj1 
= 0 ; 
11223     PyObject 
* obj2 
= 0 ; 
11224     PyObject 
* obj3 
= 0 ; 
11225     PyObject 
* obj4 
= 0 ; 
11226     char *kwnames
[] = { 
11227         (char *) "self",(char *) "rect",(char *) "r",(char *) "g",(char *) "b", NULL 
 
11230     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Image_SetRGBRect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
; 
11231     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION 
| 0); 
11232     if (SWIG_arg_fail(1)) SWIG_fail
; 
11235         if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
; 
11238         arg3 
= (unsigned char)(SWIG_As_unsigned_SS_char(obj2
));  
11239         if (SWIG_arg_fail(3)) SWIG_fail
; 
11242         arg4 
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));  
11243         if (SWIG_arg_fail(4)) SWIG_fail
; 
11246         arg5 
= (unsigned char)(SWIG_As_unsigned_SS_char(obj4
));  
11247         if (SWIG_arg_fail(5)) SWIG_fail
; 
11250         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11251         (arg1
)->SetRGB((wxRect 
const &)*arg2
,arg3
,arg4
,arg5
); 
11253         wxPyEndAllowThreads(__tstate
); 
11254         if (PyErr_Occurred()) SWIG_fail
; 
11256     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
11263 static PyObject 
*_wrap_Image_GetRed(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
11264     PyObject 
*resultobj
; 
11265     wxImage 
*arg1 
= (wxImage 
*) 0 ; 
11268     unsigned char result
; 
11269     PyObject 
* obj0 
= 0 ; 
11270     PyObject 
* obj1 
= 0 ; 
11271     PyObject 
* obj2 
= 0 ; 
11272     char *kwnames
[] = { 
11273         (char *) "self",(char *) "x",(char *) "y", NULL 
 
11276     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetRed",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
11277     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION 
| 0); 
11278     if (SWIG_arg_fail(1)) SWIG_fail
; 
11280         arg2 
= (int)(SWIG_As_int(obj1
));  
11281         if (SWIG_arg_fail(2)) SWIG_fail
; 
11284         arg3 
= (int)(SWIG_As_int(obj2
));  
11285         if (SWIG_arg_fail(3)) SWIG_fail
; 
11288         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11289         result 
= (unsigned char)(arg1
)->GetRed(arg2
,arg3
); 
11291         wxPyEndAllowThreads(__tstate
); 
11292         if (PyErr_Occurred()) SWIG_fail
; 
11295         resultobj 
= SWIG_From_unsigned_SS_char((unsigned char)(result
));  
11303 static PyObject 
*_wrap_Image_GetGreen(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
11304     PyObject 
*resultobj
; 
11305     wxImage 
*arg1 
= (wxImage 
*) 0 ; 
11308     unsigned char result
; 
11309     PyObject 
* obj0 
= 0 ; 
11310     PyObject 
* obj1 
= 0 ; 
11311     PyObject 
* obj2 
= 0 ; 
11312     char *kwnames
[] = { 
11313         (char *) "self",(char *) "x",(char *) "y", NULL 
 
11316     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetGreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
11317     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION 
| 0); 
11318     if (SWIG_arg_fail(1)) SWIG_fail
; 
11320         arg2 
= (int)(SWIG_As_int(obj1
));  
11321         if (SWIG_arg_fail(2)) SWIG_fail
; 
11324         arg3 
= (int)(SWIG_As_int(obj2
));  
11325         if (SWIG_arg_fail(3)) SWIG_fail
; 
11328         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11329         result 
= (unsigned char)(arg1
)->GetGreen(arg2
,arg3
); 
11331         wxPyEndAllowThreads(__tstate
); 
11332         if (PyErr_Occurred()) SWIG_fail
; 
11335         resultobj 
= SWIG_From_unsigned_SS_char((unsigned char)(result
));  
11343 static PyObject 
*_wrap_Image_GetBlue(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
11344     PyObject 
*resultobj
; 
11345     wxImage 
*arg1 
= (wxImage 
*) 0 ; 
11348     unsigned char result
; 
11349     PyObject 
* obj0 
= 0 ; 
11350     PyObject 
* obj1 
= 0 ; 
11351     PyObject 
* obj2 
= 0 ; 
11352     char *kwnames
[] = { 
11353         (char *) "self",(char *) "x",(char *) "y", NULL 
 
11356     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetBlue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
11357     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION 
| 0); 
11358     if (SWIG_arg_fail(1)) SWIG_fail
; 
11360         arg2 
= (int)(SWIG_As_int(obj1
));  
11361         if (SWIG_arg_fail(2)) SWIG_fail
; 
11364         arg3 
= (int)(SWIG_As_int(obj2
));  
11365         if (SWIG_arg_fail(3)) SWIG_fail
; 
11368         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11369         result 
= (unsigned char)(arg1
)->GetBlue(arg2
,arg3
); 
11371         wxPyEndAllowThreads(__tstate
); 
11372         if (PyErr_Occurred()) SWIG_fail
; 
11375         resultobj 
= SWIG_From_unsigned_SS_char((unsigned char)(result
));  
11383 static PyObject 
*_wrap_Image_SetAlpha(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
11384     PyObject 
*resultobj
; 
11385     wxImage 
*arg1 
= (wxImage 
*) 0 ; 
11388     unsigned char arg4 
; 
11389     PyObject 
* obj0 
= 0 ; 
11390     PyObject 
* obj1 
= 0 ; 
11391     PyObject 
* obj2 
= 0 ; 
11392     PyObject 
* obj3 
= 0 ; 
11393     char *kwnames
[] = { 
11394         (char *) "self",(char *) "x",(char *) "y",(char *) "alpha", NULL 
 
11397     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_SetAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
11398     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION 
| 0); 
11399     if (SWIG_arg_fail(1)) SWIG_fail
; 
11401         arg2 
= (int)(SWIG_As_int(obj1
));  
11402         if (SWIG_arg_fail(2)) SWIG_fail
; 
11405         arg3 
= (int)(SWIG_As_int(obj2
));  
11406         if (SWIG_arg_fail(3)) SWIG_fail
; 
11409         arg4 
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));  
11410         if (SWIG_arg_fail(4)) SWIG_fail
; 
11413         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11414         (arg1
)->SetAlpha(arg2
,arg3
,arg4
); 
11416         wxPyEndAllowThreads(__tstate
); 
11417         if (PyErr_Occurred()) SWIG_fail
; 
11419     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
11426 static PyObject 
*_wrap_Image_GetAlpha(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
11427     PyObject 
*resultobj
; 
11428     wxImage 
*arg1 
= (wxImage 
*) 0 ; 
11431     unsigned char result
; 
11432     PyObject 
* obj0 
= 0 ; 
11433     PyObject 
* obj1 
= 0 ; 
11434     PyObject 
* obj2 
= 0 ; 
11435     char *kwnames
[] = { 
11436         (char *) "self",(char *) "x",(char *) "y", NULL 
 
11439     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetAlpha",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
11440     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION 
| 0); 
11441     if (SWIG_arg_fail(1)) SWIG_fail
; 
11443         arg2 
= (int)(SWIG_As_int(obj1
));  
11444         if (SWIG_arg_fail(2)) SWIG_fail
; 
11447         arg3 
= (int)(SWIG_As_int(obj2
));  
11448         if (SWIG_arg_fail(3)) SWIG_fail
; 
11451         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11452         result 
= (unsigned char)(arg1
)->GetAlpha(arg2
,arg3
); 
11454         wxPyEndAllowThreads(__tstate
); 
11455         if (PyErr_Occurred()) SWIG_fail
; 
11458         resultobj 
= SWIG_From_unsigned_SS_char((unsigned char)(result
));  
11466 static PyObject 
*_wrap_Image_HasAlpha(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
11467     PyObject 
*resultobj
; 
11468     wxImage 
*arg1 
= (wxImage 
*) 0 ; 
11470     PyObject 
* obj0 
= 0 ; 
11471     char *kwnames
[] = { 
11472         (char *) "self", NULL 
 
11475     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HasAlpha",kwnames
,&obj0
)) goto fail
; 
11476     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION 
| 0); 
11477     if (SWIG_arg_fail(1)) SWIG_fail
; 
11479         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11480         result 
= (bool)(arg1
)->HasAlpha(); 
11482         wxPyEndAllowThreads(__tstate
); 
11483         if (PyErr_Occurred()) SWIG_fail
; 
11486         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
11494 static PyObject 
*_wrap_Image_InitAlpha(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
11495     PyObject 
*resultobj
; 
11496     wxImage 
*arg1 
= (wxImage 
*) 0 ; 
11497     PyObject 
* obj0 
= 0 ; 
11498     char *kwnames
[] = { 
11499         (char *) "self", NULL 
 
11502     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_InitAlpha",kwnames
,&obj0
)) goto fail
; 
11503     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION 
| 0); 
11504     if (SWIG_arg_fail(1)) SWIG_fail
; 
11506         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11507         (arg1
)->InitAlpha(); 
11509         wxPyEndAllowThreads(__tstate
); 
11510         if (PyErr_Occurred()) SWIG_fail
; 
11512     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
11519 static PyObject 
*_wrap_Image_FindFirstUnusedColour(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
11520     PyObject 
*resultobj
; 
11521     wxImage 
*arg1 
= (wxImage 
*) 0 ; 
11522     byte 
*arg2 
= (byte 
*) 0 ; 
11523     byte 
*arg3 
= (byte 
*) 0 ; 
11524     byte 
*arg4 
= (byte 
*) 0 ; 
11525     byte arg5 
= (byte
) 0 ; 
11526     byte arg6 
= (byte
) 0 ; 
11527     byte arg7 
= (byte
) 0 ; 
11535     PyObject 
* obj0 
= 0 ; 
11536     PyObject 
* obj1 
= 0 ; 
11537     PyObject 
* obj2 
= 0 ; 
11538     PyObject 
* obj3 
= 0 ; 
11539     char *kwnames
[] = { 
11540         (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL 
 
11543     arg2 
= &temp2
; res2 
= SWIG_NEWOBJ
; 
11544     arg3 
= &temp3
; res3 
= SWIG_NEWOBJ
; 
11545     arg4 
= &temp4
; res4 
= SWIG_NEWOBJ
; 
11546     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Image_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
11547     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION 
| 0); 
11548     if (SWIG_arg_fail(1)) SWIG_fail
; 
11551             arg5 
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));  
11552             if (SWIG_arg_fail(5)) SWIG_fail
; 
11557             arg6 
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));  
11558             if (SWIG_arg_fail(6)) SWIG_fail
; 
11563             arg7 
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));  
11564             if (SWIG_arg_fail(7)) SWIG_fail
; 
11568         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11569         result 
= (bool)((wxImage 
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
); 
11571         wxPyEndAllowThreads(__tstate
); 
11572         if (PyErr_Occurred()) SWIG_fail
; 
11575         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
11577     resultobj 
= t_output_helper(resultobj
, ((res2 
== SWIG_NEWOBJ
) ? 
11578     SWIG_From_unsigned_SS_char((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_unsigned_char
, 0))); 
11579     resultobj 
= t_output_helper(resultobj
, ((res3 
== SWIG_NEWOBJ
) ? 
11580     SWIG_From_unsigned_SS_char((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, 0))); 
11581     resultobj 
= t_output_helper(resultobj
, ((res4 
== SWIG_NEWOBJ
) ? 
11582     SWIG_From_unsigned_SS_char((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, 0))); 
11589 static PyObject 
*_wrap_Image_ConvertAlphaToMask(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
11590     PyObject 
*resultobj
; 
11591     wxImage 
*arg1 
= (wxImage 
*) 0 ; 
11592     byte arg2 
= (byte
) 128 ; 
11594     PyObject 
* obj0 
= 0 ; 
11595     PyObject 
* obj1 
= 0 ; 
11596     char *kwnames
[] = { 
11597         (char *) "self",(char *) "threshold", NULL 
 
11600     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_ConvertAlphaToMask",kwnames
,&obj0
,&obj1
)) goto fail
; 
11601     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION 
| 0); 
11602     if (SWIG_arg_fail(1)) SWIG_fail
; 
11605             arg2 
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));  
11606             if (SWIG_arg_fail(2)) SWIG_fail
; 
11610         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11611         result 
= (bool)(arg1
)->ConvertAlphaToMask(arg2
); 
11613         wxPyEndAllowThreads(__tstate
); 
11614         if (PyErr_Occurred()) SWIG_fail
; 
11617         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
11625 static PyObject 
*_wrap_Image_ConvertColourToAlpha(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
11626     PyObject 
*resultobj
; 
11627     wxImage 
*arg1 
= (wxImage 
*) 0 ; 
11628     unsigned char arg2 
; 
11629     unsigned char arg3 
; 
11630     unsigned char arg4 
; 
11632     PyObject 
* obj0 
= 0 ; 
11633     PyObject 
* obj1 
= 0 ; 
11634     PyObject 
* obj2 
= 0 ; 
11635     PyObject 
* obj3 
= 0 ; 
11636     char *kwnames
[] = { 
11637         (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL 
 
11640     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertColourToAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
11641     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION 
| 0); 
11642     if (SWIG_arg_fail(1)) SWIG_fail
; 
11644         arg2 
= (unsigned char)(SWIG_As_unsigned_SS_char(obj1
));  
11645         if (SWIG_arg_fail(2)) SWIG_fail
; 
11648         arg3 
= (unsigned char)(SWIG_As_unsigned_SS_char(obj2
));  
11649         if (SWIG_arg_fail(3)) SWIG_fail
; 
11652         arg4 
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));  
11653         if (SWIG_arg_fail(4)) SWIG_fail
; 
11656         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11657         result 
= (bool)(arg1
)->ConvertColourToAlpha(arg2
,arg3
,arg4
); 
11659         wxPyEndAllowThreads(__tstate
); 
11660         if (PyErr_Occurred()) SWIG_fail
; 
11663         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
11671 static PyObject 
*_wrap_Image_SetMaskFromImage(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
11672     PyObject 
*resultobj
; 
11673     wxImage 
*arg1 
= (wxImage 
*) 0 ; 
11674     wxImage 
*arg2 
= 0 ; 
11679     PyObject 
* obj0 
= 0 ; 
11680     PyObject 
* obj1 
= 0 ; 
11681     PyObject 
* obj2 
= 0 ; 
11682     PyObject 
* obj3 
= 0 ; 
11683     PyObject 
* obj4 
= 0 ; 
11684     char *kwnames
[] = { 
11685         (char *) "self",(char *) "mask",(char *) "mr",(char *) "mg",(char *) "mb", NULL 
 
11688     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Image_SetMaskFromImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
; 
11689     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION 
| 0); 
11690     if (SWIG_arg_fail(1)) SWIG_fail
; 
11692         SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION 
| 0); 
11693         if (SWIG_arg_fail(2)) SWIG_fail
; 
11694         if (arg2 
== NULL
) { 
11695             SWIG_null_ref("wxImage"); 
11697         if (SWIG_arg_fail(2)) SWIG_fail
; 
11700         arg3 
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));  
11701         if (SWIG_arg_fail(3)) SWIG_fail
; 
11704         arg4 
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));  
11705         if (SWIG_arg_fail(4)) SWIG_fail
; 
11708         arg5 
= (byte
)(SWIG_As_unsigned_SS_char(obj4
));  
11709         if (SWIG_arg_fail(5)) SWIG_fail
; 
11712         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11713         result 
= (bool)(arg1
)->SetMaskFromImage((wxImage 
const &)*arg2
,arg3
,arg4
,arg5
); 
11715         wxPyEndAllowThreads(__tstate
); 
11716         if (PyErr_Occurred()) SWIG_fail
; 
11719         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
11727 static PyObject 
*_wrap_Image_CanRead(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
11728     PyObject 
*resultobj
; 
11729     wxString 
*arg1 
= 0 ; 
11731     bool temp1 
= false ; 
11732     PyObject 
* obj0 
= 0 ; 
11733     char *kwnames
[] = { 
11734         (char *) "name", NULL 
 
11737     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanRead",kwnames
,&obj0
)) goto fail
; 
11739         arg1 
= wxString_in_helper(obj0
); 
11740         if (arg1 
== NULL
) SWIG_fail
; 
11744         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11745         result 
= (bool)wxImage::CanRead((wxString 
const &)*arg1
); 
11747         wxPyEndAllowThreads(__tstate
); 
11748         if (PyErr_Occurred()) SWIG_fail
; 
11751         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
11767 static PyObject 
*_wrap_Image_GetImageCount(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
11768     PyObject 
*resultobj
; 
11769     wxString 
*arg1 
= 0 ; 
11770     long arg2 
= (long) wxBITMAP_TYPE_ANY 
; 
11772     bool temp1 
= false ; 
11773     PyObject 
* obj0 
= 0 ; 
11774     PyObject 
* obj1 
= 0 ; 
11775     char *kwnames
[] = { 
11776         (char *) "name",(char *) "type", NULL 
 
11779     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_GetImageCount",kwnames
,&obj0
,&obj1
)) goto fail
; 
11781         arg1 
= wxString_in_helper(obj0
); 
11782         if (arg1 
== NULL
) SWIG_fail
; 
11787             arg2 
= (long)(SWIG_As_long(obj1
));  
11788             if (SWIG_arg_fail(2)) SWIG_fail
; 
11792         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11793         result 
= (int)wxImage::GetImageCount((wxString 
const &)*arg1
,arg2
); 
11795         wxPyEndAllowThreads(__tstate
); 
11796         if (PyErr_Occurred()) SWIG_fail
; 
11799         resultobj 
= SWIG_From_int((int)(result
));  
11815 static PyObject 
*_wrap_Image_LoadFile(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
11816     PyObject 
*resultobj
; 
11817     wxImage 
*arg1 
= (wxImage 
*) 0 ; 
11818     wxString 
*arg2 
= 0 ; 
11819     long arg3 
= (long) wxBITMAP_TYPE_ANY 
; 
11820     int arg4 
= (int) -1 ; 
11822     bool temp2 
= false ; 
11823     PyObject 
* obj0 
= 0 ; 
11824     PyObject 
* obj1 
= 0 ; 
11825     PyObject 
* obj2 
= 0 ; 
11826     PyObject 
* obj3 
= 0 ; 
11827     char *kwnames
[] = { 
11828         (char *) "self",(char *) "name",(char *) "type",(char *) "index", NULL 
 
11831     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Image_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
11832     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION 
| 0); 
11833     if (SWIG_arg_fail(1)) SWIG_fail
; 
11835         arg2 
= wxString_in_helper(obj1
); 
11836         if (arg2 
== NULL
) SWIG_fail
; 
11841             arg3 
= (long)(SWIG_As_long(obj2
));  
11842             if (SWIG_arg_fail(3)) SWIG_fail
; 
11847             arg4 
= (int)(SWIG_As_int(obj3
));  
11848             if (SWIG_arg_fail(4)) SWIG_fail
; 
11852         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11853         result 
= (bool)(arg1
)->LoadFile((wxString 
const &)*arg2
,arg3
,arg4
); 
11855         wxPyEndAllowThreads(__tstate
); 
11856         if (PyErr_Occurred()) SWIG_fail
; 
11859         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
11875 static PyObject 
*_wrap_Image_LoadMimeFile(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
11876     PyObject 
*resultobj
; 
11877     wxImage 
*arg1 
= (wxImage 
*) 0 ; 
11878     wxString 
*arg2 
= 0 ; 
11879     wxString 
*arg3 
= 0 ; 
11880     int arg4 
= (int) -1 ; 
11882     bool temp2 
= false ; 
11883     bool temp3 
= false ; 
11884     PyObject 
* obj0 
= 0 ; 
11885     PyObject 
* obj1 
= 0 ; 
11886     PyObject 
* obj2 
= 0 ; 
11887     PyObject 
* obj3 
= 0 ; 
11888     char *kwnames
[] = { 
11889         (char *) "self",(char *) "name",(char *) "mimetype",(char *) "index", NULL 
 
11892     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_LoadMimeFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
11893     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION 
| 0); 
11894     if (SWIG_arg_fail(1)) SWIG_fail
; 
11896         arg2 
= wxString_in_helper(obj1
); 
11897         if (arg2 
== NULL
) SWIG_fail
; 
11901         arg3 
= wxString_in_helper(obj2
); 
11902         if (arg3 
== NULL
) SWIG_fail
; 
11907             arg4 
= (int)(SWIG_As_int(obj3
));  
11908             if (SWIG_arg_fail(4)) SWIG_fail
; 
11912         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11913         result 
= (bool)(arg1
)->LoadFile((wxString 
const &)*arg2
,(wxString 
const &)*arg3
,arg4
); 
11915         wxPyEndAllowThreads(__tstate
); 
11916         if (PyErr_Occurred()) SWIG_fail
; 
11919         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
11943 static PyObject 
*_wrap_Image_SaveFile(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
11944     PyObject 
*resultobj
; 
11945     wxImage 
*arg1 
= (wxImage 
*) 0 ; 
11946     wxString 
*arg2 
= 0 ; 
11949     bool temp2 
= false ; 
11950     PyObject 
* obj0 
= 0 ; 
11951     PyObject 
* obj1 
= 0 ; 
11952     PyObject 
* obj2 
= 0 ; 
11953     char *kwnames
[] = { 
11954         (char *) "self",(char *) "name",(char *) "type", NULL 
 
11957     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
11958     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION 
| 0); 
11959     if (SWIG_arg_fail(1)) SWIG_fail
; 
11961         arg2 
= wxString_in_helper(obj1
); 
11962         if (arg2 
== NULL
) SWIG_fail
; 
11966         arg3 
= (int)(SWIG_As_int(obj2
));  
11967         if (SWIG_arg_fail(3)) SWIG_fail
; 
11970         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11971         result 
= (bool)(arg1
)->SaveFile((wxString 
const &)*arg2
,arg3
); 
11973         wxPyEndAllowThreads(__tstate
); 
11974         if (PyErr_Occurred()) SWIG_fail
; 
11977         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
11993 static PyObject 
*_wrap_Image_SaveMimeFile(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
11994     PyObject 
*resultobj
; 
11995     wxImage 
*arg1 
= (wxImage 
*) 0 ; 
11996     wxString 
*arg2 
= 0 ; 
11997     wxString 
*arg3 
= 0 ; 
11999     bool temp2 
= false ; 
12000     bool temp3 
= false ; 
12001     PyObject 
* obj0 
= 0 ; 
12002     PyObject 
* obj1 
= 0 ; 
12003     PyObject 
* obj2 
= 0 ; 
12004     char *kwnames
[] = { 
12005         (char *) "self",(char *) "name",(char *) "mimetype", NULL 
 
12008     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SaveMimeFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
12009     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION 
| 0); 
12010     if (SWIG_arg_fail(1)) SWIG_fail
; 
12012         arg2 
= wxString_in_helper(obj1
); 
12013         if (arg2 
== NULL
) SWIG_fail
; 
12017         arg3 
= wxString_in_helper(obj2
); 
12018         if (arg3 
== NULL
) SWIG_fail
; 
12022         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12023         result 
= (bool)(arg1
)->SaveFile((wxString 
const &)*arg2
,(wxString 
const &)*arg3
); 
12025         wxPyEndAllowThreads(__tstate
); 
12026         if (PyErr_Occurred()) SWIG_fail
; 
12029         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
12053 static PyObject 
*_wrap_Image_CanReadStream(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
12054     PyObject 
*resultobj
; 
12055     wxInputStream 
*arg1 
= 0 ; 
12057     wxPyInputStream 
*temp1 
; 
12059     PyObject 
* obj0 
= 0 ; 
12060     char *kwnames
[] = { 
12061         (char *) "stream", NULL 
 
12064     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanReadStream",kwnames
,&obj0
)) goto fail
; 
12066         if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) { 
12067             arg1 
= temp1
->m_wxis
; 
12070             PyErr_Clear();  // clear the failure of the wxPyConvert above 
12071             arg1 
= wxPyCBInputStream_create(obj0
, false); 
12072             if (arg1 
== NULL
) { 
12073                 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object."); 
12080         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12081         result 
= (bool)wxImage::CanRead(*arg1
); 
12083         wxPyEndAllowThreads(__tstate
); 
12084         if (PyErr_Occurred()) SWIG_fail
; 
12087         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
12090         if (created1
) delete arg1
;  
12095         if (created1
) delete arg1
;  
12101 static PyObject 
*_wrap_Image_LoadStream(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
12102     PyObject 
*resultobj
; 
12103     wxImage 
*arg1 
= (wxImage 
*) 0 ; 
12104     wxInputStream 
*arg2 
= 0 ; 
12105     long arg3 
= (long) wxBITMAP_TYPE_ANY 
; 
12106     int arg4 
= (int) -1 ; 
12108     wxPyInputStream 
*temp2 
; 
12110     PyObject 
* obj0 
= 0 ; 
12111     PyObject 
* obj1 
= 0 ; 
12112     PyObject 
* obj2 
= 0 ; 
12113     PyObject 
* obj3 
= 0 ; 
12114     char *kwnames
[] = { 
12115         (char *) "self",(char *) "stream",(char *) "type",(char *) "index", NULL 
 
12118     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Image_LoadStream",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
12119     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION 
| 0); 
12120     if (SWIG_arg_fail(1)) SWIG_fail
; 
12122         if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) { 
12123             arg2 
= temp2
->m_wxis
; 
12126             PyErr_Clear();  // clear the failure of the wxPyConvert above 
12127             arg2 
= wxPyCBInputStream_create(obj1
, false); 
12128             if (arg2 
== NULL
) { 
12129                 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object."); 
12137             arg3 
= (long)(SWIG_As_long(obj2
));  
12138             if (SWIG_arg_fail(3)) SWIG_fail
; 
12143             arg4 
= (int)(SWIG_As_int(obj3
));  
12144             if (SWIG_arg_fail(4)) SWIG_fail
; 
12148         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12149         result 
= (bool)(arg1
)->LoadFile(*arg2
,arg3
,arg4
); 
12151         wxPyEndAllowThreads(__tstate
); 
12152         if (PyErr_Occurred()) SWIG_fail
; 
12155         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
12158         if (created2
) delete arg2
;  
12163         if (created2
) delete arg2
;  
12169 static PyObject 
*_wrap_Image_LoadMimeStream(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
12170     PyObject 
*resultobj
; 
12171     wxImage 
*arg1 
= (wxImage 
*) 0 ; 
12172     wxInputStream 
*arg2 
= 0 ; 
12173     wxString 
*arg3 
= 0 ; 
12174     int arg4 
= (int) -1 ; 
12176     wxPyInputStream 
*temp2 
; 
12178     bool temp3 
= false ; 
12179     PyObject 
* obj0 
= 0 ; 
12180     PyObject 
* obj1 
= 0 ; 
12181     PyObject 
* obj2 
= 0 ; 
12182     PyObject 
* obj3 
= 0 ; 
12183     char *kwnames
[] = { 
12184         (char *) "self",(char *) "stream",(char *) "mimetype",(char *) "index", NULL 
 
12187     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_LoadMimeStream",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
12188     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION 
| 0); 
12189     if (SWIG_arg_fail(1)) SWIG_fail
; 
12191         if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) { 
12192             arg2 
= temp2
->m_wxis
; 
12195             PyErr_Clear();  // clear the failure of the wxPyConvert above 
12196             arg2 
= wxPyCBInputStream_create(obj1
, false); 
12197             if (arg2 
== NULL
) { 
12198                 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object."); 
12205         arg3 
= wxString_in_helper(obj2
); 
12206         if (arg3 
== NULL
) SWIG_fail
; 
12211             arg4 
= (int)(SWIG_As_int(obj3
));  
12212             if (SWIG_arg_fail(4)) SWIG_fail
; 
12216         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12217         result 
= (bool)(arg1
)->LoadFile(*arg2
,(wxString 
const &)*arg3
,arg4
); 
12219         wxPyEndAllowThreads(__tstate
); 
12220         if (PyErr_Occurred()) SWIG_fail
; 
12223         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
12226         if (created2
) delete arg2
;  
12235         if (created2
) delete arg2
;  
12245 static PyObject 
*_wrap_Image_Ok(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
12246     PyObject 
*resultobj
; 
12247     wxImage 
*arg1 
= (wxImage 
*) 0 ; 
12249     PyObject 
* obj0 
= 0 ; 
12250     char *kwnames
[] = { 
12251         (char *) "self", NULL 
 
12254     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Ok",kwnames
,&obj0
)) goto fail
; 
12255     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION 
| 0); 
12256     if (SWIG_arg_fail(1)) SWIG_fail
; 
12258         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12259         result 
= (bool)(arg1
)->Ok(); 
12261         wxPyEndAllowThreads(__tstate
); 
12262         if (PyErr_Occurred()) SWIG_fail
; 
12265         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
12273 static PyObject 
*_wrap_Image_GetWidth(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
12274     PyObject 
*resultobj
; 
12275     wxImage 
*arg1 
= (wxImage 
*) 0 ; 
12277     PyObject 
* obj0 
= 0 ; 
12278     char *kwnames
[] = { 
12279         (char *) "self", NULL 
 
12282     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetWidth",kwnames
,&obj0
)) goto fail
; 
12283     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION 
| 0); 
12284     if (SWIG_arg_fail(1)) SWIG_fail
; 
12286         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12287         result 
= (int)(arg1
)->GetWidth(); 
12289         wxPyEndAllowThreads(__tstate
); 
12290         if (PyErr_Occurred()) SWIG_fail
; 
12293         resultobj 
= SWIG_From_int((int)(result
));  
12301 static PyObject 
*_wrap_Image_GetHeight(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
12302     PyObject 
*resultobj
; 
12303     wxImage 
*arg1 
= (wxImage 
*) 0 ; 
12305     PyObject 
* obj0 
= 0 ; 
12306     char *kwnames
[] = { 
12307         (char *) "self", NULL 
 
12310     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetHeight",kwnames
,&obj0
)) goto fail
; 
12311     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION 
| 0); 
12312     if (SWIG_arg_fail(1)) SWIG_fail
; 
12314         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12315         result 
= (int)(arg1
)->GetHeight(); 
12317         wxPyEndAllowThreads(__tstate
); 
12318         if (PyErr_Occurred()) SWIG_fail
; 
12321         resultobj 
= SWIG_From_int((int)(result
));  
12329 static PyObject 
*_wrap_Image_GetSize(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
12330     PyObject 
*resultobj
; 
12331     wxImage 
*arg1 
= (wxImage 
*) 0 ; 
12333     PyObject 
* obj0 
= 0 ; 
12334     char *kwnames
[] = { 
12335         (char *) "self", NULL 
 
12338     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetSize",kwnames
,&obj0
)) goto fail
; 
12339     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION 
| 0); 
12340     if (SWIG_arg_fail(1)) SWIG_fail
; 
12342         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12343         result 
= wxImage_GetSize(arg1
); 
12345         wxPyEndAllowThreads(__tstate
); 
12346         if (PyErr_Occurred()) SWIG_fail
; 
12349         wxSize 
* resultptr
; 
12350         resultptr 
= new wxSize((wxSize 
&)(result
)); 
12351         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1); 
12359 static PyObject 
*_wrap_Image_GetSubImage(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
12360     PyObject 
*resultobj
; 
12361     wxImage 
*arg1 
= (wxImage 
*) 0 ; 
12363     SwigValueWrapper
<wxImage 
> result
; 
12365     PyObject 
* obj0 
= 0 ; 
12366     PyObject 
* obj1 
= 0 ; 
12367     char *kwnames
[] = { 
12368         (char *) "self",(char *) "rect", NULL 
 
12371     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetSubImage",kwnames
,&obj0
,&obj1
)) goto fail
; 
12372     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION 
| 0); 
12373     if (SWIG_arg_fail(1)) SWIG_fail
; 
12376         if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
; 
12379         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12380         result 
= (arg1
)->GetSubImage((wxRect 
const &)*arg2
); 
12382         wxPyEndAllowThreads(__tstate
); 
12383         if (PyErr_Occurred()) SWIG_fail
; 
12386         wxImage 
* resultptr
; 
12387         resultptr 
= new wxImage((wxImage 
&)(result
)); 
12388         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1); 
12396 static PyObject 
*_wrap_Image_Size(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
12397     PyObject 
*resultobj
; 
12398     wxImage 
*arg1 
= (wxImage 
*) 0 ; 
12400     wxPoint 
*arg3 
= 0 ; 
12401     int arg4 
= (int) -1 ; 
12402     int arg5 
= (int) -1 ; 
12403     int arg6 
= (int) -1 ; 
12404     SwigValueWrapper
<wxImage 
> result
; 
12407     PyObject 
* obj0 
= 0 ; 
12408     PyObject 
* obj1 
= 0 ; 
12409     PyObject 
* obj2 
= 0 ; 
12410     PyObject 
* obj3 
= 0 ; 
12411     PyObject 
* obj4 
= 0 ; 
12412     PyObject 
* obj5 
= 0 ; 
12413     char *kwnames
[] = { 
12414         (char *) "self",(char *) "size",(char *) "pos",(char *) "r",(char *) "g",(char *) "b", NULL 
 
12417     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:Image_Size",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
; 
12418     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION 
| 0); 
12419     if (SWIG_arg_fail(1)) SWIG_fail
; 
12422         if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
; 
12426         if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
; 
12430             arg4 
= (int)(SWIG_As_int(obj3
));  
12431             if (SWIG_arg_fail(4)) SWIG_fail
; 
12436             arg5 
= (int)(SWIG_As_int(obj4
));  
12437             if (SWIG_arg_fail(5)) SWIG_fail
; 
12442             arg6 
= (int)(SWIG_As_int(obj5
));  
12443             if (SWIG_arg_fail(6)) SWIG_fail
; 
12447         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12448         result 
= ((wxImage 
const *)arg1
)->Size((wxSize 
const &)*arg2
,(wxPoint 
const &)*arg3
,arg4
,arg5
,arg6
); 
12450         wxPyEndAllowThreads(__tstate
); 
12451         if (PyErr_Occurred()) SWIG_fail
; 
12454         wxImage 
* resultptr
; 
12455         resultptr 
= new wxImage((wxImage 
&)(result
)); 
12456         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1); 
12464 static PyObject 
*_wrap_Image_Copy(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
12465     PyObject 
*resultobj
; 
12466     wxImage 
*arg1 
= (wxImage 
*) 0 ; 
12467     SwigValueWrapper
<wxImage 
> result
; 
12468     PyObject 
* obj0 
= 0 ; 
12469     char *kwnames
[] = { 
12470         (char *) "self", NULL 
 
12473     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Copy",kwnames
,&obj0
)) goto fail
; 
12474     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION 
| 0); 
12475     if (SWIG_arg_fail(1)) SWIG_fail
; 
12477         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12478         result 
= (arg1
)->Copy(); 
12480         wxPyEndAllowThreads(__tstate
); 
12481         if (PyErr_Occurred()) SWIG_fail
; 
12484         wxImage 
* resultptr
; 
12485         resultptr 
= new wxImage((wxImage 
&)(result
)); 
12486         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1); 
12494 static PyObject 
*_wrap_Image_Paste(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
12495     PyObject 
*resultobj
; 
12496     wxImage 
*arg1 
= (wxImage 
*) 0 ; 
12497     wxImage 
*arg2 
= 0 ; 
12500     PyObject 
* obj0 
= 0 ; 
12501     PyObject 
* obj1 
= 0 ; 
12502     PyObject 
* obj2 
= 0 ; 
12503     PyObject 
* obj3 
= 0 ; 
12504     char *kwnames
[] = { 
12505         (char *) "self",(char *) "image",(char *) "x",(char *) "y", NULL 
 
12508     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_Paste",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
12509     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION 
| 0); 
12510     if (SWIG_arg_fail(1)) SWIG_fail
; 
12512         SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION 
| 0); 
12513         if (SWIG_arg_fail(2)) SWIG_fail
; 
12514         if (arg2 
== NULL
) { 
12515             SWIG_null_ref("wxImage"); 
12517         if (SWIG_arg_fail(2)) SWIG_fail
; 
12520         arg3 
= (int)(SWIG_As_int(obj2
));  
12521         if (SWIG_arg_fail(3)) SWIG_fail
; 
12524         arg4 
= (int)(SWIG_As_int(obj3
));  
12525         if (SWIG_arg_fail(4)) SWIG_fail
; 
12528         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12529         (arg1
)->Paste((wxImage 
const &)*arg2
,arg3
,arg4
); 
12531         wxPyEndAllowThreads(__tstate
); 
12532         if (PyErr_Occurred()) SWIG_fail
; 
12534     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
12541 static PyObject 
*_wrap_Image_GetData(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
12542     PyObject 
*resultobj
; 
12543     wxImage 
*arg1 
= (wxImage 
*) 0 ; 
12545     PyObject 
* obj0 
= 0 ; 
12546     char *kwnames
[] = { 
12547         (char *) "self", NULL 
 
12550     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetData",kwnames
,&obj0
)) goto fail
; 
12551     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION 
| 0); 
12552     if (SWIG_arg_fail(1)) SWIG_fail
; 
12554         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12555         result 
= (PyObject 
*)wxImage_GetData(arg1
); 
12557         wxPyEndAllowThreads(__tstate
); 
12558         if (PyErr_Occurred()) SWIG_fail
; 
12560     resultobj 
= result
; 
12567 static PyObject 
*_wrap_Image_SetData(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
12568     PyObject 
*resultobj
; 
12569     wxImage 
*arg1 
= (wxImage 
*) 0 ; 
12570     PyObject 
*arg2 
= (PyObject 
*) 0 ; 
12571     PyObject 
* obj0 
= 0 ; 
12572     PyObject 
* obj1 
= 0 ; 
12573     char *kwnames
[] = { 
12574         (char *) "self",(char *) "data", NULL 
 
12577     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetData",kwnames
,&obj0
,&obj1
)) goto fail
; 
12578     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION 
| 0); 
12579     if (SWIG_arg_fail(1)) SWIG_fail
; 
12582         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12583         wxImage_SetData(arg1
,arg2
); 
12585         wxPyEndAllowThreads(__tstate
); 
12586         if (PyErr_Occurred()) SWIG_fail
; 
12588     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
12595 static PyObject 
*_wrap_Image_GetDataBuffer(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
12596     PyObject 
*resultobj
; 
12597     wxImage 
*arg1 
= (wxImage 
*) 0 ; 
12599     PyObject 
* obj0 
= 0 ; 
12600     char *kwnames
[] = { 
12601         (char *) "self", NULL 
 
12604     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetDataBuffer",kwnames
,&obj0
)) goto fail
; 
12605     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION 
| 0); 
12606     if (SWIG_arg_fail(1)) SWIG_fail
; 
12608         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12609         result 
= (PyObject 
*)wxImage_GetDataBuffer(arg1
); 
12611         wxPyEndAllowThreads(__tstate
); 
12612         if (PyErr_Occurred()) SWIG_fail
; 
12614     resultobj 
= result
; 
12621 static PyObject 
*_wrap_Image_SetDataBuffer(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
12622     PyObject 
*resultobj
; 
12623     wxImage 
*arg1 
= (wxImage 
*) 0 ; 
12624     PyObject 
*arg2 
= (PyObject 
*) 0 ; 
12625     PyObject 
* obj0 
= 0 ; 
12626     PyObject 
* obj1 
= 0 ; 
12627     char *kwnames
[] = { 
12628         (char *) "self",(char *) "data", NULL 
 
12631     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetDataBuffer",kwnames
,&obj0
,&obj1
)) goto fail
; 
12632     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION 
| 0); 
12633     if (SWIG_arg_fail(1)) SWIG_fail
; 
12636         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12637         wxImage_SetDataBuffer(arg1
,arg2
); 
12639         wxPyEndAllowThreads(__tstate
); 
12640         if (PyErr_Occurred()) SWIG_fail
; 
12642     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
12649 static PyObject 
*_wrap_Image_GetAlphaData(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
12650     PyObject 
*resultobj
; 
12651     wxImage 
*arg1 
= (wxImage 
*) 0 ; 
12653     PyObject 
* obj0 
= 0 ; 
12654     char *kwnames
[] = { 
12655         (char *) "self", NULL 
 
12658     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetAlphaData",kwnames
,&obj0
)) goto fail
; 
12659     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION 
| 0); 
12660     if (SWIG_arg_fail(1)) SWIG_fail
; 
12662         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12663         result 
= (PyObject 
*)wxImage_GetAlphaData(arg1
); 
12665         wxPyEndAllowThreads(__tstate
); 
12666         if (PyErr_Occurred()) SWIG_fail
; 
12668     resultobj 
= result
; 
12675 static PyObject 
*_wrap_Image_SetAlphaData(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
12676     PyObject 
*resultobj
; 
12677     wxImage 
*arg1 
= (wxImage 
*) 0 ; 
12678     PyObject 
*arg2 
= (PyObject 
*) 0 ; 
12679     PyObject 
* obj0 
= 0 ; 
12680     PyObject 
* obj1 
= 0 ; 
12681     char *kwnames
[] = { 
12682         (char *) "self",(char *) "data", NULL 
 
12685     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaData",kwnames
,&obj0
,&obj1
)) goto fail
; 
12686     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION 
| 0); 
12687     if (SWIG_arg_fail(1)) SWIG_fail
; 
12690         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12691         wxImage_SetAlphaData(arg1
,arg2
); 
12693         wxPyEndAllowThreads(__tstate
); 
12694         if (PyErr_Occurred()) SWIG_fail
; 
12696     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
12703 static PyObject 
*_wrap_Image_GetAlphaBuffer(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
12704     PyObject 
*resultobj
; 
12705     wxImage 
*arg1 
= (wxImage 
*) 0 ; 
12707     PyObject 
* obj0 
= 0 ; 
12708     char *kwnames
[] = { 
12709         (char *) "self", NULL 
 
12712     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetAlphaBuffer",kwnames
,&obj0
)) goto fail
; 
12713     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION 
| 0); 
12714     if (SWIG_arg_fail(1)) SWIG_fail
; 
12716         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12717         result 
= (PyObject 
*)wxImage_GetAlphaBuffer(arg1
); 
12719         wxPyEndAllowThreads(__tstate
); 
12720         if (PyErr_Occurred()) SWIG_fail
; 
12722     resultobj 
= result
; 
12729 static PyObject 
*_wrap_Image_SetAlphaBuffer(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
12730     PyObject 
*resultobj
; 
12731     wxImage 
*arg1 
= (wxImage 
*) 0 ; 
12732     PyObject 
*arg2 
= (PyObject 
*) 0 ; 
12733     PyObject 
* obj0 
= 0 ; 
12734     PyObject 
* obj1 
= 0 ; 
12735     char *kwnames
[] = { 
12736         (char *) "self",(char *) "data", NULL 
 
12739     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaBuffer",kwnames
,&obj0
,&obj1
)) goto fail
; 
12740     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION 
| 0); 
12741     if (SWIG_arg_fail(1)) SWIG_fail
; 
12744         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12745         wxImage_SetAlphaBuffer(arg1
,arg2
); 
12747         wxPyEndAllowThreads(__tstate
); 
12748         if (PyErr_Occurred()) SWIG_fail
; 
12750     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
12757 static PyObject 
*_wrap_Image_SetMaskColour(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
12758     PyObject 
*resultobj
; 
12759     wxImage 
*arg1 
= (wxImage 
*) 0 ; 
12760     unsigned char arg2 
; 
12761     unsigned char arg3 
; 
12762     unsigned char arg4 
; 
12763     PyObject 
* obj0 
= 0 ; 
12764     PyObject 
* obj1 
= 0 ; 
12765     PyObject 
* obj2 
= 0 ; 
12766     PyObject 
* obj3 
= 0 ; 
12767     char *kwnames
[] = { 
12768         (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL 
 
12771     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_SetMaskColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
12772     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION 
| 0); 
12773     if (SWIG_arg_fail(1)) SWIG_fail
; 
12775         arg2 
= (unsigned char)(SWIG_As_unsigned_SS_char(obj1
));  
12776         if (SWIG_arg_fail(2)) SWIG_fail
; 
12779         arg3 
= (unsigned char)(SWIG_As_unsigned_SS_char(obj2
));  
12780         if (SWIG_arg_fail(3)) SWIG_fail
; 
12783         arg4 
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));  
12784         if (SWIG_arg_fail(4)) SWIG_fail
; 
12787         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12788         (arg1
)->SetMaskColour(arg2
,arg3
,arg4
); 
12790         wxPyEndAllowThreads(__tstate
); 
12791         if (PyErr_Occurred()) SWIG_fail
; 
12793     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
12800 static PyObject 
*_wrap_Image_GetOrFindMaskColour(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
12801     PyObject 
*resultobj
; 
12802     wxImage 
*arg1 
= (wxImage 
*) 0 ; 
12803     unsigned char *arg2 
= (unsigned char *) 0 ; 
12804     unsigned char *arg3 
= (unsigned char *) 0 ; 
12805     unsigned char *arg4 
= (unsigned char *) 0 ; 
12806     unsigned char temp2 
; 
12808     unsigned char temp3 
; 
12810     unsigned char temp4 
; 
12812     PyObject 
* obj0 
= 0 ; 
12813     char *kwnames
[] = { 
12814         (char *) "self", NULL 
 
12817     arg2 
= &temp2
; res2 
= SWIG_NEWOBJ
; 
12818     arg3 
= &temp3
; res3 
= SWIG_NEWOBJ
; 
12819     arg4 
= &temp4
; res4 
= SWIG_NEWOBJ
; 
12820     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetOrFindMaskColour",kwnames
,&obj0
)) goto fail
; 
12821     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION 
| 0); 
12822     if (SWIG_arg_fail(1)) SWIG_fail
; 
12824         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12825         ((wxImage 
const *)arg1
)->GetOrFindMaskColour(arg2
,arg3
,arg4
); 
12827         wxPyEndAllowThreads(__tstate
); 
12828         if (PyErr_Occurred()) SWIG_fail
; 
12830     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
12831     resultobj 
= t_output_helper(resultobj
, ((res2 
== SWIG_NEWOBJ
) ? 
12832     SWIG_From_unsigned_SS_char((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_unsigned_char
, 0))); 
12833     resultobj 
= t_output_helper(resultobj
, ((res3 
== SWIG_NEWOBJ
) ? 
12834     SWIG_From_unsigned_SS_char((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, 0))); 
12835     resultobj 
= t_output_helper(resultobj
, ((res4 
== SWIG_NEWOBJ
) ? 
12836     SWIG_From_unsigned_SS_char((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, 0))); 
12843 static PyObject 
*_wrap_Image_GetMaskRed(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
12844     PyObject 
*resultobj
; 
12845     wxImage 
*arg1 
= (wxImage 
*) 0 ; 
12846     unsigned char result
; 
12847     PyObject 
* obj0 
= 0 ; 
12848     char *kwnames
[] = { 
12849         (char *) "self", NULL 
 
12852     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskRed",kwnames
,&obj0
)) goto fail
; 
12853     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION 
| 0); 
12854     if (SWIG_arg_fail(1)) SWIG_fail
; 
12856         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12857         result 
= (unsigned char)(arg1
)->GetMaskRed(); 
12859         wxPyEndAllowThreads(__tstate
); 
12860         if (PyErr_Occurred()) SWIG_fail
; 
12863         resultobj 
= SWIG_From_unsigned_SS_char((unsigned char)(result
));  
12871 static PyObject 
*_wrap_Image_GetMaskGreen(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
12872     PyObject 
*resultobj
; 
12873     wxImage 
*arg1 
= (wxImage 
*) 0 ; 
12874     unsigned char result
; 
12875     PyObject 
* obj0 
= 0 ; 
12876     char *kwnames
[] = { 
12877         (char *) "self", NULL 
 
12880     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskGreen",kwnames
,&obj0
)) goto fail
; 
12881     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION 
| 0); 
12882     if (SWIG_arg_fail(1)) SWIG_fail
; 
12884         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12885         result 
= (unsigned char)(arg1
)->GetMaskGreen(); 
12887         wxPyEndAllowThreads(__tstate
); 
12888         if (PyErr_Occurred()) SWIG_fail
; 
12891         resultobj 
= SWIG_From_unsigned_SS_char((unsigned char)(result
));  
12899 static PyObject 
*_wrap_Image_GetMaskBlue(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
12900     PyObject 
*resultobj
; 
12901     wxImage 
*arg1 
= (wxImage 
*) 0 ; 
12902     unsigned char result
; 
12903     PyObject 
* obj0 
= 0 ; 
12904     char *kwnames
[] = { 
12905         (char *) "self", NULL 
 
12908     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskBlue",kwnames
,&obj0
)) goto fail
; 
12909     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION 
| 0); 
12910     if (SWIG_arg_fail(1)) SWIG_fail
; 
12912         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12913         result 
= (unsigned char)(arg1
)->GetMaskBlue(); 
12915         wxPyEndAllowThreads(__tstate
); 
12916         if (PyErr_Occurred()) SWIG_fail
; 
12919         resultobj 
= SWIG_From_unsigned_SS_char((unsigned char)(result
));  
12927 static PyObject 
*_wrap_Image_SetMask(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
12928     PyObject 
*resultobj
; 
12929     wxImage 
*arg1 
= (wxImage 
*) 0 ; 
12930     bool arg2 
= (bool) true ; 
12931     PyObject 
* obj0 
= 0 ; 
12932     PyObject 
* obj1 
= 0 ; 
12933     char *kwnames
[] = { 
12934         (char *) "self",(char *) "mask", NULL 
 
12937     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
; 
12938     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION 
| 0); 
12939     if (SWIG_arg_fail(1)) SWIG_fail
; 
12942             arg2 
= (bool)(SWIG_As_bool(obj1
));  
12943             if (SWIG_arg_fail(2)) SWIG_fail
; 
12947         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12948         (arg1
)->SetMask(arg2
); 
12950         wxPyEndAllowThreads(__tstate
); 
12951         if (PyErr_Occurred()) SWIG_fail
; 
12953     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
12960 static PyObject 
*_wrap_Image_HasMask(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
12961     PyObject 
*resultobj
; 
12962     wxImage 
*arg1 
= (wxImage 
*) 0 ; 
12964     PyObject 
* obj0 
= 0 ; 
12965     char *kwnames
[] = { 
12966         (char *) "self", NULL 
 
12969     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HasMask",kwnames
,&obj0
)) goto fail
; 
12970     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION 
| 0); 
12971     if (SWIG_arg_fail(1)) SWIG_fail
; 
12973         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12974         result 
= (bool)(arg1
)->HasMask(); 
12976         wxPyEndAllowThreads(__tstate
); 
12977         if (PyErr_Occurred()) SWIG_fail
; 
12980         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
12988 static PyObject 
*_wrap_Image_Rotate(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
12989     PyObject 
*resultobj
; 
12990     wxImage 
*arg1 
= (wxImage 
*) 0 ; 
12992     wxPoint 
*arg3 
= 0 ; 
12993     bool arg4 
= (bool) true ; 
12994     wxPoint 
*arg5 
= (wxPoint 
*) NULL 
; 
12995     SwigValueWrapper
<wxImage 
> result
; 
12997     PyObject 
* obj0 
= 0 ; 
12998     PyObject 
* obj1 
= 0 ; 
12999     PyObject 
* obj2 
= 0 ; 
13000     PyObject 
* obj3 
= 0 ; 
13001     PyObject 
* obj4 
= 0 ; 
13002     char *kwnames
[] = { 
13003         (char *) "self",(char *) "angle",(char *) "centre_of_rotation",(char *) "interpolating",(char *) "offset_after_rotation", NULL 
 
13006     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Image_Rotate",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
; 
13007     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION 
| 0); 
13008     if (SWIG_arg_fail(1)) SWIG_fail
; 
13010         arg2 
= (double)(SWIG_As_double(obj1
));  
13011         if (SWIG_arg_fail(2)) SWIG_fail
; 
13015         if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
; 
13019             arg4 
= (bool)(SWIG_As_bool(obj3
));  
13020             if (SWIG_arg_fail(4)) SWIG_fail
; 
13024         SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION 
| 0); 
13025         if (SWIG_arg_fail(5)) SWIG_fail
; 
13028         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13029         result 
= ((wxImage 
const *)arg1
)->Rotate(arg2
,(wxPoint 
const &)*arg3
,arg4
,arg5
); 
13031         wxPyEndAllowThreads(__tstate
); 
13032         if (PyErr_Occurred()) SWIG_fail
; 
13035         wxImage 
* resultptr
; 
13036         resultptr 
= new wxImage((wxImage 
&)(result
)); 
13037         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1); 
13045 static PyObject 
*_wrap_Image_Rotate90(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
13046     PyObject 
*resultobj
; 
13047     wxImage 
*arg1 
= (wxImage 
*) 0 ; 
13048     bool arg2 
= (bool) true ; 
13049     SwigValueWrapper
<wxImage 
> result
; 
13050     PyObject 
* obj0 
= 0 ; 
13051     PyObject 
* obj1 
= 0 ; 
13052     char *kwnames
[] = { 
13053         (char *) "self",(char *) "clockwise", NULL 
 
13056     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Rotate90",kwnames
,&obj0
,&obj1
)) goto fail
; 
13057     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION 
| 0); 
13058     if (SWIG_arg_fail(1)) SWIG_fail
; 
13061             arg2 
= (bool)(SWIG_As_bool(obj1
));  
13062             if (SWIG_arg_fail(2)) SWIG_fail
; 
13066         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13067         result 
= (arg1
)->Rotate90(arg2
); 
13069         wxPyEndAllowThreads(__tstate
); 
13070         if (PyErr_Occurred()) SWIG_fail
; 
13073         wxImage 
* resultptr
; 
13074         resultptr 
= new wxImage((wxImage 
&)(result
)); 
13075         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1); 
13083 static PyObject 
*_wrap_Image_Mirror(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
13084     PyObject 
*resultobj
; 
13085     wxImage 
*arg1 
= (wxImage 
*) 0 ; 
13086     bool arg2 
= (bool) true ; 
13087     SwigValueWrapper
<wxImage 
> result
; 
13088     PyObject 
* obj0 
= 0 ; 
13089     PyObject 
* obj1 
= 0 ; 
13090     char *kwnames
[] = { 
13091         (char *) "self",(char *) "horizontally", NULL 
 
13094     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Mirror",kwnames
,&obj0
,&obj1
)) goto fail
; 
13095     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION 
| 0); 
13096     if (SWIG_arg_fail(1)) SWIG_fail
; 
13099             arg2 
= (bool)(SWIG_As_bool(obj1
));  
13100             if (SWIG_arg_fail(2)) SWIG_fail
; 
13104         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13105         result 
= (arg1
)->Mirror(arg2
); 
13107         wxPyEndAllowThreads(__tstate
); 
13108         if (PyErr_Occurred()) SWIG_fail
; 
13111         wxImage 
* resultptr
; 
13112         resultptr 
= new wxImage((wxImage 
&)(result
)); 
13113         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1); 
13121 static PyObject 
*_wrap_Image_Replace(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
13122     PyObject 
*resultobj
; 
13123     wxImage 
*arg1 
= (wxImage 
*) 0 ; 
13124     unsigned char arg2 
; 
13125     unsigned char arg3 
; 
13126     unsigned char arg4 
; 
13127     unsigned char arg5 
; 
13128     unsigned char arg6 
; 
13129     unsigned char arg7 
; 
13130     PyObject 
* obj0 
= 0 ; 
13131     PyObject 
* obj1 
= 0 ; 
13132     PyObject 
* obj2 
= 0 ; 
13133     PyObject 
* obj3 
= 0 ; 
13134     PyObject 
* obj4 
= 0 ; 
13135     PyObject 
* obj5 
= 0 ; 
13136     PyObject 
* obj6 
= 0 ; 
13137     char *kwnames
[] = { 
13138         (char *) "self",(char *) "r1",(char *) "g1",(char *) "b1",(char *) "r2",(char *) "g2",(char *) "b2", NULL 
 
13141     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:Image_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
; 
13142     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION 
| 0); 
13143     if (SWIG_arg_fail(1)) SWIG_fail
; 
13145         arg2 
= (unsigned char)(SWIG_As_unsigned_SS_char(obj1
));  
13146         if (SWIG_arg_fail(2)) SWIG_fail
; 
13149         arg3 
= (unsigned char)(SWIG_As_unsigned_SS_char(obj2
));  
13150         if (SWIG_arg_fail(3)) SWIG_fail
; 
13153         arg4 
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));  
13154         if (SWIG_arg_fail(4)) SWIG_fail
; 
13157         arg5 
= (unsigned char)(SWIG_As_unsigned_SS_char(obj4
));  
13158         if (SWIG_arg_fail(5)) SWIG_fail
; 
13161         arg6 
= (unsigned char)(SWIG_As_unsigned_SS_char(obj5
));  
13162         if (SWIG_arg_fail(6)) SWIG_fail
; 
13165         arg7 
= (unsigned char)(SWIG_As_unsigned_SS_char(obj6
));  
13166         if (SWIG_arg_fail(7)) SWIG_fail
; 
13169         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13170         (arg1
)->Replace(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
); 
13172         wxPyEndAllowThreads(__tstate
); 
13173         if (PyErr_Occurred()) SWIG_fail
; 
13175     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
13182 static PyObject 
*_wrap_Image_ConvertToMono(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
13183     PyObject 
*resultobj
; 
13184     wxImage 
*arg1 
= (wxImage 
*) 0 ; 
13185     unsigned char arg2 
; 
13186     unsigned char arg3 
; 
13187     unsigned char arg4 
; 
13188     SwigValueWrapper
<wxImage 
> result
; 
13189     PyObject 
* obj0 
= 0 ; 
13190     PyObject 
* obj1 
= 0 ; 
13191     PyObject 
* obj2 
= 0 ; 
13192     PyObject 
* obj3 
= 0 ; 
13193     char *kwnames
[] = { 
13194         (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL 
 
13197     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMono",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
13198     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION 
| 0); 
13199     if (SWIG_arg_fail(1)) SWIG_fail
; 
13201         arg2 
= (unsigned char)(SWIG_As_unsigned_SS_char(obj1
));  
13202         if (SWIG_arg_fail(2)) SWIG_fail
; 
13205         arg3 
= (unsigned char)(SWIG_As_unsigned_SS_char(obj2
));  
13206         if (SWIG_arg_fail(3)) SWIG_fail
; 
13209         arg4 
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));  
13210         if (SWIG_arg_fail(4)) SWIG_fail
; 
13213         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13214         result 
= ((wxImage 
const *)arg1
)->ConvertToMono(arg2
,arg3
,arg4
); 
13216         wxPyEndAllowThreads(__tstate
); 
13217         if (PyErr_Occurred()) SWIG_fail
; 
13220         wxImage 
* resultptr
; 
13221         resultptr 
= new wxImage((wxImage 
&)(result
)); 
13222         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1); 
13230 static PyObject 
*_wrap_Image_SetOption(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
13231     PyObject 
*resultobj
; 
13232     wxImage 
*arg1 
= (wxImage 
*) 0 ; 
13233     wxString 
*arg2 
= 0 ; 
13234     wxString 
*arg3 
= 0 ; 
13235     bool temp2 
= false ; 
13236     bool temp3 
= false ; 
13237     PyObject 
* obj0 
= 0 ; 
13238     PyObject 
* obj1 
= 0 ; 
13239     PyObject 
* obj2 
= 0 ; 
13240     char *kwnames
[] = { 
13241         (char *) "self",(char *) "name",(char *) "value", NULL 
 
13244     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SetOption",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
13245     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION 
| 0); 
13246     if (SWIG_arg_fail(1)) SWIG_fail
; 
13248         arg2 
= wxString_in_helper(obj1
); 
13249         if (arg2 
== NULL
) SWIG_fail
; 
13253         arg3 
= wxString_in_helper(obj2
); 
13254         if (arg3 
== NULL
) SWIG_fail
; 
13258         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13259         (arg1
)->SetOption((wxString 
const &)*arg2
,(wxString 
const &)*arg3
); 
13261         wxPyEndAllowThreads(__tstate
); 
13262         if (PyErr_Occurred()) SWIG_fail
; 
13264     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
13287 static PyObject 
*_wrap_Image_SetOptionInt(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
13288     PyObject 
*resultobj
; 
13289     wxImage 
*arg1 
= (wxImage 
*) 0 ; 
13290     wxString 
*arg2 
= 0 ; 
13292     bool temp2 
= false ; 
13293     PyObject 
* obj0 
= 0 ; 
13294     PyObject 
* obj1 
= 0 ; 
13295     PyObject 
* obj2 
= 0 ; 
13296     char *kwnames
[] = { 
13297         (char *) "self",(char *) "name",(char *) "value", NULL 
 
13300     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SetOptionInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
13301     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION 
| 0); 
13302     if (SWIG_arg_fail(1)) SWIG_fail
; 
13304         arg2 
= wxString_in_helper(obj1
); 
13305         if (arg2 
== NULL
) SWIG_fail
; 
13309         arg3 
= (int)(SWIG_As_int(obj2
));  
13310         if (SWIG_arg_fail(3)) SWIG_fail
; 
13313         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13314         (arg1
)->SetOption((wxString 
const &)*arg2
,arg3
); 
13316         wxPyEndAllowThreads(__tstate
); 
13317         if (PyErr_Occurred()) SWIG_fail
; 
13319     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
13334 static PyObject 
*_wrap_Image_GetOption(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
13335     PyObject 
*resultobj
; 
13336     wxImage 
*arg1 
= (wxImage 
*) 0 ; 
13337     wxString 
*arg2 
= 0 ; 
13339     bool temp2 
= false ; 
13340     PyObject 
* obj0 
= 0 ; 
13341     PyObject 
* obj1 
= 0 ; 
13342     char *kwnames
[] = { 
13343         (char *) "self",(char *) "name", NULL 
 
13346     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOption",kwnames
,&obj0
,&obj1
)) goto fail
; 
13347     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION 
| 0); 
13348     if (SWIG_arg_fail(1)) SWIG_fail
; 
13350         arg2 
= wxString_in_helper(obj1
); 
13351         if (arg2 
== NULL
) SWIG_fail
; 
13355         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13356         result 
= ((wxImage 
const *)arg1
)->GetOption((wxString 
const &)*arg2
); 
13358         wxPyEndAllowThreads(__tstate
); 
13359         if (PyErr_Occurred()) SWIG_fail
; 
13363         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
13365         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
13382 static PyObject 
*_wrap_Image_GetOptionInt(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
13383     PyObject 
*resultobj
; 
13384     wxImage 
*arg1 
= (wxImage 
*) 0 ; 
13385     wxString 
*arg2 
= 0 ; 
13387     bool temp2 
= false ; 
13388     PyObject 
* obj0 
= 0 ; 
13389     PyObject 
* obj1 
= 0 ; 
13390     char *kwnames
[] = { 
13391         (char *) "self",(char *) "name", NULL 
 
13394     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOptionInt",kwnames
,&obj0
,&obj1
)) goto fail
; 
13395     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION 
| 0); 
13396     if (SWIG_arg_fail(1)) SWIG_fail
; 
13398         arg2 
= wxString_in_helper(obj1
); 
13399         if (arg2 
== NULL
) SWIG_fail
; 
13403         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13404         result 
= (int)((wxImage 
const *)arg1
)->GetOptionInt((wxString 
const &)*arg2
); 
13406         wxPyEndAllowThreads(__tstate
); 
13407         if (PyErr_Occurred()) SWIG_fail
; 
13410         resultobj 
= SWIG_From_int((int)(result
));  
13426 static PyObject 
*_wrap_Image_HasOption(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
13427     PyObject 
*resultobj
; 
13428     wxImage 
*arg1 
= (wxImage 
*) 0 ; 
13429     wxString 
*arg2 
= 0 ; 
13431     bool temp2 
= false ; 
13432     PyObject 
* obj0 
= 0 ; 
13433     PyObject 
* obj1 
= 0 ; 
13434     char *kwnames
[] = { 
13435         (char *) "self",(char *) "name", NULL 
 
13438     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_HasOption",kwnames
,&obj0
,&obj1
)) goto fail
; 
13439     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION 
| 0); 
13440     if (SWIG_arg_fail(1)) SWIG_fail
; 
13442         arg2 
= wxString_in_helper(obj1
); 
13443         if (arg2 
== NULL
) SWIG_fail
; 
13447         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13448         result 
= (bool)((wxImage 
const *)arg1
)->HasOption((wxString 
const &)*arg2
); 
13450         wxPyEndAllowThreads(__tstate
); 
13451         if (PyErr_Occurred()) SWIG_fail
; 
13454         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
13470 static PyObject 
*_wrap_Image_CountColours(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
13471     PyObject 
*resultobj
; 
13472     wxImage 
*arg1 
= (wxImage 
*) 0 ; 
13473     unsigned long arg2 
= (unsigned long) (unsigned long) -1 ; 
13474     unsigned long result
; 
13475     PyObject 
* obj0 
= 0 ; 
13476     PyObject 
* obj1 
= 0 ; 
13477     char *kwnames
[] = { 
13478         (char *) "self",(char *) "stopafter", NULL 
 
13481     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_CountColours",kwnames
,&obj0
,&obj1
)) goto fail
; 
13482     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION 
| 0); 
13483     if (SWIG_arg_fail(1)) SWIG_fail
; 
13486             arg2 
= (unsigned long)(SWIG_As_unsigned_SS_long(obj1
));  
13487             if (SWIG_arg_fail(2)) SWIG_fail
; 
13491         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13492         result 
= (unsigned long)(arg1
)->CountColours(arg2
); 
13494         wxPyEndAllowThreads(__tstate
); 
13495         if (PyErr_Occurred()) SWIG_fail
; 
13498         resultobj 
= SWIG_From_unsigned_SS_long((unsigned long)(result
));  
13506 static PyObject 
*_wrap_Image_ComputeHistogram(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
13507     PyObject 
*resultobj
; 
13508     wxImage 
*arg1 
= (wxImage 
*) 0 ; 
13509     wxImageHistogram 
*arg2 
= 0 ; 
13510     unsigned long result
; 
13511     PyObject 
* obj0 
= 0 ; 
13512     PyObject 
* obj1 
= 0 ; 
13513     char *kwnames
[] = { 
13514         (char *) "self",(char *) "h", NULL 
 
13517     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_ComputeHistogram",kwnames
,&obj0
,&obj1
)) goto fail
; 
13518     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION 
| 0); 
13519     if (SWIG_arg_fail(1)) SWIG_fail
; 
13521         SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageHistogram
, SWIG_POINTER_EXCEPTION 
| 0); 
13522         if (SWIG_arg_fail(2)) SWIG_fail
; 
13523         if (arg2 
== NULL
) { 
13524             SWIG_null_ref("wxImageHistogram"); 
13526         if (SWIG_arg_fail(2)) SWIG_fail
; 
13529         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13530         result 
= (unsigned long)(arg1
)->ComputeHistogram(*arg2
); 
13532         wxPyEndAllowThreads(__tstate
); 
13533         if (PyErr_Occurred()) SWIG_fail
; 
13536         resultobj 
= SWIG_From_unsigned_SS_long((unsigned long)(result
));  
13544 static PyObject 
*_wrap_Image_AddHandler(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
13545     PyObject 
*resultobj
; 
13546     wxImageHandler 
*arg1 
= (wxImageHandler 
*) 0 ; 
13547     PyObject 
* obj0 
= 0 ; 
13548     char *kwnames
[] = { 
13549         (char *) "handler", NULL 
 
13552     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_AddHandler",kwnames
,&obj0
)) goto fail
; 
13553     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION 
| 0); 
13554     if (SWIG_arg_fail(1)) SWIG_fail
; 
13556         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13557         wxImage::AddHandler(arg1
); 
13559         wxPyEndAllowThreads(__tstate
); 
13560         if (PyErr_Occurred()) SWIG_fail
; 
13562     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
13569 static PyObject 
*_wrap_Image_InsertHandler(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
13570     PyObject 
*resultobj
; 
13571     wxImageHandler 
*arg1 
= (wxImageHandler 
*) 0 ; 
13572     PyObject 
* obj0 
= 0 ; 
13573     char *kwnames
[] = { 
13574         (char *) "handler", NULL 
 
13577     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_InsertHandler",kwnames
,&obj0
)) goto fail
; 
13578     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION 
| 0); 
13579     if (SWIG_arg_fail(1)) SWIG_fail
; 
13581         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13582         wxImage::InsertHandler(arg1
); 
13584         wxPyEndAllowThreads(__tstate
); 
13585         if (PyErr_Occurred()) SWIG_fail
; 
13587     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
13594 static PyObject 
*_wrap_Image_RemoveHandler(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
13595     PyObject 
*resultobj
; 
13596     wxString 
*arg1 
= 0 ; 
13598     bool temp1 
= false ; 
13599     PyObject 
* obj0 
= 0 ; 
13600     char *kwnames
[] = { 
13601         (char *) "name", NULL 
 
13604     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_RemoveHandler",kwnames
,&obj0
)) goto fail
; 
13606         arg1 
= wxString_in_helper(obj0
); 
13607         if (arg1 
== NULL
) SWIG_fail
; 
13611         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13612         result 
= (bool)wxImage::RemoveHandler((wxString 
const &)*arg1
); 
13614         wxPyEndAllowThreads(__tstate
); 
13615         if (PyErr_Occurred()) SWIG_fail
; 
13618         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
13634 static PyObject 
*_wrap_Image_GetImageExtWildcard(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
13635     PyObject 
*resultobj
; 
13637     char *kwnames
[] = { 
13641     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Image_GetImageExtWildcard",kwnames
)) goto fail
; 
13643         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13644         result 
= wxImage::GetImageExtWildcard(); 
13646         wxPyEndAllowThreads(__tstate
); 
13647         if (PyErr_Occurred()) SWIG_fail
; 
13651         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
13653         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
13662 static PyObject 
*_wrap_Image_ConvertToBitmap(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
13663     PyObject 
*resultobj
; 
13664     wxImage 
*arg1 
= (wxImage 
*) 0 ; 
13665     int arg2 
= (int) -1 ; 
13667     PyObject 
* obj0 
= 0 ; 
13668     PyObject 
* obj1 
= 0 ; 
13669     char *kwnames
[] = { 
13670         (char *) "self",(char *) "depth", NULL 
 
13673     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_ConvertToBitmap",kwnames
,&obj0
,&obj1
)) goto fail
; 
13674     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION 
| 0); 
13675     if (SWIG_arg_fail(1)) SWIG_fail
; 
13678             arg2 
= (int)(SWIG_As_int(obj1
));  
13679             if (SWIG_arg_fail(2)) SWIG_fail
; 
13683         if (!wxPyCheckForApp()) SWIG_fail
; 
13684         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13685         result 
= wxImage_ConvertToBitmap(arg1
,arg2
); 
13687         wxPyEndAllowThreads(__tstate
); 
13688         if (PyErr_Occurred()) SWIG_fail
; 
13691         wxBitmap 
* resultptr
; 
13692         resultptr 
= new wxBitmap((wxBitmap 
&)(result
)); 
13693         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1); 
13701 static PyObject 
*_wrap_Image_ConvertToMonoBitmap(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
13702     PyObject 
*resultobj
; 
13703     wxImage 
*arg1 
= (wxImage 
*) 0 ; 
13704     unsigned char arg2 
; 
13705     unsigned char arg3 
; 
13706     unsigned char arg4 
; 
13708     PyObject 
* obj0 
= 0 ; 
13709     PyObject 
* obj1 
= 0 ; 
13710     PyObject 
* obj2 
= 0 ; 
13711     PyObject 
* obj3 
= 0 ; 
13712     char *kwnames
[] = { 
13713         (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL 
 
13716     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMonoBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
13717     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION 
| 0); 
13718     if (SWIG_arg_fail(1)) SWIG_fail
; 
13720         arg2 
= (unsigned char)(SWIG_As_unsigned_SS_char(obj1
));  
13721         if (SWIG_arg_fail(2)) SWIG_fail
; 
13724         arg3 
= (unsigned char)(SWIG_As_unsigned_SS_char(obj2
));  
13725         if (SWIG_arg_fail(3)) SWIG_fail
; 
13728         arg4 
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));  
13729         if (SWIG_arg_fail(4)) SWIG_fail
; 
13732         if (!wxPyCheckForApp()) SWIG_fail
; 
13733         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13734         result 
= wxImage_ConvertToMonoBitmap(arg1
,arg2
,arg3
,arg4
); 
13736         wxPyEndAllowThreads(__tstate
); 
13737         if (PyErr_Occurred()) SWIG_fail
; 
13740         wxBitmap 
* resultptr
; 
13741         resultptr 
= new wxBitmap((wxBitmap 
&)(result
)); 
13742         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1); 
13750 static PyObject 
* Image_swigregister(PyObject 
*, PyObject 
*args
) { 
13752     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
13753     SWIG_TypeClientData(SWIGTYPE_p_wxImage
, obj
); 
13755     return Py_BuildValue((char *)""); 
13757 static int _wrap_NullImage_set(PyObject 
*) { 
13758     PyErr_SetString(PyExc_TypeError
,"Variable NullImage is read-only."); 
13763 static PyObject 
*_wrap_NullImage_get(void) { 
13766     pyobj 
= SWIG_NewPointerObj((void *)(&wxNullImage
), SWIGTYPE_p_wxImage
, 0); 
13771 static int _wrap_IMAGE_OPTION_FILENAME_set(PyObject 
*) { 
13772     PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_FILENAME is read-only."); 
13777 static PyObject 
*_wrap_IMAGE_OPTION_FILENAME_get(void) { 
13782         pyobj 
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_FILENAME
)->c_str(), (&wxPyIMAGE_OPTION_FILENAME
)->Len()); 
13784         pyobj 
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_FILENAME
)->c_str(), (&wxPyIMAGE_OPTION_FILENAME
)->Len()); 
13791 static int _wrap_IMAGE_OPTION_BMP_FORMAT_set(PyObject 
*) { 
13792     PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_BMP_FORMAT is read-only."); 
13797 static PyObject 
*_wrap_IMAGE_OPTION_BMP_FORMAT_get(void) { 
13802         pyobj 
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len()); 
13804         pyobj 
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len()); 
13811 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set(PyObject 
*) { 
13812     PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_X is read-only."); 
13817 static PyObject 
*_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get(void) { 
13822         pyobj 
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len()); 
13824         pyobj 
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len()); 
13831 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set(PyObject 
*) { 
13832     PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_Y is read-only."); 
13837 static PyObject 
*_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get(void) { 
13842         pyobj 
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len()); 
13844         pyobj 
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len()); 
13851 static int _wrap_IMAGE_OPTION_RESOLUTION_set(PyObject 
*) { 
13852     PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTION is read-only."); 
13857 static PyObject 
*_wrap_IMAGE_OPTION_RESOLUTION_get(void) { 
13862         pyobj 
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len()); 
13864         pyobj 
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len()); 
13871 static int _wrap_IMAGE_OPTION_RESOLUTIONX_set(PyObject 
*) { 
13872     PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTIONX is read-only."); 
13877 static PyObject 
*_wrap_IMAGE_OPTION_RESOLUTIONX_get(void) { 
13882         pyobj 
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONX
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONX
)->Len()); 
13884         pyobj 
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONX
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONX
)->Len()); 
13891 static int _wrap_IMAGE_OPTION_RESOLUTIONY_set(PyObject 
*) { 
13892     PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTIONY is read-only."); 
13897 static PyObject 
*_wrap_IMAGE_OPTION_RESOLUTIONY_get(void) { 
13902         pyobj 
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONY
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONY
)->Len()); 
13904         pyobj 
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONY
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONY
)->Len()); 
13911 static int _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set(PyObject 
*) { 
13912     PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTIONUNIT is read-only."); 
13917 static PyObject 
*_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get(void) { 
13922         pyobj 
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len()); 
13924         pyobj 
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len()); 
13931 static int _wrap_IMAGE_OPTION_QUALITY_set(PyObject 
*) { 
13932     PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_QUALITY is read-only."); 
13937 static PyObject 
*_wrap_IMAGE_OPTION_QUALITY_get(void) { 
13942         pyobj 
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_QUALITY
)->c_str(), (&wxPyIMAGE_OPTION_QUALITY
)->Len()); 
13944         pyobj 
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_QUALITY
)->c_str(), (&wxPyIMAGE_OPTION_QUALITY
)->Len()); 
13951 static int _wrap_IMAGE_OPTION_BITSPERSAMPLE_set(PyObject 
*) { 
13952     PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_BITSPERSAMPLE is read-only."); 
13957 static PyObject 
*_wrap_IMAGE_OPTION_BITSPERSAMPLE_get(void) { 
13962         pyobj 
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_BITSPERSAMPLE
)->c_str(), (&wxPyIMAGE_OPTION_BITSPERSAMPLE
)->Len()); 
13964         pyobj 
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_BITSPERSAMPLE
)->c_str(), (&wxPyIMAGE_OPTION_BITSPERSAMPLE
)->Len()); 
13971 static int _wrap_IMAGE_OPTION_SAMPLESPERPIXEL_set(PyObject 
*) { 
13972     PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_SAMPLESPERPIXEL is read-only."); 
13977 static PyObject 
*_wrap_IMAGE_OPTION_SAMPLESPERPIXEL_get(void) { 
13982         pyobj 
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_SAMPLESPERPIXEL
)->c_str(), (&wxPyIMAGE_OPTION_SAMPLESPERPIXEL
)->Len()); 
13984         pyobj 
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_SAMPLESPERPIXEL
)->c_str(), (&wxPyIMAGE_OPTION_SAMPLESPERPIXEL
)->Len()); 
13991 static int _wrap_IMAGE_OPTION_COMPRESSION_set(PyObject 
*) { 
13992     PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_COMPRESSION is read-only."); 
13997 static PyObject 
*_wrap_IMAGE_OPTION_COMPRESSION_get(void) { 
14002         pyobj 
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_COMPRESSION
)->c_str(), (&wxPyIMAGE_OPTION_COMPRESSION
)->Len()); 
14004         pyobj 
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_COMPRESSION
)->c_str(), (&wxPyIMAGE_OPTION_COMPRESSION
)->Len()); 
14011 static int _wrap_IMAGE_OPTION_IMAGEDESCRIPTOR_set(PyObject 
*) { 
14012     PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_IMAGEDESCRIPTOR is read-only."); 
14017 static PyObject 
*_wrap_IMAGE_OPTION_IMAGEDESCRIPTOR_get(void) { 
14022         pyobj 
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_IMAGEDESCRIPTOR
)->c_str(), (&wxPyIMAGE_OPTION_IMAGEDESCRIPTOR
)->Len()); 
14024         pyobj 
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_IMAGEDESCRIPTOR
)->c_str(), (&wxPyIMAGE_OPTION_IMAGEDESCRIPTOR
)->Len()); 
14031 static int _wrap_IMAGE_OPTION_PNG_FORMAT_set(PyObject 
*) { 
14032     PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_PNG_FORMAT is read-only."); 
14037 static PyObject 
*_wrap_IMAGE_OPTION_PNG_FORMAT_get(void) { 
14042         pyobj 
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_PNG_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_PNG_FORMAT
)->Len()); 
14044         pyobj 
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_PNG_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_PNG_FORMAT
)->Len()); 
14051 static int _wrap_IMAGE_OPTION_PNG_BITDEPTH_set(PyObject 
*) { 
14052     PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_PNG_BITDEPTH is read-only."); 
14057 static PyObject 
*_wrap_IMAGE_OPTION_PNG_BITDEPTH_get(void) { 
14062         pyobj 
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_PNG_BITDEPTH
)->c_str(), (&wxPyIMAGE_OPTION_PNG_BITDEPTH
)->Len()); 
14064         pyobj 
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_PNG_BITDEPTH
)->c_str(), (&wxPyIMAGE_OPTION_PNG_BITDEPTH
)->Len()); 
14071 static PyObject 
*_wrap_new_BMPHandler(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
14072     PyObject 
*resultobj
; 
14073     wxBMPHandler 
*result
; 
14074     char *kwnames
[] = { 
14078     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_BMPHandler",kwnames
)) goto fail
; 
14080         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14081         result 
= (wxBMPHandler 
*)new wxBMPHandler(); 
14083         wxPyEndAllowThreads(__tstate
); 
14084         if (PyErr_Occurred()) SWIG_fail
; 
14086     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBMPHandler
, 1); 
14093 static PyObject 
* BMPHandler_swigregister(PyObject 
*, PyObject 
*args
) { 
14095     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
14096     SWIG_TypeClientData(SWIGTYPE_p_wxBMPHandler
, obj
); 
14098     return Py_BuildValue((char *)""); 
14100 static PyObject 
*_wrap_new_ICOHandler(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
14101     PyObject 
*resultobj
; 
14102     wxICOHandler 
*result
; 
14103     char *kwnames
[] = { 
14107     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ICOHandler",kwnames
)) goto fail
; 
14109         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14110         result 
= (wxICOHandler 
*)new wxICOHandler(); 
14112         wxPyEndAllowThreads(__tstate
); 
14113         if (PyErr_Occurred()) SWIG_fail
; 
14115     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxICOHandler
, 1); 
14122 static PyObject 
* ICOHandler_swigregister(PyObject 
*, PyObject 
*args
) { 
14124     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
14125     SWIG_TypeClientData(SWIGTYPE_p_wxICOHandler
, obj
); 
14127     return Py_BuildValue((char *)""); 
14129 static PyObject 
*_wrap_new_CURHandler(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
14130     PyObject 
*resultobj
; 
14131     wxCURHandler 
*result
; 
14132     char *kwnames
[] = { 
14136     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_CURHandler",kwnames
)) goto fail
; 
14138         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14139         result 
= (wxCURHandler 
*)new wxCURHandler(); 
14141         wxPyEndAllowThreads(__tstate
); 
14142         if (PyErr_Occurred()) SWIG_fail
; 
14144     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCURHandler
, 1); 
14151 static PyObject 
* CURHandler_swigregister(PyObject 
*, PyObject 
*args
) { 
14153     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
14154     SWIG_TypeClientData(SWIGTYPE_p_wxCURHandler
, obj
); 
14156     return Py_BuildValue((char *)""); 
14158 static PyObject 
*_wrap_new_ANIHandler(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
14159     PyObject 
*resultobj
; 
14160     wxANIHandler 
*result
; 
14161     char *kwnames
[] = { 
14165     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ANIHandler",kwnames
)) goto fail
; 
14167         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14168         result 
= (wxANIHandler 
*)new wxANIHandler(); 
14170         wxPyEndAllowThreads(__tstate
); 
14171         if (PyErr_Occurred()) SWIG_fail
; 
14173     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxANIHandler
, 1); 
14180 static PyObject 
* ANIHandler_swigregister(PyObject 
*, PyObject 
*args
) { 
14182     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
14183     SWIG_TypeClientData(SWIGTYPE_p_wxANIHandler
, obj
); 
14185     return Py_BuildValue((char *)""); 
14187 static PyObject 
*_wrap_new_PNGHandler(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
14188     PyObject 
*resultobj
; 
14189     wxPNGHandler 
*result
; 
14190     char *kwnames
[] = { 
14194     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PNGHandler",kwnames
)) goto fail
; 
14196         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14197         result 
= (wxPNGHandler 
*)new wxPNGHandler(); 
14199         wxPyEndAllowThreads(__tstate
); 
14200         if (PyErr_Occurred()) SWIG_fail
; 
14202     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPNGHandler
, 1); 
14209 static PyObject 
* PNGHandler_swigregister(PyObject 
*, PyObject 
*args
) { 
14211     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
14212     SWIG_TypeClientData(SWIGTYPE_p_wxPNGHandler
, obj
); 
14214     return Py_BuildValue((char *)""); 
14216 static PyObject 
*_wrap_new_GIFHandler(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
14217     PyObject 
*resultobj
; 
14218     wxGIFHandler 
*result
; 
14219     char *kwnames
[] = { 
14223     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GIFHandler",kwnames
)) goto fail
; 
14225         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14226         result 
= (wxGIFHandler 
*)new wxGIFHandler(); 
14228         wxPyEndAllowThreads(__tstate
); 
14229         if (PyErr_Occurred()) SWIG_fail
; 
14231     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGIFHandler
, 1); 
14238 static PyObject 
* GIFHandler_swigregister(PyObject 
*, PyObject 
*args
) { 
14240     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
14241     SWIG_TypeClientData(SWIGTYPE_p_wxGIFHandler
, obj
); 
14243     return Py_BuildValue((char *)""); 
14245 static PyObject 
*_wrap_new_PCXHandler(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
14246     PyObject 
*resultobj
; 
14247     wxPCXHandler 
*result
; 
14248     char *kwnames
[] = { 
14252     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PCXHandler",kwnames
)) goto fail
; 
14254         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14255         result 
= (wxPCXHandler 
*)new wxPCXHandler(); 
14257         wxPyEndAllowThreads(__tstate
); 
14258         if (PyErr_Occurred()) SWIG_fail
; 
14260     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPCXHandler
, 1); 
14267 static PyObject 
* PCXHandler_swigregister(PyObject 
*, PyObject 
*args
) { 
14269     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
14270     SWIG_TypeClientData(SWIGTYPE_p_wxPCXHandler
, obj
); 
14272     return Py_BuildValue((char *)""); 
14274 static PyObject 
*_wrap_new_JPEGHandler(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
14275     PyObject 
*resultobj
; 
14276     wxJPEGHandler 
*result
; 
14277     char *kwnames
[] = { 
14281     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_JPEGHandler",kwnames
)) goto fail
; 
14283         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14284         result 
= (wxJPEGHandler 
*)new wxJPEGHandler(); 
14286         wxPyEndAllowThreads(__tstate
); 
14287         if (PyErr_Occurred()) SWIG_fail
; 
14289     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJPEGHandler
, 1); 
14296 static PyObject 
* JPEGHandler_swigregister(PyObject 
*, PyObject 
*args
) { 
14298     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
14299     SWIG_TypeClientData(SWIGTYPE_p_wxJPEGHandler
, obj
); 
14301     return Py_BuildValue((char *)""); 
14303 static PyObject 
*_wrap_new_PNMHandler(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
14304     PyObject 
*resultobj
; 
14305     wxPNMHandler 
*result
; 
14306     char *kwnames
[] = { 
14310     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PNMHandler",kwnames
)) goto fail
; 
14312         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14313         result 
= (wxPNMHandler 
*)new wxPNMHandler(); 
14315         wxPyEndAllowThreads(__tstate
); 
14316         if (PyErr_Occurred()) SWIG_fail
; 
14318     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPNMHandler
, 1); 
14325 static PyObject 
* PNMHandler_swigregister(PyObject 
*, PyObject 
*args
) { 
14327     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
14328     SWIG_TypeClientData(SWIGTYPE_p_wxPNMHandler
, obj
); 
14330     return Py_BuildValue((char *)""); 
14332 static PyObject 
*_wrap_new_XPMHandler(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
14333     PyObject 
*resultobj
; 
14334     wxXPMHandler 
*result
; 
14335     char *kwnames
[] = { 
14339     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_XPMHandler",kwnames
)) goto fail
; 
14341         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14342         result 
= (wxXPMHandler 
*)new wxXPMHandler(); 
14344         wxPyEndAllowThreads(__tstate
); 
14345         if (PyErr_Occurred()) SWIG_fail
; 
14347     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxXPMHandler
, 1); 
14354 static PyObject 
* XPMHandler_swigregister(PyObject 
*, PyObject 
*args
) { 
14356     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
14357     SWIG_TypeClientData(SWIGTYPE_p_wxXPMHandler
, obj
); 
14359     return Py_BuildValue((char *)""); 
14361 static PyObject 
*_wrap_new_TIFFHandler(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
14362     PyObject 
*resultobj
; 
14363     wxTIFFHandler 
*result
; 
14364     char *kwnames
[] = { 
14368     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TIFFHandler",kwnames
)) goto fail
; 
14370         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14371         result 
= (wxTIFFHandler 
*)new wxTIFFHandler(); 
14373         wxPyEndAllowThreads(__tstate
); 
14374         if (PyErr_Occurred()) SWIG_fail
; 
14376     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTIFFHandler
, 1); 
14383 static PyObject 
* TIFFHandler_swigregister(PyObject 
*, PyObject 
*args
) { 
14385     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
14386     SWIG_TypeClientData(SWIGTYPE_p_wxTIFFHandler
, obj
); 
14388     return Py_BuildValue((char *)""); 
14390 static PyObject 
*_wrap_Quantize_Quantize(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
14391     PyObject 
*resultobj
; 
14392     wxImage 
*arg1 
= 0 ; 
14393     wxImage 
*arg2 
= 0 ; 
14394     int arg3 
= (int) 236 ; 
14395     int arg4 
= (int) wxQUANTIZE_INCLUDE_WINDOWS_COLOURS
|wxQUANTIZE_FILL_DESTINATION_IMAGE 
; 
14397     PyObject 
* obj0 
= 0 ; 
14398     PyObject 
* obj1 
= 0 ; 
14399     PyObject 
* obj2 
= 0 ; 
14400     PyObject 
* obj3 
= 0 ; 
14401     char *kwnames
[] = { 
14402         (char *) "src",(char *) "dest",(char *) "desiredNoColours",(char *) "flags", NULL 
 
14405     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Quantize_Quantize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
14407         SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION 
| 0); 
14408         if (SWIG_arg_fail(1)) SWIG_fail
; 
14409         if (arg1 
== NULL
) { 
14410             SWIG_null_ref("wxImage"); 
14412         if (SWIG_arg_fail(1)) SWIG_fail
; 
14415         SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION 
| 0); 
14416         if (SWIG_arg_fail(2)) SWIG_fail
; 
14417         if (arg2 
== NULL
) { 
14418             SWIG_null_ref("wxImage"); 
14420         if (SWIG_arg_fail(2)) SWIG_fail
; 
14424             arg3 
= (int)(SWIG_As_int(obj2
));  
14425             if (SWIG_arg_fail(3)) SWIG_fail
; 
14430             arg4 
= (int)(SWIG_As_int(obj3
));  
14431             if (SWIG_arg_fail(4)) SWIG_fail
; 
14435         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14436         result 
= (bool)Quantize_Quantize((wxImage 
const &)*arg1
,*arg2
,arg3
,arg4
); 
14438         wxPyEndAllowThreads(__tstate
); 
14439         if (PyErr_Occurred()) SWIG_fail
; 
14442         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
14450 static PyObject 
* Quantize_swigregister(PyObject 
*, PyObject 
*args
) { 
14452     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
14453     SWIG_TypeClientData(SWIGTYPE_p_wxQuantize
, obj
); 
14455     return Py_BuildValue((char *)""); 
14457 static PyObject 
*_wrap_new_EvtHandler(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
14458     PyObject 
*resultobj
; 
14459     wxEvtHandler 
*result
; 
14460     char *kwnames
[] = { 
14464     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EvtHandler",kwnames
)) goto fail
; 
14466         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14467         result 
= (wxEvtHandler 
*)new wxEvtHandler(); 
14469         wxPyEndAllowThreads(__tstate
); 
14470         if (PyErr_Occurred()) SWIG_fail
; 
14472     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvtHandler
, 1); 
14479 static PyObject 
*_wrap_EvtHandler_GetNextHandler(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
14480     PyObject 
*resultobj
; 
14481     wxEvtHandler 
*arg1 
= (wxEvtHandler 
*) 0 ; 
14482     wxEvtHandler 
*result
; 
14483     PyObject 
* obj0 
= 0 ; 
14484     char *kwnames
[] = { 
14485         (char *) "self", NULL 
 
14488     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetNextHandler",kwnames
,&obj0
)) goto fail
; 
14489     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION 
| 0); 
14490     if (SWIG_arg_fail(1)) SWIG_fail
; 
14492         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14493         result 
= (wxEvtHandler 
*)(arg1
)->GetNextHandler(); 
14495         wxPyEndAllowThreads(__tstate
); 
14496         if (PyErr_Occurred()) SWIG_fail
; 
14499         resultobj 
= wxPyMake_wxObject(result
, 0);  
14507 static PyObject 
*_wrap_EvtHandler_GetPreviousHandler(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
14508     PyObject 
*resultobj
; 
14509     wxEvtHandler 
*arg1 
= (wxEvtHandler 
*) 0 ; 
14510     wxEvtHandler 
*result
; 
14511     PyObject 
* obj0 
= 0 ; 
14512     char *kwnames
[] = { 
14513         (char *) "self", NULL 
 
14516     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetPreviousHandler",kwnames
,&obj0
)) goto fail
; 
14517     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION 
| 0); 
14518     if (SWIG_arg_fail(1)) SWIG_fail
; 
14520         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14521         result 
= (wxEvtHandler 
*)(arg1
)->GetPreviousHandler(); 
14523         wxPyEndAllowThreads(__tstate
); 
14524         if (PyErr_Occurred()) SWIG_fail
; 
14527         resultobj 
= wxPyMake_wxObject(result
, 0);  
14535 static PyObject 
*_wrap_EvtHandler_SetNextHandler(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
14536     PyObject 
*resultobj
; 
14537     wxEvtHandler 
*arg1 
= (wxEvtHandler 
*) 0 ; 
14538     wxEvtHandler 
*arg2 
= (wxEvtHandler 
*) 0 ; 
14539     PyObject 
* obj0 
= 0 ; 
14540     PyObject 
* obj1 
= 0 ; 
14541     char *kwnames
[] = { 
14542         (char *) "self",(char *) "handler", NULL 
 
14545     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetNextHandler",kwnames
,&obj0
,&obj1
)) goto fail
; 
14546     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION 
| 0); 
14547     if (SWIG_arg_fail(1)) SWIG_fail
; 
14548     SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION 
| 0); 
14549     if (SWIG_arg_fail(2)) SWIG_fail
; 
14551         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14552         (arg1
)->SetNextHandler(arg2
); 
14554         wxPyEndAllowThreads(__tstate
); 
14555         if (PyErr_Occurred()) SWIG_fail
; 
14557     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
14564 static PyObject 
*_wrap_EvtHandler_SetPreviousHandler(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
14565     PyObject 
*resultobj
; 
14566     wxEvtHandler 
*arg1 
= (wxEvtHandler 
*) 0 ; 
14567     wxEvtHandler 
*arg2 
= (wxEvtHandler 
*) 0 ; 
14568     PyObject 
* obj0 
= 0 ; 
14569     PyObject 
* obj1 
= 0 ; 
14570     char *kwnames
[] = { 
14571         (char *) "self",(char *) "handler", NULL 
 
14574     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetPreviousHandler",kwnames
,&obj0
,&obj1
)) goto fail
; 
14575     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION 
| 0); 
14576     if (SWIG_arg_fail(1)) SWIG_fail
; 
14577     SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION 
| 0); 
14578     if (SWIG_arg_fail(2)) SWIG_fail
; 
14580         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14581         (arg1
)->SetPreviousHandler(arg2
); 
14583         wxPyEndAllowThreads(__tstate
); 
14584         if (PyErr_Occurred()) SWIG_fail
; 
14586     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
14593 static PyObject 
*_wrap_EvtHandler_GetEvtHandlerEnabled(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
14594     PyObject 
*resultobj
; 
14595     wxEvtHandler 
*arg1 
= (wxEvtHandler 
*) 0 ; 
14597     PyObject 
* obj0 
= 0 ; 
14598     char *kwnames
[] = { 
14599         (char *) "self", NULL 
 
14602     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetEvtHandlerEnabled",kwnames
,&obj0
)) goto fail
; 
14603     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION 
| 0); 
14604     if (SWIG_arg_fail(1)) SWIG_fail
; 
14606         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14607         result 
= (bool)(arg1
)->GetEvtHandlerEnabled(); 
14609         wxPyEndAllowThreads(__tstate
); 
14610         if (PyErr_Occurred()) SWIG_fail
; 
14613         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
14621 static PyObject 
*_wrap_EvtHandler_SetEvtHandlerEnabled(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
14622     PyObject 
*resultobj
; 
14623     wxEvtHandler 
*arg1 
= (wxEvtHandler 
*) 0 ; 
14625     PyObject 
* obj0 
= 0 ; 
14626     PyObject 
* obj1 
= 0 ; 
14627     char *kwnames
[] = { 
14628         (char *) "self",(char *) "enabled", NULL 
 
14631     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetEvtHandlerEnabled",kwnames
,&obj0
,&obj1
)) goto fail
; 
14632     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION 
| 0); 
14633     if (SWIG_arg_fail(1)) SWIG_fail
; 
14635         arg2 
= (bool)(SWIG_As_bool(obj1
));  
14636         if (SWIG_arg_fail(2)) SWIG_fail
; 
14639         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14640         (arg1
)->SetEvtHandlerEnabled(arg2
); 
14642         wxPyEndAllowThreads(__tstate
); 
14643         if (PyErr_Occurred()) SWIG_fail
; 
14645     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
14652 static PyObject 
*_wrap_EvtHandler_ProcessEvent(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
14653     PyObject 
*resultobj
; 
14654     wxEvtHandler 
*arg1 
= (wxEvtHandler 
*) 0 ; 
14655     wxEvent 
*arg2 
= 0 ; 
14657     PyObject 
* obj0 
= 0 ; 
14658     PyObject 
* obj1 
= 0 ; 
14659     char *kwnames
[] = { 
14660         (char *) "self",(char *) "event", NULL 
 
14663     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_ProcessEvent",kwnames
,&obj0
,&obj1
)) goto fail
; 
14664     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION 
| 0); 
14665     if (SWIG_arg_fail(1)) SWIG_fail
; 
14667         SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
14668         if (SWIG_arg_fail(2)) SWIG_fail
; 
14669         if (arg2 
== NULL
) { 
14670             SWIG_null_ref("wxEvent"); 
14672         if (SWIG_arg_fail(2)) SWIG_fail
; 
14675         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14676         result 
= (bool)(arg1
)->ProcessEvent(*arg2
); 
14678         wxPyEndAllowThreads(__tstate
); 
14679         if (PyErr_Occurred()) SWIG_fail
; 
14682         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
14690 static PyObject 
*_wrap_EvtHandler_AddPendingEvent(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
14691     PyObject 
*resultobj
; 
14692     wxEvtHandler 
*arg1 
= (wxEvtHandler 
*) 0 ; 
14693     wxEvent 
*arg2 
= 0 ; 
14694     PyObject 
* obj0 
= 0 ; 
14695     PyObject 
* obj1 
= 0 ; 
14696     char *kwnames
[] = { 
14697         (char *) "self",(char *) "event", NULL 
 
14700     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_AddPendingEvent",kwnames
,&obj0
,&obj1
)) goto fail
; 
14701     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION 
| 0); 
14702     if (SWIG_arg_fail(1)) SWIG_fail
; 
14704         SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
14705         if (SWIG_arg_fail(2)) SWIG_fail
; 
14706         if (arg2 
== NULL
) { 
14707             SWIG_null_ref("wxEvent"); 
14709         if (SWIG_arg_fail(2)) SWIG_fail
; 
14712         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14713         (arg1
)->AddPendingEvent(*arg2
); 
14715         wxPyEndAllowThreads(__tstate
); 
14716         if (PyErr_Occurred()) SWIG_fail
; 
14718     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
14725 static PyObject 
*_wrap_EvtHandler_ProcessPendingEvents(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
14726     PyObject 
*resultobj
; 
14727     wxEvtHandler 
*arg1 
= (wxEvtHandler 
*) 0 ; 
14728     PyObject 
* obj0 
= 0 ; 
14729     char *kwnames
[] = { 
14730         (char *) "self", NULL 
 
14733     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_ProcessPendingEvents",kwnames
,&obj0
)) goto fail
; 
14734     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION 
| 0); 
14735     if (SWIG_arg_fail(1)) SWIG_fail
; 
14737         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14738         (arg1
)->ProcessPendingEvents(); 
14740         wxPyEndAllowThreads(__tstate
); 
14741         if (PyErr_Occurred()) SWIG_fail
; 
14743     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
14750 static PyObject 
*_wrap_EvtHandler_Connect(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
14751     PyObject 
*resultobj
; 
14752     wxEvtHandler 
*arg1 
= (wxEvtHandler 
*) 0 ; 
14756     PyObject 
*arg5 
= (PyObject 
*) 0 ; 
14757     PyObject 
* obj0 
= 0 ; 
14758     PyObject 
* obj1 
= 0 ; 
14759     PyObject 
* obj2 
= 0 ; 
14760     PyObject 
* obj3 
= 0 ; 
14761     PyObject 
* obj4 
= 0 ; 
14762     char *kwnames
[] = { 
14763         (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType",(char *) "func", NULL 
 
14766     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:EvtHandler_Connect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
; 
14767     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION 
| 0); 
14768     if (SWIG_arg_fail(1)) SWIG_fail
; 
14770         arg2 
= (int)(SWIG_As_int(obj1
));  
14771         if (SWIG_arg_fail(2)) SWIG_fail
; 
14774         arg3 
= (int)(SWIG_As_int(obj2
));  
14775         if (SWIG_arg_fail(3)) SWIG_fail
; 
14778         arg4 
= (int)(SWIG_As_int(obj3
));  
14779         if (SWIG_arg_fail(4)) SWIG_fail
; 
14783         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14784         wxEvtHandler_Connect(arg1
,arg2
,arg3
,arg4
,arg5
); 
14786         wxPyEndAllowThreads(__tstate
); 
14787         if (PyErr_Occurred()) SWIG_fail
; 
14789     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
14796 static PyObject 
*_wrap_EvtHandler_Disconnect(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
14797     PyObject 
*resultobj
; 
14798     wxEvtHandler 
*arg1 
= (wxEvtHandler 
*) 0 ; 
14800     int arg3 
= (int) -1 ; 
14801     wxEventType arg4 
= (wxEventType
) wxEVT_NULL 
; 
14803     PyObject 
* obj0 
= 0 ; 
14804     PyObject 
* obj1 
= 0 ; 
14805     PyObject 
* obj2 
= 0 ; 
14806     PyObject 
* obj3 
= 0 ; 
14807     char *kwnames
[] = { 
14808         (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType", NULL 
 
14811     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:EvtHandler_Disconnect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
14812     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION 
| 0); 
14813     if (SWIG_arg_fail(1)) SWIG_fail
; 
14815         arg2 
= (int)(SWIG_As_int(obj1
));  
14816         if (SWIG_arg_fail(2)) SWIG_fail
; 
14820             arg3 
= (int)(SWIG_As_int(obj2
));  
14821             if (SWIG_arg_fail(3)) SWIG_fail
; 
14826             arg4 
= (wxEventType
)(SWIG_As_int(obj3
));  
14827             if (SWIG_arg_fail(4)) SWIG_fail
; 
14831         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14832         result 
= (bool)wxEvtHandler_Disconnect(arg1
,arg2
,arg3
,arg4
); 
14834         wxPyEndAllowThreads(__tstate
); 
14835         if (PyErr_Occurred()) SWIG_fail
; 
14838         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
14846 static PyObject 
*_wrap_EvtHandler__setOORInfo(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
14847     PyObject 
*resultobj
; 
14848     wxEvtHandler 
*arg1 
= (wxEvtHandler 
*) 0 ; 
14849     PyObject 
*arg2 
= (PyObject 
*) 0 ; 
14850     bool arg3 
= (bool) true ; 
14851     PyObject 
* obj0 
= 0 ; 
14852     PyObject 
* obj1 
= 0 ; 
14853     PyObject 
* obj2 
= 0 ; 
14854     char *kwnames
[] = { 
14855         (char *) "self",(char *) "_self",(char *) "incref", NULL 
 
14858     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:EvtHandler__setOORInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
14859     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION 
| 0); 
14860     if (SWIG_arg_fail(1)) SWIG_fail
; 
14864             arg3 
= (bool)(SWIG_As_bool(obj2
));  
14865             if (SWIG_arg_fail(3)) SWIG_fail
; 
14869         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14870         wxEvtHandler__setOORInfo(arg1
,arg2
,arg3
); 
14872         wxPyEndAllowThreads(__tstate
); 
14873         if (PyErr_Occurred()) SWIG_fail
; 
14875     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
14882 static PyObject 
* EvtHandler_swigregister(PyObject 
*, PyObject 
*args
) { 
14884     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
14885     SWIG_TypeClientData(SWIGTYPE_p_wxEvtHandler
, obj
); 
14887     return Py_BuildValue((char *)""); 
14889 static PyObject 
*_wrap_NewEventType(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
14890     PyObject 
*resultobj
; 
14891     wxEventType result
; 
14892     char *kwnames
[] = { 
14896     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":NewEventType",kwnames
)) goto fail
; 
14898         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14899         result 
= (wxEventType
)wxNewEventType(); 
14901         wxPyEndAllowThreads(__tstate
); 
14902         if (PyErr_Occurred()) SWIG_fail
; 
14905         resultobj 
= SWIG_From_int((int)(result
));  
14913 static PyObject 
*_wrap_delete_Event(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
14914     PyObject 
*resultobj
; 
14915     wxEvent 
*arg1 
= (wxEvent 
*) 0 ; 
14916     PyObject 
* obj0 
= 0 ; 
14917     char *kwnames
[] = { 
14918         (char *) "self", NULL 
 
14921     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Event",kwnames
,&obj0
)) goto fail
; 
14922     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
14923     if (SWIG_arg_fail(1)) SWIG_fail
; 
14925         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14928         wxPyEndAllowThreads(__tstate
); 
14929         if (PyErr_Occurred()) SWIG_fail
; 
14931     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
14938 static PyObject 
*_wrap_Event_SetEventType(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
14939     PyObject 
*resultobj
; 
14940     wxEvent 
*arg1 
= (wxEvent 
*) 0 ; 
14942     PyObject 
* obj0 
= 0 ; 
14943     PyObject 
* obj1 
= 0 ; 
14944     char *kwnames
[] = { 
14945         (char *) "self",(char *) "typ", NULL 
 
14948     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventType",kwnames
,&obj0
,&obj1
)) goto fail
; 
14949     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
14950     if (SWIG_arg_fail(1)) SWIG_fail
; 
14952         arg2 
= (wxEventType
)(SWIG_As_int(obj1
));  
14953         if (SWIG_arg_fail(2)) SWIG_fail
; 
14956         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14957         (arg1
)->SetEventType(arg2
); 
14959         wxPyEndAllowThreads(__tstate
); 
14960         if (PyErr_Occurred()) SWIG_fail
; 
14962     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
14969 static PyObject 
*_wrap_Event_GetEventType(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
14970     PyObject 
*resultobj
; 
14971     wxEvent 
*arg1 
= (wxEvent 
*) 0 ; 
14972     wxEventType result
; 
14973     PyObject 
* obj0 
= 0 ; 
14974     char *kwnames
[] = { 
14975         (char *) "self", NULL 
 
14978     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetEventType",kwnames
,&obj0
)) goto fail
; 
14979     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
14980     if (SWIG_arg_fail(1)) SWIG_fail
; 
14982         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14983         result 
= (wxEventType
)((wxEvent 
const *)arg1
)->GetEventType(); 
14985         wxPyEndAllowThreads(__tstate
); 
14986         if (PyErr_Occurred()) SWIG_fail
; 
14989         resultobj 
= SWIG_From_int((int)(result
));  
14997 static PyObject 
*_wrap_Event_GetEventObject(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
14998     PyObject 
*resultobj
; 
14999     wxEvent 
*arg1 
= (wxEvent 
*) 0 ; 
15001     PyObject 
* obj0 
= 0 ; 
15002     char *kwnames
[] = { 
15003         (char *) "self", NULL 
 
15006     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetEventObject",kwnames
,&obj0
)) goto fail
; 
15007     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
15008     if (SWIG_arg_fail(1)) SWIG_fail
; 
15010         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15011         result 
= (wxObject 
*)((wxEvent 
const *)arg1
)->GetEventObject(); 
15013         wxPyEndAllowThreads(__tstate
); 
15014         if (PyErr_Occurred()) SWIG_fail
; 
15017         resultobj 
= wxPyMake_wxObject(result
, 0);  
15025 static PyObject 
*_wrap_Event_SetEventObject(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
15026     PyObject 
*resultobj
; 
15027     wxEvent 
*arg1 
= (wxEvent 
*) 0 ; 
15028     wxObject 
*arg2 
= (wxObject 
*) 0 ; 
15029     PyObject 
* obj0 
= 0 ; 
15030     PyObject 
* obj1 
= 0 ; 
15031     char *kwnames
[] = { 
15032         (char *) "self",(char *) "obj", NULL 
 
15035     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventObject",kwnames
,&obj0
,&obj1
)) goto fail
; 
15036     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
15037     if (SWIG_arg_fail(1)) SWIG_fail
; 
15038     SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxObject
, SWIG_POINTER_EXCEPTION 
| 0); 
15039     if (SWIG_arg_fail(2)) SWIG_fail
; 
15041         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15042         (arg1
)->SetEventObject(arg2
); 
15044         wxPyEndAllowThreads(__tstate
); 
15045         if (PyErr_Occurred()) SWIG_fail
; 
15047     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
15054 static PyObject 
*_wrap_Event_GetTimestamp(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
15055     PyObject 
*resultobj
; 
15056     wxEvent 
*arg1 
= (wxEvent 
*) 0 ; 
15058     PyObject 
* obj0 
= 0 ; 
15059     char *kwnames
[] = { 
15060         (char *) "self", NULL 
 
15063     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetTimestamp",kwnames
,&obj0
)) goto fail
; 
15064     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
15065     if (SWIG_arg_fail(1)) SWIG_fail
; 
15067         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15068         result 
= (long)((wxEvent 
const *)arg1
)->GetTimestamp(); 
15070         wxPyEndAllowThreads(__tstate
); 
15071         if (PyErr_Occurred()) SWIG_fail
; 
15074         resultobj 
= SWIG_From_long((long)(result
));  
15082 static PyObject 
*_wrap_Event_SetTimestamp(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
15083     PyObject 
*resultobj
; 
15084     wxEvent 
*arg1 
= (wxEvent 
*) 0 ; 
15085     long arg2 
= (long) 0 ; 
15086     PyObject 
* obj0 
= 0 ; 
15087     PyObject 
* obj1 
= 0 ; 
15088     char *kwnames
[] = { 
15089         (char *) "self",(char *) "ts", NULL 
 
15092     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_SetTimestamp",kwnames
,&obj0
,&obj1
)) goto fail
; 
15093     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
15094     if (SWIG_arg_fail(1)) SWIG_fail
; 
15097             arg2 
= (long)(SWIG_As_long(obj1
));  
15098             if (SWIG_arg_fail(2)) SWIG_fail
; 
15102         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15103         (arg1
)->SetTimestamp(arg2
); 
15105         wxPyEndAllowThreads(__tstate
); 
15106         if (PyErr_Occurred()) SWIG_fail
; 
15108     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
15115 static PyObject 
*_wrap_Event_GetId(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
15116     PyObject 
*resultobj
; 
15117     wxEvent 
*arg1 
= (wxEvent 
*) 0 ; 
15119     PyObject 
* obj0 
= 0 ; 
15120     char *kwnames
[] = { 
15121         (char *) "self", NULL 
 
15124     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetId",kwnames
,&obj0
)) goto fail
; 
15125     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
15126     if (SWIG_arg_fail(1)) SWIG_fail
; 
15128         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15129         result 
= (int)((wxEvent 
const *)arg1
)->GetId(); 
15131         wxPyEndAllowThreads(__tstate
); 
15132         if (PyErr_Occurred()) SWIG_fail
; 
15135         resultobj 
= SWIG_From_int((int)(result
));  
15143 static PyObject 
*_wrap_Event_SetId(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
15144     PyObject 
*resultobj
; 
15145     wxEvent 
*arg1 
= (wxEvent 
*) 0 ; 
15147     PyObject 
* obj0 
= 0 ; 
15148     PyObject 
* obj1 
= 0 ; 
15149     char *kwnames
[] = { 
15150         (char *) "self",(char *) "Id", NULL 
 
15153     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetId",kwnames
,&obj0
,&obj1
)) goto fail
; 
15154     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
15155     if (SWIG_arg_fail(1)) SWIG_fail
; 
15157         arg2 
= (int)(SWIG_As_int(obj1
));  
15158         if (SWIG_arg_fail(2)) SWIG_fail
; 
15161         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15162         (arg1
)->SetId(arg2
); 
15164         wxPyEndAllowThreads(__tstate
); 
15165         if (PyErr_Occurred()) SWIG_fail
; 
15167     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
15174 static PyObject 
*_wrap_Event_IsCommandEvent(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
15175     PyObject 
*resultobj
; 
15176     wxEvent 
*arg1 
= (wxEvent 
*) 0 ; 
15178     PyObject 
* obj0 
= 0 ; 
15179     char *kwnames
[] = { 
15180         (char *) "self", NULL 
 
15183     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_IsCommandEvent",kwnames
,&obj0
)) goto fail
; 
15184     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
15185     if (SWIG_arg_fail(1)) SWIG_fail
; 
15187         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15188         result 
= (bool)((wxEvent 
const *)arg1
)->IsCommandEvent(); 
15190         wxPyEndAllowThreads(__tstate
); 
15191         if (PyErr_Occurred()) SWIG_fail
; 
15194         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
15202 static PyObject 
*_wrap_Event_Skip(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
15203     PyObject 
*resultobj
; 
15204     wxEvent 
*arg1 
= (wxEvent 
*) 0 ; 
15205     bool arg2 
= (bool) true ; 
15206     PyObject 
* obj0 
= 0 ; 
15207     PyObject 
* obj1 
= 0 ; 
15208     char *kwnames
[] = { 
15209         (char *) "self",(char *) "skip", NULL 
 
15212     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_Skip",kwnames
,&obj0
,&obj1
)) goto fail
; 
15213     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
15214     if (SWIG_arg_fail(1)) SWIG_fail
; 
15217             arg2 
= (bool)(SWIG_As_bool(obj1
));  
15218             if (SWIG_arg_fail(2)) SWIG_fail
; 
15222         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15223         (arg1
)->Skip(arg2
); 
15225         wxPyEndAllowThreads(__tstate
); 
15226         if (PyErr_Occurred()) SWIG_fail
; 
15228     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
15235 static PyObject 
*_wrap_Event_GetSkipped(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
15236     PyObject 
*resultobj
; 
15237     wxEvent 
*arg1 
= (wxEvent 
*) 0 ; 
15239     PyObject 
* obj0 
= 0 ; 
15240     char *kwnames
[] = { 
15241         (char *) "self", NULL 
 
15244     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetSkipped",kwnames
,&obj0
)) goto fail
; 
15245     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
15246     if (SWIG_arg_fail(1)) SWIG_fail
; 
15248         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15249         result 
= (bool)((wxEvent 
const *)arg1
)->GetSkipped(); 
15251         wxPyEndAllowThreads(__tstate
); 
15252         if (PyErr_Occurred()) SWIG_fail
; 
15255         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
15263 static PyObject 
*_wrap_Event_ShouldPropagate(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
15264     PyObject 
*resultobj
; 
15265     wxEvent 
*arg1 
= (wxEvent 
*) 0 ; 
15267     PyObject 
* obj0 
= 0 ; 
15268     char *kwnames
[] = { 
15269         (char *) "self", NULL 
 
15272     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_ShouldPropagate",kwnames
,&obj0
)) goto fail
; 
15273     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
15274     if (SWIG_arg_fail(1)) SWIG_fail
; 
15276         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15277         result 
= (bool)((wxEvent 
const *)arg1
)->ShouldPropagate(); 
15279         wxPyEndAllowThreads(__tstate
); 
15280         if (PyErr_Occurred()) SWIG_fail
; 
15283         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
15291 static PyObject 
*_wrap_Event_StopPropagation(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
15292     PyObject 
*resultobj
; 
15293     wxEvent 
*arg1 
= (wxEvent 
*) 0 ; 
15295     PyObject 
* obj0 
= 0 ; 
15296     char *kwnames
[] = { 
15297         (char *) "self", NULL 
 
15300     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_StopPropagation",kwnames
,&obj0
)) goto fail
; 
15301     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
15302     if (SWIG_arg_fail(1)) SWIG_fail
; 
15304         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15305         result 
= (int)(arg1
)->StopPropagation(); 
15307         wxPyEndAllowThreads(__tstate
); 
15308         if (PyErr_Occurred()) SWIG_fail
; 
15311         resultobj 
= SWIG_From_int((int)(result
));  
15319 static PyObject 
*_wrap_Event_ResumePropagation(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
15320     PyObject 
*resultobj
; 
15321     wxEvent 
*arg1 
= (wxEvent 
*) 0 ; 
15323     PyObject 
* obj0 
= 0 ; 
15324     PyObject 
* obj1 
= 0 ; 
15325     char *kwnames
[] = { 
15326         (char *) "self",(char *) "propagationLevel", NULL 
 
15329     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_ResumePropagation",kwnames
,&obj0
,&obj1
)) goto fail
; 
15330     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
15331     if (SWIG_arg_fail(1)) SWIG_fail
; 
15333         arg2 
= (int)(SWIG_As_int(obj1
));  
15334         if (SWIG_arg_fail(2)) SWIG_fail
; 
15337         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15338         (arg1
)->ResumePropagation(arg2
); 
15340         wxPyEndAllowThreads(__tstate
); 
15341         if (PyErr_Occurred()) SWIG_fail
; 
15343     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
15350 static PyObject 
*_wrap_Event_Clone(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
15351     PyObject 
*resultobj
; 
15352     wxEvent 
*arg1 
= (wxEvent 
*) 0 ; 
15354     PyObject 
* obj0 
= 0 ; 
15355     char *kwnames
[] = { 
15356         (char *) "self", NULL 
 
15359     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_Clone",kwnames
,&obj0
)) goto fail
; 
15360     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
15361     if (SWIG_arg_fail(1)) SWIG_fail
; 
15363         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15364         result 
= (wxEvent 
*)(arg1
)->Clone(); 
15366         wxPyEndAllowThreads(__tstate
); 
15367         if (PyErr_Occurred()) SWIG_fail
; 
15369     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvent
, 0); 
15376 static PyObject 
* Event_swigregister(PyObject 
*, PyObject 
*args
) { 
15378     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
15379     SWIG_TypeClientData(SWIGTYPE_p_wxEvent
, obj
); 
15381     return Py_BuildValue((char *)""); 
15383 static PyObject 
*_wrap_new_PropagationDisabler(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
15384     PyObject 
*resultobj
; 
15385     wxEvent 
*arg1 
= 0 ; 
15386     wxPropagationDisabler 
*result
; 
15387     PyObject 
* obj0 
= 0 ; 
15388     char *kwnames
[] = { 
15389         (char *) "event", NULL 
 
15392     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagationDisabler",kwnames
,&obj0
)) goto fail
; 
15394         SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
15395         if (SWIG_arg_fail(1)) SWIG_fail
; 
15396         if (arg1 
== NULL
) { 
15397             SWIG_null_ref("wxEvent"); 
15399         if (SWIG_arg_fail(1)) SWIG_fail
; 
15402         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15403         result 
= (wxPropagationDisabler 
*)new wxPropagationDisabler(*arg1
); 
15405         wxPyEndAllowThreads(__tstate
); 
15406         if (PyErr_Occurred()) SWIG_fail
; 
15408     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPropagationDisabler
, 1); 
15415 static PyObject 
*_wrap_delete_PropagationDisabler(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
15416     PyObject 
*resultobj
; 
15417     wxPropagationDisabler 
*arg1 
= (wxPropagationDisabler 
*) 0 ; 
15418     PyObject 
* obj0 
= 0 ; 
15419     char *kwnames
[] = { 
15420         (char *) "self", NULL 
 
15423     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PropagationDisabler",kwnames
,&obj0
)) goto fail
; 
15424     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPropagationDisabler
, SWIG_POINTER_EXCEPTION 
| 0); 
15425     if (SWIG_arg_fail(1)) SWIG_fail
; 
15427         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15430         wxPyEndAllowThreads(__tstate
); 
15431         if (PyErr_Occurred()) SWIG_fail
; 
15433     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
15440 static PyObject 
* PropagationDisabler_swigregister(PyObject 
*, PyObject 
*args
) { 
15442     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
15443     SWIG_TypeClientData(SWIGTYPE_p_wxPropagationDisabler
, obj
); 
15445     return Py_BuildValue((char *)""); 
15447 static PyObject 
*_wrap_new_PropagateOnce(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
15448     PyObject 
*resultobj
; 
15449     wxEvent 
*arg1 
= 0 ; 
15450     wxPropagateOnce 
*result
; 
15451     PyObject 
* obj0 
= 0 ; 
15452     char *kwnames
[] = { 
15453         (char *) "event", NULL 
 
15456     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagateOnce",kwnames
,&obj0
)) goto fail
; 
15458         SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
15459         if (SWIG_arg_fail(1)) SWIG_fail
; 
15460         if (arg1 
== NULL
) { 
15461             SWIG_null_ref("wxEvent"); 
15463         if (SWIG_arg_fail(1)) SWIG_fail
; 
15466         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15467         result 
= (wxPropagateOnce 
*)new wxPropagateOnce(*arg1
); 
15469         wxPyEndAllowThreads(__tstate
); 
15470         if (PyErr_Occurred()) SWIG_fail
; 
15472     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPropagateOnce
, 1); 
15479 static PyObject 
*_wrap_delete_PropagateOnce(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
15480     PyObject 
*resultobj
; 
15481     wxPropagateOnce 
*arg1 
= (wxPropagateOnce 
*) 0 ; 
15482     PyObject 
* obj0 
= 0 ; 
15483     char *kwnames
[] = { 
15484         (char *) "self", NULL 
 
15487     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PropagateOnce",kwnames
,&obj0
)) goto fail
; 
15488     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPropagateOnce
, SWIG_POINTER_EXCEPTION 
| 0); 
15489     if (SWIG_arg_fail(1)) SWIG_fail
; 
15491         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15494         wxPyEndAllowThreads(__tstate
); 
15495         if (PyErr_Occurred()) SWIG_fail
; 
15497     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
15504 static PyObject 
* PropagateOnce_swigregister(PyObject 
*, PyObject 
*args
) { 
15506     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
15507     SWIG_TypeClientData(SWIGTYPE_p_wxPropagateOnce
, obj
); 
15509     return Py_BuildValue((char *)""); 
15511 static PyObject 
*_wrap_new_CommandEvent(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
15512     PyObject 
*resultobj
; 
15513     wxEventType arg1 
= (wxEventType
) wxEVT_NULL 
; 
15514     int arg2 
= (int) 0 ; 
15515     wxCommandEvent 
*result
; 
15516     PyObject 
* obj0 
= 0 ; 
15517     PyObject 
* obj1 
= 0 ; 
15518     char *kwnames
[] = { 
15519         (char *) "commandType",(char *) "winid", NULL 
 
15522     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_CommandEvent",kwnames
,&obj0
,&obj1
)) goto fail
; 
15525             arg1 
= (wxEventType
)(SWIG_As_int(obj0
));  
15526             if (SWIG_arg_fail(1)) SWIG_fail
; 
15531             arg2 
= (int)(SWIG_As_int(obj1
));  
15532             if (SWIG_arg_fail(2)) SWIG_fail
; 
15536         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15537         result 
= (wxCommandEvent 
*)new wxCommandEvent(arg1
,arg2
); 
15539         wxPyEndAllowThreads(__tstate
); 
15540         if (PyErr_Occurred()) SWIG_fail
; 
15542     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCommandEvent
, 1); 
15549 static PyObject 
*_wrap_CommandEvent_GetSelection(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
15550     PyObject 
*resultobj
; 
15551     wxCommandEvent 
*arg1 
= (wxCommandEvent 
*) 0 ; 
15553     PyObject 
* obj0 
= 0 ; 
15554     char *kwnames
[] = { 
15555         (char *) "self", NULL 
 
15558     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetSelection",kwnames
,&obj0
)) goto fail
; 
15559     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
15560     if (SWIG_arg_fail(1)) SWIG_fail
; 
15562         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15563         result 
= (int)((wxCommandEvent 
const *)arg1
)->GetSelection(); 
15565         wxPyEndAllowThreads(__tstate
); 
15566         if (PyErr_Occurred()) SWIG_fail
; 
15569         resultobj 
= SWIG_From_int((int)(result
));  
15577 static PyObject 
*_wrap_CommandEvent_SetString(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
15578     PyObject 
*resultobj
; 
15579     wxCommandEvent 
*arg1 
= (wxCommandEvent 
*) 0 ; 
15580     wxString 
*arg2 
= 0 ; 
15581     bool temp2 
= false ; 
15582     PyObject 
* obj0 
= 0 ; 
15583     PyObject 
* obj1 
= 0 ; 
15584     char *kwnames
[] = { 
15585         (char *) "self",(char *) "s", NULL 
 
15588     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetString",kwnames
,&obj0
,&obj1
)) goto fail
; 
15589     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
15590     if (SWIG_arg_fail(1)) SWIG_fail
; 
15592         arg2 
= wxString_in_helper(obj1
); 
15593         if (arg2 
== NULL
) SWIG_fail
; 
15597         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15598         (arg1
)->SetString((wxString 
const &)*arg2
); 
15600         wxPyEndAllowThreads(__tstate
); 
15601         if (PyErr_Occurred()) SWIG_fail
; 
15603     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
15618 static PyObject 
*_wrap_CommandEvent_GetString(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
15619     PyObject 
*resultobj
; 
15620     wxCommandEvent 
*arg1 
= (wxCommandEvent 
*) 0 ; 
15622     PyObject 
* obj0 
= 0 ; 
15623     char *kwnames
[] = { 
15624         (char *) "self", NULL 
 
15627     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetString",kwnames
,&obj0
)) goto fail
; 
15628     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
15629     if (SWIG_arg_fail(1)) SWIG_fail
; 
15631         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15632         result 
= ((wxCommandEvent 
const *)arg1
)->GetString(); 
15634         wxPyEndAllowThreads(__tstate
); 
15635         if (PyErr_Occurred()) SWIG_fail
; 
15639         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
15641         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
15650 static PyObject 
*_wrap_CommandEvent_IsChecked(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
15651     PyObject 
*resultobj
; 
15652     wxCommandEvent 
*arg1 
= (wxCommandEvent 
*) 0 ; 
15654     PyObject 
* obj0 
= 0 ; 
15655     char *kwnames
[] = { 
15656         (char *) "self", NULL 
 
15659     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_IsChecked",kwnames
,&obj0
)) goto fail
; 
15660     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
15661     if (SWIG_arg_fail(1)) SWIG_fail
; 
15663         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15664         result 
= (bool)((wxCommandEvent 
const *)arg1
)->IsChecked(); 
15666         wxPyEndAllowThreads(__tstate
); 
15667         if (PyErr_Occurred()) SWIG_fail
; 
15670         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
15678 static PyObject 
*_wrap_CommandEvent_IsSelection(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
15679     PyObject 
*resultobj
; 
15680     wxCommandEvent 
*arg1 
= (wxCommandEvent 
*) 0 ; 
15682     PyObject 
* obj0 
= 0 ; 
15683     char *kwnames
[] = { 
15684         (char *) "self", NULL 
 
15687     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_IsSelection",kwnames
,&obj0
)) goto fail
; 
15688     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
15689     if (SWIG_arg_fail(1)) SWIG_fail
; 
15691         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15692         result 
= (bool)((wxCommandEvent 
const *)arg1
)->IsSelection(); 
15694         wxPyEndAllowThreads(__tstate
); 
15695         if (PyErr_Occurred()) SWIG_fail
; 
15698         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
15706 static PyObject 
*_wrap_CommandEvent_SetExtraLong(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
15707     PyObject 
*resultobj
; 
15708     wxCommandEvent 
*arg1 
= (wxCommandEvent 
*) 0 ; 
15710     PyObject 
* obj0 
= 0 ; 
15711     PyObject 
* obj1 
= 0 ; 
15712     char *kwnames
[] = { 
15713         (char *) "self",(char *) "extraLong", NULL 
 
15716     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetExtraLong",kwnames
,&obj0
,&obj1
)) goto fail
; 
15717     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
15718     if (SWIG_arg_fail(1)) SWIG_fail
; 
15720         arg2 
= (long)(SWIG_As_long(obj1
));  
15721         if (SWIG_arg_fail(2)) SWIG_fail
; 
15724         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15725         (arg1
)->SetExtraLong(arg2
); 
15727         wxPyEndAllowThreads(__tstate
); 
15728         if (PyErr_Occurred()) SWIG_fail
; 
15730     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
15737 static PyObject 
*_wrap_CommandEvent_GetExtraLong(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
15738     PyObject 
*resultobj
; 
15739     wxCommandEvent 
*arg1 
= (wxCommandEvent 
*) 0 ; 
15741     PyObject 
* obj0 
= 0 ; 
15742     char *kwnames
[] = { 
15743         (char *) "self", NULL 
 
15746     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetExtraLong",kwnames
,&obj0
)) goto fail
; 
15747     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
15748     if (SWIG_arg_fail(1)) SWIG_fail
; 
15750         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15751         result 
= (long)((wxCommandEvent 
const *)arg1
)->GetExtraLong(); 
15753         wxPyEndAllowThreads(__tstate
); 
15754         if (PyErr_Occurred()) SWIG_fail
; 
15757         resultobj 
= SWIG_From_long((long)(result
));  
15765 static PyObject 
*_wrap_CommandEvent_SetInt(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
15766     PyObject 
*resultobj
; 
15767     wxCommandEvent 
*arg1 
= (wxCommandEvent 
*) 0 ; 
15769     PyObject 
* obj0 
= 0 ; 
15770     PyObject 
* obj1 
= 0 ; 
15771     char *kwnames
[] = { 
15772         (char *) "self",(char *) "i", NULL 
 
15775     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetInt",kwnames
,&obj0
,&obj1
)) goto fail
; 
15776     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
15777     if (SWIG_arg_fail(1)) SWIG_fail
; 
15779         arg2 
= (int)(SWIG_As_int(obj1
));  
15780         if (SWIG_arg_fail(2)) SWIG_fail
; 
15783         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15784         (arg1
)->SetInt(arg2
); 
15786         wxPyEndAllowThreads(__tstate
); 
15787         if (PyErr_Occurred()) SWIG_fail
; 
15789     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
15796 static PyObject 
*_wrap_CommandEvent_GetInt(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
15797     PyObject 
*resultobj
; 
15798     wxCommandEvent 
*arg1 
= (wxCommandEvent 
*) 0 ; 
15800     PyObject 
* obj0 
= 0 ; 
15801     char *kwnames
[] = { 
15802         (char *) "self", NULL 
 
15805     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetInt",kwnames
,&obj0
)) goto fail
; 
15806     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
15807     if (SWIG_arg_fail(1)) SWIG_fail
; 
15809         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15810         result 
= (long)((wxCommandEvent 
const *)arg1
)->GetInt(); 
15812         wxPyEndAllowThreads(__tstate
); 
15813         if (PyErr_Occurred()) SWIG_fail
; 
15816         resultobj 
= SWIG_From_long((long)(result
));  
15824 static PyObject 
*_wrap_CommandEvent_Clone(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
15825     PyObject 
*resultobj
; 
15826     wxCommandEvent 
*arg1 
= (wxCommandEvent 
*) 0 ; 
15828     PyObject 
* obj0 
= 0 ; 
15829     char *kwnames
[] = { 
15830         (char *) "self", NULL 
 
15833     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_Clone",kwnames
,&obj0
)) goto fail
; 
15834     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
15835     if (SWIG_arg_fail(1)) SWIG_fail
; 
15837         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15838         result 
= (wxEvent 
*)((wxCommandEvent 
const *)arg1
)->Clone(); 
15840         wxPyEndAllowThreads(__tstate
); 
15841         if (PyErr_Occurred()) SWIG_fail
; 
15843     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvent
, 0); 
15850 static PyObject 
* CommandEvent_swigregister(PyObject 
*, PyObject 
*args
) { 
15852     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
15853     SWIG_TypeClientData(SWIGTYPE_p_wxCommandEvent
, obj
); 
15855     return Py_BuildValue((char *)""); 
15857 static PyObject 
*_wrap_new_NotifyEvent(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
15858     PyObject 
*resultobj
; 
15859     wxEventType arg1 
= (wxEventType
) wxEVT_NULL 
; 
15860     int arg2 
= (int) 0 ; 
15861     wxNotifyEvent 
*result
; 
15862     PyObject 
* obj0 
= 0 ; 
15863     PyObject 
* obj1 
= 0 ; 
15864     char *kwnames
[] = { 
15865         (char *) "commandType",(char *) "winid", NULL 
 
15868     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_NotifyEvent",kwnames
,&obj0
,&obj1
)) goto fail
; 
15871             arg1 
= (wxEventType
)(SWIG_As_int(obj0
));  
15872             if (SWIG_arg_fail(1)) SWIG_fail
; 
15877             arg2 
= (int)(SWIG_As_int(obj1
));  
15878             if (SWIG_arg_fail(2)) SWIG_fail
; 
15882         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15883         result 
= (wxNotifyEvent 
*)new wxNotifyEvent(arg1
,arg2
); 
15885         wxPyEndAllowThreads(__tstate
); 
15886         if (PyErr_Occurred()) SWIG_fail
; 
15888     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotifyEvent
, 1); 
15895 static PyObject 
*_wrap_NotifyEvent_Veto(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
15896     PyObject 
*resultobj
; 
15897     wxNotifyEvent 
*arg1 
= (wxNotifyEvent 
*) 0 ; 
15898     PyObject 
* obj0 
= 0 ; 
15899     char *kwnames
[] = { 
15900         (char *) "self", NULL 
 
15903     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_Veto",kwnames
,&obj0
)) goto fail
; 
15904     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotifyEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
15905     if (SWIG_arg_fail(1)) SWIG_fail
; 
15907         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15910         wxPyEndAllowThreads(__tstate
); 
15911         if (PyErr_Occurred()) SWIG_fail
; 
15913     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
15920 static PyObject 
*_wrap_NotifyEvent_Allow(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
15921     PyObject 
*resultobj
; 
15922     wxNotifyEvent 
*arg1 
= (wxNotifyEvent 
*) 0 ; 
15923     PyObject 
* obj0 
= 0 ; 
15924     char *kwnames
[] = { 
15925         (char *) "self", NULL 
 
15928     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_Allow",kwnames
,&obj0
)) goto fail
; 
15929     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotifyEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
15930     if (SWIG_arg_fail(1)) SWIG_fail
; 
15932         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15935         wxPyEndAllowThreads(__tstate
); 
15936         if (PyErr_Occurred()) SWIG_fail
; 
15938     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
15945 static PyObject 
*_wrap_NotifyEvent_IsAllowed(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
15946     PyObject 
*resultobj
; 
15947     wxNotifyEvent 
*arg1 
= (wxNotifyEvent 
*) 0 ; 
15949     PyObject 
* obj0 
= 0 ; 
15950     char *kwnames
[] = { 
15951         (char *) "self", NULL 
 
15954     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_IsAllowed",kwnames
,&obj0
)) goto fail
; 
15955     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotifyEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
15956     if (SWIG_arg_fail(1)) SWIG_fail
; 
15958         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15959         result 
= (bool)(arg1
)->IsAllowed(); 
15961         wxPyEndAllowThreads(__tstate
); 
15962         if (PyErr_Occurred()) SWIG_fail
; 
15965         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
15973 static PyObject 
* NotifyEvent_swigregister(PyObject 
*, PyObject 
*args
) { 
15975     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
15976     SWIG_TypeClientData(SWIGTYPE_p_wxNotifyEvent
, obj
); 
15978     return Py_BuildValue((char *)""); 
15980 static PyObject 
*_wrap_new_ScrollEvent(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
15981     PyObject 
*resultobj
; 
15982     wxEventType arg1 
= (wxEventType
) wxEVT_NULL 
; 
15983     int arg2 
= (int) 0 ; 
15984     int arg3 
= (int) 0 ; 
15985     int arg4 
= (int) 0 ; 
15986     wxScrollEvent 
*result
; 
15987     PyObject 
* obj0 
= 0 ; 
15988     PyObject 
* obj1 
= 0 ; 
15989     PyObject 
* obj2 
= 0 ; 
15990     PyObject 
* obj3 
= 0 ; 
15991     char *kwnames
[] = { 
15992         (char *) "commandType",(char *) "winid",(char *) "pos",(char *) "orient", NULL 
 
15995     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ScrollEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
15998             arg1 
= (wxEventType
)(SWIG_As_int(obj0
));  
15999             if (SWIG_arg_fail(1)) SWIG_fail
; 
16004             arg2 
= (int)(SWIG_As_int(obj1
));  
16005             if (SWIG_arg_fail(2)) SWIG_fail
; 
16010             arg3 
= (int)(SWIG_As_int(obj2
));  
16011             if (SWIG_arg_fail(3)) SWIG_fail
; 
16016             arg4 
= (int)(SWIG_As_int(obj3
));  
16017             if (SWIG_arg_fail(4)) SWIG_fail
; 
16021         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16022         result 
= (wxScrollEvent 
*)new wxScrollEvent(arg1
,arg2
,arg3
,arg4
); 
16024         wxPyEndAllowThreads(__tstate
); 
16025         if (PyErr_Occurred()) SWIG_fail
; 
16027     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollEvent
, 1); 
16034 static PyObject 
*_wrap_ScrollEvent_GetOrientation(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16035     PyObject 
*resultobj
; 
16036     wxScrollEvent 
*arg1 
= (wxScrollEvent 
*) 0 ; 
16038     PyObject 
* obj0 
= 0 ; 
16039     char *kwnames
[] = { 
16040         (char *) "self", NULL 
 
16043     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollEvent_GetOrientation",kwnames
,&obj0
)) goto fail
; 
16044     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
16045     if (SWIG_arg_fail(1)) SWIG_fail
; 
16047         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16048         result 
= (int)((wxScrollEvent 
const *)arg1
)->GetOrientation(); 
16050         wxPyEndAllowThreads(__tstate
); 
16051         if (PyErr_Occurred()) SWIG_fail
; 
16054         resultobj 
= SWIG_From_int((int)(result
));  
16062 static PyObject 
*_wrap_ScrollEvent_GetPosition(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16063     PyObject 
*resultobj
; 
16064     wxScrollEvent 
*arg1 
= (wxScrollEvent 
*) 0 ; 
16066     PyObject 
* obj0 
= 0 ; 
16067     char *kwnames
[] = { 
16068         (char *) "self", NULL 
 
16071     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollEvent_GetPosition",kwnames
,&obj0
)) goto fail
; 
16072     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
16073     if (SWIG_arg_fail(1)) SWIG_fail
; 
16075         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16076         result 
= (int)((wxScrollEvent 
const *)arg1
)->GetPosition(); 
16078         wxPyEndAllowThreads(__tstate
); 
16079         if (PyErr_Occurred()) SWIG_fail
; 
16082         resultobj 
= SWIG_From_int((int)(result
));  
16090 static PyObject 
*_wrap_ScrollEvent_SetOrientation(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16091     PyObject 
*resultobj
; 
16092     wxScrollEvent 
*arg1 
= (wxScrollEvent 
*) 0 ; 
16094     PyObject 
* obj0 
= 0 ; 
16095     PyObject 
* obj1 
= 0 ; 
16096     char *kwnames
[] = { 
16097         (char *) "self",(char *) "orient", NULL 
 
16100     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
; 
16101     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
16102     if (SWIG_arg_fail(1)) SWIG_fail
; 
16104         arg2 
= (int)(SWIG_As_int(obj1
));  
16105         if (SWIG_arg_fail(2)) SWIG_fail
; 
16108         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16109         (arg1
)->SetOrientation(arg2
); 
16111         wxPyEndAllowThreads(__tstate
); 
16112         if (PyErr_Occurred()) SWIG_fail
; 
16114     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
16121 static PyObject 
*_wrap_ScrollEvent_SetPosition(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16122     PyObject 
*resultobj
; 
16123     wxScrollEvent 
*arg1 
= (wxScrollEvent 
*) 0 ; 
16125     PyObject 
* obj0 
= 0 ; 
16126     PyObject 
* obj1 
= 0 ; 
16127     char *kwnames
[] = { 
16128         (char *) "self",(char *) "pos", NULL 
 
16131     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
; 
16132     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
16133     if (SWIG_arg_fail(1)) SWIG_fail
; 
16135         arg2 
= (int)(SWIG_As_int(obj1
));  
16136         if (SWIG_arg_fail(2)) SWIG_fail
; 
16139         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16140         (arg1
)->SetPosition(arg2
); 
16142         wxPyEndAllowThreads(__tstate
); 
16143         if (PyErr_Occurred()) SWIG_fail
; 
16145     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
16152 static PyObject 
* ScrollEvent_swigregister(PyObject 
*, PyObject 
*args
) { 
16154     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
16155     SWIG_TypeClientData(SWIGTYPE_p_wxScrollEvent
, obj
); 
16157     return Py_BuildValue((char *)""); 
16159 static PyObject 
*_wrap_new_ScrollWinEvent(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16160     PyObject 
*resultobj
; 
16161     wxEventType arg1 
= (wxEventType
) wxEVT_NULL 
; 
16162     int arg2 
= (int) 0 ; 
16163     int arg3 
= (int) 0 ; 
16164     wxScrollWinEvent 
*result
; 
16165     PyObject 
* obj0 
= 0 ; 
16166     PyObject 
* obj1 
= 0 ; 
16167     PyObject 
* obj2 
= 0 ; 
16168     char *kwnames
[] = { 
16169         (char *) "commandType",(char *) "pos",(char *) "orient", NULL 
 
16172     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ScrollWinEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
16175             arg1 
= (wxEventType
)(SWIG_As_int(obj0
));  
16176             if (SWIG_arg_fail(1)) SWIG_fail
; 
16181             arg2 
= (int)(SWIG_As_int(obj1
));  
16182             if (SWIG_arg_fail(2)) SWIG_fail
; 
16187             arg3 
= (int)(SWIG_As_int(obj2
));  
16188             if (SWIG_arg_fail(3)) SWIG_fail
; 
16192         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16193         result 
= (wxScrollWinEvent 
*)new wxScrollWinEvent(arg1
,arg2
,arg3
); 
16195         wxPyEndAllowThreads(__tstate
); 
16196         if (PyErr_Occurred()) SWIG_fail
; 
16198     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollWinEvent
, 1); 
16205 static PyObject 
*_wrap_ScrollWinEvent_GetOrientation(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16206     PyObject 
*resultobj
; 
16207     wxScrollWinEvent 
*arg1 
= (wxScrollWinEvent 
*) 0 ; 
16209     PyObject 
* obj0 
= 0 ; 
16210     char *kwnames
[] = { 
16211         (char *) "self", NULL 
 
16214     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollWinEvent_GetOrientation",kwnames
,&obj0
)) goto fail
; 
16215     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollWinEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
16216     if (SWIG_arg_fail(1)) SWIG_fail
; 
16218         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16219         result 
= (int)((wxScrollWinEvent 
const *)arg1
)->GetOrientation(); 
16221         wxPyEndAllowThreads(__tstate
); 
16222         if (PyErr_Occurred()) SWIG_fail
; 
16225         resultobj 
= SWIG_From_int((int)(result
));  
16233 static PyObject 
*_wrap_ScrollWinEvent_GetPosition(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16234     PyObject 
*resultobj
; 
16235     wxScrollWinEvent 
*arg1 
= (wxScrollWinEvent 
*) 0 ; 
16237     PyObject 
* obj0 
= 0 ; 
16238     char *kwnames
[] = { 
16239         (char *) "self", NULL 
 
16242     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollWinEvent_GetPosition",kwnames
,&obj0
)) goto fail
; 
16243     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollWinEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
16244     if (SWIG_arg_fail(1)) SWIG_fail
; 
16246         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16247         result 
= (int)((wxScrollWinEvent 
const *)arg1
)->GetPosition(); 
16249         wxPyEndAllowThreads(__tstate
); 
16250         if (PyErr_Occurred()) SWIG_fail
; 
16253         resultobj 
= SWIG_From_int((int)(result
));  
16261 static PyObject 
*_wrap_ScrollWinEvent_SetOrientation(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16262     PyObject 
*resultobj
; 
16263     wxScrollWinEvent 
*arg1 
= (wxScrollWinEvent 
*) 0 ; 
16265     PyObject 
* obj0 
= 0 ; 
16266     PyObject 
* obj1 
= 0 ; 
16267     char *kwnames
[] = { 
16268         (char *) "self",(char *) "orient", NULL 
 
16271     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollWinEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
; 
16272     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollWinEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
16273     if (SWIG_arg_fail(1)) SWIG_fail
; 
16275         arg2 
= (int)(SWIG_As_int(obj1
));  
16276         if (SWIG_arg_fail(2)) SWIG_fail
; 
16279         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16280         (arg1
)->SetOrientation(arg2
); 
16282         wxPyEndAllowThreads(__tstate
); 
16283         if (PyErr_Occurred()) SWIG_fail
; 
16285     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
16292 static PyObject 
*_wrap_ScrollWinEvent_SetPosition(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16293     PyObject 
*resultobj
; 
16294     wxScrollWinEvent 
*arg1 
= (wxScrollWinEvent 
*) 0 ; 
16296     PyObject 
* obj0 
= 0 ; 
16297     PyObject 
* obj1 
= 0 ; 
16298     char *kwnames
[] = { 
16299         (char *) "self",(char *) "pos", NULL 
 
16302     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollWinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
; 
16303     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollWinEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
16304     if (SWIG_arg_fail(1)) SWIG_fail
; 
16306         arg2 
= (int)(SWIG_As_int(obj1
));  
16307         if (SWIG_arg_fail(2)) SWIG_fail
; 
16310         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16311         (arg1
)->SetPosition(arg2
); 
16313         wxPyEndAllowThreads(__tstate
); 
16314         if (PyErr_Occurred()) SWIG_fail
; 
16316     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
16323 static PyObject 
* ScrollWinEvent_swigregister(PyObject 
*, PyObject 
*args
) { 
16325     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
16326     SWIG_TypeClientData(SWIGTYPE_p_wxScrollWinEvent
, obj
); 
16328     return Py_BuildValue((char *)""); 
16330 static PyObject 
*_wrap_new_MouseEvent(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16331     PyObject 
*resultobj
; 
16332     wxEventType arg1 
= (wxEventType
) wxEVT_NULL 
; 
16333     wxMouseEvent 
*result
; 
16334     PyObject 
* obj0 
= 0 ; 
16335     char *kwnames
[] = { 
16336         (char *) "mouseType", NULL 
 
16339     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MouseEvent",kwnames
,&obj0
)) goto fail
; 
16342             arg1 
= (wxEventType
)(SWIG_As_int(obj0
));  
16343             if (SWIG_arg_fail(1)) SWIG_fail
; 
16347         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16348         result 
= (wxMouseEvent 
*)new wxMouseEvent(arg1
); 
16350         wxPyEndAllowThreads(__tstate
); 
16351         if (PyErr_Occurred()) SWIG_fail
; 
16354         resultobj 
= wxPyMake_wxObject(result
, 1);  
16362 static PyObject 
*_wrap_MouseEvent_IsButton(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16363     PyObject 
*resultobj
; 
16364     wxMouseEvent 
*arg1 
= (wxMouseEvent 
*) 0 ; 
16366     PyObject 
* obj0 
= 0 ; 
16367     char *kwnames
[] = { 
16368         (char *) "self", NULL 
 
16371     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_IsButton",kwnames
,&obj0
)) goto fail
; 
16372     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
16373     if (SWIG_arg_fail(1)) SWIG_fail
; 
16375         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16376         result 
= (bool)((wxMouseEvent 
const *)arg1
)->IsButton(); 
16378         wxPyEndAllowThreads(__tstate
); 
16379         if (PyErr_Occurred()) SWIG_fail
; 
16382         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
16390 static PyObject 
*_wrap_MouseEvent_ButtonDown(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16391     PyObject 
*resultobj
; 
16392     wxMouseEvent 
*arg1 
= (wxMouseEvent 
*) 0 ; 
16393     int arg2 
= (int) wxMOUSE_BTN_ANY 
; 
16395     PyObject 
* obj0 
= 0 ; 
16396     PyObject 
* obj1 
= 0 ; 
16397     char *kwnames
[] = { 
16398         (char *) "self",(char *) "but", NULL 
 
16401     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) goto fail
; 
16402     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
16403     if (SWIG_arg_fail(1)) SWIG_fail
; 
16406             arg2 
= (int)(SWIG_As_int(obj1
));  
16407             if (SWIG_arg_fail(2)) SWIG_fail
; 
16411         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16412         result 
= (bool)((wxMouseEvent 
const *)arg1
)->ButtonDown(arg2
); 
16414         wxPyEndAllowThreads(__tstate
); 
16415         if (PyErr_Occurred()) SWIG_fail
; 
16418         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
16426 static PyObject 
*_wrap_MouseEvent_ButtonDClick(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16427     PyObject 
*resultobj
; 
16428     wxMouseEvent 
*arg1 
= (wxMouseEvent 
*) 0 ; 
16429     int arg2 
= (int) wxMOUSE_BTN_ANY 
; 
16431     PyObject 
* obj0 
= 0 ; 
16432     PyObject 
* obj1 
= 0 ; 
16433     char *kwnames
[] = { 
16434         (char *) "self",(char *) "but", NULL 
 
16437     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonDClick",kwnames
,&obj0
,&obj1
)) goto fail
; 
16438     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
16439     if (SWIG_arg_fail(1)) SWIG_fail
; 
16442             arg2 
= (int)(SWIG_As_int(obj1
));  
16443             if (SWIG_arg_fail(2)) SWIG_fail
; 
16447         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16448         result 
= (bool)((wxMouseEvent 
const *)arg1
)->ButtonDClick(arg2
); 
16450         wxPyEndAllowThreads(__tstate
); 
16451         if (PyErr_Occurred()) SWIG_fail
; 
16454         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
16462 static PyObject 
*_wrap_MouseEvent_ButtonUp(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16463     PyObject 
*resultobj
; 
16464     wxMouseEvent 
*arg1 
= (wxMouseEvent 
*) 0 ; 
16465     int arg2 
= (int) wxMOUSE_BTN_ANY 
; 
16467     PyObject 
* obj0 
= 0 ; 
16468     PyObject 
* obj1 
= 0 ; 
16469     char *kwnames
[] = { 
16470         (char *) "self",(char *) "but", NULL 
 
16473     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) goto fail
; 
16474     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
16475     if (SWIG_arg_fail(1)) SWIG_fail
; 
16478             arg2 
= (int)(SWIG_As_int(obj1
));  
16479             if (SWIG_arg_fail(2)) SWIG_fail
; 
16483         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16484         result 
= (bool)((wxMouseEvent 
const *)arg1
)->ButtonUp(arg2
); 
16486         wxPyEndAllowThreads(__tstate
); 
16487         if (PyErr_Occurred()) SWIG_fail
; 
16490         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
16498 static PyObject 
*_wrap_MouseEvent_Button(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16499     PyObject 
*resultobj
; 
16500     wxMouseEvent 
*arg1 
= (wxMouseEvent 
*) 0 ; 
16503     PyObject 
* obj0 
= 0 ; 
16504     PyObject 
* obj1 
= 0 ; 
16505     char *kwnames
[] = { 
16506         (char *) "self",(char *) "but", NULL 
 
16509     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_Button",kwnames
,&obj0
,&obj1
)) goto fail
; 
16510     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
16511     if (SWIG_arg_fail(1)) SWIG_fail
; 
16513         arg2 
= (int)(SWIG_As_int(obj1
));  
16514         if (SWIG_arg_fail(2)) SWIG_fail
; 
16517         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16518         result 
= (bool)((wxMouseEvent 
const *)arg1
)->Button(arg2
); 
16520         wxPyEndAllowThreads(__tstate
); 
16521         if (PyErr_Occurred()) SWIG_fail
; 
16524         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
16532 static PyObject 
*_wrap_MouseEvent_ButtonIsDown(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16533     PyObject 
*resultobj
; 
16534     wxMouseEvent 
*arg1 
= (wxMouseEvent 
*) 0 ; 
16537     PyObject 
* obj0 
= 0 ; 
16538     PyObject 
* obj1 
= 0 ; 
16539     char *kwnames
[] = { 
16540         (char *) "self",(char *) "but", NULL 
 
16543     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) goto fail
; 
16544     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
16545     if (SWIG_arg_fail(1)) SWIG_fail
; 
16547         arg2 
= (int)(SWIG_As_int(obj1
));  
16548         if (SWIG_arg_fail(2)) SWIG_fail
; 
16551         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16552         result 
= (bool)((wxMouseEvent 
const *)arg1
)->ButtonIsDown(arg2
); 
16554         wxPyEndAllowThreads(__tstate
); 
16555         if (PyErr_Occurred()) SWIG_fail
; 
16558         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
16566 static PyObject 
*_wrap_MouseEvent_GetButton(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16567     PyObject 
*resultobj
; 
16568     wxMouseEvent 
*arg1 
= (wxMouseEvent 
*) 0 ; 
16570     PyObject 
* obj0 
= 0 ; 
16571     char *kwnames
[] = { 
16572         (char *) "self", NULL 
 
16575     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetButton",kwnames
,&obj0
)) goto fail
; 
16576     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
16577     if (SWIG_arg_fail(1)) SWIG_fail
; 
16579         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16580         result 
= (int)((wxMouseEvent 
const *)arg1
)->GetButton(); 
16582         wxPyEndAllowThreads(__tstate
); 
16583         if (PyErr_Occurred()) SWIG_fail
; 
16586         resultobj 
= SWIG_From_int((int)(result
));  
16594 static PyObject 
*_wrap_MouseEvent_ControlDown(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16595     PyObject 
*resultobj
; 
16596     wxMouseEvent 
*arg1 
= (wxMouseEvent 
*) 0 ; 
16598     PyObject 
* obj0 
= 0 ; 
16599     char *kwnames
[] = { 
16600         (char *) "self", NULL 
 
16603     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_ControlDown",kwnames
,&obj0
)) goto fail
; 
16604     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
16605     if (SWIG_arg_fail(1)) SWIG_fail
; 
16607         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16608         result 
= (bool)((wxMouseEvent 
const *)arg1
)->ControlDown(); 
16610         wxPyEndAllowThreads(__tstate
); 
16611         if (PyErr_Occurred()) SWIG_fail
; 
16614         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
16622 static PyObject 
*_wrap_MouseEvent_MetaDown(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16623     PyObject 
*resultobj
; 
16624     wxMouseEvent 
*arg1 
= (wxMouseEvent 
*) 0 ; 
16626     PyObject 
* obj0 
= 0 ; 
16627     char *kwnames
[] = { 
16628         (char *) "self", NULL 
 
16631     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MetaDown",kwnames
,&obj0
)) goto fail
; 
16632     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
16633     if (SWIG_arg_fail(1)) SWIG_fail
; 
16635         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16636         result 
= (bool)((wxMouseEvent 
const *)arg1
)->MetaDown(); 
16638         wxPyEndAllowThreads(__tstate
); 
16639         if (PyErr_Occurred()) SWIG_fail
; 
16642         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
16650 static PyObject 
*_wrap_MouseEvent_AltDown(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16651     PyObject 
*resultobj
; 
16652     wxMouseEvent 
*arg1 
= (wxMouseEvent 
*) 0 ; 
16654     PyObject 
* obj0 
= 0 ; 
16655     char *kwnames
[] = { 
16656         (char *) "self", NULL 
 
16659     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_AltDown",kwnames
,&obj0
)) goto fail
; 
16660     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
16661     if (SWIG_arg_fail(1)) SWIG_fail
; 
16663         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16664         result 
= (bool)((wxMouseEvent 
const *)arg1
)->AltDown(); 
16666         wxPyEndAllowThreads(__tstate
); 
16667         if (PyErr_Occurred()) SWIG_fail
; 
16670         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
16678 static PyObject 
*_wrap_MouseEvent_ShiftDown(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16679     PyObject 
*resultobj
; 
16680     wxMouseEvent 
*arg1 
= (wxMouseEvent 
*) 0 ; 
16682     PyObject 
* obj0 
= 0 ; 
16683     char *kwnames
[] = { 
16684         (char *) "self", NULL 
 
16687     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_ShiftDown",kwnames
,&obj0
)) goto fail
; 
16688     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
16689     if (SWIG_arg_fail(1)) SWIG_fail
; 
16691         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16692         result 
= (bool)((wxMouseEvent 
const *)arg1
)->ShiftDown(); 
16694         wxPyEndAllowThreads(__tstate
); 
16695         if (PyErr_Occurred()) SWIG_fail
; 
16698         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
16706 static PyObject 
*_wrap_MouseEvent_CmdDown(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16707     PyObject 
*resultobj
; 
16708     wxMouseEvent 
*arg1 
= (wxMouseEvent 
*) 0 ; 
16710     PyObject 
* obj0 
= 0 ; 
16711     char *kwnames
[] = { 
16712         (char *) "self", NULL 
 
16715     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_CmdDown",kwnames
,&obj0
)) goto fail
; 
16716     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
16717     if (SWIG_arg_fail(1)) SWIG_fail
; 
16719         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16720         result 
= (bool)((wxMouseEvent 
const *)arg1
)->CmdDown(); 
16722         wxPyEndAllowThreads(__tstate
); 
16723         if (PyErr_Occurred()) SWIG_fail
; 
16726         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
16734 static PyObject 
*_wrap_MouseEvent_LeftDown(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16735     PyObject 
*resultobj
; 
16736     wxMouseEvent 
*arg1 
= (wxMouseEvent 
*) 0 ; 
16738     PyObject 
* obj0 
= 0 ; 
16739     char *kwnames
[] = { 
16740         (char *) "self", NULL 
 
16743     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftDown",kwnames
,&obj0
)) goto fail
; 
16744     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
16745     if (SWIG_arg_fail(1)) SWIG_fail
; 
16747         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16748         result 
= (bool)((wxMouseEvent 
const *)arg1
)->LeftDown(); 
16750         wxPyEndAllowThreads(__tstate
); 
16751         if (PyErr_Occurred()) SWIG_fail
; 
16754         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
16762 static PyObject 
*_wrap_MouseEvent_MiddleDown(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16763     PyObject 
*resultobj
; 
16764     wxMouseEvent 
*arg1 
= (wxMouseEvent 
*) 0 ; 
16766     PyObject 
* obj0 
= 0 ; 
16767     char *kwnames
[] = { 
16768         (char *) "self", NULL 
 
16771     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleDown",kwnames
,&obj0
)) goto fail
; 
16772     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
16773     if (SWIG_arg_fail(1)) SWIG_fail
; 
16775         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16776         result 
= (bool)((wxMouseEvent 
const *)arg1
)->MiddleDown(); 
16778         wxPyEndAllowThreads(__tstate
); 
16779         if (PyErr_Occurred()) SWIG_fail
; 
16782         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
16790 static PyObject 
*_wrap_MouseEvent_RightDown(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16791     PyObject 
*resultobj
; 
16792     wxMouseEvent 
*arg1 
= (wxMouseEvent 
*) 0 ; 
16794     PyObject 
* obj0 
= 0 ; 
16795     char *kwnames
[] = { 
16796         (char *) "self", NULL 
 
16799     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightDown",kwnames
,&obj0
)) goto fail
; 
16800     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
16801     if (SWIG_arg_fail(1)) SWIG_fail
; 
16803         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16804         result 
= (bool)((wxMouseEvent 
const *)arg1
)->RightDown(); 
16806         wxPyEndAllowThreads(__tstate
); 
16807         if (PyErr_Occurred()) SWIG_fail
; 
16810         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
16818 static PyObject 
*_wrap_MouseEvent_LeftUp(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16819     PyObject 
*resultobj
; 
16820     wxMouseEvent 
*arg1 
= (wxMouseEvent 
*) 0 ; 
16822     PyObject 
* obj0 
= 0 ; 
16823     char *kwnames
[] = { 
16824         (char *) "self", NULL 
 
16827     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftUp",kwnames
,&obj0
)) goto fail
; 
16828     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
16829     if (SWIG_arg_fail(1)) SWIG_fail
; 
16831         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16832         result 
= (bool)((wxMouseEvent 
const *)arg1
)->LeftUp(); 
16834         wxPyEndAllowThreads(__tstate
); 
16835         if (PyErr_Occurred()) SWIG_fail
; 
16838         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
16846 static PyObject 
*_wrap_MouseEvent_MiddleUp(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16847     PyObject 
*resultobj
; 
16848     wxMouseEvent 
*arg1 
= (wxMouseEvent 
*) 0 ; 
16850     PyObject 
* obj0 
= 0 ; 
16851     char *kwnames
[] = { 
16852         (char *) "self", NULL 
 
16855     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleUp",kwnames
,&obj0
)) goto fail
; 
16856     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
16857     if (SWIG_arg_fail(1)) SWIG_fail
; 
16859         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16860         result 
= (bool)((wxMouseEvent 
const *)arg1
)->MiddleUp(); 
16862         wxPyEndAllowThreads(__tstate
); 
16863         if (PyErr_Occurred()) SWIG_fail
; 
16866         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
16874 static PyObject 
*_wrap_MouseEvent_RightUp(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16875     PyObject 
*resultobj
; 
16876     wxMouseEvent 
*arg1 
= (wxMouseEvent 
*) 0 ; 
16878     PyObject 
* obj0 
= 0 ; 
16879     char *kwnames
[] = { 
16880         (char *) "self", NULL 
 
16883     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightUp",kwnames
,&obj0
)) goto fail
; 
16884     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
16885     if (SWIG_arg_fail(1)) SWIG_fail
; 
16887         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16888         result 
= (bool)((wxMouseEvent 
const *)arg1
)->RightUp(); 
16890         wxPyEndAllowThreads(__tstate
); 
16891         if (PyErr_Occurred()) SWIG_fail
; 
16894         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
16902 static PyObject 
*_wrap_MouseEvent_LeftDClick(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16903     PyObject 
*resultobj
; 
16904     wxMouseEvent 
*arg1 
= (wxMouseEvent 
*) 0 ; 
16906     PyObject 
* obj0 
= 0 ; 
16907     char *kwnames
[] = { 
16908         (char *) "self", NULL 
 
16911     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftDClick",kwnames
,&obj0
)) goto fail
; 
16912     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
16913     if (SWIG_arg_fail(1)) SWIG_fail
; 
16915         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16916         result 
= (bool)((wxMouseEvent 
const *)arg1
)->LeftDClick(); 
16918         wxPyEndAllowThreads(__tstate
); 
16919         if (PyErr_Occurred()) SWIG_fail
; 
16922         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
16930 static PyObject 
*_wrap_MouseEvent_MiddleDClick(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16931     PyObject 
*resultobj
; 
16932     wxMouseEvent 
*arg1 
= (wxMouseEvent 
*) 0 ; 
16934     PyObject 
* obj0 
= 0 ; 
16935     char *kwnames
[] = { 
16936         (char *) "self", NULL 
 
16939     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleDClick",kwnames
,&obj0
)) goto fail
; 
16940     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
16941     if (SWIG_arg_fail(1)) SWIG_fail
; 
16943         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16944         result 
= (bool)((wxMouseEvent 
const *)arg1
)->MiddleDClick(); 
16946         wxPyEndAllowThreads(__tstate
); 
16947         if (PyErr_Occurred()) SWIG_fail
; 
16950         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
16958 static PyObject 
*_wrap_MouseEvent_RightDClick(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16959     PyObject 
*resultobj
; 
16960     wxMouseEvent 
*arg1 
= (wxMouseEvent 
*) 0 ; 
16962     PyObject 
* obj0 
= 0 ; 
16963     char *kwnames
[] = { 
16964         (char *) "self", NULL 
 
16967     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightDClick",kwnames
,&obj0
)) goto fail
; 
16968     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
16969     if (SWIG_arg_fail(1)) SWIG_fail
; 
16971         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16972         result 
= (bool)((wxMouseEvent 
const *)arg1
)->RightDClick(); 
16974         wxPyEndAllowThreads(__tstate
); 
16975         if (PyErr_Occurred()) SWIG_fail
; 
16978         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
16986 static PyObject 
*_wrap_MouseEvent_LeftIsDown(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16987     PyObject 
*resultobj
; 
16988     wxMouseEvent 
*arg1 
= (wxMouseEvent 
*) 0 ; 
16990     PyObject 
* obj0 
= 0 ; 
16991     char *kwnames
[] = { 
16992         (char *) "self", NULL 
 
16995     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftIsDown",kwnames
,&obj0
)) goto fail
; 
16996     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
16997     if (SWIG_arg_fail(1)) SWIG_fail
; 
16999         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17000         result 
= (bool)(arg1
)->LeftIsDown(); 
17002         wxPyEndAllowThreads(__tstate
); 
17003         if (PyErr_Occurred()) SWIG_fail
; 
17006         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
17014 static PyObject 
*_wrap_MouseEvent_MiddleIsDown(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
17015     PyObject 
*resultobj
; 
17016     wxMouseEvent 
*arg1 
= (wxMouseEvent 
*) 0 ; 
17018     PyObject 
* obj0 
= 0 ; 
17019     char *kwnames
[] = { 
17020         (char *) "self", NULL 
 
17023     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleIsDown",kwnames
,&obj0
)) goto fail
; 
17024     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
17025     if (SWIG_arg_fail(1)) SWIG_fail
; 
17027         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17028         result 
= (bool)(arg1
)->MiddleIsDown(); 
17030         wxPyEndAllowThreads(__tstate
); 
17031         if (PyErr_Occurred()) SWIG_fail
; 
17034         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
17042 static PyObject 
*_wrap_MouseEvent_RightIsDown(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
17043     PyObject 
*resultobj
; 
17044     wxMouseEvent 
*arg1 
= (wxMouseEvent 
*) 0 ; 
17046     PyObject 
* obj0 
= 0 ; 
17047     char *kwnames
[] = { 
17048         (char *) "self", NULL 
 
17051     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightIsDown",kwnames
,&obj0
)) goto fail
; 
17052     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
17053     if (SWIG_arg_fail(1)) SWIG_fail
; 
17055         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17056         result 
= (bool)(arg1
)->RightIsDown(); 
17058         wxPyEndAllowThreads(__tstate
); 
17059         if (PyErr_Occurred()) SWIG_fail
; 
17062         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
17070 static PyObject 
*_wrap_MouseEvent_Dragging(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
17071     PyObject 
*resultobj
; 
17072     wxMouseEvent 
*arg1 
= (wxMouseEvent 
*) 0 ; 
17074     PyObject 
* obj0 
= 0 ; 
17075     char *kwnames
[] = { 
17076         (char *) "self", NULL 
 
17079     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Dragging",kwnames
,&obj0
)) goto fail
; 
17080     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
17081     if (SWIG_arg_fail(1)) SWIG_fail
; 
17083         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17084         result 
= (bool)((wxMouseEvent 
const *)arg1
)->Dragging(); 
17086         wxPyEndAllowThreads(__tstate
); 
17087         if (PyErr_Occurred()) SWIG_fail
; 
17090         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
17098 static PyObject 
*_wrap_MouseEvent_Moving(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
17099     PyObject 
*resultobj
; 
17100     wxMouseEvent 
*arg1 
= (wxMouseEvent 
*) 0 ; 
17102     PyObject 
* obj0 
= 0 ; 
17103     char *kwnames
[] = { 
17104         (char *) "self", NULL 
 
17107     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Moving",kwnames
,&obj0
)) goto fail
; 
17108     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
17109     if (SWIG_arg_fail(1)) SWIG_fail
; 
17111         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17112         result 
= (bool)((wxMouseEvent 
const *)arg1
)->Moving(); 
17114         wxPyEndAllowThreads(__tstate
); 
17115         if (PyErr_Occurred()) SWIG_fail
; 
17118         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
17126 static PyObject 
*_wrap_MouseEvent_Entering(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
17127     PyObject 
*resultobj
; 
17128     wxMouseEvent 
*arg1 
= (wxMouseEvent 
*) 0 ; 
17130     PyObject 
* obj0 
= 0 ; 
17131     char *kwnames
[] = { 
17132         (char *) "self", NULL 
 
17135     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Entering",kwnames
,&obj0
)) goto fail
; 
17136     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
17137     if (SWIG_arg_fail(1)) SWIG_fail
; 
17139         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17140         result 
= (bool)((wxMouseEvent 
const *)arg1
)->Entering(); 
17142         wxPyEndAllowThreads(__tstate
); 
17143         if (PyErr_Occurred()) SWIG_fail
; 
17146         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
17154 static PyObject 
*_wrap_MouseEvent_Leaving(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
17155     PyObject 
*resultobj
; 
17156     wxMouseEvent 
*arg1 
= (wxMouseEvent 
*) 0 ; 
17158     PyObject 
* obj0 
= 0 ; 
17159     char *kwnames
[] = { 
17160         (char *) "self", NULL 
 
17163     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Leaving",kwnames
,&obj0
)) goto fail
; 
17164     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
17165     if (SWIG_arg_fail(1)) SWIG_fail
; 
17167         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17168         result 
= (bool)((wxMouseEvent 
const *)arg1
)->Leaving(); 
17170         wxPyEndAllowThreads(__tstate
); 
17171         if (PyErr_Occurred()) SWIG_fail
; 
17174         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
17182 static PyObject 
*_wrap_MouseEvent_GetPosition(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
17183     PyObject 
*resultobj
; 
17184     wxMouseEvent 
*arg1 
= (wxMouseEvent 
*) 0 ; 
17186     PyObject 
* obj0 
= 0 ; 
17187     char *kwnames
[] = { 
17188         (char *) "self", NULL 
 
17191     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetPosition",kwnames
,&obj0
)) goto fail
; 
17192     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
17193     if (SWIG_arg_fail(1)) SWIG_fail
; 
17195         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17196         result 
= (arg1
)->GetPosition(); 
17198         wxPyEndAllowThreads(__tstate
); 
17199         if (PyErr_Occurred()) SWIG_fail
; 
17202         wxPoint 
* resultptr
; 
17203         resultptr 
= new wxPoint((wxPoint 
&)(result
)); 
17204         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1); 
17212 static PyObject 
*_wrap_MouseEvent_GetPositionTuple(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
17213     PyObject 
*resultobj
; 
17214     wxMouseEvent 
*arg1 
= (wxMouseEvent 
*) 0 ; 
17215     long *arg2 
= (long *) 0 ; 
17216     long *arg3 
= (long *) 0 ; 
17221     PyObject 
* obj0 
= 0 ; 
17222     char *kwnames
[] = { 
17223         (char *) "self", NULL 
 
17226     arg2 
= &temp2
; res2 
= SWIG_NEWOBJ
; 
17227     arg3 
= &temp3
; res3 
= SWIG_NEWOBJ
; 
17228     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetPositionTuple",kwnames
,&obj0
)) goto fail
; 
17229     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
17230     if (SWIG_arg_fail(1)) SWIG_fail
; 
17232         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17233         (arg1
)->GetPosition(arg2
,arg3
); 
17235         wxPyEndAllowThreads(__tstate
); 
17236         if (PyErr_Occurred()) SWIG_fail
; 
17238     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
17239     resultobj 
= t_output_helper(resultobj
, ((res2 
== SWIG_NEWOBJ
) ? 
17240     SWIG_From_long((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, 0))); 
17241     resultobj 
= t_output_helper(resultobj
, ((res3 
== SWIG_NEWOBJ
) ? 
17242     SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0))); 
17249 static PyObject 
*_wrap_MouseEvent_GetLogicalPosition(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
17250     PyObject 
*resultobj
; 
17251     wxMouseEvent 
*arg1 
= (wxMouseEvent 
*) 0 ; 
17254     PyObject 
* obj0 
= 0 ; 
17255     PyObject 
* obj1 
= 0 ; 
17256     char *kwnames
[] = { 
17257         (char *) "self",(char *) "dc", NULL 
 
17260     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_GetLogicalPosition",kwnames
,&obj0
,&obj1
)) goto fail
; 
17261     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
17262     if (SWIG_arg_fail(1)) SWIG_fail
; 
17264         SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
17265         if (SWIG_arg_fail(2)) SWIG_fail
; 
17266         if (arg2 
== NULL
) { 
17267             SWIG_null_ref("wxDC"); 
17269         if (SWIG_arg_fail(2)) SWIG_fail
; 
17272         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17273         result 
= ((wxMouseEvent 
const *)arg1
)->GetLogicalPosition((wxDC 
const &)*arg2
); 
17275         wxPyEndAllowThreads(__tstate
); 
17276         if (PyErr_Occurred()) SWIG_fail
; 
17279         wxPoint 
* resultptr
; 
17280         resultptr 
= new wxPoint((wxPoint 
&)(result
)); 
17281         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1); 
17289 static PyObject 
*_wrap_MouseEvent_GetX(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
17290     PyObject 
*resultobj
; 
17291     wxMouseEvent 
*arg1 
= (wxMouseEvent 
*) 0 ; 
17293     PyObject 
* obj0 
= 0 ; 
17294     char *kwnames
[] = { 
17295         (char *) "self", NULL 
 
17298     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetX",kwnames
,&obj0
)) goto fail
; 
17299     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
17300     if (SWIG_arg_fail(1)) SWIG_fail
; 
17302         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17303         result 
= (int)((wxMouseEvent 
const *)arg1
)->GetX(); 
17305         wxPyEndAllowThreads(__tstate
); 
17306         if (PyErr_Occurred()) SWIG_fail
; 
17309         resultobj 
= SWIG_From_int((int)(result
));  
17317 static PyObject 
*_wrap_MouseEvent_GetY(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
17318     PyObject 
*resultobj
; 
17319     wxMouseEvent 
*arg1 
= (wxMouseEvent 
*) 0 ; 
17321     PyObject 
* obj0 
= 0 ; 
17322     char *kwnames
[] = { 
17323         (char *) "self", NULL 
 
17326     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetY",kwnames
,&obj0
)) goto fail
; 
17327     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
17328     if (SWIG_arg_fail(1)) SWIG_fail
; 
17330         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17331         result 
= (int)((wxMouseEvent 
const *)arg1
)->GetY(); 
17333         wxPyEndAllowThreads(__tstate
); 
17334         if (PyErr_Occurred()) SWIG_fail
; 
17337         resultobj 
= SWIG_From_int((int)(result
));  
17345 static PyObject 
*_wrap_MouseEvent_GetWheelRotation(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
17346     PyObject 
*resultobj
; 
17347     wxMouseEvent 
*arg1 
= (wxMouseEvent 
*) 0 ; 
17349     PyObject 
* obj0 
= 0 ; 
17350     char *kwnames
[] = { 
17351         (char *) "self", NULL 
 
17354     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetWheelRotation",kwnames
,&obj0
)) goto fail
; 
17355     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
17356     if (SWIG_arg_fail(1)) SWIG_fail
; 
17358         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17359         result 
= (int)((wxMouseEvent 
const *)arg1
)->GetWheelRotation(); 
17361         wxPyEndAllowThreads(__tstate
); 
17362         if (PyErr_Occurred()) SWIG_fail
; 
17365         resultobj 
= SWIG_From_int((int)(result
));  
17373 static PyObject 
*_wrap_MouseEvent_GetWheelDelta(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
17374     PyObject 
*resultobj
; 
17375     wxMouseEvent 
*arg1 
= (wxMouseEvent 
*) 0 ; 
17377     PyObject 
* obj0 
= 0 ; 
17378     char *kwnames
[] = { 
17379         (char *) "self", NULL 
 
17382     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetWheelDelta",kwnames
,&obj0
)) goto fail
; 
17383     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
17384     if (SWIG_arg_fail(1)) SWIG_fail
; 
17386         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17387         result 
= (int)((wxMouseEvent 
const *)arg1
)->GetWheelDelta(); 
17389         wxPyEndAllowThreads(__tstate
); 
17390         if (PyErr_Occurred()) SWIG_fail
; 
17393         resultobj 
= SWIG_From_int((int)(result
));  
17401 static PyObject 
*_wrap_MouseEvent_GetLinesPerAction(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
17402     PyObject 
*resultobj
; 
17403     wxMouseEvent 
*arg1 
= (wxMouseEvent 
*) 0 ; 
17405     PyObject 
* obj0 
= 0 ; 
17406     char *kwnames
[] = { 
17407         (char *) "self", NULL 
 
17410     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetLinesPerAction",kwnames
,&obj0
)) goto fail
; 
17411     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
17412     if (SWIG_arg_fail(1)) SWIG_fail
; 
17414         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17415         result 
= (int)((wxMouseEvent 
const *)arg1
)->GetLinesPerAction(); 
17417         wxPyEndAllowThreads(__tstate
); 
17418         if (PyErr_Occurred()) SWIG_fail
; 
17421         resultobj 
= SWIG_From_int((int)(result
));  
17429 static PyObject 
*_wrap_MouseEvent_IsPageScroll(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
17430     PyObject 
*resultobj
; 
17431     wxMouseEvent 
*arg1 
= (wxMouseEvent 
*) 0 ; 
17433     PyObject 
* obj0 
= 0 ; 
17434     char *kwnames
[] = { 
17435         (char *) "self", NULL 
 
17438     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_IsPageScroll",kwnames
,&obj0
)) goto fail
; 
17439     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
17440     if (SWIG_arg_fail(1)) SWIG_fail
; 
17442         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17443         result 
= (bool)((wxMouseEvent 
const *)arg1
)->IsPageScroll(); 
17445         wxPyEndAllowThreads(__tstate
); 
17446         if (PyErr_Occurred()) SWIG_fail
; 
17449         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
17457 static PyObject 
*_wrap_MouseEvent_m_x_set(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
17458     PyObject 
*resultobj
; 
17459     wxMouseEvent 
*arg1 
= (wxMouseEvent 
*) 0 ; 
17461     PyObject 
* obj0 
= 0 ; 
17462     PyObject 
* obj1 
= 0 ; 
17463     char *kwnames
[] = { 
17464         (char *) "self",(char *) "m_x", NULL 
 
17467     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_x_set",kwnames
,&obj0
,&obj1
)) goto fail
; 
17468     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
17469     if (SWIG_arg_fail(1)) SWIG_fail
; 
17471         arg2 
= (int)(SWIG_As_int(obj1
));  
17472         if (SWIG_arg_fail(2)) SWIG_fail
; 
17474     if (arg1
) (arg1
)->m_x 
= arg2
; 
17476     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
17483 static PyObject 
*_wrap_MouseEvent_m_x_get(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
17484     PyObject 
*resultobj
; 
17485     wxMouseEvent 
*arg1 
= (wxMouseEvent 
*) 0 ; 
17487     PyObject 
* obj0 
= 0 ; 
17488     char *kwnames
[] = { 
17489         (char *) "self", NULL 
 
17492     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_x_get",kwnames
,&obj0
)) goto fail
; 
17493     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
17494     if (SWIG_arg_fail(1)) SWIG_fail
; 
17495     result 
= (int) ((arg1
)->m_x
); 
17498         resultobj 
= SWIG_From_int((int)(result
));  
17506 static PyObject 
*_wrap_MouseEvent_m_y_set(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
17507     PyObject 
*resultobj
; 
17508     wxMouseEvent 
*arg1 
= (wxMouseEvent 
*) 0 ; 
17510     PyObject 
* obj0 
= 0 ; 
17511     PyObject 
* obj1 
= 0 ; 
17512     char *kwnames
[] = { 
17513         (char *) "self",(char *) "m_y", NULL 
 
17516     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_y_set",kwnames
,&obj0
,&obj1
)) goto fail
; 
17517     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
17518     if (SWIG_arg_fail(1)) SWIG_fail
; 
17520         arg2 
= (int)(SWIG_As_int(obj1
));  
17521         if (SWIG_arg_fail(2)) SWIG_fail
; 
17523     if (arg1
) (arg1
)->m_y 
= arg2
; 
17525     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
17532 static PyObject 
*_wrap_MouseEvent_m_y_get(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
17533     PyObject 
*resultobj
; 
17534     wxMouseEvent 
*arg1 
= (wxMouseEvent 
*) 0 ; 
17536     PyObject 
* obj0 
= 0 ; 
17537     char *kwnames
[] = { 
17538         (char *) "self", NULL 
 
17541     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_y_get",kwnames
,&obj0
)) goto fail
; 
17542     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
17543     if (SWIG_arg_fail(1)) SWIG_fail
; 
17544     result 
= (int) ((arg1
)->m_y
); 
17547         resultobj 
= SWIG_From_int((int)(result
));  
17555 static PyObject 
*_wrap_MouseEvent_m_leftDown_set(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
17556     PyObject 
*resultobj
; 
17557     wxMouseEvent 
*arg1 
= (wxMouseEvent 
*) 0 ; 
17559     PyObject 
* obj0 
= 0 ; 
17560     PyObject 
* obj1 
= 0 ; 
17561     char *kwnames
[] = { 
17562         (char *) "self",(char *) "m_leftDown", NULL 
 
17565     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_leftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
; 
17566     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
17567     if (SWIG_arg_fail(1)) SWIG_fail
; 
17569         arg2 
= (bool)(SWIG_As_bool(obj1
));  
17570         if (SWIG_arg_fail(2)) SWIG_fail
; 
17572     if (arg1
) (arg1
)->m_leftDown 
= arg2
; 
17574     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
17581 static PyObject 
*_wrap_MouseEvent_m_leftDown_get(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
17582     PyObject 
*resultobj
; 
17583     wxMouseEvent 
*arg1 
= (wxMouseEvent 
*) 0 ; 
17585     PyObject 
* obj0 
= 0 ; 
17586     char *kwnames
[] = { 
17587         (char *) "self", NULL 
 
17590     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_leftDown_get",kwnames
,&obj0
)) goto fail
; 
17591     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
17592     if (SWIG_arg_fail(1)) SWIG_fail
; 
17593     result 
= (bool) ((arg1
)->m_leftDown
); 
17596         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
17604 static PyObject 
*_wrap_MouseEvent_m_middleDown_set(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
17605     PyObject 
*resultobj
; 
17606     wxMouseEvent 
*arg1 
= (wxMouseEvent 
*) 0 ; 
17608     PyObject 
* obj0 
= 0 ; 
17609     PyObject 
* obj1 
= 0 ; 
17610     char *kwnames
[] = { 
17611         (char *) "self",(char *) "m_middleDown", NULL 
 
17614     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_middleDown_set",kwnames
,&obj0
,&obj1
)) goto fail
; 
17615     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
17616     if (SWIG_arg_fail(1)) SWIG_fail
; 
17618         arg2 
= (bool)(SWIG_As_bool(obj1
));  
17619         if (SWIG_arg_fail(2)) SWIG_fail
; 
17621     if (arg1
) (arg1
)->m_middleDown 
= arg2
; 
17623     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
17630 static PyObject 
*_wrap_MouseEvent_m_middleDown_get(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
17631     PyObject 
*resultobj
; 
17632     wxMouseEvent 
*arg1 
= (wxMouseEvent 
*) 0 ; 
17634     PyObject 
* obj0 
= 0 ; 
17635     char *kwnames
[] = { 
17636         (char *) "self", NULL 
 
17639     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_middleDown_get",kwnames
,&obj0
)) goto fail
; 
17640     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
17641     if (SWIG_arg_fail(1)) SWIG_fail
; 
17642     result 
= (bool) ((arg1
)->m_middleDown
); 
17645         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
17653 static PyObject 
*_wrap_MouseEvent_m_rightDown_set(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
17654     PyObject 
*resultobj
; 
17655     wxMouseEvent 
*arg1 
= (wxMouseEvent 
*) 0 ; 
17657     PyObject 
* obj0 
= 0 ; 
17658     PyObject 
* obj1 
= 0 ; 
17659     char *kwnames
[] = { 
17660         (char *) "self",(char *) "m_rightDown", NULL 
 
17663     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_rightDown_set",kwnames
,&obj0
,&obj1
)) goto fail
; 
17664     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
17665     if (SWIG_arg_fail(1)) SWIG_fail
; 
17667         arg2 
= (bool)(SWIG_As_bool(obj1
));  
17668         if (SWIG_arg_fail(2)) SWIG_fail
; 
17670     if (arg1
) (arg1
)->m_rightDown 
= arg2
; 
17672     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
17679 static PyObject 
*_wrap_MouseEvent_m_rightDown_get(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
17680     PyObject 
*resultobj
; 
17681     wxMouseEvent 
*arg1 
= (wxMouseEvent 
*) 0 ; 
17683     PyObject 
* obj0 
= 0 ; 
17684     char *kwnames
[] = { 
17685         (char *) "self", NULL 
 
17688     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_rightDown_get",kwnames
,&obj0
)) goto fail
; 
17689     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
17690     if (SWIG_arg_fail(1)) SWIG_fail
; 
17691     result 
= (bool) ((arg1
)->m_rightDown
); 
17694         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
17702 static PyObject 
*_wrap_MouseEvent_m_controlDown_set(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
17703     PyObject 
*resultobj
; 
17704     wxMouseEvent 
*arg1 
= (wxMouseEvent 
*) 0 ; 
17706     PyObject 
* obj0 
= 0 ; 
17707     PyObject 
* obj1 
= 0 ; 
17708     char *kwnames
[] = { 
17709         (char *) "self",(char *) "m_controlDown", NULL 
 
17712     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_controlDown_set",kwnames
,&obj0
,&obj1
)) goto fail
; 
17713     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
17714     if (SWIG_arg_fail(1)) SWIG_fail
; 
17716         arg2 
= (bool)(SWIG_As_bool(obj1
));  
17717         if (SWIG_arg_fail(2)) SWIG_fail
; 
17719     if (arg1
) (arg1
)->m_controlDown 
= arg2
; 
17721     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
17728 static PyObject 
*_wrap_MouseEvent_m_controlDown_get(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
17729     PyObject 
*resultobj
; 
17730     wxMouseEvent 
*arg1 
= (wxMouseEvent 
*) 0 ; 
17732     PyObject 
* obj0 
= 0 ; 
17733     char *kwnames
[] = { 
17734         (char *) "self", NULL 
 
17737     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_controlDown_get",kwnames
,&obj0
)) goto fail
; 
17738     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
17739     if (SWIG_arg_fail(1)) SWIG_fail
; 
17740     result 
= (bool) ((arg1
)->m_controlDown
); 
17743         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
17751 static PyObject 
*_wrap_MouseEvent_m_shiftDown_set(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
17752     PyObject 
*resultobj
; 
17753     wxMouseEvent 
*arg1 
= (wxMouseEvent 
*) 0 ; 
17755     PyObject 
* obj0 
= 0 ; 
17756     PyObject 
* obj1 
= 0 ; 
17757     char *kwnames
[] = { 
17758         (char *) "self",(char *) "m_shiftDown", NULL 
 
17761     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_shiftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
; 
17762     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
17763     if (SWIG_arg_fail(1)) SWIG_fail
; 
17765         arg2 
= (bool)(SWIG_As_bool(obj1
));  
17766         if (SWIG_arg_fail(2)) SWIG_fail
; 
17768     if (arg1
) (arg1
)->m_shiftDown 
= arg2
; 
17770     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
17777 static PyObject 
*_wrap_MouseEvent_m_shiftDown_get(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
17778     PyObject 
*resultobj
; 
17779     wxMouseEvent 
*arg1 
= (wxMouseEvent 
*) 0 ; 
17781     PyObject 
* obj0 
= 0 ; 
17782     char *kwnames
[] = { 
17783         (char *) "self", NULL 
 
17786     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_shiftDown_get",kwnames
,&obj0
)) goto fail
; 
17787     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
17788     if (SWIG_arg_fail(1)) SWIG_fail
; 
17789     result 
= (bool) ((arg1
)->m_shiftDown
); 
17792         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
17800 static PyObject 
*_wrap_MouseEvent_m_altDown_set(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
17801     PyObject 
*resultobj
; 
17802     wxMouseEvent 
*arg1 
= (wxMouseEvent 
*) 0 ; 
17804     PyObject 
* obj0 
= 0 ; 
17805     PyObject 
* obj1 
= 0 ; 
17806     char *kwnames
[] = { 
17807         (char *) "self",(char *) "m_altDown", NULL 
 
17810     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_altDown_set",kwnames
,&obj0
,&obj1
)) goto fail
; 
17811     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
17812     if (SWIG_arg_fail(1)) SWIG_fail
; 
17814         arg2 
= (bool)(SWIG_As_bool(obj1
));  
17815         if (SWIG_arg_fail(2)) SWIG_fail
; 
17817     if (arg1
) (arg1
)->m_altDown 
= arg2
; 
17819     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
17826 static PyObject 
*_wrap_MouseEvent_m_altDown_get(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
17827     PyObject 
*resultobj
; 
17828     wxMouseEvent 
*arg1 
= (wxMouseEvent 
*) 0 ; 
17830     PyObject 
* obj0 
= 0 ; 
17831     char *kwnames
[] = { 
17832         (char *) "self", NULL 
 
17835     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_altDown_get",kwnames
,&obj0
)) goto fail
; 
17836     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
17837     if (SWIG_arg_fail(1)) SWIG_fail
; 
17838     result 
= (bool) ((arg1
)->m_altDown
); 
17841         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
17849 static PyObject 
*_wrap_MouseEvent_m_metaDown_set(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
17850     PyObject 
*resultobj
; 
17851     wxMouseEvent 
*arg1 
= (wxMouseEvent 
*) 0 ; 
17853     PyObject 
* obj0 
= 0 ; 
17854     PyObject 
* obj1 
= 0 ; 
17855     char *kwnames
[] = { 
17856         (char *) "self",(char *) "m_metaDown", NULL 
 
17859     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_metaDown_set",kwnames
,&obj0
,&obj1
)) goto fail
; 
17860     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
17861     if (SWIG_arg_fail(1)) SWIG_fail
; 
17863         arg2 
= (bool)(SWIG_As_bool(obj1
));  
17864         if (SWIG_arg_fail(2)) SWIG_fail
; 
17866     if (arg1
) (arg1
)->m_metaDown 
= arg2
; 
17868     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
17875 static PyObject 
*_wrap_MouseEvent_m_metaDown_get(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
17876     PyObject 
*resultobj
; 
17877     wxMouseEvent 
*arg1 
= (wxMouseEvent 
*) 0 ; 
17879     PyObject 
* obj0 
= 0 ; 
17880     char *kwnames
[] = { 
17881         (char *) "self", NULL 
 
17884     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_metaDown_get",kwnames
,&obj0
)) goto fail
; 
17885     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
17886     if (SWIG_arg_fail(1)) SWIG_fail
; 
17887     result 
= (bool) ((arg1
)->m_metaDown
); 
17890         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
17898 static PyObject 
*_wrap_MouseEvent_m_wheelRotation_set(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
17899     PyObject 
*resultobj
; 
17900     wxMouseEvent 
*arg1 
= (wxMouseEvent 
*) 0 ; 
17902     PyObject 
* obj0 
= 0 ; 
17903     PyObject 
* obj1 
= 0 ; 
17904     char *kwnames
[] = { 
17905         (char *) "self",(char *) "m_wheelRotation", NULL 
 
17908     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_wheelRotation_set",kwnames
,&obj0
,&obj1
)) goto fail
; 
17909     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
17910     if (SWIG_arg_fail(1)) SWIG_fail
; 
17912         arg2 
= (int)(SWIG_As_int(obj1
));  
17913         if (SWIG_arg_fail(2)) SWIG_fail
; 
17915     if (arg1
) (arg1
)->m_wheelRotation 
= arg2
; 
17917     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
17924 static PyObject 
*_wrap_MouseEvent_m_wheelRotation_get(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
17925     PyObject 
*resultobj
; 
17926     wxMouseEvent 
*arg1 
= (wxMouseEvent 
*) 0 ; 
17928     PyObject 
* obj0 
= 0 ; 
17929     char *kwnames
[] = { 
17930         (char *) "self", NULL 
 
17933     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_wheelRotation_get",kwnames
,&obj0
)) goto fail
; 
17934     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
17935     if (SWIG_arg_fail(1)) SWIG_fail
; 
17936     result 
= (int) ((arg1
)->m_wheelRotation
); 
17939         resultobj 
= SWIG_From_int((int)(result
));  
17947 static PyObject 
*_wrap_MouseEvent_m_wheelDelta_set(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
17948     PyObject 
*resultobj
; 
17949     wxMouseEvent 
*arg1 
= (wxMouseEvent 
*) 0 ; 
17951     PyObject 
* obj0 
= 0 ; 
17952     PyObject 
* obj1 
= 0 ; 
17953     char *kwnames
[] = { 
17954         (char *) "self",(char *) "m_wheelDelta", NULL 
 
17957     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_wheelDelta_set",kwnames
,&obj0
,&obj1
)) goto fail
; 
17958     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
17959     if (SWIG_arg_fail(1)) SWIG_fail
; 
17961         arg2 
= (int)(SWIG_As_int(obj1
));  
17962         if (SWIG_arg_fail(2)) SWIG_fail
; 
17964     if (arg1
) (arg1
)->m_wheelDelta 
= arg2
; 
17966     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
17973 static PyObject 
*_wrap_MouseEvent_m_wheelDelta_get(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
17974     PyObject 
*resultobj
; 
17975     wxMouseEvent 
*arg1 
= (wxMouseEvent 
*) 0 ; 
17977     PyObject 
* obj0 
= 0 ; 
17978     char *kwnames
[] = { 
17979         (char *) "self", NULL 
 
17982     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_wheelDelta_get",kwnames
,&obj0
)) goto fail
; 
17983     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
17984     if (SWIG_arg_fail(1)) SWIG_fail
; 
17985     result 
= (int) ((arg1
)->m_wheelDelta
); 
17988         resultobj 
= SWIG_From_int((int)(result
));  
17996 static PyObject 
*_wrap_MouseEvent_m_linesPerAction_set(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
17997     PyObject 
*resultobj
; 
17998     wxMouseEvent 
*arg1 
= (wxMouseEvent 
*) 0 ; 
18000     PyObject 
* obj0 
= 0 ; 
18001     PyObject 
* obj1 
= 0 ; 
18002     char *kwnames
[] = { 
18003         (char *) "self",(char *) "m_linesPerAction", NULL 
 
18006     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_linesPerAction_set",kwnames
,&obj0
,&obj1
)) goto fail
; 
18007     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
18008     if (SWIG_arg_fail(1)) SWIG_fail
; 
18010         arg2 
= (int)(SWIG_As_int(obj1
));  
18011         if (SWIG_arg_fail(2)) SWIG_fail
; 
18013     if (arg1
) (arg1
)->m_linesPerAction 
= arg2
; 
18015     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
18022 static PyObject 
*_wrap_MouseEvent_m_linesPerAction_get(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
18023     PyObject 
*resultobj
; 
18024     wxMouseEvent 
*arg1 
= (wxMouseEvent 
*) 0 ; 
18026     PyObject 
* obj0 
= 0 ; 
18027     char *kwnames
[] = { 
18028         (char *) "self", NULL 
 
18031     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_linesPerAction_get",kwnames
,&obj0
)) goto fail
; 
18032     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
18033     if (SWIG_arg_fail(1)) SWIG_fail
; 
18034     result 
= (int) ((arg1
)->m_linesPerAction
); 
18037         resultobj 
= SWIG_From_int((int)(result
));  
18045 static PyObject 
* MouseEvent_swigregister(PyObject 
*, PyObject 
*args
) { 
18047     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
18048     SWIG_TypeClientData(SWIGTYPE_p_wxMouseEvent
, obj
); 
18050     return Py_BuildValue((char *)""); 
18052 static PyObject 
*_wrap_new_SetCursorEvent(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
18053     PyObject 
*resultobj
; 
18054     int arg1 
= (int) 0 ; 
18055     int arg2 
= (int) 0 ; 
18056     wxSetCursorEvent 
*result
; 
18057     PyObject 
* obj0 
= 0 ; 
18058     PyObject 
* obj1 
= 0 ; 
18059     char *kwnames
[] = { 
18060         (char *) "x",(char *) "y", NULL 
 
18063     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SetCursorEvent",kwnames
,&obj0
,&obj1
)) goto fail
; 
18066             arg1 
= (int)(SWIG_As_int(obj0
));  
18067             if (SWIG_arg_fail(1)) SWIG_fail
; 
18072             arg2 
= (int)(SWIG_As_int(obj1
));  
18073             if (SWIG_arg_fail(2)) SWIG_fail
; 
18077         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18078         result 
= (wxSetCursorEvent 
*)new wxSetCursorEvent(arg1
,arg2
); 
18080         wxPyEndAllowThreads(__tstate
); 
18081         if (PyErr_Occurred()) SWIG_fail
; 
18083     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSetCursorEvent
, 1); 
18090 static PyObject 
*_wrap_SetCursorEvent_GetX(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
18091     PyObject 
*resultobj
; 
18092     wxSetCursorEvent 
*arg1 
= (wxSetCursorEvent 
*) 0 ; 
18094     PyObject 
* obj0 
= 0 ; 
18095     char *kwnames
[] = { 
18096         (char *) "self", NULL 
 
18099     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetX",kwnames
,&obj0
)) goto fail
; 
18100     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSetCursorEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
18101     if (SWIG_arg_fail(1)) SWIG_fail
; 
18103         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18104         result 
= (int)((wxSetCursorEvent 
const *)arg1
)->GetX(); 
18106         wxPyEndAllowThreads(__tstate
); 
18107         if (PyErr_Occurred()) SWIG_fail
; 
18110         resultobj 
= SWIG_From_int((int)(result
));  
18118 static PyObject 
*_wrap_SetCursorEvent_GetY(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
18119     PyObject 
*resultobj
; 
18120     wxSetCursorEvent 
*arg1 
= (wxSetCursorEvent 
*) 0 ; 
18122     PyObject 
* obj0 
= 0 ; 
18123     char *kwnames
[] = { 
18124         (char *) "self", NULL 
 
18127     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetY",kwnames
,&obj0
)) goto fail
; 
18128     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSetCursorEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
18129     if (SWIG_arg_fail(1)) SWIG_fail
; 
18131         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18132         result 
= (int)((wxSetCursorEvent 
const *)arg1
)->GetY(); 
18134         wxPyEndAllowThreads(__tstate
); 
18135         if (PyErr_Occurred()) SWIG_fail
; 
18138         resultobj 
= SWIG_From_int((int)(result
));  
18146 static PyObject 
*_wrap_SetCursorEvent_SetCursor(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
18147     PyObject 
*resultobj
; 
18148     wxSetCursorEvent 
*arg1 
= (wxSetCursorEvent 
*) 0 ; 
18149     wxCursor 
*arg2 
= 0 ; 
18150     PyObject 
* obj0 
= 0 ; 
18151     PyObject 
* obj1 
= 0 ; 
18152     char *kwnames
[] = { 
18153         (char *) "self",(char *) "cursor", NULL 
 
18156     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SetCursorEvent_SetCursor",kwnames
,&obj0
,&obj1
)) goto fail
; 
18157     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSetCursorEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
18158     if (SWIG_arg_fail(1)) SWIG_fail
; 
18160         SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION 
| 0); 
18161         if (SWIG_arg_fail(2)) SWIG_fail
; 
18162         if (arg2 
== NULL
) { 
18163             SWIG_null_ref("wxCursor"); 
18165         if (SWIG_arg_fail(2)) SWIG_fail
; 
18168         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18169         (arg1
)->SetCursor((wxCursor 
const &)*arg2
); 
18171         wxPyEndAllowThreads(__tstate
); 
18172         if (PyErr_Occurred()) SWIG_fail
; 
18174     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
18181 static PyObject 
*_wrap_SetCursorEvent_GetCursor(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
18182     PyObject 
*resultobj
; 
18183     wxSetCursorEvent 
*arg1 
= (wxSetCursorEvent 
*) 0 ; 
18185     PyObject 
* obj0 
= 0 ; 
18186     char *kwnames
[] = { 
18187         (char *) "self", NULL 
 
18190     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetCursor",kwnames
,&obj0
)) goto fail
; 
18191     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSetCursorEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
18192     if (SWIG_arg_fail(1)) SWIG_fail
; 
18194         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18196             wxCursor 
const &_result_ref 
= ((wxSetCursorEvent 
const *)arg1
)->GetCursor(); 
18197             result 
= (wxCursor 
*) &_result_ref
; 
18200         wxPyEndAllowThreads(__tstate
); 
18201         if (PyErr_Occurred()) SWIG_fail
; 
18204         wxCursor
* resultptr 
= new wxCursor(*result
); 
18205         resultobj 
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxCursor
, 1); 
18213 static PyObject 
*_wrap_SetCursorEvent_HasCursor(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
18214     PyObject 
*resultobj
; 
18215     wxSetCursorEvent 
*arg1 
= (wxSetCursorEvent 
*) 0 ; 
18217     PyObject 
* obj0 
= 0 ; 
18218     char *kwnames
[] = { 
18219         (char *) "self", NULL 
 
18222     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_HasCursor",kwnames
,&obj0
)) goto fail
; 
18223     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSetCursorEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
18224     if (SWIG_arg_fail(1)) SWIG_fail
; 
18226         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18227         result 
= (bool)((wxSetCursorEvent 
const *)arg1
)->HasCursor(); 
18229         wxPyEndAllowThreads(__tstate
); 
18230         if (PyErr_Occurred()) SWIG_fail
; 
18233         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
18241 static PyObject 
* SetCursorEvent_swigregister(PyObject 
*, PyObject 
*args
) { 
18243     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
18244     SWIG_TypeClientData(SWIGTYPE_p_wxSetCursorEvent
, obj
); 
18246     return Py_BuildValue((char *)""); 
18248 static PyObject 
*_wrap_new_KeyEvent(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
18249     PyObject 
*resultobj
; 
18250     wxEventType arg1 
= (wxEventType
) wxEVT_NULL 
; 
18251     wxKeyEvent 
*result
; 
18252     PyObject 
* obj0 
= 0 ; 
18253     char *kwnames
[] = { 
18254         (char *) "keyType", NULL 
 
18257     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_KeyEvent",kwnames
,&obj0
)) goto fail
; 
18260             arg1 
= (wxEventType
)(SWIG_As_int(obj0
));  
18261             if (SWIG_arg_fail(1)) SWIG_fail
; 
18265         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18266         result 
= (wxKeyEvent 
*)new wxKeyEvent(arg1
); 
18268         wxPyEndAllowThreads(__tstate
); 
18269         if (PyErr_Occurred()) SWIG_fail
; 
18271     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxKeyEvent
, 1); 
18278 static PyObject 
*_wrap_KeyEvent_ControlDown(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
18279     PyObject 
*resultobj
; 
18280     wxKeyEvent 
*arg1 
= (wxKeyEvent 
*) 0 ; 
18282     PyObject 
* obj0 
= 0 ; 
18283     char *kwnames
[] = { 
18284         (char *) "self", NULL 
 
18287     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_ControlDown",kwnames
,&obj0
)) goto fail
; 
18288     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
18289     if (SWIG_arg_fail(1)) SWIG_fail
; 
18291         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18292         result 
= (bool)((wxKeyEvent 
const *)arg1
)->ControlDown(); 
18294         wxPyEndAllowThreads(__tstate
); 
18295         if (PyErr_Occurred()) SWIG_fail
; 
18298         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
18306 static PyObject 
*_wrap_KeyEvent_MetaDown(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
18307     PyObject 
*resultobj
; 
18308     wxKeyEvent 
*arg1 
= (wxKeyEvent 
*) 0 ; 
18310     PyObject 
* obj0 
= 0 ; 
18311     char *kwnames
[] = { 
18312         (char *) "self", NULL 
 
18315     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_MetaDown",kwnames
,&obj0
)) goto fail
; 
18316     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
18317     if (SWIG_arg_fail(1)) SWIG_fail
; 
18319         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18320         result 
= (bool)((wxKeyEvent 
const *)arg1
)->MetaDown(); 
18322         wxPyEndAllowThreads(__tstate
); 
18323         if (PyErr_Occurred()) SWIG_fail
; 
18326         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
18334 static PyObject 
*_wrap_KeyEvent_AltDown(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
18335     PyObject 
*resultobj
; 
18336     wxKeyEvent 
*arg1 
= (wxKeyEvent 
*) 0 ; 
18338     PyObject 
* obj0 
= 0 ; 
18339     char *kwnames
[] = { 
18340         (char *) "self", NULL 
 
18343     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_AltDown",kwnames
,&obj0
)) goto fail
; 
18344     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
18345     if (SWIG_arg_fail(1)) SWIG_fail
; 
18347         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18348         result 
= (bool)((wxKeyEvent 
const *)arg1
)->AltDown(); 
18350         wxPyEndAllowThreads(__tstate
); 
18351         if (PyErr_Occurred()) SWIG_fail
; 
18354         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
18362 static PyObject 
*_wrap_KeyEvent_ShiftDown(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
18363     PyObject 
*resultobj
; 
18364     wxKeyEvent 
*arg1 
= (wxKeyEvent 
*) 0 ; 
18366     PyObject 
* obj0 
= 0 ; 
18367     char *kwnames
[] = { 
18368         (char *) "self", NULL 
 
18371     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_ShiftDown",kwnames
,&obj0
)) goto fail
; 
18372     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
18373     if (SWIG_arg_fail(1)) SWIG_fail
; 
18375         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18376         result 
= (bool)((wxKeyEvent 
const *)arg1
)->ShiftDown(); 
18378         wxPyEndAllowThreads(__tstate
); 
18379         if (PyErr_Occurred()) SWIG_fail
; 
18382         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
18390 static PyObject 
*_wrap_KeyEvent_CmdDown(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
18391     PyObject 
*resultobj
; 
18392     wxKeyEvent 
*arg1 
= (wxKeyEvent 
*) 0 ; 
18394     PyObject 
* obj0 
= 0 ; 
18395     char *kwnames
[] = { 
18396         (char *) "self", NULL 
 
18399     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_CmdDown",kwnames
,&obj0
)) goto fail
; 
18400     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
18401     if (SWIG_arg_fail(1)) SWIG_fail
; 
18403         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18404         result 
= (bool)((wxKeyEvent 
const *)arg1
)->CmdDown(); 
18406         wxPyEndAllowThreads(__tstate
); 
18407         if (PyErr_Occurred()) SWIG_fail
; 
18410         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
18418 static PyObject 
*_wrap_KeyEvent_HasModifiers(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
18419     PyObject 
*resultobj
; 
18420     wxKeyEvent 
*arg1 
= (wxKeyEvent 
*) 0 ; 
18422     PyObject 
* obj0 
= 0 ; 
18423     char *kwnames
[] = { 
18424         (char *) "self", NULL 
 
18427     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_HasModifiers",kwnames
,&obj0
)) goto fail
; 
18428     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
18429     if (SWIG_arg_fail(1)) SWIG_fail
; 
18431         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18432         result 
= (bool)((wxKeyEvent 
const *)arg1
)->HasModifiers(); 
18434         wxPyEndAllowThreads(__tstate
); 
18435         if (PyErr_Occurred()) SWIG_fail
; 
18438         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
18446 static PyObject 
*_wrap_KeyEvent_GetKeyCode(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
18447     PyObject 
*resultobj
; 
18448     wxKeyEvent 
*arg1 
= (wxKeyEvent 
*) 0 ; 
18450     PyObject 
* obj0 
= 0 ; 
18451     char *kwnames
[] = { 
18452         (char *) "self", NULL 
 
18455     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
; 
18456     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
18457     if (SWIG_arg_fail(1)) SWIG_fail
; 
18459         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18460         result 
= (int)((wxKeyEvent 
const *)arg1
)->GetKeyCode(); 
18462         wxPyEndAllowThreads(__tstate
); 
18463         if (PyErr_Occurred()) SWIG_fail
; 
18466         resultobj 
= SWIG_From_int((int)(result
));  
18474 static PyObject 
*_wrap_KeyEvent_GetUnicodeKey(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
18475     PyObject 
*resultobj
; 
18476     wxKeyEvent 
*arg1 
= (wxKeyEvent 
*) 0 ; 
18478     PyObject 
* obj0 
= 0 ; 
18479     char *kwnames
[] = { 
18480         (char *) "self", NULL 
 
18483     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetUnicodeKey",kwnames
,&obj0
)) goto fail
; 
18484     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
18485     if (SWIG_arg_fail(1)) SWIG_fail
; 
18487         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18488         result 
= (int)wxKeyEvent_GetUnicodeKey(arg1
); 
18490         wxPyEndAllowThreads(__tstate
); 
18491         if (PyErr_Occurred()) SWIG_fail
; 
18494         resultobj 
= SWIG_From_int((int)(result
));  
18502 static PyObject 
*_wrap_KeyEvent_GetRawKeyCode(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
18503     PyObject 
*resultobj
; 
18504     wxKeyEvent 
*arg1 
= (wxKeyEvent 
*) 0 ; 
18505     unsigned int result
; 
18506     PyObject 
* obj0 
= 0 ; 
18507     char *kwnames
[] = { 
18508         (char *) "self", NULL 
 
18511     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetRawKeyCode",kwnames
,&obj0
)) goto fail
; 
18512     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
18513     if (SWIG_arg_fail(1)) SWIG_fail
; 
18515         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18516         result 
= (unsigned int)((wxKeyEvent 
const *)arg1
)->GetRawKeyCode(); 
18518         wxPyEndAllowThreads(__tstate
); 
18519         if (PyErr_Occurred()) SWIG_fail
; 
18522         resultobj 
= SWIG_From_unsigned_SS_int((unsigned int)(result
));  
18530 static PyObject 
*_wrap_KeyEvent_GetRawKeyFlags(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
18531     PyObject 
*resultobj
; 
18532     wxKeyEvent 
*arg1 
= (wxKeyEvent 
*) 0 ; 
18533     unsigned int result
; 
18534     PyObject 
* obj0 
= 0 ; 
18535     char *kwnames
[] = { 
18536         (char *) "self", NULL 
 
18539     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetRawKeyFlags",kwnames
,&obj0
)) goto fail
; 
18540     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
18541     if (SWIG_arg_fail(1)) SWIG_fail
; 
18543         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18544         result 
= (unsigned int)((wxKeyEvent 
const *)arg1
)->GetRawKeyFlags(); 
18546         wxPyEndAllowThreads(__tstate
); 
18547         if (PyErr_Occurred()) SWIG_fail
; 
18550         resultobj 
= SWIG_From_unsigned_SS_int((unsigned int)(result
));  
18558 static PyObject 
*_wrap_KeyEvent_GetPosition(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
18559     PyObject 
*resultobj
; 
18560     wxKeyEvent 
*arg1 
= (wxKeyEvent 
*) 0 ; 
18562     PyObject 
* obj0 
= 0 ; 
18563     char *kwnames
[] = { 
18564         (char *) "self", NULL 
 
18567     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetPosition",kwnames
,&obj0
)) goto fail
; 
18568     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
18569     if (SWIG_arg_fail(1)) SWIG_fail
; 
18571         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18572         result 
= (arg1
)->GetPosition(); 
18574         wxPyEndAllowThreads(__tstate
); 
18575         if (PyErr_Occurred()) SWIG_fail
; 
18578         wxPoint 
* resultptr
; 
18579         resultptr 
= new wxPoint((wxPoint 
&)(result
)); 
18580         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1); 
18588 static PyObject 
*_wrap_KeyEvent_GetPositionTuple(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
18589     PyObject 
*resultobj
; 
18590     wxKeyEvent 
*arg1 
= (wxKeyEvent 
*) 0 ; 
18591     long *arg2 
= (long *) 0 ; 
18592     long *arg3 
= (long *) 0 ; 
18597     PyObject 
* obj0 
= 0 ; 
18598     char *kwnames
[] = { 
18599         (char *) "self", NULL 
 
18602     arg2 
= &temp2
; res2 
= SWIG_NEWOBJ
; 
18603     arg3 
= &temp3
; res3 
= SWIG_NEWOBJ
; 
18604     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetPositionTuple",kwnames
,&obj0
)) goto fail
; 
18605     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
18606     if (SWIG_arg_fail(1)) SWIG_fail
; 
18608         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18609         (arg1
)->GetPosition(arg2
,arg3
); 
18611         wxPyEndAllowThreads(__tstate
); 
18612         if (PyErr_Occurred()) SWIG_fail
; 
18614     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
18615     resultobj 
= t_output_helper(resultobj
, ((res2 
== SWIG_NEWOBJ
) ? 
18616     SWIG_From_long((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, 0))); 
18617     resultobj 
= t_output_helper(resultobj
, ((res3 
== SWIG_NEWOBJ
) ? 
18618     SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0))); 
18625 static PyObject 
*_wrap_KeyEvent_GetX(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
18626     PyObject 
*resultobj
; 
18627     wxKeyEvent 
*arg1 
= (wxKeyEvent 
*) 0 ; 
18629     PyObject 
* obj0 
= 0 ; 
18630     char *kwnames
[] = { 
18631         (char *) "self", NULL 
 
18634     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetX",kwnames
,&obj0
)) goto fail
; 
18635     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
18636     if (SWIG_arg_fail(1)) SWIG_fail
; 
18638         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18639         result 
= (int)((wxKeyEvent 
const *)arg1
)->GetX(); 
18641         wxPyEndAllowThreads(__tstate
); 
18642         if (PyErr_Occurred()) SWIG_fail
; 
18645         resultobj 
= SWIG_From_int((int)(result
));  
18653 static PyObject 
*_wrap_KeyEvent_GetY(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
18654     PyObject 
*resultobj
; 
18655     wxKeyEvent 
*arg1 
= (wxKeyEvent 
*) 0 ; 
18657     PyObject 
* obj0 
= 0 ; 
18658     char *kwnames
[] = { 
18659         (char *) "self", NULL 
 
18662     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetY",kwnames
,&obj0
)) goto fail
; 
18663     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
18664     if (SWIG_arg_fail(1)) SWIG_fail
; 
18666         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18667         result 
= (int)((wxKeyEvent 
const *)arg1
)->GetY(); 
18669         wxPyEndAllowThreads(__tstate
); 
18670         if (PyErr_Occurred()) SWIG_fail
; 
18673         resultobj 
= SWIG_From_int((int)(result
));  
18681 static PyObject 
*_wrap_KeyEvent_m_x_set(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
18682     PyObject 
*resultobj
; 
18683     wxKeyEvent 
*arg1 
= (wxKeyEvent 
*) 0 ; 
18685     PyObject 
* obj0 
= 0 ; 
18686     PyObject 
* obj1 
= 0 ; 
18687     char *kwnames
[] = { 
18688         (char *) "self",(char *) "m_x", NULL 
 
18691     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_x_set",kwnames
,&obj0
,&obj1
)) goto fail
; 
18692     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
18693     if (SWIG_arg_fail(1)) SWIG_fail
; 
18695         arg2 
= (int)(SWIG_As_int(obj1
));  
18696         if (SWIG_arg_fail(2)) SWIG_fail
; 
18698     if (arg1
) (arg1
)->m_x 
= arg2
; 
18700     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
18707 static PyObject 
*_wrap_KeyEvent_m_x_get(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
18708     PyObject 
*resultobj
; 
18709     wxKeyEvent 
*arg1 
= (wxKeyEvent 
*) 0 ; 
18711     PyObject 
* obj0 
= 0 ; 
18712     char *kwnames
[] = { 
18713         (char *) "self", NULL 
 
18716     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_x_get",kwnames
,&obj0
)) goto fail
; 
18717     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
18718     if (SWIG_arg_fail(1)) SWIG_fail
; 
18719     result 
= (int) ((arg1
)->m_x
); 
18722         resultobj 
= SWIG_From_int((int)(result
));  
18730 static PyObject 
*_wrap_KeyEvent_m_y_set(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
18731     PyObject 
*resultobj
; 
18732     wxKeyEvent 
*arg1 
= (wxKeyEvent 
*) 0 ; 
18734     PyObject 
* obj0 
= 0 ; 
18735     PyObject 
* obj1 
= 0 ; 
18736     char *kwnames
[] = { 
18737         (char *) "self",(char *) "m_y", NULL 
 
18740     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_y_set",kwnames
,&obj0
,&obj1
)) goto fail
; 
18741     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
18742     if (SWIG_arg_fail(1)) SWIG_fail
; 
18744         arg2 
= (int)(SWIG_As_int(obj1
));  
18745         if (SWIG_arg_fail(2)) SWIG_fail
; 
18747     if (arg1
) (arg1
)->m_y 
= arg2
; 
18749     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
18756 static PyObject 
*_wrap_KeyEvent_m_y_get(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
18757     PyObject 
*resultobj
; 
18758     wxKeyEvent 
*arg1 
= (wxKeyEvent 
*) 0 ; 
18760     PyObject 
* obj0 
= 0 ; 
18761     char *kwnames
[] = { 
18762         (char *) "self", NULL 
 
18765     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_y_get",kwnames
,&obj0
)) goto fail
; 
18766     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
18767     if (SWIG_arg_fail(1)) SWIG_fail
; 
18768     result 
= (int) ((arg1
)->m_y
); 
18771         resultobj 
= SWIG_From_int((int)(result
));  
18779 static PyObject 
*_wrap_KeyEvent_m_keyCode_set(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
18780     PyObject 
*resultobj
; 
18781     wxKeyEvent 
*arg1 
= (wxKeyEvent 
*) 0 ; 
18783     PyObject 
* obj0 
= 0 ; 
18784     PyObject 
* obj1 
= 0 ; 
18785     char *kwnames
[] = { 
18786         (char *) "self",(char *) "m_keyCode", NULL 
 
18789     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_keyCode_set",kwnames
,&obj0
,&obj1
)) goto fail
; 
18790     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
18791     if (SWIG_arg_fail(1)) SWIG_fail
; 
18793         arg2 
= (long)(SWIG_As_long(obj1
));  
18794         if (SWIG_arg_fail(2)) SWIG_fail
; 
18796     if (arg1
) (arg1
)->m_keyCode 
= arg2
; 
18798     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
18805 static PyObject 
*_wrap_KeyEvent_m_keyCode_get(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
18806     PyObject 
*resultobj
; 
18807     wxKeyEvent 
*arg1 
= (wxKeyEvent 
*) 0 ; 
18809     PyObject 
* obj0 
= 0 ; 
18810     char *kwnames
[] = { 
18811         (char *) "self", NULL 
 
18814     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_keyCode_get",kwnames
,&obj0
)) goto fail
; 
18815     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
18816     if (SWIG_arg_fail(1)) SWIG_fail
; 
18817     result 
= (long) ((arg1
)->m_keyCode
); 
18820         resultobj 
= SWIG_From_long((long)(result
));  
18828 static PyObject 
*_wrap_KeyEvent_m_controlDown_set(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
18829     PyObject 
*resultobj
; 
18830     wxKeyEvent 
*arg1 
= (wxKeyEvent 
*) 0 ; 
18832     PyObject 
* obj0 
= 0 ; 
18833     PyObject 
* obj1 
= 0 ; 
18834     char *kwnames
[] = { 
18835         (char *) "self",(char *) "m_controlDown", NULL 
 
18838     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_controlDown_set",kwnames
,&obj0
,&obj1
)) goto fail
; 
18839     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
18840     if (SWIG_arg_fail(1)) SWIG_fail
; 
18842         arg2 
= (bool)(SWIG_As_bool(obj1
));  
18843         if (SWIG_arg_fail(2)) SWIG_fail
; 
18845     if (arg1
) (arg1
)->m_controlDown 
= arg2
; 
18847     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
18854 static PyObject 
*_wrap_KeyEvent_m_controlDown_get(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
18855     PyObject 
*resultobj
; 
18856     wxKeyEvent 
*arg1 
= (wxKeyEvent 
*) 0 ; 
18858     PyObject 
* obj0 
= 0 ; 
18859     char *kwnames
[] = { 
18860         (char *) "self", NULL 
 
18863     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_controlDown_get",kwnames
,&obj0
)) goto fail
; 
18864     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
18865     if (SWIG_arg_fail(1)) SWIG_fail
; 
18866     result 
= (bool) ((arg1
)->m_controlDown
); 
18869         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
18877 static PyObject 
*_wrap_KeyEvent_m_shiftDown_set(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
18878     PyObject 
*resultobj
; 
18879     wxKeyEvent 
*arg1 
= (wxKeyEvent 
*) 0 ; 
18881     PyObject 
* obj0 
= 0 ; 
18882     PyObject 
* obj1 
= 0 ; 
18883     char *kwnames
[] = { 
18884         (char *) "self",(char *) "m_shiftDown", NULL 
 
18887     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_shiftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
; 
18888     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
18889     if (SWIG_arg_fail(1)) SWIG_fail
; 
18891         arg2 
= (bool)(SWIG_As_bool(obj1
));  
18892         if (SWIG_arg_fail(2)) SWIG_fail
; 
18894     if (arg1
) (arg1
)->m_shiftDown 
= arg2
; 
18896     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
18903 static PyObject 
*_wrap_KeyEvent_m_shiftDown_get(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
18904     PyObject 
*resultobj
; 
18905     wxKeyEvent 
*arg1 
= (wxKeyEvent 
*) 0 ; 
18907     PyObject 
* obj0 
= 0 ; 
18908     char *kwnames
[] = { 
18909         (char *) "self", NULL 
 
18912     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_shiftDown_get",kwnames
,&obj0
)) goto fail
; 
18913     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
18914     if (SWIG_arg_fail(1)) SWIG_fail
; 
18915     result 
= (bool) ((arg1
)->m_shiftDown
); 
18918         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
18926 static PyObject 
*_wrap_KeyEvent_m_altDown_set(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
18927     PyObject 
*resultobj
; 
18928     wxKeyEvent 
*arg1 
= (wxKeyEvent 
*) 0 ; 
18930     PyObject 
* obj0 
= 0 ; 
18931     PyObject 
* obj1 
= 0 ; 
18932     char *kwnames
[] = { 
18933         (char *) "self",(char *) "m_altDown", NULL 
 
18936     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_altDown_set",kwnames
,&obj0
,&obj1
)) goto fail
; 
18937     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
18938     if (SWIG_arg_fail(1)) SWIG_fail
; 
18940         arg2 
= (bool)(SWIG_As_bool(obj1
));  
18941         if (SWIG_arg_fail(2)) SWIG_fail
; 
18943     if (arg1
) (arg1
)->m_altDown 
= arg2
; 
18945     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
18952 static PyObject 
*_wrap_KeyEvent_m_altDown_get(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
18953     PyObject 
*resultobj
; 
18954     wxKeyEvent 
*arg1 
= (wxKeyEvent 
*) 0 ; 
18956     PyObject 
* obj0 
= 0 ; 
18957     char *kwnames
[] = { 
18958         (char *) "self", NULL 
 
18961     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_altDown_get",kwnames
,&obj0
)) goto fail
; 
18962     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
18963     if (SWIG_arg_fail(1)) SWIG_fail
; 
18964     result 
= (bool) ((arg1
)->m_altDown
); 
18967         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
18975 static PyObject 
*_wrap_KeyEvent_m_metaDown_set(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
18976     PyObject 
*resultobj
; 
18977     wxKeyEvent 
*arg1 
= (wxKeyEvent 
*) 0 ; 
18979     PyObject 
* obj0 
= 0 ; 
18980     PyObject 
* obj1 
= 0 ; 
18981     char *kwnames
[] = { 
18982         (char *) "self",(char *) "m_metaDown", NULL 
 
18985     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_metaDown_set",kwnames
,&obj0
,&obj1
)) goto fail
; 
18986     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
18987     if (SWIG_arg_fail(1)) SWIG_fail
; 
18989         arg2 
= (bool)(SWIG_As_bool(obj1
));  
18990         if (SWIG_arg_fail(2)) SWIG_fail
; 
18992     if (arg1
) (arg1
)->m_metaDown 
= arg2
; 
18994     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
19001 static PyObject 
*_wrap_KeyEvent_m_metaDown_get(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
19002     PyObject 
*resultobj
; 
19003     wxKeyEvent 
*arg1 
= (wxKeyEvent 
*) 0 ; 
19005     PyObject 
* obj0 
= 0 ; 
19006     char *kwnames
[] = { 
19007         (char *) "self", NULL 
 
19010     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_metaDown_get",kwnames
,&obj0
)) goto fail
; 
19011     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
19012     if (SWIG_arg_fail(1)) SWIG_fail
; 
19013     result 
= (bool) ((arg1
)->m_metaDown
); 
19016         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
19024 static PyObject 
*_wrap_KeyEvent_m_scanCode_set(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
19025     PyObject 
*resultobj
; 
19026     wxKeyEvent 
*arg1 
= (wxKeyEvent 
*) 0 ; 
19028     PyObject 
* obj0 
= 0 ; 
19029     PyObject 
* obj1 
= 0 ; 
19030     char *kwnames
[] = { 
19031         (char *) "self",(char *) "m_scanCode", NULL 
 
19034     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_scanCode_set",kwnames
,&obj0
,&obj1
)) goto fail
; 
19035     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
19036     if (SWIG_arg_fail(1)) SWIG_fail
; 
19038         arg2 
= (bool)(SWIG_As_bool(obj1
));  
19039         if (SWIG_arg_fail(2)) SWIG_fail
; 
19041     if (arg1
) (arg1
)->m_scanCode 
= arg2
; 
19043     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
19050 static PyObject 
*_wrap_KeyEvent_m_scanCode_get(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
19051     PyObject 
*resultobj
; 
19052     wxKeyEvent 
*arg1 
= (wxKeyEvent 
*) 0 ; 
19054     PyObject 
* obj0 
= 0 ; 
19055     char *kwnames
[] = { 
19056         (char *) "self", NULL 
 
19059     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_scanCode_get",kwnames
,&obj0
)) goto fail
; 
19060     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
19061     if (SWIG_arg_fail(1)) SWIG_fail
; 
19062     result 
= (bool) ((arg1
)->m_scanCode
); 
19065         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
19073 static PyObject 
*_wrap_KeyEvent_m_rawCode_set(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
19074     PyObject 
*resultobj
; 
19075     wxKeyEvent 
*arg1 
= (wxKeyEvent 
*) 0 ; 
19076     unsigned int arg2 
; 
19077     PyObject 
* obj0 
= 0 ; 
19078     PyObject 
* obj1 
= 0 ; 
19079     char *kwnames
[] = { 
19080         (char *) "self",(char *) "m_rawCode", NULL 
 
19083     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_rawCode_set",kwnames
,&obj0
,&obj1
)) goto fail
; 
19084     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
19085     if (SWIG_arg_fail(1)) SWIG_fail
; 
19087         arg2 
= (unsigned int)(SWIG_As_unsigned_SS_int(obj1
));  
19088         if (SWIG_arg_fail(2)) SWIG_fail
; 
19090     if (arg1
) (arg1
)->m_rawCode 
= arg2
; 
19092     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
19099 static PyObject 
*_wrap_KeyEvent_m_rawCode_get(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
19100     PyObject 
*resultobj
; 
19101     wxKeyEvent 
*arg1 
= (wxKeyEvent 
*) 0 ; 
19102     unsigned int result
; 
19103     PyObject 
* obj0 
= 0 ; 
19104     char *kwnames
[] = { 
19105         (char *) "self", NULL 
 
19108     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_rawCode_get",kwnames
,&obj0
)) goto fail
; 
19109     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
19110     if (SWIG_arg_fail(1)) SWIG_fail
; 
19111     result 
= (unsigned int) ((arg1
)->m_rawCode
); 
19114         resultobj 
= SWIG_From_unsigned_SS_int((unsigned int)(result
));  
19122 static PyObject 
*_wrap_KeyEvent_m_rawFlags_set(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
19123     PyObject 
*resultobj
; 
19124     wxKeyEvent 
*arg1 
= (wxKeyEvent 
*) 0 ; 
19125     unsigned int arg2 
; 
19126     PyObject 
* obj0 
= 0 ; 
19127     PyObject 
* obj1 
= 0 ; 
19128     char *kwnames
[] = { 
19129         (char *) "self",(char *) "m_rawFlags", NULL 
 
19132     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_rawFlags_set",kwnames
,&obj0
,&obj1
)) goto fail
; 
19133     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
19134     if (SWIG_arg_fail(1)) SWIG_fail
; 
19136         arg2 
= (unsigned int)(SWIG_As_unsigned_SS_int(obj1
));  
19137         if (SWIG_arg_fail(2)) SWIG_fail
; 
19139     if (arg1
) (arg1
)->m_rawFlags 
= arg2
; 
19141     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
19148 static PyObject 
*_wrap_KeyEvent_m_rawFlags_get(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
19149     PyObject 
*resultobj
; 
19150     wxKeyEvent 
*arg1 
= (wxKeyEvent 
*) 0 ; 
19151     unsigned int result
; 
19152     PyObject 
* obj0 
= 0 ; 
19153     char *kwnames
[] = { 
19154         (char *) "self", NULL 
 
19157     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_rawFlags_get",kwnames
,&obj0
)) goto fail
; 
19158     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
19159     if (SWIG_arg_fail(1)) SWIG_fail
; 
19160     result 
= (unsigned int) ((arg1
)->m_rawFlags
); 
19163         resultobj 
= SWIG_From_unsigned_SS_int((unsigned int)(result
));  
19171 static PyObject 
* KeyEvent_swigregister(PyObject 
*, PyObject 
*args
) { 
19173     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
19174     SWIG_TypeClientData(SWIGTYPE_p_wxKeyEvent
, obj
); 
19176     return Py_BuildValue((char *)""); 
19178 static PyObject 
*_wrap_new_SizeEvent(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
19179     PyObject 
*resultobj
; 
19180     wxSize 
const &arg1_defvalue 
= wxDefaultSize 
; 
19181     wxSize 
*arg1 
= (wxSize 
*) &arg1_defvalue 
; 
19182     int arg2 
= (int) 0 ; 
19183     wxSizeEvent 
*result
; 
19185     PyObject 
* obj0 
= 0 ; 
19186     PyObject 
* obj1 
= 0 ; 
19187     char *kwnames
[] = { 
19188         (char *) "sz",(char *) "winid", NULL 
 
19191     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SizeEvent",kwnames
,&obj0
,&obj1
)) goto fail
; 
19195             if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
; 
19200             arg2 
= (int)(SWIG_As_int(obj1
));  
19201             if (SWIG_arg_fail(2)) SWIG_fail
; 
19205         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19206         result 
= (wxSizeEvent 
*)new wxSizeEvent((wxSize 
const &)*arg1
,arg2
); 
19208         wxPyEndAllowThreads(__tstate
); 
19209         if (PyErr_Occurred()) SWIG_fail
; 
19211     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizeEvent
, 1); 
19218 static PyObject 
*_wrap_SizeEvent_GetSize(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
19219     PyObject 
*resultobj
; 
19220     wxSizeEvent 
*arg1 
= (wxSizeEvent 
*) 0 ; 
19222     PyObject 
* obj0 
= 0 ; 
19223     char *kwnames
[] = { 
19224         (char *) "self", NULL 
 
19227     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_GetSize",kwnames
,&obj0
)) goto fail
; 
19228     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
19229     if (SWIG_arg_fail(1)) SWIG_fail
; 
19231         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19232         result 
= ((wxSizeEvent 
const *)arg1
)->GetSize(); 
19234         wxPyEndAllowThreads(__tstate
); 
19235         if (PyErr_Occurred()) SWIG_fail
; 
19238         wxSize 
* resultptr
; 
19239         resultptr 
= new wxSize((wxSize 
&)(result
)); 
19240         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1); 
19248 static PyObject 
*_wrap_SizeEvent_GetRect(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
19249     PyObject 
*resultobj
; 
19250     wxSizeEvent 
*arg1 
= (wxSizeEvent 
*) 0 ; 
19252     PyObject 
* obj0 
= 0 ; 
19253     char *kwnames
[] = { 
19254         (char *) "self", NULL 
 
19257     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_GetRect",kwnames
,&obj0
)) goto fail
; 
19258     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
19259     if (SWIG_arg_fail(1)) SWIG_fail
; 
19261         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19262         result 
= ((wxSizeEvent 
const *)arg1
)->GetRect(); 
19264         wxPyEndAllowThreads(__tstate
); 
19265         if (PyErr_Occurred()) SWIG_fail
; 
19268         wxRect 
* resultptr
; 
19269         resultptr 
= new wxRect((wxRect 
&)(result
)); 
19270         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1); 
19278 static PyObject 
*_wrap_SizeEvent_SetRect(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
19279     PyObject 
*resultobj
; 
19280     wxSizeEvent 
*arg1 
= (wxSizeEvent 
*) 0 ; 
19282     PyObject 
* obj0 
= 0 ; 
19283     PyObject 
* obj1 
= 0 ; 
19284     char *kwnames
[] = { 
19285         (char *) "self",(char *) "rect", NULL 
 
19288     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
; 
19289     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
19290     if (SWIG_arg_fail(1)) SWIG_fail
; 
19293         SWIG_Python_ConvertPtr(obj1
, (void **)&argp
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
); 
19294         if (SWIG_arg_fail(2)) SWIG_fail
; 
19295         if (argp 
== NULL
) { 
19296             SWIG_null_ref("wxRect"); 
19298         if (SWIG_arg_fail(2)) SWIG_fail
; 
19302         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19303         (arg1
)->SetRect(arg2
); 
19305         wxPyEndAllowThreads(__tstate
); 
19306         if (PyErr_Occurred()) SWIG_fail
; 
19308     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
19315 static PyObject 
*_wrap_SizeEvent_SetSize(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
19316     PyObject 
*resultobj
; 
19317     wxSizeEvent 
*arg1 
= (wxSizeEvent 
*) 0 ; 
19319     PyObject 
* obj0 
= 0 ; 
19320     PyObject 
* obj1 
= 0 ; 
19321     char *kwnames
[] = { 
19322         (char *) "self",(char *) "size", NULL 
 
19325     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
; 
19326     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
19327     if (SWIG_arg_fail(1)) SWIG_fail
; 
19330         SWIG_Python_ConvertPtr(obj1
, (void **)&argp
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
); 
19331         if (SWIG_arg_fail(2)) SWIG_fail
; 
19332         if (argp 
== NULL
) { 
19333             SWIG_null_ref("wxSize"); 
19335         if (SWIG_arg_fail(2)) SWIG_fail
; 
19339         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19340         wxSizeEvent_SetSize(arg1
,arg2
); 
19342         wxPyEndAllowThreads(__tstate
); 
19343         if (PyErr_Occurred()) SWIG_fail
; 
19345     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
19352 static PyObject 
*_wrap_SizeEvent_m_size_set(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
19353     PyObject 
*resultobj
; 
19354     wxSizeEvent 
*arg1 
= (wxSizeEvent 
*) 0 ; 
19355     wxSize 
*arg2 
= (wxSize 
*) 0 ; 
19356     PyObject 
* obj0 
= 0 ; 
19357     PyObject 
* obj1 
= 0 ; 
19358     char *kwnames
[] = { 
19359         (char *) "self",(char *) "m_size", NULL 
 
19362     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_m_size_set",kwnames
,&obj0
,&obj1
)) goto fail
; 
19363     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
19364     if (SWIG_arg_fail(1)) SWIG_fail
; 
19365     SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION 
| 0); 
19366     if (SWIG_arg_fail(2)) SWIG_fail
; 
19367     if (arg1
) (arg1
)->m_size 
= *arg2
; 
19369     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
19376 static PyObject 
*_wrap_SizeEvent_m_size_get(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
19377     PyObject 
*resultobj
; 
19378     wxSizeEvent 
*arg1 
= (wxSizeEvent 
*) 0 ; 
19380     PyObject 
* obj0 
= 0 ; 
19381     char *kwnames
[] = { 
19382         (char *) "self", NULL 
 
19385     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_m_size_get",kwnames
,&obj0
)) goto fail
; 
19386     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
19387     if (SWIG_arg_fail(1)) SWIG_fail
; 
19388     result 
= (wxSize 
*)& ((arg1
)->m_size
); 
19390     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0); 
19397 static PyObject 
*_wrap_SizeEvent_m_rect_set(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
19398     PyObject 
*resultobj
; 
19399     wxSizeEvent 
*arg1 
= (wxSizeEvent 
*) 0 ; 
19400     wxRect 
*arg2 
= (wxRect 
*) 0 ; 
19401     PyObject 
* obj0 
= 0 ; 
19402     PyObject 
* obj1 
= 0 ; 
19403     char *kwnames
[] = { 
19404         (char *) "self",(char *) "m_rect", NULL 
 
19407     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_m_rect_set",kwnames
,&obj0
,&obj1
)) goto fail
; 
19408     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
19409     if (SWIG_arg_fail(1)) SWIG_fail
; 
19410     SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION 
| 0); 
19411     if (SWIG_arg_fail(2)) SWIG_fail
; 
19412     if (arg1
) (arg1
)->m_rect 
= *arg2
; 
19414     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
19421 static PyObject 
*_wrap_SizeEvent_m_rect_get(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
19422     PyObject 
*resultobj
; 
19423     wxSizeEvent 
*arg1 
= (wxSizeEvent 
*) 0 ; 
19425     PyObject 
* obj0 
= 0 ; 
19426     char *kwnames
[] = { 
19427         (char *) "self", NULL 
 
19430     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_m_rect_get",kwnames
,&obj0
)) goto fail
; 
19431     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
19432     if (SWIG_arg_fail(1)) SWIG_fail
; 
19433     result 
= (wxRect 
*)& ((arg1
)->m_rect
); 
19435     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0); 
19442 static PyObject 
* SizeEvent_swigregister(PyObject 
*, PyObject 
*args
) { 
19444     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
19445     SWIG_TypeClientData(SWIGTYPE_p_wxSizeEvent
, obj
); 
19447     return Py_BuildValue((char *)""); 
19449 static PyObject 
*_wrap_new_MoveEvent(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
19450     PyObject 
*resultobj
; 
19451     wxPoint 
const &arg1_defvalue 
= wxDefaultPosition 
; 
19452     wxPoint 
*arg1 
= (wxPoint 
*) &arg1_defvalue 
; 
19453     int arg2 
= (int) 0 ; 
19454     wxMoveEvent 
*result
; 
19456     PyObject 
* obj0 
= 0 ; 
19457     PyObject 
* obj1 
= 0 ; 
19458     char *kwnames
[] = { 
19459         (char *) "pos",(char *) "winid", NULL 
 
19462     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_MoveEvent",kwnames
,&obj0
,&obj1
)) goto fail
; 
19466             if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
; 
19471             arg2 
= (int)(SWIG_As_int(obj1
));  
19472             if (SWIG_arg_fail(2)) SWIG_fail
; 
19476         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19477         result 
= (wxMoveEvent 
*)new wxMoveEvent((wxPoint 
const &)*arg1
,arg2
); 
19479         wxPyEndAllowThreads(__tstate
); 
19480         if (PyErr_Occurred()) SWIG_fail
; 
19482     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMoveEvent
, 1); 
19489 static PyObject 
*_wrap_MoveEvent_GetPosition(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
19490     PyObject 
*resultobj
; 
19491     wxMoveEvent 
*arg1 
= (wxMoveEvent 
*) 0 ; 
19493     PyObject 
* obj0 
= 0 ; 
19494     char *kwnames
[] = { 
19495         (char *) "self", NULL 
 
19498     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_GetPosition",kwnames
,&obj0
)) goto fail
; 
19499     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMoveEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
19500     if (SWIG_arg_fail(1)) SWIG_fail
; 
19502         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19503         result 
= ((wxMoveEvent 
const *)arg1
)->GetPosition(); 
19505         wxPyEndAllowThreads(__tstate
); 
19506         if (PyErr_Occurred()) SWIG_fail
; 
19509         wxPoint 
* resultptr
; 
19510         resultptr 
= new wxPoint((wxPoint 
&)(result
)); 
19511         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1); 
19519 static PyObject 
*_wrap_MoveEvent_GetRect(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
19520     PyObject 
*resultobj
; 
19521     wxMoveEvent 
*arg1 
= (wxMoveEvent 
*) 0 ; 
19523     PyObject 
* obj0 
= 0 ; 
19524     char *kwnames
[] = { 
19525         (char *) "self", NULL 
 
19528     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_GetRect",kwnames
,&obj0
)) goto fail
; 
19529     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMoveEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
19530     if (SWIG_arg_fail(1)) SWIG_fail
; 
19532         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19533         result 
= ((wxMoveEvent 
const *)arg1
)->GetRect(); 
19535         wxPyEndAllowThreads(__tstate
); 
19536         if (PyErr_Occurred()) SWIG_fail
; 
19539         wxRect 
* resultptr
; 
19540         resultptr 
= new wxRect((wxRect 
&)(result
)); 
19541         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1); 
19549 static PyObject 
*_wrap_MoveEvent_SetRect(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
19550     PyObject 
*resultobj
; 
19551     wxMoveEvent 
*arg1 
= (wxMoveEvent 
*) 0 ; 
19554     PyObject 
* obj0 
= 0 ; 
19555     PyObject 
* obj1 
= 0 ; 
19556     char *kwnames
[] = { 
19557         (char *) "self",(char *) "rect", NULL 
 
19560     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
; 
19561     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMoveEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
19562     if (SWIG_arg_fail(1)) SWIG_fail
; 
19565         if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
; 
19568         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19569         (arg1
)->SetRect((wxRect 
const &)*arg2
); 
19571         wxPyEndAllowThreads(__tstate
); 
19572         if (PyErr_Occurred()) SWIG_fail
; 
19574     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
19581 static PyObject 
*_wrap_MoveEvent_SetPosition(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
19582     PyObject 
*resultobj
; 
19583     wxMoveEvent 
*arg1 
= (wxMoveEvent 
*) 0 ; 
19584     wxPoint 
*arg2 
= 0 ; 
19586     PyObject 
* obj0 
= 0 ; 
19587     PyObject 
* obj1 
= 0 ; 
19588     char *kwnames
[] = { 
19589         (char *) "self",(char *) "pos", NULL 
 
19592     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
; 
19593     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMoveEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
19594     if (SWIG_arg_fail(1)) SWIG_fail
; 
19597         if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
19600         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19601         (arg1
)->SetPosition((wxPoint 
const &)*arg2
); 
19603         wxPyEndAllowThreads(__tstate
); 
19604         if (PyErr_Occurred()) SWIG_fail
; 
19606     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
19613 static PyObject 
* MoveEvent_swigregister(PyObject 
*, PyObject 
*args
) { 
19615     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
19616     SWIG_TypeClientData(SWIGTYPE_p_wxMoveEvent
, obj
); 
19618     return Py_BuildValue((char *)""); 
19620 static PyObject 
*_wrap_new_PaintEvent(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
19621     PyObject 
*resultobj
; 
19622     int arg1 
= (int) 0 ; 
19623     wxPaintEvent 
*result
; 
19624     PyObject 
* obj0 
= 0 ; 
19625     char *kwnames
[] = { 
19626         (char *) "Id", NULL 
 
19629     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PaintEvent",kwnames
,&obj0
)) goto fail
; 
19632             arg1 
= (int)(SWIG_As_int(obj0
));  
19633             if (SWIG_arg_fail(1)) SWIG_fail
; 
19637         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19638         result 
= (wxPaintEvent 
*)new wxPaintEvent(arg1
); 
19640         wxPyEndAllowThreads(__tstate
); 
19641         if (PyErr_Occurred()) SWIG_fail
; 
19643     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaintEvent
, 1); 
19650 static PyObject 
* PaintEvent_swigregister(PyObject 
*, PyObject 
*args
) { 
19652     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
19653     SWIG_TypeClientData(SWIGTYPE_p_wxPaintEvent
, obj
); 
19655     return Py_BuildValue((char *)""); 
19657 static PyObject 
*_wrap_new_NcPaintEvent(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
19658     PyObject 
*resultobj
; 
19659     int arg1 
= (int) 0 ; 
19660     wxNcPaintEvent 
*result
; 
19661     PyObject 
* obj0 
= 0 ; 
19662     char *kwnames
[] = { 
19663         (char *) "winid", NULL 
 
19666     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_NcPaintEvent",kwnames
,&obj0
)) goto fail
; 
19669             arg1 
= (int)(SWIG_As_int(obj0
));  
19670             if (SWIG_arg_fail(1)) SWIG_fail
; 
19674         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19675         result 
= (wxNcPaintEvent 
*)new wxNcPaintEvent(arg1
); 
19677         wxPyEndAllowThreads(__tstate
); 
19678         if (PyErr_Occurred()) SWIG_fail
; 
19680     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNcPaintEvent
, 1); 
19687 static PyObject 
* NcPaintEvent_swigregister(PyObject 
*, PyObject 
*args
) { 
19689     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
19690     SWIG_TypeClientData(SWIGTYPE_p_wxNcPaintEvent
, obj
); 
19692     return Py_BuildValue((char *)""); 
19694 static PyObject 
*_wrap_new_EraseEvent(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
19695     PyObject 
*resultobj
; 
19696     int arg1 
= (int) 0 ; 
19697     wxDC 
*arg2 
= (wxDC 
*) (wxDC 
*) NULL 
; 
19698     wxEraseEvent 
*result
; 
19699     PyObject 
* obj0 
= 0 ; 
19700     PyObject 
* obj1 
= 0 ; 
19701     char *kwnames
[] = { 
19702         (char *) "Id",(char *) "dc", NULL 
 
19705     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_EraseEvent",kwnames
,&obj0
,&obj1
)) goto fail
; 
19708             arg1 
= (int)(SWIG_As_int(obj0
));  
19709             if (SWIG_arg_fail(1)) SWIG_fail
; 
19713         SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
19714         if (SWIG_arg_fail(2)) SWIG_fail
; 
19717         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19718         result 
= (wxEraseEvent 
*)new wxEraseEvent(arg1
,arg2
); 
19720         wxPyEndAllowThreads(__tstate
); 
19721         if (PyErr_Occurred()) SWIG_fail
; 
19723     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEraseEvent
, 1); 
19730 static PyObject 
*_wrap_EraseEvent_GetDC(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
19731     PyObject 
*resultobj
; 
19732     wxEraseEvent 
*arg1 
= (wxEraseEvent 
*) 0 ; 
19734     PyObject 
* obj0 
= 0 ; 
19735     char *kwnames
[] = { 
19736         (char *) "self", NULL 
 
19739     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EraseEvent_GetDC",kwnames
,&obj0
)) goto fail
; 
19740     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEraseEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
19741     if (SWIG_arg_fail(1)) SWIG_fail
; 
19743         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19744         result 
= (wxDC 
*)((wxEraseEvent 
const *)arg1
)->GetDC(); 
19746         wxPyEndAllowThreads(__tstate
); 
19747         if (PyErr_Occurred()) SWIG_fail
; 
19750         resultobj 
= wxPyMake_wxObject(result
, 0);  
19758 static PyObject 
* EraseEvent_swigregister(PyObject 
*, PyObject 
*args
) { 
19760     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
19761     SWIG_TypeClientData(SWIGTYPE_p_wxEraseEvent
, obj
); 
19763     return Py_BuildValue((char *)""); 
19765 static PyObject 
*_wrap_new_FocusEvent(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
19766     PyObject 
*resultobj
; 
19767     wxEventType arg1 
= (wxEventType
) wxEVT_NULL 
; 
19768     int arg2 
= (int) 0 ; 
19769     wxFocusEvent 
*result
; 
19770     PyObject 
* obj0 
= 0 ; 
19771     PyObject 
* obj1 
= 0 ; 
19772     char *kwnames
[] = { 
19773         (char *) "type",(char *) "winid", NULL 
 
19776     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FocusEvent",kwnames
,&obj0
,&obj1
)) goto fail
; 
19779             arg1 
= (wxEventType
)(SWIG_As_int(obj0
));  
19780             if (SWIG_arg_fail(1)) SWIG_fail
; 
19785             arg2 
= (int)(SWIG_As_int(obj1
));  
19786             if (SWIG_arg_fail(2)) SWIG_fail
; 
19790         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19791         result 
= (wxFocusEvent 
*)new wxFocusEvent(arg1
,arg2
); 
19793         wxPyEndAllowThreads(__tstate
); 
19794         if (PyErr_Occurred()) SWIG_fail
; 
19796     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFocusEvent
, 1); 
19803 static PyObject 
*_wrap_FocusEvent_GetWindow(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
19804     PyObject 
*resultobj
; 
19805     wxFocusEvent 
*arg1 
= (wxFocusEvent 
*) 0 ; 
19807     PyObject 
* obj0 
= 0 ; 
19808     char *kwnames
[] = { 
19809         (char *) "self", NULL 
 
19812     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FocusEvent_GetWindow",kwnames
,&obj0
)) goto fail
; 
19813     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFocusEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
19814     if (SWIG_arg_fail(1)) SWIG_fail
; 
19816         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19817         result 
= (wxWindow 
*)((wxFocusEvent 
const *)arg1
)->GetWindow(); 
19819         wxPyEndAllowThreads(__tstate
); 
19820         if (PyErr_Occurred()) SWIG_fail
; 
19823         resultobj 
= wxPyMake_wxObject(result
, 0);  
19831 static PyObject 
*_wrap_FocusEvent_SetWindow(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
19832     PyObject 
*resultobj
; 
19833     wxFocusEvent 
*arg1 
= (wxFocusEvent 
*) 0 ; 
19834     wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
19835     PyObject 
* obj0 
= 0 ; 
19836     PyObject 
* obj1 
= 0 ; 
19837     char *kwnames
[] = { 
19838         (char *) "self",(char *) "win", NULL 
 
19841     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FocusEvent_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
; 
19842     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFocusEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
19843     if (SWIG_arg_fail(1)) SWIG_fail
; 
19844     SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
19845     if (SWIG_arg_fail(2)) SWIG_fail
; 
19847         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19848         (arg1
)->SetWindow(arg2
); 
19850         wxPyEndAllowThreads(__tstate
); 
19851         if (PyErr_Occurred()) SWIG_fail
; 
19853     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
19860 static PyObject 
* FocusEvent_swigregister(PyObject 
*, PyObject 
*args
) { 
19862     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
19863     SWIG_TypeClientData(SWIGTYPE_p_wxFocusEvent
, obj
); 
19865     return Py_BuildValue((char *)""); 
19867 static PyObject 
*_wrap_new_ChildFocusEvent(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
19868     PyObject 
*resultobj
; 
19869     wxWindow 
*arg1 
= (wxWindow 
*) NULL 
; 
19870     wxChildFocusEvent 
*result
; 
19871     PyObject 
* obj0 
= 0 ; 
19872     char *kwnames
[] = { 
19873         (char *) "win", NULL 
 
19876     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ChildFocusEvent",kwnames
,&obj0
)) goto fail
; 
19878         SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
19879         if (SWIG_arg_fail(1)) SWIG_fail
; 
19882         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19883         result 
= (wxChildFocusEvent 
*)new wxChildFocusEvent(arg1
); 
19885         wxPyEndAllowThreads(__tstate
); 
19886         if (PyErr_Occurred()) SWIG_fail
; 
19888     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChildFocusEvent
, 1); 
19895 static PyObject 
*_wrap_ChildFocusEvent_GetWindow(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
19896     PyObject 
*resultobj
; 
19897     wxChildFocusEvent 
*arg1 
= (wxChildFocusEvent 
*) 0 ; 
19899     PyObject 
* obj0 
= 0 ; 
19900     char *kwnames
[] = { 
19901         (char *) "self", NULL 
 
19904     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ChildFocusEvent_GetWindow",kwnames
,&obj0
)) goto fail
; 
19905     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChildFocusEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
19906     if (SWIG_arg_fail(1)) SWIG_fail
; 
19908         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19909         result 
= (wxWindow 
*)((wxChildFocusEvent 
const *)arg1
)->GetWindow(); 
19911         wxPyEndAllowThreads(__tstate
); 
19912         if (PyErr_Occurred()) SWIG_fail
; 
19915         resultobj 
= wxPyMake_wxObject(result
, 0);  
19923 static PyObject 
* ChildFocusEvent_swigregister(PyObject 
*, PyObject 
*args
) { 
19925     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
19926     SWIG_TypeClientData(SWIGTYPE_p_wxChildFocusEvent
, obj
); 
19928     return Py_BuildValue((char *)""); 
19930 static PyObject 
*_wrap_new_ActivateEvent(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
19931     PyObject 
*resultobj
; 
19932     wxEventType arg1 
= (wxEventType
) wxEVT_NULL 
; 
19933     bool arg2 
= (bool) true ; 
19934     int arg3 
= (int) 0 ; 
19935     wxActivateEvent 
*result
; 
19936     PyObject 
* obj0 
= 0 ; 
19937     PyObject 
* obj1 
= 0 ; 
19938     PyObject 
* obj2 
= 0 ; 
19939     char *kwnames
[] = { 
19940         (char *) "type",(char *) "active",(char *) "Id", NULL 
 
19943     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ActivateEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
19946             arg1 
= (wxEventType
)(SWIG_As_int(obj0
));  
19947             if (SWIG_arg_fail(1)) SWIG_fail
; 
19952             arg2 
= (bool)(SWIG_As_bool(obj1
));  
19953             if (SWIG_arg_fail(2)) SWIG_fail
; 
19958             arg3 
= (int)(SWIG_As_int(obj2
));  
19959             if (SWIG_arg_fail(3)) SWIG_fail
; 
19963         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19964         result 
= (wxActivateEvent 
*)new wxActivateEvent(arg1
,arg2
,arg3
); 
19966         wxPyEndAllowThreads(__tstate
); 
19967         if (PyErr_Occurred()) SWIG_fail
; 
19969     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxActivateEvent
, 1); 
19976 static PyObject 
*_wrap_ActivateEvent_GetActive(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
19977     PyObject 
*resultobj
; 
19978     wxActivateEvent 
*arg1 
= (wxActivateEvent 
*) 0 ; 
19980     PyObject 
* obj0 
= 0 ; 
19981     char *kwnames
[] = { 
19982         (char *) "self", NULL 
 
19985     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ActivateEvent_GetActive",kwnames
,&obj0
)) goto fail
; 
19986     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxActivateEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
19987     if (SWIG_arg_fail(1)) SWIG_fail
; 
19989         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19990         result 
= (bool)((wxActivateEvent 
const *)arg1
)->GetActive(); 
19992         wxPyEndAllowThreads(__tstate
); 
19993         if (PyErr_Occurred()) SWIG_fail
; 
19996         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
20004 static PyObject 
* ActivateEvent_swigregister(PyObject 
*, PyObject 
*args
) { 
20006     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
20007     SWIG_TypeClientData(SWIGTYPE_p_wxActivateEvent
, obj
); 
20009     return Py_BuildValue((char *)""); 
20011 static PyObject 
*_wrap_new_InitDialogEvent(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
20012     PyObject 
*resultobj
; 
20013     int arg1 
= (int) 0 ; 
20014     wxInitDialogEvent 
*result
; 
20015     PyObject 
* obj0 
= 0 ; 
20016     char *kwnames
[] = { 
20017         (char *) "Id", NULL 
 
20020     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_InitDialogEvent",kwnames
,&obj0
)) goto fail
; 
20023             arg1 
= (int)(SWIG_As_int(obj0
));  
20024             if (SWIG_arg_fail(1)) SWIG_fail
; 
20028         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20029         result 
= (wxInitDialogEvent 
*)new wxInitDialogEvent(arg1
); 
20031         wxPyEndAllowThreads(__tstate
); 
20032         if (PyErr_Occurred()) SWIG_fail
; 
20034     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxInitDialogEvent
, 1); 
20041 static PyObject 
* InitDialogEvent_swigregister(PyObject 
*, PyObject 
*args
) { 
20043     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
20044     SWIG_TypeClientData(SWIGTYPE_p_wxInitDialogEvent
, obj
); 
20046     return Py_BuildValue((char *)""); 
20048 static PyObject 
*_wrap_new_MenuEvent(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
20049     PyObject 
*resultobj
; 
20050     wxEventType arg1 
= (wxEventType
) wxEVT_NULL 
; 
20051     int arg2 
= (int) 0 ; 
20052     wxMenu 
*arg3 
= (wxMenu 
*) NULL 
; 
20053     wxMenuEvent 
*result
; 
20054     PyObject 
* obj0 
= 0 ; 
20055     PyObject 
* obj1 
= 0 ; 
20056     PyObject 
* obj2 
= 0 ; 
20057     char *kwnames
[] = { 
20058         (char *) "type",(char *) "winid",(char *) "menu", NULL 
 
20061     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_MenuEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
20064             arg1 
= (wxEventType
)(SWIG_As_int(obj0
));  
20065             if (SWIG_arg_fail(1)) SWIG_fail
; 
20070             arg2 
= (int)(SWIG_As_int(obj1
));  
20071             if (SWIG_arg_fail(2)) SWIG_fail
; 
20075         SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION 
| 0); 
20076         if (SWIG_arg_fail(3)) SWIG_fail
; 
20079         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20080         result 
= (wxMenuEvent 
*)new wxMenuEvent(arg1
,arg2
,arg3
); 
20082         wxPyEndAllowThreads(__tstate
); 
20083         if (PyErr_Occurred()) SWIG_fail
; 
20085     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenuEvent
, 1); 
20092 static PyObject 
*_wrap_MenuEvent_GetMenuId(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
20093     PyObject 
*resultobj
; 
20094     wxMenuEvent 
*arg1 
= (wxMenuEvent 
*) 0 ; 
20096     PyObject 
* obj0 
= 0 ; 
20097     char *kwnames
[] = { 
20098         (char *) "self", NULL 
 
20101     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_GetMenuId",kwnames
,&obj0
)) goto fail
; 
20102     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
20103     if (SWIG_arg_fail(1)) SWIG_fail
; 
20105         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20106         result 
= (int)((wxMenuEvent 
const *)arg1
)->GetMenuId(); 
20108         wxPyEndAllowThreads(__tstate
); 
20109         if (PyErr_Occurred()) SWIG_fail
; 
20112         resultobj 
= SWIG_From_int((int)(result
));  
20120 static PyObject 
*_wrap_MenuEvent_IsPopup(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
20121     PyObject 
*resultobj
; 
20122     wxMenuEvent 
*arg1 
= (wxMenuEvent 
*) 0 ; 
20124     PyObject 
* obj0 
= 0 ; 
20125     char *kwnames
[] = { 
20126         (char *) "self", NULL 
 
20129     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_IsPopup",kwnames
,&obj0
)) goto fail
; 
20130     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
20131     if (SWIG_arg_fail(1)) SWIG_fail
; 
20133         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20134         result 
= (bool)((wxMenuEvent 
const *)arg1
)->IsPopup(); 
20136         wxPyEndAllowThreads(__tstate
); 
20137         if (PyErr_Occurred()) SWIG_fail
; 
20140         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
20148 static PyObject 
*_wrap_MenuEvent_GetMenu(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
20149     PyObject 
*resultobj
; 
20150     wxMenuEvent 
*arg1 
= (wxMenuEvent 
*) 0 ; 
20152     PyObject 
* obj0 
= 0 ; 
20153     char *kwnames
[] = { 
20154         (char *) "self", NULL 
 
20157     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_GetMenu",kwnames
,&obj0
)) goto fail
; 
20158     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
20159     if (SWIG_arg_fail(1)) SWIG_fail
; 
20161         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20162         result 
= (wxMenu 
*)((wxMenuEvent 
const *)arg1
)->GetMenu(); 
20164         wxPyEndAllowThreads(__tstate
); 
20165         if (PyErr_Occurred()) SWIG_fail
; 
20168         resultobj 
= wxPyMake_wxObject(result
, 0);  
20176 static PyObject 
* MenuEvent_swigregister(PyObject 
*, PyObject 
*args
) { 
20178     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
20179     SWIG_TypeClientData(SWIGTYPE_p_wxMenuEvent
, obj
); 
20181     return Py_BuildValue((char *)""); 
20183 static PyObject 
*_wrap_new_CloseEvent(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
20184     PyObject 
*resultobj
; 
20185     wxEventType arg1 
= (wxEventType
) wxEVT_NULL 
; 
20186     int arg2 
= (int) 0 ; 
20187     wxCloseEvent 
*result
; 
20188     PyObject 
* obj0 
= 0 ; 
20189     PyObject 
* obj1 
= 0 ; 
20190     char *kwnames
[] = { 
20191         (char *) "type",(char *) "winid", NULL 
 
20194     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_CloseEvent",kwnames
,&obj0
,&obj1
)) goto fail
; 
20197             arg1 
= (wxEventType
)(SWIG_As_int(obj0
));  
20198             if (SWIG_arg_fail(1)) SWIG_fail
; 
20203             arg2 
= (int)(SWIG_As_int(obj1
));  
20204             if (SWIG_arg_fail(2)) SWIG_fail
; 
20208         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20209         result 
= (wxCloseEvent 
*)new wxCloseEvent(arg1
,arg2
); 
20211         wxPyEndAllowThreads(__tstate
); 
20212         if (PyErr_Occurred()) SWIG_fail
; 
20214     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCloseEvent
, 1); 
20221 static PyObject 
*_wrap_CloseEvent_SetLoggingOff(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
20222     PyObject 
*resultobj
; 
20223     wxCloseEvent 
*arg1 
= (wxCloseEvent 
*) 0 ; 
20225     PyObject 
* obj0 
= 0 ; 
20226     PyObject 
* obj1 
= 0 ; 
20227     char *kwnames
[] = { 
20228         (char *) "self",(char *) "logOff", NULL 
 
20231     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetLoggingOff",kwnames
,&obj0
,&obj1
)) goto fail
; 
20232     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
20233     if (SWIG_arg_fail(1)) SWIG_fail
; 
20235         arg2 
= (bool)(SWIG_As_bool(obj1
));  
20236         if (SWIG_arg_fail(2)) SWIG_fail
; 
20239         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20240         (arg1
)->SetLoggingOff(arg2
); 
20242         wxPyEndAllowThreads(__tstate
); 
20243         if (PyErr_Occurred()) SWIG_fail
; 
20245     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
20252 static PyObject 
*_wrap_CloseEvent_GetLoggingOff(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
20253     PyObject 
*resultobj
; 
20254     wxCloseEvent 
*arg1 
= (wxCloseEvent 
*) 0 ; 
20256     PyObject 
* obj0 
= 0 ; 
20257     char *kwnames
[] = { 
20258         (char *) "self", NULL 
 
20261     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_GetLoggingOff",kwnames
,&obj0
)) goto fail
; 
20262     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
20263     if (SWIG_arg_fail(1)) SWIG_fail
; 
20265         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20266         result 
= (bool)((wxCloseEvent 
const *)arg1
)->GetLoggingOff(); 
20268         wxPyEndAllowThreads(__tstate
); 
20269         if (PyErr_Occurred()) SWIG_fail
; 
20272         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
20280 static PyObject 
*_wrap_CloseEvent_Veto(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
20281     PyObject 
*resultobj
; 
20282     wxCloseEvent 
*arg1 
= (wxCloseEvent 
*) 0 ; 
20283     bool arg2 
= (bool) true ; 
20284     PyObject 
* obj0 
= 0 ; 
20285     PyObject 
* obj1 
= 0 ; 
20286     char *kwnames
[] = { 
20287         (char *) "self",(char *) "veto", NULL 
 
20290     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CloseEvent_Veto",kwnames
,&obj0
,&obj1
)) goto fail
; 
20291     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
20292     if (SWIG_arg_fail(1)) SWIG_fail
; 
20295             arg2 
= (bool)(SWIG_As_bool(obj1
));  
20296             if (SWIG_arg_fail(2)) SWIG_fail
; 
20300         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20301         (arg1
)->Veto(arg2
); 
20303         wxPyEndAllowThreads(__tstate
); 
20304         if (PyErr_Occurred()) SWIG_fail
; 
20306     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
20313 static PyObject 
*_wrap_CloseEvent_SetCanVeto(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
20314     PyObject 
*resultobj
; 
20315     wxCloseEvent 
*arg1 
= (wxCloseEvent 
*) 0 ; 
20317     PyObject 
* obj0 
= 0 ; 
20318     PyObject 
* obj1 
= 0 ; 
20319     char *kwnames
[] = { 
20320         (char *) "self",(char *) "canVeto", NULL 
 
20323     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetCanVeto",kwnames
,&obj0
,&obj1
)) goto fail
; 
20324     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
20325     if (SWIG_arg_fail(1)) SWIG_fail
; 
20327         arg2 
= (bool)(SWIG_As_bool(obj1
));  
20328         if (SWIG_arg_fail(2)) SWIG_fail
; 
20331         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20332         (arg1
)->SetCanVeto(arg2
); 
20334         wxPyEndAllowThreads(__tstate
); 
20335         if (PyErr_Occurred()) SWIG_fail
; 
20337     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
20344 static PyObject 
*_wrap_CloseEvent_CanVeto(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
20345     PyObject 
*resultobj
; 
20346     wxCloseEvent 
*arg1 
= (wxCloseEvent 
*) 0 ; 
20348     PyObject 
* obj0 
= 0 ; 
20349     char *kwnames
[] = { 
20350         (char *) "self", NULL 
 
20353     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_CanVeto",kwnames
,&obj0
)) goto fail
; 
20354     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
20355     if (SWIG_arg_fail(1)) SWIG_fail
; 
20357         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20358         result 
= (bool)((wxCloseEvent 
const *)arg1
)->CanVeto(); 
20360         wxPyEndAllowThreads(__tstate
); 
20361         if (PyErr_Occurred()) SWIG_fail
; 
20364         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
20372 static PyObject 
*_wrap_CloseEvent_GetVeto(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
20373     PyObject 
*resultobj
; 
20374     wxCloseEvent 
*arg1 
= (wxCloseEvent 
*) 0 ; 
20376     PyObject 
* obj0 
= 0 ; 
20377     char *kwnames
[] = { 
20378         (char *) "self", NULL 
 
20381     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_GetVeto",kwnames
,&obj0
)) goto fail
; 
20382     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
20383     if (SWIG_arg_fail(1)) SWIG_fail
; 
20385         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20386         result 
= (bool)((wxCloseEvent 
const *)arg1
)->GetVeto(); 
20388         wxPyEndAllowThreads(__tstate
); 
20389         if (PyErr_Occurred()) SWIG_fail
; 
20392         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
20400 static PyObject 
* CloseEvent_swigregister(PyObject 
*, PyObject 
*args
) { 
20402     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
20403     SWIG_TypeClientData(SWIGTYPE_p_wxCloseEvent
, obj
); 
20405     return Py_BuildValue((char *)""); 
20407 static PyObject 
*_wrap_new_ShowEvent(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
20408     PyObject 
*resultobj
; 
20409     int arg1 
= (int) 0 ; 
20410     bool arg2 
= (bool) false ; 
20411     wxShowEvent 
*result
; 
20412     PyObject 
* obj0 
= 0 ; 
20413     PyObject 
* obj1 
= 0 ; 
20414     char *kwnames
[] = { 
20415         (char *) "winid",(char *) "show", NULL 
 
20418     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ShowEvent",kwnames
,&obj0
,&obj1
)) goto fail
; 
20421             arg1 
= (int)(SWIG_As_int(obj0
));  
20422             if (SWIG_arg_fail(1)) SWIG_fail
; 
20427             arg2 
= (bool)(SWIG_As_bool(obj1
));  
20428             if (SWIG_arg_fail(2)) SWIG_fail
; 
20432         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20433         result 
= (wxShowEvent 
*)new wxShowEvent(arg1
,arg2
); 
20435         wxPyEndAllowThreads(__tstate
); 
20436         if (PyErr_Occurred()) SWIG_fail
; 
20438     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxShowEvent
, 1); 
20445 static PyObject 
*_wrap_ShowEvent_SetShow(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
20446     PyObject 
*resultobj
; 
20447     wxShowEvent 
*arg1 
= (wxShowEvent 
*) 0 ; 
20449     PyObject 
* obj0 
= 0 ; 
20450     PyObject 
* obj1 
= 0 ; 
20451     char *kwnames
[] = { 
20452         (char *) "self",(char *) "show", NULL 
 
20455     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ShowEvent_SetShow",kwnames
,&obj0
,&obj1
)) goto fail
; 
20456     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxShowEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
20457     if (SWIG_arg_fail(1)) SWIG_fail
; 
20459         arg2 
= (bool)(SWIG_As_bool(obj1
));  
20460         if (SWIG_arg_fail(2)) SWIG_fail
; 
20463         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20464         (arg1
)->SetShow(arg2
); 
20466         wxPyEndAllowThreads(__tstate
); 
20467         if (PyErr_Occurred()) SWIG_fail
; 
20469     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
20476 static PyObject 
*_wrap_ShowEvent_GetShow(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
20477     PyObject 
*resultobj
; 
20478     wxShowEvent 
*arg1 
= (wxShowEvent 
*) 0 ; 
20480     PyObject 
* obj0 
= 0 ; 
20481     char *kwnames
[] = { 
20482         (char *) "self", NULL 
 
20485     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShowEvent_GetShow",kwnames
,&obj0
)) goto fail
; 
20486     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxShowEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
20487     if (SWIG_arg_fail(1)) SWIG_fail
; 
20489         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20490         result 
= (bool)((wxShowEvent 
const *)arg1
)->GetShow(); 
20492         wxPyEndAllowThreads(__tstate
); 
20493         if (PyErr_Occurred()) SWIG_fail
; 
20496         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
20504 static PyObject 
* ShowEvent_swigregister(PyObject 
*, PyObject 
*args
) { 
20506     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
20507     SWIG_TypeClientData(SWIGTYPE_p_wxShowEvent
, obj
); 
20509     return Py_BuildValue((char *)""); 
20511 static PyObject 
*_wrap_new_IconizeEvent(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
20512     PyObject 
*resultobj
; 
20513     int arg1 
= (int) 0 ; 
20514     bool arg2 
= (bool) true ; 
20515     wxIconizeEvent 
*result
; 
20516     PyObject 
* obj0 
= 0 ; 
20517     PyObject 
* obj1 
= 0 ; 
20518     char *kwnames
[] = { 
20519         (char *) "id",(char *) "iconized", NULL 
 
20522     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconizeEvent",kwnames
,&obj0
,&obj1
)) goto fail
; 
20525             arg1 
= (int)(SWIG_As_int(obj0
));  
20526             if (SWIG_arg_fail(1)) SWIG_fail
; 
20531             arg2 
= (bool)(SWIG_As_bool(obj1
));  
20532             if (SWIG_arg_fail(2)) SWIG_fail
; 
20536         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20537         result 
= (wxIconizeEvent 
*)new wxIconizeEvent(arg1
,arg2
); 
20539         wxPyEndAllowThreads(__tstate
); 
20540         if (PyErr_Occurred()) SWIG_fail
; 
20542     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconizeEvent
, 1); 
20549 static PyObject 
*_wrap_IconizeEvent_Iconized(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
20550     PyObject 
*resultobj
; 
20551     wxIconizeEvent 
*arg1 
= (wxIconizeEvent 
*) 0 ; 
20553     PyObject 
* obj0 
= 0 ; 
20554     char *kwnames
[] = { 
20555         (char *) "self", NULL 
 
20558     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconizeEvent_Iconized",kwnames
,&obj0
)) goto fail
; 
20559     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIconizeEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
20560     if (SWIG_arg_fail(1)) SWIG_fail
; 
20562         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20563         result 
= (bool)(arg1
)->Iconized(); 
20565         wxPyEndAllowThreads(__tstate
); 
20566         if (PyErr_Occurred()) SWIG_fail
; 
20569         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
20577 static PyObject 
* IconizeEvent_swigregister(PyObject 
*, PyObject 
*args
) { 
20579     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
20580     SWIG_TypeClientData(SWIGTYPE_p_wxIconizeEvent
, obj
); 
20582     return Py_BuildValue((char *)""); 
20584 static PyObject 
*_wrap_new_MaximizeEvent(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
20585     PyObject 
*resultobj
; 
20586     int arg1 
= (int) 0 ; 
20587     wxMaximizeEvent 
*result
; 
20588     PyObject 
* obj0 
= 0 ; 
20589     char *kwnames
[] = { 
20590         (char *) "id", NULL 
 
20593     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MaximizeEvent",kwnames
,&obj0
)) goto fail
; 
20596             arg1 
= (int)(SWIG_As_int(obj0
));  
20597             if (SWIG_arg_fail(1)) SWIG_fail
; 
20601         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20602         result 
= (wxMaximizeEvent 
*)new wxMaximizeEvent(arg1
); 
20604         wxPyEndAllowThreads(__tstate
); 
20605         if (PyErr_Occurred()) SWIG_fail
; 
20607     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMaximizeEvent
, 1); 
20614 static PyObject 
* MaximizeEvent_swigregister(PyObject 
*, PyObject 
*args
) { 
20616     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
20617     SWIG_TypeClientData(SWIGTYPE_p_wxMaximizeEvent
, obj
); 
20619     return Py_BuildValue((char *)""); 
20621 static PyObject 
*_wrap_DropFilesEvent_GetPosition(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
20622     PyObject 
*resultobj
; 
20623     wxDropFilesEvent 
*arg1 
= (wxDropFilesEvent 
*) 0 ; 
20625     PyObject 
* obj0 
= 0 ; 
20626     char *kwnames
[] = { 
20627         (char *) "self", NULL 
 
20630     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetPosition",kwnames
,&obj0
)) goto fail
; 
20631     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDropFilesEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
20632     if (SWIG_arg_fail(1)) SWIG_fail
; 
20634         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20635         result 
= (arg1
)->GetPosition(); 
20637         wxPyEndAllowThreads(__tstate
); 
20638         if (PyErr_Occurred()) SWIG_fail
; 
20641         wxPoint 
* resultptr
; 
20642         resultptr 
= new wxPoint((wxPoint 
&)(result
)); 
20643         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1); 
20651 static PyObject 
*_wrap_DropFilesEvent_GetNumberOfFiles(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
20652     PyObject 
*resultobj
; 
20653     wxDropFilesEvent 
*arg1 
= (wxDropFilesEvent 
*) 0 ; 
20655     PyObject 
* obj0 
= 0 ; 
20656     char *kwnames
[] = { 
20657         (char *) "self", NULL 
 
20660     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetNumberOfFiles",kwnames
,&obj0
)) goto fail
; 
20661     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDropFilesEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
20662     if (SWIG_arg_fail(1)) SWIG_fail
; 
20664         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20665         result 
= (int)(arg1
)->GetNumberOfFiles(); 
20667         wxPyEndAllowThreads(__tstate
); 
20668         if (PyErr_Occurred()) SWIG_fail
; 
20671         resultobj 
= SWIG_From_int((int)(result
));  
20679 static PyObject 
*_wrap_DropFilesEvent_GetFiles(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
20680     PyObject 
*resultobj
; 
20681     wxDropFilesEvent 
*arg1 
= (wxDropFilesEvent 
*) 0 ; 
20683     PyObject 
* obj0 
= 0 ; 
20684     char *kwnames
[] = { 
20685         (char *) "self", NULL 
 
20688     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetFiles",kwnames
,&obj0
)) goto fail
; 
20689     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDropFilesEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
20690     if (SWIG_arg_fail(1)) SWIG_fail
; 
20692         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20693         result 
= (PyObject 
*)wxDropFilesEvent_GetFiles(arg1
); 
20695         wxPyEndAllowThreads(__tstate
); 
20696         if (PyErr_Occurred()) SWIG_fail
; 
20698     resultobj 
= result
; 
20705 static PyObject 
* DropFilesEvent_swigregister(PyObject 
*, PyObject 
*args
) { 
20707     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
20708     SWIG_TypeClientData(SWIGTYPE_p_wxDropFilesEvent
, obj
); 
20710     return Py_BuildValue((char *)""); 
20712 static PyObject 
*_wrap_new_UpdateUIEvent(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
20713     PyObject 
*resultobj
; 
20714     int arg1 
= (int) 0 ; 
20715     wxUpdateUIEvent 
*result
; 
20716     PyObject 
* obj0 
= 0 ; 
20717     char *kwnames
[] = { 
20718         (char *) "commandId", NULL 
 
20721     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_UpdateUIEvent",kwnames
,&obj0
)) goto fail
; 
20724             arg1 
= (int)(SWIG_As_int(obj0
));  
20725             if (SWIG_arg_fail(1)) SWIG_fail
; 
20729         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20730         result 
= (wxUpdateUIEvent 
*)new wxUpdateUIEvent(arg1
); 
20732         wxPyEndAllowThreads(__tstate
); 
20733         if (PyErr_Occurred()) SWIG_fail
; 
20735     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxUpdateUIEvent
, 1); 
20742 static PyObject 
*_wrap_UpdateUIEvent_GetChecked(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
20743     PyObject 
*resultobj
; 
20744     wxUpdateUIEvent 
*arg1 
= (wxUpdateUIEvent 
*) 0 ; 
20746     PyObject 
* obj0 
= 0 ; 
20747     char *kwnames
[] = { 
20748         (char *) "self", NULL 
 
20751     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetChecked",kwnames
,&obj0
)) goto fail
; 
20752     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
20753     if (SWIG_arg_fail(1)) SWIG_fail
; 
20755         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20756         result 
= (bool)((wxUpdateUIEvent 
const *)arg1
)->GetChecked(); 
20758         wxPyEndAllowThreads(__tstate
); 
20759         if (PyErr_Occurred()) SWIG_fail
; 
20762         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
20770 static PyObject 
*_wrap_UpdateUIEvent_GetEnabled(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
20771     PyObject 
*resultobj
; 
20772     wxUpdateUIEvent 
*arg1 
= (wxUpdateUIEvent 
*) 0 ; 
20774     PyObject 
* obj0 
= 0 ; 
20775     char *kwnames
[] = { 
20776         (char *) "self", NULL 
 
20779     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetEnabled",kwnames
,&obj0
)) goto fail
; 
20780     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
20781     if (SWIG_arg_fail(1)) SWIG_fail
; 
20783         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20784         result 
= (bool)((wxUpdateUIEvent 
const *)arg1
)->GetEnabled(); 
20786         wxPyEndAllowThreads(__tstate
); 
20787         if (PyErr_Occurred()) SWIG_fail
; 
20790         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
20798 static PyObject 
*_wrap_UpdateUIEvent_GetText(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
20799     PyObject 
*resultobj
; 
20800     wxUpdateUIEvent 
*arg1 
= (wxUpdateUIEvent 
*) 0 ; 
20802     PyObject 
* obj0 
= 0 ; 
20803     char *kwnames
[] = { 
20804         (char *) "self", NULL 
 
20807     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetText",kwnames
,&obj0
)) goto fail
; 
20808     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
20809     if (SWIG_arg_fail(1)) SWIG_fail
; 
20811         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20812         result 
= ((wxUpdateUIEvent 
const *)arg1
)->GetText(); 
20814         wxPyEndAllowThreads(__tstate
); 
20815         if (PyErr_Occurred()) SWIG_fail
; 
20819         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
20821         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
20830 static PyObject 
*_wrap_UpdateUIEvent_GetSetText(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
20831     PyObject 
*resultobj
; 
20832     wxUpdateUIEvent 
*arg1 
= (wxUpdateUIEvent 
*) 0 ; 
20834     PyObject 
* obj0 
= 0 ; 
20835     char *kwnames
[] = { 
20836         (char *) "self", NULL 
 
20839     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetText",kwnames
,&obj0
)) goto fail
; 
20840     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
20841     if (SWIG_arg_fail(1)) SWIG_fail
; 
20843         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20844         result 
= (bool)((wxUpdateUIEvent 
const *)arg1
)->GetSetText(); 
20846         wxPyEndAllowThreads(__tstate
); 
20847         if (PyErr_Occurred()) SWIG_fail
; 
20850         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
20858 static PyObject 
*_wrap_UpdateUIEvent_GetSetChecked(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
20859     PyObject 
*resultobj
; 
20860     wxUpdateUIEvent 
*arg1 
= (wxUpdateUIEvent 
*) 0 ; 
20862     PyObject 
* obj0 
= 0 ; 
20863     char *kwnames
[] = { 
20864         (char *) "self", NULL 
 
20867     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetChecked",kwnames
,&obj0
)) goto fail
; 
20868     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
20869     if (SWIG_arg_fail(1)) SWIG_fail
; 
20871         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20872         result 
= (bool)((wxUpdateUIEvent 
const *)arg1
)->GetSetChecked(); 
20874         wxPyEndAllowThreads(__tstate
); 
20875         if (PyErr_Occurred()) SWIG_fail
; 
20878         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
20886 static PyObject 
*_wrap_UpdateUIEvent_GetSetEnabled(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
20887     PyObject 
*resultobj
; 
20888     wxUpdateUIEvent 
*arg1 
= (wxUpdateUIEvent 
*) 0 ; 
20890     PyObject 
* obj0 
= 0 ; 
20891     char *kwnames
[] = { 
20892         (char *) "self", NULL 
 
20895     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetEnabled",kwnames
,&obj0
)) goto fail
; 
20896     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
20897     if (SWIG_arg_fail(1)) SWIG_fail
; 
20899         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20900         result 
= (bool)((wxUpdateUIEvent 
const *)arg1
)->GetSetEnabled(); 
20902         wxPyEndAllowThreads(__tstate
); 
20903         if (PyErr_Occurred()) SWIG_fail
; 
20906         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
20914 static PyObject 
*_wrap_UpdateUIEvent_Check(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
20915     PyObject 
*resultobj
; 
20916     wxUpdateUIEvent 
*arg1 
= (wxUpdateUIEvent 
*) 0 ; 
20918     PyObject 
* obj0 
= 0 ; 
20919     PyObject 
* obj1 
= 0 ; 
20920     char *kwnames
[] = { 
20921         (char *) "self",(char *) "check", NULL 
 
20924     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Check",kwnames
,&obj0
,&obj1
)) goto fail
; 
20925     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
20926     if (SWIG_arg_fail(1)) SWIG_fail
; 
20928         arg2 
= (bool)(SWIG_As_bool(obj1
));  
20929         if (SWIG_arg_fail(2)) SWIG_fail
; 
20932         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20933         (arg1
)->Check(arg2
); 
20935         wxPyEndAllowThreads(__tstate
); 
20936         if (PyErr_Occurred()) SWIG_fail
; 
20938     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
20945 static PyObject 
*_wrap_UpdateUIEvent_Enable(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
20946     PyObject 
*resultobj
; 
20947     wxUpdateUIEvent 
*arg1 
= (wxUpdateUIEvent 
*) 0 ; 
20949     PyObject 
* obj0 
= 0 ; 
20950     PyObject 
* obj1 
= 0 ; 
20951     char *kwnames
[] = { 
20952         (char *) "self",(char *) "enable", NULL 
 
20955     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Enable",kwnames
,&obj0
,&obj1
)) goto fail
; 
20956     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
20957     if (SWIG_arg_fail(1)) SWIG_fail
; 
20959         arg2 
= (bool)(SWIG_As_bool(obj1
));  
20960         if (SWIG_arg_fail(2)) SWIG_fail
; 
20963         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20964         (arg1
)->Enable(arg2
); 
20966         wxPyEndAllowThreads(__tstate
); 
20967         if (PyErr_Occurred()) SWIG_fail
; 
20969     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
20976 static PyObject 
*_wrap_UpdateUIEvent_SetText(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
20977     PyObject 
*resultobj
; 
20978     wxUpdateUIEvent 
*arg1 
= (wxUpdateUIEvent 
*) 0 ; 
20979     wxString 
*arg2 
= 0 ; 
20980     bool temp2 
= false ; 
20981     PyObject 
* obj0 
= 0 ; 
20982     PyObject 
* obj1 
= 0 ; 
20983     char *kwnames
[] = { 
20984         (char *) "self",(char *) "text", NULL 
 
20987     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_SetText",kwnames
,&obj0
,&obj1
)) goto fail
; 
20988     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
20989     if (SWIG_arg_fail(1)) SWIG_fail
; 
20991         arg2 
= wxString_in_helper(obj1
); 
20992         if (arg2 
== NULL
) SWIG_fail
; 
20996         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20997         (arg1
)->SetText((wxString 
const &)*arg2
); 
20999         wxPyEndAllowThreads(__tstate
); 
21000         if (PyErr_Occurred()) SWIG_fail
; 
21002     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
21017 static PyObject 
*_wrap_UpdateUIEvent_SetUpdateInterval(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
21018     PyObject 
*resultobj
; 
21020     PyObject 
* obj0 
= 0 ; 
21021     char *kwnames
[] = { 
21022         (char *) "updateInterval", NULL 
 
21025     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_SetUpdateInterval",kwnames
,&obj0
)) goto fail
; 
21027         arg1 
= (long)(SWIG_As_long(obj0
));  
21028         if (SWIG_arg_fail(1)) SWIG_fail
; 
21031         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21032         wxUpdateUIEvent::SetUpdateInterval(arg1
); 
21034         wxPyEndAllowThreads(__tstate
); 
21035         if (PyErr_Occurred()) SWIG_fail
; 
21037     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
21044 static PyObject 
*_wrap_UpdateUIEvent_GetUpdateInterval(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
21045     PyObject 
*resultobj
; 
21047     char *kwnames
[] = { 
21051     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_GetUpdateInterval",kwnames
)) goto fail
; 
21053         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21054         result 
= (long)wxUpdateUIEvent::GetUpdateInterval(); 
21056         wxPyEndAllowThreads(__tstate
); 
21057         if (PyErr_Occurred()) SWIG_fail
; 
21060         resultobj 
= SWIG_From_long((long)(result
));  
21068 static PyObject 
*_wrap_UpdateUIEvent_CanUpdate(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
21069     PyObject 
*resultobj
; 
21070     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
21072     PyObject 
* obj0 
= 0 ; 
21073     char *kwnames
[] = { 
21074         (char *) "win", NULL 
 
21077     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_CanUpdate",kwnames
,&obj0
)) goto fail
; 
21078     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
21079     if (SWIG_arg_fail(1)) SWIG_fail
; 
21081         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21082         result 
= (bool)wxUpdateUIEvent::CanUpdate(arg1
); 
21084         wxPyEndAllowThreads(__tstate
); 
21085         if (PyErr_Occurred()) SWIG_fail
; 
21088         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
21096 static PyObject 
*_wrap_UpdateUIEvent_ResetUpdateTime(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
21097     PyObject 
*resultobj
; 
21098     char *kwnames
[] = { 
21102     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_ResetUpdateTime",kwnames
)) goto fail
; 
21104         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21105         wxUpdateUIEvent::ResetUpdateTime(); 
21107         wxPyEndAllowThreads(__tstate
); 
21108         if (PyErr_Occurred()) SWIG_fail
; 
21110     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
21117 static PyObject 
*_wrap_UpdateUIEvent_SetMode(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
21118     PyObject 
*resultobj
; 
21119     wxUpdateUIMode arg1 
; 
21120     PyObject 
* obj0 
= 0 ; 
21121     char *kwnames
[] = { 
21122         (char *) "mode", NULL 
 
21125     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_SetMode",kwnames
,&obj0
)) goto fail
; 
21127         arg1 
= (wxUpdateUIMode
)(SWIG_As_int(obj0
));  
21128         if (SWIG_arg_fail(1)) SWIG_fail
; 
21131         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21132         wxUpdateUIEvent::SetMode((wxUpdateUIMode 
)arg1
); 
21134         wxPyEndAllowThreads(__tstate
); 
21135         if (PyErr_Occurred()) SWIG_fail
; 
21137     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
21144 static PyObject 
*_wrap_UpdateUIEvent_GetMode(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
21145     PyObject 
*resultobj
; 
21146     wxUpdateUIMode result
; 
21147     char *kwnames
[] = { 
21151     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_GetMode",kwnames
)) goto fail
; 
21153         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21154         result 
= (wxUpdateUIMode
)wxUpdateUIEvent::GetMode(); 
21156         wxPyEndAllowThreads(__tstate
); 
21157         if (PyErr_Occurred()) SWIG_fail
; 
21159     resultobj 
= SWIG_From_int((result
)); 
21166 static PyObject 
* UpdateUIEvent_swigregister(PyObject 
*, PyObject 
*args
) { 
21168     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
21169     SWIG_TypeClientData(SWIGTYPE_p_wxUpdateUIEvent
, obj
); 
21171     return Py_BuildValue((char *)""); 
21173 static PyObject 
*_wrap_new_SysColourChangedEvent(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
21174     PyObject 
*resultobj
; 
21175     wxSysColourChangedEvent 
*result
; 
21176     char *kwnames
[] = { 
21180     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SysColourChangedEvent",kwnames
)) goto fail
; 
21182         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21183         result 
= (wxSysColourChangedEvent 
*)new wxSysColourChangedEvent(); 
21185         wxPyEndAllowThreads(__tstate
); 
21186         if (PyErr_Occurred()) SWIG_fail
; 
21188     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSysColourChangedEvent
, 1); 
21195 static PyObject 
* SysColourChangedEvent_swigregister(PyObject 
*, PyObject 
*args
) { 
21197     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
21198     SWIG_TypeClientData(SWIGTYPE_p_wxSysColourChangedEvent
, obj
); 
21200     return Py_BuildValue((char *)""); 
21202 static PyObject 
*_wrap_new_MouseCaptureChangedEvent(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
21203     PyObject 
*resultobj
; 
21204     int arg1 
= (int) 0 ; 
21205     wxWindow 
*arg2 
= (wxWindow 
*) NULL 
; 
21206     wxMouseCaptureChangedEvent 
*result
; 
21207     PyObject 
* obj0 
= 0 ; 
21208     PyObject 
* obj1 
= 0 ; 
21209     char *kwnames
[] = { 
21210         (char *) "winid",(char *) "gainedCapture", NULL 
 
21213     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_MouseCaptureChangedEvent",kwnames
,&obj0
,&obj1
)) goto fail
; 
21216             arg1 
= (int)(SWIG_As_int(obj0
));  
21217             if (SWIG_arg_fail(1)) SWIG_fail
; 
21221         SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
21222         if (SWIG_arg_fail(2)) SWIG_fail
; 
21225         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21226         result 
= (wxMouseCaptureChangedEvent 
*)new wxMouseCaptureChangedEvent(arg1
,arg2
); 
21228         wxPyEndAllowThreads(__tstate
); 
21229         if (PyErr_Occurred()) SWIG_fail
; 
21231     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMouseCaptureChangedEvent
, 1); 
21238 static PyObject 
*_wrap_MouseCaptureChangedEvent_GetCapturedWindow(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
21239     PyObject 
*resultobj
; 
21240     wxMouseCaptureChangedEvent 
*arg1 
= (wxMouseCaptureChangedEvent 
*) 0 ; 
21242     PyObject 
* obj0 
= 0 ; 
21243     char *kwnames
[] = { 
21244         (char *) "self", NULL 
 
21247     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseCaptureChangedEvent_GetCapturedWindow",kwnames
,&obj0
)) goto fail
; 
21248     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseCaptureChangedEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
21249     if (SWIG_arg_fail(1)) SWIG_fail
; 
21251         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21252         result 
= (wxWindow 
*)((wxMouseCaptureChangedEvent 
const *)arg1
)->GetCapturedWindow(); 
21254         wxPyEndAllowThreads(__tstate
); 
21255         if (PyErr_Occurred()) SWIG_fail
; 
21258         resultobj 
= wxPyMake_wxObject(result
, 0);  
21266 static PyObject 
* MouseCaptureChangedEvent_swigregister(PyObject 
*, PyObject 
*args
) { 
21268     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
21269     SWIG_TypeClientData(SWIGTYPE_p_wxMouseCaptureChangedEvent
, obj
); 
21271     return Py_BuildValue((char *)""); 
21273 static PyObject 
*_wrap_new_DisplayChangedEvent(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
21274     PyObject 
*resultobj
; 
21275     wxDisplayChangedEvent 
*result
; 
21276     char *kwnames
[] = { 
21280     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DisplayChangedEvent",kwnames
)) goto fail
; 
21282         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21283         result 
= (wxDisplayChangedEvent 
*)new wxDisplayChangedEvent(); 
21285         wxPyEndAllowThreads(__tstate
); 
21286         if (PyErr_Occurred()) SWIG_fail
; 
21288     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDisplayChangedEvent
, 1); 
21295 static PyObject 
* DisplayChangedEvent_swigregister(PyObject 
*, PyObject 
*args
) { 
21297     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
21298     SWIG_TypeClientData(SWIGTYPE_p_wxDisplayChangedEvent
, obj
); 
21300     return Py_BuildValue((char *)""); 
21302 static PyObject 
*_wrap_new_PaletteChangedEvent(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
21303     PyObject 
*resultobj
; 
21304     int arg1 
= (int) 0 ; 
21305     wxPaletteChangedEvent 
*result
; 
21306     PyObject 
* obj0 
= 0 ; 
21307     char *kwnames
[] = { 
21308         (char *) "id", NULL 
 
21311     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PaletteChangedEvent",kwnames
,&obj0
)) goto fail
; 
21314             arg1 
= (int)(SWIG_As_int(obj0
));  
21315             if (SWIG_arg_fail(1)) SWIG_fail
; 
21319         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21320         result 
= (wxPaletteChangedEvent 
*)new wxPaletteChangedEvent(arg1
); 
21322         wxPyEndAllowThreads(__tstate
); 
21323         if (PyErr_Occurred()) SWIG_fail
; 
21325     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaletteChangedEvent
, 1); 
21332 static PyObject 
*_wrap_PaletteChangedEvent_SetChangedWindow(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
21333     PyObject 
*resultobj
; 
21334     wxPaletteChangedEvent 
*arg1 
= (wxPaletteChangedEvent 
*) 0 ; 
21335     wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
21336     PyObject 
* obj0 
= 0 ; 
21337     PyObject 
* obj1 
= 0 ; 
21338     char *kwnames
[] = { 
21339         (char *) "self",(char *) "win", NULL 
 
21342     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PaletteChangedEvent_SetChangedWindow",kwnames
,&obj0
,&obj1
)) goto fail
; 
21343     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPaletteChangedEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
21344     if (SWIG_arg_fail(1)) SWIG_fail
; 
21345     SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
21346     if (SWIG_arg_fail(2)) SWIG_fail
; 
21348         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21349         (arg1
)->SetChangedWindow(arg2
); 
21351         wxPyEndAllowThreads(__tstate
); 
21352         if (PyErr_Occurred()) SWIG_fail
; 
21354     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
21361 static PyObject 
*_wrap_PaletteChangedEvent_GetChangedWindow(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
21362     PyObject 
*resultobj
; 
21363     wxPaletteChangedEvent 
*arg1 
= (wxPaletteChangedEvent 
*) 0 ; 
21365     PyObject 
* obj0 
= 0 ; 
21366     char *kwnames
[] = { 
21367         (char *) "self", NULL 
 
21370     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PaletteChangedEvent_GetChangedWindow",kwnames
,&obj0
)) goto fail
; 
21371     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPaletteChangedEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
21372     if (SWIG_arg_fail(1)) SWIG_fail
; 
21374         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21375         result 
= (wxWindow 
*)(arg1
)->GetChangedWindow(); 
21377         wxPyEndAllowThreads(__tstate
); 
21378         if (PyErr_Occurred()) SWIG_fail
; 
21381         resultobj 
= wxPyMake_wxObject(result
, 0);  
21389 static PyObject 
* PaletteChangedEvent_swigregister(PyObject 
*, PyObject 
*args
) { 
21391     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
21392     SWIG_TypeClientData(SWIGTYPE_p_wxPaletteChangedEvent
, obj
); 
21394     return Py_BuildValue((char *)""); 
21396 static PyObject 
*_wrap_new_QueryNewPaletteEvent(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
21397     PyObject 
*resultobj
; 
21398     int arg1 
= (int) 0 ; 
21399     wxQueryNewPaletteEvent 
*result
; 
21400     PyObject 
* obj0 
= 0 ; 
21401     char *kwnames
[] = { 
21402         (char *) "winid", NULL 
 
21405     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryNewPaletteEvent",kwnames
,&obj0
)) goto fail
; 
21408             arg1 
= (int)(SWIG_As_int(obj0
));  
21409             if (SWIG_arg_fail(1)) SWIG_fail
; 
21413         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21414         result 
= (wxQueryNewPaletteEvent 
*)new wxQueryNewPaletteEvent(arg1
); 
21416         wxPyEndAllowThreads(__tstate
); 
21417         if (PyErr_Occurred()) SWIG_fail
; 
21419     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxQueryNewPaletteEvent
, 1); 
21426 static PyObject 
*_wrap_QueryNewPaletteEvent_SetPaletteRealized(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
21427     PyObject 
*resultobj
; 
21428     wxQueryNewPaletteEvent 
*arg1 
= (wxQueryNewPaletteEvent 
*) 0 ; 
21430     PyObject 
* obj0 
= 0 ; 
21431     PyObject 
* obj1 
= 0 ; 
21432     char *kwnames
[] = { 
21433         (char *) "self",(char *) "realized", NULL 
 
21436     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryNewPaletteEvent_SetPaletteRealized",kwnames
,&obj0
,&obj1
)) goto fail
; 
21437     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryNewPaletteEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
21438     if (SWIG_arg_fail(1)) SWIG_fail
; 
21440         arg2 
= (bool)(SWIG_As_bool(obj1
));  
21441         if (SWIG_arg_fail(2)) SWIG_fail
; 
21444         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21445         (arg1
)->SetPaletteRealized(arg2
); 
21447         wxPyEndAllowThreads(__tstate
); 
21448         if (PyErr_Occurred()) SWIG_fail
; 
21450     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
21457 static PyObject 
*_wrap_QueryNewPaletteEvent_GetPaletteRealized(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
21458     PyObject 
*resultobj
; 
21459     wxQueryNewPaletteEvent 
*arg1 
= (wxQueryNewPaletteEvent 
*) 0 ; 
21461     PyObject 
* obj0 
= 0 ; 
21462     char *kwnames
[] = { 
21463         (char *) "self", NULL 
 
21466     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryNewPaletteEvent_GetPaletteRealized",kwnames
,&obj0
)) goto fail
; 
21467     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryNewPaletteEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
21468     if (SWIG_arg_fail(1)) SWIG_fail
; 
21470         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21471         result 
= (bool)((wxQueryNewPaletteEvent 
const *)arg1
)->GetPaletteRealized(); 
21473         wxPyEndAllowThreads(__tstate
); 
21474         if (PyErr_Occurred()) SWIG_fail
; 
21477         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
21485 static PyObject 
* QueryNewPaletteEvent_swigregister(PyObject 
*, PyObject 
*args
) { 
21487     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
21488     SWIG_TypeClientData(SWIGTYPE_p_wxQueryNewPaletteEvent
, obj
); 
21490     return Py_BuildValue((char *)""); 
21492 static PyObject 
*_wrap_new_NavigationKeyEvent(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
21493     PyObject 
*resultobj
; 
21494     wxNavigationKeyEvent 
*result
; 
21495     char *kwnames
[] = { 
21499     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NavigationKeyEvent",kwnames
)) goto fail
; 
21501         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21502         result 
= (wxNavigationKeyEvent 
*)new wxNavigationKeyEvent(); 
21504         wxPyEndAllowThreads(__tstate
); 
21505         if (PyErr_Occurred()) SWIG_fail
; 
21507     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNavigationKeyEvent
, 1); 
21514 static PyObject 
*_wrap_NavigationKeyEvent_GetDirection(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
21515     PyObject 
*resultobj
; 
21516     wxNavigationKeyEvent 
*arg1 
= (wxNavigationKeyEvent 
*) 0 ; 
21518     PyObject 
* obj0 
= 0 ; 
21519     char *kwnames
[] = { 
21520         (char *) "self", NULL 
 
21523     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_GetDirection",kwnames
,&obj0
)) goto fail
; 
21524     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
21525     if (SWIG_arg_fail(1)) SWIG_fail
; 
21527         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21528         result 
= (bool)((wxNavigationKeyEvent 
const *)arg1
)->GetDirection(); 
21530         wxPyEndAllowThreads(__tstate
); 
21531         if (PyErr_Occurred()) SWIG_fail
; 
21534         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
21542 static PyObject 
*_wrap_NavigationKeyEvent_SetDirection(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
21543     PyObject 
*resultobj
; 
21544     wxNavigationKeyEvent 
*arg1 
= (wxNavigationKeyEvent 
*) 0 ; 
21546     PyObject 
* obj0 
= 0 ; 
21547     PyObject 
* obj1 
= 0 ; 
21548     char *kwnames
[] = { 
21549         (char *) "self",(char *) "forward", NULL 
 
21552     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetDirection",kwnames
,&obj0
,&obj1
)) goto fail
; 
21553     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
21554     if (SWIG_arg_fail(1)) SWIG_fail
; 
21556         arg2 
= (bool)(SWIG_As_bool(obj1
));  
21557         if (SWIG_arg_fail(2)) SWIG_fail
; 
21560         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21561         (arg1
)->SetDirection(arg2
); 
21563         wxPyEndAllowThreads(__tstate
); 
21564         if (PyErr_Occurred()) SWIG_fail
; 
21566     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
21573 static PyObject 
*_wrap_NavigationKeyEvent_IsWindowChange(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
21574     PyObject 
*resultobj
; 
21575     wxNavigationKeyEvent 
*arg1 
= (wxNavigationKeyEvent 
*) 0 ; 
21577     PyObject 
* obj0 
= 0 ; 
21578     char *kwnames
[] = { 
21579         (char *) "self", NULL 
 
21582     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_IsWindowChange",kwnames
,&obj0
)) goto fail
; 
21583     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
21584     if (SWIG_arg_fail(1)) SWIG_fail
; 
21586         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21587         result 
= (bool)((wxNavigationKeyEvent 
const *)arg1
)->IsWindowChange(); 
21589         wxPyEndAllowThreads(__tstate
); 
21590         if (PyErr_Occurred()) SWIG_fail
; 
21593         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
21601 static PyObject 
*_wrap_NavigationKeyEvent_SetWindowChange(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
21602     PyObject 
*resultobj
; 
21603     wxNavigationKeyEvent 
*arg1 
= (wxNavigationKeyEvent 
*) 0 ; 
21605     PyObject 
* obj0 
= 0 ; 
21606     PyObject 
* obj1 
= 0 ; 
21607     char *kwnames
[] = { 
21608         (char *) "self",(char *) "ischange", NULL 
 
21611     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetWindowChange",kwnames
,&obj0
,&obj1
)) goto fail
; 
21612     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
21613     if (SWIG_arg_fail(1)) SWIG_fail
; 
21615         arg2 
= (bool)(SWIG_As_bool(obj1
));  
21616         if (SWIG_arg_fail(2)) SWIG_fail
; 
21619         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21620         (arg1
)->SetWindowChange(arg2
); 
21622         wxPyEndAllowThreads(__tstate
); 
21623         if (PyErr_Occurred()) SWIG_fail
; 
21625     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
21632 static PyObject 
*_wrap_NavigationKeyEvent_IsFromTab(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
21633     PyObject 
*resultobj
; 
21634     wxNavigationKeyEvent 
*arg1 
= (wxNavigationKeyEvent 
*) 0 ; 
21636     PyObject 
* obj0 
= 0 ; 
21637     char *kwnames
[] = { 
21638         (char *) "self", NULL 
 
21641     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_IsFromTab",kwnames
,&obj0
)) goto fail
; 
21642     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
21643     if (SWIG_arg_fail(1)) SWIG_fail
; 
21645         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21646         result 
= (bool)((wxNavigationKeyEvent 
const *)arg1
)->IsFromTab(); 
21648         wxPyEndAllowThreads(__tstate
); 
21649         if (PyErr_Occurred()) SWIG_fail
; 
21652         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
21660 static PyObject 
*_wrap_NavigationKeyEvent_SetFromTab(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
21661     PyObject 
*resultobj
; 
21662     wxNavigationKeyEvent 
*arg1 
= (wxNavigationKeyEvent 
*) 0 ; 
21664     PyObject 
* obj0 
= 0 ; 
21665     PyObject 
* obj1 
= 0 ; 
21666     char *kwnames
[] = { 
21667         (char *) "self",(char *) "bIs", NULL 
 
21670     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetFromTab",kwnames
,&obj0
,&obj1
)) goto fail
; 
21671     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
21672     if (SWIG_arg_fail(1)) SWIG_fail
; 
21674         arg2 
= (bool)(SWIG_As_bool(obj1
));  
21675         if (SWIG_arg_fail(2)) SWIG_fail
; 
21678         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21679         (arg1
)->SetFromTab(arg2
); 
21681         wxPyEndAllowThreads(__tstate
); 
21682         if (PyErr_Occurred()) SWIG_fail
; 
21684     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
21691 static PyObject 
*_wrap_NavigationKeyEvent_SetFlags(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
21692     PyObject 
*resultobj
; 
21693     wxNavigationKeyEvent 
*arg1 
= (wxNavigationKeyEvent 
*) 0 ; 
21695     PyObject 
* obj0 
= 0 ; 
21696     PyObject 
* obj1 
= 0 ; 
21697     char *kwnames
[] = { 
21698         (char *) "self",(char *) "flags", NULL 
 
21701     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
; 
21702     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
21703     if (SWIG_arg_fail(1)) SWIG_fail
; 
21705         arg2 
= (long)(SWIG_As_long(obj1
));  
21706         if (SWIG_arg_fail(2)) SWIG_fail
; 
21709         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21710         (arg1
)->SetFlags(arg2
); 
21712         wxPyEndAllowThreads(__tstate
); 
21713         if (PyErr_Occurred()) SWIG_fail
; 
21715     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
21722 static PyObject 
*_wrap_NavigationKeyEvent_GetCurrentFocus(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
21723     PyObject 
*resultobj
; 
21724     wxNavigationKeyEvent 
*arg1 
= (wxNavigationKeyEvent 
*) 0 ; 
21726     PyObject 
* obj0 
= 0 ; 
21727     char *kwnames
[] = { 
21728         (char *) "self", NULL 
 
21731     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_GetCurrentFocus",kwnames
,&obj0
)) goto fail
; 
21732     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
21733     if (SWIG_arg_fail(1)) SWIG_fail
; 
21735         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21736         result 
= (wxWindow 
*)((wxNavigationKeyEvent 
const *)arg1
)->GetCurrentFocus(); 
21738         wxPyEndAllowThreads(__tstate
); 
21739         if (PyErr_Occurred()) SWIG_fail
; 
21742         resultobj 
= wxPyMake_wxObject(result
, 0);  
21750 static PyObject 
*_wrap_NavigationKeyEvent_SetCurrentFocus(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
21751     PyObject 
*resultobj
; 
21752     wxNavigationKeyEvent 
*arg1 
= (wxNavigationKeyEvent 
*) 0 ; 
21753     wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
21754     PyObject 
* obj0 
= 0 ; 
21755     PyObject 
* obj1 
= 0 ; 
21756     char *kwnames
[] = { 
21757         (char *) "self",(char *) "win", NULL 
 
21760     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetCurrentFocus",kwnames
,&obj0
,&obj1
)) goto fail
; 
21761     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
21762     if (SWIG_arg_fail(1)) SWIG_fail
; 
21763     SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
21764     if (SWIG_arg_fail(2)) SWIG_fail
; 
21766         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21767         (arg1
)->SetCurrentFocus(arg2
); 
21769         wxPyEndAllowThreads(__tstate
); 
21770         if (PyErr_Occurred()) SWIG_fail
; 
21772     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
21779 static PyObject 
* NavigationKeyEvent_swigregister(PyObject 
*, PyObject 
*args
) { 
21781     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
21782     SWIG_TypeClientData(SWIGTYPE_p_wxNavigationKeyEvent
, obj
); 
21784     return Py_BuildValue((char *)""); 
21786 static PyObject 
*_wrap_new_WindowCreateEvent(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
21787     PyObject 
*resultobj
; 
21788     wxWindow 
*arg1 
= (wxWindow 
*) NULL 
; 
21789     wxWindowCreateEvent 
*result
; 
21790     PyObject 
* obj0 
= 0 ; 
21791     char *kwnames
[] = { 
21792         (char *) "win", NULL 
 
21795     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowCreateEvent",kwnames
,&obj0
)) goto fail
; 
21797         SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
21798         if (SWIG_arg_fail(1)) SWIG_fail
; 
21801         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21802         result 
= (wxWindowCreateEvent 
*)new wxWindowCreateEvent(arg1
); 
21804         wxPyEndAllowThreads(__tstate
); 
21805         if (PyErr_Occurred()) SWIG_fail
; 
21807     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowCreateEvent
, 1); 
21814 static PyObject 
*_wrap_WindowCreateEvent_GetWindow(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
21815     PyObject 
*resultobj
; 
21816     wxWindowCreateEvent 
*arg1 
= (wxWindowCreateEvent 
*) 0 ; 
21818     PyObject 
* obj0 
= 0 ; 
21819     char *kwnames
[] = { 
21820         (char *) "self", NULL 
 
21823     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WindowCreateEvent_GetWindow",kwnames
,&obj0
)) goto fail
; 
21824     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindowCreateEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
21825     if (SWIG_arg_fail(1)) SWIG_fail
; 
21827         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21828         result 
= (wxWindow 
*)((wxWindowCreateEvent 
const *)arg1
)->GetWindow(); 
21830         wxPyEndAllowThreads(__tstate
); 
21831         if (PyErr_Occurred()) SWIG_fail
; 
21834         resultobj 
= wxPyMake_wxObject(result
, 0);  
21842 static PyObject 
* WindowCreateEvent_swigregister(PyObject 
*, PyObject 
*args
) { 
21844     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
21845     SWIG_TypeClientData(SWIGTYPE_p_wxWindowCreateEvent
, obj
); 
21847     return Py_BuildValue((char *)""); 
21849 static PyObject 
*_wrap_new_WindowDestroyEvent(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
21850     PyObject 
*resultobj
; 
21851     wxWindow 
*arg1 
= (wxWindow 
*) NULL 
; 
21852     wxWindowDestroyEvent 
*result
; 
21853     PyObject 
* obj0 
= 0 ; 
21854     char *kwnames
[] = { 
21855         (char *) "win", NULL 
 
21858     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDestroyEvent",kwnames
,&obj0
)) goto fail
; 
21860         SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
21861         if (SWIG_arg_fail(1)) SWIG_fail
; 
21864         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21865         result 
= (wxWindowDestroyEvent 
*)new wxWindowDestroyEvent(arg1
); 
21867         wxPyEndAllowThreads(__tstate
); 
21868         if (PyErr_Occurred()) SWIG_fail
; 
21870     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDestroyEvent
, 1); 
21877 static PyObject 
*_wrap_WindowDestroyEvent_GetWindow(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
21878     PyObject 
*resultobj
; 
21879     wxWindowDestroyEvent 
*arg1 
= (wxWindowDestroyEvent 
*) 0 ; 
21881     PyObject 
* obj0 
= 0 ; 
21882     char *kwnames
[] = { 
21883         (char *) "self", NULL 
 
21886     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WindowDestroyEvent_GetWindow",kwnames
,&obj0
)) goto fail
; 
21887     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindowDestroyEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
21888     if (SWIG_arg_fail(1)) SWIG_fail
; 
21890         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21891         result 
= (wxWindow 
*)((wxWindowDestroyEvent 
const *)arg1
)->GetWindow(); 
21893         wxPyEndAllowThreads(__tstate
); 
21894         if (PyErr_Occurred()) SWIG_fail
; 
21897         resultobj 
= wxPyMake_wxObject(result
, 0);  
21905 static PyObject 
* WindowDestroyEvent_swigregister(PyObject 
*, PyObject 
*args
) { 
21907     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
21908     SWIG_TypeClientData(SWIGTYPE_p_wxWindowDestroyEvent
, obj
); 
21910     return Py_BuildValue((char *)""); 
21912 static PyObject 
*_wrap_new_ContextMenuEvent(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
21913     PyObject 
*resultobj
; 
21914     wxEventType arg1 
= (wxEventType
) wxEVT_NULL 
; 
21915     int arg2 
= (int) 0 ; 
21916     wxPoint 
const &arg3_defvalue 
= wxDefaultPosition 
; 
21917     wxPoint 
*arg3 
= (wxPoint 
*) &arg3_defvalue 
; 
21918     wxContextMenuEvent 
*result
; 
21920     PyObject 
* obj0 
= 0 ; 
21921     PyObject 
* obj1 
= 0 ; 
21922     PyObject 
* obj2 
= 0 ; 
21923     char *kwnames
[] = { 
21924         (char *) "type",(char *) "winid",(char *) "pt", NULL 
 
21927     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ContextMenuEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
21930             arg1 
= (wxEventType
)(SWIG_As_int(obj0
));  
21931             if (SWIG_arg_fail(1)) SWIG_fail
; 
21936             arg2 
= (int)(SWIG_As_int(obj1
));  
21937             if (SWIG_arg_fail(2)) SWIG_fail
; 
21943             if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
; 
21947         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21948         result 
= (wxContextMenuEvent 
*)new wxContextMenuEvent(arg1
,arg2
,(wxPoint 
const &)*arg3
); 
21950         wxPyEndAllowThreads(__tstate
); 
21951         if (PyErr_Occurred()) SWIG_fail
; 
21953     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextMenuEvent
, 1); 
21960 static PyObject 
*_wrap_ContextMenuEvent_GetPosition(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
21961     PyObject 
*resultobj
; 
21962     wxContextMenuEvent 
*arg1 
= (wxContextMenuEvent 
*) 0 ; 
21964     PyObject 
* obj0 
= 0 ; 
21965     char *kwnames
[] = { 
21966         (char *) "self", NULL 
 
21969     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextMenuEvent_GetPosition",kwnames
,&obj0
)) goto fail
; 
21970     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxContextMenuEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
21971     if (SWIG_arg_fail(1)) SWIG_fail
; 
21973         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21975             wxPoint 
const &_result_ref 
= ((wxContextMenuEvent 
const *)arg1
)->GetPosition(); 
21976             result 
= (wxPoint 
*) &_result_ref
; 
21979         wxPyEndAllowThreads(__tstate
); 
21980         if (PyErr_Occurred()) SWIG_fail
; 
21982     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0); 
21989 static PyObject 
*_wrap_ContextMenuEvent_SetPosition(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
21990     PyObject 
*resultobj
; 
21991     wxContextMenuEvent 
*arg1 
= (wxContextMenuEvent 
*) 0 ; 
21992     wxPoint 
*arg2 
= 0 ; 
21994     PyObject 
* obj0 
= 0 ; 
21995     PyObject 
* obj1 
= 0 ; 
21996     char *kwnames
[] = { 
21997         (char *) "self",(char *) "pos", NULL 
 
22000     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ContextMenuEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
; 
22001     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxContextMenuEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
22002     if (SWIG_arg_fail(1)) SWIG_fail
; 
22005         if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
22008         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22009         (arg1
)->SetPosition((wxPoint 
const &)*arg2
); 
22011         wxPyEndAllowThreads(__tstate
); 
22012         if (PyErr_Occurred()) SWIG_fail
; 
22014     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
22021 static PyObject 
* ContextMenuEvent_swigregister(PyObject 
*, PyObject 
*args
) { 
22023     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
22024     SWIG_TypeClientData(SWIGTYPE_p_wxContextMenuEvent
, obj
); 
22026     return Py_BuildValue((char *)""); 
22028 static PyObject 
*_wrap_new_IdleEvent(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
22029     PyObject 
*resultobj
; 
22030     wxIdleEvent 
*result
; 
22031     char *kwnames
[] = { 
22035     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_IdleEvent",kwnames
)) goto fail
; 
22037         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22038         result 
= (wxIdleEvent 
*)new wxIdleEvent(); 
22040         wxPyEndAllowThreads(__tstate
); 
22041         if (PyErr_Occurred()) SWIG_fail
; 
22043     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIdleEvent
, 1); 
22050 static PyObject 
*_wrap_IdleEvent_RequestMore(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
22051     PyObject 
*resultobj
; 
22052     wxIdleEvent 
*arg1 
= (wxIdleEvent 
*) 0 ; 
22053     bool arg2 
= (bool) true ; 
22054     PyObject 
* obj0 
= 0 ; 
22055     PyObject 
* obj1 
= 0 ; 
22056     char *kwnames
[] = { 
22057         (char *) "self",(char *) "needMore", NULL 
 
22060     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:IdleEvent_RequestMore",kwnames
,&obj0
,&obj1
)) goto fail
; 
22061     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIdleEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
22062     if (SWIG_arg_fail(1)) SWIG_fail
; 
22065             arg2 
= (bool)(SWIG_As_bool(obj1
));  
22066             if (SWIG_arg_fail(2)) SWIG_fail
; 
22070         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22071         (arg1
)->RequestMore(arg2
); 
22073         wxPyEndAllowThreads(__tstate
); 
22074         if (PyErr_Occurred()) SWIG_fail
; 
22076     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
22083 static PyObject 
*_wrap_IdleEvent_MoreRequested(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
22084     PyObject 
*resultobj
; 
22085     wxIdleEvent 
*arg1 
= (wxIdleEvent 
*) 0 ; 
22087     PyObject 
* obj0 
= 0 ; 
22088     char *kwnames
[] = { 
22089         (char *) "self", NULL 
 
22092     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_MoreRequested",kwnames
,&obj0
)) goto fail
; 
22093     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIdleEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
22094     if (SWIG_arg_fail(1)) SWIG_fail
; 
22096         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22097         result 
= (bool)((wxIdleEvent 
const *)arg1
)->MoreRequested(); 
22099         wxPyEndAllowThreads(__tstate
); 
22100         if (PyErr_Occurred()) SWIG_fail
; 
22103         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
22111 static PyObject 
*_wrap_IdleEvent_SetMode(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
22112     PyObject 
*resultobj
; 
22114     PyObject 
* obj0 
= 0 ; 
22115     char *kwnames
[] = { 
22116         (char *) "mode", NULL 
 
22119     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_SetMode",kwnames
,&obj0
)) goto fail
; 
22121         arg1 
= (wxIdleMode
)(SWIG_As_int(obj0
));  
22122         if (SWIG_arg_fail(1)) SWIG_fail
; 
22125         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22126         wxIdleEvent::SetMode((wxIdleMode 
)arg1
); 
22128         wxPyEndAllowThreads(__tstate
); 
22129         if (PyErr_Occurred()) SWIG_fail
; 
22131     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
22138 static PyObject 
*_wrap_IdleEvent_GetMode(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
22139     PyObject 
*resultobj
; 
22141     char *kwnames
[] = { 
22145     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":IdleEvent_GetMode",kwnames
)) goto fail
; 
22147         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22148         result 
= (wxIdleMode
)wxIdleEvent::GetMode(); 
22150         wxPyEndAllowThreads(__tstate
); 
22151         if (PyErr_Occurred()) SWIG_fail
; 
22153     resultobj 
= SWIG_From_int((result
)); 
22160 static PyObject 
*_wrap_IdleEvent_CanSend(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
22161     PyObject 
*resultobj
; 
22162     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
22164     PyObject 
* obj0 
= 0 ; 
22165     char *kwnames
[] = { 
22166         (char *) "win", NULL 
 
22169     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_CanSend",kwnames
,&obj0
)) goto fail
; 
22170     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
22171     if (SWIG_arg_fail(1)) SWIG_fail
; 
22173         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22174         result 
= (bool)wxIdleEvent::CanSend(arg1
); 
22176         wxPyEndAllowThreads(__tstate
); 
22177         if (PyErr_Occurred()) SWIG_fail
; 
22180         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
22188 static PyObject 
* IdleEvent_swigregister(PyObject 
*, PyObject 
*args
) { 
22190     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
22191     SWIG_TypeClientData(SWIGTYPE_p_wxIdleEvent
, obj
); 
22193     return Py_BuildValue((char *)""); 
22195 static PyObject 
*_wrap_new_PyEvent(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
22196     PyObject 
*resultobj
; 
22197     int arg1 
= (int) 0 ; 
22198     wxEventType arg2 
= (wxEventType
) wxEVT_NULL 
; 
22200     PyObject 
* obj0 
= 0 ; 
22201     PyObject 
* obj1 
= 0 ; 
22202     char *kwnames
[] = { 
22203         (char *) "winid",(char *) "commandType", NULL 
 
22206     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyEvent",kwnames
,&obj0
,&obj1
)) goto fail
; 
22209             arg1 
= (int)(SWIG_As_int(obj0
));  
22210             if (SWIG_arg_fail(1)) SWIG_fail
; 
22215             arg2 
= (wxEventType
)(SWIG_As_int(obj1
));  
22216             if (SWIG_arg_fail(2)) SWIG_fail
; 
22220         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22221         result 
= (wxPyEvent 
*)new wxPyEvent(arg1
,arg2
); 
22223         wxPyEndAllowThreads(__tstate
); 
22224         if (PyErr_Occurred()) SWIG_fail
; 
22226     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyEvent
, 1); 
22233 static PyObject 
*_wrap_delete_PyEvent(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
22234     PyObject 
*resultobj
; 
22235     wxPyEvent 
*arg1 
= (wxPyEvent 
*) 0 ; 
22236     PyObject 
* obj0 
= 0 ; 
22237     char *kwnames
[] = { 
22238         (char *) "self", NULL 
 
22241     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyEvent",kwnames
,&obj0
)) goto fail
; 
22242     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
22243     if (SWIG_arg_fail(1)) SWIG_fail
; 
22245         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22248         wxPyEndAllowThreads(__tstate
); 
22249         if (PyErr_Occurred()) SWIG_fail
; 
22251     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
22258 static PyObject 
*_wrap_PyEvent_SetSelf(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
22259     PyObject 
*resultobj
; 
22260     wxPyEvent 
*arg1 
= (wxPyEvent 
*) 0 ; 
22261     PyObject 
*arg2 
= (PyObject 
*) 0 ; 
22262     PyObject 
* obj0 
= 0 ; 
22263     PyObject 
* obj1 
= 0 ; 
22264     char *kwnames
[] = { 
22265         (char *) "self",(char *) "self", NULL 
 
22268     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEvent_SetSelf",kwnames
,&obj0
,&obj1
)) goto fail
; 
22269     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
22270     if (SWIG_arg_fail(1)) SWIG_fail
; 
22273         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22274         (arg1
)->SetSelf(arg2
); 
22276         wxPyEndAllowThreads(__tstate
); 
22277         if (PyErr_Occurred()) SWIG_fail
; 
22279     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
22286 static PyObject 
*_wrap_PyEvent_GetSelf(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
22287     PyObject 
*resultobj
; 
22288     wxPyEvent 
*arg1 
= (wxPyEvent 
*) 0 ; 
22290     PyObject 
* obj0 
= 0 ; 
22291     char *kwnames
[] = { 
22292         (char *) "self", NULL 
 
22295     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyEvent_GetSelf",kwnames
,&obj0
)) goto fail
; 
22296     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
22297     if (SWIG_arg_fail(1)) SWIG_fail
; 
22299         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22300         result 
= (PyObject 
*)(arg1
)->GetSelf(); 
22302         wxPyEndAllowThreads(__tstate
); 
22303         if (PyErr_Occurred()) SWIG_fail
; 
22305     resultobj 
= result
; 
22312 static PyObject 
* PyEvent_swigregister(PyObject 
*, PyObject 
*args
) { 
22314     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
22315     SWIG_TypeClientData(SWIGTYPE_p_wxPyEvent
, obj
); 
22317     return Py_BuildValue((char *)""); 
22319 static PyObject 
*_wrap_new_PyCommandEvent(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
22320     PyObject 
*resultobj
; 
22321     wxEventType arg1 
= (wxEventType
) wxEVT_NULL 
; 
22322     int arg2 
= (int) 0 ; 
22323     wxPyCommandEvent 
*result
; 
22324     PyObject 
* obj0 
= 0 ; 
22325     PyObject 
* obj1 
= 0 ; 
22326     char *kwnames
[] = { 
22327         (char *) "commandType",(char *) "id", NULL 
 
22330     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyCommandEvent",kwnames
,&obj0
,&obj1
)) goto fail
; 
22333             arg1 
= (wxEventType
)(SWIG_As_int(obj0
));  
22334             if (SWIG_arg_fail(1)) SWIG_fail
; 
22339             arg2 
= (int)(SWIG_As_int(obj1
));  
22340             if (SWIG_arg_fail(2)) SWIG_fail
; 
22344         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22345         result 
= (wxPyCommandEvent 
*)new wxPyCommandEvent(arg1
,arg2
); 
22347         wxPyEndAllowThreads(__tstate
); 
22348         if (PyErr_Occurred()) SWIG_fail
; 
22350     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyCommandEvent
, 1); 
22357 static PyObject 
*_wrap_delete_PyCommandEvent(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
22358     PyObject 
*resultobj
; 
22359     wxPyCommandEvent 
*arg1 
= (wxPyCommandEvent 
*) 0 ; 
22360     PyObject 
* obj0 
= 0 ; 
22361     char *kwnames
[] = { 
22362         (char *) "self", NULL 
 
22365     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyCommandEvent",kwnames
,&obj0
)) goto fail
; 
22366     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyCommandEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
22367     if (SWIG_arg_fail(1)) SWIG_fail
; 
22369         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22372         wxPyEndAllowThreads(__tstate
); 
22373         if (PyErr_Occurred()) SWIG_fail
; 
22375     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
22382 static PyObject 
*_wrap_PyCommandEvent_SetSelf(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
22383     PyObject 
*resultobj
; 
22384     wxPyCommandEvent 
*arg1 
= (wxPyCommandEvent 
*) 0 ; 
22385     PyObject 
*arg2 
= (PyObject 
*) 0 ; 
22386     PyObject 
* obj0 
= 0 ; 
22387     PyObject 
* obj1 
= 0 ; 
22388     char *kwnames
[] = { 
22389         (char *) "self",(char *) "self", NULL 
 
22392     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCommandEvent_SetSelf",kwnames
,&obj0
,&obj1
)) goto fail
; 
22393     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyCommandEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
22394     if (SWIG_arg_fail(1)) SWIG_fail
; 
22397         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22398         (arg1
)->SetSelf(arg2
); 
22400         wxPyEndAllowThreads(__tstate
); 
22401         if (PyErr_Occurred()) SWIG_fail
; 
22403     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
22410 static PyObject 
*_wrap_PyCommandEvent_GetSelf(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
22411     PyObject 
*resultobj
; 
22412     wxPyCommandEvent 
*arg1 
= (wxPyCommandEvent 
*) 0 ; 
22414     PyObject 
* obj0 
= 0 ; 
22415     char *kwnames
[] = { 
22416         (char *) "self", NULL 
 
22419     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCommandEvent_GetSelf",kwnames
,&obj0
)) goto fail
; 
22420     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyCommandEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
22421     if (SWIG_arg_fail(1)) SWIG_fail
; 
22423         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22424         result 
= (PyObject 
*)(arg1
)->GetSelf(); 
22426         wxPyEndAllowThreads(__tstate
); 
22427         if (PyErr_Occurred()) SWIG_fail
; 
22429     resultobj 
= result
; 
22436 static PyObject 
* PyCommandEvent_swigregister(PyObject 
*, PyObject 
*args
) { 
22438     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
22439     SWIG_TypeClientData(SWIGTYPE_p_wxPyCommandEvent
, obj
); 
22441     return Py_BuildValue((char *)""); 
22443 static PyObject 
*_wrap_new_DateEvent(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
22444     PyObject 
*resultobj
; 
22445     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
22446     wxDateTime 
*arg2 
= 0 ; 
22448     wxDateEvent 
*result
; 
22449     PyObject 
* obj0 
= 0 ; 
22450     PyObject 
* obj1 
= 0 ; 
22451     PyObject 
* obj2 
= 0 ; 
22452     char *kwnames
[] = { 
22453         (char *) "win",(char *) "dt",(char *) "type", NULL 
 
22456     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_DateEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
22457     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
22458     if (SWIG_arg_fail(1)) SWIG_fail
; 
22460         SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION 
| 0); 
22461         if (SWIG_arg_fail(2)) SWIG_fail
; 
22462         if (arg2 
== NULL
) { 
22463             SWIG_null_ref("wxDateTime"); 
22465         if (SWIG_arg_fail(2)) SWIG_fail
; 
22468         arg3 
= (wxEventType
)(SWIG_As_int(obj2
));  
22469         if (SWIG_arg_fail(3)) SWIG_fail
; 
22472         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22473         result 
= (wxDateEvent 
*)new wxDateEvent(arg1
,(wxDateTime 
const &)*arg2
,arg3
); 
22475         wxPyEndAllowThreads(__tstate
); 
22476         if (PyErr_Occurred()) SWIG_fail
; 
22478     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateEvent
, 1); 
22485 static PyObject 
*_wrap_DateEvent_GetDate(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
22486     PyObject 
*resultobj
; 
22487     wxDateEvent 
*arg1 
= (wxDateEvent 
*) 0 ; 
22488     wxDateTime 
*result
; 
22489     PyObject 
* obj0 
= 0 ; 
22490     char *kwnames
[] = { 
22491         (char *) "self", NULL 
 
22494     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateEvent_GetDate",kwnames
,&obj0
)) goto fail
; 
22495     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
22496     if (SWIG_arg_fail(1)) SWIG_fail
; 
22498         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22500             wxDateTime 
const &_result_ref 
= ((wxDateEvent 
const *)arg1
)->GetDate(); 
22501             result 
= (wxDateTime 
*) &_result_ref
; 
22504         wxPyEndAllowThreads(__tstate
); 
22505         if (PyErr_Occurred()) SWIG_fail
; 
22507     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0); 
22514 static PyObject 
*_wrap_DateEvent_SetDate(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
22515     PyObject 
*resultobj
; 
22516     wxDateEvent 
*arg1 
= (wxDateEvent 
*) 0 ; 
22517     wxDateTime 
*arg2 
= 0 ; 
22518     PyObject 
* obj0 
= 0 ; 
22519     PyObject 
* obj1 
= 0 ; 
22520     char *kwnames
[] = { 
22521         (char *) "self",(char *) "date", NULL 
 
22524     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateEvent_SetDate",kwnames
,&obj0
,&obj1
)) goto fail
; 
22525     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
22526     if (SWIG_arg_fail(1)) SWIG_fail
; 
22528         SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION 
| 0); 
22529         if (SWIG_arg_fail(2)) SWIG_fail
; 
22530         if (arg2 
== NULL
) { 
22531             SWIG_null_ref("wxDateTime"); 
22533         if (SWIG_arg_fail(2)) SWIG_fail
; 
22536         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22537         (arg1
)->SetDate((wxDateTime 
const &)*arg2
); 
22539         wxPyEndAllowThreads(__tstate
); 
22540         if (PyErr_Occurred()) SWIG_fail
; 
22542     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
22549 static PyObject 
* DateEvent_swigregister(PyObject 
*, PyObject 
*args
) { 
22551     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
22552     SWIG_TypeClientData(SWIGTYPE_p_wxDateEvent
, obj
); 
22554     return Py_BuildValue((char *)""); 
22556 static PyObject 
*_wrap_new_PyApp(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
22557     PyObject 
*resultobj
; 
22559     char *kwnames
[] = { 
22563     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyApp",kwnames
)) goto fail
; 
22565         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22566         result 
= (wxPyApp 
*)new_wxPyApp(); 
22568         wxPyEndAllowThreads(__tstate
); 
22569         if (PyErr_Occurred()) SWIG_fail
; 
22571     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyApp
, 1); 
22578 static PyObject 
*_wrap_delete_PyApp(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
22579     PyObject 
*resultobj
; 
22580     wxPyApp 
*arg1 
= (wxPyApp 
*) 0 ; 
22581     PyObject 
* obj0 
= 0 ; 
22582     char *kwnames
[] = { 
22583         (char *) "self", NULL 
 
22586     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyApp",kwnames
,&obj0
)) goto fail
; 
22587     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION 
| 0); 
22588     if (SWIG_arg_fail(1)) SWIG_fail
; 
22590         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22593         wxPyEndAllowThreads(__tstate
); 
22594         if (PyErr_Occurred()) SWIG_fail
; 
22596     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
22603 static PyObject 
*_wrap_PyApp__setCallbackInfo(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
22604     PyObject 
*resultobj
; 
22605     wxPyApp 
*arg1 
= (wxPyApp 
*) 0 ; 
22606     PyObject 
*arg2 
= (PyObject 
*) 0 ; 
22607     PyObject 
*arg3 
= (PyObject 
*) 0 ; 
22608     PyObject 
* obj0 
= 0 ; 
22609     PyObject 
* obj1 
= 0 ; 
22610     PyObject 
* obj2 
= 0 ; 
22611     char *kwnames
[] = { 
22612         (char *) "self",(char *) "self",(char *) "_class", NULL 
 
22615     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyApp__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
22616     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION 
| 0); 
22617     if (SWIG_arg_fail(1)) SWIG_fail
; 
22621         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22622         (arg1
)->_setCallbackInfo(arg2
,arg3
); 
22624         wxPyEndAllowThreads(__tstate
); 
22625         if (PyErr_Occurred()) SWIG_fail
; 
22627     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
22634 static PyObject 
*_wrap_PyApp_GetAppName(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
22635     PyObject 
*resultobj
; 
22636     wxPyApp 
*arg1 
= (wxPyApp 
*) 0 ; 
22638     PyObject 
* obj0 
= 0 ; 
22639     char *kwnames
[] = { 
22640         (char *) "self", NULL 
 
22643     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetAppName",kwnames
,&obj0
)) goto fail
; 
22644     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION 
| 0); 
22645     if (SWIG_arg_fail(1)) SWIG_fail
; 
22647         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22648         result 
= ((wxPyApp 
const *)arg1
)->GetAppName(); 
22650         wxPyEndAllowThreads(__tstate
); 
22651         if (PyErr_Occurred()) SWIG_fail
; 
22655         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
22657         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
22666 static PyObject 
*_wrap_PyApp_SetAppName(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
22667     PyObject 
*resultobj
; 
22668     wxPyApp 
*arg1 
= (wxPyApp 
*) 0 ; 
22669     wxString 
*arg2 
= 0 ; 
22670     bool temp2 
= false ; 
22671     PyObject 
* obj0 
= 0 ; 
22672     PyObject 
* obj1 
= 0 ; 
22673     char *kwnames
[] = { 
22674         (char *) "self",(char *) "name", NULL 
 
22677     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAppName",kwnames
,&obj0
,&obj1
)) goto fail
; 
22678     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION 
| 0); 
22679     if (SWIG_arg_fail(1)) SWIG_fail
; 
22681         arg2 
= wxString_in_helper(obj1
); 
22682         if (arg2 
== NULL
) SWIG_fail
; 
22686         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22687         (arg1
)->SetAppName((wxString 
const &)*arg2
); 
22689         wxPyEndAllowThreads(__tstate
); 
22690         if (PyErr_Occurred()) SWIG_fail
; 
22692     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
22707 static PyObject 
*_wrap_PyApp_GetClassName(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
22708     PyObject 
*resultobj
; 
22709     wxPyApp 
*arg1 
= (wxPyApp 
*) 0 ; 
22711     PyObject 
* obj0 
= 0 ; 
22712     char *kwnames
[] = { 
22713         (char *) "self", NULL 
 
22716     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetClassName",kwnames
,&obj0
)) goto fail
; 
22717     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION 
| 0); 
22718     if (SWIG_arg_fail(1)) SWIG_fail
; 
22720         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22721         result 
= ((wxPyApp 
const *)arg1
)->GetClassName(); 
22723         wxPyEndAllowThreads(__tstate
); 
22724         if (PyErr_Occurred()) SWIG_fail
; 
22728         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
22730         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
22739 static PyObject 
*_wrap_PyApp_SetClassName(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
22740     PyObject 
*resultobj
; 
22741     wxPyApp 
*arg1 
= (wxPyApp 
*) 0 ; 
22742     wxString 
*arg2 
= 0 ; 
22743     bool temp2 
= false ; 
22744     PyObject 
* obj0 
= 0 ; 
22745     PyObject 
* obj1 
= 0 ; 
22746     char *kwnames
[] = { 
22747         (char *) "self",(char *) "name", NULL 
 
22750     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetClassName",kwnames
,&obj0
,&obj1
)) goto fail
; 
22751     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION 
| 0); 
22752     if (SWIG_arg_fail(1)) SWIG_fail
; 
22754         arg2 
= wxString_in_helper(obj1
); 
22755         if (arg2 
== NULL
) SWIG_fail
; 
22759         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22760         (arg1
)->SetClassName((wxString 
const &)*arg2
); 
22762         wxPyEndAllowThreads(__tstate
); 
22763         if (PyErr_Occurred()) SWIG_fail
; 
22765     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
22780 static PyObject 
*_wrap_PyApp_GetVendorName(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
22781     PyObject 
*resultobj
; 
22782     wxPyApp 
*arg1 
= (wxPyApp 
*) 0 ; 
22784     PyObject 
* obj0 
= 0 ; 
22785     char *kwnames
[] = { 
22786         (char *) "self", NULL 
 
22789     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetVendorName",kwnames
,&obj0
)) goto fail
; 
22790     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION 
| 0); 
22791     if (SWIG_arg_fail(1)) SWIG_fail
; 
22793         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22795             wxString 
const &_result_ref 
= ((wxPyApp 
const *)arg1
)->GetVendorName(); 
22796             result 
= (wxString 
*) &_result_ref
; 
22799         wxPyEndAllowThreads(__tstate
); 
22800         if (PyErr_Occurred()) SWIG_fail
; 
22804         resultobj 
= PyUnicode_FromWideChar(result
->c_str(), result
->Len()); 
22806         resultobj 
= PyString_FromStringAndSize(result
->c_str(), result
->Len()); 
22815 static PyObject 
*_wrap_PyApp_SetVendorName(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
22816     PyObject 
*resultobj
; 
22817     wxPyApp 
*arg1 
= (wxPyApp 
*) 0 ; 
22818     wxString 
*arg2 
= 0 ; 
22819     bool temp2 
= false ; 
22820     PyObject 
* obj0 
= 0 ; 
22821     PyObject 
* obj1 
= 0 ; 
22822     char *kwnames
[] = { 
22823         (char *) "self",(char *) "name", NULL 
 
22826     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetVendorName",kwnames
,&obj0
,&obj1
)) goto fail
; 
22827     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION 
| 0); 
22828     if (SWIG_arg_fail(1)) SWIG_fail
; 
22830         arg2 
= wxString_in_helper(obj1
); 
22831         if (arg2 
== NULL
) SWIG_fail
; 
22835         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22836         (arg1
)->SetVendorName((wxString 
const &)*arg2
); 
22838         wxPyEndAllowThreads(__tstate
); 
22839         if (PyErr_Occurred()) SWIG_fail
; 
22841     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
22856 static PyObject 
*_wrap_PyApp_GetTraits(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
22857     PyObject 
*resultobj
; 
22858     wxPyApp 
*arg1 
= (wxPyApp 
*) 0 ; 
22859     wxAppTraits 
*result
; 
22860     PyObject 
* obj0 
= 0 ; 
22861     char *kwnames
[] = { 
22862         (char *) "self", NULL 
 
22865     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetTraits",kwnames
,&obj0
)) goto fail
; 
22866     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION 
| 0); 
22867     if (SWIG_arg_fail(1)) SWIG_fail
; 
22869         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22870         result 
= (wxAppTraits 
*)(arg1
)->GetTraits(); 
22872         wxPyEndAllowThreads(__tstate
); 
22873         if (PyErr_Occurred()) SWIG_fail
; 
22875     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAppTraits
, 0); 
22882 static PyObject 
*_wrap_PyApp_ProcessPendingEvents(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
22883     PyObject 
*resultobj
; 
22884     wxPyApp 
*arg1 
= (wxPyApp 
*) 0 ; 
22885     PyObject 
* obj0 
= 0 ; 
22886     char *kwnames
[] = { 
22887         (char *) "self", NULL 
 
22890     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ProcessPendingEvents",kwnames
,&obj0
)) goto fail
; 
22891     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION 
| 0); 
22892     if (SWIG_arg_fail(1)) SWIG_fail
; 
22894         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22895         (arg1
)->ProcessPendingEvents(); 
22897         wxPyEndAllowThreads(__tstate
); 
22898         if (PyErr_Occurred()) SWIG_fail
; 
22900     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
22907 static PyObject 
*_wrap_PyApp_Yield(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
22908     PyObject 
*resultobj
; 
22909     wxPyApp 
*arg1 
= (wxPyApp 
*) 0 ; 
22910     bool arg2 
= (bool) false ; 
22912     PyObject 
* obj0 
= 0 ; 
22913     PyObject 
* obj1 
= 0 ; 
22914     char *kwnames
[] = { 
22915         (char *) "self",(char *) "onlyIfNeeded", NULL 
 
22918     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyApp_Yield",kwnames
,&obj0
,&obj1
)) goto fail
; 
22919     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION 
| 0); 
22920     if (SWIG_arg_fail(1)) SWIG_fail
; 
22923             arg2 
= (bool)(SWIG_As_bool(obj1
));  
22924             if (SWIG_arg_fail(2)) SWIG_fail
; 
22928         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22929         result 
= (bool)(arg1
)->Yield(arg2
); 
22931         wxPyEndAllowThreads(__tstate
); 
22932         if (PyErr_Occurred()) SWIG_fail
; 
22935         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
22943 static PyObject 
*_wrap_PyApp_WakeUpIdle(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
22944     PyObject 
*resultobj
; 
22945     wxPyApp 
*arg1 
= (wxPyApp 
*) 0 ; 
22946     PyObject 
* obj0 
= 0 ; 
22947     char *kwnames
[] = { 
22948         (char *) "self", NULL 
 
22951     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_WakeUpIdle",kwnames
,&obj0
)) goto fail
; 
22952     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION 
| 0); 
22953     if (SWIG_arg_fail(1)) SWIG_fail
; 
22955         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22956         (arg1
)->WakeUpIdle(); 
22958         wxPyEndAllowThreads(__tstate
); 
22959         if (PyErr_Occurred()) SWIG_fail
; 
22961     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
22968 static PyObject 
*_wrap_PyApp_IsMainLoopRunning(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
22969     PyObject 
*resultobj
; 
22971     char *kwnames
[] = { 
22975     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_IsMainLoopRunning",kwnames
)) goto fail
; 
22977         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22978         result 
= (bool)wxPyApp::IsMainLoopRunning(); 
22980         wxPyEndAllowThreads(__tstate
); 
22981         if (PyErr_Occurred()) SWIG_fail
; 
22984         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
22992 static PyObject 
*_wrap_PyApp_MainLoop(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
22993     PyObject 
*resultobj
; 
22994     wxPyApp 
*arg1 
= (wxPyApp 
*) 0 ; 
22996     PyObject 
* obj0 
= 0 ; 
22997     char *kwnames
[] = { 
22998         (char *) "self", NULL 
 
23001     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_MainLoop",kwnames
,&obj0
)) goto fail
; 
23002     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION 
| 0); 
23003     if (SWIG_arg_fail(1)) SWIG_fail
; 
23005         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23006         result 
= (int)(arg1
)->MainLoop(); 
23008         wxPyEndAllowThreads(__tstate
); 
23009         if (PyErr_Occurred()) SWIG_fail
; 
23012         resultobj 
= SWIG_From_int((int)(result
));  
23020 static PyObject 
*_wrap_PyApp_Exit(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
23021     PyObject 
*resultobj
; 
23022     wxPyApp 
*arg1 
= (wxPyApp 
*) 0 ; 
23023     PyObject 
* obj0 
= 0 ; 
23024     char *kwnames
[] = { 
23025         (char *) "self", NULL 
 
23028     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Exit",kwnames
,&obj0
)) goto fail
; 
23029     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION 
| 0); 
23030     if (SWIG_arg_fail(1)) SWIG_fail
; 
23032         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23035         wxPyEndAllowThreads(__tstate
); 
23036         if (PyErr_Occurred()) SWIG_fail
; 
23038     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
23045 static PyObject 
*_wrap_PyApp_ExitMainLoop(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
23046     PyObject 
*resultobj
; 
23047     wxPyApp 
*arg1 
= (wxPyApp 
*) 0 ; 
23048     PyObject 
* obj0 
= 0 ; 
23049     char *kwnames
[] = { 
23050         (char *) "self", NULL 
 
23053     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ExitMainLoop",kwnames
,&obj0
)) goto fail
; 
23054     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION 
| 0); 
23055     if (SWIG_arg_fail(1)) SWIG_fail
; 
23057         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23058         (arg1
)->ExitMainLoop(); 
23060         wxPyEndAllowThreads(__tstate
); 
23061         if (PyErr_Occurred()) SWIG_fail
; 
23063     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
23070 static PyObject 
*_wrap_PyApp_Pending(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
23071     PyObject 
*resultobj
; 
23072     wxPyApp 
*arg1 
= (wxPyApp 
*) 0 ; 
23074     PyObject 
* obj0 
= 0 ; 
23075     char *kwnames
[] = { 
23076         (char *) "self", NULL 
 
23079     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Pending",kwnames
,&obj0
)) goto fail
; 
23080     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION 
| 0); 
23081     if (SWIG_arg_fail(1)) SWIG_fail
; 
23083         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23084         result 
= (bool)(arg1
)->Pending(); 
23086         wxPyEndAllowThreads(__tstate
); 
23087         if (PyErr_Occurred()) SWIG_fail
; 
23090         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
23098 static PyObject 
*_wrap_PyApp_Dispatch(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
23099     PyObject 
*resultobj
; 
23100     wxPyApp 
*arg1 
= (wxPyApp 
*) 0 ; 
23102     PyObject 
* obj0 
= 0 ; 
23103     char *kwnames
[] = { 
23104         (char *) "self", NULL 
 
23107     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Dispatch",kwnames
,&obj0
)) goto fail
; 
23108     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION 
| 0); 
23109     if (SWIG_arg_fail(1)) SWIG_fail
; 
23111         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23112         result 
= (bool)(arg1
)->Dispatch(); 
23114         wxPyEndAllowThreads(__tstate
); 
23115         if (PyErr_Occurred()) SWIG_fail
; 
23118         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
23126 static PyObject 
*_wrap_PyApp_ProcessIdle(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
23127     PyObject 
*resultobj
; 
23128     wxPyApp 
*arg1 
= (wxPyApp 
*) 0 ; 
23130     PyObject 
* obj0 
= 0 ; 
23131     char *kwnames
[] = { 
23132         (char *) "self", NULL 
 
23135     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ProcessIdle",kwnames
,&obj0
)) goto fail
; 
23136     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION 
| 0); 
23137     if (SWIG_arg_fail(1)) SWIG_fail
; 
23139         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23140         result 
= (bool)(arg1
)->ProcessIdle(); 
23142         wxPyEndAllowThreads(__tstate
); 
23143         if (PyErr_Occurred()) SWIG_fail
; 
23146         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
23154 static PyObject 
*_wrap_PyApp_SendIdleEvents(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
23155     PyObject 
*resultobj
; 
23156     wxPyApp 
*arg1 
= (wxPyApp 
*) 0 ; 
23157     wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
23158     wxIdleEvent 
*arg3 
= 0 ; 
23160     PyObject 
* obj0 
= 0 ; 
23161     PyObject 
* obj1 
= 0 ; 
23162     PyObject 
* obj2 
= 0 ; 
23163     char *kwnames
[] = { 
23164         (char *) "self",(char *) "win",(char *) "event", NULL 
 
23167     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyApp_SendIdleEvents",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
23168     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION 
| 0); 
23169     if (SWIG_arg_fail(1)) SWIG_fail
; 
23170     SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
23171     if (SWIG_arg_fail(2)) SWIG_fail
; 
23173         SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxIdleEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
23174         if (SWIG_arg_fail(3)) SWIG_fail
; 
23175         if (arg3 
== NULL
) { 
23176             SWIG_null_ref("wxIdleEvent"); 
23178         if (SWIG_arg_fail(3)) SWIG_fail
; 
23181         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23182         result 
= (bool)(arg1
)->SendIdleEvents(arg2
,*arg3
); 
23184         wxPyEndAllowThreads(__tstate
); 
23185         if (PyErr_Occurred()) SWIG_fail
; 
23188         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
23196 static PyObject 
*_wrap_PyApp_IsActive(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
23197     PyObject 
*resultobj
; 
23198     wxPyApp 
*arg1 
= (wxPyApp 
*) 0 ; 
23200     PyObject 
* obj0 
= 0 ; 
23201     char *kwnames
[] = { 
23202         (char *) "self", NULL 
 
23205     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_IsActive",kwnames
,&obj0
)) goto fail
; 
23206     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION 
| 0); 
23207     if (SWIG_arg_fail(1)) SWIG_fail
; 
23209         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23210         result 
= (bool)((wxPyApp 
const *)arg1
)->IsActive(); 
23212         wxPyEndAllowThreads(__tstate
); 
23213         if (PyErr_Occurred()) SWIG_fail
; 
23216         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
23224 static PyObject 
*_wrap_PyApp_SetTopWindow(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
23225     PyObject 
*resultobj
; 
23226     wxPyApp 
*arg1 
= (wxPyApp 
*) 0 ; 
23227     wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
23228     PyObject 
* obj0 
= 0 ; 
23229     PyObject 
* obj1 
= 0 ; 
23230     char *kwnames
[] = { 
23231         (char *) "self",(char *) "win", NULL 
 
23234     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetTopWindow",kwnames
,&obj0
,&obj1
)) goto fail
; 
23235     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION 
| 0); 
23236     if (SWIG_arg_fail(1)) SWIG_fail
; 
23237     SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
23238     if (SWIG_arg_fail(2)) SWIG_fail
; 
23240         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23241         (arg1
)->SetTopWindow(arg2
); 
23243         wxPyEndAllowThreads(__tstate
); 
23244         if (PyErr_Occurred()) SWIG_fail
; 
23246     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
23253 static PyObject 
*_wrap_PyApp_GetTopWindow(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
23254     PyObject 
*resultobj
; 
23255     wxPyApp 
*arg1 
= (wxPyApp 
*) 0 ; 
23257     PyObject 
* obj0 
= 0 ; 
23258     char *kwnames
[] = { 
23259         (char *) "self", NULL 
 
23262     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetTopWindow",kwnames
,&obj0
)) goto fail
; 
23263     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION 
| 0); 
23264     if (SWIG_arg_fail(1)) SWIG_fail
; 
23266         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23267         result 
= (wxWindow 
*)((wxPyApp 
const *)arg1
)->GetTopWindow(); 
23269         wxPyEndAllowThreads(__tstate
); 
23270         if (PyErr_Occurred()) SWIG_fail
; 
23273         resultobj 
= wxPyMake_wxObject(result
, 0);  
23281 static PyObject 
*_wrap_PyApp_SetExitOnFrameDelete(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
23282     PyObject 
*resultobj
; 
23283     wxPyApp 
*arg1 
= (wxPyApp 
*) 0 ; 
23285     PyObject 
* obj0 
= 0 ; 
23286     PyObject 
* obj1 
= 0 ; 
23287     char *kwnames
[] = { 
23288         (char *) "self",(char *) "flag", NULL 
 
23291     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetExitOnFrameDelete",kwnames
,&obj0
,&obj1
)) goto fail
; 
23292     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION 
| 0); 
23293     if (SWIG_arg_fail(1)) SWIG_fail
; 
23295         arg2 
= (bool)(SWIG_As_bool(obj1
));  
23296         if (SWIG_arg_fail(2)) SWIG_fail
; 
23299         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23300         (arg1
)->SetExitOnFrameDelete(arg2
); 
23302         wxPyEndAllowThreads(__tstate
); 
23303         if (PyErr_Occurred()) SWIG_fail
; 
23305     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
23312 static PyObject 
*_wrap_PyApp_GetExitOnFrameDelete(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
23313     PyObject 
*resultobj
; 
23314     wxPyApp 
*arg1 
= (wxPyApp 
*) 0 ; 
23316     PyObject 
* obj0 
= 0 ; 
23317     char *kwnames
[] = { 
23318         (char *) "self", NULL 
 
23321     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetExitOnFrameDelete",kwnames
,&obj0
)) goto fail
; 
23322     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION 
| 0); 
23323     if (SWIG_arg_fail(1)) SWIG_fail
; 
23325         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23326         result 
= (bool)((wxPyApp 
const *)arg1
)->GetExitOnFrameDelete(); 
23328         wxPyEndAllowThreads(__tstate
); 
23329         if (PyErr_Occurred()) SWIG_fail
; 
23332         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
23340 static PyObject 
*_wrap_PyApp_SetUseBestVisual(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
23341     PyObject 
*resultobj
; 
23342     wxPyApp 
*arg1 
= (wxPyApp 
*) 0 ; 
23344     PyObject 
* obj0 
= 0 ; 
23345     PyObject 
* obj1 
= 0 ; 
23346     char *kwnames
[] = { 
23347         (char *) "self",(char *) "flag", NULL 
 
23350     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetUseBestVisual",kwnames
,&obj0
,&obj1
)) goto fail
; 
23351     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION 
| 0); 
23352     if (SWIG_arg_fail(1)) SWIG_fail
; 
23354         arg2 
= (bool)(SWIG_As_bool(obj1
));  
23355         if (SWIG_arg_fail(2)) SWIG_fail
; 
23358         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23359         (arg1
)->SetUseBestVisual(arg2
); 
23361         wxPyEndAllowThreads(__tstate
); 
23362         if (PyErr_Occurred()) SWIG_fail
; 
23364     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
23371 static PyObject 
*_wrap_PyApp_GetUseBestVisual(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
23372     PyObject 
*resultobj
; 
23373     wxPyApp 
*arg1 
= (wxPyApp 
*) 0 ; 
23375     PyObject 
* obj0 
= 0 ; 
23376     char *kwnames
[] = { 
23377         (char *) "self", NULL 
 
23380     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetUseBestVisual",kwnames
,&obj0
)) goto fail
; 
23381     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION 
| 0); 
23382     if (SWIG_arg_fail(1)) SWIG_fail
; 
23384         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23385         result 
= (bool)((wxPyApp 
const *)arg1
)->GetUseBestVisual(); 
23387         wxPyEndAllowThreads(__tstate
); 
23388         if (PyErr_Occurred()) SWIG_fail
; 
23391         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
23399 static PyObject 
*_wrap_PyApp_SetPrintMode(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
23400     PyObject 
*resultobj
; 
23401     wxPyApp 
*arg1 
= (wxPyApp 
*) 0 ; 
23403     PyObject 
* obj0 
= 0 ; 
23404     PyObject 
* obj1 
= 0 ; 
23405     char *kwnames
[] = { 
23406         (char *) "self",(char *) "mode", NULL 
 
23409     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetPrintMode",kwnames
,&obj0
,&obj1
)) goto fail
; 
23410     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION 
| 0); 
23411     if (SWIG_arg_fail(1)) SWIG_fail
; 
23413         arg2 
= (int)(SWIG_As_int(obj1
));  
23414         if (SWIG_arg_fail(2)) SWIG_fail
; 
23417         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23418         (arg1
)->SetPrintMode(arg2
); 
23420         wxPyEndAllowThreads(__tstate
); 
23421         if (PyErr_Occurred()) SWIG_fail
; 
23423     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
23430 static PyObject 
*_wrap_PyApp_GetPrintMode(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
23431     PyObject 
*resultobj
; 
23432     wxPyApp 
*arg1 
= (wxPyApp 
*) 0 ; 
23434     PyObject 
* obj0 
= 0 ; 
23435     char *kwnames
[] = { 
23436         (char *) "self", NULL 
 
23439     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetPrintMode",kwnames
,&obj0
)) goto fail
; 
23440     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION 
| 0); 
23441     if (SWIG_arg_fail(1)) SWIG_fail
; 
23443         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23444         result 
= (int)((wxPyApp 
const *)arg1
)->GetPrintMode(); 
23446         wxPyEndAllowThreads(__tstate
); 
23447         if (PyErr_Occurred()) SWIG_fail
; 
23450         resultobj 
= SWIG_From_int((int)(result
));  
23458 static PyObject 
*_wrap_PyApp_SetAssertMode(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
23459     PyObject 
*resultobj
; 
23460     wxPyApp 
*arg1 
= (wxPyApp 
*) 0 ; 
23462     PyObject 
* obj0 
= 0 ; 
23463     PyObject 
* obj1 
= 0 ; 
23464     char *kwnames
[] = { 
23465         (char *) "self",(char *) "mode", NULL 
 
23468     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAssertMode",kwnames
,&obj0
,&obj1
)) goto fail
; 
23469     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION 
| 0); 
23470     if (SWIG_arg_fail(1)) SWIG_fail
; 
23472         arg2 
= (int)(SWIG_As_int(obj1
));  
23473         if (SWIG_arg_fail(2)) SWIG_fail
; 
23476         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23477         (arg1
)->SetAssertMode(arg2
); 
23479         wxPyEndAllowThreads(__tstate
); 
23480         if (PyErr_Occurred()) SWIG_fail
; 
23482     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
23489 static PyObject 
*_wrap_PyApp_GetAssertMode(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
23490     PyObject 
*resultobj
; 
23491     wxPyApp 
*arg1 
= (wxPyApp 
*) 0 ; 
23493     PyObject 
* obj0 
= 0 ; 
23494     char *kwnames
[] = { 
23495         (char *) "self", NULL 
 
23498     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetAssertMode",kwnames
,&obj0
)) goto fail
; 
23499     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION 
| 0); 
23500     if (SWIG_arg_fail(1)) SWIG_fail
; 
23502         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23503         result 
= (int)(arg1
)->GetAssertMode(); 
23505         wxPyEndAllowThreads(__tstate
); 
23506         if (PyErr_Occurred()) SWIG_fail
; 
23509         resultobj 
= SWIG_From_int((int)(result
));  
23517 static PyObject 
*_wrap_PyApp_GetMacSupportPCMenuShortcuts(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
23518     PyObject 
*resultobj
; 
23520     char *kwnames
[] = { 
23524     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacSupportPCMenuShortcuts",kwnames
)) goto fail
; 
23526         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23527         result 
= (bool)wxPyApp::GetMacSupportPCMenuShortcuts(); 
23529         wxPyEndAllowThreads(__tstate
); 
23530         if (PyErr_Occurred()) SWIG_fail
; 
23533         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
23541 static PyObject 
*_wrap_PyApp_GetMacAboutMenuItemId(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
23542     PyObject 
*resultobj
; 
23544     char *kwnames
[] = { 
23548     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacAboutMenuItemId",kwnames
)) goto fail
; 
23550         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23551         result 
= (long)wxPyApp::GetMacAboutMenuItemId(); 
23553         wxPyEndAllowThreads(__tstate
); 
23554         if (PyErr_Occurred()) SWIG_fail
; 
23557         resultobj 
= SWIG_From_long((long)(result
));  
23565 static PyObject 
*_wrap_PyApp_GetMacPreferencesMenuItemId(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
23566     PyObject 
*resultobj
; 
23568     char *kwnames
[] = { 
23572     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacPreferencesMenuItemId",kwnames
)) goto fail
; 
23574         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23575         result 
= (long)wxPyApp::GetMacPreferencesMenuItemId(); 
23577         wxPyEndAllowThreads(__tstate
); 
23578         if (PyErr_Occurred()) SWIG_fail
; 
23581         resultobj 
= SWIG_From_long((long)(result
));  
23589 static PyObject 
*_wrap_PyApp_GetMacExitMenuItemId(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
23590     PyObject 
*resultobj
; 
23592     char *kwnames
[] = { 
23596     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacExitMenuItemId",kwnames
)) goto fail
; 
23598         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23599         result 
= (long)wxPyApp::GetMacExitMenuItemId(); 
23601         wxPyEndAllowThreads(__tstate
); 
23602         if (PyErr_Occurred()) SWIG_fail
; 
23605         resultobj 
= SWIG_From_long((long)(result
));  
23613 static PyObject 
*_wrap_PyApp_GetMacHelpMenuTitleName(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
23614     PyObject 
*resultobj
; 
23616     char *kwnames
[] = { 
23620     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacHelpMenuTitleName",kwnames
)) goto fail
; 
23622         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23623         result 
= wxPyApp::GetMacHelpMenuTitleName(); 
23625         wxPyEndAllowThreads(__tstate
); 
23626         if (PyErr_Occurred()) SWIG_fail
; 
23630         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
23632         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
23641 static PyObject 
*_wrap_PyApp_SetMacSupportPCMenuShortcuts(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
23642     PyObject 
*resultobj
; 
23644     PyObject 
* obj0 
= 0 ; 
23645     char *kwnames
[] = { 
23646         (char *) "val", NULL 
 
23649     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacSupportPCMenuShortcuts",kwnames
,&obj0
)) goto fail
; 
23651         arg1 
= (bool)(SWIG_As_bool(obj0
));  
23652         if (SWIG_arg_fail(1)) SWIG_fail
; 
23655         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23656         wxPyApp::SetMacSupportPCMenuShortcuts(arg1
); 
23658         wxPyEndAllowThreads(__tstate
); 
23659         if (PyErr_Occurred()) SWIG_fail
; 
23661     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
23668 static PyObject 
*_wrap_PyApp_SetMacAboutMenuItemId(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
23669     PyObject 
*resultobj
; 
23671     PyObject 
* obj0 
= 0 ; 
23672     char *kwnames
[] = { 
23673         (char *) "val", NULL 
 
23676     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacAboutMenuItemId",kwnames
,&obj0
)) goto fail
; 
23678         arg1 
= (long)(SWIG_As_long(obj0
));  
23679         if (SWIG_arg_fail(1)) SWIG_fail
; 
23682         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23683         wxPyApp::SetMacAboutMenuItemId(arg1
); 
23685         wxPyEndAllowThreads(__tstate
); 
23686         if (PyErr_Occurred()) SWIG_fail
; 
23688     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
23695 static PyObject 
*_wrap_PyApp_SetMacPreferencesMenuItemId(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
23696     PyObject 
*resultobj
; 
23698     PyObject 
* obj0 
= 0 ; 
23699     char *kwnames
[] = { 
23700         (char *) "val", NULL 
 
23703     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacPreferencesMenuItemId",kwnames
,&obj0
)) goto fail
; 
23705         arg1 
= (long)(SWIG_As_long(obj0
));  
23706         if (SWIG_arg_fail(1)) SWIG_fail
; 
23709         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23710         wxPyApp::SetMacPreferencesMenuItemId(arg1
); 
23712         wxPyEndAllowThreads(__tstate
); 
23713         if (PyErr_Occurred()) SWIG_fail
; 
23715     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
23722 static PyObject 
*_wrap_PyApp_SetMacExitMenuItemId(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
23723     PyObject 
*resultobj
; 
23725     PyObject 
* obj0 
= 0 ; 
23726     char *kwnames
[] = { 
23727         (char *) "val", NULL 
 
23730     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacExitMenuItemId",kwnames
,&obj0
)) goto fail
; 
23732         arg1 
= (long)(SWIG_As_long(obj0
));  
23733         if (SWIG_arg_fail(1)) SWIG_fail
; 
23736         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23737         wxPyApp::SetMacExitMenuItemId(arg1
); 
23739         wxPyEndAllowThreads(__tstate
); 
23740         if (PyErr_Occurred()) SWIG_fail
; 
23742     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
23749 static PyObject 
*_wrap_PyApp_SetMacHelpMenuTitleName(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
23750     PyObject 
*resultobj
; 
23751     wxString 
*arg1 
= 0 ; 
23752     bool temp1 
= false ; 
23753     PyObject 
* obj0 
= 0 ; 
23754     char *kwnames
[] = { 
23755         (char *) "val", NULL 
 
23758     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacHelpMenuTitleName",kwnames
,&obj0
)) goto fail
; 
23760         arg1 
= wxString_in_helper(obj0
); 
23761         if (arg1 
== NULL
) SWIG_fail
; 
23765         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23766         wxPyApp::SetMacHelpMenuTitleName((wxString 
const &)*arg1
); 
23768         wxPyEndAllowThreads(__tstate
); 
23769         if (PyErr_Occurred()) SWIG_fail
; 
23771     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
23786 static PyObject 
*_wrap_PyApp__BootstrapApp(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
23787     PyObject 
*resultobj
; 
23788     wxPyApp 
*arg1 
= (wxPyApp 
*) 0 ; 
23789     PyObject 
* obj0 
= 0 ; 
23790     char *kwnames
[] = { 
23791         (char *) "self", NULL 
 
23794     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp__BootstrapApp",kwnames
,&obj0
)) goto fail
; 
23795     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION 
| 0); 
23796     if (SWIG_arg_fail(1)) SWIG_fail
; 
23798         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23799         (arg1
)->_BootstrapApp(); 
23801         wxPyEndAllowThreads(__tstate
); 
23802         if (PyErr_Occurred()) SWIG_fail
; 
23804     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
23811 static PyObject 
*_wrap_PyApp_GetComCtl32Version(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
23812     PyObject 
*resultobj
; 
23814     char *kwnames
[] = { 
23818     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetComCtl32Version",kwnames
)) goto fail
; 
23820         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23821         result 
= (int)PyApp_GetComCtl32Version(); 
23823         wxPyEndAllowThreads(__tstate
); 
23824         if (PyErr_Occurred()) SWIG_fail
; 
23827         resultobj 
= SWIG_From_int((int)(result
));  
23835 static PyObject 
* PyApp_swigregister(PyObject 
*, PyObject 
*args
) { 
23837     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
23838     SWIG_TypeClientData(SWIGTYPE_p_wxPyApp
, obj
); 
23840     return Py_BuildValue((char *)""); 
23842 static PyObject 
*_wrap_Exit(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
23843     PyObject 
*resultobj
; 
23844     char *kwnames
[] = { 
23848     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Exit",kwnames
)) goto fail
; 
23850         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23853         wxPyEndAllowThreads(__tstate
); 
23854         if (PyErr_Occurred()) SWIG_fail
; 
23856     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
23863 static PyObject 
*_wrap_Yield(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
23864     PyObject 
*resultobj
; 
23866     char *kwnames
[] = { 
23870     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Yield",kwnames
)) goto fail
; 
23872         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23873         result 
= (bool)wxYield(); 
23875         wxPyEndAllowThreads(__tstate
); 
23876         if (PyErr_Occurred()) SWIG_fail
; 
23879         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
23887 static PyObject 
*_wrap_YieldIfNeeded(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
23888     PyObject 
*resultobj
; 
23890     char *kwnames
[] = { 
23894     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":YieldIfNeeded",kwnames
)) goto fail
; 
23896         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23897         result 
= (bool)wxYieldIfNeeded(); 
23899         wxPyEndAllowThreads(__tstate
); 
23900         if (PyErr_Occurred()) SWIG_fail
; 
23903         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
23911 static PyObject 
*_wrap_SafeYield(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
23912     PyObject 
*resultobj
; 
23913     wxWindow 
*arg1 
= (wxWindow 
*) NULL 
; 
23914     bool arg2 
= (bool) false ; 
23916     PyObject 
* obj0 
= 0 ; 
23917     PyObject 
* obj1 
= 0 ; 
23918     char *kwnames
[] = { 
23919         (char *) "win",(char *) "onlyIfNeeded", NULL 
 
23922     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:SafeYield",kwnames
,&obj0
,&obj1
)) goto fail
; 
23924         SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
23925         if (SWIG_arg_fail(1)) SWIG_fail
; 
23929             arg2 
= (bool)(SWIG_As_bool(obj1
));  
23930             if (SWIG_arg_fail(2)) SWIG_fail
; 
23934         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23935         result 
= (bool)wxSafeYield(arg1
,arg2
); 
23937         wxPyEndAllowThreads(__tstate
); 
23938         if (PyErr_Occurred()) SWIG_fail
; 
23941         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
23949 static PyObject 
*_wrap_WakeUpIdle(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
23950     PyObject 
*resultobj
; 
23951     char *kwnames
[] = { 
23955     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":WakeUpIdle",kwnames
)) goto fail
; 
23957         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23960         wxPyEndAllowThreads(__tstate
); 
23961         if (PyErr_Occurred()) SWIG_fail
; 
23963     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
23970 static PyObject 
*_wrap_PostEvent(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
23971     PyObject 
*resultobj
; 
23972     wxEvtHandler 
*arg1 
= (wxEvtHandler 
*) 0 ; 
23973     wxEvent 
*arg2 
= 0 ; 
23974     PyObject 
* obj0 
= 0 ; 
23975     PyObject 
* obj1 
= 0 ; 
23976     char *kwnames
[] = { 
23977         (char *) "dest",(char *) "event", NULL 
 
23980     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostEvent",kwnames
,&obj0
,&obj1
)) goto fail
; 
23981     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION 
| 0); 
23982     if (SWIG_arg_fail(1)) SWIG_fail
; 
23984         SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
23985         if (SWIG_arg_fail(2)) SWIG_fail
; 
23986         if (arg2 
== NULL
) { 
23987             SWIG_null_ref("wxEvent"); 
23989         if (SWIG_arg_fail(2)) SWIG_fail
; 
23992         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23993         wxPostEvent(arg1
,*arg2
); 
23995         wxPyEndAllowThreads(__tstate
); 
23996         if (PyErr_Occurred()) SWIG_fail
; 
23998     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
24005 static PyObject 
*_wrap_App_CleanUp(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
24006     PyObject 
*resultobj
; 
24007     char *kwnames
[] = { 
24011     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":App_CleanUp",kwnames
)) goto fail
; 
24013         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24016         wxPyEndAllowThreads(__tstate
); 
24017         if (PyErr_Occurred()) SWIG_fail
; 
24019     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
24026 static PyObject 
*_wrap_GetApp(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
24027     PyObject 
*resultobj
; 
24029     char *kwnames
[] = { 
24033     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetApp",kwnames
)) goto fail
; 
24035         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24036         result 
= (wxPyApp 
*)wxPyGetApp(); 
24038         wxPyEndAllowThreads(__tstate
); 
24039         if (PyErr_Occurred()) SWIG_fail
; 
24042         resultobj 
= wxPyMake_wxObject(result
, 0);  
24050 static PyObject 
*_wrap_SetDefaultPyEncoding(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
24051     PyObject 
*resultobj
; 
24052     char *arg1 
= (char *) 0 ; 
24053     PyObject 
* obj0 
= 0 ; 
24054     char *kwnames
[] = { 
24055         (char *) "encoding", NULL 
 
24058     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetDefaultPyEncoding",kwnames
,&obj0
)) goto fail
; 
24059     if (!SWIG_AsCharPtr(obj0
, (char**)&arg1
)) { 
24060         SWIG_arg_fail(1);SWIG_fail
; 
24063         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24064         wxSetDefaultPyEncoding((char const *)arg1
); 
24066         wxPyEndAllowThreads(__tstate
); 
24067         if (PyErr_Occurred()) SWIG_fail
; 
24069     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
24076 static PyObject 
*_wrap_GetDefaultPyEncoding(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
24077     PyObject 
*resultobj
; 
24079     char *kwnames
[] = { 
24083     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDefaultPyEncoding",kwnames
)) goto fail
; 
24085         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24086         result 
= (char *)wxGetDefaultPyEncoding(); 
24088         wxPyEndAllowThreads(__tstate
); 
24089         if (PyErr_Occurred()) SWIG_fail
; 
24091     resultobj 
= SWIG_FromCharPtr(result
); 
24098 static PyObject 
*_wrap_new_EventLoop(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
24099     PyObject 
*resultobj
; 
24100     wxEventLoop 
*result
; 
24101     char *kwnames
[] = { 
24105     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EventLoop",kwnames
)) goto fail
; 
24107         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24108         result 
= (wxEventLoop 
*)new wxEventLoop(); 
24110         wxPyEndAllowThreads(__tstate
); 
24111         if (PyErr_Occurred()) SWIG_fail
; 
24113     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEventLoop
, 1); 
24120 static PyObject 
*_wrap_delete_EventLoop(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
24121     PyObject 
*resultobj
; 
24122     wxEventLoop 
*arg1 
= (wxEventLoop 
*) 0 ; 
24123     PyObject 
* obj0 
= 0 ; 
24124     char *kwnames
[] = { 
24125         (char *) "self", NULL 
 
24128     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_EventLoop",kwnames
,&obj0
)) goto fail
; 
24129     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION 
| 0); 
24130     if (SWIG_arg_fail(1)) SWIG_fail
; 
24132         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24135         wxPyEndAllowThreads(__tstate
); 
24136         if (PyErr_Occurred()) SWIG_fail
; 
24138     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
24145 static PyObject 
*_wrap_EventLoop_Run(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
24146     PyObject 
*resultobj
; 
24147     wxEventLoop 
*arg1 
= (wxEventLoop 
*) 0 ; 
24149     PyObject 
* obj0 
= 0 ; 
24150     char *kwnames
[] = { 
24151         (char *) "self", NULL 
 
24154     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_Run",kwnames
,&obj0
)) goto fail
; 
24155     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION 
| 0); 
24156     if (SWIG_arg_fail(1)) SWIG_fail
; 
24158         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24159         result 
= (int)(arg1
)->Run(); 
24161         wxPyEndAllowThreads(__tstate
); 
24162         if (PyErr_Occurred()) SWIG_fail
; 
24165         resultobj 
= SWIG_From_int((int)(result
));  
24173 static PyObject 
*_wrap_EventLoop_Exit(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
24174     PyObject 
*resultobj
; 
24175     wxEventLoop 
*arg1 
= (wxEventLoop 
*) 0 ; 
24176     int arg2 
= (int) 0 ; 
24177     PyObject 
* obj0 
= 0 ; 
24178     PyObject 
* obj1 
= 0 ; 
24179     char *kwnames
[] = { 
24180         (char *) "self",(char *) "rc", NULL 
 
24183     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EventLoop_Exit",kwnames
,&obj0
,&obj1
)) goto fail
; 
24184     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION 
| 0); 
24185     if (SWIG_arg_fail(1)) SWIG_fail
; 
24188             arg2 
= (int)(SWIG_As_int(obj1
));  
24189             if (SWIG_arg_fail(2)) SWIG_fail
; 
24193         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24194         (arg1
)->Exit(arg2
); 
24196         wxPyEndAllowThreads(__tstate
); 
24197         if (PyErr_Occurred()) SWIG_fail
; 
24199     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
24206 static PyObject 
*_wrap_EventLoop_Pending(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
24207     PyObject 
*resultobj
; 
24208     wxEventLoop 
*arg1 
= (wxEventLoop 
*) 0 ; 
24210     PyObject 
* obj0 
= 0 ; 
24211     char *kwnames
[] = { 
24212         (char *) "self", NULL 
 
24215     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_Pending",kwnames
,&obj0
)) goto fail
; 
24216     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION 
| 0); 
24217     if (SWIG_arg_fail(1)) SWIG_fail
; 
24219         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24220         result 
= (bool)((wxEventLoop 
const *)arg1
)->Pending(); 
24222         wxPyEndAllowThreads(__tstate
); 
24223         if (PyErr_Occurred()) SWIG_fail
; 
24226         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
24234 static PyObject 
*_wrap_EventLoop_Dispatch(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
24235     PyObject 
*resultobj
; 
24236     wxEventLoop 
*arg1 
= (wxEventLoop 
*) 0 ; 
24238     PyObject 
* obj0 
= 0 ; 
24239     char *kwnames
[] = { 
24240         (char *) "self", NULL 
 
24243     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_Dispatch",kwnames
,&obj0
)) goto fail
; 
24244     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION 
| 0); 
24245     if (SWIG_arg_fail(1)) SWIG_fail
; 
24247         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24248         result 
= (bool)(arg1
)->Dispatch(); 
24250         wxPyEndAllowThreads(__tstate
); 
24251         if (PyErr_Occurred()) SWIG_fail
; 
24254         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
24262 static PyObject 
*_wrap_EventLoop_IsRunning(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
24263     PyObject 
*resultobj
; 
24264     wxEventLoop 
*arg1 
= (wxEventLoop 
*) 0 ; 
24266     PyObject 
* obj0 
= 0 ; 
24267     char *kwnames
[] = { 
24268         (char *) "self", NULL 
 
24271     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_IsRunning",kwnames
,&obj0
)) goto fail
; 
24272     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION 
| 0); 
24273     if (SWIG_arg_fail(1)) SWIG_fail
; 
24275         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24276         result 
= (bool)((wxEventLoop 
const *)arg1
)->IsRunning(); 
24278         wxPyEndAllowThreads(__tstate
); 
24279         if (PyErr_Occurred()) SWIG_fail
; 
24282         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
24290 static PyObject 
*_wrap_EventLoop_GetActive(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
24291     PyObject 
*resultobj
; 
24292     wxEventLoop 
*result
; 
24293     char *kwnames
[] = { 
24297     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":EventLoop_GetActive",kwnames
)) goto fail
; 
24299         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24300         result 
= (wxEventLoop 
*)wxEventLoop::GetActive(); 
24302         wxPyEndAllowThreads(__tstate
); 
24303         if (PyErr_Occurred()) SWIG_fail
; 
24305     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEventLoop
, 0); 
24312 static PyObject 
*_wrap_EventLoop_SetActive(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
24313     PyObject 
*resultobj
; 
24314     wxEventLoop 
*arg1 
= (wxEventLoop 
*) 0 ; 
24315     PyObject 
* obj0 
= 0 ; 
24316     char *kwnames
[] = { 
24317         (char *) "loop", NULL 
 
24320     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_SetActive",kwnames
,&obj0
)) goto fail
; 
24321     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION 
| 0); 
24322     if (SWIG_arg_fail(1)) SWIG_fail
; 
24324         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24325         wxEventLoop::SetActive(arg1
); 
24327         wxPyEndAllowThreads(__tstate
); 
24328         if (PyErr_Occurred()) SWIG_fail
; 
24330     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
24337 static PyObject 
* EventLoop_swigregister(PyObject 
*, PyObject 
*args
) { 
24339     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
24340     SWIG_TypeClientData(SWIGTYPE_p_wxEventLoop
, obj
); 
24342     return Py_BuildValue((char *)""); 
24344 static PyObject 
*_wrap_new_AcceleratorEntry(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
24345     PyObject 
*resultobj
; 
24346     int arg1 
= (int) 0 ; 
24347     int arg2 
= (int) 0 ; 
24348     int arg3 
= (int) 0 ; 
24349     wxAcceleratorEntry 
*result
; 
24350     PyObject 
* obj0 
= 0 ; 
24351     PyObject 
* obj1 
= 0 ; 
24352     PyObject 
* obj2 
= 0 ; 
24353     char *kwnames
[] = { 
24354         (char *) "flags",(char *) "keyCode",(char *) "cmdID", NULL 
 
24357     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_AcceleratorEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
24360             arg1 
= (int)(SWIG_As_int(obj0
));  
24361             if (SWIG_arg_fail(1)) SWIG_fail
; 
24366             arg2 
= (int)(SWIG_As_int(obj1
));  
24367             if (SWIG_arg_fail(2)) SWIG_fail
; 
24372             arg3 
= (int)(SWIG_As_int(obj2
));  
24373             if (SWIG_arg_fail(3)) SWIG_fail
; 
24377         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24378         result 
= (wxAcceleratorEntry 
*)new wxAcceleratorEntry(arg1
,arg2
,arg3
); 
24380         wxPyEndAllowThreads(__tstate
); 
24381         if (PyErr_Occurred()) SWIG_fail
; 
24383     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 1); 
24390 static PyObject 
*_wrap_delete_AcceleratorEntry(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
24391     PyObject 
*resultobj
; 
24392     wxAcceleratorEntry 
*arg1 
= (wxAcceleratorEntry 
*) 0 ; 
24393     PyObject 
* obj0 
= 0 ; 
24394     char *kwnames
[] = { 
24395         (char *) "self", NULL 
 
24398     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_AcceleratorEntry",kwnames
,&obj0
)) goto fail
; 
24399     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION 
| 0); 
24400     if (SWIG_arg_fail(1)) SWIG_fail
; 
24402         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24405         wxPyEndAllowThreads(__tstate
); 
24406         if (PyErr_Occurred()) SWIG_fail
; 
24408     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
24415 static PyObject 
*_wrap_AcceleratorEntry_Set(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
24416     PyObject 
*resultobj
; 
24417     wxAcceleratorEntry 
*arg1 
= (wxAcceleratorEntry 
*) 0 ; 
24421     PyObject 
* obj0 
= 0 ; 
24422     PyObject 
* obj1 
= 0 ; 
24423     PyObject 
* obj2 
= 0 ; 
24424     PyObject 
* obj3 
= 0 ; 
24425     char *kwnames
[] = { 
24426         (char *) "self",(char *) "flags",(char *) "keyCode",(char *) "cmd", NULL 
 
24429     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AcceleratorEntry_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
24430     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION 
| 0); 
24431     if (SWIG_arg_fail(1)) SWIG_fail
; 
24433         arg2 
= (int)(SWIG_As_int(obj1
));  
24434         if (SWIG_arg_fail(2)) SWIG_fail
; 
24437         arg3 
= (int)(SWIG_As_int(obj2
));  
24438         if (SWIG_arg_fail(3)) SWIG_fail
; 
24441         arg4 
= (int)(SWIG_As_int(obj3
));  
24442         if (SWIG_arg_fail(4)) SWIG_fail
; 
24445         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24446         (arg1
)->Set(arg2
,arg3
,arg4
); 
24448         wxPyEndAllowThreads(__tstate
); 
24449         if (PyErr_Occurred()) SWIG_fail
; 
24451     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
24458 static PyObject 
*_wrap_AcceleratorEntry_GetFlags(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
24459     PyObject 
*resultobj
; 
24460     wxAcceleratorEntry 
*arg1 
= (wxAcceleratorEntry 
*) 0 ; 
24462     PyObject 
* obj0 
= 0 ; 
24463     char *kwnames
[] = { 
24464         (char *) "self", NULL 
 
24467     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetFlags",kwnames
,&obj0
)) goto fail
; 
24468     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION 
| 0); 
24469     if (SWIG_arg_fail(1)) SWIG_fail
; 
24471         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24472         result 
= (int)(arg1
)->GetFlags(); 
24474         wxPyEndAllowThreads(__tstate
); 
24475         if (PyErr_Occurred()) SWIG_fail
; 
24478         resultobj 
= SWIG_From_int((int)(result
));  
24486 static PyObject 
*_wrap_AcceleratorEntry_GetKeyCode(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
24487     PyObject 
*resultobj
; 
24488     wxAcceleratorEntry 
*arg1 
= (wxAcceleratorEntry 
*) 0 ; 
24490     PyObject 
* obj0 
= 0 ; 
24491     char *kwnames
[] = { 
24492         (char *) "self", NULL 
 
24495     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetKeyCode",kwnames
,&obj0
)) goto fail
; 
24496     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION 
| 0); 
24497     if (SWIG_arg_fail(1)) SWIG_fail
; 
24499         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24500         result 
= (int)(arg1
)->GetKeyCode(); 
24502         wxPyEndAllowThreads(__tstate
); 
24503         if (PyErr_Occurred()) SWIG_fail
; 
24506         resultobj 
= SWIG_From_int((int)(result
));  
24514 static PyObject 
*_wrap_AcceleratorEntry_GetCommand(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
24515     PyObject 
*resultobj
; 
24516     wxAcceleratorEntry 
*arg1 
= (wxAcceleratorEntry 
*) 0 ; 
24518     PyObject 
* obj0 
= 0 ; 
24519     char *kwnames
[] = { 
24520         (char *) "self", NULL 
 
24523     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetCommand",kwnames
,&obj0
)) goto fail
; 
24524     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION 
| 0); 
24525     if (SWIG_arg_fail(1)) SWIG_fail
; 
24527         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24528         result 
= (int)(arg1
)->GetCommand(); 
24530         wxPyEndAllowThreads(__tstate
); 
24531         if (PyErr_Occurred()) SWIG_fail
; 
24534         resultobj 
= SWIG_From_int((int)(result
));  
24542 static PyObject 
* AcceleratorEntry_swigregister(PyObject 
*, PyObject 
*args
) { 
24544     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
24545     SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorEntry
, obj
); 
24547     return Py_BuildValue((char *)""); 
24549 static PyObject 
*_wrap_new_AcceleratorTable(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
24550     PyObject 
*resultobj
; 
24552     wxAcceleratorEntry 
*arg2 
= (wxAcceleratorEntry 
*) 0 ; 
24553     wxAcceleratorTable 
*result
; 
24554     PyObject 
* obj0 
= 0 ; 
24555     char *kwnames
[] = { 
24559     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_AcceleratorTable",kwnames
,&obj0
)) goto fail
; 
24561         arg2 
= wxAcceleratorEntry_LIST_helper(obj0
); 
24562         if (arg2
) arg1 
= PyList_Size(obj0
); 
24566         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24567         result 
= (wxAcceleratorTable 
*)new wxAcceleratorTable(arg1
,(wxAcceleratorEntry 
const *)arg2
); 
24569         wxPyEndAllowThreads(__tstate
); 
24570         if (PyErr_Occurred()) SWIG_fail
; 
24572     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorTable
, 1); 
24585 static PyObject 
*_wrap_delete_AcceleratorTable(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
24586     PyObject 
*resultobj
; 
24587     wxAcceleratorTable 
*arg1 
= (wxAcceleratorTable 
*) 0 ; 
24588     PyObject 
* obj0 
= 0 ; 
24589     char *kwnames
[] = { 
24590         (char *) "self", NULL 
 
24593     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_AcceleratorTable",kwnames
,&obj0
)) goto fail
; 
24594     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorTable
, SWIG_POINTER_EXCEPTION 
| 0); 
24595     if (SWIG_arg_fail(1)) SWIG_fail
; 
24597         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24600         wxPyEndAllowThreads(__tstate
); 
24601         if (PyErr_Occurred()) SWIG_fail
; 
24603     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
24610 static PyObject 
*_wrap_AcceleratorTable_Ok(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
24611     PyObject 
*resultobj
; 
24612     wxAcceleratorTable 
*arg1 
= (wxAcceleratorTable 
*) 0 ; 
24614     PyObject 
* obj0 
= 0 ; 
24615     char *kwnames
[] = { 
24616         (char *) "self", NULL 
 
24619     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorTable_Ok",kwnames
,&obj0
)) goto fail
; 
24620     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorTable
, SWIG_POINTER_EXCEPTION 
| 0); 
24621     if (SWIG_arg_fail(1)) SWIG_fail
; 
24623         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24624         result 
= (bool)((wxAcceleratorTable 
const *)arg1
)->Ok(); 
24626         wxPyEndAllowThreads(__tstate
); 
24627         if (PyErr_Occurred()) SWIG_fail
; 
24630         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
24638 static PyObject 
* AcceleratorTable_swigregister(PyObject 
*, PyObject 
*args
) { 
24640     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
24641     SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorTable
, obj
); 
24643     return Py_BuildValue((char *)""); 
24645 static int _wrap_NullAcceleratorTable_set(PyObject 
*) { 
24646     PyErr_SetString(PyExc_TypeError
,"Variable NullAcceleratorTable is read-only."); 
24651 static PyObject 
*_wrap_NullAcceleratorTable_get(void) { 
24654     pyobj 
= SWIG_NewPointerObj((void *)(&wxNullAcceleratorTable
), SWIGTYPE_p_wxAcceleratorTable
, 0); 
24659 static PyObject 
*_wrap_GetAccelFromString(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
24660     PyObject 
*resultobj
; 
24661     wxString 
*arg1 
= 0 ; 
24662     wxAcceleratorEntry 
*result
; 
24663     bool temp1 
= false ; 
24664     PyObject 
* obj0 
= 0 ; 
24665     char *kwnames
[] = { 
24666         (char *) "label", NULL 
 
24669     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetAccelFromString",kwnames
,&obj0
)) goto fail
; 
24671         arg1 
= wxString_in_helper(obj0
); 
24672         if (arg1 
== NULL
) SWIG_fail
; 
24676         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24677         result 
= (wxAcceleratorEntry 
*)wxGetAccelFromString((wxString 
const &)*arg1
); 
24679         wxPyEndAllowThreads(__tstate
); 
24680         if (PyErr_Occurred()) SWIG_fail
; 
24682     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 0); 
24697 static int _wrap_PanelNameStr_set(PyObject 
*) { 
24698     PyErr_SetString(PyExc_TypeError
,"Variable PanelNameStr is read-only."); 
24703 static PyObject 
*_wrap_PanelNameStr_get(void) { 
24708         pyobj 
= PyUnicode_FromWideChar((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len()); 
24710         pyobj 
= PyString_FromStringAndSize((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len()); 
24717 static PyObject 
*_wrap_new_VisualAttributes(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
24718     PyObject 
*resultobj
; 
24719     wxVisualAttributes 
*result
; 
24720     char *kwnames
[] = { 
24724     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_VisualAttributes",kwnames
)) goto fail
; 
24726         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24727         result 
= (wxVisualAttributes 
*)new_wxVisualAttributes(); 
24729         wxPyEndAllowThreads(__tstate
); 
24730         if (PyErr_Occurred()) SWIG_fail
; 
24732     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxVisualAttributes
, 1); 
24739 static PyObject 
*_wrap_delete_VisualAttributes(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
24740     PyObject 
*resultobj
; 
24741     wxVisualAttributes 
*arg1 
= (wxVisualAttributes 
*) 0 ; 
24742     PyObject 
* obj0 
= 0 ; 
24743     char *kwnames
[] = { 
24744         (char *) "self", NULL 
 
24747     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_VisualAttributes",kwnames
,&obj0
)) goto fail
; 
24748     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION 
| 0); 
24749     if (SWIG_arg_fail(1)) SWIG_fail
; 
24751         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24752         delete_wxVisualAttributes(arg1
); 
24754         wxPyEndAllowThreads(__tstate
); 
24755         if (PyErr_Occurred()) SWIG_fail
; 
24757     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
24764 static PyObject 
*_wrap_VisualAttributes_font_set(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
24765     PyObject 
*resultobj
; 
24766     wxVisualAttributes 
*arg1 
= (wxVisualAttributes 
*) 0 ; 
24767     wxFont 
*arg2 
= (wxFont 
*) 0 ; 
24768     PyObject 
* obj0 
= 0 ; 
24769     PyObject 
* obj1 
= 0 ; 
24770     char *kwnames
[] = { 
24771         (char *) "self",(char *) "font", NULL 
 
24774     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_font_set",kwnames
,&obj0
,&obj1
)) goto fail
; 
24775     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION 
| 0); 
24776     if (SWIG_arg_fail(1)) SWIG_fail
; 
24777     SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION 
| 0); 
24778     if (SWIG_arg_fail(2)) SWIG_fail
; 
24779     if (arg1
) (arg1
)->font 
= *arg2
; 
24781     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
24788 static PyObject 
*_wrap_VisualAttributes_font_get(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
24789     PyObject 
*resultobj
; 
24790     wxVisualAttributes 
*arg1 
= (wxVisualAttributes 
*) 0 ; 
24792     PyObject 
* obj0 
= 0 ; 
24793     char *kwnames
[] = { 
24794         (char *) "self", NULL 
 
24797     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_font_get",kwnames
,&obj0
)) goto fail
; 
24798     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION 
| 0); 
24799     if (SWIG_arg_fail(1)) SWIG_fail
; 
24800     result 
= (wxFont 
*)& ((arg1
)->font
); 
24802     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 0); 
24809 static PyObject 
*_wrap_VisualAttributes_colFg_set(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
24810     PyObject 
*resultobj
; 
24811     wxVisualAttributes 
*arg1 
= (wxVisualAttributes 
*) 0 ; 
24812     wxColour 
*arg2 
= (wxColour 
*) 0 ; 
24813     PyObject 
* obj0 
= 0 ; 
24814     PyObject 
* obj1 
= 0 ; 
24815     char *kwnames
[] = { 
24816         (char *) "self",(char *) "colFg", NULL 
 
24819     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_colFg_set",kwnames
,&obj0
,&obj1
)) goto fail
; 
24820     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION 
| 0); 
24821     if (SWIG_arg_fail(1)) SWIG_fail
; 
24822     SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION 
| 0); 
24823     if (SWIG_arg_fail(2)) SWIG_fail
; 
24824     if (arg1
) (arg1
)->colFg 
= *arg2
; 
24826     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
24833 static PyObject 
*_wrap_VisualAttributes_colFg_get(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
24834     PyObject 
*resultobj
; 
24835     wxVisualAttributes 
*arg1 
= (wxVisualAttributes 
*) 0 ; 
24837     PyObject 
* obj0 
= 0 ; 
24838     char *kwnames
[] = { 
24839         (char *) "self", NULL 
 
24842     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_colFg_get",kwnames
,&obj0
)) goto fail
; 
24843     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION 
| 0); 
24844     if (SWIG_arg_fail(1)) SWIG_fail
; 
24845     result 
= (wxColour 
*)& ((arg1
)->colFg
); 
24847     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0); 
24854 static PyObject 
*_wrap_VisualAttributes_colBg_set(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
24855     PyObject 
*resultobj
; 
24856     wxVisualAttributes 
*arg1 
= (wxVisualAttributes 
*) 0 ; 
24857     wxColour 
*arg2 
= (wxColour 
*) 0 ; 
24858     PyObject 
* obj0 
= 0 ; 
24859     PyObject 
* obj1 
= 0 ; 
24860     char *kwnames
[] = { 
24861         (char *) "self",(char *) "colBg", NULL 
 
24864     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_colBg_set",kwnames
,&obj0
,&obj1
)) goto fail
; 
24865     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION 
| 0); 
24866     if (SWIG_arg_fail(1)) SWIG_fail
; 
24867     SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION 
| 0); 
24868     if (SWIG_arg_fail(2)) SWIG_fail
; 
24869     if (arg1
) (arg1
)->colBg 
= *arg2
; 
24871     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
24878 static PyObject 
*_wrap_VisualAttributes_colBg_get(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
24879     PyObject 
*resultobj
; 
24880     wxVisualAttributes 
*arg1 
= (wxVisualAttributes 
*) 0 ; 
24882     PyObject 
* obj0 
= 0 ; 
24883     char *kwnames
[] = { 
24884         (char *) "self", NULL 
 
24887     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_colBg_get",kwnames
,&obj0
)) goto fail
; 
24888     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION 
| 0); 
24889     if (SWIG_arg_fail(1)) SWIG_fail
; 
24890     result 
= (wxColour 
*)& ((arg1
)->colBg
); 
24892     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0); 
24899 static PyObject 
* VisualAttributes_swigregister(PyObject 
*, PyObject 
*args
) { 
24901     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
24902     SWIG_TypeClientData(SWIGTYPE_p_wxVisualAttributes
, obj
); 
24904     return Py_BuildValue((char *)""); 
24906 static PyObject 
*_wrap_new_Window(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
24907     PyObject 
*resultobj
; 
24908     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
24909     int arg2 
= (int) (int)-1 ; 
24910     wxPoint 
const &arg3_defvalue 
= wxDefaultPosition 
; 
24911     wxPoint 
*arg3 
= (wxPoint 
*) &arg3_defvalue 
; 
24912     wxSize 
const &arg4_defvalue 
= wxDefaultSize 
; 
24913     wxSize 
*arg4 
= (wxSize 
*) &arg4_defvalue 
; 
24914     long arg5 
= (long) 0 ; 
24915     wxString 
const &arg6_defvalue 
= wxPyPanelNameStr 
; 
24916     wxString 
*arg6 
= (wxString 
*) &arg6_defvalue 
; 
24920     bool temp6 
= false ; 
24921     PyObject 
* obj0 
= 0 ; 
24922     PyObject 
* obj1 
= 0 ; 
24923     PyObject 
* obj2 
= 0 ; 
24924     PyObject 
* obj3 
= 0 ; 
24925     PyObject 
* obj4 
= 0 ; 
24926     PyObject 
* obj5 
= 0 ; 
24927     char *kwnames
[] = { 
24928         (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL 
 
24931     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Window",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
; 
24932     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
24933     if (SWIG_arg_fail(1)) SWIG_fail
; 
24936             arg2 
= (int const)(SWIG_As_int(obj1
));  
24937             if (SWIG_arg_fail(2)) SWIG_fail
; 
24943             if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
; 
24949             if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
; 
24954             arg5 
= (long)(SWIG_As_long(obj4
));  
24955             if (SWIG_arg_fail(5)) SWIG_fail
; 
24960             arg6 
= wxString_in_helper(obj5
); 
24961             if (arg6 
== NULL
) SWIG_fail
; 
24966         if (!wxPyCheckForApp()) SWIG_fail
; 
24967         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24968         result 
= (wxWindow 
*)new wxWindow(arg1
,arg2
,(wxPoint 
const &)*arg3
,(wxSize 
const &)*arg4
,arg5
,(wxString 
const &)*arg6
); 
24970         wxPyEndAllowThreads(__tstate
); 
24971         if (PyErr_Occurred()) SWIG_fail
; 
24973     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindow
, 1); 
24988 static PyObject 
*_wrap_new_PreWindow(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
24989     PyObject 
*resultobj
; 
24991     char *kwnames
[] = { 
24995     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreWindow",kwnames
)) goto fail
; 
24997         if (!wxPyCheckForApp()) SWIG_fail
; 
24998         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24999         result 
= (wxWindow 
*)new wxWindow(); 
25001         wxPyEndAllowThreads(__tstate
); 
25002         if (PyErr_Occurred()) SWIG_fail
; 
25004     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindow
, 1); 
25011 static PyObject 
*_wrap_Window_Create(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
25012     PyObject 
*resultobj
; 
25013     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
25014     wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
25015     int arg3 
= (int) (int)-1 ; 
25016     wxPoint 
const &arg4_defvalue 
= wxDefaultPosition 
; 
25017     wxPoint 
*arg4 
= (wxPoint 
*) &arg4_defvalue 
; 
25018     wxSize 
const &arg5_defvalue 
= wxDefaultSize 
; 
25019     wxSize 
*arg5 
= (wxSize 
*) &arg5_defvalue 
; 
25020     long arg6 
= (long) 0 ; 
25021     wxString 
const &arg7_defvalue 
= wxPyPanelNameStr 
; 
25022     wxString 
*arg7 
= (wxString 
*) &arg7_defvalue 
; 
25026     bool temp7 
= false ; 
25027     PyObject 
* obj0 
= 0 ; 
25028     PyObject 
* obj1 
= 0 ; 
25029     PyObject 
* obj2 
= 0 ; 
25030     PyObject 
* obj3 
= 0 ; 
25031     PyObject 
* obj4 
= 0 ; 
25032     PyObject 
* obj5 
= 0 ; 
25033     PyObject 
* obj6 
= 0 ; 
25034     char *kwnames
[] = { 
25035         (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL 
 
25038     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Window_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
; 
25039     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
25040     if (SWIG_arg_fail(1)) SWIG_fail
; 
25041     SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
25042     if (SWIG_arg_fail(2)) SWIG_fail
; 
25045             arg3 
= (int const)(SWIG_As_int(obj2
));  
25046             if (SWIG_arg_fail(3)) SWIG_fail
; 
25052             if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
; 
25058             if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
; 
25063             arg6 
= (long)(SWIG_As_long(obj5
));  
25064             if (SWIG_arg_fail(6)) SWIG_fail
; 
25069             arg7 
= wxString_in_helper(obj6
); 
25070             if (arg7 
== NULL
) SWIG_fail
; 
25075         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25076         result 
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint 
const &)*arg4
,(wxSize 
const &)*arg5
,arg6
,(wxString 
const &)*arg7
); 
25078         wxPyEndAllowThreads(__tstate
); 
25079         if (PyErr_Occurred()) SWIG_fail
; 
25082         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
25098 static PyObject 
*_wrap_Window_Close(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
25099     PyObject 
*resultobj
; 
25100     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
25101     bool arg2 
= (bool) false ; 
25103     PyObject 
* obj0 
= 0 ; 
25104     PyObject 
* obj1 
= 0 ; 
25105     char *kwnames
[] = { 
25106         (char *) "self",(char *) "force", NULL 
 
25109     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Close",kwnames
,&obj0
,&obj1
)) goto fail
; 
25110     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
25111     if (SWIG_arg_fail(1)) SWIG_fail
; 
25114             arg2 
= (bool)(SWIG_As_bool(obj1
));  
25115             if (SWIG_arg_fail(2)) SWIG_fail
; 
25119         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25120         result 
= (bool)(arg1
)->Close(arg2
); 
25122         wxPyEndAllowThreads(__tstate
); 
25123         if (PyErr_Occurred()) SWIG_fail
; 
25126         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
25134 static PyObject 
*_wrap_Window_Destroy(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
25135     PyObject 
*resultobj
; 
25136     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
25138     PyObject 
* obj0 
= 0 ; 
25139     char *kwnames
[] = { 
25140         (char *) "self", NULL 
 
25143     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Destroy",kwnames
,&obj0
)) goto fail
; 
25144     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
25145     if (SWIG_arg_fail(1)) SWIG_fail
; 
25147         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25148         result 
= (bool)(arg1
)->Destroy(); 
25150         wxPyEndAllowThreads(__tstate
); 
25151         if (PyErr_Occurred()) SWIG_fail
; 
25154         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
25162 static PyObject 
*_wrap_Window_DestroyChildren(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
25163     PyObject 
*resultobj
; 
25164     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
25166     PyObject 
* obj0 
= 0 ; 
25167     char *kwnames
[] = { 
25168         (char *) "self", NULL 
 
25171     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_DestroyChildren",kwnames
,&obj0
)) goto fail
; 
25172     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
25173     if (SWIG_arg_fail(1)) SWIG_fail
; 
25175         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25176         result 
= (bool)(arg1
)->DestroyChildren(); 
25178         wxPyEndAllowThreads(__tstate
); 
25179         if (PyErr_Occurred()) SWIG_fail
; 
25182         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
25190 static PyObject 
*_wrap_Window_IsBeingDeleted(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
25191     PyObject 
*resultobj
; 
25192     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
25194     PyObject 
* obj0 
= 0 ; 
25195     char *kwnames
[] = { 
25196         (char *) "self", NULL 
 
25199     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsBeingDeleted",kwnames
,&obj0
)) goto fail
; 
25200     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
25201     if (SWIG_arg_fail(1)) SWIG_fail
; 
25203         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25204         result 
= (bool)((wxWindow 
const *)arg1
)->IsBeingDeleted(); 
25206         wxPyEndAllowThreads(__tstate
); 
25207         if (PyErr_Occurred()) SWIG_fail
; 
25210         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
25218 static PyObject 
*_wrap_Window_SetTitle(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
25219     PyObject 
*resultobj
; 
25220     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
25221     wxString 
*arg2 
= 0 ; 
25222     bool temp2 
= false ; 
25223     PyObject 
* obj0 
= 0 ; 
25224     PyObject 
* obj1 
= 0 ; 
25225     char *kwnames
[] = { 
25226         (char *) "self",(char *) "title", NULL 
 
25229     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
; 
25230     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
25231     if (SWIG_arg_fail(1)) SWIG_fail
; 
25233         arg2 
= wxString_in_helper(obj1
); 
25234         if (arg2 
== NULL
) SWIG_fail
; 
25238         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25239         (arg1
)->SetTitle((wxString 
const &)*arg2
); 
25241         wxPyEndAllowThreads(__tstate
); 
25242         if (PyErr_Occurred()) SWIG_fail
; 
25244     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
25259 static PyObject 
*_wrap_Window_GetTitle(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
25260     PyObject 
*resultobj
; 
25261     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
25263     PyObject 
* obj0 
= 0 ; 
25264     char *kwnames
[] = { 
25265         (char *) "self", NULL 
 
25268     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetTitle",kwnames
,&obj0
)) goto fail
; 
25269     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
25270     if (SWIG_arg_fail(1)) SWIG_fail
; 
25272         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25273         result 
= ((wxWindow 
const *)arg1
)->GetTitle(); 
25275         wxPyEndAllowThreads(__tstate
); 
25276         if (PyErr_Occurred()) SWIG_fail
; 
25280         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
25282         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
25291 static PyObject 
*_wrap_Window_SetLabel(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
25292     PyObject 
*resultobj
; 
25293     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
25294     wxString 
*arg2 
= 0 ; 
25295     bool temp2 
= false ; 
25296     PyObject 
* obj0 
= 0 ; 
25297     PyObject 
* obj1 
= 0 ; 
25298     char *kwnames
[] = { 
25299         (char *) "self",(char *) "label", NULL 
 
25302     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
; 
25303     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
25304     if (SWIG_arg_fail(1)) SWIG_fail
; 
25306         arg2 
= wxString_in_helper(obj1
); 
25307         if (arg2 
== NULL
) SWIG_fail
; 
25311         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25312         (arg1
)->SetLabel((wxString 
const &)*arg2
); 
25314         wxPyEndAllowThreads(__tstate
); 
25315         if (PyErr_Occurred()) SWIG_fail
; 
25317     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
25332 static PyObject 
*_wrap_Window_GetLabel(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
25333     PyObject 
*resultobj
; 
25334     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
25336     PyObject 
* obj0 
= 0 ; 
25337     char *kwnames
[] = { 
25338         (char *) "self", NULL 
 
25341     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetLabel",kwnames
,&obj0
)) goto fail
; 
25342     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
25343     if (SWIG_arg_fail(1)) SWIG_fail
; 
25345         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25346         result 
= ((wxWindow 
const *)arg1
)->GetLabel(); 
25348         wxPyEndAllowThreads(__tstate
); 
25349         if (PyErr_Occurred()) SWIG_fail
; 
25353         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
25355         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
25364 static PyObject 
*_wrap_Window_SetName(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
25365     PyObject 
*resultobj
; 
25366     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
25367     wxString 
*arg2 
= 0 ; 
25368     bool temp2 
= false ; 
25369     PyObject 
* obj0 
= 0 ; 
25370     PyObject 
* obj1 
= 0 ; 
25371     char *kwnames
[] = { 
25372         (char *) "self",(char *) "name", NULL 
 
25375     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetName",kwnames
,&obj0
,&obj1
)) goto fail
; 
25376     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
25377     if (SWIG_arg_fail(1)) SWIG_fail
; 
25379         arg2 
= wxString_in_helper(obj1
); 
25380         if (arg2 
== NULL
) SWIG_fail
; 
25384         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25385         (arg1
)->SetName((wxString 
const &)*arg2
); 
25387         wxPyEndAllowThreads(__tstate
); 
25388         if (PyErr_Occurred()) SWIG_fail
; 
25390     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
25405 static PyObject 
*_wrap_Window_GetName(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
25406     PyObject 
*resultobj
; 
25407     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
25409     PyObject 
* obj0 
= 0 ; 
25410     char *kwnames
[] = { 
25411         (char *) "self", NULL 
 
25414     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetName",kwnames
,&obj0
)) goto fail
; 
25415     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
25416     if (SWIG_arg_fail(1)) SWIG_fail
; 
25418         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25419         result 
= ((wxWindow 
const *)arg1
)->GetName(); 
25421         wxPyEndAllowThreads(__tstate
); 
25422         if (PyErr_Occurred()) SWIG_fail
; 
25426         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
25428         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
25437 static PyObject 
*_wrap_Window_SetWindowVariant(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
25438     PyObject 
*resultobj
; 
25439     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
25440     wxWindowVariant arg2 
; 
25441     PyObject 
* obj0 
= 0 ; 
25442     PyObject 
* obj1 
= 0 ; 
25443     char *kwnames
[] = { 
25444         (char *) "self",(char *) "variant", NULL 
 
25447     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetWindowVariant",kwnames
,&obj0
,&obj1
)) goto fail
; 
25448     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
25449     if (SWIG_arg_fail(1)) SWIG_fail
; 
25451         arg2 
= (wxWindowVariant
)(SWIG_As_int(obj1
));  
25452         if (SWIG_arg_fail(2)) SWIG_fail
; 
25455         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25456         (arg1
)->SetWindowVariant((wxWindowVariant 
)arg2
); 
25458         wxPyEndAllowThreads(__tstate
); 
25459         if (PyErr_Occurred()) SWIG_fail
; 
25461     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
25468 static PyObject 
*_wrap_Window_GetWindowVariant(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
25469     PyObject 
*resultobj
; 
25470     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
25471     wxWindowVariant result
; 
25472     PyObject 
* obj0 
= 0 ; 
25473     char *kwnames
[] = { 
25474         (char *) "self", NULL 
 
25477     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetWindowVariant",kwnames
,&obj0
)) goto fail
; 
25478     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
25479     if (SWIG_arg_fail(1)) SWIG_fail
; 
25481         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25482         result 
= (wxWindowVariant
)((wxWindow 
const *)arg1
)->GetWindowVariant(); 
25484         wxPyEndAllowThreads(__tstate
); 
25485         if (PyErr_Occurred()) SWIG_fail
; 
25487     resultobj 
= SWIG_From_int((result
)); 
25494 static PyObject 
*_wrap_Window_SetId(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
25495     PyObject 
*resultobj
; 
25496     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
25498     PyObject 
* obj0 
= 0 ; 
25499     PyObject 
* obj1 
= 0 ; 
25500     char *kwnames
[] = { 
25501         (char *) "self",(char *) "winid", NULL 
 
25504     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetId",kwnames
,&obj0
,&obj1
)) goto fail
; 
25505     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
25506     if (SWIG_arg_fail(1)) SWIG_fail
; 
25508         arg2 
= (int)(SWIG_As_int(obj1
));  
25509         if (SWIG_arg_fail(2)) SWIG_fail
; 
25512         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25513         (arg1
)->SetId(arg2
); 
25515         wxPyEndAllowThreads(__tstate
); 
25516         if (PyErr_Occurred()) SWIG_fail
; 
25518     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
25525 static PyObject 
*_wrap_Window_GetId(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
25526     PyObject 
*resultobj
; 
25527     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
25529     PyObject 
* obj0 
= 0 ; 
25530     char *kwnames
[] = { 
25531         (char *) "self", NULL 
 
25534     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetId",kwnames
,&obj0
)) goto fail
; 
25535     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
25536     if (SWIG_arg_fail(1)) SWIG_fail
; 
25538         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25539         result 
= (int)((wxWindow 
const *)arg1
)->GetId(); 
25541         wxPyEndAllowThreads(__tstate
); 
25542         if (PyErr_Occurred()) SWIG_fail
; 
25545         resultobj 
= SWIG_From_int((int)(result
));  
25553 static PyObject 
*_wrap_Window_NewControlId(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
25554     PyObject 
*resultobj
; 
25556     char *kwnames
[] = { 
25560     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_NewControlId",kwnames
)) goto fail
; 
25562         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25563         result 
= (int)wxWindow::NewControlId(); 
25565         wxPyEndAllowThreads(__tstate
); 
25566         if (PyErr_Occurred()) SWIG_fail
; 
25569         resultobj 
= SWIG_From_int((int)(result
));  
25577 static PyObject 
*_wrap_Window_NextControlId(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
25578     PyObject 
*resultobj
; 
25581     PyObject 
* obj0 
= 0 ; 
25582     char *kwnames
[] = { 
25583         (char *) "winid", NULL 
 
25586     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_NextControlId",kwnames
,&obj0
)) goto fail
; 
25588         arg1 
= (int)(SWIG_As_int(obj0
));  
25589         if (SWIG_arg_fail(1)) SWIG_fail
; 
25592         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25593         result 
= (int)wxWindow::NextControlId(arg1
); 
25595         wxPyEndAllowThreads(__tstate
); 
25596         if (PyErr_Occurred()) SWIG_fail
; 
25599         resultobj 
= SWIG_From_int((int)(result
));  
25607 static PyObject 
*_wrap_Window_PrevControlId(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
25608     PyObject 
*resultobj
; 
25611     PyObject 
* obj0 
= 0 ; 
25612     char *kwnames
[] = { 
25613         (char *) "winid", NULL 
 
25616     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PrevControlId",kwnames
,&obj0
)) goto fail
; 
25618         arg1 
= (int)(SWIG_As_int(obj0
));  
25619         if (SWIG_arg_fail(1)) SWIG_fail
; 
25622         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25623         result 
= (int)wxWindow::PrevControlId(arg1
); 
25625         wxPyEndAllowThreads(__tstate
); 
25626         if (PyErr_Occurred()) SWIG_fail
; 
25629         resultobj 
= SWIG_From_int((int)(result
));  
25637 static PyObject 
*_wrap_Window_SetSize(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
25638     PyObject 
*resultobj
; 
25639     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
25642     PyObject 
* obj0 
= 0 ; 
25643     PyObject 
* obj1 
= 0 ; 
25644     char *kwnames
[] = { 
25645         (char *) "self",(char *) "size", NULL 
 
25648     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
; 
25649     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
25650     if (SWIG_arg_fail(1)) SWIG_fail
; 
25653         if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
; 
25656         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25657         (arg1
)->SetSize((wxSize 
const &)*arg2
); 
25659         wxPyEndAllowThreads(__tstate
); 
25660         if (PyErr_Occurred()) SWIG_fail
; 
25662     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
25669 static PyObject 
*_wrap_Window_SetDimensions(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
25670     PyObject 
*resultobj
; 
25671     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
25676     int arg6 
= (int) wxSIZE_AUTO 
; 
25677     PyObject 
* obj0 
= 0 ; 
25678     PyObject 
* obj1 
= 0 ; 
25679     PyObject 
* obj2 
= 0 ; 
25680     PyObject 
* obj3 
= 0 ; 
25681     PyObject 
* obj4 
= 0 ; 
25682     PyObject 
* obj5 
= 0 ; 
25683     char *kwnames
[] = { 
25684         (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL 
 
25687     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Window_SetDimensions",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
; 
25688     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
25689     if (SWIG_arg_fail(1)) SWIG_fail
; 
25691         arg2 
= (int)(SWIG_As_int(obj1
));  
25692         if (SWIG_arg_fail(2)) SWIG_fail
; 
25695         arg3 
= (int)(SWIG_As_int(obj2
));  
25696         if (SWIG_arg_fail(3)) SWIG_fail
; 
25699         arg4 
= (int)(SWIG_As_int(obj3
));  
25700         if (SWIG_arg_fail(4)) SWIG_fail
; 
25703         arg5 
= (int)(SWIG_As_int(obj4
));  
25704         if (SWIG_arg_fail(5)) SWIG_fail
; 
25708             arg6 
= (int)(SWIG_As_int(obj5
));  
25709             if (SWIG_arg_fail(6)) SWIG_fail
; 
25713         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25714         (arg1
)->SetSize(arg2
,arg3
,arg4
,arg5
,arg6
); 
25716         wxPyEndAllowThreads(__tstate
); 
25717         if (PyErr_Occurred()) SWIG_fail
; 
25719     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
25726 static PyObject 
*_wrap_Window_SetRect(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
25727     PyObject 
*resultobj
; 
25728     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
25730     int arg3 
= (int) wxSIZE_AUTO 
; 
25732     PyObject 
* obj0 
= 0 ; 
25733     PyObject 
* obj1 
= 0 ; 
25734     PyObject 
* obj2 
= 0 ; 
25735     char *kwnames
[] = { 
25736         (char *) "self",(char *) "rect",(char *) "sizeFlags", NULL 
 
25739     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
25740     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
25741     if (SWIG_arg_fail(1)) SWIG_fail
; 
25744         if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
; 
25748             arg3 
= (int)(SWIG_As_int(obj2
));  
25749             if (SWIG_arg_fail(3)) SWIG_fail
; 
25753         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25754         (arg1
)->SetSize((wxRect 
const &)*arg2
,arg3
); 
25756         wxPyEndAllowThreads(__tstate
); 
25757         if (PyErr_Occurred()) SWIG_fail
; 
25759     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
25766 static PyObject 
*_wrap_Window_SetSizeWH(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
25767     PyObject 
*resultobj
; 
25768     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
25771     PyObject 
* obj0 
= 0 ; 
25772     PyObject 
* obj1 
= 0 ; 
25773     PyObject 
* obj2 
= 0 ; 
25774     char *kwnames
[] = { 
25775         (char *) "self",(char *) "width",(char *) "height", NULL 
 
25778     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
25779     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
25780     if (SWIG_arg_fail(1)) SWIG_fail
; 
25782         arg2 
= (int)(SWIG_As_int(obj1
));  
25783         if (SWIG_arg_fail(2)) SWIG_fail
; 
25786         arg3 
= (int)(SWIG_As_int(obj2
));  
25787         if (SWIG_arg_fail(3)) SWIG_fail
; 
25790         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25791         (arg1
)->SetSize(arg2
,arg3
); 
25793         wxPyEndAllowThreads(__tstate
); 
25794         if (PyErr_Occurred()) SWIG_fail
; 
25796     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
25803 static PyObject 
*_wrap_Window_Move(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
25804     PyObject 
*resultobj
; 
25805     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
25806     wxPoint 
*arg2 
= 0 ; 
25807     int arg3 
= (int) wxSIZE_USE_EXISTING 
; 
25809     PyObject 
* obj0 
= 0 ; 
25810     PyObject 
* obj1 
= 0 ; 
25811     PyObject 
* obj2 
= 0 ; 
25812     char *kwnames
[] = { 
25813         (char *) "self",(char *) "pt",(char *) "flags", NULL 
 
25816     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_Move",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
25817     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
25818     if (SWIG_arg_fail(1)) SWIG_fail
; 
25821         if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
25825             arg3 
= (int)(SWIG_As_int(obj2
));  
25826             if (SWIG_arg_fail(3)) SWIG_fail
; 
25830         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25831         (arg1
)->Move((wxPoint 
const &)*arg2
,arg3
); 
25833         wxPyEndAllowThreads(__tstate
); 
25834         if (PyErr_Occurred()) SWIG_fail
; 
25836     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
25843 static PyObject 
*_wrap_Window_MoveXY(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
25844     PyObject 
*resultobj
; 
25845     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
25848     int arg4 
= (int) wxSIZE_USE_EXISTING 
; 
25849     PyObject 
* obj0 
= 0 ; 
25850     PyObject 
* obj1 
= 0 ; 
25851     PyObject 
* obj2 
= 0 ; 
25852     PyObject 
* obj3 
= 0 ; 
25853     char *kwnames
[] = { 
25854         (char *) "self",(char *) "x",(char *) "y",(char *) "flags", NULL 
 
25857     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
25858     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
25859     if (SWIG_arg_fail(1)) SWIG_fail
; 
25861         arg2 
= (int)(SWIG_As_int(obj1
));  
25862         if (SWIG_arg_fail(2)) SWIG_fail
; 
25865         arg3 
= (int)(SWIG_As_int(obj2
));  
25866         if (SWIG_arg_fail(3)) SWIG_fail
; 
25870             arg4 
= (int)(SWIG_As_int(obj3
));  
25871             if (SWIG_arg_fail(4)) SWIG_fail
; 
25875         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25876         (arg1
)->Move(arg2
,arg3
,arg4
); 
25878         wxPyEndAllowThreads(__tstate
); 
25879         if (PyErr_Occurred()) SWIG_fail
; 
25881     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
25888 static PyObject 
*_wrap_Window_SetBestFittingSize(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
25889     PyObject 
*resultobj
; 
25890     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
25891     wxSize 
const &arg2_defvalue 
= wxDefaultSize 
; 
25892     wxSize 
*arg2 
= (wxSize 
*) &arg2_defvalue 
; 
25894     PyObject 
* obj0 
= 0 ; 
25895     PyObject 
* obj1 
= 0 ; 
25896     char *kwnames
[] = { 
25897         (char *) "self",(char *) "size", NULL 
 
25900     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_SetBestFittingSize",kwnames
,&obj0
,&obj1
)) goto fail
; 
25901     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
25902     if (SWIG_arg_fail(1)) SWIG_fail
; 
25906             if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
; 
25910         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25911         (arg1
)->SetBestFittingSize((wxSize 
const &)*arg2
); 
25913         wxPyEndAllowThreads(__tstate
); 
25914         if (PyErr_Occurred()) SWIG_fail
; 
25916     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
25923 static PyObject 
*_wrap_Window_Raise(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
25924     PyObject 
*resultobj
; 
25925     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
25926     PyObject 
* obj0 
= 0 ; 
25927     char *kwnames
[] = { 
25928         (char *) "self", NULL 
 
25931     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Raise",kwnames
,&obj0
)) goto fail
; 
25932     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
25933     if (SWIG_arg_fail(1)) SWIG_fail
; 
25935         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25938         wxPyEndAllowThreads(__tstate
); 
25939         if (PyErr_Occurred()) SWIG_fail
; 
25941     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
25948 static PyObject 
*_wrap_Window_Lower(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
25949     PyObject 
*resultobj
; 
25950     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
25951     PyObject 
* obj0 
= 0 ; 
25952     char *kwnames
[] = { 
25953         (char *) "self", NULL 
 
25956     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Lower",kwnames
,&obj0
)) goto fail
; 
25957     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
25958     if (SWIG_arg_fail(1)) SWIG_fail
; 
25960         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25963         wxPyEndAllowThreads(__tstate
); 
25964         if (PyErr_Occurred()) SWIG_fail
; 
25966     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
25973 static PyObject 
*_wrap_Window_SetClientSize(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
25974     PyObject 
*resultobj
; 
25975     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
25978     PyObject 
* obj0 
= 0 ; 
25979     PyObject 
* obj1 
= 0 ; 
25980     char *kwnames
[] = { 
25981         (char *) "self",(char *) "size", NULL 
 
25984     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientSize",kwnames
,&obj0
,&obj1
)) goto fail
; 
25985     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
25986     if (SWIG_arg_fail(1)) SWIG_fail
; 
25989         if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
; 
25992         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25993         (arg1
)->SetClientSize((wxSize 
const &)*arg2
); 
25995         wxPyEndAllowThreads(__tstate
); 
25996         if (PyErr_Occurred()) SWIG_fail
; 
25998     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
26005 static PyObject 
*_wrap_Window_SetClientSizeWH(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
26006     PyObject 
*resultobj
; 
26007     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
26010     PyObject 
* obj0 
= 0 ; 
26011     PyObject 
* obj1 
= 0 ; 
26012     PyObject 
* obj2 
= 0 ; 
26013     char *kwnames
[] = { 
26014         (char *) "self",(char *) "width",(char *) "height", NULL 
 
26017     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetClientSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
26018     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
26019     if (SWIG_arg_fail(1)) SWIG_fail
; 
26021         arg2 
= (int)(SWIG_As_int(obj1
));  
26022         if (SWIG_arg_fail(2)) SWIG_fail
; 
26025         arg3 
= (int)(SWIG_As_int(obj2
));  
26026         if (SWIG_arg_fail(3)) SWIG_fail
; 
26029         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26030         (arg1
)->SetClientSize(arg2
,arg3
); 
26032         wxPyEndAllowThreads(__tstate
); 
26033         if (PyErr_Occurred()) SWIG_fail
; 
26035     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
26042 static PyObject 
*_wrap_Window_SetClientRect(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
26043     PyObject 
*resultobj
; 
26044     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
26047     PyObject 
* obj0 
= 0 ; 
26048     PyObject 
* obj1 
= 0 ; 
26049     char *kwnames
[] = { 
26050         (char *) "self",(char *) "rect", NULL 
 
26053     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientRect",kwnames
,&obj0
,&obj1
)) goto fail
; 
26054     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
26055     if (SWIG_arg_fail(1)) SWIG_fail
; 
26058         if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
; 
26061         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26062         (arg1
)->SetClientSize((wxRect 
const &)*arg2
); 
26064         wxPyEndAllowThreads(__tstate
); 
26065         if (PyErr_Occurred()) SWIG_fail
; 
26067     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
26074 static PyObject 
*_wrap_Window_GetPosition(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
26075     PyObject 
*resultobj
; 
26076     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
26078     PyObject 
* obj0 
= 0 ; 
26079     char *kwnames
[] = { 
26080         (char *) "self", NULL 
 
26083     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetPosition",kwnames
,&obj0
)) goto fail
; 
26084     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
26085     if (SWIG_arg_fail(1)) SWIG_fail
; 
26087         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26088         result 
= (arg1
)->GetPosition(); 
26090         wxPyEndAllowThreads(__tstate
); 
26091         if (PyErr_Occurred()) SWIG_fail
; 
26094         wxPoint 
* resultptr
; 
26095         resultptr 
= new wxPoint((wxPoint 
&)(result
)); 
26096         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1); 
26104 static PyObject 
*_wrap_Window_GetPositionTuple(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
26105     PyObject 
*resultobj
; 
26106     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
26107     int *arg2 
= (int *) 0 ; 
26108     int *arg3 
= (int *) 0 ; 
26113     PyObject 
* obj0 
= 0 ; 
26114     char *kwnames
[] = { 
26115         (char *) "self", NULL 
 
26118     arg2 
= &temp2
; res2 
= SWIG_NEWOBJ
; 
26119     arg3 
= &temp3
; res3 
= SWIG_NEWOBJ
; 
26120     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetPositionTuple",kwnames
,&obj0
)) goto fail
; 
26121     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
26122     if (SWIG_arg_fail(1)) SWIG_fail
; 
26124         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26125         (arg1
)->GetPosition(arg2
,arg3
); 
26127         wxPyEndAllowThreads(__tstate
); 
26128         if (PyErr_Occurred()) SWIG_fail
; 
26130     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
26131     resultobj 
= t_output_helper(resultobj
, ((res2 
== SWIG_NEWOBJ
) ? 
26132     SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0))); 
26133     resultobj 
= t_output_helper(resultobj
, ((res3 
== SWIG_NEWOBJ
) ? 
26134     SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0))); 
26141 static PyObject 
*_wrap_Window_GetSize(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
26142     PyObject 
*resultobj
; 
26143     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
26145     PyObject 
* obj0 
= 0 ; 
26146     char *kwnames
[] = { 
26147         (char *) "self", NULL 
 
26150     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSize",kwnames
,&obj0
)) goto fail
; 
26151     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
26152     if (SWIG_arg_fail(1)) SWIG_fail
; 
26154         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26155         result 
= ((wxWindow 
const *)arg1
)->GetSize(); 
26157         wxPyEndAllowThreads(__tstate
); 
26158         if (PyErr_Occurred()) SWIG_fail
; 
26161         wxSize 
* resultptr
; 
26162         resultptr 
= new wxSize((wxSize 
&)(result
)); 
26163         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1); 
26171 static PyObject 
*_wrap_Window_GetSizeTuple(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
26172     PyObject 
*resultobj
; 
26173     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
26174     int *arg2 
= (int *) 0 ; 
26175     int *arg3 
= (int *) 0 ; 
26180     PyObject 
* obj0 
= 0 ; 
26181     char *kwnames
[] = { 
26182         (char *) "self", NULL 
 
26185     arg2 
= &temp2
; res2 
= SWIG_NEWOBJ
; 
26186     arg3 
= &temp3
; res3 
= SWIG_NEWOBJ
; 
26187     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSizeTuple",kwnames
,&obj0
)) goto fail
; 
26188     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
26189     if (SWIG_arg_fail(1)) SWIG_fail
; 
26191         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26192         ((wxWindow 
const *)arg1
)->GetSize(arg2
,arg3
); 
26194         wxPyEndAllowThreads(__tstate
); 
26195         if (PyErr_Occurred()) SWIG_fail
; 
26197     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
26198     resultobj 
= t_output_helper(resultobj
, ((res2 
== SWIG_NEWOBJ
) ? 
26199     SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0))); 
26200     resultobj 
= t_output_helper(resultobj
, ((res3 
== SWIG_NEWOBJ
) ? 
26201     SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0))); 
26208 static PyObject 
*_wrap_Window_GetRect(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
26209     PyObject 
*resultobj
; 
26210     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
26212     PyObject 
* obj0 
= 0 ; 
26213     char *kwnames
[] = { 
26214         (char *) "self", NULL 
 
26217     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetRect",kwnames
,&obj0
)) goto fail
; 
26218     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
26219     if (SWIG_arg_fail(1)) SWIG_fail
; 
26221         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26222         result 
= ((wxWindow 
const *)arg1
)->GetRect(); 
26224         wxPyEndAllowThreads(__tstate
); 
26225         if (PyErr_Occurred()) SWIG_fail
; 
26228         wxRect 
* resultptr
; 
26229         resultptr 
= new wxRect((wxRect 
&)(result
)); 
26230         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1); 
26238 static PyObject 
*_wrap_Window_GetClientSize(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
26239     PyObject 
*resultobj
; 
26240     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
26242     PyObject 
* obj0 
= 0 ; 
26243     char *kwnames
[] = { 
26244         (char *) "self", NULL 
 
26247     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientSize",kwnames
,&obj0
)) goto fail
; 
26248     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
26249     if (SWIG_arg_fail(1)) SWIG_fail
; 
26251         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26252         result 
= ((wxWindow 
const *)arg1
)->GetClientSize(); 
26254         wxPyEndAllowThreads(__tstate
); 
26255         if (PyErr_Occurred()) SWIG_fail
; 
26258         wxSize 
* resultptr
; 
26259         resultptr 
= new wxSize((wxSize 
&)(result
)); 
26260         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1); 
26268 static PyObject 
*_wrap_Window_GetClientSizeTuple(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
26269     PyObject 
*resultobj
; 
26270     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
26271     int *arg2 
= (int *) 0 ; 
26272     int *arg3 
= (int *) 0 ; 
26277     PyObject 
* obj0 
= 0 ; 
26278     char *kwnames
[] = { 
26279         (char *) "self", NULL 
 
26282     arg2 
= &temp2
; res2 
= SWIG_NEWOBJ
; 
26283     arg3 
= &temp3
; res3 
= SWIG_NEWOBJ
; 
26284     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientSizeTuple",kwnames
,&obj0
)) goto fail
; 
26285     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
26286     if (SWIG_arg_fail(1)) SWIG_fail
; 
26288         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26289         ((wxWindow 
const *)arg1
)->GetClientSize(arg2
,arg3
); 
26291         wxPyEndAllowThreads(__tstate
); 
26292         if (PyErr_Occurred()) SWIG_fail
; 
26294     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
26295     resultobj 
= t_output_helper(resultobj
, ((res2 
== SWIG_NEWOBJ
) ? 
26296     SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0))); 
26297     resultobj 
= t_output_helper(resultobj
, ((res3 
== SWIG_NEWOBJ
) ? 
26298     SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0))); 
26305 static PyObject 
*_wrap_Window_GetClientAreaOrigin(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
26306     PyObject 
*resultobj
; 
26307     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
26309     PyObject 
* obj0 
= 0 ; 
26310     char *kwnames
[] = { 
26311         (char *) "self", NULL 
 
26314     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientAreaOrigin",kwnames
,&obj0
)) goto fail
; 
26315     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
26316     if (SWIG_arg_fail(1)) SWIG_fail
; 
26318         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26319         result 
= ((wxWindow 
const *)arg1
)->GetClientAreaOrigin(); 
26321         wxPyEndAllowThreads(__tstate
); 
26322         if (PyErr_Occurred()) SWIG_fail
; 
26325         wxPoint 
* resultptr
; 
26326         resultptr 
= new wxPoint((wxPoint 
&)(result
)); 
26327         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1); 
26335 static PyObject 
*_wrap_Window_GetClientRect(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
26336     PyObject 
*resultobj
; 
26337     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
26339     PyObject 
* obj0 
= 0 ; 
26340     char *kwnames
[] = { 
26341         (char *) "self", NULL 
 
26344     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientRect",kwnames
,&obj0
)) goto fail
; 
26345     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
26346     if (SWIG_arg_fail(1)) SWIG_fail
; 
26348         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26349         result 
= ((wxWindow 
const *)arg1
)->GetClientRect(); 
26351         wxPyEndAllowThreads(__tstate
); 
26352         if (PyErr_Occurred()) SWIG_fail
; 
26355         wxRect 
* resultptr
; 
26356         resultptr 
= new wxRect((wxRect 
&)(result
)); 
26357         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1); 
26365 static PyObject 
*_wrap_Window_GetBestSize(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
26366     PyObject 
*resultobj
; 
26367     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
26369     PyObject 
* obj0 
= 0 ; 
26370     char *kwnames
[] = { 
26371         (char *) "self", NULL 
 
26374     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestSize",kwnames
,&obj0
)) goto fail
; 
26375     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
26376     if (SWIG_arg_fail(1)) SWIG_fail
; 
26378         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26379         result 
= ((wxWindow 
const *)arg1
)->GetBestSize(); 
26381         wxPyEndAllowThreads(__tstate
); 
26382         if (PyErr_Occurred()) SWIG_fail
; 
26385         wxSize 
* resultptr
; 
26386         resultptr 
= new wxSize((wxSize 
&)(result
)); 
26387         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1); 
26395 static PyObject 
*_wrap_Window_GetBestSizeTuple(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
26396     PyObject 
*resultobj
; 
26397     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
26398     int *arg2 
= (int *) 0 ; 
26399     int *arg3 
= (int *) 0 ; 
26404     PyObject 
* obj0 
= 0 ; 
26405     char *kwnames
[] = { 
26406         (char *) "self", NULL 
 
26409     arg2 
= &temp2
; res2 
= SWIG_NEWOBJ
; 
26410     arg3 
= &temp3
; res3 
= SWIG_NEWOBJ
; 
26411     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestSizeTuple",kwnames
,&obj0
)) goto fail
; 
26412     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
26413     if (SWIG_arg_fail(1)) SWIG_fail
; 
26415         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26416         ((wxWindow 
const *)arg1
)->GetBestSize(arg2
,arg3
); 
26418         wxPyEndAllowThreads(__tstate
); 
26419         if (PyErr_Occurred()) SWIG_fail
; 
26421     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
26422     resultobj 
= t_output_helper(resultobj
, ((res2 
== SWIG_NEWOBJ
) ? 
26423     SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0))); 
26424     resultobj 
= t_output_helper(resultobj
, ((res3 
== SWIG_NEWOBJ
) ? 
26425     SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0))); 
26432 static PyObject 
*_wrap_Window_InvalidateBestSize(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
26433     PyObject 
*resultobj
; 
26434     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
26435     PyObject 
* obj0 
= 0 ; 
26436     char *kwnames
[] = { 
26437         (char *) "self", NULL 
 
26440     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InvalidateBestSize",kwnames
,&obj0
)) goto fail
; 
26441     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
26442     if (SWIG_arg_fail(1)) SWIG_fail
; 
26444         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26445         (arg1
)->InvalidateBestSize(); 
26447         wxPyEndAllowThreads(__tstate
); 
26448         if (PyErr_Occurred()) SWIG_fail
; 
26450     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
26457 static PyObject 
*_wrap_Window_GetBestFittingSize(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
26458     PyObject 
*resultobj
; 
26459     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
26461     PyObject 
* obj0 
= 0 ; 
26462     char *kwnames
[] = { 
26463         (char *) "self", NULL 
 
26466     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestFittingSize",kwnames
,&obj0
)) goto fail
; 
26467     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
26468     if (SWIG_arg_fail(1)) SWIG_fail
; 
26470         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26471         result 
= ((wxWindow 
const *)arg1
)->GetBestFittingSize(); 
26473         wxPyEndAllowThreads(__tstate
); 
26474         if (PyErr_Occurred()) SWIG_fail
; 
26477         wxSize 
* resultptr
; 
26478         resultptr 
= new wxSize((wxSize 
&)(result
)); 
26479         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1); 
26487 static PyObject 
*_wrap_Window_GetAdjustedBestSize(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
26488     PyObject 
*resultobj
; 
26489     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
26491     PyObject 
* obj0 
= 0 ; 
26492     char *kwnames
[] = { 
26493         (char *) "self", NULL 
 
26496     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAdjustedBestSize",kwnames
,&obj0
)) goto fail
; 
26497     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
26498     if (SWIG_arg_fail(1)) SWIG_fail
; 
26500         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26501         result 
= ((wxWindow 
const *)arg1
)->GetAdjustedBestSize(); 
26503         wxPyEndAllowThreads(__tstate
); 
26504         if (PyErr_Occurred()) SWIG_fail
; 
26507         wxSize 
* resultptr
; 
26508         resultptr 
= new wxSize((wxSize 
&)(result
)); 
26509         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1); 
26517 static PyObject 
*_wrap_Window_Center(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
26518     PyObject 
*resultobj
; 
26519     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
26520     int arg2 
= (int) wxBOTH 
; 
26521     PyObject 
* obj0 
= 0 ; 
26522     PyObject 
* obj1 
= 0 ; 
26523     char *kwnames
[] = { 
26524         (char *) "self",(char *) "direction", NULL 
 
26527     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Center",kwnames
,&obj0
,&obj1
)) goto fail
; 
26528     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
26529     if (SWIG_arg_fail(1)) SWIG_fail
; 
26532             arg2 
= (int)(SWIG_As_int(obj1
));  
26533             if (SWIG_arg_fail(2)) SWIG_fail
; 
26537         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26538         (arg1
)->Center(arg2
); 
26540         wxPyEndAllowThreads(__tstate
); 
26541         if (PyErr_Occurred()) SWIG_fail
; 
26543     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
26550 static PyObject 
*_wrap_Window_CenterOnScreen(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
26551     PyObject 
*resultobj
; 
26552     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
26553     int arg2 
= (int) wxBOTH 
; 
26554     PyObject 
* obj0 
= 0 ; 
26555     PyObject 
* obj1 
= 0 ; 
26556     char *kwnames
[] = { 
26557         (char *) "self",(char *) "dir", NULL 
 
26560     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_CenterOnScreen",kwnames
,&obj0
,&obj1
)) goto fail
; 
26561     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
26562     if (SWIG_arg_fail(1)) SWIG_fail
; 
26565             arg2 
= (int)(SWIG_As_int(obj1
));  
26566             if (SWIG_arg_fail(2)) SWIG_fail
; 
26570         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26571         (arg1
)->CenterOnScreen(arg2
); 
26573         wxPyEndAllowThreads(__tstate
); 
26574         if (PyErr_Occurred()) SWIG_fail
; 
26576     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
26583 static PyObject 
*_wrap_Window_CenterOnParent(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
26584     PyObject 
*resultobj
; 
26585     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
26586     int arg2 
= (int) wxBOTH 
; 
26587     PyObject 
* obj0 
= 0 ; 
26588     PyObject 
* obj1 
= 0 ; 
26589     char *kwnames
[] = { 
26590         (char *) "self",(char *) "dir", NULL 
 
26593     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_CenterOnParent",kwnames
,&obj0
,&obj1
)) goto fail
; 
26594     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
26595     if (SWIG_arg_fail(1)) SWIG_fail
; 
26598             arg2 
= (int)(SWIG_As_int(obj1
));  
26599             if (SWIG_arg_fail(2)) SWIG_fail
; 
26603         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26604         (arg1
)->CenterOnParent(arg2
); 
26606         wxPyEndAllowThreads(__tstate
); 
26607         if (PyErr_Occurred()) SWIG_fail
; 
26609     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
26616 static PyObject 
*_wrap_Window_Fit(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
26617     PyObject 
*resultobj
; 
26618     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
26619     PyObject 
* obj0 
= 0 ; 
26620     char *kwnames
[] = { 
26621         (char *) "self", NULL 
 
26624     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Fit",kwnames
,&obj0
)) goto fail
; 
26625     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
26626     if (SWIG_arg_fail(1)) SWIG_fail
; 
26628         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26631         wxPyEndAllowThreads(__tstate
); 
26632         if (PyErr_Occurred()) SWIG_fail
; 
26634     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
26641 static PyObject 
*_wrap_Window_FitInside(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
26642     PyObject 
*resultobj
; 
26643     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
26644     PyObject 
* obj0 
= 0 ; 
26645     char *kwnames
[] = { 
26646         (char *) "self", NULL 
 
26649     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_FitInside",kwnames
,&obj0
)) goto fail
; 
26650     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
26651     if (SWIG_arg_fail(1)) SWIG_fail
; 
26653         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26654         (arg1
)->FitInside(); 
26656         wxPyEndAllowThreads(__tstate
); 
26657         if (PyErr_Occurred()) SWIG_fail
; 
26659     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
26666 static PyObject 
*_wrap_Window_SetSizeHints(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
26667     PyObject 
*resultobj
; 
26668     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
26671     int arg4 
= (int) -1 ; 
26672     int arg5 
= (int) -1 ; 
26673     int arg6 
= (int) -1 ; 
26674     int arg7 
= (int) -1 ; 
26675     PyObject 
* obj0 
= 0 ; 
26676     PyObject 
* obj1 
= 0 ; 
26677     PyObject 
* obj2 
= 0 ; 
26678     PyObject 
* obj3 
= 0 ; 
26679     PyObject 
* obj4 
= 0 ; 
26680     PyObject 
* obj5 
= 0 ; 
26681     PyObject 
* obj6 
= 0 ; 
26682     char *kwnames
[] = { 
26683         (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH",(char *) "incW",(char *) "incH", NULL 
 
26686     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Window_SetSizeHints",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
; 
26687     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
26688     if (SWIG_arg_fail(1)) SWIG_fail
; 
26690         arg2 
= (int)(SWIG_As_int(obj1
));  
26691         if (SWIG_arg_fail(2)) SWIG_fail
; 
26694         arg3 
= (int)(SWIG_As_int(obj2
));  
26695         if (SWIG_arg_fail(3)) SWIG_fail
; 
26699             arg4 
= (int)(SWIG_As_int(obj3
));  
26700             if (SWIG_arg_fail(4)) SWIG_fail
; 
26705             arg5 
= (int)(SWIG_As_int(obj4
));  
26706             if (SWIG_arg_fail(5)) SWIG_fail
; 
26711             arg6 
= (int)(SWIG_As_int(obj5
));  
26712             if (SWIG_arg_fail(6)) SWIG_fail
; 
26717             arg7 
= (int)(SWIG_As_int(obj6
));  
26718             if (SWIG_arg_fail(7)) SWIG_fail
; 
26722         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26723         (arg1
)->SetSizeHints(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
); 
26725         wxPyEndAllowThreads(__tstate
); 
26726         if (PyErr_Occurred()) SWIG_fail
; 
26728     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
26735 static PyObject 
*_wrap_Window_SetSizeHintsSz(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
26736     PyObject 
*resultobj
; 
26737     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
26739     wxSize 
const &arg3_defvalue 
= wxDefaultSize 
; 
26740     wxSize 
*arg3 
= (wxSize 
*) &arg3_defvalue 
; 
26741     wxSize 
const &arg4_defvalue 
= wxDefaultSize 
; 
26742     wxSize 
*arg4 
= (wxSize 
*) &arg4_defvalue 
; 
26746     PyObject 
* obj0 
= 0 ; 
26747     PyObject 
* obj1 
= 0 ; 
26748     PyObject 
* obj2 
= 0 ; 
26749     PyObject 
* obj3 
= 0 ; 
26750     char *kwnames
[] = { 
26751         (char *) "self",(char *) "minSize",(char *) "maxSize",(char *) "incSize", NULL 
 
26754     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Window_SetSizeHintsSz",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
26755     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
26756     if (SWIG_arg_fail(1)) SWIG_fail
; 
26759         if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
; 
26764             if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
; 
26770             if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
; 
26774         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26775         (arg1
)->SetSizeHints((wxSize 
const &)*arg2
,(wxSize 
const &)*arg3
,(wxSize 
const &)*arg4
); 
26777         wxPyEndAllowThreads(__tstate
); 
26778         if (PyErr_Occurred()) SWIG_fail
; 
26780     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
26787 static PyObject 
*_wrap_Window_SetVirtualSizeHints(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
26788     PyObject 
*resultobj
; 
26789     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
26792     int arg4 
= (int) -1 ; 
26793     int arg5 
= (int) -1 ; 
26794     PyObject 
* obj0 
= 0 ; 
26795     PyObject 
* obj1 
= 0 ; 
26796     PyObject 
* obj2 
= 0 ; 
26797     PyObject 
* obj3 
= 0 ; 
26798     PyObject 
* obj4 
= 0 ; 
26799     char *kwnames
[] = { 
26800         (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH", NULL 
 
26803     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Window_SetVirtualSizeHints",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
; 
26804     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
26805     if (SWIG_arg_fail(1)) SWIG_fail
; 
26807         arg2 
= (int)(SWIG_As_int(obj1
));  
26808         if (SWIG_arg_fail(2)) SWIG_fail
; 
26811         arg3 
= (int)(SWIG_As_int(obj2
));  
26812         if (SWIG_arg_fail(3)) SWIG_fail
; 
26816             arg4 
= (int)(SWIG_As_int(obj3
));  
26817             if (SWIG_arg_fail(4)) SWIG_fail
; 
26822             arg5 
= (int)(SWIG_As_int(obj4
));  
26823             if (SWIG_arg_fail(5)) SWIG_fail
; 
26827         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26828         (arg1
)->SetVirtualSizeHints(arg2
,arg3
,arg4
,arg5
); 
26830         wxPyEndAllowThreads(__tstate
); 
26831         if (PyErr_Occurred()) SWIG_fail
; 
26833     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
26840 static PyObject 
*_wrap_Window_SetVirtualSizeHintsSz(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
26841     PyObject 
*resultobj
; 
26842     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
26844     wxSize 
const &arg3_defvalue 
= wxDefaultSize 
; 
26845     wxSize 
*arg3 
= (wxSize 
*) &arg3_defvalue 
; 
26848     PyObject 
* obj0 
= 0 ; 
26849     PyObject 
* obj1 
= 0 ; 
26850     PyObject 
* obj2 
= 0 ; 
26851     char *kwnames
[] = { 
26852         (char *) "self",(char *) "minSize",(char *) "maxSize", NULL 
 
26855     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetVirtualSizeHintsSz",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
26856     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
26857     if (SWIG_arg_fail(1)) SWIG_fail
; 
26860         if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
; 
26865             if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
; 
26869         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26870         (arg1
)->SetVirtualSizeHints((wxSize 
const &)*arg2
,(wxSize 
const &)*arg3
); 
26872         wxPyEndAllowThreads(__tstate
); 
26873         if (PyErr_Occurred()) SWIG_fail
; 
26875     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
26882 static PyObject 
*_wrap_Window_GetMaxSize(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
26883     PyObject 
*resultobj
; 
26884     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
26886     PyObject 
* obj0 
= 0 ; 
26887     char *kwnames
[] = { 
26888         (char *) "self", NULL 
 
26891     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxSize",kwnames
,&obj0
)) goto fail
; 
26892     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
26893     if (SWIG_arg_fail(1)) SWIG_fail
; 
26895         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26896         result 
= ((wxWindow 
const *)arg1
)->GetMaxSize(); 
26898         wxPyEndAllowThreads(__tstate
); 
26899         if (PyErr_Occurred()) SWIG_fail
; 
26902         wxSize 
* resultptr
; 
26903         resultptr 
= new wxSize((wxSize 
&)(result
)); 
26904         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1); 
26912 static PyObject 
*_wrap_Window_GetMinSize(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
26913     PyObject 
*resultobj
; 
26914     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
26916     PyObject 
* obj0 
= 0 ; 
26917     char *kwnames
[] = { 
26918         (char *) "self", NULL 
 
26921     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinSize",kwnames
,&obj0
)) goto fail
; 
26922     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
26923     if (SWIG_arg_fail(1)) SWIG_fail
; 
26925         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26926         result 
= ((wxWindow 
const *)arg1
)->GetMinSize(); 
26928         wxPyEndAllowThreads(__tstate
); 
26929         if (PyErr_Occurred()) SWIG_fail
; 
26932         wxSize 
* resultptr
; 
26933         resultptr 
= new wxSize((wxSize 
&)(result
)); 
26934         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1); 
26942 static PyObject 
*_wrap_Window_SetMinSize(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
26943     PyObject 
*resultobj
; 
26944     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
26947     PyObject 
* obj0 
= 0 ; 
26948     PyObject 
* obj1 
= 0 ; 
26949     char *kwnames
[] = { 
26950         (char *) "self",(char *) "minSize", NULL 
 
26953     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetMinSize",kwnames
,&obj0
,&obj1
)) goto fail
; 
26954     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
26955     if (SWIG_arg_fail(1)) SWIG_fail
; 
26958         if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
; 
26961         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26962         (arg1
)->SetMinSize((wxSize 
const &)*arg2
); 
26964         wxPyEndAllowThreads(__tstate
); 
26965         if (PyErr_Occurred()) SWIG_fail
; 
26967     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
26974 static PyObject 
*_wrap_Window_SetMaxSize(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
26975     PyObject 
*resultobj
; 
26976     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
26979     PyObject 
* obj0 
= 0 ; 
26980     PyObject 
* obj1 
= 0 ; 
26981     char *kwnames
[] = { 
26982         (char *) "self",(char *) "maxSize", NULL 
 
26985     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetMaxSize",kwnames
,&obj0
,&obj1
)) goto fail
; 
26986     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
26987     if (SWIG_arg_fail(1)) SWIG_fail
; 
26990         if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
; 
26993         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26994         (arg1
)->SetMaxSize((wxSize 
const &)*arg2
); 
26996         wxPyEndAllowThreads(__tstate
); 
26997         if (PyErr_Occurred()) SWIG_fail
; 
26999     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
27006 static PyObject 
*_wrap_Window_GetMinWidth(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
27007     PyObject 
*resultobj
; 
27008     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
27010     PyObject 
* obj0 
= 0 ; 
27011     char *kwnames
[] = { 
27012         (char *) "self", NULL 
 
27015     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinWidth",kwnames
,&obj0
)) goto fail
; 
27016     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
27017     if (SWIG_arg_fail(1)) SWIG_fail
; 
27019         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27020         result 
= (int)((wxWindow 
const *)arg1
)->GetMinWidth(); 
27022         wxPyEndAllowThreads(__tstate
); 
27023         if (PyErr_Occurred()) SWIG_fail
; 
27026         resultobj 
= SWIG_From_int((int)(result
));  
27034 static PyObject 
*_wrap_Window_GetMinHeight(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
27035     PyObject 
*resultobj
; 
27036     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
27038     PyObject 
* obj0 
= 0 ; 
27039     char *kwnames
[] = { 
27040         (char *) "self", NULL 
 
27043     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinHeight",kwnames
,&obj0
)) goto fail
; 
27044     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
27045     if (SWIG_arg_fail(1)) SWIG_fail
; 
27047         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27048         result 
= (int)((wxWindow 
const *)arg1
)->GetMinHeight(); 
27050         wxPyEndAllowThreads(__tstate
); 
27051         if (PyErr_Occurred()) SWIG_fail
; 
27054         resultobj 
= SWIG_From_int((int)(result
));  
27062 static PyObject 
*_wrap_Window_GetMaxWidth(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
27063     PyObject 
*resultobj
; 
27064     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
27066     PyObject 
* obj0 
= 0 ; 
27067     char *kwnames
[] = { 
27068         (char *) "self", NULL 
 
27071     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxWidth",kwnames
,&obj0
)) goto fail
; 
27072     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
27073     if (SWIG_arg_fail(1)) SWIG_fail
; 
27075         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27076         result 
= (int)((wxWindow 
const *)arg1
)->GetMaxWidth(); 
27078         wxPyEndAllowThreads(__tstate
); 
27079         if (PyErr_Occurred()) SWIG_fail
; 
27082         resultobj 
= SWIG_From_int((int)(result
));  
27090 static PyObject 
*_wrap_Window_GetMaxHeight(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
27091     PyObject 
*resultobj
; 
27092     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
27094     PyObject 
* obj0 
= 0 ; 
27095     char *kwnames
[] = { 
27096         (char *) "self", NULL 
 
27099     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxHeight",kwnames
,&obj0
)) goto fail
; 
27100     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
27101     if (SWIG_arg_fail(1)) SWIG_fail
; 
27103         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27104         result 
= (int)((wxWindow 
const *)arg1
)->GetMaxHeight(); 
27106         wxPyEndAllowThreads(__tstate
); 
27107         if (PyErr_Occurred()) SWIG_fail
; 
27110         resultobj 
= SWIG_From_int((int)(result
));  
27118 static PyObject 
*_wrap_Window_SetVirtualSize(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
27119     PyObject 
*resultobj
; 
27120     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
27123     PyObject 
* obj0 
= 0 ; 
27124     PyObject 
* obj1 
= 0 ; 
27125     char *kwnames
[] = { 
27126         (char *) "self",(char *) "size", NULL 
 
27129     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetVirtualSize",kwnames
,&obj0
,&obj1
)) goto fail
; 
27130     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
27131     if (SWIG_arg_fail(1)) SWIG_fail
; 
27134         if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
; 
27137         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27138         (arg1
)->SetVirtualSize((wxSize 
const &)*arg2
); 
27140         wxPyEndAllowThreads(__tstate
); 
27141         if (PyErr_Occurred()) SWIG_fail
; 
27143     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
27150 static PyObject 
*_wrap_Window_SetVirtualSizeWH(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
27151     PyObject 
*resultobj
; 
27152     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
27155     PyObject 
* obj0 
= 0 ; 
27156     PyObject 
* obj1 
= 0 ; 
27157     PyObject 
* obj2 
= 0 ; 
27158     char *kwnames
[] = { 
27159         (char *) "self",(char *) "w",(char *) "h", NULL 
 
27162     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetVirtualSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
27163     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
27164     if (SWIG_arg_fail(1)) SWIG_fail
; 
27166         arg2 
= (int)(SWIG_As_int(obj1
));  
27167         if (SWIG_arg_fail(2)) SWIG_fail
; 
27170         arg3 
= (int)(SWIG_As_int(obj2
));  
27171         if (SWIG_arg_fail(3)) SWIG_fail
; 
27174         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27175         (arg1
)->SetVirtualSize(arg2
,arg3
); 
27177         wxPyEndAllowThreads(__tstate
); 
27178         if (PyErr_Occurred()) SWIG_fail
; 
27180     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
27187 static PyObject 
*_wrap_Window_GetVirtualSize(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
27188     PyObject 
*resultobj
; 
27189     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
27191     PyObject 
* obj0 
= 0 ; 
27192     char *kwnames
[] = { 
27193         (char *) "self", NULL 
 
27196     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetVirtualSize",kwnames
,&obj0
)) goto fail
; 
27197     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
27198     if (SWIG_arg_fail(1)) SWIG_fail
; 
27200         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27201         result 
= ((wxWindow 
const *)arg1
)->GetVirtualSize(); 
27203         wxPyEndAllowThreads(__tstate
); 
27204         if (PyErr_Occurred()) SWIG_fail
; 
27207         wxSize 
* resultptr
; 
27208         resultptr 
= new wxSize((wxSize 
&)(result
)); 
27209         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1); 
27217 static PyObject 
*_wrap_Window_GetVirtualSizeTuple(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
27218     PyObject 
*resultobj
; 
27219     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
27220     int *arg2 
= (int *) 0 ; 
27221     int *arg3 
= (int *) 0 ; 
27226     PyObject 
* obj0 
= 0 ; 
27227     char *kwnames
[] = { 
27228         (char *) "self", NULL 
 
27231     arg2 
= &temp2
; res2 
= SWIG_NEWOBJ
; 
27232     arg3 
= &temp3
; res3 
= SWIG_NEWOBJ
; 
27233     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetVirtualSizeTuple",kwnames
,&obj0
)) goto fail
; 
27234     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
27235     if (SWIG_arg_fail(1)) SWIG_fail
; 
27237         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27238         ((wxWindow 
const *)arg1
)->GetVirtualSize(arg2
,arg3
); 
27240         wxPyEndAllowThreads(__tstate
); 
27241         if (PyErr_Occurred()) SWIG_fail
; 
27243     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
27244     resultobj 
= t_output_helper(resultobj
, ((res2 
== SWIG_NEWOBJ
) ? 
27245     SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0))); 
27246     resultobj 
= t_output_helper(resultobj
, ((res3 
== SWIG_NEWOBJ
) ? 
27247     SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0))); 
27254 static PyObject 
*_wrap_Window_GetBestVirtualSize(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
27255     PyObject 
*resultobj
; 
27256     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
27258     PyObject 
* obj0 
= 0 ; 
27259     char *kwnames
[] = { 
27260         (char *) "self", NULL 
 
27263     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestVirtualSize",kwnames
,&obj0
)) goto fail
; 
27264     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
27265     if (SWIG_arg_fail(1)) SWIG_fail
; 
27267         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27268         result 
= ((wxWindow 
const *)arg1
)->GetBestVirtualSize(); 
27270         wxPyEndAllowThreads(__tstate
); 
27271         if (PyErr_Occurred()) SWIG_fail
; 
27274         wxSize 
* resultptr
; 
27275         resultptr 
= new wxSize((wxSize 
&)(result
)); 
27276         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1); 
27284 static PyObject 
*_wrap_Window_Show(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
27285     PyObject 
*resultobj
; 
27286     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
27287     bool arg2 
= (bool) true ; 
27289     PyObject 
* obj0 
= 0 ; 
27290     PyObject 
* obj1 
= 0 ; 
27291     char *kwnames
[] = { 
27292         (char *) "self",(char *) "show", NULL 
 
27295     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Show",kwnames
,&obj0
,&obj1
)) goto fail
; 
27296     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
27297     if (SWIG_arg_fail(1)) SWIG_fail
; 
27300             arg2 
= (bool)(SWIG_As_bool(obj1
));  
27301             if (SWIG_arg_fail(2)) SWIG_fail
; 
27305         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27306         result 
= (bool)(arg1
)->Show(arg2
); 
27308         wxPyEndAllowThreads(__tstate
); 
27309         if (PyErr_Occurred()) SWIG_fail
; 
27312         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
27320 static PyObject 
*_wrap_Window_Hide(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
27321     PyObject 
*resultobj
; 
27322     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
27324     PyObject 
* obj0 
= 0 ; 
27325     char *kwnames
[] = { 
27326         (char *) "self", NULL 
 
27329     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Hide",kwnames
,&obj0
)) goto fail
; 
27330     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
27331     if (SWIG_arg_fail(1)) SWIG_fail
; 
27333         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27334         result 
= (bool)(arg1
)->Hide(); 
27336         wxPyEndAllowThreads(__tstate
); 
27337         if (PyErr_Occurred()) SWIG_fail
; 
27340         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
27348 static PyObject 
*_wrap_Window_Enable(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
27349     PyObject 
*resultobj
; 
27350     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
27351     bool arg2 
= (bool) true ; 
27353     PyObject 
* obj0 
= 0 ; 
27354     PyObject 
* obj1 
= 0 ; 
27355     char *kwnames
[] = { 
27356         (char *) "self",(char *) "enable", NULL 
 
27359     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Enable",kwnames
,&obj0
,&obj1
)) goto fail
; 
27360     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
27361     if (SWIG_arg_fail(1)) SWIG_fail
; 
27364             arg2 
= (bool)(SWIG_As_bool(obj1
));  
27365             if (SWIG_arg_fail(2)) SWIG_fail
; 
27369         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27370         result 
= (bool)(arg1
)->Enable(arg2
); 
27372         wxPyEndAllowThreads(__tstate
); 
27373         if (PyErr_Occurred()) SWIG_fail
; 
27376         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
27384 static PyObject 
*_wrap_Window_Disable(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
27385     PyObject 
*resultobj
; 
27386     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
27388     PyObject 
* obj0 
= 0 ; 
27389     char *kwnames
[] = { 
27390         (char *) "self", NULL 
 
27393     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Disable",kwnames
,&obj0
)) goto fail
; 
27394     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
27395     if (SWIG_arg_fail(1)) SWIG_fail
; 
27397         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27398         result 
= (bool)(arg1
)->Disable(); 
27400         wxPyEndAllowThreads(__tstate
); 
27401         if (PyErr_Occurred()) SWIG_fail
; 
27404         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
27412 static PyObject 
*_wrap_Window_IsShown(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
27413     PyObject 
*resultobj
; 
27414     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
27416     PyObject 
* obj0 
= 0 ; 
27417     char *kwnames
[] = { 
27418         (char *) "self", NULL 
 
27421     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsShown",kwnames
,&obj0
)) goto fail
; 
27422     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
27423     if (SWIG_arg_fail(1)) SWIG_fail
; 
27425         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27426         result 
= (bool)((wxWindow 
const *)arg1
)->IsShown(); 
27428         wxPyEndAllowThreads(__tstate
); 
27429         if (PyErr_Occurred()) SWIG_fail
; 
27432         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
27440 static PyObject 
*_wrap_Window_IsEnabled(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
27441     PyObject 
*resultobj
; 
27442     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
27444     PyObject 
* obj0 
= 0 ; 
27445     char *kwnames
[] = { 
27446         (char *) "self", NULL 
 
27449     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsEnabled",kwnames
,&obj0
)) goto fail
; 
27450     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
27451     if (SWIG_arg_fail(1)) SWIG_fail
; 
27453         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27454         result 
= (bool)((wxWindow 
const *)arg1
)->IsEnabled(); 
27456         wxPyEndAllowThreads(__tstate
); 
27457         if (PyErr_Occurred()) SWIG_fail
; 
27460         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
27468 static PyObject 
*_wrap_Window_SetWindowStyleFlag(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
27469     PyObject 
*resultobj
; 
27470     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
27472     PyObject 
* obj0 
= 0 ; 
27473     PyObject 
* obj1 
= 0 ; 
27474     char *kwnames
[] = { 
27475         (char *) "self",(char *) "style", NULL 
 
27478     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetWindowStyleFlag",kwnames
,&obj0
,&obj1
)) goto fail
; 
27479     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
27480     if (SWIG_arg_fail(1)) SWIG_fail
; 
27482         arg2 
= (long)(SWIG_As_long(obj1
));  
27483         if (SWIG_arg_fail(2)) SWIG_fail
; 
27486         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27487         (arg1
)->SetWindowStyleFlag(arg2
); 
27489         wxPyEndAllowThreads(__tstate
); 
27490         if (PyErr_Occurred()) SWIG_fail
; 
27492     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
27499 static PyObject 
*_wrap_Window_GetWindowStyleFlag(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
27500     PyObject 
*resultobj
; 
27501     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
27503     PyObject 
* obj0 
= 0 ; 
27504     char *kwnames
[] = { 
27505         (char *) "self", NULL 
 
27508     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetWindowStyleFlag",kwnames
,&obj0
)) goto fail
; 
27509     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
27510     if (SWIG_arg_fail(1)) SWIG_fail
; 
27512         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27513         result 
= (long)((wxWindow 
const *)arg1
)->GetWindowStyleFlag(); 
27515         wxPyEndAllowThreads(__tstate
); 
27516         if (PyErr_Occurred()) SWIG_fail
; 
27519         resultobj 
= SWIG_From_long((long)(result
));  
27527 static PyObject 
*_wrap_Window_HasFlag(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
27528     PyObject 
*resultobj
; 
27529     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
27532     PyObject 
* obj0 
= 0 ; 
27533     PyObject 
* obj1 
= 0 ; 
27534     char *kwnames
[] = { 
27535         (char *) "self",(char *) "flag", NULL 
 
27538     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HasFlag",kwnames
,&obj0
,&obj1
)) goto fail
; 
27539     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
27540     if (SWIG_arg_fail(1)) SWIG_fail
; 
27542         arg2 
= (int)(SWIG_As_int(obj1
));  
27543         if (SWIG_arg_fail(2)) SWIG_fail
; 
27546         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27547         result 
= (bool)((wxWindow 
const *)arg1
)->HasFlag(arg2
); 
27549         wxPyEndAllowThreads(__tstate
); 
27550         if (PyErr_Occurred()) SWIG_fail
; 
27553         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
27561 static PyObject 
*_wrap_Window_IsRetained(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
27562     PyObject 
*resultobj
; 
27563     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
27565     PyObject 
* obj0 
= 0 ; 
27566     char *kwnames
[] = { 
27567         (char *) "self", NULL 
 
27570     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsRetained",kwnames
,&obj0
)) goto fail
; 
27571     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
27572     if (SWIG_arg_fail(1)) SWIG_fail
; 
27574         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27575         result 
= (bool)((wxWindow 
const *)arg1
)->IsRetained(); 
27577         wxPyEndAllowThreads(__tstate
); 
27578         if (PyErr_Occurred()) SWIG_fail
; 
27581         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
27589 static PyObject 
*_wrap_Window_SetExtraStyle(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
27590     PyObject 
*resultobj
; 
27591     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
27593     PyObject 
* obj0 
= 0 ; 
27594     PyObject 
* obj1 
= 0 ; 
27595     char *kwnames
[] = { 
27596         (char *) "self",(char *) "exStyle", NULL 
 
27599     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetExtraStyle",kwnames
,&obj0
,&obj1
)) goto fail
; 
27600     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
27601     if (SWIG_arg_fail(1)) SWIG_fail
; 
27603         arg2 
= (long)(SWIG_As_long(obj1
));  
27604         if (SWIG_arg_fail(2)) SWIG_fail
; 
27607         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27608         (arg1
)->SetExtraStyle(arg2
); 
27610         wxPyEndAllowThreads(__tstate
); 
27611         if (PyErr_Occurred()) SWIG_fail
; 
27613     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
27620 static PyObject 
*_wrap_Window_GetExtraStyle(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
27621     PyObject 
*resultobj
; 
27622     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
27624     PyObject 
* obj0 
= 0 ; 
27625     char *kwnames
[] = { 
27626         (char *) "self", NULL 
 
27629     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetExtraStyle",kwnames
,&obj0
)) goto fail
; 
27630     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
27631     if (SWIG_arg_fail(1)) SWIG_fail
; 
27633         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27634         result 
= (long)((wxWindow 
const *)arg1
)->GetExtraStyle(); 
27636         wxPyEndAllowThreads(__tstate
); 
27637         if (PyErr_Occurred()) SWIG_fail
; 
27640         resultobj 
= SWIG_From_long((long)(result
));  
27648 static PyObject 
*_wrap_Window_MakeModal(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
27649     PyObject 
*resultobj
; 
27650     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
27651     bool arg2 
= (bool) true ; 
27652     PyObject 
* obj0 
= 0 ; 
27653     PyObject 
* obj1 
= 0 ; 
27654     char *kwnames
[] = { 
27655         (char *) "self",(char *) "modal", NULL 
 
27658     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_MakeModal",kwnames
,&obj0
,&obj1
)) goto fail
; 
27659     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
27660     if (SWIG_arg_fail(1)) SWIG_fail
; 
27663             arg2 
= (bool)(SWIG_As_bool(obj1
));  
27664             if (SWIG_arg_fail(2)) SWIG_fail
; 
27668         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27669         (arg1
)->MakeModal(arg2
); 
27671         wxPyEndAllowThreads(__tstate
); 
27672         if (PyErr_Occurred()) SWIG_fail
; 
27674     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
27681 static PyObject 
*_wrap_Window_SetThemeEnabled(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
27682     PyObject 
*resultobj
; 
27683     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
27685     PyObject 
* obj0 
= 0 ; 
27686     PyObject 
* obj1 
= 0 ; 
27687     char *kwnames
[] = { 
27688         (char *) "self",(char *) "enableTheme", NULL 
 
27691     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetThemeEnabled",kwnames
,&obj0
,&obj1
)) goto fail
; 
27692     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
27693     if (SWIG_arg_fail(1)) SWIG_fail
; 
27695         arg2 
= (bool)(SWIG_As_bool(obj1
));  
27696         if (SWIG_arg_fail(2)) SWIG_fail
; 
27699         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27700         (arg1
)->SetThemeEnabled(arg2
); 
27702         wxPyEndAllowThreads(__tstate
); 
27703         if (PyErr_Occurred()) SWIG_fail
; 
27705     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
27712 static PyObject 
*_wrap_Window_GetThemeEnabled(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
27713     PyObject 
*resultobj
; 
27714     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
27716     PyObject 
* obj0 
= 0 ; 
27717     char *kwnames
[] = { 
27718         (char *) "self", NULL 
 
27721     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetThemeEnabled",kwnames
,&obj0
)) goto fail
; 
27722     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
27723     if (SWIG_arg_fail(1)) SWIG_fail
; 
27725         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27726         result 
= (bool)((wxWindow 
const *)arg1
)->GetThemeEnabled(); 
27728         wxPyEndAllowThreads(__tstate
); 
27729         if (PyErr_Occurred()) SWIG_fail
; 
27732         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
27740 static PyObject 
*_wrap_Window_SetFocus(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
27741     PyObject 
*resultobj
; 
27742     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
27743     PyObject 
* obj0 
= 0 ; 
27744     char *kwnames
[] = { 
27745         (char *) "self", NULL 
 
27748     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_SetFocus",kwnames
,&obj0
)) goto fail
; 
27749     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
27750     if (SWIG_arg_fail(1)) SWIG_fail
; 
27752         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27753         (arg1
)->SetFocus(); 
27755         wxPyEndAllowThreads(__tstate
); 
27756         if (PyErr_Occurred()) SWIG_fail
; 
27758     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
27765 static PyObject 
*_wrap_Window_SetFocusFromKbd(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
27766     PyObject 
*resultobj
; 
27767     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
27768     PyObject 
* obj0 
= 0 ; 
27769     char *kwnames
[] = { 
27770         (char *) "self", NULL 
 
27773     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_SetFocusFromKbd",kwnames
,&obj0
)) goto fail
; 
27774     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
27775     if (SWIG_arg_fail(1)) SWIG_fail
; 
27777         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27778         (arg1
)->SetFocusFromKbd(); 
27780         wxPyEndAllowThreads(__tstate
); 
27781         if (PyErr_Occurred()) SWIG_fail
; 
27783     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
27790 static PyObject 
*_wrap_Window_FindFocus(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
27791     PyObject 
*resultobj
; 
27793     char *kwnames
[] = { 
27797     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_FindFocus",kwnames
)) goto fail
; 
27799         if (!wxPyCheckForApp()) SWIG_fail
; 
27800         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27801         result 
= (wxWindow 
*)wxWindow::FindFocus(); 
27803         wxPyEndAllowThreads(__tstate
); 
27804         if (PyErr_Occurred()) SWIG_fail
; 
27807         resultobj 
= wxPyMake_wxObject(result
, 0);  
27815 static PyObject 
*_wrap_Window_AcceptsFocus(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
27816     PyObject 
*resultobj
; 
27817     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
27819     PyObject 
* obj0 
= 0 ; 
27820     char *kwnames
[] = { 
27821         (char *) "self", NULL 
 
27824     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_AcceptsFocus",kwnames
,&obj0
)) goto fail
; 
27825     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
27826     if (SWIG_arg_fail(1)) SWIG_fail
; 
27828         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27829         result 
= (bool)((wxWindow 
const *)arg1
)->AcceptsFocus(); 
27831         wxPyEndAllowThreads(__tstate
); 
27832         if (PyErr_Occurred()) SWIG_fail
; 
27835         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
27843 static PyObject 
*_wrap_Window_AcceptsFocusFromKeyboard(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
27844     PyObject 
*resultobj
; 
27845     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
27847     PyObject 
* obj0 
= 0 ; 
27848     char *kwnames
[] = { 
27849         (char *) "self", NULL 
 
27852     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
; 
27853     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
27854     if (SWIG_arg_fail(1)) SWIG_fail
; 
27856         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27857         result 
= (bool)((wxWindow 
const *)arg1
)->AcceptsFocusFromKeyboard(); 
27859         wxPyEndAllowThreads(__tstate
); 
27860         if (PyErr_Occurred()) SWIG_fail
; 
27863         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
27871 static PyObject 
*_wrap_Window_GetDefaultItem(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
27872     PyObject 
*resultobj
; 
27873     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
27875     PyObject 
* obj0 
= 0 ; 
27876     char *kwnames
[] = { 
27877         (char *) "self", NULL 
 
27880     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDefaultItem",kwnames
,&obj0
)) goto fail
; 
27881     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
27882     if (SWIG_arg_fail(1)) SWIG_fail
; 
27884         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27885         result 
= (wxWindow 
*)((wxWindow 
const *)arg1
)->GetDefaultItem(); 
27887         wxPyEndAllowThreads(__tstate
); 
27888         if (PyErr_Occurred()) SWIG_fail
; 
27891         resultobj 
= wxPyMake_wxObject(result
, 0);  
27899 static PyObject 
*_wrap_Window_SetDefaultItem(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
27900     PyObject 
*resultobj
; 
27901     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
27902     wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
27904     PyObject 
* obj0 
= 0 ; 
27905     PyObject 
* obj1 
= 0 ; 
27906     char *kwnames
[] = { 
27907         (char *) "self",(char *) "child", NULL 
 
27910     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDefaultItem",kwnames
,&obj0
,&obj1
)) goto fail
; 
27911     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
27912     if (SWIG_arg_fail(1)) SWIG_fail
; 
27913     SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
27914     if (SWIG_arg_fail(2)) SWIG_fail
; 
27916         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27917         result 
= (wxWindow 
*)(arg1
)->SetDefaultItem(arg2
); 
27919         wxPyEndAllowThreads(__tstate
); 
27920         if (PyErr_Occurred()) SWIG_fail
; 
27923         resultobj 
= wxPyMake_wxObject(result
, 0);  
27931 static PyObject 
*_wrap_Window_SetTmpDefaultItem(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
27932     PyObject 
*resultobj
; 
27933     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
27934     wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
27935     PyObject 
* obj0 
= 0 ; 
27936     PyObject 
* obj1 
= 0 ; 
27937     char *kwnames
[] = { 
27938         (char *) "self",(char *) "win", NULL 
 
27941     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTmpDefaultItem",kwnames
,&obj0
,&obj1
)) goto fail
; 
27942     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
27943     if (SWIG_arg_fail(1)) SWIG_fail
; 
27944     SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
27945     if (SWIG_arg_fail(2)) SWIG_fail
; 
27947         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27948         (arg1
)->SetTmpDefaultItem(arg2
); 
27950         wxPyEndAllowThreads(__tstate
); 
27951         if (PyErr_Occurred()) SWIG_fail
; 
27953     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
27960 static PyObject 
*_wrap_Window_Navigate(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
27961     PyObject 
*resultobj
; 
27962     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
27963     int arg2 
= (int) wxNavigationKeyEvent::IsForward 
; 
27965     PyObject 
* obj0 
= 0 ; 
27966     PyObject 
* obj1 
= 0 ; 
27967     char *kwnames
[] = { 
27968         (char *) "self",(char *) "flags", NULL 
 
27971     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Navigate",kwnames
,&obj0
,&obj1
)) goto fail
; 
27972     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
27973     if (SWIG_arg_fail(1)) SWIG_fail
; 
27976             arg2 
= (int)(SWIG_As_int(obj1
));  
27977             if (SWIG_arg_fail(2)) SWIG_fail
; 
27981         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27982         result 
= (bool)(arg1
)->Navigate(arg2
); 
27984         wxPyEndAllowThreads(__tstate
); 
27985         if (PyErr_Occurred()) SWIG_fail
; 
27988         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
27996 static PyObject 
*_wrap_Window_MoveAfterInTabOrder(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
27997     PyObject 
*resultobj
; 
27998     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
27999     wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
28000     PyObject 
* obj0 
= 0 ; 
28001     PyObject 
* obj1 
= 0 ; 
28002     char *kwnames
[] = { 
28003         (char *) "self",(char *) "win", NULL 
 
28006     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_MoveAfterInTabOrder",kwnames
,&obj0
,&obj1
)) goto fail
; 
28007     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
28008     if (SWIG_arg_fail(1)) SWIG_fail
; 
28009     SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
28010     if (SWIG_arg_fail(2)) SWIG_fail
; 
28012         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28013         (arg1
)->MoveAfterInTabOrder(arg2
); 
28015         wxPyEndAllowThreads(__tstate
); 
28016         if (PyErr_Occurred()) SWIG_fail
; 
28018     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
28025 static PyObject 
*_wrap_Window_MoveBeforeInTabOrder(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
28026     PyObject 
*resultobj
; 
28027     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
28028     wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
28029     PyObject 
* obj0 
= 0 ; 
28030     PyObject 
* obj1 
= 0 ; 
28031     char *kwnames
[] = { 
28032         (char *) "self",(char *) "win", NULL 
 
28035     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_MoveBeforeInTabOrder",kwnames
,&obj0
,&obj1
)) goto fail
; 
28036     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
28037     if (SWIG_arg_fail(1)) SWIG_fail
; 
28038     SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
28039     if (SWIG_arg_fail(2)) SWIG_fail
; 
28041         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28042         (arg1
)->MoveBeforeInTabOrder(arg2
); 
28044         wxPyEndAllowThreads(__tstate
); 
28045         if (PyErr_Occurred()) SWIG_fail
; 
28047     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
28054 static PyObject 
*_wrap_Window_GetChildren(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
28055     PyObject 
*resultobj
; 
28056     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
28058     PyObject 
* obj0 
= 0 ; 
28059     char *kwnames
[] = { 
28060         (char *) "self", NULL 
 
28063     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetChildren",kwnames
,&obj0
)) goto fail
; 
28064     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
28065     if (SWIG_arg_fail(1)) SWIG_fail
; 
28067         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28068         result 
= (PyObject 
*)wxWindow_GetChildren(arg1
); 
28070         wxPyEndAllowThreads(__tstate
); 
28071         if (PyErr_Occurred()) SWIG_fail
; 
28073     resultobj 
= result
; 
28080 static PyObject 
*_wrap_Window_GetParent(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
28081     PyObject 
*resultobj
; 
28082     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
28084     PyObject 
* obj0 
= 0 ; 
28085     char *kwnames
[] = { 
28086         (char *) "self", NULL 
 
28089     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetParent",kwnames
,&obj0
)) goto fail
; 
28090     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
28091     if (SWIG_arg_fail(1)) SWIG_fail
; 
28093         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28094         result 
= (wxWindow 
*)((wxWindow 
const *)arg1
)->GetParent(); 
28096         wxPyEndAllowThreads(__tstate
); 
28097         if (PyErr_Occurred()) SWIG_fail
; 
28100         resultobj 
= wxPyMake_wxObject(result
, 0);  
28108 static PyObject 
*_wrap_Window_GetGrandParent(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
28109     PyObject 
*resultobj
; 
28110     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
28112     PyObject 
* obj0 
= 0 ; 
28113     char *kwnames
[] = { 
28114         (char *) "self", NULL 
 
28117     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetGrandParent",kwnames
,&obj0
)) goto fail
; 
28118     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
28119     if (SWIG_arg_fail(1)) SWIG_fail
; 
28121         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28122         result 
= (wxWindow 
*)((wxWindow 
const *)arg1
)->GetGrandParent(); 
28124         wxPyEndAllowThreads(__tstate
); 
28125         if (PyErr_Occurred()) SWIG_fail
; 
28128         resultobj 
= wxPyMake_wxObject(result
, 0);  
28136 static PyObject 
*_wrap_Window_IsTopLevel(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
28137     PyObject 
*resultobj
; 
28138     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
28140     PyObject 
* obj0 
= 0 ; 
28141     char *kwnames
[] = { 
28142         (char *) "self", NULL 
 
28145     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsTopLevel",kwnames
,&obj0
)) goto fail
; 
28146     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
28147     if (SWIG_arg_fail(1)) SWIG_fail
; 
28149         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28150         result 
= (bool)((wxWindow 
const *)arg1
)->IsTopLevel(); 
28152         wxPyEndAllowThreads(__tstate
); 
28153         if (PyErr_Occurred()) SWIG_fail
; 
28156         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
28164 static PyObject 
*_wrap_Window_Reparent(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
28165     PyObject 
*resultobj
; 
28166     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
28167     wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
28169     PyObject 
* obj0 
= 0 ; 
28170     PyObject 
* obj1 
= 0 ; 
28171     char *kwnames
[] = { 
28172         (char *) "self",(char *) "newParent", NULL 
 
28175     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_Reparent",kwnames
,&obj0
,&obj1
)) goto fail
; 
28176     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
28177     if (SWIG_arg_fail(1)) SWIG_fail
; 
28178     SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
28179     if (SWIG_arg_fail(2)) SWIG_fail
; 
28181         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28182         result 
= (bool)(arg1
)->Reparent(arg2
); 
28184         wxPyEndAllowThreads(__tstate
); 
28185         if (PyErr_Occurred()) SWIG_fail
; 
28188         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
28196 static PyObject 
*_wrap_Window_AddChild(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
28197     PyObject 
*resultobj
; 
28198     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
28199     wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
28200     PyObject 
* obj0 
= 0 ; 
28201     PyObject 
* obj1 
= 0 ; 
28202     char *kwnames
[] = { 
28203         (char *) "self",(char *) "child", NULL 
 
28206     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
; 
28207     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
28208     if (SWIG_arg_fail(1)) SWIG_fail
; 
28209     SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
28210     if (SWIG_arg_fail(2)) SWIG_fail
; 
28212         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28213         (arg1
)->AddChild(arg2
); 
28215         wxPyEndAllowThreads(__tstate
); 
28216         if (PyErr_Occurred()) SWIG_fail
; 
28218     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
28225 static PyObject 
*_wrap_Window_RemoveChild(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
28226     PyObject 
*resultobj
; 
28227     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
28228     wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
28229     PyObject 
* obj0 
= 0 ; 
28230     PyObject 
* obj1 
= 0 ; 
28231     char *kwnames
[] = { 
28232         (char *) "self",(char *) "child", NULL 
 
28235     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
; 
28236     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
28237     if (SWIG_arg_fail(1)) SWIG_fail
; 
28238     SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
28239     if (SWIG_arg_fail(2)) SWIG_fail
; 
28241         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28242         (arg1
)->RemoveChild(arg2
); 
28244         wxPyEndAllowThreads(__tstate
); 
28245         if (PyErr_Occurred()) SWIG_fail
; 
28247     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
28254 static PyObject 
*_wrap_Window_FindWindowById(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
28255     PyObject 
*resultobj
; 
28256     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
28259     PyObject 
* obj0 
= 0 ; 
28260     PyObject 
* obj1 
= 0 ; 
28261     char *kwnames
[] = { 
28262         (char *) "self",(char *) "winid", NULL 
 
28265     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowById",kwnames
,&obj0
,&obj1
)) goto fail
; 
28266     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
28267     if (SWIG_arg_fail(1)) SWIG_fail
; 
28269         arg2 
= (long)(SWIG_As_long(obj1
));  
28270         if (SWIG_arg_fail(2)) SWIG_fail
; 
28273         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28274         result 
= (wxWindow 
*)(arg1
)->FindWindow(arg2
); 
28276         wxPyEndAllowThreads(__tstate
); 
28277         if (PyErr_Occurred()) SWIG_fail
; 
28280         resultobj 
= wxPyMake_wxObject(result
, 0);  
28288 static PyObject 
*_wrap_Window_FindWindowByName(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
28289     PyObject 
*resultobj
; 
28290     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
28291     wxString 
*arg2 
= 0 ; 
28293     bool temp2 
= false ; 
28294     PyObject 
* obj0 
= 0 ; 
28295     PyObject 
* obj1 
= 0 ; 
28296     char *kwnames
[] = { 
28297         (char *) "self",(char *) "name", NULL 
 
28300     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowByName",kwnames
,&obj0
,&obj1
)) goto fail
; 
28301     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
28302     if (SWIG_arg_fail(1)) SWIG_fail
; 
28304         arg2 
= wxString_in_helper(obj1
); 
28305         if (arg2 
== NULL
) SWIG_fail
; 
28309         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28310         result 
= (wxWindow 
*)(arg1
)->FindWindow((wxString 
const &)*arg2
); 
28312         wxPyEndAllowThreads(__tstate
); 
28313         if (PyErr_Occurred()) SWIG_fail
; 
28316         resultobj 
= wxPyMake_wxObject(result
, 0);  
28332 static PyObject 
*_wrap_Window_GetEventHandler(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
28333     PyObject 
*resultobj
; 
28334     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
28335     wxEvtHandler 
*result
; 
28336     PyObject 
* obj0 
= 0 ; 
28337     char *kwnames
[] = { 
28338         (char *) "self", NULL 
 
28341     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetEventHandler",kwnames
,&obj0
)) goto fail
; 
28342     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
28343     if (SWIG_arg_fail(1)) SWIG_fail
; 
28345         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28346         result 
= (wxEvtHandler 
*)((wxWindow 
const *)arg1
)->GetEventHandler(); 
28348         wxPyEndAllowThreads(__tstate
); 
28349         if (PyErr_Occurred()) SWIG_fail
; 
28352         resultobj 
= wxPyMake_wxObject(result
, 0);  
28360 static PyObject 
*_wrap_Window_SetEventHandler(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
28361     PyObject 
*resultobj
; 
28362     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
28363     wxEvtHandler 
*arg2 
= (wxEvtHandler 
*) 0 ; 
28364     PyObject 
* obj0 
= 0 ; 
28365     PyObject 
* obj1 
= 0 ; 
28366     char *kwnames
[] = { 
28367         (char *) "self",(char *) "handler", NULL 
 
28370     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
; 
28371     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
28372     if (SWIG_arg_fail(1)) SWIG_fail
; 
28373     SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION 
| 0); 
28374     if (SWIG_arg_fail(2)) SWIG_fail
; 
28376         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28377         (arg1
)->SetEventHandler(arg2
); 
28379         wxPyEndAllowThreads(__tstate
); 
28380         if (PyErr_Occurred()) SWIG_fail
; 
28382     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
28389 static PyObject 
*_wrap_Window_PushEventHandler(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
28390     PyObject 
*resultobj
; 
28391     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
28392     wxEvtHandler 
*arg2 
= (wxEvtHandler 
*) 0 ; 
28393     PyObject 
* obj0 
= 0 ; 
28394     PyObject 
* obj1 
= 0 ; 
28395     char *kwnames
[] = { 
28396         (char *) "self",(char *) "handler", NULL 
 
28399     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PushEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
; 
28400     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
28401     if (SWIG_arg_fail(1)) SWIG_fail
; 
28402     SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION 
| 0); 
28403     if (SWIG_arg_fail(2)) SWIG_fail
; 
28405         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28406         (arg1
)->PushEventHandler(arg2
); 
28408         wxPyEndAllowThreads(__tstate
); 
28409         if (PyErr_Occurred()) SWIG_fail
; 
28411     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
28418 static PyObject 
*_wrap_Window_PopEventHandler(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
28419     PyObject 
*resultobj
; 
28420     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
28421     bool arg2 
= (bool) false ; 
28422     wxEvtHandler 
*result
; 
28423     PyObject 
* obj0 
= 0 ; 
28424     PyObject 
* obj1 
= 0 ; 
28425     char *kwnames
[] = { 
28426         (char *) "self",(char *) "deleteHandler", NULL 
 
28429     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_PopEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
; 
28430     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
28431     if (SWIG_arg_fail(1)) SWIG_fail
; 
28434             arg2 
= (bool)(SWIG_As_bool(obj1
));  
28435             if (SWIG_arg_fail(2)) SWIG_fail
; 
28439         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28440         result 
= (wxEvtHandler 
*)(arg1
)->PopEventHandler(arg2
); 
28442         wxPyEndAllowThreads(__tstate
); 
28443         if (PyErr_Occurred()) SWIG_fail
; 
28446         resultobj 
= wxPyMake_wxObject(result
, 0);  
28454 static PyObject 
*_wrap_Window_RemoveEventHandler(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
28455     PyObject 
*resultobj
; 
28456     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
28457     wxEvtHandler 
*arg2 
= (wxEvtHandler 
*) 0 ; 
28459     PyObject 
* obj0 
= 0 ; 
28460     PyObject 
* obj1 
= 0 ; 
28461     char *kwnames
[] = { 
28462         (char *) "self",(char *) "handler", NULL 
 
28465     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
; 
28466     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
28467     if (SWIG_arg_fail(1)) SWIG_fail
; 
28468     SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION 
| 0); 
28469     if (SWIG_arg_fail(2)) SWIG_fail
; 
28471         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28472         result 
= (bool)(arg1
)->RemoveEventHandler(arg2
); 
28474         wxPyEndAllowThreads(__tstate
); 
28475         if (PyErr_Occurred()) SWIG_fail
; 
28478         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
28486 static PyObject 
*_wrap_Window_SetValidator(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
28487     PyObject 
*resultobj
; 
28488     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
28489     wxValidator 
*arg2 
= 0 ; 
28490     PyObject 
* obj0 
= 0 ; 
28491     PyObject 
* obj1 
= 0 ; 
28492     char *kwnames
[] = { 
28493         (char *) "self",(char *) "validator", NULL 
 
28496     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetValidator",kwnames
,&obj0
,&obj1
)) goto fail
; 
28497     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
28498     if (SWIG_arg_fail(1)) SWIG_fail
; 
28500         SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION 
| 0); 
28501         if (SWIG_arg_fail(2)) SWIG_fail
; 
28502         if (arg2 
== NULL
) { 
28503             SWIG_null_ref("wxValidator"); 
28505         if (SWIG_arg_fail(2)) SWIG_fail
; 
28508         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28509         (arg1
)->SetValidator((wxValidator 
const &)*arg2
); 
28511         wxPyEndAllowThreads(__tstate
); 
28512         if (PyErr_Occurred()) SWIG_fail
; 
28514     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
28521 static PyObject 
*_wrap_Window_GetValidator(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
28522     PyObject 
*resultobj
; 
28523     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
28524     wxValidator 
*result
; 
28525     PyObject 
* obj0 
= 0 ; 
28526     char *kwnames
[] = { 
28527         (char *) "self", NULL 
 
28530     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetValidator",kwnames
,&obj0
)) goto fail
; 
28531     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
28532     if (SWIG_arg_fail(1)) SWIG_fail
; 
28534         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28535         result 
= (wxValidator 
*)(arg1
)->GetValidator(); 
28537         wxPyEndAllowThreads(__tstate
); 
28538         if (PyErr_Occurred()) SWIG_fail
; 
28541         resultobj 
= wxPyMake_wxObject(result
, 0);  
28549 static PyObject 
*_wrap_Window_Validate(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
28550     PyObject 
*resultobj
; 
28551     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
28553     PyObject 
* obj0 
= 0 ; 
28554     char *kwnames
[] = { 
28555         (char *) "self", NULL 
 
28558     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Validate",kwnames
,&obj0
)) goto fail
; 
28559     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
28560     if (SWIG_arg_fail(1)) SWIG_fail
; 
28562         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28563         result 
= (bool)(arg1
)->Validate(); 
28565         wxPyEndAllowThreads(__tstate
); 
28566         if (PyErr_Occurred()) SWIG_fail
; 
28569         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
28577 static PyObject 
*_wrap_Window_TransferDataToWindow(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
28578     PyObject 
*resultobj
; 
28579     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
28581     PyObject 
* obj0 
= 0 ; 
28582     char *kwnames
[] = { 
28583         (char *) "self", NULL 
 
28586     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_TransferDataToWindow",kwnames
,&obj0
)) goto fail
; 
28587     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
28588     if (SWIG_arg_fail(1)) SWIG_fail
; 
28590         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28591         result 
= (bool)(arg1
)->TransferDataToWindow(); 
28593         wxPyEndAllowThreads(__tstate
); 
28594         if (PyErr_Occurred()) SWIG_fail
; 
28597         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
28605 static PyObject 
*_wrap_Window_TransferDataFromWindow(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
28606     PyObject 
*resultobj
; 
28607     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
28609     PyObject 
* obj0 
= 0 ; 
28610     char *kwnames
[] = { 
28611         (char *) "self", NULL 
 
28614     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
; 
28615     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
28616     if (SWIG_arg_fail(1)) SWIG_fail
; 
28618         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28619         result 
= (bool)(arg1
)->TransferDataFromWindow(); 
28621         wxPyEndAllowThreads(__tstate
); 
28622         if (PyErr_Occurred()) SWIG_fail
; 
28625         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
28633 static PyObject 
*_wrap_Window_InitDialog(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
28634     PyObject 
*resultobj
; 
28635     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
28636     PyObject 
* obj0 
= 0 ; 
28637     char *kwnames
[] = { 
28638         (char *) "self", NULL 
 
28641     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InitDialog",kwnames
,&obj0
)) goto fail
; 
28642     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
28643     if (SWIG_arg_fail(1)) SWIG_fail
; 
28645         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28646         (arg1
)->InitDialog(); 
28648         wxPyEndAllowThreads(__tstate
); 
28649         if (PyErr_Occurred()) SWIG_fail
; 
28651     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
28658 static PyObject 
*_wrap_Window_SetAcceleratorTable(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
28659     PyObject 
*resultobj
; 
28660     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
28661     wxAcceleratorTable 
*arg2 
= 0 ; 
28662     PyObject 
* obj0 
= 0 ; 
28663     PyObject 
* obj1 
= 0 ; 
28664     char *kwnames
[] = { 
28665         (char *) "self",(char *) "accel", NULL 
 
28668     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAcceleratorTable",kwnames
,&obj0
,&obj1
)) goto fail
; 
28669     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
28670     if (SWIG_arg_fail(1)) SWIG_fail
; 
28672         SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxAcceleratorTable
, SWIG_POINTER_EXCEPTION 
| 0); 
28673         if (SWIG_arg_fail(2)) SWIG_fail
; 
28674         if (arg2 
== NULL
) { 
28675             SWIG_null_ref("wxAcceleratorTable"); 
28677         if (SWIG_arg_fail(2)) SWIG_fail
; 
28680         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28681         (arg1
)->SetAcceleratorTable((wxAcceleratorTable 
const &)*arg2
); 
28683         wxPyEndAllowThreads(__tstate
); 
28684         if (PyErr_Occurred()) SWIG_fail
; 
28686     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
28693 static PyObject 
*_wrap_Window_GetAcceleratorTable(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
28694     PyObject 
*resultobj
; 
28695     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
28696     wxAcceleratorTable 
*result
; 
28697     PyObject 
* obj0 
= 0 ; 
28698     char *kwnames
[] = { 
28699         (char *) "self", NULL 
 
28702     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAcceleratorTable",kwnames
,&obj0
)) goto fail
; 
28703     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
28704     if (SWIG_arg_fail(1)) SWIG_fail
; 
28706         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28707         result 
= (wxAcceleratorTable 
*)(arg1
)->GetAcceleratorTable(); 
28709         wxPyEndAllowThreads(__tstate
); 
28710         if (PyErr_Occurred()) SWIG_fail
; 
28712     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorTable
, 0); 
28719 static PyObject 
*_wrap_Window_RegisterHotKey(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
28720     PyObject 
*resultobj
; 
28721     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
28726     PyObject 
* obj0 
= 0 ; 
28727     PyObject 
* obj1 
= 0 ; 
28728     PyObject 
* obj2 
= 0 ; 
28729     PyObject 
* obj3 
= 0 ; 
28730     char *kwnames
[] = { 
28731         (char *) "self",(char *) "hotkeyId",(char *) "modifiers",(char *) "keycode", NULL 
 
28734     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Window_RegisterHotKey",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
28735     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
28736     if (SWIG_arg_fail(1)) SWIG_fail
; 
28738         arg2 
= (int)(SWIG_As_int(obj1
));  
28739         if (SWIG_arg_fail(2)) SWIG_fail
; 
28742         arg3 
= (int)(SWIG_As_int(obj2
));  
28743         if (SWIG_arg_fail(3)) SWIG_fail
; 
28746         arg4 
= (int)(SWIG_As_int(obj3
));  
28747         if (SWIG_arg_fail(4)) SWIG_fail
; 
28750         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28751         result 
= (bool)wxWindow_RegisterHotKey(arg1
,arg2
,arg3
,arg4
); 
28753         wxPyEndAllowThreads(__tstate
); 
28754         if (PyErr_Occurred()) SWIG_fail
; 
28757         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
28765 static PyObject 
*_wrap_Window_UnregisterHotKey(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
28766     PyObject 
*resultobj
; 
28767     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
28770     PyObject 
* obj0 
= 0 ; 
28771     PyObject 
* obj1 
= 0 ; 
28772     char *kwnames
[] = { 
28773         (char *) "self",(char *) "hotkeyId", NULL 
 
28776     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_UnregisterHotKey",kwnames
,&obj0
,&obj1
)) goto fail
; 
28777     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
28778     if (SWIG_arg_fail(1)) SWIG_fail
; 
28780         arg2 
= (int)(SWIG_As_int(obj1
));  
28781         if (SWIG_arg_fail(2)) SWIG_fail
; 
28784         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28785         result 
= (bool)wxWindow_UnregisterHotKey(arg1
,arg2
); 
28787         wxPyEndAllowThreads(__tstate
); 
28788         if (PyErr_Occurred()) SWIG_fail
; 
28791         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
28799 static PyObject 
*_wrap_Window_ConvertDialogPointToPixels(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
28800     PyObject 
*resultobj
; 
28801     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
28802     wxPoint 
*arg2 
= 0 ; 
28805     PyObject 
* obj0 
= 0 ; 
28806     PyObject 
* obj1 
= 0 ; 
28807     char *kwnames
[] = { 
28808         (char *) "self",(char *) "pt", NULL 
 
28811     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogPointToPixels",kwnames
,&obj0
,&obj1
)) goto fail
; 
28812     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
28813     if (SWIG_arg_fail(1)) SWIG_fail
; 
28816         if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
28819         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28820         result 
= (arg1
)->ConvertDialogToPixels((wxPoint 
const &)*arg2
); 
28822         wxPyEndAllowThreads(__tstate
); 
28823         if (PyErr_Occurred()) SWIG_fail
; 
28826         wxPoint 
* resultptr
; 
28827         resultptr 
= new wxPoint((wxPoint 
&)(result
)); 
28828         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1); 
28836 static PyObject 
*_wrap_Window_ConvertDialogSizeToPixels(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
28837     PyObject 
*resultobj
; 
28838     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
28842     PyObject 
* obj0 
= 0 ; 
28843     PyObject 
* obj1 
= 0 ; 
28844     char *kwnames
[] = { 
28845         (char *) "self",(char *) "sz", NULL 
 
28848     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogSizeToPixels",kwnames
,&obj0
,&obj1
)) goto fail
; 
28849     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
28850     if (SWIG_arg_fail(1)) SWIG_fail
; 
28853         if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
; 
28856         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28857         result 
= (arg1
)->ConvertDialogToPixels((wxSize 
const &)*arg2
); 
28859         wxPyEndAllowThreads(__tstate
); 
28860         if (PyErr_Occurred()) SWIG_fail
; 
28863         wxSize 
* resultptr
; 
28864         resultptr 
= new wxSize((wxSize 
&)(result
)); 
28865         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1); 
28873 static PyObject 
*_wrap_Window_DLG_PNT(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
28874     PyObject 
*resultobj
; 
28875     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
28876     wxPoint 
*arg2 
= 0 ; 
28879     PyObject 
* obj0 
= 0 ; 
28880     PyObject 
* obj1 
= 0 ; 
28881     char *kwnames
[] = { 
28882         (char *) "self",(char *) "pt", NULL 
 
28885     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_PNT",kwnames
,&obj0
,&obj1
)) goto fail
; 
28886     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
28887     if (SWIG_arg_fail(1)) SWIG_fail
; 
28890         if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
28893         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28894         result 
= (arg1
)->ConvertDialogToPixels((wxPoint 
const &)*arg2
); 
28896         wxPyEndAllowThreads(__tstate
); 
28897         if (PyErr_Occurred()) SWIG_fail
; 
28900         wxPoint 
* resultptr
; 
28901         resultptr 
= new wxPoint((wxPoint 
&)(result
)); 
28902         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1); 
28910 static PyObject 
*_wrap_Window_DLG_SZE(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
28911     PyObject 
*resultobj
; 
28912     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
28916     PyObject 
* obj0 
= 0 ; 
28917     PyObject 
* obj1 
= 0 ; 
28918     char *kwnames
[] = { 
28919         (char *) "self",(char *) "sz", NULL 
 
28922     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_SZE",kwnames
,&obj0
,&obj1
)) goto fail
; 
28923     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
28924     if (SWIG_arg_fail(1)) SWIG_fail
; 
28927         if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
; 
28930         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28931         result 
= (arg1
)->ConvertDialogToPixels((wxSize 
const &)*arg2
); 
28933         wxPyEndAllowThreads(__tstate
); 
28934         if (PyErr_Occurred()) SWIG_fail
; 
28937         wxSize 
* resultptr
; 
28938         resultptr 
= new wxSize((wxSize 
&)(result
)); 
28939         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1); 
28947 static PyObject 
*_wrap_Window_ConvertPixelPointToDialog(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
28948     PyObject 
*resultobj
; 
28949     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
28950     wxPoint 
*arg2 
= 0 ; 
28953     PyObject 
* obj0 
= 0 ; 
28954     PyObject 
* obj1 
= 0 ; 
28955     char *kwnames
[] = { 
28956         (char *) "self",(char *) "pt", NULL 
 
28959     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelPointToDialog",kwnames
,&obj0
,&obj1
)) goto fail
; 
28960     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
28961     if (SWIG_arg_fail(1)) SWIG_fail
; 
28964         if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
28967         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28968         result 
= (arg1
)->ConvertPixelsToDialog((wxPoint 
const &)*arg2
); 
28970         wxPyEndAllowThreads(__tstate
); 
28971         if (PyErr_Occurred()) SWIG_fail
; 
28974         wxPoint 
* resultptr
; 
28975         resultptr 
= new wxPoint((wxPoint 
&)(result
)); 
28976         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1); 
28984 static PyObject 
*_wrap_Window_ConvertPixelSizeToDialog(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
28985     PyObject 
*resultobj
; 
28986     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
28990     PyObject 
* obj0 
= 0 ; 
28991     PyObject 
* obj1 
= 0 ; 
28992     char *kwnames
[] = { 
28993         (char *) "self",(char *) "sz", NULL 
 
28996     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelSizeToDialog",kwnames
,&obj0
,&obj1
)) goto fail
; 
28997     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
28998     if (SWIG_arg_fail(1)) SWIG_fail
; 
29001         if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
; 
29004         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
29005         result 
= (arg1
)->ConvertPixelsToDialog((wxSize 
const &)*arg2
); 
29007         wxPyEndAllowThreads(__tstate
); 
29008         if (PyErr_Occurred()) SWIG_fail
; 
29011         wxSize 
* resultptr
; 
29012         resultptr 
= new wxSize((wxSize 
&)(result
)); 
29013         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1); 
29021 static PyObject 
*_wrap_Window_WarpPointer(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
29022     PyObject 
*resultobj
; 
29023     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
29026     PyObject 
* obj0 
= 0 ; 
29027     PyObject 
* obj1 
= 0 ; 
29028     PyObject 
* obj2 
= 0 ; 
29029     char *kwnames
[] = { 
29030         (char *) "self",(char *) "x",(char *) "y", NULL 
 
29033     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_WarpPointer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
29034     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
29035     if (SWIG_arg_fail(1)) SWIG_fail
; 
29037         arg2 
= (int)(SWIG_As_int(obj1
));  
29038         if (SWIG_arg_fail(2)) SWIG_fail
; 
29041         arg3 
= (int)(SWIG_As_int(obj2
));  
29042         if (SWIG_arg_fail(3)) SWIG_fail
; 
29045         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
29046         (arg1
)->WarpPointer(arg2
,arg3
); 
29048         wxPyEndAllowThreads(__tstate
); 
29049         if (PyErr_Occurred()) SWIG_fail
; 
29051     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
29058 static PyObject 
*_wrap_Window_CaptureMouse(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
29059     PyObject 
*resultobj
; 
29060     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
29061     PyObject 
* obj0 
= 0 ; 
29062     char *kwnames
[] = { 
29063         (char *) "self", NULL 
 
29066     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_CaptureMouse",kwnames
,&obj0
)) goto fail
; 
29067     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
29068     if (SWIG_arg_fail(1)) SWIG_fail
; 
29070         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
29071         (arg1
)->CaptureMouse(); 
29073         wxPyEndAllowThreads(__tstate
); 
29074         if (PyErr_Occurred()) SWIG_fail
; 
29076     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
29083 static PyObject 
*_wrap_Window_ReleaseMouse(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
29084     PyObject 
*resultobj
; 
29085     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
29086     PyObject 
* obj0 
= 0 ; 
29087     char *kwnames
[] = { 
29088         (char *) "self", NULL 
 
29091     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ReleaseMouse",kwnames
,&obj0
)) goto fail
; 
29092     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
29093     if (SWIG_arg_fail(1)) SWIG_fail
; 
29095         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
29096         (arg1
)->ReleaseMouse(); 
29098         wxPyEndAllowThreads(__tstate
); 
29099         if (PyErr_Occurred()) SWIG_fail
; 
29101     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
29108 static PyObject 
*_wrap_Window_GetCapture(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
29109     PyObject 
*resultobj
; 
29111     char *kwnames
[] = { 
29115     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_GetCapture",kwnames
)) goto fail
; 
29117         if (!wxPyCheckForApp()) SWIG_fail
; 
29118         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
29119         result 
= (wxWindow 
*)wxWindow::GetCapture(); 
29121         wxPyEndAllowThreads(__tstate
); 
29122         if (PyErr_Occurred()) SWIG_fail
; 
29125         resultobj 
= wxPyMake_wxObject(result
, 0);  
29133 static PyObject 
*_wrap_Window_HasCapture(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
29134     PyObject 
*resultobj
; 
29135     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
29137     PyObject 
* obj0 
= 0 ; 
29138     char *kwnames
[] = { 
29139         (char *) "self", NULL 
 
29142     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_HasCapture",kwnames
,&obj0
)) goto fail
; 
29143     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
29144     if (SWIG_arg_fail(1)) SWIG_fail
; 
29146         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
29147         result 
= (bool)((wxWindow 
const *)arg1
)->HasCapture(); 
29149         wxPyEndAllowThreads(__tstate
); 
29150         if (PyErr_Occurred()) SWIG_fail
; 
29153         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
29161 static PyObject 
*_wrap_Window_Refresh(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
29162     PyObject 
*resultobj
; 
29163     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
29164     bool arg2 
= (bool) true ; 
29165     wxRect 
*arg3 
= (wxRect 
*) NULL 
; 
29166     PyObject 
* obj0 
= 0 ; 
29167     PyObject 
* obj1 
= 0 ; 
29168     PyObject 
* obj2 
= 0 ; 
29169     char *kwnames
[] = { 
29170         (char *) "self",(char *) "eraseBackground",(char *) "rect", NULL 
 
29173     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Window_Refresh",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
29174     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
29175     if (SWIG_arg_fail(1)) SWIG_fail
; 
29178             arg2 
= (bool)(SWIG_As_bool(obj1
));  
29179             if (SWIG_arg_fail(2)) SWIG_fail
; 
29183         SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION 
| 0); 
29184         if (SWIG_arg_fail(3)) SWIG_fail
; 
29187         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
29188         (arg1
)->Refresh(arg2
,(wxRect 
const *)arg3
); 
29190         wxPyEndAllowThreads(__tstate
); 
29191         if (PyErr_Occurred()) SWIG_fail
; 
29193     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
29200 static PyObject 
*_wrap_Window_RefreshRect(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
29201     PyObject 
*resultobj
; 
29202     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
29204     bool arg3 
= (bool) true ; 
29206     PyObject 
* obj0 
= 0 ; 
29207     PyObject 
* obj1 
= 0 ; 
29208     PyObject 
* obj2 
= 0 ; 
29209     char *kwnames
[] = { 
29210         (char *) "self",(char *) "rect",(char *) "eraseBackground", NULL 
 
29213     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_RefreshRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
29214     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
29215     if (SWIG_arg_fail(1)) SWIG_fail
; 
29218         if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
; 
29222             arg3 
= (bool)(SWIG_As_bool(obj2
));  
29223             if (SWIG_arg_fail(3)) SWIG_fail
; 
29227         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
29228         (arg1
)->RefreshRect((wxRect 
const &)*arg2
,arg3
); 
29230         wxPyEndAllowThreads(__tstate
); 
29231         if (PyErr_Occurred()) SWIG_fail
; 
29233     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
29240 static PyObject 
*_wrap_Window_Update(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
29241     PyObject 
*resultobj
; 
29242     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
29243     PyObject 
* obj0 
= 0 ; 
29244     char *kwnames
[] = { 
29245         (char *) "self", NULL 
 
29248     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Update",kwnames
,&obj0
)) goto fail
; 
29249     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
29250     if (SWIG_arg_fail(1)) SWIG_fail
; 
29252         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
29255         wxPyEndAllowThreads(__tstate
); 
29256         if (PyErr_Occurred()) SWIG_fail
; 
29258     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
29265 static PyObject 
*_wrap_Window_ClearBackground(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
29266     PyObject 
*resultobj
; 
29267     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
29268     PyObject 
* obj0 
= 0 ; 
29269     char *kwnames
[] = { 
29270         (char *) "self", NULL 
 
29273     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ClearBackground",kwnames
,&obj0
)) goto fail
; 
29274     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
29275     if (SWIG_arg_fail(1)) SWIG_fail
; 
29277         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
29278         (arg1
)->ClearBackground(); 
29280         wxPyEndAllowThreads(__tstate
); 
29281         if (PyErr_Occurred()) SWIG_fail
; 
29283     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
29290 static PyObject 
*_wrap_Window_Freeze(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
29291     PyObject 
*resultobj
; 
29292     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
29293     PyObject 
* obj0 
= 0 ; 
29294     char *kwnames
[] = { 
29295         (char *) "self", NULL 
 
29298     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Freeze",kwnames
,&obj0
)) goto fail
; 
29299     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
29300     if (SWIG_arg_fail(1)) SWIG_fail
; 
29302         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
29305         wxPyEndAllowThreads(__tstate
); 
29306         if (PyErr_Occurred()) SWIG_fail
; 
29308     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
29315 static PyObject 
*_wrap_Window_Thaw(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
29316     PyObject 
*resultobj
; 
29317     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
29318     PyObject 
* obj0 
= 0 ; 
29319     char *kwnames
[] = { 
29320         (char *) "self", NULL 
 
29323     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Thaw",kwnames
,&obj0
)) goto fail
; 
29324     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
29325     if (SWIG_arg_fail(1)) SWIG_fail
; 
29327         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
29330         wxPyEndAllowThreads(__tstate
); 
29331         if (PyErr_Occurred()) SWIG_fail
; 
29333     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
29340 static PyObject 
*_wrap_Window_PrepareDC(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
29341     PyObject 
*resultobj
; 
29342     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
29344     PyObject 
* obj0 
= 0 ; 
29345     PyObject 
* obj1 
= 0 ; 
29346     char *kwnames
[] = { 
29347         (char *) "self",(char *) "dc", NULL 
 
29350     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PrepareDC",kwnames
,&obj0
,&obj1
)) goto fail
; 
29351     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
29352     if (SWIG_arg_fail(1)) SWIG_fail
; 
29354         SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
29355         if (SWIG_arg_fail(2)) SWIG_fail
; 
29356         if (arg2 
== NULL
) { 
29357             SWIG_null_ref("wxDC"); 
29359         if (SWIG_arg_fail(2)) SWIG_fail
; 
29362         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
29363         (arg1
)->PrepareDC(*arg2
); 
29365         wxPyEndAllowThreads(__tstate
); 
29366         if (PyErr_Occurred()) SWIG_fail
; 
29368     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
29375 static PyObject 
*_wrap_Window_GetUpdateRegion(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
29376     PyObject 
*resultobj
; 
29377     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
29379     PyObject 
* obj0 
= 0 ; 
29380     char *kwnames
[] = { 
29381         (char *) "self", NULL 
 
29384     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetUpdateRegion",kwnames
,&obj0
)) goto fail
; 
29385     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
29386     if (SWIG_arg_fail(1)) SWIG_fail
; 
29388         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
29390             wxRegion 
&_result_ref 
= (arg1
)->GetUpdateRegion(); 
29391             result 
= (wxRegion 
*) &_result_ref
; 
29394         wxPyEndAllowThreads(__tstate
); 
29395         if (PyErr_Occurred()) SWIG_fail
; 
29397     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 0); 
29404 static PyObject 
*_wrap_Window_GetUpdateClientRect(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
29405     PyObject 
*resultobj
; 
29406     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
29408     PyObject 
* obj0 
= 0 ; 
29409     char *kwnames
[] = { 
29410         (char *) "self", NULL 
 
29413     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetUpdateClientRect",kwnames
,&obj0
)) goto fail
; 
29414     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
29415     if (SWIG_arg_fail(1)) SWIG_fail
; 
29417         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
29418         result 
= ((wxWindow 
const *)arg1
)->GetUpdateClientRect(); 
29420         wxPyEndAllowThreads(__tstate
); 
29421         if (PyErr_Occurred()) SWIG_fail
; 
29424         wxRect 
* resultptr
; 
29425         resultptr 
= new wxRect((wxRect 
&)(result
)); 
29426         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1); 
29434 static PyObject 
*_wrap_Window_IsExposed(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
29435     PyObject 
*resultobj
; 
29436     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
29439     int arg4 
= (int) 1 ; 
29440     int arg5 
= (int) 1 ; 
29442     PyObject 
* obj0 
= 0 ; 
29443     PyObject 
* obj1 
= 0 ; 
29444     PyObject 
* obj2 
= 0 ; 
29445     PyObject 
* obj3 
= 0 ; 
29446     PyObject 
* obj4 
= 0 ; 
29447     char *kwnames
[] = { 
29448         (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL 
 
29451     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Window_IsExposed",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
; 
29452     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
29453     if (SWIG_arg_fail(1)) SWIG_fail
; 
29455         arg2 
= (int)(SWIG_As_int(obj1
));  
29456         if (SWIG_arg_fail(2)) SWIG_fail
; 
29459         arg3 
= (int)(SWIG_As_int(obj2
));  
29460         if (SWIG_arg_fail(3)) SWIG_fail
; 
29464             arg4 
= (int)(SWIG_As_int(obj3
));  
29465             if (SWIG_arg_fail(4)) SWIG_fail
; 
29470             arg5 
= (int)(SWIG_As_int(obj4
));  
29471             if (SWIG_arg_fail(5)) SWIG_fail
; 
29475         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
29476         result 
= (bool)((wxWindow 
const *)arg1
)->IsExposed(arg2
,arg3
,arg4
,arg5
); 
29478         wxPyEndAllowThreads(__tstate
); 
29479         if (PyErr_Occurred()) SWIG_fail
; 
29482         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
29490 static PyObject 
*_wrap_Window_IsExposedPoint(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
29491     PyObject 
*resultobj
; 
29492     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
29493     wxPoint 
*arg2 
= 0 ; 
29496     PyObject 
* obj0 
= 0 ; 
29497     PyObject 
* obj1 
= 0 ; 
29498     char *kwnames
[] = { 
29499         (char *) "self",(char *) "pt", NULL 
 
29502     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedPoint",kwnames
,&obj0
,&obj1
)) goto fail
; 
29503     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
29504     if (SWIG_arg_fail(1)) SWIG_fail
; 
29507         if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
29510         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
29511         result 
= (bool)((wxWindow 
const *)arg1
)->IsExposed((wxPoint 
const &)*arg2
); 
29513         wxPyEndAllowThreads(__tstate
); 
29514         if (PyErr_Occurred()) SWIG_fail
; 
29517         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
29525 static PyObject 
*_wrap_Window_IsExposedRect(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
29526     PyObject 
*resultobj
; 
29527     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
29531     PyObject 
* obj0 
= 0 ; 
29532     PyObject 
* obj1 
= 0 ; 
29533     char *kwnames
[] = { 
29534         (char *) "self",(char *) "rect", NULL 
 
29537     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedRect",kwnames
,&obj0
,&obj1
)) goto fail
; 
29538     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
29539     if (SWIG_arg_fail(1)) SWIG_fail
; 
29542         if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
; 
29545         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
29546         result 
= (bool)((wxWindow 
const *)arg1
)->IsExposed((wxRect 
const &)*arg2
); 
29548         wxPyEndAllowThreads(__tstate
); 
29549         if (PyErr_Occurred()) SWIG_fail
; 
29552         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
29560 static PyObject 
*_wrap_Window_GetDefaultAttributes(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
29561     PyObject 
*resultobj
; 
29562     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
29563     wxVisualAttributes result
; 
29564     PyObject 
* obj0 
= 0 ; 
29565     char *kwnames
[] = { 
29566         (char *) "self", NULL 
 
29569     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
; 
29570     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
29571     if (SWIG_arg_fail(1)) SWIG_fail
; 
29573         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
29574         result 
= ((wxWindow 
const *)arg1
)->GetDefaultAttributes(); 
29576         wxPyEndAllowThreads(__tstate
); 
29577         if (PyErr_Occurred()) SWIG_fail
; 
29580         wxVisualAttributes 
* resultptr
; 
29581         resultptr 
= new wxVisualAttributes((wxVisualAttributes 
&)(result
)); 
29582         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1); 
29590 static PyObject 
*_wrap_Window_GetClassDefaultAttributes(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
29591     PyObject 
*resultobj
; 
29592     wxWindowVariant arg1 
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL 
; 
29593     wxVisualAttributes result
; 
29594     PyObject 
* obj0 
= 0 ; 
29595     char *kwnames
[] = { 
29596         (char *) "variant", NULL 
 
29599     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Window_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
; 
29602             arg1 
= (wxWindowVariant
)(SWIG_As_int(obj0
));  
29603             if (SWIG_arg_fail(1)) SWIG_fail
; 
29607         if (!wxPyCheckForApp()) SWIG_fail
; 
29608         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
29609         result 
= wxWindow::GetClassDefaultAttributes((wxWindowVariant 
)arg1
); 
29611         wxPyEndAllowThreads(__tstate
); 
29612         if (PyErr_Occurred()) SWIG_fail
; 
29615         wxVisualAttributes 
* resultptr
; 
29616         resultptr 
= new wxVisualAttributes((wxVisualAttributes 
&)(result
)); 
29617         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1); 
29625 static PyObject 
*_wrap_Window_SetBackgroundColour(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
29626     PyObject 
*resultobj
; 
29627     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
29628     wxColour 
*arg2 
= 0 ; 
29631     PyObject 
* obj0 
= 0 ; 
29632     PyObject 
* obj1 
= 0 ; 
29633     char *kwnames
[] = { 
29634         (char *) "self",(char *) "colour", NULL 
 
29637     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
; 
29638     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
29639     if (SWIG_arg_fail(1)) SWIG_fail
; 
29642         if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
29645         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
29646         result 
= (bool)(arg1
)->SetBackgroundColour((wxColour 
const &)*arg2
); 
29648         wxPyEndAllowThreads(__tstate
); 
29649         if (PyErr_Occurred()) SWIG_fail
; 
29652         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
29660 static PyObject 
*_wrap_Window_SetOwnBackgroundColour(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
29661     PyObject 
*resultobj
; 
29662     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
29663     wxColour 
*arg2 
= 0 ; 
29665     PyObject 
* obj0 
= 0 ; 
29666     PyObject 
* obj1 
= 0 ; 
29667     char *kwnames
[] = { 
29668         (char *) "self",(char *) "colour", NULL 
 
29671     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
; 
29672     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
29673     if (SWIG_arg_fail(1)) SWIG_fail
; 
29676         if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
29679         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
29680         (arg1
)->SetOwnBackgroundColour((wxColour 
const &)*arg2
); 
29682         wxPyEndAllowThreads(__tstate
); 
29683         if (PyErr_Occurred()) SWIG_fail
; 
29685     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
29692 static PyObject 
*_wrap_Window_SetForegroundColour(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
29693     PyObject 
*resultobj
; 
29694     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
29695     wxColour 
*arg2 
= 0 ; 
29698     PyObject 
* obj0 
= 0 ; 
29699     PyObject 
* obj1 
= 0 ; 
29700     char *kwnames
[] = { 
29701         (char *) "self",(char *) "colour", NULL 
 
29704     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
; 
29705     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
29706     if (SWIG_arg_fail(1)) SWIG_fail
; 
29709         if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
29712         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
29713         result 
= (bool)(arg1
)->SetForegroundColour((wxColour 
const &)*arg2
); 
29715         wxPyEndAllowThreads(__tstate
); 
29716         if (PyErr_Occurred()) SWIG_fail
; 
29719         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
29727 static PyObject 
*_wrap_Window_SetOwnForegroundColour(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
29728     PyObject 
*resultobj
; 
29729     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
29730     wxColour 
*arg2 
= 0 ; 
29732     PyObject 
* obj0 
= 0 ; 
29733     PyObject 
* obj1 
= 0 ; 
29734     char *kwnames
[] = { 
29735         (char *) "self",(char *) "colour", NULL 
 
29738     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
; 
29739     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
29740     if (SWIG_arg_fail(1)) SWIG_fail
; 
29743         if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
29746         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
29747         (arg1
)->SetOwnForegroundColour((wxColour 
const &)*arg2
); 
29749         wxPyEndAllowThreads(__tstate
); 
29750         if (PyErr_Occurred()) SWIG_fail
; 
29752     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
29759 static PyObject 
*_wrap_Window_GetBackgroundColour(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
29760     PyObject 
*resultobj
; 
29761     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
29763     PyObject 
* obj0 
= 0 ; 
29764     char *kwnames
[] = { 
29765         (char *) "self", NULL 
 
29768     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBackgroundColour",kwnames
,&obj0
)) goto fail
; 
29769     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
29770     if (SWIG_arg_fail(1)) SWIG_fail
; 
29772         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
29773         result 
= ((wxWindow 
const *)arg1
)->GetBackgroundColour(); 
29775         wxPyEndAllowThreads(__tstate
); 
29776         if (PyErr_Occurred()) SWIG_fail
; 
29779         wxColour 
* resultptr
; 
29780         resultptr 
= new wxColour((wxColour 
&)(result
)); 
29781         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1); 
29789 static PyObject 
*_wrap_Window_GetForegroundColour(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
29790     PyObject 
*resultobj
; 
29791     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
29793     PyObject 
* obj0 
= 0 ; 
29794     char *kwnames
[] = { 
29795         (char *) "self", NULL 
 
29798     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetForegroundColour",kwnames
,&obj0
)) goto fail
; 
29799     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
29800     if (SWIG_arg_fail(1)) SWIG_fail
; 
29802         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
29803         result 
= ((wxWindow 
const *)arg1
)->GetForegroundColour(); 
29805         wxPyEndAllowThreads(__tstate
); 
29806         if (PyErr_Occurred()) SWIG_fail
; 
29809         wxColour 
* resultptr
; 
29810         resultptr 
= new wxColour((wxColour 
&)(result
)); 
29811         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1); 
29819 static PyObject 
*_wrap_Window_InheritsBackgroundColour(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
29820     PyObject 
*resultobj
; 
29821     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
29823     PyObject 
* obj0 
= 0 ; 
29824     char *kwnames
[] = { 
29825         (char *) "self", NULL 
 
29828     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InheritsBackgroundColour",kwnames
,&obj0
)) goto fail
; 
29829     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
29830     if (SWIG_arg_fail(1)) SWIG_fail
; 
29832         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
29833         result 
= (bool)((wxWindow 
const *)arg1
)->InheritsBackgroundColour(); 
29835         wxPyEndAllowThreads(__tstate
); 
29836         if (PyErr_Occurred()) SWIG_fail
; 
29839         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
29847 static PyObject 
*_wrap_Window_UseBgCol(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
29848     PyObject 
*resultobj
; 
29849     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
29851     PyObject 
* obj0 
= 0 ; 
29852     char *kwnames
[] = { 
29853         (char *) "self", NULL 
 
29856     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_UseBgCol",kwnames
,&obj0
)) goto fail
; 
29857     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
29858     if (SWIG_arg_fail(1)) SWIG_fail
; 
29860         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
29861         result 
= (bool)((wxWindow 
const *)arg1
)->UseBgCol(); 
29863         wxPyEndAllowThreads(__tstate
); 
29864         if (PyErr_Occurred()) SWIG_fail
; 
29867         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
29875 static PyObject 
*_wrap_Window_SetBackgroundStyle(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
29876     PyObject 
*resultobj
; 
29877     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
29878     wxBackgroundStyle arg2 
; 
29880     PyObject 
* obj0 
= 0 ; 
29881     PyObject 
* obj1 
= 0 ; 
29882     char *kwnames
[] = { 
29883         (char *) "self",(char *) "style", NULL 
 
29886     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetBackgroundStyle",kwnames
,&obj0
,&obj1
)) goto fail
; 
29887     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
29888     if (SWIG_arg_fail(1)) SWIG_fail
; 
29890         arg2 
= (wxBackgroundStyle
)(SWIG_As_int(obj1
));  
29891         if (SWIG_arg_fail(2)) SWIG_fail
; 
29894         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
29895         result 
= (bool)(arg1
)->SetBackgroundStyle((wxBackgroundStyle 
)arg2
); 
29897         wxPyEndAllowThreads(__tstate
); 
29898         if (PyErr_Occurred()) SWIG_fail
; 
29901         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
29909 static PyObject 
*_wrap_Window_GetBackgroundStyle(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
29910     PyObject 
*resultobj
; 
29911     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
29912     wxBackgroundStyle result
; 
29913     PyObject 
* obj0 
= 0 ; 
29914     char *kwnames
[] = { 
29915         (char *) "self", NULL 
 
29918     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBackgroundStyle",kwnames
,&obj0
)) goto fail
; 
29919     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
29920     if (SWIG_arg_fail(1)) SWIG_fail
; 
29922         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
29923         result 
= (wxBackgroundStyle
)((wxWindow 
const *)arg1
)->GetBackgroundStyle(); 
29925         wxPyEndAllowThreads(__tstate
); 
29926         if (PyErr_Occurred()) SWIG_fail
; 
29928     resultobj 
= SWIG_From_int((result
)); 
29935 static PyObject 
*_wrap_Window_HasTransparentBackground(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
29936     PyObject 
*resultobj
; 
29937     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
29939     PyObject 
* obj0 
= 0 ; 
29940     char *kwnames
[] = { 
29941         (char *) "self", NULL 
 
29944     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_HasTransparentBackground",kwnames
,&obj0
)) goto fail
; 
29945     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
29946     if (SWIG_arg_fail(1)) SWIG_fail
; 
29948         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
29949         result 
= (bool)(arg1
)->HasTransparentBackground(); 
29951         wxPyEndAllowThreads(__tstate
); 
29952         if (PyErr_Occurred()) SWIG_fail
; 
29955         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
29963 static PyObject 
*_wrap_Window_SetCursor(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
29964     PyObject 
*resultobj
; 
29965     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
29966     wxCursor 
*arg2 
= 0 ; 
29968     PyObject 
* obj0 
= 0 ; 
29969     PyObject 
* obj1 
= 0 ; 
29970     char *kwnames
[] = { 
29971         (char *) "self",(char *) "cursor", NULL 
 
29974     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCursor",kwnames
,&obj0
,&obj1
)) goto fail
; 
29975     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
29976     if (SWIG_arg_fail(1)) SWIG_fail
; 
29978         SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION 
| 0); 
29979         if (SWIG_arg_fail(2)) SWIG_fail
; 
29980         if (arg2 
== NULL
) { 
29981             SWIG_null_ref("wxCursor"); 
29983         if (SWIG_arg_fail(2)) SWIG_fail
; 
29986         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
29987         result 
= (bool)(arg1
)->SetCursor((wxCursor 
const &)*arg2
); 
29989         wxPyEndAllowThreads(__tstate
); 
29990         if (PyErr_Occurred()) SWIG_fail
; 
29993         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
30001 static PyObject 
*_wrap_Window_GetCursor(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
30002     PyObject 
*resultobj
; 
30003     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
30005     PyObject 
* obj0 
= 0 ; 
30006     char *kwnames
[] = { 
30007         (char *) "self", NULL 
 
30010     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCursor",kwnames
,&obj0
)) goto fail
; 
30011     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
30012     if (SWIG_arg_fail(1)) SWIG_fail
; 
30014         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
30015         result 
= (arg1
)->GetCursor(); 
30017         wxPyEndAllowThreads(__tstate
); 
30018         if (PyErr_Occurred()) SWIG_fail
; 
30021         wxCursor 
* resultptr
; 
30022         resultptr 
= new wxCursor((wxCursor 
&)(result
)); 
30023         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxCursor
, 1); 
30031 static PyObject 
*_wrap_Window_SetFont(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
30032     PyObject 
*resultobj
; 
30033     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
30036     PyObject 
* obj0 
= 0 ; 
30037     PyObject 
* obj1 
= 0 ; 
30038     char *kwnames
[] = { 
30039         (char *) "self",(char *) "font", NULL 
 
30042     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
; 
30043     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
30044     if (SWIG_arg_fail(1)) SWIG_fail
; 
30046         SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION 
| 0); 
30047         if (SWIG_arg_fail(2)) SWIG_fail
; 
30048         if (arg2 
== NULL
) { 
30049             SWIG_null_ref("wxFont"); 
30051         if (SWIG_arg_fail(2)) SWIG_fail
; 
30054         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
30055         result 
= (bool)(arg1
)->SetFont((wxFont 
const &)*arg2
); 
30057         wxPyEndAllowThreads(__tstate
); 
30058         if (PyErr_Occurred()) SWIG_fail
; 
30061         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
30069 static PyObject 
*_wrap_Window_SetOwnFont(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
30070     PyObject 
*resultobj
; 
30071     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
30073     PyObject 
* obj0 
= 0 ; 
30074     PyObject 
* obj1 
= 0 ; 
30075     char *kwnames
[] = { 
30076         (char *) "self",(char *) "font", NULL 
 
30079     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnFont",kwnames
,&obj0
,&obj1
)) goto fail
; 
30080     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
30081     if (SWIG_arg_fail(1)) SWIG_fail
; 
30083         SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION 
| 0); 
30084         if (SWIG_arg_fail(2)) SWIG_fail
; 
30085         if (arg2 
== NULL
) { 
30086             SWIG_null_ref("wxFont"); 
30088         if (SWIG_arg_fail(2)) SWIG_fail
; 
30091         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
30092         (arg1
)->SetOwnFont((wxFont 
const &)*arg2
); 
30094         wxPyEndAllowThreads(__tstate
); 
30095         if (PyErr_Occurred()) SWIG_fail
; 
30097     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
30104 static PyObject 
*_wrap_Window_GetFont(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
30105     PyObject 
*resultobj
; 
30106     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
30108     PyObject 
* obj0 
= 0 ; 
30109     char *kwnames
[] = { 
30110         (char *) "self", NULL 
 
30113     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetFont",kwnames
,&obj0
)) goto fail
; 
30114     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
30115     if (SWIG_arg_fail(1)) SWIG_fail
; 
30117         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
30118         result 
= (arg1
)->GetFont(); 
30120         wxPyEndAllowThreads(__tstate
); 
30121         if (PyErr_Occurred()) SWIG_fail
; 
30124         wxFont 
* resultptr
; 
30125         resultptr 
= new wxFont((wxFont 
&)(result
)); 
30126         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1); 
30134 static PyObject 
*_wrap_Window_SetCaret(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
30135     PyObject 
*resultobj
; 
30136     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
30137     wxCaret 
*arg2 
= (wxCaret 
*) 0 ; 
30138     PyObject 
* obj0 
= 0 ; 
30139     PyObject 
* obj1 
= 0 ; 
30140     char *kwnames
[] = { 
30141         (char *) "self",(char *) "caret", NULL 
 
30144     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCaret",kwnames
,&obj0
,&obj1
)) goto fail
; 
30145     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
30146     if (SWIG_arg_fail(1)) SWIG_fail
; 
30147     SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION 
| 0); 
30148     if (SWIG_arg_fail(2)) SWIG_fail
; 
30150         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
30151         (arg1
)->SetCaret(arg2
); 
30153         wxPyEndAllowThreads(__tstate
); 
30154         if (PyErr_Occurred()) SWIG_fail
; 
30156     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
30163 static PyObject 
*_wrap_Window_GetCaret(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
30164     PyObject 
*resultobj
; 
30165     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
30167     PyObject 
* obj0 
= 0 ; 
30168     char *kwnames
[] = { 
30169         (char *) "self", NULL 
 
30172     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCaret",kwnames
,&obj0
)) goto fail
; 
30173     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
30174     if (SWIG_arg_fail(1)) SWIG_fail
; 
30176         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
30177         result 
= (wxCaret 
*)((wxWindow 
const *)arg1
)->GetCaret(); 
30179         wxPyEndAllowThreads(__tstate
); 
30180         if (PyErr_Occurred()) SWIG_fail
; 
30182     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCaret
, 0); 
30189 static PyObject 
*_wrap_Window_GetCharHeight(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
30190     PyObject 
*resultobj
; 
30191     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
30193     PyObject 
* obj0 
= 0 ; 
30194     char *kwnames
[] = { 
30195         (char *) "self", NULL 
 
30198     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCharHeight",kwnames
,&obj0
)) goto fail
; 
30199     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
30200     if (SWIG_arg_fail(1)) SWIG_fail
; 
30202         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
30203         result 
= (int)((wxWindow 
const *)arg1
)->GetCharHeight(); 
30205         wxPyEndAllowThreads(__tstate
); 
30206         if (PyErr_Occurred()) SWIG_fail
; 
30209         resultobj 
= SWIG_From_int((int)(result
));  
30217 static PyObject 
*_wrap_Window_GetCharWidth(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
30218     PyObject 
*resultobj
; 
30219     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
30221     PyObject 
* obj0 
= 0 ; 
30222     char *kwnames
[] = { 
30223         (char *) "self", NULL 
 
30226     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCharWidth",kwnames
,&obj0
)) goto fail
; 
30227     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
30228     if (SWIG_arg_fail(1)) SWIG_fail
; 
30230         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
30231         result 
= (int)((wxWindow 
const *)arg1
)->GetCharWidth(); 
30233         wxPyEndAllowThreads(__tstate
); 
30234         if (PyErr_Occurred()) SWIG_fail
; 
30237         resultobj 
= SWIG_From_int((int)(result
));  
30245 static PyObject 
*_wrap_Window_GetTextExtent(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
30246     PyObject 
*resultobj
; 
30247     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
30248     wxString 
*arg2 
= 0 ; 
30249     int *arg3 
= (int *) 0 ; 
30250     int *arg4 
= (int *) 0 ; 
30251     bool temp2 
= false ; 
30256     PyObject 
* obj0 
= 0 ; 
30257     PyObject 
* obj1 
= 0 ; 
30258     char *kwnames
[] = { 
30259         (char *) "self",(char *) "string", NULL 
 
30262     arg3 
= &temp3
; res3 
= SWIG_NEWOBJ
; 
30263     arg4 
= &temp4
; res4 
= SWIG_NEWOBJ
; 
30264     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetTextExtent",kwnames
,&obj0
,&obj1
)) goto fail
; 
30265     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
30266     if (SWIG_arg_fail(1)) SWIG_fail
; 
30268         arg2 
= wxString_in_helper(obj1
); 
30269         if (arg2 
== NULL
) SWIG_fail
; 
30273         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
30274         (arg1
)->GetTextExtent((wxString 
const &)*arg2
,arg3
,arg4
); 
30276         wxPyEndAllowThreads(__tstate
); 
30277         if (PyErr_Occurred()) SWIG_fail
; 
30279     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
30280     resultobj 
= t_output_helper(resultobj
, ((res3 
== SWIG_NEWOBJ
) ? 
30281     SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0))); 
30282     resultobj 
= t_output_helper(resultobj
, ((res4 
== SWIG_NEWOBJ
) ? 
30283     SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0))); 
30298 static PyObject 
*_wrap_Window_GetFullTextExtent(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
30299     PyObject 
*resultobj
; 
30300     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
30301     wxString 
*arg2 
= 0 ; 
30302     int *arg3 
= (int *) 0 ; 
30303     int *arg4 
= (int *) 0 ; 
30304     int *arg5 
= (int *) 0 ; 
30305     int *arg6 
= (int *) 0 ; 
30306     wxFont 
*arg7 
= (wxFont 
*) NULL 
; 
30307     bool temp2 
= false ; 
30316     PyObject 
* obj0 
= 0 ; 
30317     PyObject 
* obj1 
= 0 ; 
30318     PyObject 
* obj2 
= 0 ; 
30319     char *kwnames
[] = { 
30320         (char *) "self",(char *) "string",(char *) "font", NULL 
 
30323     arg3 
= &temp3
; res3 
= SWIG_NEWOBJ
; 
30324     arg4 
= &temp4
; res4 
= SWIG_NEWOBJ
; 
30325     arg5 
= &temp5
; res5 
= SWIG_NEWOBJ
; 
30326     arg6 
= &temp6
; res6 
= SWIG_NEWOBJ
; 
30327     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
30328     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
30329     if (SWIG_arg_fail(1)) SWIG_fail
; 
30331         arg2 
= wxString_in_helper(obj1
); 
30332         if (arg2 
== NULL
) SWIG_fail
; 
30336         SWIG_Python_ConvertPtr(obj2
, (void **)&arg7
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION 
| 0); 
30337         if (SWIG_arg_fail(7)) SWIG_fail
; 
30340         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
30341         (arg1
)->GetTextExtent((wxString 
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,(wxFont 
const *)arg7
); 
30343         wxPyEndAllowThreads(__tstate
); 
30344         if (PyErr_Occurred()) SWIG_fail
; 
30346     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
30347     resultobj 
= t_output_helper(resultobj
, ((res3 
== SWIG_NEWOBJ
) ? 
30348     SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0))); 
30349     resultobj 
= t_output_helper(resultobj
, ((res4 
== SWIG_NEWOBJ
) ? 
30350     SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0))); 
30351     resultobj 
= t_output_helper(resultobj
, ((res5 
== SWIG_NEWOBJ
) ? 
30352     SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0))); 
30353     resultobj 
= t_output_helper(resultobj
, ((res6 
== SWIG_NEWOBJ
) ? 
30354     SWIG_From_int((*arg6
)) : SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_int
, 0))); 
30369 static PyObject 
*_wrap_Window_ClientToScreenXY(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
30370     PyObject 
*resultobj
; 
30371     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
30372     int *arg2 
= (int *) 0 ; 
30373     int *arg3 
= (int *) 0 ; 
30378     PyObject 
* obj0 
= 0 ; 
30379     PyObject 
* obj1 
= 0 ; 
30380     PyObject 
* obj2 
= 0 ; 
30381     char *kwnames
[] = { 
30382         (char *) "self",(char *) "x",(char *) "y", NULL 
 
30385     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ClientToScreenXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
30386     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
30387     if (SWIG_arg_fail(1)) SWIG_fail
; 
30389         if (!(SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_int
,0) != -1)) { 
30390             temp2 
= SWIG_As_int(obj1
); 
30391             if (SWIG_arg_fail(2)) SWIG_fail
; 
30393             res2 
= SWIG_NEWOBJ
; 
30397         if (!(SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_int
,0) != -1)) { 
30398             temp3 
= SWIG_As_int(obj2
); 
30399             if (SWIG_arg_fail(3)) SWIG_fail
; 
30401             res3 
= SWIG_NEWOBJ
; 
30405         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
30406         ((wxWindow 
const *)arg1
)->ClientToScreen(arg2
,arg3
); 
30408         wxPyEndAllowThreads(__tstate
); 
30409         if (PyErr_Occurred()) SWIG_fail
; 
30411     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
30412     resultobj 
= t_output_helper(resultobj
, ((res2 
== SWIG_NEWOBJ
) ? 
30413     SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0))); 
30414     resultobj 
= t_output_helper(resultobj
, ((res3 
== SWIG_NEWOBJ
) ? 
30415     SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0))); 
30422 static PyObject 
*_wrap_Window_ScreenToClientXY(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
30423     PyObject 
*resultobj
; 
30424     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
30425     int *arg2 
= (int *) 0 ; 
30426     int *arg3 
= (int *) 0 ; 
30431     PyObject 
* obj0 
= 0 ; 
30432     PyObject 
* obj1 
= 0 ; 
30433     PyObject 
* obj2 
= 0 ; 
30434     char *kwnames
[] = { 
30435         (char *) "self",(char *) "x",(char *) "y", NULL 
 
30438     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ScreenToClientXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
30439     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
30440     if (SWIG_arg_fail(1)) SWIG_fail
; 
30442         if (!(SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_int
,0) != -1)) { 
30443             temp2 
= SWIG_As_int(obj1
); 
30444             if (SWIG_arg_fail(2)) SWIG_fail
; 
30446             res2 
= SWIG_NEWOBJ
; 
30450         if (!(SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_int
,0) != -1)) { 
30451             temp3 
= SWIG_As_int(obj2
); 
30452             if (SWIG_arg_fail(3)) SWIG_fail
; 
30454             res3 
= SWIG_NEWOBJ
; 
30458         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
30459         ((wxWindow 
const *)arg1
)->ScreenToClient(arg2
,arg3
); 
30461         wxPyEndAllowThreads(__tstate
); 
30462         if (PyErr_Occurred()) SWIG_fail
; 
30464     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
30465     resultobj 
= t_output_helper(resultobj
, ((res2 
== SWIG_NEWOBJ
) ? 
30466     SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0))); 
30467     resultobj 
= t_output_helper(resultobj
, ((res3 
== SWIG_NEWOBJ
) ? 
30468     SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0))); 
30475 static PyObject 
*_wrap_Window_ClientToScreen(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
30476     PyObject 
*resultobj
; 
30477     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
30478     wxPoint 
*arg2 
= 0 ; 
30481     PyObject 
* obj0 
= 0 ; 
30482     PyObject 
* obj1 
= 0 ; 
30483     char *kwnames
[] = { 
30484         (char *) "self",(char *) "pt", NULL 
 
30487     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ClientToScreen",kwnames
,&obj0
,&obj1
)) goto fail
; 
30488     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
30489     if (SWIG_arg_fail(1)) SWIG_fail
; 
30492         if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
30495         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
30496         result 
= ((wxWindow 
const *)arg1
)->ClientToScreen((wxPoint 
const &)*arg2
); 
30498         wxPyEndAllowThreads(__tstate
); 
30499         if (PyErr_Occurred()) SWIG_fail
; 
30502         wxPoint 
* resultptr
; 
30503         resultptr 
= new wxPoint((wxPoint 
&)(result
)); 
30504         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1); 
30512 static PyObject 
*_wrap_Window_ScreenToClient(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
30513     PyObject 
*resultobj
; 
30514     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
30515     wxPoint 
*arg2 
= 0 ; 
30518     PyObject 
* obj0 
= 0 ; 
30519     PyObject 
* obj1 
= 0 ; 
30520     char *kwnames
[] = { 
30521         (char *) "self",(char *) "pt", NULL 
 
30524     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScreenToClient",kwnames
,&obj0
,&obj1
)) goto fail
; 
30525     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
30526     if (SWIG_arg_fail(1)) SWIG_fail
; 
30529         if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
30532         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
30533         result 
= ((wxWindow 
const *)arg1
)->ScreenToClient((wxPoint 
const &)*arg2
); 
30535         wxPyEndAllowThreads(__tstate
); 
30536         if (PyErr_Occurred()) SWIG_fail
; 
30539         wxPoint 
* resultptr
; 
30540         resultptr 
= new wxPoint((wxPoint 
&)(result
)); 
30541         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1); 
30549 static PyObject 
*_wrap_Window_HitTestXY(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
30550     PyObject 
*resultobj
; 
30551     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
30555     PyObject 
* obj0 
= 0 ; 
30556     PyObject 
* obj1 
= 0 ; 
30557     PyObject 
* obj2 
= 0 ; 
30558     char *kwnames
[] = { 
30559         (char *) "self",(char *) "x",(char *) "y", NULL 
 
30562     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
30563     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
30564     if (SWIG_arg_fail(1)) SWIG_fail
; 
30566         arg2 
= (int)(SWIG_As_int(obj1
));  
30567         if (SWIG_arg_fail(2)) SWIG_fail
; 
30570         arg3 
= (int)(SWIG_As_int(obj2
));  
30571         if (SWIG_arg_fail(3)) SWIG_fail
; 
30574         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
30575         result 
= (wxHitTest
)((wxWindow 
const *)arg1
)->HitTest(arg2
,arg3
); 
30577         wxPyEndAllowThreads(__tstate
); 
30578         if (PyErr_Occurred()) SWIG_fail
; 
30580     resultobj 
= SWIG_From_int((result
)); 
30587 static PyObject 
*_wrap_Window_HitTest(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
30588     PyObject 
*resultobj
; 
30589     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
30590     wxPoint 
*arg2 
= 0 ; 
30593     PyObject 
* obj0 
= 0 ; 
30594     PyObject 
* obj1 
= 0 ; 
30595     char *kwnames
[] = { 
30596         (char *) "self",(char *) "pt", NULL 
 
30599     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
; 
30600     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
30601     if (SWIG_arg_fail(1)) SWIG_fail
; 
30604         if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
30607         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
30608         result 
= (wxHitTest
)((wxWindow 
const *)arg1
)->HitTest((wxPoint 
const &)*arg2
); 
30610         wxPyEndAllowThreads(__tstate
); 
30611         if (PyErr_Occurred()) SWIG_fail
; 
30613     resultobj 
= SWIG_From_int((result
)); 
30620 static PyObject 
*_wrap_Window_GetBorder__SWIG_0(PyObject 
*, PyObject 
*args
) { 
30621     PyObject 
*resultobj
; 
30622     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
30625     PyObject 
* obj0 
= 0 ; 
30626     PyObject 
* obj1 
= 0 ; 
30628     if(!PyArg_ParseTuple(args
,(char *)"OO:Window_GetBorder",&obj0
,&obj1
)) goto fail
; 
30629     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
30630     if (SWIG_arg_fail(1)) SWIG_fail
; 
30632         arg2 
= (long)(SWIG_As_long(obj1
));  
30633         if (SWIG_arg_fail(2)) SWIG_fail
; 
30636         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
30637         result 
= (wxBorder
)((wxWindow 
const *)arg1
)->GetBorder(arg2
); 
30639         wxPyEndAllowThreads(__tstate
); 
30640         if (PyErr_Occurred()) SWIG_fail
; 
30642     resultobj 
= SWIG_From_int((result
)); 
30649 static PyObject 
*_wrap_Window_GetBorder__SWIG_1(PyObject 
*, PyObject 
*args
) { 
30650     PyObject 
*resultobj
; 
30651     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
30653     PyObject 
* obj0 
= 0 ; 
30655     if(!PyArg_ParseTuple(args
,(char *)"O:Window_GetBorder",&obj0
)) goto fail
; 
30656     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
30657     if (SWIG_arg_fail(1)) SWIG_fail
; 
30659         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
30660         result 
= (wxBorder
)((wxWindow 
const *)arg1
)->GetBorder(); 
30662         wxPyEndAllowThreads(__tstate
); 
30663         if (PyErr_Occurred()) SWIG_fail
; 
30665     resultobj 
= SWIG_From_int((result
)); 
30672 static PyObject 
*_wrap_Window_GetBorder(PyObject 
*self
, PyObject 
*args
) { 
30677     argc 
= PyObject_Length(args
); 
30678     for (ii 
= 0; (ii 
< argc
) && (ii 
< 2); ii
++) { 
30679         argv
[ii
] = PyTuple_GetItem(args
,ii
); 
30685             if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) { 
30693             return _wrap_Window_GetBorder__SWIG_1(self
,args
); 
30700             if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) { 
30708             _v 
= SWIG_Check_long(argv
[1]); 
30710                 return _wrap_Window_GetBorder__SWIG_0(self
,args
); 
30715     PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'Window_GetBorder'"); 
30720 static PyObject 
*_wrap_Window_UpdateWindowUI(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
30721     PyObject 
*resultobj
; 
30722     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
30723     long arg2 
= (long) wxUPDATE_UI_NONE 
; 
30724     PyObject 
* obj0 
= 0 ; 
30725     PyObject 
* obj1 
= 0 ; 
30726     char *kwnames
[] = { 
30727         (char *) "self",(char *) "flags", NULL 
 
30730     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_UpdateWindowUI",kwnames
,&obj0
,&obj1
)) goto fail
; 
30731     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
30732     if (SWIG_arg_fail(1)) SWIG_fail
; 
30735             arg2 
= (long)(SWIG_As_long(obj1
));  
30736             if (SWIG_arg_fail(2)) SWIG_fail
; 
30740         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
30741         (arg1
)->UpdateWindowUI(arg2
); 
30743         wxPyEndAllowThreads(__tstate
); 
30744         if (PyErr_Occurred()) SWIG_fail
; 
30746     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
30753 static PyObject 
*_wrap_Window_PopupMenuXY(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
30754     PyObject 
*resultobj
; 
30755     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
30756     wxMenu 
*arg2 
= (wxMenu 
*) 0 ; 
30757     int arg3 
= (int) -1 ; 
30758     int arg4 
= (int) -1 ; 
30760     PyObject 
* obj0 
= 0 ; 
30761     PyObject 
* obj1 
= 0 ; 
30762     PyObject 
* obj2 
= 0 ; 
30763     PyObject 
* obj3 
= 0 ; 
30764     char *kwnames
[] = { 
30765         (char *) "self",(char *) "menu",(char *) "x",(char *) "y", NULL 
 
30768     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Window_PopupMenuXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
30769     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
30770     if (SWIG_arg_fail(1)) SWIG_fail
; 
30771     SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION 
| 0); 
30772     if (SWIG_arg_fail(2)) SWIG_fail
; 
30775             arg3 
= (int)(SWIG_As_int(obj2
));  
30776             if (SWIG_arg_fail(3)) SWIG_fail
; 
30781             arg4 
= (int)(SWIG_As_int(obj3
));  
30782             if (SWIG_arg_fail(4)) SWIG_fail
; 
30786         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
30787         result 
= (bool)(arg1
)->PopupMenu(arg2
,arg3
,arg4
); 
30789         wxPyEndAllowThreads(__tstate
); 
30790         if (PyErr_Occurred()) SWIG_fail
; 
30793         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
30801 static PyObject 
*_wrap_Window_PopupMenu(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
30802     PyObject 
*resultobj
; 
30803     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
30804     wxMenu 
*arg2 
= (wxMenu 
*) 0 ; 
30805     wxPoint 
const &arg3_defvalue 
= wxDefaultPosition 
; 
30806     wxPoint 
*arg3 
= (wxPoint 
*) &arg3_defvalue 
; 
30809     PyObject 
* obj0 
= 0 ; 
30810     PyObject 
* obj1 
= 0 ; 
30811     PyObject 
* obj2 
= 0 ; 
30812     char *kwnames
[] = { 
30813         (char *) "self",(char *) "menu",(char *) "pos", NULL 
 
30816     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_PopupMenu",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
30817     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
30818     if (SWIG_arg_fail(1)) SWIG_fail
; 
30819     SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION 
| 0); 
30820     if (SWIG_arg_fail(2)) SWIG_fail
; 
30824             if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
; 
30828         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
30829         result 
= (bool)(arg1
)->PopupMenu(arg2
,(wxPoint 
const &)*arg3
); 
30831         wxPyEndAllowThreads(__tstate
); 
30832         if (PyErr_Occurred()) SWIG_fail
; 
30835         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
30843 static PyObject 
*_wrap_Window_GetHandle(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
30844     PyObject 
*resultobj
; 
30845     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
30847     PyObject 
* obj0 
= 0 ; 
30848     char *kwnames
[] = { 
30849         (char *) "self", NULL 
 
30852     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetHandle",kwnames
,&obj0
)) goto fail
; 
30853     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
30854     if (SWIG_arg_fail(1)) SWIG_fail
; 
30856         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
30857         result 
= (long)wxWindow_GetHandle(arg1
); 
30859         wxPyEndAllowThreads(__tstate
); 
30860         if (PyErr_Occurred()) SWIG_fail
; 
30863         resultobj 
= SWIG_From_long((long)(result
));  
30871 static PyObject 
*_wrap_Window_AssociateHandle(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
30872     PyObject 
*resultobj
; 
30873     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
30875     PyObject 
* obj0 
= 0 ; 
30876     PyObject 
* obj1 
= 0 ; 
30877     char *kwnames
[] = { 
30878         (char *) "self",(char *) "handle", NULL 
 
30881     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_AssociateHandle",kwnames
,&obj0
,&obj1
)) goto fail
; 
30882     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
30883     if (SWIG_arg_fail(1)) SWIG_fail
; 
30885         arg2 
= (long)(SWIG_As_long(obj1
));  
30886         if (SWIG_arg_fail(2)) SWIG_fail
; 
30889         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
30890         wxWindow_AssociateHandle(arg1
,arg2
); 
30892         wxPyEndAllowThreads(__tstate
); 
30893         if (PyErr_Occurred()) SWIG_fail
; 
30895     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
30902 static PyObject 
*_wrap_Window_DissociateHandle(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
30903     PyObject 
*resultobj
; 
30904     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
30905     PyObject 
* obj0 
= 0 ; 
30906     char *kwnames
[] = { 
30907         (char *) "self", NULL 
 
30910     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_DissociateHandle",kwnames
,&obj0
)) goto fail
; 
30911     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
30912     if (SWIG_arg_fail(1)) SWIG_fail
; 
30914         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
30915         (arg1
)->DissociateHandle(); 
30917         wxPyEndAllowThreads(__tstate
); 
30918         if (PyErr_Occurred()) SWIG_fail
; 
30920     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
30927 static PyObject 
*_wrap_Window_HasScrollbar(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
30928     PyObject 
*resultobj
; 
30929     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
30932     PyObject 
* obj0 
= 0 ; 
30933     PyObject 
* obj1 
= 0 ; 
30934     char *kwnames
[] = { 
30935         (char *) "self",(char *) "orient", NULL 
 
30938     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HasScrollbar",kwnames
,&obj0
,&obj1
)) goto fail
; 
30939     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
30940     if (SWIG_arg_fail(1)) SWIG_fail
; 
30942         arg2 
= (int)(SWIG_As_int(obj1
));  
30943         if (SWIG_arg_fail(2)) SWIG_fail
; 
30946         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
30947         result 
= (bool)((wxWindow 
const *)arg1
)->HasScrollbar(arg2
); 
30949         wxPyEndAllowThreads(__tstate
); 
30950         if (PyErr_Occurred()) SWIG_fail
; 
30953         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
30961 static PyObject 
*_wrap_Window_SetScrollbar(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
30962     PyObject 
*resultobj
; 
30963     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
30968     bool arg6 
= (bool) true ; 
30969     PyObject 
* obj0 
= 0 ; 
30970     PyObject 
* obj1 
= 0 ; 
30971     PyObject 
* obj2 
= 0 ; 
30972     PyObject 
* obj3 
= 0 ; 
30973     PyObject 
* obj4 
= 0 ; 
30974     PyObject 
* obj5 
= 0 ; 
30975     char *kwnames
[] = { 
30976         (char *) "self",(char *) "orientation",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "refresh", NULL 
 
30979     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Window_SetScrollbar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
; 
30980     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
30981     if (SWIG_arg_fail(1)) SWIG_fail
; 
30983         arg2 
= (int)(SWIG_As_int(obj1
));  
30984         if (SWIG_arg_fail(2)) SWIG_fail
; 
30987         arg3 
= (int)(SWIG_As_int(obj2
));  
30988         if (SWIG_arg_fail(3)) SWIG_fail
; 
30991         arg4 
= (int)(SWIG_As_int(obj3
));  
30992         if (SWIG_arg_fail(4)) SWIG_fail
; 
30995         arg5 
= (int)(SWIG_As_int(obj4
));  
30996         if (SWIG_arg_fail(5)) SWIG_fail
; 
31000             arg6 
= (bool)(SWIG_As_bool(obj5
));  
31001             if (SWIG_arg_fail(6)) SWIG_fail
; 
31005         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
31006         (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
); 
31008         wxPyEndAllowThreads(__tstate
); 
31009         if (PyErr_Occurred()) SWIG_fail
; 
31011     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
31018 static PyObject 
*_wrap_Window_SetScrollPos(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
31019     PyObject 
*resultobj
; 
31020     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
31023     bool arg4 
= (bool) true ; 
31024     PyObject 
* obj0 
= 0 ; 
31025     PyObject 
* obj1 
= 0 ; 
31026     PyObject 
* obj2 
= 0 ; 
31027     PyObject 
* obj3 
= 0 ; 
31028     char *kwnames
[] = { 
31029         (char *) "self",(char *) "orientation",(char *) "pos",(char *) "refresh", NULL 
 
31032     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_SetScrollPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
31033     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
31034     if (SWIG_arg_fail(1)) SWIG_fail
; 
31036         arg2 
= (int)(SWIG_As_int(obj1
));  
31037         if (SWIG_arg_fail(2)) SWIG_fail
; 
31040         arg3 
= (int)(SWIG_As_int(obj2
));  
31041         if (SWIG_arg_fail(3)) SWIG_fail
; 
31045             arg4 
= (bool)(SWIG_As_bool(obj3
));  
31046             if (SWIG_arg_fail(4)) SWIG_fail
; 
31050         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
31051         (arg1
)->SetScrollPos(arg2
,arg3
,arg4
); 
31053         wxPyEndAllowThreads(__tstate
); 
31054         if (PyErr_Occurred()) SWIG_fail
; 
31056     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
31063 static PyObject 
*_wrap_Window_GetScrollPos(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
31064     PyObject 
*resultobj
; 
31065     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
31068     PyObject 
* obj0 
= 0 ; 
31069     PyObject 
* obj1 
= 0 ; 
31070     char *kwnames
[] = { 
31071         (char *) "self",(char *) "orientation", NULL 
 
31074     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollPos",kwnames
,&obj0
,&obj1
)) goto fail
; 
31075     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
31076     if (SWIG_arg_fail(1)) SWIG_fail
; 
31078         arg2 
= (int)(SWIG_As_int(obj1
));  
31079         if (SWIG_arg_fail(2)) SWIG_fail
; 
31082         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
31083         result 
= (int)((wxWindow 
const *)arg1
)->GetScrollPos(arg2
); 
31085         wxPyEndAllowThreads(__tstate
); 
31086         if (PyErr_Occurred()) SWIG_fail
; 
31089         resultobj 
= SWIG_From_int((int)(result
));  
31097 static PyObject 
*_wrap_Window_GetScrollThumb(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
31098     PyObject 
*resultobj
; 
31099     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
31102     PyObject 
* obj0 
= 0 ; 
31103     PyObject 
* obj1 
= 0 ; 
31104     char *kwnames
[] = { 
31105         (char *) "self",(char *) "orientation", NULL 
 
31108     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollThumb",kwnames
,&obj0
,&obj1
)) goto fail
; 
31109     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
31110     if (SWIG_arg_fail(1)) SWIG_fail
; 
31112         arg2 
= (int)(SWIG_As_int(obj1
));  
31113         if (SWIG_arg_fail(2)) SWIG_fail
; 
31116         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
31117         result 
= (int)((wxWindow 
const *)arg1
)->GetScrollThumb(arg2
); 
31119         wxPyEndAllowThreads(__tstate
); 
31120         if (PyErr_Occurred()) SWIG_fail
; 
31123         resultobj 
= SWIG_From_int((int)(result
));  
31131 static PyObject 
*_wrap_Window_GetScrollRange(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
31132     PyObject 
*resultobj
; 
31133     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
31136     PyObject 
* obj0 
= 0 ; 
31137     PyObject 
* obj1 
= 0 ; 
31138     char *kwnames
[] = { 
31139         (char *) "self",(char *) "orientation", NULL 
 
31142     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollRange",kwnames
,&obj0
,&obj1
)) goto fail
; 
31143     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
31144     if (SWIG_arg_fail(1)) SWIG_fail
; 
31146         arg2 
= (int)(SWIG_As_int(obj1
));  
31147         if (SWIG_arg_fail(2)) SWIG_fail
; 
31150         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
31151         result 
= (int)((wxWindow 
const *)arg1
)->GetScrollRange(arg2
); 
31153         wxPyEndAllowThreads(__tstate
); 
31154         if (PyErr_Occurred()) SWIG_fail
; 
31157         resultobj 
= SWIG_From_int((int)(result
));  
31165 static PyObject 
*_wrap_Window_ScrollWindow(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
31166     PyObject 
*resultobj
; 
31167     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
31170     wxRect 
*arg4 
= (wxRect 
*) NULL 
; 
31171     PyObject 
* obj0 
= 0 ; 
31172     PyObject 
* obj1 
= 0 ; 
31173     PyObject 
* obj2 
= 0 ; 
31174     PyObject 
* obj3 
= 0 ; 
31175     char *kwnames
[] = { 
31176         (char *) "self",(char *) "dx",(char *) "dy",(char *) "rect", NULL 
 
31179     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_ScrollWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
31180     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
31181     if (SWIG_arg_fail(1)) SWIG_fail
; 
31183         arg2 
= (int)(SWIG_As_int(obj1
));  
31184         if (SWIG_arg_fail(2)) SWIG_fail
; 
31187         arg3 
= (int)(SWIG_As_int(obj2
));  
31188         if (SWIG_arg_fail(3)) SWIG_fail
; 
31191         SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION 
| 0); 
31192         if (SWIG_arg_fail(4)) SWIG_fail
; 
31195         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
31196         (arg1
)->ScrollWindow(arg2
,arg3
,(wxRect 
const *)arg4
); 
31198         wxPyEndAllowThreads(__tstate
); 
31199         if (PyErr_Occurred()) SWIG_fail
; 
31201     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
31208 static PyObject 
*_wrap_Window_ScrollLines(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
31209     PyObject 
*resultobj
; 
31210     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
31213     PyObject 
* obj0 
= 0 ; 
31214     PyObject 
* obj1 
= 0 ; 
31215     char *kwnames
[] = { 
31216         (char *) "self",(char *) "lines", NULL 
 
31219     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScrollLines",kwnames
,&obj0
,&obj1
)) goto fail
; 
31220     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
31221     if (SWIG_arg_fail(1)) SWIG_fail
; 
31223         arg2 
= (int)(SWIG_As_int(obj1
));  
31224         if (SWIG_arg_fail(2)) SWIG_fail
; 
31227         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
31228         result 
= (bool)(arg1
)->ScrollLines(arg2
); 
31230         wxPyEndAllowThreads(__tstate
); 
31231         if (PyErr_Occurred()) SWIG_fail
; 
31234         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
31242 static PyObject 
*_wrap_Window_ScrollPages(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
31243     PyObject 
*resultobj
; 
31244     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
31247     PyObject 
* obj0 
= 0 ; 
31248     PyObject 
* obj1 
= 0 ; 
31249     char *kwnames
[] = { 
31250         (char *) "self",(char *) "pages", NULL 
 
31253     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScrollPages",kwnames
,&obj0
,&obj1
)) goto fail
; 
31254     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
31255     if (SWIG_arg_fail(1)) SWIG_fail
; 
31257         arg2 
= (int)(SWIG_As_int(obj1
));  
31258         if (SWIG_arg_fail(2)) SWIG_fail
; 
31261         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
31262         result 
= (bool)(arg1
)->ScrollPages(arg2
); 
31264         wxPyEndAllowThreads(__tstate
); 
31265         if (PyErr_Occurred()) SWIG_fail
; 
31268         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
31276 static PyObject 
*_wrap_Window_LineUp(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
31277     PyObject 
*resultobj
; 
31278     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
31280     PyObject 
* obj0 
= 0 ; 
31281     char *kwnames
[] = { 
31282         (char *) "self", NULL 
 
31285     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_LineUp",kwnames
,&obj0
)) goto fail
; 
31286     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
31287     if (SWIG_arg_fail(1)) SWIG_fail
; 
31289         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
31290         result 
= (bool)(arg1
)->LineUp(); 
31292         wxPyEndAllowThreads(__tstate
); 
31293         if (PyErr_Occurred()) SWIG_fail
; 
31296         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
31304 static PyObject 
*_wrap_Window_LineDown(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
31305     PyObject 
*resultobj
; 
31306     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
31308     PyObject 
* obj0 
= 0 ; 
31309     char *kwnames
[] = { 
31310         (char *) "self", NULL 
 
31313     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_LineDown",kwnames
,&obj0
)) goto fail
; 
31314     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
31315     if (SWIG_arg_fail(1)) SWIG_fail
; 
31317         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
31318         result 
= (bool)(arg1
)->LineDown(); 
31320         wxPyEndAllowThreads(__tstate
); 
31321         if (PyErr_Occurred()) SWIG_fail
; 
31324         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
31332 static PyObject 
*_wrap_Window_PageUp(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
31333     PyObject 
*resultobj
; 
31334     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
31336     PyObject 
* obj0 
= 0 ; 
31337     char *kwnames
[] = { 
31338         (char *) "self", NULL 
 
31341     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PageUp",kwnames
,&obj0
)) goto fail
; 
31342     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
31343     if (SWIG_arg_fail(1)) SWIG_fail
; 
31345         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
31346         result 
= (bool)(arg1
)->PageUp(); 
31348         wxPyEndAllowThreads(__tstate
); 
31349         if (PyErr_Occurred()) SWIG_fail
; 
31352         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
31360 static PyObject 
*_wrap_Window_PageDown(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
31361     PyObject 
*resultobj
; 
31362     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
31364     PyObject 
* obj0 
= 0 ; 
31365     char *kwnames
[] = { 
31366         (char *) "self", NULL 
 
31369     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PageDown",kwnames
,&obj0
)) goto fail
; 
31370     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
31371     if (SWIG_arg_fail(1)) SWIG_fail
; 
31373         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
31374         result 
= (bool)(arg1
)->PageDown(); 
31376         wxPyEndAllowThreads(__tstate
); 
31377         if (PyErr_Occurred()) SWIG_fail
; 
31380         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
31388 static PyObject 
*_wrap_Window_SetHelpText(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
31389     PyObject 
*resultobj
; 
31390     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
31391     wxString 
*arg2 
= 0 ; 
31392     bool temp2 
= false ; 
31393     PyObject 
* obj0 
= 0 ; 
31394     PyObject 
* obj1 
= 0 ; 
31395     char *kwnames
[] = { 
31396         (char *) "self",(char *) "text", NULL 
 
31399     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpText",kwnames
,&obj0
,&obj1
)) goto fail
; 
31400     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
31401     if (SWIG_arg_fail(1)) SWIG_fail
; 
31403         arg2 
= wxString_in_helper(obj1
); 
31404         if (arg2 
== NULL
) SWIG_fail
; 
31408         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
31409         (arg1
)->SetHelpText((wxString 
const &)*arg2
); 
31411         wxPyEndAllowThreads(__tstate
); 
31412         if (PyErr_Occurred()) SWIG_fail
; 
31414     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
31429 static PyObject 
*_wrap_Window_SetHelpTextForId(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
31430     PyObject 
*resultobj
; 
31431     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
31432     wxString 
*arg2 
= 0 ; 
31433     bool temp2 
= false ; 
31434     PyObject 
* obj0 
= 0 ; 
31435     PyObject 
* obj1 
= 0 ; 
31436     char *kwnames
[] = { 
31437         (char *) "self",(char *) "text", NULL 
 
31440     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpTextForId",kwnames
,&obj0
,&obj1
)) goto fail
; 
31441     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
31442     if (SWIG_arg_fail(1)) SWIG_fail
; 
31444         arg2 
= wxString_in_helper(obj1
); 
31445         if (arg2 
== NULL
) SWIG_fail
; 
31449         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
31450         (arg1
)->SetHelpTextForId((wxString 
const &)*arg2
); 
31452         wxPyEndAllowThreads(__tstate
); 
31453         if (PyErr_Occurred()) SWIG_fail
; 
31455     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
31470 static PyObject 
*_wrap_Window_GetHelpText(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
31471     PyObject 
*resultobj
; 
31472     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
31474     PyObject 
* obj0 
= 0 ; 
31475     char *kwnames
[] = { 
31476         (char *) "self", NULL 
 
31479     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetHelpText",kwnames
,&obj0
)) goto fail
; 
31480     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
31481     if (SWIG_arg_fail(1)) SWIG_fail
; 
31483         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
31484         result 
= ((wxWindow 
const *)arg1
)->GetHelpText(); 
31486         wxPyEndAllowThreads(__tstate
); 
31487         if (PyErr_Occurred()) SWIG_fail
; 
31491         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
31493         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
31502 static PyObject 
*_wrap_Window_SetToolTipString(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
31503     PyObject 
*resultobj
; 
31504     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
31505     wxString 
*arg2 
= 0 ; 
31506     bool temp2 
= false ; 
31507     PyObject 
* obj0 
= 0 ; 
31508     PyObject 
* obj1 
= 0 ; 
31509     char *kwnames
[] = { 
31510         (char *) "self",(char *) "tip", NULL 
 
31513     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTipString",kwnames
,&obj0
,&obj1
)) goto fail
; 
31514     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
31515     if (SWIG_arg_fail(1)) SWIG_fail
; 
31517         arg2 
= wxString_in_helper(obj1
); 
31518         if (arg2 
== NULL
) SWIG_fail
; 
31522         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
31523         (arg1
)->SetToolTip((wxString 
const &)*arg2
); 
31525         wxPyEndAllowThreads(__tstate
); 
31526         if (PyErr_Occurred()) SWIG_fail
; 
31528     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
31543 static PyObject 
*_wrap_Window_SetToolTip(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
31544     PyObject 
*resultobj
; 
31545     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
31546     wxToolTip 
*arg2 
= (wxToolTip 
*) 0 ; 
31547     PyObject 
* obj0 
= 0 ; 
31548     PyObject 
* obj1 
= 0 ; 
31549     char *kwnames
[] = { 
31550         (char *) "self",(char *) "tip", NULL 
 
31553     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
; 
31554     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
31555     if (SWIG_arg_fail(1)) SWIG_fail
; 
31556     SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxToolTip
, SWIG_POINTER_EXCEPTION 
| 0); 
31557     if (SWIG_arg_fail(2)) SWIG_fail
; 
31559         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
31560         (arg1
)->SetToolTip(arg2
); 
31562         wxPyEndAllowThreads(__tstate
); 
31563         if (PyErr_Occurred()) SWIG_fail
; 
31565     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
31572 static PyObject 
*_wrap_Window_GetToolTip(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
31573     PyObject 
*resultobj
; 
31574     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
31576     PyObject 
* obj0 
= 0 ; 
31577     char *kwnames
[] = { 
31578         (char *) "self", NULL 
 
31581     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetToolTip",kwnames
,&obj0
)) goto fail
; 
31582     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
31583     if (SWIG_arg_fail(1)) SWIG_fail
; 
31585         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
31586         result 
= (wxToolTip 
*)((wxWindow 
const *)arg1
)->GetToolTip(); 
31588         wxPyEndAllowThreads(__tstate
); 
31589         if (PyErr_Occurred()) SWIG_fail
; 
31592         resultobj 
= wxPyMake_wxObject(result
, 0);  
31600 static PyObject 
*_wrap_Window_SetDropTarget(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
31601     PyObject 
*resultobj
; 
31602     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
31603     wxPyDropTarget 
*arg2 
= (wxPyDropTarget 
*) 0 ; 
31604     PyObject 
* obj0 
= 0 ; 
31605     PyObject 
* obj1 
= 0 ; 
31606     char *kwnames
[] = { 
31607         (char *) "self",(char *) "dropTarget", NULL 
 
31610     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDropTarget",kwnames
,&obj0
,&obj1
)) goto fail
; 
31611     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
31612     if (SWIG_arg_fail(1)) SWIG_fail
; 
31613     SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION 
| SWIG_POINTER_DISOWN
); 
31614     if (SWIG_arg_fail(2)) SWIG_fail
; 
31616         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
31617         (arg1
)->SetDropTarget(arg2
); 
31619         wxPyEndAllowThreads(__tstate
); 
31620         if (PyErr_Occurred()) SWIG_fail
; 
31622     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
31629 static PyObject 
*_wrap_Window_GetDropTarget(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
31630     PyObject 
*resultobj
; 
31631     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
31632     wxPyDropTarget 
*result
; 
31633     PyObject 
* obj0 
= 0 ; 
31634     char *kwnames
[] = { 
31635         (char *) "self", NULL 
 
31638     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDropTarget",kwnames
,&obj0
)) goto fail
; 
31639     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
31640     if (SWIG_arg_fail(1)) SWIG_fail
; 
31642         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
31643         result 
= (wxPyDropTarget 
*)((wxWindow 
const *)arg1
)->GetDropTarget(); 
31645         wxPyEndAllowThreads(__tstate
); 
31646         if (PyErr_Occurred()) SWIG_fail
; 
31648     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropTarget
, 0); 
31655 static PyObject 
*_wrap_Window_SetConstraints(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
31656     PyObject 
*resultobj
; 
31657     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
31658     wxLayoutConstraints 
*arg2 
= (wxLayoutConstraints 
*) 0 ; 
31659     PyObject 
* obj0 
= 0 ; 
31660     PyObject 
* obj1 
= 0 ; 
31661     char *kwnames
[] = { 
31662         (char *) "self",(char *) "constraints", NULL 
 
31665     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetConstraints",kwnames
,&obj0
,&obj1
)) goto fail
; 
31666     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
31667     if (SWIG_arg_fail(1)) SWIG_fail
; 
31668     SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION 
| 0); 
31669     if (SWIG_arg_fail(2)) SWIG_fail
; 
31671         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
31672         (arg1
)->SetConstraints(arg2
); 
31674         wxPyEndAllowThreads(__tstate
); 
31675         if (PyErr_Occurred()) SWIG_fail
; 
31677     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
31684 static PyObject 
*_wrap_Window_GetConstraints(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
31685     PyObject 
*resultobj
; 
31686     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
31687     wxLayoutConstraints 
*result
; 
31688     PyObject 
* obj0 
= 0 ; 
31689     char *kwnames
[] = { 
31690         (char *) "self", NULL 
 
31693     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetConstraints",kwnames
,&obj0
)) goto fail
; 
31694     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
31695     if (SWIG_arg_fail(1)) SWIG_fail
; 
31697         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
31698         result 
= (wxLayoutConstraints 
*)((wxWindow 
const *)arg1
)->GetConstraints(); 
31700         wxPyEndAllowThreads(__tstate
); 
31701         if (PyErr_Occurred()) SWIG_fail
; 
31703     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutConstraints
, 0); 
31710 static PyObject 
*_wrap_Window_SetAutoLayout(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
31711     PyObject 
*resultobj
; 
31712     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
31714     PyObject 
* obj0 
= 0 ; 
31715     PyObject 
* obj1 
= 0 ; 
31716     char *kwnames
[] = { 
31717         (char *) "self",(char *) "autoLayout", NULL 
 
31720     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAutoLayout",kwnames
,&obj0
,&obj1
)) goto fail
; 
31721     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
31722     if (SWIG_arg_fail(1)) SWIG_fail
; 
31724         arg2 
= (bool)(SWIG_As_bool(obj1
));  
31725         if (SWIG_arg_fail(2)) SWIG_fail
; 
31728         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
31729         (arg1
)->SetAutoLayout(arg2
); 
31731         wxPyEndAllowThreads(__tstate
); 
31732         if (PyErr_Occurred()) SWIG_fail
; 
31734     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
31741 static PyObject 
*_wrap_Window_GetAutoLayout(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
31742     PyObject 
*resultobj
; 
31743     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
31745     PyObject 
* obj0 
= 0 ; 
31746     char *kwnames
[] = { 
31747         (char *) "self", NULL 
 
31750     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAutoLayout",kwnames
,&obj0
)) goto fail
; 
31751     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
31752     if (SWIG_arg_fail(1)) SWIG_fail
; 
31754         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
31755         result 
= (bool)((wxWindow 
const *)arg1
)->GetAutoLayout(); 
31757         wxPyEndAllowThreads(__tstate
); 
31758         if (PyErr_Occurred()) SWIG_fail
; 
31761         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
31769 static PyObject 
*_wrap_Window_Layout(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
31770     PyObject 
*resultobj
; 
31771     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
31773     PyObject 
* obj0 
= 0 ; 
31774     char *kwnames
[] = { 
31775         (char *) "self", NULL 
 
31778     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Layout",kwnames
,&obj0
)) goto fail
; 
31779     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
31780     if (SWIG_arg_fail(1)) SWIG_fail
; 
31782         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
31783         result 
= (bool)(arg1
)->Layout(); 
31785         wxPyEndAllowThreads(__tstate
); 
31786         if (PyErr_Occurred()) SWIG_fail
; 
31789         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
31797 static PyObject 
*_wrap_Window_SetSizer(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
31798     PyObject 
*resultobj
; 
31799     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
31800     wxSizer 
*arg2 
= (wxSizer 
*) 0 ; 
31801     bool arg3 
= (bool) true ; 
31802     PyObject 
* obj0 
= 0 ; 
31803     PyObject 
* obj1 
= 0 ; 
31804     PyObject 
* obj2 
= 0 ; 
31805     char *kwnames
[] = { 
31806         (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL 
 
31809     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
31810     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
31811     if (SWIG_arg_fail(1)) SWIG_fail
; 
31812     SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION 
| 0); 
31813     if (SWIG_arg_fail(2)) SWIG_fail
; 
31816             arg3 
= (bool)(SWIG_As_bool(obj2
));  
31817             if (SWIG_arg_fail(3)) SWIG_fail
; 
31821         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
31822         (arg1
)->SetSizer(arg2
,arg3
); 
31824         wxPyEndAllowThreads(__tstate
); 
31825         if (PyErr_Occurred()) SWIG_fail
; 
31827     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
31834 static PyObject 
*_wrap_Window_SetSizerAndFit(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
31835     PyObject 
*resultobj
; 
31836     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
31837     wxSizer 
*arg2 
= (wxSizer 
*) 0 ; 
31838     bool arg3 
= (bool) true ; 
31839     PyObject 
* obj0 
= 0 ; 
31840     PyObject 
* obj1 
= 0 ; 
31841     PyObject 
* obj2 
= 0 ; 
31842     char *kwnames
[] = { 
31843         (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL 
 
31846     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizerAndFit",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
31847     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
31848     if (SWIG_arg_fail(1)) SWIG_fail
; 
31849     SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION 
| 0); 
31850     if (SWIG_arg_fail(2)) SWIG_fail
; 
31853             arg3 
= (bool)(SWIG_As_bool(obj2
));  
31854             if (SWIG_arg_fail(3)) SWIG_fail
; 
31858         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
31859         (arg1
)->SetSizerAndFit(arg2
,arg3
); 
31861         wxPyEndAllowThreads(__tstate
); 
31862         if (PyErr_Occurred()) SWIG_fail
; 
31864     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
31871 static PyObject 
*_wrap_Window_GetSizer(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
31872     PyObject 
*resultobj
; 
31873     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
31875     PyObject 
* obj0 
= 0 ; 
31876     char *kwnames
[] = { 
31877         (char *) "self", NULL 
 
31880     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSizer",kwnames
,&obj0
)) goto fail
; 
31881     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
31882     if (SWIG_arg_fail(1)) SWIG_fail
; 
31884         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
31885         result 
= (wxSizer 
*)((wxWindow 
const *)arg1
)->GetSizer(); 
31887         wxPyEndAllowThreads(__tstate
); 
31888         if (PyErr_Occurred()) SWIG_fail
; 
31891         resultobj 
= wxPyMake_wxSizer(result
, 0);  
31899 static PyObject 
*_wrap_Window_SetContainingSizer(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
31900     PyObject 
*resultobj
; 
31901     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
31902     wxSizer 
*arg2 
= (wxSizer 
*) 0 ; 
31903     PyObject 
* obj0 
= 0 ; 
31904     PyObject 
* obj1 
= 0 ; 
31905     char *kwnames
[] = { 
31906         (char *) "self",(char *) "sizer", NULL 
 
31909     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetContainingSizer",kwnames
,&obj0
,&obj1
)) goto fail
; 
31910     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
31911     if (SWIG_arg_fail(1)) SWIG_fail
; 
31912     SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION 
| 0); 
31913     if (SWIG_arg_fail(2)) SWIG_fail
; 
31915         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
31916         (arg1
)->SetContainingSizer(arg2
); 
31918         wxPyEndAllowThreads(__tstate
); 
31919         if (PyErr_Occurred()) SWIG_fail
; 
31921     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
31928 static PyObject 
*_wrap_Window_GetContainingSizer(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
31929     PyObject 
*resultobj
; 
31930     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
31932     PyObject 
* obj0 
= 0 ; 
31933     char *kwnames
[] = { 
31934         (char *) "self", NULL 
 
31937     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetContainingSizer",kwnames
,&obj0
)) goto fail
; 
31938     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
31939     if (SWIG_arg_fail(1)) SWIG_fail
; 
31941         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
31942         result 
= (wxSizer 
*)((wxWindow 
const *)arg1
)->GetContainingSizer(); 
31944         wxPyEndAllowThreads(__tstate
); 
31945         if (PyErr_Occurred()) SWIG_fail
; 
31948         resultobj 
= wxPyMake_wxSizer(result
, 0);  
31956 static PyObject 
*_wrap_Window_InheritAttributes(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
31957     PyObject 
*resultobj
; 
31958     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
31959     PyObject 
* obj0 
= 0 ; 
31960     char *kwnames
[] = { 
31961         (char *) "self", NULL 
 
31964     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InheritAttributes",kwnames
,&obj0
)) goto fail
; 
31965     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
31966     if (SWIG_arg_fail(1)) SWIG_fail
; 
31968         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
31969         (arg1
)->InheritAttributes(); 
31971         wxPyEndAllowThreads(__tstate
); 
31972         if (PyErr_Occurred()) SWIG_fail
; 
31974     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
31981 static PyObject 
*_wrap_Window_ShouldInheritColours(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
31982     PyObject 
*resultobj
; 
31983     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
31985     PyObject 
* obj0 
= 0 ; 
31986     char *kwnames
[] = { 
31987         (char *) "self", NULL 
 
31990     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ShouldInheritColours",kwnames
,&obj0
)) goto fail
; 
31991     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
31992     if (SWIG_arg_fail(1)) SWIG_fail
; 
31994         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
31995         result 
= (bool)((wxWindow 
const *)arg1
)->ShouldInheritColours(); 
31997         wxPyEndAllowThreads(__tstate
); 
31998         if (PyErr_Occurred()) SWIG_fail
; 
32001         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
32009 static PyObject 
* Window_swigregister(PyObject 
*, PyObject 
*args
) { 
32011     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
32012     SWIG_TypeClientData(SWIGTYPE_p_wxWindow
, obj
); 
32014     return Py_BuildValue((char *)""); 
32016 static PyObject 
*_wrap_FindWindowById(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
32017     PyObject 
*resultobj
; 
32019     wxWindow 
*arg2 
= (wxWindow 
*) NULL 
; 
32021     PyObject 
* obj0 
= 0 ; 
32022     PyObject 
* obj1 
= 0 ; 
32023     char *kwnames
[] = { 
32024         (char *) "id",(char *) "parent", NULL 
 
32027     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowById",kwnames
,&obj0
,&obj1
)) goto fail
; 
32029         arg1 
= (long)(SWIG_As_long(obj0
));  
32030         if (SWIG_arg_fail(1)) SWIG_fail
; 
32033         SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
32034         if (SWIG_arg_fail(2)) SWIG_fail
; 
32037         if (!wxPyCheckForApp()) SWIG_fail
; 
32038         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
32039         result 
= (wxWindow 
*)wxFindWindowById(arg1
,(wxWindow 
const *)arg2
); 
32041         wxPyEndAllowThreads(__tstate
); 
32042         if (PyErr_Occurred()) SWIG_fail
; 
32045         resultobj 
= wxPyMake_wxObject(result
, 0);  
32053 static PyObject 
*_wrap_FindWindowByName(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
32054     PyObject 
*resultobj
; 
32055     wxString 
*arg1 
= 0 ; 
32056     wxWindow 
*arg2 
= (wxWindow 
*) NULL 
; 
32058     bool temp1 
= false ; 
32059     PyObject 
* obj0 
= 0 ; 
32060     PyObject 
* obj1 
= 0 ; 
32061     char *kwnames
[] = { 
32062         (char *) "name",(char *) "parent", NULL 
 
32065     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByName",kwnames
,&obj0
,&obj1
)) goto fail
; 
32067         arg1 
= wxString_in_helper(obj0
); 
32068         if (arg1 
== NULL
) SWIG_fail
; 
32072         SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
32073         if (SWIG_arg_fail(2)) SWIG_fail
; 
32076         if (!wxPyCheckForApp()) SWIG_fail
; 
32077         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
32078         result 
= (wxWindow 
*)wxFindWindowByName((wxString 
const &)*arg1
,(wxWindow 
const *)arg2
); 
32080         wxPyEndAllowThreads(__tstate
); 
32081         if (PyErr_Occurred()) SWIG_fail
; 
32084         resultobj 
= wxPyMake_wxObject(result
, 0);  
32100 static PyObject 
*_wrap_FindWindowByLabel(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
32101     PyObject 
*resultobj
; 
32102     wxString 
*arg1 
= 0 ; 
32103     wxWindow 
*arg2 
= (wxWindow 
*) NULL 
; 
32105     bool temp1 
= false ; 
32106     PyObject 
* obj0 
= 0 ; 
32107     PyObject 
* obj1 
= 0 ; 
32108     char *kwnames
[] = { 
32109         (char *) "label",(char *) "parent", NULL 
 
32112     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByLabel",kwnames
,&obj0
,&obj1
)) goto fail
; 
32114         arg1 
= wxString_in_helper(obj0
); 
32115         if (arg1 
== NULL
) SWIG_fail
; 
32119         SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
32120         if (SWIG_arg_fail(2)) SWIG_fail
; 
32123         if (!wxPyCheckForApp()) SWIG_fail
; 
32124         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
32125         result 
= (wxWindow 
*)wxFindWindowByLabel((wxString 
const &)*arg1
,(wxWindow 
const *)arg2
); 
32127         wxPyEndAllowThreads(__tstate
); 
32128         if (PyErr_Occurred()) SWIG_fail
; 
32131         resultobj 
= wxPyMake_wxObject(result
, 0);  
32147 static PyObject 
*_wrap_Window_FromHWND(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
32148     PyObject 
*resultobj
; 
32149     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
32150     unsigned long arg2 
; 
32152     PyObject 
* obj0 
= 0 ; 
32153     PyObject 
* obj1 
= 0 ; 
32154     char *kwnames
[] = { 
32155         (char *) "parent",(char *) "_hWnd", NULL 
 
32158     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FromHWND",kwnames
,&obj0
,&obj1
)) goto fail
; 
32159     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
32160     if (SWIG_arg_fail(1)) SWIG_fail
; 
32162         arg2 
= (unsigned long)(SWIG_As_unsigned_SS_long(obj1
));  
32163         if (SWIG_arg_fail(2)) SWIG_fail
; 
32166         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
32167         result 
= (wxWindow 
*)wxWindow_FromHWND(arg1
,arg2
); 
32169         wxPyEndAllowThreads(__tstate
); 
32170         if (PyErr_Occurred()) SWIG_fail
; 
32173         resultobj 
= wxPyMake_wxObject(result
, 0);  
32181 static PyObject 
*_wrap_new_Validator(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
32182     PyObject 
*resultobj
; 
32183     wxValidator 
*result
; 
32184     char *kwnames
[] = { 
32188     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Validator",kwnames
)) goto fail
; 
32190         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
32191         result 
= (wxValidator 
*)new wxValidator(); 
32193         wxPyEndAllowThreads(__tstate
); 
32194         if (PyErr_Occurred()) SWIG_fail
; 
32196     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxValidator
, 1); 
32203 static PyObject 
*_wrap_Validator_Clone(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
32204     PyObject 
*resultobj
; 
32205     wxValidator 
*arg1 
= (wxValidator 
*) 0 ; 
32206     wxValidator 
*result
; 
32207     PyObject 
* obj0 
= 0 ; 
32208     char *kwnames
[] = { 
32209         (char *) "self", NULL 
 
32212     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_Clone",kwnames
,&obj0
)) goto fail
; 
32213     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION 
| 0); 
32214     if (SWIG_arg_fail(1)) SWIG_fail
; 
32216         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
32217         result 
= (wxValidator 
*)(arg1
)->Clone(); 
32219         wxPyEndAllowThreads(__tstate
); 
32220         if (PyErr_Occurred()) SWIG_fail
; 
32223         resultobj 
= wxPyMake_wxObject(result
, 0);  
32231 static PyObject 
*_wrap_Validator_Validate(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
32232     PyObject 
*resultobj
; 
32233     wxValidator 
*arg1 
= (wxValidator 
*) 0 ; 
32234     wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
32236     PyObject 
* obj0 
= 0 ; 
32237     PyObject 
* obj1 
= 0 ; 
32238     char *kwnames
[] = { 
32239         (char *) "self",(char *) "parent", NULL 
 
32242     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_Validate",kwnames
,&obj0
,&obj1
)) goto fail
; 
32243     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION 
| 0); 
32244     if (SWIG_arg_fail(1)) SWIG_fail
; 
32245     SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
32246     if (SWIG_arg_fail(2)) SWIG_fail
; 
32248         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
32249         result 
= (bool)(arg1
)->Validate(arg2
); 
32251         wxPyEndAllowThreads(__tstate
); 
32252         if (PyErr_Occurred()) SWIG_fail
; 
32255         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
32263 static PyObject 
*_wrap_Validator_TransferToWindow(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
32264     PyObject 
*resultobj
; 
32265     wxValidator 
*arg1 
= (wxValidator 
*) 0 ; 
32267     PyObject 
* obj0 
= 0 ; 
32268     char *kwnames
[] = { 
32269         (char *) "self", NULL 
 
32272     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_TransferToWindow",kwnames
,&obj0
)) goto fail
; 
32273     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION 
| 0); 
32274     if (SWIG_arg_fail(1)) SWIG_fail
; 
32276         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
32277         result 
= (bool)(arg1
)->TransferToWindow(); 
32279         wxPyEndAllowThreads(__tstate
); 
32280         if (PyErr_Occurred()) SWIG_fail
; 
32283         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
32291 static PyObject 
*_wrap_Validator_TransferFromWindow(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
32292     PyObject 
*resultobj
; 
32293     wxValidator 
*arg1 
= (wxValidator 
*) 0 ; 
32295     PyObject 
* obj0 
= 0 ; 
32296     char *kwnames
[] = { 
32297         (char *) "self", NULL 
 
32300     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_TransferFromWindow",kwnames
,&obj0
)) goto fail
; 
32301     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION 
| 0); 
32302     if (SWIG_arg_fail(1)) SWIG_fail
; 
32304         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
32305         result 
= (bool)(arg1
)->TransferFromWindow(); 
32307         wxPyEndAllowThreads(__tstate
); 
32308         if (PyErr_Occurred()) SWIG_fail
; 
32311         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
32319 static PyObject 
*_wrap_Validator_GetWindow(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
32320     PyObject 
*resultobj
; 
32321     wxValidator 
*arg1 
= (wxValidator 
*) 0 ; 
32323     PyObject 
* obj0 
= 0 ; 
32324     char *kwnames
[] = { 
32325         (char *) "self", NULL 
 
32328     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_GetWindow",kwnames
,&obj0
)) goto fail
; 
32329     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION 
| 0); 
32330     if (SWIG_arg_fail(1)) SWIG_fail
; 
32332         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
32333         result 
= (wxWindow 
*)(arg1
)->GetWindow(); 
32335         wxPyEndAllowThreads(__tstate
); 
32336         if (PyErr_Occurred()) SWIG_fail
; 
32339         resultobj 
= wxPyMake_wxObject(result
, 0);  
32347 static PyObject 
*_wrap_Validator_SetWindow(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
32348     PyObject 
*resultobj
; 
32349     wxValidator 
*arg1 
= (wxValidator 
*) 0 ; 
32350     wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
32351     PyObject 
* obj0 
= 0 ; 
32352     PyObject 
* obj1 
= 0 ; 
32353     char *kwnames
[] = { 
32354         (char *) "self",(char *) "window", NULL 
 
32357     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
; 
32358     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION 
| 0); 
32359     if (SWIG_arg_fail(1)) SWIG_fail
; 
32360     SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
32361     if (SWIG_arg_fail(2)) SWIG_fail
; 
32363         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
32364         (arg1
)->SetWindow(arg2
); 
32366         wxPyEndAllowThreads(__tstate
); 
32367         if (PyErr_Occurred()) SWIG_fail
; 
32369     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
32376 static PyObject 
*_wrap_Validator_IsSilent(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
32377     PyObject 
*resultobj
; 
32379     char *kwnames
[] = { 
32383     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Validator_IsSilent",kwnames
)) goto fail
; 
32385         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
32386         result 
= (bool)wxValidator::IsSilent(); 
32388         wxPyEndAllowThreads(__tstate
); 
32389         if (PyErr_Occurred()) SWIG_fail
; 
32392         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
32400 static PyObject 
*_wrap_Validator_SetBellOnError(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
32401     PyObject 
*resultobj
; 
32402     int arg1 
= (int) true ; 
32403     PyObject 
* obj0 
= 0 ; 
32404     char *kwnames
[] = { 
32405         (char *) "doIt", NULL 
 
32408     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Validator_SetBellOnError",kwnames
,&obj0
)) goto fail
; 
32411             arg1 
= (int)(SWIG_As_int(obj0
));  
32412             if (SWIG_arg_fail(1)) SWIG_fail
; 
32416         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
32417         wxValidator::SetBellOnError(arg1
); 
32419         wxPyEndAllowThreads(__tstate
); 
32420         if (PyErr_Occurred()) SWIG_fail
; 
32422     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
32429 static PyObject 
* Validator_swigregister(PyObject 
*, PyObject 
*args
) { 
32431     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
32432     SWIG_TypeClientData(SWIGTYPE_p_wxValidator
, obj
); 
32434     return Py_BuildValue((char *)""); 
32436 static PyObject 
*_wrap_new_PyValidator(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
32437     PyObject 
*resultobj
; 
32438     wxPyValidator 
*result
; 
32439     char *kwnames
[] = { 
32443     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyValidator",kwnames
)) goto fail
; 
32445         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
32446         result 
= (wxPyValidator 
*)new wxPyValidator(); 
32448         wxPyEndAllowThreads(__tstate
); 
32449         if (PyErr_Occurred()) SWIG_fail
; 
32451     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyValidator
, 1); 
32458 static PyObject 
*_wrap_PyValidator__setCallbackInfo(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
32459     PyObject 
*resultobj
; 
32460     wxPyValidator 
*arg1 
= (wxPyValidator 
*) 0 ; 
32461     PyObject 
*arg2 
= (PyObject 
*) 0 ; 
32462     PyObject 
*arg3 
= (PyObject 
*) 0 ; 
32463     int arg4 
= (int) true ; 
32464     PyObject 
* obj0 
= 0 ; 
32465     PyObject 
* obj1 
= 0 ; 
32466     PyObject 
* obj2 
= 0 ; 
32467     PyObject 
* obj3 
= 0 ; 
32468     char *kwnames
[] = { 
32469         (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL 
 
32472     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PyValidator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
32473     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyValidator
, SWIG_POINTER_EXCEPTION 
| 0); 
32474     if (SWIG_arg_fail(1)) SWIG_fail
; 
32479             arg4 
= (int)(SWIG_As_int(obj3
));  
32480             if (SWIG_arg_fail(4)) SWIG_fail
; 
32484         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
32485         (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
); 
32487         wxPyEndAllowThreads(__tstate
); 
32488         if (PyErr_Occurred()) SWIG_fail
; 
32490     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
32497 static PyObject 
* PyValidator_swigregister(PyObject 
*, PyObject 
*args
) { 
32499     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
32500     SWIG_TypeClientData(SWIGTYPE_p_wxPyValidator
, obj
); 
32502     return Py_BuildValue((char *)""); 
32504 static int _wrap_DefaultValidator_set(PyObject 
*) { 
32505     PyErr_SetString(PyExc_TypeError
,"Variable DefaultValidator is read-only."); 
32510 static PyObject 
*_wrap_DefaultValidator_get(void) { 
32513     pyobj 
= SWIG_NewPointerObj((void *)(&wxDefaultValidator
), SWIGTYPE_p_wxValidator
, 0); 
32518 static PyObject 
*_wrap_new_Menu(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
32519     PyObject 
*resultobj
; 
32520     wxString 
const &arg1_defvalue 
= wxPyEmptyString 
; 
32521     wxString 
*arg1 
= (wxString 
*) &arg1_defvalue 
; 
32522     long arg2 
= (long) 0 ; 
32524     bool temp1 
= false ; 
32525     PyObject 
* obj0 
= 0 ; 
32526     PyObject 
* obj1 
= 0 ; 
32527     char *kwnames
[] = { 
32528         (char *) "title",(char *) "style", NULL 
 
32531     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Menu",kwnames
,&obj0
,&obj1
)) goto fail
; 
32534             arg1 
= wxString_in_helper(obj0
); 
32535             if (arg1 
== NULL
) SWIG_fail
; 
32541             arg2 
= (long)(SWIG_As_long(obj1
));  
32542             if (SWIG_arg_fail(2)) SWIG_fail
; 
32546         if (!wxPyCheckForApp()) SWIG_fail
; 
32547         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
32548         result 
= (wxMenu 
*)new wxMenu((wxString 
const &)*arg1
,arg2
); 
32550         wxPyEndAllowThreads(__tstate
); 
32551         if (PyErr_Occurred()) SWIG_fail
; 
32553     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenu
, 1); 
32568 static PyObject 
*_wrap_Menu_Append(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
32569     PyObject 
*resultobj
; 
32570     wxMenu 
*arg1 
= (wxMenu 
*) 0 ; 
32572     wxString 
*arg3 
= 0 ; 
32573     wxString 
const &arg4_defvalue 
= wxPyEmptyString 
; 
32574     wxString 
*arg4 
= (wxString 
*) &arg4_defvalue 
; 
32575     wxItemKind arg5 
= (wxItemKind
) wxITEM_NORMAL 
; 
32576     wxMenuItem 
*result
; 
32577     bool temp3 
= false ; 
32578     bool temp4 
= false ; 
32579     PyObject 
* obj0 
= 0 ; 
32580     PyObject 
* obj1 
= 0 ; 
32581     PyObject 
* obj2 
= 0 ; 
32582     PyObject 
* obj3 
= 0 ; 
32583     PyObject 
* obj4 
= 0 ; 
32584     char *kwnames
[] = { 
32585         (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL 
 
32588     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Menu_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
; 
32589     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION 
| 0); 
32590     if (SWIG_arg_fail(1)) SWIG_fail
; 
32592         arg2 
= (int)(SWIG_As_int(obj1
));  
32593         if (SWIG_arg_fail(2)) SWIG_fail
; 
32596         arg3 
= wxString_in_helper(obj2
); 
32597         if (arg3 
== NULL
) SWIG_fail
; 
32602             arg4 
= wxString_in_helper(obj3
); 
32603             if (arg4 
== NULL
) SWIG_fail
; 
32609             arg5 
= (wxItemKind
)(SWIG_As_int(obj4
));  
32610             if (SWIG_arg_fail(5)) SWIG_fail
; 
32614         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
32615         result 
= (wxMenuItem 
*)(arg1
)->Append(arg2
,(wxString 
const &)*arg3
,(wxString 
const &)*arg4
,(wxItemKind 
)arg5
); 
32617         wxPyEndAllowThreads(__tstate
); 
32618         if (PyErr_Occurred()) SWIG_fail
; 
32621         resultobj 
= wxPyMake_wxObject(result
, 0);  
32645 static PyObject 
*_wrap_Menu_AppendSeparator(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
32646     PyObject 
*resultobj
; 
32647     wxMenu 
*arg1 
= (wxMenu 
*) 0 ; 
32648     wxMenuItem 
*result
; 
32649     PyObject 
* obj0 
= 0 ; 
32650     char *kwnames
[] = { 
32651         (char *) "self", NULL 
 
32654     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_AppendSeparator",kwnames
,&obj0
)) goto fail
; 
32655     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION 
| 0); 
32656     if (SWIG_arg_fail(1)) SWIG_fail
; 
32658         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
32659         result 
= (wxMenuItem 
*)(arg1
)->AppendSeparator(); 
32661         wxPyEndAllowThreads(__tstate
); 
32662         if (PyErr_Occurred()) SWIG_fail
; 
32665         resultobj 
= wxPyMake_wxObject(result
, 0);  
32673 static PyObject 
*_wrap_Menu_AppendCheckItem(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
32674     PyObject 
*resultobj
; 
32675     wxMenu 
*arg1 
= (wxMenu 
*) 0 ; 
32677     wxString 
*arg3 
= 0 ; 
32678     wxString 
const &arg4_defvalue 
= wxPyEmptyString 
; 
32679     wxString 
*arg4 
= (wxString 
*) &arg4_defvalue 
; 
32680     wxMenuItem 
*result
; 
32681     bool temp3 
= false ; 
32682     bool temp4 
= false ; 
32683     PyObject 
* obj0 
= 0 ; 
32684     PyObject 
* obj1 
= 0 ; 
32685     PyObject 
* obj2 
= 0 ; 
32686     PyObject 
* obj3 
= 0 ; 
32687     char *kwnames
[] = { 
32688         (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL 
 
32691     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
32692     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION 
| 0); 
32693     if (SWIG_arg_fail(1)) SWIG_fail
; 
32695         arg2 
= (int)(SWIG_As_int(obj1
));  
32696         if (SWIG_arg_fail(2)) SWIG_fail
; 
32699         arg3 
= wxString_in_helper(obj2
); 
32700         if (arg3 
== NULL
) SWIG_fail
; 
32705             arg4 
= wxString_in_helper(obj3
); 
32706             if (arg4 
== NULL
) SWIG_fail
; 
32711         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
32712         result 
= (wxMenuItem 
*)(arg1
)->AppendCheckItem(arg2
,(wxString 
const &)*arg3
,(wxString 
const &)*arg4
); 
32714         wxPyEndAllowThreads(__tstate
); 
32715         if (PyErr_Occurred()) SWIG_fail
; 
32718         resultobj 
= wxPyMake_wxObject(result
, 0);  
32742 static PyObject 
*_wrap_Menu_AppendRadioItem(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
32743     PyObject 
*resultobj
; 
32744     wxMenu 
*arg1 
= (wxMenu 
*) 0 ; 
32746     wxString 
*arg3 
= 0 ; 
32747     wxString 
const &arg4_defvalue 
= wxPyEmptyString 
; 
32748     wxString 
*arg4 
= (wxString 
*) &arg4_defvalue 
; 
32749     wxMenuItem 
*result
; 
32750     bool temp3 
= false ; 
32751     bool temp4 
= false ; 
32752     PyObject 
* obj0 
= 0 ; 
32753     PyObject 
* obj1 
= 0 ; 
32754     PyObject 
* obj2 
= 0 ; 
32755     PyObject 
* obj3 
= 0 ; 
32756     char *kwnames
[] = { 
32757         (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL 
 
32760     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
32761     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION 
| 0); 
32762     if (SWIG_arg_fail(1)) SWIG_fail
; 
32764         arg2 
= (int)(SWIG_As_int(obj1
));  
32765         if (SWIG_arg_fail(2)) SWIG_fail
; 
32768         arg3 
= wxString_in_helper(obj2
); 
32769         if (arg3 
== NULL
) SWIG_fail
; 
32774             arg4 
= wxString_in_helper(obj3
); 
32775             if (arg4 
== NULL
) SWIG_fail
; 
32780         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
32781         result 
= (wxMenuItem 
*)(arg1
)->AppendRadioItem(arg2
,(wxString 
const &)*arg3
,(wxString 
const &)*arg4
); 
32783         wxPyEndAllowThreads(__tstate
); 
32784         if (PyErr_Occurred()) SWIG_fail
; 
32787         resultobj 
= wxPyMake_wxObject(result
, 0);  
32811 static PyObject 
*_wrap_Menu_AppendMenu(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
32812     PyObject 
*resultobj
; 
32813     wxMenu 
*arg1 
= (wxMenu 
*) 0 ; 
32815     wxString 
*arg3 
= 0 ; 
32816     wxMenu 
*arg4 
= (wxMenu 
*) 0 ; 
32817     wxString 
const &arg5_defvalue 
= wxPyEmptyString 
; 
32818     wxString 
*arg5 
= (wxString 
*) &arg5_defvalue 
; 
32819     wxMenuItem 
*result
; 
32820     bool temp3 
= false ; 
32821     bool temp5 
= false ; 
32822     PyObject 
* obj0 
= 0 ; 
32823     PyObject 
* obj1 
= 0 ; 
32824     PyObject 
* obj2 
= 0 ; 
32825     PyObject 
* obj3 
= 0 ; 
32826     PyObject 
* obj4 
= 0 ; 
32827     char *kwnames
[] = { 
32828         (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL 
 
32831     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_AppendMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
; 
32832     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION 
| 0); 
32833     if (SWIG_arg_fail(1)) SWIG_fail
; 
32835         arg2 
= (int)(SWIG_As_int(obj1
));  
32836         if (SWIG_arg_fail(2)) SWIG_fail
; 
32839         arg3 
= wxString_in_helper(obj2
); 
32840         if (arg3 
== NULL
) SWIG_fail
; 
32843     SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION 
| 0); 
32844     if (SWIG_arg_fail(4)) SWIG_fail
; 
32847             arg5 
= wxString_in_helper(obj4
); 
32848             if (arg5 
== NULL
) SWIG_fail
; 
32853         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
32854         result 
= (wxMenuItem 
*)(arg1
)->Append(arg2
,(wxString 
const &)*arg3
,arg4
,(wxString 
const &)*arg5
); 
32856         wxPyEndAllowThreads(__tstate
); 
32857         if (PyErr_Occurred()) SWIG_fail
; 
32860         resultobj 
= wxPyMake_wxObject(result
, 0);  
32884 static PyObject 
*_wrap_Menu_AppendItem(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
32885     PyObject 
*resultobj
; 
32886     wxMenu 
*arg1 
= (wxMenu 
*) 0 ; 
32887     wxMenuItem 
*arg2 
= (wxMenuItem 
*) 0 ; 
32888     wxMenuItem 
*result
; 
32889     PyObject 
* obj0 
= 0 ; 
32890     PyObject 
* obj1 
= 0 ; 
32891     char *kwnames
[] = { 
32892         (char *) "self",(char *) "item", NULL 
 
32895     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_AppendItem",kwnames
,&obj0
,&obj1
)) goto fail
; 
32896     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION 
| 0); 
32897     if (SWIG_arg_fail(1)) SWIG_fail
; 
32898     SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION 
| 0); 
32899     if (SWIG_arg_fail(2)) SWIG_fail
; 
32901         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
32902         result 
= (wxMenuItem 
*)(arg1
)->Append(arg2
); 
32904         wxPyEndAllowThreads(__tstate
); 
32905         if (PyErr_Occurred()) SWIG_fail
; 
32908         resultobj 
= wxPyMake_wxObject(result
, 0);  
32916 static PyObject 
*_wrap_Menu_Break(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
32917     PyObject 
*resultobj
; 
32918     wxMenu 
*arg1 
= (wxMenu 
*) 0 ; 
32919     PyObject 
* obj0 
= 0 ; 
32920     char *kwnames
[] = { 
32921         (char *) "self", NULL 
 
32924     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Break",kwnames
,&obj0
)) goto fail
; 
32925     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION 
| 0); 
32926     if (SWIG_arg_fail(1)) SWIG_fail
; 
32928         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
32931         wxPyEndAllowThreads(__tstate
); 
32932         if (PyErr_Occurred()) SWIG_fail
; 
32934     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
32941 static PyObject 
*_wrap_Menu_InsertItem(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
32942     PyObject 
*resultobj
; 
32943     wxMenu 
*arg1 
= (wxMenu 
*) 0 ; 
32945     wxMenuItem 
*arg3 
= (wxMenuItem 
*) 0 ; 
32946     wxMenuItem 
*result
; 
32947     PyObject 
* obj0 
= 0 ; 
32948     PyObject 
* obj1 
= 0 ; 
32949     PyObject 
* obj2 
= 0 ; 
32950     char *kwnames
[] = { 
32951         (char *) "self",(char *) "pos",(char *) "item", NULL 
 
32954     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
32955     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION 
| 0); 
32956     if (SWIG_arg_fail(1)) SWIG_fail
; 
32958         arg2 
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));  
32959         if (SWIG_arg_fail(2)) SWIG_fail
; 
32961     SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION 
| 0); 
32962     if (SWIG_arg_fail(3)) SWIG_fail
; 
32964         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
32965         result 
= (wxMenuItem 
*)(arg1
)->Insert(arg2
,arg3
); 
32967         wxPyEndAllowThreads(__tstate
); 
32968         if (PyErr_Occurred()) SWIG_fail
; 
32971         resultobj 
= wxPyMake_wxObject(result
, 0);  
32979 static PyObject 
*_wrap_Menu_Insert(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
32980     PyObject 
*resultobj
; 
32981     wxMenu 
*arg1 
= (wxMenu 
*) 0 ; 
32984     wxString 
*arg4 
= 0 ; 
32985     wxString 
const &arg5_defvalue 
= wxPyEmptyString 
; 
32986     wxString 
*arg5 
= (wxString 
*) &arg5_defvalue 
; 
32987     wxItemKind arg6 
= (wxItemKind
) wxITEM_NORMAL 
; 
32988     wxMenuItem 
*result
; 
32989     bool temp4 
= false ; 
32990     bool temp5 
= false ; 
32991     PyObject 
* obj0 
= 0 ; 
32992     PyObject 
* obj1 
= 0 ; 
32993     PyObject 
* obj2 
= 0 ; 
32994     PyObject 
* obj3 
= 0 ; 
32995     PyObject 
* obj4 
= 0 ; 
32996     PyObject 
* obj5 
= 0 ; 
32997     char *kwnames
[] = { 
32998         (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL 
 
33001     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:Menu_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
; 
33002     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION 
| 0); 
33003     if (SWIG_arg_fail(1)) SWIG_fail
; 
33005         arg2 
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));  
33006         if (SWIG_arg_fail(2)) SWIG_fail
; 
33009         arg3 
= (int)(SWIG_As_int(obj2
));  
33010         if (SWIG_arg_fail(3)) SWIG_fail
; 
33013         arg4 
= wxString_in_helper(obj3
); 
33014         if (arg4 
== NULL
) SWIG_fail
; 
33019             arg5 
= wxString_in_helper(obj4
); 
33020             if (arg5 
== NULL
) SWIG_fail
; 
33026             arg6 
= (wxItemKind
)(SWIG_As_int(obj5
));  
33027             if (SWIG_arg_fail(6)) SWIG_fail
; 
33031         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
33032         result 
= (wxMenuItem 
*)(arg1
)->Insert(arg2
,arg3
,(wxString 
const &)*arg4
,(wxString 
const &)*arg5
,(wxItemKind 
)arg6
); 
33034         wxPyEndAllowThreads(__tstate
); 
33035         if (PyErr_Occurred()) SWIG_fail
; 
33038         resultobj 
= wxPyMake_wxObject(result
, 0);  
33062 static PyObject 
*_wrap_Menu_InsertSeparator(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
33063     PyObject 
*resultobj
; 
33064     wxMenu 
*arg1 
= (wxMenu 
*) 0 ; 
33066     wxMenuItem 
*result
; 
33067     PyObject 
* obj0 
= 0 ; 
33068     PyObject 
* obj1 
= 0 ; 
33069     char *kwnames
[] = { 
33070         (char *) "self",(char *) "pos", NULL 
 
33073     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
; 
33074     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION 
| 0); 
33075     if (SWIG_arg_fail(1)) SWIG_fail
; 
33077         arg2 
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));  
33078         if (SWIG_arg_fail(2)) SWIG_fail
; 
33081         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
33082         result 
= (wxMenuItem 
*)(arg1
)->InsertSeparator(arg2
); 
33084         wxPyEndAllowThreads(__tstate
); 
33085         if (PyErr_Occurred()) SWIG_fail
; 
33088         resultobj 
= wxPyMake_wxObject(result
, 0);  
33096 static PyObject 
*_wrap_Menu_InsertCheckItem(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
33097     PyObject 
*resultobj
; 
33098     wxMenu 
*arg1 
= (wxMenu 
*) 0 ; 
33101     wxString 
*arg4 
= 0 ; 
33102     wxString 
const &arg5_defvalue 
= wxPyEmptyString 
; 
33103     wxString 
*arg5 
= (wxString 
*) &arg5_defvalue 
; 
33104     wxMenuItem 
*result
; 
33105     bool temp4 
= false ; 
33106     bool temp5 
= false ; 
33107     PyObject 
* obj0 
= 0 ; 
33108     PyObject 
* obj1 
= 0 ; 
33109     PyObject 
* obj2 
= 0 ; 
33110     PyObject 
* obj3 
= 0 ; 
33111     PyObject 
* obj4 
= 0 ; 
33112     char *kwnames
[] = { 
33113         (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL 
 
33116     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_InsertCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
; 
33117     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION 
| 0); 
33118     if (SWIG_arg_fail(1)) SWIG_fail
; 
33120         arg2 
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));  
33121         if (SWIG_arg_fail(2)) SWIG_fail
; 
33124         arg3 
= (int)(SWIG_As_int(obj2
));  
33125         if (SWIG_arg_fail(3)) SWIG_fail
; 
33128         arg4 
= wxString_in_helper(obj3
); 
33129         if (arg4 
== NULL
) SWIG_fail
; 
33134             arg5 
= wxString_in_helper(obj4
); 
33135             if (arg5 
== NULL
) SWIG_fail
; 
33140         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
33141         result 
= (wxMenuItem 
*)(arg1
)->InsertCheckItem(arg2
,arg3
,(wxString 
const &)*arg4
,(wxString 
const &)*arg5
); 
33143         wxPyEndAllowThreads(__tstate
); 
33144         if (PyErr_Occurred()) SWIG_fail
; 
33147         resultobj 
= wxPyMake_wxObject(result
, 0);  
33171 static PyObject 
*_wrap_Menu_InsertRadioItem(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
33172     PyObject 
*resultobj
; 
33173     wxMenu 
*arg1 
= (wxMenu 
*) 0 ; 
33176     wxString 
*arg4 
= 0 ; 
33177     wxString 
const &arg5_defvalue 
= wxPyEmptyString 
; 
33178     wxString 
*arg5 
= (wxString 
*) &arg5_defvalue 
; 
33179     wxMenuItem 
*result
; 
33180     bool temp4 
= false ; 
33181     bool temp5 
= false ; 
33182     PyObject 
* obj0 
= 0 ; 
33183     PyObject 
* obj1 
= 0 ; 
33184     PyObject 
* obj2 
= 0 ; 
33185     PyObject 
* obj3 
= 0 ; 
33186     PyObject 
* obj4 
= 0 ; 
33187     char *kwnames
[] = { 
33188         (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL 
 
33191     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_InsertRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
; 
33192     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION 
| 0); 
33193     if (SWIG_arg_fail(1)) SWIG_fail
; 
33195         arg2 
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));  
33196         if (SWIG_arg_fail(2)) SWIG_fail
; 
33199         arg3 
= (int)(SWIG_As_int(obj2
));  
33200         if (SWIG_arg_fail(3)) SWIG_fail
; 
33203         arg4 
= wxString_in_helper(obj3
); 
33204         if (arg4 
== NULL
) SWIG_fail
; 
33209             arg5 
= wxString_in_helper(obj4
); 
33210             if (arg5 
== NULL
) SWIG_fail
; 
33215         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
33216         result 
= (wxMenuItem 
*)(arg1
)->InsertRadioItem(arg2
,arg3
,(wxString 
const &)*arg4
,(wxString 
const &)*arg5
); 
33218         wxPyEndAllowThreads(__tstate
); 
33219         if (PyErr_Occurred()) SWIG_fail
; 
33222         resultobj 
= wxPyMake_wxObject(result
, 0);  
33246 static PyObject 
*_wrap_Menu_InsertMenu(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
33247     PyObject 
*resultobj
; 
33248     wxMenu 
*arg1 
= (wxMenu 
*) 0 ; 
33251     wxString 
*arg4 
= 0 ; 
33252     wxMenu 
*arg5 
= (wxMenu 
*) 0 ; 
33253     wxString 
const &arg6_defvalue 
= wxPyEmptyString 
; 
33254     wxString 
*arg6 
= (wxString 
*) &arg6_defvalue 
; 
33255     wxMenuItem 
*result
; 
33256     bool temp4 
= false ; 
33257     bool temp6 
= false ; 
33258     PyObject 
* obj0 
= 0 ; 
33259     PyObject 
* obj1 
= 0 ; 
33260     PyObject 
* obj2 
= 0 ; 
33261     PyObject 
* obj3 
= 0 ; 
33262     PyObject 
* obj4 
= 0 ; 
33263     PyObject 
* obj5 
= 0 ; 
33264     char *kwnames
[] = { 
33265         (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL 
 
33268     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Menu_InsertMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
; 
33269     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION 
| 0); 
33270     if (SWIG_arg_fail(1)) SWIG_fail
; 
33272         arg2 
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));  
33273         if (SWIG_arg_fail(2)) SWIG_fail
; 
33276         arg3 
= (int)(SWIG_As_int(obj2
));  
33277         if (SWIG_arg_fail(3)) SWIG_fail
; 
33280         arg4 
= wxString_in_helper(obj3
); 
33281         if (arg4 
== NULL
) SWIG_fail
; 
33284     SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION 
| 0); 
33285     if (SWIG_arg_fail(5)) SWIG_fail
; 
33288             arg6 
= wxString_in_helper(obj5
); 
33289             if (arg6 
== NULL
) SWIG_fail
; 
33294         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
33295         result 
= (wxMenuItem 
*)(arg1
)->Insert(arg2
,arg3
,(wxString 
const &)*arg4
,arg5
,(wxString 
const &)*arg6
); 
33297         wxPyEndAllowThreads(__tstate
); 
33298         if (PyErr_Occurred()) SWIG_fail
; 
33301         resultobj 
= wxPyMake_wxObject(result
, 0);  
33325 static PyObject 
*_wrap_Menu_PrependItem(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
33326     PyObject 
*resultobj
; 
33327     wxMenu 
*arg1 
= (wxMenu 
*) 0 ; 
33328     wxMenuItem 
*arg2 
= (wxMenuItem 
*) 0 ; 
33329     wxMenuItem 
*result
; 
33330     PyObject 
* obj0 
= 0 ; 
33331     PyObject 
* obj1 
= 0 ; 
33332     char *kwnames
[] = { 
33333         (char *) "self",(char *) "item", NULL 
 
33336     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_PrependItem",kwnames
,&obj0
,&obj1
)) goto fail
; 
33337     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION 
| 0); 
33338     if (SWIG_arg_fail(1)) SWIG_fail
; 
33339     SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION 
| 0); 
33340     if (SWIG_arg_fail(2)) SWIG_fail
; 
33342         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
33343         result 
= (wxMenuItem 
*)(arg1
)->Prepend(arg2
); 
33345         wxPyEndAllowThreads(__tstate
); 
33346         if (PyErr_Occurred()) SWIG_fail
; 
33349         resultobj 
= wxPyMake_wxObject(result
, 0);  
33357 static PyObject 
*_wrap_Menu_Prepend(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
33358     PyObject 
*resultobj
; 
33359     wxMenu 
*arg1 
= (wxMenu 
*) 0 ; 
33361     wxString 
*arg3 
= 0 ; 
33362     wxString 
const &arg4_defvalue 
= wxPyEmptyString 
; 
33363     wxString 
*arg4 
= (wxString 
*) &arg4_defvalue 
; 
33364     wxItemKind arg5 
= (wxItemKind
) wxITEM_NORMAL 
; 
33365     wxMenuItem 
*result
; 
33366     bool temp3 
= false ; 
33367     bool temp4 
= false ; 
33368     PyObject 
* obj0 
= 0 ; 
33369     PyObject 
* obj1 
= 0 ; 
33370     PyObject 
* obj2 
= 0 ; 
33371     PyObject 
* obj3 
= 0 ; 
33372     PyObject 
* obj4 
= 0 ; 
33373     char *kwnames
[] = { 
33374         (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL 
 
33377     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Menu_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
; 
33378     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION 
| 0); 
33379     if (SWIG_arg_fail(1)) SWIG_fail
; 
33381         arg2 
= (int)(SWIG_As_int(obj1
));  
33382         if (SWIG_arg_fail(2)) SWIG_fail
; 
33385         arg3 
= wxString_in_helper(obj2
); 
33386         if (arg3 
== NULL
) SWIG_fail
; 
33391             arg4 
= wxString_in_helper(obj3
); 
33392             if (arg4 
== NULL
) SWIG_fail
; 
33398             arg5 
= (wxItemKind
)(SWIG_As_int(obj4
));  
33399             if (SWIG_arg_fail(5)) SWIG_fail
; 
33403         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
33404         result 
= (wxMenuItem 
*)(arg1
)->Prepend(arg2
,(wxString 
const &)*arg3
,(wxString 
const &)*arg4
,(wxItemKind 
)arg5
); 
33406         wxPyEndAllowThreads(__tstate
); 
33407         if (PyErr_Occurred()) SWIG_fail
; 
33410         resultobj 
= wxPyMake_wxObject(result
, 0);  
33434 static PyObject 
*_wrap_Menu_PrependSeparator(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
33435     PyObject 
*resultobj
; 
33436     wxMenu 
*arg1 
= (wxMenu 
*) 0 ; 
33437     wxMenuItem 
*result
; 
33438     PyObject 
* obj0 
= 0 ; 
33439     char *kwnames
[] = { 
33440         (char *) "self", NULL 
 
33443     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_PrependSeparator",kwnames
,&obj0
)) goto fail
; 
33444     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION 
| 0); 
33445     if (SWIG_arg_fail(1)) SWIG_fail
; 
33447         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
33448         result 
= (wxMenuItem 
*)(arg1
)->PrependSeparator(); 
33450         wxPyEndAllowThreads(__tstate
); 
33451         if (PyErr_Occurred()) SWIG_fail
; 
33454         resultobj 
= wxPyMake_wxObject(result
, 0);  
33462 static PyObject 
*_wrap_Menu_PrependCheckItem(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
33463     PyObject 
*resultobj
; 
33464     wxMenu 
*arg1 
= (wxMenu 
*) 0 ; 
33466     wxString 
*arg3 
= 0 ; 
33467     wxString 
const &arg4_defvalue 
= wxPyEmptyString 
; 
33468     wxString 
*arg4 
= (wxString 
*) &arg4_defvalue 
; 
33469     wxMenuItem 
*result
; 
33470     bool temp3 
= false ; 
33471     bool temp4 
= false ; 
33472     PyObject 
* obj0 
= 0 ; 
33473     PyObject 
* obj1 
= 0 ; 
33474     PyObject 
* obj2 
= 0 ; 
33475     PyObject 
* obj3 
= 0 ; 
33476     char *kwnames
[] = { 
33477         (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL 
 
33480     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_PrependCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
33481     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION 
| 0); 
33482     if (SWIG_arg_fail(1)) SWIG_fail
; 
33484         arg2 
= (int)(SWIG_As_int(obj1
));  
33485         if (SWIG_arg_fail(2)) SWIG_fail
; 
33488         arg3 
= wxString_in_helper(obj2
); 
33489         if (arg3 
== NULL
) SWIG_fail
; 
33494             arg4 
= wxString_in_helper(obj3
); 
33495             if (arg4 
== NULL
) SWIG_fail
; 
33500         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
33501         result 
= (wxMenuItem 
*)(arg1
)->PrependCheckItem(arg2
,(wxString 
const &)*arg3
,(wxString 
const &)*arg4
); 
33503         wxPyEndAllowThreads(__tstate
); 
33504         if (PyErr_Occurred()) SWIG_fail
; 
33507         resultobj 
= wxPyMake_wxObject(result
, 0);  
33531 static PyObject 
*_wrap_Menu_PrependRadioItem(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
33532     PyObject 
*resultobj
; 
33533     wxMenu 
*arg1 
= (wxMenu 
*) 0 ; 
33535     wxString 
*arg3 
= 0 ; 
33536     wxString 
const &arg4_defvalue 
= wxPyEmptyString 
; 
33537     wxString 
*arg4 
= (wxString 
*) &arg4_defvalue 
; 
33538     wxMenuItem 
*result
; 
33539     bool temp3 
= false ; 
33540     bool temp4 
= false ; 
33541     PyObject 
* obj0 
= 0 ; 
33542     PyObject 
* obj1 
= 0 ; 
33543     PyObject 
* obj2 
= 0 ; 
33544     PyObject 
* obj3 
= 0 ; 
33545     char *kwnames
[] = { 
33546         (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL 
 
33549     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_PrependRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
33550     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION 
| 0); 
33551     if (SWIG_arg_fail(1)) SWIG_fail
; 
33553         arg2 
= (int)(SWIG_As_int(obj1
));  
33554         if (SWIG_arg_fail(2)) SWIG_fail
; 
33557         arg3 
= wxString_in_helper(obj2
); 
33558         if (arg3 
== NULL
) SWIG_fail
; 
33563             arg4 
= wxString_in_helper(obj3
); 
33564             if (arg4 
== NULL
) SWIG_fail
; 
33569         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
33570         result 
= (wxMenuItem 
*)(arg1
)->PrependRadioItem(arg2
,(wxString 
const &)*arg3
,(wxString 
const &)*arg4
); 
33572         wxPyEndAllowThreads(__tstate
); 
33573         if (PyErr_Occurred()) SWIG_fail
; 
33576         resultobj 
= wxPyMake_wxObject(result
, 0);  
33600 static PyObject 
*_wrap_Menu_PrependMenu(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
33601     PyObject 
*resultobj
; 
33602     wxMenu 
*arg1 
= (wxMenu 
*) 0 ; 
33604     wxString 
*arg3 
= 0 ; 
33605     wxMenu 
*arg4 
= (wxMenu 
*) 0 ; 
33606     wxString 
const &arg5_defvalue 
= wxPyEmptyString 
; 
33607     wxString 
*arg5 
= (wxString 
*) &arg5_defvalue 
; 
33608     wxMenuItem 
*result
; 
33609     bool temp3 
= false ; 
33610     bool temp5 
= false ; 
33611     PyObject 
* obj0 
= 0 ; 
33612     PyObject 
* obj1 
= 0 ; 
33613     PyObject 
* obj2 
= 0 ; 
33614     PyObject 
* obj3 
= 0 ; 
33615     PyObject 
* obj4 
= 0 ; 
33616     char *kwnames
[] = { 
33617         (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL 
 
33620     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_PrependMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
; 
33621     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION 
| 0); 
33622     if (SWIG_arg_fail(1)) SWIG_fail
; 
33624         arg2 
= (int)(SWIG_As_int(obj1
));  
33625         if (SWIG_arg_fail(2)) SWIG_fail
; 
33628         arg3 
= wxString_in_helper(obj2
); 
33629         if (arg3 
== NULL
) SWIG_fail
; 
33632     SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION 
| 0); 
33633     if (SWIG_arg_fail(4)) SWIG_fail
; 
33636             arg5 
= wxString_in_helper(obj4
); 
33637             if (arg5 
== NULL
) SWIG_fail
; 
33642         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
33643         result 
= (wxMenuItem 
*)(arg1
)->Prepend(arg2
,(wxString 
const &)*arg3
,arg4
,(wxString 
const &)*arg5
); 
33645         wxPyEndAllowThreads(__tstate
); 
33646         if (PyErr_Occurred()) SWIG_fail
; 
33649         resultobj 
= wxPyMake_wxObject(result
, 0);  
33673 static PyObject 
*_wrap_Menu_Remove(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
33674     PyObject 
*resultobj
; 
33675     wxMenu 
*arg1 
= (wxMenu 
*) 0 ; 
33677     wxMenuItem 
*result
; 
33678     PyObject 
* obj0 
= 0 ; 
33679     PyObject 
* obj1 
= 0 ; 
33680     char *kwnames
[] = { 
33681         (char *) "self",(char *) "id", NULL 
 
33684     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Remove",kwnames
,&obj0
,&obj1
)) goto fail
; 
33685     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION 
| 0); 
33686     if (SWIG_arg_fail(1)) SWIG_fail
; 
33688         arg2 
= (int)(SWIG_As_int(obj1
));  
33689         if (SWIG_arg_fail(2)) SWIG_fail
; 
33692         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
33693         result 
= (wxMenuItem 
*)(arg1
)->Remove(arg2
); 
33695         wxPyEndAllowThreads(__tstate
); 
33696         if (PyErr_Occurred()) SWIG_fail
; 
33699         resultobj 
= wxPyMake_wxObject(result
, 0);  
33707 static PyObject 
*_wrap_Menu_RemoveItem(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
33708     PyObject 
*resultobj
; 
33709     wxMenu 
*arg1 
= (wxMenu 
*) 0 ; 
33710     wxMenuItem 
*arg2 
= (wxMenuItem 
*) 0 ; 
33711     wxMenuItem 
*result
; 
33712     PyObject 
* obj0 
= 0 ; 
33713     PyObject 
* obj1 
= 0 ; 
33714     char *kwnames
[] = { 
33715         (char *) "self",(char *) "item", NULL 
 
33718     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_RemoveItem",kwnames
,&obj0
,&obj1
)) goto fail
; 
33719     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION 
| 0); 
33720     if (SWIG_arg_fail(1)) SWIG_fail
; 
33721     SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION 
| 0); 
33722     if (SWIG_arg_fail(2)) SWIG_fail
; 
33724         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
33725         result 
= (wxMenuItem 
*)(arg1
)->Remove(arg2
); 
33727         wxPyEndAllowThreads(__tstate
); 
33728         if (PyErr_Occurred()) SWIG_fail
; 
33731         resultobj 
= wxPyMake_wxObject(result
, 0);  
33739 static PyObject 
*_wrap_Menu_Delete(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
33740     PyObject 
*resultobj
; 
33741     wxMenu 
*arg1 
= (wxMenu 
*) 0 ; 
33744     PyObject 
* obj0 
= 0 ; 
33745     PyObject 
* obj1 
= 0 ; 
33746     char *kwnames
[] = { 
33747         (char *) "self",(char *) "id", NULL 
 
33750     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Delete",kwnames
,&obj0
,&obj1
)) goto fail
; 
33751     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION 
| 0); 
33752     if (SWIG_arg_fail(1)) SWIG_fail
; 
33754         arg2 
= (int)(SWIG_As_int(obj1
));  
33755         if (SWIG_arg_fail(2)) SWIG_fail
; 
33758         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
33759         result 
= (bool)(arg1
)->Delete(arg2
); 
33761         wxPyEndAllowThreads(__tstate
); 
33762         if (PyErr_Occurred()) SWIG_fail
; 
33765         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
33773 static PyObject 
*_wrap_Menu_DeleteItem(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
33774     PyObject 
*resultobj
; 
33775     wxMenu 
*arg1 
= (wxMenu 
*) 0 ; 
33776     wxMenuItem 
*arg2 
= (wxMenuItem 
*) 0 ; 
33778     PyObject 
* obj0 
= 0 ; 
33779     PyObject 
* obj1 
= 0 ; 
33780     char *kwnames
[] = { 
33781         (char *) "self",(char *) "item", NULL 
 
33784     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DeleteItem",kwnames
,&obj0
,&obj1
)) goto fail
; 
33785     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION 
| 0); 
33786     if (SWIG_arg_fail(1)) SWIG_fail
; 
33787     SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION 
| 0); 
33788     if (SWIG_arg_fail(2)) SWIG_fail
; 
33790         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
33791         result 
= (bool)(arg1
)->Delete(arg2
); 
33793         wxPyEndAllowThreads(__tstate
); 
33794         if (PyErr_Occurred()) SWIG_fail
; 
33797         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
33805 static PyObject 
*_wrap_Menu_Destroy(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
33806     PyObject 
*resultobj
; 
33807     wxMenu 
*arg1 
= (wxMenu 
*) 0 ; 
33808     PyObject 
* obj0 
= 0 ; 
33809     char *kwnames
[] = { 
33810         (char *) "self", NULL 
 
33813     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Destroy",kwnames
,&obj0
)) goto fail
; 
33814     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION 
| 0); 
33815     if (SWIG_arg_fail(1)) SWIG_fail
; 
33817         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
33818         wxMenu_Destroy(arg1
); 
33820         wxPyEndAllowThreads(__tstate
); 
33821         if (PyErr_Occurred()) SWIG_fail
; 
33823     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
33830 static PyObject 
*_wrap_Menu_DestroyId(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
33831     PyObject 
*resultobj
; 
33832     wxMenu 
*arg1 
= (wxMenu 
*) 0 ; 
33835     PyObject 
* obj0 
= 0 ; 
33836     PyObject 
* obj1 
= 0 ; 
33837     char *kwnames
[] = { 
33838         (char *) "self",(char *) "id", NULL 
 
33841     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyId",kwnames
,&obj0
,&obj1
)) goto fail
; 
33842     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION 
| 0); 
33843     if (SWIG_arg_fail(1)) SWIG_fail
; 
33845         arg2 
= (int)(SWIG_As_int(obj1
));  
33846         if (SWIG_arg_fail(2)) SWIG_fail
; 
33849         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
33850         result 
= (bool)(arg1
)->Destroy(arg2
); 
33852         wxPyEndAllowThreads(__tstate
); 
33853         if (PyErr_Occurred()) SWIG_fail
; 
33856         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
33864 static PyObject 
*_wrap_Menu_DestroyItem(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
33865     PyObject 
*resultobj
; 
33866     wxMenu 
*arg1 
= (wxMenu 
*) 0 ; 
33867     wxMenuItem 
*arg2 
= (wxMenuItem 
*) 0 ; 
33869     PyObject 
* obj0 
= 0 ; 
33870     PyObject 
* obj1 
= 0 ; 
33871     char *kwnames
[] = { 
33872         (char *) "self",(char *) "item", NULL 
 
33875     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyItem",kwnames
,&obj0
,&obj1
)) goto fail
; 
33876     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION 
| 0); 
33877     if (SWIG_arg_fail(1)) SWIG_fail
; 
33878     SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION 
| 0); 
33879     if (SWIG_arg_fail(2)) SWIG_fail
; 
33881         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
33882         result 
= (bool)(arg1
)->Destroy(arg2
); 
33884         wxPyEndAllowThreads(__tstate
); 
33885         if (PyErr_Occurred()) SWIG_fail
; 
33888         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
33896 static PyObject 
*_wrap_Menu_GetMenuItemCount(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
33897     PyObject 
*resultobj
; 
33898     wxMenu 
*arg1 
= (wxMenu 
*) 0 ; 
33900     PyObject 
* obj0 
= 0 ; 
33901     char *kwnames
[] = { 
33902         (char *) "self", NULL 
 
33905     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuItemCount",kwnames
,&obj0
)) goto fail
; 
33906     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION 
| 0); 
33907     if (SWIG_arg_fail(1)) SWIG_fail
; 
33909         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
33910         result 
= (size_t)((wxMenu 
const *)arg1
)->GetMenuItemCount(); 
33912         wxPyEndAllowThreads(__tstate
); 
33913         if (PyErr_Occurred()) SWIG_fail
; 
33916         resultobj 
= SWIG_From_unsigned_SS_long((unsigned long)(result
));  
33924 static PyObject 
*_wrap_Menu_GetMenuItems(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
33925     PyObject 
*resultobj
; 
33926     wxMenu 
*arg1 
= (wxMenu 
*) 0 ; 
33928     PyObject 
* obj0 
= 0 ; 
33929     char *kwnames
[] = { 
33930         (char *) "self", NULL 
 
33933     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuItems",kwnames
,&obj0
)) goto fail
; 
33934     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION 
| 0); 
33935     if (SWIG_arg_fail(1)) SWIG_fail
; 
33937         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
33938         result 
= (PyObject 
*)wxMenu_GetMenuItems(arg1
); 
33940         wxPyEndAllowThreads(__tstate
); 
33941         if (PyErr_Occurred()) SWIG_fail
; 
33943     resultobj 
= result
; 
33950 static PyObject 
*_wrap_Menu_FindItem(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
33951     PyObject 
*resultobj
; 
33952     wxMenu 
*arg1 
= (wxMenu 
*) 0 ; 
33953     wxString 
*arg2 
= 0 ; 
33955     bool temp2 
= false ; 
33956     PyObject 
* obj0 
= 0 ; 
33957     PyObject 
* obj1 
= 0 ; 
33958     char *kwnames
[] = { 
33959         (char *) "self",(char *) "item", NULL 
 
33962     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItem",kwnames
,&obj0
,&obj1
)) goto fail
; 
33963     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION 
| 0); 
33964     if (SWIG_arg_fail(1)) SWIG_fail
; 
33966         arg2 
= wxString_in_helper(obj1
); 
33967         if (arg2 
== NULL
) SWIG_fail
; 
33971         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
33972         result 
= (int)((wxMenu 
const *)arg1
)->FindItem((wxString 
const &)*arg2
); 
33974         wxPyEndAllowThreads(__tstate
); 
33975         if (PyErr_Occurred()) SWIG_fail
; 
33978         resultobj 
= SWIG_From_int((int)(result
));  
33994 static PyObject 
*_wrap_Menu_FindItemById(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
33995     PyObject 
*resultobj
; 
33996     wxMenu 
*arg1 
= (wxMenu 
*) 0 ; 
33998     wxMenuItem 
*result
; 
33999     PyObject 
* obj0 
= 0 ; 
34000     PyObject 
* obj1 
= 0 ; 
34001     char *kwnames
[] = { 
34002         (char *) "self",(char *) "id", NULL 
 
34005     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemById",kwnames
,&obj0
,&obj1
)) goto fail
; 
34006     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION 
| 0); 
34007     if (SWIG_arg_fail(1)) SWIG_fail
; 
34009         arg2 
= (int)(SWIG_As_int(obj1
));  
34010         if (SWIG_arg_fail(2)) SWIG_fail
; 
34013         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
34014         result 
= (wxMenuItem 
*)((wxMenu 
const *)arg1
)->FindItem(arg2
); 
34016         wxPyEndAllowThreads(__tstate
); 
34017         if (PyErr_Occurred()) SWIG_fail
; 
34020         resultobj 
= wxPyMake_wxObject(result
, 0);  
34028 static PyObject 
*_wrap_Menu_FindItemByPosition(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
34029     PyObject 
*resultobj
; 
34030     wxMenu 
*arg1 
= (wxMenu 
*) 0 ; 
34032     wxMenuItem 
*result
; 
34033     PyObject 
* obj0 
= 0 ; 
34034     PyObject 
* obj1 
= 0 ; 
34035     char *kwnames
[] = { 
34036         (char *) "self",(char *) "position", NULL 
 
34039     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemByPosition",kwnames
,&obj0
,&obj1
)) goto fail
; 
34040     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION 
| 0); 
34041     if (SWIG_arg_fail(1)) SWIG_fail
; 
34043         arg2 
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));  
34044         if (SWIG_arg_fail(2)) SWIG_fail
; 
34047         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
34048         result 
= (wxMenuItem 
*)((wxMenu 
const *)arg1
)->FindItemByPosition(arg2
); 
34050         wxPyEndAllowThreads(__tstate
); 
34051         if (PyErr_Occurred()) SWIG_fail
; 
34054         resultobj 
= wxPyMake_wxObject(result
, 0);  
34062 static PyObject 
*_wrap_Menu_Enable(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
34063     PyObject 
*resultobj
; 
34064     wxMenu 
*arg1 
= (wxMenu 
*) 0 ; 
34067     PyObject 
* obj0 
= 0 ; 
34068     PyObject 
* obj1 
= 0 ; 
34069     PyObject 
* obj2 
= 0 ; 
34070     char *kwnames
[] = { 
34071         (char *) "self",(char *) "id",(char *) "enable", NULL 
 
34074     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
34075     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION 
| 0); 
34076     if (SWIG_arg_fail(1)) SWIG_fail
; 
34078         arg2 
= (int)(SWIG_As_int(obj1
));  
34079         if (SWIG_arg_fail(2)) SWIG_fail
; 
34082         arg3 
= (bool)(SWIG_As_bool(obj2
));  
34083         if (SWIG_arg_fail(3)) SWIG_fail
; 
34086         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
34087         (arg1
)->Enable(arg2
,arg3
); 
34089         wxPyEndAllowThreads(__tstate
); 
34090         if (PyErr_Occurred()) SWIG_fail
; 
34092     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
34099 static PyObject 
*_wrap_Menu_IsEnabled(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
34100     PyObject 
*resultobj
; 
34101     wxMenu 
*arg1 
= (wxMenu 
*) 0 ; 
34104     PyObject 
* obj0 
= 0 ; 
34105     PyObject 
* obj1 
= 0 ; 
34106     char *kwnames
[] = { 
34107         (char *) "self",(char *) "id", NULL 
 
34110     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_IsEnabled",kwnames
,&obj0
,&obj1
)) goto fail
; 
34111     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION 
| 0); 
34112     if (SWIG_arg_fail(1)) SWIG_fail
; 
34114         arg2 
= (int)(SWIG_As_int(obj1
));  
34115         if (SWIG_arg_fail(2)) SWIG_fail
; 
34118         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
34119         result 
= (bool)((wxMenu 
const *)arg1
)->IsEnabled(arg2
); 
34121         wxPyEndAllowThreads(__tstate
); 
34122         if (PyErr_Occurred()) SWIG_fail
; 
34125         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
34133 static PyObject 
*_wrap_Menu_Check(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
34134     PyObject 
*resultobj
; 
34135     wxMenu 
*arg1 
= (wxMenu 
*) 0 ; 
34138     PyObject 
* obj0 
= 0 ; 
34139     PyObject 
* obj1 
= 0 ; 
34140     PyObject 
* obj2 
= 0 ; 
34141     char *kwnames
[] = { 
34142         (char *) "self",(char *) "id",(char *) "check", NULL 
 
34145     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
34146     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION 
| 0); 
34147     if (SWIG_arg_fail(1)) SWIG_fail
; 
34149         arg2 
= (int)(SWIG_As_int(obj1
));  
34150         if (SWIG_arg_fail(2)) SWIG_fail
; 
34153         arg3 
= (bool)(SWIG_As_bool(obj2
));  
34154         if (SWIG_arg_fail(3)) SWIG_fail
; 
34157         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
34158         (arg1
)->Check(arg2
,arg3
); 
34160         wxPyEndAllowThreads(__tstate
); 
34161         if (PyErr_Occurred()) SWIG_fail
; 
34163     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
34170 static PyObject 
*_wrap_Menu_IsChecked(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
34171     PyObject 
*resultobj
; 
34172     wxMenu 
*arg1 
= (wxMenu 
*) 0 ; 
34175     PyObject 
* obj0 
= 0 ; 
34176     PyObject 
* obj1 
= 0 ; 
34177     char *kwnames
[] = { 
34178         (char *) "self",(char *) "id", NULL 
 
34181     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
; 
34182     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION 
| 0); 
34183     if (SWIG_arg_fail(1)) SWIG_fail
; 
34185         arg2 
= (int)(SWIG_As_int(obj1
));  
34186         if (SWIG_arg_fail(2)) SWIG_fail
; 
34189         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
34190         result 
= (bool)((wxMenu 
const *)arg1
)->IsChecked(arg2
); 
34192         wxPyEndAllowThreads(__tstate
); 
34193         if (PyErr_Occurred()) SWIG_fail
; 
34196         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
34204 static PyObject 
*_wrap_Menu_SetLabel(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
34205     PyObject 
*resultobj
; 
34206     wxMenu 
*arg1 
= (wxMenu 
*) 0 ; 
34208     wxString 
*arg3 
= 0 ; 
34209     bool temp3 
= false ; 
34210     PyObject 
* obj0 
= 0 ; 
34211     PyObject 
* obj1 
= 0 ; 
34212     PyObject 
* obj2 
= 0 ; 
34213     char *kwnames
[] = { 
34214         (char *) "self",(char *) "id",(char *) "label", NULL 
 
34217     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
34218     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION 
| 0); 
34219     if (SWIG_arg_fail(1)) SWIG_fail
; 
34221         arg2 
= (int)(SWIG_As_int(obj1
));  
34222         if (SWIG_arg_fail(2)) SWIG_fail
; 
34225         arg3 
= wxString_in_helper(obj2
); 
34226         if (arg3 
== NULL
) SWIG_fail
; 
34230         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
34231         (arg1
)->SetLabel(arg2
,(wxString 
const &)*arg3
); 
34233         wxPyEndAllowThreads(__tstate
); 
34234         if (PyErr_Occurred()) SWIG_fail
; 
34236     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
34251 static PyObject 
*_wrap_Menu_GetLabel(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
34252     PyObject 
*resultobj
; 
34253     wxMenu 
*arg1 
= (wxMenu 
*) 0 ; 
34256     PyObject 
* obj0 
= 0 ; 
34257     PyObject 
* obj1 
= 0 ; 
34258     char *kwnames
[] = { 
34259         (char *) "self",(char *) "id", NULL 
 
34262     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_GetLabel",kwnames
,&obj0
,&obj1
)) goto fail
; 
34263     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION 
| 0); 
34264     if (SWIG_arg_fail(1)) SWIG_fail
; 
34266         arg2 
= (int)(SWIG_As_int(obj1
));  
34267         if (SWIG_arg_fail(2)) SWIG_fail
; 
34270         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
34271         result 
= ((wxMenu 
const *)arg1
)->GetLabel(arg2
); 
34273         wxPyEndAllowThreads(__tstate
); 
34274         if (PyErr_Occurred()) SWIG_fail
; 
34278         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
34280         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
34289 static PyObject 
*_wrap_Menu_SetHelpString(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
34290     PyObject 
*resultobj
; 
34291     wxMenu 
*arg1 
= (wxMenu 
*) 0 ; 
34293     wxString 
*arg3 
= 0 ; 
34294     bool temp3 
= false ; 
34295     PyObject 
* obj0 
= 0 ; 
34296     PyObject 
* obj1 
= 0 ; 
34297     PyObject 
* obj2 
= 0 ; 
34298     char *kwnames
[] = { 
34299         (char *) "self",(char *) "id",(char *) "helpString", NULL 
 
34302     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
34303     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION 
| 0); 
34304     if (SWIG_arg_fail(1)) SWIG_fail
; 
34306         arg2 
= (int)(SWIG_As_int(obj1
));  
34307         if (SWIG_arg_fail(2)) SWIG_fail
; 
34310         arg3 
= wxString_in_helper(obj2
); 
34311         if (arg3 
== NULL
) SWIG_fail
; 
34315         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
34316         (arg1
)->SetHelpString(arg2
,(wxString 
const &)*arg3
); 
34318         wxPyEndAllowThreads(__tstate
); 
34319         if (PyErr_Occurred()) SWIG_fail
; 
34321     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
34336 static PyObject 
*_wrap_Menu_GetHelpString(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
34337     PyObject 
*resultobj
; 
34338     wxMenu 
*arg1 
= (wxMenu 
*) 0 ; 
34341     PyObject 
* obj0 
= 0 ; 
34342     PyObject 
* obj1 
= 0 ; 
34343     char *kwnames
[] = { 
34344         (char *) "self",(char *) "id", NULL 
 
34347     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_GetHelpString",kwnames
,&obj0
,&obj1
)) goto fail
; 
34348     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION 
| 0); 
34349     if (SWIG_arg_fail(1)) SWIG_fail
; 
34351         arg2 
= (int)(SWIG_As_int(obj1
));  
34352         if (SWIG_arg_fail(2)) SWIG_fail
; 
34355         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
34356         result 
= ((wxMenu 
const *)arg1
)->GetHelpString(arg2
); 
34358         wxPyEndAllowThreads(__tstate
); 
34359         if (PyErr_Occurred()) SWIG_fail
; 
34363         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
34365         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
34374 static PyObject 
*_wrap_Menu_SetTitle(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
34375     PyObject 
*resultobj
; 
34376     wxMenu 
*arg1 
= (wxMenu 
*) 0 ; 
34377     wxString 
*arg2 
= 0 ; 
34378     bool temp2 
= false ; 
34379     PyObject 
* obj0 
= 0 ; 
34380     PyObject 
* obj1 
= 0 ; 
34381     char *kwnames
[] = { 
34382         (char *) "self",(char *) "title", NULL 
 
34385     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
; 
34386     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION 
| 0); 
34387     if (SWIG_arg_fail(1)) SWIG_fail
; 
34389         arg2 
= wxString_in_helper(obj1
); 
34390         if (arg2 
== NULL
) SWIG_fail
; 
34394         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
34395         (arg1
)->SetTitle((wxString 
const &)*arg2
); 
34397         wxPyEndAllowThreads(__tstate
); 
34398         if (PyErr_Occurred()) SWIG_fail
; 
34400     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
34415 static PyObject 
*_wrap_Menu_GetTitle(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
34416     PyObject 
*resultobj
; 
34417     wxMenu 
*arg1 
= (wxMenu 
*) 0 ; 
34419     PyObject 
* obj0 
= 0 ; 
34420     char *kwnames
[] = { 
34421         (char *) "self", NULL 
 
34424     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetTitle",kwnames
,&obj0
)) goto fail
; 
34425     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION 
| 0); 
34426     if (SWIG_arg_fail(1)) SWIG_fail
; 
34428         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
34429         result 
= ((wxMenu 
const *)arg1
)->GetTitle(); 
34431         wxPyEndAllowThreads(__tstate
); 
34432         if (PyErr_Occurred()) SWIG_fail
; 
34436         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
34438         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
34447 static PyObject 
*_wrap_Menu_SetEventHandler(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
34448     PyObject 
*resultobj
; 
34449     wxMenu 
*arg1 
= (wxMenu 
*) 0 ; 
34450     wxEvtHandler 
*arg2 
= (wxEvtHandler 
*) 0 ; 
34451     PyObject 
* obj0 
= 0 ; 
34452     PyObject 
* obj1 
= 0 ; 
34453     char *kwnames
[] = { 
34454         (char *) "self",(char *) "handler", NULL 
 
34457     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
; 
34458     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION 
| 0); 
34459     if (SWIG_arg_fail(1)) SWIG_fail
; 
34460     SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION 
| 0); 
34461     if (SWIG_arg_fail(2)) SWIG_fail
; 
34463         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
34464         (arg1
)->SetEventHandler(arg2
); 
34466         wxPyEndAllowThreads(__tstate
); 
34467         if (PyErr_Occurred()) SWIG_fail
; 
34469     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
34476 static PyObject 
*_wrap_Menu_GetEventHandler(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
34477     PyObject 
*resultobj
; 
34478     wxMenu 
*arg1 
= (wxMenu 
*) 0 ; 
34479     wxEvtHandler 
*result
; 
34480     PyObject 
* obj0 
= 0 ; 
34481     char *kwnames
[] = { 
34482         (char *) "self", NULL 
 
34485     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetEventHandler",kwnames
,&obj0
)) goto fail
; 
34486     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION 
| 0); 
34487     if (SWIG_arg_fail(1)) SWIG_fail
; 
34489         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
34490         result 
= (wxEvtHandler 
*)((wxMenu 
const *)arg1
)->GetEventHandler(); 
34492         wxPyEndAllowThreads(__tstate
); 
34493         if (PyErr_Occurred()) SWIG_fail
; 
34496         resultobj 
= wxPyMake_wxObject(result
, 0);  
34504 static PyObject 
*_wrap_Menu_SetInvokingWindow(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
34505     PyObject 
*resultobj
; 
34506     wxMenu 
*arg1 
= (wxMenu 
*) 0 ; 
34507     wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
34508     PyObject 
* obj0 
= 0 ; 
34509     PyObject 
* obj1 
= 0 ; 
34510     char *kwnames
[] = { 
34511         (char *) "self",(char *) "win", NULL 
 
34514     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetInvokingWindow",kwnames
,&obj0
,&obj1
)) goto fail
; 
34515     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION 
| 0); 
34516     if (SWIG_arg_fail(1)) SWIG_fail
; 
34517     SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
34518     if (SWIG_arg_fail(2)) SWIG_fail
; 
34520         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
34521         (arg1
)->SetInvokingWindow(arg2
); 
34523         wxPyEndAllowThreads(__tstate
); 
34524         if (PyErr_Occurred()) SWIG_fail
; 
34526     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
34533 static PyObject 
*_wrap_Menu_GetInvokingWindow(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
34534     PyObject 
*resultobj
; 
34535     wxMenu 
*arg1 
= (wxMenu 
*) 0 ; 
34537     PyObject 
* obj0 
= 0 ; 
34538     char *kwnames
[] = { 
34539         (char *) "self", NULL 
 
34542     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetInvokingWindow",kwnames
,&obj0
)) goto fail
; 
34543     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION 
| 0); 
34544     if (SWIG_arg_fail(1)) SWIG_fail
; 
34546         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
34547         result 
= (wxWindow 
*)((wxMenu 
const *)arg1
)->GetInvokingWindow(); 
34549         wxPyEndAllowThreads(__tstate
); 
34550         if (PyErr_Occurred()) SWIG_fail
; 
34553         resultobj 
= wxPyMake_wxObject(result
, 0);  
34561 static PyObject 
*_wrap_Menu_GetStyle(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
34562     PyObject 
*resultobj
; 
34563     wxMenu 
*arg1 
= (wxMenu 
*) 0 ; 
34565     PyObject 
* obj0 
= 0 ; 
34566     char *kwnames
[] = { 
34567         (char *) "self", NULL 
 
34570     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetStyle",kwnames
,&obj0
)) goto fail
; 
34571     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION 
| 0); 
34572     if (SWIG_arg_fail(1)) SWIG_fail
; 
34574         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
34575         result 
= (long)((wxMenu 
const *)arg1
)->GetStyle(); 
34577         wxPyEndAllowThreads(__tstate
); 
34578         if (PyErr_Occurred()) SWIG_fail
; 
34581         resultobj 
= SWIG_From_long((long)(result
));  
34589 static PyObject 
*_wrap_Menu_UpdateUI(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
34590     PyObject 
*resultobj
; 
34591     wxMenu 
*arg1 
= (wxMenu 
*) 0 ; 
34592     wxEvtHandler 
*arg2 
= (wxEvtHandler 
*) NULL 
; 
34593     PyObject 
* obj0 
= 0 ; 
34594     PyObject 
* obj1 
= 0 ; 
34595     char *kwnames
[] = { 
34596         (char *) "self",(char *) "source", NULL 
 
34599     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Menu_UpdateUI",kwnames
,&obj0
,&obj1
)) goto fail
; 
34600     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION 
| 0); 
34601     if (SWIG_arg_fail(1)) SWIG_fail
; 
34603         SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION 
| 0); 
34604         if (SWIG_arg_fail(2)) SWIG_fail
; 
34607         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
34608         (arg1
)->UpdateUI(arg2
); 
34610         wxPyEndAllowThreads(__tstate
); 
34611         if (PyErr_Occurred()) SWIG_fail
; 
34613     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
34620 static PyObject 
*_wrap_Menu_GetMenuBar(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
34621     PyObject 
*resultobj
; 
34622     wxMenu 
*arg1 
= (wxMenu 
*) 0 ; 
34624     PyObject 
* obj0 
= 0 ; 
34625     char *kwnames
[] = { 
34626         (char *) "self", NULL 
 
34629     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuBar",kwnames
,&obj0
)) goto fail
; 
34630     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION 
| 0); 
34631     if (SWIG_arg_fail(1)) SWIG_fail
; 
34633         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
34634         result 
= (wxMenuBar 
*)((wxMenu 
const *)arg1
)->GetMenuBar(); 
34636         wxPyEndAllowThreads(__tstate
); 
34637         if (PyErr_Occurred()) SWIG_fail
; 
34640         resultobj 
= wxPyMake_wxObject(result
, 0);  
34648 static PyObject 
*_wrap_Menu_Attach(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
34649     PyObject 
*resultobj
; 
34650     wxMenu 
*arg1 
= (wxMenu 
*) 0 ; 
34651     wxMenuBarBase 
*arg2 
= (wxMenuBarBase 
*) 0 ; 
34652     PyObject 
* obj0 
= 0 ; 
34653     PyObject 
* obj1 
= 0 ; 
34654     char *kwnames
[] = { 
34655         (char *) "self",(char *) "menubar", NULL 
 
34658     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Attach",kwnames
,&obj0
,&obj1
)) goto fail
; 
34659     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION 
| 0); 
34660     if (SWIG_arg_fail(1)) SWIG_fail
; 
34661     SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuBarBase
, SWIG_POINTER_EXCEPTION 
| 0); 
34662     if (SWIG_arg_fail(2)) SWIG_fail
; 
34664         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
34665         (arg1
)->Attach(arg2
); 
34667         wxPyEndAllowThreads(__tstate
); 
34668         if (PyErr_Occurred()) SWIG_fail
; 
34670     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
34677 static PyObject 
*_wrap_Menu_Detach(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
34678     PyObject 
*resultobj
; 
34679     wxMenu 
*arg1 
= (wxMenu 
*) 0 ; 
34680     PyObject 
* obj0 
= 0 ; 
34681     char *kwnames
[] = { 
34682         (char *) "self", NULL 
 
34685     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Detach",kwnames
,&obj0
)) goto fail
; 
34686     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION 
| 0); 
34687     if (SWIG_arg_fail(1)) SWIG_fail
; 
34689         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
34692         wxPyEndAllowThreads(__tstate
); 
34693         if (PyErr_Occurred()) SWIG_fail
; 
34695     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
34702 static PyObject 
*_wrap_Menu_IsAttached(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
34703     PyObject 
*resultobj
; 
34704     wxMenu 
*arg1 
= (wxMenu 
*) 0 ; 
34706     PyObject 
* obj0 
= 0 ; 
34707     char *kwnames
[] = { 
34708         (char *) "self", NULL 
 
34711     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_IsAttached",kwnames
,&obj0
)) goto fail
; 
34712     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION 
| 0); 
34713     if (SWIG_arg_fail(1)) SWIG_fail
; 
34715         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
34716         result 
= (bool)((wxMenu 
const *)arg1
)->IsAttached(); 
34718         wxPyEndAllowThreads(__tstate
); 
34719         if (PyErr_Occurred()) SWIG_fail
; 
34722         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
34730 static PyObject 
*_wrap_Menu_SetParent(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
34731     PyObject 
*resultobj
; 
34732     wxMenu 
*arg1 
= (wxMenu 
*) 0 ; 
34733     wxMenu 
*arg2 
= (wxMenu 
*) 0 ; 
34734     PyObject 
* obj0 
= 0 ; 
34735     PyObject 
* obj1 
= 0 ; 
34736     char *kwnames
[] = { 
34737         (char *) "self",(char *) "parent", NULL 
 
34740     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetParent",kwnames
,&obj0
,&obj1
)) goto fail
; 
34741     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION 
| 0); 
34742     if (SWIG_arg_fail(1)) SWIG_fail
; 
34743     SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION 
| 0); 
34744     if (SWIG_arg_fail(2)) SWIG_fail
; 
34746         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
34747         (arg1
)->SetParent(arg2
); 
34749         wxPyEndAllowThreads(__tstate
); 
34750         if (PyErr_Occurred()) SWIG_fail
; 
34752     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
34759 static PyObject 
*_wrap_Menu_GetParent(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
34760     PyObject 
*resultobj
; 
34761     wxMenu 
*arg1 
= (wxMenu 
*) 0 ; 
34763     PyObject 
* obj0 
= 0 ; 
34764     char *kwnames
[] = { 
34765         (char *) "self", NULL 
 
34768     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetParent",kwnames
,&obj0
)) goto fail
; 
34769     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION 
| 0); 
34770     if (SWIG_arg_fail(1)) SWIG_fail
; 
34772         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
34773         result 
= (wxMenu 
*)((wxMenu 
const *)arg1
)->GetParent(); 
34775         wxPyEndAllowThreads(__tstate
); 
34776         if (PyErr_Occurred()) SWIG_fail
; 
34779         resultobj 
= wxPyMake_wxObject(result
, 0);  
34787 static PyObject 
* Menu_swigregister(PyObject 
*, PyObject 
*args
) { 
34789     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
34790     SWIG_TypeClientData(SWIGTYPE_p_wxMenu
, obj
); 
34792     return Py_BuildValue((char *)""); 
34794 static PyObject 
*_wrap_new_MenuBar(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
34795     PyObject 
*resultobj
; 
34796     long arg1 
= (long) 0 ; 
34798     PyObject 
* obj0 
= 0 ; 
34799     char *kwnames
[] = { 
34800         (char *) "style", NULL 
 
34803     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MenuBar",kwnames
,&obj0
)) goto fail
; 
34806             arg1 
= (long)(SWIG_As_long(obj0
));  
34807             if (SWIG_arg_fail(1)) SWIG_fail
; 
34811         if (!wxPyCheckForApp()) SWIG_fail
; 
34812         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
34813         result 
= (wxMenuBar 
*)new wxMenuBar(arg1
); 
34815         wxPyEndAllowThreads(__tstate
); 
34816         if (PyErr_Occurred()) SWIG_fail
; 
34818     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenuBar
, 1); 
34825 static PyObject 
*_wrap_MenuBar_Append(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
34826     PyObject 
*resultobj
; 
34827     wxMenuBar 
*arg1 
= (wxMenuBar 
*) 0 ; 
34828     wxMenu 
*arg2 
= (wxMenu 
*) 0 ; 
34829     wxString 
*arg3 
= 0 ; 
34831     bool temp3 
= false ; 
34832     PyObject 
* obj0 
= 0 ; 
34833     PyObject 
* obj1 
= 0 ; 
34834     PyObject 
* obj2 
= 0 ; 
34835     char *kwnames
[] = { 
34836         (char *) "self",(char *) "menu",(char *) "title", NULL 
 
34839     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Append",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
34840     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION 
| 0); 
34841     if (SWIG_arg_fail(1)) SWIG_fail
; 
34842     SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION 
| 0); 
34843     if (SWIG_arg_fail(2)) SWIG_fail
; 
34845         arg3 
= wxString_in_helper(obj2
); 
34846         if (arg3 
== NULL
) SWIG_fail
; 
34850         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
34851         result 
= (bool)(arg1
)->Append(arg2
,(wxString 
const &)*arg3
); 
34853         wxPyEndAllowThreads(__tstate
); 
34854         if (PyErr_Occurred()) SWIG_fail
; 
34857         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
34873 static PyObject 
*_wrap_MenuBar_Insert(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
34874     PyObject 
*resultobj
; 
34875     wxMenuBar 
*arg1 
= (wxMenuBar 
*) 0 ; 
34877     wxMenu 
*arg3 
= (wxMenu 
*) 0 ; 
34878     wxString 
*arg4 
= 0 ; 
34880     bool temp4 
= false ; 
34881     PyObject 
* obj0 
= 0 ; 
34882     PyObject 
* obj1 
= 0 ; 
34883     PyObject 
* obj2 
= 0 ; 
34884     PyObject 
* obj3 
= 0 ; 
34885     char *kwnames
[] = { 
34886         (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL 
 
34889     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
34890     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION 
| 0); 
34891     if (SWIG_arg_fail(1)) SWIG_fail
; 
34893         arg2 
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));  
34894         if (SWIG_arg_fail(2)) SWIG_fail
; 
34896     SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION 
| 0); 
34897     if (SWIG_arg_fail(3)) SWIG_fail
; 
34899         arg4 
= wxString_in_helper(obj3
); 
34900         if (arg4 
== NULL
) SWIG_fail
; 
34904         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
34905         result 
= (bool)(arg1
)->Insert(arg2
,arg3
,(wxString 
const &)*arg4
); 
34907         wxPyEndAllowThreads(__tstate
); 
34908         if (PyErr_Occurred()) SWIG_fail
; 
34911         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
34927 static PyObject 
*_wrap_MenuBar_GetMenuCount(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
34928     PyObject 
*resultobj
; 
34929     wxMenuBar 
*arg1 
= (wxMenuBar 
*) 0 ; 
34931     PyObject 
* obj0 
= 0 ; 
34932     char *kwnames
[] = { 
34933         (char *) "self", NULL 
 
34936     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_GetMenuCount",kwnames
,&obj0
)) goto fail
; 
34937     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION 
| 0); 
34938     if (SWIG_arg_fail(1)) SWIG_fail
; 
34940         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
34941         result 
= (size_t)((wxMenuBar 
const *)arg1
)->GetMenuCount(); 
34943         wxPyEndAllowThreads(__tstate
); 
34944         if (PyErr_Occurred()) SWIG_fail
; 
34947         resultobj 
= SWIG_From_unsigned_SS_long((unsigned long)(result
));  
34955 static PyObject 
*_wrap_MenuBar_GetMenu(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
34956     PyObject 
*resultobj
; 
34957     wxMenuBar 
*arg1 
= (wxMenuBar 
*) 0 ; 
34960     PyObject 
* obj0 
= 0 ; 
34961     PyObject 
* obj1 
= 0 ; 
34962     char *kwnames
[] = { 
34963         (char *) "self",(char *) "pos", NULL 
 
34966     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetMenu",kwnames
,&obj0
,&obj1
)) goto fail
; 
34967     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION 
| 0); 
34968     if (SWIG_arg_fail(1)) SWIG_fail
; 
34970         arg2 
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));  
34971         if (SWIG_arg_fail(2)) SWIG_fail
; 
34974         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
34975         result 
= (wxMenu 
*)((wxMenuBar 
const *)arg1
)->GetMenu(arg2
); 
34977         wxPyEndAllowThreads(__tstate
); 
34978         if (PyErr_Occurred()) SWIG_fail
; 
34981         resultobj 
= wxPyMake_wxObject(result
, 0);  
34989 static PyObject 
*_wrap_MenuBar_Replace(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
34990     PyObject 
*resultobj
; 
34991     wxMenuBar 
*arg1 
= (wxMenuBar 
*) 0 ; 
34993     wxMenu 
*arg3 
= (wxMenu 
*) 0 ; 
34994     wxString 
*arg4 
= 0 ; 
34996     bool temp4 
= false ; 
34997     PyObject 
* obj0 
= 0 ; 
34998     PyObject 
* obj1 
= 0 ; 
34999     PyObject 
* obj2 
= 0 ; 
35000     PyObject 
* obj3 
= 0 ; 
35001     char *kwnames
[] = { 
35002         (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL 
 
35005     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
35006     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION 
| 0); 
35007     if (SWIG_arg_fail(1)) SWIG_fail
; 
35009         arg2 
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));  
35010         if (SWIG_arg_fail(2)) SWIG_fail
; 
35012     SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION 
| 0); 
35013     if (SWIG_arg_fail(3)) SWIG_fail
; 
35015         arg4 
= wxString_in_helper(obj3
); 
35016         if (arg4 
== NULL
) SWIG_fail
; 
35020         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
35021         result 
= (wxMenu 
*)(arg1
)->Replace(arg2
,arg3
,(wxString 
const &)*arg4
); 
35023         wxPyEndAllowThreads(__tstate
); 
35024         if (PyErr_Occurred()) SWIG_fail
; 
35027         resultobj 
= wxPyMake_wxObject(result
, 0);  
35043 static PyObject 
*_wrap_MenuBar_Remove(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
35044     PyObject 
*resultobj
; 
35045     wxMenuBar 
*arg1 
= (wxMenuBar 
*) 0 ; 
35048     PyObject 
* obj0 
= 0 ; 
35049     PyObject 
* obj1 
= 0 ; 
35050     char *kwnames
[] = { 
35051         (char *) "self",(char *) "pos", NULL 
 
35054     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Remove",kwnames
,&obj0
,&obj1
)) goto fail
; 
35055     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION 
| 0); 
35056     if (SWIG_arg_fail(1)) SWIG_fail
; 
35058         arg2 
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));  
35059         if (SWIG_arg_fail(2)) SWIG_fail
; 
35062         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
35063         result 
= (wxMenu 
*)(arg1
)->Remove(arg2
); 
35065         wxPyEndAllowThreads(__tstate
); 
35066         if (PyErr_Occurred()) SWIG_fail
; 
35069         resultobj 
= wxPyMake_wxObject(result
, 0);  
35077 static PyObject 
*_wrap_MenuBar_EnableTop(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
35078     PyObject 
*resultobj
; 
35079     wxMenuBar 
*arg1 
= (wxMenuBar 
*) 0 ; 
35082     PyObject 
* obj0 
= 0 ; 
35083     PyObject 
* obj1 
= 0 ; 
35084     PyObject 
* obj2 
= 0 ; 
35085     char *kwnames
[] = { 
35086         (char *) "self",(char *) "pos",(char *) "enable", NULL 
 
35089     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_EnableTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
35090     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION 
| 0); 
35091     if (SWIG_arg_fail(1)) SWIG_fail
; 
35093         arg2 
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));  
35094         if (SWIG_arg_fail(2)) SWIG_fail
; 
35097         arg3 
= (bool)(SWIG_As_bool(obj2
));  
35098         if (SWIG_arg_fail(3)) SWIG_fail
; 
35101         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
35102         (arg1
)->EnableTop(arg2
,arg3
); 
35104         wxPyEndAllowThreads(__tstate
); 
35105         if (PyErr_Occurred()) SWIG_fail
; 
35107     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
35114 static PyObject 
*_wrap_MenuBar_IsEnabledTop(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
35115     PyObject 
*resultobj
; 
35116     wxMenuBar 
*arg1 
= (wxMenuBar 
*) 0 ; 
35119     PyObject 
* obj0 
= 0 ; 
35120     PyObject 
* obj1 
= 0 ; 
35121     char *kwnames
[] = { 
35122         (char *) "self",(char *) "pos", NULL 
 
35125     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabledTop",kwnames
,&obj0
,&obj1
)) goto fail
; 
35126     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION 
| 0); 
35127     if (SWIG_arg_fail(1)) SWIG_fail
; 
35129         arg2 
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));  
35130         if (SWIG_arg_fail(2)) SWIG_fail
; 
35133         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
35134         result 
= (bool)((wxMenuBar 
const *)arg1
)->IsEnabledTop(arg2
); 
35136         wxPyEndAllowThreads(__tstate
); 
35137         if (PyErr_Occurred()) SWIG_fail
; 
35140         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
35148 static PyObject 
*_wrap_MenuBar_SetLabelTop(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
35149     PyObject 
*resultobj
; 
35150     wxMenuBar 
*arg1 
= (wxMenuBar 
*) 0 ; 
35152     wxString 
*arg3 
= 0 ; 
35153     bool temp3 
= false ; 
35154     PyObject 
* obj0 
= 0 ; 
35155     PyObject 
* obj1 
= 0 ; 
35156     PyObject 
* obj2 
= 0 ; 
35157     char *kwnames
[] = { 
35158         (char *) "self",(char *) "pos",(char *) "label", NULL 
 
35161     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabelTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
35162     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION 
| 0); 
35163     if (SWIG_arg_fail(1)) SWIG_fail
; 
35165         arg2 
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));  
35166         if (SWIG_arg_fail(2)) SWIG_fail
; 
35169         arg3 
= wxString_in_helper(obj2
); 
35170         if (arg3 
== NULL
) SWIG_fail
; 
35174         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
35175         (arg1
)->SetLabelTop(arg2
,(wxString 
const &)*arg3
); 
35177         wxPyEndAllowThreads(__tstate
); 
35178         if (PyErr_Occurred()) SWIG_fail
; 
35180     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
35195 static PyObject 
*_wrap_MenuBar_GetLabelTop(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
35196     PyObject 
*resultobj
; 
35197     wxMenuBar 
*arg1 
= (wxMenuBar 
*) 0 ; 
35200     PyObject 
* obj0 
= 0 ; 
35201     PyObject 
* obj1 
= 0 ; 
35202     char *kwnames
[] = { 
35203         (char *) "self",(char *) "pos", NULL 
 
35206     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabelTop",kwnames
,&obj0
,&obj1
)) goto fail
; 
35207     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION 
| 0); 
35208     if (SWIG_arg_fail(1)) SWIG_fail
; 
35210         arg2 
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));  
35211         if (SWIG_arg_fail(2)) SWIG_fail
; 
35214         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
35215         result 
= ((wxMenuBar 
const *)arg1
)->GetLabelTop(arg2
); 
35217         wxPyEndAllowThreads(__tstate
); 
35218         if (PyErr_Occurred()) SWIG_fail
; 
35222         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
35224         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
35233 static PyObject 
*_wrap_MenuBar_FindMenuItem(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
35234     PyObject 
*resultobj
; 
35235     wxMenuBar 
*arg1 
= (wxMenuBar 
*) 0 ; 
35236     wxString 
*arg2 
= 0 ; 
35237     wxString 
*arg3 
= 0 ; 
35239     bool temp2 
= false ; 
35240     bool temp3 
= false ; 
35241     PyObject 
* obj0 
= 0 ; 
35242     PyObject 
* obj1 
= 0 ; 
35243     PyObject 
* obj2 
= 0 ; 
35244     char *kwnames
[] = { 
35245         (char *) "self",(char *) "menu",(char *) "item", NULL 
 
35248     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_FindMenuItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
35249     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION 
| 0); 
35250     if (SWIG_arg_fail(1)) SWIG_fail
; 
35252         arg2 
= wxString_in_helper(obj1
); 
35253         if (arg2 
== NULL
) SWIG_fail
; 
35257         arg3 
= wxString_in_helper(obj2
); 
35258         if (arg3 
== NULL
) SWIG_fail
; 
35262         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
35263         result 
= (int)((wxMenuBar 
const *)arg1
)->FindMenuItem((wxString 
const &)*arg2
,(wxString 
const &)*arg3
); 
35265         wxPyEndAllowThreads(__tstate
); 
35266         if (PyErr_Occurred()) SWIG_fail
; 
35269         resultobj 
= SWIG_From_int((int)(result
));  
35293 static PyObject 
*_wrap_MenuBar_FindItemById(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
35294     PyObject 
*resultobj
; 
35295     wxMenuBar 
*arg1 
= (wxMenuBar 
*) 0 ; 
35297     wxMenuItem 
*result
; 
35298     PyObject 
* obj0 
= 0 ; 
35299     PyObject 
* obj1 
= 0 ; 
35300     char *kwnames
[] = { 
35301         (char *) "self",(char *) "id", NULL 
 
35304     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindItemById",kwnames
,&obj0
,&obj1
)) goto fail
; 
35305     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION 
| 0); 
35306     if (SWIG_arg_fail(1)) SWIG_fail
; 
35308         arg2 
= (int)(SWIG_As_int(obj1
));  
35309         if (SWIG_arg_fail(2)) SWIG_fail
; 
35312         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
35313         result 
= (wxMenuItem 
*)((wxMenuBar 
const *)arg1
)->FindItem(arg2
); 
35315         wxPyEndAllowThreads(__tstate
); 
35316         if (PyErr_Occurred()) SWIG_fail
; 
35319         resultobj 
= wxPyMake_wxObject(result
, 0);  
35327 static PyObject 
*_wrap_MenuBar_FindMenu(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
35328     PyObject 
*resultobj
; 
35329     wxMenuBar 
*arg1 
= (wxMenuBar 
*) 0 ; 
35330     wxString 
*arg2 
= 0 ; 
35332     bool temp2 
= false ; 
35333     PyObject 
* obj0 
= 0 ; 
35334     PyObject 
* obj1 
= 0 ; 
35335     char *kwnames
[] = { 
35336         (char *) "self",(char *) "title", NULL 
 
35339     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindMenu",kwnames
,&obj0
,&obj1
)) goto fail
; 
35340     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION 
| 0); 
35341     if (SWIG_arg_fail(1)) SWIG_fail
; 
35343         arg2 
= wxString_in_helper(obj1
); 
35344         if (arg2 
== NULL
) SWIG_fail
; 
35348         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
35349         result 
= (int)((wxMenuBar 
const *)arg1
)->FindMenu((wxString 
const &)*arg2
); 
35351         wxPyEndAllowThreads(__tstate
); 
35352         if (PyErr_Occurred()) SWIG_fail
; 
35355         resultobj 
= SWIG_From_int((int)(result
));  
35371 static PyObject 
*_wrap_MenuBar_Enable(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
35372     PyObject 
*resultobj
; 
35373     wxMenuBar 
*arg1 
= (wxMenuBar 
*) 0 ; 
35376     PyObject 
* obj0 
= 0 ; 
35377     PyObject 
* obj1 
= 0 ; 
35378     PyObject 
* obj2 
= 0 ; 
35379     char *kwnames
[] = { 
35380         (char *) "self",(char *) "id",(char *) "enable", NULL 
 
35383     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
35384     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION 
| 0); 
35385     if (SWIG_arg_fail(1)) SWIG_fail
; 
35387         arg2 
= (int)(SWIG_As_int(obj1
));  
35388         if (SWIG_arg_fail(2)) SWIG_fail
; 
35391         arg3 
= (bool)(SWIG_As_bool(obj2
));  
35392         if (SWIG_arg_fail(3)) SWIG_fail
; 
35395         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
35396         (arg1
)->Enable(arg2
,arg3
); 
35398         wxPyEndAllowThreads(__tstate
); 
35399         if (PyErr_Occurred()) SWIG_fail
; 
35401     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
35408 static PyObject 
*_wrap_MenuBar_Check(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
35409     PyObject 
*resultobj
; 
35410     wxMenuBar 
*arg1 
= (wxMenuBar 
*) 0 ; 
35413     PyObject 
* obj0 
= 0 ; 
35414     PyObject 
* obj1 
= 0 ; 
35415     PyObject 
* obj2 
= 0 ; 
35416     char *kwnames
[] = { 
35417         (char *) "self",(char *) "id",(char *) "check", NULL 
 
35420     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
35421     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION 
| 0); 
35422     if (SWIG_arg_fail(1)) SWIG_fail
; 
35424         arg2 
= (int)(SWIG_As_int(obj1
));  
35425         if (SWIG_arg_fail(2)) SWIG_fail
; 
35428         arg3 
= (bool)(SWIG_As_bool(obj2
));  
35429         if (SWIG_arg_fail(3)) SWIG_fail
; 
35432         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
35433         (arg1
)->Check(arg2
,arg3
); 
35435         wxPyEndAllowThreads(__tstate
); 
35436         if (PyErr_Occurred()) SWIG_fail
; 
35438     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
35445 static PyObject 
*_wrap_MenuBar_IsChecked(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
35446     PyObject 
*resultobj
; 
35447     wxMenuBar 
*arg1 
= (wxMenuBar 
*) 0 ; 
35450     PyObject 
* obj0 
= 0 ; 
35451     PyObject 
* obj1 
= 0 ; 
35452     char *kwnames
[] = { 
35453         (char *) "self",(char *) "id", NULL 
 
35456     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
; 
35457     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION 
| 0); 
35458     if (SWIG_arg_fail(1)) SWIG_fail
; 
35460         arg2 
= (int)(SWIG_As_int(obj1
));  
35461         if (SWIG_arg_fail(2)) SWIG_fail
; 
35464         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
35465         result 
= (bool)((wxMenuBar 
const *)arg1
)->IsChecked(arg2
); 
35467         wxPyEndAllowThreads(__tstate
); 
35468         if (PyErr_Occurred()) SWIG_fail
; 
35471         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
35479 static PyObject 
*_wrap_MenuBar_IsEnabled(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
35480     PyObject 
*resultobj
; 
35481     wxMenuBar 
*arg1 
= (wxMenuBar 
*) 0 ; 
35484     PyObject 
* obj0 
= 0 ; 
35485     PyObject 
* obj1 
= 0 ; 
35486     char *kwnames
[] = { 
35487         (char *) "self",(char *) "id", NULL 
 
35490     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabled",kwnames
,&obj0
,&obj1
)) goto fail
; 
35491     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION 
| 0); 
35492     if (SWIG_arg_fail(1)) SWIG_fail
; 
35494         arg2 
= (int)(SWIG_As_int(obj1
));  
35495         if (SWIG_arg_fail(2)) SWIG_fail
; 
35498         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
35499         result 
= (bool)((wxMenuBar 
const *)arg1
)->IsEnabled(arg2
); 
35501         wxPyEndAllowThreads(__tstate
); 
35502         if (PyErr_Occurred()) SWIG_fail
; 
35505         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
35513 static PyObject 
*_wrap_MenuBar_SetLabel(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
35514     PyObject 
*resultobj
; 
35515     wxMenuBar 
*arg1 
= (wxMenuBar 
*) 0 ; 
35517     wxString 
*arg3 
= 0 ; 
35518     bool temp3 
= false ; 
35519     PyObject 
* obj0 
= 0 ; 
35520     PyObject 
* obj1 
= 0 ; 
35521     PyObject 
* obj2 
= 0 ; 
35522     char *kwnames
[] = { 
35523         (char *) "self",(char *) "id",(char *) "label", NULL 
 
35526     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
35527     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION 
| 0); 
35528     if (SWIG_arg_fail(1)) SWIG_fail
; 
35530         arg2 
= (int)(SWIG_As_int(obj1
));  
35531         if (SWIG_arg_fail(2)) SWIG_fail
; 
35534         arg3 
= wxString_in_helper(obj2
); 
35535         if (arg3 
== NULL
) SWIG_fail
; 
35539         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
35540         (arg1
)->SetLabel(arg2
,(wxString 
const &)*arg3
); 
35542         wxPyEndAllowThreads(__tstate
); 
35543         if (PyErr_Occurred()) SWIG_fail
; 
35545     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
35560 static PyObject 
*_wrap_MenuBar_GetLabel(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
35561     PyObject 
*resultobj
; 
35562     wxMenuBar 
*arg1 
= (wxMenuBar 
*) 0 ; 
35565     PyObject 
* obj0 
= 0 ; 
35566     PyObject 
* obj1 
= 0 ; 
35567     char *kwnames
[] = { 
35568         (char *) "self",(char *) "id", NULL 
 
35571     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabel",kwnames
,&obj0
,&obj1
)) goto fail
; 
35572     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION 
| 0); 
35573     if (SWIG_arg_fail(1)) SWIG_fail
; 
35575         arg2 
= (int)(SWIG_As_int(obj1
));  
35576         if (SWIG_arg_fail(2)) SWIG_fail
; 
35579         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
35580         result 
= ((wxMenuBar 
const *)arg1
)->GetLabel(arg2
); 
35582         wxPyEndAllowThreads(__tstate
); 
35583         if (PyErr_Occurred()) SWIG_fail
; 
35587         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
35589         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
35598 static PyObject 
*_wrap_MenuBar_SetHelpString(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
35599     PyObject 
*resultobj
; 
35600     wxMenuBar 
*arg1 
= (wxMenuBar 
*) 0 ; 
35602     wxString 
*arg3 
= 0 ; 
35603     bool temp3 
= false ; 
35604     PyObject 
* obj0 
= 0 ; 
35605     PyObject 
* obj1 
= 0 ; 
35606     PyObject 
* obj2 
= 0 ; 
35607     char *kwnames
[] = { 
35608         (char *) "self",(char *) "id",(char *) "helpString", NULL 
 
35611     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
35612     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION 
| 0); 
35613     if (SWIG_arg_fail(1)) SWIG_fail
; 
35615         arg2 
= (int)(SWIG_As_int(obj1
));  
35616         if (SWIG_arg_fail(2)) SWIG_fail
; 
35619         arg3 
= wxString_in_helper(obj2
); 
35620         if (arg3 
== NULL
) SWIG_fail
; 
35624         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
35625         (arg1
)->SetHelpString(arg2
,(wxString 
const &)*arg3
); 
35627         wxPyEndAllowThreads(__tstate
); 
35628         if (PyErr_Occurred()) SWIG_fail
; 
35630     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
35645 static PyObject 
*_wrap_MenuBar_GetHelpString(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
35646     PyObject 
*resultobj
; 
35647     wxMenuBar 
*arg1 
= (wxMenuBar 
*) 0 ; 
35650     PyObject 
* obj0 
= 0 ; 
35651     PyObject 
* obj1 
= 0 ; 
35652     char *kwnames
[] = { 
35653         (char *) "self",(char *) "id", NULL 
 
35656     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetHelpString",kwnames
,&obj0
,&obj1
)) goto fail
; 
35657     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION 
| 0); 
35658     if (SWIG_arg_fail(1)) SWIG_fail
; 
35660         arg2 
= (int)(SWIG_As_int(obj1
));  
35661         if (SWIG_arg_fail(2)) SWIG_fail
; 
35664         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
35665         result 
= ((wxMenuBar 
const *)arg1
)->GetHelpString(arg2
); 
35667         wxPyEndAllowThreads(__tstate
); 
35668         if (PyErr_Occurred()) SWIG_fail
; 
35672         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
35674         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
35683 static PyObject 
*_wrap_MenuBar_GetFrame(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
35684     PyObject 
*resultobj
; 
35685     wxMenuBar 
*arg1 
= (wxMenuBar 
*) 0 ; 
35687     PyObject 
* obj0 
= 0 ; 
35688     char *kwnames
[] = { 
35689         (char *) "self", NULL 
 
35692     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_GetFrame",kwnames
,&obj0
)) goto fail
; 
35693     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION 
| 0); 
35694     if (SWIG_arg_fail(1)) SWIG_fail
; 
35696         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
35697         result 
= (wxFrame 
*)((wxMenuBar 
const *)arg1
)->GetFrame(); 
35699         wxPyEndAllowThreads(__tstate
); 
35700         if (PyErr_Occurred()) SWIG_fail
; 
35703         resultobj 
= wxPyMake_wxObject(result
, 0);  
35711 static PyObject 
*_wrap_MenuBar_IsAttached(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
35712     PyObject 
*resultobj
; 
35713     wxMenuBar 
*arg1 
= (wxMenuBar 
*) 0 ; 
35715     PyObject 
* obj0 
= 0 ; 
35716     char *kwnames
[] = { 
35717         (char *) "self", NULL 
 
35720     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_IsAttached",kwnames
,&obj0
)) goto fail
; 
35721     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION 
| 0); 
35722     if (SWIG_arg_fail(1)) SWIG_fail
; 
35724         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
35725         result 
= (bool)((wxMenuBar 
const *)arg1
)->IsAttached(); 
35727         wxPyEndAllowThreads(__tstate
); 
35728         if (PyErr_Occurred()) SWIG_fail
; 
35731         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
35739 static PyObject 
*_wrap_MenuBar_Attach(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
35740     PyObject 
*resultobj
; 
35741     wxMenuBar 
*arg1 
= (wxMenuBar 
*) 0 ; 
35742     wxFrame 
*arg2 
= (wxFrame 
*) 0 ; 
35743     PyObject 
* obj0 
= 0 ; 
35744     PyObject 
* obj1 
= 0 ; 
35745     char *kwnames
[] = { 
35746         (char *) "self",(char *) "frame", NULL 
 
35749     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Attach",kwnames
,&obj0
,&obj1
)) goto fail
; 
35750     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION 
| 0); 
35751     if (SWIG_arg_fail(1)) SWIG_fail
; 
35752     SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION 
| 0); 
35753     if (SWIG_arg_fail(2)) SWIG_fail
; 
35755         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
35756         (arg1
)->Attach(arg2
); 
35758         wxPyEndAllowThreads(__tstate
); 
35759         if (PyErr_Occurred()) SWIG_fail
; 
35761     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
35768 static PyObject 
*_wrap_MenuBar_Detach(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
35769     PyObject 
*resultobj
; 
35770     wxMenuBar 
*arg1 
= (wxMenuBar 
*) 0 ; 
35771     PyObject 
* obj0 
= 0 ; 
35772     char *kwnames
[] = { 
35773         (char *) "self", NULL 
 
35776     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_Detach",kwnames
,&obj0
)) goto fail
; 
35777     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION 
| 0); 
35778     if (SWIG_arg_fail(1)) SWIG_fail
; 
35780         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
35783         wxPyEndAllowThreads(__tstate
); 
35784         if (PyErr_Occurred()) SWIG_fail
; 
35786     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
35793 static PyObject 
* MenuBar_swigregister(PyObject 
*, PyObject 
*args
) { 
35795     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
35796     SWIG_TypeClientData(SWIGTYPE_p_wxMenuBar
, obj
); 
35798     return Py_BuildValue((char *)""); 
35800 static PyObject 
*_wrap_new_MenuItem(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
35801     PyObject 
*resultobj
; 
35802     wxMenu 
*arg1 
= (wxMenu 
*) NULL 
; 
35803     int arg2 
= (int) wxID_ANY 
; 
35804     wxString 
const &arg3_defvalue 
= wxPyEmptyString 
; 
35805     wxString 
*arg3 
= (wxString 
*) &arg3_defvalue 
; 
35806     wxString 
const &arg4_defvalue 
= wxPyEmptyString 
; 
35807     wxString 
*arg4 
= (wxString 
*) &arg4_defvalue 
; 
35808     wxItemKind arg5 
= (wxItemKind
) wxITEM_NORMAL 
; 
35809     wxMenu 
*arg6 
= (wxMenu 
*) NULL 
; 
35810     wxMenuItem 
*result
; 
35811     bool temp3 
= false ; 
35812     bool temp4 
= false ; 
35813     PyObject 
* obj0 
= 0 ; 
35814     PyObject 
* obj1 
= 0 ; 
35815     PyObject 
* obj2 
= 0 ; 
35816     PyObject 
* obj3 
= 0 ; 
35817     PyObject 
* obj4 
= 0 ; 
35818     PyObject 
* obj5 
= 0 ; 
35819     char *kwnames
[] = { 
35820         (char *) "parentMenu",(char *) "id",(char *) "text",(char *) "help",(char *) "kind",(char *) "subMenu", NULL 
 
35823     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOO:new_MenuItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
; 
35825         SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION 
| 0); 
35826         if (SWIG_arg_fail(1)) SWIG_fail
; 
35830             arg2 
= (int)(SWIG_As_int(obj1
));  
35831             if (SWIG_arg_fail(2)) SWIG_fail
; 
35836             arg3 
= wxString_in_helper(obj2
); 
35837             if (arg3 
== NULL
) SWIG_fail
; 
35843             arg4 
= wxString_in_helper(obj3
); 
35844             if (arg4 
== NULL
) SWIG_fail
; 
35850             arg5 
= (wxItemKind
)(SWIG_As_int(obj4
));  
35851             if (SWIG_arg_fail(5)) SWIG_fail
; 
35855         SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION 
| 0); 
35856         if (SWIG_arg_fail(6)) SWIG_fail
; 
35859         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
35860         result 
= (wxMenuItem 
*)new wxMenuItem(arg1
,arg2
,(wxString 
const &)*arg3
,(wxString 
const &)*arg4
,(wxItemKind 
)arg5
,arg6
); 
35862         wxPyEndAllowThreads(__tstate
); 
35863         if (PyErr_Occurred()) SWIG_fail
; 
35866         resultobj 
= wxPyMake_wxObject(result
, 1);  
35890 static PyObject 
*_wrap_MenuItem_GetMenu(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
35891     PyObject 
*resultobj
; 
35892     wxMenuItem 
*arg1 
= (wxMenuItem 
*) 0 ; 
35894     PyObject 
* obj0 
= 0 ; 
35895     char *kwnames
[] = { 
35896         (char *) "self", NULL 
 
35899     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetMenu",kwnames
,&obj0
)) goto fail
; 
35900     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION 
| 0); 
35901     if (SWIG_arg_fail(1)) SWIG_fail
; 
35903         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
35904         result 
= (wxMenu 
*)((wxMenuItem 
const *)arg1
)->GetMenu(); 
35906         wxPyEndAllowThreads(__tstate
); 
35907         if (PyErr_Occurred()) SWIG_fail
; 
35910         resultobj 
= wxPyMake_wxObject(result
, 0);  
35918 static PyObject 
*_wrap_MenuItem_SetMenu(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
35919     PyObject 
*resultobj
; 
35920     wxMenuItem 
*arg1 
= (wxMenuItem 
*) 0 ; 
35921     wxMenu 
*arg2 
= (wxMenu 
*) 0 ; 
35922     PyObject 
* obj0 
= 0 ; 
35923     PyObject 
* obj1 
= 0 ; 
35924     char *kwnames
[] = { 
35925         (char *) "self",(char *) "menu", NULL 
 
35928     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetMenu",kwnames
,&obj0
,&obj1
)) goto fail
; 
35929     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION 
| 0); 
35930     if (SWIG_arg_fail(1)) SWIG_fail
; 
35931     SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION 
| 0); 
35932     if (SWIG_arg_fail(2)) SWIG_fail
; 
35934         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
35935         (arg1
)->SetMenu(arg2
); 
35937         wxPyEndAllowThreads(__tstate
); 
35938         if (PyErr_Occurred()) SWIG_fail
; 
35940     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
35947 static PyObject 
*_wrap_MenuItem_SetId(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
35948     PyObject 
*resultobj
; 
35949     wxMenuItem 
*arg1 
= (wxMenuItem 
*) 0 ; 
35951     PyObject 
* obj0 
= 0 ; 
35952     PyObject 
* obj1 
= 0 ; 
35953     char *kwnames
[] = { 
35954         (char *) "self",(char *) "id", NULL 
 
35957     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetId",kwnames
,&obj0
,&obj1
)) goto fail
; 
35958     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION 
| 0); 
35959     if (SWIG_arg_fail(1)) SWIG_fail
; 
35961         arg2 
= (int)(SWIG_As_int(obj1
));  
35962         if (SWIG_arg_fail(2)) SWIG_fail
; 
35965         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
35966         (arg1
)->SetId(arg2
); 
35968         wxPyEndAllowThreads(__tstate
); 
35969         if (PyErr_Occurred()) SWIG_fail
; 
35971     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
35978 static PyObject 
*_wrap_MenuItem_GetId(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
35979     PyObject 
*resultobj
; 
35980     wxMenuItem 
*arg1 
= (wxMenuItem 
*) 0 ; 
35982     PyObject 
* obj0 
= 0 ; 
35983     char *kwnames
[] = { 
35984         (char *) "self", NULL 
 
35987     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetId",kwnames
,&obj0
)) goto fail
; 
35988     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION 
| 0); 
35989     if (SWIG_arg_fail(1)) SWIG_fail
; 
35991         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
35992         result 
= (int)((wxMenuItem 
const *)arg1
)->GetId(); 
35994         wxPyEndAllowThreads(__tstate
); 
35995         if (PyErr_Occurred()) SWIG_fail
; 
35998         resultobj 
= SWIG_From_int((int)(result
));  
36006 static PyObject 
*_wrap_MenuItem_IsSeparator(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
36007     PyObject 
*resultobj
; 
36008     wxMenuItem 
*arg1 
= (wxMenuItem 
*) 0 ; 
36010     PyObject 
* obj0 
= 0 ; 
36011     char *kwnames
[] = { 
36012         (char *) "self", NULL 
 
36015     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsSeparator",kwnames
,&obj0
)) goto fail
; 
36016     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION 
| 0); 
36017     if (SWIG_arg_fail(1)) SWIG_fail
; 
36019         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
36020         result 
= (bool)((wxMenuItem 
const *)arg1
)->IsSeparator(); 
36022         wxPyEndAllowThreads(__tstate
); 
36023         if (PyErr_Occurred()) SWIG_fail
; 
36026         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
36034 static PyObject 
*_wrap_MenuItem_SetText(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
36035     PyObject 
*resultobj
; 
36036     wxMenuItem 
*arg1 
= (wxMenuItem 
*) 0 ; 
36037     wxString 
*arg2 
= 0 ; 
36038     bool temp2 
= false ; 
36039     PyObject 
* obj0 
= 0 ; 
36040     PyObject 
* obj1 
= 0 ; 
36041     char *kwnames
[] = { 
36042         (char *) "self",(char *) "str", NULL 
 
36045     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
; 
36046     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION 
| 0); 
36047     if (SWIG_arg_fail(1)) SWIG_fail
; 
36049         arg2 
= wxString_in_helper(obj1
); 
36050         if (arg2 
== NULL
) SWIG_fail
; 
36054         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
36055         (arg1
)->SetText((wxString 
const &)*arg2
); 
36057         wxPyEndAllowThreads(__tstate
); 
36058         if (PyErr_Occurred()) SWIG_fail
; 
36060     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
36075 static PyObject 
*_wrap_MenuItem_GetLabel(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
36076     PyObject 
*resultobj
; 
36077     wxMenuItem 
*arg1 
= (wxMenuItem 
*) 0 ; 
36079     PyObject 
* obj0 
= 0 ; 
36080     char *kwnames
[] = { 
36081         (char *) "self", NULL 
 
36084     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabel",kwnames
,&obj0
)) goto fail
; 
36085     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION 
| 0); 
36086     if (SWIG_arg_fail(1)) SWIG_fail
; 
36088         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
36089         result 
= ((wxMenuItem 
const *)arg1
)->GetLabel(); 
36091         wxPyEndAllowThreads(__tstate
); 
36092         if (PyErr_Occurred()) SWIG_fail
; 
36096         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
36098         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
36107 static PyObject 
*_wrap_MenuItem_GetText(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
36108     PyObject 
*resultobj
; 
36109     wxMenuItem 
*arg1 
= (wxMenuItem 
*) 0 ; 
36111     PyObject 
* obj0 
= 0 ; 
36112     char *kwnames
[] = { 
36113         (char *) "self", NULL 
 
36116     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetText",kwnames
,&obj0
)) goto fail
; 
36117     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION 
| 0); 
36118     if (SWIG_arg_fail(1)) SWIG_fail
; 
36120         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
36122             wxString 
const &_result_ref 
= ((wxMenuItem 
const *)arg1
)->GetText(); 
36123             result 
= (wxString 
*) &_result_ref
; 
36126         wxPyEndAllowThreads(__tstate
); 
36127         if (PyErr_Occurred()) SWIG_fail
; 
36131         resultobj 
= PyUnicode_FromWideChar(result
->c_str(), result
->Len()); 
36133         resultobj 
= PyString_FromStringAndSize(result
->c_str(), result
->Len()); 
36142 static PyObject 
*_wrap_MenuItem_GetLabelFromText(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
36143     PyObject 
*resultobj
; 
36144     wxString 
*arg1 
= 0 ; 
36146     bool temp1 
= false ; 
36147     PyObject 
* obj0 
= 0 ; 
36148     char *kwnames
[] = { 
36149         (char *) "text", NULL 
 
36152     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabelFromText",kwnames
,&obj0
)) goto fail
; 
36154         arg1 
= wxString_in_helper(obj0
); 
36155         if (arg1 
== NULL
) SWIG_fail
; 
36159         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
36160         result 
= wxMenuItem::GetLabelFromText((wxString 
const &)*arg1
); 
36162         wxPyEndAllowThreads(__tstate
); 
36163         if (PyErr_Occurred()) SWIG_fail
; 
36167         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
36169         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
36186 static PyObject 
*_wrap_MenuItem_GetKind(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
36187     PyObject 
*resultobj
; 
36188     wxMenuItem 
*arg1 
= (wxMenuItem 
*) 0 ; 
36190     PyObject 
* obj0 
= 0 ; 
36191     char *kwnames
[] = { 
36192         (char *) "self", NULL 
 
36195     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetKind",kwnames
,&obj0
)) goto fail
; 
36196     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION 
| 0); 
36197     if (SWIG_arg_fail(1)) SWIG_fail
; 
36199         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
36200         result 
= (wxItemKind
)((wxMenuItem 
const *)arg1
)->GetKind(); 
36202         wxPyEndAllowThreads(__tstate
); 
36203         if (PyErr_Occurred()) SWIG_fail
; 
36205     resultobj 
= SWIG_From_int((result
)); 
36212 static PyObject 
*_wrap_MenuItem_SetKind(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
36213     PyObject 
*resultobj
; 
36214     wxMenuItem 
*arg1 
= (wxMenuItem 
*) 0 ; 
36216     PyObject 
* obj0 
= 0 ; 
36217     PyObject 
* obj1 
= 0 ; 
36218     char *kwnames
[] = { 
36219         (char *) "self",(char *) "kind", NULL 
 
36222     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetKind",kwnames
,&obj0
,&obj1
)) goto fail
; 
36223     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION 
| 0); 
36224     if (SWIG_arg_fail(1)) SWIG_fail
; 
36226         arg2 
= (wxItemKind
)(SWIG_As_int(obj1
));  
36227         if (SWIG_arg_fail(2)) SWIG_fail
; 
36230         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
36231         (arg1
)->SetKind((wxItemKind 
)arg2
); 
36233         wxPyEndAllowThreads(__tstate
); 
36234         if (PyErr_Occurred()) SWIG_fail
; 
36236     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
36243 static PyObject 
*_wrap_MenuItem_SetCheckable(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
36244     PyObject 
*resultobj
; 
36245     wxMenuItem 
*arg1 
= (wxMenuItem 
*) 0 ; 
36247     PyObject 
* obj0 
= 0 ; 
36248     PyObject 
* obj1 
= 0 ; 
36249     char *kwnames
[] = { 
36250         (char *) "self",(char *) "checkable", NULL 
 
36253     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetCheckable",kwnames
,&obj0
,&obj1
)) goto fail
; 
36254     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION 
| 0); 
36255     if (SWIG_arg_fail(1)) SWIG_fail
; 
36257         arg2 
= (bool)(SWIG_As_bool(obj1
));  
36258         if (SWIG_arg_fail(2)) SWIG_fail
; 
36261         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
36262         (arg1
)->SetCheckable(arg2
); 
36264         wxPyEndAllowThreads(__tstate
); 
36265         if (PyErr_Occurred()) SWIG_fail
; 
36267     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
36274 static PyObject 
*_wrap_MenuItem_IsCheckable(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
36275     PyObject 
*resultobj
; 
36276     wxMenuItem 
*arg1 
= (wxMenuItem 
*) 0 ; 
36278     PyObject 
* obj0 
= 0 ; 
36279     char *kwnames
[] = { 
36280         (char *) "self", NULL 
 
36283     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsCheckable",kwnames
,&obj0
)) goto fail
; 
36284     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION 
| 0); 
36285     if (SWIG_arg_fail(1)) SWIG_fail
; 
36287         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
36288         result 
= (bool)((wxMenuItem 
const *)arg1
)->IsCheckable(); 
36290         wxPyEndAllowThreads(__tstate
); 
36291         if (PyErr_Occurred()) SWIG_fail
; 
36294         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
36302 static PyObject 
*_wrap_MenuItem_IsSubMenu(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
36303     PyObject 
*resultobj
; 
36304     wxMenuItem 
*arg1 
= (wxMenuItem 
*) 0 ; 
36306     PyObject 
* obj0 
= 0 ; 
36307     char *kwnames
[] = { 
36308         (char *) "self", NULL 
 
36311     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsSubMenu",kwnames
,&obj0
)) goto fail
; 
36312     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION 
| 0); 
36313     if (SWIG_arg_fail(1)) SWIG_fail
; 
36315         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
36316         result 
= (bool)((wxMenuItem 
const *)arg1
)->IsSubMenu(); 
36318         wxPyEndAllowThreads(__tstate
); 
36319         if (PyErr_Occurred()) SWIG_fail
; 
36322         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
36330 static PyObject 
*_wrap_MenuItem_SetSubMenu(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
36331     PyObject 
*resultobj
; 
36332     wxMenuItem 
*arg1 
= (wxMenuItem 
*) 0 ; 
36333     wxMenu 
*arg2 
= (wxMenu 
*) 0 ; 
36334     PyObject 
* obj0 
= 0 ; 
36335     PyObject 
* obj1 
= 0 ; 
36336     char *kwnames
[] = { 
36337         (char *) "self",(char *) "menu", NULL 
 
36340     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetSubMenu",kwnames
,&obj0
,&obj1
)) goto fail
; 
36341     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION 
| 0); 
36342     if (SWIG_arg_fail(1)) SWIG_fail
; 
36343     SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION 
| 0); 
36344     if (SWIG_arg_fail(2)) SWIG_fail
; 
36346         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
36347         (arg1
)->SetSubMenu(arg2
); 
36349         wxPyEndAllowThreads(__tstate
); 
36350         if (PyErr_Occurred()) SWIG_fail
; 
36352     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
36359 static PyObject 
*_wrap_MenuItem_GetSubMenu(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
36360     PyObject 
*resultobj
; 
36361     wxMenuItem 
*arg1 
= (wxMenuItem 
*) 0 ; 
36363     PyObject 
* obj0 
= 0 ; 
36364     char *kwnames
[] = { 
36365         (char *) "self", NULL 
 
36368     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetSubMenu",kwnames
,&obj0
)) goto fail
; 
36369     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION 
| 0); 
36370     if (SWIG_arg_fail(1)) SWIG_fail
; 
36372         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
36373         result 
= (wxMenu 
*)((wxMenuItem 
const *)arg1
)->GetSubMenu(); 
36375         wxPyEndAllowThreads(__tstate
); 
36376         if (PyErr_Occurred()) SWIG_fail
; 
36379         resultobj 
= wxPyMake_wxObject(result
, 0);  
36387 static PyObject 
*_wrap_MenuItem_Enable(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
36388     PyObject 
*resultobj
; 
36389     wxMenuItem 
*arg1 
= (wxMenuItem 
*) 0 ; 
36390     bool arg2 
= (bool) true ; 
36391     PyObject 
* obj0 
= 0 ; 
36392     PyObject 
* obj1 
= 0 ; 
36393     char *kwnames
[] = { 
36394         (char *) "self",(char *) "enable", NULL 
 
36397     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Enable",kwnames
,&obj0
,&obj1
)) goto fail
; 
36398     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION 
| 0); 
36399     if (SWIG_arg_fail(1)) SWIG_fail
; 
36402             arg2 
= (bool)(SWIG_As_bool(obj1
));  
36403             if (SWIG_arg_fail(2)) SWIG_fail
; 
36407         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
36408         (arg1
)->Enable(arg2
); 
36410         wxPyEndAllowThreads(__tstate
); 
36411         if (PyErr_Occurred()) SWIG_fail
; 
36413     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
36420 static PyObject 
*_wrap_MenuItem_IsEnabled(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
36421     PyObject 
*resultobj
; 
36422     wxMenuItem 
*arg1 
= (wxMenuItem 
*) 0 ; 
36424     PyObject 
* obj0 
= 0 ; 
36425     char *kwnames
[] = { 
36426         (char *) "self", NULL 
 
36429     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsEnabled",kwnames
,&obj0
)) goto fail
; 
36430     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION 
| 0); 
36431     if (SWIG_arg_fail(1)) SWIG_fail
; 
36433         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
36434         result 
= (bool)((wxMenuItem 
const *)arg1
)->IsEnabled(); 
36436         wxPyEndAllowThreads(__tstate
); 
36437         if (PyErr_Occurred()) SWIG_fail
; 
36440         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
36448 static PyObject 
*_wrap_MenuItem_Check(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
36449     PyObject 
*resultobj
; 
36450     wxMenuItem 
*arg1 
= (wxMenuItem 
*) 0 ; 
36451     bool arg2 
= (bool) true ; 
36452     PyObject 
* obj0 
= 0 ; 
36453     PyObject 
* obj1 
= 0 ; 
36454     char *kwnames
[] = { 
36455         (char *) "self",(char *) "check", NULL 
 
36458     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Check",kwnames
,&obj0
,&obj1
)) goto fail
; 
36459     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION 
| 0); 
36460     if (SWIG_arg_fail(1)) SWIG_fail
; 
36463             arg2 
= (bool)(SWIG_As_bool(obj1
));  
36464             if (SWIG_arg_fail(2)) SWIG_fail
; 
36468         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
36469         (arg1
)->Check(arg2
); 
36471         wxPyEndAllowThreads(__tstate
); 
36472         if (PyErr_Occurred()) SWIG_fail
; 
36474     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
36481 static PyObject 
*_wrap_MenuItem_IsChecked(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
36482     PyObject 
*resultobj
; 
36483     wxMenuItem 
*arg1 
= (wxMenuItem 
*) 0 ; 
36485     PyObject 
* obj0 
= 0 ; 
36486     char *kwnames
[] = { 
36487         (char *) "self", NULL 
 
36490     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsChecked",kwnames
,&obj0
)) goto fail
; 
36491     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION 
| 0); 
36492     if (SWIG_arg_fail(1)) SWIG_fail
; 
36494         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
36495         result 
= (bool)((wxMenuItem 
const *)arg1
)->IsChecked(); 
36497         wxPyEndAllowThreads(__tstate
); 
36498         if (PyErr_Occurred()) SWIG_fail
; 
36501         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
36509 static PyObject 
*_wrap_MenuItem_Toggle(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
36510     PyObject 
*resultobj
; 
36511     wxMenuItem 
*arg1 
= (wxMenuItem 
*) 0 ; 
36512     PyObject 
* obj0 
= 0 ; 
36513     char *kwnames
[] = { 
36514         (char *) "self", NULL 
 
36517     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_Toggle",kwnames
,&obj0
)) goto fail
; 
36518     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION 
| 0); 
36519     if (SWIG_arg_fail(1)) SWIG_fail
; 
36521         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
36524         wxPyEndAllowThreads(__tstate
); 
36525         if (PyErr_Occurred()) SWIG_fail
; 
36527     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
36534 static PyObject 
*_wrap_MenuItem_SetHelp(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
36535     PyObject 
*resultobj
; 
36536     wxMenuItem 
*arg1 
= (wxMenuItem 
*) 0 ; 
36537     wxString 
*arg2 
= 0 ; 
36538     bool temp2 
= false ; 
36539     PyObject 
* obj0 
= 0 ; 
36540     PyObject 
* obj1 
= 0 ; 
36541     char *kwnames
[] = { 
36542         (char *) "self",(char *) "str", NULL 
 
36545     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetHelp",kwnames
,&obj0
,&obj1
)) goto fail
; 
36546     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION 
| 0); 
36547     if (SWIG_arg_fail(1)) SWIG_fail
; 
36549         arg2 
= wxString_in_helper(obj1
); 
36550         if (arg2 
== NULL
) SWIG_fail
; 
36554         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
36555         (arg1
)->SetHelp((wxString 
const &)*arg2
); 
36557         wxPyEndAllowThreads(__tstate
); 
36558         if (PyErr_Occurred()) SWIG_fail
; 
36560     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
36575 static PyObject 
*_wrap_MenuItem_GetHelp(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
36576     PyObject 
*resultobj
; 
36577     wxMenuItem 
*arg1 
= (wxMenuItem 
*) 0 ; 
36579     PyObject 
* obj0 
= 0 ; 
36580     char *kwnames
[] = { 
36581         (char *) "self", NULL 
 
36584     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetHelp",kwnames
,&obj0
)) goto fail
; 
36585     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION 
| 0); 
36586     if (SWIG_arg_fail(1)) SWIG_fail
; 
36588         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
36590             wxString 
const &_result_ref 
= ((wxMenuItem 
const *)arg1
)->GetHelp(); 
36591             result 
= (wxString 
*) &_result_ref
; 
36594         wxPyEndAllowThreads(__tstate
); 
36595         if (PyErr_Occurred()) SWIG_fail
; 
36599         resultobj 
= PyUnicode_FromWideChar(result
->c_str(), result
->Len()); 
36601         resultobj 
= PyString_FromStringAndSize(result
->c_str(), result
->Len()); 
36610 static PyObject 
*_wrap_MenuItem_GetAccel(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
36611     PyObject 
*resultobj
; 
36612     wxMenuItem 
*arg1 
= (wxMenuItem 
*) 0 ; 
36613     wxAcceleratorEntry 
*result
; 
36614     PyObject 
* obj0 
= 0 ; 
36615     char *kwnames
[] = { 
36616         (char *) "self", NULL 
 
36619     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetAccel",kwnames
,&obj0
)) goto fail
; 
36620     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION 
| 0); 
36621     if (SWIG_arg_fail(1)) SWIG_fail
; 
36623         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
36624         result 
= (wxAcceleratorEntry 
*)((wxMenuItem 
const *)arg1
)->GetAccel(); 
36626         wxPyEndAllowThreads(__tstate
); 
36627         if (PyErr_Occurred()) SWIG_fail
; 
36629     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 0); 
36636 static PyObject 
*_wrap_MenuItem_SetAccel(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
36637     PyObject 
*resultobj
; 
36638     wxMenuItem 
*arg1 
= (wxMenuItem 
*) 0 ; 
36639     wxAcceleratorEntry 
*arg2 
= (wxAcceleratorEntry 
*) 0 ; 
36640     PyObject 
* obj0 
= 0 ; 
36641     PyObject 
* obj1 
= 0 ; 
36642     char *kwnames
[] = { 
36643         (char *) "self",(char *) "accel", NULL 
 
36646     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetAccel",kwnames
,&obj0
,&obj1
)) goto fail
; 
36647     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION 
| 0); 
36648     if (SWIG_arg_fail(1)) SWIG_fail
; 
36649     SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION 
| 0); 
36650     if (SWIG_arg_fail(2)) SWIG_fail
; 
36652         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
36653         (arg1
)->SetAccel(arg2
); 
36655         wxPyEndAllowThreads(__tstate
); 
36656         if (PyErr_Occurred()) SWIG_fail
; 
36658     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
36665 static PyObject 
*_wrap_MenuItem_SetFont(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
36666     PyObject 
*resultobj
; 
36667     wxMenuItem 
*arg1 
= (wxMenuItem 
*) 0 ; 
36669     PyObject 
* obj0 
= 0 ; 
36670     PyObject 
* obj1 
= 0 ; 
36671     char *kwnames
[] = { 
36672         (char *) "self",(char *) "font", NULL 
 
36675     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
; 
36676     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION 
| 0); 
36677     if (SWIG_arg_fail(1)) SWIG_fail
; 
36679         SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION 
| 0); 
36680         if (SWIG_arg_fail(2)) SWIG_fail
; 
36681         if (arg2 
== NULL
) { 
36682             SWIG_null_ref("wxFont"); 
36684         if (SWIG_arg_fail(2)) SWIG_fail
; 
36687         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
36688         wxMenuItem_SetFont(arg1
,(wxFont 
const &)*arg2
); 
36690         wxPyEndAllowThreads(__tstate
); 
36691         if (PyErr_Occurred()) SWIG_fail
; 
36693     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
36700 static PyObject 
*_wrap_MenuItem_GetFont(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
36701     PyObject 
*resultobj
; 
36702     wxMenuItem 
*arg1 
= (wxMenuItem 
*) 0 ; 
36704     PyObject 
* obj0 
= 0 ; 
36705     char *kwnames
[] = { 
36706         (char *) "self", NULL 
 
36709     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetFont",kwnames
,&obj0
)) goto fail
; 
36710     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION 
| 0); 
36711     if (SWIG_arg_fail(1)) SWIG_fail
; 
36713         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
36714         result 
= wxMenuItem_GetFont(arg1
); 
36716         wxPyEndAllowThreads(__tstate
); 
36717         if (PyErr_Occurred()) SWIG_fail
; 
36720         wxFont 
* resultptr
; 
36721         resultptr 
= new wxFont((wxFont 
&)(result
)); 
36722         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1); 
36730 static PyObject 
*_wrap_MenuItem_SetTextColour(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
36731     PyObject 
*resultobj
; 
36732     wxMenuItem 
*arg1 
= (wxMenuItem 
*) 0 ; 
36733     wxColour 
*arg2 
= 0 ; 
36735     PyObject 
* obj0 
= 0 ; 
36736     PyObject 
* obj1 
= 0 ; 
36737     char *kwnames
[] = { 
36738         (char *) "self",(char *) "colText", NULL 
 
36741     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
; 
36742     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION 
| 0); 
36743     if (SWIG_arg_fail(1)) SWIG_fail
; 
36746         if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
36749         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
36750         wxMenuItem_SetTextColour(arg1
,(wxColour 
const &)*arg2
); 
36752         wxPyEndAllowThreads(__tstate
); 
36753         if (PyErr_Occurred()) SWIG_fail
; 
36755     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
36762 static PyObject 
*_wrap_MenuItem_GetTextColour(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
36763     PyObject 
*resultobj
; 
36764     wxMenuItem 
*arg1 
= (wxMenuItem 
*) 0 ; 
36766     PyObject 
* obj0 
= 0 ; 
36767     char *kwnames
[] = { 
36768         (char *) "self", NULL 
 
36771     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetTextColour",kwnames
,&obj0
)) goto fail
; 
36772     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION 
| 0); 
36773     if (SWIG_arg_fail(1)) SWIG_fail
; 
36775         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
36776         result 
= wxMenuItem_GetTextColour(arg1
); 
36778         wxPyEndAllowThreads(__tstate
); 
36779         if (PyErr_Occurred()) SWIG_fail
; 
36782         wxColour 
* resultptr
; 
36783         resultptr 
= new wxColour((wxColour 
&)(result
)); 
36784         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1); 
36792 static PyObject 
*_wrap_MenuItem_SetBackgroundColour(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
36793     PyObject 
*resultobj
; 
36794     wxMenuItem 
*arg1 
= (wxMenuItem 
*) 0 ; 
36795     wxColour 
*arg2 
= 0 ; 
36797     PyObject 
* obj0 
= 0 ; 
36798     PyObject 
* obj1 
= 0 ; 
36799     char *kwnames
[] = { 
36800         (char *) "self",(char *) "colBack", NULL 
 
36803     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
; 
36804     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION 
| 0); 
36805     if (SWIG_arg_fail(1)) SWIG_fail
; 
36808         if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
36811         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
36812         wxMenuItem_SetBackgroundColour(arg1
,(wxColour 
const &)*arg2
); 
36814         wxPyEndAllowThreads(__tstate
); 
36815         if (PyErr_Occurred()) SWIG_fail
; 
36817     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
36824 static PyObject 
*_wrap_MenuItem_GetBackgroundColour(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
36825     PyObject 
*resultobj
; 
36826     wxMenuItem 
*arg1 
= (wxMenuItem 
*) 0 ; 
36828     PyObject 
* obj0 
= 0 ; 
36829     char *kwnames
[] = { 
36830         (char *) "self", NULL 
 
36833     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetBackgroundColour",kwnames
,&obj0
)) goto fail
; 
36834     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION 
| 0); 
36835     if (SWIG_arg_fail(1)) SWIG_fail
; 
36837         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
36838         result 
= wxMenuItem_GetBackgroundColour(arg1
); 
36840         wxPyEndAllowThreads(__tstate
); 
36841         if (PyErr_Occurred()) SWIG_fail
; 
36844         wxColour 
* resultptr
; 
36845         resultptr 
= new wxColour((wxColour 
&)(result
)); 
36846         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1); 
36854 static PyObject 
*_wrap_MenuItem_SetBitmaps(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
36855     PyObject 
*resultobj
; 
36856     wxMenuItem 
*arg1 
= (wxMenuItem 
*) 0 ; 
36857     wxBitmap 
*arg2 
= 0 ; 
36858     wxBitmap 
const &arg3_defvalue 
= wxNullBitmap 
; 
36859     wxBitmap 
*arg3 
= (wxBitmap 
*) &arg3_defvalue 
; 
36860     PyObject 
* obj0 
= 0 ; 
36861     PyObject 
* obj1 
= 0 ; 
36862     PyObject 
* obj2 
= 0 ; 
36863     char *kwnames
[] = { 
36864         (char *) "self",(char *) "bmpChecked",(char *) "bmpUnchecked", NULL 
 
36867     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MenuItem_SetBitmaps",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
36868     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION 
| 0); 
36869     if (SWIG_arg_fail(1)) SWIG_fail
; 
36871         SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION 
| 0); 
36872         if (SWIG_arg_fail(2)) SWIG_fail
; 
36873         if (arg2 
== NULL
) { 
36874             SWIG_null_ref("wxBitmap"); 
36876         if (SWIG_arg_fail(2)) SWIG_fail
; 
36880             SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION 
| 0); 
36881             if (SWIG_arg_fail(3)) SWIG_fail
; 
36882             if (arg3 
== NULL
) { 
36883                 SWIG_null_ref("wxBitmap"); 
36885             if (SWIG_arg_fail(3)) SWIG_fail
; 
36889         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
36890         wxMenuItem_SetBitmaps(arg1
,(wxBitmap 
const &)*arg2
,(wxBitmap 
const &)*arg3
); 
36892         wxPyEndAllowThreads(__tstate
); 
36893         if (PyErr_Occurred()) SWIG_fail
; 
36895     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
36902 static PyObject 
*_wrap_MenuItem_SetDisabledBitmap(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
36903     PyObject 
*resultobj
; 
36904     wxMenuItem 
*arg1 
= (wxMenuItem 
*) 0 ; 
36905     wxBitmap 
*arg2 
= 0 ; 
36906     PyObject 
* obj0 
= 0 ; 
36907     PyObject 
* obj1 
= 0 ; 
36908     char *kwnames
[] = { 
36909         (char *) "self",(char *) "bmpDisabled", NULL 
 
36912     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) goto fail
; 
36913     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION 
| 0); 
36914     if (SWIG_arg_fail(1)) SWIG_fail
; 
36916         SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION 
| 0); 
36917         if (SWIG_arg_fail(2)) SWIG_fail
; 
36918         if (arg2 
== NULL
) { 
36919             SWIG_null_ref("wxBitmap"); 
36921         if (SWIG_arg_fail(2)) SWIG_fail
; 
36924         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
36925         wxMenuItem_SetDisabledBitmap(arg1
,(wxBitmap 
const &)*arg2
); 
36927         wxPyEndAllowThreads(__tstate
); 
36928         if (PyErr_Occurred()) SWIG_fail
; 
36930     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
36937 static PyObject 
*_wrap_MenuItem_GetDisabledBitmap(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
36938     PyObject 
*resultobj
; 
36939     wxMenuItem 
*arg1 
= (wxMenuItem 
*) 0 ; 
36941     PyObject 
* obj0 
= 0 ; 
36942     char *kwnames
[] = { 
36943         (char *) "self", NULL 
 
36946     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetDisabledBitmap",kwnames
,&obj0
)) goto fail
; 
36947     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION 
| 0); 
36948     if (SWIG_arg_fail(1)) SWIG_fail
; 
36950         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
36952             wxBitmap 
const &_result_ref 
= wxMenuItem_GetDisabledBitmap((wxMenuItem 
const *)arg1
); 
36953             result 
= (wxBitmap 
*) &_result_ref
; 
36956         wxPyEndAllowThreads(__tstate
); 
36957         if (PyErr_Occurred()) SWIG_fail
; 
36960         wxBitmap
* resultptr 
= new wxBitmap(*result
); 
36961         resultobj 
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1); 
36969 static PyObject 
*_wrap_MenuItem_SetMarginWidth(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
36970     PyObject 
*resultobj
; 
36971     wxMenuItem 
*arg1 
= (wxMenuItem 
*) 0 ; 
36973     PyObject 
* obj0 
= 0 ; 
36974     PyObject 
* obj1 
= 0 ; 
36975     char *kwnames
[] = { 
36976         (char *) "self",(char *) "nWidth", NULL 
 
36979     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetMarginWidth",kwnames
,&obj0
,&obj1
)) goto fail
; 
36980     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION 
| 0); 
36981     if (SWIG_arg_fail(1)) SWIG_fail
; 
36983         arg2 
= (int)(SWIG_As_int(obj1
));  
36984         if (SWIG_arg_fail(2)) SWIG_fail
; 
36987         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
36988         wxMenuItem_SetMarginWidth(arg1
,arg2
); 
36990         wxPyEndAllowThreads(__tstate
); 
36991         if (PyErr_Occurred()) SWIG_fail
; 
36993     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
37000 static PyObject 
*_wrap_MenuItem_GetMarginWidth(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
37001     PyObject 
*resultobj
; 
37002     wxMenuItem 
*arg1 
= (wxMenuItem 
*) 0 ; 
37004     PyObject 
* obj0 
= 0 ; 
37005     char *kwnames
[] = { 
37006         (char *) "self", NULL 
 
37009     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetMarginWidth",kwnames
,&obj0
)) goto fail
; 
37010     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION 
| 0); 
37011     if (SWIG_arg_fail(1)) SWIG_fail
; 
37013         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
37014         result 
= (int)wxMenuItem_GetMarginWidth(arg1
); 
37016         wxPyEndAllowThreads(__tstate
); 
37017         if (PyErr_Occurred()) SWIG_fail
; 
37020         resultobj 
= SWIG_From_int((int)(result
));  
37028 static PyObject 
*_wrap_MenuItem_GetDefaultMarginWidth(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
37029     PyObject 
*resultobj
; 
37031     char *kwnames
[] = { 
37035     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MenuItem_GetDefaultMarginWidth",kwnames
)) goto fail
; 
37037         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
37038         result 
= (int)MenuItem_GetDefaultMarginWidth(); 
37040         wxPyEndAllowThreads(__tstate
); 
37041         if (PyErr_Occurred()) SWIG_fail
; 
37044         resultobj 
= SWIG_From_int((int)(result
));  
37052 static PyObject 
*_wrap_MenuItem_IsOwnerDrawn(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
37053     PyObject 
*resultobj
; 
37054     wxMenuItem 
*arg1 
= (wxMenuItem 
*) 0 ; 
37056     PyObject 
* obj0 
= 0 ; 
37057     char *kwnames
[] = { 
37058         (char *) "self", NULL 
 
37061     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsOwnerDrawn",kwnames
,&obj0
)) goto fail
; 
37062     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION 
| 0); 
37063     if (SWIG_arg_fail(1)) SWIG_fail
; 
37065         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
37066         result 
= (bool)wxMenuItem_IsOwnerDrawn(arg1
); 
37068         wxPyEndAllowThreads(__tstate
); 
37069         if (PyErr_Occurred()) SWIG_fail
; 
37072         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
37080 static PyObject 
*_wrap_MenuItem_SetOwnerDrawn(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
37081     PyObject 
*resultobj
; 
37082     wxMenuItem 
*arg1 
= (wxMenuItem 
*) 0 ; 
37083     bool arg2 
= (bool) true ; 
37084     PyObject 
* obj0 
= 0 ; 
37085     PyObject 
* obj1 
= 0 ; 
37086     char *kwnames
[] = { 
37087         (char *) "self",(char *) "ownerDrawn", NULL 
 
37090     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_SetOwnerDrawn",kwnames
,&obj0
,&obj1
)) goto fail
; 
37091     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION 
| 0); 
37092     if (SWIG_arg_fail(1)) SWIG_fail
; 
37095             arg2 
= (bool)(SWIG_As_bool(obj1
));  
37096             if (SWIG_arg_fail(2)) SWIG_fail
; 
37100         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
37101         wxMenuItem_SetOwnerDrawn(arg1
,arg2
); 
37103         wxPyEndAllowThreads(__tstate
); 
37104         if (PyErr_Occurred()) SWIG_fail
; 
37106     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
37113 static PyObject 
*_wrap_MenuItem_ResetOwnerDrawn(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
37114     PyObject 
*resultobj
; 
37115     wxMenuItem 
*arg1 
= (wxMenuItem 
*) 0 ; 
37116     PyObject 
* obj0 
= 0 ; 
37117     char *kwnames
[] = { 
37118         (char *) "self", NULL 
 
37121     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_ResetOwnerDrawn",kwnames
,&obj0
)) goto fail
; 
37122     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION 
| 0); 
37123     if (SWIG_arg_fail(1)) SWIG_fail
; 
37125         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
37126         wxMenuItem_ResetOwnerDrawn(arg1
); 
37128         wxPyEndAllowThreads(__tstate
); 
37129         if (PyErr_Occurred()) SWIG_fail
; 
37131     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
37138 static PyObject 
*_wrap_MenuItem_SetBitmap(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
37139     PyObject 
*resultobj
; 
37140     wxMenuItem 
*arg1 
= (wxMenuItem 
*) 0 ; 
37141     wxBitmap 
*arg2 
= 0 ; 
37142     PyObject 
* obj0 
= 0 ; 
37143     PyObject 
* obj1 
= 0 ; 
37144     char *kwnames
[] = { 
37145         (char *) "self",(char *) "bitmap", NULL 
 
37148     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
; 
37149     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION 
| 0); 
37150     if (SWIG_arg_fail(1)) SWIG_fail
; 
37152         SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION 
| 0); 
37153         if (SWIG_arg_fail(2)) SWIG_fail
; 
37154         if (arg2 
== NULL
) { 
37155             SWIG_null_ref("wxBitmap"); 
37157         if (SWIG_arg_fail(2)) SWIG_fail
; 
37160         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
37161         (arg1
)->SetBitmap((wxBitmap 
const &)*arg2
); 
37163         wxPyEndAllowThreads(__tstate
); 
37164         if (PyErr_Occurred()) SWIG_fail
; 
37166     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
37173 static PyObject 
*_wrap_MenuItem_GetBitmap(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
37174     PyObject 
*resultobj
; 
37175     wxMenuItem 
*arg1 
= (wxMenuItem 
*) 0 ; 
37177     PyObject 
* obj0 
= 0 ; 
37178     char *kwnames
[] = { 
37179         (char *) "self", NULL 
 
37182     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetBitmap",kwnames
,&obj0
)) goto fail
; 
37183     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION 
| 0); 
37184     if (SWIG_arg_fail(1)) SWIG_fail
; 
37186         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
37188             wxBitmap 
const &_result_ref 
= (arg1
)->GetBitmap(); 
37189             result 
= (wxBitmap 
*) &_result_ref
; 
37192         wxPyEndAllowThreads(__tstate
); 
37193         if (PyErr_Occurred()) SWIG_fail
; 
37196         wxBitmap
* resultptr 
= new wxBitmap(*result
); 
37197         resultobj 
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1); 
37205 static PyObject 
* MenuItem_swigregister(PyObject 
*, PyObject 
*args
) { 
37207     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
37208     SWIG_TypeClientData(SWIGTYPE_p_wxMenuItem
, obj
); 
37210     return Py_BuildValue((char *)""); 
37212 static int _wrap_ControlNameStr_set(PyObject 
*) { 
37213     PyErr_SetString(PyExc_TypeError
,"Variable ControlNameStr is read-only."); 
37218 static PyObject 
*_wrap_ControlNameStr_get(void) { 
37223         pyobj 
= PyUnicode_FromWideChar((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len()); 
37225         pyobj 
= PyString_FromStringAndSize((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len()); 
37232 static PyObject 
*_wrap_new_Control(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
37233     PyObject 
*resultobj
; 
37234     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
37235     int arg2 
= (int) -1 ; 
37236     wxPoint 
const &arg3_defvalue 
= wxDefaultPosition 
; 
37237     wxPoint 
*arg3 
= (wxPoint 
*) &arg3_defvalue 
; 
37238     wxSize 
const &arg4_defvalue 
= wxDefaultSize 
; 
37239     wxSize 
*arg4 
= (wxSize 
*) &arg4_defvalue 
; 
37240     long arg5 
= (long) 0 ; 
37241     wxValidator 
const &arg6_defvalue 
= wxDefaultValidator 
; 
37242     wxValidator 
*arg6 
= (wxValidator 
*) &arg6_defvalue 
; 
37243     wxString 
const &arg7_defvalue 
= wxPyControlNameStr 
; 
37244     wxString 
*arg7 
= (wxString 
*) &arg7_defvalue 
; 
37248     bool temp7 
= false ; 
37249     PyObject 
* obj0 
= 0 ; 
37250     PyObject 
* obj1 
= 0 ; 
37251     PyObject 
* obj2 
= 0 ; 
37252     PyObject 
* obj3 
= 0 ; 
37253     PyObject 
* obj4 
= 0 ; 
37254     PyObject 
* obj5 
= 0 ; 
37255     PyObject 
* obj6 
= 0 ; 
37256     char *kwnames
[] = { 
37257         (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL 
 
37260     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Control",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
; 
37261     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
37262     if (SWIG_arg_fail(1)) SWIG_fail
; 
37265             arg2 
= (int)(SWIG_As_int(obj1
));  
37266             if (SWIG_arg_fail(2)) SWIG_fail
; 
37272             if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
; 
37278             if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
; 
37283             arg5 
= (long)(SWIG_As_long(obj4
));  
37284             if (SWIG_arg_fail(5)) SWIG_fail
; 
37289             SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION 
| 0); 
37290             if (SWIG_arg_fail(6)) SWIG_fail
; 
37291             if (arg6 
== NULL
) { 
37292                 SWIG_null_ref("wxValidator"); 
37294             if (SWIG_arg_fail(6)) SWIG_fail
; 
37299             arg7 
= wxString_in_helper(obj6
); 
37300             if (arg7 
== NULL
) SWIG_fail
; 
37305         if (!wxPyCheckForApp()) SWIG_fail
; 
37306         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
37307         result 
= (wxControl 
*)new wxControl(arg1
,arg2
,(wxPoint 
const &)*arg3
,(wxSize 
const &)*arg4
,arg5
,(wxValidator 
const &)*arg6
,(wxString 
const &)*arg7
); 
37309         wxPyEndAllowThreads(__tstate
); 
37310         if (PyErr_Occurred()) SWIG_fail
; 
37312     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxControl
, 1); 
37327 static PyObject 
*_wrap_new_PreControl(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
37328     PyObject 
*resultobj
; 
37330     char *kwnames
[] = { 
37334     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreControl",kwnames
)) goto fail
; 
37336         if (!wxPyCheckForApp()) SWIG_fail
; 
37337         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
37338         result 
= (wxControl 
*)new wxControl(); 
37340         wxPyEndAllowThreads(__tstate
); 
37341         if (PyErr_Occurred()) SWIG_fail
; 
37343     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxControl
, 1); 
37350 static PyObject 
*_wrap_Control_Create(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
37351     PyObject 
*resultobj
; 
37352     wxControl 
*arg1 
= (wxControl 
*) 0 ; 
37353     wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
37354     int arg3 
= (int) -1 ; 
37355     wxPoint 
const &arg4_defvalue 
= wxDefaultPosition 
; 
37356     wxPoint 
*arg4 
= (wxPoint 
*) &arg4_defvalue 
; 
37357     wxSize 
const &arg5_defvalue 
= wxDefaultSize 
; 
37358     wxSize 
*arg5 
= (wxSize 
*) &arg5_defvalue 
; 
37359     long arg6 
= (long) 0 ; 
37360     wxValidator 
const &arg7_defvalue 
= wxDefaultValidator 
; 
37361     wxValidator 
*arg7 
= (wxValidator 
*) &arg7_defvalue 
; 
37362     wxString 
const &arg8_defvalue 
= wxPyControlNameStr 
; 
37363     wxString 
*arg8 
= (wxString 
*) &arg8_defvalue 
; 
37367     bool temp8 
= false ; 
37368     PyObject 
* obj0 
= 0 ; 
37369     PyObject 
* obj1 
= 0 ; 
37370     PyObject 
* obj2 
= 0 ; 
37371     PyObject 
* obj3 
= 0 ; 
37372     PyObject 
* obj4 
= 0 ; 
37373     PyObject 
* obj5 
= 0 ; 
37374     PyObject 
* obj6 
= 0 ; 
37375     PyObject 
* obj7 
= 0 ; 
37376     char *kwnames
[] = { 
37377         (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL 
 
37380     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Control_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
; 
37381     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION 
| 0); 
37382     if (SWIG_arg_fail(1)) SWIG_fail
; 
37383     SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
37384     if (SWIG_arg_fail(2)) SWIG_fail
; 
37387             arg3 
= (int)(SWIG_As_int(obj2
));  
37388             if (SWIG_arg_fail(3)) SWIG_fail
; 
37394             if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
; 
37400             if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
; 
37405             arg6 
= (long)(SWIG_As_long(obj5
));  
37406             if (SWIG_arg_fail(6)) SWIG_fail
; 
37411             SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION 
| 0); 
37412             if (SWIG_arg_fail(7)) SWIG_fail
; 
37413             if (arg7 
== NULL
) { 
37414                 SWIG_null_ref("wxValidator"); 
37416             if (SWIG_arg_fail(7)) SWIG_fail
; 
37421             arg8 
= wxString_in_helper(obj7
); 
37422             if (arg8 
== NULL
) SWIG_fail
; 
37427         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
37428         result 
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint 
const &)*arg4
,(wxSize 
const &)*arg5
,arg6
,(wxValidator 
const &)*arg7
,(wxString 
const &)*arg8
); 
37430         wxPyEndAllowThreads(__tstate
); 
37431         if (PyErr_Occurred()) SWIG_fail
; 
37434         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
37450 static PyObject 
*_wrap_Control_Command(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
37451     PyObject 
*resultobj
; 
37452     wxControl 
*arg1 
= (wxControl 
*) 0 ; 
37453     wxCommandEvent 
*arg2 
= 0 ; 
37454     PyObject 
* obj0 
= 0 ; 
37455     PyObject 
* obj1 
= 0 ; 
37456     char *kwnames
[] = { 
37457         (char *) "self",(char *) "event", NULL 
 
37460     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_Command",kwnames
,&obj0
,&obj1
)) goto fail
; 
37461     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION 
| 0); 
37462     if (SWIG_arg_fail(1)) SWIG_fail
; 
37464         SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
37465         if (SWIG_arg_fail(2)) SWIG_fail
; 
37466         if (arg2 
== NULL
) { 
37467             SWIG_null_ref("wxCommandEvent"); 
37469         if (SWIG_arg_fail(2)) SWIG_fail
; 
37472         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
37473         (arg1
)->Command(*arg2
); 
37475         wxPyEndAllowThreads(__tstate
); 
37476         if (PyErr_Occurred()) SWIG_fail
; 
37478     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
37485 static PyObject 
*_wrap_Control_GetLabel(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
37486     PyObject 
*resultobj
; 
37487     wxControl 
*arg1 
= (wxControl 
*) 0 ; 
37489     PyObject 
* obj0 
= 0 ; 
37490     char *kwnames
[] = { 
37491         (char *) "self", NULL 
 
37494     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Control_GetLabel",kwnames
,&obj0
)) goto fail
; 
37495     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION 
| 0); 
37496     if (SWIG_arg_fail(1)) SWIG_fail
; 
37498         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
37499         result 
= (arg1
)->GetLabel(); 
37501         wxPyEndAllowThreads(__tstate
); 
37502         if (PyErr_Occurred()) SWIG_fail
; 
37506         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
37508         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
37517 static PyObject 
*_wrap_Control_SetLabel(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
37518     PyObject 
*resultobj
; 
37519     wxControl 
*arg1 
= (wxControl 
*) 0 ; 
37520     wxString 
*arg2 
= 0 ; 
37521     bool temp2 
= false ; 
37522     PyObject 
* obj0 
= 0 ; 
37523     PyObject 
* obj1 
= 0 ; 
37524     char *kwnames
[] = { 
37525         (char *) "self",(char *) "label", NULL 
 
37528     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
; 
37529     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION 
| 0); 
37530     if (SWIG_arg_fail(1)) SWIG_fail
; 
37532         arg2 
= wxString_in_helper(obj1
); 
37533         if (arg2 
== NULL
) SWIG_fail
; 
37537         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
37538         (arg1
)->SetLabel((wxString 
const &)*arg2
); 
37540         wxPyEndAllowThreads(__tstate
); 
37541         if (PyErr_Occurred()) SWIG_fail
; 
37543     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
37558 static PyObject 
*_wrap_Control_GetClassDefaultAttributes(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
37559     PyObject 
*resultobj
; 
37560     wxWindowVariant arg1 
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL 
; 
37561     wxVisualAttributes result
; 
37562     PyObject 
* obj0 
= 0 ; 
37563     char *kwnames
[] = { 
37564         (char *) "variant", NULL 
 
37567     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Control_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
; 
37570             arg1 
= (wxWindowVariant
)(SWIG_As_int(obj0
));  
37571             if (SWIG_arg_fail(1)) SWIG_fail
; 
37575         if (!wxPyCheckForApp()) SWIG_fail
; 
37576         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
37577         result 
= wxControl::GetClassDefaultAttributes((wxWindowVariant 
)arg1
); 
37579         wxPyEndAllowThreads(__tstate
); 
37580         if (PyErr_Occurred()) SWIG_fail
; 
37583         wxVisualAttributes 
* resultptr
; 
37584         resultptr 
= new wxVisualAttributes((wxVisualAttributes 
&)(result
)); 
37585         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1); 
37593 static PyObject 
* Control_swigregister(PyObject 
*, PyObject 
*args
) { 
37595     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
37596     SWIG_TypeClientData(SWIGTYPE_p_wxControl
, obj
); 
37598     return Py_BuildValue((char *)""); 
37600 static PyObject 
*_wrap_ItemContainer_Append(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
37601     PyObject 
*resultobj
; 
37602     wxItemContainer 
*arg1 
= (wxItemContainer 
*) 0 ; 
37603     wxString 
*arg2 
= 0 ; 
37604     PyObject 
*arg3 
= (PyObject 
*) NULL 
; 
37606     bool temp2 
= false ; 
37607     PyObject 
* obj0 
= 0 ; 
37608     PyObject 
* obj1 
= 0 ; 
37609     PyObject 
* obj2 
= 0 ; 
37610     char *kwnames
[] = { 
37611         (char *) "self",(char *) "item",(char *) "clientData", NULL 
 
37614     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ItemContainer_Append",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
37615     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION 
| 0); 
37616     if (SWIG_arg_fail(1)) SWIG_fail
; 
37618         arg2 
= wxString_in_helper(obj1
); 
37619         if (arg2 
== NULL
) SWIG_fail
; 
37626         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
37627         result 
= (int)wxItemContainer_Append(arg1
,(wxString 
const &)*arg2
,arg3
); 
37629         wxPyEndAllowThreads(__tstate
); 
37630         if (PyErr_Occurred()) SWIG_fail
; 
37633         resultobj 
= SWIG_From_int((int)(result
));  
37649 static PyObject 
*_wrap_ItemContainer_AppendItems(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
37650     PyObject 
*resultobj
; 
37651     wxItemContainer 
*arg1 
= (wxItemContainer 
*) 0 ; 
37652     wxArrayString 
*arg2 
= 0 ; 
37653     bool temp2 
= false ; 
37654     PyObject 
* obj0 
= 0 ; 
37655     PyObject 
* obj1 
= 0 ; 
37656     char *kwnames
[] = { 
37657         (char *) "self",(char *) "strings", NULL 
 
37660     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_AppendItems",kwnames
,&obj0
,&obj1
)) goto fail
; 
37661     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION 
| 0); 
37662     if (SWIG_arg_fail(1)) SWIG_fail
; 
37664         if (! PySequence_Check(obj1
)) { 
37665             PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected."); 
37668         arg2 
= new wxArrayString
; 
37670         int i
, len
=PySequence_Length(obj1
); 
37671         for (i
=0; i
<len
; i
++) { 
37672             PyObject
* item 
= PySequence_GetItem(obj1
, i
); 
37674             PyObject
* str  
= PyObject_Unicode(item
); 
37676             PyObject
* str  
= PyObject_Str(item
); 
37678             if (PyErr_Occurred())  SWIG_fail
; 
37679             arg2
->Add(Py2wxString(str
)); 
37685         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
37686         (arg1
)->Append((wxArrayString 
const &)*arg2
); 
37688         wxPyEndAllowThreads(__tstate
); 
37689         if (PyErr_Occurred()) SWIG_fail
; 
37691     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
37693         if (temp2
) delete arg2
; 
37698         if (temp2
) delete arg2
; 
37704 static PyObject 
*_wrap_ItemContainer_Insert(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
37705     PyObject 
*resultobj
; 
37706     wxItemContainer 
*arg1 
= (wxItemContainer 
*) 0 ; 
37707     wxString 
*arg2 
= 0 ; 
37709     PyObject 
*arg4 
= (PyObject 
*) NULL 
; 
37711     bool temp2 
= false ; 
37712     PyObject 
* obj0 
= 0 ; 
37713     PyObject 
* obj1 
= 0 ; 
37714     PyObject 
* obj2 
= 0 ; 
37715     PyObject 
* obj3 
= 0 ; 
37716     char *kwnames
[] = { 
37717         (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL 
 
37720     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ItemContainer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
37721     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION 
| 0); 
37722     if (SWIG_arg_fail(1)) SWIG_fail
; 
37724         arg2 
= wxString_in_helper(obj1
); 
37725         if (arg2 
== NULL
) SWIG_fail
; 
37729         arg3 
= (int)(SWIG_As_int(obj2
));  
37730         if (SWIG_arg_fail(3)) SWIG_fail
; 
37736         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
37737         result 
= (int)wxItemContainer_Insert(arg1
,(wxString 
const &)*arg2
,arg3
,arg4
); 
37739         wxPyEndAllowThreads(__tstate
); 
37740         if (PyErr_Occurred()) SWIG_fail
; 
37743         resultobj 
= SWIG_From_int((int)(result
));  
37759 static PyObject 
*_wrap_ItemContainer_Clear(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
37760     PyObject 
*resultobj
; 
37761     wxItemContainer 
*arg1 
= (wxItemContainer 
*) 0 ; 
37762     PyObject 
* obj0 
= 0 ; 
37763     char *kwnames
[] = { 
37764         (char *) "self", NULL 
 
37767     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_Clear",kwnames
,&obj0
)) goto fail
; 
37768     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION 
| 0); 
37769     if (SWIG_arg_fail(1)) SWIG_fail
; 
37771         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
37774         wxPyEndAllowThreads(__tstate
); 
37775         if (PyErr_Occurred()) SWIG_fail
; 
37777     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
37784 static PyObject 
*_wrap_ItemContainer_Delete(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
37785     PyObject 
*resultobj
; 
37786     wxItemContainer 
*arg1 
= (wxItemContainer 
*) 0 ; 
37788     PyObject 
* obj0 
= 0 ; 
37789     PyObject 
* obj1 
= 0 ; 
37790     char *kwnames
[] = { 
37791         (char *) "self",(char *) "n", NULL 
 
37794     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Delete",kwnames
,&obj0
,&obj1
)) goto fail
; 
37795     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION 
| 0); 
37796     if (SWIG_arg_fail(1)) SWIG_fail
; 
37798         arg2 
= (int)(SWIG_As_int(obj1
));  
37799         if (SWIG_arg_fail(2)) SWIG_fail
; 
37802         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
37803         (arg1
)->Delete(arg2
); 
37805         wxPyEndAllowThreads(__tstate
); 
37806         if (PyErr_Occurred()) SWIG_fail
; 
37808     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
37815 static PyObject 
*_wrap_ItemContainer_GetClientData(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
37816     PyObject 
*resultobj
; 
37817     wxItemContainer 
*arg1 
= (wxItemContainer 
*) 0 ; 
37820     PyObject 
* obj0 
= 0 ; 
37821     PyObject 
* obj1 
= 0 ; 
37822     char *kwnames
[] = { 
37823         (char *) "self",(char *) "n", NULL 
 
37826     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetClientData",kwnames
,&obj0
,&obj1
)) goto fail
; 
37827     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION 
| 0); 
37828     if (SWIG_arg_fail(1)) SWIG_fail
; 
37830         arg2 
= (int)(SWIG_As_int(obj1
));  
37831         if (SWIG_arg_fail(2)) SWIG_fail
; 
37834         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
37835         result 
= (PyObject 
*)wxItemContainer_GetClientData(arg1
,arg2
); 
37837         wxPyEndAllowThreads(__tstate
); 
37838         if (PyErr_Occurred()) SWIG_fail
; 
37840     resultobj 
= result
; 
37847 static PyObject 
*_wrap_ItemContainer_SetClientData(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
37848     PyObject 
*resultobj
; 
37849     wxItemContainer 
*arg1 
= (wxItemContainer 
*) 0 ; 
37851     PyObject 
*arg3 
= (PyObject 
*) 0 ; 
37852     PyObject 
* obj0 
= 0 ; 
37853     PyObject 
* obj1 
= 0 ; 
37854     PyObject 
* obj2 
= 0 ; 
37855     char *kwnames
[] = { 
37856         (char *) "self",(char *) "n",(char *) "clientData", NULL 
 
37859     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetClientData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
37860     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION 
| 0); 
37861     if (SWIG_arg_fail(1)) SWIG_fail
; 
37863         arg2 
= (int)(SWIG_As_int(obj1
));  
37864         if (SWIG_arg_fail(2)) SWIG_fail
; 
37868         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
37869         wxItemContainer_SetClientData(arg1
,arg2
,arg3
); 
37871         wxPyEndAllowThreads(__tstate
); 
37872         if (PyErr_Occurred()) SWIG_fail
; 
37874     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
37881 static PyObject 
*_wrap_ItemContainer_GetCount(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
37882     PyObject 
*resultobj
; 
37883     wxItemContainer 
*arg1 
= (wxItemContainer 
*) 0 ; 
37885     PyObject 
* obj0 
= 0 ; 
37886     char *kwnames
[] = { 
37887         (char *) "self", NULL 
 
37890     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetCount",kwnames
,&obj0
)) goto fail
; 
37891     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION 
| 0); 
37892     if (SWIG_arg_fail(1)) SWIG_fail
; 
37894         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
37895         result 
= (int)((wxItemContainer 
const *)arg1
)->GetCount(); 
37897         wxPyEndAllowThreads(__tstate
); 
37898         if (PyErr_Occurred()) SWIG_fail
; 
37901         resultobj 
= SWIG_From_int((int)(result
));  
37909 static PyObject 
*_wrap_ItemContainer_IsEmpty(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
37910     PyObject 
*resultobj
; 
37911     wxItemContainer 
*arg1 
= (wxItemContainer 
*) 0 ; 
37913     PyObject 
* obj0 
= 0 ; 
37914     char *kwnames
[] = { 
37915         (char *) "self", NULL 
 
37918     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_IsEmpty",kwnames
,&obj0
)) goto fail
; 
37919     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION 
| 0); 
37920     if (SWIG_arg_fail(1)) SWIG_fail
; 
37922         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
37923         result 
= (bool)((wxItemContainer 
const *)arg1
)->IsEmpty(); 
37925         wxPyEndAllowThreads(__tstate
); 
37926         if (PyErr_Occurred()) SWIG_fail
; 
37929         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
37937 static PyObject 
*_wrap_ItemContainer_GetString(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
37938     PyObject 
*resultobj
; 
37939     wxItemContainer 
*arg1 
= (wxItemContainer 
*) 0 ; 
37942     PyObject 
* obj0 
= 0 ; 
37943     PyObject 
* obj1 
= 0 ; 
37944     char *kwnames
[] = { 
37945         (char *) "self",(char *) "n", NULL 
 
37948     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetString",kwnames
,&obj0
,&obj1
)) goto fail
; 
37949     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION 
| 0); 
37950     if (SWIG_arg_fail(1)) SWIG_fail
; 
37952         arg2 
= (int)(SWIG_As_int(obj1
));  
37953         if (SWIG_arg_fail(2)) SWIG_fail
; 
37956         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
37957         result 
= ((wxItemContainer 
const *)arg1
)->GetString(arg2
); 
37959         wxPyEndAllowThreads(__tstate
); 
37960         if (PyErr_Occurred()) SWIG_fail
; 
37964         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
37966         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
37975 static PyObject 
*_wrap_ItemContainer_GetStrings(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
37976     PyObject 
*resultobj
; 
37977     wxItemContainer 
*arg1 
= (wxItemContainer 
*) 0 ; 
37978     wxArrayString result
; 
37979     PyObject 
* obj0 
= 0 ; 
37980     char *kwnames
[] = { 
37981         (char *) "self", NULL 
 
37984     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetStrings",kwnames
,&obj0
)) goto fail
; 
37985     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION 
| 0); 
37986     if (SWIG_arg_fail(1)) SWIG_fail
; 
37988         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
37989         result 
= ((wxItemContainer 
const *)arg1
)->GetStrings(); 
37991         wxPyEndAllowThreads(__tstate
); 
37992         if (PyErr_Occurred()) SWIG_fail
; 
37995         resultobj 
= wxArrayString2PyList_helper(result
); 
38003 static PyObject 
*_wrap_ItemContainer_SetString(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
38004     PyObject 
*resultobj
; 
38005     wxItemContainer 
*arg1 
= (wxItemContainer 
*) 0 ; 
38007     wxString 
*arg3 
= 0 ; 
38008     bool temp3 
= false ; 
38009     PyObject 
* obj0 
= 0 ; 
38010     PyObject 
* obj1 
= 0 ; 
38011     PyObject 
* obj2 
= 0 ; 
38012     char *kwnames
[] = { 
38013         (char *) "self",(char *) "n",(char *) "s", NULL 
 
38016     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
38017     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION 
| 0); 
38018     if (SWIG_arg_fail(1)) SWIG_fail
; 
38020         arg2 
= (int)(SWIG_As_int(obj1
));  
38021         if (SWIG_arg_fail(2)) SWIG_fail
; 
38024         arg3 
= wxString_in_helper(obj2
); 
38025         if (arg3 
== NULL
) SWIG_fail
; 
38029         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
38030         (arg1
)->SetString(arg2
,(wxString 
const &)*arg3
); 
38032         wxPyEndAllowThreads(__tstate
); 
38033         if (PyErr_Occurred()) SWIG_fail
; 
38035     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
38050 static PyObject 
*_wrap_ItemContainer_FindString(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
38051     PyObject 
*resultobj
; 
38052     wxItemContainer 
*arg1 
= (wxItemContainer 
*) 0 ; 
38053     wxString 
*arg2 
= 0 ; 
38055     bool temp2 
= false ; 
38056     PyObject 
* obj0 
= 0 ; 
38057     PyObject 
* obj1 
= 0 ; 
38058     char *kwnames
[] = { 
38059         (char *) "self",(char *) "s", NULL 
 
38062     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_FindString",kwnames
,&obj0
,&obj1
)) goto fail
; 
38063     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION 
| 0); 
38064     if (SWIG_arg_fail(1)) SWIG_fail
; 
38066         arg2 
= wxString_in_helper(obj1
); 
38067         if (arg2 
== NULL
) SWIG_fail
; 
38071         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
38072         result 
= (int)((wxItemContainer 
const *)arg1
)->FindString((wxString 
const &)*arg2
); 
38074         wxPyEndAllowThreads(__tstate
); 
38075         if (PyErr_Occurred()) SWIG_fail
; 
38078         resultobj 
= SWIG_From_int((int)(result
));  
38094 static PyObject 
*_wrap_ItemContainer_SetSelection(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
38095     PyObject 
*resultobj
; 
38096     wxItemContainer 
*arg1 
= (wxItemContainer 
*) 0 ; 
38098     PyObject 
* obj0 
= 0 ; 
38099     PyObject 
* obj1 
= 0 ; 
38100     char *kwnames
[] = { 
38101         (char *) "self",(char *) "n", NULL 
 
38104     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
; 
38105     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION 
| 0); 
38106     if (SWIG_arg_fail(1)) SWIG_fail
; 
38108         arg2 
= (int)(SWIG_As_int(obj1
));  
38109         if (SWIG_arg_fail(2)) SWIG_fail
; 
38112         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
38113         (arg1
)->SetSelection(arg2
); 
38115         wxPyEndAllowThreads(__tstate
); 
38116         if (PyErr_Occurred()) SWIG_fail
; 
38118     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
38125 static PyObject 
*_wrap_ItemContainer_GetSelection(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
38126     PyObject 
*resultobj
; 
38127     wxItemContainer 
*arg1 
= (wxItemContainer 
*) 0 ; 
38129     PyObject 
* obj0 
= 0 ; 
38130     char *kwnames
[] = { 
38131         (char *) "self", NULL 
 
38134     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetSelection",kwnames
,&obj0
)) goto fail
; 
38135     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION 
| 0); 
38136     if (SWIG_arg_fail(1)) SWIG_fail
; 
38138         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
38139         result 
= (int)((wxItemContainer 
const *)arg1
)->GetSelection(); 
38141         wxPyEndAllowThreads(__tstate
); 
38142         if (PyErr_Occurred()) SWIG_fail
; 
38145         resultobj 
= SWIG_From_int((int)(result
));  
38153 static PyObject 
*_wrap_ItemContainer_SetStringSelection(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
38154     PyObject 
*resultobj
; 
38155     wxItemContainer 
*arg1 
= (wxItemContainer 
*) 0 ; 
38156     wxString 
*arg2 
= 0 ; 
38158     bool temp2 
= false ; 
38159     PyObject 
* obj0 
= 0 ; 
38160     PyObject 
* obj1 
= 0 ; 
38161     char *kwnames
[] = { 
38162         (char *) "self",(char *) "s", NULL 
 
38165     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
; 
38166     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION 
| 0); 
38167     if (SWIG_arg_fail(1)) SWIG_fail
; 
38169         arg2 
= wxString_in_helper(obj1
); 
38170         if (arg2 
== NULL
) SWIG_fail
; 
38174         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
38175         result 
= (bool)(arg1
)->SetStringSelection((wxString 
const &)*arg2
); 
38177         wxPyEndAllowThreads(__tstate
); 
38178         if (PyErr_Occurred()) SWIG_fail
; 
38181         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
38197 static PyObject 
*_wrap_ItemContainer_GetStringSelection(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
38198     PyObject 
*resultobj
; 
38199     wxItemContainer 
*arg1 
= (wxItemContainer 
*) 0 ; 
38201     PyObject 
* obj0 
= 0 ; 
38202     char *kwnames
[] = { 
38203         (char *) "self", NULL 
 
38206     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetStringSelection",kwnames
,&obj0
)) goto fail
; 
38207     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION 
| 0); 
38208     if (SWIG_arg_fail(1)) SWIG_fail
; 
38210         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
38211         result 
= ((wxItemContainer 
const *)arg1
)->GetStringSelection(); 
38213         wxPyEndAllowThreads(__tstate
); 
38214         if (PyErr_Occurred()) SWIG_fail
; 
38218         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
38220         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
38229 static PyObject 
*_wrap_ItemContainer_Select(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
38230     PyObject 
*resultobj
; 
38231     wxItemContainer 
*arg1 
= (wxItemContainer 
*) 0 ; 
38233     PyObject 
* obj0 
= 0 ; 
38234     PyObject 
* obj1 
= 0 ; 
38235     char *kwnames
[] = { 
38236         (char *) "self",(char *) "n", NULL 
 
38239     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Select",kwnames
,&obj0
,&obj1
)) goto fail
; 
38240     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION 
| 0); 
38241     if (SWIG_arg_fail(1)) SWIG_fail
; 
38243         arg2 
= (int)(SWIG_As_int(obj1
));  
38244         if (SWIG_arg_fail(2)) SWIG_fail
; 
38247         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
38248         (arg1
)->Select(arg2
); 
38250         wxPyEndAllowThreads(__tstate
); 
38251         if (PyErr_Occurred()) SWIG_fail
; 
38253     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
38260 static PyObject 
* ItemContainer_swigregister(PyObject 
*, PyObject 
*args
) { 
38262     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
38263     SWIG_TypeClientData(SWIGTYPE_p_wxItemContainer
, obj
); 
38265     return Py_BuildValue((char *)""); 
38267 static PyObject 
* ControlWithItems_swigregister(PyObject 
*, PyObject 
*args
) { 
38269     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
38270     SWIG_TypeClientData(SWIGTYPE_p_wxControlWithItems
, obj
); 
38272     return Py_BuildValue((char *)""); 
38274 static PyObject 
*_wrap_new_SizerItem(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
38275     PyObject 
*resultobj
; 
38276     wxSizerItem 
*result
; 
38277     char *kwnames
[] = { 
38281     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SizerItem",kwnames
)) goto fail
; 
38283         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
38284         result 
= (wxSizerItem 
*)new wxSizerItem(); 
38286         wxPyEndAllowThreads(__tstate
); 
38287         if (PyErr_Occurred()) SWIG_fail
; 
38289     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1); 
38296 static PyObject 
*_wrap_new_SizerItemWindow(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
38297     PyObject 
*resultobj
; 
38298     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
38302     PyObject 
*arg5 
= (PyObject 
*) NULL 
; 
38303     wxSizerItem 
*result
; 
38304     PyObject 
* obj0 
= 0 ; 
38305     PyObject 
* obj1 
= 0 ; 
38306     PyObject 
* obj2 
= 0 ; 
38307     PyObject 
* obj3 
= 0 ; 
38308     PyObject 
* obj4 
= 0 ; 
38309     char *kwnames
[] = { 
38310         (char *) "window",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL 
 
38313     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:new_SizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
; 
38314     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
38315     if (SWIG_arg_fail(1)) SWIG_fail
; 
38317         arg2 
= (int)(SWIG_As_int(obj1
));  
38318         if (SWIG_arg_fail(2)) SWIG_fail
; 
38321         arg3 
= (int)(SWIG_As_int(obj2
));  
38322         if (SWIG_arg_fail(3)) SWIG_fail
; 
38325         arg4 
= (int)(SWIG_As_int(obj3
));  
38326         if (SWIG_arg_fail(4)) SWIG_fail
; 
38332         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
38333         result 
= (wxSizerItem 
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
); 
38335         wxPyEndAllowThreads(__tstate
); 
38336         if (PyErr_Occurred()) SWIG_fail
; 
38338     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1); 
38345 static PyObject 
*_wrap_new_SizerItemSpacer(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
38346     PyObject 
*resultobj
; 
38352     PyObject 
*arg6 
= (PyObject 
*) NULL 
; 
38353     wxSizerItem 
*result
; 
38354     PyObject 
* obj0 
= 0 ; 
38355     PyObject 
* obj1 
= 0 ; 
38356     PyObject 
* obj2 
= 0 ; 
38357     PyObject 
* obj3 
= 0 ; 
38358     PyObject 
* obj4 
= 0 ; 
38359     PyObject 
* obj5 
= 0 ; 
38360     char *kwnames
[] = { 
38361         (char *) "width",(char *) "height",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL 
 
38364     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_SizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
; 
38366         arg1 
= (int)(SWIG_As_int(obj0
));  
38367         if (SWIG_arg_fail(1)) SWIG_fail
; 
38370         arg2 
= (int)(SWIG_As_int(obj1
));  
38371         if (SWIG_arg_fail(2)) SWIG_fail
; 
38374         arg3 
= (int)(SWIG_As_int(obj2
));  
38375         if (SWIG_arg_fail(3)) SWIG_fail
; 
38378         arg4 
= (int)(SWIG_As_int(obj3
));  
38379         if (SWIG_arg_fail(4)) SWIG_fail
; 
38382         arg5 
= (int)(SWIG_As_int(obj4
));  
38383         if (SWIG_arg_fail(5)) SWIG_fail
; 
38389         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
38390         result 
= (wxSizerItem 
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
); 
38392         wxPyEndAllowThreads(__tstate
); 
38393         if (PyErr_Occurred()) SWIG_fail
; 
38395     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1); 
38402 static PyObject 
*_wrap_new_SizerItemSizer(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
38403     PyObject 
*resultobj
; 
38404     wxSizer 
*arg1 
= (wxSizer 
*) 0 ; 
38408     PyObject 
*arg5 
= (PyObject 
*) NULL 
; 
38409     wxSizerItem 
*result
; 
38410     PyObject 
* obj0 
= 0 ; 
38411     PyObject 
* obj1 
= 0 ; 
38412     PyObject 
* obj2 
= 0 ; 
38413     PyObject 
* obj3 
= 0 ; 
38414     PyObject 
* obj4 
= 0 ; 
38415     char *kwnames
[] = { 
38416         (char *) "sizer",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL 
 
38419     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:new_SizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
; 
38420     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION 
| 0); 
38421     if (SWIG_arg_fail(1)) SWIG_fail
; 
38423         arg2 
= (int)(SWIG_As_int(obj1
));  
38424         if (SWIG_arg_fail(2)) SWIG_fail
; 
38427         arg3 
= (int)(SWIG_As_int(obj2
));  
38428         if (SWIG_arg_fail(3)) SWIG_fail
; 
38431         arg4 
= (int)(SWIG_As_int(obj3
));  
38432         if (SWIG_arg_fail(4)) SWIG_fail
; 
38438         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
38439         result 
= (wxSizerItem 
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
); 
38441         wxPyEndAllowThreads(__tstate
); 
38442         if (PyErr_Occurred()) SWIG_fail
; 
38444     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1); 
38451 static PyObject 
*_wrap_SizerItem_DeleteWindows(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
38452     PyObject 
*resultobj
; 
38453     wxSizerItem 
*arg1 
= (wxSizerItem 
*) 0 ; 
38454     PyObject 
* obj0 
= 0 ; 
38455     char *kwnames
[] = { 
38456         (char *) "self", NULL 
 
38459     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_DeleteWindows",kwnames
,&obj0
)) goto fail
; 
38460     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION 
| 0); 
38461     if (SWIG_arg_fail(1)) SWIG_fail
; 
38463         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
38464         (arg1
)->DeleteWindows(); 
38466         wxPyEndAllowThreads(__tstate
); 
38467         if (PyErr_Occurred()) SWIG_fail
; 
38469     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
38476 static PyObject 
*_wrap_SizerItem_DetachSizer(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
38477     PyObject 
*resultobj
; 
38478     wxSizerItem 
*arg1 
= (wxSizerItem 
*) 0 ; 
38479     PyObject 
* obj0 
= 0 ; 
38480     char *kwnames
[] = { 
38481         (char *) "self", NULL 
 
38484     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_DetachSizer",kwnames
,&obj0
)) goto fail
; 
38485     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION 
| 0); 
38486     if (SWIG_arg_fail(1)) SWIG_fail
; 
38488         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
38489         (arg1
)->DetachSizer(); 
38491         wxPyEndAllowThreads(__tstate
); 
38492         if (PyErr_Occurred()) SWIG_fail
; 
38494     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
38501 static PyObject 
*_wrap_SizerItem_GetSize(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
38502     PyObject 
*resultobj
; 
38503     wxSizerItem 
*arg1 
= (wxSizerItem 
*) 0 ; 
38505     PyObject 
* obj0 
= 0 ; 
38506     char *kwnames
[] = { 
38507         (char *) "self", NULL 
 
38510     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSize",kwnames
,&obj0
)) goto fail
; 
38511     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION 
| 0); 
38512     if (SWIG_arg_fail(1)) SWIG_fail
; 
38514         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
38515         result 
= (arg1
)->GetSize(); 
38517         wxPyEndAllowThreads(__tstate
); 
38518         if (PyErr_Occurred()) SWIG_fail
; 
38521         wxSize 
* resultptr
; 
38522         resultptr 
= new wxSize((wxSize 
&)(result
)); 
38523         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1); 
38531 static PyObject 
*_wrap_SizerItem_CalcMin(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
38532     PyObject 
*resultobj
; 
38533     wxSizerItem 
*arg1 
= (wxSizerItem 
*) 0 ; 
38535     PyObject 
* obj0 
= 0 ; 
38536     char *kwnames
[] = { 
38537         (char *) "self", NULL 
 
38540     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_CalcMin",kwnames
,&obj0
)) goto fail
; 
38541     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION 
| 0); 
38542     if (SWIG_arg_fail(1)) SWIG_fail
; 
38544         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
38545         result 
= (arg1
)->CalcMin(); 
38547         wxPyEndAllowThreads(__tstate
); 
38548         if (PyErr_Occurred()) SWIG_fail
; 
38551         wxSize 
* resultptr
; 
38552         resultptr 
= new wxSize((wxSize 
&)(result
)); 
38553         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1); 
38561 static PyObject 
*_wrap_SizerItem_SetDimension(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
38562     PyObject 
*resultobj
; 
38563     wxSizerItem 
*arg1 
= (wxSizerItem 
*) 0 ; 
38566     PyObject 
* obj0 
= 0 ; 
38567     PyObject 
* obj1 
= 0 ; 
38568     PyObject 
* obj2 
= 0 ; 
38569     char *kwnames
[] = { 
38570         (char *) "self",(char *) "pos",(char *) "size", NULL 
 
38573     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
38574     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION 
| 0); 
38575     if (SWIG_arg_fail(1)) SWIG_fail
; 
38578         SWIG_Python_ConvertPtr(obj1
, (void **)&argp
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
); 
38579         if (SWIG_arg_fail(2)) SWIG_fail
; 
38580         if (argp 
== NULL
) { 
38581             SWIG_null_ref("wxPoint"); 
38583         if (SWIG_arg_fail(2)) SWIG_fail
; 
38588         SWIG_Python_ConvertPtr(obj2
, (void **)&argp
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
); 
38589         if (SWIG_arg_fail(3)) SWIG_fail
; 
38590         if (argp 
== NULL
) { 
38591             SWIG_null_ref("wxSize"); 
38593         if (SWIG_arg_fail(3)) SWIG_fail
; 
38597         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
38598         (arg1
)->SetDimension(arg2
,arg3
); 
38600         wxPyEndAllowThreads(__tstate
); 
38601         if (PyErr_Occurred()) SWIG_fail
; 
38603     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
38610 static PyObject 
*_wrap_SizerItem_GetMinSize(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
38611     PyObject 
*resultobj
; 
38612     wxSizerItem 
*arg1 
= (wxSizerItem 
*) 0 ; 
38614     PyObject 
* obj0 
= 0 ; 
38615     char *kwnames
[] = { 
38616         (char *) "self", NULL 
 
38619     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetMinSize",kwnames
,&obj0
)) goto fail
; 
38620     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION 
| 0); 
38621     if (SWIG_arg_fail(1)) SWIG_fail
; 
38623         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
38624         result 
= (arg1
)->GetMinSize(); 
38626         wxPyEndAllowThreads(__tstate
); 
38627         if (PyErr_Occurred()) SWIG_fail
; 
38630         wxSize 
* resultptr
; 
38631         resultptr 
= new wxSize((wxSize 
&)(result
)); 
38632         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1); 
38640 static PyObject 
*_wrap_SizerItem_GetMinSizeWithBorder(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
38641     PyObject 
*resultobj
; 
38642     wxSizerItem 
*arg1 
= (wxSizerItem 
*) 0 ; 
38644     PyObject 
* obj0 
= 0 ; 
38645     char *kwnames
[] = { 
38646         (char *) "self", NULL 
 
38649     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetMinSizeWithBorder",kwnames
,&obj0
)) goto fail
; 
38650     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION 
| 0); 
38651     if (SWIG_arg_fail(1)) SWIG_fail
; 
38653         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
38654         result 
= ((wxSizerItem 
const *)arg1
)->GetMinSizeWithBorder(); 
38656         wxPyEndAllowThreads(__tstate
); 
38657         if (PyErr_Occurred()) SWIG_fail
; 
38660         wxSize 
* resultptr
; 
38661         resultptr 
= new wxSize((wxSize 
&)(result
)); 
38662         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1); 
38670 static PyObject 
*_wrap_SizerItem_SetInitSize(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
38671     PyObject 
*resultobj
; 
38672     wxSizerItem 
*arg1 
= (wxSizerItem 
*) 0 ; 
38675     PyObject 
* obj0 
= 0 ; 
38676     PyObject 
* obj1 
= 0 ; 
38677     PyObject 
* obj2 
= 0 ; 
38678     char *kwnames
[] = { 
38679         (char *) "self",(char *) "x",(char *) "y", NULL 
 
38682     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetInitSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
38683     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION 
| 0); 
38684     if (SWIG_arg_fail(1)) SWIG_fail
; 
38686         arg2 
= (int)(SWIG_As_int(obj1
));  
38687         if (SWIG_arg_fail(2)) SWIG_fail
; 
38690         arg3 
= (int)(SWIG_As_int(obj2
));  
38691         if (SWIG_arg_fail(3)) SWIG_fail
; 
38694         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
38695         (arg1
)->SetInitSize(arg2
,arg3
); 
38697         wxPyEndAllowThreads(__tstate
); 
38698         if (PyErr_Occurred()) SWIG_fail
; 
38700     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
38707 static PyObject 
*_wrap_SizerItem_SetRatioWH(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
38708     PyObject 
*resultobj
; 
38709     wxSizerItem 
*arg1 
= (wxSizerItem 
*) 0 ; 
38712     PyObject 
* obj0 
= 0 ; 
38713     PyObject 
* obj1 
= 0 ; 
38714     PyObject 
* obj2 
= 0 ; 
38715     char *kwnames
[] = { 
38716         (char *) "self",(char *) "width",(char *) "height", NULL 
 
38719     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetRatioWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
38720     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION 
| 0); 
38721     if (SWIG_arg_fail(1)) SWIG_fail
; 
38723         arg2 
= (int)(SWIG_As_int(obj1
));  
38724         if (SWIG_arg_fail(2)) SWIG_fail
; 
38727         arg3 
= (int)(SWIG_As_int(obj2
));  
38728         if (SWIG_arg_fail(3)) SWIG_fail
; 
38731         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
38732         (arg1
)->SetRatio(arg2
,arg3
); 
38734         wxPyEndAllowThreads(__tstate
); 
38735         if (PyErr_Occurred()) SWIG_fail
; 
38737     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
38744 static PyObject 
*_wrap_SizerItem_SetRatioSize(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
38745     PyObject 
*resultobj
; 
38746     wxSizerItem 
*arg1 
= (wxSizerItem 
*) 0 ; 
38749     PyObject 
* obj0 
= 0 ; 
38750     PyObject 
* obj1 
= 0 ; 
38751     char *kwnames
[] = { 
38752         (char *) "self",(char *) "size", NULL 
 
38755     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatioSize",kwnames
,&obj0
,&obj1
)) goto fail
; 
38756     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION 
| 0); 
38757     if (SWIG_arg_fail(1)) SWIG_fail
; 
38760         if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
; 
38763         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
38764         (arg1
)->SetRatio((wxSize 
const &)*arg2
); 
38766         wxPyEndAllowThreads(__tstate
); 
38767         if (PyErr_Occurred()) SWIG_fail
; 
38769     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
38776 static PyObject 
*_wrap_SizerItem_SetRatio(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
38777     PyObject 
*resultobj
; 
38778     wxSizerItem 
*arg1 
= (wxSizerItem 
*) 0 ; 
38780     PyObject 
* obj0 
= 0 ; 
38781     PyObject 
* obj1 
= 0 ; 
38782     char *kwnames
[] = { 
38783         (char *) "self",(char *) "ratio", NULL 
 
38786     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatio",kwnames
,&obj0
,&obj1
)) goto fail
; 
38787     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION 
| 0); 
38788     if (SWIG_arg_fail(1)) SWIG_fail
; 
38790         arg2 
= (float)(SWIG_As_float(obj1
));  
38791         if (SWIG_arg_fail(2)) SWIG_fail
; 
38794         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
38795         (arg1
)->SetRatio(arg2
); 
38797         wxPyEndAllowThreads(__tstate
); 
38798         if (PyErr_Occurred()) SWIG_fail
; 
38800     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
38807 static PyObject 
*_wrap_SizerItem_GetRatio(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
38808     PyObject 
*resultobj
; 
38809     wxSizerItem 
*arg1 
= (wxSizerItem 
*) 0 ; 
38811     PyObject 
* obj0 
= 0 ; 
38812     char *kwnames
[] = { 
38813         (char *) "self", NULL 
 
38816     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetRatio",kwnames
,&obj0
)) goto fail
; 
38817     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION 
| 0); 
38818     if (SWIG_arg_fail(1)) SWIG_fail
; 
38820         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
38821         result 
= (float)(arg1
)->GetRatio(); 
38823         wxPyEndAllowThreads(__tstate
); 
38824         if (PyErr_Occurred()) SWIG_fail
; 
38827         resultobj 
= SWIG_From_float((float)(result
));  
38835 static PyObject 
*_wrap_SizerItem_GetRect(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
38836     PyObject 
*resultobj
; 
38837     wxSizerItem 
*arg1 
= (wxSizerItem 
*) 0 ; 
38839     PyObject 
* obj0 
= 0 ; 
38840     char *kwnames
[] = { 
38841         (char *) "self", NULL 
 
38844     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetRect",kwnames
,&obj0
)) goto fail
; 
38845     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION 
| 0); 
38846     if (SWIG_arg_fail(1)) SWIG_fail
; 
38848         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
38849         result 
= (arg1
)->GetRect(); 
38851         wxPyEndAllowThreads(__tstate
); 
38852         if (PyErr_Occurred()) SWIG_fail
; 
38855         wxRect 
* resultptr
; 
38856         resultptr 
= new wxRect((wxRect 
&)(result
)); 
38857         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1); 
38865 static PyObject 
*_wrap_SizerItem_IsWindow(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
38866     PyObject 
*resultobj
; 
38867     wxSizerItem 
*arg1 
= (wxSizerItem 
*) 0 ; 
38869     PyObject 
* obj0 
= 0 ; 
38870     char *kwnames
[] = { 
38871         (char *) "self", NULL 
 
38874     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsWindow",kwnames
,&obj0
)) goto fail
; 
38875     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION 
| 0); 
38876     if (SWIG_arg_fail(1)) SWIG_fail
; 
38878         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
38879         result 
= (bool)(arg1
)->IsWindow(); 
38881         wxPyEndAllowThreads(__tstate
); 
38882         if (PyErr_Occurred()) SWIG_fail
; 
38885         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
38893 static PyObject 
*_wrap_SizerItem_IsSizer(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
38894     PyObject 
*resultobj
; 
38895     wxSizerItem 
*arg1 
= (wxSizerItem 
*) 0 ; 
38897     PyObject 
* obj0 
= 0 ; 
38898     char *kwnames
[] = { 
38899         (char *) "self", NULL 
 
38902     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsSizer",kwnames
,&obj0
)) goto fail
; 
38903     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION 
| 0); 
38904     if (SWIG_arg_fail(1)) SWIG_fail
; 
38906         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
38907         result 
= (bool)(arg1
)->IsSizer(); 
38909         wxPyEndAllowThreads(__tstate
); 
38910         if (PyErr_Occurred()) SWIG_fail
; 
38913         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
38921 static PyObject 
*_wrap_SizerItem_IsSpacer(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
38922     PyObject 
*resultobj
; 
38923     wxSizerItem 
*arg1 
= (wxSizerItem 
*) 0 ; 
38925     PyObject 
* obj0 
= 0 ; 
38926     char *kwnames
[] = { 
38927         (char *) "self", NULL 
 
38930     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsSpacer",kwnames
,&obj0
)) goto fail
; 
38931     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION 
| 0); 
38932     if (SWIG_arg_fail(1)) SWIG_fail
; 
38934         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
38935         result 
= (bool)(arg1
)->IsSpacer(); 
38937         wxPyEndAllowThreads(__tstate
); 
38938         if (PyErr_Occurred()) SWIG_fail
; 
38941         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
38949 static PyObject 
*_wrap_SizerItem_SetProportion(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
38950     PyObject 
*resultobj
; 
38951     wxSizerItem 
*arg1 
= (wxSizerItem 
*) 0 ; 
38953     PyObject 
* obj0 
= 0 ; 
38954     PyObject 
* obj1 
= 0 ; 
38955     char *kwnames
[] = { 
38956         (char *) "self",(char *) "proportion", NULL 
 
38959     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetProportion",kwnames
,&obj0
,&obj1
)) goto fail
; 
38960     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION 
| 0); 
38961     if (SWIG_arg_fail(1)) SWIG_fail
; 
38963         arg2 
= (int)(SWIG_As_int(obj1
));  
38964         if (SWIG_arg_fail(2)) SWIG_fail
; 
38967         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
38968         (arg1
)->SetProportion(arg2
); 
38970         wxPyEndAllowThreads(__tstate
); 
38971         if (PyErr_Occurred()) SWIG_fail
; 
38973     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
38980 static PyObject 
*_wrap_SizerItem_GetProportion(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
38981     PyObject 
*resultobj
; 
38982     wxSizerItem 
*arg1 
= (wxSizerItem 
*) 0 ; 
38984     PyObject 
* obj0 
= 0 ; 
38985     char *kwnames
[] = { 
38986         (char *) "self", NULL 
 
38989     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetProportion",kwnames
,&obj0
)) goto fail
; 
38990     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION 
| 0); 
38991     if (SWIG_arg_fail(1)) SWIG_fail
; 
38993         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
38994         result 
= (int)(arg1
)->GetProportion(); 
38996         wxPyEndAllowThreads(__tstate
); 
38997         if (PyErr_Occurred()) SWIG_fail
; 
39000         resultobj 
= SWIG_From_int((int)(result
));  
39008 static PyObject 
*_wrap_SizerItem_SetFlag(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
39009     PyObject 
*resultobj
; 
39010     wxSizerItem 
*arg1 
= (wxSizerItem 
*) 0 ; 
39012     PyObject 
* obj0 
= 0 ; 
39013     PyObject 
* obj1 
= 0 ; 
39014     char *kwnames
[] = { 
39015         (char *) "self",(char *) "flag", NULL 
 
39018     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetFlag",kwnames
,&obj0
,&obj1
)) goto fail
; 
39019     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION 
| 0); 
39020     if (SWIG_arg_fail(1)) SWIG_fail
; 
39022         arg2 
= (int)(SWIG_As_int(obj1
));  
39023         if (SWIG_arg_fail(2)) SWIG_fail
; 
39026         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
39027         (arg1
)->SetFlag(arg2
); 
39029         wxPyEndAllowThreads(__tstate
); 
39030         if (PyErr_Occurred()) SWIG_fail
; 
39032     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
39039 static PyObject 
*_wrap_SizerItem_GetFlag(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
39040     PyObject 
*resultobj
; 
39041     wxSizerItem 
*arg1 
= (wxSizerItem 
*) 0 ; 
39043     PyObject 
* obj0 
= 0 ; 
39044     char *kwnames
[] = { 
39045         (char *) "self", NULL 
 
39048     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetFlag",kwnames
,&obj0
)) goto fail
; 
39049     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION 
| 0); 
39050     if (SWIG_arg_fail(1)) SWIG_fail
; 
39052         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
39053         result 
= (int)(arg1
)->GetFlag(); 
39055         wxPyEndAllowThreads(__tstate
); 
39056         if (PyErr_Occurred()) SWIG_fail
; 
39059         resultobj 
= SWIG_From_int((int)(result
));  
39067 static PyObject 
*_wrap_SizerItem_SetBorder(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
39068     PyObject 
*resultobj
; 
39069     wxSizerItem 
*arg1 
= (wxSizerItem 
*) 0 ; 
39071     PyObject 
* obj0 
= 0 ; 
39072     PyObject 
* obj1 
= 0 ; 
39073     char *kwnames
[] = { 
39074         (char *) "self",(char *) "border", NULL 
 
39077     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetBorder",kwnames
,&obj0
,&obj1
)) goto fail
; 
39078     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION 
| 0); 
39079     if (SWIG_arg_fail(1)) SWIG_fail
; 
39081         arg2 
= (int)(SWIG_As_int(obj1
));  
39082         if (SWIG_arg_fail(2)) SWIG_fail
; 
39085         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
39086         (arg1
)->SetBorder(arg2
); 
39088         wxPyEndAllowThreads(__tstate
); 
39089         if (PyErr_Occurred()) SWIG_fail
; 
39091     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
39098 static PyObject 
*_wrap_SizerItem_GetBorder(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
39099     PyObject 
*resultobj
; 
39100     wxSizerItem 
*arg1 
= (wxSizerItem 
*) 0 ; 
39102     PyObject 
* obj0 
= 0 ; 
39103     char *kwnames
[] = { 
39104         (char *) "self", NULL 
 
39107     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetBorder",kwnames
,&obj0
)) goto fail
; 
39108     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION 
| 0); 
39109     if (SWIG_arg_fail(1)) SWIG_fail
; 
39111         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
39112         result 
= (int)(arg1
)->GetBorder(); 
39114         wxPyEndAllowThreads(__tstate
); 
39115         if (PyErr_Occurred()) SWIG_fail
; 
39118         resultobj 
= SWIG_From_int((int)(result
));  
39126 static PyObject 
*_wrap_SizerItem_GetWindow(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
39127     PyObject 
*resultobj
; 
39128     wxSizerItem 
*arg1 
= (wxSizerItem 
*) 0 ; 
39130     PyObject 
* obj0 
= 0 ; 
39131     char *kwnames
[] = { 
39132         (char *) "self", NULL 
 
39135     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetWindow",kwnames
,&obj0
)) goto fail
; 
39136     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION 
| 0); 
39137     if (SWIG_arg_fail(1)) SWIG_fail
; 
39139         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
39140         result 
= (wxWindow 
*)(arg1
)->GetWindow(); 
39142         wxPyEndAllowThreads(__tstate
); 
39143         if (PyErr_Occurred()) SWIG_fail
; 
39146         resultobj 
= wxPyMake_wxObject(result
, 0);  
39154 static PyObject 
*_wrap_SizerItem_SetWindow(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
39155     PyObject 
*resultobj
; 
39156     wxSizerItem 
*arg1 
= (wxSizerItem 
*) 0 ; 
39157     wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
39158     PyObject 
* obj0 
= 0 ; 
39159     PyObject 
* obj1 
= 0 ; 
39160     char *kwnames
[] = { 
39161         (char *) "self",(char *) "window", NULL 
 
39164     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
; 
39165     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION 
| 0); 
39166     if (SWIG_arg_fail(1)) SWIG_fail
; 
39167     SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
39168     if (SWIG_arg_fail(2)) SWIG_fail
; 
39170         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
39171         (arg1
)->SetWindow(arg2
); 
39173         wxPyEndAllowThreads(__tstate
); 
39174         if (PyErr_Occurred()) SWIG_fail
; 
39176     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
39183 static PyObject 
*_wrap_SizerItem_GetSizer(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
39184     PyObject 
*resultobj
; 
39185     wxSizerItem 
*arg1 
= (wxSizerItem 
*) 0 ; 
39187     PyObject 
* obj0 
= 0 ; 
39188     char *kwnames
[] = { 
39189         (char *) "self", NULL 
 
39192     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSizer",kwnames
,&obj0
)) goto fail
; 
39193     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION 
| 0); 
39194     if (SWIG_arg_fail(1)) SWIG_fail
; 
39196         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
39197         result 
= (wxSizer 
*)(arg1
)->GetSizer(); 
39199         wxPyEndAllowThreads(__tstate
); 
39200         if (PyErr_Occurred()) SWIG_fail
; 
39203         resultobj 
= wxPyMake_wxSizer(result
, 0);  
39211 static PyObject 
*_wrap_SizerItem_SetSizer(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
39212     PyObject 
*resultobj
; 
39213     wxSizerItem 
*arg1 
= (wxSizerItem 
*) 0 ; 
39214     wxSizer 
*arg2 
= (wxSizer 
*) 0 ; 
39215     PyObject 
* obj0 
= 0 ; 
39216     PyObject 
* obj1 
= 0 ; 
39217     char *kwnames
[] = { 
39218         (char *) "self",(char *) "sizer", NULL 
 
39221     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSizer",kwnames
,&obj0
,&obj1
)) goto fail
; 
39222     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION 
| 0); 
39223     if (SWIG_arg_fail(1)) SWIG_fail
; 
39224     SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION 
| 0); 
39225     if (SWIG_arg_fail(2)) SWIG_fail
; 
39227         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
39228         (arg1
)->SetSizer(arg2
); 
39230         wxPyEndAllowThreads(__tstate
); 
39231         if (PyErr_Occurred()) SWIG_fail
; 
39233     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
39240 static PyObject 
*_wrap_SizerItem_GetSpacer(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
39241     PyObject 
*resultobj
; 
39242     wxSizerItem 
*arg1 
= (wxSizerItem 
*) 0 ; 
39244     PyObject 
* obj0 
= 0 ; 
39245     char *kwnames
[] = { 
39246         (char *) "self", NULL 
 
39249     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSpacer",kwnames
,&obj0
)) goto fail
; 
39250     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION 
| 0); 
39251     if (SWIG_arg_fail(1)) SWIG_fail
; 
39253         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
39255             wxSize 
const &_result_ref 
= (arg1
)->GetSpacer(); 
39256             result 
= (wxSize 
*) &_result_ref
; 
39259         wxPyEndAllowThreads(__tstate
); 
39260         if (PyErr_Occurred()) SWIG_fail
; 
39262     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0); 
39269 static PyObject 
*_wrap_SizerItem_SetSpacer(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
39270     PyObject 
*resultobj
; 
39271     wxSizerItem 
*arg1 
= (wxSizerItem 
*) 0 ; 
39274     PyObject 
* obj0 
= 0 ; 
39275     PyObject 
* obj1 
= 0 ; 
39276     char *kwnames
[] = { 
39277         (char *) "self",(char *) "size", NULL 
 
39280     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSpacer",kwnames
,&obj0
,&obj1
)) goto fail
; 
39281     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION 
| 0); 
39282     if (SWIG_arg_fail(1)) SWIG_fail
; 
39285         if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
; 
39288         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
39289         (arg1
)->SetSpacer((wxSize 
const &)*arg2
); 
39291         wxPyEndAllowThreads(__tstate
); 
39292         if (PyErr_Occurred()) SWIG_fail
; 
39294     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
39301 static PyObject 
*_wrap_SizerItem_Show(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
39302     PyObject 
*resultobj
; 
39303     wxSizerItem 
*arg1 
= (wxSizerItem 
*) 0 ; 
39305     PyObject 
* obj0 
= 0 ; 
39306     PyObject 
* obj1 
= 0 ; 
39307     char *kwnames
[] = { 
39308         (char *) "self",(char *) "show", NULL 
 
39311     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_Show",kwnames
,&obj0
,&obj1
)) goto fail
; 
39312     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION 
| 0); 
39313     if (SWIG_arg_fail(1)) SWIG_fail
; 
39315         arg2 
= (bool)(SWIG_As_bool(obj1
));  
39316         if (SWIG_arg_fail(2)) SWIG_fail
; 
39319         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
39320         (arg1
)->Show(arg2
); 
39322         wxPyEndAllowThreads(__tstate
); 
39323         if (PyErr_Occurred()) SWIG_fail
; 
39325     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
39332 static PyObject 
*_wrap_SizerItem_IsShown(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
39333     PyObject 
*resultobj
; 
39334     wxSizerItem 
*arg1 
= (wxSizerItem 
*) 0 ; 
39336     PyObject 
* obj0 
= 0 ; 
39337     char *kwnames
[] = { 
39338         (char *) "self", NULL 
 
39341     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsShown",kwnames
,&obj0
)) goto fail
; 
39342     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION 
| 0); 
39343     if (SWIG_arg_fail(1)) SWIG_fail
; 
39345         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
39346         result 
= (bool)(arg1
)->IsShown(); 
39348         wxPyEndAllowThreads(__tstate
); 
39349         if (PyErr_Occurred()) SWIG_fail
; 
39352         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
39360 static PyObject 
*_wrap_SizerItem_GetPosition(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
39361     PyObject 
*resultobj
; 
39362     wxSizerItem 
*arg1 
= (wxSizerItem 
*) 0 ; 
39364     PyObject 
* obj0 
= 0 ; 
39365     char *kwnames
[] = { 
39366         (char *) "self", NULL 
 
39369     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetPosition",kwnames
,&obj0
)) goto fail
; 
39370     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION 
| 0); 
39371     if (SWIG_arg_fail(1)) SWIG_fail
; 
39373         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
39374         result 
= (arg1
)->GetPosition(); 
39376         wxPyEndAllowThreads(__tstate
); 
39377         if (PyErr_Occurred()) SWIG_fail
; 
39380         wxPoint 
* resultptr
; 
39381         resultptr 
= new wxPoint((wxPoint 
&)(result
)); 
39382         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1); 
39390 static PyObject 
*_wrap_SizerItem_GetUserData(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
39391     PyObject 
*resultobj
; 
39392     wxSizerItem 
*arg1 
= (wxSizerItem 
*) 0 ; 
39394     PyObject 
* obj0 
= 0 ; 
39395     char *kwnames
[] = { 
39396         (char *) "self", NULL 
 
39399     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetUserData",kwnames
,&obj0
)) goto fail
; 
39400     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION 
| 0); 
39401     if (SWIG_arg_fail(1)) SWIG_fail
; 
39403         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
39404         result 
= (PyObject 
*)wxSizerItem_GetUserData(arg1
); 
39406         wxPyEndAllowThreads(__tstate
); 
39407         if (PyErr_Occurred()) SWIG_fail
; 
39409     resultobj 
= result
; 
39416 static PyObject 
* SizerItem_swigregister(PyObject 
*, PyObject 
*args
) { 
39418     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
39419     SWIG_TypeClientData(SWIGTYPE_p_wxSizerItem
, obj
); 
39421     return Py_BuildValue((char *)""); 
39423 static PyObject 
*_wrap_Sizer__setOORInfo(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
39424     PyObject 
*resultobj
; 
39425     wxSizer 
*arg1 
= (wxSizer 
*) 0 ; 
39426     PyObject 
*arg2 
= (PyObject 
*) 0 ; 
39427     PyObject 
* obj0 
= 0 ; 
39428     PyObject 
* obj1 
= 0 ; 
39429     char *kwnames
[] = { 
39430         (char *) "self",(char *) "_self", NULL 
 
39433     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
; 
39434     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION 
| 0); 
39435     if (SWIG_arg_fail(1)) SWIG_fail
; 
39438         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
39439         wxSizer__setOORInfo(arg1
,arg2
); 
39441         wxPyEndAllowThreads(__tstate
); 
39442         if (PyErr_Occurred()) SWIG_fail
; 
39444     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
39451 static PyObject 
*_wrap_Sizer_Add(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
39452     PyObject 
*resultobj
; 
39453     wxSizer 
*arg1 
= (wxSizer 
*) 0 ; 
39454     PyObject 
*arg2 
= (PyObject 
*) 0 ; 
39455     int arg3 
= (int) 0 ; 
39456     int arg4 
= (int) 0 ; 
39457     int arg5 
= (int) 0 ; 
39458     PyObject 
*arg6 
= (PyObject 
*) NULL 
; 
39459     wxSizerItem 
*result
; 
39460     PyObject 
* obj0 
= 0 ; 
39461     PyObject 
* obj1 
= 0 ; 
39462     PyObject 
* obj2 
= 0 ; 
39463     PyObject 
* obj3 
= 0 ; 
39464     PyObject 
* obj4 
= 0 ; 
39465     PyObject 
* obj5 
= 0 ; 
39466     char *kwnames
[] = { 
39467         (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL 
 
39470     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Sizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
; 
39471     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION 
| 0); 
39472     if (SWIG_arg_fail(1)) SWIG_fail
; 
39476             arg3 
= (int)(SWIG_As_int(obj2
));  
39477             if (SWIG_arg_fail(3)) SWIG_fail
; 
39482             arg4 
= (int)(SWIG_As_int(obj3
));  
39483             if (SWIG_arg_fail(4)) SWIG_fail
; 
39488             arg5 
= (int)(SWIG_As_int(obj4
));  
39489             if (SWIG_arg_fail(5)) SWIG_fail
; 
39496         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
39497         result 
= (wxSizerItem 
*)wxSizer_Add(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
); 
39499         wxPyEndAllowThreads(__tstate
); 
39500         if (PyErr_Occurred()) SWIG_fail
; 
39502     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0); 
39509 static PyObject 
*_wrap_Sizer_Insert(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
39510     PyObject 
*resultobj
; 
39511     wxSizer 
*arg1 
= (wxSizer 
*) 0 ; 
39513     PyObject 
*arg3 
= (PyObject 
*) 0 ; 
39514     int arg4 
= (int) 0 ; 
39515     int arg5 
= (int) 0 ; 
39516     int arg6 
= (int) 0 ; 
39517     PyObject 
*arg7 
= (PyObject 
*) NULL 
; 
39518     wxSizerItem 
*result
; 
39519     PyObject 
* obj0 
= 0 ; 
39520     PyObject 
* obj1 
= 0 ; 
39521     PyObject 
* obj2 
= 0 ; 
39522     PyObject 
* obj3 
= 0 ; 
39523     PyObject 
* obj4 
= 0 ; 
39524     PyObject 
* obj5 
= 0 ; 
39525     PyObject 
* obj6 
= 0 ; 
39526     char *kwnames
[] = { 
39527         (char *) "self",(char *) "before",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL 
 
39530     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Sizer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
; 
39531     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION 
| 0); 
39532     if (SWIG_arg_fail(1)) SWIG_fail
; 
39534         arg2 
= (int)(SWIG_As_int(obj1
));  
39535         if (SWIG_arg_fail(2)) SWIG_fail
; 
39540             arg4 
= (int)(SWIG_As_int(obj3
));  
39541             if (SWIG_arg_fail(4)) SWIG_fail
; 
39546             arg5 
= (int)(SWIG_As_int(obj4
));  
39547             if (SWIG_arg_fail(5)) SWIG_fail
; 
39552             arg6 
= (int)(SWIG_As_int(obj5
));  
39553             if (SWIG_arg_fail(6)) SWIG_fail
; 
39560         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
39561         result 
= (wxSizerItem 
*)wxSizer_Insert(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
); 
39563         wxPyEndAllowThreads(__tstate
); 
39564         if (PyErr_Occurred()) SWIG_fail
; 
39566     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0); 
39573 static PyObject 
*_wrap_Sizer_Prepend(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
39574     PyObject 
*resultobj
; 
39575     wxSizer 
*arg1 
= (wxSizer 
*) 0 ; 
39576     PyObject 
*arg2 
= (PyObject 
*) 0 ; 
39577     int arg3 
= (int) 0 ; 
39578     int arg4 
= (int) 0 ; 
39579     int arg5 
= (int) 0 ; 
39580     PyObject 
*arg6 
= (PyObject 
*) NULL 
; 
39581     wxSizerItem 
*result
; 
39582     PyObject 
* obj0 
= 0 ; 
39583     PyObject 
* obj1 
= 0 ; 
39584     PyObject 
* obj2 
= 0 ; 
39585     PyObject 
* obj3 
= 0 ; 
39586     PyObject 
* obj4 
= 0 ; 
39587     PyObject 
* obj5 
= 0 ; 
39588     char *kwnames
[] = { 
39589         (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL 
 
39592     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Sizer_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
; 
39593     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION 
| 0); 
39594     if (SWIG_arg_fail(1)) SWIG_fail
; 
39598             arg3 
= (int)(SWIG_As_int(obj2
));  
39599             if (SWIG_arg_fail(3)) SWIG_fail
; 
39604             arg4 
= (int)(SWIG_As_int(obj3
));  
39605             if (SWIG_arg_fail(4)) SWIG_fail
; 
39610             arg5 
= (int)(SWIG_As_int(obj4
));  
39611             if (SWIG_arg_fail(5)) SWIG_fail
; 
39618         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
39619         result 
= (wxSizerItem 
*)wxSizer_Prepend(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
); 
39621         wxPyEndAllowThreads(__tstate
); 
39622         if (PyErr_Occurred()) SWIG_fail
; 
39624     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0); 
39631 static PyObject 
*_wrap_Sizer_Remove(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
39632     PyObject 
*resultobj
; 
39633     wxSizer 
*arg1 
= (wxSizer 
*) 0 ; 
39634     PyObject 
*arg2 
= (PyObject 
*) 0 ; 
39636     PyObject 
* obj0 
= 0 ; 
39637     PyObject 
* obj1 
= 0 ; 
39638     char *kwnames
[] = { 
39639         (char *) "self",(char *) "item", NULL 
 
39642     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Remove",kwnames
,&obj0
,&obj1
)) goto fail
; 
39643     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION 
| 0); 
39644     if (SWIG_arg_fail(1)) SWIG_fail
; 
39647         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
39648         result 
= (bool)wxSizer_Remove(arg1
,arg2
); 
39650         wxPyEndAllowThreads(__tstate
); 
39651         if (PyErr_Occurred()) SWIG_fail
; 
39654         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
39662 static PyObject 
*_wrap_Sizer_Detach(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
39663     PyObject 
*resultobj
; 
39664     wxSizer 
*arg1 
= (wxSizer 
*) 0 ; 
39665     PyObject 
*arg2 
= (PyObject 
*) 0 ; 
39667     PyObject 
* obj0 
= 0 ; 
39668     PyObject 
* obj1 
= 0 ; 
39669     char *kwnames
[] = { 
39670         (char *) "self",(char *) "item", NULL 
 
39673     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Detach",kwnames
,&obj0
,&obj1
)) goto fail
; 
39674     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION 
| 0); 
39675     if (SWIG_arg_fail(1)) SWIG_fail
; 
39678         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
39679         result 
= (bool)wxSizer_Detach(arg1
,arg2
); 
39681         wxPyEndAllowThreads(__tstate
); 
39682         if (PyErr_Occurred()) SWIG_fail
; 
39685         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
39693 static PyObject 
*_wrap_Sizer_GetItem(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
39694     PyObject 
*resultobj
; 
39695     wxSizer 
*arg1 
= (wxSizer 
*) 0 ; 
39696     PyObject 
*arg2 
= (PyObject 
*) 0 ; 
39697     wxSizerItem 
*result
; 
39698     PyObject 
* obj0 
= 0 ; 
39699     PyObject 
* obj1 
= 0 ; 
39700     char *kwnames
[] = { 
39701         (char *) "self",(char *) "item", NULL 
 
39704     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_GetItem",kwnames
,&obj0
,&obj1
)) goto fail
; 
39705     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION 
| 0); 
39706     if (SWIG_arg_fail(1)) SWIG_fail
; 
39709         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
39710         result 
= (wxSizerItem 
*)wxSizer_GetItem(arg1
,arg2
); 
39712         wxPyEndAllowThreads(__tstate
); 
39713         if (PyErr_Occurred()) SWIG_fail
; 
39715     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0); 
39722 static PyObject 
*_wrap_Sizer__SetItemMinSize(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
39723     PyObject 
*resultobj
; 
39724     wxSizer 
*arg1 
= (wxSizer 
*) 0 ; 
39725     PyObject 
*arg2 
= (PyObject 
*) 0 ; 
39728     PyObject 
* obj0 
= 0 ; 
39729     PyObject 
* obj1 
= 0 ; 
39730     PyObject 
* obj2 
= 0 ; 
39731     char *kwnames
[] = { 
39732         (char *) "self",(char *) "item",(char *) "size", NULL 
 
39735     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer__SetItemMinSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
39736     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION 
| 0); 
39737     if (SWIG_arg_fail(1)) SWIG_fail
; 
39741         if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
; 
39744         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
39745         wxSizer__SetItemMinSize(arg1
,arg2
,(wxSize 
const &)*arg3
); 
39747         wxPyEndAllowThreads(__tstate
); 
39748         if (PyErr_Occurred()) SWIG_fail
; 
39750     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
39757 static PyObject 
*_wrap_Sizer_AddItem(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
39758     PyObject 
*resultobj
; 
39759     wxSizer 
*arg1 
= (wxSizer 
*) 0 ; 
39760     wxSizerItem 
*arg2 
= (wxSizerItem 
*) 0 ; 
39761     wxSizerItem 
*result
; 
39762     PyObject 
* obj0 
= 0 ; 
39763     PyObject 
* obj1 
= 0 ; 
39764     char *kwnames
[] = { 
39765         (char *) "self",(char *) "item", NULL 
 
39768     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_AddItem",kwnames
,&obj0
,&obj1
)) goto fail
; 
39769     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION 
| 0); 
39770     if (SWIG_arg_fail(1)) SWIG_fail
; 
39771     SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION 
| 0); 
39772     if (SWIG_arg_fail(2)) SWIG_fail
; 
39774         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
39775         result 
= (wxSizerItem 
*)(arg1
)->Add(arg2
); 
39777         wxPyEndAllowThreads(__tstate
); 
39778         if (PyErr_Occurred()) SWIG_fail
; 
39780     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0); 
39787 static PyObject 
*_wrap_Sizer_InsertItem(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
39788     PyObject 
*resultobj
; 
39789     wxSizer 
*arg1 
= (wxSizer 
*) 0 ; 
39791     wxSizerItem 
*arg3 
= (wxSizerItem 
*) 0 ; 
39792     wxSizerItem 
*result
; 
39793     PyObject 
* obj0 
= 0 ; 
39794     PyObject 
* obj1 
= 0 ; 
39795     PyObject 
* obj2 
= 0 ; 
39796     char *kwnames
[] = { 
39797         (char *) "self",(char *) "index",(char *) "item", NULL 
 
39800     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
39801     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION 
| 0); 
39802     if (SWIG_arg_fail(1)) SWIG_fail
; 
39804         arg2 
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));  
39805         if (SWIG_arg_fail(2)) SWIG_fail
; 
39807     SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION 
| 0); 
39808     if (SWIG_arg_fail(3)) SWIG_fail
; 
39810         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
39811         result 
= (wxSizerItem 
*)(arg1
)->Insert(arg2
,arg3
); 
39813         wxPyEndAllowThreads(__tstate
); 
39814         if (PyErr_Occurred()) SWIG_fail
; 
39816     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0); 
39823 static PyObject 
*_wrap_Sizer_PrependItem(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
39824     PyObject 
*resultobj
; 
39825     wxSizer 
*arg1 
= (wxSizer 
*) 0 ; 
39826     wxSizerItem 
*arg2 
= (wxSizerItem 
*) 0 ; 
39827     wxSizerItem 
*result
; 
39828     PyObject 
* obj0 
= 0 ; 
39829     PyObject 
* obj1 
= 0 ; 
39830     char *kwnames
[] = { 
39831         (char *) "self",(char *) "item", NULL 
 
39834     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_PrependItem",kwnames
,&obj0
,&obj1
)) goto fail
; 
39835     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION 
| 0); 
39836     if (SWIG_arg_fail(1)) SWIG_fail
; 
39837     SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION 
| 0); 
39838     if (SWIG_arg_fail(2)) SWIG_fail
; 
39840         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
39841         result 
= (wxSizerItem 
*)(arg1
)->Prepend(arg2
); 
39843         wxPyEndAllowThreads(__tstate
); 
39844         if (PyErr_Occurred()) SWIG_fail
; 
39846     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0); 
39853 static PyObject 
*_wrap_Sizer_SetDimension(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
39854     PyObject 
*resultobj
; 
39855     wxSizer 
*arg1 
= (wxSizer 
*) 0 ; 
39860     PyObject 
* obj0 
= 0 ; 
39861     PyObject 
* obj1 
= 0 ; 
39862     PyObject 
* obj2 
= 0 ; 
39863     PyObject 
* obj3 
= 0 ; 
39864     PyObject 
* obj4 
= 0 ; 
39865     char *kwnames
[] = { 
39866         (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL 
 
39869     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Sizer_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
; 
39870     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION 
| 0); 
39871     if (SWIG_arg_fail(1)) SWIG_fail
; 
39873         arg2 
= (int)(SWIG_As_int(obj1
));  
39874         if (SWIG_arg_fail(2)) SWIG_fail
; 
39877         arg3 
= (int)(SWIG_As_int(obj2
));  
39878         if (SWIG_arg_fail(3)) SWIG_fail
; 
39881         arg4 
= (int)(SWIG_As_int(obj3
));  
39882         if (SWIG_arg_fail(4)) SWIG_fail
; 
39885         arg5 
= (int)(SWIG_As_int(obj4
));  
39886         if (SWIG_arg_fail(5)) SWIG_fail
; 
39889         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
39890         (arg1
)->SetDimension(arg2
,arg3
,arg4
,arg5
); 
39892         wxPyEndAllowThreads(__tstate
); 
39893         if (PyErr_Occurred()) SWIG_fail
; 
39895     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
39902 static PyObject 
*_wrap_Sizer_SetMinSize(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
39903     PyObject 
*resultobj
; 
39904     wxSizer 
*arg1 
= (wxSizer 
*) 0 ; 
39907     PyObject 
* obj0 
= 0 ; 
39908     PyObject 
* obj1 
= 0 ; 
39909     char *kwnames
[] = { 
39910         (char *) "self",(char *) "size", NULL 
 
39913     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetMinSize",kwnames
,&obj0
,&obj1
)) goto fail
; 
39914     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION 
| 0); 
39915     if (SWIG_arg_fail(1)) SWIG_fail
; 
39918         if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
; 
39921         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
39922         (arg1
)->SetMinSize((wxSize 
const &)*arg2
); 
39924         wxPyEndAllowThreads(__tstate
); 
39925         if (PyErr_Occurred()) SWIG_fail
; 
39927     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
39934 static PyObject 
*_wrap_Sizer_GetSize(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
39935     PyObject 
*resultobj
; 
39936     wxSizer 
*arg1 
= (wxSizer 
*) 0 ; 
39938     PyObject 
* obj0 
= 0 ; 
39939     char *kwnames
[] = { 
39940         (char *) "self", NULL 
 
39943     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetSize",kwnames
,&obj0
)) goto fail
; 
39944     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION 
| 0); 
39945     if (SWIG_arg_fail(1)) SWIG_fail
; 
39947         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
39948         result 
= (arg1
)->GetSize(); 
39950         wxPyEndAllowThreads(__tstate
); 
39951         if (PyErr_Occurred()) SWIG_fail
; 
39954         wxSize 
* resultptr
; 
39955         resultptr 
= new wxSize((wxSize 
&)(result
)); 
39956         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1); 
39964 static PyObject 
*_wrap_Sizer_GetPosition(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
39965     PyObject 
*resultobj
; 
39966     wxSizer 
*arg1 
= (wxSizer 
*) 0 ; 
39968     PyObject 
* obj0 
= 0 ; 
39969     char *kwnames
[] = { 
39970         (char *) "self", NULL 
 
39973     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetPosition",kwnames
,&obj0
)) goto fail
; 
39974     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION 
| 0); 
39975     if (SWIG_arg_fail(1)) SWIG_fail
; 
39977         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
39978         result 
= (arg1
)->GetPosition(); 
39980         wxPyEndAllowThreads(__tstate
); 
39981         if (PyErr_Occurred()) SWIG_fail
; 
39984         wxPoint 
* resultptr
; 
39985         resultptr 
= new wxPoint((wxPoint 
&)(result
)); 
39986         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1); 
39994 static PyObject 
*_wrap_Sizer_GetMinSize(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
39995     PyObject 
*resultobj
; 
39996     wxSizer 
*arg1 
= (wxSizer 
*) 0 ; 
39998     PyObject 
* obj0 
= 0 ; 
39999     char *kwnames
[] = { 
40000         (char *) "self", NULL 
 
40003     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetMinSize",kwnames
,&obj0
)) goto fail
; 
40004     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION 
| 0); 
40005     if (SWIG_arg_fail(1)) SWIG_fail
; 
40007         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
40008         result 
= (arg1
)->GetMinSize(); 
40010         wxPyEndAllowThreads(__tstate
); 
40011         if (PyErr_Occurred()) SWIG_fail
; 
40014         wxSize 
* resultptr
; 
40015         resultptr 
= new wxSize((wxSize 
&)(result
)); 
40016         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1); 
40024 static PyObject 
*_wrap_Sizer_RecalcSizes(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
40025     PyObject 
*resultobj
; 
40026     wxSizer 
*arg1 
= (wxSizer 
*) 0 ; 
40027     PyObject 
* obj0 
= 0 ; 
40028     char *kwnames
[] = { 
40029         (char *) "self", NULL 
 
40032     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_RecalcSizes",kwnames
,&obj0
)) goto fail
; 
40033     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION 
| 0); 
40034     if (SWIG_arg_fail(1)) SWIG_fail
; 
40036         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
40037         (arg1
)->RecalcSizes(); 
40039         wxPyEndAllowThreads(__tstate
); 
40040         if (PyErr_Occurred()) SWIG_fail
; 
40042     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
40049 static PyObject 
*_wrap_Sizer_CalcMin(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
40050     PyObject 
*resultobj
; 
40051     wxSizer 
*arg1 
= (wxSizer 
*) 0 ; 
40053     PyObject 
* obj0 
= 0 ; 
40054     char *kwnames
[] = { 
40055         (char *) "self", NULL 
 
40058     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_CalcMin",kwnames
,&obj0
)) goto fail
; 
40059     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION 
| 0); 
40060     if (SWIG_arg_fail(1)) SWIG_fail
; 
40062         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
40063         result 
= (arg1
)->CalcMin(); 
40065         wxPyEndAllowThreads(__tstate
); 
40066         if (PyErr_Occurred()) SWIG_fail
; 
40069         wxSize 
* resultptr
; 
40070         resultptr 
= new wxSize((wxSize 
&)(result
)); 
40071         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1); 
40079 static PyObject 
*_wrap_Sizer_Layout(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
40080     PyObject 
*resultobj
; 
40081     wxSizer 
*arg1 
= (wxSizer 
*) 0 ; 
40082     PyObject 
* obj0 
= 0 ; 
40083     char *kwnames
[] = { 
40084         (char *) "self", NULL 
 
40087     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_Layout",kwnames
,&obj0
)) goto fail
; 
40088     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION 
| 0); 
40089     if (SWIG_arg_fail(1)) SWIG_fail
; 
40091         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
40094         wxPyEndAllowThreads(__tstate
); 
40095         if (PyErr_Occurred()) SWIG_fail
; 
40097     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
40104 static PyObject 
*_wrap_Sizer_Fit(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
40105     PyObject 
*resultobj
; 
40106     wxSizer 
*arg1 
= (wxSizer 
*) 0 ; 
40107     wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
40109     PyObject 
* obj0 
= 0 ; 
40110     PyObject 
* obj1 
= 0 ; 
40111     char *kwnames
[] = { 
40112         (char *) "self",(char *) "window", NULL 
 
40115     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Fit",kwnames
,&obj0
,&obj1
)) goto fail
; 
40116     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION 
| 0); 
40117     if (SWIG_arg_fail(1)) SWIG_fail
; 
40118     SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
40119     if (SWIG_arg_fail(2)) SWIG_fail
; 
40121         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
40122         result 
= (arg1
)->Fit(arg2
); 
40124         wxPyEndAllowThreads(__tstate
); 
40125         if (PyErr_Occurred()) SWIG_fail
; 
40128         wxSize 
* resultptr
; 
40129         resultptr 
= new wxSize((wxSize 
&)(result
)); 
40130         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1); 
40138 static PyObject 
*_wrap_Sizer_FitInside(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
40139     PyObject 
*resultobj
; 
40140     wxSizer 
*arg1 
= (wxSizer 
*) 0 ; 
40141     wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
40142     PyObject 
* obj0 
= 0 ; 
40143     PyObject 
* obj1 
= 0 ; 
40144     char *kwnames
[] = { 
40145         (char *) "self",(char *) "window", NULL 
 
40148     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_FitInside",kwnames
,&obj0
,&obj1
)) goto fail
; 
40149     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION 
| 0); 
40150     if (SWIG_arg_fail(1)) SWIG_fail
; 
40151     SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
40152     if (SWIG_arg_fail(2)) SWIG_fail
; 
40154         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
40155         (arg1
)->FitInside(arg2
); 
40157         wxPyEndAllowThreads(__tstate
); 
40158         if (PyErr_Occurred()) SWIG_fail
; 
40160     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
40167 static PyObject 
*_wrap_Sizer_SetSizeHints(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
40168     PyObject 
*resultobj
; 
40169     wxSizer 
*arg1 
= (wxSizer 
*) 0 ; 
40170     wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
40171     PyObject 
* obj0 
= 0 ; 
40172     PyObject 
* obj1 
= 0 ; 
40173     char *kwnames
[] = { 
40174         (char *) "self",(char *) "window", NULL 
 
40177     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetSizeHints",kwnames
,&obj0
,&obj1
)) goto fail
; 
40178     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION 
| 0); 
40179     if (SWIG_arg_fail(1)) SWIG_fail
; 
40180     SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
40181     if (SWIG_arg_fail(2)) SWIG_fail
; 
40183         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
40184         (arg1
)->SetSizeHints(arg2
); 
40186         wxPyEndAllowThreads(__tstate
); 
40187         if (PyErr_Occurred()) SWIG_fail
; 
40189     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
40196 static PyObject 
*_wrap_Sizer_SetVirtualSizeHints(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
40197     PyObject 
*resultobj
; 
40198     wxSizer 
*arg1 
= (wxSizer 
*) 0 ; 
40199     wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
40200     PyObject 
* obj0 
= 0 ; 
40201     PyObject 
* obj1 
= 0 ; 
40202     char *kwnames
[] = { 
40203         (char *) "self",(char *) "window", NULL 
 
40206     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetVirtualSizeHints",kwnames
,&obj0
,&obj1
)) goto fail
; 
40207     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION 
| 0); 
40208     if (SWIG_arg_fail(1)) SWIG_fail
; 
40209     SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
40210     if (SWIG_arg_fail(2)) SWIG_fail
; 
40212         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
40213         (arg1
)->SetVirtualSizeHints(arg2
); 
40215         wxPyEndAllowThreads(__tstate
); 
40216         if (PyErr_Occurred()) SWIG_fail
; 
40218     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
40225 static PyObject 
*_wrap_Sizer_Clear(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
40226     PyObject 
*resultobj
; 
40227     wxSizer 
*arg1 
= (wxSizer 
*) 0 ; 
40228     bool arg2 
= (bool) false ; 
40229     PyObject 
* obj0 
= 0 ; 
40230     PyObject 
* obj1 
= 0 ; 
40231     char *kwnames
[] = { 
40232         (char *) "self",(char *) "deleteWindows", NULL 
 
40235     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sizer_Clear",kwnames
,&obj0
,&obj1
)) goto fail
; 
40236     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION 
| 0); 
40237     if (SWIG_arg_fail(1)) SWIG_fail
; 
40240             arg2 
= (bool)(SWIG_As_bool(obj1
));  
40241             if (SWIG_arg_fail(2)) SWIG_fail
; 
40245         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
40246         (arg1
)->Clear(arg2
); 
40248         wxPyEndAllowThreads(__tstate
); 
40249         if (PyErr_Occurred()) SWIG_fail
; 
40251     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
40258 static PyObject 
*_wrap_Sizer_DeleteWindows(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
40259     PyObject 
*resultobj
; 
40260     wxSizer 
*arg1 
= (wxSizer 
*) 0 ; 
40261     PyObject 
* obj0 
= 0 ; 
40262     char *kwnames
[] = { 
40263         (char *) "self", NULL 
 
40266     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_DeleteWindows",kwnames
,&obj0
)) goto fail
; 
40267     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION 
| 0); 
40268     if (SWIG_arg_fail(1)) SWIG_fail
; 
40270         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
40271         (arg1
)->DeleteWindows(); 
40273         wxPyEndAllowThreads(__tstate
); 
40274         if (PyErr_Occurred()) SWIG_fail
; 
40276     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
40283 static PyObject 
*_wrap_Sizer_GetChildren(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
40284     PyObject 
*resultobj
; 
40285     wxSizer 
*arg1 
= (wxSizer 
*) 0 ; 
40287     PyObject 
* obj0 
= 0 ; 
40288     char *kwnames
[] = { 
40289         (char *) "self", NULL 
 
40292     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetChildren",kwnames
,&obj0
)) goto fail
; 
40293     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION 
| 0); 
40294     if (SWIG_arg_fail(1)) SWIG_fail
; 
40296         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
40297         result 
= (PyObject 
*)wxSizer_GetChildren(arg1
); 
40299         wxPyEndAllowThreads(__tstate
); 
40300         if (PyErr_Occurred()) SWIG_fail
; 
40302     resultobj 
= result
; 
40309 static PyObject 
*_wrap_Sizer_Show(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
40310     PyObject 
*resultobj
; 
40311     wxSizer 
*arg1 
= (wxSizer 
*) 0 ; 
40312     PyObject 
*arg2 
= (PyObject 
*) 0 ; 
40313     bool arg3 
= (bool) true ; 
40314     bool arg4 
= (bool) false ; 
40316     PyObject 
* obj0 
= 0 ; 
40317     PyObject 
* obj1 
= 0 ; 
40318     PyObject 
* obj2 
= 0 ; 
40319     PyObject 
* obj3 
= 0 ; 
40320     char *kwnames
[] = { 
40321         (char *) "self",(char *) "item",(char *) "show",(char *) "recursive", NULL 
 
40324     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Sizer_Show",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
40325     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION 
| 0); 
40326     if (SWIG_arg_fail(1)) SWIG_fail
; 
40330             arg3 
= (bool)(SWIG_As_bool(obj2
));  
40331             if (SWIG_arg_fail(3)) SWIG_fail
; 
40336             arg4 
= (bool)(SWIG_As_bool(obj3
));  
40337             if (SWIG_arg_fail(4)) SWIG_fail
; 
40341         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
40342         result 
= (bool)wxSizer_Show(arg1
,arg2
,arg3
,arg4
); 
40344         wxPyEndAllowThreads(__tstate
); 
40345         if (PyErr_Occurred()) SWIG_fail
; 
40348         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
40356 static PyObject 
*_wrap_Sizer_IsShown(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
40357     PyObject 
*resultobj
; 
40358     wxSizer 
*arg1 
= (wxSizer 
*) 0 ; 
40359     PyObject 
*arg2 
= (PyObject 
*) 0 ; 
40361     PyObject 
* obj0 
= 0 ; 
40362     PyObject 
* obj1 
= 0 ; 
40363     char *kwnames
[] = { 
40364         (char *) "self",(char *) "item", NULL 
 
40367     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_IsShown",kwnames
,&obj0
,&obj1
)) goto fail
; 
40368     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION 
| 0); 
40369     if (SWIG_arg_fail(1)) SWIG_fail
; 
40372         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
40373         result 
= (bool)wxSizer_IsShown(arg1
,arg2
); 
40375         wxPyEndAllowThreads(__tstate
); 
40376         if (PyErr_Occurred()) SWIG_fail
; 
40379         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
40387 static PyObject 
*_wrap_Sizer_ShowItems(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
40388     PyObject 
*resultobj
; 
40389     wxSizer 
*arg1 
= (wxSizer 
*) 0 ; 
40391     PyObject 
* obj0 
= 0 ; 
40392     PyObject 
* obj1 
= 0 ; 
40393     char *kwnames
[] = { 
40394         (char *) "self",(char *) "show", NULL 
 
40397     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_ShowItems",kwnames
,&obj0
,&obj1
)) goto fail
; 
40398     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION 
| 0); 
40399     if (SWIG_arg_fail(1)) SWIG_fail
; 
40401         arg2 
= (bool)(SWIG_As_bool(obj1
));  
40402         if (SWIG_arg_fail(2)) SWIG_fail
; 
40405         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
40406         (arg1
)->ShowItems(arg2
); 
40408         wxPyEndAllowThreads(__tstate
); 
40409         if (PyErr_Occurred()) SWIG_fail
; 
40411     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
40418 static PyObject 
* Sizer_swigregister(PyObject 
*, PyObject 
*args
) { 
40420     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
40421     SWIG_TypeClientData(SWIGTYPE_p_wxSizer
, obj
); 
40423     return Py_BuildValue((char *)""); 
40425 static PyObject 
*_wrap_new_PySizer(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
40426     PyObject 
*resultobj
; 
40428     char *kwnames
[] = { 
40432     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PySizer",kwnames
)) goto fail
; 
40434         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
40435         result 
= (wxPySizer 
*)new wxPySizer(); 
40437         wxPyEndAllowThreads(__tstate
); 
40438         if (PyErr_Occurred()) SWIG_fail
; 
40440     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPySizer
, 1); 
40447 static PyObject 
*_wrap_PySizer__setCallbackInfo(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
40448     PyObject 
*resultobj
; 
40449     wxPySizer 
*arg1 
= (wxPySizer 
*) 0 ; 
40450     PyObject 
*arg2 
= (PyObject 
*) 0 ; 
40451     PyObject 
*arg3 
= (PyObject 
*) 0 ; 
40452     PyObject 
* obj0 
= 0 ; 
40453     PyObject 
* obj1 
= 0 ; 
40454     PyObject 
* obj2 
= 0 ; 
40455     char *kwnames
[] = { 
40456         (char *) "self",(char *) "self",(char *) "_class", NULL 
 
40459     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PySizer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
40460     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPySizer
, SWIG_POINTER_EXCEPTION 
| 0); 
40461     if (SWIG_arg_fail(1)) SWIG_fail
; 
40465         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
40466         (arg1
)->_setCallbackInfo(arg2
,arg3
); 
40468         wxPyEndAllowThreads(__tstate
); 
40469         if (PyErr_Occurred()) SWIG_fail
; 
40471     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
40478 static PyObject 
* PySizer_swigregister(PyObject 
*, PyObject 
*args
) { 
40480     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
40481     SWIG_TypeClientData(SWIGTYPE_p_wxPySizer
, obj
); 
40483     return Py_BuildValue((char *)""); 
40485 static PyObject 
*_wrap_new_BoxSizer(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
40486     PyObject 
*resultobj
; 
40487     int arg1 
= (int) wxHORIZONTAL 
; 
40488     wxBoxSizer 
*result
; 
40489     PyObject 
* obj0 
= 0 ; 
40490     char *kwnames
[] = { 
40491         (char *) "orient", NULL 
 
40494     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BoxSizer",kwnames
,&obj0
)) goto fail
; 
40497             arg1 
= (int)(SWIG_As_int(obj0
));  
40498             if (SWIG_arg_fail(1)) SWIG_fail
; 
40502         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
40503         result 
= (wxBoxSizer 
*)new wxBoxSizer(arg1
); 
40505         wxPyEndAllowThreads(__tstate
); 
40506         if (PyErr_Occurred()) SWIG_fail
; 
40508     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBoxSizer
, 1); 
40515 static PyObject 
*_wrap_BoxSizer_GetOrientation(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
40516     PyObject 
*resultobj
; 
40517     wxBoxSizer 
*arg1 
= (wxBoxSizer 
*) 0 ; 
40519     PyObject 
* obj0 
= 0 ; 
40520     char *kwnames
[] = { 
40521         (char *) "self", NULL 
 
40524     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BoxSizer_GetOrientation",kwnames
,&obj0
)) goto fail
; 
40525     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBoxSizer
, SWIG_POINTER_EXCEPTION 
| 0); 
40526     if (SWIG_arg_fail(1)) SWIG_fail
; 
40528         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
40529         result 
= (int)(arg1
)->GetOrientation(); 
40531         wxPyEndAllowThreads(__tstate
); 
40532         if (PyErr_Occurred()) SWIG_fail
; 
40535         resultobj 
= SWIG_From_int((int)(result
));  
40543 static PyObject 
*_wrap_BoxSizer_SetOrientation(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
40544     PyObject 
*resultobj
; 
40545     wxBoxSizer 
*arg1 
= (wxBoxSizer 
*) 0 ; 
40547     PyObject 
* obj0 
= 0 ; 
40548     PyObject 
* obj1 
= 0 ; 
40549     char *kwnames
[] = { 
40550         (char *) "self",(char *) "orient", NULL 
 
40553     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BoxSizer_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
; 
40554     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBoxSizer
, SWIG_POINTER_EXCEPTION 
| 0); 
40555     if (SWIG_arg_fail(1)) SWIG_fail
; 
40557         arg2 
= (int)(SWIG_As_int(obj1
));  
40558         if (SWIG_arg_fail(2)) SWIG_fail
; 
40561         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
40562         (arg1
)->SetOrientation(arg2
); 
40564         wxPyEndAllowThreads(__tstate
); 
40565         if (PyErr_Occurred()) SWIG_fail
; 
40567     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
40574 static PyObject 
* BoxSizer_swigregister(PyObject 
*, PyObject 
*args
) { 
40576     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
40577     SWIG_TypeClientData(SWIGTYPE_p_wxBoxSizer
, obj
); 
40579     return Py_BuildValue((char *)""); 
40581 static PyObject 
*_wrap_new_StaticBoxSizer(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
40582     PyObject 
*resultobj
; 
40583     wxStaticBox 
*arg1 
= (wxStaticBox 
*) 0 ; 
40584     int arg2 
= (int) wxHORIZONTAL 
; 
40585     wxStaticBoxSizer 
*result
; 
40586     PyObject 
* obj0 
= 0 ; 
40587     PyObject 
* obj1 
= 0 ; 
40588     char *kwnames
[] = { 
40589         (char *) "box",(char *) "orient", NULL 
 
40592     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_StaticBoxSizer",kwnames
,&obj0
,&obj1
)) goto fail
; 
40593     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBox
, SWIG_POINTER_EXCEPTION 
| 0); 
40594     if (SWIG_arg_fail(1)) SWIG_fail
; 
40597             arg2 
= (int)(SWIG_As_int(obj1
));  
40598             if (SWIG_arg_fail(2)) SWIG_fail
; 
40602         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
40603         result 
= (wxStaticBoxSizer 
*)new wxStaticBoxSizer(arg1
,arg2
); 
40605         wxPyEndAllowThreads(__tstate
); 
40606         if (PyErr_Occurred()) SWIG_fail
; 
40608     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBoxSizer
, 1); 
40615 static PyObject 
*_wrap_StaticBoxSizer_GetStaticBox(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
40616     PyObject 
*resultobj
; 
40617     wxStaticBoxSizer 
*arg1 
= (wxStaticBoxSizer 
*) 0 ; 
40618     wxStaticBox 
*result
; 
40619     PyObject 
* obj0 
= 0 ; 
40620     char *kwnames
[] = { 
40621         (char *) "self", NULL 
 
40624     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBoxSizer_GetStaticBox",kwnames
,&obj0
)) goto fail
; 
40625     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBoxSizer
, SWIG_POINTER_EXCEPTION 
| 0); 
40626     if (SWIG_arg_fail(1)) SWIG_fail
; 
40628         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
40629         result 
= (wxStaticBox 
*)(arg1
)->GetStaticBox(); 
40631         wxPyEndAllowThreads(__tstate
); 
40632         if (PyErr_Occurred()) SWIG_fail
; 
40635         resultobj 
= wxPyMake_wxObject(result
, 0);  
40643 static PyObject 
* StaticBoxSizer_swigregister(PyObject 
*, PyObject 
*args
) { 
40645     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
40646     SWIG_TypeClientData(SWIGTYPE_p_wxStaticBoxSizer
, obj
); 
40648     return Py_BuildValue((char *)""); 
40650 static PyObject 
*_wrap_new_GridSizer(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
40651     PyObject 
*resultobj
; 
40652     int arg1 
= (int) 1 ; 
40653     int arg2 
= (int) 0 ; 
40654     int arg3 
= (int) 0 ; 
40655     int arg4 
= (int) 0 ; 
40656     wxGridSizer 
*result
; 
40657     PyObject 
* obj0 
= 0 ; 
40658     PyObject 
* obj1 
= 0 ; 
40659     PyObject 
* obj2 
= 0 ; 
40660     PyObject 
* obj3 
= 0 ; 
40661     char *kwnames
[] = { 
40662         (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL 
 
40665     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_GridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
40668             arg1 
= (int)(SWIG_As_int(obj0
));  
40669             if (SWIG_arg_fail(1)) SWIG_fail
; 
40674             arg2 
= (int)(SWIG_As_int(obj1
));  
40675             if (SWIG_arg_fail(2)) SWIG_fail
; 
40680             arg3 
= (int)(SWIG_As_int(obj2
));  
40681             if (SWIG_arg_fail(3)) SWIG_fail
; 
40686             arg4 
= (int)(SWIG_As_int(obj3
));  
40687             if (SWIG_arg_fail(4)) SWIG_fail
; 
40691         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
40692         result 
= (wxGridSizer 
*)new wxGridSizer(arg1
,arg2
,arg3
,arg4
); 
40694         wxPyEndAllowThreads(__tstate
); 
40695         if (PyErr_Occurred()) SWIG_fail
; 
40697     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridSizer
, 1); 
40704 static PyObject 
*_wrap_GridSizer_SetCols(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
40705     PyObject 
*resultobj
; 
40706     wxGridSizer 
*arg1 
= (wxGridSizer 
*) 0 ; 
40708     PyObject 
* obj0 
= 0 ; 
40709     PyObject 
* obj1 
= 0 ; 
40710     char *kwnames
[] = { 
40711         (char *) "self",(char *) "cols", NULL 
 
40714     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetCols",kwnames
,&obj0
,&obj1
)) goto fail
; 
40715     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION 
| 0); 
40716     if (SWIG_arg_fail(1)) SWIG_fail
; 
40718         arg2 
= (int)(SWIG_As_int(obj1
));  
40719         if (SWIG_arg_fail(2)) SWIG_fail
; 
40722         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
40723         (arg1
)->SetCols(arg2
); 
40725         wxPyEndAllowThreads(__tstate
); 
40726         if (PyErr_Occurred()) SWIG_fail
; 
40728     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
40735 static PyObject 
*_wrap_GridSizer_SetRows(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
40736     PyObject 
*resultobj
; 
40737     wxGridSizer 
*arg1 
= (wxGridSizer 
*) 0 ; 
40739     PyObject 
* obj0 
= 0 ; 
40740     PyObject 
* obj1 
= 0 ; 
40741     char *kwnames
[] = { 
40742         (char *) "self",(char *) "rows", NULL 
 
40745     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetRows",kwnames
,&obj0
,&obj1
)) goto fail
; 
40746     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION 
| 0); 
40747     if (SWIG_arg_fail(1)) SWIG_fail
; 
40749         arg2 
= (int)(SWIG_As_int(obj1
));  
40750         if (SWIG_arg_fail(2)) SWIG_fail
; 
40753         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
40754         (arg1
)->SetRows(arg2
); 
40756         wxPyEndAllowThreads(__tstate
); 
40757         if (PyErr_Occurred()) SWIG_fail
; 
40759     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
40766 static PyObject 
*_wrap_GridSizer_SetVGap(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
40767     PyObject 
*resultobj
; 
40768     wxGridSizer 
*arg1 
= (wxGridSizer 
*) 0 ; 
40770     PyObject 
* obj0 
= 0 ; 
40771     PyObject 
* obj1 
= 0 ; 
40772     char *kwnames
[] = { 
40773         (char *) "self",(char *) "gap", NULL 
 
40776     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetVGap",kwnames
,&obj0
,&obj1
)) goto fail
; 
40777     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION 
| 0); 
40778     if (SWIG_arg_fail(1)) SWIG_fail
; 
40780         arg2 
= (int)(SWIG_As_int(obj1
));  
40781         if (SWIG_arg_fail(2)) SWIG_fail
; 
40784         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
40785         (arg1
)->SetVGap(arg2
); 
40787         wxPyEndAllowThreads(__tstate
); 
40788         if (PyErr_Occurred()) SWIG_fail
; 
40790     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
40797 static PyObject 
*_wrap_GridSizer_SetHGap(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
40798     PyObject 
*resultobj
; 
40799     wxGridSizer 
*arg1 
= (wxGridSizer 
*) 0 ; 
40801     PyObject 
* obj0 
= 0 ; 
40802     PyObject 
* obj1 
= 0 ; 
40803     char *kwnames
[] = { 
40804         (char *) "self",(char *) "gap", NULL 
 
40807     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetHGap",kwnames
,&obj0
,&obj1
)) goto fail
; 
40808     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION 
| 0); 
40809     if (SWIG_arg_fail(1)) SWIG_fail
; 
40811         arg2 
= (int)(SWIG_As_int(obj1
));  
40812         if (SWIG_arg_fail(2)) SWIG_fail
; 
40815         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
40816         (arg1
)->SetHGap(arg2
); 
40818         wxPyEndAllowThreads(__tstate
); 
40819         if (PyErr_Occurred()) SWIG_fail
; 
40821     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
40828 static PyObject 
*_wrap_GridSizer_GetCols(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
40829     PyObject 
*resultobj
; 
40830     wxGridSizer 
*arg1 
= (wxGridSizer 
*) 0 ; 
40832     PyObject 
* obj0 
= 0 ; 
40833     char *kwnames
[] = { 
40834         (char *) "self", NULL 
 
40837     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetCols",kwnames
,&obj0
)) goto fail
; 
40838     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION 
| 0); 
40839     if (SWIG_arg_fail(1)) SWIG_fail
; 
40841         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
40842         result 
= (int)(arg1
)->GetCols(); 
40844         wxPyEndAllowThreads(__tstate
); 
40845         if (PyErr_Occurred()) SWIG_fail
; 
40848         resultobj 
= SWIG_From_int((int)(result
));  
40856 static PyObject 
*_wrap_GridSizer_GetRows(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
40857     PyObject 
*resultobj
; 
40858     wxGridSizer 
*arg1 
= (wxGridSizer 
*) 0 ; 
40860     PyObject 
* obj0 
= 0 ; 
40861     char *kwnames
[] = { 
40862         (char *) "self", NULL 
 
40865     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetRows",kwnames
,&obj0
)) goto fail
; 
40866     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION 
| 0); 
40867     if (SWIG_arg_fail(1)) SWIG_fail
; 
40869         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
40870         result 
= (int)(arg1
)->GetRows(); 
40872         wxPyEndAllowThreads(__tstate
); 
40873         if (PyErr_Occurred()) SWIG_fail
; 
40876         resultobj 
= SWIG_From_int((int)(result
));  
40884 static PyObject 
*_wrap_GridSizer_GetVGap(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
40885     PyObject 
*resultobj
; 
40886     wxGridSizer 
*arg1 
= (wxGridSizer 
*) 0 ; 
40888     PyObject 
* obj0 
= 0 ; 
40889     char *kwnames
[] = { 
40890         (char *) "self", NULL 
 
40893     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetVGap",kwnames
,&obj0
)) goto fail
; 
40894     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION 
| 0); 
40895     if (SWIG_arg_fail(1)) SWIG_fail
; 
40897         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
40898         result 
= (int)(arg1
)->GetVGap(); 
40900         wxPyEndAllowThreads(__tstate
); 
40901         if (PyErr_Occurred()) SWIG_fail
; 
40904         resultobj 
= SWIG_From_int((int)(result
));  
40912 static PyObject 
*_wrap_GridSizer_GetHGap(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
40913     PyObject 
*resultobj
; 
40914     wxGridSizer 
*arg1 
= (wxGridSizer 
*) 0 ; 
40916     PyObject 
* obj0 
= 0 ; 
40917     char *kwnames
[] = { 
40918         (char *) "self", NULL 
 
40921     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetHGap",kwnames
,&obj0
)) goto fail
; 
40922     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION 
| 0); 
40923     if (SWIG_arg_fail(1)) SWIG_fail
; 
40925         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
40926         result 
= (int)(arg1
)->GetHGap(); 
40928         wxPyEndAllowThreads(__tstate
); 
40929         if (PyErr_Occurred()) SWIG_fail
; 
40932         resultobj 
= SWIG_From_int((int)(result
));  
40940 static PyObject 
* GridSizer_swigregister(PyObject 
*, PyObject 
*args
) { 
40942     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
40943     SWIG_TypeClientData(SWIGTYPE_p_wxGridSizer
, obj
); 
40945     return Py_BuildValue((char *)""); 
40947 static PyObject 
*_wrap_new_FlexGridSizer(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
40948     PyObject 
*resultobj
; 
40949     int arg1 
= (int) 1 ; 
40950     int arg2 
= (int) 0 ; 
40951     int arg3 
= (int) 0 ; 
40952     int arg4 
= (int) 0 ; 
40953     wxFlexGridSizer 
*result
; 
40954     PyObject 
* obj0 
= 0 ; 
40955     PyObject 
* obj1 
= 0 ; 
40956     PyObject 
* obj2 
= 0 ; 
40957     PyObject 
* obj3 
= 0 ; 
40958     char *kwnames
[] = { 
40959         (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL 
 
40962     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_FlexGridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
40965             arg1 
= (int)(SWIG_As_int(obj0
));  
40966             if (SWIG_arg_fail(1)) SWIG_fail
; 
40971             arg2 
= (int)(SWIG_As_int(obj1
));  
40972             if (SWIG_arg_fail(2)) SWIG_fail
; 
40977             arg3 
= (int)(SWIG_As_int(obj2
));  
40978             if (SWIG_arg_fail(3)) SWIG_fail
; 
40983             arg4 
= (int)(SWIG_As_int(obj3
));  
40984             if (SWIG_arg_fail(4)) SWIG_fail
; 
40988         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
40989         result 
= (wxFlexGridSizer 
*)new wxFlexGridSizer(arg1
,arg2
,arg3
,arg4
); 
40991         wxPyEndAllowThreads(__tstate
); 
40992         if (PyErr_Occurred()) SWIG_fail
; 
40994     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFlexGridSizer
, 1); 
41001 static PyObject 
*_wrap_FlexGridSizer_AddGrowableRow(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
41002     PyObject 
*resultobj
; 
41003     wxFlexGridSizer 
*arg1 
= (wxFlexGridSizer 
*) 0 ; 
41005     int arg3 
= (int) 0 ; 
41006     PyObject 
* obj0 
= 0 ; 
41007     PyObject 
* obj1 
= 0 ; 
41008     PyObject 
* obj2 
= 0 ; 
41009     char *kwnames
[] = { 
41010         (char *) "self",(char *) "idx",(char *) "proportion", NULL 
 
41013     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FlexGridSizer_AddGrowableRow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
41014     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION 
| 0); 
41015     if (SWIG_arg_fail(1)) SWIG_fail
; 
41017         arg2 
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));  
41018         if (SWIG_arg_fail(2)) SWIG_fail
; 
41022             arg3 
= (int)(SWIG_As_int(obj2
));  
41023             if (SWIG_arg_fail(3)) SWIG_fail
; 
41027         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
41028         (arg1
)->AddGrowableRow(arg2
,arg3
); 
41030         wxPyEndAllowThreads(__tstate
); 
41031         if (PyErr_Occurred()) SWIG_fail
; 
41033     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
41040 static PyObject 
*_wrap_FlexGridSizer_RemoveGrowableRow(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
41041     PyObject 
*resultobj
; 
41042     wxFlexGridSizer 
*arg1 
= (wxFlexGridSizer 
*) 0 ; 
41044     PyObject 
* obj0 
= 0 ; 
41045     PyObject 
* obj1 
= 0 ; 
41046     char *kwnames
[] = { 
41047         (char *) "self",(char *) "idx", NULL 
 
41050     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableRow",kwnames
,&obj0
,&obj1
)) goto fail
; 
41051     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION 
| 0); 
41052     if (SWIG_arg_fail(1)) SWIG_fail
; 
41054         arg2 
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));  
41055         if (SWIG_arg_fail(2)) SWIG_fail
; 
41058         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
41059         (arg1
)->RemoveGrowableRow(arg2
); 
41061         wxPyEndAllowThreads(__tstate
); 
41062         if (PyErr_Occurred()) SWIG_fail
; 
41064     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
41071 static PyObject 
*_wrap_FlexGridSizer_AddGrowableCol(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
41072     PyObject 
*resultobj
; 
41073     wxFlexGridSizer 
*arg1 
= (wxFlexGridSizer 
*) 0 ; 
41075     int arg3 
= (int) 0 ; 
41076     PyObject 
* obj0 
= 0 ; 
41077     PyObject 
* obj1 
= 0 ; 
41078     PyObject 
* obj2 
= 0 ; 
41079     char *kwnames
[] = { 
41080         (char *) "self",(char *) "idx",(char *) "proportion", NULL 
 
41083     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FlexGridSizer_AddGrowableCol",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
41084     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION 
| 0); 
41085     if (SWIG_arg_fail(1)) SWIG_fail
; 
41087         arg2 
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));  
41088         if (SWIG_arg_fail(2)) SWIG_fail
; 
41092             arg3 
= (int)(SWIG_As_int(obj2
));  
41093             if (SWIG_arg_fail(3)) SWIG_fail
; 
41097         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
41098         (arg1
)->AddGrowableCol(arg2
,arg3
); 
41100         wxPyEndAllowThreads(__tstate
); 
41101         if (PyErr_Occurred()) SWIG_fail
; 
41103     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
41110 static PyObject 
*_wrap_FlexGridSizer_RemoveGrowableCol(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
41111     PyObject 
*resultobj
; 
41112     wxFlexGridSizer 
*arg1 
= (wxFlexGridSizer 
*) 0 ; 
41114     PyObject 
* obj0 
= 0 ; 
41115     PyObject 
* obj1 
= 0 ; 
41116     char *kwnames
[] = { 
41117         (char *) "self",(char *) "idx", NULL 
 
41120     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableCol",kwnames
,&obj0
,&obj1
)) goto fail
; 
41121     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION 
| 0); 
41122     if (SWIG_arg_fail(1)) SWIG_fail
; 
41124         arg2 
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));  
41125         if (SWIG_arg_fail(2)) SWIG_fail
; 
41128         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
41129         (arg1
)->RemoveGrowableCol(arg2
); 
41131         wxPyEndAllowThreads(__tstate
); 
41132         if (PyErr_Occurred()) SWIG_fail
; 
41134     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
41141 static PyObject 
*_wrap_FlexGridSizer_SetFlexibleDirection(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
41142     PyObject 
*resultobj
; 
41143     wxFlexGridSizer 
*arg1 
= (wxFlexGridSizer 
*) 0 ; 
41145     PyObject 
* obj0 
= 0 ; 
41146     PyObject 
* obj1 
= 0 ; 
41147     char *kwnames
[] = { 
41148         (char *) "self",(char *) "direction", NULL 
 
41151     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetFlexibleDirection",kwnames
,&obj0
,&obj1
)) goto fail
; 
41152     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION 
| 0); 
41153     if (SWIG_arg_fail(1)) SWIG_fail
; 
41155         arg2 
= (int)(SWIG_As_int(obj1
));  
41156         if (SWIG_arg_fail(2)) SWIG_fail
; 
41159         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
41160         (arg1
)->SetFlexibleDirection(arg2
); 
41162         wxPyEndAllowThreads(__tstate
); 
41163         if (PyErr_Occurred()) SWIG_fail
; 
41165     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
41172 static PyObject 
*_wrap_FlexGridSizer_GetFlexibleDirection(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
41173     PyObject 
*resultobj
; 
41174     wxFlexGridSizer 
*arg1 
= (wxFlexGridSizer 
*) 0 ; 
41176     PyObject 
* obj0 
= 0 ; 
41177     char *kwnames
[] = { 
41178         (char *) "self", NULL 
 
41181     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetFlexibleDirection",kwnames
,&obj0
)) goto fail
; 
41182     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION 
| 0); 
41183     if (SWIG_arg_fail(1)) SWIG_fail
; 
41185         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
41186         result 
= (int)(arg1
)->GetFlexibleDirection(); 
41188         wxPyEndAllowThreads(__tstate
); 
41189         if (PyErr_Occurred()) SWIG_fail
; 
41192         resultobj 
= SWIG_From_int((int)(result
));  
41200 static PyObject 
*_wrap_FlexGridSizer_SetNonFlexibleGrowMode(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
41201     PyObject 
*resultobj
; 
41202     wxFlexGridSizer 
*arg1 
= (wxFlexGridSizer 
*) 0 ; 
41203     wxFlexSizerGrowMode arg2 
; 
41204     PyObject 
* obj0 
= 0 ; 
41205     PyObject 
* obj1 
= 0 ; 
41206     char *kwnames
[] = { 
41207         (char *) "self",(char *) "mode", NULL 
 
41210     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetNonFlexibleGrowMode",kwnames
,&obj0
,&obj1
)) goto fail
; 
41211     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION 
| 0); 
41212     if (SWIG_arg_fail(1)) SWIG_fail
; 
41214         arg2 
= (wxFlexSizerGrowMode
)(SWIG_As_int(obj1
));  
41215         if (SWIG_arg_fail(2)) SWIG_fail
; 
41218         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
41219         (arg1
)->SetNonFlexibleGrowMode((wxFlexSizerGrowMode 
)arg2
); 
41221         wxPyEndAllowThreads(__tstate
); 
41222         if (PyErr_Occurred()) SWIG_fail
; 
41224     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
41231 static PyObject 
*_wrap_FlexGridSizer_GetNonFlexibleGrowMode(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
41232     PyObject 
*resultobj
; 
41233     wxFlexGridSizer 
*arg1 
= (wxFlexGridSizer 
*) 0 ; 
41234     wxFlexSizerGrowMode result
; 
41235     PyObject 
* obj0 
= 0 ; 
41236     char *kwnames
[] = { 
41237         (char *) "self", NULL 
 
41240     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetNonFlexibleGrowMode",kwnames
,&obj0
)) goto fail
; 
41241     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION 
| 0); 
41242     if (SWIG_arg_fail(1)) SWIG_fail
; 
41244         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
41245         result 
= (wxFlexSizerGrowMode
)(arg1
)->GetNonFlexibleGrowMode(); 
41247         wxPyEndAllowThreads(__tstate
); 
41248         if (PyErr_Occurred()) SWIG_fail
; 
41250     resultobj 
= SWIG_From_int((result
)); 
41257 static PyObject 
*_wrap_FlexGridSizer_GetRowHeights(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
41258     PyObject 
*resultobj
; 
41259     wxFlexGridSizer 
*arg1 
= (wxFlexGridSizer 
*) 0 ; 
41260     wxArrayInt 
*result
; 
41261     PyObject 
* obj0 
= 0 ; 
41262     char *kwnames
[] = { 
41263         (char *) "self", NULL 
 
41266     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetRowHeights",kwnames
,&obj0
)) goto fail
; 
41267     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION 
| 0); 
41268     if (SWIG_arg_fail(1)) SWIG_fail
; 
41270         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
41272             wxArrayInt 
const &_result_ref 
= ((wxFlexGridSizer 
const *)arg1
)->GetRowHeights(); 
41273             result 
= (wxArrayInt 
*) &_result_ref
; 
41276         wxPyEndAllowThreads(__tstate
); 
41277         if (PyErr_Occurred()) SWIG_fail
; 
41280         resultobj 
= PyList_New(0); 
41282         for (idx 
= 0; idx 
< result
->GetCount(); idx 
+= 1) { 
41283             PyObject
* val 
= PyInt_FromLong( result
->Item(idx
) ); 
41284             PyList_Append(resultobj
, val
); 
41294 static PyObject 
*_wrap_FlexGridSizer_GetColWidths(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
41295     PyObject 
*resultobj
; 
41296     wxFlexGridSizer 
*arg1 
= (wxFlexGridSizer 
*) 0 ; 
41297     wxArrayInt 
*result
; 
41298     PyObject 
* obj0 
= 0 ; 
41299     char *kwnames
[] = { 
41300         (char *) "self", NULL 
 
41303     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetColWidths",kwnames
,&obj0
)) goto fail
; 
41304     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION 
| 0); 
41305     if (SWIG_arg_fail(1)) SWIG_fail
; 
41307         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
41309             wxArrayInt 
const &_result_ref 
= ((wxFlexGridSizer 
const *)arg1
)->GetColWidths(); 
41310             result 
= (wxArrayInt 
*) &_result_ref
; 
41313         wxPyEndAllowThreads(__tstate
); 
41314         if (PyErr_Occurred()) SWIG_fail
; 
41317         resultobj 
= PyList_New(0); 
41319         for (idx 
= 0; idx 
< result
->GetCount(); idx 
+= 1) { 
41320             PyObject
* val 
= PyInt_FromLong( result
->Item(idx
) ); 
41321             PyList_Append(resultobj
, val
); 
41331 static PyObject 
* FlexGridSizer_swigregister(PyObject 
*, PyObject 
*args
) { 
41333     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
41334     SWIG_TypeClientData(SWIGTYPE_p_wxFlexGridSizer
, obj
); 
41336     return Py_BuildValue((char *)""); 
41338 static PyObject 
*_wrap_new_StdDialogButtonSizer(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
41339     PyObject 
*resultobj
; 
41340     wxStdDialogButtonSizer 
*result
; 
41341     char *kwnames
[] = { 
41345     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_StdDialogButtonSizer",kwnames
)) goto fail
; 
41347         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
41348         result 
= (wxStdDialogButtonSizer 
*)new wxStdDialogButtonSizer(); 
41350         wxPyEndAllowThreads(__tstate
); 
41351         if (PyErr_Occurred()) SWIG_fail
; 
41353     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStdDialogButtonSizer
, 1); 
41360 static PyObject 
*_wrap_StdDialogButtonSizer_AddButton(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
41361     PyObject 
*resultobj
; 
41362     wxStdDialogButtonSizer 
*arg1 
= (wxStdDialogButtonSizer 
*) 0 ; 
41363     wxButton 
*arg2 
= (wxButton 
*) 0 ; 
41364     PyObject 
* obj0 
= 0 ; 
41365     PyObject 
* obj1 
= 0 ; 
41366     char *kwnames
[] = { 
41367         (char *) "self",(char *) "button", NULL 
 
41370     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StdDialogButtonSizer_AddButton",kwnames
,&obj0
,&obj1
)) goto fail
; 
41371     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION 
| 0); 
41372     if (SWIG_arg_fail(1)) SWIG_fail
; 
41373     SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxButton
, SWIG_POINTER_EXCEPTION 
| 0); 
41374     if (SWIG_arg_fail(2)) SWIG_fail
; 
41376         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
41377         (arg1
)->AddButton(arg2
); 
41379         wxPyEndAllowThreads(__tstate
); 
41380         if (PyErr_Occurred()) SWIG_fail
; 
41382     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
41389 static PyObject 
*_wrap_StdDialogButtonSizer_Realize(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
41390     PyObject 
*resultobj
; 
41391     wxStdDialogButtonSizer 
*arg1 
= (wxStdDialogButtonSizer 
*) 0 ; 
41392     PyObject 
* obj0 
= 0 ; 
41393     char *kwnames
[] = { 
41394         (char *) "self", NULL 
 
41397     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_Realize",kwnames
,&obj0
)) goto fail
; 
41398     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION 
| 0); 
41399     if (SWIG_arg_fail(1)) SWIG_fail
; 
41401         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
41404         wxPyEndAllowThreads(__tstate
); 
41405         if (PyErr_Occurred()) SWIG_fail
; 
41407     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
41414 static PyObject 
*_wrap_StdDialogButtonSizer_SetAffirmativeButton(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
41415     PyObject 
*resultobj
; 
41416     wxStdDialogButtonSizer 
*arg1 
= (wxStdDialogButtonSizer 
*) 0 ; 
41417     wxButton 
*arg2 
= (wxButton 
*) 0 ; 
41418     PyObject 
* obj0 
= 0 ; 
41419     PyObject 
* obj1 
= 0 ; 
41420     char *kwnames
[] = { 
41421         (char *) "self",(char *) "button", NULL 
 
41424     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StdDialogButtonSizer_SetAffirmativeButton",kwnames
,&obj0
,&obj1
)) goto fail
; 
41425     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION 
| 0); 
41426     if (SWIG_arg_fail(1)) SWIG_fail
; 
41427     SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxButton
, SWIG_POINTER_EXCEPTION 
| 0); 
41428     if (SWIG_arg_fail(2)) SWIG_fail
; 
41430         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
41431         (arg1
)->SetAffirmativeButton(arg2
); 
41433         wxPyEndAllowThreads(__tstate
); 
41434         if (PyErr_Occurred()) SWIG_fail
; 
41436     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
41443 static PyObject 
*_wrap_StdDialogButtonSizer_SetNegativeButton(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
41444     PyObject 
*resultobj
; 
41445     wxStdDialogButtonSizer 
*arg1 
= (wxStdDialogButtonSizer 
*) 0 ; 
41446     wxButton 
*arg2 
= (wxButton 
*) 0 ; 
41447     PyObject 
* obj0 
= 0 ; 
41448     PyObject 
* obj1 
= 0 ; 
41449     char *kwnames
[] = { 
41450         (char *) "self",(char *) "button", NULL 
 
41453     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StdDialogButtonSizer_SetNegativeButton",kwnames
,&obj0
,&obj1
)) goto fail
; 
41454     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION 
| 0); 
41455     if (SWIG_arg_fail(1)) SWIG_fail
; 
41456     SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxButton
, SWIG_POINTER_EXCEPTION 
| 0); 
41457     if (SWIG_arg_fail(2)) SWIG_fail
; 
41459         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
41460         (arg1
)->SetNegativeButton(arg2
); 
41462         wxPyEndAllowThreads(__tstate
); 
41463         if (PyErr_Occurred()) SWIG_fail
; 
41465     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
41472 static PyObject 
*_wrap_StdDialogButtonSizer_SetCancelButton(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
41473     PyObject 
*resultobj
; 
41474     wxStdDialogButtonSizer 
*arg1 
= (wxStdDialogButtonSizer 
*) 0 ; 
41475     wxButton 
*arg2 
= (wxButton 
*) 0 ; 
41476     PyObject 
* obj0 
= 0 ; 
41477     PyObject 
* obj1 
= 0 ; 
41478     char *kwnames
[] = { 
41479         (char *) "self",(char *) "button", NULL 
 
41482     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StdDialogButtonSizer_SetCancelButton",kwnames
,&obj0
,&obj1
)) goto fail
; 
41483     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION 
| 0); 
41484     if (SWIG_arg_fail(1)) SWIG_fail
; 
41485     SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxButton
, SWIG_POINTER_EXCEPTION 
| 0); 
41486     if (SWIG_arg_fail(2)) SWIG_fail
; 
41488         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
41489         (arg1
)->SetCancelButton(arg2
); 
41491         wxPyEndAllowThreads(__tstate
); 
41492         if (PyErr_Occurred()) SWIG_fail
; 
41494     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
41501 static PyObject 
*_wrap_StdDialogButtonSizer_GetAffirmativeButton(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
41502     PyObject 
*resultobj
; 
41503     wxStdDialogButtonSizer 
*arg1 
= (wxStdDialogButtonSizer 
*) 0 ; 
41505     PyObject 
* obj0 
= 0 ; 
41506     char *kwnames
[] = { 
41507         (char *) "self", NULL 
 
41510     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_GetAffirmativeButton",kwnames
,&obj0
)) goto fail
; 
41511     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION 
| 0); 
41512     if (SWIG_arg_fail(1)) SWIG_fail
; 
41514         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
41515         result 
= (wxButton 
*)((wxStdDialogButtonSizer 
const *)arg1
)->GetAffirmativeButton(); 
41517         wxPyEndAllowThreads(__tstate
); 
41518         if (PyErr_Occurred()) SWIG_fail
; 
41521         resultobj 
= wxPyMake_wxObject(result
, 0);  
41529 static PyObject 
*_wrap_StdDialogButtonSizer_GetApplyButton(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
41530     PyObject 
*resultobj
; 
41531     wxStdDialogButtonSizer 
*arg1 
= (wxStdDialogButtonSizer 
*) 0 ; 
41533     PyObject 
* obj0 
= 0 ; 
41534     char *kwnames
[] = { 
41535         (char *) "self", NULL 
 
41538     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_GetApplyButton",kwnames
,&obj0
)) goto fail
; 
41539     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION 
| 0); 
41540     if (SWIG_arg_fail(1)) SWIG_fail
; 
41542         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
41543         result 
= (wxButton 
*)((wxStdDialogButtonSizer 
const *)arg1
)->GetApplyButton(); 
41545         wxPyEndAllowThreads(__tstate
); 
41546         if (PyErr_Occurred()) SWIG_fail
; 
41549         resultobj 
= wxPyMake_wxObject(result
, 0);  
41557 static PyObject 
*_wrap_StdDialogButtonSizer_GetNegativeButton(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
41558     PyObject 
*resultobj
; 
41559     wxStdDialogButtonSizer 
*arg1 
= (wxStdDialogButtonSizer 
*) 0 ; 
41561     PyObject 
* obj0 
= 0 ; 
41562     char *kwnames
[] = { 
41563         (char *) "self", NULL 
 
41566     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_GetNegativeButton",kwnames
,&obj0
)) goto fail
; 
41567     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION 
| 0); 
41568     if (SWIG_arg_fail(1)) SWIG_fail
; 
41570         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
41571         result 
= (wxButton 
*)((wxStdDialogButtonSizer 
const *)arg1
)->GetNegativeButton(); 
41573         wxPyEndAllowThreads(__tstate
); 
41574         if (PyErr_Occurred()) SWIG_fail
; 
41577         resultobj 
= wxPyMake_wxObject(result
, 0);  
41585 static PyObject 
*_wrap_StdDialogButtonSizer_GetCancelButton(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
41586     PyObject 
*resultobj
; 
41587     wxStdDialogButtonSizer 
*arg1 
= (wxStdDialogButtonSizer 
*) 0 ; 
41589     PyObject 
* obj0 
= 0 ; 
41590     char *kwnames
[] = { 
41591         (char *) "self", NULL 
 
41594     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_GetCancelButton",kwnames
,&obj0
)) goto fail
; 
41595     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION 
| 0); 
41596     if (SWIG_arg_fail(1)) SWIG_fail
; 
41598         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
41599         result 
= (wxButton 
*)((wxStdDialogButtonSizer 
const *)arg1
)->GetCancelButton(); 
41601         wxPyEndAllowThreads(__tstate
); 
41602         if (PyErr_Occurred()) SWIG_fail
; 
41605         resultobj 
= wxPyMake_wxObject(result
, 0);  
41613 static PyObject 
*_wrap_StdDialogButtonSizer_GetHelpButton(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
41614     PyObject 
*resultobj
; 
41615     wxStdDialogButtonSizer 
*arg1 
= (wxStdDialogButtonSizer 
*) 0 ; 
41617     PyObject 
* obj0 
= 0 ; 
41618     char *kwnames
[] = { 
41619         (char *) "self", NULL 
 
41622     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_GetHelpButton",kwnames
,&obj0
)) goto fail
; 
41623     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION 
| 0); 
41624     if (SWIG_arg_fail(1)) SWIG_fail
; 
41626         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
41627         result 
= (wxButton 
*)((wxStdDialogButtonSizer 
const *)arg1
)->GetHelpButton(); 
41629         wxPyEndAllowThreads(__tstate
); 
41630         if (PyErr_Occurred()) SWIG_fail
; 
41633         resultobj 
= wxPyMake_wxObject(result
, 0);  
41641 static PyObject 
* StdDialogButtonSizer_swigregister(PyObject 
*, PyObject 
*args
) { 
41643     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
41644     SWIG_TypeClientData(SWIGTYPE_p_wxStdDialogButtonSizer
, obj
); 
41646     return Py_BuildValue((char *)""); 
41648 static PyObject 
*_wrap_new_GBPosition(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
41649     PyObject 
*resultobj
; 
41650     int arg1 
= (int) 0 ; 
41651     int arg2 
= (int) 0 ; 
41652     wxGBPosition 
*result
; 
41653     PyObject 
* obj0 
= 0 ; 
41654     PyObject 
* obj1 
= 0 ; 
41655     char *kwnames
[] = { 
41656         (char *) "row",(char *) "col", NULL 
 
41659     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBPosition",kwnames
,&obj0
,&obj1
)) goto fail
; 
41662             arg1 
= (int)(SWIG_As_int(obj0
));  
41663             if (SWIG_arg_fail(1)) SWIG_fail
; 
41668             arg2 
= (int)(SWIG_As_int(obj1
));  
41669             if (SWIG_arg_fail(2)) SWIG_fail
; 
41673         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
41674         result 
= (wxGBPosition 
*)new wxGBPosition(arg1
,arg2
); 
41676         wxPyEndAllowThreads(__tstate
); 
41677         if (PyErr_Occurred()) SWIG_fail
; 
41679     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBPosition
, 1); 
41686 static PyObject 
*_wrap_GBPosition_GetRow(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
41687     PyObject 
*resultobj
; 
41688     wxGBPosition 
*arg1 
= (wxGBPosition 
*) 0 ; 
41690     PyObject 
* obj0 
= 0 ; 
41691     char *kwnames
[] = { 
41692         (char *) "self", NULL 
 
41695     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_GetRow",kwnames
,&obj0
)) goto fail
; 
41696     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION 
| 0); 
41697     if (SWIG_arg_fail(1)) SWIG_fail
; 
41699         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
41700         result 
= (int)((wxGBPosition 
const *)arg1
)->GetRow(); 
41702         wxPyEndAllowThreads(__tstate
); 
41703         if (PyErr_Occurred()) SWIG_fail
; 
41706         resultobj 
= SWIG_From_int((int)(result
));  
41714 static PyObject 
*_wrap_GBPosition_GetCol(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
41715     PyObject 
*resultobj
; 
41716     wxGBPosition 
*arg1 
= (wxGBPosition 
*) 0 ; 
41718     PyObject 
* obj0 
= 0 ; 
41719     char *kwnames
[] = { 
41720         (char *) "self", NULL 
 
41723     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_GetCol",kwnames
,&obj0
)) goto fail
; 
41724     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION 
| 0); 
41725     if (SWIG_arg_fail(1)) SWIG_fail
; 
41727         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
41728         result 
= (int)((wxGBPosition 
const *)arg1
)->GetCol(); 
41730         wxPyEndAllowThreads(__tstate
); 
41731         if (PyErr_Occurred()) SWIG_fail
; 
41734         resultobj 
= SWIG_From_int((int)(result
));  
41742 static PyObject 
*_wrap_GBPosition_SetRow(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
41743     PyObject 
*resultobj
; 
41744     wxGBPosition 
*arg1 
= (wxGBPosition 
*) 0 ; 
41746     PyObject 
* obj0 
= 0 ; 
41747     PyObject 
* obj1 
= 0 ; 
41748     char *kwnames
[] = { 
41749         (char *) "self",(char *) "row", NULL 
 
41752     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetRow",kwnames
,&obj0
,&obj1
)) goto fail
; 
41753     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION 
| 0); 
41754     if (SWIG_arg_fail(1)) SWIG_fail
; 
41756         arg2 
= (int)(SWIG_As_int(obj1
));  
41757         if (SWIG_arg_fail(2)) SWIG_fail
; 
41760         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
41761         (arg1
)->SetRow(arg2
); 
41763         wxPyEndAllowThreads(__tstate
); 
41764         if (PyErr_Occurred()) SWIG_fail
; 
41766     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
41773 static PyObject 
*_wrap_GBPosition_SetCol(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
41774     PyObject 
*resultobj
; 
41775     wxGBPosition 
*arg1 
= (wxGBPosition 
*) 0 ; 
41777     PyObject 
* obj0 
= 0 ; 
41778     PyObject 
* obj1 
= 0 ; 
41779     char *kwnames
[] = { 
41780         (char *) "self",(char *) "col", NULL 
 
41783     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetCol",kwnames
,&obj0
,&obj1
)) goto fail
; 
41784     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION 
| 0); 
41785     if (SWIG_arg_fail(1)) SWIG_fail
; 
41787         arg2 
= (int)(SWIG_As_int(obj1
));  
41788         if (SWIG_arg_fail(2)) SWIG_fail
; 
41791         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
41792         (arg1
)->SetCol(arg2
); 
41794         wxPyEndAllowThreads(__tstate
); 
41795         if (PyErr_Occurred()) SWIG_fail
; 
41797     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
41804 static PyObject 
*_wrap_GBPosition___eq__(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
41805     PyObject 
*resultobj
; 
41806     wxGBPosition 
*arg1 
= (wxGBPosition 
*) 0 ; 
41807     wxGBPosition 
*arg2 
= 0 ; 
41809     wxGBPosition temp2 
; 
41810     PyObject 
* obj0 
= 0 ; 
41811     PyObject 
* obj1 
= 0 ; 
41812     char *kwnames
[] = { 
41813         (char *) "self",(char *) "other", NULL 
 
41816     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___eq__",kwnames
,&obj0
,&obj1
)) goto fail
; 
41817     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION 
| 0); 
41818     if (SWIG_arg_fail(1)) SWIG_fail
; 
41821         if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
; 
41824         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
41825         result 
= (bool)(arg1
)->operator ==((wxGBPosition 
const &)*arg2
); 
41827         wxPyEndAllowThreads(__tstate
); 
41828         if (PyErr_Occurred()) SWIG_fail
; 
41831         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
41839 static PyObject 
*_wrap_GBPosition___ne__(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
41840     PyObject 
*resultobj
; 
41841     wxGBPosition 
*arg1 
= (wxGBPosition 
*) 0 ; 
41842     wxGBPosition 
*arg2 
= 0 ; 
41844     wxGBPosition temp2 
; 
41845     PyObject 
* obj0 
= 0 ; 
41846     PyObject 
* obj1 
= 0 ; 
41847     char *kwnames
[] = { 
41848         (char *) "self",(char *) "other", NULL 
 
41851     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___ne__",kwnames
,&obj0
,&obj1
)) goto fail
; 
41852     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION 
| 0); 
41853     if (SWIG_arg_fail(1)) SWIG_fail
; 
41856         if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
; 
41859         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
41860         result 
= (bool)(arg1
)->operator !=((wxGBPosition 
const &)*arg2
); 
41862         wxPyEndAllowThreads(__tstate
); 
41863         if (PyErr_Occurred()) SWIG_fail
; 
41866         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
41874 static PyObject 
*_wrap_GBPosition_Set(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
41875     PyObject 
*resultobj
; 
41876     wxGBPosition 
*arg1 
= (wxGBPosition 
*) 0 ; 
41877     int arg2 
= (int) 0 ; 
41878     int arg3 
= (int) 0 ; 
41879     PyObject 
* obj0 
= 0 ; 
41880     PyObject 
* obj1 
= 0 ; 
41881     PyObject 
* obj2 
= 0 ; 
41882     char *kwnames
[] = { 
41883         (char *) "self",(char *) "row",(char *) "col", NULL 
 
41886     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBPosition_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
41887     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION 
| 0); 
41888     if (SWIG_arg_fail(1)) SWIG_fail
; 
41891             arg2 
= (int)(SWIG_As_int(obj1
));  
41892             if (SWIG_arg_fail(2)) SWIG_fail
; 
41897             arg3 
= (int)(SWIG_As_int(obj2
));  
41898             if (SWIG_arg_fail(3)) SWIG_fail
; 
41902         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
41903         wxGBPosition_Set(arg1
,arg2
,arg3
); 
41905         wxPyEndAllowThreads(__tstate
); 
41906         if (PyErr_Occurred()) SWIG_fail
; 
41908     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
41915 static PyObject 
*_wrap_GBPosition_Get(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
41916     PyObject 
*resultobj
; 
41917     wxGBPosition 
*arg1 
= (wxGBPosition 
*) 0 ; 
41919     PyObject 
* obj0 
= 0 ; 
41920     char *kwnames
[] = { 
41921         (char *) "self", NULL 
 
41924     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_Get",kwnames
,&obj0
)) goto fail
; 
41925     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION 
| 0); 
41926     if (SWIG_arg_fail(1)) SWIG_fail
; 
41928         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
41929         result 
= (PyObject 
*)wxGBPosition_Get(arg1
); 
41931         wxPyEndAllowThreads(__tstate
); 
41932         if (PyErr_Occurred()) SWIG_fail
; 
41934     resultobj 
= result
; 
41941 static PyObject 
* GBPosition_swigregister(PyObject 
*, PyObject 
*args
) { 
41943     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
41944     SWIG_TypeClientData(SWIGTYPE_p_wxGBPosition
, obj
); 
41946     return Py_BuildValue((char *)""); 
41948 static PyObject 
*_wrap_new_GBSpan(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
41949     PyObject 
*resultobj
; 
41950     int arg1 
= (int) 1 ; 
41951     int arg2 
= (int) 1 ; 
41953     PyObject 
* obj0 
= 0 ; 
41954     PyObject 
* obj1 
= 0 ; 
41955     char *kwnames
[] = { 
41956         (char *) "rowspan",(char *) "colspan", NULL 
 
41959     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBSpan",kwnames
,&obj0
,&obj1
)) goto fail
; 
41962             arg1 
= (int)(SWIG_As_int(obj0
));  
41963             if (SWIG_arg_fail(1)) SWIG_fail
; 
41968             arg2 
= (int)(SWIG_As_int(obj1
));  
41969             if (SWIG_arg_fail(2)) SWIG_fail
; 
41973         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
41974         result 
= (wxGBSpan 
*)new wxGBSpan(arg1
,arg2
); 
41976         wxPyEndAllowThreads(__tstate
); 
41977         if (PyErr_Occurred()) SWIG_fail
; 
41979     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSpan
, 1); 
41986 static PyObject 
*_wrap_GBSpan_GetRowspan(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
41987     PyObject 
*resultobj
; 
41988     wxGBSpan 
*arg1 
= (wxGBSpan 
*) 0 ; 
41990     PyObject 
* obj0 
= 0 ; 
41991     char *kwnames
[] = { 
41992         (char *) "self", NULL 
 
41995     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_GetRowspan",kwnames
,&obj0
)) goto fail
; 
41996     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION 
| 0); 
41997     if (SWIG_arg_fail(1)) SWIG_fail
; 
41999         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
42000         result 
= (int)((wxGBSpan 
const *)arg1
)->GetRowspan(); 
42002         wxPyEndAllowThreads(__tstate
); 
42003         if (PyErr_Occurred()) SWIG_fail
; 
42006         resultobj 
= SWIG_From_int((int)(result
));  
42014 static PyObject 
*_wrap_GBSpan_GetColspan(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
42015     PyObject 
*resultobj
; 
42016     wxGBSpan 
*arg1 
= (wxGBSpan 
*) 0 ; 
42018     PyObject 
* obj0 
= 0 ; 
42019     char *kwnames
[] = { 
42020         (char *) "self", NULL 
 
42023     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_GetColspan",kwnames
,&obj0
)) goto fail
; 
42024     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION 
| 0); 
42025     if (SWIG_arg_fail(1)) SWIG_fail
; 
42027         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
42028         result 
= (int)((wxGBSpan 
const *)arg1
)->GetColspan(); 
42030         wxPyEndAllowThreads(__tstate
); 
42031         if (PyErr_Occurred()) SWIG_fail
; 
42034         resultobj 
= SWIG_From_int((int)(result
));  
42042 static PyObject 
*_wrap_GBSpan_SetRowspan(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
42043     PyObject 
*resultobj
; 
42044     wxGBSpan 
*arg1 
= (wxGBSpan 
*) 0 ; 
42046     PyObject 
* obj0 
= 0 ; 
42047     PyObject 
* obj1 
= 0 ; 
42048     char *kwnames
[] = { 
42049         (char *) "self",(char *) "rowspan", NULL 
 
42052     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetRowspan",kwnames
,&obj0
,&obj1
)) goto fail
; 
42053     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION 
| 0); 
42054     if (SWIG_arg_fail(1)) SWIG_fail
; 
42056         arg2 
= (int)(SWIG_As_int(obj1
));  
42057         if (SWIG_arg_fail(2)) SWIG_fail
; 
42060         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
42061         (arg1
)->SetRowspan(arg2
); 
42063         wxPyEndAllowThreads(__tstate
); 
42064         if (PyErr_Occurred()) SWIG_fail
; 
42066     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
42073 static PyObject 
*_wrap_GBSpan_SetColspan(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
42074     PyObject 
*resultobj
; 
42075     wxGBSpan 
*arg1 
= (wxGBSpan 
*) 0 ; 
42077     PyObject 
* obj0 
= 0 ; 
42078     PyObject 
* obj1 
= 0 ; 
42079     char *kwnames
[] = { 
42080         (char *) "self",(char *) "colspan", NULL 
 
42083     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetColspan",kwnames
,&obj0
,&obj1
)) goto fail
; 
42084     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION 
| 0); 
42085     if (SWIG_arg_fail(1)) SWIG_fail
; 
42087         arg2 
= (int)(SWIG_As_int(obj1
));  
42088         if (SWIG_arg_fail(2)) SWIG_fail
; 
42091         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
42092         (arg1
)->SetColspan(arg2
); 
42094         wxPyEndAllowThreads(__tstate
); 
42095         if (PyErr_Occurred()) SWIG_fail
; 
42097     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
42104 static PyObject 
*_wrap_GBSpan___eq__(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
42105     PyObject 
*resultobj
; 
42106     wxGBSpan 
*arg1 
= (wxGBSpan 
*) 0 ; 
42107     wxGBSpan 
*arg2 
= 0 ; 
42110     PyObject 
* obj0 
= 0 ; 
42111     PyObject 
* obj1 
= 0 ; 
42112     char *kwnames
[] = { 
42113         (char *) "self",(char *) "other", NULL 
 
42116     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
; 
42117     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION 
| 0); 
42118     if (SWIG_arg_fail(1)) SWIG_fail
; 
42121         if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
; 
42124         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
42125         result 
= (bool)(arg1
)->operator ==((wxGBSpan 
const &)*arg2
); 
42127         wxPyEndAllowThreads(__tstate
); 
42128         if (PyErr_Occurred()) SWIG_fail
; 
42131         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
42139 static PyObject 
*_wrap_GBSpan___ne__(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
42140     PyObject 
*resultobj
; 
42141     wxGBSpan 
*arg1 
= (wxGBSpan 
*) 0 ; 
42142     wxGBSpan 
*arg2 
= 0 ; 
42145     PyObject 
* obj0 
= 0 ; 
42146     PyObject 
* obj1 
= 0 ; 
42147     char *kwnames
[] = { 
42148         (char *) "self",(char *) "other", NULL 
 
42151     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
; 
42152     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION 
| 0); 
42153     if (SWIG_arg_fail(1)) SWIG_fail
; 
42156         if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
; 
42159         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
42160         result 
= (bool)(arg1
)->operator !=((wxGBSpan 
const &)*arg2
); 
42162         wxPyEndAllowThreads(__tstate
); 
42163         if (PyErr_Occurred()) SWIG_fail
; 
42166         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
42174 static PyObject 
*_wrap_GBSpan_Set(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
42175     PyObject 
*resultobj
; 
42176     wxGBSpan 
*arg1 
= (wxGBSpan 
*) 0 ; 
42177     int arg2 
= (int) 1 ; 
42178     int arg3 
= (int) 1 ; 
42179     PyObject 
* obj0 
= 0 ; 
42180     PyObject 
* obj1 
= 0 ; 
42181     PyObject 
* obj2 
= 0 ; 
42182     char *kwnames
[] = { 
42183         (char *) "self",(char *) "rowspan",(char *) "colspan", NULL 
 
42186     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBSpan_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
42187     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION 
| 0); 
42188     if (SWIG_arg_fail(1)) SWIG_fail
; 
42191             arg2 
= (int)(SWIG_As_int(obj1
));  
42192             if (SWIG_arg_fail(2)) SWIG_fail
; 
42197             arg3 
= (int)(SWIG_As_int(obj2
));  
42198             if (SWIG_arg_fail(3)) SWIG_fail
; 
42202         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
42203         wxGBSpan_Set(arg1
,arg2
,arg3
); 
42205         wxPyEndAllowThreads(__tstate
); 
42206         if (PyErr_Occurred()) SWIG_fail
; 
42208     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
42215 static PyObject 
*_wrap_GBSpan_Get(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
42216     PyObject 
*resultobj
; 
42217     wxGBSpan 
*arg1 
= (wxGBSpan 
*) 0 ; 
42219     PyObject 
* obj0 
= 0 ; 
42220     char *kwnames
[] = { 
42221         (char *) "self", NULL 
 
42224     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_Get",kwnames
,&obj0
)) goto fail
; 
42225     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION 
| 0); 
42226     if (SWIG_arg_fail(1)) SWIG_fail
; 
42228         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
42229         result 
= (PyObject 
*)wxGBSpan_Get(arg1
); 
42231         wxPyEndAllowThreads(__tstate
); 
42232         if (PyErr_Occurred()) SWIG_fail
; 
42234     resultobj 
= result
; 
42241 static PyObject 
* GBSpan_swigregister(PyObject 
*, PyObject 
*args
) { 
42243     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
42244     SWIG_TypeClientData(SWIGTYPE_p_wxGBSpan
, obj
); 
42246     return Py_BuildValue((char *)""); 
42248 static int _wrap_DefaultSpan_set(PyObject 
*) { 
42249     PyErr_SetString(PyExc_TypeError
,"Variable DefaultSpan is read-only."); 
42254 static PyObject 
*_wrap_DefaultSpan_get(void) { 
42257     pyobj 
= SWIG_NewPointerObj((void *)(&wxDefaultSpan
), SWIGTYPE_p_wxGBSpan
, 0); 
42262 static PyObject 
*_wrap_new_GBSizerItem(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
42263     PyObject 
*resultobj
; 
42264     wxGBSizerItem 
*result
; 
42265     char *kwnames
[] = { 
42269     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GBSizerItem",kwnames
)) goto fail
; 
42271         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
42272         result 
= (wxGBSizerItem 
*)new wxGBSizerItem(); 
42274         wxPyEndAllowThreads(__tstate
); 
42275         if (PyErr_Occurred()) SWIG_fail
; 
42277     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1); 
42284 static PyObject 
*_wrap_new_GBSizerItemWindow(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
42285     PyObject 
*resultobj
; 
42286     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
42287     wxGBPosition 
*arg2 
= 0 ; 
42288     wxGBSpan 
*arg3 
= 0 ; 
42291     PyObject 
*arg6 
= (PyObject 
*) NULL 
; 
42292     wxGBSizerItem 
*result
; 
42293     wxGBPosition temp2 
; 
42295     PyObject 
* obj0 
= 0 ; 
42296     PyObject 
* obj1 
= 0 ; 
42297     PyObject 
* obj2 
= 0 ; 
42298     PyObject 
* obj3 
= 0 ; 
42299     PyObject 
* obj4 
= 0 ; 
42300     PyObject 
* obj5 
= 0 ; 
42301     char *kwnames
[] = { 
42302         (char *) "window",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL 
 
42305     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_GBSizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
; 
42306     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
42307     if (SWIG_arg_fail(1)) SWIG_fail
; 
42310         if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
; 
42314         if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
; 
42317         arg4 
= (int)(SWIG_As_int(obj3
));  
42318         if (SWIG_arg_fail(4)) SWIG_fail
; 
42321         arg5 
= (int)(SWIG_As_int(obj4
));  
42322         if (SWIG_arg_fail(5)) SWIG_fail
; 
42328         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
42329         result 
= (wxGBSizerItem 
*)new_wxGBSizerItem(arg1
,(wxGBPosition 
const &)*arg2
,(wxGBSpan 
const &)*arg3
,arg4
,arg5
,arg6
); 
42331         wxPyEndAllowThreads(__tstate
); 
42332         if (PyErr_Occurred()) SWIG_fail
; 
42334     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1); 
42341 static PyObject 
*_wrap_new_GBSizerItemSizer(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
42342     PyObject 
*resultobj
; 
42343     wxSizer 
*arg1 
= (wxSizer 
*) 0 ; 
42344     wxGBPosition 
*arg2 
= 0 ; 
42345     wxGBSpan 
*arg3 
= 0 ; 
42348     PyObject 
*arg6 
= (PyObject 
*) NULL 
; 
42349     wxGBSizerItem 
*result
; 
42350     wxGBPosition temp2 
; 
42352     PyObject 
* obj0 
= 0 ; 
42353     PyObject 
* obj1 
= 0 ; 
42354     PyObject 
* obj2 
= 0 ; 
42355     PyObject 
* obj3 
= 0 ; 
42356     PyObject 
* obj4 
= 0 ; 
42357     PyObject 
* obj5 
= 0 ; 
42358     char *kwnames
[] = { 
42359         (char *) "sizer",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL 
 
42362     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_GBSizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
; 
42363     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION 
| 0); 
42364     if (SWIG_arg_fail(1)) SWIG_fail
; 
42367         if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
; 
42371         if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
; 
42374         arg4 
= (int)(SWIG_As_int(obj3
));  
42375         if (SWIG_arg_fail(4)) SWIG_fail
; 
42378         arg5 
= (int)(SWIG_As_int(obj4
));  
42379         if (SWIG_arg_fail(5)) SWIG_fail
; 
42385         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
42386         result 
= (wxGBSizerItem 
*)new_wxGBSizerItem(arg1
,(wxGBPosition 
const &)*arg2
,(wxGBSpan 
const &)*arg3
,arg4
,arg5
,arg6
); 
42388         wxPyEndAllowThreads(__tstate
); 
42389         if (PyErr_Occurred()) SWIG_fail
; 
42391     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1); 
42398 static PyObject 
*_wrap_new_GBSizerItemSpacer(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
42399     PyObject 
*resultobj
; 
42402     wxGBPosition 
*arg3 
= 0 ; 
42403     wxGBSpan 
*arg4 
= 0 ; 
42406     PyObject 
*arg7 
= (PyObject 
*) NULL 
; 
42407     wxGBSizerItem 
*result
; 
42408     wxGBPosition temp3 
; 
42410     PyObject 
* obj0 
= 0 ; 
42411     PyObject 
* obj1 
= 0 ; 
42412     PyObject 
* obj2 
= 0 ; 
42413     PyObject 
* obj3 
= 0 ; 
42414     PyObject 
* obj4 
= 0 ; 
42415     PyObject 
* obj5 
= 0 ; 
42416     PyObject 
* obj6 
= 0 ; 
42417     char *kwnames
[] = { 
42418         (char *) "width",(char *) "height",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL 
 
42421     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:new_GBSizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
; 
42423         arg1 
= (int)(SWIG_As_int(obj0
));  
42424         if (SWIG_arg_fail(1)) SWIG_fail
; 
42427         arg2 
= (int)(SWIG_As_int(obj1
));  
42428         if (SWIG_arg_fail(2)) SWIG_fail
; 
42432         if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
; 
42436         if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
; 
42439         arg5 
= (int)(SWIG_As_int(obj4
));  
42440         if (SWIG_arg_fail(5)) SWIG_fail
; 
42443         arg6 
= (int)(SWIG_As_int(obj5
));  
42444         if (SWIG_arg_fail(6)) SWIG_fail
; 
42450         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
42451         result 
= (wxGBSizerItem 
*)new_wxGBSizerItem(arg1
,arg2
,(wxGBPosition 
const &)*arg3
,(wxGBSpan 
const &)*arg4
,arg5
,arg6
,arg7
); 
42453         wxPyEndAllowThreads(__tstate
); 
42454         if (PyErr_Occurred()) SWIG_fail
; 
42456     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1); 
42463 static PyObject 
*_wrap_GBSizerItem_GetPos(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
42464     PyObject 
*resultobj
; 
42465     wxGBSizerItem 
*arg1 
= (wxGBSizerItem 
*) 0 ; 
42466     wxGBPosition result
; 
42467     PyObject 
* obj0 
= 0 ; 
42468     char *kwnames
[] = { 
42469         (char *) "self", NULL 
 
42472     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetPos",kwnames
,&obj0
)) goto fail
; 
42473     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION 
| 0); 
42474     if (SWIG_arg_fail(1)) SWIG_fail
; 
42476         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
42477         result 
= ((wxGBSizerItem 
const *)arg1
)->GetPos(); 
42479         wxPyEndAllowThreads(__tstate
); 
42480         if (PyErr_Occurred()) SWIG_fail
; 
42483         wxGBPosition 
* resultptr
; 
42484         resultptr 
= new wxGBPosition((wxGBPosition 
&)(result
)); 
42485         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1); 
42493 static PyObject 
*_wrap_GBSizerItem_GetSpan(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
42494     PyObject 
*resultobj
; 
42495     wxGBSizerItem 
*arg1 
= (wxGBSizerItem 
*) 0 ; 
42497     PyObject 
* obj0 
= 0 ; 
42498     char *kwnames
[] = { 
42499         (char *) "self", NULL 
 
42502     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetSpan",kwnames
,&obj0
)) goto fail
; 
42503     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION 
| 0); 
42504     if (SWIG_arg_fail(1)) SWIG_fail
; 
42506         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
42507         result 
= ((wxGBSizerItem 
const *)arg1
)->GetSpan(); 
42509         wxPyEndAllowThreads(__tstate
); 
42510         if (PyErr_Occurred()) SWIG_fail
; 
42513         wxGBSpan 
* resultptr
; 
42514         resultptr 
= new wxGBSpan((wxGBSpan 
&)(result
)); 
42515         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1); 
42523 static PyObject 
*_wrap_GBSizerItem_SetPos(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
42524     PyObject 
*resultobj
; 
42525     wxGBSizerItem 
*arg1 
= (wxGBSizerItem 
*) 0 ; 
42526     wxGBPosition 
*arg2 
= 0 ; 
42528     wxGBPosition temp2 
; 
42529     PyObject 
* obj0 
= 0 ; 
42530     PyObject 
* obj1 
= 0 ; 
42531     char *kwnames
[] = { 
42532         (char *) "self",(char *) "pos", NULL 
 
42535     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetPos",kwnames
,&obj0
,&obj1
)) goto fail
; 
42536     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION 
| 0); 
42537     if (SWIG_arg_fail(1)) SWIG_fail
; 
42540         if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
; 
42543         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
42544         result 
= (bool)(arg1
)->SetPos((wxGBPosition 
const &)*arg2
); 
42546         wxPyEndAllowThreads(__tstate
); 
42547         if (PyErr_Occurred()) SWIG_fail
; 
42550         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
42558 static PyObject 
*_wrap_GBSizerItem_SetSpan(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
42559     PyObject 
*resultobj
; 
42560     wxGBSizerItem 
*arg1 
= (wxGBSizerItem 
*) 0 ; 
42561     wxGBSpan 
*arg2 
= 0 ; 
42564     PyObject 
* obj0 
= 0 ; 
42565     PyObject 
* obj1 
= 0 ; 
42566     char *kwnames
[] = { 
42567         (char *) "self",(char *) "span", NULL 
 
42570     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetSpan",kwnames
,&obj0
,&obj1
)) goto fail
; 
42571     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION 
| 0); 
42572     if (SWIG_arg_fail(1)) SWIG_fail
; 
42575         if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
; 
42578         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
42579         result 
= (bool)(arg1
)->SetSpan((wxGBSpan 
const &)*arg2
); 
42581         wxPyEndAllowThreads(__tstate
); 
42582         if (PyErr_Occurred()) SWIG_fail
; 
42585         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
42593 static PyObject 
*_wrap_GBSizerItem_Intersects(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
42594     PyObject 
*resultobj
; 
42595     wxGBSizerItem 
*arg1 
= (wxGBSizerItem 
*) 0 ; 
42596     wxGBSizerItem 
*arg2 
= 0 ; 
42598     PyObject 
* obj0 
= 0 ; 
42599     PyObject 
* obj1 
= 0 ; 
42600     char *kwnames
[] = { 
42601         (char *) "self",(char *) "other", NULL 
 
42604     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_Intersects",kwnames
,&obj0
,&obj1
)) goto fail
; 
42605     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION 
| 0); 
42606     if (SWIG_arg_fail(1)) SWIG_fail
; 
42608         SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION 
| 0); 
42609         if (SWIG_arg_fail(2)) SWIG_fail
; 
42610         if (arg2 
== NULL
) { 
42611             SWIG_null_ref("wxGBSizerItem"); 
42613         if (SWIG_arg_fail(2)) SWIG_fail
; 
42616         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
42617         result 
= (bool)(arg1
)->Intersects((wxGBSizerItem 
const &)*arg2
); 
42619         wxPyEndAllowThreads(__tstate
); 
42620         if (PyErr_Occurred()) SWIG_fail
; 
42623         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
42631 static PyObject 
*_wrap_GBSizerItem_IntersectsPos(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
42632     PyObject 
*resultobj
; 
42633     wxGBSizerItem 
*arg1 
= (wxGBSizerItem 
*) 0 ; 
42634     wxGBPosition 
*arg2 
= 0 ; 
42635     wxGBSpan 
*arg3 
= 0 ; 
42637     wxGBPosition temp2 
; 
42639     PyObject 
* obj0 
= 0 ; 
42640     PyObject 
* obj1 
= 0 ; 
42641     PyObject 
* obj2 
= 0 ; 
42642     char *kwnames
[] = { 
42643         (char *) "self",(char *) "pos",(char *) "span", NULL 
 
42646     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GBSizerItem_IntersectsPos",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
42647     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION 
| 0); 
42648     if (SWIG_arg_fail(1)) SWIG_fail
; 
42651         if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
; 
42655         if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
; 
42658         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
42659         result 
= (bool)(arg1
)->Intersects((wxGBPosition 
const &)*arg2
,(wxGBSpan 
const &)*arg3
); 
42661         wxPyEndAllowThreads(__tstate
); 
42662         if (PyErr_Occurred()) SWIG_fail
; 
42665         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
42673 static PyObject 
*_wrap_GBSizerItem_GetEndPos(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
42674     PyObject 
*resultobj
; 
42675     wxGBSizerItem 
*arg1 
= (wxGBSizerItem 
*) 0 ; 
42676     wxGBPosition result
; 
42677     PyObject 
* obj0 
= 0 ; 
42678     char *kwnames
[] = { 
42679         (char *) "self", NULL 
 
42682     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetEndPos",kwnames
,&obj0
)) goto fail
; 
42683     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION 
| 0); 
42684     if (SWIG_arg_fail(1)) SWIG_fail
; 
42686         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
42687         result 
= wxGBSizerItem_GetEndPos(arg1
); 
42689         wxPyEndAllowThreads(__tstate
); 
42690         if (PyErr_Occurred()) SWIG_fail
; 
42693         wxGBPosition 
* resultptr
; 
42694         resultptr 
= new wxGBPosition((wxGBPosition 
&)(result
)); 
42695         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1); 
42703 static PyObject 
*_wrap_GBSizerItem_GetGBSizer(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
42704     PyObject 
*resultobj
; 
42705     wxGBSizerItem 
*arg1 
= (wxGBSizerItem 
*) 0 ; 
42706     wxGridBagSizer 
*result
; 
42707     PyObject 
* obj0 
= 0 ; 
42708     char *kwnames
[] = { 
42709         (char *) "self", NULL 
 
42712     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetGBSizer",kwnames
,&obj0
)) goto fail
; 
42713     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION 
| 0); 
42714     if (SWIG_arg_fail(1)) SWIG_fail
; 
42716         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
42717         result 
= (wxGridBagSizer 
*)((wxGBSizerItem 
const *)arg1
)->GetGBSizer(); 
42719         wxPyEndAllowThreads(__tstate
); 
42720         if (PyErr_Occurred()) SWIG_fail
; 
42722     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridBagSizer
, 0); 
42729 static PyObject 
*_wrap_GBSizerItem_SetGBSizer(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
42730     PyObject 
*resultobj
; 
42731     wxGBSizerItem 
*arg1 
= (wxGBSizerItem 
*) 0 ; 
42732     wxGridBagSizer 
*arg2 
= (wxGridBagSizer 
*) 0 ; 
42733     PyObject 
* obj0 
= 0 ; 
42734     PyObject 
* obj1 
= 0 ; 
42735     char *kwnames
[] = { 
42736         (char *) "self",(char *) "sizer", NULL 
 
42739     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetGBSizer",kwnames
,&obj0
,&obj1
)) goto fail
; 
42740     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION 
| 0); 
42741     if (SWIG_arg_fail(1)) SWIG_fail
; 
42742     SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION 
| 0); 
42743     if (SWIG_arg_fail(2)) SWIG_fail
; 
42745         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
42746         (arg1
)->SetGBSizer(arg2
); 
42748         wxPyEndAllowThreads(__tstate
); 
42749         if (PyErr_Occurred()) SWIG_fail
; 
42751     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
42758 static PyObject 
* GBSizerItem_swigregister(PyObject 
*, PyObject 
*args
) { 
42760     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
42761     SWIG_TypeClientData(SWIGTYPE_p_wxGBSizerItem
, obj
); 
42763     return Py_BuildValue((char *)""); 
42765 static PyObject 
*_wrap_new_GridBagSizer(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
42766     PyObject 
*resultobj
; 
42767     int arg1 
= (int) 0 ; 
42768     int arg2 
= (int) 0 ; 
42769     wxGridBagSizer 
*result
; 
42770     PyObject 
* obj0 
= 0 ; 
42771     PyObject 
* obj1 
= 0 ; 
42772     char *kwnames
[] = { 
42773         (char *) "vgap",(char *) "hgap", NULL 
 
42776     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridBagSizer",kwnames
,&obj0
,&obj1
)) goto fail
; 
42779             arg1 
= (int)(SWIG_As_int(obj0
));  
42780             if (SWIG_arg_fail(1)) SWIG_fail
; 
42785             arg2 
= (int)(SWIG_As_int(obj1
));  
42786             if (SWIG_arg_fail(2)) SWIG_fail
; 
42790         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
42791         result 
= (wxGridBagSizer 
*)new wxGridBagSizer(arg1
,arg2
); 
42793         wxPyEndAllowThreads(__tstate
); 
42794         if (PyErr_Occurred()) SWIG_fail
; 
42796     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridBagSizer
, 1); 
42803 static PyObject 
*_wrap_GridBagSizer_Add(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
42804     PyObject 
*resultobj
; 
42805     wxGridBagSizer 
*arg1 
= (wxGridBagSizer 
*) 0 ; 
42806     PyObject 
*arg2 
= (PyObject 
*) 0 ; 
42807     wxGBPosition 
*arg3 
= 0 ; 
42808     wxGBSpan 
const &arg4_defvalue 
= wxDefaultSpan 
; 
42809     wxGBSpan 
*arg4 
= (wxGBSpan 
*) &arg4_defvalue 
; 
42810     int arg5 
= (int) 0 ; 
42811     int arg6 
= (int) 0 ; 
42812     PyObject 
*arg7 
= (PyObject 
*) NULL 
; 
42813     wxGBSizerItem 
*result
; 
42814     wxGBPosition temp3 
; 
42816     PyObject 
* obj0 
= 0 ; 
42817     PyObject 
* obj1 
= 0 ; 
42818     PyObject 
* obj2 
= 0 ; 
42819     PyObject 
* obj3 
= 0 ; 
42820     PyObject 
* obj4 
= 0 ; 
42821     PyObject 
* obj5 
= 0 ; 
42822     PyObject 
* obj6 
= 0 ; 
42823     char *kwnames
[] = { 
42824         (char *) "self",(char *) "item",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL 
 
42827     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:GridBagSizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
; 
42828     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION 
| 0); 
42829     if (SWIG_arg_fail(1)) SWIG_fail
; 
42833         if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
; 
42838             if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
; 
42843             arg5 
= (int)(SWIG_As_int(obj4
));  
42844             if (SWIG_arg_fail(5)) SWIG_fail
; 
42849             arg6 
= (int)(SWIG_As_int(obj5
));  
42850             if (SWIG_arg_fail(6)) SWIG_fail
; 
42857         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
42858         result 
= (wxGBSizerItem 
*)wxGridBagSizer_Add(arg1
,arg2
,(wxGBPosition 
const &)*arg3
,(wxGBSpan 
const &)*arg4
,arg5
,arg6
,arg7
); 
42860         wxPyEndAllowThreads(__tstate
); 
42861         if (PyErr_Occurred()) SWIG_fail
; 
42863     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0); 
42870 static PyObject 
*_wrap_GridBagSizer_AddItem(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
42871     PyObject 
*resultobj
; 
42872     wxGridBagSizer 
*arg1 
= (wxGridBagSizer 
*) 0 ; 
42873     wxGBSizerItem 
*arg2 
= (wxGBSizerItem 
*) 0 ; 
42874     wxGBSizerItem 
*result
; 
42875     PyObject 
* obj0 
= 0 ; 
42876     PyObject 
* obj1 
= 0 ; 
42877     char *kwnames
[] = { 
42878         (char *) "self",(char *) "item", NULL 
 
42881     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_AddItem",kwnames
,&obj0
,&obj1
)) goto fail
; 
42882     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION 
| 0); 
42883     if (SWIG_arg_fail(1)) SWIG_fail
; 
42884     SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION 
| 0); 
42885     if (SWIG_arg_fail(2)) SWIG_fail
; 
42887         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
42888         result 
= (wxGBSizerItem 
*)(arg1
)->Add(arg2
); 
42890         wxPyEndAllowThreads(__tstate
); 
42891         if (PyErr_Occurred()) SWIG_fail
; 
42893     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0); 
42900 static PyObject 
*_wrap_GridBagSizer_GetCellSize(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
42901     PyObject 
*resultobj
; 
42902     wxGridBagSizer 
*arg1 
= (wxGridBagSizer 
*) 0 ; 
42906     PyObject 
* obj0 
= 0 ; 
42907     PyObject 
* obj1 
= 0 ; 
42908     PyObject 
* obj2 
= 0 ; 
42909     char *kwnames
[] = { 
42910         (char *) "self",(char *) "row",(char *) "col", NULL 
 
42913     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridBagSizer_GetCellSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
42914     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION 
| 0); 
42915     if (SWIG_arg_fail(1)) SWIG_fail
; 
42917         arg2 
= (int)(SWIG_As_int(obj1
));  
42918         if (SWIG_arg_fail(2)) SWIG_fail
; 
42921         arg3 
= (int)(SWIG_As_int(obj2
));  
42922         if (SWIG_arg_fail(3)) SWIG_fail
; 
42925         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
42926         result 
= ((wxGridBagSizer 
const *)arg1
)->GetCellSize(arg2
,arg3
); 
42928         wxPyEndAllowThreads(__tstate
); 
42929         if (PyErr_Occurred()) SWIG_fail
; 
42932         wxSize 
* resultptr
; 
42933         resultptr 
= new wxSize((wxSize 
&)(result
)); 
42934         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1); 
42942 static PyObject 
*_wrap_GridBagSizer_GetEmptyCellSize(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
42943     PyObject 
*resultobj
; 
42944     wxGridBagSizer 
*arg1 
= (wxGridBagSizer 
*) 0 ; 
42946     PyObject 
* obj0 
= 0 ; 
42947     char *kwnames
[] = { 
42948         (char *) "self", NULL 
 
42951     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridBagSizer_GetEmptyCellSize",kwnames
,&obj0
)) goto fail
; 
42952     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION 
| 0); 
42953     if (SWIG_arg_fail(1)) SWIG_fail
; 
42955         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
42956         result 
= ((wxGridBagSizer 
const *)arg1
)->GetEmptyCellSize(); 
42958         wxPyEndAllowThreads(__tstate
); 
42959         if (PyErr_Occurred()) SWIG_fail
; 
42962         wxSize 
* resultptr
; 
42963         resultptr 
= new wxSize((wxSize 
&)(result
)); 
42964         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1); 
42972 static PyObject 
*_wrap_GridBagSizer_SetEmptyCellSize(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
42973     PyObject 
*resultobj
; 
42974     wxGridBagSizer 
*arg1 
= (wxGridBagSizer 
*) 0 ; 
42977     PyObject 
* obj0 
= 0 ; 
42978     PyObject 
* obj1 
= 0 ; 
42979     char *kwnames
[] = { 
42980         (char *) "self",(char *) "sz", NULL 
 
42983     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_SetEmptyCellSize",kwnames
,&obj0
,&obj1
)) goto fail
; 
42984     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION 
| 0); 
42985     if (SWIG_arg_fail(1)) SWIG_fail
; 
42988         if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
; 
42991         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
42992         (arg1
)->SetEmptyCellSize((wxSize 
const &)*arg2
); 
42994         wxPyEndAllowThreads(__tstate
); 
42995         if (PyErr_Occurred()) SWIG_fail
; 
42997     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
43004 static PyObject 
*_wrap_GridBagSizer_GetItemPosition__SWIG_0(PyObject 
*, PyObject 
*args
) { 
43005     PyObject 
*resultobj
; 
43006     wxGridBagSizer 
*arg1 
= (wxGridBagSizer 
*) 0 ; 
43007     wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
43008     wxGBPosition result
; 
43009     PyObject 
* obj0 
= 0 ; 
43010     PyObject 
* obj1 
= 0 ; 
43012     if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
; 
43013     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION 
| 0); 
43014     if (SWIG_arg_fail(1)) SWIG_fail
; 
43015     SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
43016     if (SWIG_arg_fail(2)) SWIG_fail
; 
43018         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
43019         result 
= (arg1
)->GetItemPosition(arg2
); 
43021         wxPyEndAllowThreads(__tstate
); 
43022         if (PyErr_Occurred()) SWIG_fail
; 
43025         wxGBPosition 
* resultptr
; 
43026         resultptr 
= new wxGBPosition((wxGBPosition 
&)(result
)); 
43027         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1); 
43035 static PyObject 
*_wrap_GridBagSizer_GetItemPosition__SWIG_1(PyObject 
*, PyObject 
*args
) { 
43036     PyObject 
*resultobj
; 
43037     wxGridBagSizer 
*arg1 
= (wxGridBagSizer 
*) 0 ; 
43038     wxSizer 
*arg2 
= (wxSizer 
*) 0 ; 
43039     wxGBPosition result
; 
43040     PyObject 
* obj0 
= 0 ; 
43041     PyObject 
* obj1 
= 0 ; 
43043     if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
; 
43044     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION 
| 0); 
43045     if (SWIG_arg_fail(1)) SWIG_fail
; 
43046     SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION 
| 0); 
43047     if (SWIG_arg_fail(2)) SWIG_fail
; 
43049         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
43050         result 
= (arg1
)->GetItemPosition(arg2
); 
43052         wxPyEndAllowThreads(__tstate
); 
43053         if (PyErr_Occurred()) SWIG_fail
; 
43056         wxGBPosition 
* resultptr
; 
43057         resultptr 
= new wxGBPosition((wxGBPosition 
&)(result
)); 
43058         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1); 
43066 static PyObject 
*_wrap_GridBagSizer_GetItemPosition__SWIG_2(PyObject 
*, PyObject 
*args
) { 
43067     PyObject 
*resultobj
; 
43068     wxGridBagSizer 
*arg1 
= (wxGridBagSizer 
*) 0 ; 
43070     wxGBPosition result
; 
43071     PyObject 
* obj0 
= 0 ; 
43072     PyObject 
* obj1 
= 0 ; 
43074     if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
; 
43075     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION 
| 0); 
43076     if (SWIG_arg_fail(1)) SWIG_fail
; 
43078         arg2 
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));  
43079         if (SWIG_arg_fail(2)) SWIG_fail
; 
43082         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
43083         result 
= (arg1
)->GetItemPosition(arg2
); 
43085         wxPyEndAllowThreads(__tstate
); 
43086         if (PyErr_Occurred()) SWIG_fail
; 
43089         wxGBPosition 
* resultptr
; 
43090         resultptr 
= new wxGBPosition((wxGBPosition 
&)(result
)); 
43091         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1); 
43099 static PyObject 
*_wrap_GridBagSizer_GetItemPosition(PyObject 
*self
, PyObject 
*args
) { 
43104     argc 
= PyObject_Length(args
); 
43105     for (ii 
= 0; (ii 
< argc
) && (ii 
< 2); ii
++) { 
43106         argv
[ii
] = PyTuple_GetItem(args
,ii
); 
43112             if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) { 
43122                 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) { 
43130                 return _wrap_GridBagSizer_GetItemPosition__SWIG_0(self
,args
); 
43138             if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) { 
43148                 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) { 
43156                 return _wrap_GridBagSizer_GetItemPosition__SWIG_1(self
,args
); 
43164             if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) { 
43172             _v 
= SWIG_Check_unsigned_SS_long(argv
[1]); 
43174                 return _wrap_GridBagSizer_GetItemPosition__SWIG_2(self
,args
); 
43179     PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_GetItemPosition'"); 
43184 static PyObject 
*_wrap_GridBagSizer_SetItemPosition__SWIG_0(PyObject 
*, PyObject 
*args
) { 
43185     PyObject 
*resultobj
; 
43186     wxGridBagSizer 
*arg1 
= (wxGridBagSizer 
*) 0 ; 
43187     wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
43188     wxGBPosition 
*arg3 
= 0 ; 
43190     wxGBPosition temp3 
; 
43191     PyObject 
* obj0 
= 0 ; 
43192     PyObject 
* obj1 
= 0 ; 
43193     PyObject 
* obj2 
= 0 ; 
43195     if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
; 
43196     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION 
| 0); 
43197     if (SWIG_arg_fail(1)) SWIG_fail
; 
43198     SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
43199     if (SWIG_arg_fail(2)) SWIG_fail
; 
43202         if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
; 
43205         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
43206         result 
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition 
const &)*arg3
); 
43208         wxPyEndAllowThreads(__tstate
); 
43209         if (PyErr_Occurred()) SWIG_fail
; 
43212         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
43220 static PyObject 
*_wrap_GridBagSizer_SetItemPosition__SWIG_1(PyObject 
*, PyObject 
*args
) { 
43221     PyObject 
*resultobj
; 
43222     wxGridBagSizer 
*arg1 
= (wxGridBagSizer 
*) 0 ; 
43223     wxSizer 
*arg2 
= (wxSizer 
*) 0 ; 
43224     wxGBPosition 
*arg3 
= 0 ; 
43226     wxGBPosition temp3 
; 
43227     PyObject 
* obj0 
= 0 ; 
43228     PyObject 
* obj1 
= 0 ; 
43229     PyObject 
* obj2 
= 0 ; 
43231     if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
; 
43232     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION 
| 0); 
43233     if (SWIG_arg_fail(1)) SWIG_fail
; 
43234     SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION 
| 0); 
43235     if (SWIG_arg_fail(2)) SWIG_fail
; 
43238         if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
; 
43241         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
43242         result 
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition 
const &)*arg3
); 
43244         wxPyEndAllowThreads(__tstate
); 
43245         if (PyErr_Occurred()) SWIG_fail
; 
43248         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
43256 static PyObject 
*_wrap_GridBagSizer_SetItemPosition__SWIG_2(PyObject 
*, PyObject 
*args
) { 
43257     PyObject 
*resultobj
; 
43258     wxGridBagSizer 
*arg1 
= (wxGridBagSizer 
*) 0 ; 
43260     wxGBPosition 
*arg3 
= 0 ; 
43262     wxGBPosition temp3 
; 
43263     PyObject 
* obj0 
= 0 ; 
43264     PyObject 
* obj1 
= 0 ; 
43265     PyObject 
* obj2 
= 0 ; 
43267     if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
; 
43268     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION 
| 0); 
43269     if (SWIG_arg_fail(1)) SWIG_fail
; 
43271         arg2 
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));  
43272         if (SWIG_arg_fail(2)) SWIG_fail
; 
43276         if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
; 
43279         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
43280         result 
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition 
const &)*arg3
); 
43282         wxPyEndAllowThreads(__tstate
); 
43283         if (PyErr_Occurred()) SWIG_fail
; 
43286         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
43294 static PyObject 
*_wrap_GridBagSizer_SetItemPosition(PyObject 
*self
, PyObject 
*args
) { 
43299     argc 
= PyObject_Length(args
); 
43300     for (ii 
= 0; (ii 
< argc
) && (ii 
< 3); ii
++) { 
43301         argv
[ii
] = PyTuple_GetItem(args
,ii
); 
43307             if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) { 
43317                 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) { 
43326                     _v 
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2); 
43329                     return _wrap_GridBagSizer_SetItemPosition__SWIG_0(self
,args
); 
43338             if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) { 
43348                 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) { 
43357                     _v 
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2); 
43360                     return _wrap_GridBagSizer_SetItemPosition__SWIG_1(self
,args
); 
43369             if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) { 
43377             _v 
= SWIG_Check_unsigned_SS_long(argv
[1]); 
43380                     _v 
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2); 
43383                     return _wrap_GridBagSizer_SetItemPosition__SWIG_2(self
,args
); 
43389     PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_SetItemPosition'"); 
43394 static PyObject 
*_wrap_GridBagSizer_GetItemSpan__SWIG_0(PyObject 
*, PyObject 
*args
) { 
43395     PyObject 
*resultobj
; 
43396     wxGridBagSizer 
*arg1 
= (wxGridBagSizer 
*) 0 ; 
43397     wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
43399     PyObject 
* obj0 
= 0 ; 
43400     PyObject 
* obj1 
= 0 ; 
43402     if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
; 
43403     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION 
| 0); 
43404     if (SWIG_arg_fail(1)) SWIG_fail
; 
43405     SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
43406     if (SWIG_arg_fail(2)) SWIG_fail
; 
43408         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
43409         result 
= (arg1
)->GetItemSpan(arg2
); 
43411         wxPyEndAllowThreads(__tstate
); 
43412         if (PyErr_Occurred()) SWIG_fail
; 
43415         wxGBSpan 
* resultptr
; 
43416         resultptr 
= new wxGBSpan((wxGBSpan 
&)(result
)); 
43417         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1); 
43425 static PyObject 
*_wrap_GridBagSizer_GetItemSpan__SWIG_1(PyObject 
*, PyObject 
*args
) { 
43426     PyObject 
*resultobj
; 
43427     wxGridBagSizer 
*arg1 
= (wxGridBagSizer 
*) 0 ; 
43428     wxSizer 
*arg2 
= (wxSizer 
*) 0 ; 
43430     PyObject 
* obj0 
= 0 ; 
43431     PyObject 
* obj1 
= 0 ; 
43433     if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
; 
43434     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION 
| 0); 
43435     if (SWIG_arg_fail(1)) SWIG_fail
; 
43436     SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION 
| 0); 
43437     if (SWIG_arg_fail(2)) SWIG_fail
; 
43439         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
43440         result 
= (arg1
)->GetItemSpan(arg2
); 
43442         wxPyEndAllowThreads(__tstate
); 
43443         if (PyErr_Occurred()) SWIG_fail
; 
43446         wxGBSpan 
* resultptr
; 
43447         resultptr 
= new wxGBSpan((wxGBSpan 
&)(result
)); 
43448         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1); 
43456 static PyObject 
*_wrap_GridBagSizer_GetItemSpan__SWIG_2(PyObject 
*, PyObject 
*args
) { 
43457     PyObject 
*resultobj
; 
43458     wxGridBagSizer 
*arg1 
= (wxGridBagSizer 
*) 0 ; 
43461     PyObject 
* obj0 
= 0 ; 
43462     PyObject 
* obj1 
= 0 ; 
43464     if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
; 
43465     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION 
| 0); 
43466     if (SWIG_arg_fail(1)) SWIG_fail
; 
43468         arg2 
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));  
43469         if (SWIG_arg_fail(2)) SWIG_fail
; 
43472         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
43473         result 
= (arg1
)->GetItemSpan(arg2
); 
43475         wxPyEndAllowThreads(__tstate
); 
43476         if (PyErr_Occurred()) SWIG_fail
; 
43479         wxGBSpan 
* resultptr
; 
43480         resultptr 
= new wxGBSpan((wxGBSpan 
&)(result
)); 
43481         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1); 
43489 static PyObject 
*_wrap_GridBagSizer_GetItemSpan(PyObject 
*self
, PyObject 
*args
) { 
43494     argc 
= PyObject_Length(args
); 
43495     for (ii 
= 0; (ii 
< argc
) && (ii 
< 2); ii
++) { 
43496         argv
[ii
] = PyTuple_GetItem(args
,ii
); 
43502             if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) { 
43512                 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) { 
43520                 return _wrap_GridBagSizer_GetItemSpan__SWIG_0(self
,args
); 
43528             if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) { 
43538                 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) { 
43546                 return _wrap_GridBagSizer_GetItemSpan__SWIG_1(self
,args
); 
43554             if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) { 
43562             _v 
= SWIG_Check_unsigned_SS_long(argv
[1]); 
43564                 return _wrap_GridBagSizer_GetItemSpan__SWIG_2(self
,args
); 
43569     PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_GetItemSpan'"); 
43574 static PyObject 
*_wrap_GridBagSizer_SetItemSpan__SWIG_0(PyObject 
*, PyObject 
*args
) { 
43575     PyObject 
*resultobj
; 
43576     wxGridBagSizer 
*arg1 
= (wxGridBagSizer 
*) 0 ; 
43577     wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
43578     wxGBSpan 
*arg3 
= 0 ; 
43581     PyObject 
* obj0 
= 0 ; 
43582     PyObject 
* obj1 
= 0 ; 
43583     PyObject 
* obj2 
= 0 ; 
43585     if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
; 
43586     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION 
| 0); 
43587     if (SWIG_arg_fail(1)) SWIG_fail
; 
43588     SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
43589     if (SWIG_arg_fail(2)) SWIG_fail
; 
43592         if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
; 
43595         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
43596         result 
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan 
const &)*arg3
); 
43598         wxPyEndAllowThreads(__tstate
); 
43599         if (PyErr_Occurred()) SWIG_fail
; 
43602         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
43610 static PyObject 
*_wrap_GridBagSizer_SetItemSpan__SWIG_1(PyObject 
*, PyObject 
*args
) { 
43611     PyObject 
*resultobj
; 
43612     wxGridBagSizer 
*arg1 
= (wxGridBagSizer 
*) 0 ; 
43613     wxSizer 
*arg2 
= (wxSizer 
*) 0 ; 
43614     wxGBSpan 
*arg3 
= 0 ; 
43617     PyObject 
* obj0 
= 0 ; 
43618     PyObject 
* obj1 
= 0 ; 
43619     PyObject 
* obj2 
= 0 ; 
43621     if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
; 
43622     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION 
| 0); 
43623     if (SWIG_arg_fail(1)) SWIG_fail
; 
43624     SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION 
| 0); 
43625     if (SWIG_arg_fail(2)) SWIG_fail
; 
43628         if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
; 
43631         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
43632         result 
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan 
const &)*arg3
); 
43634         wxPyEndAllowThreads(__tstate
); 
43635         if (PyErr_Occurred()) SWIG_fail
; 
43638         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
43646 static PyObject 
*_wrap_GridBagSizer_SetItemSpan__SWIG_2(PyObject 
*, PyObject 
*args
) { 
43647     PyObject 
*resultobj
; 
43648     wxGridBagSizer 
*arg1 
= (wxGridBagSizer 
*) 0 ; 
43650     wxGBSpan 
*arg3 
= 0 ; 
43653     PyObject 
* obj0 
= 0 ; 
43654     PyObject 
* obj1 
= 0 ; 
43655     PyObject 
* obj2 
= 0 ; 
43657     if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
; 
43658     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION 
| 0); 
43659     if (SWIG_arg_fail(1)) SWIG_fail
; 
43661         arg2 
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));  
43662         if (SWIG_arg_fail(2)) SWIG_fail
; 
43666         if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
; 
43669         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
43670         result 
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan 
const &)*arg3
); 
43672         wxPyEndAllowThreads(__tstate
); 
43673         if (PyErr_Occurred()) SWIG_fail
; 
43676         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
43684 static PyObject 
*_wrap_GridBagSizer_SetItemSpan(PyObject 
*self
, PyObject 
*args
) { 
43689     argc 
= PyObject_Length(args
); 
43690     for (ii 
= 0; (ii 
< argc
) && (ii 
< 3); ii
++) { 
43691         argv
[ii
] = PyTuple_GetItem(args
,ii
); 
43697             if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) { 
43707                 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) { 
43716                     _v 
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2); 
43719                     return _wrap_GridBagSizer_SetItemSpan__SWIG_0(self
,args
); 
43728             if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) { 
43738                 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) { 
43747                     _v 
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2); 
43750                     return _wrap_GridBagSizer_SetItemSpan__SWIG_1(self
,args
); 
43759             if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) { 
43767             _v 
= SWIG_Check_unsigned_SS_long(argv
[1]); 
43770                     _v 
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2); 
43773                     return _wrap_GridBagSizer_SetItemSpan__SWIG_2(self
,args
); 
43779     PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_SetItemSpan'"); 
43784 static PyObject 
*_wrap_GridBagSizer_FindItem__SWIG_0(PyObject 
*, PyObject 
*args
) { 
43785     PyObject 
*resultobj
; 
43786     wxGridBagSizer 
*arg1 
= (wxGridBagSizer 
*) 0 ; 
43787     wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
43788     wxGBSizerItem 
*result
; 
43789     PyObject 
* obj0 
= 0 ; 
43790     PyObject 
* obj1 
= 0 ; 
43792     if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_FindItem",&obj0
,&obj1
)) goto fail
; 
43793     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION 
| 0); 
43794     if (SWIG_arg_fail(1)) SWIG_fail
; 
43795     SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
43796     if (SWIG_arg_fail(2)) SWIG_fail
; 
43798         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
43799         result 
= (wxGBSizerItem 
*)(arg1
)->FindItem(arg2
); 
43801         wxPyEndAllowThreads(__tstate
); 
43802         if (PyErr_Occurred()) SWIG_fail
; 
43804     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0); 
43811 static PyObject 
*_wrap_GridBagSizer_FindItem__SWIG_1(PyObject 
*, PyObject 
*args
) { 
43812     PyObject 
*resultobj
; 
43813     wxGridBagSizer 
*arg1 
= (wxGridBagSizer 
*) 0 ; 
43814     wxSizer 
*arg2 
= (wxSizer 
*) 0 ; 
43815     wxGBSizerItem 
*result
; 
43816     PyObject 
* obj0 
= 0 ; 
43817     PyObject 
* obj1 
= 0 ; 
43819     if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_FindItem",&obj0
,&obj1
)) goto fail
; 
43820     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION 
| 0); 
43821     if (SWIG_arg_fail(1)) SWIG_fail
; 
43822     SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION 
| 0); 
43823     if (SWIG_arg_fail(2)) SWIG_fail
; 
43825         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
43826         result 
= (wxGBSizerItem 
*)(arg1
)->FindItem(arg2
); 
43828         wxPyEndAllowThreads(__tstate
); 
43829         if (PyErr_Occurred()) SWIG_fail
; 
43831     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0); 
43838 static PyObject 
*_wrap_GridBagSizer_FindItem(PyObject 
*self
, PyObject 
*args
) { 
43843     argc 
= PyObject_Length(args
); 
43844     for (ii 
= 0; (ii 
< argc
) && (ii 
< 2); ii
++) { 
43845         argv
[ii
] = PyTuple_GetItem(args
,ii
); 
43851             if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) { 
43861                 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) { 
43869                 return _wrap_GridBagSizer_FindItem__SWIG_0(self
,args
); 
43877             if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) { 
43887                 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) { 
43895                 return _wrap_GridBagSizer_FindItem__SWIG_1(self
,args
); 
43900     PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_FindItem'"); 
43905 static PyObject 
*_wrap_GridBagSizer_FindItemAtPosition(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
43906     PyObject 
*resultobj
; 
43907     wxGridBagSizer 
*arg1 
= (wxGridBagSizer 
*) 0 ; 
43908     wxGBPosition 
*arg2 
= 0 ; 
43909     wxGBSizerItem 
*result
; 
43910     wxGBPosition temp2 
; 
43911     PyObject 
* obj0 
= 0 ; 
43912     PyObject 
* obj1 
= 0 ; 
43913     char *kwnames
[] = { 
43914         (char *) "self",(char *) "pos", NULL 
 
43917     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPosition",kwnames
,&obj0
,&obj1
)) goto fail
; 
43918     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION 
| 0); 
43919     if (SWIG_arg_fail(1)) SWIG_fail
; 
43922         if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
; 
43925         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
43926         result 
= (wxGBSizerItem 
*)(arg1
)->FindItemAtPosition((wxGBPosition 
const &)*arg2
); 
43928         wxPyEndAllowThreads(__tstate
); 
43929         if (PyErr_Occurred()) SWIG_fail
; 
43931     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0); 
43938 static PyObject 
*_wrap_GridBagSizer_FindItemAtPoint(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
43939     PyObject 
*resultobj
; 
43940     wxGridBagSizer 
*arg1 
= (wxGridBagSizer 
*) 0 ; 
43941     wxPoint 
*arg2 
= 0 ; 
43942     wxGBSizerItem 
*result
; 
43944     PyObject 
* obj0 
= 0 ; 
43945     PyObject 
* obj1 
= 0 ; 
43946     char *kwnames
[] = { 
43947         (char *) "self",(char *) "pt", NULL 
 
43950     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPoint",kwnames
,&obj0
,&obj1
)) goto fail
; 
43951     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION 
| 0); 
43952     if (SWIG_arg_fail(1)) SWIG_fail
; 
43955         if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
43958         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
43959         result 
= (wxGBSizerItem 
*)(arg1
)->FindItemAtPoint((wxPoint 
const &)*arg2
); 
43961         wxPyEndAllowThreads(__tstate
); 
43962         if (PyErr_Occurred()) SWIG_fail
; 
43964     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0); 
43971 static PyObject 
*_wrap_GridBagSizer_CheckForIntersection(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
43972     PyObject 
*resultobj
; 
43973     wxGridBagSizer 
*arg1 
= (wxGridBagSizer 
*) 0 ; 
43974     wxGBSizerItem 
*arg2 
= (wxGBSizerItem 
*) 0 ; 
43975     wxGBSizerItem 
*arg3 
= (wxGBSizerItem 
*) NULL 
; 
43977     PyObject 
* obj0 
= 0 ; 
43978     PyObject 
* obj1 
= 0 ; 
43979     PyObject 
* obj2 
= 0 ; 
43980     char *kwnames
[] = { 
43981         (char *) "self",(char *) "item",(char *) "excludeItem", NULL 
 
43984     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GridBagSizer_CheckForIntersection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
43985     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION 
| 0); 
43986     if (SWIG_arg_fail(1)) SWIG_fail
; 
43987     SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION 
| 0); 
43988     if (SWIG_arg_fail(2)) SWIG_fail
; 
43990         SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION 
| 0); 
43991         if (SWIG_arg_fail(3)) SWIG_fail
; 
43994         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
43995         result 
= (bool)(arg1
)->CheckForIntersection(arg2
,arg3
); 
43997         wxPyEndAllowThreads(__tstate
); 
43998         if (PyErr_Occurred()) SWIG_fail
; 
44001         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
44009 static PyObject 
*_wrap_GridBagSizer_CheckForIntersectionPos(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
44010     PyObject 
*resultobj
; 
44011     wxGridBagSizer 
*arg1 
= (wxGridBagSizer 
*) 0 ; 
44012     wxGBPosition 
*arg2 
= 0 ; 
44013     wxGBSpan 
*arg3 
= 0 ; 
44014     wxGBSizerItem 
*arg4 
= (wxGBSizerItem 
*) NULL 
; 
44016     wxGBPosition temp2 
; 
44018     PyObject 
* obj0 
= 0 ; 
44019     PyObject 
* obj1 
= 0 ; 
44020     PyObject 
* obj2 
= 0 ; 
44021     PyObject 
* obj3 
= 0 ; 
44022     char *kwnames
[] = { 
44023         (char *) "self",(char *) "pos",(char *) "span",(char *) "excludeItem", NULL 
 
44026     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:GridBagSizer_CheckForIntersectionPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
44027     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION 
| 0); 
44028     if (SWIG_arg_fail(1)) SWIG_fail
; 
44031         if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
; 
44035         if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
; 
44038         SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION 
| 0); 
44039         if (SWIG_arg_fail(4)) SWIG_fail
; 
44042         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
44043         result 
= (bool)(arg1
)->CheckForIntersection((wxGBPosition 
const &)*arg2
,(wxGBSpan 
const &)*arg3
,arg4
); 
44045         wxPyEndAllowThreads(__tstate
); 
44046         if (PyErr_Occurred()) SWIG_fail
; 
44049         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
44057 static PyObject 
* GridBagSizer_swigregister(PyObject 
*, PyObject 
*args
) { 
44059     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
44060     SWIG_TypeClientData(SWIGTYPE_p_wxGridBagSizer
, obj
); 
44062     return Py_BuildValue((char *)""); 
44064 static PyObject 
*_wrap_IndividualLayoutConstraint_Set(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
44065     PyObject 
*resultobj
; 
44066     wxIndividualLayoutConstraint 
*arg1 
= (wxIndividualLayoutConstraint 
*) 0 ; 
44067     wxRelationship arg2 
; 
44068     wxWindow 
*arg3 
= (wxWindow 
*) 0 ; 
44070     int arg5 
= (int) 0 ; 
44071     int arg6 
= (int) wxLAYOUT_DEFAULT_MARGIN 
; 
44072     PyObject 
* obj0 
= 0 ; 
44073     PyObject 
* obj1 
= 0 ; 
44074     PyObject 
* obj2 
= 0 ; 
44075     PyObject 
* obj3 
= 0 ; 
44076     PyObject 
* obj4 
= 0 ; 
44077     PyObject 
* obj5 
= 0 ; 
44078     char *kwnames
[] = { 
44079         (char *) "self",(char *) "rel",(char *) "otherW",(char *) "otherE",(char *) "val",(char *) "marg", NULL 
 
44082     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:IndividualLayoutConstraint_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
; 
44083     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION 
| 0); 
44084     if (SWIG_arg_fail(1)) SWIG_fail
; 
44086         arg2 
= (wxRelationship
)(SWIG_As_int(obj1
));  
44087         if (SWIG_arg_fail(2)) SWIG_fail
; 
44089     SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
44090     if (SWIG_arg_fail(3)) SWIG_fail
; 
44092         arg4 
= (wxEdge
)(SWIG_As_int(obj3
));  
44093         if (SWIG_arg_fail(4)) SWIG_fail
; 
44097             arg5 
= (int)(SWIG_As_int(obj4
));  
44098             if (SWIG_arg_fail(5)) SWIG_fail
; 
44103             arg6 
= (int)(SWIG_As_int(obj5
));  
44104             if (SWIG_arg_fail(6)) SWIG_fail
; 
44108         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
44109         (arg1
)->Set((wxRelationship 
)arg2
,arg3
,(wxEdge 
)arg4
,arg5
,arg6
); 
44111         wxPyEndAllowThreads(__tstate
); 
44112         if (PyErr_Occurred()) SWIG_fail
; 
44114     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
44121 static PyObject 
*_wrap_IndividualLayoutConstraint_LeftOf(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
44122     PyObject 
*resultobj
; 
44123     wxIndividualLayoutConstraint 
*arg1 
= (wxIndividualLayoutConstraint 
*) 0 ; 
44124     wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
44125     int arg3 
= (int) 0 ; 
44126     PyObject 
* obj0 
= 0 ; 
44127     PyObject 
* obj1 
= 0 ; 
44128     PyObject 
* obj2 
= 0 ; 
44129     char *kwnames
[] = { 
44130         (char *) "self",(char *) "sibling",(char *) "marg", NULL 
 
44133     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_LeftOf",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
44134     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION 
| 0); 
44135     if (SWIG_arg_fail(1)) SWIG_fail
; 
44136     SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
44137     if (SWIG_arg_fail(2)) SWIG_fail
; 
44140             arg3 
= (int)(SWIG_As_int(obj2
));  
44141             if (SWIG_arg_fail(3)) SWIG_fail
; 
44145         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
44146         (arg1
)->LeftOf(arg2
,arg3
); 
44148         wxPyEndAllowThreads(__tstate
); 
44149         if (PyErr_Occurred()) SWIG_fail
; 
44151     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
44158 static PyObject 
*_wrap_IndividualLayoutConstraint_RightOf(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
44159     PyObject 
*resultobj
; 
44160     wxIndividualLayoutConstraint 
*arg1 
= (wxIndividualLayoutConstraint 
*) 0 ; 
44161     wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
44162     int arg3 
= (int) 0 ; 
44163     PyObject 
* obj0 
= 0 ; 
44164     PyObject 
* obj1 
= 0 ; 
44165     PyObject 
* obj2 
= 0 ; 
44166     char *kwnames
[] = { 
44167         (char *) "self",(char *) "sibling",(char *) "marg", NULL 
 
44170     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_RightOf",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
44171     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION 
| 0); 
44172     if (SWIG_arg_fail(1)) SWIG_fail
; 
44173     SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
44174     if (SWIG_arg_fail(2)) SWIG_fail
; 
44177             arg3 
= (int)(SWIG_As_int(obj2
));  
44178             if (SWIG_arg_fail(3)) SWIG_fail
; 
44182         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
44183         (arg1
)->RightOf(arg2
,arg3
); 
44185         wxPyEndAllowThreads(__tstate
); 
44186         if (PyErr_Occurred()) SWIG_fail
; 
44188     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
44195 static PyObject 
*_wrap_IndividualLayoutConstraint_Above(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
44196     PyObject 
*resultobj
; 
44197     wxIndividualLayoutConstraint 
*arg1 
= (wxIndividualLayoutConstraint 
*) 0 ; 
44198     wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
44199     int arg3 
= (int) 0 ; 
44200     PyObject 
* obj0 
= 0 ; 
44201     PyObject 
* obj1 
= 0 ; 
44202     PyObject 
* obj2 
= 0 ; 
44203     char *kwnames
[] = { 
44204         (char *) "self",(char *) "sibling",(char *) "marg", NULL 
 
44207     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Above",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
44208     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION 
| 0); 
44209     if (SWIG_arg_fail(1)) SWIG_fail
; 
44210     SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
44211     if (SWIG_arg_fail(2)) SWIG_fail
; 
44214             arg3 
= (int)(SWIG_As_int(obj2
));  
44215             if (SWIG_arg_fail(3)) SWIG_fail
; 
44219         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
44220         (arg1
)->Above(arg2
,arg3
); 
44222         wxPyEndAllowThreads(__tstate
); 
44223         if (PyErr_Occurred()) SWIG_fail
; 
44225     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
44232 static PyObject 
*_wrap_IndividualLayoutConstraint_Below(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
44233     PyObject 
*resultobj
; 
44234     wxIndividualLayoutConstraint 
*arg1 
= (wxIndividualLayoutConstraint 
*) 0 ; 
44235     wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
44236     int arg3 
= (int) 0 ; 
44237     PyObject 
* obj0 
= 0 ; 
44238     PyObject 
* obj1 
= 0 ; 
44239     PyObject 
* obj2 
= 0 ; 
44240     char *kwnames
[] = { 
44241         (char *) "self",(char *) "sibling",(char *) "marg", NULL 
 
44244     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Below",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
44245     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION 
| 0); 
44246     if (SWIG_arg_fail(1)) SWIG_fail
; 
44247     SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
44248     if (SWIG_arg_fail(2)) SWIG_fail
; 
44251             arg3 
= (int)(SWIG_As_int(obj2
));  
44252             if (SWIG_arg_fail(3)) SWIG_fail
; 
44256         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
44257         (arg1
)->Below(arg2
,arg3
); 
44259         wxPyEndAllowThreads(__tstate
); 
44260         if (PyErr_Occurred()) SWIG_fail
; 
44262     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
44269 static PyObject 
*_wrap_IndividualLayoutConstraint_SameAs(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
44270     PyObject 
*resultobj
; 
44271     wxIndividualLayoutConstraint 
*arg1 
= (wxIndividualLayoutConstraint 
*) 0 ; 
44272     wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
44274     int arg4 
= (int) 0 ; 
44275     PyObject 
* obj0 
= 0 ; 
44276     PyObject 
* obj1 
= 0 ; 
44277     PyObject 
* obj2 
= 0 ; 
44278     PyObject 
* obj3 
= 0 ; 
44279     char *kwnames
[] = { 
44280         (char *) "self",(char *) "otherW",(char *) "edge",(char *) "marg", NULL 
 
44283     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:IndividualLayoutConstraint_SameAs",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
44284     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION 
| 0); 
44285     if (SWIG_arg_fail(1)) SWIG_fail
; 
44286     SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
44287     if (SWIG_arg_fail(2)) SWIG_fail
; 
44289         arg3 
= (wxEdge
)(SWIG_As_int(obj2
));  
44290         if (SWIG_arg_fail(3)) SWIG_fail
; 
44294             arg4 
= (int)(SWIG_As_int(obj3
));  
44295             if (SWIG_arg_fail(4)) SWIG_fail
; 
44299         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
44300         (arg1
)->SameAs(arg2
,(wxEdge 
)arg3
,arg4
); 
44302         wxPyEndAllowThreads(__tstate
); 
44303         if (PyErr_Occurred()) SWIG_fail
; 
44305     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
44312 static PyObject 
*_wrap_IndividualLayoutConstraint_PercentOf(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
44313     PyObject 
*resultobj
; 
44314     wxIndividualLayoutConstraint 
*arg1 
= (wxIndividualLayoutConstraint 
*) 0 ; 
44315     wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
44318     PyObject 
* obj0 
= 0 ; 
44319     PyObject 
* obj1 
= 0 ; 
44320     PyObject 
* obj2 
= 0 ; 
44321     PyObject 
* obj3 
= 0 ; 
44322     char *kwnames
[] = { 
44323         (char *) "self",(char *) "otherW",(char *) "wh",(char *) "per", NULL 
 
44326     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_PercentOf",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
44327     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION 
| 0); 
44328     if (SWIG_arg_fail(1)) SWIG_fail
; 
44329     SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
44330     if (SWIG_arg_fail(2)) SWIG_fail
; 
44332         arg3 
= (wxEdge
)(SWIG_As_int(obj2
));  
44333         if (SWIG_arg_fail(3)) SWIG_fail
; 
44336         arg4 
= (int)(SWIG_As_int(obj3
));  
44337         if (SWIG_arg_fail(4)) SWIG_fail
; 
44340         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
44341         (arg1
)->PercentOf(arg2
,(wxEdge 
)arg3
,arg4
); 
44343         wxPyEndAllowThreads(__tstate
); 
44344         if (PyErr_Occurred()) SWIG_fail
; 
44346     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
44353 static PyObject 
*_wrap_IndividualLayoutConstraint_Absolute(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
44354     PyObject 
*resultobj
; 
44355     wxIndividualLayoutConstraint 
*arg1 
= (wxIndividualLayoutConstraint 
*) 0 ; 
44357     PyObject 
* obj0 
= 0 ; 
44358     PyObject 
* obj1 
= 0 ; 
44359     char *kwnames
[] = { 
44360         (char *) "self",(char *) "val", NULL 
 
44363     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_Absolute",kwnames
,&obj0
,&obj1
)) goto fail
; 
44364     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION 
| 0); 
44365     if (SWIG_arg_fail(1)) SWIG_fail
; 
44367         arg2 
= (int)(SWIG_As_int(obj1
));  
44368         if (SWIG_arg_fail(2)) SWIG_fail
; 
44371         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
44372         (arg1
)->Absolute(arg2
); 
44374         wxPyEndAllowThreads(__tstate
); 
44375         if (PyErr_Occurred()) SWIG_fail
; 
44377     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
44384 static PyObject 
*_wrap_IndividualLayoutConstraint_Unconstrained(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
44385     PyObject 
*resultobj
; 
44386     wxIndividualLayoutConstraint 
*arg1 
= (wxIndividualLayoutConstraint 
*) 0 ; 
44387     PyObject 
* obj0 
= 0 ; 
44388     char *kwnames
[] = { 
44389         (char *) "self", NULL 
 
44392     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_Unconstrained",kwnames
,&obj0
)) goto fail
; 
44393     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION 
| 0); 
44394     if (SWIG_arg_fail(1)) SWIG_fail
; 
44396         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
44397         (arg1
)->Unconstrained(); 
44399         wxPyEndAllowThreads(__tstate
); 
44400         if (PyErr_Occurred()) SWIG_fail
; 
44402     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
44409 static PyObject 
*_wrap_IndividualLayoutConstraint_AsIs(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
44410     PyObject 
*resultobj
; 
44411     wxIndividualLayoutConstraint 
*arg1 
= (wxIndividualLayoutConstraint 
*) 0 ; 
44412     PyObject 
* obj0 
= 0 ; 
44413     char *kwnames
[] = { 
44414         (char *) "self", NULL 
 
44417     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_AsIs",kwnames
,&obj0
)) goto fail
; 
44418     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION 
| 0); 
44419     if (SWIG_arg_fail(1)) SWIG_fail
; 
44421         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
44424         wxPyEndAllowThreads(__tstate
); 
44425         if (PyErr_Occurred()) SWIG_fail
; 
44427     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
44434 static PyObject 
*_wrap_IndividualLayoutConstraint_GetOtherWindow(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
44435     PyObject 
*resultobj
; 
44436     wxIndividualLayoutConstraint 
*arg1 
= (wxIndividualLayoutConstraint 
*) 0 ; 
44438     PyObject 
* obj0 
= 0 ; 
44439     char *kwnames
[] = { 
44440         (char *) "self", NULL 
 
44443     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetOtherWindow",kwnames
,&obj0
)) goto fail
; 
44444     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION 
| 0); 
44445     if (SWIG_arg_fail(1)) SWIG_fail
; 
44447         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
44448         result 
= (wxWindow 
*)(arg1
)->GetOtherWindow(); 
44450         wxPyEndAllowThreads(__tstate
); 
44451         if (PyErr_Occurred()) SWIG_fail
; 
44454         resultobj 
= wxPyMake_wxObject(result
, 0);  
44462 static PyObject 
*_wrap_IndividualLayoutConstraint_GetMyEdge(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
44463     PyObject 
*resultobj
; 
44464     wxIndividualLayoutConstraint 
*arg1 
= (wxIndividualLayoutConstraint 
*) 0 ; 
44466     PyObject 
* obj0 
= 0 ; 
44467     char *kwnames
[] = { 
44468         (char *) "self", NULL 
 
44471     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetMyEdge",kwnames
,&obj0
)) goto fail
; 
44472     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION 
| 0); 
44473     if (SWIG_arg_fail(1)) SWIG_fail
; 
44475         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
44476         result 
= (wxEdge
)((wxIndividualLayoutConstraint 
const *)arg1
)->GetMyEdge(); 
44478         wxPyEndAllowThreads(__tstate
); 
44479         if (PyErr_Occurred()) SWIG_fail
; 
44481     resultobj 
= SWIG_From_int((result
)); 
44488 static PyObject 
*_wrap_IndividualLayoutConstraint_SetEdge(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
44489     PyObject 
*resultobj
; 
44490     wxIndividualLayoutConstraint 
*arg1 
= (wxIndividualLayoutConstraint 
*) 0 ; 
44492     PyObject 
* obj0 
= 0 ; 
44493     PyObject 
* obj1 
= 0 ; 
44494     char *kwnames
[] = { 
44495         (char *) "self",(char *) "which", NULL 
 
44498     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetEdge",kwnames
,&obj0
,&obj1
)) goto fail
; 
44499     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION 
| 0); 
44500     if (SWIG_arg_fail(1)) SWIG_fail
; 
44502         arg2 
= (wxEdge
)(SWIG_As_int(obj1
));  
44503         if (SWIG_arg_fail(2)) SWIG_fail
; 
44506         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
44507         (arg1
)->SetEdge((wxEdge 
)arg2
); 
44509         wxPyEndAllowThreads(__tstate
); 
44510         if (PyErr_Occurred()) SWIG_fail
; 
44512     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
44519 static PyObject 
*_wrap_IndividualLayoutConstraint_SetValue(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
44520     PyObject 
*resultobj
; 
44521     wxIndividualLayoutConstraint 
*arg1 
= (wxIndividualLayoutConstraint 
*) 0 ; 
44523     PyObject 
* obj0 
= 0 ; 
44524     PyObject 
* obj1 
= 0 ; 
44525     char *kwnames
[] = { 
44526         (char *) "self",(char *) "v", NULL 
 
44529     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
; 
44530     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION 
| 0); 
44531     if (SWIG_arg_fail(1)) SWIG_fail
; 
44533         arg2 
= (int)(SWIG_As_int(obj1
));  
44534         if (SWIG_arg_fail(2)) SWIG_fail
; 
44537         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
44538         (arg1
)->SetValue(arg2
); 
44540         wxPyEndAllowThreads(__tstate
); 
44541         if (PyErr_Occurred()) SWIG_fail
; 
44543     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
44550 static PyObject 
*_wrap_IndividualLayoutConstraint_GetMargin(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
44551     PyObject 
*resultobj
; 
44552     wxIndividualLayoutConstraint 
*arg1 
= (wxIndividualLayoutConstraint 
*) 0 ; 
44554     PyObject 
* obj0 
= 0 ; 
44555     char *kwnames
[] = { 
44556         (char *) "self", NULL 
 
44559     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetMargin",kwnames
,&obj0
)) goto fail
; 
44560     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION 
| 0); 
44561     if (SWIG_arg_fail(1)) SWIG_fail
; 
44563         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
44564         result 
= (int)(arg1
)->GetMargin(); 
44566         wxPyEndAllowThreads(__tstate
); 
44567         if (PyErr_Occurred()) SWIG_fail
; 
44570         resultobj 
= SWIG_From_int((int)(result
));  
44578 static PyObject 
*_wrap_IndividualLayoutConstraint_SetMargin(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
44579     PyObject 
*resultobj
; 
44580     wxIndividualLayoutConstraint 
*arg1 
= (wxIndividualLayoutConstraint 
*) 0 ; 
44582     PyObject 
* obj0 
= 0 ; 
44583     PyObject 
* obj1 
= 0 ; 
44584     char *kwnames
[] = { 
44585         (char *) "self",(char *) "m", NULL 
 
44588     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetMargin",kwnames
,&obj0
,&obj1
)) goto fail
; 
44589     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION 
| 0); 
44590     if (SWIG_arg_fail(1)) SWIG_fail
; 
44592         arg2 
= (int)(SWIG_As_int(obj1
));  
44593         if (SWIG_arg_fail(2)) SWIG_fail
; 
44596         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
44597         (arg1
)->SetMargin(arg2
); 
44599         wxPyEndAllowThreads(__tstate
); 
44600         if (PyErr_Occurred()) SWIG_fail
; 
44602     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
44609 static PyObject 
*_wrap_IndividualLayoutConstraint_GetValue(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
44610     PyObject 
*resultobj
; 
44611     wxIndividualLayoutConstraint 
*arg1 
= (wxIndividualLayoutConstraint 
*) 0 ; 
44613     PyObject 
* obj0 
= 0 ; 
44614     char *kwnames
[] = { 
44615         (char *) "self", NULL 
 
44618     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetValue",kwnames
,&obj0
)) goto fail
; 
44619     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION 
| 0); 
44620     if (SWIG_arg_fail(1)) SWIG_fail
; 
44622         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
44623         result 
= (int)((wxIndividualLayoutConstraint 
const *)arg1
)->GetValue(); 
44625         wxPyEndAllowThreads(__tstate
); 
44626         if (PyErr_Occurred()) SWIG_fail
; 
44629         resultobj 
= SWIG_From_int((int)(result
));  
44637 static PyObject 
*_wrap_IndividualLayoutConstraint_GetPercent(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
44638     PyObject 
*resultobj
; 
44639     wxIndividualLayoutConstraint 
*arg1 
= (wxIndividualLayoutConstraint 
*) 0 ; 
44641     PyObject 
* obj0 
= 0 ; 
44642     char *kwnames
[] = { 
44643         (char *) "self", NULL 
 
44646     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetPercent",kwnames
,&obj0
)) goto fail
; 
44647     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION 
| 0); 
44648     if (SWIG_arg_fail(1)) SWIG_fail
; 
44650         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
44651         result 
= (int)((wxIndividualLayoutConstraint 
const *)arg1
)->GetPercent(); 
44653         wxPyEndAllowThreads(__tstate
); 
44654         if (PyErr_Occurred()) SWIG_fail
; 
44657         resultobj 
= SWIG_From_int((int)(result
));  
44665 static PyObject 
*_wrap_IndividualLayoutConstraint_GetOtherEdge(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
44666     PyObject 
*resultobj
; 
44667     wxIndividualLayoutConstraint 
*arg1 
= (wxIndividualLayoutConstraint 
*) 0 ; 
44669     PyObject 
* obj0 
= 0 ; 
44670     char *kwnames
[] = { 
44671         (char *) "self", NULL 
 
44674     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetOtherEdge",kwnames
,&obj0
)) goto fail
; 
44675     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION 
| 0); 
44676     if (SWIG_arg_fail(1)) SWIG_fail
; 
44678         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
44679         result 
= (int)((wxIndividualLayoutConstraint 
const *)arg1
)->GetOtherEdge(); 
44681         wxPyEndAllowThreads(__tstate
); 
44682         if (PyErr_Occurred()) SWIG_fail
; 
44685         resultobj 
= SWIG_From_int((int)(result
));  
44693 static PyObject 
*_wrap_IndividualLayoutConstraint_GetDone(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
44694     PyObject 
*resultobj
; 
44695     wxIndividualLayoutConstraint 
*arg1 
= (wxIndividualLayoutConstraint 
*) 0 ; 
44697     PyObject 
* obj0 
= 0 ; 
44698     char *kwnames
[] = { 
44699         (char *) "self", NULL 
 
44702     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetDone",kwnames
,&obj0
)) goto fail
; 
44703     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION 
| 0); 
44704     if (SWIG_arg_fail(1)) SWIG_fail
; 
44706         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
44707         result 
= (bool)((wxIndividualLayoutConstraint 
const *)arg1
)->GetDone(); 
44709         wxPyEndAllowThreads(__tstate
); 
44710         if (PyErr_Occurred()) SWIG_fail
; 
44713         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
44721 static PyObject 
*_wrap_IndividualLayoutConstraint_SetDone(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
44722     PyObject 
*resultobj
; 
44723     wxIndividualLayoutConstraint 
*arg1 
= (wxIndividualLayoutConstraint 
*) 0 ; 
44725     PyObject 
* obj0 
= 0 ; 
44726     PyObject 
* obj1 
= 0 ; 
44727     char *kwnames
[] = { 
44728         (char *) "self",(char *) "d", NULL 
 
44731     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetDone",kwnames
,&obj0
,&obj1
)) goto fail
; 
44732     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION 
| 0); 
44733     if (SWIG_arg_fail(1)) SWIG_fail
; 
44735         arg2 
= (bool)(SWIG_As_bool(obj1
));  
44736         if (SWIG_arg_fail(2)) SWIG_fail
; 
44739         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
44740         (arg1
)->SetDone(arg2
); 
44742         wxPyEndAllowThreads(__tstate
); 
44743         if (PyErr_Occurred()) SWIG_fail
; 
44745     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
44752 static PyObject 
*_wrap_IndividualLayoutConstraint_GetRelationship(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
44753     PyObject 
*resultobj
; 
44754     wxIndividualLayoutConstraint 
*arg1 
= (wxIndividualLayoutConstraint 
*) 0 ; 
44755     wxRelationship result
; 
44756     PyObject 
* obj0 
= 0 ; 
44757     char *kwnames
[] = { 
44758         (char *) "self", NULL 
 
44761     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetRelationship",kwnames
,&obj0
)) goto fail
; 
44762     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION 
| 0); 
44763     if (SWIG_arg_fail(1)) SWIG_fail
; 
44765         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
44766         result 
= (wxRelationship
)(arg1
)->GetRelationship(); 
44768         wxPyEndAllowThreads(__tstate
); 
44769         if (PyErr_Occurred()) SWIG_fail
; 
44771     resultobj 
= SWIG_From_int((result
)); 
44778 static PyObject 
*_wrap_IndividualLayoutConstraint_SetRelationship(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
44779     PyObject 
*resultobj
; 
44780     wxIndividualLayoutConstraint 
*arg1 
= (wxIndividualLayoutConstraint 
*) 0 ; 
44781     wxRelationship arg2 
; 
44782     PyObject 
* obj0 
= 0 ; 
44783     PyObject 
* obj1 
= 0 ; 
44784     char *kwnames
[] = { 
44785         (char *) "self",(char *) "r", NULL 
 
44788     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetRelationship",kwnames
,&obj0
,&obj1
)) goto fail
; 
44789     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION 
| 0); 
44790     if (SWIG_arg_fail(1)) SWIG_fail
; 
44792         arg2 
= (wxRelationship
)(SWIG_As_int(obj1
));  
44793         if (SWIG_arg_fail(2)) SWIG_fail
; 
44796         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
44797         (arg1
)->SetRelationship((wxRelationship 
)arg2
); 
44799         wxPyEndAllowThreads(__tstate
); 
44800         if (PyErr_Occurred()) SWIG_fail
; 
44802     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
44809 static PyObject 
*_wrap_IndividualLayoutConstraint_ResetIfWin(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
44810     PyObject 
*resultobj
; 
44811     wxIndividualLayoutConstraint 
*arg1 
= (wxIndividualLayoutConstraint 
*) 0 ; 
44812     wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
44814     PyObject 
* obj0 
= 0 ; 
44815     PyObject 
* obj1 
= 0 ; 
44816     char *kwnames
[] = { 
44817         (char *) "self",(char *) "otherW", NULL 
 
44820     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_ResetIfWin",kwnames
,&obj0
,&obj1
)) goto fail
; 
44821     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION 
| 0); 
44822     if (SWIG_arg_fail(1)) SWIG_fail
; 
44823     SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
44824     if (SWIG_arg_fail(2)) SWIG_fail
; 
44826         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
44827         result 
= (bool)(arg1
)->ResetIfWin(arg2
); 
44829         wxPyEndAllowThreads(__tstate
); 
44830         if (PyErr_Occurred()) SWIG_fail
; 
44833         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
44841 static PyObject 
*_wrap_IndividualLayoutConstraint_SatisfyConstraint(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
44842     PyObject 
*resultobj
; 
44843     wxIndividualLayoutConstraint 
*arg1 
= (wxIndividualLayoutConstraint 
*) 0 ; 
44844     wxLayoutConstraints 
*arg2 
= (wxLayoutConstraints 
*) 0 ; 
44845     wxWindow 
*arg3 
= (wxWindow 
*) 0 ; 
44847     PyObject 
* obj0 
= 0 ; 
44848     PyObject 
* obj1 
= 0 ; 
44849     PyObject 
* obj2 
= 0 ; 
44850     char *kwnames
[] = { 
44851         (char *) "self",(char *) "constraints",(char *) "win", NULL 
 
44854     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IndividualLayoutConstraint_SatisfyConstraint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
44855     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION 
| 0); 
44856     if (SWIG_arg_fail(1)) SWIG_fail
; 
44857     SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION 
| 0); 
44858     if (SWIG_arg_fail(2)) SWIG_fail
; 
44859     SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
44860     if (SWIG_arg_fail(3)) SWIG_fail
; 
44862         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
44863         result 
= (bool)(arg1
)->SatisfyConstraint(arg2
,arg3
); 
44865         wxPyEndAllowThreads(__tstate
); 
44866         if (PyErr_Occurred()) SWIG_fail
; 
44869         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
44877 static PyObject 
*_wrap_IndividualLayoutConstraint_GetEdge(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
44878     PyObject 
*resultobj
; 
44879     wxIndividualLayoutConstraint 
*arg1 
= (wxIndividualLayoutConstraint 
*) 0 ; 
44881     wxWindow 
*arg3 
= (wxWindow 
*) 0 ; 
44882     wxWindow 
*arg4 
= (wxWindow 
*) 0 ; 
44884     PyObject 
* obj0 
= 0 ; 
44885     PyObject 
* obj1 
= 0 ; 
44886     PyObject 
* obj2 
= 0 ; 
44887     PyObject 
* obj3 
= 0 ; 
44888     char *kwnames
[] = { 
44889         (char *) "self",(char *) "which",(char *) "thisWin",(char *) "other", NULL 
 
44892     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_GetEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
44893     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION 
| 0); 
44894     if (SWIG_arg_fail(1)) SWIG_fail
; 
44896         arg2 
= (wxEdge
)(SWIG_As_int(obj1
));  
44897         if (SWIG_arg_fail(2)) SWIG_fail
; 
44899     SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
44900     if (SWIG_arg_fail(3)) SWIG_fail
; 
44901     SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
44902     if (SWIG_arg_fail(4)) SWIG_fail
; 
44904         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
44905         result 
= (int)((wxIndividualLayoutConstraint 
const *)arg1
)->GetEdge((wxEdge 
)arg2
,arg3
,arg4
); 
44907         wxPyEndAllowThreads(__tstate
); 
44908         if (PyErr_Occurred()) SWIG_fail
; 
44911         resultobj 
= SWIG_From_int((int)(result
));  
44919 static PyObject 
* IndividualLayoutConstraint_swigregister(PyObject 
*, PyObject 
*args
) { 
44921     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
44922     SWIG_TypeClientData(SWIGTYPE_p_wxIndividualLayoutConstraint
, obj
); 
44924     return Py_BuildValue((char *)""); 
44926 static PyObject 
*_wrap_LayoutConstraints_left_get(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
44927     PyObject 
*resultobj
; 
44928     wxLayoutConstraints 
*arg1 
= (wxLayoutConstraints 
*) 0 ; 
44929     wxIndividualLayoutConstraint 
*result
; 
44930     PyObject 
* obj0 
= 0 ; 
44931     char *kwnames
[] = { 
44932         (char *) "self", NULL 
 
44935     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_left_get",kwnames
,&obj0
)) goto fail
; 
44936     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION 
| 0); 
44937     if (SWIG_arg_fail(1)) SWIG_fail
; 
44938     result 
= (wxIndividualLayoutConstraint 
*)& ((arg1
)->left
); 
44940     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0); 
44947 static PyObject 
*_wrap_LayoutConstraints_top_get(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
44948     PyObject 
*resultobj
; 
44949     wxLayoutConstraints 
*arg1 
= (wxLayoutConstraints 
*) 0 ; 
44950     wxIndividualLayoutConstraint 
*result
; 
44951     PyObject 
* obj0 
= 0 ; 
44952     char *kwnames
[] = { 
44953         (char *) "self", NULL 
 
44956     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_top_get",kwnames
,&obj0
)) goto fail
; 
44957     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION 
| 0); 
44958     if (SWIG_arg_fail(1)) SWIG_fail
; 
44959     result 
= (wxIndividualLayoutConstraint 
*)& ((arg1
)->top
); 
44961     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0); 
44968 static PyObject 
*_wrap_LayoutConstraints_right_get(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
44969     PyObject 
*resultobj
; 
44970     wxLayoutConstraints 
*arg1 
= (wxLayoutConstraints 
*) 0 ; 
44971     wxIndividualLayoutConstraint 
*result
; 
44972     PyObject 
* obj0 
= 0 ; 
44973     char *kwnames
[] = { 
44974         (char *) "self", NULL 
 
44977     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_right_get",kwnames
,&obj0
)) goto fail
; 
44978     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION 
| 0); 
44979     if (SWIG_arg_fail(1)) SWIG_fail
; 
44980     result 
= (wxIndividualLayoutConstraint 
*)& ((arg1
)->right
); 
44982     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0); 
44989 static PyObject 
*_wrap_LayoutConstraints_bottom_get(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
44990     PyObject 
*resultobj
; 
44991     wxLayoutConstraints 
*arg1 
= (wxLayoutConstraints 
*) 0 ; 
44992     wxIndividualLayoutConstraint 
*result
; 
44993     PyObject 
* obj0 
= 0 ; 
44994     char *kwnames
[] = { 
44995         (char *) "self", NULL 
 
44998     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_bottom_get",kwnames
,&obj0
)) goto fail
; 
44999     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION 
| 0); 
45000     if (SWIG_arg_fail(1)) SWIG_fail
; 
45001     result 
= (wxIndividualLayoutConstraint 
*)& ((arg1
)->bottom
); 
45003     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0); 
45010 static PyObject 
*_wrap_LayoutConstraints_width_get(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
45011     PyObject 
*resultobj
; 
45012     wxLayoutConstraints 
*arg1 
= (wxLayoutConstraints 
*) 0 ; 
45013     wxIndividualLayoutConstraint 
*result
; 
45014     PyObject 
* obj0 
= 0 ; 
45015     char *kwnames
[] = { 
45016         (char *) "self", NULL 
 
45019     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_width_get",kwnames
,&obj0
)) goto fail
; 
45020     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION 
| 0); 
45021     if (SWIG_arg_fail(1)) SWIG_fail
; 
45022     result 
= (wxIndividualLayoutConstraint 
*)& ((arg1
)->width
); 
45024     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0); 
45031 static PyObject 
*_wrap_LayoutConstraints_height_get(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
45032     PyObject 
*resultobj
; 
45033     wxLayoutConstraints 
*arg1 
= (wxLayoutConstraints 
*) 0 ; 
45034     wxIndividualLayoutConstraint 
*result
; 
45035     PyObject 
* obj0 
= 0 ; 
45036     char *kwnames
[] = { 
45037         (char *) "self", NULL 
 
45040     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_height_get",kwnames
,&obj0
)) goto fail
; 
45041     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION 
| 0); 
45042     if (SWIG_arg_fail(1)) SWIG_fail
; 
45043     result 
= (wxIndividualLayoutConstraint 
*)& ((arg1
)->height
); 
45045     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0); 
45052 static PyObject 
*_wrap_LayoutConstraints_centreX_get(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
45053     PyObject 
*resultobj
; 
45054     wxLayoutConstraints 
*arg1 
= (wxLayoutConstraints 
*) 0 ; 
45055     wxIndividualLayoutConstraint 
*result
; 
45056     PyObject 
* obj0 
= 0 ; 
45057     char *kwnames
[] = { 
45058         (char *) "self", NULL 
 
45061     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_centreX_get",kwnames
,&obj0
)) goto fail
; 
45062     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION 
| 0); 
45063     if (SWIG_arg_fail(1)) SWIG_fail
; 
45064     result 
= (wxIndividualLayoutConstraint 
*)& ((arg1
)->centreX
); 
45066     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0); 
45073 static PyObject 
*_wrap_LayoutConstraints_centreY_get(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
45074     PyObject 
*resultobj
; 
45075     wxLayoutConstraints 
*arg1 
= (wxLayoutConstraints 
*) 0 ; 
45076     wxIndividualLayoutConstraint 
*result
; 
45077     PyObject 
* obj0 
= 0 ; 
45078     char *kwnames
[] = { 
45079         (char *) "self", NULL 
 
45082     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_centreY_get",kwnames
,&obj0
)) goto fail
; 
45083     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION 
| 0); 
45084     if (SWIG_arg_fail(1)) SWIG_fail
; 
45085     result 
= (wxIndividualLayoutConstraint 
*)& ((arg1
)->centreY
); 
45087     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0); 
45094 static PyObject 
*_wrap_new_LayoutConstraints(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
45095     PyObject 
*resultobj
; 
45096     wxLayoutConstraints 
*result
; 
45097     char *kwnames
[] = { 
45101     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LayoutConstraints",kwnames
)) goto fail
; 
45103         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
45104         result 
= (wxLayoutConstraints 
*)new wxLayoutConstraints(); 
45106         wxPyEndAllowThreads(__tstate
); 
45107         if (PyErr_Occurred()) SWIG_fail
; 
45109     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutConstraints
, 1); 
45116 static PyObject 
*_wrap_LayoutConstraints_SatisfyConstraints(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
45117     PyObject 
*resultobj
; 
45118     wxLayoutConstraints 
*arg1 
= (wxLayoutConstraints 
*) 0 ; 
45119     wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
45120     int *arg3 
= (int *) 0 ; 
45124     PyObject 
* obj0 
= 0 ; 
45125     PyObject 
* obj1 
= 0 ; 
45126     char *kwnames
[] = { 
45127         (char *) "self",(char *) "win", NULL 
 
45130     arg3 
= &temp3
; res3 
= SWIG_NEWOBJ
; 
45131     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LayoutConstraints_SatisfyConstraints",kwnames
,&obj0
,&obj1
)) goto fail
; 
45132     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION 
| 0); 
45133     if (SWIG_arg_fail(1)) SWIG_fail
; 
45134     SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
45135     if (SWIG_arg_fail(2)) SWIG_fail
; 
45137         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
45138         result 
= (bool)(arg1
)->SatisfyConstraints(arg2
,arg3
); 
45140         wxPyEndAllowThreads(__tstate
); 
45141         if (PyErr_Occurred()) SWIG_fail
; 
45144         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
45146     resultobj 
= t_output_helper(resultobj
, ((res3 
== SWIG_NEWOBJ
) ? 
45147     SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0))); 
45154 static PyObject 
*_wrap_LayoutConstraints_AreSatisfied(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
45155     PyObject 
*resultobj
; 
45156     wxLayoutConstraints 
*arg1 
= (wxLayoutConstraints 
*) 0 ; 
45158     PyObject 
* obj0 
= 0 ; 
45159     char *kwnames
[] = { 
45160         (char *) "self", NULL 
 
45163     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_AreSatisfied",kwnames
,&obj0
)) goto fail
; 
45164     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION 
| 0); 
45165     if (SWIG_arg_fail(1)) SWIG_fail
; 
45167         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
45168         result 
= (bool)((wxLayoutConstraints 
const *)arg1
)->AreSatisfied(); 
45170         wxPyEndAllowThreads(__tstate
); 
45171         if (PyErr_Occurred()) SWIG_fail
; 
45174         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
45182 static PyObject 
* LayoutConstraints_swigregister(PyObject 
*, PyObject 
*args
) { 
45184     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
45185     SWIG_TypeClientData(SWIGTYPE_p_wxLayoutConstraints
, obj
); 
45187     return Py_BuildValue((char *)""); 
45189 static PyMethodDef SwigMethods
[] = { 
45190          { (char *)"_wxPySetDictionary", __wxPySetDictionary
, METH_VARARGS
, NULL
}, 
45191          { (char *)"_wxPyFixStockObjects", __wxPyFixStockObjects
, METH_VARARGS
, NULL
}, 
45192          { (char *)"Object_GetClassName", (PyCFunction
) _wrap_Object_GetClassName
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45193          { (char *)"Object_Destroy", (PyCFunction
) _wrap_Object_Destroy
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45194          { (char *)"Object_swigregister", Object_swigregister
, METH_VARARGS
, NULL
}, 
45195          { (char *)"Size_width_set", (PyCFunction
) _wrap_Size_width_set
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45196          { (char *)"Size_width_get", (PyCFunction
) _wrap_Size_width_get
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45197          { (char *)"Size_height_set", (PyCFunction
) _wrap_Size_height_set
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45198          { (char *)"Size_height_get", (PyCFunction
) _wrap_Size_height_get
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45199          { (char *)"new_Size", (PyCFunction
) _wrap_new_Size
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45200          { (char *)"delete_Size", (PyCFunction
) _wrap_delete_Size
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45201          { (char *)"Size___eq__", (PyCFunction
) _wrap_Size___eq__
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45202          { (char *)"Size___ne__", (PyCFunction
) _wrap_Size___ne__
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45203          { (char *)"Size___add__", (PyCFunction
) _wrap_Size___add__
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45204          { (char *)"Size___sub__", (PyCFunction
) _wrap_Size___sub__
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45205          { (char *)"Size_IncTo", (PyCFunction
) _wrap_Size_IncTo
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45206          { (char *)"Size_DecTo", (PyCFunction
) _wrap_Size_DecTo
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45207          { (char *)"Size_Set", (PyCFunction
) _wrap_Size_Set
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45208          { (char *)"Size_SetWidth", (PyCFunction
) _wrap_Size_SetWidth
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45209          { (char *)"Size_SetHeight", (PyCFunction
) _wrap_Size_SetHeight
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45210          { (char *)"Size_GetWidth", (PyCFunction
) _wrap_Size_GetWidth
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45211          { (char *)"Size_GetHeight", (PyCFunction
) _wrap_Size_GetHeight
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45212          { (char *)"Size_IsFullySpecified", (PyCFunction
) _wrap_Size_IsFullySpecified
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45213          { (char *)"Size_SetDefaults", (PyCFunction
) _wrap_Size_SetDefaults
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45214          { (char *)"Size_Get", (PyCFunction
) _wrap_Size_Get
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45215          { (char *)"Size_swigregister", Size_swigregister
, METH_VARARGS
, NULL
}, 
45216          { (char *)"RealPoint_x_set", (PyCFunction
) _wrap_RealPoint_x_set
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45217          { (char *)"RealPoint_x_get", (PyCFunction
) _wrap_RealPoint_x_get
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45218          { (char *)"RealPoint_y_set", (PyCFunction
) _wrap_RealPoint_y_set
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45219          { (char *)"RealPoint_y_get", (PyCFunction
) _wrap_RealPoint_y_get
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45220          { (char *)"new_RealPoint", (PyCFunction
) _wrap_new_RealPoint
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45221          { (char *)"delete_RealPoint", (PyCFunction
) _wrap_delete_RealPoint
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45222          { (char *)"RealPoint___eq__", (PyCFunction
) _wrap_RealPoint___eq__
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45223          { (char *)"RealPoint___ne__", (PyCFunction
) _wrap_RealPoint___ne__
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45224          { (char *)"RealPoint___add__", (PyCFunction
) _wrap_RealPoint___add__
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45225          { (char *)"RealPoint___sub__", (PyCFunction
) _wrap_RealPoint___sub__
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45226          { (char *)"RealPoint_Set", (PyCFunction
) _wrap_RealPoint_Set
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45227          { (char *)"RealPoint_Get", (PyCFunction
) _wrap_RealPoint_Get
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45228          { (char *)"RealPoint_swigregister", RealPoint_swigregister
, METH_VARARGS
, NULL
}, 
45229          { (char *)"Point_x_set", (PyCFunction
) _wrap_Point_x_set
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45230          { (char *)"Point_x_get", (PyCFunction
) _wrap_Point_x_get
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45231          { (char *)"Point_y_set", (PyCFunction
) _wrap_Point_y_set
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45232          { (char *)"Point_y_get", (PyCFunction
) _wrap_Point_y_get
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45233          { (char *)"new_Point", (PyCFunction
) _wrap_new_Point
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45234          { (char *)"delete_Point", (PyCFunction
) _wrap_delete_Point
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45235          { (char *)"Point___eq__", (PyCFunction
) _wrap_Point___eq__
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45236          { (char *)"Point___ne__", (PyCFunction
) _wrap_Point___ne__
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45237          { (char *)"Point___add__", (PyCFunction
) _wrap_Point___add__
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45238          { (char *)"Point___sub__", (PyCFunction
) _wrap_Point___sub__
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45239          { (char *)"Point___iadd__", (PyCFunction
) _wrap_Point___iadd__
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45240          { (char *)"Point___isub__", (PyCFunction
) _wrap_Point___isub__
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45241          { (char *)"Point_Set", (PyCFunction
) _wrap_Point_Set
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45242          { (char *)"Point_Get", (PyCFunction
) _wrap_Point_Get
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45243          { (char *)"Point_swigregister", Point_swigregister
, METH_VARARGS
, NULL
}, 
45244          { (char *)"new_Rect", (PyCFunction
) _wrap_new_Rect
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45245          { (char *)"new_RectPP", (PyCFunction
) _wrap_new_RectPP
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45246          { (char *)"new_RectPS", (PyCFunction
) _wrap_new_RectPS
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45247          { (char *)"new_RectS", (PyCFunction
) _wrap_new_RectS
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45248          { (char *)"delete_Rect", (PyCFunction
) _wrap_delete_Rect
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45249          { (char *)"Rect_GetX", (PyCFunction
) _wrap_Rect_GetX
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45250          { (char *)"Rect_SetX", (PyCFunction
) _wrap_Rect_SetX
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45251          { (char *)"Rect_GetY", (PyCFunction
) _wrap_Rect_GetY
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45252          { (char *)"Rect_SetY", (PyCFunction
) _wrap_Rect_SetY
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45253          { (char *)"Rect_GetWidth", (PyCFunction
) _wrap_Rect_GetWidth
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45254          { (char *)"Rect_SetWidth", (PyCFunction
) _wrap_Rect_SetWidth
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45255          { (char *)"Rect_GetHeight", (PyCFunction
) _wrap_Rect_GetHeight
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45256          { (char *)"Rect_SetHeight", (PyCFunction
) _wrap_Rect_SetHeight
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45257          { (char *)"Rect_GetPosition", (PyCFunction
) _wrap_Rect_GetPosition
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45258          { (char *)"Rect_SetPosition", (PyCFunction
) _wrap_Rect_SetPosition
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45259          { (char *)"Rect_GetSize", (PyCFunction
) _wrap_Rect_GetSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45260          { (char *)"Rect_SetSize", (PyCFunction
) _wrap_Rect_SetSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45261          { (char *)"Rect_IsEmpty", (PyCFunction
) _wrap_Rect_IsEmpty
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45262          { (char *)"Rect_GetTopLeft", (PyCFunction
) _wrap_Rect_GetTopLeft
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45263          { (char *)"Rect_SetTopLeft", (PyCFunction
) _wrap_Rect_SetTopLeft
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45264          { (char *)"Rect_GetBottomRight", (PyCFunction
) _wrap_Rect_GetBottomRight
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45265          { (char *)"Rect_SetBottomRight", (PyCFunction
) _wrap_Rect_SetBottomRight
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45266          { (char *)"Rect_GetLeft", (PyCFunction
) _wrap_Rect_GetLeft
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45267          { (char *)"Rect_GetTop", (PyCFunction
) _wrap_Rect_GetTop
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45268          { (char *)"Rect_GetBottom", (PyCFunction
) _wrap_Rect_GetBottom
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45269          { (char *)"Rect_GetRight", (PyCFunction
) _wrap_Rect_GetRight
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45270          { (char *)"Rect_SetLeft", (PyCFunction
) _wrap_Rect_SetLeft
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45271          { (char *)"Rect_SetRight", (PyCFunction
) _wrap_Rect_SetRight
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45272          { (char *)"Rect_SetTop", (PyCFunction
) _wrap_Rect_SetTop
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45273          { (char *)"Rect_SetBottom", (PyCFunction
) _wrap_Rect_SetBottom
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45274          { (char *)"Rect_Inflate", (PyCFunction
) _wrap_Rect_Inflate
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45275          { (char *)"Rect_Deflate", (PyCFunction
) _wrap_Rect_Deflate
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45276          { (char *)"Rect_OffsetXY", (PyCFunction
) _wrap_Rect_OffsetXY
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45277          { (char *)"Rect_Offset", (PyCFunction
) _wrap_Rect_Offset
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45278          { (char *)"Rect_Intersect", (PyCFunction
) _wrap_Rect_Intersect
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45279          { (char *)"Rect_Union", (PyCFunction
) _wrap_Rect_Union
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45280          { (char *)"Rect___add__", (PyCFunction
) _wrap_Rect___add__
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45281          { (char *)"Rect___iadd__", (PyCFunction
) _wrap_Rect___iadd__
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45282          { (char *)"Rect___eq__", (PyCFunction
) _wrap_Rect___eq__
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45283          { (char *)"Rect___ne__", (PyCFunction
) _wrap_Rect___ne__
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45284          { (char *)"Rect_InsideXY", (PyCFunction
) _wrap_Rect_InsideXY
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45285          { (char *)"Rect_Inside", (PyCFunction
) _wrap_Rect_Inside
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45286          { (char *)"Rect_Intersects", (PyCFunction
) _wrap_Rect_Intersects
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45287          { (char *)"Rect_x_set", (PyCFunction
) _wrap_Rect_x_set
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45288          { (char *)"Rect_x_get", (PyCFunction
) _wrap_Rect_x_get
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45289          { (char *)"Rect_y_set", (PyCFunction
) _wrap_Rect_y_set
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45290          { (char *)"Rect_y_get", (PyCFunction
) _wrap_Rect_y_get
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45291          { (char *)"Rect_width_set", (PyCFunction
) _wrap_Rect_width_set
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45292          { (char *)"Rect_width_get", (PyCFunction
) _wrap_Rect_width_get
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45293          { (char *)"Rect_height_set", (PyCFunction
) _wrap_Rect_height_set
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45294          { (char *)"Rect_height_get", (PyCFunction
) _wrap_Rect_height_get
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45295          { (char *)"Rect_Set", (PyCFunction
) _wrap_Rect_Set
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45296          { (char *)"Rect_Get", (PyCFunction
) _wrap_Rect_Get
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45297          { (char *)"Rect_swigregister", Rect_swigregister
, METH_VARARGS
, NULL
}, 
45298          { (char *)"IntersectRect", (PyCFunction
) _wrap_IntersectRect
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45299          { (char *)"new_Point2D", (PyCFunction
) _wrap_new_Point2D
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45300          { (char *)"new_Point2DCopy", (PyCFunction
) _wrap_new_Point2DCopy
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45301          { (char *)"new_Point2DFromPoint", (PyCFunction
) _wrap_new_Point2DFromPoint
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45302          { (char *)"Point2D_GetFloor", (PyCFunction
) _wrap_Point2D_GetFloor
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45303          { (char *)"Point2D_GetRounded", (PyCFunction
) _wrap_Point2D_GetRounded
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45304          { (char *)"Point2D_GetVectorLength", (PyCFunction
) _wrap_Point2D_GetVectorLength
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45305          { (char *)"Point2D_GetVectorAngle", (PyCFunction
) _wrap_Point2D_GetVectorAngle
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45306          { (char *)"Point2D_SetVectorLength", (PyCFunction
) _wrap_Point2D_SetVectorLength
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45307          { (char *)"Point2D_SetVectorAngle", (PyCFunction
) _wrap_Point2D_SetVectorAngle
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45308          { (char *)"Point2D_GetDistance", (PyCFunction
) _wrap_Point2D_GetDistance
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45309          { (char *)"Point2D_GetDistanceSquare", (PyCFunction
) _wrap_Point2D_GetDistanceSquare
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45310          { (char *)"Point2D_GetDotProduct", (PyCFunction
) _wrap_Point2D_GetDotProduct
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45311          { (char *)"Point2D_GetCrossProduct", (PyCFunction
) _wrap_Point2D_GetCrossProduct
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45312          { (char *)"Point2D___neg__", (PyCFunction
) _wrap_Point2D___neg__
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45313          { (char *)"Point2D___iadd__", (PyCFunction
) _wrap_Point2D___iadd__
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45314          { (char *)"Point2D___isub__", (PyCFunction
) _wrap_Point2D___isub__
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45315          { (char *)"Point2D___imul__", (PyCFunction
) _wrap_Point2D___imul__
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45316          { (char *)"Point2D___idiv__", (PyCFunction
) _wrap_Point2D___idiv__
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45317          { (char *)"Point2D___eq__", (PyCFunction
) _wrap_Point2D___eq__
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45318          { (char *)"Point2D___ne__", (PyCFunction
) _wrap_Point2D___ne__
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45319          { (char *)"Point2D_x_set", (PyCFunction
) _wrap_Point2D_x_set
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45320          { (char *)"Point2D_x_get", (PyCFunction
) _wrap_Point2D_x_get
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45321          { (char *)"Point2D_y_set", (PyCFunction
) _wrap_Point2D_y_set
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45322          { (char *)"Point2D_y_get", (PyCFunction
) _wrap_Point2D_y_get
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45323          { (char *)"Point2D_Set", (PyCFunction
) _wrap_Point2D_Set
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45324          { (char *)"Point2D_Get", (PyCFunction
) _wrap_Point2D_Get
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45325          { (char *)"Point2D_swigregister", Point2D_swigregister
, METH_VARARGS
, NULL
}, 
45326          { (char *)"new_InputStream", (PyCFunction
) _wrap_new_InputStream
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45327          { (char *)"delete_InputStream", (PyCFunction
) _wrap_delete_InputStream
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45328          { (char *)"InputStream_close", (PyCFunction
) _wrap_InputStream_close
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45329          { (char *)"InputStream_flush", (PyCFunction
) _wrap_InputStream_flush
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45330          { (char *)"InputStream_eof", (PyCFunction
) _wrap_InputStream_eof
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45331          { (char *)"InputStream_read", (PyCFunction
) _wrap_InputStream_read
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45332          { (char *)"InputStream_readline", (PyCFunction
) _wrap_InputStream_readline
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45333          { (char *)"InputStream_readlines", (PyCFunction
) _wrap_InputStream_readlines
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45334          { (char *)"InputStream_seek", (PyCFunction
) _wrap_InputStream_seek
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45335          { (char *)"InputStream_tell", (PyCFunction
) _wrap_InputStream_tell
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45336          { (char *)"InputStream_Peek", (PyCFunction
) _wrap_InputStream_Peek
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45337          { (char *)"InputStream_GetC", (PyCFunction
) _wrap_InputStream_GetC
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45338          { (char *)"InputStream_LastRead", (PyCFunction
) _wrap_InputStream_LastRead
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45339          { (char *)"InputStream_CanRead", (PyCFunction
) _wrap_InputStream_CanRead
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45340          { (char *)"InputStream_Eof", (PyCFunction
) _wrap_InputStream_Eof
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45341          { (char *)"InputStream_Ungetch", (PyCFunction
) _wrap_InputStream_Ungetch
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45342          { (char *)"InputStream_SeekI", (PyCFunction
) _wrap_InputStream_SeekI
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45343          { (char *)"InputStream_TellI", (PyCFunction
) _wrap_InputStream_TellI
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45344          { (char *)"InputStream_swigregister", InputStream_swigregister
, METH_VARARGS
, NULL
}, 
45345          { (char *)"OutputStream_write", (PyCFunction
) _wrap_OutputStream_write
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45346          { (char *)"OutputStream_swigregister", OutputStream_swigregister
, METH_VARARGS
, NULL
}, 
45347          { (char *)"new_FSFile", (PyCFunction
) _wrap_new_FSFile
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45348          { (char *)"delete_FSFile", (PyCFunction
) _wrap_delete_FSFile
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45349          { (char *)"FSFile_GetStream", (PyCFunction
) _wrap_FSFile_GetStream
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45350          { (char *)"FSFile_GetMimeType", (PyCFunction
) _wrap_FSFile_GetMimeType
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45351          { (char *)"FSFile_GetLocation", (PyCFunction
) _wrap_FSFile_GetLocation
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45352          { (char *)"FSFile_GetAnchor", (PyCFunction
) _wrap_FSFile_GetAnchor
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45353          { (char *)"FSFile_GetModificationTime", (PyCFunction
) _wrap_FSFile_GetModificationTime
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45354          { (char *)"FSFile_swigregister", FSFile_swigregister
, METH_VARARGS
, NULL
}, 
45355          { (char *)"CPPFileSystemHandler_swigregister", CPPFileSystemHandler_swigregister
, METH_VARARGS
, NULL
}, 
45356          { (char *)"new_FileSystemHandler", (PyCFunction
) _wrap_new_FileSystemHandler
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45357          { (char *)"FileSystemHandler__setCallbackInfo", (PyCFunction
) _wrap_FileSystemHandler__setCallbackInfo
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45358          { (char *)"FileSystemHandler_CanOpen", (PyCFunction
) _wrap_FileSystemHandler_CanOpen
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45359          { (char *)"FileSystemHandler_OpenFile", (PyCFunction
) _wrap_FileSystemHandler_OpenFile
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45360          { (char *)"FileSystemHandler_FindFirst", (PyCFunction
) _wrap_FileSystemHandler_FindFirst
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45361          { (char *)"FileSystemHandler_FindNext", (PyCFunction
) _wrap_FileSystemHandler_FindNext
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45362          { (char *)"FileSystemHandler_GetProtocol", (PyCFunction
) _wrap_FileSystemHandler_GetProtocol
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45363          { (char *)"FileSystemHandler_GetLeftLocation", (PyCFunction
) _wrap_FileSystemHandler_GetLeftLocation
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45364          { (char *)"FileSystemHandler_GetAnchor", (PyCFunction
) _wrap_FileSystemHandler_GetAnchor
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45365          { (char *)"FileSystemHandler_GetRightLocation", (PyCFunction
) _wrap_FileSystemHandler_GetRightLocation
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45366          { (char *)"FileSystemHandler_GetMimeTypeFromExt", (PyCFunction
) _wrap_FileSystemHandler_GetMimeTypeFromExt
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45367          { (char *)"FileSystemHandler_swigregister", FileSystemHandler_swigregister
, METH_VARARGS
, NULL
}, 
45368          { (char *)"new_FileSystem", (PyCFunction
) _wrap_new_FileSystem
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45369          { (char *)"delete_FileSystem", (PyCFunction
) _wrap_delete_FileSystem
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45370          { (char *)"FileSystem_ChangePathTo", (PyCFunction
) _wrap_FileSystem_ChangePathTo
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45371          { (char *)"FileSystem_GetPath", (PyCFunction
) _wrap_FileSystem_GetPath
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45372          { (char *)"FileSystem_OpenFile", (PyCFunction
) _wrap_FileSystem_OpenFile
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45373          { (char *)"FileSystem_FindFirst", (PyCFunction
) _wrap_FileSystem_FindFirst
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45374          { (char *)"FileSystem_FindNext", (PyCFunction
) _wrap_FileSystem_FindNext
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45375          { (char *)"FileSystem_AddHandler", (PyCFunction
) _wrap_FileSystem_AddHandler
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45376          { (char *)"FileSystem_CleanUpHandlers", (PyCFunction
) _wrap_FileSystem_CleanUpHandlers
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45377          { (char *)"FileSystem_FileNameToURL", (PyCFunction
) _wrap_FileSystem_FileNameToURL
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45378          { (char *)"FileSystem_URLToFileName", (PyCFunction
) _wrap_FileSystem_URLToFileName
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45379          { (char *)"FileSystem_swigregister", FileSystem_swigregister
, METH_VARARGS
, NULL
}, 
45380          { (char *)"new_InternetFSHandler", (PyCFunction
) _wrap_new_InternetFSHandler
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45381          { (char *)"InternetFSHandler_CanOpen", (PyCFunction
) _wrap_InternetFSHandler_CanOpen
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45382          { (char *)"InternetFSHandler_OpenFile", (PyCFunction
) _wrap_InternetFSHandler_OpenFile
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45383          { (char *)"InternetFSHandler_swigregister", InternetFSHandler_swigregister
, METH_VARARGS
, NULL
}, 
45384          { (char *)"new_ZipFSHandler", (PyCFunction
) _wrap_new_ZipFSHandler
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45385          { (char *)"ZipFSHandler_CanOpen", (PyCFunction
) _wrap_ZipFSHandler_CanOpen
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45386          { (char *)"ZipFSHandler_OpenFile", (PyCFunction
) _wrap_ZipFSHandler_OpenFile
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45387          { (char *)"ZipFSHandler_FindFirst", (PyCFunction
) _wrap_ZipFSHandler_FindFirst
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45388          { (char *)"ZipFSHandler_FindNext", (PyCFunction
) _wrap_ZipFSHandler_FindNext
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45389          { (char *)"ZipFSHandler_swigregister", ZipFSHandler_swigregister
, METH_VARARGS
, NULL
}, 
45390          { (char *)"__wxMemoryFSHandler_AddFile_wxImage", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxImage
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45391          { (char *)"__wxMemoryFSHandler_AddFile_wxBitmap", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxBitmap
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45392          { (char *)"__wxMemoryFSHandler_AddFile_Data", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_Data
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45393          { (char *)"new_MemoryFSHandler", (PyCFunction
) _wrap_new_MemoryFSHandler
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45394          { (char *)"MemoryFSHandler_RemoveFile", (PyCFunction
) _wrap_MemoryFSHandler_RemoveFile
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45395          { (char *)"MemoryFSHandler_CanOpen", (PyCFunction
) _wrap_MemoryFSHandler_CanOpen
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45396          { (char *)"MemoryFSHandler_OpenFile", (PyCFunction
) _wrap_MemoryFSHandler_OpenFile
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45397          { (char *)"MemoryFSHandler_FindFirst", (PyCFunction
) _wrap_MemoryFSHandler_FindFirst
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45398          { (char *)"MemoryFSHandler_FindNext", (PyCFunction
) _wrap_MemoryFSHandler_FindNext
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45399          { (char *)"MemoryFSHandler_swigregister", MemoryFSHandler_swigregister
, METH_VARARGS
, NULL
}, 
45400          { (char *)"ImageHandler_GetName", (PyCFunction
) _wrap_ImageHandler_GetName
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45401          { (char *)"ImageHandler_GetExtension", (PyCFunction
) _wrap_ImageHandler_GetExtension
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45402          { (char *)"ImageHandler_GetType", (PyCFunction
) _wrap_ImageHandler_GetType
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45403          { (char *)"ImageHandler_GetMimeType", (PyCFunction
) _wrap_ImageHandler_GetMimeType
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45404          { (char *)"ImageHandler_CanRead", (PyCFunction
) _wrap_ImageHandler_CanRead
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45405          { (char *)"ImageHandler_SetName", (PyCFunction
) _wrap_ImageHandler_SetName
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45406          { (char *)"ImageHandler_SetExtension", (PyCFunction
) _wrap_ImageHandler_SetExtension
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45407          { (char *)"ImageHandler_SetType", (PyCFunction
) _wrap_ImageHandler_SetType
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45408          { (char *)"ImageHandler_SetMimeType", (PyCFunction
) _wrap_ImageHandler_SetMimeType
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45409          { (char *)"ImageHandler_swigregister", ImageHandler_swigregister
, METH_VARARGS
, NULL
}, 
45410          { (char *)"new_ImageHistogram", (PyCFunction
) _wrap_new_ImageHistogram
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45411          { (char *)"ImageHistogram_MakeKey", (PyCFunction
) _wrap_ImageHistogram_MakeKey
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45412          { (char *)"ImageHistogram_FindFirstUnusedColour", (PyCFunction
) _wrap_ImageHistogram_FindFirstUnusedColour
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45413          { (char *)"ImageHistogram_GetCount", (PyCFunction
) _wrap_ImageHistogram_GetCount
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45414          { (char *)"ImageHistogram_GetCountRGB", (PyCFunction
) _wrap_ImageHistogram_GetCountRGB
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45415          { (char *)"ImageHistogram_GetCountColour", (PyCFunction
) _wrap_ImageHistogram_GetCountColour
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45416          { (char *)"ImageHistogram_swigregister", ImageHistogram_swigregister
, METH_VARARGS
, NULL
}, 
45417          { (char *)"new_Image", (PyCFunction
) _wrap_new_Image
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45418          { (char *)"delete_Image", (PyCFunction
) _wrap_delete_Image
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45419          { (char *)"new_ImageFromMime", (PyCFunction
) _wrap_new_ImageFromMime
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45420          { (char *)"new_ImageFromStream", (PyCFunction
) _wrap_new_ImageFromStream
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45421          { (char *)"new_ImageFromStreamMime", (PyCFunction
) _wrap_new_ImageFromStreamMime
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45422          { (char *)"new_EmptyImage", (PyCFunction
) _wrap_new_EmptyImage
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45423          { (char *)"new_ImageFromBitmap", (PyCFunction
) _wrap_new_ImageFromBitmap
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45424          { (char *)"new_ImageFromData", (PyCFunction
) _wrap_new_ImageFromData
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45425          { (char *)"new_ImageFromDataWithAlpha", (PyCFunction
) _wrap_new_ImageFromDataWithAlpha
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45426          { (char *)"Image_Create", (PyCFunction
) _wrap_Image_Create
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45427          { (char *)"Image_Destroy", (PyCFunction
) _wrap_Image_Destroy
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45428          { (char *)"Image_Scale", (PyCFunction
) _wrap_Image_Scale
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45429          { (char *)"Image_ShrinkBy", (PyCFunction
) _wrap_Image_ShrinkBy
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45430          { (char *)"Image_Rescale", (PyCFunction
) _wrap_Image_Rescale
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45431          { (char *)"Image_Resize", (PyCFunction
) _wrap_Image_Resize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45432          { (char *)"Image_SetRGB", (PyCFunction
) _wrap_Image_SetRGB
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45433          { (char *)"Image_SetRGBRect", (PyCFunction
) _wrap_Image_SetRGBRect
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45434          { (char *)"Image_GetRed", (PyCFunction
) _wrap_Image_GetRed
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45435          { (char *)"Image_GetGreen", (PyCFunction
) _wrap_Image_GetGreen
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45436          { (char *)"Image_GetBlue", (PyCFunction
) _wrap_Image_GetBlue
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45437          { (char *)"Image_SetAlpha", (PyCFunction
) _wrap_Image_SetAlpha
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45438          { (char *)"Image_GetAlpha", (PyCFunction
) _wrap_Image_GetAlpha
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45439          { (char *)"Image_HasAlpha", (PyCFunction
) _wrap_Image_HasAlpha
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45440          { (char *)"Image_InitAlpha", (PyCFunction
) _wrap_Image_InitAlpha
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45441          { (char *)"Image_FindFirstUnusedColour", (PyCFunction
) _wrap_Image_FindFirstUnusedColour
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45442          { (char *)"Image_ConvertAlphaToMask", (PyCFunction
) _wrap_Image_ConvertAlphaToMask
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45443          { (char *)"Image_ConvertColourToAlpha", (PyCFunction
) _wrap_Image_ConvertColourToAlpha
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45444          { (char *)"Image_SetMaskFromImage", (PyCFunction
) _wrap_Image_SetMaskFromImage
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45445          { (char *)"Image_CanRead", (PyCFunction
) _wrap_Image_CanRead
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45446          { (char *)"Image_GetImageCount", (PyCFunction
) _wrap_Image_GetImageCount
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45447          { (char *)"Image_LoadFile", (PyCFunction
) _wrap_Image_LoadFile
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45448          { (char *)"Image_LoadMimeFile", (PyCFunction
) _wrap_Image_LoadMimeFile
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45449          { (char *)"Image_SaveFile", (PyCFunction
) _wrap_Image_SaveFile
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45450          { (char *)"Image_SaveMimeFile", (PyCFunction
) _wrap_Image_SaveMimeFile
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45451          { (char *)"Image_CanReadStream", (PyCFunction
) _wrap_Image_CanReadStream
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45452          { (char *)"Image_LoadStream", (PyCFunction
) _wrap_Image_LoadStream
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45453          { (char *)"Image_LoadMimeStream", (PyCFunction
) _wrap_Image_LoadMimeStream
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45454          { (char *)"Image_Ok", (PyCFunction
) _wrap_Image_Ok
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45455          { (char *)"Image_GetWidth", (PyCFunction
) _wrap_Image_GetWidth
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45456          { (char *)"Image_GetHeight", (PyCFunction
) _wrap_Image_GetHeight
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45457          { (char *)"Image_GetSize", (PyCFunction
) _wrap_Image_GetSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45458          { (char *)"Image_GetSubImage", (PyCFunction
) _wrap_Image_GetSubImage
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45459          { (char *)"Image_Size", (PyCFunction
) _wrap_Image_Size
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45460          { (char *)"Image_Copy", (PyCFunction
) _wrap_Image_Copy
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45461          { (char *)"Image_Paste", (PyCFunction
) _wrap_Image_Paste
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45462          { (char *)"Image_GetData", (PyCFunction
) _wrap_Image_GetData
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45463          { (char *)"Image_SetData", (PyCFunction
) _wrap_Image_SetData
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45464          { (char *)"Image_GetDataBuffer", (PyCFunction
) _wrap_Image_GetDataBuffer
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45465          { (char *)"Image_SetDataBuffer", (PyCFunction
) _wrap_Image_SetDataBuffer
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45466          { (char *)"Image_GetAlphaData", (PyCFunction
) _wrap_Image_GetAlphaData
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45467          { (char *)"Image_SetAlphaData", (PyCFunction
) _wrap_Image_SetAlphaData
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45468          { (char *)"Image_GetAlphaBuffer", (PyCFunction
) _wrap_Image_GetAlphaBuffer
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45469          { (char *)"Image_SetAlphaBuffer", (PyCFunction
) _wrap_Image_SetAlphaBuffer
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45470          { (char *)"Image_SetMaskColour", (PyCFunction
) _wrap_Image_SetMaskColour
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45471          { (char *)"Image_GetOrFindMaskColour", (PyCFunction
) _wrap_Image_GetOrFindMaskColour
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45472          { (char *)"Image_GetMaskRed", (PyCFunction
) _wrap_Image_GetMaskRed
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45473          { (char *)"Image_GetMaskGreen", (PyCFunction
) _wrap_Image_GetMaskGreen
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45474          { (char *)"Image_GetMaskBlue", (PyCFunction
) _wrap_Image_GetMaskBlue
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45475          { (char *)"Image_SetMask", (PyCFunction
) _wrap_Image_SetMask
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45476          { (char *)"Image_HasMask", (PyCFunction
) _wrap_Image_HasMask
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45477          { (char *)"Image_Rotate", (PyCFunction
) _wrap_Image_Rotate
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45478          { (char *)"Image_Rotate90", (PyCFunction
) _wrap_Image_Rotate90
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45479          { (char *)"Image_Mirror", (PyCFunction
) _wrap_Image_Mirror
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45480          { (char *)"Image_Replace", (PyCFunction
) _wrap_Image_Replace
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45481          { (char *)"Image_ConvertToMono", (PyCFunction
) _wrap_Image_ConvertToMono
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45482          { (char *)"Image_SetOption", (PyCFunction
) _wrap_Image_SetOption
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45483          { (char *)"Image_SetOptionInt", (PyCFunction
) _wrap_Image_SetOptionInt
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45484          { (char *)"Image_GetOption", (PyCFunction
) _wrap_Image_GetOption
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45485          { (char *)"Image_GetOptionInt", (PyCFunction
) _wrap_Image_GetOptionInt
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45486          { (char *)"Image_HasOption", (PyCFunction
) _wrap_Image_HasOption
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45487          { (char *)"Image_CountColours", (PyCFunction
) _wrap_Image_CountColours
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45488          { (char *)"Image_ComputeHistogram", (PyCFunction
) _wrap_Image_ComputeHistogram
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45489          { (char *)"Image_AddHandler", (PyCFunction
) _wrap_Image_AddHandler
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45490          { (char *)"Image_InsertHandler", (PyCFunction
) _wrap_Image_InsertHandler
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45491          { (char *)"Image_RemoveHandler", (PyCFunction
) _wrap_Image_RemoveHandler
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45492          { (char *)"Image_GetImageExtWildcard", (PyCFunction
) _wrap_Image_GetImageExtWildcard
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45493          { (char *)"Image_ConvertToBitmap", (PyCFunction
) _wrap_Image_ConvertToBitmap
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45494          { (char *)"Image_ConvertToMonoBitmap", (PyCFunction
) _wrap_Image_ConvertToMonoBitmap
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45495          { (char *)"Image_swigregister", Image_swigregister
, METH_VARARGS
, NULL
}, 
45496          { (char *)"new_BMPHandler", (PyCFunction
) _wrap_new_BMPHandler
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45497          { (char *)"BMPHandler_swigregister", BMPHandler_swigregister
, METH_VARARGS
, NULL
}, 
45498          { (char *)"new_ICOHandler", (PyCFunction
) _wrap_new_ICOHandler
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45499          { (char *)"ICOHandler_swigregister", ICOHandler_swigregister
, METH_VARARGS
, NULL
}, 
45500          { (char *)"new_CURHandler", (PyCFunction
) _wrap_new_CURHandler
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45501          { (char *)"CURHandler_swigregister", CURHandler_swigregister
, METH_VARARGS
, NULL
}, 
45502          { (char *)"new_ANIHandler", (PyCFunction
) _wrap_new_ANIHandler
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45503          { (char *)"ANIHandler_swigregister", ANIHandler_swigregister
, METH_VARARGS
, NULL
}, 
45504          { (char *)"new_PNGHandler", (PyCFunction
) _wrap_new_PNGHandler
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45505          { (char *)"PNGHandler_swigregister", PNGHandler_swigregister
, METH_VARARGS
, NULL
}, 
45506          { (char *)"new_GIFHandler", (PyCFunction
) _wrap_new_GIFHandler
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45507          { (char *)"GIFHandler_swigregister", GIFHandler_swigregister
, METH_VARARGS
, NULL
}, 
45508          { (char *)"new_PCXHandler", (PyCFunction
) _wrap_new_PCXHandler
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45509          { (char *)"PCXHandler_swigregister", PCXHandler_swigregister
, METH_VARARGS
, NULL
}, 
45510          { (char *)"new_JPEGHandler", (PyCFunction
) _wrap_new_JPEGHandler
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45511          { (char *)"JPEGHandler_swigregister", JPEGHandler_swigregister
, METH_VARARGS
, NULL
}, 
45512          { (char *)"new_PNMHandler", (PyCFunction
) _wrap_new_PNMHandler
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45513          { (char *)"PNMHandler_swigregister", PNMHandler_swigregister
, METH_VARARGS
, NULL
}, 
45514          { (char *)"new_XPMHandler", (PyCFunction
) _wrap_new_XPMHandler
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45515          { (char *)"XPMHandler_swigregister", XPMHandler_swigregister
, METH_VARARGS
, NULL
}, 
45516          { (char *)"new_TIFFHandler", (PyCFunction
) _wrap_new_TIFFHandler
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45517          { (char *)"TIFFHandler_swigregister", TIFFHandler_swigregister
, METH_VARARGS
, NULL
}, 
45518          { (char *)"Quantize_Quantize", (PyCFunction
) _wrap_Quantize_Quantize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45519          { (char *)"Quantize_swigregister", Quantize_swigregister
, METH_VARARGS
, NULL
}, 
45520          { (char *)"new_EvtHandler", (PyCFunction
) _wrap_new_EvtHandler
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45521          { (char *)"EvtHandler_GetNextHandler", (PyCFunction
) _wrap_EvtHandler_GetNextHandler
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45522          { (char *)"EvtHandler_GetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_GetPreviousHandler
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45523          { (char *)"EvtHandler_SetNextHandler", (PyCFunction
) _wrap_EvtHandler_SetNextHandler
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45524          { (char *)"EvtHandler_SetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_SetPreviousHandler
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45525          { (char *)"EvtHandler_GetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_GetEvtHandlerEnabled
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45526          { (char *)"EvtHandler_SetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_SetEvtHandlerEnabled
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45527          { (char *)"EvtHandler_ProcessEvent", (PyCFunction
) _wrap_EvtHandler_ProcessEvent
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45528          { (char *)"EvtHandler_AddPendingEvent", (PyCFunction
) _wrap_EvtHandler_AddPendingEvent
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45529          { (char *)"EvtHandler_ProcessPendingEvents", (PyCFunction
) _wrap_EvtHandler_ProcessPendingEvents
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45530          { (char *)"EvtHandler_Connect", (PyCFunction
) _wrap_EvtHandler_Connect
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45531          { (char *)"EvtHandler_Disconnect", (PyCFunction
) _wrap_EvtHandler_Disconnect
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45532          { (char *)"EvtHandler__setOORInfo", (PyCFunction
) _wrap_EvtHandler__setOORInfo
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45533          { (char *)"EvtHandler_swigregister", EvtHandler_swigregister
, METH_VARARGS
, NULL
}, 
45534          { (char *)"NewEventType", (PyCFunction
) _wrap_NewEventType
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45535          { (char *)"delete_Event", (PyCFunction
) _wrap_delete_Event
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45536          { (char *)"Event_SetEventType", (PyCFunction
) _wrap_Event_SetEventType
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45537          { (char *)"Event_GetEventType", (PyCFunction
) _wrap_Event_GetEventType
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45538          { (char *)"Event_GetEventObject", (PyCFunction
) _wrap_Event_GetEventObject
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45539          { (char *)"Event_SetEventObject", (PyCFunction
) _wrap_Event_SetEventObject
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45540          { (char *)"Event_GetTimestamp", (PyCFunction
) _wrap_Event_GetTimestamp
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45541          { (char *)"Event_SetTimestamp", (PyCFunction
) _wrap_Event_SetTimestamp
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45542          { (char *)"Event_GetId", (PyCFunction
) _wrap_Event_GetId
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45543          { (char *)"Event_SetId", (PyCFunction
) _wrap_Event_SetId
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45544          { (char *)"Event_IsCommandEvent", (PyCFunction
) _wrap_Event_IsCommandEvent
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45545          { (char *)"Event_Skip", (PyCFunction
) _wrap_Event_Skip
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45546          { (char *)"Event_GetSkipped", (PyCFunction
) _wrap_Event_GetSkipped
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45547          { (char *)"Event_ShouldPropagate", (PyCFunction
) _wrap_Event_ShouldPropagate
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45548          { (char *)"Event_StopPropagation", (PyCFunction
) _wrap_Event_StopPropagation
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45549          { (char *)"Event_ResumePropagation", (PyCFunction
) _wrap_Event_ResumePropagation
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45550          { (char *)"Event_Clone", (PyCFunction
) _wrap_Event_Clone
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45551          { (char *)"Event_swigregister", Event_swigregister
, METH_VARARGS
, NULL
}, 
45552          { (char *)"new_PropagationDisabler", (PyCFunction
) _wrap_new_PropagationDisabler
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45553          { (char *)"delete_PropagationDisabler", (PyCFunction
) _wrap_delete_PropagationDisabler
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45554          { (char *)"PropagationDisabler_swigregister", PropagationDisabler_swigregister
, METH_VARARGS
, NULL
}, 
45555          { (char *)"new_PropagateOnce", (PyCFunction
) _wrap_new_PropagateOnce
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45556          { (char *)"delete_PropagateOnce", (PyCFunction
) _wrap_delete_PropagateOnce
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45557          { (char *)"PropagateOnce_swigregister", PropagateOnce_swigregister
, METH_VARARGS
, NULL
}, 
45558          { (char *)"new_CommandEvent", (PyCFunction
) _wrap_new_CommandEvent
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45559          { (char *)"CommandEvent_GetSelection", (PyCFunction
) _wrap_CommandEvent_GetSelection
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45560          { (char *)"CommandEvent_SetString", (PyCFunction
) _wrap_CommandEvent_SetString
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45561          { (char *)"CommandEvent_GetString", (PyCFunction
) _wrap_CommandEvent_GetString
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45562          { (char *)"CommandEvent_IsChecked", (PyCFunction
) _wrap_CommandEvent_IsChecked
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45563          { (char *)"CommandEvent_IsSelection", (PyCFunction
) _wrap_CommandEvent_IsSelection
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45564          { (char *)"CommandEvent_SetExtraLong", (PyCFunction
) _wrap_CommandEvent_SetExtraLong
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45565          { (char *)"CommandEvent_GetExtraLong", (PyCFunction
) _wrap_CommandEvent_GetExtraLong
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45566          { (char *)"CommandEvent_SetInt", (PyCFunction
) _wrap_CommandEvent_SetInt
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45567          { (char *)"CommandEvent_GetInt", (PyCFunction
) _wrap_CommandEvent_GetInt
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45568          { (char *)"CommandEvent_Clone", (PyCFunction
) _wrap_CommandEvent_Clone
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45569          { (char *)"CommandEvent_swigregister", CommandEvent_swigregister
, METH_VARARGS
, NULL
}, 
45570          { (char *)"new_NotifyEvent", (PyCFunction
) _wrap_new_NotifyEvent
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45571          { (char *)"NotifyEvent_Veto", (PyCFunction
) _wrap_NotifyEvent_Veto
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45572          { (char *)"NotifyEvent_Allow", (PyCFunction
) _wrap_NotifyEvent_Allow
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45573          { (char *)"NotifyEvent_IsAllowed", (PyCFunction
) _wrap_NotifyEvent_IsAllowed
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45574          { (char *)"NotifyEvent_swigregister", NotifyEvent_swigregister
, METH_VARARGS
, NULL
}, 
45575          { (char *)"new_ScrollEvent", (PyCFunction
) _wrap_new_ScrollEvent
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45576          { (char *)"ScrollEvent_GetOrientation", (PyCFunction
) _wrap_ScrollEvent_GetOrientation
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45577          { (char *)"ScrollEvent_GetPosition", (PyCFunction
) _wrap_ScrollEvent_GetPosition
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45578          { (char *)"ScrollEvent_SetOrientation", (PyCFunction
) _wrap_ScrollEvent_SetOrientation
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45579          { (char *)"ScrollEvent_SetPosition", (PyCFunction
) _wrap_ScrollEvent_SetPosition
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45580          { (char *)"ScrollEvent_swigregister", ScrollEvent_swigregister
, METH_VARARGS
, NULL
}, 
45581          { (char *)"new_ScrollWinEvent", (PyCFunction
) _wrap_new_ScrollWinEvent
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45582          { (char *)"ScrollWinEvent_GetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_GetOrientation
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45583          { (char *)"ScrollWinEvent_GetPosition", (PyCFunction
) _wrap_ScrollWinEvent_GetPosition
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45584          { (char *)"ScrollWinEvent_SetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_SetOrientation
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45585          { (char *)"ScrollWinEvent_SetPosition", (PyCFunction
) _wrap_ScrollWinEvent_SetPosition
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45586          { (char *)"ScrollWinEvent_swigregister", ScrollWinEvent_swigregister
, METH_VARARGS
, NULL
}, 
45587          { (char *)"new_MouseEvent", (PyCFunction
) _wrap_new_MouseEvent
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45588          { (char *)"MouseEvent_IsButton", (PyCFunction
) _wrap_MouseEvent_IsButton
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45589          { (char *)"MouseEvent_ButtonDown", (PyCFunction
) _wrap_MouseEvent_ButtonDown
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45590          { (char *)"MouseEvent_ButtonDClick", (PyCFunction
) _wrap_MouseEvent_ButtonDClick
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45591          { (char *)"MouseEvent_ButtonUp", (PyCFunction
) _wrap_MouseEvent_ButtonUp
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45592          { (char *)"MouseEvent_Button", (PyCFunction
) _wrap_MouseEvent_Button
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45593          { (char *)"MouseEvent_ButtonIsDown", (PyCFunction
) _wrap_MouseEvent_ButtonIsDown
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45594          { (char *)"MouseEvent_GetButton", (PyCFunction
) _wrap_MouseEvent_GetButton
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45595          { (char *)"MouseEvent_ControlDown", (PyCFunction
) _wrap_MouseEvent_ControlDown
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45596          { (char *)"MouseEvent_MetaDown", (PyCFunction
) _wrap_MouseEvent_MetaDown
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45597          { (char *)"MouseEvent_AltDown", (PyCFunction
) _wrap_MouseEvent_AltDown
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45598          { (char *)"MouseEvent_ShiftDown", (PyCFunction
) _wrap_MouseEvent_ShiftDown
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45599          { (char *)"MouseEvent_CmdDown", (PyCFunction
) _wrap_MouseEvent_CmdDown
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45600          { (char *)"MouseEvent_LeftDown", (PyCFunction
) _wrap_MouseEvent_LeftDown
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45601          { (char *)"MouseEvent_MiddleDown", (PyCFunction
) _wrap_MouseEvent_MiddleDown
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45602          { (char *)"MouseEvent_RightDown", (PyCFunction
) _wrap_MouseEvent_RightDown
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45603          { (char *)"MouseEvent_LeftUp", (PyCFunction
) _wrap_MouseEvent_LeftUp
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45604          { (char *)"MouseEvent_MiddleUp", (PyCFunction
) _wrap_MouseEvent_MiddleUp
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45605          { (char *)"MouseEvent_RightUp", (PyCFunction
) _wrap_MouseEvent_RightUp
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45606          { (char *)"MouseEvent_LeftDClick", (PyCFunction
) _wrap_MouseEvent_LeftDClick
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45607          { (char *)"MouseEvent_MiddleDClick", (PyCFunction
) _wrap_MouseEvent_MiddleDClick
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45608          { (char *)"MouseEvent_RightDClick", (PyCFunction
) _wrap_MouseEvent_RightDClick
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45609          { (char *)"MouseEvent_LeftIsDown", (PyCFunction
) _wrap_MouseEvent_LeftIsDown
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45610          { (char *)"MouseEvent_MiddleIsDown", (PyCFunction
) _wrap_MouseEvent_MiddleIsDown
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45611          { (char *)"MouseEvent_RightIsDown", (PyCFunction
) _wrap_MouseEvent_RightIsDown
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45612          { (char *)"MouseEvent_Dragging", (PyCFunction
) _wrap_MouseEvent_Dragging
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45613          { (char *)"MouseEvent_Moving", (PyCFunction
) _wrap_MouseEvent_Moving
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45614          { (char *)"MouseEvent_Entering", (PyCFunction
) _wrap_MouseEvent_Entering
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45615          { (char *)"MouseEvent_Leaving", (PyCFunction
) _wrap_MouseEvent_Leaving
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45616          { (char *)"MouseEvent_GetPosition", (PyCFunction
) _wrap_MouseEvent_GetPosition
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45617          { (char *)"MouseEvent_GetPositionTuple", (PyCFunction
) _wrap_MouseEvent_GetPositionTuple
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45618          { (char *)"MouseEvent_GetLogicalPosition", (PyCFunction
) _wrap_MouseEvent_GetLogicalPosition
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45619          { (char *)"MouseEvent_GetX", (PyCFunction
) _wrap_MouseEvent_GetX
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45620          { (char *)"MouseEvent_GetY", (PyCFunction
) _wrap_MouseEvent_GetY
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45621          { (char *)"MouseEvent_GetWheelRotation", (PyCFunction
) _wrap_MouseEvent_GetWheelRotation
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45622          { (char *)"MouseEvent_GetWheelDelta", (PyCFunction
) _wrap_MouseEvent_GetWheelDelta
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45623          { (char *)"MouseEvent_GetLinesPerAction", (PyCFunction
) _wrap_MouseEvent_GetLinesPerAction
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45624          { (char *)"MouseEvent_IsPageScroll", (PyCFunction
) _wrap_MouseEvent_IsPageScroll
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45625          { (char *)"MouseEvent_m_x_set", (PyCFunction
) _wrap_MouseEvent_m_x_set
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45626          { (char *)"MouseEvent_m_x_get", (PyCFunction
) _wrap_MouseEvent_m_x_get
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45627          { (char *)"MouseEvent_m_y_set", (PyCFunction
) _wrap_MouseEvent_m_y_set
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45628          { (char *)"MouseEvent_m_y_get", (PyCFunction
) _wrap_MouseEvent_m_y_get
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45629          { (char *)"MouseEvent_m_leftDown_set", (PyCFunction
) _wrap_MouseEvent_m_leftDown_set
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45630          { (char *)"MouseEvent_m_leftDown_get", (PyCFunction
) _wrap_MouseEvent_m_leftDown_get
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45631          { (char *)"MouseEvent_m_middleDown_set", (PyCFunction
) _wrap_MouseEvent_m_middleDown_set
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45632          { (char *)"MouseEvent_m_middleDown_get", (PyCFunction
) _wrap_MouseEvent_m_middleDown_get
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45633          { (char *)"MouseEvent_m_rightDown_set", (PyCFunction
) _wrap_MouseEvent_m_rightDown_set
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45634          { (char *)"MouseEvent_m_rightDown_get", (PyCFunction
) _wrap_MouseEvent_m_rightDown_get
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45635          { (char *)"MouseEvent_m_controlDown_set", (PyCFunction
) _wrap_MouseEvent_m_controlDown_set
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45636          { (char *)"MouseEvent_m_controlDown_get", (PyCFunction
) _wrap_MouseEvent_m_controlDown_get
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45637          { (char *)"MouseEvent_m_shiftDown_set", (PyCFunction
) _wrap_MouseEvent_m_shiftDown_set
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45638          { (char *)"MouseEvent_m_shiftDown_get", (PyCFunction
) _wrap_MouseEvent_m_shiftDown_get
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45639          { (char *)"MouseEvent_m_altDown_set", (PyCFunction
) _wrap_MouseEvent_m_altDown_set
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45640          { (char *)"MouseEvent_m_altDown_get", (PyCFunction
) _wrap_MouseEvent_m_altDown_get
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45641          { (char *)"MouseEvent_m_metaDown_set", (PyCFunction
) _wrap_MouseEvent_m_metaDown_set
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45642          { (char *)"MouseEvent_m_metaDown_get", (PyCFunction
) _wrap_MouseEvent_m_metaDown_get
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45643          { (char *)"MouseEvent_m_wheelRotation_set", (PyCFunction
) _wrap_MouseEvent_m_wheelRotation_set
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45644          { (char *)"MouseEvent_m_wheelRotation_get", (PyCFunction
) _wrap_MouseEvent_m_wheelRotation_get
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45645          { (char *)"MouseEvent_m_wheelDelta_set", (PyCFunction
) _wrap_MouseEvent_m_wheelDelta_set
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45646          { (char *)"MouseEvent_m_wheelDelta_get", (PyCFunction
) _wrap_MouseEvent_m_wheelDelta_get
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45647          { (char *)"MouseEvent_m_linesPerAction_set", (PyCFunction
) _wrap_MouseEvent_m_linesPerAction_set
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45648          { (char *)"MouseEvent_m_linesPerAction_get", (PyCFunction
) _wrap_MouseEvent_m_linesPerAction_get
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45649          { (char *)"MouseEvent_swigregister", MouseEvent_swigregister
, METH_VARARGS
, NULL
}, 
45650          { (char *)"new_SetCursorEvent", (PyCFunction
) _wrap_new_SetCursorEvent
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45651          { (char *)"SetCursorEvent_GetX", (PyCFunction
) _wrap_SetCursorEvent_GetX
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45652          { (char *)"SetCursorEvent_GetY", (PyCFunction
) _wrap_SetCursorEvent_GetY
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45653          { (char *)"SetCursorEvent_SetCursor", (PyCFunction
) _wrap_SetCursorEvent_SetCursor
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45654          { (char *)"SetCursorEvent_GetCursor", (PyCFunction
) _wrap_SetCursorEvent_GetCursor
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45655          { (char *)"SetCursorEvent_HasCursor", (PyCFunction
) _wrap_SetCursorEvent_HasCursor
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45656          { (char *)"SetCursorEvent_swigregister", SetCursorEvent_swigregister
, METH_VARARGS
, NULL
}, 
45657          { (char *)"new_KeyEvent", (PyCFunction
) _wrap_new_KeyEvent
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45658          { (char *)"KeyEvent_ControlDown", (PyCFunction
) _wrap_KeyEvent_ControlDown
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45659          { (char *)"KeyEvent_MetaDown", (PyCFunction
) _wrap_KeyEvent_MetaDown
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45660          { (char *)"KeyEvent_AltDown", (PyCFunction
) _wrap_KeyEvent_AltDown
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45661          { (char *)"KeyEvent_ShiftDown", (PyCFunction
) _wrap_KeyEvent_ShiftDown
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45662          { (char *)"KeyEvent_CmdDown", (PyCFunction
) _wrap_KeyEvent_CmdDown
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45663          { (char *)"KeyEvent_HasModifiers", (PyCFunction
) _wrap_KeyEvent_HasModifiers
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45664          { (char *)"KeyEvent_GetKeyCode", (PyCFunction
) _wrap_KeyEvent_GetKeyCode
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45665          { (char *)"KeyEvent_GetUnicodeKey", (PyCFunction
) _wrap_KeyEvent_GetUnicodeKey
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45666          { (char *)"KeyEvent_GetRawKeyCode", (PyCFunction
) _wrap_KeyEvent_GetRawKeyCode
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45667          { (char *)"KeyEvent_GetRawKeyFlags", (PyCFunction
) _wrap_KeyEvent_GetRawKeyFlags
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45668          { (char *)"KeyEvent_GetPosition", (PyCFunction
) _wrap_KeyEvent_GetPosition
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45669          { (char *)"KeyEvent_GetPositionTuple", (PyCFunction
) _wrap_KeyEvent_GetPositionTuple
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45670          { (char *)"KeyEvent_GetX", (PyCFunction
) _wrap_KeyEvent_GetX
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45671          { (char *)"KeyEvent_GetY", (PyCFunction
) _wrap_KeyEvent_GetY
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45672          { (char *)"KeyEvent_m_x_set", (PyCFunction
) _wrap_KeyEvent_m_x_set
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45673          { (char *)"KeyEvent_m_x_get", (PyCFunction
) _wrap_KeyEvent_m_x_get
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45674          { (char *)"KeyEvent_m_y_set", (PyCFunction
) _wrap_KeyEvent_m_y_set
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45675          { (char *)"KeyEvent_m_y_get", (PyCFunction
) _wrap_KeyEvent_m_y_get
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45676          { (char *)"KeyEvent_m_keyCode_set", (PyCFunction
) _wrap_KeyEvent_m_keyCode_set
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45677          { (char *)"KeyEvent_m_keyCode_get", (PyCFunction
) _wrap_KeyEvent_m_keyCode_get
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45678          { (char *)"KeyEvent_m_controlDown_set", (PyCFunction
) _wrap_KeyEvent_m_controlDown_set
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45679          { (char *)"KeyEvent_m_controlDown_get", (PyCFunction
) _wrap_KeyEvent_m_controlDown_get
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45680          { (char *)"KeyEvent_m_shiftDown_set", (PyCFunction
) _wrap_KeyEvent_m_shiftDown_set
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45681          { (char *)"KeyEvent_m_shiftDown_get", (PyCFunction
) _wrap_KeyEvent_m_shiftDown_get
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45682          { (char *)"KeyEvent_m_altDown_set", (PyCFunction
) _wrap_KeyEvent_m_altDown_set
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45683          { (char *)"KeyEvent_m_altDown_get", (PyCFunction
) _wrap_KeyEvent_m_altDown_get
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45684          { (char *)"KeyEvent_m_metaDown_set", (PyCFunction
) _wrap_KeyEvent_m_metaDown_set
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45685          { (char *)"KeyEvent_m_metaDown_get", (PyCFunction
) _wrap_KeyEvent_m_metaDown_get
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45686          { (char *)"KeyEvent_m_scanCode_set", (PyCFunction
) _wrap_KeyEvent_m_scanCode_set
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45687          { (char *)"KeyEvent_m_scanCode_get", (PyCFunction
) _wrap_KeyEvent_m_scanCode_get
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45688          { (char *)"KeyEvent_m_rawCode_set", (PyCFunction
) _wrap_KeyEvent_m_rawCode_set
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45689          { (char *)"KeyEvent_m_rawCode_get", (PyCFunction
) _wrap_KeyEvent_m_rawCode_get
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45690          { (char *)"KeyEvent_m_rawFlags_set", (PyCFunction
) _wrap_KeyEvent_m_rawFlags_set
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45691          { (char *)"KeyEvent_m_rawFlags_get", (PyCFunction
) _wrap_KeyEvent_m_rawFlags_get
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45692          { (char *)"KeyEvent_swigregister", KeyEvent_swigregister
, METH_VARARGS
, NULL
}, 
45693          { (char *)"new_SizeEvent", (PyCFunction
) _wrap_new_SizeEvent
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45694          { (char *)"SizeEvent_GetSize", (PyCFunction
) _wrap_SizeEvent_GetSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45695          { (char *)"SizeEvent_GetRect", (PyCFunction
) _wrap_SizeEvent_GetRect
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45696          { (char *)"SizeEvent_SetRect", (PyCFunction
) _wrap_SizeEvent_SetRect
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45697          { (char *)"SizeEvent_SetSize", (PyCFunction
) _wrap_SizeEvent_SetSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45698          { (char *)"SizeEvent_m_size_set", (PyCFunction
) _wrap_SizeEvent_m_size_set
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45699          { (char *)"SizeEvent_m_size_get", (PyCFunction
) _wrap_SizeEvent_m_size_get
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45700          { (char *)"SizeEvent_m_rect_set", (PyCFunction
) _wrap_SizeEvent_m_rect_set
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45701          { (char *)"SizeEvent_m_rect_get", (PyCFunction
) _wrap_SizeEvent_m_rect_get
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45702          { (char *)"SizeEvent_swigregister", SizeEvent_swigregister
, METH_VARARGS
, NULL
}, 
45703          { (char *)"new_MoveEvent", (PyCFunction
) _wrap_new_MoveEvent
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45704          { (char *)"MoveEvent_GetPosition", (PyCFunction
) _wrap_MoveEvent_GetPosition
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45705          { (char *)"MoveEvent_GetRect", (PyCFunction
) _wrap_MoveEvent_GetRect
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45706          { (char *)"MoveEvent_SetRect", (PyCFunction
) _wrap_MoveEvent_SetRect
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45707          { (char *)"MoveEvent_SetPosition", (PyCFunction
) _wrap_MoveEvent_SetPosition
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45708          { (char *)"MoveEvent_swigregister", MoveEvent_swigregister
, METH_VARARGS
, NULL
}, 
45709          { (char *)"new_PaintEvent", (PyCFunction
) _wrap_new_PaintEvent
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45710          { (char *)"PaintEvent_swigregister", PaintEvent_swigregister
, METH_VARARGS
, NULL
}, 
45711          { (char *)"new_NcPaintEvent", (PyCFunction
) _wrap_new_NcPaintEvent
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45712          { (char *)"NcPaintEvent_swigregister", NcPaintEvent_swigregister
, METH_VARARGS
, NULL
}, 
45713          { (char *)"new_EraseEvent", (PyCFunction
) _wrap_new_EraseEvent
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45714          { (char *)"EraseEvent_GetDC", (PyCFunction
) _wrap_EraseEvent_GetDC
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45715          { (char *)"EraseEvent_swigregister", EraseEvent_swigregister
, METH_VARARGS
, NULL
}, 
45716          { (char *)"new_FocusEvent", (PyCFunction
) _wrap_new_FocusEvent
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45717          { (char *)"FocusEvent_GetWindow", (PyCFunction
) _wrap_FocusEvent_GetWindow
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45718          { (char *)"FocusEvent_SetWindow", (PyCFunction
) _wrap_FocusEvent_SetWindow
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45719          { (char *)"FocusEvent_swigregister", FocusEvent_swigregister
, METH_VARARGS
, NULL
}, 
45720          { (char *)"new_ChildFocusEvent", (PyCFunction
) _wrap_new_ChildFocusEvent
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45721          { (char *)"ChildFocusEvent_GetWindow", (PyCFunction
) _wrap_ChildFocusEvent_GetWindow
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45722          { (char *)"ChildFocusEvent_swigregister", ChildFocusEvent_swigregister
, METH_VARARGS
, NULL
}, 
45723          { (char *)"new_ActivateEvent", (PyCFunction
) _wrap_new_ActivateEvent
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45724          { (char *)"ActivateEvent_GetActive", (PyCFunction
) _wrap_ActivateEvent_GetActive
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45725          { (char *)"ActivateEvent_swigregister", ActivateEvent_swigregister
, METH_VARARGS
, NULL
}, 
45726          { (char *)"new_InitDialogEvent", (PyCFunction
) _wrap_new_InitDialogEvent
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45727          { (char *)"InitDialogEvent_swigregister", InitDialogEvent_swigregister
, METH_VARARGS
, NULL
}, 
45728          { (char *)"new_MenuEvent", (PyCFunction
) _wrap_new_MenuEvent
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45729          { (char *)"MenuEvent_GetMenuId", (PyCFunction
) _wrap_MenuEvent_GetMenuId
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45730          { (char *)"MenuEvent_IsPopup", (PyCFunction
) _wrap_MenuEvent_IsPopup
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45731          { (char *)"MenuEvent_GetMenu", (PyCFunction
) _wrap_MenuEvent_GetMenu
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45732          { (char *)"MenuEvent_swigregister", MenuEvent_swigregister
, METH_VARARGS
, NULL
}, 
45733          { (char *)"new_CloseEvent", (PyCFunction
) _wrap_new_CloseEvent
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45734          { (char *)"CloseEvent_SetLoggingOff", (PyCFunction
) _wrap_CloseEvent_SetLoggingOff
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45735          { (char *)"CloseEvent_GetLoggingOff", (PyCFunction
) _wrap_CloseEvent_GetLoggingOff
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45736          { (char *)"CloseEvent_Veto", (PyCFunction
) _wrap_CloseEvent_Veto
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45737          { (char *)"CloseEvent_SetCanVeto", (PyCFunction
) _wrap_CloseEvent_SetCanVeto
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45738          { (char *)"CloseEvent_CanVeto", (PyCFunction
) _wrap_CloseEvent_CanVeto
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45739          { (char *)"CloseEvent_GetVeto", (PyCFunction
) _wrap_CloseEvent_GetVeto
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45740          { (char *)"CloseEvent_swigregister", CloseEvent_swigregister
, METH_VARARGS
, NULL
}, 
45741          { (char *)"new_ShowEvent", (PyCFunction
) _wrap_new_ShowEvent
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45742          { (char *)"ShowEvent_SetShow", (PyCFunction
) _wrap_ShowEvent_SetShow
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45743          { (char *)"ShowEvent_GetShow", (PyCFunction
) _wrap_ShowEvent_GetShow
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45744          { (char *)"ShowEvent_swigregister", ShowEvent_swigregister
, METH_VARARGS
, NULL
}, 
45745          { (char *)"new_IconizeEvent", (PyCFunction
) _wrap_new_IconizeEvent
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45746          { (char *)"IconizeEvent_Iconized", (PyCFunction
) _wrap_IconizeEvent_Iconized
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45747          { (char *)"IconizeEvent_swigregister", IconizeEvent_swigregister
, METH_VARARGS
, NULL
}, 
45748          { (char *)"new_MaximizeEvent", (PyCFunction
) _wrap_new_MaximizeEvent
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45749          { (char *)"MaximizeEvent_swigregister", MaximizeEvent_swigregister
, METH_VARARGS
, NULL
}, 
45750          { (char *)"DropFilesEvent_GetPosition", (PyCFunction
) _wrap_DropFilesEvent_GetPosition
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45751          { (char *)"DropFilesEvent_GetNumberOfFiles", (PyCFunction
) _wrap_DropFilesEvent_GetNumberOfFiles
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45752          { (char *)"DropFilesEvent_GetFiles", (PyCFunction
) _wrap_DropFilesEvent_GetFiles
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45753          { (char *)"DropFilesEvent_swigregister", DropFilesEvent_swigregister
, METH_VARARGS
, NULL
}, 
45754          { (char *)"new_UpdateUIEvent", (PyCFunction
) _wrap_new_UpdateUIEvent
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45755          { (char *)"UpdateUIEvent_GetChecked", (PyCFunction
) _wrap_UpdateUIEvent_GetChecked
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45756          { (char *)"UpdateUIEvent_GetEnabled", (PyCFunction
) _wrap_UpdateUIEvent_GetEnabled
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45757          { (char *)"UpdateUIEvent_GetText", (PyCFunction
) _wrap_UpdateUIEvent_GetText
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45758          { (char *)"UpdateUIEvent_GetSetText", (PyCFunction
) _wrap_UpdateUIEvent_GetSetText
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45759          { (char *)"UpdateUIEvent_GetSetChecked", (PyCFunction
) _wrap_UpdateUIEvent_GetSetChecked
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45760          { (char *)"UpdateUIEvent_GetSetEnabled", (PyCFunction
) _wrap_UpdateUIEvent_GetSetEnabled
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45761          { (char *)"UpdateUIEvent_Check", (PyCFunction
) _wrap_UpdateUIEvent_Check
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45762          { (char *)"UpdateUIEvent_Enable", (PyCFunction
) _wrap_UpdateUIEvent_Enable
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45763          { (char *)"UpdateUIEvent_SetText", (PyCFunction
) _wrap_UpdateUIEvent_SetText
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45764          { (char *)"UpdateUIEvent_SetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_SetUpdateInterval
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45765          { (char *)"UpdateUIEvent_GetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_GetUpdateInterval
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45766          { (char *)"UpdateUIEvent_CanUpdate", (PyCFunction
) _wrap_UpdateUIEvent_CanUpdate
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45767          { (char *)"UpdateUIEvent_ResetUpdateTime", (PyCFunction
) _wrap_UpdateUIEvent_ResetUpdateTime
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45768          { (char *)"UpdateUIEvent_SetMode", (PyCFunction
) _wrap_UpdateUIEvent_SetMode
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45769          { (char *)"UpdateUIEvent_GetMode", (PyCFunction
) _wrap_UpdateUIEvent_GetMode
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45770          { (char *)"UpdateUIEvent_swigregister", UpdateUIEvent_swigregister
, METH_VARARGS
, NULL
}, 
45771          { (char *)"new_SysColourChangedEvent", (PyCFunction
) _wrap_new_SysColourChangedEvent
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45772          { (char *)"SysColourChangedEvent_swigregister", SysColourChangedEvent_swigregister
, METH_VARARGS
, NULL
}, 
45773          { (char *)"new_MouseCaptureChangedEvent", (PyCFunction
) _wrap_new_MouseCaptureChangedEvent
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45774          { (char *)"MouseCaptureChangedEvent_GetCapturedWindow", (PyCFunction
) _wrap_MouseCaptureChangedEvent_GetCapturedWindow
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45775          { (char *)"MouseCaptureChangedEvent_swigregister", MouseCaptureChangedEvent_swigregister
, METH_VARARGS
, NULL
}, 
45776          { (char *)"new_DisplayChangedEvent", (PyCFunction
) _wrap_new_DisplayChangedEvent
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45777          { (char *)"DisplayChangedEvent_swigregister", DisplayChangedEvent_swigregister
, METH_VARARGS
, NULL
}, 
45778          { (char *)"new_PaletteChangedEvent", (PyCFunction
) _wrap_new_PaletteChangedEvent
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45779          { (char *)"PaletteChangedEvent_SetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_SetChangedWindow
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45780          { (char *)"PaletteChangedEvent_GetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_GetChangedWindow
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45781          { (char *)"PaletteChangedEvent_swigregister", PaletteChangedEvent_swigregister
, METH_VARARGS
, NULL
}, 
45782          { (char *)"new_QueryNewPaletteEvent", (PyCFunction
) _wrap_new_QueryNewPaletteEvent
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45783          { (char *)"QueryNewPaletteEvent_SetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_SetPaletteRealized
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45784          { (char *)"QueryNewPaletteEvent_GetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_GetPaletteRealized
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45785          { (char *)"QueryNewPaletteEvent_swigregister", QueryNewPaletteEvent_swigregister
, METH_VARARGS
, NULL
}, 
45786          { (char *)"new_NavigationKeyEvent", (PyCFunction
) _wrap_new_NavigationKeyEvent
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45787          { (char *)"NavigationKeyEvent_GetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_GetDirection
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45788          { (char *)"NavigationKeyEvent_SetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_SetDirection
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45789          { (char *)"NavigationKeyEvent_IsWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_IsWindowChange
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45790          { (char *)"NavigationKeyEvent_SetWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_SetWindowChange
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45791          { (char *)"NavigationKeyEvent_IsFromTab", (PyCFunction
) _wrap_NavigationKeyEvent_IsFromTab
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45792          { (char *)"NavigationKeyEvent_SetFromTab", (PyCFunction
) _wrap_NavigationKeyEvent_SetFromTab
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45793          { (char *)"NavigationKeyEvent_SetFlags", (PyCFunction
) _wrap_NavigationKeyEvent_SetFlags
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45794          { (char *)"NavigationKeyEvent_GetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_GetCurrentFocus
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45795          { (char *)"NavigationKeyEvent_SetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_SetCurrentFocus
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45796          { (char *)"NavigationKeyEvent_swigregister", NavigationKeyEvent_swigregister
, METH_VARARGS
, NULL
}, 
45797          { (char *)"new_WindowCreateEvent", (PyCFunction
) _wrap_new_WindowCreateEvent
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45798          { (char *)"WindowCreateEvent_GetWindow", (PyCFunction
) _wrap_WindowCreateEvent_GetWindow
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45799          { (char *)"WindowCreateEvent_swigregister", WindowCreateEvent_swigregister
, METH_VARARGS
, NULL
}, 
45800          { (char *)"new_WindowDestroyEvent", (PyCFunction
) _wrap_new_WindowDestroyEvent
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45801          { (char *)"WindowDestroyEvent_GetWindow", (PyCFunction
) _wrap_WindowDestroyEvent_GetWindow
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45802          { (char *)"WindowDestroyEvent_swigregister", WindowDestroyEvent_swigregister
, METH_VARARGS
, NULL
}, 
45803          { (char *)"new_ContextMenuEvent", (PyCFunction
) _wrap_new_ContextMenuEvent
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45804          { (char *)"ContextMenuEvent_GetPosition", (PyCFunction
) _wrap_ContextMenuEvent_GetPosition
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45805          { (char *)"ContextMenuEvent_SetPosition", (PyCFunction
) _wrap_ContextMenuEvent_SetPosition
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45806          { (char *)"ContextMenuEvent_swigregister", ContextMenuEvent_swigregister
, METH_VARARGS
, NULL
}, 
45807          { (char *)"new_IdleEvent", (PyCFunction
) _wrap_new_IdleEvent
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45808          { (char *)"IdleEvent_RequestMore", (PyCFunction
) _wrap_IdleEvent_RequestMore
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45809          { (char *)"IdleEvent_MoreRequested", (PyCFunction
) _wrap_IdleEvent_MoreRequested
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45810          { (char *)"IdleEvent_SetMode", (PyCFunction
) _wrap_IdleEvent_SetMode
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45811          { (char *)"IdleEvent_GetMode", (PyCFunction
) _wrap_IdleEvent_GetMode
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45812          { (char *)"IdleEvent_CanSend", (PyCFunction
) _wrap_IdleEvent_CanSend
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45813          { (char *)"IdleEvent_swigregister", IdleEvent_swigregister
, METH_VARARGS
, NULL
}, 
45814          { (char *)"new_PyEvent", (PyCFunction
) _wrap_new_PyEvent
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45815          { (char *)"delete_PyEvent", (PyCFunction
) _wrap_delete_PyEvent
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45816          { (char *)"PyEvent_SetSelf", (PyCFunction
) _wrap_PyEvent_SetSelf
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45817          { (char *)"PyEvent_GetSelf", (PyCFunction
) _wrap_PyEvent_GetSelf
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45818          { (char *)"PyEvent_swigregister", PyEvent_swigregister
, METH_VARARGS
, NULL
}, 
45819          { (char *)"new_PyCommandEvent", (PyCFunction
) _wrap_new_PyCommandEvent
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45820          { (char *)"delete_PyCommandEvent", (PyCFunction
) _wrap_delete_PyCommandEvent
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45821          { (char *)"PyCommandEvent_SetSelf", (PyCFunction
) _wrap_PyCommandEvent_SetSelf
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45822          { (char *)"PyCommandEvent_GetSelf", (PyCFunction
) _wrap_PyCommandEvent_GetSelf
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45823          { (char *)"PyCommandEvent_swigregister", PyCommandEvent_swigregister
, METH_VARARGS
, NULL
}, 
45824          { (char *)"new_DateEvent", (PyCFunction
) _wrap_new_DateEvent
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45825          { (char *)"DateEvent_GetDate", (PyCFunction
) _wrap_DateEvent_GetDate
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45826          { (char *)"DateEvent_SetDate", (PyCFunction
) _wrap_DateEvent_SetDate
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45827          { (char *)"DateEvent_swigregister", DateEvent_swigregister
, METH_VARARGS
, NULL
}, 
45828          { (char *)"new_PyApp", (PyCFunction
) _wrap_new_PyApp
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45829          { (char *)"delete_PyApp", (PyCFunction
) _wrap_delete_PyApp
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45830          { (char *)"PyApp__setCallbackInfo", (PyCFunction
) _wrap_PyApp__setCallbackInfo
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45831          { (char *)"PyApp_GetAppName", (PyCFunction
) _wrap_PyApp_GetAppName
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45832          { (char *)"PyApp_SetAppName", (PyCFunction
) _wrap_PyApp_SetAppName
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45833          { (char *)"PyApp_GetClassName", (PyCFunction
) _wrap_PyApp_GetClassName
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45834          { (char *)"PyApp_SetClassName", (PyCFunction
) _wrap_PyApp_SetClassName
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45835          { (char *)"PyApp_GetVendorName", (PyCFunction
) _wrap_PyApp_GetVendorName
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45836          { (char *)"PyApp_SetVendorName", (PyCFunction
) _wrap_PyApp_SetVendorName
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45837          { (char *)"PyApp_GetTraits", (PyCFunction
) _wrap_PyApp_GetTraits
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45838          { (char *)"PyApp_ProcessPendingEvents", (PyCFunction
) _wrap_PyApp_ProcessPendingEvents
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45839          { (char *)"PyApp_Yield", (PyCFunction
) _wrap_PyApp_Yield
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45840          { (char *)"PyApp_WakeUpIdle", (PyCFunction
) _wrap_PyApp_WakeUpIdle
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45841          { (char *)"PyApp_IsMainLoopRunning", (PyCFunction
) _wrap_PyApp_IsMainLoopRunning
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45842          { (char *)"PyApp_MainLoop", (PyCFunction
) _wrap_PyApp_MainLoop
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45843          { (char *)"PyApp_Exit", (PyCFunction
) _wrap_PyApp_Exit
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45844          { (char *)"PyApp_ExitMainLoop", (PyCFunction
) _wrap_PyApp_ExitMainLoop
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45845          { (char *)"PyApp_Pending", (PyCFunction
) _wrap_PyApp_Pending
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45846          { (char *)"PyApp_Dispatch", (PyCFunction
) _wrap_PyApp_Dispatch
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45847          { (char *)"PyApp_ProcessIdle", (PyCFunction
) _wrap_PyApp_ProcessIdle
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45848          { (char *)"PyApp_SendIdleEvents", (PyCFunction
) _wrap_PyApp_SendIdleEvents
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45849          { (char *)"PyApp_IsActive", (PyCFunction
) _wrap_PyApp_IsActive
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45850          { (char *)"PyApp_SetTopWindow", (PyCFunction
) _wrap_PyApp_SetTopWindow
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45851          { (char *)"PyApp_GetTopWindow", (PyCFunction
) _wrap_PyApp_GetTopWindow
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45852          { (char *)"PyApp_SetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_SetExitOnFrameDelete
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45853          { (char *)"PyApp_GetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_GetExitOnFrameDelete
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45854          { (char *)"PyApp_SetUseBestVisual", (PyCFunction
) _wrap_PyApp_SetUseBestVisual
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45855          { (char *)"PyApp_GetUseBestVisual", (PyCFunction
) _wrap_PyApp_GetUseBestVisual
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45856          { (char *)"PyApp_SetPrintMode", (PyCFunction
) _wrap_PyApp_SetPrintMode
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45857          { (char *)"PyApp_GetPrintMode", (PyCFunction
) _wrap_PyApp_GetPrintMode
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45858          { (char *)"PyApp_SetAssertMode", (PyCFunction
) _wrap_PyApp_SetAssertMode
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45859          { (char *)"PyApp_GetAssertMode", (PyCFunction
) _wrap_PyApp_GetAssertMode
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45860          { (char *)"PyApp_GetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_GetMacSupportPCMenuShortcuts
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45861          { (char *)"PyApp_GetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacAboutMenuItemId
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45862          { (char *)"PyApp_GetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacPreferencesMenuItemId
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45863          { (char *)"PyApp_GetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacExitMenuItemId
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45864          { (char *)"PyApp_GetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_GetMacHelpMenuTitleName
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45865          { (char *)"PyApp_SetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_SetMacSupportPCMenuShortcuts
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45866          { (char *)"PyApp_SetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacAboutMenuItemId
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45867          { (char *)"PyApp_SetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacPreferencesMenuItemId
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45868          { (char *)"PyApp_SetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacExitMenuItemId
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45869          { (char *)"PyApp_SetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_SetMacHelpMenuTitleName
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45870          { (char *)"PyApp__BootstrapApp", (PyCFunction
) _wrap_PyApp__BootstrapApp
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45871          { (char *)"PyApp_GetComCtl32Version", (PyCFunction
) _wrap_PyApp_GetComCtl32Version
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45872          { (char *)"PyApp_swigregister", PyApp_swigregister
, METH_VARARGS
, NULL
}, 
45873          { (char *)"Exit", (PyCFunction
) _wrap_Exit
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45874          { (char *)"Yield", (PyCFunction
) _wrap_Yield
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45875          { (char *)"YieldIfNeeded", (PyCFunction
) _wrap_YieldIfNeeded
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45876          { (char *)"SafeYield", (PyCFunction
) _wrap_SafeYield
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45877          { (char *)"WakeUpIdle", (PyCFunction
) _wrap_WakeUpIdle
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45878          { (char *)"PostEvent", (PyCFunction
) _wrap_PostEvent
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45879          { (char *)"App_CleanUp", (PyCFunction
) _wrap_App_CleanUp
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45880          { (char *)"GetApp", (PyCFunction
) _wrap_GetApp
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45881          { (char *)"SetDefaultPyEncoding", (PyCFunction
) _wrap_SetDefaultPyEncoding
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45882          { (char *)"GetDefaultPyEncoding", (PyCFunction
) _wrap_GetDefaultPyEncoding
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45883          { (char *)"new_EventLoop", (PyCFunction
) _wrap_new_EventLoop
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45884          { (char *)"delete_EventLoop", (PyCFunction
) _wrap_delete_EventLoop
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45885          { (char *)"EventLoop_Run", (PyCFunction
) _wrap_EventLoop_Run
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45886          { (char *)"EventLoop_Exit", (PyCFunction
) _wrap_EventLoop_Exit
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45887          { (char *)"EventLoop_Pending", (PyCFunction
) _wrap_EventLoop_Pending
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45888          { (char *)"EventLoop_Dispatch", (PyCFunction
) _wrap_EventLoop_Dispatch
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45889          { (char *)"EventLoop_IsRunning", (PyCFunction
) _wrap_EventLoop_IsRunning
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45890          { (char *)"EventLoop_GetActive", (PyCFunction
) _wrap_EventLoop_GetActive
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45891          { (char *)"EventLoop_SetActive", (PyCFunction
) _wrap_EventLoop_SetActive
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45892          { (char *)"EventLoop_swigregister", EventLoop_swigregister
, METH_VARARGS
, NULL
}, 
45893          { (char *)"new_AcceleratorEntry", (PyCFunction
) _wrap_new_AcceleratorEntry
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45894          { (char *)"delete_AcceleratorEntry", (PyCFunction
) _wrap_delete_AcceleratorEntry
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45895          { (char *)"AcceleratorEntry_Set", (PyCFunction
) _wrap_AcceleratorEntry_Set
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45896          { (char *)"AcceleratorEntry_GetFlags", (PyCFunction
) _wrap_AcceleratorEntry_GetFlags
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45897          { (char *)"AcceleratorEntry_GetKeyCode", (PyCFunction
) _wrap_AcceleratorEntry_GetKeyCode
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45898          { (char *)"AcceleratorEntry_GetCommand", (PyCFunction
) _wrap_AcceleratorEntry_GetCommand
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45899          { (char *)"AcceleratorEntry_swigregister", AcceleratorEntry_swigregister
, METH_VARARGS
, NULL
}, 
45900          { (char *)"new_AcceleratorTable", (PyCFunction
) _wrap_new_AcceleratorTable
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45901          { (char *)"delete_AcceleratorTable", (PyCFunction
) _wrap_delete_AcceleratorTable
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45902          { (char *)"AcceleratorTable_Ok", (PyCFunction
) _wrap_AcceleratorTable_Ok
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45903          { (char *)"AcceleratorTable_swigregister", AcceleratorTable_swigregister
, METH_VARARGS
, NULL
}, 
45904          { (char *)"GetAccelFromString", (PyCFunction
) _wrap_GetAccelFromString
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45905          { (char *)"new_VisualAttributes", (PyCFunction
) _wrap_new_VisualAttributes
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45906          { (char *)"delete_VisualAttributes", (PyCFunction
) _wrap_delete_VisualAttributes
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45907          { (char *)"VisualAttributes_font_set", (PyCFunction
) _wrap_VisualAttributes_font_set
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45908          { (char *)"VisualAttributes_font_get", (PyCFunction
) _wrap_VisualAttributes_font_get
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45909          { (char *)"VisualAttributes_colFg_set", (PyCFunction
) _wrap_VisualAttributes_colFg_set
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45910          { (char *)"VisualAttributes_colFg_get", (PyCFunction
) _wrap_VisualAttributes_colFg_get
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45911          { (char *)"VisualAttributes_colBg_set", (PyCFunction
) _wrap_VisualAttributes_colBg_set
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45912          { (char *)"VisualAttributes_colBg_get", (PyCFunction
) _wrap_VisualAttributes_colBg_get
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45913          { (char *)"VisualAttributes_swigregister", VisualAttributes_swigregister
, METH_VARARGS
, NULL
}, 
45914          { (char *)"new_Window", (PyCFunction
) _wrap_new_Window
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45915          { (char *)"new_PreWindow", (PyCFunction
) _wrap_new_PreWindow
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45916          { (char *)"Window_Create", (PyCFunction
) _wrap_Window_Create
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45917          { (char *)"Window_Close", (PyCFunction
) _wrap_Window_Close
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45918          { (char *)"Window_Destroy", (PyCFunction
) _wrap_Window_Destroy
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45919          { (char *)"Window_DestroyChildren", (PyCFunction
) _wrap_Window_DestroyChildren
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45920          { (char *)"Window_IsBeingDeleted", (PyCFunction
) _wrap_Window_IsBeingDeleted
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45921          { (char *)"Window_SetTitle", (PyCFunction
) _wrap_Window_SetTitle
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45922          { (char *)"Window_GetTitle", (PyCFunction
) _wrap_Window_GetTitle
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45923          { (char *)"Window_SetLabel", (PyCFunction
) _wrap_Window_SetLabel
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45924          { (char *)"Window_GetLabel", (PyCFunction
) _wrap_Window_GetLabel
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45925          { (char *)"Window_SetName", (PyCFunction
) _wrap_Window_SetName
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45926          { (char *)"Window_GetName", (PyCFunction
) _wrap_Window_GetName
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45927          { (char *)"Window_SetWindowVariant", (PyCFunction
) _wrap_Window_SetWindowVariant
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45928          { (char *)"Window_GetWindowVariant", (PyCFunction
) _wrap_Window_GetWindowVariant
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45929          { (char *)"Window_SetId", (PyCFunction
) _wrap_Window_SetId
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45930          { (char *)"Window_GetId", (PyCFunction
) _wrap_Window_GetId
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45931          { (char *)"Window_NewControlId", (PyCFunction
) _wrap_Window_NewControlId
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45932          { (char *)"Window_NextControlId", (PyCFunction
) _wrap_Window_NextControlId
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45933          { (char *)"Window_PrevControlId", (PyCFunction
) _wrap_Window_PrevControlId
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45934          { (char *)"Window_SetSize", (PyCFunction
) _wrap_Window_SetSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45935          { (char *)"Window_SetDimensions", (PyCFunction
) _wrap_Window_SetDimensions
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45936          { (char *)"Window_SetRect", (PyCFunction
) _wrap_Window_SetRect
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45937          { (char *)"Window_SetSizeWH", (PyCFunction
) _wrap_Window_SetSizeWH
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45938          { (char *)"Window_Move", (PyCFunction
) _wrap_Window_Move
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45939          { (char *)"Window_MoveXY", (PyCFunction
) _wrap_Window_MoveXY
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45940          { (char *)"Window_SetBestFittingSize", (PyCFunction
) _wrap_Window_SetBestFittingSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45941          { (char *)"Window_Raise", (PyCFunction
) _wrap_Window_Raise
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45942          { (char *)"Window_Lower", (PyCFunction
) _wrap_Window_Lower
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45943          { (char *)"Window_SetClientSize", (PyCFunction
) _wrap_Window_SetClientSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45944          { (char *)"Window_SetClientSizeWH", (PyCFunction
) _wrap_Window_SetClientSizeWH
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45945          { (char *)"Window_SetClientRect", (PyCFunction
) _wrap_Window_SetClientRect
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45946          { (char *)"Window_GetPosition", (PyCFunction
) _wrap_Window_GetPosition
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45947          { (char *)"Window_GetPositionTuple", (PyCFunction
) _wrap_Window_GetPositionTuple
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45948          { (char *)"Window_GetSize", (PyCFunction
) _wrap_Window_GetSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45949          { (char *)"Window_GetSizeTuple", (PyCFunction
) _wrap_Window_GetSizeTuple
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45950          { (char *)"Window_GetRect", (PyCFunction
) _wrap_Window_GetRect
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45951          { (char *)"Window_GetClientSize", (PyCFunction
) _wrap_Window_GetClientSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45952          { (char *)"Window_GetClientSizeTuple", (PyCFunction
) _wrap_Window_GetClientSizeTuple
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45953          { (char *)"Window_GetClientAreaOrigin", (PyCFunction
) _wrap_Window_GetClientAreaOrigin
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45954          { (char *)"Window_GetClientRect", (PyCFunction
) _wrap_Window_GetClientRect
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45955          { (char *)"Window_GetBestSize", (PyCFunction
) _wrap_Window_GetBestSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45956          { (char *)"Window_GetBestSizeTuple", (PyCFunction
) _wrap_Window_GetBestSizeTuple
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45957          { (char *)"Window_InvalidateBestSize", (PyCFunction
) _wrap_Window_InvalidateBestSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45958          { (char *)"Window_GetBestFittingSize", (PyCFunction
) _wrap_Window_GetBestFittingSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45959          { (char *)"Window_GetAdjustedBestSize", (PyCFunction
) _wrap_Window_GetAdjustedBestSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45960          { (char *)"Window_Center", (PyCFunction
) _wrap_Window_Center
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45961          { (char *)"Window_CenterOnScreen", (PyCFunction
) _wrap_Window_CenterOnScreen
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45962          { (char *)"Window_CenterOnParent", (PyCFunction
) _wrap_Window_CenterOnParent
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45963          { (char *)"Window_Fit", (PyCFunction
) _wrap_Window_Fit
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45964          { (char *)"Window_FitInside", (PyCFunction
) _wrap_Window_FitInside
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45965          { (char *)"Window_SetSizeHints", (PyCFunction
) _wrap_Window_SetSizeHints
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45966          { (char *)"Window_SetSizeHintsSz", (PyCFunction
) _wrap_Window_SetSizeHintsSz
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45967          { (char *)"Window_SetVirtualSizeHints", (PyCFunction
) _wrap_Window_SetVirtualSizeHints
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45968          { (char *)"Window_SetVirtualSizeHintsSz", (PyCFunction
) _wrap_Window_SetVirtualSizeHintsSz
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45969          { (char *)"Window_GetMaxSize", (PyCFunction
) _wrap_Window_GetMaxSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45970          { (char *)"Window_GetMinSize", (PyCFunction
) _wrap_Window_GetMinSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45971          { (char *)"Window_SetMinSize", (PyCFunction
) _wrap_Window_SetMinSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45972          { (char *)"Window_SetMaxSize", (PyCFunction
) _wrap_Window_SetMaxSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45973          { (char *)"Window_GetMinWidth", (PyCFunction
) _wrap_Window_GetMinWidth
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45974          { (char *)"Window_GetMinHeight", (PyCFunction
) _wrap_Window_GetMinHeight
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45975          { (char *)"Window_GetMaxWidth", (PyCFunction
) _wrap_Window_GetMaxWidth
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45976          { (char *)"Window_GetMaxHeight", (PyCFunction
) _wrap_Window_GetMaxHeight
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45977          { (char *)"Window_SetVirtualSize", (PyCFunction
) _wrap_Window_SetVirtualSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45978          { (char *)"Window_SetVirtualSizeWH", (PyCFunction
) _wrap_Window_SetVirtualSizeWH
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45979          { (char *)"Window_GetVirtualSize", (PyCFunction
) _wrap_Window_GetVirtualSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45980          { (char *)"Window_GetVirtualSizeTuple", (PyCFunction
) _wrap_Window_GetVirtualSizeTuple
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45981          { (char *)"Window_GetBestVirtualSize", (PyCFunction
) _wrap_Window_GetBestVirtualSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45982          { (char *)"Window_Show", (PyCFunction
) _wrap_Window_Show
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45983          { (char *)"Window_Hide", (PyCFunction
) _wrap_Window_Hide
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45984          { (char *)"Window_Enable", (PyCFunction
) _wrap_Window_Enable
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45985          { (char *)"Window_Disable", (PyCFunction
) _wrap_Window_Disable
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45986          { (char *)"Window_IsShown", (PyCFunction
) _wrap_Window_IsShown
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45987          { (char *)"Window_IsEnabled", (PyCFunction
) _wrap_Window_IsEnabled
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45988          { (char *)"Window_SetWindowStyleFlag", (PyCFunction
) _wrap_Window_SetWindowStyleFlag
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45989          { (char *)"Window_GetWindowStyleFlag", (PyCFunction
) _wrap_Window_GetWindowStyleFlag
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45990          { (char *)"Window_HasFlag", (PyCFunction
) _wrap_Window_HasFlag
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45991          { (char *)"Window_IsRetained", (PyCFunction
) _wrap_Window_IsRetained
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45992          { (char *)"Window_SetExtraStyle", (PyCFunction
) _wrap_Window_SetExtraStyle
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45993          { (char *)"Window_GetExtraStyle", (PyCFunction
) _wrap_Window_GetExtraStyle
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45994          { (char *)"Window_MakeModal", (PyCFunction
) _wrap_Window_MakeModal
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45995          { (char *)"Window_SetThemeEnabled", (PyCFunction
) _wrap_Window_SetThemeEnabled
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45996          { (char *)"Window_GetThemeEnabled", (PyCFunction
) _wrap_Window_GetThemeEnabled
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45997          { (char *)"Window_SetFocus", (PyCFunction
) _wrap_Window_SetFocus
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45998          { (char *)"Window_SetFocusFromKbd", (PyCFunction
) _wrap_Window_SetFocusFromKbd
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
45999          { (char *)"Window_FindFocus", (PyCFunction
) _wrap_Window_FindFocus
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46000          { (char *)"Window_AcceptsFocus", (PyCFunction
) _wrap_Window_AcceptsFocus
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46001          { (char *)"Window_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_Window_AcceptsFocusFromKeyboard
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46002          { (char *)"Window_GetDefaultItem", (PyCFunction
) _wrap_Window_GetDefaultItem
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46003          { (char *)"Window_SetDefaultItem", (PyCFunction
) _wrap_Window_SetDefaultItem
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46004          { (char *)"Window_SetTmpDefaultItem", (PyCFunction
) _wrap_Window_SetTmpDefaultItem
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46005          { (char *)"Window_Navigate", (PyCFunction
) _wrap_Window_Navigate
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46006          { (char *)"Window_MoveAfterInTabOrder", (PyCFunction
) _wrap_Window_MoveAfterInTabOrder
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46007          { (char *)"Window_MoveBeforeInTabOrder", (PyCFunction
) _wrap_Window_MoveBeforeInTabOrder
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46008          { (char *)"Window_GetChildren", (PyCFunction
) _wrap_Window_GetChildren
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46009          { (char *)"Window_GetParent", (PyCFunction
) _wrap_Window_GetParent
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46010          { (char *)"Window_GetGrandParent", (PyCFunction
) _wrap_Window_GetGrandParent
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46011          { (char *)"Window_IsTopLevel", (PyCFunction
) _wrap_Window_IsTopLevel
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46012          { (char *)"Window_Reparent", (PyCFunction
) _wrap_Window_Reparent
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46013          { (char *)"Window_AddChild", (PyCFunction
) _wrap_Window_AddChild
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46014          { (char *)"Window_RemoveChild", (PyCFunction
) _wrap_Window_RemoveChild
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46015          { (char *)"Window_FindWindowById", (PyCFunction
) _wrap_Window_FindWindowById
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46016          { (char *)"Window_FindWindowByName", (PyCFunction
) _wrap_Window_FindWindowByName
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46017          { (char *)"Window_GetEventHandler", (PyCFunction
) _wrap_Window_GetEventHandler
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46018          { (char *)"Window_SetEventHandler", (PyCFunction
) _wrap_Window_SetEventHandler
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46019          { (char *)"Window_PushEventHandler", (PyCFunction
) _wrap_Window_PushEventHandler
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46020          { (char *)"Window_PopEventHandler", (PyCFunction
) _wrap_Window_PopEventHandler
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46021          { (char *)"Window_RemoveEventHandler", (PyCFunction
) _wrap_Window_RemoveEventHandler
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46022          { (char *)"Window_SetValidator", (PyCFunction
) _wrap_Window_SetValidator
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46023          { (char *)"Window_GetValidator", (PyCFunction
) _wrap_Window_GetValidator
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46024          { (char *)"Window_Validate", (PyCFunction
) _wrap_Window_Validate
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46025          { (char *)"Window_TransferDataToWindow", (PyCFunction
) _wrap_Window_TransferDataToWindow
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46026          { (char *)"Window_TransferDataFromWindow", (PyCFunction
) _wrap_Window_TransferDataFromWindow
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46027          { (char *)"Window_InitDialog", (PyCFunction
) _wrap_Window_InitDialog
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46028          { (char *)"Window_SetAcceleratorTable", (PyCFunction
) _wrap_Window_SetAcceleratorTable
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46029          { (char *)"Window_GetAcceleratorTable", (PyCFunction
) _wrap_Window_GetAcceleratorTable
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46030          { (char *)"Window_RegisterHotKey", (PyCFunction
) _wrap_Window_RegisterHotKey
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46031          { (char *)"Window_UnregisterHotKey", (PyCFunction
) _wrap_Window_UnregisterHotKey
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46032          { (char *)"Window_ConvertDialogPointToPixels", (PyCFunction
) _wrap_Window_ConvertDialogPointToPixels
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46033          { (char *)"Window_ConvertDialogSizeToPixels", (PyCFunction
) _wrap_Window_ConvertDialogSizeToPixels
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46034          { (char *)"Window_DLG_PNT", (PyCFunction
) _wrap_Window_DLG_PNT
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46035          { (char *)"Window_DLG_SZE", (PyCFunction
) _wrap_Window_DLG_SZE
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46036          { (char *)"Window_ConvertPixelPointToDialog", (PyCFunction
) _wrap_Window_ConvertPixelPointToDialog
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46037          { (char *)"Window_ConvertPixelSizeToDialog", (PyCFunction
) _wrap_Window_ConvertPixelSizeToDialog
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46038          { (char *)"Window_WarpPointer", (PyCFunction
) _wrap_Window_WarpPointer
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46039          { (char *)"Window_CaptureMouse", (PyCFunction
) _wrap_Window_CaptureMouse
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46040          { (char *)"Window_ReleaseMouse", (PyCFunction
) _wrap_Window_ReleaseMouse
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46041          { (char *)"Window_GetCapture", (PyCFunction
) _wrap_Window_GetCapture
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46042          { (char *)"Window_HasCapture", (PyCFunction
) _wrap_Window_HasCapture
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46043          { (char *)"Window_Refresh", (PyCFunction
) _wrap_Window_Refresh
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46044          { (char *)"Window_RefreshRect", (PyCFunction
) _wrap_Window_RefreshRect
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46045          { (char *)"Window_Update", (PyCFunction
) _wrap_Window_Update
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46046          { (char *)"Window_ClearBackground", (PyCFunction
) _wrap_Window_ClearBackground
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46047          { (char *)"Window_Freeze", (PyCFunction
) _wrap_Window_Freeze
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46048          { (char *)"Window_Thaw", (PyCFunction
) _wrap_Window_Thaw
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46049          { (char *)"Window_PrepareDC", (PyCFunction
) _wrap_Window_PrepareDC
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46050          { (char *)"Window_GetUpdateRegion", (PyCFunction
) _wrap_Window_GetUpdateRegion
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46051          { (char *)"Window_GetUpdateClientRect", (PyCFunction
) _wrap_Window_GetUpdateClientRect
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46052          { (char *)"Window_IsExposed", (PyCFunction
) _wrap_Window_IsExposed
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46053          { (char *)"Window_IsExposedPoint", (PyCFunction
) _wrap_Window_IsExposedPoint
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46054          { (char *)"Window_IsExposedRect", (PyCFunction
) _wrap_Window_IsExposedRect
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46055          { (char *)"Window_GetDefaultAttributes", (PyCFunction
) _wrap_Window_GetDefaultAttributes
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46056          { (char *)"Window_GetClassDefaultAttributes", (PyCFunction
) _wrap_Window_GetClassDefaultAttributes
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46057          { (char *)"Window_SetBackgroundColour", (PyCFunction
) _wrap_Window_SetBackgroundColour
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46058          { (char *)"Window_SetOwnBackgroundColour", (PyCFunction
) _wrap_Window_SetOwnBackgroundColour
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46059          { (char *)"Window_SetForegroundColour", (PyCFunction
) _wrap_Window_SetForegroundColour
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46060          { (char *)"Window_SetOwnForegroundColour", (PyCFunction
) _wrap_Window_SetOwnForegroundColour
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46061          { (char *)"Window_GetBackgroundColour", (PyCFunction
) _wrap_Window_GetBackgroundColour
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46062          { (char *)"Window_GetForegroundColour", (PyCFunction
) _wrap_Window_GetForegroundColour
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46063          { (char *)"Window_InheritsBackgroundColour", (PyCFunction
) _wrap_Window_InheritsBackgroundColour
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46064          { (char *)"Window_UseBgCol", (PyCFunction
) _wrap_Window_UseBgCol
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46065          { (char *)"Window_SetBackgroundStyle", (PyCFunction
) _wrap_Window_SetBackgroundStyle
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46066          { (char *)"Window_GetBackgroundStyle", (PyCFunction
) _wrap_Window_GetBackgroundStyle
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46067          { (char *)"Window_HasTransparentBackground", (PyCFunction
) _wrap_Window_HasTransparentBackground
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46068          { (char *)"Window_SetCursor", (PyCFunction
) _wrap_Window_SetCursor
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46069          { (char *)"Window_GetCursor", (PyCFunction
) _wrap_Window_GetCursor
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46070          { (char *)"Window_SetFont", (PyCFunction
) _wrap_Window_SetFont
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46071          { (char *)"Window_SetOwnFont", (PyCFunction
) _wrap_Window_SetOwnFont
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46072          { (char *)"Window_GetFont", (PyCFunction
) _wrap_Window_GetFont
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46073          { (char *)"Window_SetCaret", (PyCFunction
) _wrap_Window_SetCaret
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46074          { (char *)"Window_GetCaret", (PyCFunction
) _wrap_Window_GetCaret
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46075          { (char *)"Window_GetCharHeight", (PyCFunction
) _wrap_Window_GetCharHeight
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46076          { (char *)"Window_GetCharWidth", (PyCFunction
) _wrap_Window_GetCharWidth
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46077          { (char *)"Window_GetTextExtent", (PyCFunction
) _wrap_Window_GetTextExtent
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46078          { (char *)"Window_GetFullTextExtent", (PyCFunction
) _wrap_Window_GetFullTextExtent
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46079          { (char *)"Window_ClientToScreenXY", (PyCFunction
) _wrap_Window_ClientToScreenXY
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46080          { (char *)"Window_ScreenToClientXY", (PyCFunction
) _wrap_Window_ScreenToClientXY
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46081          { (char *)"Window_ClientToScreen", (PyCFunction
) _wrap_Window_ClientToScreen
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46082          { (char *)"Window_ScreenToClient", (PyCFunction
) _wrap_Window_ScreenToClient
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46083          { (char *)"Window_HitTestXY", (PyCFunction
) _wrap_Window_HitTestXY
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46084          { (char *)"Window_HitTest", (PyCFunction
) _wrap_Window_HitTest
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46085          { (char *)"Window_GetBorder", _wrap_Window_GetBorder
, METH_VARARGS
, NULL
}, 
46086          { (char *)"Window_UpdateWindowUI", (PyCFunction
) _wrap_Window_UpdateWindowUI
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46087          { (char *)"Window_PopupMenuXY", (PyCFunction
) _wrap_Window_PopupMenuXY
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46088          { (char *)"Window_PopupMenu", (PyCFunction
) _wrap_Window_PopupMenu
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46089          { (char *)"Window_GetHandle", (PyCFunction
) _wrap_Window_GetHandle
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46090          { (char *)"Window_AssociateHandle", (PyCFunction
) _wrap_Window_AssociateHandle
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46091          { (char *)"Window_DissociateHandle", (PyCFunction
) _wrap_Window_DissociateHandle
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46092          { (char *)"Window_HasScrollbar", (PyCFunction
) _wrap_Window_HasScrollbar
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46093          { (char *)"Window_SetScrollbar", (PyCFunction
) _wrap_Window_SetScrollbar
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46094          { (char *)"Window_SetScrollPos", (PyCFunction
) _wrap_Window_SetScrollPos
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46095          { (char *)"Window_GetScrollPos", (PyCFunction
) _wrap_Window_GetScrollPos
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46096          { (char *)"Window_GetScrollThumb", (PyCFunction
) _wrap_Window_GetScrollThumb
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46097          { (char *)"Window_GetScrollRange", (PyCFunction
) _wrap_Window_GetScrollRange
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46098          { (char *)"Window_ScrollWindow", (PyCFunction
) _wrap_Window_ScrollWindow
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46099          { (char *)"Window_ScrollLines", (PyCFunction
) _wrap_Window_ScrollLines
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46100          { (char *)"Window_ScrollPages", (PyCFunction
) _wrap_Window_ScrollPages
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46101          { (char *)"Window_LineUp", (PyCFunction
) _wrap_Window_LineUp
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46102          { (char *)"Window_LineDown", (PyCFunction
) _wrap_Window_LineDown
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46103          { (char *)"Window_PageUp", (PyCFunction
) _wrap_Window_PageUp
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46104          { (char *)"Window_PageDown", (PyCFunction
) _wrap_Window_PageDown
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46105          { (char *)"Window_SetHelpText", (PyCFunction
) _wrap_Window_SetHelpText
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46106          { (char *)"Window_SetHelpTextForId", (PyCFunction
) _wrap_Window_SetHelpTextForId
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46107          { (char *)"Window_GetHelpText", (PyCFunction
) _wrap_Window_GetHelpText
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46108          { (char *)"Window_SetToolTipString", (PyCFunction
) _wrap_Window_SetToolTipString
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46109          { (char *)"Window_SetToolTip", (PyCFunction
) _wrap_Window_SetToolTip
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46110          { (char *)"Window_GetToolTip", (PyCFunction
) _wrap_Window_GetToolTip
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46111          { (char *)"Window_SetDropTarget", (PyCFunction
) _wrap_Window_SetDropTarget
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46112          { (char *)"Window_GetDropTarget", (PyCFunction
) _wrap_Window_GetDropTarget
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46113          { (char *)"Window_SetConstraints", (PyCFunction
) _wrap_Window_SetConstraints
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46114          { (char *)"Window_GetConstraints", (PyCFunction
) _wrap_Window_GetConstraints
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46115          { (char *)"Window_SetAutoLayout", (PyCFunction
) _wrap_Window_SetAutoLayout
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46116          { (char *)"Window_GetAutoLayout", (PyCFunction
) _wrap_Window_GetAutoLayout
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46117          { (char *)"Window_Layout", (PyCFunction
) _wrap_Window_Layout
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46118          { (char *)"Window_SetSizer", (PyCFunction
) _wrap_Window_SetSizer
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46119          { (char *)"Window_SetSizerAndFit", (PyCFunction
) _wrap_Window_SetSizerAndFit
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46120          { (char *)"Window_GetSizer", (PyCFunction
) _wrap_Window_GetSizer
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46121          { (char *)"Window_SetContainingSizer", (PyCFunction
) _wrap_Window_SetContainingSizer
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46122          { (char *)"Window_GetContainingSizer", (PyCFunction
) _wrap_Window_GetContainingSizer
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46123          { (char *)"Window_InheritAttributes", (PyCFunction
) _wrap_Window_InheritAttributes
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46124          { (char *)"Window_ShouldInheritColours", (PyCFunction
) _wrap_Window_ShouldInheritColours
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46125          { (char *)"Window_swigregister", Window_swigregister
, METH_VARARGS
, NULL
}, 
46126          { (char *)"FindWindowById", (PyCFunction
) _wrap_FindWindowById
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46127          { (char *)"FindWindowByName", (PyCFunction
) _wrap_FindWindowByName
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46128          { (char *)"FindWindowByLabel", (PyCFunction
) _wrap_FindWindowByLabel
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46129          { (char *)"Window_FromHWND", (PyCFunction
) _wrap_Window_FromHWND
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46130          { (char *)"new_Validator", (PyCFunction
) _wrap_new_Validator
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46131          { (char *)"Validator_Clone", (PyCFunction
) _wrap_Validator_Clone
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46132          { (char *)"Validator_Validate", (PyCFunction
) _wrap_Validator_Validate
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46133          { (char *)"Validator_TransferToWindow", (PyCFunction
) _wrap_Validator_TransferToWindow
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46134          { (char *)"Validator_TransferFromWindow", (PyCFunction
) _wrap_Validator_TransferFromWindow
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46135          { (char *)"Validator_GetWindow", (PyCFunction
) _wrap_Validator_GetWindow
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46136          { (char *)"Validator_SetWindow", (PyCFunction
) _wrap_Validator_SetWindow
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46137          { (char *)"Validator_IsSilent", (PyCFunction
) _wrap_Validator_IsSilent
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46138          { (char *)"Validator_SetBellOnError", (PyCFunction
) _wrap_Validator_SetBellOnError
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46139          { (char *)"Validator_swigregister", Validator_swigregister
, METH_VARARGS
, NULL
}, 
46140          { (char *)"new_PyValidator", (PyCFunction
) _wrap_new_PyValidator
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46141          { (char *)"PyValidator__setCallbackInfo", (PyCFunction
) _wrap_PyValidator__setCallbackInfo
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46142          { (char *)"PyValidator_swigregister", PyValidator_swigregister
, METH_VARARGS
, NULL
}, 
46143          { (char *)"new_Menu", (PyCFunction
) _wrap_new_Menu
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46144          { (char *)"Menu_Append", (PyCFunction
) _wrap_Menu_Append
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46145          { (char *)"Menu_AppendSeparator", (PyCFunction
) _wrap_Menu_AppendSeparator
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46146          { (char *)"Menu_AppendCheckItem", (PyCFunction
) _wrap_Menu_AppendCheckItem
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46147          { (char *)"Menu_AppendRadioItem", (PyCFunction
) _wrap_Menu_AppendRadioItem
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46148          { (char *)"Menu_AppendMenu", (PyCFunction
) _wrap_Menu_AppendMenu
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46149          { (char *)"Menu_AppendItem", (PyCFunction
) _wrap_Menu_AppendItem
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46150          { (char *)"Menu_Break", (PyCFunction
) _wrap_Menu_Break
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46151          { (char *)"Menu_InsertItem", (PyCFunction
) _wrap_Menu_InsertItem
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46152          { (char *)"Menu_Insert", (PyCFunction
) _wrap_Menu_Insert
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46153          { (char *)"Menu_InsertSeparator", (PyCFunction
) _wrap_Menu_InsertSeparator
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46154          { (char *)"Menu_InsertCheckItem", (PyCFunction
) _wrap_Menu_InsertCheckItem
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46155          { (char *)"Menu_InsertRadioItem", (PyCFunction
) _wrap_Menu_InsertRadioItem
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46156          { (char *)"Menu_InsertMenu", (PyCFunction
) _wrap_Menu_InsertMenu
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46157          { (char *)"Menu_PrependItem", (PyCFunction
) _wrap_Menu_PrependItem
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46158          { (char *)"Menu_Prepend", (PyCFunction
) _wrap_Menu_Prepend
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46159          { (char *)"Menu_PrependSeparator", (PyCFunction
) _wrap_Menu_PrependSeparator
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46160          { (char *)"Menu_PrependCheckItem", (PyCFunction
) _wrap_Menu_PrependCheckItem
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46161          { (char *)"Menu_PrependRadioItem", (PyCFunction
) _wrap_Menu_PrependRadioItem
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46162          { (char *)"Menu_PrependMenu", (PyCFunction
) _wrap_Menu_PrependMenu
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46163          { (char *)"Menu_Remove", (PyCFunction
) _wrap_Menu_Remove
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46164          { (char *)"Menu_RemoveItem", (PyCFunction
) _wrap_Menu_RemoveItem
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46165          { (char *)"Menu_Delete", (PyCFunction
) _wrap_Menu_Delete
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46166          { (char *)"Menu_DeleteItem", (PyCFunction
) _wrap_Menu_DeleteItem
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46167          { (char *)"Menu_Destroy", (PyCFunction
) _wrap_Menu_Destroy
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46168          { (char *)"Menu_DestroyId", (PyCFunction
) _wrap_Menu_DestroyId
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46169          { (char *)"Menu_DestroyItem", (PyCFunction
) _wrap_Menu_DestroyItem
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46170          { (char *)"Menu_GetMenuItemCount", (PyCFunction
) _wrap_Menu_GetMenuItemCount
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46171          { (char *)"Menu_GetMenuItems", (PyCFunction
) _wrap_Menu_GetMenuItems
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46172          { (char *)"Menu_FindItem", (PyCFunction
) _wrap_Menu_FindItem
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46173          { (char *)"Menu_FindItemById", (PyCFunction
) _wrap_Menu_FindItemById
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46174          { (char *)"Menu_FindItemByPosition", (PyCFunction
) _wrap_Menu_FindItemByPosition
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46175          { (char *)"Menu_Enable", (PyCFunction
) _wrap_Menu_Enable
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46176          { (char *)"Menu_IsEnabled", (PyCFunction
) _wrap_Menu_IsEnabled
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46177          { (char *)"Menu_Check", (PyCFunction
) _wrap_Menu_Check
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46178          { (char *)"Menu_IsChecked", (PyCFunction
) _wrap_Menu_IsChecked
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46179          { (char *)"Menu_SetLabel", (PyCFunction
) _wrap_Menu_SetLabel
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46180          { (char *)"Menu_GetLabel", (PyCFunction
) _wrap_Menu_GetLabel
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46181          { (char *)"Menu_SetHelpString", (PyCFunction
) _wrap_Menu_SetHelpString
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46182          { (char *)"Menu_GetHelpString", (PyCFunction
) _wrap_Menu_GetHelpString
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46183          { (char *)"Menu_SetTitle", (PyCFunction
) _wrap_Menu_SetTitle
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46184          { (char *)"Menu_GetTitle", (PyCFunction
) _wrap_Menu_GetTitle
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46185          { (char *)"Menu_SetEventHandler", (PyCFunction
) _wrap_Menu_SetEventHandler
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46186          { (char *)"Menu_GetEventHandler", (PyCFunction
) _wrap_Menu_GetEventHandler
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46187          { (char *)"Menu_SetInvokingWindow", (PyCFunction
) _wrap_Menu_SetInvokingWindow
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46188          { (char *)"Menu_GetInvokingWindow", (PyCFunction
) _wrap_Menu_GetInvokingWindow
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46189          { (char *)"Menu_GetStyle", (PyCFunction
) _wrap_Menu_GetStyle
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46190          { (char *)"Menu_UpdateUI", (PyCFunction
) _wrap_Menu_UpdateUI
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46191          { (char *)"Menu_GetMenuBar", (PyCFunction
) _wrap_Menu_GetMenuBar
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46192          { (char *)"Menu_Attach", (PyCFunction
) _wrap_Menu_Attach
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46193          { (char *)"Menu_Detach", (PyCFunction
) _wrap_Menu_Detach
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46194          { (char *)"Menu_IsAttached", (PyCFunction
) _wrap_Menu_IsAttached
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46195          { (char *)"Menu_SetParent", (PyCFunction
) _wrap_Menu_SetParent
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46196          { (char *)"Menu_GetParent", (PyCFunction
) _wrap_Menu_GetParent
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46197          { (char *)"Menu_swigregister", Menu_swigregister
, METH_VARARGS
, NULL
}, 
46198          { (char *)"new_MenuBar", (PyCFunction
) _wrap_new_MenuBar
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46199          { (char *)"MenuBar_Append", (PyCFunction
) _wrap_MenuBar_Append
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46200          { (char *)"MenuBar_Insert", (PyCFunction
) _wrap_MenuBar_Insert
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46201          { (char *)"MenuBar_GetMenuCount", (PyCFunction
) _wrap_MenuBar_GetMenuCount
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46202          { (char *)"MenuBar_GetMenu", (PyCFunction
) _wrap_MenuBar_GetMenu
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46203          { (char *)"MenuBar_Replace", (PyCFunction
) _wrap_MenuBar_Replace
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46204          { (char *)"MenuBar_Remove", (PyCFunction
) _wrap_MenuBar_Remove
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46205          { (char *)"MenuBar_EnableTop", (PyCFunction
) _wrap_MenuBar_EnableTop
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46206          { (char *)"MenuBar_IsEnabledTop", (PyCFunction
) _wrap_MenuBar_IsEnabledTop
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46207          { (char *)"MenuBar_SetLabelTop", (PyCFunction
) _wrap_MenuBar_SetLabelTop
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46208          { (char *)"MenuBar_GetLabelTop", (PyCFunction
) _wrap_MenuBar_GetLabelTop
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46209          { (char *)"MenuBar_FindMenuItem", (PyCFunction
) _wrap_MenuBar_FindMenuItem
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46210          { (char *)"MenuBar_FindItemById", (PyCFunction
) _wrap_MenuBar_FindItemById
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46211          { (char *)"MenuBar_FindMenu", (PyCFunction
) _wrap_MenuBar_FindMenu
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46212          { (char *)"MenuBar_Enable", (PyCFunction
) _wrap_MenuBar_Enable
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46213          { (char *)"MenuBar_Check", (PyCFunction
) _wrap_MenuBar_Check
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46214          { (char *)"MenuBar_IsChecked", (PyCFunction
) _wrap_MenuBar_IsChecked
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46215          { (char *)"MenuBar_IsEnabled", (PyCFunction
) _wrap_MenuBar_IsEnabled
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46216          { (char *)"MenuBar_SetLabel", (PyCFunction
) _wrap_MenuBar_SetLabel
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46217          { (char *)"MenuBar_GetLabel", (PyCFunction
) _wrap_MenuBar_GetLabel
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46218          { (char *)"MenuBar_SetHelpString", (PyCFunction
) _wrap_MenuBar_SetHelpString
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46219          { (char *)"MenuBar_GetHelpString", (PyCFunction
) _wrap_MenuBar_GetHelpString
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46220          { (char *)"MenuBar_GetFrame", (PyCFunction
) _wrap_MenuBar_GetFrame
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46221          { (char *)"MenuBar_IsAttached", (PyCFunction
) _wrap_MenuBar_IsAttached
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46222          { (char *)"MenuBar_Attach", (PyCFunction
) _wrap_MenuBar_Attach
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46223          { (char *)"MenuBar_Detach", (PyCFunction
) _wrap_MenuBar_Detach
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46224          { (char *)"MenuBar_swigregister", MenuBar_swigregister
, METH_VARARGS
, NULL
}, 
46225          { (char *)"new_MenuItem", (PyCFunction
) _wrap_new_MenuItem
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46226          { (char *)"MenuItem_GetMenu", (PyCFunction
) _wrap_MenuItem_GetMenu
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46227          { (char *)"MenuItem_SetMenu", (PyCFunction
) _wrap_MenuItem_SetMenu
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46228          { (char *)"MenuItem_SetId", (PyCFunction
) _wrap_MenuItem_SetId
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46229          { (char *)"MenuItem_GetId", (PyCFunction
) _wrap_MenuItem_GetId
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46230          { (char *)"MenuItem_IsSeparator", (PyCFunction
) _wrap_MenuItem_IsSeparator
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46231          { (char *)"MenuItem_SetText", (PyCFunction
) _wrap_MenuItem_SetText
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46232          { (char *)"MenuItem_GetLabel", (PyCFunction
) _wrap_MenuItem_GetLabel
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46233          { (char *)"MenuItem_GetText", (PyCFunction
) _wrap_MenuItem_GetText
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46234          { (char *)"MenuItem_GetLabelFromText", (PyCFunction
) _wrap_MenuItem_GetLabelFromText
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46235          { (char *)"MenuItem_GetKind", (PyCFunction
) _wrap_MenuItem_GetKind
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46236          { (char *)"MenuItem_SetKind", (PyCFunction
) _wrap_MenuItem_SetKind
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46237          { (char *)"MenuItem_SetCheckable", (PyCFunction
) _wrap_MenuItem_SetCheckable
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46238          { (char *)"MenuItem_IsCheckable", (PyCFunction
) _wrap_MenuItem_IsCheckable
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46239          { (char *)"MenuItem_IsSubMenu", (PyCFunction
) _wrap_MenuItem_IsSubMenu
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46240          { (char *)"MenuItem_SetSubMenu", (PyCFunction
) _wrap_MenuItem_SetSubMenu
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46241          { (char *)"MenuItem_GetSubMenu", (PyCFunction
) _wrap_MenuItem_GetSubMenu
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46242          { (char *)"MenuItem_Enable", (PyCFunction
) _wrap_MenuItem_Enable
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46243          { (char *)"MenuItem_IsEnabled", (PyCFunction
) _wrap_MenuItem_IsEnabled
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46244          { (char *)"MenuItem_Check", (PyCFunction
) _wrap_MenuItem_Check
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46245          { (char *)"MenuItem_IsChecked", (PyCFunction
) _wrap_MenuItem_IsChecked
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46246          { (char *)"MenuItem_Toggle", (PyCFunction
) _wrap_MenuItem_Toggle
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46247          { (char *)"MenuItem_SetHelp", (PyCFunction
) _wrap_MenuItem_SetHelp
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46248          { (char *)"MenuItem_GetHelp", (PyCFunction
) _wrap_MenuItem_GetHelp
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46249          { (char *)"MenuItem_GetAccel", (PyCFunction
) _wrap_MenuItem_GetAccel
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46250          { (char *)"MenuItem_SetAccel", (PyCFunction
) _wrap_MenuItem_SetAccel
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46251          { (char *)"MenuItem_SetFont", (PyCFunction
) _wrap_MenuItem_SetFont
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46252          { (char *)"MenuItem_GetFont", (PyCFunction
) _wrap_MenuItem_GetFont
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46253          { (char *)"MenuItem_SetTextColour", (PyCFunction
) _wrap_MenuItem_SetTextColour
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46254          { (char *)"MenuItem_GetTextColour", (PyCFunction
) _wrap_MenuItem_GetTextColour
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46255          { (char *)"MenuItem_SetBackgroundColour", (PyCFunction
) _wrap_MenuItem_SetBackgroundColour
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46256          { (char *)"MenuItem_GetBackgroundColour", (PyCFunction
) _wrap_MenuItem_GetBackgroundColour
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46257          { (char *)"MenuItem_SetBitmaps", (PyCFunction
) _wrap_MenuItem_SetBitmaps
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46258          { (char *)"MenuItem_SetDisabledBitmap", (PyCFunction
) _wrap_MenuItem_SetDisabledBitmap
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46259          { (char *)"MenuItem_GetDisabledBitmap", (PyCFunction
) _wrap_MenuItem_GetDisabledBitmap
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46260          { (char *)"MenuItem_SetMarginWidth", (PyCFunction
) _wrap_MenuItem_SetMarginWidth
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46261          { (char *)"MenuItem_GetMarginWidth", (PyCFunction
) _wrap_MenuItem_GetMarginWidth
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46262          { (char *)"MenuItem_GetDefaultMarginWidth", (PyCFunction
) _wrap_MenuItem_GetDefaultMarginWidth
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46263          { (char *)"MenuItem_IsOwnerDrawn", (PyCFunction
) _wrap_MenuItem_IsOwnerDrawn
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46264          { (char *)"MenuItem_SetOwnerDrawn", (PyCFunction
) _wrap_MenuItem_SetOwnerDrawn
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46265          { (char *)"MenuItem_ResetOwnerDrawn", (PyCFunction
) _wrap_MenuItem_ResetOwnerDrawn
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46266          { (char *)"MenuItem_SetBitmap", (PyCFunction
) _wrap_MenuItem_SetBitmap
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46267          { (char *)"MenuItem_GetBitmap", (PyCFunction
) _wrap_MenuItem_GetBitmap
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46268          { (char *)"MenuItem_swigregister", MenuItem_swigregister
, METH_VARARGS
, NULL
}, 
46269          { (char *)"new_Control", (PyCFunction
) _wrap_new_Control
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46270          { (char *)"new_PreControl", (PyCFunction
) _wrap_new_PreControl
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46271          { (char *)"Control_Create", (PyCFunction
) _wrap_Control_Create
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46272          { (char *)"Control_Command", (PyCFunction
) _wrap_Control_Command
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46273          { (char *)"Control_GetLabel", (PyCFunction
) _wrap_Control_GetLabel
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46274          { (char *)"Control_SetLabel", (PyCFunction
) _wrap_Control_SetLabel
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46275          { (char *)"Control_GetClassDefaultAttributes", (PyCFunction
) _wrap_Control_GetClassDefaultAttributes
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46276          { (char *)"Control_swigregister", Control_swigregister
, METH_VARARGS
, NULL
}, 
46277          { (char *)"ItemContainer_Append", (PyCFunction
) _wrap_ItemContainer_Append
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46278          { (char *)"ItemContainer_AppendItems", (PyCFunction
) _wrap_ItemContainer_AppendItems
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46279          { (char *)"ItemContainer_Insert", (PyCFunction
) _wrap_ItemContainer_Insert
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46280          { (char *)"ItemContainer_Clear", (PyCFunction
) _wrap_ItemContainer_Clear
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46281          { (char *)"ItemContainer_Delete", (PyCFunction
) _wrap_ItemContainer_Delete
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46282          { (char *)"ItemContainer_GetClientData", (PyCFunction
) _wrap_ItemContainer_GetClientData
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46283          { (char *)"ItemContainer_SetClientData", (PyCFunction
) _wrap_ItemContainer_SetClientData
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46284          { (char *)"ItemContainer_GetCount", (PyCFunction
) _wrap_ItemContainer_GetCount
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46285          { (char *)"ItemContainer_IsEmpty", (PyCFunction
) _wrap_ItemContainer_IsEmpty
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46286          { (char *)"ItemContainer_GetString", (PyCFunction
) _wrap_ItemContainer_GetString
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46287          { (char *)"ItemContainer_GetStrings", (PyCFunction
) _wrap_ItemContainer_GetStrings
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46288          { (char *)"ItemContainer_SetString", (PyCFunction
) _wrap_ItemContainer_SetString
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46289          { (char *)"ItemContainer_FindString", (PyCFunction
) _wrap_ItemContainer_FindString
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46290          { (char *)"ItemContainer_SetSelection", (PyCFunction
) _wrap_ItemContainer_SetSelection
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46291          { (char *)"ItemContainer_GetSelection", (PyCFunction
) _wrap_ItemContainer_GetSelection
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46292          { (char *)"ItemContainer_SetStringSelection", (PyCFunction
) _wrap_ItemContainer_SetStringSelection
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46293          { (char *)"ItemContainer_GetStringSelection", (PyCFunction
) _wrap_ItemContainer_GetStringSelection
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46294          { (char *)"ItemContainer_Select", (PyCFunction
) _wrap_ItemContainer_Select
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46295          { (char *)"ItemContainer_swigregister", ItemContainer_swigregister
, METH_VARARGS
, NULL
}, 
46296          { (char *)"ControlWithItems_swigregister", ControlWithItems_swigregister
, METH_VARARGS
, NULL
}, 
46297          { (char *)"new_SizerItem", (PyCFunction
) _wrap_new_SizerItem
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46298          { (char *)"new_SizerItemWindow", (PyCFunction
) _wrap_new_SizerItemWindow
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46299          { (char *)"new_SizerItemSpacer", (PyCFunction
) _wrap_new_SizerItemSpacer
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46300          { (char *)"new_SizerItemSizer", (PyCFunction
) _wrap_new_SizerItemSizer
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46301          { (char *)"SizerItem_DeleteWindows", (PyCFunction
) _wrap_SizerItem_DeleteWindows
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46302          { (char *)"SizerItem_DetachSizer", (PyCFunction
) _wrap_SizerItem_DetachSizer
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46303          { (char *)"SizerItem_GetSize", (PyCFunction
) _wrap_SizerItem_GetSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46304          { (char *)"SizerItem_CalcMin", (PyCFunction
) _wrap_SizerItem_CalcMin
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46305          { (char *)"SizerItem_SetDimension", (PyCFunction
) _wrap_SizerItem_SetDimension
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46306          { (char *)"SizerItem_GetMinSize", (PyCFunction
) _wrap_SizerItem_GetMinSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46307          { (char *)"SizerItem_GetMinSizeWithBorder", (PyCFunction
) _wrap_SizerItem_GetMinSizeWithBorder
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46308          { (char *)"SizerItem_SetInitSize", (PyCFunction
) _wrap_SizerItem_SetInitSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46309          { (char *)"SizerItem_SetRatioWH", (PyCFunction
) _wrap_SizerItem_SetRatioWH
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46310          { (char *)"SizerItem_SetRatioSize", (PyCFunction
) _wrap_SizerItem_SetRatioSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46311          { (char *)"SizerItem_SetRatio", (PyCFunction
) _wrap_SizerItem_SetRatio
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46312          { (char *)"SizerItem_GetRatio", (PyCFunction
) _wrap_SizerItem_GetRatio
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46313          { (char *)"SizerItem_GetRect", (PyCFunction
) _wrap_SizerItem_GetRect
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46314          { (char *)"SizerItem_IsWindow", (PyCFunction
) _wrap_SizerItem_IsWindow
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46315          { (char *)"SizerItem_IsSizer", (PyCFunction
) _wrap_SizerItem_IsSizer
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46316          { (char *)"SizerItem_IsSpacer", (PyCFunction
) _wrap_SizerItem_IsSpacer
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46317          { (char *)"SizerItem_SetProportion", (PyCFunction
) _wrap_SizerItem_SetProportion
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46318          { (char *)"SizerItem_GetProportion", (PyCFunction
) _wrap_SizerItem_GetProportion
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46319          { (char *)"SizerItem_SetFlag", (PyCFunction
) _wrap_SizerItem_SetFlag
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46320          { (char *)"SizerItem_GetFlag", (PyCFunction
) _wrap_SizerItem_GetFlag
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46321          { (char *)"SizerItem_SetBorder", (PyCFunction
) _wrap_SizerItem_SetBorder
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46322          { (char *)"SizerItem_GetBorder", (PyCFunction
) _wrap_SizerItem_GetBorder
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46323          { (char *)"SizerItem_GetWindow", (PyCFunction
) _wrap_SizerItem_GetWindow
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46324          { (char *)"SizerItem_SetWindow", (PyCFunction
) _wrap_SizerItem_SetWindow
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46325          { (char *)"SizerItem_GetSizer", (PyCFunction
) _wrap_SizerItem_GetSizer
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46326          { (char *)"SizerItem_SetSizer", (PyCFunction
) _wrap_SizerItem_SetSizer
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46327          { (char *)"SizerItem_GetSpacer", (PyCFunction
) _wrap_SizerItem_GetSpacer
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46328          { (char *)"SizerItem_SetSpacer", (PyCFunction
) _wrap_SizerItem_SetSpacer
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46329          { (char *)"SizerItem_Show", (PyCFunction
) _wrap_SizerItem_Show
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46330          { (char *)"SizerItem_IsShown", (PyCFunction
) _wrap_SizerItem_IsShown
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46331          { (char *)"SizerItem_GetPosition", (PyCFunction
) _wrap_SizerItem_GetPosition
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46332          { (char *)"SizerItem_GetUserData", (PyCFunction
) _wrap_SizerItem_GetUserData
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46333          { (char *)"SizerItem_swigregister", SizerItem_swigregister
, METH_VARARGS
, NULL
}, 
46334          { (char *)"Sizer__setOORInfo", (PyCFunction
) _wrap_Sizer__setOORInfo
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46335          { (char *)"Sizer_Add", (PyCFunction
) _wrap_Sizer_Add
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46336          { (char *)"Sizer_Insert", (PyCFunction
) _wrap_Sizer_Insert
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46337          { (char *)"Sizer_Prepend", (PyCFunction
) _wrap_Sizer_Prepend
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46338          { (char *)"Sizer_Remove", (PyCFunction
) _wrap_Sizer_Remove
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46339          { (char *)"Sizer_Detach", (PyCFunction
) _wrap_Sizer_Detach
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46340          { (char *)"Sizer_GetItem", (PyCFunction
) _wrap_Sizer_GetItem
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46341          { (char *)"Sizer__SetItemMinSize", (PyCFunction
) _wrap_Sizer__SetItemMinSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46342          { (char *)"Sizer_AddItem", (PyCFunction
) _wrap_Sizer_AddItem
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46343          { (char *)"Sizer_InsertItem", (PyCFunction
) _wrap_Sizer_InsertItem
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46344          { (char *)"Sizer_PrependItem", (PyCFunction
) _wrap_Sizer_PrependItem
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46345          { (char *)"Sizer_SetDimension", (PyCFunction
) _wrap_Sizer_SetDimension
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46346          { (char *)"Sizer_SetMinSize", (PyCFunction
) _wrap_Sizer_SetMinSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46347          { (char *)"Sizer_GetSize", (PyCFunction
) _wrap_Sizer_GetSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46348          { (char *)"Sizer_GetPosition", (PyCFunction
) _wrap_Sizer_GetPosition
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46349          { (char *)"Sizer_GetMinSize", (PyCFunction
) _wrap_Sizer_GetMinSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46350          { (char *)"Sizer_RecalcSizes", (PyCFunction
) _wrap_Sizer_RecalcSizes
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46351          { (char *)"Sizer_CalcMin", (PyCFunction
) _wrap_Sizer_CalcMin
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46352          { (char *)"Sizer_Layout", (PyCFunction
) _wrap_Sizer_Layout
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46353          { (char *)"Sizer_Fit", (PyCFunction
) _wrap_Sizer_Fit
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46354          { (char *)"Sizer_FitInside", (PyCFunction
) _wrap_Sizer_FitInside
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46355          { (char *)"Sizer_SetSizeHints", (PyCFunction
) _wrap_Sizer_SetSizeHints
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46356          { (char *)"Sizer_SetVirtualSizeHints", (PyCFunction
) _wrap_Sizer_SetVirtualSizeHints
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46357          { (char *)"Sizer_Clear", (PyCFunction
) _wrap_Sizer_Clear
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46358          { (char *)"Sizer_DeleteWindows", (PyCFunction
) _wrap_Sizer_DeleteWindows
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46359          { (char *)"Sizer_GetChildren", (PyCFunction
) _wrap_Sizer_GetChildren
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46360          { (char *)"Sizer_Show", (PyCFunction
) _wrap_Sizer_Show
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46361          { (char *)"Sizer_IsShown", (PyCFunction
) _wrap_Sizer_IsShown
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46362          { (char *)"Sizer_ShowItems", (PyCFunction
) _wrap_Sizer_ShowItems
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46363          { (char *)"Sizer_swigregister", Sizer_swigregister
, METH_VARARGS
, NULL
}, 
46364          { (char *)"new_PySizer", (PyCFunction
) _wrap_new_PySizer
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46365          { (char *)"PySizer__setCallbackInfo", (PyCFunction
) _wrap_PySizer__setCallbackInfo
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46366          { (char *)"PySizer_swigregister", PySizer_swigregister
, METH_VARARGS
, NULL
}, 
46367          { (char *)"new_BoxSizer", (PyCFunction
) _wrap_new_BoxSizer
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46368          { (char *)"BoxSizer_GetOrientation", (PyCFunction
) _wrap_BoxSizer_GetOrientation
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46369          { (char *)"BoxSizer_SetOrientation", (PyCFunction
) _wrap_BoxSizer_SetOrientation
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46370          { (char *)"BoxSizer_swigregister", BoxSizer_swigregister
, METH_VARARGS
, NULL
}, 
46371          { (char *)"new_StaticBoxSizer", (PyCFunction
) _wrap_new_StaticBoxSizer
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46372          { (char *)"StaticBoxSizer_GetStaticBox", (PyCFunction
) _wrap_StaticBoxSizer_GetStaticBox
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46373          { (char *)"StaticBoxSizer_swigregister", StaticBoxSizer_swigregister
, METH_VARARGS
, NULL
}, 
46374          { (char *)"new_GridSizer", (PyCFunction
) _wrap_new_GridSizer
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46375          { (char *)"GridSizer_SetCols", (PyCFunction
) _wrap_GridSizer_SetCols
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46376          { (char *)"GridSizer_SetRows", (PyCFunction
) _wrap_GridSizer_SetRows
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46377          { (char *)"GridSizer_SetVGap", (PyCFunction
) _wrap_GridSizer_SetVGap
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46378          { (char *)"GridSizer_SetHGap", (PyCFunction
) _wrap_GridSizer_SetHGap
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46379          { (char *)"GridSizer_GetCols", (PyCFunction
) _wrap_GridSizer_GetCols
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46380          { (char *)"GridSizer_GetRows", (PyCFunction
) _wrap_GridSizer_GetRows
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46381          { (char *)"GridSizer_GetVGap", (PyCFunction
) _wrap_GridSizer_GetVGap
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46382          { (char *)"GridSizer_GetHGap", (PyCFunction
) _wrap_GridSizer_GetHGap
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46383          { (char *)"GridSizer_swigregister", GridSizer_swigregister
, METH_VARARGS
, NULL
}, 
46384          { (char *)"new_FlexGridSizer", (PyCFunction
) _wrap_new_FlexGridSizer
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46385          { (char *)"FlexGridSizer_AddGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableRow
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46386          { (char *)"FlexGridSizer_RemoveGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableRow
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46387          { (char *)"FlexGridSizer_AddGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableCol
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46388          { (char *)"FlexGridSizer_RemoveGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableCol
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46389          { (char *)"FlexGridSizer_SetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_SetFlexibleDirection
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46390          { (char *)"FlexGridSizer_GetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_GetFlexibleDirection
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46391          { (char *)"FlexGridSizer_SetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_SetNonFlexibleGrowMode
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46392          { (char *)"FlexGridSizer_GetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_GetNonFlexibleGrowMode
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46393          { (char *)"FlexGridSizer_GetRowHeights", (PyCFunction
) _wrap_FlexGridSizer_GetRowHeights
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46394          { (char *)"FlexGridSizer_GetColWidths", (PyCFunction
) _wrap_FlexGridSizer_GetColWidths
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46395          { (char *)"FlexGridSizer_swigregister", FlexGridSizer_swigregister
, METH_VARARGS
, NULL
}, 
46396          { (char *)"new_StdDialogButtonSizer", (PyCFunction
) _wrap_new_StdDialogButtonSizer
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46397          { (char *)"StdDialogButtonSizer_AddButton", (PyCFunction
) _wrap_StdDialogButtonSizer_AddButton
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46398          { (char *)"StdDialogButtonSizer_Realize", (PyCFunction
) _wrap_StdDialogButtonSizer_Realize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46399          { (char *)"StdDialogButtonSizer_SetAffirmativeButton", (PyCFunction
) _wrap_StdDialogButtonSizer_SetAffirmativeButton
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46400          { (char *)"StdDialogButtonSizer_SetNegativeButton", (PyCFunction
) _wrap_StdDialogButtonSizer_SetNegativeButton
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46401          { (char *)"StdDialogButtonSizer_SetCancelButton", (PyCFunction
) _wrap_StdDialogButtonSizer_SetCancelButton
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46402          { (char *)"StdDialogButtonSizer_GetAffirmativeButton", (PyCFunction
) _wrap_StdDialogButtonSizer_GetAffirmativeButton
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46403          { (char *)"StdDialogButtonSizer_GetApplyButton", (PyCFunction
) _wrap_StdDialogButtonSizer_GetApplyButton
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46404          { (char *)"StdDialogButtonSizer_GetNegativeButton", (PyCFunction
) _wrap_StdDialogButtonSizer_GetNegativeButton
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46405          { (char *)"StdDialogButtonSizer_GetCancelButton", (PyCFunction
) _wrap_StdDialogButtonSizer_GetCancelButton
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46406          { (char *)"StdDialogButtonSizer_GetHelpButton", (PyCFunction
) _wrap_StdDialogButtonSizer_GetHelpButton
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46407          { (char *)"StdDialogButtonSizer_swigregister", StdDialogButtonSizer_swigregister
, METH_VARARGS
, NULL
}, 
46408          { (char *)"new_GBPosition", (PyCFunction
) _wrap_new_GBPosition
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46409          { (char *)"GBPosition_GetRow", (PyCFunction
) _wrap_GBPosition_GetRow
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46410          { (char *)"GBPosition_GetCol", (PyCFunction
) _wrap_GBPosition_GetCol
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46411          { (char *)"GBPosition_SetRow", (PyCFunction
) _wrap_GBPosition_SetRow
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46412          { (char *)"GBPosition_SetCol", (PyCFunction
) _wrap_GBPosition_SetCol
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46413          { (char *)"GBPosition___eq__", (PyCFunction
) _wrap_GBPosition___eq__
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46414          { (char *)"GBPosition___ne__", (PyCFunction
) _wrap_GBPosition___ne__
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46415          { (char *)"GBPosition_Set", (PyCFunction
) _wrap_GBPosition_Set
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46416          { (char *)"GBPosition_Get", (PyCFunction
) _wrap_GBPosition_Get
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46417          { (char *)"GBPosition_swigregister", GBPosition_swigregister
, METH_VARARGS
, NULL
}, 
46418          { (char *)"new_GBSpan", (PyCFunction
) _wrap_new_GBSpan
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46419          { (char *)"GBSpan_GetRowspan", (PyCFunction
) _wrap_GBSpan_GetRowspan
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46420          { (char *)"GBSpan_GetColspan", (PyCFunction
) _wrap_GBSpan_GetColspan
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46421          { (char *)"GBSpan_SetRowspan", (PyCFunction
) _wrap_GBSpan_SetRowspan
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46422          { (char *)"GBSpan_SetColspan", (PyCFunction
) _wrap_GBSpan_SetColspan
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46423          { (char *)"GBSpan___eq__", (PyCFunction
) _wrap_GBSpan___eq__
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46424          { (char *)"GBSpan___ne__", (PyCFunction
) _wrap_GBSpan___ne__
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46425          { (char *)"GBSpan_Set", (PyCFunction
) _wrap_GBSpan_Set
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46426          { (char *)"GBSpan_Get", (PyCFunction
) _wrap_GBSpan_Get
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46427          { (char *)"GBSpan_swigregister", GBSpan_swigregister
, METH_VARARGS
, NULL
}, 
46428          { (char *)"new_GBSizerItem", (PyCFunction
) _wrap_new_GBSizerItem
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46429          { (char *)"new_GBSizerItemWindow", (PyCFunction
) _wrap_new_GBSizerItemWindow
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46430          { (char *)"new_GBSizerItemSizer", (PyCFunction
) _wrap_new_GBSizerItemSizer
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46431          { (char *)"new_GBSizerItemSpacer", (PyCFunction
) _wrap_new_GBSizerItemSpacer
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46432          { (char *)"GBSizerItem_GetPos", (PyCFunction
) _wrap_GBSizerItem_GetPos
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46433          { (char *)"GBSizerItem_GetSpan", (PyCFunction
) _wrap_GBSizerItem_GetSpan
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46434          { (char *)"GBSizerItem_SetPos", (PyCFunction
) _wrap_GBSizerItem_SetPos
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46435          { (char *)"GBSizerItem_SetSpan", (PyCFunction
) _wrap_GBSizerItem_SetSpan
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46436          { (char *)"GBSizerItem_Intersects", (PyCFunction
) _wrap_GBSizerItem_Intersects
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46437          { (char *)"GBSizerItem_IntersectsPos", (PyCFunction
) _wrap_GBSizerItem_IntersectsPos
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46438          { (char *)"GBSizerItem_GetEndPos", (PyCFunction
) _wrap_GBSizerItem_GetEndPos
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46439          { (char *)"GBSizerItem_GetGBSizer", (PyCFunction
) _wrap_GBSizerItem_GetGBSizer
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46440          { (char *)"GBSizerItem_SetGBSizer", (PyCFunction
) _wrap_GBSizerItem_SetGBSizer
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46441          { (char *)"GBSizerItem_swigregister", GBSizerItem_swigregister
, METH_VARARGS
, NULL
}, 
46442          { (char *)"new_GridBagSizer", (PyCFunction
) _wrap_new_GridBagSizer
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46443          { (char *)"GridBagSizer_Add", (PyCFunction
) _wrap_GridBagSizer_Add
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46444          { (char *)"GridBagSizer_AddItem", (PyCFunction
) _wrap_GridBagSizer_AddItem
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46445          { (char *)"GridBagSizer_GetCellSize", (PyCFunction
) _wrap_GridBagSizer_GetCellSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46446          { (char *)"GridBagSizer_GetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_GetEmptyCellSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46447          { (char *)"GridBagSizer_SetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_SetEmptyCellSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46448          { (char *)"GridBagSizer_GetItemPosition", _wrap_GridBagSizer_GetItemPosition
, METH_VARARGS
, NULL
}, 
46449          { (char *)"GridBagSizer_SetItemPosition", _wrap_GridBagSizer_SetItemPosition
, METH_VARARGS
, NULL
}, 
46450          { (char *)"GridBagSizer_GetItemSpan", _wrap_GridBagSizer_GetItemSpan
, METH_VARARGS
, NULL
}, 
46451          { (char *)"GridBagSizer_SetItemSpan", _wrap_GridBagSizer_SetItemSpan
, METH_VARARGS
, NULL
}, 
46452          { (char *)"GridBagSizer_FindItem", _wrap_GridBagSizer_FindItem
, METH_VARARGS
, NULL
}, 
46453          { (char *)"GridBagSizer_FindItemAtPosition", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPosition
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46454          { (char *)"GridBagSizer_FindItemAtPoint", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPoint
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46455          { (char *)"GridBagSizer_CheckForIntersection", (PyCFunction
) _wrap_GridBagSizer_CheckForIntersection
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46456          { (char *)"GridBagSizer_CheckForIntersectionPos", (PyCFunction
) _wrap_GridBagSizer_CheckForIntersectionPos
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46457          { (char *)"GridBagSizer_swigregister", GridBagSizer_swigregister
, METH_VARARGS
, NULL
}, 
46458          { (char *)"IndividualLayoutConstraint_Set", (PyCFunction
) _wrap_IndividualLayoutConstraint_Set
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46459          { (char *)"IndividualLayoutConstraint_LeftOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_LeftOf
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46460          { (char *)"IndividualLayoutConstraint_RightOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_RightOf
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46461          { (char *)"IndividualLayoutConstraint_Above", (PyCFunction
) _wrap_IndividualLayoutConstraint_Above
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46462          { (char *)"IndividualLayoutConstraint_Below", (PyCFunction
) _wrap_IndividualLayoutConstraint_Below
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46463          { (char *)"IndividualLayoutConstraint_SameAs", (PyCFunction
) _wrap_IndividualLayoutConstraint_SameAs
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46464          { (char *)"IndividualLayoutConstraint_PercentOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_PercentOf
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46465          { (char *)"IndividualLayoutConstraint_Absolute", (PyCFunction
) _wrap_IndividualLayoutConstraint_Absolute
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46466          { (char *)"IndividualLayoutConstraint_Unconstrained", (PyCFunction
) _wrap_IndividualLayoutConstraint_Unconstrained
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46467          { (char *)"IndividualLayoutConstraint_AsIs", (PyCFunction
) _wrap_IndividualLayoutConstraint_AsIs
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46468          { (char *)"IndividualLayoutConstraint_GetOtherWindow", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetOtherWindow
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46469          { (char *)"IndividualLayoutConstraint_GetMyEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetMyEdge
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46470          { (char *)"IndividualLayoutConstraint_SetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetEdge
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46471          { (char *)"IndividualLayoutConstraint_SetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetValue
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46472          { (char *)"IndividualLayoutConstraint_GetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetMargin
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46473          { (char *)"IndividualLayoutConstraint_SetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetMargin
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46474          { (char *)"IndividualLayoutConstraint_GetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetValue
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46475          { (char *)"IndividualLayoutConstraint_GetPercent", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetPercent
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46476          { (char *)"IndividualLayoutConstraint_GetOtherEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetOtherEdge
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46477          { (char *)"IndividualLayoutConstraint_GetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetDone
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46478          { (char *)"IndividualLayoutConstraint_SetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetDone
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46479          { (char *)"IndividualLayoutConstraint_GetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetRelationship
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46480          { (char *)"IndividualLayoutConstraint_SetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetRelationship
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46481          { (char *)"IndividualLayoutConstraint_ResetIfWin", (PyCFunction
) _wrap_IndividualLayoutConstraint_ResetIfWin
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46482          { (char *)"IndividualLayoutConstraint_SatisfyConstraint", (PyCFunction
) _wrap_IndividualLayoutConstraint_SatisfyConstraint
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46483          { (char *)"IndividualLayoutConstraint_GetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetEdge
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46484          { (char *)"IndividualLayoutConstraint_swigregister", IndividualLayoutConstraint_swigregister
, METH_VARARGS
, NULL
}, 
46485          { (char *)"LayoutConstraints_left_get", (PyCFunction
) _wrap_LayoutConstraints_left_get
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46486          { (char *)"LayoutConstraints_top_get", (PyCFunction
) _wrap_LayoutConstraints_top_get
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46487          { (char *)"LayoutConstraints_right_get", (PyCFunction
) _wrap_LayoutConstraints_right_get
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46488          { (char *)"LayoutConstraints_bottom_get", (PyCFunction
) _wrap_LayoutConstraints_bottom_get
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46489          { (char *)"LayoutConstraints_width_get", (PyCFunction
) _wrap_LayoutConstraints_width_get
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46490          { (char *)"LayoutConstraints_height_get", (PyCFunction
) _wrap_LayoutConstraints_height_get
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46491          { (char *)"LayoutConstraints_centreX_get", (PyCFunction
) _wrap_LayoutConstraints_centreX_get
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46492          { (char *)"LayoutConstraints_centreY_get", (PyCFunction
) _wrap_LayoutConstraints_centreY_get
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46493          { (char *)"new_LayoutConstraints", (PyCFunction
) _wrap_new_LayoutConstraints
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46494          { (char *)"LayoutConstraints_SatisfyConstraints", (PyCFunction
) _wrap_LayoutConstraints_SatisfyConstraints
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46495          { (char *)"LayoutConstraints_AreSatisfied", (PyCFunction
) _wrap_LayoutConstraints_AreSatisfied
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
46496          { (char *)"LayoutConstraints_swigregister", LayoutConstraints_swigregister
, METH_VARARGS
, NULL
}, 
46497          { NULL
, NULL
, 0, NULL 
} 
46501 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */ 
46503 static void *_p_wxGBSizerItemTo_p_wxSizerItem(void *x
) { 
46504     return (void *)((wxSizerItem 
*)  ((wxGBSizerItem 
*) x
)); 
46506 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) { 
46507     return (void *)((wxSizer 
*)  ((wxBoxSizer 
*) x
)); 
46509 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) { 
46510     return (void *)((wxSizer 
*) (wxBoxSizer 
*) ((wxStaticBoxSizer 
*) x
)); 
46512 static void *_p_wxStdDialogButtonSizerTo_p_wxSizer(void *x
) { 
46513     return (void *)((wxSizer 
*) (wxBoxSizer 
*) ((wxStdDialogButtonSizer 
*) x
)); 
46515 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) { 
46516     return (void *)((wxSizer 
*) (wxGridSizer 
*)(wxFlexGridSizer 
*) ((wxGridBagSizer 
*) x
)); 
46518 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) { 
46519     return (void *)((wxSizer 
*)  ((wxGridSizer 
*) x
)); 
46521 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) { 
46522     return (void *)((wxSizer 
*) (wxGridSizer 
*) ((wxFlexGridSizer 
*) x
)); 
46524 static void *_p_wxPySizerTo_p_wxSizer(void *x
) { 
46525     return (void *)((wxSizer 
*)  ((wxPySizer 
*) x
)); 
46527 static void *_p_wxStaticBoxSizerTo_p_wxBoxSizer(void *x
) { 
46528     return (void *)((wxBoxSizer 
*)  ((wxStaticBoxSizer 
*) x
)); 
46530 static void *_p_wxStdDialogButtonSizerTo_p_wxBoxSizer(void *x
) { 
46531     return (void *)((wxBoxSizer 
*)  ((wxStdDialogButtonSizer 
*) x
)); 
46533 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) { 
46534     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxContextMenuEvent 
*) x
)); 
46536 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) { 
46537     return (void *)((wxEvent 
*)  ((wxMenuEvent 
*) x
)); 
46539 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) { 
46540     return (void *)((wxEvent 
*)  ((wxCloseEvent 
*) x
)); 
46542 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) { 
46543     return (void *)((wxEvent 
*)  ((wxMouseEvent 
*) x
)); 
46545 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) { 
46546     return (void *)((wxEvent 
*)  ((wxEraseEvent 
*) x
)); 
46548 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) { 
46549     return (void *)((wxEvent 
*)  ((wxSetCursorEvent 
*) x
)); 
46551 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) { 
46552     return (void *)((wxEvent 
*)  ((wxInitDialogEvent 
*) x
)); 
46554 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) { 
46555     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxScrollEvent 
*) x
)); 
46557 static void *_p_wxPyEventTo_p_wxEvent(void *x
) { 
46558     return (void *)((wxEvent 
*)  ((wxPyEvent 
*) x
)); 
46560 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) { 
46561     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxNotifyEvent 
*) x
)); 
46563 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) { 
46564     return (void *)((wxEvent 
*)  ((wxIdleEvent 
*) x
)); 
46566 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) { 
46567     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxWindowCreateEvent 
*) x
)); 
46569 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) { 
46570     return (void *)((wxEvent 
*)  ((wxQueryNewPaletteEvent 
*) x
)); 
46572 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) { 
46573     return (void *)((wxEvent 
*)  ((wxMaximizeEvent 
*) x
)); 
46575 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) { 
46576     return (void *)((wxEvent 
*)  ((wxIconizeEvent 
*) x
)); 
46578 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) { 
46579     return (void *)((wxEvent 
*)  ((wxActivateEvent 
*) x
)); 
46581 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) { 
46582     return (void *)((wxEvent 
*)  ((wxSizeEvent 
*) x
)); 
46584 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) { 
46585     return (void *)((wxEvent 
*)  ((wxMoveEvent 
*) x
)); 
46587 static void *_p_wxDateEventTo_p_wxEvent(void *x
) { 
46588     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxDateEvent 
*) x
)); 
46590 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) { 
46591     return (void *)((wxEvent 
*)  ((wxPaintEvent 
*) x
)); 
46593 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) { 
46594     return (void *)((wxEvent 
*)  ((wxNcPaintEvent 
*) x
)); 
46596 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) { 
46597     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxUpdateUIEvent 
*) x
)); 
46599 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) { 
46600     return (void *)((wxEvent 
*)  ((wxPaletteChangedEvent 
*) x
)); 
46602 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) { 
46603     return (void *)((wxEvent 
*)  ((wxDisplayChangedEvent 
*) x
)); 
46605 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) { 
46606     return (void *)((wxEvent 
*)  ((wxMouseCaptureChangedEvent 
*) x
)); 
46608 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) { 
46609     return (void *)((wxEvent 
*)  ((wxSysColourChangedEvent 
*) x
)); 
46611 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) { 
46612     return (void *)((wxEvent 
*)  ((wxDropFilesEvent 
*) x
)); 
46614 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) { 
46615     return (void *)((wxEvent 
*)  ((wxFocusEvent 
*) x
)); 
46617 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) { 
46618     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxChildFocusEvent 
*) x
)); 
46620 static void *_p_wxShowEventTo_p_wxEvent(void *x
) { 
46621     return (void *)((wxEvent 
*)  ((wxShowEvent 
*) x
)); 
46623 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) { 
46624     return (void *)((wxEvent 
*)  ((wxCommandEvent 
*) x
)); 
46626 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) { 
46627     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxPyCommandEvent 
*) x
)); 
46629 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) { 
46630     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxWindowDestroyEvent 
*) x
)); 
46632 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) { 
46633     return (void *)((wxEvent 
*)  ((wxNavigationKeyEvent 
*) x
)); 
46635 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) { 
46636     return (void *)((wxEvent 
*)  ((wxKeyEvent 
*) x
)); 
46638 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) { 
46639     return (void *)((wxEvent 
*)  ((wxScrollWinEvent 
*) x
)); 
46641 static void *_p_wxGridBagSizerTo_p_wxGridSizer(void *x
) { 
46642     return (void *)((wxGridSizer 
*) (wxFlexGridSizer 
*) ((wxGridBagSizer 
*) x
)); 
46644 static void *_p_wxFlexGridSizerTo_p_wxGridSizer(void *x
) { 
46645     return (void *)((wxGridSizer 
*)  ((wxFlexGridSizer 
*) x
)); 
46647 static void *_p_wxGridBagSizerTo_p_wxFlexGridSizer(void *x
) { 
46648     return (void *)((wxFlexGridSizer 
*)  ((wxGridBagSizer 
*) x
)); 
46650 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) { 
46651     return (void *)((wxItemContainer 
*)  ((wxControlWithItems 
*) x
)); 
46653 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) { 
46654     return (void *)((wxControl 
*)  ((wxControlWithItems 
*) x
)); 
46656 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) { 
46657     return (void *)((wxEvtHandler 
*) (wxWindow 
*) ((wxControl 
*) x
)); 
46659 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) { 
46660     return (void *)((wxEvtHandler 
*)  ((wxWindow 
*) x
)); 
46662 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) { 
46663     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxControl 
*) ((wxControlWithItems 
*) x
)); 
46665 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) { 
46666     return (void *)((wxEvtHandler 
*)  ((wxPyApp 
*) x
)); 
46668 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) { 
46669     return (void *)((wxEvtHandler 
*)  ((wxValidator 
*) x
)); 
46671 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) { 
46672     return (void *)((wxEvtHandler 
*) (wxValidator 
*) ((wxPyValidator 
*) x
)); 
46674 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) { 
46675     return (void *)((wxEvtHandler 
*) (wxWindow 
*) ((wxMenuBar 
*) x
)); 
46677 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) { 
46678     return (void *)((wxEvtHandler 
*)  ((wxMenu 
*) x
)); 
46680 static void *_p_wxANIHandlerTo_p_wxCURHandler(void *x
) { 
46681     return (void *)((wxCURHandler 
*)  ((wxANIHandler 
*) x
)); 
46683 static void *_p_wxCURHandlerTo_p_wxICOHandler(void *x
) { 
46684     return (void *)((wxICOHandler 
*)  ((wxCURHandler 
*) x
)); 
46686 static void *_p_wxANIHandlerTo_p_wxICOHandler(void *x
) { 
46687     return (void *)((wxICOHandler 
*) (wxCURHandler 
*) ((wxANIHandler 
*) x
)); 
46689 static void *_p_wxICOHandlerTo_p_wxBMPHandler(void *x
) { 
46690     return (void *)((wxBMPHandler 
*)  ((wxICOHandler 
*) x
)); 
46692 static void *_p_wxCURHandlerTo_p_wxBMPHandler(void *x
) { 
46693     return (void *)((wxBMPHandler 
*) (wxICOHandler 
*) ((wxCURHandler 
*) x
)); 
46695 static void *_p_wxANIHandlerTo_p_wxBMPHandler(void *x
) { 
46696     return (void *)((wxBMPHandler 
*) (wxICOHandler 
*)(wxCURHandler 
*) ((wxANIHandler 
*) x
)); 
46698 static void *_p_wxBMPHandlerTo_p_wxImageHandler(void *x
) { 
46699     return (void *)((wxImageHandler 
*)  ((wxBMPHandler 
*) x
)); 
46701 static void *_p_wxICOHandlerTo_p_wxImageHandler(void *x
) { 
46702     return (void *)((wxImageHandler 
*) (wxBMPHandler 
*) ((wxICOHandler 
*) x
)); 
46704 static void *_p_wxCURHandlerTo_p_wxImageHandler(void *x
) { 
46705     return (void *)((wxImageHandler 
*) (wxBMPHandler 
*)(wxICOHandler 
*) ((wxCURHandler 
*) x
)); 
46707 static void *_p_wxANIHandlerTo_p_wxImageHandler(void *x
) { 
46708     return (void *)((wxImageHandler 
*) (wxBMPHandler 
*)(wxICOHandler 
*)(wxCURHandler 
*) ((wxANIHandler 
*) x
)); 
46710 static void *_p_wxPNGHandlerTo_p_wxImageHandler(void *x
) { 
46711     return (void *)((wxImageHandler 
*)  ((wxPNGHandler 
*) x
)); 
46713 static void *_p_wxGIFHandlerTo_p_wxImageHandler(void *x
) { 
46714     return (void *)((wxImageHandler 
*)  ((wxGIFHandler 
*) x
)); 
46716 static void *_p_wxPCXHandlerTo_p_wxImageHandler(void *x
) { 
46717     return (void *)((wxImageHandler 
*)  ((wxPCXHandler 
*) x
)); 
46719 static void *_p_wxJPEGHandlerTo_p_wxImageHandler(void *x
) { 
46720     return (void *)((wxImageHandler 
*)  ((wxJPEGHandler 
*) x
)); 
46722 static void *_p_wxPNMHandlerTo_p_wxImageHandler(void *x
) { 
46723     return (void *)((wxImageHandler 
*)  ((wxPNMHandler 
*) x
)); 
46725 static void *_p_wxXPMHandlerTo_p_wxImageHandler(void *x
) { 
46726     return (void *)((wxImageHandler 
*)  ((wxXPMHandler 
*) x
)); 
46728 static void *_p_wxTIFFHandlerTo_p_wxImageHandler(void *x
) { 
46729     return (void *)((wxImageHandler 
*)  ((wxTIFFHandler 
*) x
)); 
46731 static void *_p_wxPyFileSystemHandlerTo_p_wxFileSystemHandler(void *x
) { 
46732     return (void *)((wxFileSystemHandler 
*)  ((wxPyFileSystemHandler 
*) x
)); 
46734 static void *_p_wxInternetFSHandlerTo_p_wxFileSystemHandler(void *x
) { 
46735     return (void *)((wxFileSystemHandler 
*)  ((wxInternetFSHandler 
*) x
)); 
46737 static void *_p_wxZipFSHandlerTo_p_wxFileSystemHandler(void *x
) { 
46738     return (void *)((wxFileSystemHandler 
*)  ((wxZipFSHandler 
*) x
)); 
46740 static void *_p_wxMemoryFSHandlerTo_p_wxFileSystemHandler(void *x
) { 
46741     return (void *)((wxFileSystemHandler 
*)  ((wxMemoryFSHandler 
*) x
)); 
46743 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) { 
46744     return (void *)((wxObject 
*)  ((wxLayoutConstraints 
*) x
)); 
46746 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) { 
46747     return (void *)((wxObject 
*) (wxSizerItem 
*) ((wxGBSizerItem 
*) x
)); 
46749 static void *_p_wxSizerItemTo_p_wxObject(void *x
) { 
46750     return (void *)((wxObject 
*)  ((wxSizerItem 
*) x
)); 
46752 static void *_p_wxScrollEventTo_p_wxObject(void *x
) { 
46753     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxScrollEvent 
*) x
)); 
46755 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) { 
46756     return (void *)((wxObject 
*)  ((wxIndividualLayoutConstraint 
*) x
)); 
46758 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) { 
46759     return (void *)((wxObject 
*) (wxSizer 
*)(wxBoxSizer 
*) ((wxStaticBoxSizer 
*) x
)); 
46761 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) { 
46762     return (void *)((wxObject 
*) (wxSizer 
*) ((wxBoxSizer 
*) x
)); 
46764 static void *_p_wxSizerTo_p_wxObject(void *x
) { 
46765     return (void *)((wxObject 
*)  ((wxSizer 
*) x
)); 
46767 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) { 
46768     return (void *)((wxObject 
*) (wxSizer 
*)(wxGridSizer 
*)(wxFlexGridSizer 
*) ((wxGridBagSizer 
*) x
)); 
46770 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) { 
46771     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxUpdateUIEvent 
*) x
)); 
46773 static void *_p_wxEventTo_p_wxObject(void *x
) { 
46774     return (void *)((wxObject 
*)  ((wxEvent 
*) x
)); 
46776 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) { 
46777     return (void *)((wxObject 
*) (wxSizer 
*)(wxGridSizer 
*) ((wxFlexGridSizer 
*) x
)); 
46779 static void *_p_wxGridSizerTo_p_wxObject(void *x
) { 
46780     return (void *)((wxObject 
*) (wxSizer 
*) ((wxGridSizer 
*) x
)); 
46782 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) { 
46783     return (void *)((wxObject 
*) (wxEvent 
*) ((wxInitDialogEvent 
*) x
)); 
46785 static void *_p_wxPaintEventTo_p_wxObject(void *x
) { 
46786     return (void *)((wxObject 
*) (wxEvent 
*) ((wxPaintEvent 
*) x
)); 
46788 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) { 
46789     return (void *)((wxObject 
*) (wxEvent 
*) ((wxNcPaintEvent 
*) x
)); 
46791 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) { 
46792     return (void *)((wxObject 
*) (wxEvent 
*) ((wxPaletteChangedEvent 
*) x
)); 
46794 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) { 
46795     return (void *)((wxObject 
*) (wxEvent 
*) ((wxDisplayChangedEvent 
*) x
)); 
46797 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) { 
46798     return (void *)((wxObject 
*) (wxEvent 
*) ((wxMouseCaptureChangedEvent 
*) x
)); 
46800 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) { 
46801     return (void *)((wxObject 
*) (wxEvent 
*) ((wxSysColourChangedEvent 
*) x
)); 
46803 static void *_p_wxControlTo_p_wxObject(void *x
) { 
46804     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*) ((wxControl 
*) x
)); 
46806 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) { 
46807     return (void *)((wxObject 
*) (wxEvent 
*) ((wxSetCursorEvent 
*) x
)); 
46809 static void *_p_wxFSFileTo_p_wxObject(void *x
) { 
46810     return (void *)((wxObject 
*)  ((wxFSFile 
*) x
)); 
46812 static void *_p_wxPySizerTo_p_wxObject(void *x
) { 
46813     return (void *)((wxObject 
*) (wxSizer 
*) ((wxPySizer 
*) x
)); 
46815 static void *_p_wxPyEventTo_p_wxObject(void *x
) { 
46816     return (void *)((wxObject 
*) (wxEvent 
*) ((wxPyEvent 
*) x
)); 
46818 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) { 
46819     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxNotifyEvent 
*) x
)); 
46821 static void *_p_wxShowEventTo_p_wxObject(void *x
) { 
46822     return (void *)((wxObject 
*) (wxEvent 
*) ((wxShowEvent 
*) x
)); 
46824 static void *_p_wxMenuItemTo_p_wxObject(void *x
) { 
46825     return (void *)((wxObject 
*)  ((wxMenuItem 
*) x
)); 
46827 static void *_p_wxDateEventTo_p_wxObject(void *x
) { 
46828     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxDateEvent 
*) x
)); 
46830 static void *_p_wxIdleEventTo_p_wxObject(void *x
) { 
46831     return (void *)((wxObject 
*) (wxEvent 
*) ((wxIdleEvent 
*) x
)); 
46833 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) { 
46834     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxWindowCreateEvent 
*) x
)); 
46836 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) { 
46837     return (void *)((wxObject 
*) (wxEvent 
*) ((wxQueryNewPaletteEvent 
*) x
)); 
46839 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) { 
46840     return (void *)((wxObject 
*) (wxEvent 
*) ((wxMaximizeEvent 
*) x
)); 
46842 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) { 
46843     return (void *)((wxObject 
*) (wxEvent 
*) ((wxIconizeEvent 
*) x
)); 
46845 static void *_p_wxSizeEventTo_p_wxObject(void *x
) { 
46846     return (void *)((wxObject 
*) (wxEvent 
*) ((wxSizeEvent 
*) x
)); 
46848 static void *_p_wxMoveEventTo_p_wxObject(void *x
) { 
46849     return (void *)((wxObject 
*) (wxEvent 
*) ((wxMoveEvent 
*) x
)); 
46851 static void *_p_wxActivateEventTo_p_wxObject(void *x
) { 
46852     return (void *)((wxObject 
*) (wxEvent 
*) ((wxActivateEvent 
*) x
)); 
46854 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) { 
46855     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxXPMHandler 
*) x
)); 
46857 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) { 
46858     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxPNMHandler 
*) x
)); 
46860 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) { 
46861     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxJPEGHandler 
*) x
)); 
46863 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) { 
46864     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxPCXHandler 
*) x
)); 
46866 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) { 
46867     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxGIFHandler 
*) x
)); 
46869 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) { 
46870     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxPNGHandler 
*) x
)); 
46872 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) { 
46873     return (void *)((wxObject 
*) (wxImageHandler 
*)(wxBMPHandler 
*)(wxICOHandler 
*)(wxCURHandler 
*) ((wxANIHandler 
*) x
)); 
46875 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) { 
46876     return (void *)((wxObject 
*) (wxImageHandler 
*)(wxBMPHandler 
*)(wxICOHandler 
*) ((wxCURHandler 
*) x
)); 
46878 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) { 
46879     return (void *)((wxObject 
*) (wxImageHandler 
*)(wxBMPHandler 
*) ((wxICOHandler 
*) x
)); 
46881 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) { 
46882     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxBMPHandler 
*) x
)); 
46884 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) { 
46885     return (void *)((wxObject 
*)  ((wxImageHandler 
*) x
)); 
46887 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) { 
46888     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxTIFFHandler 
*) x
)); 
46890 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) { 
46891     return (void *)((wxObject 
*)  ((wxEvtHandler 
*) x
)); 
46893 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) { 
46894     return (void *)((wxObject 
*) (wxSizer 
*)(wxBoxSizer 
*) ((wxStdDialogButtonSizer 
*) x
)); 
46896 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) { 
46897     return (void *)((wxObject 
*)  ((wxAcceleratorTable 
*) x
)); 
46899 static void *_p_wxImageTo_p_wxObject(void *x
) { 
46900     return (void *)((wxObject 
*)  ((wxImage 
*) x
)); 
46902 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) { 
46903     return (void *)((wxObject 
*) (wxEvent 
*) ((wxScrollWinEvent 
*) x
)); 
46905 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) { 
46906     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxWindowDestroyEvent 
*) x
)); 
46908 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) { 
46909     return (void *)((wxObject 
*) (wxEvent 
*) ((wxNavigationKeyEvent 
*) x
)); 
46911 static void *_p_wxKeyEventTo_p_wxObject(void *x
) { 
46912     return (void *)((wxObject 
*) (wxEvent 
*) ((wxKeyEvent 
*) x
)); 
46914 static void *_p_wxWindowTo_p_wxObject(void *x
) { 
46915     return (void *)((wxObject 
*) (wxEvtHandler 
*) ((wxWindow 
*) x
)); 
46917 static void *_p_wxMenuTo_p_wxObject(void *x
) { 
46918     return (void *)((wxObject 
*) (wxEvtHandler 
*) ((wxMenu 
*) x
)); 
46920 static void *_p_wxMenuBarTo_p_wxObject(void *x
) { 
46921     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*) ((wxMenuBar 
*) x
)); 
46923 static void *_p_wxFileSystemTo_p_wxObject(void *x
) { 
46924     return (void *)((wxObject 
*)  ((wxFileSystem 
*) x
)); 
46926 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) { 
46927     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxContextMenuEvent 
*) x
)); 
46929 static void *_p_wxMenuEventTo_p_wxObject(void *x
) { 
46930     return (void *)((wxObject 
*) (wxEvent 
*) ((wxMenuEvent 
*) x
)); 
46932 static void *_p_wxPyAppTo_p_wxObject(void *x
) { 
46933     return (void *)((wxObject 
*) (wxEvtHandler 
*) ((wxPyApp 
*) x
)); 
46935 static void *_p_wxCloseEventTo_p_wxObject(void *x
) { 
46936     return (void *)((wxObject 
*) (wxEvent 
*) ((wxCloseEvent 
*) x
)); 
46938 static void *_p_wxMouseEventTo_p_wxObject(void *x
) { 
46939     return (void *)((wxObject 
*) (wxEvent 
*) ((wxMouseEvent 
*) x
)); 
46941 static void *_p_wxEraseEventTo_p_wxObject(void *x
) { 
46942     return (void *)((wxObject 
*) (wxEvent 
*) ((wxEraseEvent 
*) x
)); 
46944 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) { 
46945     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxPyCommandEvent 
*) x
)); 
46947 static void *_p_wxCommandEventTo_p_wxObject(void *x
) { 
46948     return (void *)((wxObject 
*) (wxEvent 
*) ((wxCommandEvent 
*) x
)); 
46950 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) { 
46951     return (void *)((wxObject 
*) (wxEvent 
*) ((wxDropFilesEvent 
*) x
)); 
46953 static void *_p_wxFocusEventTo_p_wxObject(void *x
) { 
46954     return (void *)((wxObject 
*) (wxEvent 
*) ((wxFocusEvent 
*) x
)); 
46956 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) { 
46957     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxChildFocusEvent 
*) x
)); 
46959 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) { 
46960     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxControl 
*) ((wxControlWithItems 
*) x
)); 
46962 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) { 
46963     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxValidator 
*) ((wxPyValidator 
*) x
)); 
46965 static void *_p_wxValidatorTo_p_wxObject(void *x
) { 
46966     return (void *)((wxObject 
*) (wxEvtHandler 
*) ((wxValidator 
*) x
)); 
46968 static void *_p_wxControlTo_p_wxWindow(void *x
) { 
46969     return (void *)((wxWindow 
*)  ((wxControl 
*) x
)); 
46971 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) { 
46972     return (void *)((wxWindow 
*) (wxControl 
*) ((wxControlWithItems 
*) x
)); 
46974 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) { 
46975     return (void *)((wxWindow 
*)  ((wxMenuBar 
*) x
)); 
46977 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) { 
46978     return (void *)((wxCommandEvent 
*)  ((wxChildFocusEvent 
*) x
)); 
46980 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) { 
46981     return (void *)((wxCommandEvent 
*)  ((wxScrollEvent 
*) x
)); 
46983 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) { 
46984     return (void *)((wxCommandEvent 
*)  ((wxWindowCreateEvent 
*) x
)); 
46986 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) { 
46987     return (void *)((wxCommandEvent 
*)  ((wxDateEvent 
*) x
)); 
46989 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) { 
46990     return (void *)((wxCommandEvent 
*)  ((wxUpdateUIEvent 
*) x
)); 
46992 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) { 
46993     return (void *)((wxCommandEvent 
*)  ((wxWindowDestroyEvent 
*) x
)); 
46995 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) { 
46996     return (void *)((wxCommandEvent 
*)  ((wxContextMenuEvent 
*) x
)); 
46998 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) { 
46999     return (void *)((wxCommandEvent 
*)  ((wxNotifyEvent 
*) x
)); 
47001 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) { 
47002     return (void *)((wxCommandEvent 
*)  ((wxPyCommandEvent 
*) x
)); 
47004 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) { 
47005     return (void *)((wxValidator 
*)  ((wxPyValidator 
*) x
)); 
47007 static swig_type_info _swigt__p_wxLayoutConstraints
[] = {{"_p_wxLayoutConstraints", 0, "wxLayoutConstraints *", 0, 0, 0, 0},{"_p_wxLayoutConstraints", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
47008 static swig_type_info _swigt__p_wxRealPoint
[] = {{"_p_wxRealPoint", 0, "wxRealPoint *", 0, 0, 0, 0},{"_p_wxRealPoint", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
47009 static swig_type_info _swigt__p_wxSizerItem
[] = {{"_p_wxSizerItem", 0, "wxSizerItem *", 0, 0, 0, 0},{"_p_wxSizerItem", 0, 0, 0, 0, 0, 0},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxSizerItem
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
47010 static swig_type_info _swigt__p_wxGBSizerItem
[] = {{"_p_wxGBSizerItem", 0, "wxGBSizerItem *", 0, 0, 0, 0},{"_p_wxGBSizerItem", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
47011 static swig_type_info _swigt__p_wxScrollEvent
[] = {{"_p_wxScrollEvent", 0, "wxScrollEvent *", 0, 0, 0, 0},{"_p_wxScrollEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
47012 static swig_type_info _swigt__p_wxEventLoop
[] = {{"_p_wxEventLoop", 0, "wxEventLoop *", 0, 0, 0, 0},{"_p_wxEventLoop", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
47013 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
[] = {{"_p_wxIndividualLayoutConstraint", 0, "wxIndividualLayoutConstraint *", 0, 0, 0, 0},{"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
47014 static swig_type_info _swigt__p_wxSizer
[] = {{"_p_wxSizer", 0, "wxSizer *", 0, 0, 0, 0},{"_p_wxSizer", 0, 0, 0, 0, 0, 0},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxSizer
, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxSizer
, 0, 0, 0, 0, 0},{"_p_wxStdDialogButtonSizer", _p_wxStdDialogButtonSizerTo_p_wxSizer
, 0, 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxSizer
, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxSizer
, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxSizer
, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxSizer
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
47015 static swig_type_info _swigt__p_wxBoxSizer
[] = {{"_p_wxBoxSizer", 0, "wxBoxSizer *", 0, 0, 0, 0},{"_p_wxBoxSizer", 0, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxBoxSizer
, 0, 0, 0, 0, 0},{"_p_wxStdDialogButtonSizer", _p_wxStdDialogButtonSizerTo_p_wxBoxSizer
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
47016 static swig_type_info _swigt__p_wxStaticBoxSizer
[] = {{"_p_wxStaticBoxSizer", 0, "wxStaticBoxSizer *", 0, 0, 0, 0},{"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
47017 static swig_type_info _swigt__p_wxGridBagSizer
[] = {{"_p_wxGridBagSizer", 0, "wxGridBagSizer *", 0, 0, 0, 0},{"_p_wxGridBagSizer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
47018 static swig_type_info _swigt__p_wxAcceleratorEntry
[] = {{"_p_wxAcceleratorEntry", 0, "wxAcceleratorEntry *", 0, 0, 0, 0},{"_p_wxAcceleratorEntry", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
47019 static swig_type_info _swigt__p_wxUpdateUIEvent
[] = {{"_p_wxUpdateUIEvent", 0, "wxUpdateUIEvent *", 0, 0, 0, 0},{"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
47020 static swig_type_info _swigt__p_wxEvent
[] = {{"_p_wxEvent", 0, "wxEvent *", 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxEvent", 0, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxDateEvent", _p_wxDateEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
47021 static swig_type_info _swigt__p_wxMenu
[] = {{"_p_wxMenu", 0, "wxMenu *", 0, 0, 0, 0},{"_p_wxMenu", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
47022 static swig_type_info _swigt__p_wxGridSizer
[] = {{"_p_wxGridSizer", 0, "wxGridSizer *", 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxGridSizer
, 0, 0, 0, 0, 0},{"_p_wxGridSizer", 0, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxGridSizer
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
47023 static swig_type_info _swigt__p_wxFlexGridSizer
[] = {{"_p_wxFlexGridSizer", 0, "wxFlexGridSizer *", 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxFlexGridSizer
, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
47024 static swig_type_info _swigt__p_wxInitDialogEvent
[] = {{"_p_wxInitDialogEvent", 0, "wxInitDialogEvent *", 0, 0, 0, 0},{"_p_wxInitDialogEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
47025 static swig_type_info _swigt__p_wxItemContainer
[] = {{"_p_wxItemContainer", 0, "wxItemContainer *", 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxItemContainer
, 0, 0, 0, 0, 0},{"_p_wxItemContainer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
47026 static swig_type_info _swigt__p_wxNcPaintEvent
[] = {{"_p_wxNcPaintEvent", 0, "wxNcPaintEvent *", 0, 0, 0, 0},{"_p_wxNcPaintEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
47027 static swig_type_info _swigt__p_wxPaintEvent
[] = {{"_p_wxPaintEvent", 0, "wxPaintEvent *", 0, 0, 0, 0},{"_p_wxPaintEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
47028 static swig_type_info _swigt__p_wxSysColourChangedEvent
[] = {{"_p_wxSysColourChangedEvent", 0, "wxSysColourChangedEvent *", 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
47029 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
[] = {{"_p_wxMouseCaptureChangedEvent", 0, "wxMouseCaptureChangedEvent *", 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
47030 static swig_type_info _swigt__p_wxDisplayChangedEvent
[] = {{"_p_wxDisplayChangedEvent", 0, "wxDisplayChangedEvent *", 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
47031 static swig_type_info _swigt__p_wxPaletteChangedEvent
[] = {{"_p_wxPaletteChangedEvent", 0, "wxPaletteChangedEvent *", 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
47032 static swig_type_info _swigt__p_wxControl
[] = {{"_p_wxControl", 0, "wxControl *", 0, 0, 0, 0},{"_p_wxControl", 0, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxControl
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
47033 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}}; 
47034 static swig_type_info _swigt__p_wxMenuBarBase
[] = {{"_p_wxMenuBarBase", 0, "wxMenuBarBase *", 0, 0, 0, 0},{"_p_wxMenuBarBase", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
47035 static swig_type_info _swigt__p_wxSetCursorEvent
[] = {{"_p_wxSetCursorEvent", 0, "wxSetCursorEvent *", 0, 0, 0, 0},{"_p_wxSetCursorEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
47036 static swig_type_info _swigt__p_wxFSFile
[] = {{"_p_wxFSFile", 0, "wxFSFile *", 0, 0, 0, 0},{"_p_wxFSFile", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
47037 static swig_type_info _swigt__p_wxCaret
[] = {{"_p_wxCaret", 0, "wxCaret *", 0, 0, 0, 0},{"_p_wxCaret", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
47038 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}}; 
47039 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}}; 
47040 static swig_type_info _swigt__p_wxRegion
[] = {{"_p_wxRegion", 0, "wxRegion *", 0, 0, 0, 0},{"_p_wxRegion", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
47041 static swig_type_info _swigt__p_wxPoint2D
[] = {{"_p_wxPoint2D", 0, "wxPoint2D *", 0, 0, 0, 0},{"_p_wxPoint2D", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
47042 static swig_type_info _swigt__p_int
[] = {{"_p_int", 0, "int *", 0, 0, 0, 0},{"_p_int", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
47043 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}}; 
47044 static swig_type_info _swigt__p_wxDC
[] = {{"_p_wxDC", 0, "wxDC *", 0, 0, 0, 0},{"_p_wxDC", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
47045 static swig_type_info _swigt__p_wxPySizer
[] = {{"_p_wxPySizer", 0, "wxPySizer *", 0, 0, 0, 0},{"_p_wxPySizer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
47046 static swig_type_info _swigt__p_wxVisualAttributes
[] = {{"_p_wxVisualAttributes", 0, "wxVisualAttributes *", 0, 0, 0, 0},{"_p_wxVisualAttributes", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
47047 static swig_type_info _swigt__p_wxNotifyEvent
[] = {{"_p_wxNotifyEvent", 0, "wxNotifyEvent *", 0, 0, 0, 0},{"_p_wxNotifyEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
47048 static swig_type_info _swigt__p_wxPyEvent
[] = {{"_p_wxPyEvent", 0, "wxPyEvent *", 0, 0, 0, 0},{"_p_wxPyEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
47049 static swig_type_info _swigt__p_wxPropagationDisabler
[] = {{"_p_wxPropagationDisabler", 0, "wxPropagationDisabler *", 0, 0, 0, 0},{"_p_wxPropagationDisabler", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
47050 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}}; 
47051 static swig_type_info _swigt__p_wxAppTraits
[] = {{"_p_wxAppTraits", 0, "wxAppTraits *", 0, 0, 0, 0},{"_p_wxAppTraits", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
47052 static swig_type_info _swigt__p_wxArrayString
[] = {{"_p_wxArrayString", 0, "wxArrayString *", 0, 0, 0, 0},{"_p_wxArrayString", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
47053 static swig_type_info _swigt__p_wxShowEvent
[] = {{"_p_wxShowEvent", 0, "wxShowEvent *", 0, 0, 0, 0},{"_p_wxShowEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
47054 static swig_type_info _swigt__p_wxToolTip
[] = {{"_p_wxToolTip", 0, "wxToolTip *", 0, 0, 0, 0},{"_p_wxToolTip", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
47055 static swig_type_info _swigt__p_wxMoveEvent
[] = {{"_p_wxMoveEvent", 0, "wxMoveEvent *", 0, 0, 0, 0},{"_p_wxMoveEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
47056 static swig_type_info _swigt__p_wxSizeEvent
[] = {{"_p_wxSizeEvent", 0, "wxSizeEvent *", 0, 0, 0, 0},{"_p_wxSizeEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
47057 static swig_type_info _swigt__p_wxActivateEvent
[] = {{"_p_wxActivateEvent", 0, "wxActivateEvent *", 0, 0, 0, 0},{"_p_wxActivateEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
47058 static swig_type_info _swigt__p_wxIconizeEvent
[] = {{"_p_wxIconizeEvent", 0, "wxIconizeEvent *", 0, 0, 0, 0},{"_p_wxIconizeEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
47059 static swig_type_info _swigt__p_wxMaximizeEvent
[] = {{"_p_wxMaximizeEvent", 0, "wxMaximizeEvent *", 0, 0, 0, 0},{"_p_wxMaximizeEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
47060 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
[] = {{"_p_wxQueryNewPaletteEvent", 0, "wxQueryNewPaletteEvent *", 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
47061 static swig_type_info _swigt__p_wxWindowCreateEvent
[] = {{"_p_wxWindowCreateEvent", 0, "wxWindowCreateEvent *", 0, 0, 0, 0},{"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
47062 static swig_type_info _swigt__p_wxIdleEvent
[] = {{"_p_wxIdleEvent", 0, "wxIdleEvent *", 0, 0, 0, 0},{"_p_wxIdleEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
47063 static swig_type_info _swigt__p_wxDateEvent
[] = {{"_p_wxDateEvent", 0, "wxDateEvent *", 0, 0, 0, 0},{"_p_wxDateEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
47064 static swig_type_info _swigt__p_wxMenuItem
[] = {{"_p_wxMenuItem", 0, "wxMenuItem *", 0, 0, 0, 0},{"_p_wxMenuItem", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
47065 static swig_type_info _swigt__p_wxStaticBox
[] = {{"_p_wxStaticBox", 0, "wxStaticBox *", 0, 0, 0, 0},{"_p_wxStaticBox", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
47066 static swig_type_info _swigt__p_long
[] = {{"_p_long", 0, "long *", 0, 0, 0, 0},{"_p_long", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
47067 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}}; 
47068 static swig_type_info _swigt__p_wxTIFFHandler
[] = {{"_p_wxTIFFHandler", 0, "wxTIFFHandler *", 0, 0, 0, 0},{"_p_wxTIFFHandler", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
47069 static swig_type_info _swigt__p_wxXPMHandler
[] = {{"_p_wxXPMHandler", 0, "wxXPMHandler *", 0, 0, 0, 0},{"_p_wxXPMHandler", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
47070 static swig_type_info _swigt__p_wxPNMHandler
[] = {{"_p_wxPNMHandler", 0, "wxPNMHandler *", 0, 0, 0, 0},{"_p_wxPNMHandler", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
47071 static swig_type_info _swigt__p_wxJPEGHandler
[] = {{"_p_wxJPEGHandler", 0, "wxJPEGHandler *", 0, 0, 0, 0},{"_p_wxJPEGHandler", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
47072 static swig_type_info _swigt__p_wxPCXHandler
[] = {{"_p_wxPCXHandler", 0, "wxPCXHandler *", 0, 0, 0, 0},{"_p_wxPCXHandler", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
47073 static swig_type_info _swigt__p_wxGIFHandler
[] = {{"_p_wxGIFHandler", 0, "wxGIFHandler *", 0, 0, 0, 0},{"_p_wxGIFHandler", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
47074 static swig_type_info _swigt__p_wxPNGHandler
[] = {{"_p_wxPNGHandler", 0, "wxPNGHandler *", 0, 0, 0, 0},{"_p_wxPNGHandler", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
47075 static swig_type_info _swigt__p_wxANIHandler
[] = {{"_p_wxANIHandler", 0, "wxANIHandler *", 0, 0, 0, 0},{"_p_wxANIHandler", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
47076 static swig_type_info _swigt__p_wxMemoryFSHandler
[] = {{"_p_wxMemoryFSHandler", 0, "wxMemoryFSHandler *", 0, 0, 0, 0},{"_p_wxMemoryFSHandler", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
47077 static swig_type_info _swigt__p_wxZipFSHandler
[] = {{"_p_wxZipFSHandler", 0, "wxZipFSHandler *", 0, 0, 0, 0},{"_p_wxZipFSHandler", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
47078 static swig_type_info _swigt__p_wxInternetFSHandler
[] = {{"_p_wxInternetFSHandler", 0, "wxInternetFSHandler *", 0, 0, 0, 0},{"_p_wxInternetFSHandler", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
47079 static swig_type_info _swigt__p_wxPyFileSystemHandler
[] = {{"_p_wxPyFileSystemHandler", 0, "wxPyFileSystemHandler *", 0, 0, 0, 0},{"_p_wxPyFileSystemHandler", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
47080 static swig_type_info _swigt__p_wxEvtHandler
[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", 0, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
47081 static swig_type_info _swigt__p_wxCURHandler
[] = {{"_p_wxCURHandler", 0, "wxCURHandler *", 0, 0, 0, 0},{"_p_wxCURHandler", 0, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxCURHandler
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
47082 static swig_type_info _swigt__p_wxICOHandler
[] = {{"_p_wxICOHandler", 0, "wxICOHandler *", 0, 0, 0, 0},{"_p_wxICOHandler", 0, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxICOHandler
, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxICOHandler
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
47083 static swig_type_info _swigt__p_wxBMPHandler
[] = {{"_p_wxBMPHandler", 0, "wxBMPHandler *", 0, 0, 0, 0},{"_p_wxBMPHandler", 0, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxBMPHandler
, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxBMPHandler
, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxBMPHandler
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
47084 static swig_type_info _swigt__p_wxImageHandler
[] = {{"_p_wxImageHandler", 0, "wxImageHandler *", 0, 0, 0, 0},{"_p_wxImageHandler", 0, 0, 0, 0, 0, 0},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxImageHandler
, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxImageHandler
, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxImageHandler
, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxImageHandler
, 0, 0, 0, 0, 0},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxImageHandler
, 0, 0, 0, 0, 0},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxImageHandler
, 0, 0, 0, 0, 0},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxImageHandler
, 0, 0, 0, 0, 0},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxImageHandler
, 0, 0, 0, 0, 0},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxImageHandler
, 0, 0, 0, 0, 0},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxImageHandler
, 0, 0, 0, 0, 0},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxImageHandler
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
47085 static swig_type_info _swigt__p_wxFileSystemHandler
[] = {{"_p_wxFileSystemHandler", 0, "wxFileSystemHandler *", 0, 0, 0, 0},{"_p_wxFileSystemHandler", 0, 0, 0, 0, 0, 0},{"_p_wxPyFileSystemHandler", _p_wxPyFileSystemHandlerTo_p_wxFileSystemHandler
, 0, 0, 0, 0, 0},{"_p_wxInternetFSHandler", _p_wxInternetFSHandlerTo_p_wxFileSystemHandler
, 0, 0, 0, 0, 0},{"_p_wxZipFSHandler", _p_wxZipFSHandlerTo_p_wxFileSystemHandler
, 0, 0, 0, 0, 0},{"_p_wxMemoryFSHandler", _p_wxMemoryFSHandlerTo_p_wxFileSystemHandler
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
47086 static swig_type_info _swigt__p_wxRect
[] = {{"_p_wxRect", 0, "wxRect *", 0, 0, 0, 0},{"_p_wxRect", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
47087 static swig_type_info _swigt__p_wxButton
[] = {{"_p_wxButton", 0, "wxButton *", 0, 0, 0, 0},{"_p_wxButton", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
47088 static swig_type_info _swigt__p_wxGBSpan
[] = {{"_p_wxGBSpan", 0, "wxGBSpan *", 0, 0, 0, 0},{"_p_wxGBSpan", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
47089 static swig_type_info _swigt__p_wxPropagateOnce
[] = {{"_p_wxPropagateOnce", 0, "wxPropagateOnce *", 0, 0, 0, 0},{"_p_wxPropagateOnce", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
47090 static swig_type_info _swigt__p_wxAcceleratorTable
[] = {{"_p_wxAcceleratorTable", 0, "wxAcceleratorTable *", 0, 0, 0, 0},{"_p_wxAcceleratorTable", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
47091 static swig_type_info _swigt__p_wxStdDialogButtonSizer
[] = {{"_p_wxStdDialogButtonSizer", 0, "wxStdDialogButtonSizer *", 0, 0, 0, 0},{"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
47092 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}}; 
47093 static swig_type_info _swigt__p_wxGBPosition
[] = {{"_p_wxGBPosition", 0, "wxGBPosition *", 0, 0, 0, 0},{"_p_wxGBPosition", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
47094 static swig_type_info _swigt__p_wxImage
[] = {{"_p_wxImage", 0, "wxImage *", 0, 0, 0, 0},{"_p_wxImage", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
47095 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}}; 
47096 static swig_type_info _swigt__p_wxScrollWinEvent
[] = {{"_p_wxScrollWinEvent", 0, "wxScrollWinEvent *", 0, 0, 0, 0},{"_p_wxScrollWinEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
47097 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}}; 
47098 static swig_type_info _swigt__p_wxImageHistogram
[] = {{"_p_wxImageHistogram", 0, "wxImageHistogram *", 0, 0, 0, 0},{"_p_wxImageHistogram", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
47099 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}}; 
47100 static swig_type_info _swigt__p_wxCursor
[] = {{"_p_wxCursor", 0, "wxCursor *", 0, 0, 0, 0},{"_p_wxCursor", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
47101 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_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_wxDateEvent", _p_wxDateEventTo_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_wxActivateEvent", _p_wxActivateEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_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_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_wxKeyEvent", _p_wxKeyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_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_wxCommandEvent", _p_wxCommandEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_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}}; 
47102 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}}; 
47103 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}}; 
47104 static swig_type_info _swigt__p_wxPyInputStream
[] = {{"_p_wxPyInputStream", 0, "wxPyInputStream *", 0, 0, 0, 0},{"_p_wxPyInputStream", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
47105 static swig_type_info _swigt__p_wxDateTime
[] = {{"_p_wxDateTime", 0, "wxDateTime *", 0, 0, 0, 0},{"_p_wxDateTime", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
47106 static swig_type_info _swigt__p_wxKeyEvent
[] = {{"_p_wxKeyEvent", 0, "wxKeyEvent *", 0, 0, 0, 0},{"_p_wxKeyEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
47107 static swig_type_info _swigt__p_wxNavigationKeyEvent
[] = {{"_p_wxNavigationKeyEvent", 0, "wxNavigationKeyEvent *", 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
47108 static swig_type_info _swigt__p_wxWindowDestroyEvent
[] = {{"_p_wxWindowDestroyEvent", 0, "wxWindowDestroyEvent *", 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
47109 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}}; 
47110 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}}; 
47111 static swig_type_info _swigt__p_wxMenuBar
[] = {{"_p_wxMenuBar", 0, "wxMenuBar *", 0, 0, 0, 0},{"_p_wxMenuBar", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
47112 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}}; 
47113 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}}; 
47114 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}}; 
47115 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}}; 
47116 static swig_type_info _swigt__p_wxMenuEvent
[] = {{"_p_wxMenuEvent", 0, "wxMenuEvent *", 0, 0, 0, 0},{"_p_wxMenuEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
47117 static swig_type_info _swigt__p_wxContextMenuEvent
[] = {{"_p_wxContextMenuEvent", 0, "wxContextMenuEvent *", 0, 0, 0, 0},{"_p_wxContextMenuEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
47118 static swig_type_info _swigt__p_unsigned_char
[] = {{"_p_unsigned_char", 0, "unsigned char *", 0, 0, 0, 0},{"_p_unsigned_char", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
47119 static swig_type_info _swigt__p_wxEraseEvent
[] = {{"_p_wxEraseEvent", 0, "wxEraseEvent *", 0, 0, 0, 0},{"_p_wxEraseEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
47120 static swig_type_info _swigt__p_wxMouseEvent
[] = {{"_p_wxMouseEvent", 0, "wxMouseEvent *", 0, 0, 0, 0},{"_p_wxMouseEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
47121 static swig_type_info _swigt__p_wxCloseEvent
[] = {{"_p_wxCloseEvent", 0, "wxCloseEvent *", 0, 0, 0, 0},{"_p_wxCloseEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
47122 static swig_type_info _swigt__p_wxPyApp
[] = {{"_p_wxPyApp", 0, "wxPyApp *", 0, 0, 0, 0},{"_p_wxPyApp", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
47123 static swig_type_info _swigt__p_wxCommandEvent
[] = {{"_p_wxCommandEvent", 0, "wxCommandEvent *", 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxDateEvent", _p_wxDateEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", 0, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
47124 static swig_type_info _swigt__p_wxPyCommandEvent
[] = {{"_p_wxPyCommandEvent", 0, "wxPyCommandEvent *", 0, 0, 0, 0},{"_p_wxPyCommandEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
47125 static swig_type_info _swigt__p_wxPyDropTarget
[] = {{"_p_wxPyDropTarget", 0, "wxPyDropTarget *", 0, 0, 0, 0},{"_p_wxPyDropTarget", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
47126 static swig_type_info _swigt__p_wxQuantize
[] = {{"_p_wxQuantize", 0, "wxQuantize *", 0, 0, 0, 0},{"_p_wxQuantize", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
47127 static swig_type_info _swigt__p_wxChildFocusEvent
[] = {{"_p_wxChildFocusEvent", 0, "wxChildFocusEvent *", 0, 0, 0, 0},{"_p_wxChildFocusEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
47128 static swig_type_info _swigt__p_wxFocusEvent
[] = {{"_p_wxFocusEvent", 0, "wxFocusEvent *", 0, 0, 0, 0},{"_p_wxFocusEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
47129 static swig_type_info _swigt__p_wxDropFilesEvent
[] = {{"_p_wxDropFilesEvent", 0, "wxDropFilesEvent *", 0, 0, 0, 0},{"_p_wxDropFilesEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
47130 static swig_type_info _swigt__p_wxControlWithItems
[] = {{"_p_wxControlWithItems", 0, "wxControlWithItems *", 0, 0, 0, 0},{"_p_wxControlWithItems", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
47131 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}}; 
47132 static swig_type_info _swigt__p_wxValidator
[] = {{"_p_wxValidator", 0, "wxValidator *", 0, 0, 0, 0},{"_p_wxValidator", 0, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxValidator
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
47133 static swig_type_info _swigt__p_wxPyValidator
[] = {{"_p_wxPyValidator", 0, "wxPyValidator *", 0, 0, 0, 0},{"_p_wxPyValidator", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
47135 static swig_type_info 
*swig_types_initial
[] = { 
47136 _swigt__p_wxLayoutConstraints
,  
47137 _swigt__p_wxRealPoint
,  
47138 _swigt__p_wxSizerItem
,  
47139 _swigt__p_wxGBSizerItem
,  
47140 _swigt__p_wxScrollEvent
,  
47141 _swigt__p_wxEventLoop
,  
47142 _swigt__p_wxIndividualLayoutConstraint
,  
47144 _swigt__p_wxBoxSizer
,  
47145 _swigt__p_wxStaticBoxSizer
,  
47146 _swigt__p_wxGridBagSizer
,  
47147 _swigt__p_wxAcceleratorEntry
,  
47148 _swigt__p_wxUpdateUIEvent
,  
47151 _swigt__p_wxGridSizer
,  
47152 _swigt__p_wxFlexGridSizer
,  
47153 _swigt__p_wxInitDialogEvent
,  
47154 _swigt__p_wxItemContainer
,  
47155 _swigt__p_wxNcPaintEvent
,  
47156 _swigt__p_wxPaintEvent
,  
47157 _swigt__p_wxSysColourChangedEvent
,  
47158 _swigt__p_wxMouseCaptureChangedEvent
,  
47159 _swigt__p_wxDisplayChangedEvent
,  
47160 _swigt__p_wxPaletteChangedEvent
,  
47161 _swigt__p_wxControl
,  
47163 _swigt__p_wxMenuBarBase
,  
47164 _swigt__p_wxSetCursorEvent
,  
47165 _swigt__p_wxFSFile
,  
47168 _swigt__std__ptrdiff_t
,  
47169 _swigt__p_wxRegion
,  
47170 _swigt__p_wxPoint2D
,  
47174 _swigt__p_wxPySizer
,  
47175 _swigt__p_wxVisualAttributes
,  
47176 _swigt__p_wxNotifyEvent
,  
47177 _swigt__p_wxPyEvent
,  
47178 _swigt__p_wxPropagationDisabler
,  
47179 _swigt__p_form_ops_t
,  
47180 _swigt__p_wxAppTraits
,  
47181 _swigt__p_wxArrayString
,  
47182 _swigt__p_wxShowEvent
,  
47183 _swigt__p_wxToolTip
,  
47184 _swigt__p_wxMoveEvent
,  
47185 _swigt__p_wxSizeEvent
,  
47186 _swigt__p_wxActivateEvent
,  
47187 _swigt__p_wxIconizeEvent
,  
47188 _swigt__p_wxMaximizeEvent
,  
47189 _swigt__p_wxQueryNewPaletteEvent
,  
47190 _swigt__p_wxWindowCreateEvent
,  
47191 _swigt__p_wxIdleEvent
,  
47192 _swigt__p_wxDateEvent
,  
47193 _swigt__p_wxMenuItem
,  
47194 _swigt__p_wxStaticBox
,  
47196 _swigt__p_wxDuplexMode
,  
47197 _swigt__p_wxTIFFHandler
,  
47198 _swigt__p_wxXPMHandler
,  
47199 _swigt__p_wxPNMHandler
,  
47200 _swigt__p_wxJPEGHandler
,  
47201 _swigt__p_wxPCXHandler
,  
47202 _swigt__p_wxGIFHandler
,  
47203 _swigt__p_wxPNGHandler
,  
47204 _swigt__p_wxANIHandler
,  
47205 _swigt__p_wxMemoryFSHandler
,  
47206 _swigt__p_wxZipFSHandler
,  
47207 _swigt__p_wxInternetFSHandler
,  
47208 _swigt__p_wxPyFileSystemHandler
,  
47209 _swigt__p_wxEvtHandler
,  
47210 _swigt__p_wxCURHandler
,  
47211 _swigt__p_wxICOHandler
,  
47212 _swigt__p_wxBMPHandler
,  
47213 _swigt__p_wxImageHandler
,  
47214 _swigt__p_wxFileSystemHandler
,  
47216 _swigt__p_wxButton
,  
47217 _swigt__p_wxGBSpan
,  
47218 _swigt__p_wxPropagateOnce
,  
47219 _swigt__p_wxAcceleratorTable
,  
47220 _swigt__p_wxStdDialogButtonSizer
,  
47222 _swigt__p_wxGBPosition
,  
47225 _swigt__p_wxScrollWinEvent
,  
47226 _swigt__p_wxPaperSize
,  
47227 _swigt__p_wxImageHistogram
,  
47229 _swigt__p_wxCursor
,  
47230 _swigt__p_wxObject
,  
47231 _swigt__p_wxInputStream
,  
47232 _swigt__p_wxOutputStream
,  
47233 _swigt__p_wxPyInputStream
,  
47234 _swigt__p_wxDateTime
,  
47235 _swigt__p_wxKeyEvent
,  
47236 _swigt__p_wxNavigationKeyEvent
,  
47237 _swigt__p_wxWindowDestroyEvent
,  
47238 _swigt__p_unsigned_long
,  
47239 _swigt__p_wxWindow
,  
47240 _swigt__p_wxMenuBar
,  
47241 _swigt__p_wxFileSystem
,  
47242 _swigt__p_wxBitmap
,  
47243 _swigt__unsigned_int
,  
47244 _swigt__p_unsigned_int
,  
47245 _swigt__p_wxMenuEvent
,  
47246 _swigt__p_wxContextMenuEvent
,  
47247 _swigt__p_unsigned_char
,  
47248 _swigt__p_wxEraseEvent
,  
47249 _swigt__p_wxMouseEvent
,  
47250 _swigt__p_wxCloseEvent
,  
47252 _swigt__p_wxCommandEvent
,  
47253 _swigt__p_wxPyCommandEvent
,  
47254 _swigt__p_wxPyDropTarget
,  
47255 _swigt__p_wxQuantize
,  
47256 _swigt__p_wxChildFocusEvent
,  
47257 _swigt__p_wxFocusEvent
,  
47258 _swigt__p_wxDropFilesEvent
,  
47259 _swigt__p_wxControlWithItems
,  
47260 _swigt__p_wxColour
,  
47261 _swigt__p_wxValidator
,  
47262 _swigt__p_wxPyValidator
,  
47267 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */ 
47269 static swig_const_info swig_const_table
[] = { 
47270 {0, 0, 0, 0.0, 0, 0}}; 
47281     /* Python-specific SWIG API */ 
47282 #define SWIG_newvarlink()                             SWIG_Python_newvarlink() 
47283 #define SWIG_addvarlink(p, name, get_attr, set_attr)  SWIG_Python_addvarlink(p, name, get_attr, set_attr) 
47284 #define SWIG_InstallConstants(d, constants)           SWIG_Python_InstallConstants(d, constants) 
47286     /* ----------------------------------------------------------------------------- 
47287      * global variable support code. 
47288      * ----------------------------------------------------------------------------- */ 
47290     typedef struct swig_globalvar 
{ 
47291         char       *name
;                  /* Name of global variable */ 
47292         PyObject 
*(*get_attr
)();           /* Return the current value */ 
47293         int       (*set_attr
)(PyObject 
*); /* Set the value */ 
47294         struct swig_globalvar 
*next
; 
47297     typedef struct swig_varlinkobject 
{ 
47299         swig_globalvar 
*vars
; 
47300     } swig_varlinkobject
; 
47303     swig_varlink_repr(swig_varlinkobject 
*v
) { 
47305         return PyString_FromString("<Swig global variables>"); 
47309     swig_varlink_print(swig_varlinkobject 
*v
, FILE *fp
, int flags
) { 
47310         swig_globalvar  
*var
; 
47312         fprintf(fp
,"Swig global variables { "); 
47313         for (var 
= v
->vars
; var
; var
=var
->next
) { 
47314             fprintf(fp
,"%s", var
->name
); 
47315             if (var
->next
) fprintf(fp
,", "); 
47317         fprintf(fp
," }\n"); 
47322     swig_varlink_getattr(swig_varlinkobject 
*v
, char *n
) { 
47323         swig_globalvar 
*var 
= v
->vars
; 
47325             if (strcmp(var
->name
,n
) == 0) { 
47326                 return (*var
->get_attr
)(); 
47330         PyErr_SetString(PyExc_NameError
,"Unknown C global variable"); 
47335     swig_varlink_setattr(swig_varlinkobject 
*v
, char *n
, PyObject 
*p
) { 
47336         swig_globalvar 
*var 
= v
->vars
; 
47338             if (strcmp(var
->name
,n
) == 0) { 
47339                 return (*var
->set_attr
)(p
); 
47343         PyErr_SetString(PyExc_NameError
,"Unknown C global variable"); 
47347     static PyTypeObject varlinktype 
= { 
47348         PyObject_HEAD_INIT(0)               
47349         0,                                  /* Number of items in variable part (ob_size) */ 
47350         (char *)"swigvarlink",              /* Type name (tp_name) */ 
47351         sizeof(swig_varlinkobject
),         /* Basic size (tp_basicsize) */ 
47352         0,                                  /* Itemsize (tp_itemsize) */ 
47353         0,                                  /* Deallocator (tp_dealloc) */  
47354         (printfunc
) swig_varlink_print
,     /* Print (tp_print) */ 
47355         (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */ 
47356         (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */ 
47357         0,                                  /* tp_compare */ 
47358         (reprfunc
) swig_varlink_repr
,       /* tp_repr */ 
47359         0,                                  /* tp_as_number */ 
47360         0,                                  /* tp_as_sequence */ 
47361         0,                                  /* tp_as_mapping */ 
47365         0,                                  /* tp_getattro */ 
47366         0,                                  /* tp_setattro */ 
47367         0,                                  /* tp_as_buffer */ 
47370 #if PY_VERSION_HEX >= 0x02000000 
47371         0,                                  /* tp_traverse */ 
47374 #if PY_VERSION_HEX >= 0x02010000 
47375         0,                                  /* tp_richcompare */ 
47376         0,                                  /* tp_weaklistoffset */ 
47378 #if PY_VERSION_HEX >= 0x02020000 
47379         0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */ 
47381 #if PY_VERSION_HEX >= 0x02030000 
47384 #ifdef COUNT_ALLOCS 
47385         0,0,0,0                             /* tp_alloc -> tp_next */ 
47389     /* Create a variable linking object for use later */ 
47391     SWIG_Python_newvarlink(void) { 
47392         swig_varlinkobject 
*result 
= 0; 
47393         result 
= PyMem_NEW(swig_varlinkobject
,1); 
47394         varlinktype
.ob_type 
= &PyType_Type
;    /* Patch varlinktype into a PyType */ 
47395         result
->ob_type 
= &varlinktype
; 
47397         result
->ob_refcnt 
= 0; 
47398         Py_XINCREF((PyObject 
*) result
); 
47399         return ((PyObject
*) result
); 
47403     SWIG_Python_addvarlink(PyObject 
*p
, char *name
, PyObject 
*(*get_attr
)(void), int (*set_attr
)(PyObject 
*p
)) { 
47404         swig_varlinkobject 
*v
; 
47405         swig_globalvar 
*gv
; 
47406         v
= (swig_varlinkobject 
*) p
; 
47407         gv 
= (swig_globalvar 
*) malloc(sizeof(swig_globalvar
)); 
47408         gv
->name 
= (char *) malloc(strlen(name
)+1); 
47409         strcpy(gv
->name
,name
); 
47410         gv
->get_attr 
= get_attr
; 
47411         gv
->set_attr 
= set_attr
; 
47412         gv
->next 
= v
->vars
; 
47416     /* ----------------------------------------------------------------------------- 
47417      * constants/methods manipulation 
47418      * ----------------------------------------------------------------------------- */ 
47420     /* Install Constants */ 
47422     SWIG_Python_InstallConstants(PyObject 
*d
, swig_const_info constants
[]) { 
47425         for (i 
= 0; constants
[i
].type
; i
++) { 
47426             switch(constants
[i
].type
) { 
47428                 obj 
= PyInt_FromLong(constants
[i
].lvalue
); 
47430                 case SWIG_PY_FLOAT
: 
47431                 obj 
= PyFloat_FromDouble(constants
[i
].dvalue
); 
47433                 case SWIG_PY_STRING
: 
47434                 if (constants
[i
].pvalue
) { 
47435                     obj 
= PyString_FromString((char *) constants
[i
].pvalue
); 
47437                     Py_INCREF(Py_None
); 
47441                 case SWIG_PY_POINTER
: 
47442                 obj 
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0); 
47444                 case SWIG_PY_BINARY
: 
47445                 obj 
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
)); 
47452                 PyDict_SetItemString(d
,constants
[i
].name
,obj
); 
47458     /* -----------------------------------------------------------------------------*/ 
47459     /* Fix SwigMethods to carry the callback ptrs when needed */ 
47460     /* -----------------------------------------------------------------------------*/ 
47463     SWIG_Python_FixMethods(PyMethodDef 
*methods
, 
47464     swig_const_info 
*const_table
, 
47465     swig_type_info 
**types
, 
47466     swig_type_info 
**types_initial
) { 
47468         for (i 
= 0; methods
[i
].ml_name
; ++i
) { 
47469             char *c 
= methods
[i
].ml_doc
; 
47470             if (c 
&& (c 
= strstr(c
, "swig_ptr: "))) { 
47472                 swig_const_info 
*ci 
= 0; 
47473                 char *name 
= c 
+ 10; 
47474                 for (j 
= 0; const_table
[j
].type
; j
++) { 
47475                     if (strncmp(const_table
[j
].name
, name
,  
47476                     strlen(const_table
[j
].name
)) == 0) { 
47477                         ci 
= &(const_table
[j
]); 
47482                     size_t shift 
= (ci
->ptype
) - types
; 
47483                     swig_type_info 
*ty 
= types_initial
[shift
]; 
47484                     size_t ldoc 
= (c 
- methods
[i
].ml_doc
); 
47485                     size_t lptr 
= strlen(ty
->name
)+2*sizeof(void*)+2; 
47486                     char *ndoc 
= (char*)malloc(ldoc 
+ lptr 
+ 10); 
47488                     void *ptr 
= (ci
->type 
== SWIG_PY_POINTER
) ? ci
->pvalue
: (void *)(ci
->lvalue
); 
47489                     strncpy(buff
, methods
[i
].ml_doc
, ldoc
); 
47491                     strncpy(buff
, "swig_ptr: ", 10); 
47493                     SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
); 
47494                     methods
[i
].ml_doc 
= ndoc
; 
47500     /* -----------------------------------------------------------------------------* 
47501      *  Initialize type list 
47502      * -----------------------------------------------------------------------------*/ 
47504 #if PY_MAJOR_VERSION < 2 
47505     /* PyModule_AddObject function was introduced in Python 2.0.  The following function 
47506     is copied out of Python/modsupport.c in python version 2.3.4 */ 
47508     PyModule_AddObject(PyObject 
*m
, char *name
, PyObject 
*o
) 
47511         if (!PyModule_Check(m
)) { 
47512             PyErr_SetString(PyExc_TypeError
, 
47513             "PyModule_AddObject() needs module as first arg"); 
47517             PyErr_SetString(PyExc_TypeError
, 
47518             "PyModule_AddObject() needs non-NULL value"); 
47522         dict 
= PyModule_GetDict(m
); 
47523         if (dict 
== NULL
) { 
47524             /* Internal error -- modules must have a dict! */ 
47525             PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__", 
47526             PyModule_GetName(m
)); 
47529         if (PyDict_SetItemString(dict
, name
, o
)) 
47536     static swig_type_info 
** 
47537     SWIG_Python_SetTypeListHandle(swig_type_info 
**type_list_handle
) { 
47538         static PyMethodDef swig_empty_runtime_method_table
[] = { 
47540                 NULL
, NULL
, 0, NULL
 
47544         PyObject 
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
, 
47545         swig_empty_runtime_method_table
); 
47546         PyObject 
*pointer 
= PyCObject_FromVoidPtr((void *) type_list_handle
, NULL
); 
47547         if (pointer 
&& module) { 
47548             PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
); 
47550         return type_list_handle
; 
47553     static swig_type_info 
** 
47554     SWIG_Python_LookupTypePointer(swig_type_info 
**type_list_handle
) { 
47555         swig_type_info 
**type_pointer
; 
47557         /* first check if module already created */ 
47558         type_pointer 
= SWIG_Python_GetTypeListHandle(); 
47559         if (type_pointer
) { 
47560             return type_pointer
; 
47562             /* create a new module and variable */ 
47563             return SWIG_Python_SetTypeListHandle(type_list_handle
); 
47571 /* -----------------------------------------------------------------------------* 
47572  *  Partial Init method 
47573  * -----------------------------------------------------------------------------*/ 
47575 #ifdef SWIG_LINK_RUNTIME 
47579 SWIGEXPORT(void *) SWIG_ReturnGlobalTypeList(void *); 
47585 SWIGEXPORT(void) SWIG_init(void) { 
47586     static PyObject 
*SWIG_globals 
= 0;  
47587     static int       typeinit 
= 0; 
47590     if (!SWIG_globals
) SWIG_globals 
= SWIG_newvarlink(); 
47592     /* Fix SwigMethods to carry the callback ptrs when needed */ 
47593     SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_types_initial
); 
47595     m 
= Py_InitModule((char *) SWIG_name
, SwigMethods
); 
47596     d 
= PyModule_GetDict(m
); 
47599 #ifdef SWIG_LINK_RUNTIME 
47600         swig_type_list_handle 
= (swig_type_info 
**) SWIG_ReturnGlobalTypeList(swig_type_list_handle
); 
47602 #  ifndef SWIG_STATIC_RUNTIME 
47603         swig_type_list_handle 
= SWIG_Python_LookupTypePointer(swig_type_list_handle
); 
47606         for (i 
= 0; swig_types_initial
[i
]; i
++) { 
47607             swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]); 
47611     SWIG_InstallConstants(d
,swig_const_table
); 
47614 #ifndef wxPyUSE_EXPORT 
47615     // Make our API structure a CObject so other modules can import it 
47616     // from this module. 
47617     PyObject
* cobj 
= PyCObject_FromVoidPtr(&API
, NULL
); 
47618     PyDict_SetItemString(d
,"_wxPyCoreAPI", cobj
); 
47623         PyDict_SetItemString(d
,"NOT_FOUND", SWIG_From_int((int)(wxNOT_FOUND
)));  
47626         PyDict_SetItemString(d
,"VSCROLL", SWIG_From_int((int)(wxVSCROLL
)));  
47629         PyDict_SetItemString(d
,"HSCROLL", SWIG_From_int((int)(wxHSCROLL
)));  
47632         PyDict_SetItemString(d
,"CAPTION", SWIG_From_int((int)(wxCAPTION
)));  
47635         PyDict_SetItemString(d
,"DOUBLE_BORDER", SWIG_From_int((int)(wxDOUBLE_BORDER
)));  
47638         PyDict_SetItemString(d
,"SUNKEN_BORDER", SWIG_From_int((int)(wxSUNKEN_BORDER
)));  
47641         PyDict_SetItemString(d
,"RAISED_BORDER", SWIG_From_int((int)(wxRAISED_BORDER
)));  
47644         PyDict_SetItemString(d
,"BORDER", SWIG_From_int((int)(wxBORDER
)));  
47647         PyDict_SetItemString(d
,"SIMPLE_BORDER", SWIG_From_int((int)(wxSIMPLE_BORDER
)));  
47650         PyDict_SetItemString(d
,"STATIC_BORDER", SWIG_From_int((int)(wxSTATIC_BORDER
)));  
47653         PyDict_SetItemString(d
,"TRANSPARENT_WINDOW", SWIG_From_int((int)(wxTRANSPARENT_WINDOW
)));  
47656         PyDict_SetItemString(d
,"NO_BORDER", SWIG_From_int((int)(wxNO_BORDER
)));  
47659         PyDict_SetItemString(d
,"TAB_TRAVERSAL", SWIG_From_int((int)(wxTAB_TRAVERSAL
)));  
47662         PyDict_SetItemString(d
,"WANTS_CHARS", SWIG_From_int((int)(wxWANTS_CHARS
)));  
47665         PyDict_SetItemString(d
,"POPUP_WINDOW", SWIG_From_int((int)(wxPOPUP_WINDOW
)));  
47668         PyDict_SetItemString(d
,"CENTER_FRAME", SWIG_From_int((int)(wxCENTER_FRAME
)));  
47671         PyDict_SetItemString(d
,"CENTRE_ON_SCREEN", SWIG_From_int((int)(wxCENTRE_ON_SCREEN
)));  
47674         PyDict_SetItemString(d
,"CENTER_ON_SCREEN", SWIG_From_int((int)(wxCENTER_ON_SCREEN
)));  
47677         PyDict_SetItemString(d
,"CLIP_CHILDREN", SWIG_From_int((int)(wxCLIP_CHILDREN
)));  
47680         PyDict_SetItemString(d
,"CLIP_SIBLINGS", SWIG_From_int((int)(wxCLIP_SIBLINGS
)));  
47683         PyDict_SetItemString(d
,"ALWAYS_SHOW_SB", SWIG_From_int((int)(wxALWAYS_SHOW_SB
)));  
47686         PyDict_SetItemString(d
,"RETAINED", SWIG_From_int((int)(wxRETAINED
)));  
47689         PyDict_SetItemString(d
,"BACKINGSTORE", SWIG_From_int((int)(wxBACKINGSTORE
)));  
47692         PyDict_SetItemString(d
,"COLOURED", SWIG_From_int((int)(wxCOLOURED
)));  
47695         PyDict_SetItemString(d
,"FIXED_LENGTH", SWIG_From_int((int)(wxFIXED_LENGTH
)));  
47698         PyDict_SetItemString(d
,"LB_NEEDED_SB", SWIG_From_int((int)(wxLB_NEEDED_SB
)));  
47701         PyDict_SetItemString(d
,"LB_ALWAYS_SB", SWIG_From_int((int)(wxLB_ALWAYS_SB
)));  
47704         PyDict_SetItemString(d
,"LB_SORT", SWIG_From_int((int)(wxLB_SORT
)));  
47707         PyDict_SetItemString(d
,"LB_SINGLE", SWIG_From_int((int)(wxLB_SINGLE
)));  
47710         PyDict_SetItemString(d
,"LB_MULTIPLE", SWIG_From_int((int)(wxLB_MULTIPLE
)));  
47713         PyDict_SetItemString(d
,"LB_EXTENDED", SWIG_From_int((int)(wxLB_EXTENDED
)));  
47716         PyDict_SetItemString(d
,"LB_OWNERDRAW", SWIG_From_int((int)(wxLB_OWNERDRAW
)));  
47719         PyDict_SetItemString(d
,"LB_HSCROLL", SWIG_From_int((int)(wxLB_HSCROLL
)));  
47722         PyDict_SetItemString(d
,"PROCESS_ENTER", SWIG_From_int((int)(wxPROCESS_ENTER
)));  
47725         PyDict_SetItemString(d
,"PASSWORD", SWIG_From_int((int)(wxPASSWORD
)));  
47728         PyDict_SetItemString(d
,"CB_SIMPLE", SWIG_From_int((int)(wxCB_SIMPLE
)));  
47731         PyDict_SetItemString(d
,"CB_DROPDOWN", SWIG_From_int((int)(wxCB_DROPDOWN
)));  
47734         PyDict_SetItemString(d
,"CB_SORT", SWIG_From_int((int)(wxCB_SORT
)));  
47737         PyDict_SetItemString(d
,"CB_READONLY", SWIG_From_int((int)(wxCB_READONLY
)));  
47740         PyDict_SetItemString(d
,"RA_HORIZONTAL", SWIG_From_int((int)(wxRA_HORIZONTAL
)));  
47743         PyDict_SetItemString(d
,"RA_VERTICAL", SWIG_From_int((int)(wxRA_VERTICAL
)));  
47746         PyDict_SetItemString(d
,"RA_SPECIFY_ROWS", SWIG_From_int((int)(wxRA_SPECIFY_ROWS
)));  
47749         PyDict_SetItemString(d
,"RA_SPECIFY_COLS", SWIG_From_int((int)(wxRA_SPECIFY_COLS
)));  
47752         PyDict_SetItemString(d
,"RA_USE_CHECKBOX", SWIG_From_int((int)(wxRA_USE_CHECKBOX
)));  
47755         PyDict_SetItemString(d
,"RB_GROUP", SWIG_From_int((int)(wxRB_GROUP
)));  
47758         PyDict_SetItemString(d
,"RB_SINGLE", SWIG_From_int((int)(wxRB_SINGLE
)));  
47761         PyDict_SetItemString(d
,"SB_HORIZONTAL", SWIG_From_int((int)(wxSB_HORIZONTAL
)));  
47764         PyDict_SetItemString(d
,"SB_VERTICAL", SWIG_From_int((int)(wxSB_VERTICAL
)));  
47767         PyDict_SetItemString(d
,"RB_USE_CHECKBOX", SWIG_From_int((int)(wxRB_USE_CHECKBOX
)));  
47770         PyDict_SetItemString(d
,"ST_SIZEGRIP", SWIG_From_int((int)(wxST_SIZEGRIP
)));  
47773         PyDict_SetItemString(d
,"ST_NO_AUTORESIZE", SWIG_From_int((int)(wxST_NO_AUTORESIZE
)));  
47776         PyDict_SetItemString(d
,"FLOOD_SURFACE", SWIG_From_int((int)(wxFLOOD_SURFACE
)));  
47779         PyDict_SetItemString(d
,"FLOOD_BORDER", SWIG_From_int((int)(wxFLOOD_BORDER
)));  
47782         PyDict_SetItemString(d
,"ODDEVEN_RULE", SWIG_From_int((int)(wxODDEVEN_RULE
)));  
47785         PyDict_SetItemString(d
,"WINDING_RULE", SWIG_From_int((int)(wxWINDING_RULE
)));  
47788         PyDict_SetItemString(d
,"TOOL_TOP", SWIG_From_int((int)(wxTOOL_TOP
)));  
47791         PyDict_SetItemString(d
,"TOOL_BOTTOM", SWIG_From_int((int)(wxTOOL_BOTTOM
)));  
47794         PyDict_SetItemString(d
,"TOOL_LEFT", SWIG_From_int((int)(wxTOOL_LEFT
)));  
47797         PyDict_SetItemString(d
,"TOOL_RIGHT", SWIG_From_int((int)(wxTOOL_RIGHT
)));  
47800         PyDict_SetItemString(d
,"OK", SWIG_From_int((int)(wxOK
)));  
47803         PyDict_SetItemString(d
,"YES_NO", SWIG_From_int((int)(wxYES_NO
)));  
47806         PyDict_SetItemString(d
,"CANCEL", SWIG_From_int((int)(wxCANCEL
)));  
47809         PyDict_SetItemString(d
,"YES", SWIG_From_int((int)(wxYES
)));  
47812         PyDict_SetItemString(d
,"NO", SWIG_From_int((int)(wxNO
)));  
47815         PyDict_SetItemString(d
,"NO_DEFAULT", SWIG_From_int((int)(wxNO_DEFAULT
)));  
47818         PyDict_SetItemString(d
,"YES_DEFAULT", SWIG_From_int((int)(wxYES_DEFAULT
)));  
47821         PyDict_SetItemString(d
,"ICON_EXCLAMATION", SWIG_From_int((int)(wxICON_EXCLAMATION
)));  
47824         PyDict_SetItemString(d
,"ICON_HAND", SWIG_From_int((int)(wxICON_HAND
)));  
47827         PyDict_SetItemString(d
,"ICON_QUESTION", SWIG_From_int((int)(wxICON_QUESTION
)));  
47830         PyDict_SetItemString(d
,"ICON_INFORMATION", SWIG_From_int((int)(wxICON_INFORMATION
)));  
47833         PyDict_SetItemString(d
,"ICON_STOP", SWIG_From_int((int)(wxICON_STOP
)));  
47836         PyDict_SetItemString(d
,"ICON_ASTERISK", SWIG_From_int((int)(wxICON_ASTERISK
)));  
47839         PyDict_SetItemString(d
,"ICON_MASK", SWIG_From_int((int)(wxICON_MASK
)));  
47842         PyDict_SetItemString(d
,"ICON_WARNING", SWIG_From_int((int)(wxICON_WARNING
)));  
47845         PyDict_SetItemString(d
,"ICON_ERROR", SWIG_From_int((int)(wxICON_ERROR
)));  
47848         PyDict_SetItemString(d
,"FORWARD", SWIG_From_int((int)(wxFORWARD
)));  
47851         PyDict_SetItemString(d
,"BACKWARD", SWIG_From_int((int)(wxBACKWARD
)));  
47854         PyDict_SetItemString(d
,"RESET", SWIG_From_int((int)(wxRESET
)));  
47857         PyDict_SetItemString(d
,"HELP", SWIG_From_int((int)(wxHELP
)));  
47860         PyDict_SetItemString(d
,"MORE", SWIG_From_int((int)(wxMORE
)));  
47863         PyDict_SetItemString(d
,"SETUP", SWIG_From_int((int)(wxSETUP
)));  
47866         PyDict_SetItemString(d
,"SIZE_AUTO_WIDTH", SWIG_From_int((int)(wxSIZE_AUTO_WIDTH
)));  
47869         PyDict_SetItemString(d
,"SIZE_AUTO_HEIGHT", SWIG_From_int((int)(wxSIZE_AUTO_HEIGHT
)));  
47872         PyDict_SetItemString(d
,"SIZE_AUTO", SWIG_From_int((int)(wxSIZE_AUTO
)));  
47875         PyDict_SetItemString(d
,"SIZE_USE_EXISTING", SWIG_From_int((int)(wxSIZE_USE_EXISTING
)));  
47878         PyDict_SetItemString(d
,"SIZE_ALLOW_MINUS_ONE", SWIG_From_int((int)(wxSIZE_ALLOW_MINUS_ONE
)));  
47881         PyDict_SetItemString(d
,"PORTRAIT", SWIG_From_int((int)(wxPORTRAIT
)));  
47884         PyDict_SetItemString(d
,"LANDSCAPE", SWIG_From_int((int)(wxLANDSCAPE
)));  
47887         PyDict_SetItemString(d
,"PRINT_QUALITY_HIGH", SWIG_From_int((int)(wxPRINT_QUALITY_HIGH
)));  
47890         PyDict_SetItemString(d
,"PRINT_QUALITY_MEDIUM", SWIG_From_int((int)(wxPRINT_QUALITY_MEDIUM
)));  
47893         PyDict_SetItemString(d
,"PRINT_QUALITY_LOW", SWIG_From_int((int)(wxPRINT_QUALITY_LOW
)));  
47896         PyDict_SetItemString(d
,"PRINT_QUALITY_DRAFT", SWIG_From_int((int)(wxPRINT_QUALITY_DRAFT
)));  
47899         PyDict_SetItemString(d
,"ID_ANY", SWIG_From_int((int)(wxID_ANY
)));  
47902         PyDict_SetItemString(d
,"ID_SEPARATOR", SWIG_From_int((int)(wxID_SEPARATOR
)));  
47905         PyDict_SetItemString(d
,"ID_LOWEST", SWIG_From_int((int)(wxID_LOWEST
)));  
47908         PyDict_SetItemString(d
,"ID_OPEN", SWIG_From_int((int)(wxID_OPEN
)));  
47911         PyDict_SetItemString(d
,"ID_CLOSE", SWIG_From_int((int)(wxID_CLOSE
)));  
47914         PyDict_SetItemString(d
,"ID_NEW", SWIG_From_int((int)(wxID_NEW
)));  
47917         PyDict_SetItemString(d
,"ID_SAVE", SWIG_From_int((int)(wxID_SAVE
)));  
47920         PyDict_SetItemString(d
,"ID_SAVEAS", SWIG_From_int((int)(wxID_SAVEAS
)));  
47923         PyDict_SetItemString(d
,"ID_REVERT", SWIG_From_int((int)(wxID_REVERT
)));  
47926         PyDict_SetItemString(d
,"ID_EXIT", SWIG_From_int((int)(wxID_EXIT
)));  
47929         PyDict_SetItemString(d
,"ID_UNDO", SWIG_From_int((int)(wxID_UNDO
)));  
47932         PyDict_SetItemString(d
,"ID_REDO", SWIG_From_int((int)(wxID_REDO
)));  
47935         PyDict_SetItemString(d
,"ID_HELP", SWIG_From_int((int)(wxID_HELP
)));  
47938         PyDict_SetItemString(d
,"ID_PRINT", SWIG_From_int((int)(wxID_PRINT
)));  
47941         PyDict_SetItemString(d
,"ID_PRINT_SETUP", SWIG_From_int((int)(wxID_PRINT_SETUP
)));  
47944         PyDict_SetItemString(d
,"ID_PREVIEW", SWIG_From_int((int)(wxID_PREVIEW
)));  
47947         PyDict_SetItemString(d
,"ID_ABOUT", SWIG_From_int((int)(wxID_ABOUT
)));  
47950         PyDict_SetItemString(d
,"ID_HELP_CONTENTS", SWIG_From_int((int)(wxID_HELP_CONTENTS
)));  
47953         PyDict_SetItemString(d
,"ID_HELP_COMMANDS", SWIG_From_int((int)(wxID_HELP_COMMANDS
)));  
47956         PyDict_SetItemString(d
,"ID_HELP_PROCEDURES", SWIG_From_int((int)(wxID_HELP_PROCEDURES
)));  
47959         PyDict_SetItemString(d
,"ID_HELP_CONTEXT", SWIG_From_int((int)(wxID_HELP_CONTEXT
)));  
47962         PyDict_SetItemString(d
,"ID_CLOSE_ALL", SWIG_From_int((int)(wxID_CLOSE_ALL
)));  
47965         PyDict_SetItemString(d
,"ID_PREFERENCES", SWIG_From_int((int)(wxID_PREFERENCES
)));  
47968         PyDict_SetItemString(d
,"ID_CUT", SWIG_From_int((int)(wxID_CUT
)));  
47971         PyDict_SetItemString(d
,"ID_COPY", SWIG_From_int((int)(wxID_COPY
)));  
47974         PyDict_SetItemString(d
,"ID_PASTE", SWIG_From_int((int)(wxID_PASTE
)));  
47977         PyDict_SetItemString(d
,"ID_CLEAR", SWIG_From_int((int)(wxID_CLEAR
)));  
47980         PyDict_SetItemString(d
,"ID_FIND", SWIG_From_int((int)(wxID_FIND
)));  
47983         PyDict_SetItemString(d
,"ID_DUPLICATE", SWIG_From_int((int)(wxID_DUPLICATE
)));  
47986         PyDict_SetItemString(d
,"ID_SELECTALL", SWIG_From_int((int)(wxID_SELECTALL
)));  
47989         PyDict_SetItemString(d
,"ID_DELETE", SWIG_From_int((int)(wxID_DELETE
)));  
47992         PyDict_SetItemString(d
,"ID_REPLACE", SWIG_From_int((int)(wxID_REPLACE
)));  
47995         PyDict_SetItemString(d
,"ID_REPLACE_ALL", SWIG_From_int((int)(wxID_REPLACE_ALL
)));  
47998         PyDict_SetItemString(d
,"ID_PROPERTIES", SWIG_From_int((int)(wxID_PROPERTIES
)));  
48001         PyDict_SetItemString(d
,"ID_VIEW_DETAILS", SWIG_From_int((int)(wxID_VIEW_DETAILS
)));  
48004         PyDict_SetItemString(d
,"ID_VIEW_LARGEICONS", SWIG_From_int((int)(wxID_VIEW_LARGEICONS
)));  
48007         PyDict_SetItemString(d
,"ID_VIEW_SMALLICONS", SWIG_From_int((int)(wxID_VIEW_SMALLICONS
)));  
48010         PyDict_SetItemString(d
,"ID_VIEW_LIST", SWIG_From_int((int)(wxID_VIEW_LIST
)));  
48013         PyDict_SetItemString(d
,"ID_VIEW_SORTDATE", SWIG_From_int((int)(wxID_VIEW_SORTDATE
)));  
48016         PyDict_SetItemString(d
,"ID_VIEW_SORTNAME", SWIG_From_int((int)(wxID_VIEW_SORTNAME
)));  
48019         PyDict_SetItemString(d
,"ID_VIEW_SORTSIZE", SWIG_From_int((int)(wxID_VIEW_SORTSIZE
)));  
48022         PyDict_SetItemString(d
,"ID_VIEW_SORTTYPE", SWIG_From_int((int)(wxID_VIEW_SORTTYPE
)));  
48025         PyDict_SetItemString(d
,"ID_FILE1", SWIG_From_int((int)(wxID_FILE1
)));  
48028         PyDict_SetItemString(d
,"ID_FILE2", SWIG_From_int((int)(wxID_FILE2
)));  
48031         PyDict_SetItemString(d
,"ID_FILE3", SWIG_From_int((int)(wxID_FILE3
)));  
48034         PyDict_SetItemString(d
,"ID_FILE4", SWIG_From_int((int)(wxID_FILE4
)));  
48037         PyDict_SetItemString(d
,"ID_FILE5", SWIG_From_int((int)(wxID_FILE5
)));  
48040         PyDict_SetItemString(d
,"ID_FILE6", SWIG_From_int((int)(wxID_FILE6
)));  
48043         PyDict_SetItemString(d
,"ID_FILE7", SWIG_From_int((int)(wxID_FILE7
)));  
48046         PyDict_SetItemString(d
,"ID_FILE8", SWIG_From_int((int)(wxID_FILE8
)));  
48049         PyDict_SetItemString(d
,"ID_FILE9", SWIG_From_int((int)(wxID_FILE9
)));  
48052         PyDict_SetItemString(d
,"ID_OK", SWIG_From_int((int)(wxID_OK
)));  
48055         PyDict_SetItemString(d
,"ID_CANCEL", SWIG_From_int((int)(wxID_CANCEL
)));  
48058         PyDict_SetItemString(d
,"ID_APPLY", SWIG_From_int((int)(wxID_APPLY
)));  
48061         PyDict_SetItemString(d
,"ID_YES", SWIG_From_int((int)(wxID_YES
)));  
48064         PyDict_SetItemString(d
,"ID_NO", SWIG_From_int((int)(wxID_NO
)));  
48067         PyDict_SetItemString(d
,"ID_STATIC", SWIG_From_int((int)(wxID_STATIC
)));  
48070         PyDict_SetItemString(d
,"ID_FORWARD", SWIG_From_int((int)(wxID_FORWARD
)));  
48073         PyDict_SetItemString(d
,"ID_BACKWARD", SWIG_From_int((int)(wxID_BACKWARD
)));  
48076         PyDict_SetItemString(d
,"ID_DEFAULT", SWIG_From_int((int)(wxID_DEFAULT
)));  
48079         PyDict_SetItemString(d
,"ID_MORE", SWIG_From_int((int)(wxID_MORE
)));  
48082         PyDict_SetItemString(d
,"ID_SETUP", SWIG_From_int((int)(wxID_SETUP
)));  
48085         PyDict_SetItemString(d
,"ID_RESET", SWIG_From_int((int)(wxID_RESET
)));  
48088         PyDict_SetItemString(d
,"ID_CONTEXT_HELP", SWIG_From_int((int)(wxID_CONTEXT_HELP
)));  
48091         PyDict_SetItemString(d
,"ID_YESTOALL", SWIG_From_int((int)(wxID_YESTOALL
)));  
48094         PyDict_SetItemString(d
,"ID_NOTOALL", SWIG_From_int((int)(wxID_NOTOALL
)));  
48097         PyDict_SetItemString(d
,"ID_ABORT", SWIG_From_int((int)(wxID_ABORT
)));  
48100         PyDict_SetItemString(d
,"ID_RETRY", SWIG_From_int((int)(wxID_RETRY
)));  
48103         PyDict_SetItemString(d
,"ID_IGNORE", SWIG_From_int((int)(wxID_IGNORE
)));  
48106         PyDict_SetItemString(d
,"ID_ADD", SWIG_From_int((int)(wxID_ADD
)));  
48109         PyDict_SetItemString(d
,"ID_REMOVE", SWIG_From_int((int)(wxID_REMOVE
)));  
48112         PyDict_SetItemString(d
,"ID_UP", SWIG_From_int((int)(wxID_UP
)));  
48115         PyDict_SetItemString(d
,"ID_DOWN", SWIG_From_int((int)(wxID_DOWN
)));  
48118         PyDict_SetItemString(d
,"ID_HOME", SWIG_From_int((int)(wxID_HOME
)));  
48121         PyDict_SetItemString(d
,"ID_REFRESH", SWIG_From_int((int)(wxID_REFRESH
)));  
48124         PyDict_SetItemString(d
,"ID_STOP", SWIG_From_int((int)(wxID_STOP
)));  
48127         PyDict_SetItemString(d
,"ID_INDEX", SWIG_From_int((int)(wxID_INDEX
)));  
48130         PyDict_SetItemString(d
,"ID_BOLD", SWIG_From_int((int)(wxID_BOLD
)));  
48133         PyDict_SetItemString(d
,"ID_ITALIC", SWIG_From_int((int)(wxID_ITALIC
)));  
48136         PyDict_SetItemString(d
,"ID_JUSTIFY_CENTER", SWIG_From_int((int)(wxID_JUSTIFY_CENTER
)));  
48139         PyDict_SetItemString(d
,"ID_JUSTIFY_FILL", SWIG_From_int((int)(wxID_JUSTIFY_FILL
)));  
48142         PyDict_SetItemString(d
,"ID_JUSTIFY_RIGHT", SWIG_From_int((int)(wxID_JUSTIFY_RIGHT
)));  
48145         PyDict_SetItemString(d
,"ID_JUSTIFY_LEFT", SWIG_From_int((int)(wxID_JUSTIFY_LEFT
)));  
48148         PyDict_SetItemString(d
,"ID_UNDERLINE", SWIG_From_int((int)(wxID_UNDERLINE
)));  
48151         PyDict_SetItemString(d
,"ID_INDENT", SWIG_From_int((int)(wxID_INDENT
)));  
48154         PyDict_SetItemString(d
,"ID_UNINDENT", SWIG_From_int((int)(wxID_UNINDENT
)));  
48157         PyDict_SetItemString(d
,"ID_ZOOM_100", SWIG_From_int((int)(wxID_ZOOM_100
)));  
48160         PyDict_SetItemString(d
,"ID_ZOOM_FIT", SWIG_From_int((int)(wxID_ZOOM_FIT
)));  
48163         PyDict_SetItemString(d
,"ID_ZOOM_IN", SWIG_From_int((int)(wxID_ZOOM_IN
)));  
48166         PyDict_SetItemString(d
,"ID_ZOOM_OUT", SWIG_From_int((int)(wxID_ZOOM_OUT
)));  
48169         PyDict_SetItemString(d
,"ID_UNDELETE", SWIG_From_int((int)(wxID_UNDELETE
)));  
48172         PyDict_SetItemString(d
,"ID_REVERT_TO_SAVED", SWIG_From_int((int)(wxID_REVERT_TO_SAVED
)));  
48175         PyDict_SetItemString(d
,"ID_HIGHEST", SWIG_From_int((int)(wxID_HIGHEST
)));  
48178         PyDict_SetItemString(d
,"OPEN", SWIG_From_int((int)(wxOPEN
)));  
48181         PyDict_SetItemString(d
,"SAVE", SWIG_From_int((int)(wxSAVE
)));  
48184         PyDict_SetItemString(d
,"HIDE_READONLY", SWIG_From_int((int)(wxHIDE_READONLY
)));  
48187         PyDict_SetItemString(d
,"OVERWRITE_PROMPT", SWIG_From_int((int)(wxOVERWRITE_PROMPT
)));  
48190         PyDict_SetItemString(d
,"FILE_MUST_EXIST", SWIG_From_int((int)(wxFILE_MUST_EXIST
)));  
48193         PyDict_SetItemString(d
,"MULTIPLE", SWIG_From_int((int)(wxMULTIPLE
)));  
48196         PyDict_SetItemString(d
,"CHANGE_DIR", SWIG_From_int((int)(wxCHANGE_DIR
)));  
48199         PyDict_SetItemString(d
,"ACCEL_ALT", SWIG_From_int((int)(wxACCEL_ALT
)));  
48202         PyDict_SetItemString(d
,"ACCEL_CTRL", SWIG_From_int((int)(wxACCEL_CTRL
)));  
48205         PyDict_SetItemString(d
,"ACCEL_SHIFT", SWIG_From_int((int)(wxACCEL_SHIFT
)));  
48208         PyDict_SetItemString(d
,"ACCEL_NORMAL", SWIG_From_int((int)(wxACCEL_NORMAL
)));  
48211         PyDict_SetItemString(d
,"PD_AUTO_HIDE", SWIG_From_int((int)(wxPD_AUTO_HIDE
)));  
48214         PyDict_SetItemString(d
,"PD_APP_MODAL", SWIG_From_int((int)(wxPD_APP_MODAL
)));  
48217         PyDict_SetItemString(d
,"PD_CAN_ABORT", SWIG_From_int((int)(wxPD_CAN_ABORT
)));  
48220         PyDict_SetItemString(d
,"PD_ELAPSED_TIME", SWIG_From_int((int)(wxPD_ELAPSED_TIME
)));  
48223         PyDict_SetItemString(d
,"PD_ESTIMATED_TIME", SWIG_From_int((int)(wxPD_ESTIMATED_TIME
)));  
48226         PyDict_SetItemString(d
,"PD_REMAINING_TIME", SWIG_From_int((int)(wxPD_REMAINING_TIME
)));  
48229         PyDict_SetItemString(d
,"PD_SMOOTH", SWIG_From_int((int)(wxPD_SMOOTH
)));  
48232         PyDict_SetItemString(d
,"PD_CAN_SKIP", SWIG_From_int((int)(wxPD_CAN_SKIP
)));  
48235         PyDict_SetItemString(d
,"DD_NEW_DIR_BUTTON", SWIG_From_int((int)(wxDD_NEW_DIR_BUTTON
)));  
48238         PyDict_SetItemString(d
,"DD_DEFAULT_STYLE", SWIG_From_int((int)(wxDD_DEFAULT_STYLE
)));  
48241         PyDict_SetItemString(d
,"MENU_TEAROFF", SWIG_From_int((int)(wxMENU_TEAROFF
)));  
48244         PyDict_SetItemString(d
,"MB_DOCKABLE", SWIG_From_int((int)(wxMB_DOCKABLE
)));  
48247         PyDict_SetItemString(d
,"NO_FULL_REPAINT_ON_RESIZE", SWIG_From_int((int)(wxNO_FULL_REPAINT_ON_RESIZE
)));  
48250         PyDict_SetItemString(d
,"FULL_REPAINT_ON_RESIZE", SWIG_From_int((int)(wxFULL_REPAINT_ON_RESIZE
)));  
48253         PyDict_SetItemString(d
,"LI_HORIZONTAL", SWIG_From_int((int)(wxLI_HORIZONTAL
)));  
48256         PyDict_SetItemString(d
,"LI_VERTICAL", SWIG_From_int((int)(wxLI_VERTICAL
)));  
48259         PyDict_SetItemString(d
,"WS_EX_VALIDATE_RECURSIVELY", SWIG_From_int((int)(wxWS_EX_VALIDATE_RECURSIVELY
)));  
48262         PyDict_SetItemString(d
,"WS_EX_BLOCK_EVENTS", SWIG_From_int((int)(wxWS_EX_BLOCK_EVENTS
)));  
48265         PyDict_SetItemString(d
,"WS_EX_TRANSIENT", SWIG_From_int((int)(wxWS_EX_TRANSIENT
)));  
48268         PyDict_SetItemString(d
,"WS_EX_THEMED_BACKGROUND", SWIG_From_int((int)(wxWS_EX_THEMED_BACKGROUND
)));  
48271         PyDict_SetItemString(d
,"WS_EX_PROCESS_IDLE", SWIG_From_int((int)(wxWS_EX_PROCESS_IDLE
)));  
48274         PyDict_SetItemString(d
,"WS_EX_PROCESS_UI_UPDATES", SWIG_From_int((int)(wxWS_EX_PROCESS_UI_UPDATES
)));  
48277         PyDict_SetItemString(d
,"MM_TEXT", SWIG_From_int((int)(wxMM_TEXT
)));  
48280         PyDict_SetItemString(d
,"MM_LOMETRIC", SWIG_From_int((int)(wxMM_LOMETRIC
)));  
48283         PyDict_SetItemString(d
,"MM_HIMETRIC", SWIG_From_int((int)(wxMM_HIMETRIC
)));  
48286         PyDict_SetItemString(d
,"MM_LOENGLISH", SWIG_From_int((int)(wxMM_LOENGLISH
)));  
48289         PyDict_SetItemString(d
,"MM_HIENGLISH", SWIG_From_int((int)(wxMM_HIENGLISH
)));  
48292         PyDict_SetItemString(d
,"MM_TWIPS", SWIG_From_int((int)(wxMM_TWIPS
)));  
48295         PyDict_SetItemString(d
,"MM_ISOTROPIC", SWIG_From_int((int)(wxMM_ISOTROPIC
)));  
48298         PyDict_SetItemString(d
,"MM_ANISOTROPIC", SWIG_From_int((int)(wxMM_ANISOTROPIC
)));  
48301         PyDict_SetItemString(d
,"MM_POINTS", SWIG_From_int((int)(wxMM_POINTS
)));  
48304         PyDict_SetItemString(d
,"MM_METRIC", SWIG_From_int((int)(wxMM_METRIC
)));  
48307         PyDict_SetItemString(d
,"CENTRE", SWIG_From_int((int)(wxCENTRE
)));  
48310         PyDict_SetItemString(d
,"CENTER", SWIG_From_int((int)(wxCENTER
)));  
48313         PyDict_SetItemString(d
,"HORIZONTAL", SWIG_From_int((int)(wxHORIZONTAL
)));  
48316         PyDict_SetItemString(d
,"VERTICAL", SWIG_From_int((int)(wxVERTICAL
)));  
48319         PyDict_SetItemString(d
,"BOTH", SWIG_From_int((int)(wxBOTH
)));  
48322         PyDict_SetItemString(d
,"LEFT", SWIG_From_int((int)(wxLEFT
)));  
48325         PyDict_SetItemString(d
,"RIGHT", SWIG_From_int((int)(wxRIGHT
)));  
48328         PyDict_SetItemString(d
,"UP", SWIG_From_int((int)(wxUP
)));  
48331         PyDict_SetItemString(d
,"DOWN", SWIG_From_int((int)(wxDOWN
)));  
48334         PyDict_SetItemString(d
,"TOP", SWIG_From_int((int)(wxTOP
)));  
48337         PyDict_SetItemString(d
,"BOTTOM", SWIG_From_int((int)(wxBOTTOM
)));  
48340         PyDict_SetItemString(d
,"NORTH", SWIG_From_int((int)(wxNORTH
)));  
48343         PyDict_SetItemString(d
,"SOUTH", SWIG_From_int((int)(wxSOUTH
)));  
48346         PyDict_SetItemString(d
,"WEST", SWIG_From_int((int)(wxWEST
)));  
48349         PyDict_SetItemString(d
,"EAST", SWIG_From_int((int)(wxEAST
)));  
48352         PyDict_SetItemString(d
,"ALL", SWIG_From_int((int)(wxALL
)));  
48355         PyDict_SetItemString(d
,"ALIGN_NOT", SWIG_From_int((int)(wxALIGN_NOT
)));  
48358         PyDict_SetItemString(d
,"ALIGN_CENTER_HORIZONTAL", SWIG_From_int((int)(wxALIGN_CENTER_HORIZONTAL
)));  
48361         PyDict_SetItemString(d
,"ALIGN_CENTRE_HORIZONTAL", SWIG_From_int((int)(wxALIGN_CENTRE_HORIZONTAL
)));  
48364         PyDict_SetItemString(d
,"ALIGN_LEFT", SWIG_From_int((int)(wxALIGN_LEFT
)));  
48367         PyDict_SetItemString(d
,"ALIGN_TOP", SWIG_From_int((int)(wxALIGN_TOP
)));  
48370         PyDict_SetItemString(d
,"ALIGN_RIGHT", SWIG_From_int((int)(wxALIGN_RIGHT
)));  
48373         PyDict_SetItemString(d
,"ALIGN_BOTTOM", SWIG_From_int((int)(wxALIGN_BOTTOM
)));  
48376         PyDict_SetItemString(d
,"ALIGN_CENTER_VERTICAL", SWIG_From_int((int)(wxALIGN_CENTER_VERTICAL
)));  
48379         PyDict_SetItemString(d
,"ALIGN_CENTRE_VERTICAL", SWIG_From_int((int)(wxALIGN_CENTRE_VERTICAL
)));  
48382         PyDict_SetItemString(d
,"ALIGN_CENTER", SWIG_From_int((int)(wxALIGN_CENTER
)));  
48385         PyDict_SetItemString(d
,"ALIGN_CENTRE", SWIG_From_int((int)(wxALIGN_CENTRE
)));  
48388         PyDict_SetItemString(d
,"ALIGN_MASK", SWIG_From_int((int)(wxALIGN_MASK
)));  
48391         PyDict_SetItemString(d
,"STRETCH_NOT", SWIG_From_int((int)(wxSTRETCH_NOT
)));  
48394         PyDict_SetItemString(d
,"SHRINK", SWIG_From_int((int)(wxSHRINK
)));  
48397         PyDict_SetItemString(d
,"GROW", SWIG_From_int((int)(wxGROW
)));  
48400         PyDict_SetItemString(d
,"EXPAND", SWIG_From_int((int)(wxEXPAND
)));  
48403         PyDict_SetItemString(d
,"SHAPED", SWIG_From_int((int)(wxSHAPED
)));  
48406         PyDict_SetItemString(d
,"FIXED_MINSIZE", SWIG_From_int((int)(wxFIXED_MINSIZE
)));  
48409         PyDict_SetItemString(d
,"TILE", SWIG_From_int((int)(wxTILE
)));  
48412         PyDict_SetItemString(d
,"ADJUST_MINSIZE", SWIG_From_int((int)(wxADJUST_MINSIZE
)));  
48415         PyDict_SetItemString(d
,"BORDER_DEFAULT", SWIG_From_int((int)(wxBORDER_DEFAULT
)));  
48418         PyDict_SetItemString(d
,"BORDER_NONE", SWIG_From_int((int)(wxBORDER_NONE
)));  
48421         PyDict_SetItemString(d
,"BORDER_STATIC", SWIG_From_int((int)(wxBORDER_STATIC
)));  
48424         PyDict_SetItemString(d
,"BORDER_SIMPLE", SWIG_From_int((int)(wxBORDER_SIMPLE
)));  
48427         PyDict_SetItemString(d
,"BORDER_RAISED", SWIG_From_int((int)(wxBORDER_RAISED
)));  
48430         PyDict_SetItemString(d
,"BORDER_SUNKEN", SWIG_From_int((int)(wxBORDER_SUNKEN
)));  
48433         PyDict_SetItemString(d
,"BORDER_DOUBLE", SWIG_From_int((int)(wxBORDER_DOUBLE
)));  
48436         PyDict_SetItemString(d
,"BORDER_MASK", SWIG_From_int((int)(wxBORDER_MASK
)));  
48439         PyDict_SetItemString(d
,"BG_STYLE_SYSTEM", SWIG_From_int((int)(wxBG_STYLE_SYSTEM
)));  
48442         PyDict_SetItemString(d
,"BG_STYLE_COLOUR", SWIG_From_int((int)(wxBG_STYLE_COLOUR
)));  
48445         PyDict_SetItemString(d
,"BG_STYLE_CUSTOM", SWIG_From_int((int)(wxBG_STYLE_CUSTOM
)));  
48448         PyDict_SetItemString(d
,"DEFAULT", SWIG_From_int((int)(wxDEFAULT
)));  
48451         PyDict_SetItemString(d
,"DECORATIVE", SWIG_From_int((int)(wxDECORATIVE
)));  
48454         PyDict_SetItemString(d
,"ROMAN", SWIG_From_int((int)(wxROMAN
)));  
48457         PyDict_SetItemString(d
,"SCRIPT", SWIG_From_int((int)(wxSCRIPT
)));  
48460         PyDict_SetItemString(d
,"SWISS", SWIG_From_int((int)(wxSWISS
)));  
48463         PyDict_SetItemString(d
,"MODERN", SWIG_From_int((int)(wxMODERN
)));  
48466         PyDict_SetItemString(d
,"TELETYPE", SWIG_From_int((int)(wxTELETYPE
)));  
48469         PyDict_SetItemString(d
,"VARIABLE", SWIG_From_int((int)(wxVARIABLE
)));  
48472         PyDict_SetItemString(d
,"FIXED", SWIG_From_int((int)(wxFIXED
)));  
48475         PyDict_SetItemString(d
,"NORMAL", SWIG_From_int((int)(wxNORMAL
)));  
48478         PyDict_SetItemString(d
,"LIGHT", SWIG_From_int((int)(wxLIGHT
)));  
48481         PyDict_SetItemString(d
,"BOLD", SWIG_From_int((int)(wxBOLD
)));  
48484         PyDict_SetItemString(d
,"ITALIC", SWIG_From_int((int)(wxITALIC
)));  
48487         PyDict_SetItemString(d
,"SLANT", SWIG_From_int((int)(wxSLANT
)));  
48490         PyDict_SetItemString(d
,"SOLID", SWIG_From_int((int)(wxSOLID
)));  
48493         PyDict_SetItemString(d
,"DOT", SWIG_From_int((int)(wxDOT
)));  
48496         PyDict_SetItemString(d
,"LONG_DASH", SWIG_From_int((int)(wxLONG_DASH
)));  
48499         PyDict_SetItemString(d
,"SHORT_DASH", SWIG_From_int((int)(wxSHORT_DASH
)));  
48502         PyDict_SetItemString(d
,"DOT_DASH", SWIG_From_int((int)(wxDOT_DASH
)));  
48505         PyDict_SetItemString(d
,"USER_DASH", SWIG_From_int((int)(wxUSER_DASH
)));  
48508         PyDict_SetItemString(d
,"TRANSPARENT", SWIG_From_int((int)(wxTRANSPARENT
)));  
48511         PyDict_SetItemString(d
,"STIPPLE", SWIG_From_int((int)(wxSTIPPLE
)));  
48514         PyDict_SetItemString(d
,"BDIAGONAL_HATCH", SWIG_From_int((int)(wxBDIAGONAL_HATCH
)));  
48517         PyDict_SetItemString(d
,"CROSSDIAG_HATCH", SWIG_From_int((int)(wxCROSSDIAG_HATCH
)));  
48520         PyDict_SetItemString(d
,"FDIAGONAL_HATCH", SWIG_From_int((int)(wxFDIAGONAL_HATCH
)));  
48523         PyDict_SetItemString(d
,"CROSS_HATCH", SWIG_From_int((int)(wxCROSS_HATCH
)));  
48526         PyDict_SetItemString(d
,"HORIZONTAL_HATCH", SWIG_From_int((int)(wxHORIZONTAL_HATCH
)));  
48529         PyDict_SetItemString(d
,"VERTICAL_HATCH", SWIG_From_int((int)(wxVERTICAL_HATCH
)));  
48532         PyDict_SetItemString(d
,"JOIN_BEVEL", SWIG_From_int((int)(wxJOIN_BEVEL
)));  
48535         PyDict_SetItemString(d
,"JOIN_MITER", SWIG_From_int((int)(wxJOIN_MITER
)));  
48538         PyDict_SetItemString(d
,"JOIN_ROUND", SWIG_From_int((int)(wxJOIN_ROUND
)));  
48541         PyDict_SetItemString(d
,"CAP_ROUND", SWIG_From_int((int)(wxCAP_ROUND
)));  
48544         PyDict_SetItemString(d
,"CAP_PROJECTING", SWIG_From_int((int)(wxCAP_PROJECTING
)));  
48547         PyDict_SetItemString(d
,"CAP_BUTT", SWIG_From_int((int)(wxCAP_BUTT
)));  
48550         PyDict_SetItemString(d
,"CLEAR", SWIG_From_int((int)(wxCLEAR
)));  
48553         PyDict_SetItemString(d
,"XOR", SWIG_From_int((int)(wxXOR
)));  
48556         PyDict_SetItemString(d
,"INVERT", SWIG_From_int((int)(wxINVERT
)));  
48559         PyDict_SetItemString(d
,"OR_REVERSE", SWIG_From_int((int)(wxOR_REVERSE
)));  
48562         PyDict_SetItemString(d
,"AND_REVERSE", SWIG_From_int((int)(wxAND_REVERSE
)));  
48565         PyDict_SetItemString(d
,"COPY", SWIG_From_int((int)(wxCOPY
)));  
48568         PyDict_SetItemString(d
,"AND", SWIG_From_int((int)(wxAND
)));  
48571         PyDict_SetItemString(d
,"AND_INVERT", SWIG_From_int((int)(wxAND_INVERT
)));  
48574         PyDict_SetItemString(d
,"NO_OP", SWIG_From_int((int)(wxNO_OP
)));  
48577         PyDict_SetItemString(d
,"NOR", SWIG_From_int((int)(wxNOR
)));  
48580         PyDict_SetItemString(d
,"EQUIV", SWIG_From_int((int)(wxEQUIV
)));  
48583         PyDict_SetItemString(d
,"SRC_INVERT", SWIG_From_int((int)(wxSRC_INVERT
)));  
48586         PyDict_SetItemString(d
,"OR_INVERT", SWIG_From_int((int)(wxOR_INVERT
)));  
48589         PyDict_SetItemString(d
,"NAND", SWIG_From_int((int)(wxNAND
)));  
48592         PyDict_SetItemString(d
,"OR", SWIG_From_int((int)(wxOR
)));  
48595         PyDict_SetItemString(d
,"SET", SWIG_From_int((int)(wxSET
)));  
48598         PyDict_SetItemString(d
,"WXK_BACK", SWIG_From_int((int)(WXK_BACK
)));  
48601         PyDict_SetItemString(d
,"WXK_TAB", SWIG_From_int((int)(WXK_TAB
)));  
48604         PyDict_SetItemString(d
,"WXK_RETURN", SWIG_From_int((int)(WXK_RETURN
)));  
48607         PyDict_SetItemString(d
,"WXK_ESCAPE", SWIG_From_int((int)(WXK_ESCAPE
)));  
48610         PyDict_SetItemString(d
,"WXK_SPACE", SWIG_From_int((int)(WXK_SPACE
)));  
48613         PyDict_SetItemString(d
,"WXK_DELETE", SWIG_From_int((int)(WXK_DELETE
)));  
48616         PyDict_SetItemString(d
,"WXK_START", SWIG_From_int((int)(WXK_START
)));  
48619         PyDict_SetItemString(d
,"WXK_LBUTTON", SWIG_From_int((int)(WXK_LBUTTON
)));  
48622         PyDict_SetItemString(d
,"WXK_RBUTTON", SWIG_From_int((int)(WXK_RBUTTON
)));  
48625         PyDict_SetItemString(d
,"WXK_CANCEL", SWIG_From_int((int)(WXK_CANCEL
)));  
48628         PyDict_SetItemString(d
,"WXK_MBUTTON", SWIG_From_int((int)(WXK_MBUTTON
)));  
48631         PyDict_SetItemString(d
,"WXK_CLEAR", SWIG_From_int((int)(WXK_CLEAR
)));  
48634         PyDict_SetItemString(d
,"WXK_SHIFT", SWIG_From_int((int)(WXK_SHIFT
)));  
48637         PyDict_SetItemString(d
,"WXK_ALT", SWIG_From_int((int)(WXK_ALT
)));  
48640         PyDict_SetItemString(d
,"WXK_CONTROL", SWIG_From_int((int)(WXK_CONTROL
)));  
48643         PyDict_SetItemString(d
,"WXK_MENU", SWIG_From_int((int)(WXK_MENU
)));  
48646         PyDict_SetItemString(d
,"WXK_PAUSE", SWIG_From_int((int)(WXK_PAUSE
)));  
48649         PyDict_SetItemString(d
,"WXK_CAPITAL", SWIG_From_int((int)(WXK_CAPITAL
)));  
48652         PyDict_SetItemString(d
,"WXK_PRIOR", SWIG_From_int((int)(WXK_PRIOR
)));  
48655         PyDict_SetItemString(d
,"WXK_NEXT", SWIG_From_int((int)(WXK_NEXT
)));  
48658         PyDict_SetItemString(d
,"WXK_END", SWIG_From_int((int)(WXK_END
)));  
48661         PyDict_SetItemString(d
,"WXK_HOME", SWIG_From_int((int)(WXK_HOME
)));  
48664         PyDict_SetItemString(d
,"WXK_LEFT", SWIG_From_int((int)(WXK_LEFT
)));  
48667         PyDict_SetItemString(d
,"WXK_UP", SWIG_From_int((int)(WXK_UP
)));  
48670         PyDict_SetItemString(d
,"WXK_RIGHT", SWIG_From_int((int)(WXK_RIGHT
)));  
48673         PyDict_SetItemString(d
,"WXK_DOWN", SWIG_From_int((int)(WXK_DOWN
)));  
48676         PyDict_SetItemString(d
,"WXK_SELECT", SWIG_From_int((int)(WXK_SELECT
)));  
48679         PyDict_SetItemString(d
,"WXK_PRINT", SWIG_From_int((int)(WXK_PRINT
)));  
48682         PyDict_SetItemString(d
,"WXK_EXECUTE", SWIG_From_int((int)(WXK_EXECUTE
)));  
48685         PyDict_SetItemString(d
,"WXK_SNAPSHOT", SWIG_From_int((int)(WXK_SNAPSHOT
)));  
48688         PyDict_SetItemString(d
,"WXK_INSERT", SWIG_From_int((int)(WXK_INSERT
)));  
48691         PyDict_SetItemString(d
,"WXK_HELP", SWIG_From_int((int)(WXK_HELP
)));  
48694         PyDict_SetItemString(d
,"WXK_NUMPAD0", SWIG_From_int((int)(WXK_NUMPAD0
)));  
48697         PyDict_SetItemString(d
,"WXK_NUMPAD1", SWIG_From_int((int)(WXK_NUMPAD1
)));  
48700         PyDict_SetItemString(d
,"WXK_NUMPAD2", SWIG_From_int((int)(WXK_NUMPAD2
)));  
48703         PyDict_SetItemString(d
,"WXK_NUMPAD3", SWIG_From_int((int)(WXK_NUMPAD3
)));  
48706         PyDict_SetItemString(d
,"WXK_NUMPAD4", SWIG_From_int((int)(WXK_NUMPAD4
)));  
48709         PyDict_SetItemString(d
,"WXK_NUMPAD5", SWIG_From_int((int)(WXK_NUMPAD5
)));  
48712         PyDict_SetItemString(d
,"WXK_NUMPAD6", SWIG_From_int((int)(WXK_NUMPAD6
)));  
48715         PyDict_SetItemString(d
,"WXK_NUMPAD7", SWIG_From_int((int)(WXK_NUMPAD7
)));  
48718         PyDict_SetItemString(d
,"WXK_NUMPAD8", SWIG_From_int((int)(WXK_NUMPAD8
)));  
48721         PyDict_SetItemString(d
,"WXK_NUMPAD9", SWIG_From_int((int)(WXK_NUMPAD9
)));  
48724         PyDict_SetItemString(d
,"WXK_MULTIPLY", SWIG_From_int((int)(WXK_MULTIPLY
)));  
48727         PyDict_SetItemString(d
,"WXK_ADD", SWIG_From_int((int)(WXK_ADD
)));  
48730         PyDict_SetItemString(d
,"WXK_SEPARATOR", SWIG_From_int((int)(WXK_SEPARATOR
)));  
48733         PyDict_SetItemString(d
,"WXK_SUBTRACT", SWIG_From_int((int)(WXK_SUBTRACT
)));  
48736         PyDict_SetItemString(d
,"WXK_DECIMAL", SWIG_From_int((int)(WXK_DECIMAL
)));  
48739         PyDict_SetItemString(d
,"WXK_DIVIDE", SWIG_From_int((int)(WXK_DIVIDE
)));  
48742         PyDict_SetItemString(d
,"WXK_F1", SWIG_From_int((int)(WXK_F1
)));  
48745         PyDict_SetItemString(d
,"WXK_F2", SWIG_From_int((int)(WXK_F2
)));  
48748         PyDict_SetItemString(d
,"WXK_F3", SWIG_From_int((int)(WXK_F3
)));  
48751         PyDict_SetItemString(d
,"WXK_F4", SWIG_From_int((int)(WXK_F4
)));  
48754         PyDict_SetItemString(d
,"WXK_F5", SWIG_From_int((int)(WXK_F5
)));  
48757         PyDict_SetItemString(d
,"WXK_F6", SWIG_From_int((int)(WXK_F6
)));  
48760         PyDict_SetItemString(d
,"WXK_F7", SWIG_From_int((int)(WXK_F7
)));  
48763         PyDict_SetItemString(d
,"WXK_F8", SWIG_From_int((int)(WXK_F8
)));  
48766         PyDict_SetItemString(d
,"WXK_F9", SWIG_From_int((int)(WXK_F9
)));  
48769         PyDict_SetItemString(d
,"WXK_F10", SWIG_From_int((int)(WXK_F10
)));  
48772         PyDict_SetItemString(d
,"WXK_F11", SWIG_From_int((int)(WXK_F11
)));  
48775         PyDict_SetItemString(d
,"WXK_F12", SWIG_From_int((int)(WXK_F12
)));  
48778         PyDict_SetItemString(d
,"WXK_F13", SWIG_From_int((int)(WXK_F13
)));  
48781         PyDict_SetItemString(d
,"WXK_F14", SWIG_From_int((int)(WXK_F14
)));  
48784         PyDict_SetItemString(d
,"WXK_F15", SWIG_From_int((int)(WXK_F15
)));  
48787         PyDict_SetItemString(d
,"WXK_F16", SWIG_From_int((int)(WXK_F16
)));  
48790         PyDict_SetItemString(d
,"WXK_F17", SWIG_From_int((int)(WXK_F17
)));  
48793         PyDict_SetItemString(d
,"WXK_F18", SWIG_From_int((int)(WXK_F18
)));  
48796         PyDict_SetItemString(d
,"WXK_F19", SWIG_From_int((int)(WXK_F19
)));  
48799         PyDict_SetItemString(d
,"WXK_F20", SWIG_From_int((int)(WXK_F20
)));  
48802         PyDict_SetItemString(d
,"WXK_F21", SWIG_From_int((int)(WXK_F21
)));  
48805         PyDict_SetItemString(d
,"WXK_F22", SWIG_From_int((int)(WXK_F22
)));  
48808         PyDict_SetItemString(d
,"WXK_F23", SWIG_From_int((int)(WXK_F23
)));  
48811         PyDict_SetItemString(d
,"WXK_F24", SWIG_From_int((int)(WXK_F24
)));  
48814         PyDict_SetItemString(d
,"WXK_NUMLOCK", SWIG_From_int((int)(WXK_NUMLOCK
)));  
48817         PyDict_SetItemString(d
,"WXK_SCROLL", SWIG_From_int((int)(WXK_SCROLL
)));  
48820         PyDict_SetItemString(d
,"WXK_PAGEUP", SWIG_From_int((int)(WXK_PAGEUP
)));  
48823         PyDict_SetItemString(d
,"WXK_PAGEDOWN", SWIG_From_int((int)(WXK_PAGEDOWN
)));  
48826         PyDict_SetItemString(d
,"WXK_NUMPAD_SPACE", SWIG_From_int((int)(WXK_NUMPAD_SPACE
)));  
48829         PyDict_SetItemString(d
,"WXK_NUMPAD_TAB", SWIG_From_int((int)(WXK_NUMPAD_TAB
)));  
48832         PyDict_SetItemString(d
,"WXK_NUMPAD_ENTER", SWIG_From_int((int)(WXK_NUMPAD_ENTER
)));  
48835         PyDict_SetItemString(d
,"WXK_NUMPAD_F1", SWIG_From_int((int)(WXK_NUMPAD_F1
)));  
48838         PyDict_SetItemString(d
,"WXK_NUMPAD_F2", SWIG_From_int((int)(WXK_NUMPAD_F2
)));  
48841         PyDict_SetItemString(d
,"WXK_NUMPAD_F3", SWIG_From_int((int)(WXK_NUMPAD_F3
)));  
48844         PyDict_SetItemString(d
,"WXK_NUMPAD_F4", SWIG_From_int((int)(WXK_NUMPAD_F4
)));  
48847         PyDict_SetItemString(d
,"WXK_NUMPAD_HOME", SWIG_From_int((int)(WXK_NUMPAD_HOME
)));  
48850         PyDict_SetItemString(d
,"WXK_NUMPAD_LEFT", SWIG_From_int((int)(WXK_NUMPAD_LEFT
)));  
48853         PyDict_SetItemString(d
,"WXK_NUMPAD_UP", SWIG_From_int((int)(WXK_NUMPAD_UP
)));  
48856         PyDict_SetItemString(d
,"WXK_NUMPAD_RIGHT", SWIG_From_int((int)(WXK_NUMPAD_RIGHT
)));  
48859         PyDict_SetItemString(d
,"WXK_NUMPAD_DOWN", SWIG_From_int((int)(WXK_NUMPAD_DOWN
)));  
48862         PyDict_SetItemString(d
,"WXK_NUMPAD_PRIOR", SWIG_From_int((int)(WXK_NUMPAD_PRIOR
)));  
48865         PyDict_SetItemString(d
,"WXK_NUMPAD_PAGEUP", SWIG_From_int((int)(WXK_NUMPAD_PAGEUP
)));  
48868         PyDict_SetItemString(d
,"WXK_NUMPAD_NEXT", SWIG_From_int((int)(WXK_NUMPAD_NEXT
)));  
48871         PyDict_SetItemString(d
,"WXK_NUMPAD_PAGEDOWN", SWIG_From_int((int)(WXK_NUMPAD_PAGEDOWN
)));  
48874         PyDict_SetItemString(d
,"WXK_NUMPAD_END", SWIG_From_int((int)(WXK_NUMPAD_END
)));  
48877         PyDict_SetItemString(d
,"WXK_NUMPAD_BEGIN", SWIG_From_int((int)(WXK_NUMPAD_BEGIN
)));  
48880         PyDict_SetItemString(d
,"WXK_NUMPAD_INSERT", SWIG_From_int((int)(WXK_NUMPAD_INSERT
)));  
48883         PyDict_SetItemString(d
,"WXK_NUMPAD_DELETE", SWIG_From_int((int)(WXK_NUMPAD_DELETE
)));  
48886         PyDict_SetItemString(d
,"WXK_NUMPAD_EQUAL", SWIG_From_int((int)(WXK_NUMPAD_EQUAL
)));  
48889         PyDict_SetItemString(d
,"WXK_NUMPAD_MULTIPLY", SWIG_From_int((int)(WXK_NUMPAD_MULTIPLY
)));  
48892         PyDict_SetItemString(d
,"WXK_NUMPAD_ADD", SWIG_From_int((int)(WXK_NUMPAD_ADD
)));  
48895         PyDict_SetItemString(d
,"WXK_NUMPAD_SEPARATOR", SWIG_From_int((int)(WXK_NUMPAD_SEPARATOR
)));  
48898         PyDict_SetItemString(d
,"WXK_NUMPAD_SUBTRACT", SWIG_From_int((int)(WXK_NUMPAD_SUBTRACT
)));  
48901         PyDict_SetItemString(d
,"WXK_NUMPAD_DECIMAL", SWIG_From_int((int)(WXK_NUMPAD_DECIMAL
)));  
48904         PyDict_SetItemString(d
,"WXK_NUMPAD_DIVIDE", SWIG_From_int((int)(WXK_NUMPAD_DIVIDE
)));  
48907         PyDict_SetItemString(d
,"WXK_WINDOWS_LEFT", SWIG_From_int((int)(WXK_WINDOWS_LEFT
)));  
48910         PyDict_SetItemString(d
,"WXK_WINDOWS_RIGHT", SWIG_From_int((int)(WXK_WINDOWS_RIGHT
)));  
48913         PyDict_SetItemString(d
,"WXK_WINDOWS_MENU", SWIG_From_int((int)(WXK_WINDOWS_MENU
)));  
48916         PyDict_SetItemString(d
,"WXK_COMMAND", SWIG_From_int((int)(WXK_COMMAND
)));  
48919         PyDict_SetItemString(d
,"WXK_SPECIAL1", SWIG_From_int((int)(WXK_SPECIAL1
)));  
48922         PyDict_SetItemString(d
,"WXK_SPECIAL2", SWIG_From_int((int)(WXK_SPECIAL2
)));  
48925         PyDict_SetItemString(d
,"WXK_SPECIAL3", SWIG_From_int((int)(WXK_SPECIAL3
)));  
48928         PyDict_SetItemString(d
,"WXK_SPECIAL4", SWIG_From_int((int)(WXK_SPECIAL4
)));  
48931         PyDict_SetItemString(d
,"WXK_SPECIAL5", SWIG_From_int((int)(WXK_SPECIAL5
)));  
48934         PyDict_SetItemString(d
,"WXK_SPECIAL6", SWIG_From_int((int)(WXK_SPECIAL6
)));  
48937         PyDict_SetItemString(d
,"WXK_SPECIAL7", SWIG_From_int((int)(WXK_SPECIAL7
)));  
48940         PyDict_SetItemString(d
,"WXK_SPECIAL8", SWIG_From_int((int)(WXK_SPECIAL8
)));  
48943         PyDict_SetItemString(d
,"WXK_SPECIAL9", SWIG_From_int((int)(WXK_SPECIAL9
)));  
48946         PyDict_SetItemString(d
,"WXK_SPECIAL10", SWIG_From_int((int)(WXK_SPECIAL10
)));  
48949         PyDict_SetItemString(d
,"WXK_SPECIAL11", SWIG_From_int((int)(WXK_SPECIAL11
)));  
48952         PyDict_SetItemString(d
,"WXK_SPECIAL12", SWIG_From_int((int)(WXK_SPECIAL12
)));  
48955         PyDict_SetItemString(d
,"WXK_SPECIAL13", SWIG_From_int((int)(WXK_SPECIAL13
)));  
48958         PyDict_SetItemString(d
,"WXK_SPECIAL14", SWIG_From_int((int)(WXK_SPECIAL14
)));  
48961         PyDict_SetItemString(d
,"WXK_SPECIAL15", SWIG_From_int((int)(WXK_SPECIAL15
)));  
48964         PyDict_SetItemString(d
,"WXK_SPECIAL16", SWIG_From_int((int)(WXK_SPECIAL16
)));  
48967         PyDict_SetItemString(d
,"WXK_SPECIAL17", SWIG_From_int((int)(WXK_SPECIAL17
)));  
48970         PyDict_SetItemString(d
,"WXK_SPECIAL18", SWIG_From_int((int)(WXK_SPECIAL18
)));  
48973         PyDict_SetItemString(d
,"WXK_SPECIAL19", SWIG_From_int((int)(WXK_SPECIAL19
)));  
48976         PyDict_SetItemString(d
,"WXK_SPECIAL20", SWIG_From_int((int)(WXK_SPECIAL20
)));  
48979         PyDict_SetItemString(d
,"PAPER_NONE", SWIG_From_int((int)(wxPAPER_NONE
)));  
48982         PyDict_SetItemString(d
,"PAPER_LETTER", SWIG_From_int((int)(wxPAPER_LETTER
)));  
48985         PyDict_SetItemString(d
,"PAPER_LEGAL", SWIG_From_int((int)(wxPAPER_LEGAL
)));  
48988         PyDict_SetItemString(d
,"PAPER_A4", SWIG_From_int((int)(wxPAPER_A4
)));  
48991         PyDict_SetItemString(d
,"PAPER_CSHEET", SWIG_From_int((int)(wxPAPER_CSHEET
)));  
48994         PyDict_SetItemString(d
,"PAPER_DSHEET", SWIG_From_int((int)(wxPAPER_DSHEET
)));  
48997         PyDict_SetItemString(d
,"PAPER_ESHEET", SWIG_From_int((int)(wxPAPER_ESHEET
)));  
49000         PyDict_SetItemString(d
,"PAPER_LETTERSMALL", SWIG_From_int((int)(wxPAPER_LETTERSMALL
)));  
49003         PyDict_SetItemString(d
,"PAPER_TABLOID", SWIG_From_int((int)(wxPAPER_TABLOID
)));  
49006         PyDict_SetItemString(d
,"PAPER_LEDGER", SWIG_From_int((int)(wxPAPER_LEDGER
)));  
49009         PyDict_SetItemString(d
,"PAPER_STATEMENT", SWIG_From_int((int)(wxPAPER_STATEMENT
)));  
49012         PyDict_SetItemString(d
,"PAPER_EXECUTIVE", SWIG_From_int((int)(wxPAPER_EXECUTIVE
)));  
49015         PyDict_SetItemString(d
,"PAPER_A3", SWIG_From_int((int)(wxPAPER_A3
)));  
49018         PyDict_SetItemString(d
,"PAPER_A4SMALL", SWIG_From_int((int)(wxPAPER_A4SMALL
)));  
49021         PyDict_SetItemString(d
,"PAPER_A5", SWIG_From_int((int)(wxPAPER_A5
)));  
49024         PyDict_SetItemString(d
,"PAPER_B4", SWIG_From_int((int)(wxPAPER_B4
)));  
49027         PyDict_SetItemString(d
,"PAPER_B5", SWIG_From_int((int)(wxPAPER_B5
)));  
49030         PyDict_SetItemString(d
,"PAPER_FOLIO", SWIG_From_int((int)(wxPAPER_FOLIO
)));  
49033         PyDict_SetItemString(d
,"PAPER_QUARTO", SWIG_From_int((int)(wxPAPER_QUARTO
)));  
49036         PyDict_SetItemString(d
,"PAPER_10X14", SWIG_From_int((int)(wxPAPER_10X14
)));  
49039         PyDict_SetItemString(d
,"PAPER_11X17", SWIG_From_int((int)(wxPAPER_11X17
)));  
49042         PyDict_SetItemString(d
,"PAPER_NOTE", SWIG_From_int((int)(wxPAPER_NOTE
)));  
49045         PyDict_SetItemString(d
,"PAPER_ENV_9", SWIG_From_int((int)(wxPAPER_ENV_9
)));  
49048         PyDict_SetItemString(d
,"PAPER_ENV_10", SWIG_From_int((int)(wxPAPER_ENV_10
)));  
49051         PyDict_SetItemString(d
,"PAPER_ENV_11", SWIG_From_int((int)(wxPAPER_ENV_11
)));  
49054         PyDict_SetItemString(d
,"PAPER_ENV_12", SWIG_From_int((int)(wxPAPER_ENV_12
)));  
49057         PyDict_SetItemString(d
,"PAPER_ENV_14", SWIG_From_int((int)(wxPAPER_ENV_14
)));  
49060         PyDict_SetItemString(d
,"PAPER_ENV_DL", SWIG_From_int((int)(wxPAPER_ENV_DL
)));  
49063         PyDict_SetItemString(d
,"PAPER_ENV_C5", SWIG_From_int((int)(wxPAPER_ENV_C5
)));  
49066         PyDict_SetItemString(d
,"PAPER_ENV_C3", SWIG_From_int((int)(wxPAPER_ENV_C3
)));  
49069         PyDict_SetItemString(d
,"PAPER_ENV_C4", SWIG_From_int((int)(wxPAPER_ENV_C4
)));  
49072         PyDict_SetItemString(d
,"PAPER_ENV_C6", SWIG_From_int((int)(wxPAPER_ENV_C6
)));  
49075         PyDict_SetItemString(d
,"PAPER_ENV_C65", SWIG_From_int((int)(wxPAPER_ENV_C65
)));  
49078         PyDict_SetItemString(d
,"PAPER_ENV_B4", SWIG_From_int((int)(wxPAPER_ENV_B4
)));  
49081         PyDict_SetItemString(d
,"PAPER_ENV_B5", SWIG_From_int((int)(wxPAPER_ENV_B5
)));  
49084         PyDict_SetItemString(d
,"PAPER_ENV_B6", SWIG_From_int((int)(wxPAPER_ENV_B6
)));  
49087         PyDict_SetItemString(d
,"PAPER_ENV_ITALY", SWIG_From_int((int)(wxPAPER_ENV_ITALY
)));  
49090         PyDict_SetItemString(d
,"PAPER_ENV_MONARCH", SWIG_From_int((int)(wxPAPER_ENV_MONARCH
)));  
49093         PyDict_SetItemString(d
,"PAPER_ENV_PERSONAL", SWIG_From_int((int)(wxPAPER_ENV_PERSONAL
)));  
49096         PyDict_SetItemString(d
,"PAPER_FANFOLD_US", SWIG_From_int((int)(wxPAPER_FANFOLD_US
)));  
49099         PyDict_SetItemString(d
,"PAPER_FANFOLD_STD_GERMAN", SWIG_From_int((int)(wxPAPER_FANFOLD_STD_GERMAN
)));  
49102         PyDict_SetItemString(d
,"PAPER_FANFOLD_LGL_GERMAN", SWIG_From_int((int)(wxPAPER_FANFOLD_LGL_GERMAN
)));  
49105         PyDict_SetItemString(d
,"PAPER_ISO_B4", SWIG_From_int((int)(wxPAPER_ISO_B4
)));  
49108         PyDict_SetItemString(d
,"PAPER_JAPANESE_POSTCARD", SWIG_From_int((int)(wxPAPER_JAPANESE_POSTCARD
)));  
49111         PyDict_SetItemString(d
,"PAPER_9X11", SWIG_From_int((int)(wxPAPER_9X11
)));  
49114         PyDict_SetItemString(d
,"PAPER_10X11", SWIG_From_int((int)(wxPAPER_10X11
)));  
49117         PyDict_SetItemString(d
,"PAPER_15X11", SWIG_From_int((int)(wxPAPER_15X11
)));  
49120         PyDict_SetItemString(d
,"PAPER_ENV_INVITE", SWIG_From_int((int)(wxPAPER_ENV_INVITE
)));  
49123         PyDict_SetItemString(d
,"PAPER_LETTER_EXTRA", SWIG_From_int((int)(wxPAPER_LETTER_EXTRA
)));  
49126         PyDict_SetItemString(d
,"PAPER_LEGAL_EXTRA", SWIG_From_int((int)(wxPAPER_LEGAL_EXTRA
)));  
49129         PyDict_SetItemString(d
,"PAPER_TABLOID_EXTRA", SWIG_From_int((int)(wxPAPER_TABLOID_EXTRA
)));  
49132         PyDict_SetItemString(d
,"PAPER_A4_EXTRA", SWIG_From_int((int)(wxPAPER_A4_EXTRA
)));  
49135         PyDict_SetItemString(d
,"PAPER_LETTER_TRANSVERSE", SWIG_From_int((int)(wxPAPER_LETTER_TRANSVERSE
)));  
49138         PyDict_SetItemString(d
,"PAPER_A4_TRANSVERSE", SWIG_From_int((int)(wxPAPER_A4_TRANSVERSE
)));  
49141         PyDict_SetItemString(d
,"PAPER_LETTER_EXTRA_TRANSVERSE", SWIG_From_int((int)(wxPAPER_LETTER_EXTRA_TRANSVERSE
)));  
49144         PyDict_SetItemString(d
,"PAPER_A_PLUS", SWIG_From_int((int)(wxPAPER_A_PLUS
)));  
49147         PyDict_SetItemString(d
,"PAPER_B_PLUS", SWIG_From_int((int)(wxPAPER_B_PLUS
)));  
49150         PyDict_SetItemString(d
,"PAPER_LETTER_PLUS", SWIG_From_int((int)(wxPAPER_LETTER_PLUS
)));  
49153         PyDict_SetItemString(d
,"PAPER_A4_PLUS", SWIG_From_int((int)(wxPAPER_A4_PLUS
)));  
49156         PyDict_SetItemString(d
,"PAPER_A5_TRANSVERSE", SWIG_From_int((int)(wxPAPER_A5_TRANSVERSE
)));  
49159         PyDict_SetItemString(d
,"PAPER_B5_TRANSVERSE", SWIG_From_int((int)(wxPAPER_B5_TRANSVERSE
)));  
49162         PyDict_SetItemString(d
,"PAPER_A3_EXTRA", SWIG_From_int((int)(wxPAPER_A3_EXTRA
)));  
49165         PyDict_SetItemString(d
,"PAPER_A5_EXTRA", SWIG_From_int((int)(wxPAPER_A5_EXTRA
)));  
49168         PyDict_SetItemString(d
,"PAPER_B5_EXTRA", SWIG_From_int((int)(wxPAPER_B5_EXTRA
)));  
49171         PyDict_SetItemString(d
,"PAPER_A2", SWIG_From_int((int)(wxPAPER_A2
)));  
49174         PyDict_SetItemString(d
,"PAPER_A3_TRANSVERSE", SWIG_From_int((int)(wxPAPER_A3_TRANSVERSE
)));  
49177         PyDict_SetItemString(d
,"PAPER_A3_EXTRA_TRANSVERSE", SWIG_From_int((int)(wxPAPER_A3_EXTRA_TRANSVERSE
)));  
49180         PyDict_SetItemString(d
,"DUPLEX_SIMPLEX", SWIG_From_int((int)(wxDUPLEX_SIMPLEX
)));  
49183         PyDict_SetItemString(d
,"DUPLEX_HORIZONTAL", SWIG_From_int((int)(wxDUPLEX_HORIZONTAL
)));  
49186         PyDict_SetItemString(d
,"DUPLEX_VERTICAL", SWIG_From_int((int)(wxDUPLEX_VERTICAL
)));  
49189         PyDict_SetItemString(d
,"ITEM_SEPARATOR", SWIG_From_int((int)(wxITEM_SEPARATOR
)));  
49192         PyDict_SetItemString(d
,"ITEM_NORMAL", SWIG_From_int((int)(wxITEM_NORMAL
)));  
49195         PyDict_SetItemString(d
,"ITEM_CHECK", SWIG_From_int((int)(wxITEM_CHECK
)));  
49198         PyDict_SetItemString(d
,"ITEM_RADIO", SWIG_From_int((int)(wxITEM_RADIO
)));  
49201         PyDict_SetItemString(d
,"ITEM_MAX", SWIG_From_int((int)(wxITEM_MAX
)));  
49204         PyDict_SetItemString(d
,"HT_NOWHERE", SWIG_From_int((int)(wxHT_NOWHERE
)));  
49207         PyDict_SetItemString(d
,"HT_SCROLLBAR_FIRST", SWIG_From_int((int)(wxHT_SCROLLBAR_FIRST
)));  
49210         PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_LINE_1", SWIG_From_int((int)(wxHT_SCROLLBAR_ARROW_LINE_1
)));  
49213         PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_LINE_2", SWIG_From_int((int)(wxHT_SCROLLBAR_ARROW_LINE_2
)));  
49216         PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_PAGE_1", SWIG_From_int((int)(wxHT_SCROLLBAR_ARROW_PAGE_1
)));  
49219         PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_PAGE_2", SWIG_From_int((int)(wxHT_SCROLLBAR_ARROW_PAGE_2
)));  
49222         PyDict_SetItemString(d
,"HT_SCROLLBAR_THUMB", SWIG_From_int((int)(wxHT_SCROLLBAR_THUMB
)));  
49225         PyDict_SetItemString(d
,"HT_SCROLLBAR_BAR_1", SWIG_From_int((int)(wxHT_SCROLLBAR_BAR_1
)));  
49228         PyDict_SetItemString(d
,"HT_SCROLLBAR_BAR_2", SWIG_From_int((int)(wxHT_SCROLLBAR_BAR_2
)));  
49231         PyDict_SetItemString(d
,"HT_SCROLLBAR_LAST", SWIG_From_int((int)(wxHT_SCROLLBAR_LAST
)));  
49234         PyDict_SetItemString(d
,"HT_WINDOW_OUTSIDE", SWIG_From_int((int)(wxHT_WINDOW_OUTSIDE
)));  
49237         PyDict_SetItemString(d
,"HT_WINDOW_INSIDE", SWIG_From_int((int)(wxHT_WINDOW_INSIDE
)));  
49240         PyDict_SetItemString(d
,"HT_WINDOW_VERT_SCROLLBAR", SWIG_From_int((int)(wxHT_WINDOW_VERT_SCROLLBAR
)));  
49243         PyDict_SetItemString(d
,"HT_WINDOW_HORZ_SCROLLBAR", SWIG_From_int((int)(wxHT_WINDOW_HORZ_SCROLLBAR
)));  
49246         PyDict_SetItemString(d
,"HT_WINDOW_CORNER", SWIG_From_int((int)(wxHT_WINDOW_CORNER
)));  
49249         PyDict_SetItemString(d
,"HT_MAX", SWIG_From_int((int)(wxHT_MAX
)));  
49252         PyDict_SetItemString(d
,"MOD_NONE", SWIG_From_int((int)(wxMOD_NONE
)));  
49255         PyDict_SetItemString(d
,"MOD_ALT", SWIG_From_int((int)(wxMOD_ALT
)));  
49258         PyDict_SetItemString(d
,"MOD_CONTROL", SWIG_From_int((int)(wxMOD_CONTROL
)));  
49261         PyDict_SetItemString(d
,"MOD_SHIFT", SWIG_From_int((int)(wxMOD_SHIFT
)));  
49264         PyDict_SetItemString(d
,"MOD_WIN", SWIG_From_int((int)(wxMOD_WIN
)));  
49267         PyDict_SetItemString(d
,"UPDATE_UI_NONE", SWIG_From_int((int)(wxUPDATE_UI_NONE
)));  
49270         PyDict_SetItemString(d
,"UPDATE_UI_RECURSE", SWIG_From_int((int)(wxUPDATE_UI_RECURSE
)));  
49273         PyDict_SetItemString(d
,"UPDATE_UI_FROMIDLE", SWIG_From_int((int)(wxUPDATE_UI_FROMIDLE
)));  
49275     PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
); 
49276     SWIG_addvarlink(SWIG_globals
,(char*)"EmptyString",_wrap_EmptyString_get
, _wrap_EmptyString_set
); 
49278         PyDict_SetItemString(d
,"BITMAP_TYPE_INVALID", SWIG_From_int((int)(wxBITMAP_TYPE_INVALID
)));  
49281         PyDict_SetItemString(d
,"BITMAP_TYPE_BMP", SWIG_From_int((int)(wxBITMAP_TYPE_BMP
)));  
49284         PyDict_SetItemString(d
,"BITMAP_TYPE_ICO", SWIG_From_int((int)(wxBITMAP_TYPE_ICO
)));  
49287         PyDict_SetItemString(d
,"BITMAP_TYPE_CUR", SWIG_From_int((int)(wxBITMAP_TYPE_CUR
)));  
49290         PyDict_SetItemString(d
,"BITMAP_TYPE_XBM", SWIG_From_int((int)(wxBITMAP_TYPE_XBM
)));  
49293         PyDict_SetItemString(d
,"BITMAP_TYPE_XBM_DATA", SWIG_From_int((int)(wxBITMAP_TYPE_XBM_DATA
)));  
49296         PyDict_SetItemString(d
,"BITMAP_TYPE_XPM", SWIG_From_int((int)(wxBITMAP_TYPE_XPM
)));  
49299         PyDict_SetItemString(d
,"BITMAP_TYPE_XPM_DATA", SWIG_From_int((int)(wxBITMAP_TYPE_XPM_DATA
)));  
49302         PyDict_SetItemString(d
,"BITMAP_TYPE_TIF", SWIG_From_int((int)(wxBITMAP_TYPE_TIF
)));  
49305         PyDict_SetItemString(d
,"BITMAP_TYPE_GIF", SWIG_From_int((int)(wxBITMAP_TYPE_GIF
)));  
49308         PyDict_SetItemString(d
,"BITMAP_TYPE_PNG", SWIG_From_int((int)(wxBITMAP_TYPE_PNG
)));  
49311         PyDict_SetItemString(d
,"BITMAP_TYPE_JPEG", SWIG_From_int((int)(wxBITMAP_TYPE_JPEG
)));  
49314         PyDict_SetItemString(d
,"BITMAP_TYPE_PNM", SWIG_From_int((int)(wxBITMAP_TYPE_PNM
)));  
49317         PyDict_SetItemString(d
,"BITMAP_TYPE_PCX", SWIG_From_int((int)(wxBITMAP_TYPE_PCX
)));  
49320         PyDict_SetItemString(d
,"BITMAP_TYPE_PICT", SWIG_From_int((int)(wxBITMAP_TYPE_PICT
)));  
49323         PyDict_SetItemString(d
,"BITMAP_TYPE_ICON", SWIG_From_int((int)(wxBITMAP_TYPE_ICON
)));  
49326         PyDict_SetItemString(d
,"BITMAP_TYPE_ANI", SWIG_From_int((int)(wxBITMAP_TYPE_ANI
)));  
49329         PyDict_SetItemString(d
,"BITMAP_TYPE_IFF", SWIG_From_int((int)(wxBITMAP_TYPE_IFF
)));  
49332         PyDict_SetItemString(d
,"BITMAP_TYPE_MACCURSOR", SWIG_From_int((int)(wxBITMAP_TYPE_MACCURSOR
)));  
49335         PyDict_SetItemString(d
,"BITMAP_TYPE_ANY", SWIG_From_int((int)(wxBITMAP_TYPE_ANY
)));  
49338         PyDict_SetItemString(d
,"CURSOR_NONE", SWIG_From_int((int)(wxCURSOR_NONE
)));  
49341         PyDict_SetItemString(d
,"CURSOR_ARROW", SWIG_From_int((int)(wxCURSOR_ARROW
)));  
49344         PyDict_SetItemString(d
,"CURSOR_RIGHT_ARROW", SWIG_From_int((int)(wxCURSOR_RIGHT_ARROW
)));  
49347         PyDict_SetItemString(d
,"CURSOR_BULLSEYE", SWIG_From_int((int)(wxCURSOR_BULLSEYE
)));  
49350         PyDict_SetItemString(d
,"CURSOR_CHAR", SWIG_From_int((int)(wxCURSOR_CHAR
)));  
49353         PyDict_SetItemString(d
,"CURSOR_CROSS", SWIG_From_int((int)(wxCURSOR_CROSS
)));  
49356         PyDict_SetItemString(d
,"CURSOR_HAND", SWIG_From_int((int)(wxCURSOR_HAND
)));  
49359         PyDict_SetItemString(d
,"CURSOR_IBEAM", SWIG_From_int((int)(wxCURSOR_IBEAM
)));  
49362         PyDict_SetItemString(d
,"CURSOR_LEFT_BUTTON", SWIG_From_int((int)(wxCURSOR_LEFT_BUTTON
)));  
49365         PyDict_SetItemString(d
,"CURSOR_MAGNIFIER", SWIG_From_int((int)(wxCURSOR_MAGNIFIER
)));  
49368         PyDict_SetItemString(d
,"CURSOR_MIDDLE_BUTTON", SWIG_From_int((int)(wxCURSOR_MIDDLE_BUTTON
)));  
49371         PyDict_SetItemString(d
,"CURSOR_NO_ENTRY", SWIG_From_int((int)(wxCURSOR_NO_ENTRY
)));  
49374         PyDict_SetItemString(d
,"CURSOR_PAINT_BRUSH", SWIG_From_int((int)(wxCURSOR_PAINT_BRUSH
)));  
49377         PyDict_SetItemString(d
,"CURSOR_PENCIL", SWIG_From_int((int)(wxCURSOR_PENCIL
)));  
49380         PyDict_SetItemString(d
,"CURSOR_POINT_LEFT", SWIG_From_int((int)(wxCURSOR_POINT_LEFT
)));  
49383         PyDict_SetItemString(d
,"CURSOR_POINT_RIGHT", SWIG_From_int((int)(wxCURSOR_POINT_RIGHT
)));  
49386         PyDict_SetItemString(d
,"CURSOR_QUESTION_ARROW", SWIG_From_int((int)(wxCURSOR_QUESTION_ARROW
)));  
49389         PyDict_SetItemString(d
,"CURSOR_RIGHT_BUTTON", SWIG_From_int((int)(wxCURSOR_RIGHT_BUTTON
)));  
49392         PyDict_SetItemString(d
,"CURSOR_SIZENESW", SWIG_From_int((int)(wxCURSOR_SIZENESW
)));  
49395         PyDict_SetItemString(d
,"CURSOR_SIZENS", SWIG_From_int((int)(wxCURSOR_SIZENS
)));  
49398         PyDict_SetItemString(d
,"CURSOR_SIZENWSE", SWIG_From_int((int)(wxCURSOR_SIZENWSE
)));  
49401         PyDict_SetItemString(d
,"CURSOR_SIZEWE", SWIG_From_int((int)(wxCURSOR_SIZEWE
)));  
49404         PyDict_SetItemString(d
,"CURSOR_SIZING", SWIG_From_int((int)(wxCURSOR_SIZING
)));  
49407         PyDict_SetItemString(d
,"CURSOR_SPRAYCAN", SWIG_From_int((int)(wxCURSOR_SPRAYCAN
)));  
49410         PyDict_SetItemString(d
,"CURSOR_WAIT", SWIG_From_int((int)(wxCURSOR_WAIT
)));  
49413         PyDict_SetItemString(d
,"CURSOR_WATCH", SWIG_From_int((int)(wxCURSOR_WATCH
)));  
49416         PyDict_SetItemString(d
,"CURSOR_BLANK", SWIG_From_int((int)(wxCURSOR_BLANK
)));  
49419         PyDict_SetItemString(d
,"CURSOR_DEFAULT", SWIG_From_int((int)(wxCURSOR_DEFAULT
)));  
49422         PyDict_SetItemString(d
,"CURSOR_COPY_ARROW", SWIG_From_int((int)(wxCURSOR_COPY_ARROW
)));  
49425         PyDict_SetItemString(d
,"CURSOR_ARROWWAIT", SWIG_From_int((int)(wxCURSOR_ARROWWAIT
)));  
49428         PyDict_SetItemString(d
,"CURSOR_MAX", SWIG_From_int((int)(wxCURSOR_MAX
)));  
49430     SWIG_addvarlink(SWIG_globals
,(char*)"DefaultPosition",_wrap_DefaultPosition_get
, _wrap_DefaultPosition_set
); 
49431     SWIG_addvarlink(SWIG_globals
,(char*)"DefaultSize",_wrap_DefaultSize_get
, _wrap_DefaultSize_set
); 
49433         PyDict_SetItemString(d
,"FromStart", SWIG_From_int((int)(wxFromStart
)));  
49436         PyDict_SetItemString(d
,"FromCurrent", SWIG_From_int((int)(wxFromCurrent
)));  
49439         PyDict_SetItemString(d
,"FromEnd", SWIG_From_int((int)(wxFromEnd
)));  
49442     wxPyPtrTypeMap_Add("wxInputStream", "wxPyInputStream"); 
49445     wxPyPtrTypeMap_Add("wxFileSystemHandler", "wxPyFileSystemHandler"); 
49447     SWIG_addvarlink(SWIG_globals
,(char*)"NullImage",_wrap_NullImage_get
, _wrap_NullImage_set
); 
49448     SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_FILENAME",_wrap_IMAGE_OPTION_FILENAME_get
, _wrap_IMAGE_OPTION_FILENAME_set
); 
49449     SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_BMP_FORMAT",_wrap_IMAGE_OPTION_BMP_FORMAT_get
, _wrap_IMAGE_OPTION_BMP_FORMAT_set
); 
49450     SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_X",_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set
); 
49451     SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_Y",_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set
); 
49452     SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTION",_wrap_IMAGE_OPTION_RESOLUTION_get
, _wrap_IMAGE_OPTION_RESOLUTION_set
); 
49453     SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTIONX",_wrap_IMAGE_OPTION_RESOLUTIONX_get
, _wrap_IMAGE_OPTION_RESOLUTIONX_set
); 
49454     SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTIONY",_wrap_IMAGE_OPTION_RESOLUTIONY_get
, _wrap_IMAGE_OPTION_RESOLUTIONY_set
); 
49455     SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTIONUNIT",_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get
, _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set
); 
49456     SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_QUALITY",_wrap_IMAGE_OPTION_QUALITY_get
, _wrap_IMAGE_OPTION_QUALITY_set
); 
49458         PyDict_SetItemString(d
,"IMAGE_RESOLUTION_INCHES", SWIG_From_int((int)(wxIMAGE_RESOLUTION_INCHES
)));  
49461         PyDict_SetItemString(d
,"IMAGE_RESOLUTION_CM", SWIG_From_int((int)(wxIMAGE_RESOLUTION_CM
)));  
49463     SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_BITSPERSAMPLE",_wrap_IMAGE_OPTION_BITSPERSAMPLE_get
, _wrap_IMAGE_OPTION_BITSPERSAMPLE_set
); 
49464     SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_SAMPLESPERPIXEL",_wrap_IMAGE_OPTION_SAMPLESPERPIXEL_get
, _wrap_IMAGE_OPTION_SAMPLESPERPIXEL_set
); 
49465     SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_COMPRESSION",_wrap_IMAGE_OPTION_COMPRESSION_get
, _wrap_IMAGE_OPTION_COMPRESSION_set
); 
49466     SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_IMAGEDESCRIPTOR",_wrap_IMAGE_OPTION_IMAGEDESCRIPTOR_get
, _wrap_IMAGE_OPTION_IMAGEDESCRIPTOR_set
); 
49467     SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_PNG_FORMAT",_wrap_IMAGE_OPTION_PNG_FORMAT_get
, _wrap_IMAGE_OPTION_PNG_FORMAT_set
); 
49468     SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_PNG_BITDEPTH",_wrap_IMAGE_OPTION_PNG_BITDEPTH_get
, _wrap_IMAGE_OPTION_PNG_BITDEPTH_set
); 
49470         PyDict_SetItemString(d
,"PNG_TYPE_COLOUR", SWIG_From_int((int)(wxPNG_TYPE_COLOUR
)));  
49473         PyDict_SetItemString(d
,"PNG_TYPE_GREY", SWIG_From_int((int)(wxPNG_TYPE_GREY
)));  
49476         PyDict_SetItemString(d
,"PNG_TYPE_GREY_RED", SWIG_From_int((int)(wxPNG_TYPE_GREY_RED
)));  
49479         PyDict_SetItemString(d
,"BMP_24BPP", SWIG_From_int((int)(wxBMP_24BPP
)));  
49482         PyDict_SetItemString(d
,"BMP_8BPP", SWIG_From_int((int)(wxBMP_8BPP
)));  
49485         PyDict_SetItemString(d
,"BMP_8BPP_GREY", SWIG_From_int((int)(wxBMP_8BPP_GREY
)));  
49488         PyDict_SetItemString(d
,"BMP_8BPP_GRAY", SWIG_From_int((int)(wxBMP_8BPP_GRAY
)));  
49491         PyDict_SetItemString(d
,"BMP_8BPP_RED", SWIG_From_int((int)(wxBMP_8BPP_RED
)));  
49494         PyDict_SetItemString(d
,"BMP_8BPP_PALETTE", SWIG_From_int((int)(wxBMP_8BPP_PALETTE
)));  
49497         PyDict_SetItemString(d
,"BMP_4BPP", SWIG_From_int((int)(wxBMP_4BPP
)));  
49500         PyDict_SetItemString(d
,"BMP_1BPP", SWIG_From_int((int)(wxBMP_1BPP
)));  
49503         PyDict_SetItemString(d
,"BMP_1BPP_BW", SWIG_From_int((int)(wxBMP_1BPP_BW
)));  
49506         PyDict_SetItemString(d
,"QUANTIZE_INCLUDE_WINDOWS_COLOURS", SWIG_From_int((int)(wxQUANTIZE_INCLUDE_WINDOWS_COLOURS
)));  
49509         PyDict_SetItemString(d
,"QUANTIZE_FILL_DESTINATION_IMAGE", SWIG_From_int((int)(wxQUANTIZE_FILL_DESTINATION_IMAGE
)));  
49512         PyDict_SetItemString(d
,"EVENT_PROPAGATE_NONE", SWIG_From_int((int)(wxEVENT_PROPAGATE_NONE
)));  
49515         PyDict_SetItemString(d
,"EVENT_PROPAGATE_MAX", SWIG_From_int((int)(wxEVENT_PROPAGATE_MAX
)));  
49517     PyDict_SetItemString(d
, "wxEVT_NULL", PyInt_FromLong(wxEVT_NULL
)); 
49518     PyDict_SetItemString(d
, "wxEVT_FIRST", PyInt_FromLong(wxEVT_FIRST
)); 
49519     PyDict_SetItemString(d
, "wxEVT_USER_FIRST", PyInt_FromLong(wxEVT_USER_FIRST
)); 
49520     PyDict_SetItemString(d
, "wxEVT_COMMAND_BUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_BUTTON_CLICKED
)); 
49521     PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKBOX_CLICKED", PyInt_FromLong(wxEVT_COMMAND_CHECKBOX_CLICKED
)); 
49522     PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICE_SELECTED", PyInt_FromLong(wxEVT_COMMAND_CHOICE_SELECTED
)); 
49523     PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_SELECTED
)); 
49524     PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_DOUBLECLICKED
)); 
49525     PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKLISTBOX_TOGGLED", PyInt_FromLong(wxEVT_COMMAND_CHECKLISTBOX_TOGGLED
)); 
49526     PyDict_SetItemString(d
, "wxEVT_COMMAND_MENU_SELECTED", PyInt_FromLong(wxEVT_COMMAND_MENU_SELECTED
)); 
49527     PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_CLICKED
)); 
49528     PyDict_SetItemString(d
, "wxEVT_COMMAND_SLIDER_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SLIDER_UPDATED
)); 
49529     PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBOX_SELECTED
)); 
49530     PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBUTTON_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBUTTON_SELECTED
)); 
49531     PyDict_SetItemString(d
, "wxEVT_COMMAND_SCROLLBAR_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SCROLLBAR_UPDATED
)); 
49532     PyDict_SetItemString(d
, "wxEVT_COMMAND_VLBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_VLBOX_SELECTED
)); 
49533     PyDict_SetItemString(d
, "wxEVT_COMMAND_COMBOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_COMBOBOX_SELECTED
)); 
49534     PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_RCLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_RCLICKED
)); 
49535     PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_ENTER", PyInt_FromLong(wxEVT_COMMAND_TOOL_ENTER
)); 
49536     PyDict_SetItemString(d
, "wxEVT_LEFT_DOWN", PyInt_FromLong(wxEVT_LEFT_DOWN
)); 
49537     PyDict_SetItemString(d
, "wxEVT_LEFT_UP", PyInt_FromLong(wxEVT_LEFT_UP
)); 
49538     PyDict_SetItemString(d
, "wxEVT_MIDDLE_DOWN", PyInt_FromLong(wxEVT_MIDDLE_DOWN
)); 
49539     PyDict_SetItemString(d
, "wxEVT_MIDDLE_UP", PyInt_FromLong(wxEVT_MIDDLE_UP
)); 
49540     PyDict_SetItemString(d
, "wxEVT_RIGHT_DOWN", PyInt_FromLong(wxEVT_RIGHT_DOWN
)); 
49541     PyDict_SetItemString(d
, "wxEVT_RIGHT_UP", PyInt_FromLong(wxEVT_RIGHT_UP
)); 
49542     PyDict_SetItemString(d
, "wxEVT_MOTION", PyInt_FromLong(wxEVT_MOTION
)); 
49543     PyDict_SetItemString(d
, "wxEVT_ENTER_WINDOW", PyInt_FromLong(wxEVT_ENTER_WINDOW
)); 
49544     PyDict_SetItemString(d
, "wxEVT_LEAVE_WINDOW", PyInt_FromLong(wxEVT_LEAVE_WINDOW
)); 
49545     PyDict_SetItemString(d
, "wxEVT_LEFT_DCLICK", PyInt_FromLong(wxEVT_LEFT_DCLICK
)); 
49546     PyDict_SetItemString(d
, "wxEVT_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_MIDDLE_DCLICK
)); 
49547     PyDict_SetItemString(d
, "wxEVT_RIGHT_DCLICK", PyInt_FromLong(wxEVT_RIGHT_DCLICK
)); 
49548     PyDict_SetItemString(d
, "wxEVT_SET_FOCUS", PyInt_FromLong(wxEVT_SET_FOCUS
)); 
49549     PyDict_SetItemString(d
, "wxEVT_KILL_FOCUS", PyInt_FromLong(wxEVT_KILL_FOCUS
)); 
49550     PyDict_SetItemString(d
, "wxEVT_CHILD_FOCUS", PyInt_FromLong(wxEVT_CHILD_FOCUS
)); 
49551     PyDict_SetItemString(d
, "wxEVT_MOUSEWHEEL", PyInt_FromLong(wxEVT_MOUSEWHEEL
)); 
49552     PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DOWN", PyInt_FromLong(wxEVT_NC_LEFT_DOWN
)); 
49553     PyDict_SetItemString(d
, "wxEVT_NC_LEFT_UP", PyInt_FromLong(wxEVT_NC_LEFT_UP
)); 
49554     PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DOWN", PyInt_FromLong(wxEVT_NC_MIDDLE_DOWN
)); 
49555     PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_UP", PyInt_FromLong(wxEVT_NC_MIDDLE_UP
)); 
49556     PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DOWN", PyInt_FromLong(wxEVT_NC_RIGHT_DOWN
)); 
49557     PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_UP", PyInt_FromLong(wxEVT_NC_RIGHT_UP
)); 
49558     PyDict_SetItemString(d
, "wxEVT_NC_MOTION", PyInt_FromLong(wxEVT_NC_MOTION
)); 
49559     PyDict_SetItemString(d
, "wxEVT_NC_ENTER_WINDOW", PyInt_FromLong(wxEVT_NC_ENTER_WINDOW
)); 
49560     PyDict_SetItemString(d
, "wxEVT_NC_LEAVE_WINDOW", PyInt_FromLong(wxEVT_NC_LEAVE_WINDOW
)); 
49561     PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DCLICK", PyInt_FromLong(wxEVT_NC_LEFT_DCLICK
)); 
49562     PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_NC_MIDDLE_DCLICK
)); 
49563     PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DCLICK", PyInt_FromLong(wxEVT_NC_RIGHT_DCLICK
)); 
49564     PyDict_SetItemString(d
, "wxEVT_CHAR", PyInt_FromLong(wxEVT_CHAR
)); 
49565     PyDict_SetItemString(d
, "wxEVT_CHAR_HOOK", PyInt_FromLong(wxEVT_CHAR_HOOK
)); 
49566     PyDict_SetItemString(d
, "wxEVT_NAVIGATION_KEY", PyInt_FromLong(wxEVT_NAVIGATION_KEY
)); 
49567     PyDict_SetItemString(d
, "wxEVT_KEY_DOWN", PyInt_FromLong(wxEVT_KEY_DOWN
)); 
49568     PyDict_SetItemString(d
, "wxEVT_KEY_UP", PyInt_FromLong(wxEVT_KEY_UP
)); 
49569     PyDict_SetItemString(d
, "wxEVT_HOTKEY", PyInt_FromLong(wxEVT_HOTKEY
)); 
49570     PyDict_SetItemString(d
, "wxEVT_SET_CURSOR", PyInt_FromLong(wxEVT_SET_CURSOR
)); 
49571     PyDict_SetItemString(d
, "wxEVT_SCROLL_TOP", PyInt_FromLong(wxEVT_SCROLL_TOP
)); 
49572     PyDict_SetItemString(d
, "wxEVT_SCROLL_BOTTOM", PyInt_FromLong(wxEVT_SCROLL_BOTTOM
)); 
49573     PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEUP", PyInt_FromLong(wxEVT_SCROLL_LINEUP
)); 
49574     PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEDOWN", PyInt_FromLong(wxEVT_SCROLL_LINEDOWN
)); 
49575     PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEUP", PyInt_FromLong(wxEVT_SCROLL_PAGEUP
)); 
49576     PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLL_PAGEDOWN
)); 
49577     PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLL_THUMBTRACK
)); 
49578     PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLL_THUMBRELEASE
)); 
49579     PyDict_SetItemString(d
, "wxEVT_SCROLL_ENDSCROLL", PyInt_FromLong(wxEVT_SCROLL_ENDSCROLL
)); 
49580     PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_TOP", PyInt_FromLong(wxEVT_SCROLLWIN_TOP
)); 
49581     PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_BOTTOM", PyInt_FromLong(wxEVT_SCROLLWIN_BOTTOM
)); 
49582     PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEUP", PyInt_FromLong(wxEVT_SCROLLWIN_LINEUP
)); 
49583     PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_LINEDOWN
)); 
49584     PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEUP", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEUP
)); 
49585     PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEDOWN
)); 
49586     PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBTRACK
)); 
49587     PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBRELEASE
)); 
49588     PyDict_SetItemString(d
, "wxEVT_SIZE", PyInt_FromLong(wxEVT_SIZE
)); 
49589     PyDict_SetItemString(d
, "wxEVT_MOVE", PyInt_FromLong(wxEVT_MOVE
)); 
49590     PyDict_SetItemString(d
, "wxEVT_CLOSE_WINDOW", PyInt_FromLong(wxEVT_CLOSE_WINDOW
)); 
49591     PyDict_SetItemString(d
, "wxEVT_END_SESSION", PyInt_FromLong(wxEVT_END_SESSION
)); 
49592     PyDict_SetItemString(d
, "wxEVT_QUERY_END_SESSION", PyInt_FromLong(wxEVT_QUERY_END_SESSION
)); 
49593     PyDict_SetItemString(d
, "wxEVT_ACTIVATE_APP", PyInt_FromLong(wxEVT_ACTIVATE_APP
)); 
49594     PyDict_SetItemString(d
, "wxEVT_POWER", PyInt_FromLong(wxEVT_POWER
)); 
49595     PyDict_SetItemString(d
, "wxEVT_ACTIVATE", PyInt_FromLong(wxEVT_ACTIVATE
)); 
49596     PyDict_SetItemString(d
, "wxEVT_CREATE", PyInt_FromLong(wxEVT_CREATE
)); 
49597     PyDict_SetItemString(d
, "wxEVT_DESTROY", PyInt_FromLong(wxEVT_DESTROY
)); 
49598     PyDict_SetItemString(d
, "wxEVT_SHOW", PyInt_FromLong(wxEVT_SHOW
)); 
49599     PyDict_SetItemString(d
, "wxEVT_ICONIZE", PyInt_FromLong(wxEVT_ICONIZE
)); 
49600     PyDict_SetItemString(d
, "wxEVT_MAXIMIZE", PyInt_FromLong(wxEVT_MAXIMIZE
)); 
49601     PyDict_SetItemString(d
, "wxEVT_MOUSE_CAPTURE_CHANGED", PyInt_FromLong(wxEVT_MOUSE_CAPTURE_CHANGED
)); 
49602     PyDict_SetItemString(d
, "wxEVT_PAINT", PyInt_FromLong(wxEVT_PAINT
)); 
49603     PyDict_SetItemString(d
, "wxEVT_ERASE_BACKGROUND", PyInt_FromLong(wxEVT_ERASE_BACKGROUND
)); 
49604     PyDict_SetItemString(d
, "wxEVT_NC_PAINT", PyInt_FromLong(wxEVT_NC_PAINT
)); 
49605     PyDict_SetItemString(d
, "wxEVT_PAINT_ICON", PyInt_FromLong(wxEVT_PAINT_ICON
)); 
49606     PyDict_SetItemString(d
, "wxEVT_MENU_OPEN", PyInt_FromLong(wxEVT_MENU_OPEN
)); 
49607     PyDict_SetItemString(d
, "wxEVT_MENU_CLOSE", PyInt_FromLong(wxEVT_MENU_CLOSE
)); 
49608     PyDict_SetItemString(d
, "wxEVT_MENU_HIGHLIGHT", PyInt_FromLong(wxEVT_MENU_HIGHLIGHT
)); 
49609     PyDict_SetItemString(d
, "wxEVT_CONTEXT_MENU", PyInt_FromLong(wxEVT_CONTEXT_MENU
)); 
49610     PyDict_SetItemString(d
, "wxEVT_SYS_COLOUR_CHANGED", PyInt_FromLong(wxEVT_SYS_COLOUR_CHANGED
)); 
49611     PyDict_SetItemString(d
, "wxEVT_DISPLAY_CHANGED", PyInt_FromLong(wxEVT_DISPLAY_CHANGED
)); 
49612     PyDict_SetItemString(d
, "wxEVT_SETTING_CHANGED", PyInt_FromLong(wxEVT_SETTING_CHANGED
)); 
49613     PyDict_SetItemString(d
, "wxEVT_QUERY_NEW_PALETTE", PyInt_FromLong(wxEVT_QUERY_NEW_PALETTE
)); 
49614     PyDict_SetItemString(d
, "wxEVT_PALETTE_CHANGED", PyInt_FromLong(wxEVT_PALETTE_CHANGED
)); 
49615     PyDict_SetItemString(d
, "wxEVT_DROP_FILES", PyInt_FromLong(wxEVT_DROP_FILES
)); 
49616     PyDict_SetItemString(d
, "wxEVT_DRAW_ITEM", PyInt_FromLong(wxEVT_DRAW_ITEM
)); 
49617     PyDict_SetItemString(d
, "wxEVT_MEASURE_ITEM", PyInt_FromLong(wxEVT_MEASURE_ITEM
)); 
49618     PyDict_SetItemString(d
, "wxEVT_COMPARE_ITEM", PyInt_FromLong(wxEVT_COMPARE_ITEM
)); 
49619     PyDict_SetItemString(d
, "wxEVT_INIT_DIALOG", PyInt_FromLong(wxEVT_INIT_DIALOG
)); 
49620     PyDict_SetItemString(d
, "wxEVT_IDLE", PyInt_FromLong(wxEVT_IDLE
)); 
49621     PyDict_SetItemString(d
, "wxEVT_UPDATE_UI", PyInt_FromLong(wxEVT_UPDATE_UI
)); 
49622     PyDict_SetItemString(d
, "wxEVT_SIZING", PyInt_FromLong(wxEVT_SIZING
)); 
49623     PyDict_SetItemString(d
, "wxEVT_MOVING", PyInt_FromLong(wxEVT_MOVING
)); 
49624     PyDict_SetItemString(d
, "wxEVT_HIBERNATE", PyInt_FromLong(wxEVT_HIBERNATE
)); 
49625     PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_CLICK
)); 
49626     PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_DCLICK
)); 
49627     PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_CLICK
)); 
49628     PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_DCLICK
)); 
49629     PyDict_SetItemString(d
, "wxEVT_COMMAND_SET_FOCUS", PyInt_FromLong(wxEVT_COMMAND_SET_FOCUS
)); 
49630     PyDict_SetItemString(d
, "wxEVT_COMMAND_KILL_FOCUS", PyInt_FromLong(wxEVT_COMMAND_KILL_FOCUS
)); 
49631     PyDict_SetItemString(d
, "wxEVT_COMMAND_ENTER", PyInt_FromLong(wxEVT_COMMAND_ENTER
)); 
49633         PyDict_SetItemString(d
,"MOUSE_BTN_ANY", SWIG_From_int((int)(wxMOUSE_BTN_ANY
)));  
49636         PyDict_SetItemString(d
,"MOUSE_BTN_NONE", SWIG_From_int((int)(wxMOUSE_BTN_NONE
)));  
49639         PyDict_SetItemString(d
,"MOUSE_BTN_LEFT", SWIG_From_int((int)(wxMOUSE_BTN_LEFT
)));  
49642         PyDict_SetItemString(d
,"MOUSE_BTN_MIDDLE", SWIG_From_int((int)(wxMOUSE_BTN_MIDDLE
)));  
49645         PyDict_SetItemString(d
,"MOUSE_BTN_RIGHT", SWIG_From_int((int)(wxMOUSE_BTN_RIGHT
)));  
49648         PyDict_SetItemString(d
,"UPDATE_UI_PROCESS_ALL", SWIG_From_int((int)(wxUPDATE_UI_PROCESS_ALL
)));  
49651         PyDict_SetItemString(d
,"UPDATE_UI_PROCESS_SPECIFIED", SWIG_From_int((int)(wxUPDATE_UI_PROCESS_SPECIFIED
)));  
49654         PyDict_SetItemString(d
,"NavigationKeyEvent_IsBackward", SWIG_From_int((int)(wxNavigationKeyEvent::IsBackward
)));  
49657         PyDict_SetItemString(d
,"NavigationKeyEvent_IsForward", SWIG_From_int((int)(wxNavigationKeyEvent::IsForward
)));  
49660         PyDict_SetItemString(d
,"NavigationKeyEvent_WinChange", SWIG_From_int((int)(wxNavigationKeyEvent::WinChange
)));  
49663         PyDict_SetItemString(d
,"NavigationKeyEvent_FromTab", SWIG_From_int((int)(wxNavigationKeyEvent::FromTab
)));  
49666         PyDict_SetItemString(d
,"IDLE_PROCESS_ALL", SWIG_From_int((int)(wxIDLE_PROCESS_ALL
)));  
49669         PyDict_SetItemString(d
,"IDLE_PROCESS_SPECIFIED", SWIG_From_int((int)(wxIDLE_PROCESS_SPECIFIED
)));  
49671     PyDict_SetItemString(d
, "wxEVT_DATE_CHANGED", PyInt_FromLong(wxEVT_DATE_CHANGED
)); 
49673         PyDict_SetItemString(d
,"PYAPP_ASSERT_SUPPRESS", SWIG_From_int((int)(wxPYAPP_ASSERT_SUPPRESS
)));  
49676         PyDict_SetItemString(d
,"PYAPP_ASSERT_EXCEPTION", SWIG_From_int((int)(wxPYAPP_ASSERT_EXCEPTION
)));  
49679         PyDict_SetItemString(d
,"PYAPP_ASSERT_DIALOG", SWIG_From_int((int)(wxPYAPP_ASSERT_DIALOG
)));  
49682         PyDict_SetItemString(d
,"PYAPP_ASSERT_LOG", SWIG_From_int((int)(wxPYAPP_ASSERT_LOG
)));  
49685         PyDict_SetItemString(d
,"PRINT_WINDOWS", SWIG_From_int((int)(wxPRINT_WINDOWS
)));  
49688         PyDict_SetItemString(d
,"PRINT_POSTSCRIPT", SWIG_From_int((int)(wxPRINT_POSTSCRIPT
)));  
49690     SWIG_addvarlink(SWIG_globals
,(char*)"NullAcceleratorTable",_wrap_NullAcceleratorTable_get
, _wrap_NullAcceleratorTable_set
); 
49691     SWIG_addvarlink(SWIG_globals
,(char*)"PanelNameStr",_wrap_PanelNameStr_get
, _wrap_PanelNameStr_set
); 
49693         PyDict_SetItemString(d
,"WINDOW_VARIANT_NORMAL", SWIG_From_int((int)(wxWINDOW_VARIANT_NORMAL
)));  
49696         PyDict_SetItemString(d
,"WINDOW_VARIANT_SMALL", SWIG_From_int((int)(wxWINDOW_VARIANT_SMALL
)));  
49699         PyDict_SetItemString(d
,"WINDOW_VARIANT_MINI", SWIG_From_int((int)(wxWINDOW_VARIANT_MINI
)));  
49702         PyDict_SetItemString(d
,"WINDOW_VARIANT_LARGE", SWIG_From_int((int)(wxWINDOW_VARIANT_LARGE
)));  
49705         PyDict_SetItemString(d
,"WINDOW_VARIANT_MAX", SWIG_From_int((int)(wxWINDOW_VARIANT_MAX
)));  
49707     SWIG_addvarlink(SWIG_globals
,(char*)"DefaultValidator",_wrap_DefaultValidator_get
, _wrap_DefaultValidator_set
); 
49708     SWIG_addvarlink(SWIG_globals
,(char*)"ControlNameStr",_wrap_ControlNameStr_get
, _wrap_ControlNameStr_set
); 
49710         PyDict_SetItemString(d
,"FLEX_GROWMODE_NONE", SWIG_From_int((int)(wxFLEX_GROWMODE_NONE
)));  
49713         PyDict_SetItemString(d
,"FLEX_GROWMODE_SPECIFIED", SWIG_From_int((int)(wxFLEX_GROWMODE_SPECIFIED
)));  
49716         PyDict_SetItemString(d
,"FLEX_GROWMODE_ALL", SWIG_From_int((int)(wxFLEX_GROWMODE_ALL
)));  
49718     SWIG_addvarlink(SWIG_globals
,(char*)"DefaultSpan",_wrap_DefaultSpan_get
, _wrap_DefaultSpan_set
); 
49720         PyDict_SetItemString(d
,"Left", SWIG_From_int((int)(wxLeft
)));  
49723         PyDict_SetItemString(d
,"Top", SWIG_From_int((int)(wxTop
)));  
49726         PyDict_SetItemString(d
,"Right", SWIG_From_int((int)(wxRight
)));  
49729         PyDict_SetItemString(d
,"Bottom", SWIG_From_int((int)(wxBottom
)));  
49732         PyDict_SetItemString(d
,"Width", SWIG_From_int((int)(wxWidth
)));  
49735         PyDict_SetItemString(d
,"Height", SWIG_From_int((int)(wxHeight
)));  
49738         PyDict_SetItemString(d
,"Centre", SWIG_From_int((int)(wxCentre
)));  
49741         PyDict_SetItemString(d
,"Center", SWIG_From_int((int)(wxCenter
)));  
49744         PyDict_SetItemString(d
,"CentreX", SWIG_From_int((int)(wxCentreX
)));  
49747         PyDict_SetItemString(d
,"CentreY", SWIG_From_int((int)(wxCentreY
)));  
49750         PyDict_SetItemString(d
,"Unconstrained", SWIG_From_int((int)(wxUnconstrained
)));  
49753         PyDict_SetItemString(d
,"AsIs", SWIG_From_int((int)(wxAsIs
)));  
49756         PyDict_SetItemString(d
,"PercentOf", SWIG_From_int((int)(wxPercentOf
)));  
49759         PyDict_SetItemString(d
,"Above", SWIG_From_int((int)(wxAbove
)));  
49762         PyDict_SetItemString(d
,"Below", SWIG_From_int((int)(wxBelow
)));  
49765         PyDict_SetItemString(d
,"LeftOf", SWIG_From_int((int)(wxLeftOf
)));  
49768         PyDict_SetItemString(d
,"RightOf", SWIG_From_int((int)(wxRightOf
)));  
49771         PyDict_SetItemString(d
,"SameAs", SWIG_From_int((int)(wxSameAs
)));  
49774         PyDict_SetItemString(d
,"Absolute", SWIG_From_int((int)(wxAbsolute
)));  
49777     // Initialize threading, some globals and such 
49781     // Although these are defined in __version__ they need to be here too so 
49782     // that an assert can be done to ensure that the wxPython and the wxWindows 
49784     PyDict_SetItemString(d
,"MAJOR_VERSION", PyInt_FromLong((long)wxMAJOR_VERSION 
)); 
49785     PyDict_SetItemString(d
,"MINOR_VERSION", PyInt_FromLong((long)wxMINOR_VERSION 
)); 
49786     PyDict_SetItemString(d
,"RELEASE_VERSION", PyInt_FromLong((long)wxRELEASE_NUMBER 
));