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_wxTextUrlEvent swig_types[0]  
1342 #define  SWIGTYPE_p_wxSizer swig_types[1]  
1343 #define  SWIGTYPE_p_wxCheckBox swig_types[2]  
1344 #define  SWIGTYPE_p_wxPyTreeCtrl swig_types[3]  
1345 #define  SWIGTYPE_p_wxEvent swig_types[4]  
1346 #define  SWIGTYPE_p_wxGenericDirCtrl swig_types[5]  
1347 #define  SWIGTYPE_p_bool swig_types[6]  
1348 #define  SWIGTYPE_p_wxItemContainer swig_types[7]  
1349 #define  SWIGTYPE_p_wxPyListCtrl swig_types[8]  
1350 #define  SWIGTYPE_p_wxPyTreeItemData swig_types[9]  
1351 #define  SWIGTYPE_p_wxDirFilterListCtrl swig_types[10]  
1352 #define  SWIGTYPE_p_wxStaticLine swig_types[11]  
1353 #define  SWIGTYPE_p_wxControl swig_types[12]  
1354 #define  SWIGTYPE_p_wxPyControl swig_types[13]  
1355 #define  SWIGTYPE_p_wxGauge swig_types[14]  
1356 #define  SWIGTYPE_p_wxToolBarBase swig_types[15]  
1357 #define  SWIGTYPE_p_wxFont swig_types[16]  
1358 #define  SWIGTYPE_p_wxToggleButton swig_types[17]  
1359 #define  SWIGTYPE_p_wxRadioButton swig_types[18]  
1360 #define  SWIGTYPE_p_wxChoice swig_types[19]  
1361 #define  SWIGTYPE_p_wxMemoryDC swig_types[20]  
1362 #define  SWIGTYPE_ptrdiff_t swig_types[21]  
1363 #define  SWIGTYPE_std__ptrdiff_t swig_types[22]  
1364 #define  SWIGTYPE_p_wxListItemAttr swig_types[23]  
1365 #define  SWIGTYPE_p_void swig_types[24]  
1366 #define  SWIGTYPE_p_int swig_types[25]  
1367 #define  SWIGTYPE_p_wxSize swig_types[26]  
1368 #define  SWIGTYPE_p_wxDC swig_types[27]  
1369 #define  SWIGTYPE_p_wxListView swig_types[28]  
1370 #define  SWIGTYPE_p_wxIcon swig_types[29]  
1371 #define  SWIGTYPE_p_wxVisualAttributes swig_types[30]  
1372 #define  SWIGTYPE_p_wxTextCtrl swig_types[31]  
1373 #define  SWIGTYPE_p_wxNotebook swig_types[32]  
1374 #define  SWIGTYPE_p_wxChoicebook swig_types[33]  
1375 #define  SWIGTYPE_p_wxNotifyEvent swig_types[34]  
1376 #define  SWIGTYPE_p_wxArrayString swig_types[35]  
1377 #define  SWIGTYPE_p_form_ops_t swig_types[36]  
1378 #define  SWIGTYPE_p_wxListbook swig_types[37]  
1379 #define  SWIGTYPE_p_wxStaticBitmap swig_types[38]  
1380 #define  SWIGTYPE_p_wxSlider swig_types[39]  
1381 #define  SWIGTYPE_p_wxStaticBox swig_types[40]  
1382 #define  SWIGTYPE_p_wxArrayInt swig_types[41]  
1383 #define  SWIGTYPE_p_wxContextHelp swig_types[42]  
1384 #define  SWIGTYPE_p_long swig_types[43]  
1385 #define  SWIGTYPE_p_wxDuplexMode swig_types[44]  
1386 #define  SWIGTYPE_p_wxBookCtrlBase swig_types[45]  
1387 #define  SWIGTYPE_p_wxEvtHandler swig_types[46]  
1388 #define  SWIGTYPE_p_wxListEvent swig_types[47]  
1389 #define  SWIGTYPE_p_wxCheckListBox swig_types[48]  
1390 #define  SWIGTYPE_p_wxListBox swig_types[49]  
1391 #define  SWIGTYPE_p_wxSpinButton swig_types[50]  
1392 #define  SWIGTYPE_p_wxButton swig_types[51]  
1393 #define  SWIGTYPE_p_wxBitmapButton swig_types[52]  
1394 #define  SWIGTYPE_p_wxRect swig_types[53]  
1395 #define  SWIGTYPE_p_wxContextHelpButton swig_types[54]  
1396 #define  SWIGTYPE_p_wxRadioBox swig_types[55]  
1397 #define  SWIGTYPE_p_wxScrollBar swig_types[56]  
1398 #define  SWIGTYPE_p_char swig_types[57]  
1399 #define  SWIGTYPE_p_wxComboBox swig_types[58]  
1400 #define  SWIGTYPE_p_wxTreeItemId swig_types[59]  
1401 #define  SWIGTYPE_p_wxHelpEvent swig_types[60]  
1402 #define  SWIGTYPE_p_wxListItem swig_types[61]  
1403 #define  SWIGTYPE_p_wxNotebookSizer swig_types[62]  
1404 #define  SWIGTYPE_p_wxSpinEvent swig_types[63]  
1405 #define  SWIGTYPE_p_wxGenericDragImage swig_types[64]  
1406 #define  SWIGTYPE_p_wxSpinCtrl swig_types[65]  
1407 #define  SWIGTYPE_p_wxPaperSize swig_types[66]  
1408 #define  SWIGTYPE_p_wxImageList swig_types[67]  
1409 #define  SWIGTYPE_p_wxHelpProvider swig_types[68]  
1410 #define  SWIGTYPE_p_wxTextAttr swig_types[69]  
1411 #define  SWIGTYPE_p_wxSimpleHelpProvider swig_types[70]  
1412 #define  SWIGTYPE_p_wxChoicebookEvent swig_types[71]  
1413 #define  SWIGTYPE_p_wxListbookEvent swig_types[72]  
1414 #define  SWIGTYPE_p_wxNotebookEvent swig_types[73]  
1415 #define  SWIGTYPE_p_wxPoint swig_types[74]  
1416 #define  SWIGTYPE_p_wxObject swig_types[75]  
1417 #define  SWIGTYPE_p_wxCursor swig_types[76]  
1418 #define  SWIGTYPE_p_wxKeyEvent swig_types[77]  
1419 #define  SWIGTYPE_p_unsigned_long swig_types[78]  
1420 #define  SWIGTYPE_p_wxWindow swig_types[79]  
1421 #define  SWIGTYPE_p_wxString swig_types[80]  
1422 #define  SWIGTYPE_p_wxBitmap swig_types[81]  
1423 #define  SWIGTYPE_unsigned_int swig_types[82]  
1424 #define  SWIGTYPE_p_unsigned_int swig_types[83]  
1425 #define  SWIGTYPE_p_unsigned_char swig_types[84]  
1426 #define  SWIGTYPE_p_wxMouseEvent swig_types[85]  
1427 #define  SWIGTYPE_p_wxBookCtrlBaseEvent swig_types[86]  
1428 #define  SWIGTYPE_p_wxTreeEvent swig_types[87]  
1429 #define  SWIGTYPE_p_wxCommandEvent swig_types[88]  
1430 #define  SWIGTYPE_p_wxStaticText swig_types[89]  
1431 #define  SWIGTYPE_p_wxControlWithItems swig_types[90]  
1432 #define  SWIGTYPE_p_wxToolBarToolBase swig_types[91]  
1433 #define  SWIGTYPE_p_wxColour swig_types[92]  
1434 #define  SWIGTYPE_p_wxToolBar swig_types[93]  
1435 #define  SWIGTYPE_p_wxBookCtrlSizer swig_types[94]  
1436 #define  SWIGTYPE_p_wxValidator swig_types[95]  
1437 static swig_type_info 
*swig_types
[97]; 
1439 /* -------- TYPES TABLE (END) -------- */ 
1442 /*----------------------------------------------- 
1443               @(target):= _controls_.so 
1444   ------------------------------------------------*/ 
1445 #define SWIG_init    init_controls_ 
1447 #define SWIG_name    "_controls_" 
1449 #include "wx/wxPython/wxPython.h" 
1450 #include "wx/wxPython/pyclasses.h" 
1452  static const wxString 
wxPyPanelNameStr(wxPanelNameStr
);  
1453  static const wxString 
wxPyEmptyString(wxEmptyString
);  
1454  static const wxString 
wxPyControlNameStr(wxControlNameStr
);  
1456     const wxArrayString wxPyEmptyStringArray
; 
1458  static const wxString 
wxPyButtonNameStr(wxButtonNameStr
);  
1460   /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/ 
1461 #define SWIG_From_int PyInt_FromLong 
1469   SWIG_CheckLongInRange(long value
, long min_value
, long max_value
, 
1472   if (value 
< min_value
) { 
1474       PyErr_Format(PyExc_OverflowError
,  
1475                    "value %ld is less than '%s' minimum %ld",  
1476                    value
, errmsg
, min_value
); 
1479   } else if (value 
> max_value
) { 
1481       PyErr_Format(PyExc_OverflowError
, 
1482                    "value %ld is greater than '%s' maximum %ld",  
1483                    value
, errmsg
, max_value
); 
1492 SWIG_AsVal_long(PyObject
* obj
, long* val
) 
1494     if (PyNumber_Check(obj
)) { 
1495         if (val
) *val 
= PyInt_AsLong(obj
); 
1499         SWIG_type_error("number", obj
); 
1505 #if INT_MAX != LONG_MAX 
1507   SWIG_AsVal_int(PyObject 
*obj
, int *val
) 
1509   const char* errmsg 
= val 
? "int" : (char*)0; 
1511   if (SWIG_AsVal_long(obj
, &v
)) { 
1512     if (SWIG_CheckLongInRange(v
, INT_MIN
,INT_MAX
, errmsg
)) { 
1513       if (val
) *val 
= (int)(v
); 
1522     SWIG_type_error(errmsg
, obj
); 
1528   SWIG_AsVal_int(PyObject 
*obj
, int *val
) 
1530   return SWIG_AsVal_long(obj
,(long*)val
); 
1536 SWIG_As_int(PyObject
* obj
) 
1539   if (!SWIG_AsVal_int(obj
, &v
)) { 
1541       this is needed to make valgrind/purify happier.  
1543     memset((void*)&v
, 0, sizeof(int)); 
1549 SWIGINTERNSHORT 
long 
1550 SWIG_As_long(PyObject
* obj
) 
1553   if (!SWIG_AsVal_long(obj
, &v
)) { 
1555       this is needed to make valgrind/purify happier.  
1557     memset((void*)&v
, 0, sizeof(long)); 
1564 SWIG_Check_int(PyObject
* obj
) 
1566   return SWIG_AsVal_int(obj
, (int*)0); 
1571 SWIG_Check_long(PyObject
* obj
) 
1573   return SWIG_AsVal_long(obj
, (long*)0); 
1576  static const wxString 
wxPyCheckBoxNameStr(wxCheckBoxNameStr
);  
1579   SWIG_AsVal_bool(PyObject 
*obj
, bool *val
) 
1581   if (obj 
== Py_True
) { 
1582     if (val
) *val 
= true; 
1585   if (obj 
== Py_False
) { 
1586     if (val
) *val 
= false; 
1590   if (SWIG_AsVal_int(obj
, &res
)) {     
1591     if (val
) *val 
= res 
? true : false; 
1597     SWIG_type_error("bool", obj
); 
1603 SWIGINTERNSHORT 
bool 
1604 SWIG_As_bool(PyObject
* obj
) 
1607   if (!SWIG_AsVal_bool(obj
, &v
)) { 
1609       this is needed to make valgrind/purify happier.  
1611     memset((void*)&v
, 0, sizeof(bool)); 
1618 SWIG_Check_bool(PyObject
* obj
) 
1620   return SWIG_AsVal_bool(obj
, (bool*)0); 
1623  static const wxString 
wxPyChoiceNameStr(wxChoiceNameStr
);  
1624  static const wxString 
wxPyComboBoxNameStr(wxComboBoxNameStr
);  
1626   /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/ 
1627 #define SWIG_From_long PyInt_FromLong 
1630  static const wxString 
wxPyGaugeNameStr(wxGaugeNameStr
);  
1631  static const wxString 
wxPyStaticBitmapNameStr(wxStaticBitmapNameStr
);  
1632  static const wxString 
wxPyStaticBoxNameStr(wxStaticBoxNameStr
);  
1633  static const wxString 
wxPyStaticTextNameStr(wxStaticTextNameStr
);  
1635 #include <wx/checklst.h> 
1638  static const wxString 
wxPyListBoxNameStr(wxListBoxNameStr
);  
1639 static void wxListBox_Insert(wxListBox 
*self
,wxString 
const &item
,int pos
,PyObject 
*clientData
=NULL
){ 
1641                 wxPyClientData
* data 
= new wxPyClientData(clientData
); 
1642                 self
->Insert(item
, pos
, data
); 
1644                 self
->Insert(item
, pos
); 
1646 static PyObject 
*wxListBox_GetSelections(wxListBox 
*self
){ 
1648           self
->GetSelections(lst
); 
1649           PyObject 
*tup 
= PyTuple_New(lst
.GetCount()); 
1650           for(size_t i
=0; i
<lst
.GetCount(); i
++) { 
1651               PyTuple_SetItem(tup
, i
, PyInt_FromLong(lst
[i
])); 
1655 static void wxListBox_SetItemForegroundColour(wxListBox 
*self
,int item
,wxColour 
const &c
){ 
1657                  if (self
->GetWindowStyle() & wxLB_OWNERDRAW
) 
1658                      self
->GetItem(item
)->SetTextColour(c
); 
1661 static void wxListBox_SetItemBackgroundColour(wxListBox 
*self
,int item
,wxColour 
const &c
){ 
1663                  if (self
->GetWindowStyle() & wxLB_OWNERDRAW
) 
1664                      self
->GetItem(item
)->SetBackgroundColour(c
); 
1667 static void wxListBox_SetItemFont(wxListBox 
*self
,int item
,wxFont 
const &f
){ 
1669                  if (self
->GetWindowStyle() & wxLB_OWNERDRAW
) 
1670                      self
->GetItem(item
)->SetFont(f
); 
1673  static const wxString 
wxPyTextCtrlNameStr(wxTextCtrlNameStr
);  
1675   static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) { 
1681     } else if (target 
== Py_None
) {   
1685         if (!PyTuple_Check(target
)) { 
1687             target 
= PyTuple_New(1); 
1688             PyTuple_SetItem(target
, 0, o2
); 
1690         o3 
= PyTuple_New(1);             
1691         PyTuple_SetItem(o3
, 0, o
);       
1694         target 
= PySequence_Concat(o2
, o3
);  
1704 SWIG_AsVal_unsigned_SS_long(PyObject
* obj
, unsigned long* val
) 
1707     if (SWIG_AsVal_long(obj
, &v
) && v 
< 0) { 
1708         SWIG_type_error("unsigned number", obj
); 
1711         *val 
= (unsigned long)v
; 
1716 SWIGINTERNSHORT 
unsigned long 
1717 SWIG_As_unsigned_SS_long(PyObject
* obj
) 
1720   if (!SWIG_AsVal_unsigned_SS_long(obj
, &v
)) { 
1722       this is needed to make valgrind/purify happier.  
1724     memset((void*)&v
, 0, sizeof(unsigned long)); 
1731 SWIG_Check_unsigned_SS_long(PyObject
* obj
) 
1733   return SWIG_AsVal_unsigned_SS_long(obj
, (unsigned long*)0); 
1736 static void wxTextCtrl_write(wxTextCtrl 
*self
,wxString 
const &text
){ 
1737             self
->AppendText(text
); 
1739 static wxString 
wxTextCtrl_GetString(wxTextCtrl 
*self
,long from
,long to
){ 
1740             return self
->GetValue().Mid(from
, to 
- from
); 
1742  static const wxString 
wxPyScrollBarNameStr(wxScrollBarNameStr
);  
1743  static const wxString 
wxPySPIN_BUTTON_NAME(wxSPIN_BUTTON_NAME
);  
1744  static const wxString 
wxPySpinCtrlNameStr(_T("wxSpinCtrl"));  
1745  static const wxString 
wxPyRadioBoxNameStr(wxRadioBoxNameStr
);  
1746  static const wxString 
wxPyRadioButtonNameStr(wxRadioButtonNameStr
);  
1747 static int wxRadioBox_GetColumnCount(wxRadioBox 
const *self
){ return -1; } 
1748 static int wxRadioBox_GetRowCount(wxRadioBox 
const *self
){ return -1; } 
1749 static int wxRadioBox_GetNextItem(wxRadioBox 
const *self
,int item
,wxDirection dir
,long style
){ return -1; } 
1751 #include <wx/slider.h> 
1754  static const wxString 
wxPySliderNameStr(wxSliderNameStr
);  
1755  static const wxString 
wxPyToggleButtonNameStr(_T("wxToggleButton"));  
1757 #if !wxUSE_TOGGLEBTN 
1758 // implement dummy items for platforms that don't have this class 
1760 #define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0 
1762 class wxToggleButton 
: public wxControl
 
1765     wxToggleButton(wxWindow 
*, wxWindowID
, const wxString
&, 
1766                    const wxPoint
&, const wxSize
&, long, 
1767                    const wxValidator
&, const wxString
&) 
1768         { wxPyRaiseNotImplemented(); } 
1771         { wxPyRaiseNotImplemented(); } 
1775  static const wxString 
wxPyNOTEBOOK_NAME(wxNOTEBOOK_NAME
);  
1777 SWIGINTERNSHORT PyObject
*  
1778   SWIG_From_unsigned_SS_long(unsigned long value
) 
1780   return (value 
> LONG_MAX
) ? 
1781     PyLong_FromUnsignedLong(value
)  
1782     : PyInt_FromLong((long)(value
));  
1785  static const wxString 
wxPyToolBarNameStr(wxToolBarNameStr
);  
1786 static PyObject 
*wxToolBarToolBase_GetClientData(wxToolBarToolBase 
*self
){ 
1787             wxPyUserData
* udata 
= (wxPyUserData
*)self
->GetClientData(); 
1789                 Py_INCREF(udata
->m_obj
); 
1790                 return udata
->m_obj
; 
1796 static void wxToolBarToolBase_SetClientData(wxToolBarToolBase 
*self
,PyObject 
*clientData
){ 
1797             self
->SetClientData(new wxPyUserData(clientData
)); 
1799 static wxToolBarToolBase 
*wxToolBarBase_DoAddTool(wxToolBarBase 
*self
,int id
,wxString 
const &label
,wxBitmap 
const &bitmap
,wxBitmap 
const &bmpDisabled
=wxNullBitmap
,wxItemKind kind
=wxITEM_NORMAL
,wxString 
const &shortHelp
=wxPyEmptyString
,wxString 
const &longHelp
=wxPyEmptyString
,PyObject 
*clientData
=NULL
){ 
1800             wxPyUserData
* udata 
= NULL
; 
1801             if (clientData 
&& clientData 
!= Py_None
) 
1802                 udata 
= new wxPyUserData(clientData
); 
1803             return self
->AddTool(id
, label
, bitmap
, bmpDisabled
, kind
, 
1804                                  shortHelp
, longHelp
, udata
); 
1806 static wxToolBarToolBase 
*wxToolBarBase_DoInsertTool(wxToolBarBase 
*self
,size_t pos
,int id
,wxString 
const &label
,wxBitmap 
const &bitmap
,wxBitmap 
const &bmpDisabled
=wxNullBitmap
,wxItemKind kind
=wxITEM_NORMAL
,wxString 
const &shortHelp
=wxPyEmptyString
,wxString 
const &longHelp
=wxPyEmptyString
,PyObject 
*clientData
=NULL
){ 
1807             wxPyUserData
* udata 
= NULL
; 
1808             if (clientData 
&& clientData 
!= Py_None
) 
1809                 udata 
= new wxPyUserData(clientData
); 
1810             return self
->InsertTool(pos
, id
, label
, bitmap
, bmpDisabled
, kind
, 
1811                                     shortHelp
, longHelp
, udata
); 
1813 static PyObject 
*wxToolBarBase_GetToolClientData(wxToolBarBase 
*self
,int id
){ 
1814             wxPyUserData
* udata 
= (wxPyUserData
*)self
->GetToolClientData(id
); 
1816                 Py_INCREF(udata
->m_obj
); 
1817                 return udata
->m_obj
; 
1823 static void wxToolBarBase_SetToolClientData(wxToolBarBase 
*self
,int id
,PyObject 
*clientData
){ 
1824             self
->SetToolClientData(id
, new wxPyUserData(clientData
)); 
1827 #include <wx/listctrl.h> 
1829  static const wxString 
wxPyListCtrlNameStr(_T("wxListCtrl"));  
1830 static void wxListItemAttr_Destroy(wxListItemAttr 
*self
){ delete self
; } 
1831  // Python aware sorting function for wxPyListCtrl 
1832     static int wxCALLBACK 
wxPyListCtrl_SortItems(long item1
, long item2
, long funcPtr
) { 
1834         PyObject
* func 
= (PyObject
*)funcPtr
; 
1835         bool blocked 
= wxPyBeginBlockThreads(); 
1837         PyObject
* args 
= Py_BuildValue("(ii)", item1
, item2
); 
1838         PyObject
* result 
= PyEval_CallObject(func
, args
); 
1841             retval 
= PyInt_AsLong(result
); 
1845         wxPyEndBlockThreads(blocked
); 
1849   // C++ Version of a Python aware class 
1850 class wxPyListCtrl 
: public wxListCtrl 
{ 
1851     DECLARE_ABSTRACT_CLASS(wxPyListCtrl
); 
1853     wxPyListCtrl() : wxListCtrl() {} 
1854     wxPyListCtrl(wxWindow
* parent
, wxWindowID id
, 
1858                  const wxValidator
& validator
, 
1859                  const wxString
& name
) : 
1860         wxListCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {} 
1862     bool Create(wxWindow
* parent
, wxWindowID id
, 
1866                 const wxValidator
& validator
, 
1867                 const wxString
& name
) { 
1868         return wxListCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
); 
1871     DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText
); 
1872     DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr
); 
1874     // use the virtual version to avoid a confusing assert in the base class 
1875     DEC_PYCALLBACK_INT_LONG_virtual(OnGetItemImage
); 
1880 IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl
, wxListCtrl
); 
1882 IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemText
); 
1883 IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemAttr
); 
1884 IMP_PYCALLBACK_INT_LONG_virtual(wxPyListCtrl
, wxListCtrl
, OnGetItemImage
); 
1887 static wxListItem 
*wxPyListCtrl_GetColumn(wxPyListCtrl 
*self
,int col
){ 
1889             item
.SetMask( wxLIST_MASK_STATE 
| 
1897             if (self
->GetColumn(col
, item
)) 
1898                 return new wxListItem(item
); 
1902 static wxListItem 
*wxPyListCtrl_GetItem(wxPyListCtrl 
*self
,long itemId
,int col
=0){ 
1903             wxListItem
* info 
= new wxListItem
; 
1904             info
->m_itemId 
= itemId
; 
1906             info
->m_mask 
= 0xFFFF; 
1907             self
->GetItem(*info
); 
1910 static wxPoint 
wxPyListCtrl_GetItemPosition(wxPyListCtrl 
*self
,long item
){ 
1912             self
->GetItemPosition(item
, pos
); 
1915 static wxRect 
wxPyListCtrl_GetItemRect(wxPyListCtrl 
*self
,long item
,int code
=wxLIST_RECT_BOUNDS
){ 
1917             self
->GetItemRect(item
, rect
, code
); 
1921 static bool wxPyListCtrl_SortItems(wxPyListCtrl 
*self
,PyObject 
*func
){ 
1922             if (!PyCallable_Check(func
)) 
1924             return self
->SortItems((wxListCtrlCompare
)wxPyListCtrl_SortItems
, (long)func
); 
1926 static wxWindow 
*wxPyListCtrl_GetMainWindow(wxPyListCtrl 
*self
){ 
1930             return (wxWindow
*)self
->m_mainWin
; 
1934 #include <wx/treectrl.h> 
1935 #include "wx/wxPython/pytree.h" 
1937  static const wxString 
wxPyTreeCtrlNameStr(_T("wxTreeCtrl"));  
1938 static bool wxTreeItemId___eq__(wxTreeItemId 
*self
,wxTreeItemId 
const *other
){ return other 
? (*self 
== *other
) : false; } 
1939 static bool wxTreeItemId___ne__(wxTreeItemId 
*self
,wxTreeItemId 
const *other
){ return other 
? (*self 
!= *other
) : true;  } 
1940 static void wxPyTreeItemData_Destroy(wxPyTreeItemData 
*self
){ delete self
; } 
1941  // C++ version of Python aware wxTreeCtrl 
1942 class wxPyTreeCtrl 
: public wxTreeCtrl 
{ 
1943     DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl
); 
1945     wxPyTreeCtrl() : wxTreeCtrl() {} 
1946     wxPyTreeCtrl(wxWindow 
*parent
, wxWindowID id
, 
1950                  const wxValidator
& validator
, 
1951                  const wxString
& name
) : 
1952         wxTreeCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {} 
1954     bool Create(wxWindow 
*parent
, wxWindowID id
, 
1958                 const wxValidator
& validator
, 
1959                 const wxString
& name
) { 
1960         return wxTreeCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
); 
1964     int OnCompareItems(const wxTreeItemId
& item1
, 
1965                        const wxTreeItemId
& item2
) { 
1968         bool blocked 
= wxPyBeginBlockThreads(); 
1969         if ((found 
= wxPyCBH_findCallback(m_myInst
, "OnCompareItems"))) { 
1970             PyObject 
*o1 
= wxPyConstructObject((void*)&item1
, wxT("wxTreeItemId"), false); 
1971             PyObject 
*o2 
= wxPyConstructObject((void*)&item2
, wxT("wxTreeItemId"), false); 
1972             rval 
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OO)",o1
,o2
)); 
1976         wxPyEndBlockThreads(blocked
); 
1978             rval 
= wxTreeCtrl::OnCompareItems(item1
, item2
); 
1984 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl
, wxTreeCtrl
); 
1988 #if UINT_MAX < LONG_MAX 
1989 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/ 
1990 #define SWIG_From_unsigned_SS_int SWIG_From_long 
1993 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/ 
1994 #define SWIG_From_unsigned_SS_int SWIG_From_unsigned_SS_long 
2000   SWIG_CheckUnsignedLongInRange(unsigned long value
, 
2001                                 unsigned long max_value
, 
2004   if (value 
> max_value
) { 
2006       PyErr_Format(PyExc_OverflowError
, 
2007                    "value %lu is greater than '%s' minimum %lu", 
2008                    value
, errmsg
, max_value
); 
2016 #if UINT_MAX != ULONG_MAX 
2018   SWIG_AsVal_unsigned_SS_int(PyObject 
*obj
, unsigned int *val
) 
2020   const char* errmsg 
= val 
? "unsigned int" : (char*)0; 
2022   if (SWIG_AsVal_unsigned_SS_long(obj
, &v
)) { 
2023     if (SWIG_CheckUnsignedLongInRange(v
, INT_MAX
, errmsg
)) { 
2024       if (val
) *val 
= (unsigned int)(v
); 
2031     SWIG_type_error(errmsg
, obj
); 
2036 SWIGINTERNSHORT 
unsigned int 
2037   SWIG_AsVal_unsigned_SS_int(PyObject 
*obj
, unsigned int *val
) 
2039   return SWIG_AsVal_unsigned_SS_long(obj
,(unsigned long *)val
); 
2044 SWIGINTERNSHORT 
unsigned int 
2045 SWIG_As_unsigned_SS_int(PyObject
* obj
) 
2048   if (!SWIG_AsVal_unsigned_SS_int(obj
, &v
)) { 
2050       this is needed to make valgrind/purify happier.  
2052     memset((void*)&v
, 0, sizeof(unsigned int)); 
2059 SWIG_Check_unsigned_SS_int(PyObject
* obj
) 
2061   return SWIG_AsVal_unsigned_SS_int(obj
, (unsigned int*)0); 
2064 static wxPyTreeItemData 
*wxPyTreeCtrl_GetItemData(wxPyTreeCtrl 
*self
,wxTreeItemId 
const &item
){ 
2065             wxPyTreeItemData
* data 
= (wxPyTreeItemData
*)self
->GetItemData(item
); 
2067                 data 
= new wxPyTreeItemData(); 
2068                 data
->SetId(item
); // set the id 
2069                 self
->SetItemData(item
, data
); 
2073 static PyObject 
*wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl 
*self
,wxTreeItemId 
const &item
){ 
2074             wxPyTreeItemData
* data 
= (wxPyTreeItemData
*)self
->GetItemData(item
); 
2076                 data 
= new wxPyTreeItemData(); 
2077                 data
->SetId(item
); // set the id 
2078                 self
->SetItemData(item
, data
); 
2080             return data
->GetData(); 
2082 static void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl 
*self
,wxTreeItemId 
const &item
,wxPyTreeItemData 
*data
){ 
2083             data
->SetId(item
); // set the id 
2084             self
->SetItemData(item
, data
); 
2086 static void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl 
*self
,wxTreeItemId 
const &item
,PyObject 
*obj
){ 
2087             wxPyTreeItemData
* data 
= (wxPyTreeItemData
*)self
->GetItemData(item
); 
2089                 data 
= new wxPyTreeItemData(obj
); 
2090                 data
->SetId(item
); // set the id 
2091                 self
->SetItemData(item
, data
); 
2095 static PyObject 
*wxPyTreeCtrl_GetSelections(wxPyTreeCtrl 
*self
){ 
2096             bool blocked 
= wxPyBeginBlockThreads(); 
2097             PyObject
*           rval 
= PyList_New(0); 
2098             wxArrayTreeItemIds  array
; 
2100             num 
= self
->GetSelections(array
); 
2101             for (x
=0; x 
< num
; x
++) { 
2102                 wxTreeItemId 
*tii 
= new wxTreeItemId(array
.Item(x
)); 
2103                 PyObject
* item 
= wxPyConstructObject((void*)tii
, wxT("wxTreeItemId"), true); 
2104                 PyList_Append(rval
, item
); 
2107             wxPyEndBlockThreads(blocked
); 
2110 static PyObject 
*wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl 
*self
,wxTreeItemId 
const &item
){ 
2112             wxTreeItemId
* ritem 
= new wxTreeItemId(self
->GetFirstChild(item
, cookie
)); 
2113             bool blocked 
= wxPyBeginBlockThreads(); 
2114             PyObject
* tup 
= PyTuple_New(2); 
2115             PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), true)); 
2116             PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void"))); 
2117             wxPyEndBlockThreads(blocked
); 
2120 static PyObject 
*wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl 
*self
,wxTreeItemId 
const &item
,void *cookie
){ 
2121             wxTreeItemId
* ritem 
= new wxTreeItemId(self
->GetNextChild(item
, cookie
)); 
2122             bool blocked 
= wxPyBeginBlockThreads(); 
2123             PyObject
* tup 
= PyTuple_New(2); 
2124             PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), true)); 
2125             PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void"))); 
2126             wxPyEndBlockThreads(blocked
); 
2129 static PyObject 
*wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl 
*self
,wxTreeItemId 
const &item
,bool textOnly
=false){ 
2131             if (self
->GetBoundingRect(item
, rect
, textOnly
)) { 
2132                 bool blocked 
= wxPyBeginBlockThreads(); 
2133                 wxRect
* r 
= new wxRect(rect
); 
2134                 PyObject
* val 
= wxPyConstructObject((void*)r
, wxT("wxRect"), true); 
2135                 wxPyEndBlockThreads(blocked
); 
2141  static const wxString 
wxPyDirDialogDefaultFolderStr(wxDirDialogDefaultFolderStr
);  
2143 SWIGINTERNSHORT PyObject
* 
2144   SWIG_From_bool(bool value
) 
2146   PyObject 
*obj 
= value 
? Py_True 
: Py_False
; 
2152  // C++ version of Python aware wxControl 
2153 class wxPyControl 
: public wxControl
 
2155     DECLARE_DYNAMIC_CLASS(wxPyControl
) 
2157     wxPyControl() : wxControl() {} 
2158     wxPyControl(wxWindow
* parent
, const wxWindowID id
, 
2159                 const wxPoint
& pos 
= wxDefaultPosition
, 
2160                 const wxSize
& size 
= wxDefaultSize
, 
2162                 const wxValidator
& validator
=wxDefaultValidator
, 
2163                 const wxString
& name 
= wxPyControlNameStr
) 
2164         : wxControl(parent
, id
, pos
, size
, style
, validator
, name
) {} 
2166     void SetBestSize(const wxSize
& size
) { wxControl::SetBestSize(size
); } 
2168     DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
); 
2169     DEC_PYCALLBACK_VOID_INT5(DoSetSize
); 
2170     DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
); 
2171     DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
); 
2173     DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
); 
2174     DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
); 
2175     DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
); 
2177     DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
); 
2178     DEC_PYCALLBACK_SIZE_const(DoGetBestSize
); 
2180     DEC_PYCALLBACK__(InitDialog
); 
2181     DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
); 
2182     DEC_PYCALLBACK_BOOL_(TransferDataToWindow
); 
2183     DEC_PYCALLBACK_BOOL_(Validate
); 
2185     DEC_PYCALLBACK_BOOL_const(AcceptsFocus
); 
2186     DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
); 
2187     DEC_PYCALLBACK_SIZE_const(GetMaxSize
); 
2189     DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
); 
2190     DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
); 
2192     DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
); 
2193     DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground
); 
2194     DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
); 
2199 IMPLEMENT_DYNAMIC_CLASS(wxPyControl
, wxControl
); 
2201 IMP_PYCALLBACK_VOID_INT4(wxPyControl
, wxControl
, DoMoveWindow
); 
2202 IMP_PYCALLBACK_VOID_INT5(wxPyControl
, wxControl
, DoSetSize
); 
2203 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetClientSize
); 
2204 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetVirtualSize
); 
2206 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetSize
); 
2207 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetClientSize
); 
2208 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetPosition
); 
2210 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetVirtualSize
); 
2211 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetBestSize
); 
2213 IMP_PYCALLBACK__(wxPyControl
, wxControl
, InitDialog
); 
2214 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataFromWindow
); 
2215 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataToWindow
); 
2216 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, Validate
); 
2218 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocus
); 
2219 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocusFromKeyboard
); 
2220 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, GetMaxSize
); 
2222 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, AddChild
); 
2223 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, RemoveChild
); 
2225 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, ShouldInheritColours
); 
2226 IMP_PYCALLBACK__COLOUR(wxPyControl
, wxControl
, ApplyParentThemeBackground
); 
2227 IMP_PYCALLBACK_VIZATTR_(wxPyControl
, wxControl
, GetDefaultAttributes
); 
2231 static void wxHelpProvider_Destroy(wxHelpProvider 
*self
){ delete self
; } 
2233 #include <wx/generic/dragimgg.h> 
2238 static int _wrap_ButtonNameStr_set(PyObject 
*) { 
2239     PyErr_SetString(PyExc_TypeError
,"Variable ButtonNameStr is read-only."); 
2244 static PyObject 
*_wrap_ButtonNameStr_get(void) { 
2249         pyobj 
= PyUnicode_FromWideChar((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len()); 
2251         pyobj 
= PyString_FromStringAndSize((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len()); 
2258 static PyObject 
*_wrap_new_Button(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2259     PyObject 
*resultobj
; 
2260     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
2261     int arg2 
= (int) -1 ; 
2262     wxString 
const &arg3_defvalue 
= wxPyEmptyString 
; 
2263     wxString 
*arg3 
= (wxString 
*) &arg3_defvalue 
; 
2264     wxPoint 
const &arg4_defvalue 
= wxDefaultPosition 
; 
2265     wxPoint 
*arg4 
= (wxPoint 
*) &arg4_defvalue 
; 
2266     wxSize 
const &arg5_defvalue 
= wxDefaultSize 
; 
2267     wxSize 
*arg5 
= (wxSize 
*) &arg5_defvalue 
; 
2268     long arg6 
= (long) 0 ; 
2269     wxValidator 
const &arg7_defvalue 
= wxDefaultValidator 
; 
2270     wxValidator 
*arg7 
= (wxValidator 
*) &arg7_defvalue 
; 
2271     wxString 
const &arg8_defvalue 
= wxPyButtonNameStr 
; 
2272     wxString 
*arg8 
= (wxString 
*) &arg8_defvalue 
; 
2274     bool temp3 
= false ; 
2277     bool temp8 
= false ; 
2278     PyObject 
* obj0 
= 0 ; 
2279     PyObject 
* obj1 
= 0 ; 
2280     PyObject 
* obj2 
= 0 ; 
2281     PyObject 
* obj3 
= 0 ; 
2282     PyObject 
* obj4 
= 0 ; 
2283     PyObject 
* obj5 
= 0 ; 
2284     PyObject 
* obj6 
= 0 ; 
2285     PyObject 
* obj7 
= 0 ; 
2287         (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL 
 
2290     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Button",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
; 
2291     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
2292     if (SWIG_arg_fail(1)) SWIG_fail
; 
2295             arg2 
= (int)(SWIG_As_int(obj1
));  
2296             if (SWIG_arg_fail(2)) SWIG_fail
; 
2301             arg3 
= wxString_in_helper(obj2
); 
2302             if (arg3 
== NULL
) SWIG_fail
; 
2309             if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
; 
2315             if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
; 
2320             arg6 
= (long)(SWIG_As_long(obj5
));  
2321             if (SWIG_arg_fail(6)) SWIG_fail
; 
2326             SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION 
| 0); 
2327             if (SWIG_arg_fail(7)) SWIG_fail
; 
2329                 SWIG_null_ref("wxValidator"); 
2331             if (SWIG_arg_fail(7)) SWIG_fail
; 
2336             arg8 
= wxString_in_helper(obj7
); 
2337             if (arg8 
== NULL
) SWIG_fail
; 
2342         if (!wxPyCheckForApp()) SWIG_fail
; 
2343         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2344         result 
= (wxButton 
*)new wxButton(arg1
,arg2
,(wxString 
const &)*arg3
,(wxPoint 
const &)*arg4
,(wxSize 
const &)*arg5
,arg6
,(wxValidator 
const &)*arg7
,(wxString 
const &)*arg8
); 
2346         wxPyEndAllowThreads(__tstate
); 
2347         if (PyErr_Occurred()) SWIG_fail
; 
2349     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxButton
, 1); 
2372 static PyObject 
*_wrap_new_PreButton(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2373     PyObject 
*resultobj
; 
2379     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreButton",kwnames
)) goto fail
; 
2381         if (!wxPyCheckForApp()) SWIG_fail
; 
2382         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2383         result 
= (wxButton 
*)new wxButton(); 
2385         wxPyEndAllowThreads(__tstate
); 
2386         if (PyErr_Occurred()) SWIG_fail
; 
2388     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxButton
, 1); 
2395 static PyObject 
*_wrap_Button_Create(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2396     PyObject 
*resultobj
; 
2397     wxButton 
*arg1 
= (wxButton 
*) 0 ; 
2398     wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
2399     int arg3 
= (int) -1 ; 
2400     wxString 
const &arg4_defvalue 
= wxPyEmptyString 
; 
2401     wxString 
*arg4 
= (wxString 
*) &arg4_defvalue 
; 
2402     wxPoint 
const &arg5_defvalue 
= wxDefaultPosition 
; 
2403     wxPoint 
*arg5 
= (wxPoint 
*) &arg5_defvalue 
; 
2404     wxSize 
const &arg6_defvalue 
= wxDefaultSize 
; 
2405     wxSize 
*arg6 
= (wxSize 
*) &arg6_defvalue 
; 
2406     long arg7 
= (long) 0 ; 
2407     wxValidator 
const &arg8_defvalue 
= wxDefaultValidator 
; 
2408     wxValidator 
*arg8 
= (wxValidator 
*) &arg8_defvalue 
; 
2409     wxString 
const &arg9_defvalue 
= wxPyButtonNameStr 
; 
2410     wxString 
*arg9 
= (wxString 
*) &arg9_defvalue 
; 
2412     bool temp4 
= false ; 
2415     bool temp9 
= false ; 
2416     PyObject 
* obj0 
= 0 ; 
2417     PyObject 
* obj1 
= 0 ; 
2418     PyObject 
* obj2 
= 0 ; 
2419     PyObject 
* obj3 
= 0 ; 
2420     PyObject 
* obj4 
= 0 ; 
2421     PyObject 
* obj5 
= 0 ; 
2422     PyObject 
* obj6 
= 0 ; 
2423     PyObject 
* obj7 
= 0 ; 
2424     PyObject 
* obj8 
= 0 ; 
2426         (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL 
 
2429     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Button_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
; 
2430     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxButton
, SWIG_POINTER_EXCEPTION 
| 0); 
2431     if (SWIG_arg_fail(1)) SWIG_fail
; 
2432     SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
2433     if (SWIG_arg_fail(2)) SWIG_fail
; 
2436             arg3 
= (int)(SWIG_As_int(obj2
));  
2437             if (SWIG_arg_fail(3)) SWIG_fail
; 
2442             arg4 
= wxString_in_helper(obj3
); 
2443             if (arg4 
== NULL
) SWIG_fail
; 
2450             if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
; 
2456             if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
; 
2461             arg7 
= (long)(SWIG_As_long(obj6
));  
2462             if (SWIG_arg_fail(7)) SWIG_fail
; 
2467             SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION 
| 0); 
2468             if (SWIG_arg_fail(8)) SWIG_fail
; 
2470                 SWIG_null_ref("wxValidator"); 
2472             if (SWIG_arg_fail(8)) SWIG_fail
; 
2477             arg9 
= wxString_in_helper(obj8
); 
2478             if (arg9 
== NULL
) SWIG_fail
; 
2483         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2484         result 
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString 
const &)*arg4
,(wxPoint 
const &)*arg5
,(wxSize 
const &)*arg6
,arg7
,(wxValidator 
const &)*arg8
,(wxString 
const &)*arg9
); 
2486         wxPyEndAllowThreads(__tstate
); 
2487         if (PyErr_Occurred()) SWIG_fail
; 
2490         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
2514 static PyObject 
*_wrap_Button_SetDefault(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2515     PyObject 
*resultobj
; 
2516     wxButton 
*arg1 
= (wxButton 
*) 0 ; 
2517     PyObject 
* obj0 
= 0 ; 
2519         (char *) "self", NULL 
 
2522     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Button_SetDefault",kwnames
,&obj0
)) goto fail
; 
2523     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxButton
, SWIG_POINTER_EXCEPTION 
| 0); 
2524     if (SWIG_arg_fail(1)) SWIG_fail
; 
2526         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2527         (arg1
)->SetDefault(); 
2529         wxPyEndAllowThreads(__tstate
); 
2530         if (PyErr_Occurred()) SWIG_fail
; 
2532     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
2539 static PyObject 
*_wrap_Button_GetDefaultSize(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2540     PyObject 
*resultobj
; 
2546     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Button_GetDefaultSize",kwnames
)) goto fail
; 
2548         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2549         result 
= wxButton::GetDefaultSize(); 
2551         wxPyEndAllowThreads(__tstate
); 
2552         if (PyErr_Occurred()) SWIG_fail
; 
2556         resultptr 
= new wxSize((wxSize 
&)(result
)); 
2557         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1); 
2565 static PyObject 
*_wrap_Button_GetClassDefaultAttributes(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2566     PyObject 
*resultobj
; 
2567     wxWindowVariant arg1 
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL 
; 
2568     wxVisualAttributes result
; 
2569     PyObject 
* obj0 
= 0 ; 
2571         (char *) "variant", NULL 
 
2574     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Button_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
; 
2577             arg1 
= (wxWindowVariant
)(SWIG_As_int(obj0
));  
2578             if (SWIG_arg_fail(1)) SWIG_fail
; 
2582         if (!wxPyCheckForApp()) SWIG_fail
; 
2583         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2584         result 
= wxButton::GetClassDefaultAttributes((wxWindowVariant 
)arg1
); 
2586         wxPyEndAllowThreads(__tstate
); 
2587         if (PyErr_Occurred()) SWIG_fail
; 
2590         wxVisualAttributes 
* resultptr
; 
2591         resultptr 
= new wxVisualAttributes((wxVisualAttributes 
&)(result
)); 
2592         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1); 
2600 static PyObject 
* Button_swigregister(PyObject 
*, PyObject 
*args
) { 
2602     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
2603     SWIG_TypeClientData(SWIGTYPE_p_wxButton
, obj
); 
2605     return Py_BuildValue((char *)""); 
2607 static PyObject 
*_wrap_new_BitmapButton(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2608     PyObject 
*resultobj
; 
2609     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
2610     int arg2 
= (int) -1 ; 
2611     wxBitmap 
const &arg3_defvalue 
= wxNullBitmap 
; 
2612     wxBitmap 
*arg3 
= (wxBitmap 
*) &arg3_defvalue 
; 
2613     wxPoint 
const &arg4_defvalue 
= wxDefaultPosition 
; 
2614     wxPoint 
*arg4 
= (wxPoint 
*) &arg4_defvalue 
; 
2615     wxSize 
const &arg5_defvalue 
= wxDefaultSize 
; 
2616     wxSize 
*arg5 
= (wxSize 
*) &arg5_defvalue 
; 
2617     long arg6 
= (long) wxBU_AUTODRAW 
; 
2618     wxValidator 
const &arg7_defvalue 
= wxDefaultValidator 
; 
2619     wxValidator 
*arg7 
= (wxValidator 
*) &arg7_defvalue 
; 
2620     wxString 
const &arg8_defvalue 
= wxPyButtonNameStr 
; 
2621     wxString 
*arg8 
= (wxString 
*) &arg8_defvalue 
; 
2622     wxBitmapButton 
*result
; 
2625     bool temp8 
= false ; 
2626     PyObject 
* obj0 
= 0 ; 
2627     PyObject 
* obj1 
= 0 ; 
2628     PyObject 
* obj2 
= 0 ; 
2629     PyObject 
* obj3 
= 0 ; 
2630     PyObject 
* obj4 
= 0 ; 
2631     PyObject 
* obj5 
= 0 ; 
2632     PyObject 
* obj6 
= 0 ; 
2633     PyObject 
* obj7 
= 0 ; 
2635         (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL 
 
2638     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_BitmapButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
; 
2639     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
2640     if (SWIG_arg_fail(1)) SWIG_fail
; 
2643             arg2 
= (int)(SWIG_As_int(obj1
));  
2644             if (SWIG_arg_fail(2)) SWIG_fail
; 
2649             SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION 
| 0); 
2650             if (SWIG_arg_fail(3)) SWIG_fail
; 
2652                 SWIG_null_ref("wxBitmap"); 
2654             if (SWIG_arg_fail(3)) SWIG_fail
; 
2660             if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
; 
2666             if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
; 
2671             arg6 
= (long)(SWIG_As_long(obj5
));  
2672             if (SWIG_arg_fail(6)) SWIG_fail
; 
2677             SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION 
| 0); 
2678             if (SWIG_arg_fail(7)) SWIG_fail
; 
2680                 SWIG_null_ref("wxValidator"); 
2682             if (SWIG_arg_fail(7)) SWIG_fail
; 
2687             arg8 
= wxString_in_helper(obj7
); 
2688             if (arg8 
== NULL
) SWIG_fail
; 
2693         if (!wxPyCheckForApp()) SWIG_fail
; 
2694         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2695         result 
= (wxBitmapButton 
*)new wxBitmapButton(arg1
,arg2
,(wxBitmap 
const &)*arg3
,(wxPoint 
const &)*arg4
,(wxSize 
const &)*arg5
,arg6
,(wxValidator 
const &)*arg7
,(wxString 
const &)*arg8
); 
2697         wxPyEndAllowThreads(__tstate
); 
2698         if (PyErr_Occurred()) SWIG_fail
; 
2700     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmapButton
, 1); 
2715 static PyObject 
*_wrap_new_PreBitmapButton(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2716     PyObject 
*resultobj
; 
2717     wxBitmapButton 
*result
; 
2722     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreBitmapButton",kwnames
)) goto fail
; 
2724         if (!wxPyCheckForApp()) SWIG_fail
; 
2725         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2726         result 
= (wxBitmapButton 
*)new wxBitmapButton(); 
2728         wxPyEndAllowThreads(__tstate
); 
2729         if (PyErr_Occurred()) SWIG_fail
; 
2731     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmapButton
, 1); 
2738 static PyObject 
*_wrap_BitmapButton_Create(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2739     PyObject 
*resultobj
; 
2740     wxBitmapButton 
*arg1 
= (wxBitmapButton 
*) 0 ; 
2741     wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
2742     int arg3 
= (int) -1 ; 
2743     wxBitmap 
const &arg4_defvalue 
= wxNullBitmap 
; 
2744     wxBitmap 
*arg4 
= (wxBitmap 
*) &arg4_defvalue 
; 
2745     wxPoint 
const &arg5_defvalue 
= wxDefaultPosition 
; 
2746     wxPoint 
*arg5 
= (wxPoint 
*) &arg5_defvalue 
; 
2747     wxSize 
const &arg6_defvalue 
= wxDefaultSize 
; 
2748     wxSize 
*arg6 
= (wxSize 
*) &arg6_defvalue 
; 
2749     long arg7 
= (long) wxBU_AUTODRAW 
; 
2750     wxValidator 
const &arg8_defvalue 
= wxDefaultValidator 
; 
2751     wxValidator 
*arg8 
= (wxValidator 
*) &arg8_defvalue 
; 
2752     wxString 
const &arg9_defvalue 
= wxPyButtonNameStr 
; 
2753     wxString 
*arg9 
= (wxString 
*) &arg9_defvalue 
; 
2757     bool temp9 
= false ; 
2758     PyObject 
* obj0 
= 0 ; 
2759     PyObject 
* obj1 
= 0 ; 
2760     PyObject 
* obj2 
= 0 ; 
2761     PyObject 
* obj3 
= 0 ; 
2762     PyObject 
* obj4 
= 0 ; 
2763     PyObject 
* obj5 
= 0 ; 
2764     PyObject 
* obj6 
= 0 ; 
2765     PyObject 
* obj7 
= 0 ; 
2766     PyObject 
* obj8 
= 0 ; 
2768         (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL 
 
2771     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:BitmapButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
; 
2772     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION 
| 0); 
2773     if (SWIG_arg_fail(1)) SWIG_fail
; 
2774     SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
2775     if (SWIG_arg_fail(2)) SWIG_fail
; 
2778             arg3 
= (int)(SWIG_As_int(obj2
));  
2779             if (SWIG_arg_fail(3)) SWIG_fail
; 
2784             SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION 
| 0); 
2785             if (SWIG_arg_fail(4)) SWIG_fail
; 
2787                 SWIG_null_ref("wxBitmap"); 
2789             if (SWIG_arg_fail(4)) SWIG_fail
; 
2795             if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
; 
2801             if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
; 
2806             arg7 
= (long)(SWIG_As_long(obj6
));  
2807             if (SWIG_arg_fail(7)) SWIG_fail
; 
2812             SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION 
| 0); 
2813             if (SWIG_arg_fail(8)) SWIG_fail
; 
2815                 SWIG_null_ref("wxValidator"); 
2817             if (SWIG_arg_fail(8)) SWIG_fail
; 
2822             arg9 
= wxString_in_helper(obj8
); 
2823             if (arg9 
== NULL
) SWIG_fail
; 
2828         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2829         result 
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap 
const &)*arg4
,(wxPoint 
const &)*arg5
,(wxSize 
const &)*arg6
,arg7
,(wxValidator 
const &)*arg8
,(wxString 
const &)*arg9
); 
2831         wxPyEndAllowThreads(__tstate
); 
2832         if (PyErr_Occurred()) SWIG_fail
; 
2835         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
2851 static PyObject 
*_wrap_BitmapButton_GetBitmapLabel(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2852     PyObject 
*resultobj
; 
2853     wxBitmapButton 
*arg1 
= (wxBitmapButton 
*) 0 ; 
2855     PyObject 
* obj0 
= 0 ; 
2857         (char *) "self", NULL 
 
2860     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapLabel",kwnames
,&obj0
)) goto fail
; 
2861     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION 
| 0); 
2862     if (SWIG_arg_fail(1)) SWIG_fail
; 
2864         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2865         result 
= (arg1
)->GetBitmapLabel(); 
2867         wxPyEndAllowThreads(__tstate
); 
2868         if (PyErr_Occurred()) SWIG_fail
; 
2871         wxBitmap 
* resultptr
; 
2872         resultptr 
= new wxBitmap((wxBitmap 
&)(result
)); 
2873         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1); 
2881 static PyObject 
*_wrap_BitmapButton_GetBitmapDisabled(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2882     PyObject 
*resultobj
; 
2883     wxBitmapButton 
*arg1 
= (wxBitmapButton 
*) 0 ; 
2885     PyObject 
* obj0 
= 0 ; 
2887         (char *) "self", NULL 
 
2890     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapDisabled",kwnames
,&obj0
)) goto fail
; 
2891     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION 
| 0); 
2892     if (SWIG_arg_fail(1)) SWIG_fail
; 
2894         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2895         result 
= (arg1
)->GetBitmapDisabled(); 
2897         wxPyEndAllowThreads(__tstate
); 
2898         if (PyErr_Occurred()) SWIG_fail
; 
2901         wxBitmap 
* resultptr
; 
2902         resultptr 
= new wxBitmap((wxBitmap 
&)(result
)); 
2903         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1); 
2911 static PyObject 
*_wrap_BitmapButton_GetBitmapFocus(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2912     PyObject 
*resultobj
; 
2913     wxBitmapButton 
*arg1 
= (wxBitmapButton 
*) 0 ; 
2915     PyObject 
* obj0 
= 0 ; 
2917         (char *) "self", NULL 
 
2920     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapFocus",kwnames
,&obj0
)) goto fail
; 
2921     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION 
| 0); 
2922     if (SWIG_arg_fail(1)) SWIG_fail
; 
2924         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2925         result 
= (arg1
)->GetBitmapFocus(); 
2927         wxPyEndAllowThreads(__tstate
); 
2928         if (PyErr_Occurred()) SWIG_fail
; 
2931         wxBitmap 
* resultptr
; 
2932         resultptr 
= new wxBitmap((wxBitmap 
&)(result
)); 
2933         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1); 
2941 static PyObject 
*_wrap_BitmapButton_GetBitmapSelected(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2942     PyObject 
*resultobj
; 
2943     wxBitmapButton 
*arg1 
= (wxBitmapButton 
*) 0 ; 
2945     PyObject 
* obj0 
= 0 ; 
2947         (char *) "self", NULL 
 
2950     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapSelected",kwnames
,&obj0
)) goto fail
; 
2951     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION 
| 0); 
2952     if (SWIG_arg_fail(1)) SWIG_fail
; 
2954         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2955         result 
= (arg1
)->GetBitmapSelected(); 
2957         wxPyEndAllowThreads(__tstate
); 
2958         if (PyErr_Occurred()) SWIG_fail
; 
2961         wxBitmap 
* resultptr
; 
2962         resultptr 
= new wxBitmap((wxBitmap 
&)(result
)); 
2963         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1); 
2971 static PyObject 
*_wrap_BitmapButton_SetBitmapDisabled(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2972     PyObject 
*resultobj
; 
2973     wxBitmapButton 
*arg1 
= (wxBitmapButton 
*) 0 ; 
2974     wxBitmap 
*arg2 
= 0 ; 
2975     PyObject 
* obj0 
= 0 ; 
2976     PyObject 
* obj1 
= 0 ; 
2978         (char *) "self",(char *) "bitmap", NULL 
 
2981     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames
,&obj0
,&obj1
)) goto fail
; 
2982     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION 
| 0); 
2983     if (SWIG_arg_fail(1)) SWIG_fail
; 
2985         SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION 
| 0); 
2986         if (SWIG_arg_fail(2)) SWIG_fail
; 
2988             SWIG_null_ref("wxBitmap"); 
2990         if (SWIG_arg_fail(2)) SWIG_fail
; 
2993         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2994         (arg1
)->SetBitmapDisabled((wxBitmap 
const &)*arg2
); 
2996         wxPyEndAllowThreads(__tstate
); 
2997         if (PyErr_Occurred()) SWIG_fail
; 
2999     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
3006 static PyObject 
*_wrap_BitmapButton_SetBitmapFocus(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3007     PyObject 
*resultobj
; 
3008     wxBitmapButton 
*arg1 
= (wxBitmapButton 
*) 0 ; 
3009     wxBitmap 
*arg2 
= 0 ; 
3010     PyObject 
* obj0 
= 0 ; 
3011     PyObject 
* obj1 
= 0 ; 
3013         (char *) "self",(char *) "bitmap", NULL 
 
3016     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames
,&obj0
,&obj1
)) goto fail
; 
3017     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION 
| 0); 
3018     if (SWIG_arg_fail(1)) SWIG_fail
; 
3020         SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION 
| 0); 
3021         if (SWIG_arg_fail(2)) SWIG_fail
; 
3023             SWIG_null_ref("wxBitmap"); 
3025         if (SWIG_arg_fail(2)) SWIG_fail
; 
3028         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3029         (arg1
)->SetBitmapFocus((wxBitmap 
const &)*arg2
); 
3031         wxPyEndAllowThreads(__tstate
); 
3032         if (PyErr_Occurred()) SWIG_fail
; 
3034     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
3041 static PyObject 
*_wrap_BitmapButton_SetBitmapSelected(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3042     PyObject 
*resultobj
; 
3043     wxBitmapButton 
*arg1 
= (wxBitmapButton 
*) 0 ; 
3044     wxBitmap 
*arg2 
= 0 ; 
3045     PyObject 
* obj0 
= 0 ; 
3046     PyObject 
* obj1 
= 0 ; 
3048         (char *) "self",(char *) "bitmap", NULL 
 
3051     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames
,&obj0
,&obj1
)) goto fail
; 
3052     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION 
| 0); 
3053     if (SWIG_arg_fail(1)) SWIG_fail
; 
3055         SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION 
| 0); 
3056         if (SWIG_arg_fail(2)) SWIG_fail
; 
3058             SWIG_null_ref("wxBitmap"); 
3060         if (SWIG_arg_fail(2)) SWIG_fail
; 
3063         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3064         (arg1
)->SetBitmapSelected((wxBitmap 
const &)*arg2
); 
3066         wxPyEndAllowThreads(__tstate
); 
3067         if (PyErr_Occurred()) SWIG_fail
; 
3069     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
3076 static PyObject 
*_wrap_BitmapButton_SetBitmapLabel(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3077     PyObject 
*resultobj
; 
3078     wxBitmapButton 
*arg1 
= (wxBitmapButton 
*) 0 ; 
3079     wxBitmap 
*arg2 
= 0 ; 
3080     PyObject 
* obj0 
= 0 ; 
3081     PyObject 
* obj1 
= 0 ; 
3083         (char *) "self",(char *) "bitmap", NULL 
 
3086     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames
,&obj0
,&obj1
)) goto fail
; 
3087     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION 
| 0); 
3088     if (SWIG_arg_fail(1)) SWIG_fail
; 
3090         SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION 
| 0); 
3091         if (SWIG_arg_fail(2)) SWIG_fail
; 
3093             SWIG_null_ref("wxBitmap"); 
3095         if (SWIG_arg_fail(2)) SWIG_fail
; 
3098         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3099         (arg1
)->SetBitmapLabel((wxBitmap 
const &)*arg2
); 
3101         wxPyEndAllowThreads(__tstate
); 
3102         if (PyErr_Occurred()) SWIG_fail
; 
3104     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
3111 static PyObject 
*_wrap_BitmapButton_SetMargins(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3112     PyObject 
*resultobj
; 
3113     wxBitmapButton 
*arg1 
= (wxBitmapButton 
*) 0 ; 
3116     PyObject 
* obj0 
= 0 ; 
3117     PyObject 
* obj1 
= 0 ; 
3118     PyObject 
* obj2 
= 0 ; 
3120         (char *) "self",(char *) "x",(char *) "y", NULL 
 
3123     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BitmapButton_SetMargins",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
3124     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION 
| 0); 
3125     if (SWIG_arg_fail(1)) SWIG_fail
; 
3127         arg2 
= (int)(SWIG_As_int(obj1
));  
3128         if (SWIG_arg_fail(2)) SWIG_fail
; 
3131         arg3 
= (int)(SWIG_As_int(obj2
));  
3132         if (SWIG_arg_fail(3)) SWIG_fail
; 
3135         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3136         (arg1
)->SetMargins(arg2
,arg3
); 
3138         wxPyEndAllowThreads(__tstate
); 
3139         if (PyErr_Occurred()) SWIG_fail
; 
3141     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
3148 static PyObject 
*_wrap_BitmapButton_GetMarginX(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3149     PyObject 
*resultobj
; 
3150     wxBitmapButton 
*arg1 
= (wxBitmapButton 
*) 0 ; 
3152     PyObject 
* obj0 
= 0 ; 
3154         (char *) "self", NULL 
 
3157     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetMarginX",kwnames
,&obj0
)) goto fail
; 
3158     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION 
| 0); 
3159     if (SWIG_arg_fail(1)) SWIG_fail
; 
3161         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3162         result 
= (int)((wxBitmapButton 
const *)arg1
)->GetMarginX(); 
3164         wxPyEndAllowThreads(__tstate
); 
3165         if (PyErr_Occurred()) SWIG_fail
; 
3168         resultobj 
= SWIG_From_int((int)(result
));  
3176 static PyObject 
*_wrap_BitmapButton_GetMarginY(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3177     PyObject 
*resultobj
; 
3178     wxBitmapButton 
*arg1 
= (wxBitmapButton 
*) 0 ; 
3180     PyObject 
* obj0 
= 0 ; 
3182         (char *) "self", NULL 
 
3185     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetMarginY",kwnames
,&obj0
)) goto fail
; 
3186     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION 
| 0); 
3187     if (SWIG_arg_fail(1)) SWIG_fail
; 
3189         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3190         result 
= (int)((wxBitmapButton 
const *)arg1
)->GetMarginY(); 
3192         wxPyEndAllowThreads(__tstate
); 
3193         if (PyErr_Occurred()) SWIG_fail
; 
3196         resultobj 
= SWIG_From_int((int)(result
));  
3204 static PyObject 
* BitmapButton_swigregister(PyObject 
*, PyObject 
*args
) { 
3206     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
3207     SWIG_TypeClientData(SWIGTYPE_p_wxBitmapButton
, obj
); 
3209     return Py_BuildValue((char *)""); 
3211 static int _wrap_CheckBoxNameStr_set(PyObject 
*) { 
3212     PyErr_SetString(PyExc_TypeError
,"Variable CheckBoxNameStr is read-only."); 
3217 static PyObject 
*_wrap_CheckBoxNameStr_get(void) { 
3222         pyobj 
= PyUnicode_FromWideChar((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len()); 
3224         pyobj 
= PyString_FromStringAndSize((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len()); 
3231 static PyObject 
*_wrap_new_CheckBox(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3232     PyObject 
*resultobj
; 
3233     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
3234     int arg2 
= (int) -1 ; 
3235     wxString 
const &arg3_defvalue 
= wxPyEmptyString 
; 
3236     wxString 
*arg3 
= (wxString 
*) &arg3_defvalue 
; 
3237     wxPoint 
const &arg4_defvalue 
= wxDefaultPosition 
; 
3238     wxPoint 
*arg4 
= (wxPoint 
*) &arg4_defvalue 
; 
3239     wxSize 
const &arg5_defvalue 
= wxDefaultSize 
; 
3240     wxSize 
*arg5 
= (wxSize 
*) &arg5_defvalue 
; 
3241     long arg6 
= (long) 0 ; 
3242     wxValidator 
const &arg7_defvalue 
= wxDefaultValidator 
; 
3243     wxValidator 
*arg7 
= (wxValidator 
*) &arg7_defvalue 
; 
3244     wxString 
const &arg8_defvalue 
= wxPyCheckBoxNameStr 
; 
3245     wxString 
*arg8 
= (wxString 
*) &arg8_defvalue 
; 
3247     bool temp3 
= false ; 
3250     bool temp8 
= false ; 
3251     PyObject 
* obj0 
= 0 ; 
3252     PyObject 
* obj1 
= 0 ; 
3253     PyObject 
* obj2 
= 0 ; 
3254     PyObject 
* obj3 
= 0 ; 
3255     PyObject 
* obj4 
= 0 ; 
3256     PyObject 
* obj5 
= 0 ; 
3257     PyObject 
* obj6 
= 0 ; 
3258     PyObject 
* obj7 
= 0 ; 
3260         (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL 
 
3263     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
; 
3264     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
3265     if (SWIG_arg_fail(1)) SWIG_fail
; 
3268             arg2 
= (int)(SWIG_As_int(obj1
));  
3269             if (SWIG_arg_fail(2)) SWIG_fail
; 
3274             arg3 
= wxString_in_helper(obj2
); 
3275             if (arg3 
== NULL
) SWIG_fail
; 
3282             if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
; 
3288             if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
; 
3293             arg6 
= (long)(SWIG_As_long(obj5
));  
3294             if (SWIG_arg_fail(6)) SWIG_fail
; 
3299             SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION 
| 0); 
3300             if (SWIG_arg_fail(7)) SWIG_fail
; 
3302                 SWIG_null_ref("wxValidator"); 
3304             if (SWIG_arg_fail(7)) SWIG_fail
; 
3309             arg8 
= wxString_in_helper(obj7
); 
3310             if (arg8 
== NULL
) SWIG_fail
; 
3315         if (!wxPyCheckForApp()) SWIG_fail
; 
3316         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3317         result 
= (wxCheckBox 
*)new wxCheckBox(arg1
,arg2
,(wxString 
const &)*arg3
,(wxPoint 
const &)*arg4
,(wxSize 
const &)*arg5
,arg6
,(wxValidator 
const &)*arg7
,(wxString 
const &)*arg8
); 
3319         wxPyEndAllowThreads(__tstate
); 
3320         if (PyErr_Occurred()) SWIG_fail
; 
3322     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckBox
, 1); 
3345 static PyObject 
*_wrap_new_PreCheckBox(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3346     PyObject 
*resultobj
; 
3352     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCheckBox",kwnames
)) goto fail
; 
3354         if (!wxPyCheckForApp()) SWIG_fail
; 
3355         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3356         result 
= (wxCheckBox 
*)new wxCheckBox(); 
3358         wxPyEndAllowThreads(__tstate
); 
3359         if (PyErr_Occurred()) SWIG_fail
; 
3361     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckBox
, 1); 
3368 static PyObject 
*_wrap_CheckBox_Create(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3369     PyObject 
*resultobj
; 
3370     wxCheckBox 
*arg1 
= (wxCheckBox 
*) 0 ; 
3371     wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
3372     int arg3 
= (int) -1 ; 
3373     wxString 
const &arg4_defvalue 
= wxPyEmptyString 
; 
3374     wxString 
*arg4 
= (wxString 
*) &arg4_defvalue 
; 
3375     wxPoint 
const &arg5_defvalue 
= wxDefaultPosition 
; 
3376     wxPoint 
*arg5 
= (wxPoint 
*) &arg5_defvalue 
; 
3377     wxSize 
const &arg6_defvalue 
= wxDefaultSize 
; 
3378     wxSize 
*arg6 
= (wxSize 
*) &arg6_defvalue 
; 
3379     long arg7 
= (long) 0 ; 
3380     wxValidator 
const &arg8_defvalue 
= wxDefaultValidator 
; 
3381     wxValidator 
*arg8 
= (wxValidator 
*) &arg8_defvalue 
; 
3382     wxString 
const &arg9_defvalue 
= wxPyCheckBoxNameStr 
; 
3383     wxString 
*arg9 
= (wxString 
*) &arg9_defvalue 
; 
3385     bool temp4 
= false ; 
3388     bool temp9 
= false ; 
3389     PyObject 
* obj0 
= 0 ; 
3390     PyObject 
* obj1 
= 0 ; 
3391     PyObject 
* obj2 
= 0 ; 
3392     PyObject 
* obj3 
= 0 ; 
3393     PyObject 
* obj4 
= 0 ; 
3394     PyObject 
* obj5 
= 0 ; 
3395     PyObject 
* obj6 
= 0 ; 
3396     PyObject 
* obj7 
= 0 ; 
3397     PyObject 
* obj8 
= 0 ; 
3399         (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL 
 
3402     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
; 
3403     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION 
| 0); 
3404     if (SWIG_arg_fail(1)) SWIG_fail
; 
3405     SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
3406     if (SWIG_arg_fail(2)) SWIG_fail
; 
3409             arg3 
= (int)(SWIG_As_int(obj2
));  
3410             if (SWIG_arg_fail(3)) SWIG_fail
; 
3415             arg4 
= wxString_in_helper(obj3
); 
3416             if (arg4 
== NULL
) SWIG_fail
; 
3423             if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
; 
3429             if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
; 
3434             arg7 
= (long)(SWIG_As_long(obj6
));  
3435             if (SWIG_arg_fail(7)) SWIG_fail
; 
3440             SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION 
| 0); 
3441             if (SWIG_arg_fail(8)) SWIG_fail
; 
3443                 SWIG_null_ref("wxValidator"); 
3445             if (SWIG_arg_fail(8)) SWIG_fail
; 
3450             arg9 
= wxString_in_helper(obj8
); 
3451             if (arg9 
== NULL
) SWIG_fail
; 
3456         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3457         result 
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString 
const &)*arg4
,(wxPoint 
const &)*arg5
,(wxSize 
const &)*arg6
,arg7
,(wxValidator 
const &)*arg8
,(wxString 
const &)*arg9
); 
3459         wxPyEndAllowThreads(__tstate
); 
3460         if (PyErr_Occurred()) SWIG_fail
; 
3463         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
3487 static PyObject 
*_wrap_CheckBox_GetValue(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3488     PyObject 
*resultobj
; 
3489     wxCheckBox 
*arg1 
= (wxCheckBox 
*) 0 ; 
3491     PyObject 
* obj0 
= 0 ; 
3493         (char *) "self", NULL 
 
3496     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_GetValue",kwnames
,&obj0
)) goto fail
; 
3497     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION 
| 0); 
3498     if (SWIG_arg_fail(1)) SWIG_fail
; 
3500         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3501         result 
= (bool)(arg1
)->GetValue(); 
3503         wxPyEndAllowThreads(__tstate
); 
3504         if (PyErr_Occurred()) SWIG_fail
; 
3507         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
3515 static PyObject 
*_wrap_CheckBox_IsChecked(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3516     PyObject 
*resultobj
; 
3517     wxCheckBox 
*arg1 
= (wxCheckBox 
*) 0 ; 
3519     PyObject 
* obj0 
= 0 ; 
3521         (char *) "self", NULL 
 
3524     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_IsChecked",kwnames
,&obj0
)) goto fail
; 
3525     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION 
| 0); 
3526     if (SWIG_arg_fail(1)) SWIG_fail
; 
3528         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3529         result 
= (bool)(arg1
)->IsChecked(); 
3531         wxPyEndAllowThreads(__tstate
); 
3532         if (PyErr_Occurred()) SWIG_fail
; 
3535         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
3543 static PyObject 
*_wrap_CheckBox_SetValue(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3544     PyObject 
*resultobj
; 
3545     wxCheckBox 
*arg1 
= (wxCheckBox 
*) 0 ; 
3547     PyObject 
* obj0 
= 0 ; 
3548     PyObject 
* obj1 
= 0 ; 
3550         (char *) "self",(char *) "state", NULL 
 
3553     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
; 
3554     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION 
| 0); 
3555     if (SWIG_arg_fail(1)) SWIG_fail
; 
3557         arg2 
= (bool const)(SWIG_As_bool(obj1
));  
3558         if (SWIG_arg_fail(2)) SWIG_fail
; 
3561         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3562         (arg1
)->SetValue(arg2
); 
3564         wxPyEndAllowThreads(__tstate
); 
3565         if (PyErr_Occurred()) SWIG_fail
; 
3567     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
3574 static PyObject 
*_wrap_CheckBox_Get3StateValue(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3575     PyObject 
*resultobj
; 
3576     wxCheckBox 
*arg1 
= (wxCheckBox 
*) 0 ; 
3577     wxCheckBoxState result
; 
3578     PyObject 
* obj0 
= 0 ; 
3580         (char *) "self", NULL 
 
3583     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Get3StateValue",kwnames
,&obj0
)) goto fail
; 
3584     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION 
| 0); 
3585     if (SWIG_arg_fail(1)) SWIG_fail
; 
3587         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3588         result 
= (wxCheckBoxState
)((wxCheckBox 
const *)arg1
)->Get3StateValue(); 
3590         wxPyEndAllowThreads(__tstate
); 
3591         if (PyErr_Occurred()) SWIG_fail
; 
3593     resultobj 
= SWIG_From_int((result
)); 
3600 static PyObject 
*_wrap_CheckBox_Set3StateValue(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3601     PyObject 
*resultobj
; 
3602     wxCheckBox 
*arg1 
= (wxCheckBox 
*) 0 ; 
3603     wxCheckBoxState arg2 
; 
3604     PyObject 
* obj0 
= 0 ; 
3605     PyObject 
* obj1 
= 0 ; 
3607         (char *) "self",(char *) "state", NULL 
 
3610     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_Set3StateValue",kwnames
,&obj0
,&obj1
)) goto fail
; 
3611     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION 
| 0); 
3612     if (SWIG_arg_fail(1)) SWIG_fail
; 
3614         arg2 
= (wxCheckBoxState
)(SWIG_As_int(obj1
));  
3615         if (SWIG_arg_fail(2)) SWIG_fail
; 
3618         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3619         (arg1
)->Set3StateValue((wxCheckBoxState 
)arg2
); 
3621         wxPyEndAllowThreads(__tstate
); 
3622         if (PyErr_Occurred()) SWIG_fail
; 
3624     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
3631 static PyObject 
*_wrap_CheckBox_Is3State(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3632     PyObject 
*resultobj
; 
3633     wxCheckBox 
*arg1 
= (wxCheckBox 
*) 0 ; 
3635     PyObject 
* obj0 
= 0 ; 
3637         (char *) "self", NULL 
 
3640     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Is3State",kwnames
,&obj0
)) goto fail
; 
3641     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION 
| 0); 
3642     if (SWIG_arg_fail(1)) SWIG_fail
; 
3644         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3645         result 
= (bool)((wxCheckBox 
const *)arg1
)->Is3State(); 
3647         wxPyEndAllowThreads(__tstate
); 
3648         if (PyErr_Occurred()) SWIG_fail
; 
3651         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
3659 static PyObject 
*_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3660     PyObject 
*resultobj
; 
3661     wxCheckBox 
*arg1 
= (wxCheckBox 
*) 0 ; 
3663     PyObject 
* obj0 
= 0 ; 
3665         (char *) "self", NULL 
 
3668     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Is3rdStateAllowedForUser",kwnames
,&obj0
)) goto fail
; 
3669     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION 
| 0); 
3670     if (SWIG_arg_fail(1)) SWIG_fail
; 
3672         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3673         result 
= (bool)((wxCheckBox 
const *)arg1
)->Is3rdStateAllowedForUser(); 
3675         wxPyEndAllowThreads(__tstate
); 
3676         if (PyErr_Occurred()) SWIG_fail
; 
3679         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
3687 static PyObject 
*_wrap_CheckBox_GetClassDefaultAttributes(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3688     PyObject 
*resultobj
; 
3689     wxWindowVariant arg1 
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL 
; 
3690     wxVisualAttributes result
; 
3691     PyObject 
* obj0 
= 0 ; 
3693         (char *) "variant", NULL 
 
3696     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:CheckBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
; 
3699             arg1 
= (wxWindowVariant
)(SWIG_As_int(obj0
));  
3700             if (SWIG_arg_fail(1)) SWIG_fail
; 
3704         if (!wxPyCheckForApp()) SWIG_fail
; 
3705         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3706         result 
= wxCheckBox::GetClassDefaultAttributes((wxWindowVariant 
)arg1
); 
3708         wxPyEndAllowThreads(__tstate
); 
3709         if (PyErr_Occurred()) SWIG_fail
; 
3712         wxVisualAttributes 
* resultptr
; 
3713         resultptr 
= new wxVisualAttributes((wxVisualAttributes 
&)(result
)); 
3714         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1); 
3722 static PyObject 
* CheckBox_swigregister(PyObject 
*, PyObject 
*args
) { 
3724     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
3725     SWIG_TypeClientData(SWIGTYPE_p_wxCheckBox
, obj
); 
3727     return Py_BuildValue((char *)""); 
3729 static int _wrap_ChoiceNameStr_set(PyObject 
*) { 
3730     PyErr_SetString(PyExc_TypeError
,"Variable ChoiceNameStr is read-only."); 
3735 static PyObject 
*_wrap_ChoiceNameStr_get(void) { 
3740         pyobj 
= PyUnicode_FromWideChar((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len()); 
3742         pyobj 
= PyString_FromStringAndSize((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len()); 
3749 static PyObject 
*_wrap_new_Choice(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3750     PyObject 
*resultobj
; 
3751     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
3752     int arg2 
= (int) -1 ; 
3753     wxPoint 
const &arg3_defvalue 
= wxDefaultPosition 
; 
3754     wxPoint 
*arg3 
= (wxPoint 
*) &arg3_defvalue 
; 
3755     wxSize 
const &arg4_defvalue 
= wxDefaultSize 
; 
3756     wxSize 
*arg4 
= (wxSize 
*) &arg4_defvalue 
; 
3757     wxArrayString 
const &arg5_defvalue 
= wxPyEmptyStringArray 
; 
3758     wxArrayString 
*arg5 
= (wxArrayString 
*) &arg5_defvalue 
; 
3759     long arg6 
= (long) 0 ; 
3760     wxValidator 
const &arg7_defvalue 
= wxDefaultValidator 
; 
3761     wxValidator 
*arg7 
= (wxValidator 
*) &arg7_defvalue 
; 
3762     wxString 
const &arg8_defvalue 
= wxPyChoiceNameStr 
; 
3763     wxString 
*arg8 
= (wxString 
*) &arg8_defvalue 
; 
3767     bool temp5 
= false ; 
3768     bool temp8 
= false ; 
3769     PyObject 
* obj0 
= 0 ; 
3770     PyObject 
* obj1 
= 0 ; 
3771     PyObject 
* obj2 
= 0 ; 
3772     PyObject 
* obj3 
= 0 ; 
3773     PyObject 
* obj4 
= 0 ; 
3774     PyObject 
* obj5 
= 0 ; 
3775     PyObject 
* obj6 
= 0 ; 
3776     PyObject 
* obj7 
= 0 ; 
3778         (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL 
 
3781     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Choice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
; 
3782     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
3783     if (SWIG_arg_fail(1)) SWIG_fail
; 
3786             arg2 
= (int)(SWIG_As_int(obj1
));  
3787             if (SWIG_arg_fail(2)) SWIG_fail
; 
3793             if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
; 
3799             if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
; 
3804             if (! PySequence_Check(obj4
)) { 
3805                 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected."); 
3808             arg5 
= new wxArrayString
; 
3810             int i
, len
=PySequence_Length(obj4
); 
3811             for (i
=0; i
<len
; i
++) { 
3812                 PyObject
* item 
= PySequence_GetItem(obj4
, i
); 
3814                 PyObject
* str  
= PyObject_Unicode(item
); 
3816                 PyObject
* str  
= PyObject_Str(item
); 
3818                 if (PyErr_Occurred())  SWIG_fail
; 
3819                 arg5
->Add(Py2wxString(str
)); 
3827             arg6 
= (long)(SWIG_As_long(obj5
));  
3828             if (SWIG_arg_fail(6)) SWIG_fail
; 
3833             SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION 
| 0); 
3834             if (SWIG_arg_fail(7)) SWIG_fail
; 
3836                 SWIG_null_ref("wxValidator"); 
3838             if (SWIG_arg_fail(7)) SWIG_fail
; 
3843             arg8 
= wxString_in_helper(obj7
); 
3844             if (arg8 
== NULL
) SWIG_fail
; 
3849         if (!wxPyCheckForApp()) SWIG_fail
; 
3850         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3851         result 
= (wxChoice 
*)new wxChoice(arg1
,arg2
,(wxPoint 
const &)*arg3
,(wxSize 
const &)*arg4
,(wxArrayString 
const &)*arg5
,arg6
,(wxValidator 
const &)*arg7
,(wxString 
const &)*arg8
); 
3853         wxPyEndAllowThreads(__tstate
); 
3854         if (PyErr_Occurred()) SWIG_fail
; 
3856     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoice
, 1); 
3858         if (temp5
) delete arg5
; 
3867         if (temp5
) delete arg5
; 
3877 static PyObject 
*_wrap_new_PreChoice(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3878     PyObject 
*resultobj
; 
3884     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreChoice",kwnames
)) goto fail
; 
3886         if (!wxPyCheckForApp()) SWIG_fail
; 
3887         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3888         result 
= (wxChoice 
*)new wxChoice(); 
3890         wxPyEndAllowThreads(__tstate
); 
3891         if (PyErr_Occurred()) SWIG_fail
; 
3893     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoice
, 1); 
3900 static PyObject 
*_wrap_Choice_Create(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3901     PyObject 
*resultobj
; 
3902     wxChoice 
*arg1 
= (wxChoice 
*) 0 ; 
3903     wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
3904     int arg3 
= (int) -1 ; 
3905     wxPoint 
const &arg4_defvalue 
= wxDefaultPosition 
; 
3906     wxPoint 
*arg4 
= (wxPoint 
*) &arg4_defvalue 
; 
3907     wxSize 
const &arg5_defvalue 
= wxDefaultSize 
; 
3908     wxSize 
*arg5 
= (wxSize 
*) &arg5_defvalue 
; 
3909     wxArrayString 
const &arg6_defvalue 
= wxPyEmptyStringArray 
; 
3910     wxArrayString 
*arg6 
= (wxArrayString 
*) &arg6_defvalue 
; 
3911     long arg7 
= (long) 0 ; 
3912     wxValidator 
const &arg8_defvalue 
= wxDefaultValidator 
; 
3913     wxValidator 
*arg8 
= (wxValidator 
*) &arg8_defvalue 
; 
3914     wxString 
const &arg9_defvalue 
= wxPyChoiceNameStr 
; 
3915     wxString 
*arg9 
= (wxString 
*) &arg9_defvalue 
; 
3919     bool temp6 
= false ; 
3920     bool temp9 
= false ; 
3921     PyObject 
* obj0 
= 0 ; 
3922     PyObject 
* obj1 
= 0 ; 
3923     PyObject 
* obj2 
= 0 ; 
3924     PyObject 
* obj3 
= 0 ; 
3925     PyObject 
* obj4 
= 0 ; 
3926     PyObject 
* obj5 
= 0 ; 
3927     PyObject 
* obj6 
= 0 ; 
3928     PyObject 
* obj7 
= 0 ; 
3929     PyObject 
* obj8 
= 0 ; 
3931         (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL 
 
3934     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Choice_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
; 
3935     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChoice
, SWIG_POINTER_EXCEPTION 
| 0); 
3936     if (SWIG_arg_fail(1)) SWIG_fail
; 
3937     SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
3938     if (SWIG_arg_fail(2)) SWIG_fail
; 
3941             arg3 
= (int)(SWIG_As_int(obj2
));  
3942             if (SWIG_arg_fail(3)) SWIG_fail
; 
3948             if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
; 
3954             if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
; 
3959             if (! PySequence_Check(obj5
)) { 
3960                 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected."); 
3963             arg6 
= new wxArrayString
; 
3965             int i
, len
=PySequence_Length(obj5
); 
3966             for (i
=0; i
<len
; i
++) { 
3967                 PyObject
* item 
= PySequence_GetItem(obj5
, i
); 
3969                 PyObject
* str  
= PyObject_Unicode(item
); 
3971                 PyObject
* str  
= PyObject_Str(item
); 
3973                 if (PyErr_Occurred())  SWIG_fail
; 
3974                 arg6
->Add(Py2wxString(str
)); 
3982             arg7 
= (long)(SWIG_As_long(obj6
));  
3983             if (SWIG_arg_fail(7)) SWIG_fail
; 
3988             SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION 
| 0); 
3989             if (SWIG_arg_fail(8)) SWIG_fail
; 
3991                 SWIG_null_ref("wxValidator"); 
3993             if (SWIG_arg_fail(8)) SWIG_fail
; 
3998             arg9 
= wxString_in_helper(obj8
); 
3999             if (arg9 
== NULL
) SWIG_fail
; 
4004         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4005         result 
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint 
const &)*arg4
,(wxSize 
const &)*arg5
,(wxArrayString 
const &)*arg6
,arg7
,(wxValidator 
const &)*arg8
,(wxString 
const &)*arg9
); 
4007         wxPyEndAllowThreads(__tstate
); 
4008         if (PyErr_Occurred()) SWIG_fail
; 
4011         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
4014         if (temp6
) delete arg6
; 
4023         if (temp6
) delete arg6
; 
4033 static PyObject 
*_wrap_Choice_SetSelection(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4034     PyObject 
*resultobj
; 
4035     wxChoice 
*arg1 
= (wxChoice 
*) 0 ; 
4037     PyObject 
* obj0 
= 0 ; 
4038     PyObject 
* obj1 
= 0 ; 
4040         (char *) "self",(char *) "n", NULL 
 
4043     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Choice_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
; 
4044     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChoice
, SWIG_POINTER_EXCEPTION 
| 0); 
4045     if (SWIG_arg_fail(1)) SWIG_fail
; 
4047         arg2 
= (int const)(SWIG_As_int(obj1
));  
4048         if (SWIG_arg_fail(2)) SWIG_fail
; 
4051         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4052         (arg1
)->SetSelection(arg2
); 
4054         wxPyEndAllowThreads(__tstate
); 
4055         if (PyErr_Occurred()) SWIG_fail
; 
4057     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
4064 static PyObject 
*_wrap_Choice_SetStringSelection(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4065     PyObject 
*resultobj
; 
4066     wxChoice 
*arg1 
= (wxChoice 
*) 0 ; 
4067     wxString 
*arg2 
= 0 ; 
4069     bool temp2 
= false ; 
4070     PyObject 
* obj0 
= 0 ; 
4071     PyObject 
* obj1 
= 0 ; 
4073         (char *) "self",(char *) "string", NULL 
 
4076     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Choice_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
; 
4077     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChoice
, SWIG_POINTER_EXCEPTION 
| 0); 
4078     if (SWIG_arg_fail(1)) SWIG_fail
; 
4080         arg2 
= wxString_in_helper(obj1
); 
4081         if (arg2 
== NULL
) SWIG_fail
; 
4085         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4086         result 
= (bool)(arg1
)->SetStringSelection((wxString 
const &)*arg2
); 
4088         wxPyEndAllowThreads(__tstate
); 
4089         if (PyErr_Occurred()) SWIG_fail
; 
4092         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
4108 static PyObject 
*_wrap_Choice_SetString(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4109     PyObject 
*resultobj
; 
4110     wxChoice 
*arg1 
= (wxChoice 
*) 0 ; 
4112     wxString 
*arg3 
= 0 ; 
4113     bool temp3 
= false ; 
4114     PyObject 
* obj0 
= 0 ; 
4115     PyObject 
* obj1 
= 0 ; 
4116     PyObject 
* obj2 
= 0 ; 
4118         (char *) "self",(char *) "n",(char *) "string", NULL 
 
4121     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Choice_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
4122     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChoice
, SWIG_POINTER_EXCEPTION 
| 0); 
4123     if (SWIG_arg_fail(1)) SWIG_fail
; 
4125         arg2 
= (int)(SWIG_As_int(obj1
));  
4126         if (SWIG_arg_fail(2)) SWIG_fail
; 
4129         arg3 
= wxString_in_helper(obj2
); 
4130         if (arg3 
== NULL
) SWIG_fail
; 
4134         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4135         (arg1
)->SetString(arg2
,(wxString 
const &)*arg3
); 
4137         wxPyEndAllowThreads(__tstate
); 
4138         if (PyErr_Occurred()) SWIG_fail
; 
4140     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
4155 static PyObject 
*_wrap_Choice_GetClassDefaultAttributes(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4156     PyObject 
*resultobj
; 
4157     wxWindowVariant arg1 
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL 
; 
4158     wxVisualAttributes result
; 
4159     PyObject 
* obj0 
= 0 ; 
4161         (char *) "variant", NULL 
 
4164     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Choice_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
; 
4167             arg1 
= (wxWindowVariant
)(SWIG_As_int(obj0
));  
4168             if (SWIG_arg_fail(1)) SWIG_fail
; 
4172         if (!wxPyCheckForApp()) SWIG_fail
; 
4173         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4174         result 
= wxChoice::GetClassDefaultAttributes((wxWindowVariant 
)arg1
); 
4176         wxPyEndAllowThreads(__tstate
); 
4177         if (PyErr_Occurred()) SWIG_fail
; 
4180         wxVisualAttributes 
* resultptr
; 
4181         resultptr 
= new wxVisualAttributes((wxVisualAttributes 
&)(result
)); 
4182         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1); 
4190 static PyObject 
* Choice_swigregister(PyObject 
*, PyObject 
*args
) { 
4192     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
4193     SWIG_TypeClientData(SWIGTYPE_p_wxChoice
, obj
); 
4195     return Py_BuildValue((char *)""); 
4197 static int _wrap_ComboBoxNameStr_set(PyObject 
*) { 
4198     PyErr_SetString(PyExc_TypeError
,"Variable ComboBoxNameStr is read-only."); 
4203 static PyObject 
*_wrap_ComboBoxNameStr_get(void) { 
4208         pyobj 
= PyUnicode_FromWideChar((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len()); 
4210         pyobj 
= PyString_FromStringAndSize((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len()); 
4217 static PyObject 
*_wrap_new_ComboBox(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4218     PyObject 
*resultobj
; 
4219     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
4220     int arg2 
= (int) -1 ; 
4221     wxString 
const &arg3_defvalue 
= wxPyEmptyString 
; 
4222     wxString 
*arg3 
= (wxString 
*) &arg3_defvalue 
; 
4223     wxPoint 
const &arg4_defvalue 
= wxDefaultPosition 
; 
4224     wxPoint 
*arg4 
= (wxPoint 
*) &arg4_defvalue 
; 
4225     wxSize 
const &arg5_defvalue 
= wxDefaultSize 
; 
4226     wxSize 
*arg5 
= (wxSize 
*) &arg5_defvalue 
; 
4227     wxArrayString 
const &arg6_defvalue 
= wxPyEmptyStringArray 
; 
4228     wxArrayString 
*arg6 
= (wxArrayString 
*) &arg6_defvalue 
; 
4229     long arg7 
= (long) 0 ; 
4230     wxValidator 
const &arg8_defvalue 
= wxDefaultValidator 
; 
4231     wxValidator 
*arg8 
= (wxValidator 
*) &arg8_defvalue 
; 
4232     wxString 
const &arg9_defvalue 
= wxPyComboBoxNameStr 
; 
4233     wxString 
*arg9 
= (wxString 
*) &arg9_defvalue 
; 
4235     bool temp3 
= false ; 
4238     bool temp6 
= false ; 
4239     bool temp9 
= false ; 
4240     PyObject 
* obj0 
= 0 ; 
4241     PyObject 
* obj1 
= 0 ; 
4242     PyObject 
* obj2 
= 0 ; 
4243     PyObject 
* obj3 
= 0 ; 
4244     PyObject 
* obj4 
= 0 ; 
4245     PyObject 
* obj5 
= 0 ; 
4246     PyObject 
* obj6 
= 0 ; 
4247     PyObject 
* obj7 
= 0 ; 
4248     PyObject 
* obj8 
= 0 ; 
4250         (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL 
 
4253     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_ComboBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
; 
4254     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
4255     if (SWIG_arg_fail(1)) SWIG_fail
; 
4258             arg2 
= (int)(SWIG_As_int(obj1
));  
4259             if (SWIG_arg_fail(2)) SWIG_fail
; 
4264             arg3 
= wxString_in_helper(obj2
); 
4265             if (arg3 
== NULL
) SWIG_fail
; 
4272             if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
; 
4278             if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
; 
4283             if (! PySequence_Check(obj5
)) { 
4284                 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected."); 
4287             arg6 
= new wxArrayString
; 
4289             int i
, len
=PySequence_Length(obj5
); 
4290             for (i
=0; i
<len
; i
++) { 
4291                 PyObject
* item 
= PySequence_GetItem(obj5
, i
); 
4293                 PyObject
* str  
= PyObject_Unicode(item
); 
4295                 PyObject
* str  
= PyObject_Str(item
); 
4297                 if (PyErr_Occurred())  SWIG_fail
; 
4298                 arg6
->Add(Py2wxString(str
)); 
4306             arg7 
= (long)(SWIG_As_long(obj6
));  
4307             if (SWIG_arg_fail(7)) SWIG_fail
; 
4312             SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION 
| 0); 
4313             if (SWIG_arg_fail(8)) SWIG_fail
; 
4315                 SWIG_null_ref("wxValidator"); 
4317             if (SWIG_arg_fail(8)) SWIG_fail
; 
4322             arg9 
= wxString_in_helper(obj8
); 
4323             if (arg9 
== NULL
) SWIG_fail
; 
4328         if (!wxPyCheckForApp()) SWIG_fail
; 
4329         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4330         result 
= (wxComboBox 
*)new wxComboBox(arg1
,arg2
,(wxString 
const &)*arg3
,(wxPoint 
const &)*arg4
,(wxSize 
const &)*arg5
,(wxArrayString 
const &)*arg6
,arg7
,(wxValidator 
const &)*arg8
,(wxString 
const &)*arg9
); 
4332         wxPyEndAllowThreads(__tstate
); 
4333         if (PyErr_Occurred()) SWIG_fail
; 
4335     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxComboBox
, 1); 
4341         if (temp6
) delete arg6
; 
4354         if (temp6
) delete arg6
; 
4364 static PyObject 
*_wrap_new_PreComboBox(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4365     PyObject 
*resultobj
; 
4371     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreComboBox",kwnames
)) goto fail
; 
4373         if (!wxPyCheckForApp()) SWIG_fail
; 
4374         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4375         result 
= (wxComboBox 
*)new wxComboBox(); 
4377         wxPyEndAllowThreads(__tstate
); 
4378         if (PyErr_Occurred()) SWIG_fail
; 
4380     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxComboBox
, 1); 
4387 static PyObject 
*_wrap_ComboBox_Create(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4388     PyObject 
*resultobj
; 
4389     wxComboBox 
*arg1 
= (wxComboBox 
*) 0 ; 
4390     wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
4391     int arg3 
= (int) -1 ; 
4392     wxString 
const &arg4_defvalue 
= wxPyEmptyString 
; 
4393     wxString 
*arg4 
= (wxString 
*) &arg4_defvalue 
; 
4394     wxPoint 
const &arg5_defvalue 
= wxDefaultPosition 
; 
4395     wxPoint 
*arg5 
= (wxPoint 
*) &arg5_defvalue 
; 
4396     wxSize 
const &arg6_defvalue 
= wxDefaultSize 
; 
4397     wxSize 
*arg6 
= (wxSize 
*) &arg6_defvalue 
; 
4398     wxArrayString 
const &arg7_defvalue 
= wxPyEmptyStringArray 
; 
4399     wxArrayString 
*arg7 
= (wxArrayString 
*) &arg7_defvalue 
; 
4400     long arg8 
= (long) 0 ; 
4401     wxValidator 
const &arg9_defvalue 
= wxDefaultValidator 
; 
4402     wxValidator 
*arg9 
= (wxValidator 
*) &arg9_defvalue 
; 
4403     wxString 
const &arg10_defvalue 
= wxPyChoiceNameStr 
; 
4404     wxString 
*arg10 
= (wxString 
*) &arg10_defvalue 
; 
4406     bool temp4 
= false ; 
4409     bool temp7 
= false ; 
4410     bool temp10 
= false ; 
4411     PyObject 
* obj0 
= 0 ; 
4412     PyObject 
* obj1 
= 0 ; 
4413     PyObject 
* obj2 
= 0 ; 
4414     PyObject 
* obj3 
= 0 ; 
4415     PyObject 
* obj4 
= 0 ; 
4416     PyObject 
* obj5 
= 0 ; 
4417     PyObject 
* obj6 
= 0 ; 
4418     PyObject 
* obj7 
= 0 ; 
4419     PyObject 
* obj8 
= 0 ; 
4420     PyObject 
* obj9 
= 0 ; 
4422         (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL 
 
4425     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:ComboBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
; 
4426     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION 
| 0); 
4427     if (SWIG_arg_fail(1)) SWIG_fail
; 
4428     SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
4429     if (SWIG_arg_fail(2)) SWIG_fail
; 
4432             arg3 
= (int)(SWIG_As_int(obj2
));  
4433             if (SWIG_arg_fail(3)) SWIG_fail
; 
4438             arg4 
= wxString_in_helper(obj3
); 
4439             if (arg4 
== NULL
) SWIG_fail
; 
4446             if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
; 
4452             if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
; 
4457             if (! PySequence_Check(obj6
)) { 
4458                 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected."); 
4461             arg7 
= new wxArrayString
; 
4463             int i
, len
=PySequence_Length(obj6
); 
4464             for (i
=0; i
<len
; i
++) { 
4465                 PyObject
* item 
= PySequence_GetItem(obj6
, i
); 
4467                 PyObject
* str  
= PyObject_Unicode(item
); 
4469                 PyObject
* str  
= PyObject_Str(item
); 
4471                 if (PyErr_Occurred())  SWIG_fail
; 
4472                 arg7
->Add(Py2wxString(str
)); 
4480             arg8 
= (long)(SWIG_As_long(obj7
));  
4481             if (SWIG_arg_fail(8)) SWIG_fail
; 
4486             SWIG_Python_ConvertPtr(obj8
, (void **)&arg9
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION 
| 0); 
4487             if (SWIG_arg_fail(9)) SWIG_fail
; 
4489                 SWIG_null_ref("wxValidator"); 
4491             if (SWIG_arg_fail(9)) SWIG_fail
; 
4496             arg10 
= wxString_in_helper(obj9
); 
4497             if (arg10 
== NULL
) SWIG_fail
; 
4502         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4503         result 
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString 
const &)*arg4
,(wxPoint 
const &)*arg5
,(wxSize 
const &)*arg6
,(wxArrayString 
const &)*arg7
,arg8
,(wxValidator 
const &)*arg9
,(wxString 
const &)*arg10
); 
4505         wxPyEndAllowThreads(__tstate
); 
4506         if (PyErr_Occurred()) SWIG_fail
; 
4509         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
4516         if (temp7
) delete arg7
; 
4529         if (temp7
) delete arg7
; 
4539 static PyObject 
*_wrap_ComboBox_GetValue(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4540     PyObject 
*resultobj
; 
4541     wxComboBox 
*arg1 
= (wxComboBox 
*) 0 ; 
4543     PyObject 
* obj0 
= 0 ; 
4545         (char *) "self", NULL 
 
4548     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetValue",kwnames
,&obj0
)) goto fail
; 
4549     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION 
| 0); 
4550     if (SWIG_arg_fail(1)) SWIG_fail
; 
4552         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4553         result 
= ((wxComboBox 
const *)arg1
)->GetValue(); 
4555         wxPyEndAllowThreads(__tstate
); 
4556         if (PyErr_Occurred()) SWIG_fail
; 
4560         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
4562         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
4571 static PyObject 
*_wrap_ComboBox_SetValue(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4572     PyObject 
*resultobj
; 
4573     wxComboBox 
*arg1 
= (wxComboBox 
*) 0 ; 
4574     wxString 
*arg2 
= 0 ; 
4575     bool temp2 
= false ; 
4576     PyObject 
* obj0 
= 0 ; 
4577     PyObject 
* obj1 
= 0 ; 
4579         (char *) "self",(char *) "value", NULL 
 
4582     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
; 
4583     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION 
| 0); 
4584     if (SWIG_arg_fail(1)) SWIG_fail
; 
4586         arg2 
= wxString_in_helper(obj1
); 
4587         if (arg2 
== NULL
) SWIG_fail
; 
4591         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4592         (arg1
)->SetValue((wxString 
const &)*arg2
); 
4594         wxPyEndAllowThreads(__tstate
); 
4595         if (PyErr_Occurred()) SWIG_fail
; 
4597     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
4612 static PyObject 
*_wrap_ComboBox_Copy(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4613     PyObject 
*resultobj
; 
4614     wxComboBox 
*arg1 
= (wxComboBox 
*) 0 ; 
4615     PyObject 
* obj0 
= 0 ; 
4617         (char *) "self", NULL 
 
4620     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Copy",kwnames
,&obj0
)) goto fail
; 
4621     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION 
| 0); 
4622     if (SWIG_arg_fail(1)) SWIG_fail
; 
4624         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4627         wxPyEndAllowThreads(__tstate
); 
4628         if (PyErr_Occurred()) SWIG_fail
; 
4630     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
4637 static PyObject 
*_wrap_ComboBox_Cut(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4638     PyObject 
*resultobj
; 
4639     wxComboBox 
*arg1 
= (wxComboBox 
*) 0 ; 
4640     PyObject 
* obj0 
= 0 ; 
4642         (char *) "self", NULL 
 
4645     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Cut",kwnames
,&obj0
)) goto fail
; 
4646     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION 
| 0); 
4647     if (SWIG_arg_fail(1)) SWIG_fail
; 
4649         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4652         wxPyEndAllowThreads(__tstate
); 
4653         if (PyErr_Occurred()) SWIG_fail
; 
4655     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
4662 static PyObject 
*_wrap_ComboBox_Paste(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4663     PyObject 
*resultobj
; 
4664     wxComboBox 
*arg1 
= (wxComboBox 
*) 0 ; 
4665     PyObject 
* obj0 
= 0 ; 
4667         (char *) "self", NULL 
 
4670     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Paste",kwnames
,&obj0
)) goto fail
; 
4671     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION 
| 0); 
4672     if (SWIG_arg_fail(1)) SWIG_fail
; 
4674         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4677         wxPyEndAllowThreads(__tstate
); 
4678         if (PyErr_Occurred()) SWIG_fail
; 
4680     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
4687 static PyObject 
*_wrap_ComboBox_SetInsertionPoint(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4688     PyObject 
*resultobj
; 
4689     wxComboBox 
*arg1 
= (wxComboBox 
*) 0 ; 
4691     PyObject 
* obj0 
= 0 ; 
4692     PyObject 
* obj1 
= 0 ; 
4694         (char *) "self",(char *) "pos", NULL 
 
4697     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) goto fail
; 
4698     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION 
| 0); 
4699     if (SWIG_arg_fail(1)) SWIG_fail
; 
4701         arg2 
= (long)(SWIG_As_long(obj1
));  
4702         if (SWIG_arg_fail(2)) SWIG_fail
; 
4705         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4706         (arg1
)->SetInsertionPoint(arg2
); 
4708         wxPyEndAllowThreads(__tstate
); 
4709         if (PyErr_Occurred()) SWIG_fail
; 
4711     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
4718 static PyObject 
*_wrap_ComboBox_GetInsertionPoint(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4719     PyObject 
*resultobj
; 
4720     wxComboBox 
*arg1 
= (wxComboBox 
*) 0 ; 
4722     PyObject 
* obj0 
= 0 ; 
4724         (char *) "self", NULL 
 
4727     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetInsertionPoint",kwnames
,&obj0
)) goto fail
; 
4728     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION 
| 0); 
4729     if (SWIG_arg_fail(1)) SWIG_fail
; 
4731         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4732         result 
= (long)((wxComboBox 
const *)arg1
)->GetInsertionPoint(); 
4734         wxPyEndAllowThreads(__tstate
); 
4735         if (PyErr_Occurred()) SWIG_fail
; 
4738         resultobj 
= SWIG_From_long((long)(result
));  
4746 static PyObject 
*_wrap_ComboBox_GetLastPosition(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4747     PyObject 
*resultobj
; 
4748     wxComboBox 
*arg1 
= (wxComboBox 
*) 0 ; 
4750     PyObject 
* obj0 
= 0 ; 
4752         (char *) "self", NULL 
 
4755     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetLastPosition",kwnames
,&obj0
)) goto fail
; 
4756     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION 
| 0); 
4757     if (SWIG_arg_fail(1)) SWIG_fail
; 
4759         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4760         result 
= (long)((wxComboBox 
const *)arg1
)->GetLastPosition(); 
4762         wxPyEndAllowThreads(__tstate
); 
4763         if (PyErr_Occurred()) SWIG_fail
; 
4766         resultobj 
= SWIG_From_long((long)(result
));  
4774 static PyObject 
*_wrap_ComboBox_Replace(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4775     PyObject 
*resultobj
; 
4776     wxComboBox 
*arg1 
= (wxComboBox 
*) 0 ; 
4779     wxString 
*arg4 
= 0 ; 
4780     bool temp4 
= false ; 
4781     PyObject 
* obj0 
= 0 ; 
4782     PyObject 
* obj1 
= 0 ; 
4783     PyObject 
* obj2 
= 0 ; 
4784     PyObject 
* obj3 
= 0 ; 
4786         (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL 
 
4789     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ComboBox_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
4790     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION 
| 0); 
4791     if (SWIG_arg_fail(1)) SWIG_fail
; 
4793         arg2 
= (long)(SWIG_As_long(obj1
));  
4794         if (SWIG_arg_fail(2)) SWIG_fail
; 
4797         arg3 
= (long)(SWIG_As_long(obj2
));  
4798         if (SWIG_arg_fail(3)) SWIG_fail
; 
4801         arg4 
= wxString_in_helper(obj3
); 
4802         if (arg4 
== NULL
) SWIG_fail
; 
4806         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4807         (arg1
)->Replace(arg2
,arg3
,(wxString 
const &)*arg4
); 
4809         wxPyEndAllowThreads(__tstate
); 
4810         if (PyErr_Occurred()) SWIG_fail
; 
4812     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
4827 static PyObject 
*_wrap_ComboBox_SetSelection(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4828     PyObject 
*resultobj
; 
4829     wxComboBox 
*arg1 
= (wxComboBox 
*) 0 ; 
4831     PyObject 
* obj0 
= 0 ; 
4832     PyObject 
* obj1 
= 0 ; 
4834         (char *) "self",(char *) "n", NULL 
 
4837     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
; 
4838     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION 
| 0); 
4839     if (SWIG_arg_fail(1)) SWIG_fail
; 
4841         arg2 
= (int)(SWIG_As_int(obj1
));  
4842         if (SWIG_arg_fail(2)) SWIG_fail
; 
4845         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4846         (arg1
)->SetSelection(arg2
); 
4848         wxPyEndAllowThreads(__tstate
); 
4849         if (PyErr_Occurred()) SWIG_fail
; 
4851     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
4858 static PyObject 
*_wrap_ComboBox_SetMark(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4859     PyObject 
*resultobj
; 
4860     wxComboBox 
*arg1 
= (wxComboBox 
*) 0 ; 
4863     PyObject 
* obj0 
= 0 ; 
4864     PyObject 
* obj1 
= 0 ; 
4865     PyObject 
* obj2 
= 0 ; 
4867         (char *) "self",(char *) "from",(char *) "to", NULL 
 
4870     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetMark",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
4871     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION 
| 0); 
4872     if (SWIG_arg_fail(1)) SWIG_fail
; 
4874         arg2 
= (long)(SWIG_As_long(obj1
));  
4875         if (SWIG_arg_fail(2)) SWIG_fail
; 
4878         arg3 
= (long)(SWIG_As_long(obj2
));  
4879         if (SWIG_arg_fail(3)) SWIG_fail
; 
4882         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4883         (arg1
)->SetSelection(arg2
,arg3
); 
4885         wxPyEndAllowThreads(__tstate
); 
4886         if (PyErr_Occurred()) SWIG_fail
; 
4888     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
4895 static PyObject 
*_wrap_ComboBox_SetStringSelection(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4896     PyObject 
*resultobj
; 
4897     wxComboBox 
*arg1 
= (wxComboBox 
*) 0 ; 
4898     wxString 
*arg2 
= 0 ; 
4900     bool temp2 
= false ; 
4901     PyObject 
* obj0 
= 0 ; 
4902     PyObject 
* obj1 
= 0 ; 
4904         (char *) "self",(char *) "string", NULL 
 
4907     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
; 
4908     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION 
| 0); 
4909     if (SWIG_arg_fail(1)) SWIG_fail
; 
4911         arg2 
= wxString_in_helper(obj1
); 
4912         if (arg2 
== NULL
) SWIG_fail
; 
4916         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4917         result 
= (bool)(arg1
)->SetStringSelection((wxString 
const &)*arg2
); 
4919         wxPyEndAllowThreads(__tstate
); 
4920         if (PyErr_Occurred()) SWIG_fail
; 
4923         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
4939 static PyObject 
*_wrap_ComboBox_SetString(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4940     PyObject 
*resultobj
; 
4941     wxComboBox 
*arg1 
= (wxComboBox 
*) 0 ; 
4943     wxString 
*arg3 
= 0 ; 
4944     bool temp3 
= false ; 
4945     PyObject 
* obj0 
= 0 ; 
4946     PyObject 
* obj1 
= 0 ; 
4947     PyObject 
* obj2 
= 0 ; 
4949         (char *) "self",(char *) "n",(char *) "string", NULL 
 
4952     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
4953     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION 
| 0); 
4954     if (SWIG_arg_fail(1)) SWIG_fail
; 
4956         arg2 
= (int)(SWIG_As_int(obj1
));  
4957         if (SWIG_arg_fail(2)) SWIG_fail
; 
4960         arg3 
= wxString_in_helper(obj2
); 
4961         if (arg3 
== NULL
) SWIG_fail
; 
4965         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4966         (arg1
)->SetString(arg2
,(wxString 
const &)*arg3
); 
4968         wxPyEndAllowThreads(__tstate
); 
4969         if (PyErr_Occurred()) SWIG_fail
; 
4971     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
4986 static PyObject 
*_wrap_ComboBox_SetEditable(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4987     PyObject 
*resultobj
; 
4988     wxComboBox 
*arg1 
= (wxComboBox 
*) 0 ; 
4990     PyObject 
* obj0 
= 0 ; 
4991     PyObject 
* obj1 
= 0 ; 
4993         (char *) "self",(char *) "editable", NULL 
 
4996     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
; 
4997     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION 
| 0); 
4998     if (SWIG_arg_fail(1)) SWIG_fail
; 
5000         arg2 
= (bool)(SWIG_As_bool(obj1
));  
5001         if (SWIG_arg_fail(2)) SWIG_fail
; 
5004         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5005         (arg1
)->SetEditable(arg2
); 
5007         wxPyEndAllowThreads(__tstate
); 
5008         if (PyErr_Occurred()) SWIG_fail
; 
5010     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
5017 static PyObject 
*_wrap_ComboBox_SetInsertionPointEnd(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5018     PyObject 
*resultobj
; 
5019     wxComboBox 
*arg1 
= (wxComboBox 
*) 0 ; 
5020     PyObject 
* obj0 
= 0 ; 
5022         (char *) "self", NULL 
 
5025     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
; 
5026     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION 
| 0); 
5027     if (SWIG_arg_fail(1)) SWIG_fail
; 
5029         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5030         (arg1
)->SetInsertionPointEnd(); 
5032         wxPyEndAllowThreads(__tstate
); 
5033         if (PyErr_Occurred()) SWIG_fail
; 
5035     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
5042 static PyObject 
*_wrap_ComboBox_Remove(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5043     PyObject 
*resultobj
; 
5044     wxComboBox 
*arg1 
= (wxComboBox 
*) 0 ; 
5047     PyObject 
* obj0 
= 0 ; 
5048     PyObject 
* obj1 
= 0 ; 
5049     PyObject 
* obj2 
= 0 ; 
5051         (char *) "self",(char *) "from",(char *) "to", NULL 
 
5054     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
5055     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION 
| 0); 
5056     if (SWIG_arg_fail(1)) SWIG_fail
; 
5058         arg2 
= (long)(SWIG_As_long(obj1
));  
5059         if (SWIG_arg_fail(2)) SWIG_fail
; 
5062         arg3 
= (long)(SWIG_As_long(obj2
));  
5063         if (SWIG_arg_fail(3)) SWIG_fail
; 
5066         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5067         (arg1
)->Remove(arg2
,arg3
); 
5069         wxPyEndAllowThreads(__tstate
); 
5070         if (PyErr_Occurred()) SWIG_fail
; 
5072     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
5079 static PyObject 
*_wrap_ComboBox_IsEditable(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5080     PyObject 
*resultobj
; 
5081     wxComboBox 
*arg1 
= (wxComboBox 
*) 0 ; 
5083     PyObject 
* obj0 
= 0 ; 
5085         (char *) "self", NULL 
 
5088     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_IsEditable",kwnames
,&obj0
)) goto fail
; 
5089     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION 
| 0); 
5090     if (SWIG_arg_fail(1)) SWIG_fail
; 
5092         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5093         result 
= (bool)((wxComboBox 
const *)arg1
)->IsEditable(); 
5095         wxPyEndAllowThreads(__tstate
); 
5096         if (PyErr_Occurred()) SWIG_fail
; 
5099         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
5107 static PyObject 
*_wrap_ComboBox_Undo(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5108     PyObject 
*resultobj
; 
5109     wxComboBox 
*arg1 
= (wxComboBox 
*) 0 ; 
5110     PyObject 
* obj0 
= 0 ; 
5112         (char *) "self", NULL 
 
5115     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Undo",kwnames
,&obj0
)) goto fail
; 
5116     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION 
| 0); 
5117     if (SWIG_arg_fail(1)) SWIG_fail
; 
5119         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5122         wxPyEndAllowThreads(__tstate
); 
5123         if (PyErr_Occurred()) SWIG_fail
; 
5125     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
5132 static PyObject 
*_wrap_ComboBox_Redo(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5133     PyObject 
*resultobj
; 
5134     wxComboBox 
*arg1 
= (wxComboBox 
*) 0 ; 
5135     PyObject 
* obj0 
= 0 ; 
5137         (char *) "self", NULL 
 
5140     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Redo",kwnames
,&obj0
)) goto fail
; 
5141     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION 
| 0); 
5142     if (SWIG_arg_fail(1)) SWIG_fail
; 
5144         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5147         wxPyEndAllowThreads(__tstate
); 
5148         if (PyErr_Occurred()) SWIG_fail
; 
5150     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
5157 static PyObject 
*_wrap_ComboBox_SelectAll(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5158     PyObject 
*resultobj
; 
5159     wxComboBox 
*arg1 
= (wxComboBox 
*) 0 ; 
5160     PyObject 
* obj0 
= 0 ; 
5162         (char *) "self", NULL 
 
5165     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_SelectAll",kwnames
,&obj0
)) goto fail
; 
5166     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION 
| 0); 
5167     if (SWIG_arg_fail(1)) SWIG_fail
; 
5169         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5170         (arg1
)->SelectAll(); 
5172         wxPyEndAllowThreads(__tstate
); 
5173         if (PyErr_Occurred()) SWIG_fail
; 
5175     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
5182 static PyObject 
*_wrap_ComboBox_CanCopy(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5183     PyObject 
*resultobj
; 
5184     wxComboBox 
*arg1 
= (wxComboBox 
*) 0 ; 
5186     PyObject 
* obj0 
= 0 ; 
5188         (char *) "self", NULL 
 
5191     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_CanCopy",kwnames
,&obj0
)) goto fail
; 
5192     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION 
| 0); 
5193     if (SWIG_arg_fail(1)) SWIG_fail
; 
5195         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5196         result 
= (bool)((wxComboBox 
const *)arg1
)->CanCopy(); 
5198         wxPyEndAllowThreads(__tstate
); 
5199         if (PyErr_Occurred()) SWIG_fail
; 
5202         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
5210 static PyObject 
*_wrap_ComboBox_CanCut(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5211     PyObject 
*resultobj
; 
5212     wxComboBox 
*arg1 
= (wxComboBox 
*) 0 ; 
5214     PyObject 
* obj0 
= 0 ; 
5216         (char *) "self", NULL 
 
5219     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_CanCut",kwnames
,&obj0
)) goto fail
; 
5220     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION 
| 0); 
5221     if (SWIG_arg_fail(1)) SWIG_fail
; 
5223         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5224         result 
= (bool)((wxComboBox 
const *)arg1
)->CanCut(); 
5226         wxPyEndAllowThreads(__tstate
); 
5227         if (PyErr_Occurred()) SWIG_fail
; 
5230         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
5238 static PyObject 
*_wrap_ComboBox_CanPaste(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5239     PyObject 
*resultobj
; 
5240     wxComboBox 
*arg1 
= (wxComboBox 
*) 0 ; 
5242     PyObject 
* obj0 
= 0 ; 
5244         (char *) "self", NULL 
 
5247     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_CanPaste",kwnames
,&obj0
)) goto fail
; 
5248     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION 
| 0); 
5249     if (SWIG_arg_fail(1)) SWIG_fail
; 
5251         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5252         result 
= (bool)((wxComboBox 
const *)arg1
)->CanPaste(); 
5254         wxPyEndAllowThreads(__tstate
); 
5255         if (PyErr_Occurred()) SWIG_fail
; 
5258         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
5266 static PyObject 
*_wrap_ComboBox_CanUndo(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5267     PyObject 
*resultobj
; 
5268     wxComboBox 
*arg1 
= (wxComboBox 
*) 0 ; 
5270     PyObject 
* obj0 
= 0 ; 
5272         (char *) "self", NULL 
 
5275     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_CanUndo",kwnames
,&obj0
)) goto fail
; 
5276     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION 
| 0); 
5277     if (SWIG_arg_fail(1)) SWIG_fail
; 
5279         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5280         result 
= (bool)((wxComboBox 
const *)arg1
)->CanUndo(); 
5282         wxPyEndAllowThreads(__tstate
); 
5283         if (PyErr_Occurred()) SWIG_fail
; 
5286         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
5294 static PyObject 
*_wrap_ComboBox_CanRedo(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5295     PyObject 
*resultobj
; 
5296     wxComboBox 
*arg1 
= (wxComboBox 
*) 0 ; 
5298     PyObject 
* obj0 
= 0 ; 
5300         (char *) "self", NULL 
 
5303     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_CanRedo",kwnames
,&obj0
)) goto fail
; 
5304     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION 
| 0); 
5305     if (SWIG_arg_fail(1)) SWIG_fail
; 
5307         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5308         result 
= (bool)((wxComboBox 
const *)arg1
)->CanRedo(); 
5310         wxPyEndAllowThreads(__tstate
); 
5311         if (PyErr_Occurred()) SWIG_fail
; 
5314         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
5322 static PyObject 
*_wrap_ComboBox_GetClassDefaultAttributes(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5323     PyObject 
*resultobj
; 
5324     wxWindowVariant arg1 
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL 
; 
5325     wxVisualAttributes result
; 
5326     PyObject 
* obj0 
= 0 ; 
5328         (char *) "variant", NULL 
 
5331     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ComboBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
; 
5334             arg1 
= (wxWindowVariant
)(SWIG_As_int(obj0
));  
5335             if (SWIG_arg_fail(1)) SWIG_fail
; 
5339         if (!wxPyCheckForApp()) SWIG_fail
; 
5340         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5341         result 
= wxComboBox::GetClassDefaultAttributes((wxWindowVariant 
)arg1
); 
5343         wxPyEndAllowThreads(__tstate
); 
5344         if (PyErr_Occurred()) SWIG_fail
; 
5347         wxVisualAttributes 
* resultptr
; 
5348         resultptr 
= new wxVisualAttributes((wxVisualAttributes 
&)(result
)); 
5349         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1); 
5357 static PyObject 
* ComboBox_swigregister(PyObject 
*, PyObject 
*args
) { 
5359     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
5360     SWIG_TypeClientData(SWIGTYPE_p_wxComboBox
, obj
); 
5362     return Py_BuildValue((char *)""); 
5364 static int _wrap_GaugeNameStr_set(PyObject 
*) { 
5365     PyErr_SetString(PyExc_TypeError
,"Variable GaugeNameStr is read-only."); 
5370 static PyObject 
*_wrap_GaugeNameStr_get(void) { 
5375         pyobj 
= PyUnicode_FromWideChar((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len()); 
5377         pyobj 
= PyString_FromStringAndSize((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len()); 
5384 static PyObject 
*_wrap_new_Gauge(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5385     PyObject 
*resultobj
; 
5386     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
5387     int arg2 
= (int) -1 ; 
5388     int arg3 
= (int) 100 ; 
5389     wxPoint 
const &arg4_defvalue 
= wxDefaultPosition 
; 
5390     wxPoint 
*arg4 
= (wxPoint 
*) &arg4_defvalue 
; 
5391     wxSize 
const &arg5_defvalue 
= wxDefaultSize 
; 
5392     wxSize 
*arg5 
= (wxSize 
*) &arg5_defvalue 
; 
5393     long arg6 
= (long) wxGA_HORIZONTAL 
; 
5394     wxValidator 
const &arg7_defvalue 
= wxDefaultValidator 
; 
5395     wxValidator 
*arg7 
= (wxValidator 
*) &arg7_defvalue 
; 
5396     wxString 
const &arg8_defvalue 
= wxPyGaugeNameStr 
; 
5397     wxString 
*arg8 
= (wxString 
*) &arg8_defvalue 
; 
5401     bool temp8 
= false ; 
5402     PyObject 
* obj0 
= 0 ; 
5403     PyObject 
* obj1 
= 0 ; 
5404     PyObject 
* obj2 
= 0 ; 
5405     PyObject 
* obj3 
= 0 ; 
5406     PyObject 
* obj4 
= 0 ; 
5407     PyObject 
* obj5 
= 0 ; 
5408     PyObject 
* obj6 
= 0 ; 
5409     PyObject 
* obj7 
= 0 ; 
5411         (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL 
 
5414     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Gauge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
; 
5415     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
5416     if (SWIG_arg_fail(1)) SWIG_fail
; 
5419             arg2 
= (int)(SWIG_As_int(obj1
));  
5420             if (SWIG_arg_fail(2)) SWIG_fail
; 
5425             arg3 
= (int)(SWIG_As_int(obj2
));  
5426             if (SWIG_arg_fail(3)) SWIG_fail
; 
5432             if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
; 
5438             if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
; 
5443             arg6 
= (long)(SWIG_As_long(obj5
));  
5444             if (SWIG_arg_fail(6)) SWIG_fail
; 
5449             SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION 
| 0); 
5450             if (SWIG_arg_fail(7)) SWIG_fail
; 
5452                 SWIG_null_ref("wxValidator"); 
5454             if (SWIG_arg_fail(7)) SWIG_fail
; 
5459             arg8 
= wxString_in_helper(obj7
); 
5460             if (arg8 
== NULL
) SWIG_fail
; 
5465         if (!wxPyCheckForApp()) SWIG_fail
; 
5466         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5467         result 
= (wxGauge 
*)new wxGauge(arg1
,arg2
,arg3
,(wxPoint 
const &)*arg4
,(wxSize 
const &)*arg5
,arg6
,(wxValidator 
const &)*arg7
,(wxString 
const &)*arg8
); 
5469         wxPyEndAllowThreads(__tstate
); 
5470         if (PyErr_Occurred()) SWIG_fail
; 
5472     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGauge
, 1); 
5487 static PyObject 
*_wrap_new_PreGauge(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5488     PyObject 
*resultobj
; 
5494     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGauge",kwnames
)) goto fail
; 
5496         if (!wxPyCheckForApp()) SWIG_fail
; 
5497         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5498         result 
= (wxGauge 
*)new wxGauge(); 
5500         wxPyEndAllowThreads(__tstate
); 
5501         if (PyErr_Occurred()) SWIG_fail
; 
5503     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGauge
, 1); 
5510 static PyObject 
*_wrap_Gauge_Create(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5511     PyObject 
*resultobj
; 
5512     wxGauge 
*arg1 
= (wxGauge 
*) 0 ; 
5513     wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
5514     int arg3 
= (int) -1 ; 
5515     int arg4 
= (int) 100 ; 
5516     wxPoint 
const &arg5_defvalue 
= wxDefaultPosition 
; 
5517     wxPoint 
*arg5 
= (wxPoint 
*) &arg5_defvalue 
; 
5518     wxSize 
const &arg6_defvalue 
= wxDefaultSize 
; 
5519     wxSize 
*arg6 
= (wxSize 
*) &arg6_defvalue 
; 
5520     long arg7 
= (long) wxGA_HORIZONTAL 
; 
5521     wxValidator 
const &arg8_defvalue 
= wxDefaultValidator 
; 
5522     wxValidator 
*arg8 
= (wxValidator 
*) &arg8_defvalue 
; 
5523     wxString 
const &arg9_defvalue 
= wxPyGaugeNameStr 
; 
5524     wxString 
*arg9 
= (wxString 
*) &arg9_defvalue 
; 
5528     bool temp9 
= false ; 
5529     PyObject 
* obj0 
= 0 ; 
5530     PyObject 
* obj1 
= 0 ; 
5531     PyObject 
* obj2 
= 0 ; 
5532     PyObject 
* obj3 
= 0 ; 
5533     PyObject 
* obj4 
= 0 ; 
5534     PyObject 
* obj5 
= 0 ; 
5535     PyObject 
* obj6 
= 0 ; 
5536     PyObject 
* obj7 
= 0 ; 
5537     PyObject 
* obj8 
= 0 ; 
5539         (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL 
 
5542     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Gauge_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
; 
5543     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION 
| 0); 
5544     if (SWIG_arg_fail(1)) SWIG_fail
; 
5545     SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
5546     if (SWIG_arg_fail(2)) SWIG_fail
; 
5549             arg3 
= (int)(SWIG_As_int(obj2
));  
5550             if (SWIG_arg_fail(3)) SWIG_fail
; 
5555             arg4 
= (int)(SWIG_As_int(obj3
));  
5556             if (SWIG_arg_fail(4)) SWIG_fail
; 
5562             if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
; 
5568             if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
; 
5573             arg7 
= (long)(SWIG_As_long(obj6
));  
5574             if (SWIG_arg_fail(7)) SWIG_fail
; 
5579             SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION 
| 0); 
5580             if (SWIG_arg_fail(8)) SWIG_fail
; 
5582                 SWIG_null_ref("wxValidator"); 
5584             if (SWIG_arg_fail(8)) SWIG_fail
; 
5589             arg9 
= wxString_in_helper(obj8
); 
5590             if (arg9 
== NULL
) SWIG_fail
; 
5595         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5596         result 
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxPoint 
const &)*arg5
,(wxSize 
const &)*arg6
,arg7
,(wxValidator 
const &)*arg8
,(wxString 
const &)*arg9
); 
5598         wxPyEndAllowThreads(__tstate
); 
5599         if (PyErr_Occurred()) SWIG_fail
; 
5602         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
5618 static PyObject 
*_wrap_Gauge_SetRange(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5619     PyObject 
*resultobj
; 
5620     wxGauge 
*arg1 
= (wxGauge 
*) 0 ; 
5622     PyObject 
* obj0 
= 0 ; 
5623     PyObject 
* obj1 
= 0 ; 
5625         (char *) "self",(char *) "range", NULL 
 
5628     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetRange",kwnames
,&obj0
,&obj1
)) goto fail
; 
5629     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION 
| 0); 
5630     if (SWIG_arg_fail(1)) SWIG_fail
; 
5632         arg2 
= (int)(SWIG_As_int(obj1
));  
5633         if (SWIG_arg_fail(2)) SWIG_fail
; 
5636         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5637         (arg1
)->SetRange(arg2
); 
5639         wxPyEndAllowThreads(__tstate
); 
5640         if (PyErr_Occurred()) SWIG_fail
; 
5642     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
5649 static PyObject 
*_wrap_Gauge_GetRange(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5650     PyObject 
*resultobj
; 
5651     wxGauge 
*arg1 
= (wxGauge 
*) 0 ; 
5653     PyObject 
* obj0 
= 0 ; 
5655         (char *) "self", NULL 
 
5658     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetRange",kwnames
,&obj0
)) goto fail
; 
5659     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION 
| 0); 
5660     if (SWIG_arg_fail(1)) SWIG_fail
; 
5662         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5663         result 
= (int)((wxGauge 
const *)arg1
)->GetRange(); 
5665         wxPyEndAllowThreads(__tstate
); 
5666         if (PyErr_Occurred()) SWIG_fail
; 
5669         resultobj 
= SWIG_From_int((int)(result
));  
5677 static PyObject 
*_wrap_Gauge_SetValue(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5678     PyObject 
*resultobj
; 
5679     wxGauge 
*arg1 
= (wxGauge 
*) 0 ; 
5681     PyObject 
* obj0 
= 0 ; 
5682     PyObject 
* obj1 
= 0 ; 
5684         (char *) "self",(char *) "pos", NULL 
 
5687     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
; 
5688     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION 
| 0); 
5689     if (SWIG_arg_fail(1)) SWIG_fail
; 
5691         arg2 
= (int)(SWIG_As_int(obj1
));  
5692         if (SWIG_arg_fail(2)) SWIG_fail
; 
5695         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5696         (arg1
)->SetValue(arg2
); 
5698         wxPyEndAllowThreads(__tstate
); 
5699         if (PyErr_Occurred()) SWIG_fail
; 
5701     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
5708 static PyObject 
*_wrap_Gauge_GetValue(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5709     PyObject 
*resultobj
; 
5710     wxGauge 
*arg1 
= (wxGauge 
*) 0 ; 
5712     PyObject 
* obj0 
= 0 ; 
5714         (char *) "self", NULL 
 
5717     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetValue",kwnames
,&obj0
)) goto fail
; 
5718     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION 
| 0); 
5719     if (SWIG_arg_fail(1)) SWIG_fail
; 
5721         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5722         result 
= (int)((wxGauge 
const *)arg1
)->GetValue(); 
5724         wxPyEndAllowThreads(__tstate
); 
5725         if (PyErr_Occurred()) SWIG_fail
; 
5728         resultobj 
= SWIG_From_int((int)(result
));  
5736 static PyObject 
*_wrap_Gauge_IsVertical(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5737     PyObject 
*resultobj
; 
5738     wxGauge 
*arg1 
= (wxGauge 
*) 0 ; 
5740     PyObject 
* obj0 
= 0 ; 
5742         (char *) "self", NULL 
 
5745     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_IsVertical",kwnames
,&obj0
)) goto fail
; 
5746     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION 
| 0); 
5747     if (SWIG_arg_fail(1)) SWIG_fail
; 
5749         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5750         result 
= (bool)((wxGauge 
const *)arg1
)->IsVertical(); 
5752         wxPyEndAllowThreads(__tstate
); 
5753         if (PyErr_Occurred()) SWIG_fail
; 
5756         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
5764 static PyObject 
*_wrap_Gauge_SetShadowWidth(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5765     PyObject 
*resultobj
; 
5766     wxGauge 
*arg1 
= (wxGauge 
*) 0 ; 
5768     PyObject 
* obj0 
= 0 ; 
5769     PyObject 
* obj1 
= 0 ; 
5771         (char *) "self",(char *) "w", NULL 
 
5774     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetShadowWidth",kwnames
,&obj0
,&obj1
)) goto fail
; 
5775     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION 
| 0); 
5776     if (SWIG_arg_fail(1)) SWIG_fail
; 
5778         arg2 
= (int)(SWIG_As_int(obj1
));  
5779         if (SWIG_arg_fail(2)) SWIG_fail
; 
5782         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5783         (arg1
)->SetShadowWidth(arg2
); 
5785         wxPyEndAllowThreads(__tstate
); 
5786         if (PyErr_Occurred()) SWIG_fail
; 
5788     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
5795 static PyObject 
*_wrap_Gauge_GetShadowWidth(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5796     PyObject 
*resultobj
; 
5797     wxGauge 
*arg1 
= (wxGauge 
*) 0 ; 
5799     PyObject 
* obj0 
= 0 ; 
5801         (char *) "self", NULL 
 
5804     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetShadowWidth",kwnames
,&obj0
)) goto fail
; 
5805     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION 
| 0); 
5806     if (SWIG_arg_fail(1)) SWIG_fail
; 
5808         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5809         result 
= (int)((wxGauge 
const *)arg1
)->GetShadowWidth(); 
5811         wxPyEndAllowThreads(__tstate
); 
5812         if (PyErr_Occurred()) SWIG_fail
; 
5815         resultobj 
= SWIG_From_int((int)(result
));  
5823 static PyObject 
*_wrap_Gauge_SetBezelFace(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5824     PyObject 
*resultobj
; 
5825     wxGauge 
*arg1 
= (wxGauge 
*) 0 ; 
5827     PyObject 
* obj0 
= 0 ; 
5828     PyObject 
* obj1 
= 0 ; 
5830         (char *) "self",(char *) "w", NULL 
 
5833     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetBezelFace",kwnames
,&obj0
,&obj1
)) goto fail
; 
5834     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION 
| 0); 
5835     if (SWIG_arg_fail(1)) SWIG_fail
; 
5837         arg2 
= (int)(SWIG_As_int(obj1
));  
5838         if (SWIG_arg_fail(2)) SWIG_fail
; 
5841         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5842         (arg1
)->SetBezelFace(arg2
); 
5844         wxPyEndAllowThreads(__tstate
); 
5845         if (PyErr_Occurred()) SWIG_fail
; 
5847     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
5854 static PyObject 
*_wrap_Gauge_GetBezelFace(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5855     PyObject 
*resultobj
; 
5856     wxGauge 
*arg1 
= (wxGauge 
*) 0 ; 
5858     PyObject 
* obj0 
= 0 ; 
5860         (char *) "self", NULL 
 
5863     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetBezelFace",kwnames
,&obj0
)) goto fail
; 
5864     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION 
| 0); 
5865     if (SWIG_arg_fail(1)) SWIG_fail
; 
5867         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5868         result 
= (int)((wxGauge 
const *)arg1
)->GetBezelFace(); 
5870         wxPyEndAllowThreads(__tstate
); 
5871         if (PyErr_Occurred()) SWIG_fail
; 
5874         resultobj 
= SWIG_From_int((int)(result
));  
5882 static PyObject 
*_wrap_Gauge_GetClassDefaultAttributes(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5883     PyObject 
*resultobj
; 
5884     wxWindowVariant arg1 
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL 
; 
5885     wxVisualAttributes result
; 
5886     PyObject 
* obj0 
= 0 ; 
5888         (char *) "variant", NULL 
 
5891     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Gauge_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
; 
5894             arg1 
= (wxWindowVariant
)(SWIG_As_int(obj0
));  
5895             if (SWIG_arg_fail(1)) SWIG_fail
; 
5899         if (!wxPyCheckForApp()) SWIG_fail
; 
5900         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5901         result 
= wxGauge::GetClassDefaultAttributes((wxWindowVariant 
)arg1
); 
5903         wxPyEndAllowThreads(__tstate
); 
5904         if (PyErr_Occurred()) SWIG_fail
; 
5907         wxVisualAttributes 
* resultptr
; 
5908         resultptr 
= new wxVisualAttributes((wxVisualAttributes 
&)(result
)); 
5909         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1); 
5917 static PyObject 
* Gauge_swigregister(PyObject 
*, PyObject 
*args
) { 
5919     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
5920     SWIG_TypeClientData(SWIGTYPE_p_wxGauge
, obj
); 
5922     return Py_BuildValue((char *)""); 
5924 static int _wrap_StaticBitmapNameStr_set(PyObject 
*) { 
5925     PyErr_SetString(PyExc_TypeError
,"Variable StaticBitmapNameStr is read-only."); 
5930 static PyObject 
*_wrap_StaticBitmapNameStr_get(void) { 
5935         pyobj 
= PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len()); 
5937         pyobj 
= PyString_FromStringAndSize((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len()); 
5944 static int _wrap_StaticBoxNameStr_set(PyObject 
*) { 
5945     PyErr_SetString(PyExc_TypeError
,"Variable StaticBoxNameStr is read-only."); 
5950 static PyObject 
*_wrap_StaticBoxNameStr_get(void) { 
5955         pyobj 
= PyUnicode_FromWideChar((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len()); 
5957         pyobj 
= PyString_FromStringAndSize((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len()); 
5964 static int _wrap_StaticTextNameStr_set(PyObject 
*) { 
5965     PyErr_SetString(PyExc_TypeError
,"Variable StaticTextNameStr is read-only."); 
5970 static PyObject 
*_wrap_StaticTextNameStr_get(void) { 
5975         pyobj 
= PyUnicode_FromWideChar((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len()); 
5977         pyobj 
= PyString_FromStringAndSize((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len()); 
5984 static PyObject 
*_wrap_new_StaticBox(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5985     PyObject 
*resultobj
; 
5986     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
5987     int arg2 
= (int) -1 ; 
5988     wxString 
const &arg3_defvalue 
= wxPyEmptyString 
; 
5989     wxString 
*arg3 
= (wxString 
*) &arg3_defvalue 
; 
5990     wxPoint 
const &arg4_defvalue 
= wxDefaultPosition 
; 
5991     wxPoint 
*arg4 
= (wxPoint 
*) &arg4_defvalue 
; 
5992     wxSize 
const &arg5_defvalue 
= wxDefaultSize 
; 
5993     wxSize 
*arg5 
= (wxSize 
*) &arg5_defvalue 
; 
5994     long arg6 
= (long) 0 ; 
5995     wxString 
const &arg7_defvalue 
= wxPyStaticBoxNameStr 
; 
5996     wxString 
*arg7 
= (wxString 
*) &arg7_defvalue 
; 
5997     wxStaticBox 
*result
; 
5998     bool temp3 
= false ; 
6001     bool temp7 
= false ; 
6002     PyObject 
* obj0 
= 0 ; 
6003     PyObject 
* obj1 
= 0 ; 
6004     PyObject 
* obj2 
= 0 ; 
6005     PyObject 
* obj3 
= 0 ; 
6006     PyObject 
* obj4 
= 0 ; 
6007     PyObject 
* obj5 
= 0 ; 
6008     PyObject 
* obj6 
= 0 ; 
6010         (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL 
 
6013     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
; 
6014     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
6015     if (SWIG_arg_fail(1)) SWIG_fail
; 
6018             arg2 
= (int)(SWIG_As_int(obj1
));  
6019             if (SWIG_arg_fail(2)) SWIG_fail
; 
6024             arg3 
= wxString_in_helper(obj2
); 
6025             if (arg3 
== NULL
) SWIG_fail
; 
6032             if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
; 
6038             if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
; 
6043             arg6 
= (long)(SWIG_As_long(obj5
));  
6044             if (SWIG_arg_fail(6)) SWIG_fail
; 
6049             arg7 
= wxString_in_helper(obj6
); 
6050             if (arg7 
== NULL
) SWIG_fail
; 
6055         if (!wxPyCheckForApp()) SWIG_fail
; 
6056         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6057         result 
= (wxStaticBox 
*)new wxStaticBox(arg1
,arg2
,(wxString 
const &)*arg3
,(wxPoint 
const &)*arg4
,(wxSize 
const &)*arg5
,arg6
,(wxString 
const &)*arg7
); 
6059         wxPyEndAllowThreads(__tstate
); 
6060         if (PyErr_Occurred()) SWIG_fail
; 
6062     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBox
, 1); 
6085 static PyObject 
*_wrap_new_PreStaticBox(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6086     PyObject 
*resultobj
; 
6087     wxStaticBox 
*result
; 
6092     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBox",kwnames
)) goto fail
; 
6094         if (!wxPyCheckForApp()) SWIG_fail
; 
6095         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6096         result 
= (wxStaticBox 
*)new wxStaticBox(); 
6098         wxPyEndAllowThreads(__tstate
); 
6099         if (PyErr_Occurred()) SWIG_fail
; 
6101     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBox
, 1); 
6108 static PyObject 
*_wrap_StaticBox_Create(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6109     PyObject 
*resultobj
; 
6110     wxStaticBox 
*arg1 
= (wxStaticBox 
*) 0 ; 
6111     wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
6112     int arg3 
= (int) -1 ; 
6113     wxString 
const &arg4_defvalue 
= wxPyEmptyString 
; 
6114     wxString 
*arg4 
= (wxString 
*) &arg4_defvalue 
; 
6115     wxPoint 
const &arg5_defvalue 
= wxDefaultPosition 
; 
6116     wxPoint 
*arg5 
= (wxPoint 
*) &arg5_defvalue 
; 
6117     wxSize 
const &arg6_defvalue 
= wxDefaultSize 
; 
6118     wxSize 
*arg6 
= (wxSize 
*) &arg6_defvalue 
; 
6119     long arg7 
= (long) 0 ; 
6120     wxString 
const &arg8_defvalue 
= wxPyStaticBoxNameStr 
; 
6121     wxString 
*arg8 
= (wxString 
*) &arg8_defvalue 
; 
6123     bool temp4 
= false ; 
6126     bool temp8 
= false ; 
6127     PyObject 
* obj0 
= 0 ; 
6128     PyObject 
* obj1 
= 0 ; 
6129     PyObject 
* obj2 
= 0 ; 
6130     PyObject 
* obj3 
= 0 ; 
6131     PyObject 
* obj4 
= 0 ; 
6132     PyObject 
* obj5 
= 0 ; 
6133     PyObject 
* obj6 
= 0 ; 
6134     PyObject 
* obj7 
= 0 ; 
6136         (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL 
 
6139     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
; 
6140     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBox
, SWIG_POINTER_EXCEPTION 
| 0); 
6141     if (SWIG_arg_fail(1)) SWIG_fail
; 
6142     SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
6143     if (SWIG_arg_fail(2)) SWIG_fail
; 
6146             arg3 
= (int)(SWIG_As_int(obj2
));  
6147             if (SWIG_arg_fail(3)) SWIG_fail
; 
6152             arg4 
= wxString_in_helper(obj3
); 
6153             if (arg4 
== NULL
) SWIG_fail
; 
6160             if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
; 
6166             if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
; 
6171             arg7 
= (long)(SWIG_As_long(obj6
));  
6172             if (SWIG_arg_fail(7)) SWIG_fail
; 
6177             arg8 
= wxString_in_helper(obj7
); 
6178             if (arg8 
== NULL
) SWIG_fail
; 
6183         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6184         result 
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString 
const &)*arg4
,(wxPoint 
const &)*arg5
,(wxSize 
const &)*arg6
,arg7
,(wxString 
const &)*arg8
); 
6186         wxPyEndAllowThreads(__tstate
); 
6187         if (PyErr_Occurred()) SWIG_fail
; 
6190         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
6214 static PyObject 
*_wrap_StaticBox_GetClassDefaultAttributes(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6215     PyObject 
*resultobj
; 
6216     wxWindowVariant arg1 
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL 
; 
6217     wxVisualAttributes result
; 
6218     PyObject 
* obj0 
= 0 ; 
6220         (char *) "variant", NULL 
 
6223     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
; 
6226             arg1 
= (wxWindowVariant
)(SWIG_As_int(obj0
));  
6227             if (SWIG_arg_fail(1)) SWIG_fail
; 
6231         if (!wxPyCheckForApp()) SWIG_fail
; 
6232         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6233         result 
= wxStaticBox::GetClassDefaultAttributes((wxWindowVariant 
)arg1
); 
6235         wxPyEndAllowThreads(__tstate
); 
6236         if (PyErr_Occurred()) SWIG_fail
; 
6239         wxVisualAttributes 
* resultptr
; 
6240         resultptr 
= new wxVisualAttributes((wxVisualAttributes 
&)(result
)); 
6241         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1); 
6249 static PyObject 
* StaticBox_swigregister(PyObject 
*, PyObject 
*args
) { 
6251     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
6252     SWIG_TypeClientData(SWIGTYPE_p_wxStaticBox
, obj
); 
6254     return Py_BuildValue((char *)""); 
6256 static PyObject 
*_wrap_new_StaticLine(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6257     PyObject 
*resultobj
; 
6258     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
6259     int arg2 
= (int) -1 ; 
6260     wxPoint 
const &arg3_defvalue 
= wxDefaultPosition 
; 
6261     wxPoint 
*arg3 
= (wxPoint 
*) &arg3_defvalue 
; 
6262     wxSize 
const &arg4_defvalue 
= wxDefaultSize 
; 
6263     wxSize 
*arg4 
= (wxSize 
*) &arg4_defvalue 
; 
6264     long arg5 
= (long) wxLI_HORIZONTAL 
; 
6265     wxString 
const &arg6_defvalue 
= wxPyStaticTextNameStr 
; 
6266     wxString 
*arg6 
= (wxString 
*) &arg6_defvalue 
; 
6267     wxStaticLine 
*result
; 
6270     bool temp6 
= false ; 
6271     PyObject 
* obj0 
= 0 ; 
6272     PyObject 
* obj1 
= 0 ; 
6273     PyObject 
* obj2 
= 0 ; 
6274     PyObject 
* obj3 
= 0 ; 
6275     PyObject 
* obj4 
= 0 ; 
6276     PyObject 
* obj5 
= 0 ; 
6278         (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL 
 
6281     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_StaticLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
; 
6282     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
6283     if (SWIG_arg_fail(1)) SWIG_fail
; 
6286             arg2 
= (int)(SWIG_As_int(obj1
));  
6287             if (SWIG_arg_fail(2)) SWIG_fail
; 
6293             if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
; 
6299             if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
; 
6304             arg5 
= (long)(SWIG_As_long(obj4
));  
6305             if (SWIG_arg_fail(5)) SWIG_fail
; 
6310             arg6 
= wxString_in_helper(obj5
); 
6311             if (arg6 
== NULL
) SWIG_fail
; 
6316         if (!wxPyCheckForApp()) SWIG_fail
; 
6317         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6318         result 
= (wxStaticLine 
*)new wxStaticLine(arg1
,arg2
,(wxPoint 
const &)*arg3
,(wxSize 
const &)*arg4
,arg5
,(wxString 
const &)*arg6
); 
6320         wxPyEndAllowThreads(__tstate
); 
6321         if (PyErr_Occurred()) SWIG_fail
; 
6323     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticLine
, 1); 
6338 static PyObject 
*_wrap_new_PreStaticLine(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6339     PyObject 
*resultobj
; 
6340     wxStaticLine 
*result
; 
6345     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticLine",kwnames
)) goto fail
; 
6347         if (!wxPyCheckForApp()) SWIG_fail
; 
6348         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6349         result 
= (wxStaticLine 
*)new wxStaticLine(); 
6351         wxPyEndAllowThreads(__tstate
); 
6352         if (PyErr_Occurred()) SWIG_fail
; 
6354     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticLine
, 1); 
6361 static PyObject 
*_wrap_StaticLine_Create(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6362     PyObject 
*resultobj
; 
6363     wxStaticLine 
*arg1 
= (wxStaticLine 
*) 0 ; 
6364     wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
6365     int arg3 
= (int) -1 ; 
6366     wxPoint 
const &arg4_defvalue 
= wxDefaultPosition 
; 
6367     wxPoint 
*arg4 
= (wxPoint 
*) &arg4_defvalue 
; 
6368     wxSize 
const &arg5_defvalue 
= wxDefaultSize 
; 
6369     wxSize 
*arg5 
= (wxSize 
*) &arg5_defvalue 
; 
6370     long arg6 
= (long) wxLI_HORIZONTAL 
; 
6371     wxString 
const &arg7_defvalue 
= wxPyStaticTextNameStr 
; 
6372     wxString 
*arg7 
= (wxString 
*) &arg7_defvalue 
; 
6376     bool temp7 
= false ; 
6377     PyObject 
* obj0 
= 0 ; 
6378     PyObject 
* obj1 
= 0 ; 
6379     PyObject 
* obj2 
= 0 ; 
6380     PyObject 
* obj3 
= 0 ; 
6381     PyObject 
* obj4 
= 0 ; 
6382     PyObject 
* obj5 
= 0 ; 
6383     PyObject 
* obj6 
= 0 ; 
6385         (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL 
 
6388     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:StaticLine_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
; 
6389     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticLine
, SWIG_POINTER_EXCEPTION 
| 0); 
6390     if (SWIG_arg_fail(1)) SWIG_fail
; 
6391     SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
6392     if (SWIG_arg_fail(2)) SWIG_fail
; 
6395             arg3 
= (int)(SWIG_As_int(obj2
));  
6396             if (SWIG_arg_fail(3)) SWIG_fail
; 
6402             if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
; 
6408             if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
; 
6413             arg6 
= (long)(SWIG_As_long(obj5
));  
6414             if (SWIG_arg_fail(6)) SWIG_fail
; 
6419             arg7 
= wxString_in_helper(obj6
); 
6420             if (arg7 
== NULL
) SWIG_fail
; 
6425         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6426         result 
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint 
const &)*arg4
,(wxSize 
const &)*arg5
,arg6
,(wxString 
const &)*arg7
); 
6428         wxPyEndAllowThreads(__tstate
); 
6429         if (PyErr_Occurred()) SWIG_fail
; 
6432         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
6448 static PyObject 
*_wrap_StaticLine_IsVertical(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6449     PyObject 
*resultobj
; 
6450     wxStaticLine 
*arg1 
= (wxStaticLine 
*) 0 ; 
6452     PyObject 
* obj0 
= 0 ; 
6454         (char *) "self", NULL 
 
6457     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticLine_IsVertical",kwnames
,&obj0
)) goto fail
; 
6458     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticLine
, SWIG_POINTER_EXCEPTION 
| 0); 
6459     if (SWIG_arg_fail(1)) SWIG_fail
; 
6461         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6462         result 
= (bool)((wxStaticLine 
const *)arg1
)->IsVertical(); 
6464         wxPyEndAllowThreads(__tstate
); 
6465         if (PyErr_Occurred()) SWIG_fail
; 
6468         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
6476 static PyObject 
*_wrap_StaticLine_GetDefaultSize(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6477     PyObject 
*resultobj
; 
6483     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StaticLine_GetDefaultSize",kwnames
)) goto fail
; 
6485         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6486         result 
= (int)wxStaticLine::GetDefaultSize(); 
6488         wxPyEndAllowThreads(__tstate
); 
6489         if (PyErr_Occurred()) SWIG_fail
; 
6492         resultobj 
= SWIG_From_int((int)(result
));  
6500 static PyObject 
*_wrap_StaticLine_GetClassDefaultAttributes(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6501     PyObject 
*resultobj
; 
6502     wxWindowVariant arg1 
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL 
; 
6503     wxVisualAttributes result
; 
6504     PyObject 
* obj0 
= 0 ; 
6506         (char *) "variant", NULL 
 
6509     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticLine_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
; 
6512             arg1 
= (wxWindowVariant
)(SWIG_As_int(obj0
));  
6513             if (SWIG_arg_fail(1)) SWIG_fail
; 
6517         if (!wxPyCheckForApp()) SWIG_fail
; 
6518         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6519         result 
= wxStaticLine::GetClassDefaultAttributes((wxWindowVariant 
)arg1
); 
6521         wxPyEndAllowThreads(__tstate
); 
6522         if (PyErr_Occurred()) SWIG_fail
; 
6525         wxVisualAttributes 
* resultptr
; 
6526         resultptr 
= new wxVisualAttributes((wxVisualAttributes 
&)(result
)); 
6527         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1); 
6535 static PyObject 
* StaticLine_swigregister(PyObject 
*, PyObject 
*args
) { 
6537     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
6538     SWIG_TypeClientData(SWIGTYPE_p_wxStaticLine
, obj
); 
6540     return Py_BuildValue((char *)""); 
6542 static PyObject 
*_wrap_new_StaticText(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6543     PyObject 
*resultobj
; 
6544     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
6545     int arg2 
= (int) -1 ; 
6546     wxString 
const &arg3_defvalue 
= wxPyEmptyString 
; 
6547     wxString 
*arg3 
= (wxString 
*) &arg3_defvalue 
; 
6548     wxPoint 
const &arg4_defvalue 
= wxDefaultPosition 
; 
6549     wxPoint 
*arg4 
= (wxPoint 
*) &arg4_defvalue 
; 
6550     wxSize 
const &arg5_defvalue 
= wxDefaultSize 
; 
6551     wxSize 
*arg5 
= (wxSize 
*) &arg5_defvalue 
; 
6552     long arg6 
= (long) 0 ; 
6553     wxString 
const &arg7_defvalue 
= wxPyStaticTextNameStr 
; 
6554     wxString 
*arg7 
= (wxString 
*) &arg7_defvalue 
; 
6555     wxStaticText 
*result
; 
6556     bool temp3 
= false ; 
6559     bool temp7 
= false ; 
6560     PyObject 
* obj0 
= 0 ; 
6561     PyObject 
* obj1 
= 0 ; 
6562     PyObject 
* obj2 
= 0 ; 
6563     PyObject 
* obj3 
= 0 ; 
6564     PyObject 
* obj4 
= 0 ; 
6565     PyObject 
* obj5 
= 0 ; 
6566     PyObject 
* obj6 
= 0 ; 
6568         (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL 
 
6571     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
; 
6572     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
6573     if (SWIG_arg_fail(1)) SWIG_fail
; 
6576             arg2 
= (int)(SWIG_As_int(obj1
));  
6577             if (SWIG_arg_fail(2)) SWIG_fail
; 
6582             arg3 
= wxString_in_helper(obj2
); 
6583             if (arg3 
== NULL
) SWIG_fail
; 
6590             if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
; 
6596             if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
; 
6601             arg6 
= (long)(SWIG_As_long(obj5
));  
6602             if (SWIG_arg_fail(6)) SWIG_fail
; 
6607             arg7 
= wxString_in_helper(obj6
); 
6608             if (arg7 
== NULL
) SWIG_fail
; 
6613         if (!wxPyCheckForApp()) SWIG_fail
; 
6614         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6615         result 
= (wxStaticText 
*)new wxStaticText(arg1
,arg2
,(wxString 
const &)*arg3
,(wxPoint 
const &)*arg4
,(wxSize 
const &)*arg5
,arg6
,(wxString 
const &)*arg7
); 
6617         wxPyEndAllowThreads(__tstate
); 
6618         if (PyErr_Occurred()) SWIG_fail
; 
6620     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticText
, 1); 
6643 static PyObject 
*_wrap_new_PreStaticText(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6644     PyObject 
*resultobj
; 
6645     wxStaticText 
*result
; 
6650     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticText",kwnames
)) goto fail
; 
6652         if (!wxPyCheckForApp()) SWIG_fail
; 
6653         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6654         result 
= (wxStaticText 
*)new wxStaticText(); 
6656         wxPyEndAllowThreads(__tstate
); 
6657         if (PyErr_Occurred()) SWIG_fail
; 
6659     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticText
, 1); 
6666 static PyObject 
*_wrap_StaticText_Create(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6667     PyObject 
*resultobj
; 
6668     wxStaticText 
*arg1 
= (wxStaticText 
*) 0 ; 
6669     wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
6670     int arg3 
= (int) -1 ; 
6671     wxString 
const &arg4_defvalue 
= wxPyEmptyString 
; 
6672     wxString 
*arg4 
= (wxString 
*) &arg4_defvalue 
; 
6673     wxPoint 
const &arg5_defvalue 
= wxDefaultPosition 
; 
6674     wxPoint 
*arg5 
= (wxPoint 
*) &arg5_defvalue 
; 
6675     wxSize 
const &arg6_defvalue 
= wxDefaultSize 
; 
6676     wxSize 
*arg6 
= (wxSize 
*) &arg6_defvalue 
; 
6677     long arg7 
= (long) 0 ; 
6678     wxString 
const &arg8_defvalue 
= wxPyStaticTextNameStr 
; 
6679     wxString 
*arg8 
= (wxString 
*) &arg8_defvalue 
; 
6681     bool temp4 
= false ; 
6684     bool temp8 
= false ; 
6685     PyObject 
* obj0 
= 0 ; 
6686     PyObject 
* obj1 
= 0 ; 
6687     PyObject 
* obj2 
= 0 ; 
6688     PyObject 
* obj3 
= 0 ; 
6689     PyObject 
* obj4 
= 0 ; 
6690     PyObject 
* obj5 
= 0 ; 
6691     PyObject 
* obj6 
= 0 ; 
6692     PyObject 
* obj7 
= 0 ; 
6694         (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL 
 
6697     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticText_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
; 
6698     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticText
, SWIG_POINTER_EXCEPTION 
| 0); 
6699     if (SWIG_arg_fail(1)) SWIG_fail
; 
6700     SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
6701     if (SWIG_arg_fail(2)) SWIG_fail
; 
6704             arg3 
= (int)(SWIG_As_int(obj2
));  
6705             if (SWIG_arg_fail(3)) SWIG_fail
; 
6710             arg4 
= wxString_in_helper(obj3
); 
6711             if (arg4 
== NULL
) SWIG_fail
; 
6718             if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
; 
6724             if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
; 
6729             arg7 
= (long)(SWIG_As_long(obj6
));  
6730             if (SWIG_arg_fail(7)) SWIG_fail
; 
6735             arg8 
= wxString_in_helper(obj7
); 
6736             if (arg8 
== NULL
) SWIG_fail
; 
6741         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6742         result 
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString 
const &)*arg4
,(wxPoint 
const &)*arg5
,(wxSize 
const &)*arg6
,arg7
,(wxString 
const &)*arg8
); 
6744         wxPyEndAllowThreads(__tstate
); 
6745         if (PyErr_Occurred()) SWIG_fail
; 
6748         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
6772 static PyObject 
*_wrap_StaticText_GetClassDefaultAttributes(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6773     PyObject 
*resultobj
; 
6774     wxWindowVariant arg1 
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL 
; 
6775     wxVisualAttributes result
; 
6776     PyObject 
* obj0 
= 0 ; 
6778         (char *) "variant", NULL 
 
6781     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticText_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
; 
6784             arg1 
= (wxWindowVariant
)(SWIG_As_int(obj0
));  
6785             if (SWIG_arg_fail(1)) SWIG_fail
; 
6789         if (!wxPyCheckForApp()) SWIG_fail
; 
6790         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6791         result 
= wxStaticText::GetClassDefaultAttributes((wxWindowVariant 
)arg1
); 
6793         wxPyEndAllowThreads(__tstate
); 
6794         if (PyErr_Occurred()) SWIG_fail
; 
6797         wxVisualAttributes 
* resultptr
; 
6798         resultptr 
= new wxVisualAttributes((wxVisualAttributes 
&)(result
)); 
6799         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1); 
6807 static PyObject 
* StaticText_swigregister(PyObject 
*, PyObject 
*args
) { 
6809     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
6810     SWIG_TypeClientData(SWIGTYPE_p_wxStaticText
, obj
); 
6812     return Py_BuildValue((char *)""); 
6814 static PyObject 
*_wrap_new_StaticBitmap(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6815     PyObject 
*resultobj
; 
6816     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
6817     int arg2 
= (int) -1 ; 
6818     wxBitmap 
const &arg3_defvalue 
= wxNullBitmap 
; 
6819     wxBitmap 
*arg3 
= (wxBitmap 
*) &arg3_defvalue 
; 
6820     wxPoint 
const &arg4_defvalue 
= wxDefaultPosition 
; 
6821     wxPoint 
*arg4 
= (wxPoint 
*) &arg4_defvalue 
; 
6822     wxSize 
const &arg5_defvalue 
= wxDefaultSize 
; 
6823     wxSize 
*arg5 
= (wxSize 
*) &arg5_defvalue 
; 
6824     long arg6 
= (long) 0 ; 
6825     wxString 
const &arg7_defvalue 
= wxPyStaticBitmapNameStr 
; 
6826     wxString 
*arg7 
= (wxString 
*) &arg7_defvalue 
; 
6827     wxStaticBitmap 
*result
; 
6830     bool temp7 
= false ; 
6831     PyObject 
* obj0 
= 0 ; 
6832     PyObject 
* obj1 
= 0 ; 
6833     PyObject 
* obj2 
= 0 ; 
6834     PyObject 
* obj3 
= 0 ; 
6835     PyObject 
* obj4 
= 0 ; 
6836     PyObject 
* obj5 
= 0 ; 
6837     PyObject 
* obj6 
= 0 ; 
6839         (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL 
 
6842     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
; 
6843     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
6844     if (SWIG_arg_fail(1)) SWIG_fail
; 
6847             arg2 
= (int)(SWIG_As_int(obj1
));  
6848             if (SWIG_arg_fail(2)) SWIG_fail
; 
6853             SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION 
| 0); 
6854             if (SWIG_arg_fail(3)) SWIG_fail
; 
6856                 SWIG_null_ref("wxBitmap"); 
6858             if (SWIG_arg_fail(3)) SWIG_fail
; 
6864             if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
; 
6870             if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
; 
6875             arg6 
= (long)(SWIG_As_long(obj5
));  
6876             if (SWIG_arg_fail(6)) SWIG_fail
; 
6881             arg7 
= wxString_in_helper(obj6
); 
6882             if (arg7 
== NULL
) SWIG_fail
; 
6887         if (!wxPyCheckForApp()) SWIG_fail
; 
6888         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6889         result 
= (wxStaticBitmap 
*)new wxStaticBitmap(arg1
,arg2
,(wxBitmap 
const &)*arg3
,(wxPoint 
const &)*arg4
,(wxSize 
const &)*arg5
,arg6
,(wxString 
const &)*arg7
); 
6891         wxPyEndAllowThreads(__tstate
); 
6892         if (PyErr_Occurred()) SWIG_fail
; 
6894     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBitmap
, 1); 
6909 static PyObject 
*_wrap_new_PreStaticBitmap(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6910     PyObject 
*resultobj
; 
6911     wxStaticBitmap 
*result
; 
6916     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBitmap",kwnames
)) goto fail
; 
6918         if (!wxPyCheckForApp()) SWIG_fail
; 
6919         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6920         result 
= (wxStaticBitmap 
*)new wxStaticBitmap(); 
6922         wxPyEndAllowThreads(__tstate
); 
6923         if (PyErr_Occurred()) SWIG_fail
; 
6925     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBitmap
, 1); 
6932 static PyObject 
*_wrap_StaticBitmap_Create(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6933     PyObject 
*resultobj
; 
6934     wxStaticBitmap 
*arg1 
= (wxStaticBitmap 
*) 0 ; 
6935     wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
6936     int arg3 
= (int) -1 ; 
6937     wxBitmap 
const &arg4_defvalue 
= wxNullBitmap 
; 
6938     wxBitmap 
*arg4 
= (wxBitmap 
*) &arg4_defvalue 
; 
6939     wxPoint 
const &arg5_defvalue 
= wxDefaultPosition 
; 
6940     wxPoint 
*arg5 
= (wxPoint 
*) &arg5_defvalue 
; 
6941     wxSize 
const &arg6_defvalue 
= wxDefaultSize 
; 
6942     wxSize 
*arg6 
= (wxSize 
*) &arg6_defvalue 
; 
6943     long arg7 
= (long) 0 ; 
6944     wxString 
const &arg8_defvalue 
= wxPyStaticBitmapNameStr 
; 
6945     wxString 
*arg8 
= (wxString 
*) &arg8_defvalue 
; 
6949     bool temp8 
= false ; 
6950     PyObject 
* obj0 
= 0 ; 
6951     PyObject 
* obj1 
= 0 ; 
6952     PyObject 
* obj2 
= 0 ; 
6953     PyObject 
* obj3 
= 0 ; 
6954     PyObject 
* obj4 
= 0 ; 
6955     PyObject 
* obj5 
= 0 ; 
6956     PyObject 
* obj6 
= 0 ; 
6957     PyObject 
* obj7 
= 0 ; 
6959         (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL 
 
6962     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBitmap_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
; 
6963     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_EXCEPTION 
| 0); 
6964     if (SWIG_arg_fail(1)) SWIG_fail
; 
6965     SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
6966     if (SWIG_arg_fail(2)) SWIG_fail
; 
6969             arg3 
= (int)(SWIG_As_int(obj2
));  
6970             if (SWIG_arg_fail(3)) SWIG_fail
; 
6975             SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION 
| 0); 
6976             if (SWIG_arg_fail(4)) SWIG_fail
; 
6978                 SWIG_null_ref("wxBitmap"); 
6980             if (SWIG_arg_fail(4)) SWIG_fail
; 
6986             if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
; 
6992             if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
; 
6997             arg7 
= (long)(SWIG_As_long(obj6
));  
6998             if (SWIG_arg_fail(7)) SWIG_fail
; 
7003             arg8 
= wxString_in_helper(obj7
); 
7004             if (arg8 
== NULL
) SWIG_fail
; 
7009         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7010         result 
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap 
const &)*arg4
,(wxPoint 
const &)*arg5
,(wxSize 
const &)*arg6
,arg7
,(wxString 
const &)*arg8
); 
7012         wxPyEndAllowThreads(__tstate
); 
7013         if (PyErr_Occurred()) SWIG_fail
; 
7016         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
7032 static PyObject 
*_wrap_StaticBitmap_GetBitmap(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7033     PyObject 
*resultobj
; 
7034     wxStaticBitmap 
*arg1 
= (wxStaticBitmap 
*) 0 ; 
7036     PyObject 
* obj0 
= 0 ; 
7038         (char *) "self", NULL 
 
7041     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBitmap_GetBitmap",kwnames
,&obj0
)) goto fail
; 
7042     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_EXCEPTION 
| 0); 
7043     if (SWIG_arg_fail(1)) SWIG_fail
; 
7045         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7046         result 
= (arg1
)->GetBitmap(); 
7048         wxPyEndAllowThreads(__tstate
); 
7049         if (PyErr_Occurred()) SWIG_fail
; 
7052         wxBitmap 
* resultptr
; 
7053         resultptr 
= new wxBitmap((wxBitmap 
&)(result
)); 
7054         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1); 
7062 static PyObject 
*_wrap_StaticBitmap_SetBitmap(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7063     PyObject 
*resultobj
; 
7064     wxStaticBitmap 
*arg1 
= (wxStaticBitmap 
*) 0 ; 
7065     wxBitmap 
*arg2 
= 0 ; 
7066     PyObject 
* obj0 
= 0 ; 
7067     PyObject 
* obj1 
= 0 ; 
7069         (char *) "self",(char *) "bitmap", NULL 
 
7072     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
; 
7073     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_EXCEPTION 
| 0); 
7074     if (SWIG_arg_fail(1)) SWIG_fail
; 
7076         SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION 
| 0); 
7077         if (SWIG_arg_fail(2)) SWIG_fail
; 
7079             SWIG_null_ref("wxBitmap"); 
7081         if (SWIG_arg_fail(2)) SWIG_fail
; 
7084         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7085         (arg1
)->SetBitmap((wxBitmap 
const &)*arg2
); 
7087         wxPyEndAllowThreads(__tstate
); 
7088         if (PyErr_Occurred()) SWIG_fail
; 
7090     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
7097 static PyObject 
*_wrap_StaticBitmap_SetIcon(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7098     PyObject 
*resultobj
; 
7099     wxStaticBitmap 
*arg1 
= (wxStaticBitmap 
*) 0 ; 
7101     PyObject 
* obj0 
= 0 ; 
7102     PyObject 
* obj1 
= 0 ; 
7104         (char *) "self",(char *) "icon", NULL 
 
7107     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetIcon",kwnames
,&obj0
,&obj1
)) goto fail
; 
7108     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_EXCEPTION 
| 0); 
7109     if (SWIG_arg_fail(1)) SWIG_fail
; 
7111         SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION 
| 0); 
7112         if (SWIG_arg_fail(2)) SWIG_fail
; 
7114             SWIG_null_ref("wxIcon"); 
7116         if (SWIG_arg_fail(2)) SWIG_fail
; 
7119         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7120         (arg1
)->SetIcon((wxIcon 
const &)*arg2
); 
7122         wxPyEndAllowThreads(__tstate
); 
7123         if (PyErr_Occurred()) SWIG_fail
; 
7125     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
7132 static PyObject 
*_wrap_StaticBitmap_GetClassDefaultAttributes(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7133     PyObject 
*resultobj
; 
7134     wxWindowVariant arg1 
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL 
; 
7135     wxVisualAttributes result
; 
7136     PyObject 
* obj0 
= 0 ; 
7138         (char *) "variant", NULL 
 
7141     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBitmap_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
; 
7144             arg1 
= (wxWindowVariant
)(SWIG_As_int(obj0
));  
7145             if (SWIG_arg_fail(1)) SWIG_fail
; 
7149         if (!wxPyCheckForApp()) SWIG_fail
; 
7150         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7151         result 
= wxStaticBitmap::GetClassDefaultAttributes((wxWindowVariant 
)arg1
); 
7153         wxPyEndAllowThreads(__tstate
); 
7154         if (PyErr_Occurred()) SWIG_fail
; 
7157         wxVisualAttributes 
* resultptr
; 
7158         resultptr 
= new wxVisualAttributes((wxVisualAttributes 
&)(result
)); 
7159         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1); 
7167 static PyObject 
* StaticBitmap_swigregister(PyObject 
*, PyObject 
*args
) { 
7169     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
7170     SWIG_TypeClientData(SWIGTYPE_p_wxStaticBitmap
, obj
); 
7172     return Py_BuildValue((char *)""); 
7174 static int _wrap_ListBoxNameStr_set(PyObject 
*) { 
7175     PyErr_SetString(PyExc_TypeError
,"Variable ListBoxNameStr is read-only."); 
7180 static PyObject 
*_wrap_ListBoxNameStr_get(void) { 
7185         pyobj 
= PyUnicode_FromWideChar((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len()); 
7187         pyobj 
= PyString_FromStringAndSize((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len()); 
7194 static PyObject 
*_wrap_new_ListBox(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7195     PyObject 
*resultobj
; 
7196     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
7197     int arg2 
= (int) -1 ; 
7198     wxPoint 
const &arg3_defvalue 
= wxDefaultPosition 
; 
7199     wxPoint 
*arg3 
= (wxPoint 
*) &arg3_defvalue 
; 
7200     wxSize 
const &arg4_defvalue 
= wxDefaultSize 
; 
7201     wxSize 
*arg4 
= (wxSize 
*) &arg4_defvalue 
; 
7202     wxArrayString 
const &arg5_defvalue 
= wxPyEmptyStringArray 
; 
7203     wxArrayString 
*arg5 
= (wxArrayString 
*) &arg5_defvalue 
; 
7204     long arg6 
= (long) 0 ; 
7205     wxValidator 
const &arg7_defvalue 
= wxDefaultValidator 
; 
7206     wxValidator 
*arg7 
= (wxValidator 
*) &arg7_defvalue 
; 
7207     wxString 
const &arg8_defvalue 
= wxPyListBoxNameStr 
; 
7208     wxString 
*arg8 
= (wxString 
*) &arg8_defvalue 
; 
7212     bool temp5 
= false ; 
7213     bool temp8 
= false ; 
7214     PyObject 
* obj0 
= 0 ; 
7215     PyObject 
* obj1 
= 0 ; 
7216     PyObject 
* obj2 
= 0 ; 
7217     PyObject 
* obj3 
= 0 ; 
7218     PyObject 
* obj4 
= 0 ; 
7219     PyObject 
* obj5 
= 0 ; 
7220     PyObject 
* obj6 
= 0 ; 
7221     PyObject 
* obj7 
= 0 ; 
7223         (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL 
 
7226     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
; 
7227     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
7228     if (SWIG_arg_fail(1)) SWIG_fail
; 
7231             arg2 
= (int)(SWIG_As_int(obj1
));  
7232             if (SWIG_arg_fail(2)) SWIG_fail
; 
7238             if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
; 
7244             if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
; 
7249             if (! PySequence_Check(obj4
)) { 
7250                 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected."); 
7253             arg5 
= new wxArrayString
; 
7255             int i
, len
=PySequence_Length(obj4
); 
7256             for (i
=0; i
<len
; i
++) { 
7257                 PyObject
* item 
= PySequence_GetItem(obj4
, i
); 
7259                 PyObject
* str  
= PyObject_Unicode(item
); 
7261                 PyObject
* str  
= PyObject_Str(item
); 
7263                 if (PyErr_Occurred())  SWIG_fail
; 
7264                 arg5
->Add(Py2wxString(str
)); 
7272             arg6 
= (long)(SWIG_As_long(obj5
));  
7273             if (SWIG_arg_fail(6)) SWIG_fail
; 
7278             SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION 
| 0); 
7279             if (SWIG_arg_fail(7)) SWIG_fail
; 
7281                 SWIG_null_ref("wxValidator"); 
7283             if (SWIG_arg_fail(7)) SWIG_fail
; 
7288             arg8 
= wxString_in_helper(obj7
); 
7289             if (arg8 
== NULL
) SWIG_fail
; 
7294         if (!wxPyCheckForApp()) SWIG_fail
; 
7295         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7296         result 
= (wxListBox 
*)new wxListBox(arg1
,arg2
,(wxPoint 
const &)*arg3
,(wxSize 
const &)*arg4
,(wxArrayString 
const &)*arg5
,arg6
,(wxValidator 
const &)*arg7
,(wxString 
const &)*arg8
); 
7298         wxPyEndAllowThreads(__tstate
); 
7299         if (PyErr_Occurred()) SWIG_fail
; 
7301     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListBox
, 1); 
7303         if (temp5
) delete arg5
; 
7312         if (temp5
) delete arg5
; 
7322 static PyObject 
*_wrap_new_PreListBox(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7323     PyObject 
*resultobj
; 
7329     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListBox",kwnames
)) goto fail
; 
7331         if (!wxPyCheckForApp()) SWIG_fail
; 
7332         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7333         result 
= (wxListBox 
*)new wxListBox(); 
7335         wxPyEndAllowThreads(__tstate
); 
7336         if (PyErr_Occurred()) SWIG_fail
; 
7338     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListBox
, 1); 
7345 static PyObject 
*_wrap_ListBox_Create(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7346     PyObject 
*resultobj
; 
7347     wxListBox 
*arg1 
= (wxListBox 
*) 0 ; 
7348     wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
7349     int arg3 
= (int) -1 ; 
7350     wxPoint 
const &arg4_defvalue 
= wxDefaultPosition 
; 
7351     wxPoint 
*arg4 
= (wxPoint 
*) &arg4_defvalue 
; 
7352     wxSize 
const &arg5_defvalue 
= wxDefaultSize 
; 
7353     wxSize 
*arg5 
= (wxSize 
*) &arg5_defvalue 
; 
7354     wxArrayString 
const &arg6_defvalue 
= wxPyEmptyStringArray 
; 
7355     wxArrayString 
*arg6 
= (wxArrayString 
*) &arg6_defvalue 
; 
7356     long arg7 
= (long) 0 ; 
7357     wxValidator 
const &arg8_defvalue 
= wxDefaultValidator 
; 
7358     wxValidator 
*arg8 
= (wxValidator 
*) &arg8_defvalue 
; 
7359     wxString 
const &arg9_defvalue 
= wxPyListBoxNameStr 
; 
7360     wxString 
*arg9 
= (wxString 
*) &arg9_defvalue 
; 
7364     bool temp6 
= false ; 
7365     bool temp9 
= false ; 
7366     PyObject 
* obj0 
= 0 ; 
7367     PyObject 
* obj1 
= 0 ; 
7368     PyObject 
* obj2 
= 0 ; 
7369     PyObject 
* obj3 
= 0 ; 
7370     PyObject 
* obj4 
= 0 ; 
7371     PyObject 
* obj5 
= 0 ; 
7372     PyObject 
* obj6 
= 0 ; 
7373     PyObject 
* obj7 
= 0 ; 
7374     PyObject 
* obj8 
= 0 ; 
7376         (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL 
 
7379     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
; 
7380     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION 
| 0); 
7381     if (SWIG_arg_fail(1)) SWIG_fail
; 
7382     SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
7383     if (SWIG_arg_fail(2)) SWIG_fail
; 
7386             arg3 
= (int)(SWIG_As_int(obj2
));  
7387             if (SWIG_arg_fail(3)) SWIG_fail
; 
7393             if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
; 
7399             if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
; 
7404             if (! PySequence_Check(obj5
)) { 
7405                 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected."); 
7408             arg6 
= new wxArrayString
; 
7410             int i
, len
=PySequence_Length(obj5
); 
7411             for (i
=0; i
<len
; i
++) { 
7412                 PyObject
* item 
= PySequence_GetItem(obj5
, i
); 
7414                 PyObject
* str  
= PyObject_Unicode(item
); 
7416                 PyObject
* str  
= PyObject_Str(item
); 
7418                 if (PyErr_Occurred())  SWIG_fail
; 
7419                 arg6
->Add(Py2wxString(str
)); 
7427             arg7 
= (long)(SWIG_As_long(obj6
));  
7428             if (SWIG_arg_fail(7)) SWIG_fail
; 
7433             SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION 
| 0); 
7434             if (SWIG_arg_fail(8)) SWIG_fail
; 
7436                 SWIG_null_ref("wxValidator"); 
7438             if (SWIG_arg_fail(8)) SWIG_fail
; 
7443             arg9 
= wxString_in_helper(obj8
); 
7444             if (arg9 
== NULL
) SWIG_fail
; 
7449         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7450         result 
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint 
const &)*arg4
,(wxSize 
const &)*arg5
,(wxArrayString 
const &)*arg6
,arg7
,(wxValidator 
const &)*arg8
,(wxString 
const &)*arg9
); 
7452         wxPyEndAllowThreads(__tstate
); 
7453         if (PyErr_Occurred()) SWIG_fail
; 
7456         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
7459         if (temp6
) delete arg6
; 
7468         if (temp6
) delete arg6
; 
7478 static PyObject 
*_wrap_ListBox_Insert(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7479     PyObject 
*resultobj
; 
7480     wxListBox 
*arg1 
= (wxListBox 
*) 0 ; 
7481     wxString 
*arg2 
= 0 ; 
7483     PyObject 
*arg4 
= (PyObject 
*) NULL 
; 
7484     bool temp2 
= false ; 
7485     PyObject 
* obj0 
= 0 ; 
7486     PyObject 
* obj1 
= 0 ; 
7487     PyObject 
* obj2 
= 0 ; 
7488     PyObject 
* obj3 
= 0 ; 
7490         (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL 
 
7493     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListBox_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
7494     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION 
| 0); 
7495     if (SWIG_arg_fail(1)) SWIG_fail
; 
7497         arg2 
= wxString_in_helper(obj1
); 
7498         if (arg2 
== NULL
) SWIG_fail
; 
7502         arg3 
= (int)(SWIG_As_int(obj2
));  
7503         if (SWIG_arg_fail(3)) SWIG_fail
; 
7509         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7510         wxListBox_Insert(arg1
,(wxString 
const &)*arg2
,arg3
,arg4
); 
7512         wxPyEndAllowThreads(__tstate
); 
7513         if (PyErr_Occurred()) SWIG_fail
; 
7515     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
7530 static PyObject 
*_wrap_ListBox_InsertItems(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7531     PyObject 
*resultobj
; 
7532     wxListBox 
*arg1 
= (wxListBox 
*) 0 ; 
7533     wxArrayString 
*arg2 
= 0 ; 
7535     bool temp2 
= false ; 
7536     PyObject 
* obj0 
= 0 ; 
7537     PyObject 
* obj1 
= 0 ; 
7538     PyObject 
* obj2 
= 0 ; 
7540         (char *) "self",(char *) "items",(char *) "pos", NULL 
 
7543     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_InsertItems",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
7544     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION 
| 0); 
7545     if (SWIG_arg_fail(1)) SWIG_fail
; 
7547         if (! PySequence_Check(obj1
)) { 
7548             PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected."); 
7551         arg2 
= new wxArrayString
; 
7553         int i
, len
=PySequence_Length(obj1
); 
7554         for (i
=0; i
<len
; i
++) { 
7555             PyObject
* item 
= PySequence_GetItem(obj1
, i
); 
7557             PyObject
* str  
= PyObject_Unicode(item
); 
7559             PyObject
* str  
= PyObject_Str(item
); 
7561             if (PyErr_Occurred())  SWIG_fail
; 
7562             arg2
->Add(Py2wxString(str
)); 
7568         arg3 
= (int)(SWIG_As_int(obj2
));  
7569         if (SWIG_arg_fail(3)) SWIG_fail
; 
7572         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7573         (arg1
)->InsertItems((wxArrayString 
const &)*arg2
,arg3
); 
7575         wxPyEndAllowThreads(__tstate
); 
7576         if (PyErr_Occurred()) SWIG_fail
; 
7578     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
7580         if (temp2
) delete arg2
; 
7585         if (temp2
) delete arg2
; 
7591 static PyObject 
*_wrap_ListBox_Set(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7592     PyObject 
*resultobj
; 
7593     wxListBox 
*arg1 
= (wxListBox 
*) 0 ; 
7594     wxArrayString 
*arg2 
= 0 ; 
7595     bool temp2 
= false ; 
7596     PyObject 
* obj0 
= 0 ; 
7597     PyObject 
* obj1 
= 0 ; 
7599         (char *) "self",(char *) "items", NULL 
 
7602     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Set",kwnames
,&obj0
,&obj1
)) goto fail
; 
7603     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION 
| 0); 
7604     if (SWIG_arg_fail(1)) SWIG_fail
; 
7606         if (! PySequence_Check(obj1
)) { 
7607             PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected."); 
7610         arg2 
= new wxArrayString
; 
7612         int i
, len
=PySequence_Length(obj1
); 
7613         for (i
=0; i
<len
; i
++) { 
7614             PyObject
* item 
= PySequence_GetItem(obj1
, i
); 
7616             PyObject
* str  
= PyObject_Unicode(item
); 
7618             PyObject
* str  
= PyObject_Str(item
); 
7620             if (PyErr_Occurred())  SWIG_fail
; 
7621             arg2
->Add(Py2wxString(str
)); 
7627         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7628         (arg1
)->Set((wxArrayString 
const &)*arg2
); 
7630         wxPyEndAllowThreads(__tstate
); 
7631         if (PyErr_Occurred()) SWIG_fail
; 
7633     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
7635         if (temp2
) delete arg2
; 
7640         if (temp2
) delete arg2
; 
7646 static PyObject 
*_wrap_ListBox_IsSelected(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7647     PyObject 
*resultobj
; 
7648     wxListBox 
*arg1 
= (wxListBox 
*) 0 ; 
7651     PyObject 
* obj0 
= 0 ; 
7652     PyObject 
* obj1 
= 0 ; 
7654         (char *) "self",(char *) "n", NULL 
 
7657     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
; 
7658     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION 
| 0); 
7659     if (SWIG_arg_fail(1)) SWIG_fail
; 
7661         arg2 
= (int)(SWIG_As_int(obj1
));  
7662         if (SWIG_arg_fail(2)) SWIG_fail
; 
7665         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7666         result 
= (bool)((wxListBox 
const *)arg1
)->IsSelected(arg2
); 
7668         wxPyEndAllowThreads(__tstate
); 
7669         if (PyErr_Occurred()) SWIG_fail
; 
7672         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
7680 static PyObject 
*_wrap_ListBox_SetSelection(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7681     PyObject 
*resultobj
; 
7682     wxListBox 
*arg1 
= (wxListBox 
*) 0 ; 
7684     bool arg3 
= (bool) true ; 
7685     PyObject 
* obj0 
= 0 ; 
7686     PyObject 
* obj1 
= 0 ; 
7687     PyObject 
* obj2 
= 0 ; 
7689         (char *) "self",(char *) "n",(char *) "select", NULL 
 
7692     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
7693     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION 
| 0); 
7694     if (SWIG_arg_fail(1)) SWIG_fail
; 
7696         arg2 
= (int)(SWIG_As_int(obj1
));  
7697         if (SWIG_arg_fail(2)) SWIG_fail
; 
7701             arg3 
= (bool)(SWIG_As_bool(obj2
));  
7702             if (SWIG_arg_fail(3)) SWIG_fail
; 
7706         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7707         (arg1
)->SetSelection(arg2
,arg3
); 
7709         wxPyEndAllowThreads(__tstate
); 
7710         if (PyErr_Occurred()) SWIG_fail
; 
7712     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
7719 static PyObject 
*_wrap_ListBox_Select(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7720     PyObject 
*resultobj
; 
7721     wxListBox 
*arg1 
= (wxListBox 
*) 0 ; 
7723     PyObject 
* obj0 
= 0 ; 
7724     PyObject 
* obj1 
= 0 ; 
7726         (char *) "self",(char *) "n", NULL 
 
7729     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Select",kwnames
,&obj0
,&obj1
)) goto fail
; 
7730     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION 
| 0); 
7731     if (SWIG_arg_fail(1)) SWIG_fail
; 
7733         arg2 
= (int)(SWIG_As_int(obj1
));  
7734         if (SWIG_arg_fail(2)) SWIG_fail
; 
7737         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7738         (arg1
)->Select(arg2
); 
7740         wxPyEndAllowThreads(__tstate
); 
7741         if (PyErr_Occurred()) SWIG_fail
; 
7743     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
7750 static PyObject 
*_wrap_ListBox_Deselect(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7751     PyObject 
*resultobj
; 
7752     wxListBox 
*arg1 
= (wxListBox 
*) 0 ; 
7754     PyObject 
* obj0 
= 0 ; 
7755     PyObject 
* obj1 
= 0 ; 
7757         (char *) "self",(char *) "n", NULL 
 
7760     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Deselect",kwnames
,&obj0
,&obj1
)) goto fail
; 
7761     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION 
| 0); 
7762     if (SWIG_arg_fail(1)) SWIG_fail
; 
7764         arg2 
= (int)(SWIG_As_int(obj1
));  
7765         if (SWIG_arg_fail(2)) SWIG_fail
; 
7768         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7769         (arg1
)->Deselect(arg2
); 
7771         wxPyEndAllowThreads(__tstate
); 
7772         if (PyErr_Occurred()) SWIG_fail
; 
7774     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
7781 static PyObject 
*_wrap_ListBox_DeselectAll(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7782     PyObject 
*resultobj
; 
7783     wxListBox 
*arg1 
= (wxListBox 
*) 0 ; 
7784     int arg2 
= (int) -1 ; 
7785     PyObject 
* obj0 
= 0 ; 
7786     PyObject 
* obj1 
= 0 ; 
7788         (char *) "self",(char *) "itemToLeaveSelected", NULL 
 
7791     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListBox_DeselectAll",kwnames
,&obj0
,&obj1
)) goto fail
; 
7792     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION 
| 0); 
7793     if (SWIG_arg_fail(1)) SWIG_fail
; 
7796             arg2 
= (int)(SWIG_As_int(obj1
));  
7797             if (SWIG_arg_fail(2)) SWIG_fail
; 
7801         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7802         (arg1
)->DeselectAll(arg2
); 
7804         wxPyEndAllowThreads(__tstate
); 
7805         if (PyErr_Occurred()) SWIG_fail
; 
7807     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
7814 static PyObject 
*_wrap_ListBox_SetStringSelection(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7815     PyObject 
*resultobj
; 
7816     wxListBox 
*arg1 
= (wxListBox 
*) 0 ; 
7817     wxString 
*arg2 
= 0 ; 
7818     bool arg3 
= (bool) true ; 
7820     bool temp2 
= false ; 
7821     PyObject 
* obj0 
= 0 ; 
7822     PyObject 
* obj1 
= 0 ; 
7823     PyObject 
* obj2 
= 0 ; 
7825         (char *) "self",(char *) "s",(char *) "select", NULL 
 
7828     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetStringSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
7829     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION 
| 0); 
7830     if (SWIG_arg_fail(1)) SWIG_fail
; 
7832         arg2 
= wxString_in_helper(obj1
); 
7833         if (arg2 
== NULL
) SWIG_fail
; 
7838             arg3 
= (bool)(SWIG_As_bool(obj2
));  
7839             if (SWIG_arg_fail(3)) SWIG_fail
; 
7843         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7844         result 
= (bool)(arg1
)->SetStringSelection((wxString 
const &)*arg2
,arg3
); 
7846         wxPyEndAllowThreads(__tstate
); 
7847         if (PyErr_Occurred()) SWIG_fail
; 
7850         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
7866 static PyObject 
*_wrap_ListBox_GetSelections(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7867     PyObject 
*resultobj
; 
7868     wxListBox 
*arg1 
= (wxListBox 
*) 0 ; 
7870     PyObject 
* obj0 
= 0 ; 
7872         (char *) "self", NULL 
 
7875     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_GetSelections",kwnames
,&obj0
)) goto fail
; 
7876     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION 
| 0); 
7877     if (SWIG_arg_fail(1)) SWIG_fail
; 
7879         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7880         result 
= (PyObject 
*)wxListBox_GetSelections(arg1
); 
7882         wxPyEndAllowThreads(__tstate
); 
7883         if (PyErr_Occurred()) SWIG_fail
; 
7892 static PyObject 
*_wrap_ListBox_SetFirstItem(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7893     PyObject 
*resultobj
; 
7894     wxListBox 
*arg1 
= (wxListBox 
*) 0 ; 
7896     PyObject 
* obj0 
= 0 ; 
7897     PyObject 
* obj1 
= 0 ; 
7899         (char *) "self",(char *) "n", NULL 
 
7902     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItem",kwnames
,&obj0
,&obj1
)) goto fail
; 
7903     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION 
| 0); 
7904     if (SWIG_arg_fail(1)) SWIG_fail
; 
7906         arg2 
= (int)(SWIG_As_int(obj1
));  
7907         if (SWIG_arg_fail(2)) SWIG_fail
; 
7910         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7911         (arg1
)->SetFirstItem(arg2
); 
7913         wxPyEndAllowThreads(__tstate
); 
7914         if (PyErr_Occurred()) SWIG_fail
; 
7916     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
7923 static PyObject 
*_wrap_ListBox_SetFirstItemStr(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7924     PyObject 
*resultobj
; 
7925     wxListBox 
*arg1 
= (wxListBox 
*) 0 ; 
7926     wxString 
*arg2 
= 0 ; 
7927     bool temp2 
= false ; 
7928     PyObject 
* obj0 
= 0 ; 
7929     PyObject 
* obj1 
= 0 ; 
7931         (char *) "self",(char *) "s", NULL 
 
7934     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItemStr",kwnames
,&obj0
,&obj1
)) goto fail
; 
7935     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION 
| 0); 
7936     if (SWIG_arg_fail(1)) SWIG_fail
; 
7938         arg2 
= wxString_in_helper(obj1
); 
7939         if (arg2 
== NULL
) SWIG_fail
; 
7943         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7944         (arg1
)->SetFirstItem((wxString 
const &)*arg2
); 
7946         wxPyEndAllowThreads(__tstate
); 
7947         if (PyErr_Occurred()) SWIG_fail
; 
7949     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
7964 static PyObject 
*_wrap_ListBox_EnsureVisible(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7965     PyObject 
*resultobj
; 
7966     wxListBox 
*arg1 
= (wxListBox 
*) 0 ; 
7968     PyObject 
* obj0 
= 0 ; 
7969     PyObject 
* obj1 
= 0 ; 
7971         (char *) "self",(char *) "n", NULL 
 
7974     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
; 
7975     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION 
| 0); 
7976     if (SWIG_arg_fail(1)) SWIG_fail
; 
7978         arg2 
= (int)(SWIG_As_int(obj1
));  
7979         if (SWIG_arg_fail(2)) SWIG_fail
; 
7982         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7983         (arg1
)->EnsureVisible(arg2
); 
7985         wxPyEndAllowThreads(__tstate
); 
7986         if (PyErr_Occurred()) SWIG_fail
; 
7988     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
7995 static PyObject 
*_wrap_ListBox_AppendAndEnsureVisible(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7996     PyObject 
*resultobj
; 
7997     wxListBox 
*arg1 
= (wxListBox 
*) 0 ; 
7998     wxString 
*arg2 
= 0 ; 
7999     bool temp2 
= false ; 
8000     PyObject 
* obj0 
= 0 ; 
8001     PyObject 
* obj1 
= 0 ; 
8003         (char *) "self",(char *) "s", NULL 
 
8006     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
; 
8007     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION 
| 0); 
8008     if (SWIG_arg_fail(1)) SWIG_fail
; 
8010         arg2 
= wxString_in_helper(obj1
); 
8011         if (arg2 
== NULL
) SWIG_fail
; 
8015         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8016         (arg1
)->AppendAndEnsureVisible((wxString 
const &)*arg2
); 
8018         wxPyEndAllowThreads(__tstate
); 
8019         if (PyErr_Occurred()) SWIG_fail
; 
8021     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
8036 static PyObject 
*_wrap_ListBox_IsSorted(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
8037     PyObject 
*resultobj
; 
8038     wxListBox 
*arg1 
= (wxListBox 
*) 0 ; 
8040     PyObject 
* obj0 
= 0 ; 
8042         (char *) "self", NULL 
 
8045     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_IsSorted",kwnames
,&obj0
)) goto fail
; 
8046     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION 
| 0); 
8047     if (SWIG_arg_fail(1)) SWIG_fail
; 
8049         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8050         result 
= (bool)((wxListBox 
const *)arg1
)->IsSorted(); 
8052         wxPyEndAllowThreads(__tstate
); 
8053         if (PyErr_Occurred()) SWIG_fail
; 
8056         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
8064 static PyObject 
*_wrap_ListBox_SetItemForegroundColour(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
8065     PyObject 
*resultobj
; 
8066     wxListBox 
*arg1 
= (wxListBox 
*) 0 ; 
8068     wxColour 
*arg3 
= 0 ; 
8070     PyObject 
* obj0 
= 0 ; 
8071     PyObject 
* obj1 
= 0 ; 
8072     PyObject 
* obj2 
= 0 ; 
8074         (char *) "self",(char *) "item",(char *) "c", NULL 
 
8077     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
8078     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION 
| 0); 
8079     if (SWIG_arg_fail(1)) SWIG_fail
; 
8081         arg2 
= (int)(SWIG_As_int(obj1
));  
8082         if (SWIG_arg_fail(2)) SWIG_fail
; 
8086         if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
; 
8089         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8090         wxListBox_SetItemForegroundColour(arg1
,arg2
,(wxColour 
const &)*arg3
); 
8092         wxPyEndAllowThreads(__tstate
); 
8093         if (PyErr_Occurred()) SWIG_fail
; 
8095     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
8102 static PyObject 
*_wrap_ListBox_SetItemBackgroundColour(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
8103     PyObject 
*resultobj
; 
8104     wxListBox 
*arg1 
= (wxListBox 
*) 0 ; 
8106     wxColour 
*arg3 
= 0 ; 
8108     PyObject 
* obj0 
= 0 ; 
8109     PyObject 
* obj1 
= 0 ; 
8110     PyObject 
* obj2 
= 0 ; 
8112         (char *) "self",(char *) "item",(char *) "c", NULL 
 
8115     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
8116     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION 
| 0); 
8117     if (SWIG_arg_fail(1)) SWIG_fail
; 
8119         arg2 
= (int)(SWIG_As_int(obj1
));  
8120         if (SWIG_arg_fail(2)) SWIG_fail
; 
8124         if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
; 
8127         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8128         wxListBox_SetItemBackgroundColour(arg1
,arg2
,(wxColour 
const &)*arg3
); 
8130         wxPyEndAllowThreads(__tstate
); 
8131         if (PyErr_Occurred()) SWIG_fail
; 
8133     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
8140 static PyObject 
*_wrap_ListBox_SetItemFont(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
8141     PyObject 
*resultobj
; 
8142     wxListBox 
*arg1 
= (wxListBox 
*) 0 ; 
8145     PyObject 
* obj0 
= 0 ; 
8146     PyObject 
* obj1 
= 0 ; 
8147     PyObject 
* obj2 
= 0 ; 
8149         (char *) "self",(char *) "item",(char *) "f", NULL 
 
8152     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
8153     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION 
| 0); 
8154     if (SWIG_arg_fail(1)) SWIG_fail
; 
8156         arg2 
= (int)(SWIG_As_int(obj1
));  
8157         if (SWIG_arg_fail(2)) SWIG_fail
; 
8160         SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION 
| 0); 
8161         if (SWIG_arg_fail(3)) SWIG_fail
; 
8163             SWIG_null_ref("wxFont"); 
8165         if (SWIG_arg_fail(3)) SWIG_fail
; 
8168         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8169         wxListBox_SetItemFont(arg1
,arg2
,(wxFont 
const &)*arg3
); 
8171         wxPyEndAllowThreads(__tstate
); 
8172         if (PyErr_Occurred()) SWIG_fail
; 
8174     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
8181 static PyObject 
*_wrap_ListBox_GetClassDefaultAttributes(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
8182     PyObject 
*resultobj
; 
8183     wxWindowVariant arg1 
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL 
; 
8184     wxVisualAttributes result
; 
8185     PyObject 
* obj0 
= 0 ; 
8187         (char *) "variant", NULL 
 
8190     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
; 
8193             arg1 
= (wxWindowVariant
)(SWIG_As_int(obj0
));  
8194             if (SWIG_arg_fail(1)) SWIG_fail
; 
8198         if (!wxPyCheckForApp()) SWIG_fail
; 
8199         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8200         result 
= wxListBox::GetClassDefaultAttributes((wxWindowVariant 
)arg1
); 
8202         wxPyEndAllowThreads(__tstate
); 
8203         if (PyErr_Occurred()) SWIG_fail
; 
8206         wxVisualAttributes 
* resultptr
; 
8207         resultptr 
= new wxVisualAttributes((wxVisualAttributes 
&)(result
)); 
8208         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1); 
8216 static PyObject 
* ListBox_swigregister(PyObject 
*, PyObject 
*args
) { 
8218     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
8219     SWIG_TypeClientData(SWIGTYPE_p_wxListBox
, obj
); 
8221     return Py_BuildValue((char *)""); 
8223 static PyObject 
*_wrap_new_CheckListBox(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
8224     PyObject 
*resultobj
; 
8225     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
8226     int arg2 
= (int) -1 ; 
8227     wxPoint 
const &arg3_defvalue 
= wxDefaultPosition 
; 
8228     wxPoint 
*arg3 
= (wxPoint 
*) &arg3_defvalue 
; 
8229     wxSize 
const &arg4_defvalue 
= wxDefaultSize 
; 
8230     wxSize 
*arg4 
= (wxSize 
*) &arg4_defvalue 
; 
8231     wxArrayString 
const &arg5_defvalue 
= wxPyEmptyStringArray 
; 
8232     wxArrayString 
*arg5 
= (wxArrayString 
*) &arg5_defvalue 
; 
8233     long arg6 
= (long) 0 ; 
8234     wxValidator 
const &arg7_defvalue 
= wxDefaultValidator 
; 
8235     wxValidator 
*arg7 
= (wxValidator 
*) &arg7_defvalue 
; 
8236     wxString 
const &arg8_defvalue 
= wxPyListBoxNameStr 
; 
8237     wxString 
*arg8 
= (wxString 
*) &arg8_defvalue 
; 
8238     wxCheckListBox 
*result
; 
8241     bool temp5 
= false ; 
8242     bool temp8 
= false ; 
8243     PyObject 
* obj0 
= 0 ; 
8244     PyObject 
* obj1 
= 0 ; 
8245     PyObject 
* obj2 
= 0 ; 
8246     PyObject 
* obj3 
= 0 ; 
8247     PyObject 
* obj4 
= 0 ; 
8248     PyObject 
* obj5 
= 0 ; 
8249     PyObject 
* obj6 
= 0 ; 
8250     PyObject 
* obj7 
= 0 ; 
8252         (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL 
 
8255     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
; 
8256     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
8257     if (SWIG_arg_fail(1)) SWIG_fail
; 
8260             arg2 
= (int)(SWIG_As_int(obj1
));  
8261             if (SWIG_arg_fail(2)) SWIG_fail
; 
8267             if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
; 
8273             if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
; 
8278             if (! PySequence_Check(obj4
)) { 
8279                 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected."); 
8282             arg5 
= new wxArrayString
; 
8284             int i
, len
=PySequence_Length(obj4
); 
8285             for (i
=0; i
<len
; i
++) { 
8286                 PyObject
* item 
= PySequence_GetItem(obj4
, i
); 
8288                 PyObject
* str  
= PyObject_Unicode(item
); 
8290                 PyObject
* str  
= PyObject_Str(item
); 
8292                 if (PyErr_Occurred())  SWIG_fail
; 
8293                 arg5
->Add(Py2wxString(str
)); 
8301             arg6 
= (long)(SWIG_As_long(obj5
));  
8302             if (SWIG_arg_fail(6)) SWIG_fail
; 
8307             SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION 
| 0); 
8308             if (SWIG_arg_fail(7)) SWIG_fail
; 
8310                 SWIG_null_ref("wxValidator"); 
8312             if (SWIG_arg_fail(7)) SWIG_fail
; 
8317             arg8 
= wxString_in_helper(obj7
); 
8318             if (arg8 
== NULL
) SWIG_fail
; 
8323         if (!wxPyCheckForApp()) SWIG_fail
; 
8324         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8325         result 
= (wxCheckListBox 
*)new wxCheckListBox(arg1
,arg2
,(wxPoint 
const &)*arg3
,(wxSize 
const &)*arg4
,(wxArrayString 
const &)*arg5
,arg6
,(wxValidator 
const &)*arg7
,(wxString 
const &)*arg8
); 
8327         wxPyEndAllowThreads(__tstate
); 
8328         if (PyErr_Occurred()) SWIG_fail
; 
8330     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckListBox
, 1); 
8332         if (temp5
) delete arg5
; 
8341         if (temp5
) delete arg5
; 
8351 static PyObject 
*_wrap_new_PreCheckListBox(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
8352     PyObject 
*resultobj
; 
8353     wxCheckListBox 
*result
; 
8358     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCheckListBox",kwnames
)) goto fail
; 
8360         if (!wxPyCheckForApp()) SWIG_fail
; 
8361         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8362         result 
= (wxCheckListBox 
*)new wxCheckListBox(); 
8364         wxPyEndAllowThreads(__tstate
); 
8365         if (PyErr_Occurred()) SWIG_fail
; 
8367     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckListBox
, 1); 
8374 static PyObject 
*_wrap_CheckListBox_Create(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
8375     PyObject 
*resultobj
; 
8376     wxCheckListBox 
*arg1 
= (wxCheckListBox 
*) 0 ; 
8377     wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
8378     int arg3 
= (int) -1 ; 
8379     wxPoint 
const &arg4_defvalue 
= wxDefaultPosition 
; 
8380     wxPoint 
*arg4 
= (wxPoint 
*) &arg4_defvalue 
; 
8381     wxSize 
const &arg5_defvalue 
= wxDefaultSize 
; 
8382     wxSize 
*arg5 
= (wxSize 
*) &arg5_defvalue 
; 
8383     wxArrayString 
const &arg6_defvalue 
= wxPyEmptyStringArray 
; 
8384     wxArrayString 
*arg6 
= (wxArrayString 
*) &arg6_defvalue 
; 
8385     long arg7 
= (long) 0 ; 
8386     wxValidator 
const &arg8_defvalue 
= wxDefaultValidator 
; 
8387     wxValidator 
*arg8 
= (wxValidator 
*) &arg8_defvalue 
; 
8388     wxString 
const &arg9_defvalue 
= wxPyListBoxNameStr 
; 
8389     wxString 
*arg9 
= (wxString 
*) &arg9_defvalue 
; 
8393     bool temp6 
= false ; 
8394     bool temp9 
= false ; 
8395     PyObject 
* obj0 
= 0 ; 
8396     PyObject 
* obj1 
= 0 ; 
8397     PyObject 
* obj2 
= 0 ; 
8398     PyObject 
* obj3 
= 0 ; 
8399     PyObject 
* obj4 
= 0 ; 
8400     PyObject 
* obj5 
= 0 ; 
8401     PyObject 
* obj6 
= 0 ; 
8402     PyObject 
* obj7 
= 0 ; 
8403     PyObject 
* obj8 
= 0 ; 
8405         (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL 
 
8408     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
; 
8409     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_EXCEPTION 
| 0); 
8410     if (SWIG_arg_fail(1)) SWIG_fail
; 
8411     SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
8412     if (SWIG_arg_fail(2)) SWIG_fail
; 
8415             arg3 
= (int)(SWIG_As_int(obj2
));  
8416             if (SWIG_arg_fail(3)) SWIG_fail
; 
8422             if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
; 
8428             if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
; 
8433             if (! PySequence_Check(obj5
)) { 
8434                 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected."); 
8437             arg6 
= new wxArrayString
; 
8439             int i
, len
=PySequence_Length(obj5
); 
8440             for (i
=0; i
<len
; i
++) { 
8441                 PyObject
* item 
= PySequence_GetItem(obj5
, i
); 
8443                 PyObject
* str  
= PyObject_Unicode(item
); 
8445                 PyObject
* str  
= PyObject_Str(item
); 
8447                 if (PyErr_Occurred())  SWIG_fail
; 
8448                 arg6
->Add(Py2wxString(str
)); 
8456             arg7 
= (long)(SWIG_As_long(obj6
));  
8457             if (SWIG_arg_fail(7)) SWIG_fail
; 
8462             SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION 
| 0); 
8463             if (SWIG_arg_fail(8)) SWIG_fail
; 
8465                 SWIG_null_ref("wxValidator"); 
8467             if (SWIG_arg_fail(8)) SWIG_fail
; 
8472             arg9 
= wxString_in_helper(obj8
); 
8473             if (arg9 
== NULL
) SWIG_fail
; 
8478         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8479         result 
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint 
const &)*arg4
,(wxSize 
const &)*arg5
,(wxArrayString 
const &)*arg6
,arg7
,(wxValidator 
const &)*arg8
,(wxString 
const &)*arg9
); 
8481         wxPyEndAllowThreads(__tstate
); 
8482         if (PyErr_Occurred()) SWIG_fail
; 
8485         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
8488         if (temp6
) delete arg6
; 
8497         if (temp6
) delete arg6
; 
8507 static PyObject 
*_wrap_CheckListBox_IsChecked(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
8508     PyObject 
*resultobj
; 
8509     wxCheckListBox 
*arg1 
= (wxCheckListBox 
*) 0 ; 
8512     PyObject 
* obj0 
= 0 ; 
8513     PyObject 
* obj1 
= 0 ; 
8515         (char *) "self",(char *) "index", NULL 
 
8518     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
; 
8519     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_EXCEPTION 
| 0); 
8520     if (SWIG_arg_fail(1)) SWIG_fail
; 
8522         arg2 
= (int)(SWIG_As_int(obj1
));  
8523         if (SWIG_arg_fail(2)) SWIG_fail
; 
8526         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8527         result 
= (bool)(arg1
)->IsChecked(arg2
); 
8529         wxPyEndAllowThreads(__tstate
); 
8530         if (PyErr_Occurred()) SWIG_fail
; 
8533         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
8541 static PyObject 
*_wrap_CheckListBox_Check(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
8542     PyObject 
*resultobj
; 
8543     wxCheckListBox 
*arg1 
= (wxCheckListBox 
*) 0 ; 
8545     int arg3 
= (int) true ; 
8546     PyObject 
* obj0 
= 0 ; 
8547     PyObject 
* obj1 
= 0 ; 
8548     PyObject 
* obj2 
= 0 ; 
8550         (char *) "self",(char *) "index",(char *) "check", NULL 
 
8553     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:CheckListBox_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
8554     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_EXCEPTION 
| 0); 
8555     if (SWIG_arg_fail(1)) SWIG_fail
; 
8557         arg2 
= (int)(SWIG_As_int(obj1
));  
8558         if (SWIG_arg_fail(2)) SWIG_fail
; 
8562             arg3 
= (int)(SWIG_As_int(obj2
));  
8563             if (SWIG_arg_fail(3)) SWIG_fail
; 
8567         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8568         (arg1
)->Check(arg2
,arg3
); 
8570         wxPyEndAllowThreads(__tstate
); 
8571         if (PyErr_Occurred()) SWIG_fail
; 
8573     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
8580 static PyObject 
*_wrap_CheckListBox_GetItemHeight(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
8581     PyObject 
*resultobj
; 
8582     wxCheckListBox 
*arg1 
= (wxCheckListBox 
*) 0 ; 
8584     PyObject 
* obj0 
= 0 ; 
8586         (char *) "self", NULL 
 
8589     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckListBox_GetItemHeight",kwnames
,&obj0
)) goto fail
; 
8590     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_EXCEPTION 
| 0); 
8591     if (SWIG_arg_fail(1)) SWIG_fail
; 
8593         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8594         result 
= (int)(arg1
)->GetItemHeight(); 
8596         wxPyEndAllowThreads(__tstate
); 
8597         if (PyErr_Occurred()) SWIG_fail
; 
8600         resultobj 
= SWIG_From_int((int)(result
));  
8608 static PyObject 
*_wrap_CheckListBox_HitTest(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
8609     PyObject 
*resultobj
; 
8610     wxCheckListBox 
*arg1 
= (wxCheckListBox 
*) 0 ; 
8614     PyObject 
* obj0 
= 0 ; 
8615     PyObject 
* obj1 
= 0 ; 
8617         (char *) "self",(char *) "pt", NULL 
 
8620     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
; 
8621     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_EXCEPTION 
| 0); 
8622     if (SWIG_arg_fail(1)) SWIG_fail
; 
8625         if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
8628         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8629         result 
= (int)((wxCheckListBox 
const *)arg1
)->HitTest((wxPoint 
const &)*arg2
); 
8631         wxPyEndAllowThreads(__tstate
); 
8632         if (PyErr_Occurred()) SWIG_fail
; 
8635         resultobj 
= SWIG_From_int((int)(result
));  
8643 static PyObject 
*_wrap_CheckListBox_HitTestXY(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
8644     PyObject 
*resultobj
; 
8645     wxCheckListBox 
*arg1 
= (wxCheckListBox 
*) 0 ; 
8649     PyObject 
* obj0 
= 0 ; 
8650     PyObject 
* obj1 
= 0 ; 
8651     PyObject 
* obj2 
= 0 ; 
8653         (char *) "self",(char *) "x",(char *) "y", NULL 
 
8656     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:CheckListBox_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
8657     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_EXCEPTION 
| 0); 
8658     if (SWIG_arg_fail(1)) SWIG_fail
; 
8660         arg2 
= (int)(SWIG_As_int(obj1
));  
8661         if (SWIG_arg_fail(2)) SWIG_fail
; 
8664         arg3 
= (int)(SWIG_As_int(obj2
));  
8665         if (SWIG_arg_fail(3)) SWIG_fail
; 
8668         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8669         result 
= (int)((wxCheckListBox 
const *)arg1
)->HitTest(arg2
,arg3
); 
8671         wxPyEndAllowThreads(__tstate
); 
8672         if (PyErr_Occurred()) SWIG_fail
; 
8675         resultobj 
= SWIG_From_int((int)(result
));  
8683 static PyObject 
* CheckListBox_swigregister(PyObject 
*, PyObject 
*args
) { 
8685     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
8686     SWIG_TypeClientData(SWIGTYPE_p_wxCheckListBox
, obj
); 
8688     return Py_BuildValue((char *)""); 
8690 static int _wrap_TextCtrlNameStr_set(PyObject 
*) { 
8691     PyErr_SetString(PyExc_TypeError
,"Variable TextCtrlNameStr is read-only."); 
8696 static PyObject 
*_wrap_TextCtrlNameStr_get(void) { 
8701         pyobj 
= PyUnicode_FromWideChar((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len()); 
8703         pyobj 
= PyString_FromStringAndSize((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len()); 
8710 static PyObject 
*_wrap_new_TextAttr(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
8711     PyObject 
*resultobj
; 
8712     wxColour 
const &arg1_defvalue 
= wxNullColour 
; 
8713     wxColour 
*arg1 
= (wxColour 
*) &arg1_defvalue 
; 
8714     wxColour 
const &arg2_defvalue 
= wxNullColour 
; 
8715     wxColour 
*arg2 
= (wxColour 
*) &arg2_defvalue 
; 
8716     wxFont 
const &arg3_defvalue 
= wxNullFont 
; 
8717     wxFont 
*arg3 
= (wxFont 
*) &arg3_defvalue 
; 
8718     wxTextAttrAlignment arg4 
= (wxTextAttrAlignment
) wxTEXT_ALIGNMENT_DEFAULT 
; 
8722     PyObject 
* obj0 
= 0 ; 
8723     PyObject 
* obj1 
= 0 ; 
8724     PyObject 
* obj2 
= 0 ; 
8725     PyObject 
* obj3 
= 0 ; 
8727         (char *) "colText",(char *) "colBack",(char *) "font",(char *) "alignment", NULL 
 
8730     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TextAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
8734             if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
; 
8740             if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
8745             SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION 
| 0); 
8746             if (SWIG_arg_fail(3)) SWIG_fail
; 
8748                 SWIG_null_ref("wxFont"); 
8750             if (SWIG_arg_fail(3)) SWIG_fail
; 
8755             arg4 
= (wxTextAttrAlignment
)(SWIG_As_int(obj3
));  
8756             if (SWIG_arg_fail(4)) SWIG_fail
; 
8760         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8761         result 
= (wxTextAttr 
*)new wxTextAttr((wxColour 
const &)*arg1
,(wxColour 
const &)*arg2
,(wxFont 
const &)*arg3
,(wxTextAttrAlignment 
)arg4
); 
8763         wxPyEndAllowThreads(__tstate
); 
8764         if (PyErr_Occurred()) SWIG_fail
; 
8766     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 1); 
8773 static PyObject 
*_wrap_delete_TextAttr(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
8774     PyObject 
*resultobj
; 
8775     wxTextAttr 
*arg1 
= (wxTextAttr 
*) 0 ; 
8776     PyObject 
* obj0 
= 0 ; 
8778         (char *) "self", NULL 
 
8781     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TextAttr",kwnames
,&obj0
)) goto fail
; 
8782     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION 
| 0); 
8783     if (SWIG_arg_fail(1)) SWIG_fail
; 
8785         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8788         wxPyEndAllowThreads(__tstate
); 
8789         if (PyErr_Occurred()) SWIG_fail
; 
8791     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
8798 static PyObject 
*_wrap_TextAttr_Init(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
8799     PyObject 
*resultobj
; 
8800     wxTextAttr 
*arg1 
= (wxTextAttr 
*) 0 ; 
8801     PyObject 
* obj0 
= 0 ; 
8803         (char *) "self", NULL 
 
8806     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_Init",kwnames
,&obj0
)) goto fail
; 
8807     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION 
| 0); 
8808     if (SWIG_arg_fail(1)) SWIG_fail
; 
8810         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8813         wxPyEndAllowThreads(__tstate
); 
8814         if (PyErr_Occurred()) SWIG_fail
; 
8816     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
8823 static PyObject 
*_wrap_TextAttr_SetTextColour(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
8824     PyObject 
*resultobj
; 
8825     wxTextAttr 
*arg1 
= (wxTextAttr 
*) 0 ; 
8826     wxColour 
*arg2 
= 0 ; 
8828     PyObject 
* obj0 
= 0 ; 
8829     PyObject 
* obj1 
= 0 ; 
8831         (char *) "self",(char *) "colText", NULL 
 
8834     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
; 
8835     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION 
| 0); 
8836     if (SWIG_arg_fail(1)) SWIG_fail
; 
8839         if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
8842         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8843         (arg1
)->SetTextColour((wxColour 
const &)*arg2
); 
8845         wxPyEndAllowThreads(__tstate
); 
8846         if (PyErr_Occurred()) SWIG_fail
; 
8848     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
8855 static PyObject 
*_wrap_TextAttr_SetBackgroundColour(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
8856     PyObject 
*resultobj
; 
8857     wxTextAttr 
*arg1 
= (wxTextAttr 
*) 0 ; 
8858     wxColour 
*arg2 
= 0 ; 
8860     PyObject 
* obj0 
= 0 ; 
8861     PyObject 
* obj1 
= 0 ; 
8863         (char *) "self",(char *) "colBack", NULL 
 
8866     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
; 
8867     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION 
| 0); 
8868     if (SWIG_arg_fail(1)) SWIG_fail
; 
8871         if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
8874         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8875         (arg1
)->SetBackgroundColour((wxColour 
const &)*arg2
); 
8877         wxPyEndAllowThreads(__tstate
); 
8878         if (PyErr_Occurred()) SWIG_fail
; 
8880     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
8887 static PyObject 
*_wrap_TextAttr_SetFont(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
8888     PyObject 
*resultobj
; 
8889     wxTextAttr 
*arg1 
= (wxTextAttr 
*) 0 ; 
8891     long arg3 
= (long) wxTEXT_ATTR_FONT 
; 
8892     PyObject 
* obj0 
= 0 ; 
8893     PyObject 
* obj1 
= 0 ; 
8894     PyObject 
* obj2 
= 0 ; 
8896         (char *) "self",(char *) "font",(char *) "flags", NULL 
 
8899     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
8900     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION 
| 0); 
8901     if (SWIG_arg_fail(1)) SWIG_fail
; 
8903         SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION 
| 0); 
8904         if (SWIG_arg_fail(2)) SWIG_fail
; 
8906             SWIG_null_ref("wxFont"); 
8908         if (SWIG_arg_fail(2)) SWIG_fail
; 
8912             arg3 
= (long)(SWIG_As_long(obj2
));  
8913             if (SWIG_arg_fail(3)) SWIG_fail
; 
8917         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8918         (arg1
)->SetFont((wxFont 
const &)*arg2
,arg3
); 
8920         wxPyEndAllowThreads(__tstate
); 
8921         if (PyErr_Occurred()) SWIG_fail
; 
8923     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
8930 static PyObject 
*_wrap_TextAttr_SetAlignment(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
8931     PyObject 
*resultobj
; 
8932     wxTextAttr 
*arg1 
= (wxTextAttr 
*) 0 ; 
8933     wxTextAttrAlignment arg2 
; 
8934     PyObject 
* obj0 
= 0 ; 
8935     PyObject 
* obj1 
= 0 ; 
8937         (char *) "self",(char *) "alignment", NULL 
 
8940     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
; 
8941     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION 
| 0); 
8942     if (SWIG_arg_fail(1)) SWIG_fail
; 
8944         arg2 
= (wxTextAttrAlignment
)(SWIG_As_int(obj1
));  
8945         if (SWIG_arg_fail(2)) SWIG_fail
; 
8948         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8949         (arg1
)->SetAlignment((wxTextAttrAlignment 
)arg2
); 
8951         wxPyEndAllowThreads(__tstate
); 
8952         if (PyErr_Occurred()) SWIG_fail
; 
8954     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
8961 static PyObject 
*_wrap_TextAttr_SetTabs(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
8962     PyObject 
*resultobj
; 
8963     wxTextAttr 
*arg1 
= (wxTextAttr 
*) 0 ; 
8964     wxArrayInt 
*arg2 
= 0 ; 
8965     bool temp2 
= false ; 
8966     PyObject 
* obj0 
= 0 ; 
8967     PyObject 
* obj1 
= 0 ; 
8969         (char *) "self",(char *) "tabs", NULL 
 
8972     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTabs",kwnames
,&obj0
,&obj1
)) goto fail
; 
8973     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION 
| 0); 
8974     if (SWIG_arg_fail(1)) SWIG_fail
; 
8976         if (! PySequence_Check(obj1
)) { 
8977             PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected."); 
8980         arg2 
= new wxArrayInt
; 
8982         int i
, len
=PySequence_Length(obj1
); 
8983         for (i
=0; i
<len
; i
++) { 
8984             PyObject
* item 
= PySequence_GetItem(obj1
, i
); 
8985             PyObject
* number  
= PyNumber_Int(item
); 
8986             arg2
->Add(PyInt_AS_LONG(number
)); 
8992         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8993         (arg1
)->SetTabs((wxArrayInt 
const &)*arg2
); 
8995         wxPyEndAllowThreads(__tstate
); 
8996         if (PyErr_Occurred()) SWIG_fail
; 
8998     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
9000         if (temp2
) delete arg2
; 
9005         if (temp2
) delete arg2
; 
9011 static PyObject 
*_wrap_TextAttr_SetLeftIndent(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9012     PyObject 
*resultobj
; 
9013     wxTextAttr 
*arg1 
= (wxTextAttr 
*) 0 ; 
9015     int arg3 
= (int) 0 ; 
9016     PyObject 
* obj0 
= 0 ; 
9017     PyObject 
* obj1 
= 0 ; 
9018     PyObject 
* obj2 
= 0 ; 
9020         (char *) "self",(char *) "indent",(char *) "subIndent", NULL 
 
9023     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetLeftIndent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
9024     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION 
| 0); 
9025     if (SWIG_arg_fail(1)) SWIG_fail
; 
9027         arg2 
= (int)(SWIG_As_int(obj1
));  
9028         if (SWIG_arg_fail(2)) SWIG_fail
; 
9032             arg3 
= (int)(SWIG_As_int(obj2
));  
9033             if (SWIG_arg_fail(3)) SWIG_fail
; 
9037         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9038         (arg1
)->SetLeftIndent(arg2
,arg3
); 
9040         wxPyEndAllowThreads(__tstate
); 
9041         if (PyErr_Occurred()) SWIG_fail
; 
9043     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
9050 static PyObject 
*_wrap_TextAttr_SetRightIndent(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9051     PyObject 
*resultobj
; 
9052     wxTextAttr 
*arg1 
= (wxTextAttr 
*) 0 ; 
9054     PyObject 
* obj0 
= 0 ; 
9055     PyObject 
* obj1 
= 0 ; 
9057         (char *) "self",(char *) "indent", NULL 
 
9060     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetRightIndent",kwnames
,&obj0
,&obj1
)) goto fail
; 
9061     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION 
| 0); 
9062     if (SWIG_arg_fail(1)) SWIG_fail
; 
9064         arg2 
= (int)(SWIG_As_int(obj1
));  
9065         if (SWIG_arg_fail(2)) SWIG_fail
; 
9068         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9069         (arg1
)->SetRightIndent(arg2
); 
9071         wxPyEndAllowThreads(__tstate
); 
9072         if (PyErr_Occurred()) SWIG_fail
; 
9074     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
9081 static PyObject 
*_wrap_TextAttr_SetFlags(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9082     PyObject 
*resultobj
; 
9083     wxTextAttr 
*arg1 
= (wxTextAttr 
*) 0 ; 
9085     PyObject 
* obj0 
= 0 ; 
9086     PyObject 
* obj1 
= 0 ; 
9088         (char *) "self",(char *) "flags", NULL 
 
9091     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
; 
9092     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION 
| 0); 
9093     if (SWIG_arg_fail(1)) SWIG_fail
; 
9095         arg2 
= (long)(SWIG_As_long(obj1
));  
9096         if (SWIG_arg_fail(2)) SWIG_fail
; 
9099         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9100         (arg1
)->SetFlags(arg2
); 
9102         wxPyEndAllowThreads(__tstate
); 
9103         if (PyErr_Occurred()) SWIG_fail
; 
9105     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
9112 static PyObject 
*_wrap_TextAttr_HasTextColour(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9113     PyObject 
*resultobj
; 
9114     wxTextAttr 
*arg1 
= (wxTextAttr 
*) 0 ; 
9116     PyObject 
* obj0 
= 0 ; 
9118         (char *) "self", NULL 
 
9121     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTextColour",kwnames
,&obj0
)) goto fail
; 
9122     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION 
| 0); 
9123     if (SWIG_arg_fail(1)) SWIG_fail
; 
9125         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9126         result 
= (bool)((wxTextAttr 
const *)arg1
)->HasTextColour(); 
9128         wxPyEndAllowThreads(__tstate
); 
9129         if (PyErr_Occurred()) SWIG_fail
; 
9132         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
9140 static PyObject 
*_wrap_TextAttr_HasBackgroundColour(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9141     PyObject 
*resultobj
; 
9142     wxTextAttr 
*arg1 
= (wxTextAttr 
*) 0 ; 
9144     PyObject 
* obj0 
= 0 ; 
9146         (char *) "self", NULL 
 
9149     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
; 
9150     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION 
| 0); 
9151     if (SWIG_arg_fail(1)) SWIG_fail
; 
9153         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9154         result 
= (bool)((wxTextAttr 
const *)arg1
)->HasBackgroundColour(); 
9156         wxPyEndAllowThreads(__tstate
); 
9157         if (PyErr_Occurred()) SWIG_fail
; 
9160         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
9168 static PyObject 
*_wrap_TextAttr_HasFont(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9169     PyObject 
*resultobj
; 
9170     wxTextAttr 
*arg1 
= (wxTextAttr 
*) 0 ; 
9172     PyObject 
* obj0 
= 0 ; 
9174         (char *) "self", NULL 
 
9177     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasFont",kwnames
,&obj0
)) goto fail
; 
9178     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION 
| 0); 
9179     if (SWIG_arg_fail(1)) SWIG_fail
; 
9181         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9182         result 
= (bool)((wxTextAttr 
const *)arg1
)->HasFont(); 
9184         wxPyEndAllowThreads(__tstate
); 
9185         if (PyErr_Occurred()) SWIG_fail
; 
9188         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
9196 static PyObject 
*_wrap_TextAttr_HasAlignment(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9197     PyObject 
*resultobj
; 
9198     wxTextAttr 
*arg1 
= (wxTextAttr 
*) 0 ; 
9200     PyObject 
* obj0 
= 0 ; 
9202         (char *) "self", NULL 
 
9205     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasAlignment",kwnames
,&obj0
)) goto fail
; 
9206     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION 
| 0); 
9207     if (SWIG_arg_fail(1)) SWIG_fail
; 
9209         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9210         result 
= (bool)((wxTextAttr 
const *)arg1
)->HasAlignment(); 
9212         wxPyEndAllowThreads(__tstate
); 
9213         if (PyErr_Occurred()) SWIG_fail
; 
9216         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
9224 static PyObject 
*_wrap_TextAttr_HasTabs(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9225     PyObject 
*resultobj
; 
9226     wxTextAttr 
*arg1 
= (wxTextAttr 
*) 0 ; 
9228     PyObject 
* obj0 
= 0 ; 
9230         (char *) "self", NULL 
 
9233     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTabs",kwnames
,&obj0
)) goto fail
; 
9234     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION 
| 0); 
9235     if (SWIG_arg_fail(1)) SWIG_fail
; 
9237         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9238         result 
= (bool)((wxTextAttr 
const *)arg1
)->HasTabs(); 
9240         wxPyEndAllowThreads(__tstate
); 
9241         if (PyErr_Occurred()) SWIG_fail
; 
9244         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
9252 static PyObject 
*_wrap_TextAttr_HasLeftIndent(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9253     PyObject 
*resultobj
; 
9254     wxTextAttr 
*arg1 
= (wxTextAttr 
*) 0 ; 
9256     PyObject 
* obj0 
= 0 ; 
9258         (char *) "self", NULL 
 
9261     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasLeftIndent",kwnames
,&obj0
)) goto fail
; 
9262     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION 
| 0); 
9263     if (SWIG_arg_fail(1)) SWIG_fail
; 
9265         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9266         result 
= (bool)((wxTextAttr 
const *)arg1
)->HasLeftIndent(); 
9268         wxPyEndAllowThreads(__tstate
); 
9269         if (PyErr_Occurred()) SWIG_fail
; 
9272         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
9280 static PyObject 
*_wrap_TextAttr_HasRightIndent(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9281     PyObject 
*resultobj
; 
9282     wxTextAttr 
*arg1 
= (wxTextAttr 
*) 0 ; 
9284     PyObject 
* obj0 
= 0 ; 
9286         (char *) "self", NULL 
 
9289     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasRightIndent",kwnames
,&obj0
)) goto fail
; 
9290     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION 
| 0); 
9291     if (SWIG_arg_fail(1)) SWIG_fail
; 
9293         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9294         result 
= (bool)((wxTextAttr 
const *)arg1
)->HasRightIndent(); 
9296         wxPyEndAllowThreads(__tstate
); 
9297         if (PyErr_Occurred()) SWIG_fail
; 
9300         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
9308 static PyObject 
*_wrap_TextAttr_HasFlag(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9309     PyObject 
*resultobj
; 
9310     wxTextAttr 
*arg1 
= (wxTextAttr 
*) 0 ; 
9313     PyObject 
* obj0 
= 0 ; 
9314     PyObject 
* obj1 
= 0 ; 
9316         (char *) "self",(char *) "flag", NULL 
 
9319     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_HasFlag",kwnames
,&obj0
,&obj1
)) goto fail
; 
9320     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION 
| 0); 
9321     if (SWIG_arg_fail(1)) SWIG_fail
; 
9323         arg2 
= (long)(SWIG_As_long(obj1
));  
9324         if (SWIG_arg_fail(2)) SWIG_fail
; 
9327         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9328         result 
= (bool)((wxTextAttr 
const *)arg1
)->HasFlag(arg2
); 
9330         wxPyEndAllowThreads(__tstate
); 
9331         if (PyErr_Occurred()) SWIG_fail
; 
9334         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
9342 static PyObject 
*_wrap_TextAttr_GetTextColour(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9343     PyObject 
*resultobj
; 
9344     wxTextAttr 
*arg1 
= (wxTextAttr 
*) 0 ; 
9346     PyObject 
* obj0 
= 0 ; 
9348         (char *) "self", NULL 
 
9351     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTextColour",kwnames
,&obj0
)) goto fail
; 
9352     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION 
| 0); 
9353     if (SWIG_arg_fail(1)) SWIG_fail
; 
9355         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9357             wxColour 
const &_result_ref 
= ((wxTextAttr 
const *)arg1
)->GetTextColour(); 
9358             result 
= (wxColour 
*) &_result_ref
; 
9361         wxPyEndAllowThreads(__tstate
); 
9362         if (PyErr_Occurred()) SWIG_fail
; 
9364     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0); 
9371 static PyObject 
*_wrap_TextAttr_GetBackgroundColour(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9372     PyObject 
*resultobj
; 
9373     wxTextAttr 
*arg1 
= (wxTextAttr 
*) 0 ; 
9375     PyObject 
* obj0 
= 0 ; 
9377         (char *) "self", NULL 
 
9380     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
; 
9381     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION 
| 0); 
9382     if (SWIG_arg_fail(1)) SWIG_fail
; 
9384         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9386             wxColour 
const &_result_ref 
= ((wxTextAttr 
const *)arg1
)->GetBackgroundColour(); 
9387             result 
= (wxColour 
*) &_result_ref
; 
9390         wxPyEndAllowThreads(__tstate
); 
9391         if (PyErr_Occurred()) SWIG_fail
; 
9393     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0); 
9400 static PyObject 
*_wrap_TextAttr_GetFont(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9401     PyObject 
*resultobj
; 
9402     wxTextAttr 
*arg1 
= (wxTextAttr 
*) 0 ; 
9404     PyObject 
* obj0 
= 0 ; 
9406         (char *) "self", NULL 
 
9409     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFont",kwnames
,&obj0
)) goto fail
; 
9410     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION 
| 0); 
9411     if (SWIG_arg_fail(1)) SWIG_fail
; 
9413         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9415             wxFont 
const &_result_ref 
= ((wxTextAttr 
const *)arg1
)->GetFont(); 
9416             result 
= (wxFont 
*) &_result_ref
; 
9419         wxPyEndAllowThreads(__tstate
); 
9420         if (PyErr_Occurred()) SWIG_fail
; 
9423         wxFont
* resultptr 
= new wxFont(*result
); 
9424         resultobj 
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1); 
9432 static PyObject 
*_wrap_TextAttr_GetAlignment(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9433     PyObject 
*resultobj
; 
9434     wxTextAttr 
*arg1 
= (wxTextAttr 
*) 0 ; 
9435     wxTextAttrAlignment result
; 
9436     PyObject 
* obj0 
= 0 ; 
9438         (char *) "self", NULL 
 
9441     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetAlignment",kwnames
,&obj0
)) goto fail
; 
9442     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION 
| 0); 
9443     if (SWIG_arg_fail(1)) SWIG_fail
; 
9445         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9446         result 
= (wxTextAttrAlignment
)((wxTextAttr 
const *)arg1
)->GetAlignment(); 
9448         wxPyEndAllowThreads(__tstate
); 
9449         if (PyErr_Occurred()) SWIG_fail
; 
9451     resultobj 
= SWIG_From_int((result
)); 
9458 static PyObject 
*_wrap_TextAttr_GetTabs(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9459     PyObject 
*resultobj
; 
9460     wxTextAttr 
*arg1 
= (wxTextAttr 
*) 0 ; 
9462     PyObject 
* obj0 
= 0 ; 
9464         (char *) "self", NULL 
 
9467     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTabs",kwnames
,&obj0
)) goto fail
; 
9468     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION 
| 0); 
9469     if (SWIG_arg_fail(1)) SWIG_fail
; 
9471         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9473             wxArrayInt 
const &_result_ref 
= ((wxTextAttr 
const *)arg1
)->GetTabs(); 
9474             result 
= (wxArrayInt 
*) &_result_ref
; 
9477         wxPyEndAllowThreads(__tstate
); 
9478         if (PyErr_Occurred()) SWIG_fail
; 
9481         resultobj 
= PyList_New(0); 
9483         for (idx 
= 0; idx 
< result
->GetCount(); idx 
+= 1) { 
9484             PyObject
* val 
= PyInt_FromLong( result
->Item(idx
) ); 
9485             PyList_Append(resultobj
, val
); 
9495 static PyObject 
*_wrap_TextAttr_GetLeftIndent(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9496     PyObject 
*resultobj
; 
9497     wxTextAttr 
*arg1 
= (wxTextAttr 
*) 0 ; 
9499     PyObject 
* obj0 
= 0 ; 
9501         (char *) "self", NULL 
 
9504     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetLeftIndent",kwnames
,&obj0
)) goto fail
; 
9505     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION 
| 0); 
9506     if (SWIG_arg_fail(1)) SWIG_fail
; 
9508         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9509         result 
= (long)((wxTextAttr 
const *)arg1
)->GetLeftIndent(); 
9511         wxPyEndAllowThreads(__tstate
); 
9512         if (PyErr_Occurred()) SWIG_fail
; 
9515         resultobj 
= SWIG_From_long((long)(result
));  
9523 static PyObject 
*_wrap_TextAttr_GetLeftSubIndent(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9524     PyObject 
*resultobj
; 
9525     wxTextAttr 
*arg1 
= (wxTextAttr 
*) 0 ; 
9527     PyObject 
* obj0 
= 0 ; 
9529         (char *) "self", NULL 
 
9532     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetLeftSubIndent",kwnames
,&obj0
)) goto fail
; 
9533     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION 
| 0); 
9534     if (SWIG_arg_fail(1)) SWIG_fail
; 
9536         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9537         result 
= (long)((wxTextAttr 
const *)arg1
)->GetLeftSubIndent(); 
9539         wxPyEndAllowThreads(__tstate
); 
9540         if (PyErr_Occurred()) SWIG_fail
; 
9543         resultobj 
= SWIG_From_long((long)(result
));  
9551 static PyObject 
*_wrap_TextAttr_GetRightIndent(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9552     PyObject 
*resultobj
; 
9553     wxTextAttr 
*arg1 
= (wxTextAttr 
*) 0 ; 
9555     PyObject 
* obj0 
= 0 ; 
9557         (char *) "self", NULL 
 
9560     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetRightIndent",kwnames
,&obj0
)) goto fail
; 
9561     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION 
| 0); 
9562     if (SWIG_arg_fail(1)) SWIG_fail
; 
9564         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9565         result 
= (long)((wxTextAttr 
const *)arg1
)->GetRightIndent(); 
9567         wxPyEndAllowThreads(__tstate
); 
9568         if (PyErr_Occurred()) SWIG_fail
; 
9571         resultobj 
= SWIG_From_long((long)(result
));  
9579 static PyObject 
*_wrap_TextAttr_GetFlags(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9580     PyObject 
*resultobj
; 
9581     wxTextAttr 
*arg1 
= (wxTextAttr 
*) 0 ; 
9583     PyObject 
* obj0 
= 0 ; 
9585         (char *) "self", NULL 
 
9588     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFlags",kwnames
,&obj0
)) goto fail
; 
9589     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION 
| 0); 
9590     if (SWIG_arg_fail(1)) SWIG_fail
; 
9592         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9593         result 
= (long)((wxTextAttr 
const *)arg1
)->GetFlags(); 
9595         wxPyEndAllowThreads(__tstate
); 
9596         if (PyErr_Occurred()) SWIG_fail
; 
9599         resultobj 
= SWIG_From_long((long)(result
));  
9607 static PyObject 
*_wrap_TextAttr_IsDefault(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9608     PyObject 
*resultobj
; 
9609     wxTextAttr 
*arg1 
= (wxTextAttr 
*) 0 ; 
9611     PyObject 
* obj0 
= 0 ; 
9613         (char *) "self", NULL 
 
9616     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_IsDefault",kwnames
,&obj0
)) goto fail
; 
9617     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION 
| 0); 
9618     if (SWIG_arg_fail(1)) SWIG_fail
; 
9620         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9621         result 
= (bool)((wxTextAttr 
const *)arg1
)->IsDefault(); 
9623         wxPyEndAllowThreads(__tstate
); 
9624         if (PyErr_Occurred()) SWIG_fail
; 
9627         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
9635 static PyObject 
*_wrap_TextAttr_Combine(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9636     PyObject 
*resultobj
; 
9637     wxTextAttr 
*arg1 
= 0 ; 
9638     wxTextAttr 
*arg2 
= 0 ; 
9639     wxTextCtrl 
*arg3 
= (wxTextCtrl 
*) 0 ; 
9641     PyObject 
* obj0 
= 0 ; 
9642     PyObject 
* obj1 
= 0 ; 
9643     PyObject 
* obj2 
= 0 ; 
9645         (char *) "attr",(char *) "attrDef",(char *) "text", NULL 
 
9648     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextAttr_Combine",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
9650         SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION 
| 0); 
9651         if (SWIG_arg_fail(1)) SWIG_fail
; 
9653             SWIG_null_ref("wxTextAttr"); 
9655         if (SWIG_arg_fail(1)) SWIG_fail
; 
9658         SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION 
| 0); 
9659         if (SWIG_arg_fail(2)) SWIG_fail
; 
9661             SWIG_null_ref("wxTextAttr"); 
9663         if (SWIG_arg_fail(2)) SWIG_fail
; 
9665     SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
9666     if (SWIG_arg_fail(3)) SWIG_fail
; 
9668         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9669         result 
= wxTextAttr::Combine((wxTextAttr 
const &)*arg1
,(wxTextAttr 
const &)*arg2
,(wxTextCtrl 
const *)arg3
); 
9671         wxPyEndAllowThreads(__tstate
); 
9672         if (PyErr_Occurred()) SWIG_fail
; 
9675         wxTextAttr 
* resultptr
; 
9676         resultptr 
= new wxTextAttr((wxTextAttr 
&)(result
)); 
9677         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTextAttr
, 1); 
9685 static PyObject 
* TextAttr_swigregister(PyObject 
*, PyObject 
*args
) { 
9687     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
9688     SWIG_TypeClientData(SWIGTYPE_p_wxTextAttr
, obj
); 
9690     return Py_BuildValue((char *)""); 
9692 static PyObject 
*_wrap_new_TextCtrl(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9693     PyObject 
*resultobj
; 
9694     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
9695     int arg2 
= (int) -1 ; 
9696     wxString 
const &arg3_defvalue 
= wxPyEmptyString 
; 
9697     wxString 
*arg3 
= (wxString 
*) &arg3_defvalue 
; 
9698     wxPoint 
const &arg4_defvalue 
= wxDefaultPosition 
; 
9699     wxPoint 
*arg4 
= (wxPoint 
*) &arg4_defvalue 
; 
9700     wxSize 
const &arg5_defvalue 
= wxDefaultSize 
; 
9701     wxSize 
*arg5 
= (wxSize 
*) &arg5_defvalue 
; 
9702     long arg6 
= (long) 0 ; 
9703     wxValidator 
const &arg7_defvalue 
= wxDefaultValidator 
; 
9704     wxValidator 
*arg7 
= (wxValidator 
*) &arg7_defvalue 
; 
9705     wxString 
const &arg8_defvalue 
= wxPyTextCtrlNameStr 
; 
9706     wxString 
*arg8 
= (wxString 
*) &arg8_defvalue 
; 
9708     bool temp3 
= false ; 
9711     bool temp8 
= false ; 
9712     PyObject 
* obj0 
= 0 ; 
9713     PyObject 
* obj1 
= 0 ; 
9714     PyObject 
* obj2 
= 0 ; 
9715     PyObject 
* obj3 
= 0 ; 
9716     PyObject 
* obj4 
= 0 ; 
9717     PyObject 
* obj5 
= 0 ; 
9718     PyObject 
* obj6 
= 0 ; 
9719     PyObject 
* obj7 
= 0 ; 
9721         (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL 
 
9724     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_TextCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
; 
9725     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
9726     if (SWIG_arg_fail(1)) SWIG_fail
; 
9729             arg2 
= (int)(SWIG_As_int(obj1
));  
9730             if (SWIG_arg_fail(2)) SWIG_fail
; 
9735             arg3 
= wxString_in_helper(obj2
); 
9736             if (arg3 
== NULL
) SWIG_fail
; 
9743             if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
; 
9749             if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
; 
9754             arg6 
= (long)(SWIG_As_long(obj5
));  
9755             if (SWIG_arg_fail(6)) SWIG_fail
; 
9760             SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION 
| 0); 
9761             if (SWIG_arg_fail(7)) SWIG_fail
; 
9763                 SWIG_null_ref("wxValidator"); 
9765             if (SWIG_arg_fail(7)) SWIG_fail
; 
9770             arg8 
= wxString_in_helper(obj7
); 
9771             if (arg8 
== NULL
) SWIG_fail
; 
9776         if (!wxPyCheckForApp()) SWIG_fail
; 
9777         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9778         result 
= (wxTextCtrl 
*)new wxTextCtrl(arg1
,arg2
,(wxString 
const &)*arg3
,(wxPoint 
const &)*arg4
,(wxSize 
const &)*arg5
,arg6
,(wxValidator 
const &)*arg7
,(wxString 
const &)*arg8
); 
9780         wxPyEndAllowThreads(__tstate
); 
9781         if (PyErr_Occurred()) SWIG_fail
; 
9783     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextCtrl
, 1); 
9806 static PyObject 
*_wrap_new_PreTextCtrl(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9807     PyObject 
*resultobj
; 
9813     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTextCtrl",kwnames
)) goto fail
; 
9815         if (!wxPyCheckForApp()) SWIG_fail
; 
9816         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9817         result 
= (wxTextCtrl 
*)new wxTextCtrl(); 
9819         wxPyEndAllowThreads(__tstate
); 
9820         if (PyErr_Occurred()) SWIG_fail
; 
9822     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextCtrl
, 1); 
9829 static PyObject 
*_wrap_TextCtrl_Create(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9830     PyObject 
*resultobj
; 
9831     wxTextCtrl 
*arg1 
= (wxTextCtrl 
*) 0 ; 
9832     wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
9833     int arg3 
= (int) -1 ; 
9834     wxString 
const &arg4_defvalue 
= wxPyEmptyString 
; 
9835     wxString 
*arg4 
= (wxString 
*) &arg4_defvalue 
; 
9836     wxPoint 
const &arg5_defvalue 
= wxDefaultPosition 
; 
9837     wxPoint 
*arg5 
= (wxPoint 
*) &arg5_defvalue 
; 
9838     wxSize 
const &arg6_defvalue 
= wxDefaultSize 
; 
9839     wxSize 
*arg6 
= (wxSize 
*) &arg6_defvalue 
; 
9840     long arg7 
= (long) 0 ; 
9841     wxValidator 
const &arg8_defvalue 
= wxDefaultValidator 
; 
9842     wxValidator 
*arg8 
= (wxValidator 
*) &arg8_defvalue 
; 
9843     wxString 
const &arg9_defvalue 
= wxPyTextCtrlNameStr 
; 
9844     wxString 
*arg9 
= (wxString 
*) &arg9_defvalue 
; 
9846     bool temp4 
= false ; 
9849     bool temp9 
= false ; 
9850     PyObject 
* obj0 
= 0 ; 
9851     PyObject 
* obj1 
= 0 ; 
9852     PyObject 
* obj2 
= 0 ; 
9853     PyObject 
* obj3 
= 0 ; 
9854     PyObject 
* obj4 
= 0 ; 
9855     PyObject 
* obj5 
= 0 ; 
9856     PyObject 
* obj6 
= 0 ; 
9857     PyObject 
* obj7 
= 0 ; 
9858     PyObject 
* obj8 
= 0 ; 
9860         (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL 
 
9863     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:TextCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
; 
9864     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
9865     if (SWIG_arg_fail(1)) SWIG_fail
; 
9866     SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
9867     if (SWIG_arg_fail(2)) SWIG_fail
; 
9870             arg3 
= (int)(SWIG_As_int(obj2
));  
9871             if (SWIG_arg_fail(3)) SWIG_fail
; 
9876             arg4 
= wxString_in_helper(obj3
); 
9877             if (arg4 
== NULL
) SWIG_fail
; 
9884             if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
; 
9890             if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
; 
9895             arg7 
= (long)(SWIG_As_long(obj6
));  
9896             if (SWIG_arg_fail(7)) SWIG_fail
; 
9901             SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION 
| 0); 
9902             if (SWIG_arg_fail(8)) SWIG_fail
; 
9904                 SWIG_null_ref("wxValidator"); 
9906             if (SWIG_arg_fail(8)) SWIG_fail
; 
9911             arg9 
= wxString_in_helper(obj8
); 
9912             if (arg9 
== NULL
) SWIG_fail
; 
9917         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9918         result 
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString 
const &)*arg4
,(wxPoint 
const &)*arg5
,(wxSize 
const &)*arg6
,arg7
,(wxValidator 
const &)*arg8
,(wxString 
const &)*arg9
); 
9920         wxPyEndAllowThreads(__tstate
); 
9921         if (PyErr_Occurred()) SWIG_fail
; 
9924         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
9948 static PyObject 
*_wrap_TextCtrl_GetValue(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9949     PyObject 
*resultobj
; 
9950     wxTextCtrl 
*arg1 
= (wxTextCtrl 
*) 0 ; 
9952     PyObject 
* obj0 
= 0 ; 
9954         (char *) "self", NULL 
 
9957     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetValue",kwnames
,&obj0
)) goto fail
; 
9958     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
9959     if (SWIG_arg_fail(1)) SWIG_fail
; 
9961         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9962         result 
= ((wxTextCtrl 
const *)arg1
)->GetValue(); 
9964         wxPyEndAllowThreads(__tstate
); 
9965         if (PyErr_Occurred()) SWIG_fail
; 
9969         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
9971         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
9980 static PyObject 
*_wrap_TextCtrl_SetValue(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9981     PyObject 
*resultobj
; 
9982     wxTextCtrl 
*arg1 
= (wxTextCtrl 
*) 0 ; 
9983     wxString 
*arg2 
= 0 ; 
9984     bool temp2 
= false ; 
9985     PyObject 
* obj0 
= 0 ; 
9986     PyObject 
* obj1 
= 0 ; 
9988         (char *) "self",(char *) "value", NULL 
 
9991     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
; 
9992     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
9993     if (SWIG_arg_fail(1)) SWIG_fail
; 
9995         arg2 
= wxString_in_helper(obj1
); 
9996         if (arg2 
== NULL
) SWIG_fail
; 
10000         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10001         (arg1
)->SetValue((wxString 
const &)*arg2
); 
10003         wxPyEndAllowThreads(__tstate
); 
10004         if (PyErr_Occurred()) SWIG_fail
; 
10006     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
10021 static PyObject 
*_wrap_TextCtrl_GetRange(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
10022     PyObject 
*resultobj
; 
10023     wxTextCtrl 
*arg1 
= (wxTextCtrl 
*) 0 ; 
10027     PyObject 
* obj0 
= 0 ; 
10028     PyObject 
* obj1 
= 0 ; 
10029     PyObject 
* obj2 
= 0 ; 
10030     char *kwnames
[] = { 
10031         (char *) "self",(char *) "from",(char *) "to", NULL 
 
10034     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
10035     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
10036     if (SWIG_arg_fail(1)) SWIG_fail
; 
10038         arg2 
= (long)(SWIG_As_long(obj1
));  
10039         if (SWIG_arg_fail(2)) SWIG_fail
; 
10042         arg3 
= (long)(SWIG_As_long(obj2
));  
10043         if (SWIG_arg_fail(3)) SWIG_fail
; 
10046         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10047         result 
= ((wxTextCtrl 
const *)arg1
)->GetRange(arg2
,arg3
); 
10049         wxPyEndAllowThreads(__tstate
); 
10050         if (PyErr_Occurred()) SWIG_fail
; 
10054         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
10056         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
10065 static PyObject 
*_wrap_TextCtrl_GetLineLength(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
10066     PyObject 
*resultobj
; 
10067     wxTextCtrl 
*arg1 
= (wxTextCtrl 
*) 0 ; 
10070     PyObject 
* obj0 
= 0 ; 
10071     PyObject 
* obj1 
= 0 ; 
10072     char *kwnames
[] = { 
10073         (char *) "self",(char *) "lineNo", NULL 
 
10076     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineLength",kwnames
,&obj0
,&obj1
)) goto fail
; 
10077     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
10078     if (SWIG_arg_fail(1)) SWIG_fail
; 
10080         arg2 
= (long)(SWIG_As_long(obj1
));  
10081         if (SWIG_arg_fail(2)) SWIG_fail
; 
10084         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10085         result 
= (int)((wxTextCtrl 
const *)arg1
)->GetLineLength(arg2
); 
10087         wxPyEndAllowThreads(__tstate
); 
10088         if (PyErr_Occurred()) SWIG_fail
; 
10091         resultobj 
= SWIG_From_int((int)(result
));  
10099 static PyObject 
*_wrap_TextCtrl_GetLineText(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
10100     PyObject 
*resultobj
; 
10101     wxTextCtrl 
*arg1 
= (wxTextCtrl 
*) 0 ; 
10104     PyObject 
* obj0 
= 0 ; 
10105     PyObject 
* obj1 
= 0 ; 
10106     char *kwnames
[] = { 
10107         (char *) "self",(char *) "lineNo", NULL 
 
10110     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineText",kwnames
,&obj0
,&obj1
)) goto fail
; 
10111     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
10112     if (SWIG_arg_fail(1)) SWIG_fail
; 
10114         arg2 
= (long)(SWIG_As_long(obj1
));  
10115         if (SWIG_arg_fail(2)) SWIG_fail
; 
10118         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10119         result 
= ((wxTextCtrl 
const *)arg1
)->GetLineText(arg2
); 
10121         wxPyEndAllowThreads(__tstate
); 
10122         if (PyErr_Occurred()) SWIG_fail
; 
10126         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
10128         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
10137 static PyObject 
*_wrap_TextCtrl_GetNumberOfLines(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
10138     PyObject 
*resultobj
; 
10139     wxTextCtrl 
*arg1 
= (wxTextCtrl 
*) 0 ; 
10141     PyObject 
* obj0 
= 0 ; 
10142     char *kwnames
[] = { 
10143         (char *) "self", NULL 
 
10146     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetNumberOfLines",kwnames
,&obj0
)) goto fail
; 
10147     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
10148     if (SWIG_arg_fail(1)) SWIG_fail
; 
10150         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10151         result 
= (int)((wxTextCtrl 
const *)arg1
)->GetNumberOfLines(); 
10153         wxPyEndAllowThreads(__tstate
); 
10154         if (PyErr_Occurred()) SWIG_fail
; 
10157         resultobj 
= SWIG_From_int((int)(result
));  
10165 static PyObject 
*_wrap_TextCtrl_IsModified(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
10166     PyObject 
*resultobj
; 
10167     wxTextCtrl 
*arg1 
= (wxTextCtrl 
*) 0 ; 
10169     PyObject 
* obj0 
= 0 ; 
10170     char *kwnames
[] = { 
10171         (char *) "self", NULL 
 
10174     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsModified",kwnames
,&obj0
)) goto fail
; 
10175     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
10176     if (SWIG_arg_fail(1)) SWIG_fail
; 
10178         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10179         result 
= (bool)((wxTextCtrl 
const *)arg1
)->IsModified(); 
10181         wxPyEndAllowThreads(__tstate
); 
10182         if (PyErr_Occurred()) SWIG_fail
; 
10185         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
10193 static PyObject 
*_wrap_TextCtrl_IsEditable(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
10194     PyObject 
*resultobj
; 
10195     wxTextCtrl 
*arg1 
= (wxTextCtrl 
*) 0 ; 
10197     PyObject 
* obj0 
= 0 ; 
10198     char *kwnames
[] = { 
10199         (char *) "self", NULL 
 
10202     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsEditable",kwnames
,&obj0
)) goto fail
; 
10203     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
10204     if (SWIG_arg_fail(1)) SWIG_fail
; 
10206         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10207         result 
= (bool)((wxTextCtrl 
const *)arg1
)->IsEditable(); 
10209         wxPyEndAllowThreads(__tstate
); 
10210         if (PyErr_Occurred()) SWIG_fail
; 
10213         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
10221 static PyObject 
*_wrap_TextCtrl_IsSingleLine(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
10222     PyObject 
*resultobj
; 
10223     wxTextCtrl 
*arg1 
= (wxTextCtrl 
*) 0 ; 
10225     PyObject 
* obj0 
= 0 ; 
10226     char *kwnames
[] = { 
10227         (char *) "self", NULL 
 
10230     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsSingleLine",kwnames
,&obj0
)) goto fail
; 
10231     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
10232     if (SWIG_arg_fail(1)) SWIG_fail
; 
10234         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10235         result 
= (bool)((wxTextCtrl 
const *)arg1
)->IsSingleLine(); 
10237         wxPyEndAllowThreads(__tstate
); 
10238         if (PyErr_Occurred()) SWIG_fail
; 
10241         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
10249 static PyObject 
*_wrap_TextCtrl_IsMultiLine(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
10250     PyObject 
*resultobj
; 
10251     wxTextCtrl 
*arg1 
= (wxTextCtrl 
*) 0 ; 
10253     PyObject 
* obj0 
= 0 ; 
10254     char *kwnames
[] = { 
10255         (char *) "self", NULL 
 
10258     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsMultiLine",kwnames
,&obj0
)) goto fail
; 
10259     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
10260     if (SWIG_arg_fail(1)) SWIG_fail
; 
10262         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10263         result 
= (bool)((wxTextCtrl 
const *)arg1
)->IsMultiLine(); 
10265         wxPyEndAllowThreads(__tstate
); 
10266         if (PyErr_Occurred()) SWIG_fail
; 
10269         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
10277 static PyObject 
*_wrap_TextCtrl_GetSelection(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
10278     PyObject 
*resultobj
; 
10279     wxTextCtrl 
*arg1 
= (wxTextCtrl 
*) 0 ; 
10280     long *arg2 
= (long *) 0 ; 
10281     long *arg3 
= (long *) 0 ; 
10286     PyObject 
* obj0 
= 0 ; 
10287     char *kwnames
[] = { 
10288         (char *) "self", NULL 
 
10291     arg2 
= &temp2
; res2 
= SWIG_NEWOBJ
; 
10292     arg3 
= &temp3
; res3 
= SWIG_NEWOBJ
; 
10293     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetSelection",kwnames
,&obj0
)) goto fail
; 
10294     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
10295     if (SWIG_arg_fail(1)) SWIG_fail
; 
10297         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10298         ((wxTextCtrl 
const *)arg1
)->GetSelection(arg2
,arg3
); 
10300         wxPyEndAllowThreads(__tstate
); 
10301         if (PyErr_Occurred()) SWIG_fail
; 
10303     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
10304     resultobj 
= t_output_helper(resultobj
, ((res2 
== SWIG_NEWOBJ
) ? 
10305     SWIG_From_long((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, 0))); 
10306     resultobj 
= t_output_helper(resultobj
, ((res3 
== SWIG_NEWOBJ
) ? 
10307     SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0))); 
10314 static PyObject 
*_wrap_TextCtrl_GetStringSelection(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
10315     PyObject 
*resultobj
; 
10316     wxTextCtrl 
*arg1 
= (wxTextCtrl 
*) 0 ; 
10318     PyObject 
* obj0 
= 0 ; 
10319     char *kwnames
[] = { 
10320         (char *) "self", NULL 
 
10323     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetStringSelection",kwnames
,&obj0
)) goto fail
; 
10324     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
10325     if (SWIG_arg_fail(1)) SWIG_fail
; 
10327         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10328         result 
= ((wxTextCtrl 
const *)arg1
)->GetStringSelection(); 
10330         wxPyEndAllowThreads(__tstate
); 
10331         if (PyErr_Occurred()) SWIG_fail
; 
10335         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
10337         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
10346 static PyObject 
*_wrap_TextCtrl_Clear(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
10347     PyObject 
*resultobj
; 
10348     wxTextCtrl 
*arg1 
= (wxTextCtrl 
*) 0 ; 
10349     PyObject 
* obj0 
= 0 ; 
10350     char *kwnames
[] = { 
10351         (char *) "self", NULL 
 
10354     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Clear",kwnames
,&obj0
)) goto fail
; 
10355     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
10356     if (SWIG_arg_fail(1)) SWIG_fail
; 
10358         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10361         wxPyEndAllowThreads(__tstate
); 
10362         if (PyErr_Occurred()) SWIG_fail
; 
10364     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
10371 static PyObject 
*_wrap_TextCtrl_Replace(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
10372     PyObject 
*resultobj
; 
10373     wxTextCtrl 
*arg1 
= (wxTextCtrl 
*) 0 ; 
10376     wxString 
*arg4 
= 0 ; 
10377     bool temp4 
= false ; 
10378     PyObject 
* obj0 
= 0 ; 
10379     PyObject 
* obj1 
= 0 ; 
10380     PyObject 
* obj2 
= 0 ; 
10381     PyObject 
* obj3 
= 0 ; 
10382     char *kwnames
[] = { 
10383         (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL 
 
10386     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
10387     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
10388     if (SWIG_arg_fail(1)) SWIG_fail
; 
10390         arg2 
= (long)(SWIG_As_long(obj1
));  
10391         if (SWIG_arg_fail(2)) SWIG_fail
; 
10394         arg3 
= (long)(SWIG_As_long(obj2
));  
10395         if (SWIG_arg_fail(3)) SWIG_fail
; 
10398         arg4 
= wxString_in_helper(obj3
); 
10399         if (arg4 
== NULL
) SWIG_fail
; 
10403         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10404         (arg1
)->Replace(arg2
,arg3
,(wxString 
const &)*arg4
); 
10406         wxPyEndAllowThreads(__tstate
); 
10407         if (PyErr_Occurred()) SWIG_fail
; 
10409     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
10424 static PyObject 
*_wrap_TextCtrl_Remove(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
10425     PyObject 
*resultobj
; 
10426     wxTextCtrl 
*arg1 
= (wxTextCtrl 
*) 0 ; 
10429     PyObject 
* obj0 
= 0 ; 
10430     PyObject 
* obj1 
= 0 ; 
10431     PyObject 
* obj2 
= 0 ; 
10432     char *kwnames
[] = { 
10433         (char *) "self",(char *) "from",(char *) "to", NULL 
 
10436     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
10437     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
10438     if (SWIG_arg_fail(1)) SWIG_fail
; 
10440         arg2 
= (long)(SWIG_As_long(obj1
));  
10441         if (SWIG_arg_fail(2)) SWIG_fail
; 
10444         arg3 
= (long)(SWIG_As_long(obj2
));  
10445         if (SWIG_arg_fail(3)) SWIG_fail
; 
10448         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10449         (arg1
)->Remove(arg2
,arg3
); 
10451         wxPyEndAllowThreads(__tstate
); 
10452         if (PyErr_Occurred()) SWIG_fail
; 
10454     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
10461 static PyObject 
*_wrap_TextCtrl_LoadFile(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
10462     PyObject 
*resultobj
; 
10463     wxTextCtrl 
*arg1 
= (wxTextCtrl 
*) 0 ; 
10464     wxString 
*arg2 
= 0 ; 
10466     bool temp2 
= false ; 
10467     PyObject 
* obj0 
= 0 ; 
10468     PyObject 
* obj1 
= 0 ; 
10469     char *kwnames
[] = { 
10470         (char *) "self",(char *) "file", NULL 
 
10473     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_LoadFile",kwnames
,&obj0
,&obj1
)) goto fail
; 
10474     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
10475     if (SWIG_arg_fail(1)) SWIG_fail
; 
10477         arg2 
= wxString_in_helper(obj1
); 
10478         if (arg2 
== NULL
) SWIG_fail
; 
10482         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10483         result 
= (bool)(arg1
)->LoadFile((wxString 
const &)*arg2
); 
10485         wxPyEndAllowThreads(__tstate
); 
10486         if (PyErr_Occurred()) SWIG_fail
; 
10489         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
10505 static PyObject 
*_wrap_TextCtrl_SaveFile(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
10506     PyObject 
*resultobj
; 
10507     wxTextCtrl 
*arg1 
= (wxTextCtrl 
*) 0 ; 
10508     wxString 
const &arg2_defvalue 
= wxPyEmptyString 
; 
10509     wxString 
*arg2 
= (wxString 
*) &arg2_defvalue 
; 
10511     bool temp2 
= false ; 
10512     PyObject 
* obj0 
= 0 ; 
10513     PyObject 
* obj1 
= 0 ; 
10514     char *kwnames
[] = { 
10515         (char *) "self",(char *) "file", NULL 
 
10518     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TextCtrl_SaveFile",kwnames
,&obj0
,&obj1
)) goto fail
; 
10519     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
10520     if (SWIG_arg_fail(1)) SWIG_fail
; 
10523             arg2 
= wxString_in_helper(obj1
); 
10524             if (arg2 
== NULL
) SWIG_fail
; 
10529         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10530         result 
= (bool)(arg1
)->SaveFile((wxString 
const &)*arg2
); 
10532         wxPyEndAllowThreads(__tstate
); 
10533         if (PyErr_Occurred()) SWIG_fail
; 
10536         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
10552 static PyObject 
*_wrap_TextCtrl_MarkDirty(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
10553     PyObject 
*resultobj
; 
10554     wxTextCtrl 
*arg1 
= (wxTextCtrl 
*) 0 ; 
10555     PyObject 
* obj0 
= 0 ; 
10556     char *kwnames
[] = { 
10557         (char *) "self", NULL 
 
10560     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_MarkDirty",kwnames
,&obj0
)) goto fail
; 
10561     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
10562     if (SWIG_arg_fail(1)) SWIG_fail
; 
10564         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10565         (arg1
)->MarkDirty(); 
10567         wxPyEndAllowThreads(__tstate
); 
10568         if (PyErr_Occurred()) SWIG_fail
; 
10570     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
10577 static PyObject 
*_wrap_TextCtrl_DiscardEdits(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
10578     PyObject 
*resultobj
; 
10579     wxTextCtrl 
*arg1 
= (wxTextCtrl 
*) 0 ; 
10580     PyObject 
* obj0 
= 0 ; 
10581     char *kwnames
[] = { 
10582         (char *) "self", NULL 
 
10585     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_DiscardEdits",kwnames
,&obj0
)) goto fail
; 
10586     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
10587     if (SWIG_arg_fail(1)) SWIG_fail
; 
10589         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10590         (arg1
)->DiscardEdits(); 
10592         wxPyEndAllowThreads(__tstate
); 
10593         if (PyErr_Occurred()) SWIG_fail
; 
10595     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
10602 static PyObject 
*_wrap_TextCtrl_SetMaxLength(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
10603     PyObject 
*resultobj
; 
10604     wxTextCtrl 
*arg1 
= (wxTextCtrl 
*) 0 ; 
10605     unsigned long arg2 
; 
10606     PyObject 
* obj0 
= 0 ; 
10607     PyObject 
* obj1 
= 0 ; 
10608     char *kwnames
[] = { 
10609         (char *) "self",(char *) "len", NULL 
 
10612     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetMaxLength",kwnames
,&obj0
,&obj1
)) goto fail
; 
10613     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
10614     if (SWIG_arg_fail(1)) SWIG_fail
; 
10616         arg2 
= (unsigned long)(SWIG_As_unsigned_SS_long(obj1
));  
10617         if (SWIG_arg_fail(2)) SWIG_fail
; 
10620         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10621         (arg1
)->SetMaxLength(arg2
); 
10623         wxPyEndAllowThreads(__tstate
); 
10624         if (PyErr_Occurred()) SWIG_fail
; 
10626     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
10633 static PyObject 
*_wrap_TextCtrl_WriteText(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
10634     PyObject 
*resultobj
; 
10635     wxTextCtrl 
*arg1 
= (wxTextCtrl 
*) 0 ; 
10636     wxString 
*arg2 
= 0 ; 
10637     bool temp2 
= false ; 
10638     PyObject 
* obj0 
= 0 ; 
10639     PyObject 
* obj1 
= 0 ; 
10640     char *kwnames
[] = { 
10641         (char *) "self",(char *) "text", NULL 
 
10644     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_WriteText",kwnames
,&obj0
,&obj1
)) goto fail
; 
10645     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
10646     if (SWIG_arg_fail(1)) SWIG_fail
; 
10648         arg2 
= wxString_in_helper(obj1
); 
10649         if (arg2 
== NULL
) SWIG_fail
; 
10653         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10654         (arg1
)->WriteText((wxString 
const &)*arg2
); 
10656         wxPyEndAllowThreads(__tstate
); 
10657         if (PyErr_Occurred()) SWIG_fail
; 
10659     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
10674 static PyObject 
*_wrap_TextCtrl_AppendText(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
10675     PyObject 
*resultobj
; 
10676     wxTextCtrl 
*arg1 
= (wxTextCtrl 
*) 0 ; 
10677     wxString 
*arg2 
= 0 ; 
10678     bool temp2 
= false ; 
10679     PyObject 
* obj0 
= 0 ; 
10680     PyObject 
* obj1 
= 0 ; 
10681     char *kwnames
[] = { 
10682         (char *) "self",(char *) "text", NULL 
 
10685     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_AppendText",kwnames
,&obj0
,&obj1
)) goto fail
; 
10686     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
10687     if (SWIG_arg_fail(1)) SWIG_fail
; 
10689         arg2 
= wxString_in_helper(obj1
); 
10690         if (arg2 
== NULL
) SWIG_fail
; 
10694         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10695         (arg1
)->AppendText((wxString 
const &)*arg2
); 
10697         wxPyEndAllowThreads(__tstate
); 
10698         if (PyErr_Occurred()) SWIG_fail
; 
10700     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
10715 static PyObject 
*_wrap_TextCtrl_EmulateKeyPress(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
10716     PyObject 
*resultobj
; 
10717     wxTextCtrl 
*arg1 
= (wxTextCtrl 
*) 0 ; 
10718     wxKeyEvent 
*arg2 
= 0 ; 
10720     PyObject 
* obj0 
= 0 ; 
10721     PyObject 
* obj1 
= 0 ; 
10722     char *kwnames
[] = { 
10723         (char *) "self",(char *) "event", NULL 
 
10726     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames
,&obj0
,&obj1
)) goto fail
; 
10727     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
10728     if (SWIG_arg_fail(1)) SWIG_fail
; 
10730         SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
10731         if (SWIG_arg_fail(2)) SWIG_fail
; 
10732         if (arg2 
== NULL
) { 
10733             SWIG_null_ref("wxKeyEvent"); 
10735         if (SWIG_arg_fail(2)) SWIG_fail
; 
10738         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10739         result 
= (bool)(arg1
)->EmulateKeyPress((wxKeyEvent 
const &)*arg2
); 
10741         wxPyEndAllowThreads(__tstate
); 
10742         if (PyErr_Occurred()) SWIG_fail
; 
10745         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
10753 static PyObject 
*_wrap_TextCtrl_SetStyle(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
10754     PyObject 
*resultobj
; 
10755     wxTextCtrl 
*arg1 
= (wxTextCtrl 
*) 0 ; 
10758     wxTextAttr 
*arg4 
= 0 ; 
10760     PyObject 
* obj0 
= 0 ; 
10761     PyObject 
* obj1 
= 0 ; 
10762     PyObject 
* obj2 
= 0 ; 
10763     PyObject 
* obj3 
= 0 ; 
10764     char *kwnames
[] = { 
10765         (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL 
 
10768     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_SetStyle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
10769     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
10770     if (SWIG_arg_fail(1)) SWIG_fail
; 
10772         arg2 
= (long)(SWIG_As_long(obj1
));  
10773         if (SWIG_arg_fail(2)) SWIG_fail
; 
10776         arg3 
= (long)(SWIG_As_long(obj2
));  
10777         if (SWIG_arg_fail(3)) SWIG_fail
; 
10780         SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION 
| 0); 
10781         if (SWIG_arg_fail(4)) SWIG_fail
; 
10782         if (arg4 
== NULL
) { 
10783             SWIG_null_ref("wxTextAttr"); 
10785         if (SWIG_arg_fail(4)) SWIG_fail
; 
10788         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10789         result 
= (bool)(arg1
)->SetStyle(arg2
,arg3
,(wxTextAttr 
const &)*arg4
); 
10791         wxPyEndAllowThreads(__tstate
); 
10792         if (PyErr_Occurred()) SWIG_fail
; 
10795         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
10803 static PyObject 
*_wrap_TextCtrl_GetStyle(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
10804     PyObject 
*resultobj
; 
10805     wxTextCtrl 
*arg1 
= (wxTextCtrl 
*) 0 ; 
10807     wxTextAttr 
*arg3 
= 0 ; 
10809     PyObject 
* obj0 
= 0 ; 
10810     PyObject 
* obj1 
= 0 ; 
10811     PyObject 
* obj2 
= 0 ; 
10812     char *kwnames
[] = { 
10813         (char *) "self",(char *) "position",(char *) "style", NULL 
 
10816     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetStyle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
10817     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
10818     if (SWIG_arg_fail(1)) SWIG_fail
; 
10820         arg2 
= (long)(SWIG_As_long(obj1
));  
10821         if (SWIG_arg_fail(2)) SWIG_fail
; 
10824         SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION 
| 0); 
10825         if (SWIG_arg_fail(3)) SWIG_fail
; 
10826         if (arg3 
== NULL
) { 
10827             SWIG_null_ref("wxTextAttr"); 
10829         if (SWIG_arg_fail(3)) SWIG_fail
; 
10832         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10833         result 
= (bool)(arg1
)->GetStyle(arg2
,*arg3
); 
10835         wxPyEndAllowThreads(__tstate
); 
10836         if (PyErr_Occurred()) SWIG_fail
; 
10839         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
10847 static PyObject 
*_wrap_TextCtrl_SetDefaultStyle(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
10848     PyObject 
*resultobj
; 
10849     wxTextCtrl 
*arg1 
= (wxTextCtrl 
*) 0 ; 
10850     wxTextAttr 
*arg2 
= 0 ; 
10852     PyObject 
* obj0 
= 0 ; 
10853     PyObject 
* obj1 
= 0 ; 
10854     char *kwnames
[] = { 
10855         (char *) "self",(char *) "style", NULL 
 
10858     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames
,&obj0
,&obj1
)) goto fail
; 
10859     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
10860     if (SWIG_arg_fail(1)) SWIG_fail
; 
10862         SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION 
| 0); 
10863         if (SWIG_arg_fail(2)) SWIG_fail
; 
10864         if (arg2 
== NULL
) { 
10865             SWIG_null_ref("wxTextAttr"); 
10867         if (SWIG_arg_fail(2)) SWIG_fail
; 
10870         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10871         result 
= (bool)(arg1
)->SetDefaultStyle((wxTextAttr 
const &)*arg2
); 
10873         wxPyEndAllowThreads(__tstate
); 
10874         if (PyErr_Occurred()) SWIG_fail
; 
10877         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
10885 static PyObject 
*_wrap_TextCtrl_GetDefaultStyle(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
10886     PyObject 
*resultobj
; 
10887     wxTextCtrl 
*arg1 
= (wxTextCtrl 
*) 0 ; 
10888     wxTextAttr 
*result
; 
10889     PyObject 
* obj0 
= 0 ; 
10890     char *kwnames
[] = { 
10891         (char *) "self", NULL 
 
10894     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetDefaultStyle",kwnames
,&obj0
)) goto fail
; 
10895     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
10896     if (SWIG_arg_fail(1)) SWIG_fail
; 
10898         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10900             wxTextAttr 
const &_result_ref 
= ((wxTextCtrl 
const *)arg1
)->GetDefaultStyle(); 
10901             result 
= (wxTextAttr 
*) &_result_ref
; 
10904         wxPyEndAllowThreads(__tstate
); 
10905         if (PyErr_Occurred()) SWIG_fail
; 
10907     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 0); 
10914 static PyObject 
*_wrap_TextCtrl_XYToPosition(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
10915     PyObject 
*resultobj
; 
10916     wxTextCtrl 
*arg1 
= (wxTextCtrl 
*) 0 ; 
10920     PyObject 
* obj0 
= 0 ; 
10921     PyObject 
* obj1 
= 0 ; 
10922     PyObject 
* obj2 
= 0 ; 
10923     char *kwnames
[] = { 
10924         (char *) "self",(char *) "x",(char *) "y", NULL 
 
10927     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_XYToPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
10928     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
10929     if (SWIG_arg_fail(1)) SWIG_fail
; 
10931         arg2 
= (long)(SWIG_As_long(obj1
));  
10932         if (SWIG_arg_fail(2)) SWIG_fail
; 
10935         arg3 
= (long)(SWIG_As_long(obj2
));  
10936         if (SWIG_arg_fail(3)) SWIG_fail
; 
10939         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10940         result 
= (long)((wxTextCtrl 
const *)arg1
)->XYToPosition(arg2
,arg3
); 
10942         wxPyEndAllowThreads(__tstate
); 
10943         if (PyErr_Occurred()) SWIG_fail
; 
10946         resultobj 
= SWIG_From_long((long)(result
));  
10954 static PyObject 
*_wrap_TextCtrl_PositionToXY(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
10955     PyObject 
*resultobj
; 
10956     wxTextCtrl 
*arg1 
= (wxTextCtrl 
*) 0 ; 
10958     long *arg3 
= (long *) 0 ; 
10959     long *arg4 
= (long *) 0 ; 
10964     PyObject 
* obj0 
= 0 ; 
10965     PyObject 
* obj1 
= 0 ; 
10966     char *kwnames
[] = { 
10967         (char *) "self",(char *) "pos", NULL 
 
10970     arg3 
= &temp3
; res3 
= SWIG_NEWOBJ
; 
10971     arg4 
= &temp4
; res4 
= SWIG_NEWOBJ
; 
10972     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_PositionToXY",kwnames
,&obj0
,&obj1
)) goto fail
; 
10973     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
10974     if (SWIG_arg_fail(1)) SWIG_fail
; 
10976         arg2 
= (long)(SWIG_As_long(obj1
));  
10977         if (SWIG_arg_fail(2)) SWIG_fail
; 
10980         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10981         ((wxTextCtrl 
const *)arg1
)->PositionToXY(arg2
,arg3
,arg4
); 
10983         wxPyEndAllowThreads(__tstate
); 
10984         if (PyErr_Occurred()) SWIG_fail
; 
10986     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
10987     resultobj 
= t_output_helper(resultobj
, ((res3 
== SWIG_NEWOBJ
) ? 
10988     SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0))); 
10989     resultobj 
= t_output_helper(resultobj
, ((res4 
== SWIG_NEWOBJ
) ? 
10990     SWIG_From_long((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, 0))); 
10997 static PyObject 
*_wrap_TextCtrl_ShowPosition(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
10998     PyObject 
*resultobj
; 
10999     wxTextCtrl 
*arg1 
= (wxTextCtrl 
*) 0 ; 
11001     PyObject 
* obj0 
= 0 ; 
11002     PyObject 
* obj1 
= 0 ; 
11003     char *kwnames
[] = { 
11004         (char *) "self",(char *) "pos", NULL 
 
11007     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_ShowPosition",kwnames
,&obj0
,&obj1
)) goto fail
; 
11008     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
11009     if (SWIG_arg_fail(1)) SWIG_fail
; 
11011         arg2 
= (long)(SWIG_As_long(obj1
));  
11012         if (SWIG_arg_fail(2)) SWIG_fail
; 
11015         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11016         (arg1
)->ShowPosition(arg2
); 
11018         wxPyEndAllowThreads(__tstate
); 
11019         if (PyErr_Occurred()) SWIG_fail
; 
11021     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
11028 static PyObject 
*_wrap_TextCtrl_HitTest(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
11029     PyObject 
*resultobj
; 
11030     wxTextCtrl 
*arg1 
= (wxTextCtrl 
*) 0 ; 
11031     wxPoint 
*arg2 
= 0 ; 
11032     long *arg3 
= (long *) 0 ; 
11033     long *arg4 
= (long *) 0 ; 
11034     wxTextCtrlHitTestResult result
; 
11040     PyObject 
* obj0 
= 0 ; 
11041     PyObject 
* obj1 
= 0 ; 
11042     char *kwnames
[] = { 
11043         (char *) "self",(char *) "pt", NULL 
 
11046     arg3 
= &temp3
; res3 
= SWIG_NEWOBJ
; 
11047     arg4 
= &temp4
; res4 
= SWIG_NEWOBJ
; 
11048     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
; 
11049     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
11050     if (SWIG_arg_fail(1)) SWIG_fail
; 
11053         if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
11056         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11057         result 
= (wxTextCtrlHitTestResult
)((wxTextCtrl 
const *)arg1
)->HitTest((wxPoint 
const &)*arg2
,arg3
,arg4
); 
11059         wxPyEndAllowThreads(__tstate
); 
11060         if (PyErr_Occurred()) SWIG_fail
; 
11062     resultobj 
= SWIG_From_int((result
)); 
11063     resultobj 
= t_output_helper(resultobj
, ((res3 
== SWIG_NEWOBJ
) ? 
11064     SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0))); 
11065     resultobj 
= t_output_helper(resultobj
, ((res4 
== SWIG_NEWOBJ
) ? 
11066     SWIG_From_long((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, 0))); 
11073 static PyObject 
*_wrap_TextCtrl_HitTestPos(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
11074     PyObject 
*resultobj
; 
11075     wxTextCtrl 
*arg1 
= (wxTextCtrl 
*) 0 ; 
11076     wxPoint 
*arg2 
= 0 ; 
11077     long *arg3 
= (long *) 0 ; 
11078     wxTextCtrlHitTestResult result
; 
11082     PyObject 
* obj0 
= 0 ; 
11083     PyObject 
* obj1 
= 0 ; 
11084     char *kwnames
[] = { 
11085         (char *) "self",(char *) "pt", NULL 
 
11088     arg3 
= &temp3
; res3 
= SWIG_NEWOBJ
; 
11089     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTestPos",kwnames
,&obj0
,&obj1
)) goto fail
; 
11090     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
11091     if (SWIG_arg_fail(1)) SWIG_fail
; 
11094         if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
11097         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11098         result 
= (wxTextCtrlHitTestResult
)((wxTextCtrl 
const *)arg1
)->HitTest((wxPoint 
const &)*arg2
,arg3
); 
11100         wxPyEndAllowThreads(__tstate
); 
11101         if (PyErr_Occurred()) SWIG_fail
; 
11103     resultobj 
= SWIG_From_int((result
)); 
11104     resultobj 
= t_output_helper(resultobj
, ((res3 
== SWIG_NEWOBJ
) ? 
11105     SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0))); 
11112 static PyObject 
*_wrap_TextCtrl_Copy(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
11113     PyObject 
*resultobj
; 
11114     wxTextCtrl 
*arg1 
= (wxTextCtrl 
*) 0 ; 
11115     PyObject 
* obj0 
= 0 ; 
11116     char *kwnames
[] = { 
11117         (char *) "self", NULL 
 
11120     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Copy",kwnames
,&obj0
)) goto fail
; 
11121     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
11122     if (SWIG_arg_fail(1)) SWIG_fail
; 
11124         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11127         wxPyEndAllowThreads(__tstate
); 
11128         if (PyErr_Occurred()) SWIG_fail
; 
11130     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
11137 static PyObject 
*_wrap_TextCtrl_Cut(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
11138     PyObject 
*resultobj
; 
11139     wxTextCtrl 
*arg1 
= (wxTextCtrl 
*) 0 ; 
11140     PyObject 
* obj0 
= 0 ; 
11141     char *kwnames
[] = { 
11142         (char *) "self", NULL 
 
11145     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Cut",kwnames
,&obj0
)) goto fail
; 
11146     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
11147     if (SWIG_arg_fail(1)) SWIG_fail
; 
11149         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11152         wxPyEndAllowThreads(__tstate
); 
11153         if (PyErr_Occurred()) SWIG_fail
; 
11155     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
11162 static PyObject 
*_wrap_TextCtrl_Paste(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
11163     PyObject 
*resultobj
; 
11164     wxTextCtrl 
*arg1 
= (wxTextCtrl 
*) 0 ; 
11165     PyObject 
* obj0 
= 0 ; 
11166     char *kwnames
[] = { 
11167         (char *) "self", NULL 
 
11170     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Paste",kwnames
,&obj0
)) goto fail
; 
11171     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
11172     if (SWIG_arg_fail(1)) SWIG_fail
; 
11174         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11177         wxPyEndAllowThreads(__tstate
); 
11178         if (PyErr_Occurred()) SWIG_fail
; 
11180     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
11187 static PyObject 
*_wrap_TextCtrl_CanCopy(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
11188     PyObject 
*resultobj
; 
11189     wxTextCtrl 
*arg1 
= (wxTextCtrl 
*) 0 ; 
11191     PyObject 
* obj0 
= 0 ; 
11192     char *kwnames
[] = { 
11193         (char *) "self", NULL 
 
11196     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCopy",kwnames
,&obj0
)) goto fail
; 
11197     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
11198     if (SWIG_arg_fail(1)) SWIG_fail
; 
11200         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11201         result 
= (bool)((wxTextCtrl 
const *)arg1
)->CanCopy(); 
11203         wxPyEndAllowThreads(__tstate
); 
11204         if (PyErr_Occurred()) SWIG_fail
; 
11207         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
11215 static PyObject 
*_wrap_TextCtrl_CanCut(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
11216     PyObject 
*resultobj
; 
11217     wxTextCtrl 
*arg1 
= (wxTextCtrl 
*) 0 ; 
11219     PyObject 
* obj0 
= 0 ; 
11220     char *kwnames
[] = { 
11221         (char *) "self", NULL 
 
11224     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCut",kwnames
,&obj0
)) goto fail
; 
11225     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
11226     if (SWIG_arg_fail(1)) SWIG_fail
; 
11228         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11229         result 
= (bool)((wxTextCtrl 
const *)arg1
)->CanCut(); 
11231         wxPyEndAllowThreads(__tstate
); 
11232         if (PyErr_Occurred()) SWIG_fail
; 
11235         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
11243 static PyObject 
*_wrap_TextCtrl_CanPaste(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
11244     PyObject 
*resultobj
; 
11245     wxTextCtrl 
*arg1 
= (wxTextCtrl 
*) 0 ; 
11247     PyObject 
* obj0 
= 0 ; 
11248     char *kwnames
[] = { 
11249         (char *) "self", NULL 
 
11252     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanPaste",kwnames
,&obj0
)) goto fail
; 
11253     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
11254     if (SWIG_arg_fail(1)) SWIG_fail
; 
11256         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11257         result 
= (bool)((wxTextCtrl 
const *)arg1
)->CanPaste(); 
11259         wxPyEndAllowThreads(__tstate
); 
11260         if (PyErr_Occurred()) SWIG_fail
; 
11263         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
11271 static PyObject 
*_wrap_TextCtrl_Undo(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
11272     PyObject 
*resultobj
; 
11273     wxTextCtrl 
*arg1 
= (wxTextCtrl 
*) 0 ; 
11274     PyObject 
* obj0 
= 0 ; 
11275     char *kwnames
[] = { 
11276         (char *) "self", NULL 
 
11279     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Undo",kwnames
,&obj0
)) goto fail
; 
11280     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
11281     if (SWIG_arg_fail(1)) SWIG_fail
; 
11283         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11286         wxPyEndAllowThreads(__tstate
); 
11287         if (PyErr_Occurred()) SWIG_fail
; 
11289     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
11296 static PyObject 
*_wrap_TextCtrl_Redo(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
11297     PyObject 
*resultobj
; 
11298     wxTextCtrl 
*arg1 
= (wxTextCtrl 
*) 0 ; 
11299     PyObject 
* obj0 
= 0 ; 
11300     char *kwnames
[] = { 
11301         (char *) "self", NULL 
 
11304     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Redo",kwnames
,&obj0
)) goto fail
; 
11305     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
11306     if (SWIG_arg_fail(1)) SWIG_fail
; 
11308         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11311         wxPyEndAllowThreads(__tstate
); 
11312         if (PyErr_Occurred()) SWIG_fail
; 
11314     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
11321 static PyObject 
*_wrap_TextCtrl_CanUndo(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
11322     PyObject 
*resultobj
; 
11323     wxTextCtrl 
*arg1 
= (wxTextCtrl 
*) 0 ; 
11325     PyObject 
* obj0 
= 0 ; 
11326     char *kwnames
[] = { 
11327         (char *) "self", NULL 
 
11330     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanUndo",kwnames
,&obj0
)) goto fail
; 
11331     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
11332     if (SWIG_arg_fail(1)) SWIG_fail
; 
11334         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11335         result 
= (bool)((wxTextCtrl 
const *)arg1
)->CanUndo(); 
11337         wxPyEndAllowThreads(__tstate
); 
11338         if (PyErr_Occurred()) SWIG_fail
; 
11341         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
11349 static PyObject 
*_wrap_TextCtrl_CanRedo(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
11350     PyObject 
*resultobj
; 
11351     wxTextCtrl 
*arg1 
= (wxTextCtrl 
*) 0 ; 
11353     PyObject 
* obj0 
= 0 ; 
11354     char *kwnames
[] = { 
11355         (char *) "self", NULL 
 
11358     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanRedo",kwnames
,&obj0
)) goto fail
; 
11359     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
11360     if (SWIG_arg_fail(1)) SWIG_fail
; 
11362         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11363         result 
= (bool)((wxTextCtrl 
const *)arg1
)->CanRedo(); 
11365         wxPyEndAllowThreads(__tstate
); 
11366         if (PyErr_Occurred()) SWIG_fail
; 
11369         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
11377 static PyObject 
*_wrap_TextCtrl_SetInsertionPoint(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
11378     PyObject 
*resultobj
; 
11379     wxTextCtrl 
*arg1 
= (wxTextCtrl 
*) 0 ; 
11381     PyObject 
* obj0 
= 0 ; 
11382     PyObject 
* obj1 
= 0 ; 
11383     char *kwnames
[] = { 
11384         (char *) "self",(char *) "pos", NULL 
 
11387     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) goto fail
; 
11388     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
11389     if (SWIG_arg_fail(1)) SWIG_fail
; 
11391         arg2 
= (long)(SWIG_As_long(obj1
));  
11392         if (SWIG_arg_fail(2)) SWIG_fail
; 
11395         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11396         (arg1
)->SetInsertionPoint(arg2
); 
11398         wxPyEndAllowThreads(__tstate
); 
11399         if (PyErr_Occurred()) SWIG_fail
; 
11401     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
11408 static PyObject 
*_wrap_TextCtrl_SetInsertionPointEnd(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
11409     PyObject 
*resultobj
; 
11410     wxTextCtrl 
*arg1 
= (wxTextCtrl 
*) 0 ; 
11411     PyObject 
* obj0 
= 0 ; 
11412     char *kwnames
[] = { 
11413         (char *) "self", NULL 
 
11416     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
; 
11417     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
11418     if (SWIG_arg_fail(1)) SWIG_fail
; 
11420         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11421         (arg1
)->SetInsertionPointEnd(); 
11423         wxPyEndAllowThreads(__tstate
); 
11424         if (PyErr_Occurred()) SWIG_fail
; 
11426     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
11433 static PyObject 
*_wrap_TextCtrl_GetInsertionPoint(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
11434     PyObject 
*resultobj
; 
11435     wxTextCtrl 
*arg1 
= (wxTextCtrl 
*) 0 ; 
11437     PyObject 
* obj0 
= 0 ; 
11438     char *kwnames
[] = { 
11439         (char *) "self", NULL 
 
11442     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetInsertionPoint",kwnames
,&obj0
)) goto fail
; 
11443     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
11444     if (SWIG_arg_fail(1)) SWIG_fail
; 
11446         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11447         result 
= (long)((wxTextCtrl 
const *)arg1
)->GetInsertionPoint(); 
11449         wxPyEndAllowThreads(__tstate
); 
11450         if (PyErr_Occurred()) SWIG_fail
; 
11453         resultobj 
= SWIG_From_long((long)(result
));  
11461 static PyObject 
*_wrap_TextCtrl_GetLastPosition(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
11462     PyObject 
*resultobj
; 
11463     wxTextCtrl 
*arg1 
= (wxTextCtrl 
*) 0 ; 
11465     PyObject 
* obj0 
= 0 ; 
11466     char *kwnames
[] = { 
11467         (char *) "self", NULL 
 
11470     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetLastPosition",kwnames
,&obj0
)) goto fail
; 
11471     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
11472     if (SWIG_arg_fail(1)) SWIG_fail
; 
11474         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11475         result 
= (long)((wxTextCtrl 
const *)arg1
)->GetLastPosition(); 
11477         wxPyEndAllowThreads(__tstate
); 
11478         if (PyErr_Occurred()) SWIG_fail
; 
11481         resultobj 
= SWIG_From_long((long)(result
));  
11489 static PyObject 
*_wrap_TextCtrl_SetSelection(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
11490     PyObject 
*resultobj
; 
11491     wxTextCtrl 
*arg1 
= (wxTextCtrl 
*) 0 ; 
11494     PyObject 
* obj0 
= 0 ; 
11495     PyObject 
* obj1 
= 0 ; 
11496     PyObject 
* obj2 
= 0 ; 
11497     char *kwnames
[] = { 
11498         (char *) "self",(char *) "from",(char *) "to", NULL 
 
11501     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
11502     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
11503     if (SWIG_arg_fail(1)) SWIG_fail
; 
11505         arg2 
= (long)(SWIG_As_long(obj1
));  
11506         if (SWIG_arg_fail(2)) SWIG_fail
; 
11509         arg3 
= (long)(SWIG_As_long(obj2
));  
11510         if (SWIG_arg_fail(3)) SWIG_fail
; 
11513         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11514         (arg1
)->SetSelection(arg2
,arg3
); 
11516         wxPyEndAllowThreads(__tstate
); 
11517         if (PyErr_Occurred()) SWIG_fail
; 
11519     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
11526 static PyObject 
*_wrap_TextCtrl_SelectAll(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
11527     PyObject 
*resultobj
; 
11528     wxTextCtrl 
*arg1 
= (wxTextCtrl 
*) 0 ; 
11529     PyObject 
* obj0 
= 0 ; 
11530     char *kwnames
[] = { 
11531         (char *) "self", NULL 
 
11534     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SelectAll",kwnames
,&obj0
)) goto fail
; 
11535     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
11536     if (SWIG_arg_fail(1)) SWIG_fail
; 
11538         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11539         (arg1
)->SelectAll(); 
11541         wxPyEndAllowThreads(__tstate
); 
11542         if (PyErr_Occurred()) SWIG_fail
; 
11544     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
11551 static PyObject 
*_wrap_TextCtrl_SetEditable(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
11552     PyObject 
*resultobj
; 
11553     wxTextCtrl 
*arg1 
= (wxTextCtrl 
*) 0 ; 
11555     PyObject 
* obj0 
= 0 ; 
11556     PyObject 
* obj1 
= 0 ; 
11557     char *kwnames
[] = { 
11558         (char *) "self",(char *) "editable", NULL 
 
11561     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
; 
11562     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
11563     if (SWIG_arg_fail(1)) SWIG_fail
; 
11565         arg2 
= (bool)(SWIG_As_bool(obj1
));  
11566         if (SWIG_arg_fail(2)) SWIG_fail
; 
11569         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11570         (arg1
)->SetEditable(arg2
); 
11572         wxPyEndAllowThreads(__tstate
); 
11573         if (PyErr_Occurred()) SWIG_fail
; 
11575     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
11582 static PyObject 
*_wrap_TextCtrl_write(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
11583     PyObject 
*resultobj
; 
11584     wxTextCtrl 
*arg1 
= (wxTextCtrl 
*) 0 ; 
11585     wxString 
*arg2 
= 0 ; 
11586     bool temp2 
= false ; 
11587     PyObject 
* obj0 
= 0 ; 
11588     PyObject 
* obj1 
= 0 ; 
11589     char *kwnames
[] = { 
11590         (char *) "self",(char *) "text", NULL 
 
11593     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_write",kwnames
,&obj0
,&obj1
)) goto fail
; 
11594     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
11595     if (SWIG_arg_fail(1)) SWIG_fail
; 
11597         arg2 
= wxString_in_helper(obj1
); 
11598         if (arg2 
== NULL
) SWIG_fail
; 
11602         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11603         wxTextCtrl_write(arg1
,(wxString 
const &)*arg2
); 
11605         wxPyEndAllowThreads(__tstate
); 
11606         if (PyErr_Occurred()) SWIG_fail
; 
11608     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
11623 static PyObject 
*_wrap_TextCtrl_GetString(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
11624     PyObject 
*resultobj
; 
11625     wxTextCtrl 
*arg1 
= (wxTextCtrl 
*) 0 ; 
11629     PyObject 
* obj0 
= 0 ; 
11630     PyObject 
* obj1 
= 0 ; 
11631     PyObject 
* obj2 
= 0 ; 
11632     char *kwnames
[] = { 
11633         (char *) "self",(char *) "from",(char *) "to", NULL 
 
11636     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
11637     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
11638     if (SWIG_arg_fail(1)) SWIG_fail
; 
11640         arg2 
= (long)(SWIG_As_long(obj1
));  
11641         if (SWIG_arg_fail(2)) SWIG_fail
; 
11644         arg3 
= (long)(SWIG_As_long(obj2
));  
11645         if (SWIG_arg_fail(3)) SWIG_fail
; 
11648         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11649         result 
= wxTextCtrl_GetString(arg1
,arg2
,arg3
); 
11651         wxPyEndAllowThreads(__tstate
); 
11652         if (PyErr_Occurred()) SWIG_fail
; 
11656         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
11658         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
11667 static PyObject 
*_wrap_TextCtrl_GetClassDefaultAttributes(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
11668     PyObject 
*resultobj
; 
11669     wxWindowVariant arg1 
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL 
; 
11670     wxVisualAttributes result
; 
11671     PyObject 
* obj0 
= 0 ; 
11672     char *kwnames
[] = { 
11673         (char *) "variant", NULL 
 
11676     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TextCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
; 
11679             arg1 
= (wxWindowVariant
)(SWIG_As_int(obj0
));  
11680             if (SWIG_arg_fail(1)) SWIG_fail
; 
11684         if (!wxPyCheckForApp()) SWIG_fail
; 
11685         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11686         result 
= wxTextCtrl::GetClassDefaultAttributes((wxWindowVariant 
)arg1
); 
11688         wxPyEndAllowThreads(__tstate
); 
11689         if (PyErr_Occurred()) SWIG_fail
; 
11692         wxVisualAttributes 
* resultptr
; 
11693         resultptr 
= new wxVisualAttributes((wxVisualAttributes 
&)(result
)); 
11694         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1); 
11702 static PyObject 
* TextCtrl_swigregister(PyObject 
*, PyObject 
*args
) { 
11704     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
11705     SWIG_TypeClientData(SWIGTYPE_p_wxTextCtrl
, obj
); 
11707     return Py_BuildValue((char *)""); 
11709 static PyObject 
*_wrap_new_TextUrlEvent(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
11710     PyObject 
*resultobj
; 
11712     wxMouseEvent 
*arg2 
= 0 ; 
11715     wxTextUrlEvent 
*result
; 
11716     PyObject 
* obj0 
= 0 ; 
11717     PyObject 
* obj1 
= 0 ; 
11718     PyObject 
* obj2 
= 0 ; 
11719     PyObject 
* obj3 
= 0 ; 
11720     char *kwnames
[] = { 
11721         (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL 
 
11724     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_TextUrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
11726         arg1 
= (int)(SWIG_As_int(obj0
));  
11727         if (SWIG_arg_fail(1)) SWIG_fail
; 
11730         SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
11731         if (SWIG_arg_fail(2)) SWIG_fail
; 
11732         if (arg2 
== NULL
) { 
11733             SWIG_null_ref("wxMouseEvent"); 
11735         if (SWIG_arg_fail(2)) SWIG_fail
; 
11738         arg3 
= (long)(SWIG_As_long(obj2
));  
11739         if (SWIG_arg_fail(3)) SWIG_fail
; 
11742         arg4 
= (long)(SWIG_As_long(obj3
));  
11743         if (SWIG_arg_fail(4)) SWIG_fail
; 
11746         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11747         result 
= (wxTextUrlEvent 
*)new wxTextUrlEvent(arg1
,(wxMouseEvent 
const &)*arg2
,arg3
,arg4
); 
11749         wxPyEndAllowThreads(__tstate
); 
11750         if (PyErr_Occurred()) SWIG_fail
; 
11752     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextUrlEvent
, 1); 
11759 static PyObject 
*_wrap_TextUrlEvent_GetMouseEvent(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
11760     PyObject 
*resultobj
; 
11761     wxTextUrlEvent 
*arg1 
= (wxTextUrlEvent 
*) 0 ; 
11762     wxMouseEvent 
*result
; 
11763     PyObject 
* obj0 
= 0 ; 
11764     char *kwnames
[] = { 
11765         (char *) "self", NULL 
 
11768     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetMouseEvent",kwnames
,&obj0
)) goto fail
; 
11769     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextUrlEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
11770     if (SWIG_arg_fail(1)) SWIG_fail
; 
11772         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11774             wxMouseEvent 
const &_result_ref 
= (arg1
)->GetMouseEvent(); 
11775             result 
= (wxMouseEvent 
*) &_result_ref
; 
11778         wxPyEndAllowThreads(__tstate
); 
11779         if (PyErr_Occurred()) SWIG_fail
; 
11781     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMouseEvent
, 0); 
11788 static PyObject 
*_wrap_TextUrlEvent_GetURLStart(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
11789     PyObject 
*resultobj
; 
11790     wxTextUrlEvent 
*arg1 
= (wxTextUrlEvent 
*) 0 ; 
11792     PyObject 
* obj0 
= 0 ; 
11793     char *kwnames
[] = { 
11794         (char *) "self", NULL 
 
11797     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLStart",kwnames
,&obj0
)) goto fail
; 
11798     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextUrlEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
11799     if (SWIG_arg_fail(1)) SWIG_fail
; 
11801         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11802         result 
= (long)((wxTextUrlEvent 
const *)arg1
)->GetURLStart(); 
11804         wxPyEndAllowThreads(__tstate
); 
11805         if (PyErr_Occurred()) SWIG_fail
; 
11808         resultobj 
= SWIG_From_long((long)(result
));  
11816 static PyObject 
*_wrap_TextUrlEvent_GetURLEnd(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
11817     PyObject 
*resultobj
; 
11818     wxTextUrlEvent 
*arg1 
= (wxTextUrlEvent 
*) 0 ; 
11820     PyObject 
* obj0 
= 0 ; 
11821     char *kwnames
[] = { 
11822         (char *) "self", NULL 
 
11825     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLEnd",kwnames
,&obj0
)) goto fail
; 
11826     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextUrlEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
11827     if (SWIG_arg_fail(1)) SWIG_fail
; 
11829         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11830         result 
= (long)((wxTextUrlEvent 
const *)arg1
)->GetURLEnd(); 
11832         wxPyEndAllowThreads(__tstate
); 
11833         if (PyErr_Occurred()) SWIG_fail
; 
11836         resultobj 
= SWIG_From_long((long)(result
));  
11844 static PyObject 
* TextUrlEvent_swigregister(PyObject 
*, PyObject 
*args
) { 
11846     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
11847     SWIG_TypeClientData(SWIGTYPE_p_wxTextUrlEvent
, obj
); 
11849     return Py_BuildValue((char *)""); 
11851 static int _wrap_ScrollBarNameStr_set(PyObject 
*) { 
11852     PyErr_SetString(PyExc_TypeError
,"Variable ScrollBarNameStr is read-only."); 
11857 static PyObject 
*_wrap_ScrollBarNameStr_get(void) { 
11862         pyobj 
= PyUnicode_FromWideChar((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len()); 
11864         pyobj 
= PyString_FromStringAndSize((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len()); 
11871 static PyObject 
*_wrap_new_ScrollBar(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
11872     PyObject 
*resultobj
; 
11873     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
11874     int arg2 
= (int) -1 ; 
11875     wxPoint 
const &arg3_defvalue 
= wxDefaultPosition 
; 
11876     wxPoint 
*arg3 
= (wxPoint 
*) &arg3_defvalue 
; 
11877     wxSize 
const &arg4_defvalue 
= wxDefaultSize 
; 
11878     wxSize 
*arg4 
= (wxSize 
*) &arg4_defvalue 
; 
11879     long arg5 
= (long) wxSB_HORIZONTAL 
; 
11880     wxValidator 
const &arg6_defvalue 
= wxDefaultValidator 
; 
11881     wxValidator 
*arg6 
= (wxValidator 
*) &arg6_defvalue 
; 
11882     wxString 
const &arg7_defvalue 
= wxPyScrollBarNameStr 
; 
11883     wxString 
*arg7 
= (wxString 
*) &arg7_defvalue 
; 
11884     wxScrollBar 
*result
; 
11887     bool temp7 
= false ; 
11888     PyObject 
* obj0 
= 0 ; 
11889     PyObject 
* obj1 
= 0 ; 
11890     PyObject 
* obj2 
= 0 ; 
11891     PyObject 
* obj3 
= 0 ; 
11892     PyObject 
* obj4 
= 0 ; 
11893     PyObject 
* obj5 
= 0 ; 
11894     PyObject 
* obj6 
= 0 ; 
11895     char *kwnames
[] = { 
11896         (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL 
 
11899     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ScrollBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
; 
11900     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
11901     if (SWIG_arg_fail(1)) SWIG_fail
; 
11904             arg2 
= (int)(SWIG_As_int(obj1
));  
11905             if (SWIG_arg_fail(2)) SWIG_fail
; 
11911             if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
; 
11917             if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
; 
11922             arg5 
= (long)(SWIG_As_long(obj4
));  
11923             if (SWIG_arg_fail(5)) SWIG_fail
; 
11928             SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION 
| 0); 
11929             if (SWIG_arg_fail(6)) SWIG_fail
; 
11930             if (arg6 
== NULL
) { 
11931                 SWIG_null_ref("wxValidator"); 
11933             if (SWIG_arg_fail(6)) SWIG_fail
; 
11938             arg7 
= wxString_in_helper(obj6
); 
11939             if (arg7 
== NULL
) SWIG_fail
; 
11944         if (!wxPyCheckForApp()) SWIG_fail
; 
11945         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11946         result 
= (wxScrollBar 
*)new wxScrollBar(arg1
,arg2
,(wxPoint 
const &)*arg3
,(wxSize 
const &)*arg4
,arg5
,(wxValidator 
const &)*arg6
,(wxString 
const &)*arg7
); 
11948         wxPyEndAllowThreads(__tstate
); 
11949         if (PyErr_Occurred()) SWIG_fail
; 
11951     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollBar
, 1); 
11966 static PyObject 
*_wrap_new_PreScrollBar(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
11967     PyObject 
*resultobj
; 
11968     wxScrollBar 
*result
; 
11969     char *kwnames
[] = { 
11973     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreScrollBar",kwnames
)) goto fail
; 
11975         if (!wxPyCheckForApp()) SWIG_fail
; 
11976         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11977         result 
= (wxScrollBar 
*)new wxScrollBar(); 
11979         wxPyEndAllowThreads(__tstate
); 
11980         if (PyErr_Occurred()) SWIG_fail
; 
11982     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollBar
, 1); 
11989 static PyObject 
*_wrap_ScrollBar_Create(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
11990     PyObject 
*resultobj
; 
11991     wxScrollBar 
*arg1 
= (wxScrollBar 
*) 0 ; 
11992     wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
11993     int arg3 
= (int) -1 ; 
11994     wxPoint 
const &arg4_defvalue 
= wxDefaultPosition 
; 
11995     wxPoint 
*arg4 
= (wxPoint 
*) &arg4_defvalue 
; 
11996     wxSize 
const &arg5_defvalue 
= wxDefaultSize 
; 
11997     wxSize 
*arg5 
= (wxSize 
*) &arg5_defvalue 
; 
11998     long arg6 
= (long) wxSB_HORIZONTAL 
; 
11999     wxValidator 
const &arg7_defvalue 
= wxDefaultValidator 
; 
12000     wxValidator 
*arg7 
= (wxValidator 
*) &arg7_defvalue 
; 
12001     wxString 
const &arg8_defvalue 
= wxPyScrollBarNameStr 
; 
12002     wxString 
*arg8 
= (wxString 
*) &arg8_defvalue 
; 
12006     bool temp8 
= false ; 
12007     PyObject 
* obj0 
= 0 ; 
12008     PyObject 
* obj1 
= 0 ; 
12009     PyObject 
* obj2 
= 0 ; 
12010     PyObject 
* obj3 
= 0 ; 
12011     PyObject 
* obj4 
= 0 ; 
12012     PyObject 
* obj5 
= 0 ; 
12013     PyObject 
* obj6 
= 0 ; 
12014     PyObject 
* obj7 
= 0 ; 
12015     char *kwnames
[] = { 
12016         (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL 
 
12019     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
; 
12020     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION 
| 0); 
12021     if (SWIG_arg_fail(1)) SWIG_fail
; 
12022     SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
12023     if (SWIG_arg_fail(2)) SWIG_fail
; 
12026             arg3 
= (int)(SWIG_As_int(obj2
));  
12027             if (SWIG_arg_fail(3)) SWIG_fail
; 
12033             if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
; 
12039             if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
; 
12044             arg6 
= (long)(SWIG_As_long(obj5
));  
12045             if (SWIG_arg_fail(6)) SWIG_fail
; 
12050             SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION 
| 0); 
12051             if (SWIG_arg_fail(7)) SWIG_fail
; 
12052             if (arg7 
== NULL
) { 
12053                 SWIG_null_ref("wxValidator"); 
12055             if (SWIG_arg_fail(7)) SWIG_fail
; 
12060             arg8 
= wxString_in_helper(obj7
); 
12061             if (arg8 
== NULL
) SWIG_fail
; 
12066         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12067         result 
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint 
const &)*arg4
,(wxSize 
const &)*arg5
,arg6
,(wxValidator 
const &)*arg7
,(wxString 
const &)*arg8
); 
12069         wxPyEndAllowThreads(__tstate
); 
12070         if (PyErr_Occurred()) SWIG_fail
; 
12073         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
12089 static PyObject 
*_wrap_ScrollBar_GetThumbPosition(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
12090     PyObject 
*resultobj
; 
12091     wxScrollBar 
*arg1 
= (wxScrollBar 
*) 0 ; 
12093     PyObject 
* obj0 
= 0 ; 
12094     char *kwnames
[] = { 
12095         (char *) "self", NULL 
 
12098     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbPosition",kwnames
,&obj0
)) goto fail
; 
12099     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION 
| 0); 
12100     if (SWIG_arg_fail(1)) SWIG_fail
; 
12102         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12103         result 
= (int)((wxScrollBar 
const *)arg1
)->GetThumbPosition(); 
12105         wxPyEndAllowThreads(__tstate
); 
12106         if (PyErr_Occurred()) SWIG_fail
; 
12109         resultobj 
= SWIG_From_int((int)(result
));  
12117 static PyObject 
*_wrap_ScrollBar_GetThumbSize(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
12118     PyObject 
*resultobj
; 
12119     wxScrollBar 
*arg1 
= (wxScrollBar 
*) 0 ; 
12121     PyObject 
* obj0 
= 0 ; 
12122     char *kwnames
[] = { 
12123         (char *) "self", NULL 
 
12126     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbSize",kwnames
,&obj0
)) goto fail
; 
12127     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION 
| 0); 
12128     if (SWIG_arg_fail(1)) SWIG_fail
; 
12130         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12131         result 
= (int)((wxScrollBar 
const *)arg1
)->GetThumbSize(); 
12133         wxPyEndAllowThreads(__tstate
); 
12134         if (PyErr_Occurred()) SWIG_fail
; 
12137         resultobj 
= SWIG_From_int((int)(result
));  
12145 static PyObject 
*_wrap_ScrollBar_GetPageSize(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
12146     PyObject 
*resultobj
; 
12147     wxScrollBar 
*arg1 
= (wxScrollBar 
*) 0 ; 
12149     PyObject 
* obj0 
= 0 ; 
12150     char *kwnames
[] = { 
12151         (char *) "self", NULL 
 
12154     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetPageSize",kwnames
,&obj0
)) goto fail
; 
12155     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION 
| 0); 
12156     if (SWIG_arg_fail(1)) SWIG_fail
; 
12158         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12159         result 
= (int)((wxScrollBar 
const *)arg1
)->GetPageSize(); 
12161         wxPyEndAllowThreads(__tstate
); 
12162         if (PyErr_Occurred()) SWIG_fail
; 
12165         resultobj 
= SWIG_From_int((int)(result
));  
12173 static PyObject 
*_wrap_ScrollBar_GetRange(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
12174     PyObject 
*resultobj
; 
12175     wxScrollBar 
*arg1 
= (wxScrollBar 
*) 0 ; 
12177     PyObject 
* obj0 
= 0 ; 
12178     char *kwnames
[] = { 
12179         (char *) "self", NULL 
 
12182     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetRange",kwnames
,&obj0
)) goto fail
; 
12183     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION 
| 0); 
12184     if (SWIG_arg_fail(1)) SWIG_fail
; 
12186         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12187         result 
= (int)((wxScrollBar 
const *)arg1
)->GetRange(); 
12189         wxPyEndAllowThreads(__tstate
); 
12190         if (PyErr_Occurred()) SWIG_fail
; 
12193         resultobj 
= SWIG_From_int((int)(result
));  
12201 static PyObject 
*_wrap_ScrollBar_IsVertical(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
12202     PyObject 
*resultobj
; 
12203     wxScrollBar 
*arg1 
= (wxScrollBar 
*) 0 ; 
12205     PyObject 
* obj0 
= 0 ; 
12206     char *kwnames
[] = { 
12207         (char *) "self", NULL 
 
12210     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_IsVertical",kwnames
,&obj0
)) goto fail
; 
12211     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION 
| 0); 
12212     if (SWIG_arg_fail(1)) SWIG_fail
; 
12214         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12215         result 
= (bool)((wxScrollBar 
const *)arg1
)->IsVertical(); 
12217         wxPyEndAllowThreads(__tstate
); 
12218         if (PyErr_Occurred()) SWIG_fail
; 
12221         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
12229 static PyObject 
*_wrap_ScrollBar_SetThumbPosition(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
12230     PyObject 
*resultobj
; 
12231     wxScrollBar 
*arg1 
= (wxScrollBar 
*) 0 ; 
12233     PyObject 
* obj0 
= 0 ; 
12234     PyObject 
* obj1 
= 0 ; 
12235     char *kwnames
[] = { 
12236         (char *) "self",(char *) "viewStart", NULL 
 
12239     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollBar_SetThumbPosition",kwnames
,&obj0
,&obj1
)) goto fail
; 
12240     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION 
| 0); 
12241     if (SWIG_arg_fail(1)) SWIG_fail
; 
12243         arg2 
= (int)(SWIG_As_int(obj1
));  
12244         if (SWIG_arg_fail(2)) SWIG_fail
; 
12247         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12248         (arg1
)->SetThumbPosition(arg2
); 
12250         wxPyEndAllowThreads(__tstate
); 
12251         if (PyErr_Occurred()) SWIG_fail
; 
12253     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
12260 static PyObject 
*_wrap_ScrollBar_SetScrollbar(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
12261     PyObject 
*resultobj
; 
12262     wxScrollBar 
*arg1 
= (wxScrollBar 
*) 0 ; 
12267     bool arg6 
= (bool) true ; 
12268     PyObject 
* obj0 
= 0 ; 
12269     PyObject 
* obj1 
= 0 ; 
12270     PyObject 
* obj2 
= 0 ; 
12271     PyObject 
* obj3 
= 0 ; 
12272     PyObject 
* obj4 
= 0 ; 
12273     PyObject 
* obj5 
= 0 ; 
12274     char *kwnames
[] = { 
12275         (char *) "self",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "pageSize",(char *) "refresh", NULL 
 
12278     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:ScrollBar_SetScrollbar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
; 
12279     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION 
| 0); 
12280     if (SWIG_arg_fail(1)) SWIG_fail
; 
12282         arg2 
= (int)(SWIG_As_int(obj1
));  
12283         if (SWIG_arg_fail(2)) SWIG_fail
; 
12286         arg3 
= (int)(SWIG_As_int(obj2
));  
12287         if (SWIG_arg_fail(3)) SWIG_fail
; 
12290         arg4 
= (int)(SWIG_As_int(obj3
));  
12291         if (SWIG_arg_fail(4)) SWIG_fail
; 
12294         arg5 
= (int)(SWIG_As_int(obj4
));  
12295         if (SWIG_arg_fail(5)) SWIG_fail
; 
12299             arg6 
= (bool)(SWIG_As_bool(obj5
));  
12300             if (SWIG_arg_fail(6)) SWIG_fail
; 
12304         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12305         (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
); 
12307         wxPyEndAllowThreads(__tstate
); 
12308         if (PyErr_Occurred()) SWIG_fail
; 
12310     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
12317 static PyObject 
*_wrap_ScrollBar_GetClassDefaultAttributes(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
12318     PyObject 
*resultobj
; 
12319     wxWindowVariant arg1 
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL 
; 
12320     wxVisualAttributes result
; 
12321     PyObject 
* obj0 
= 0 ; 
12322     char *kwnames
[] = { 
12323         (char *) "variant", NULL 
 
12326     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrollBar_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
; 
12329             arg1 
= (wxWindowVariant
)(SWIG_As_int(obj0
));  
12330             if (SWIG_arg_fail(1)) SWIG_fail
; 
12334         if (!wxPyCheckForApp()) SWIG_fail
; 
12335         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12336         result 
= wxScrollBar::GetClassDefaultAttributes((wxWindowVariant 
)arg1
); 
12338         wxPyEndAllowThreads(__tstate
); 
12339         if (PyErr_Occurred()) SWIG_fail
; 
12342         wxVisualAttributes 
* resultptr
; 
12343         resultptr 
= new wxVisualAttributes((wxVisualAttributes 
&)(result
)); 
12344         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1); 
12352 static PyObject 
* ScrollBar_swigregister(PyObject 
*, PyObject 
*args
) { 
12354     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
12355     SWIG_TypeClientData(SWIGTYPE_p_wxScrollBar
, obj
); 
12357     return Py_BuildValue((char *)""); 
12359 static int _wrap_SPIN_BUTTON_NAME_set(PyObject 
*) { 
12360     PyErr_SetString(PyExc_TypeError
,"Variable SPIN_BUTTON_NAME is read-only."); 
12365 static PyObject 
*_wrap_SPIN_BUTTON_NAME_get(void) { 
12370         pyobj 
= PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len()); 
12372         pyobj 
= PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len()); 
12379 static int _wrap_SpinCtrlNameStr_set(PyObject 
*) { 
12380     PyErr_SetString(PyExc_TypeError
,"Variable SpinCtrlNameStr is read-only."); 
12385 static PyObject 
*_wrap_SpinCtrlNameStr_get(void) { 
12390         pyobj 
= PyUnicode_FromWideChar((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len()); 
12392         pyobj 
= PyString_FromStringAndSize((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len()); 
12399 static PyObject 
*_wrap_new_SpinButton(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
12400     PyObject 
*resultobj
; 
12401     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
12402     int arg2 
= (int) -1 ; 
12403     wxPoint 
const &arg3_defvalue 
= wxDefaultPosition 
; 
12404     wxPoint 
*arg3 
= (wxPoint 
*) &arg3_defvalue 
; 
12405     wxSize 
const &arg4_defvalue 
= wxDefaultSize 
; 
12406     wxSize 
*arg4 
= (wxSize 
*) &arg4_defvalue 
; 
12407     long arg5 
= (long) wxSP_HORIZONTAL 
; 
12408     wxString 
const &arg6_defvalue 
= wxPySPIN_BUTTON_NAME 
; 
12409     wxString 
*arg6 
= (wxString 
*) &arg6_defvalue 
; 
12410     wxSpinButton 
*result
; 
12413     bool temp6 
= false ; 
12414     PyObject 
* obj0 
= 0 ; 
12415     PyObject 
* obj1 
= 0 ; 
12416     PyObject 
* obj2 
= 0 ; 
12417     PyObject 
* obj3 
= 0 ; 
12418     PyObject 
* obj4 
= 0 ; 
12419     PyObject 
* obj5 
= 0 ; 
12420     char *kwnames
[] = { 
12421         (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL 
 
12424     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SpinButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
; 
12425     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
12426     if (SWIG_arg_fail(1)) SWIG_fail
; 
12429             arg2 
= (int)(SWIG_As_int(obj1
));  
12430             if (SWIG_arg_fail(2)) SWIG_fail
; 
12436             if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
; 
12442             if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
; 
12447             arg5 
= (long)(SWIG_As_long(obj4
));  
12448             if (SWIG_arg_fail(5)) SWIG_fail
; 
12453             arg6 
= wxString_in_helper(obj5
); 
12454             if (arg6 
== NULL
) SWIG_fail
; 
12459         if (!wxPyCheckForApp()) SWIG_fail
; 
12460         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12461         result 
= (wxSpinButton 
*)new wxSpinButton(arg1
,arg2
,(wxPoint 
const &)*arg3
,(wxSize 
const &)*arg4
,arg5
,(wxString 
const &)*arg6
); 
12463         wxPyEndAllowThreads(__tstate
); 
12464         if (PyErr_Occurred()) SWIG_fail
; 
12466     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinButton
, 1); 
12481 static PyObject 
*_wrap_new_PreSpinButton(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
12482     PyObject 
*resultobj
; 
12483     wxSpinButton 
*result
; 
12484     char *kwnames
[] = { 
12488     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinButton",kwnames
)) goto fail
; 
12490         if (!wxPyCheckForApp()) SWIG_fail
; 
12491         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12492         result 
= (wxSpinButton 
*)new wxSpinButton(); 
12494         wxPyEndAllowThreads(__tstate
); 
12495         if (PyErr_Occurred()) SWIG_fail
; 
12497     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinButton
, 1); 
12504 static PyObject 
*_wrap_SpinButton_Create(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
12505     PyObject 
*resultobj
; 
12506     wxSpinButton 
*arg1 
= (wxSpinButton 
*) 0 ; 
12507     wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
12508     int arg3 
= (int) -1 ; 
12509     wxPoint 
const &arg4_defvalue 
= wxDefaultPosition 
; 
12510     wxPoint 
*arg4 
= (wxPoint 
*) &arg4_defvalue 
; 
12511     wxSize 
const &arg5_defvalue 
= wxDefaultSize 
; 
12512     wxSize 
*arg5 
= (wxSize 
*) &arg5_defvalue 
; 
12513     long arg6 
= (long) wxSP_HORIZONTAL 
; 
12514     wxString 
const &arg7_defvalue 
= wxPySPIN_BUTTON_NAME 
; 
12515     wxString 
*arg7 
= (wxString 
*) &arg7_defvalue 
; 
12519     bool temp7 
= false ; 
12520     PyObject 
* obj0 
= 0 ; 
12521     PyObject 
* obj1 
= 0 ; 
12522     PyObject 
* obj2 
= 0 ; 
12523     PyObject 
* obj3 
= 0 ; 
12524     PyObject 
* obj4 
= 0 ; 
12525     PyObject 
* obj5 
= 0 ; 
12526     PyObject 
* obj6 
= 0 ; 
12527     char *kwnames
[] = { 
12528         (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL 
 
12531     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SpinButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
; 
12532     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION 
| 0); 
12533     if (SWIG_arg_fail(1)) SWIG_fail
; 
12534     SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
12535     if (SWIG_arg_fail(2)) SWIG_fail
; 
12538             arg3 
= (int)(SWIG_As_int(obj2
));  
12539             if (SWIG_arg_fail(3)) SWIG_fail
; 
12545             if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
; 
12551             if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
; 
12556             arg6 
= (long)(SWIG_As_long(obj5
));  
12557             if (SWIG_arg_fail(6)) SWIG_fail
; 
12562             arg7 
= wxString_in_helper(obj6
); 
12563             if (arg7 
== NULL
) SWIG_fail
; 
12568         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12569         result 
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint 
const &)*arg4
,(wxSize 
const &)*arg5
,arg6
,(wxString 
const &)*arg7
); 
12571         wxPyEndAllowThreads(__tstate
); 
12572         if (PyErr_Occurred()) SWIG_fail
; 
12575         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
12591 static PyObject 
*_wrap_SpinButton_GetValue(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
12592     PyObject 
*resultobj
; 
12593     wxSpinButton 
*arg1 
= (wxSpinButton 
*) 0 ; 
12595     PyObject 
* obj0 
= 0 ; 
12596     char *kwnames
[] = { 
12597         (char *) "self", NULL 
 
12600     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetValue",kwnames
,&obj0
)) goto fail
; 
12601     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION 
| 0); 
12602     if (SWIG_arg_fail(1)) SWIG_fail
; 
12604         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12605         result 
= (int)((wxSpinButton 
const *)arg1
)->GetValue(); 
12607         wxPyEndAllowThreads(__tstate
); 
12608         if (PyErr_Occurred()) SWIG_fail
; 
12611         resultobj 
= SWIG_From_int((int)(result
));  
12619 static PyObject 
*_wrap_SpinButton_GetMin(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
12620     PyObject 
*resultobj
; 
12621     wxSpinButton 
*arg1 
= (wxSpinButton 
*) 0 ; 
12623     PyObject 
* obj0 
= 0 ; 
12624     char *kwnames
[] = { 
12625         (char *) "self", NULL 
 
12628     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMin",kwnames
,&obj0
)) goto fail
; 
12629     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION 
| 0); 
12630     if (SWIG_arg_fail(1)) SWIG_fail
; 
12632         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12633         result 
= (int)((wxSpinButton 
const *)arg1
)->GetMin(); 
12635         wxPyEndAllowThreads(__tstate
); 
12636         if (PyErr_Occurred()) SWIG_fail
; 
12639         resultobj 
= SWIG_From_int((int)(result
));  
12647 static PyObject 
*_wrap_SpinButton_GetMax(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
12648     PyObject 
*resultobj
; 
12649     wxSpinButton 
*arg1 
= (wxSpinButton 
*) 0 ; 
12651     PyObject 
* obj0 
= 0 ; 
12652     char *kwnames
[] = { 
12653         (char *) "self", NULL 
 
12656     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMax",kwnames
,&obj0
)) goto fail
; 
12657     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION 
| 0); 
12658     if (SWIG_arg_fail(1)) SWIG_fail
; 
12660         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12661         result 
= (int)((wxSpinButton 
const *)arg1
)->GetMax(); 
12663         wxPyEndAllowThreads(__tstate
); 
12664         if (PyErr_Occurred()) SWIG_fail
; 
12667         resultobj 
= SWIG_From_int((int)(result
));  
12675 static PyObject 
*_wrap_SpinButton_SetValue(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
12676     PyObject 
*resultobj
; 
12677     wxSpinButton 
*arg1 
= (wxSpinButton 
*) 0 ; 
12679     PyObject 
* obj0 
= 0 ; 
12680     PyObject 
* obj1 
= 0 ; 
12681     char *kwnames
[] = { 
12682         (char *) "self",(char *) "val", NULL 
 
12685     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
; 
12686     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION 
| 0); 
12687     if (SWIG_arg_fail(1)) SWIG_fail
; 
12689         arg2 
= (int)(SWIG_As_int(obj1
));  
12690         if (SWIG_arg_fail(2)) SWIG_fail
; 
12693         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12694         (arg1
)->SetValue(arg2
); 
12696         wxPyEndAllowThreads(__tstate
); 
12697         if (PyErr_Occurred()) SWIG_fail
; 
12699     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
12706 static PyObject 
*_wrap_SpinButton_SetMin(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
12707     PyObject 
*resultobj
; 
12708     wxSpinButton 
*arg1 
= (wxSpinButton 
*) 0 ; 
12710     PyObject 
* obj0 
= 0 ; 
12711     PyObject 
* obj1 
= 0 ; 
12712     char *kwnames
[] = { 
12713         (char *) "self",(char *) "minVal", NULL 
 
12716     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMin",kwnames
,&obj0
,&obj1
)) goto fail
; 
12717     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION 
| 0); 
12718     if (SWIG_arg_fail(1)) SWIG_fail
; 
12720         arg2 
= (int)(SWIG_As_int(obj1
));  
12721         if (SWIG_arg_fail(2)) SWIG_fail
; 
12724         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12725         (arg1
)->SetMin(arg2
); 
12727         wxPyEndAllowThreads(__tstate
); 
12728         if (PyErr_Occurred()) SWIG_fail
; 
12730     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
12737 static PyObject 
*_wrap_SpinButton_SetMax(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
12738     PyObject 
*resultobj
; 
12739     wxSpinButton 
*arg1 
= (wxSpinButton 
*) 0 ; 
12741     PyObject 
* obj0 
= 0 ; 
12742     PyObject 
* obj1 
= 0 ; 
12743     char *kwnames
[] = { 
12744         (char *) "self",(char *) "maxVal", NULL 
 
12747     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMax",kwnames
,&obj0
,&obj1
)) goto fail
; 
12748     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION 
| 0); 
12749     if (SWIG_arg_fail(1)) SWIG_fail
; 
12751         arg2 
= (int)(SWIG_As_int(obj1
));  
12752         if (SWIG_arg_fail(2)) SWIG_fail
; 
12755         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12756         (arg1
)->SetMax(arg2
); 
12758         wxPyEndAllowThreads(__tstate
); 
12759         if (PyErr_Occurred()) SWIG_fail
; 
12761     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
12768 static PyObject 
*_wrap_SpinButton_SetRange(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
12769     PyObject 
*resultobj
; 
12770     wxSpinButton 
*arg1 
= (wxSpinButton 
*) 0 ; 
12773     PyObject 
* obj0 
= 0 ; 
12774     PyObject 
* obj1 
= 0 ; 
12775     PyObject 
* obj2 
= 0 ; 
12776     char *kwnames
[] = { 
12777         (char *) "self",(char *) "minVal",(char *) "maxVal", NULL 
 
12780     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinButton_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
12781     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION 
| 0); 
12782     if (SWIG_arg_fail(1)) SWIG_fail
; 
12784         arg2 
= (int)(SWIG_As_int(obj1
));  
12785         if (SWIG_arg_fail(2)) SWIG_fail
; 
12788         arg3 
= (int)(SWIG_As_int(obj2
));  
12789         if (SWIG_arg_fail(3)) SWIG_fail
; 
12792         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12793         (arg1
)->SetRange(arg2
,arg3
); 
12795         wxPyEndAllowThreads(__tstate
); 
12796         if (PyErr_Occurred()) SWIG_fail
; 
12798     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
12805 static PyObject 
*_wrap_SpinButton_IsVertical(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
12806     PyObject 
*resultobj
; 
12807     wxSpinButton 
*arg1 
= (wxSpinButton 
*) 0 ; 
12809     PyObject 
* obj0 
= 0 ; 
12810     char *kwnames
[] = { 
12811         (char *) "self", NULL 
 
12814     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_IsVertical",kwnames
,&obj0
)) goto fail
; 
12815     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION 
| 0); 
12816     if (SWIG_arg_fail(1)) SWIG_fail
; 
12818         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12819         result 
= (bool)((wxSpinButton 
const *)arg1
)->IsVertical(); 
12821         wxPyEndAllowThreads(__tstate
); 
12822         if (PyErr_Occurred()) SWIG_fail
; 
12825         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
12833 static PyObject 
*_wrap_SpinButton_GetClassDefaultAttributes(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
12834     PyObject 
*resultobj
; 
12835     wxWindowVariant arg1 
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL 
; 
12836     wxVisualAttributes result
; 
12837     PyObject 
* obj0 
= 0 ; 
12838     char *kwnames
[] = { 
12839         (char *) "variant", NULL 
 
12842     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinButton_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
; 
12845             arg1 
= (wxWindowVariant
)(SWIG_As_int(obj0
));  
12846             if (SWIG_arg_fail(1)) SWIG_fail
; 
12850         if (!wxPyCheckForApp()) SWIG_fail
; 
12851         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12852         result 
= wxSpinButton::GetClassDefaultAttributes((wxWindowVariant 
)arg1
); 
12854         wxPyEndAllowThreads(__tstate
); 
12855         if (PyErr_Occurred()) SWIG_fail
; 
12858         wxVisualAttributes 
* resultptr
; 
12859         resultptr 
= new wxVisualAttributes((wxVisualAttributes 
&)(result
)); 
12860         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1); 
12868 static PyObject 
* SpinButton_swigregister(PyObject 
*, PyObject 
*args
) { 
12870     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
12871     SWIG_TypeClientData(SWIGTYPE_p_wxSpinButton
, obj
); 
12873     return Py_BuildValue((char *)""); 
12875 static PyObject 
*_wrap_new_SpinCtrl(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
12876     PyObject 
*resultobj
; 
12877     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
12878     int arg2 
= (int) -1 ; 
12879     wxString 
const &arg3_defvalue 
= wxPyEmptyString 
; 
12880     wxString 
*arg3 
= (wxString 
*) &arg3_defvalue 
; 
12881     wxPoint 
const &arg4_defvalue 
= wxDefaultPosition 
; 
12882     wxPoint 
*arg4 
= (wxPoint 
*) &arg4_defvalue 
; 
12883     wxSize 
const &arg5_defvalue 
= wxDefaultSize 
; 
12884     wxSize 
*arg5 
= (wxSize 
*) &arg5_defvalue 
; 
12885     long arg6 
= (long) wxSP_ARROW_KEYS 
; 
12886     int arg7 
= (int) 0 ; 
12887     int arg8 
= (int) 100 ; 
12888     int arg9 
= (int) 0 ; 
12889     wxString 
const &arg10_defvalue 
= wxPySpinCtrlNameStr 
; 
12890     wxString 
*arg10 
= (wxString 
*) &arg10_defvalue 
; 
12891     wxSpinCtrl 
*result
; 
12892     bool temp3 
= false ; 
12895     bool temp10 
= false ; 
12896     PyObject 
* obj0 
= 0 ; 
12897     PyObject 
* obj1 
= 0 ; 
12898     PyObject 
* obj2 
= 0 ; 
12899     PyObject 
* obj3 
= 0 ; 
12900     PyObject 
* obj4 
= 0 ; 
12901     PyObject 
* obj5 
= 0 ; 
12902     PyObject 
* obj6 
= 0 ; 
12903     PyObject 
* obj7 
= 0 ; 
12904     PyObject 
* obj8 
= 0 ; 
12905     PyObject 
* obj9 
= 0 ; 
12906     char *kwnames
[] = { 
12907         (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL 
 
12910     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
; 
12911     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
12912     if (SWIG_arg_fail(1)) SWIG_fail
; 
12915             arg2 
= (int)(SWIG_As_int(obj1
));  
12916             if (SWIG_arg_fail(2)) SWIG_fail
; 
12921             arg3 
= wxString_in_helper(obj2
); 
12922             if (arg3 
== NULL
) SWIG_fail
; 
12929             if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
; 
12935             if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
; 
12940             arg6 
= (long)(SWIG_As_long(obj5
));  
12941             if (SWIG_arg_fail(6)) SWIG_fail
; 
12946             arg7 
= (int)(SWIG_As_int(obj6
));  
12947             if (SWIG_arg_fail(7)) SWIG_fail
; 
12952             arg8 
= (int)(SWIG_As_int(obj7
));  
12953             if (SWIG_arg_fail(8)) SWIG_fail
; 
12958             arg9 
= (int)(SWIG_As_int(obj8
));  
12959             if (SWIG_arg_fail(9)) SWIG_fail
; 
12964             arg10 
= wxString_in_helper(obj9
); 
12965             if (arg10 
== NULL
) SWIG_fail
; 
12970         if (!wxPyCheckForApp()) SWIG_fail
; 
12971         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12972         result 
= (wxSpinCtrl 
*)new wxSpinCtrl(arg1
,arg2
,(wxString 
const &)*arg3
,(wxPoint 
const &)*arg4
,(wxSize 
const &)*arg5
,arg6
,arg7
,arg8
,arg9
,(wxString 
const &)*arg10
); 
12974         wxPyEndAllowThreads(__tstate
); 
12975         if (PyErr_Occurred()) SWIG_fail
; 
12977     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinCtrl
, 1); 
13000 static PyObject 
*_wrap_new_PreSpinCtrl(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
13001     PyObject 
*resultobj
; 
13002     wxSpinCtrl 
*result
; 
13003     char *kwnames
[] = { 
13007     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinCtrl",kwnames
)) goto fail
; 
13009         if (!wxPyCheckForApp()) SWIG_fail
; 
13010         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13011         result 
= (wxSpinCtrl 
*)new wxSpinCtrl(); 
13013         wxPyEndAllowThreads(__tstate
); 
13014         if (PyErr_Occurred()) SWIG_fail
; 
13016     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinCtrl
, 1); 
13023 static PyObject 
*_wrap_SpinCtrl_Create(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
13024     PyObject 
*resultobj
; 
13025     wxSpinCtrl 
*arg1 
= (wxSpinCtrl 
*) 0 ; 
13026     wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
13027     int arg3 
= (int) -1 ; 
13028     wxString 
const &arg4_defvalue 
= wxPyEmptyString 
; 
13029     wxString 
*arg4 
= (wxString 
*) &arg4_defvalue 
; 
13030     wxPoint 
const &arg5_defvalue 
= wxDefaultPosition 
; 
13031     wxPoint 
*arg5 
= (wxPoint 
*) &arg5_defvalue 
; 
13032     wxSize 
const &arg6_defvalue 
= wxDefaultSize 
; 
13033     wxSize 
*arg6 
= (wxSize 
*) &arg6_defvalue 
; 
13034     long arg7 
= (long) wxSP_ARROW_KEYS 
; 
13035     int arg8 
= (int) 0 ; 
13036     int arg9 
= (int) 100 ; 
13037     int arg10 
= (int) 0 ; 
13038     wxString 
const &arg11_defvalue 
= wxPySpinCtrlNameStr 
; 
13039     wxString 
*arg11 
= (wxString 
*) &arg11_defvalue 
; 
13041     bool temp4 
= false ; 
13044     bool temp11 
= false ; 
13045     PyObject 
* obj0 
= 0 ; 
13046     PyObject 
* obj1 
= 0 ; 
13047     PyObject 
* obj2 
= 0 ; 
13048     PyObject 
* obj3 
= 0 ; 
13049     PyObject 
* obj4 
= 0 ; 
13050     PyObject 
* obj5 
= 0 ; 
13051     PyObject 
* obj6 
= 0 ; 
13052     PyObject 
* obj7 
= 0 ; 
13053     PyObject 
* obj8 
= 0 ; 
13054     PyObject 
* obj9 
= 0 ; 
13055     PyObject 
* obj10 
= 0 ; 
13056     char *kwnames
[] = { 
13057         (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL 
 
13060     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
; 
13061     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
13062     if (SWIG_arg_fail(1)) SWIG_fail
; 
13063     SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
13064     if (SWIG_arg_fail(2)) SWIG_fail
; 
13067             arg3 
= (int)(SWIG_As_int(obj2
));  
13068             if (SWIG_arg_fail(3)) SWIG_fail
; 
13073             arg4 
= wxString_in_helper(obj3
); 
13074             if (arg4 
== NULL
) SWIG_fail
; 
13081             if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
; 
13087             if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
; 
13092             arg7 
= (long)(SWIG_As_long(obj6
));  
13093             if (SWIG_arg_fail(7)) SWIG_fail
; 
13098             arg8 
= (int)(SWIG_As_int(obj7
));  
13099             if (SWIG_arg_fail(8)) SWIG_fail
; 
13104             arg9 
= (int)(SWIG_As_int(obj8
));  
13105             if (SWIG_arg_fail(9)) SWIG_fail
; 
13110             arg10 
= (int)(SWIG_As_int(obj9
));  
13111             if (SWIG_arg_fail(10)) SWIG_fail
; 
13116             arg11 
= wxString_in_helper(obj10
); 
13117             if (arg11 
== NULL
) SWIG_fail
; 
13122         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13123         result 
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString 
const &)*arg4
,(wxPoint 
const &)*arg5
,(wxSize 
const &)*arg6
,arg7
,arg8
,arg9
,arg10
,(wxString 
const &)*arg11
); 
13125         wxPyEndAllowThreads(__tstate
); 
13126         if (PyErr_Occurred()) SWIG_fail
; 
13129         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
13153 static PyObject 
*_wrap_SpinCtrl_GetValue(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
13154     PyObject 
*resultobj
; 
13155     wxSpinCtrl 
*arg1 
= (wxSpinCtrl 
*) 0 ; 
13157     PyObject 
* obj0 
= 0 ; 
13158     char *kwnames
[] = { 
13159         (char *) "self", NULL 
 
13162     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetValue",kwnames
,&obj0
)) goto fail
; 
13163     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
13164     if (SWIG_arg_fail(1)) SWIG_fail
; 
13166         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13167         result 
= (int)((wxSpinCtrl 
const *)arg1
)->GetValue(); 
13169         wxPyEndAllowThreads(__tstate
); 
13170         if (PyErr_Occurred()) SWIG_fail
; 
13173         resultobj 
= SWIG_From_int((int)(result
));  
13181 static PyObject 
*_wrap_SpinCtrl_SetValue(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
13182     PyObject 
*resultobj
; 
13183     wxSpinCtrl 
*arg1 
= (wxSpinCtrl 
*) 0 ; 
13185     PyObject 
* obj0 
= 0 ; 
13186     PyObject 
* obj1 
= 0 ; 
13187     char *kwnames
[] = { 
13188         (char *) "self",(char *) "value", NULL 
 
13191     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
; 
13192     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
13193     if (SWIG_arg_fail(1)) SWIG_fail
; 
13195         arg2 
= (int)(SWIG_As_int(obj1
));  
13196         if (SWIG_arg_fail(2)) SWIG_fail
; 
13199         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13200         (arg1
)->SetValue(arg2
); 
13202         wxPyEndAllowThreads(__tstate
); 
13203         if (PyErr_Occurred()) SWIG_fail
; 
13205     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
13212 static PyObject 
*_wrap_SpinCtrl_SetValueString(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
13213     PyObject 
*resultobj
; 
13214     wxSpinCtrl 
*arg1 
= (wxSpinCtrl 
*) 0 ; 
13215     wxString 
*arg2 
= 0 ; 
13216     bool temp2 
= false ; 
13217     PyObject 
* obj0 
= 0 ; 
13218     PyObject 
* obj1 
= 0 ; 
13219     char *kwnames
[] = { 
13220         (char *) "self",(char *) "text", NULL 
 
13223     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValueString",kwnames
,&obj0
,&obj1
)) goto fail
; 
13224     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
13225     if (SWIG_arg_fail(1)) SWIG_fail
; 
13227         arg2 
= wxString_in_helper(obj1
); 
13228         if (arg2 
== NULL
) SWIG_fail
; 
13232         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13233         (arg1
)->SetValue((wxString 
const &)*arg2
); 
13235         wxPyEndAllowThreads(__tstate
); 
13236         if (PyErr_Occurred()) SWIG_fail
; 
13238     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
13253 static PyObject 
*_wrap_SpinCtrl_SetRange(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
13254     PyObject 
*resultobj
; 
13255     wxSpinCtrl 
*arg1 
= (wxSpinCtrl 
*) 0 ; 
13258     PyObject 
* obj0 
= 0 ; 
13259     PyObject 
* obj1 
= 0 ; 
13260     PyObject 
* obj2 
= 0 ; 
13261     char *kwnames
[] = { 
13262         (char *) "self",(char *) "minVal",(char *) "maxVal", NULL 
 
13265     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
13266     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
13267     if (SWIG_arg_fail(1)) SWIG_fail
; 
13269         arg2 
= (int)(SWIG_As_int(obj1
));  
13270         if (SWIG_arg_fail(2)) SWIG_fail
; 
13273         arg3 
= (int)(SWIG_As_int(obj2
));  
13274         if (SWIG_arg_fail(3)) SWIG_fail
; 
13277         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13278         (arg1
)->SetRange(arg2
,arg3
); 
13280         wxPyEndAllowThreads(__tstate
); 
13281         if (PyErr_Occurred()) SWIG_fail
; 
13283     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
13290 static PyObject 
*_wrap_SpinCtrl_GetMin(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
13291     PyObject 
*resultobj
; 
13292     wxSpinCtrl 
*arg1 
= (wxSpinCtrl 
*) 0 ; 
13294     PyObject 
* obj0 
= 0 ; 
13295     char *kwnames
[] = { 
13296         (char *) "self", NULL 
 
13299     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMin",kwnames
,&obj0
)) goto fail
; 
13300     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
13301     if (SWIG_arg_fail(1)) SWIG_fail
; 
13303         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13304         result 
= (int)((wxSpinCtrl 
const *)arg1
)->GetMin(); 
13306         wxPyEndAllowThreads(__tstate
); 
13307         if (PyErr_Occurred()) SWIG_fail
; 
13310         resultobj 
= SWIG_From_int((int)(result
));  
13318 static PyObject 
*_wrap_SpinCtrl_GetMax(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
13319     PyObject 
*resultobj
; 
13320     wxSpinCtrl 
*arg1 
= (wxSpinCtrl 
*) 0 ; 
13322     PyObject 
* obj0 
= 0 ; 
13323     char *kwnames
[] = { 
13324         (char *) "self", NULL 
 
13327     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMax",kwnames
,&obj0
)) goto fail
; 
13328     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
13329     if (SWIG_arg_fail(1)) SWIG_fail
; 
13331         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13332         result 
= (int)((wxSpinCtrl 
const *)arg1
)->GetMax(); 
13334         wxPyEndAllowThreads(__tstate
); 
13335         if (PyErr_Occurred()) SWIG_fail
; 
13338         resultobj 
= SWIG_From_int((int)(result
));  
13346 static PyObject 
*_wrap_SpinCtrl_SetSelection(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
13347     PyObject 
*resultobj
; 
13348     wxSpinCtrl 
*arg1 
= (wxSpinCtrl 
*) 0 ; 
13351     PyObject 
* obj0 
= 0 ; 
13352     PyObject 
* obj1 
= 0 ; 
13353     PyObject 
* obj2 
= 0 ; 
13354     char *kwnames
[] = { 
13355         (char *) "self",(char *) "from",(char *) "to", NULL 
 
13358     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
13359     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
13360     if (SWIG_arg_fail(1)) SWIG_fail
; 
13362         arg2 
= (long)(SWIG_As_long(obj1
));  
13363         if (SWIG_arg_fail(2)) SWIG_fail
; 
13366         arg3 
= (long)(SWIG_As_long(obj2
));  
13367         if (SWIG_arg_fail(3)) SWIG_fail
; 
13370         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13371         (arg1
)->SetSelection(arg2
,arg3
); 
13373         wxPyEndAllowThreads(__tstate
); 
13374         if (PyErr_Occurred()) SWIG_fail
; 
13376     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
13383 static PyObject 
*_wrap_SpinCtrl_GetClassDefaultAttributes(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
13384     PyObject 
*resultobj
; 
13385     wxWindowVariant arg1 
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL 
; 
13386     wxVisualAttributes result
; 
13387     PyObject 
* obj0 
= 0 ; 
13388     char *kwnames
[] = { 
13389         (char *) "variant", NULL 
 
13392     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
; 
13395             arg1 
= (wxWindowVariant
)(SWIG_As_int(obj0
));  
13396             if (SWIG_arg_fail(1)) SWIG_fail
; 
13400         if (!wxPyCheckForApp()) SWIG_fail
; 
13401         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13402         result 
= wxSpinCtrl::GetClassDefaultAttributes((wxWindowVariant 
)arg1
); 
13404         wxPyEndAllowThreads(__tstate
); 
13405         if (PyErr_Occurred()) SWIG_fail
; 
13408         wxVisualAttributes 
* resultptr
; 
13409         resultptr 
= new wxVisualAttributes((wxVisualAttributes 
&)(result
)); 
13410         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1); 
13418 static PyObject 
* SpinCtrl_swigregister(PyObject 
*, PyObject 
*args
) { 
13420     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
13421     SWIG_TypeClientData(SWIGTYPE_p_wxSpinCtrl
, obj
); 
13423     return Py_BuildValue((char *)""); 
13425 static PyObject 
*_wrap_new_SpinEvent(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
13426     PyObject 
*resultobj
; 
13427     wxEventType arg1 
= (wxEventType
) wxEVT_NULL 
; 
13428     int arg2 
= (int) 0 ; 
13429     wxSpinEvent 
*result
; 
13430     PyObject 
* obj0 
= 0 ; 
13431     PyObject 
* obj1 
= 0 ; 
13432     char *kwnames
[] = { 
13433         (char *) "commandType",(char *) "winid", NULL 
 
13436     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SpinEvent",kwnames
,&obj0
,&obj1
)) goto fail
; 
13439             arg1 
= (wxEventType
)(SWIG_As_int(obj0
));  
13440             if (SWIG_arg_fail(1)) SWIG_fail
; 
13445             arg2 
= (int)(SWIG_As_int(obj1
));  
13446             if (SWIG_arg_fail(2)) SWIG_fail
; 
13450         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13451         result 
= (wxSpinEvent 
*)new wxSpinEvent(arg1
,arg2
); 
13453         wxPyEndAllowThreads(__tstate
); 
13454         if (PyErr_Occurred()) SWIG_fail
; 
13456     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinEvent
, 1); 
13463 static PyObject 
*_wrap_SpinEvent_GetPosition(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
13464     PyObject 
*resultobj
; 
13465     wxSpinEvent 
*arg1 
= (wxSpinEvent 
*) 0 ; 
13467     PyObject 
* obj0 
= 0 ; 
13468     char *kwnames
[] = { 
13469         (char *) "self", NULL 
 
13472     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinEvent_GetPosition",kwnames
,&obj0
)) goto fail
; 
13473     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
13474     if (SWIG_arg_fail(1)) SWIG_fail
; 
13476         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13477         result 
= (int)((wxSpinEvent 
const *)arg1
)->GetPosition(); 
13479         wxPyEndAllowThreads(__tstate
); 
13480         if (PyErr_Occurred()) SWIG_fail
; 
13483         resultobj 
= SWIG_From_int((int)(result
));  
13491 static PyObject 
*_wrap_SpinEvent_SetPosition(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
13492     PyObject 
*resultobj
; 
13493     wxSpinEvent 
*arg1 
= (wxSpinEvent 
*) 0 ; 
13495     PyObject 
* obj0 
= 0 ; 
13496     PyObject 
* obj1 
= 0 ; 
13497     char *kwnames
[] = { 
13498         (char *) "self",(char *) "pos", NULL 
 
13501     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
; 
13502     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
13503     if (SWIG_arg_fail(1)) SWIG_fail
; 
13505         arg2 
= (int)(SWIG_As_int(obj1
));  
13506         if (SWIG_arg_fail(2)) SWIG_fail
; 
13509         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13510         (arg1
)->SetPosition(arg2
); 
13512         wxPyEndAllowThreads(__tstate
); 
13513         if (PyErr_Occurred()) SWIG_fail
; 
13515     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
13522 static PyObject 
* SpinEvent_swigregister(PyObject 
*, PyObject 
*args
) { 
13524     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
13525     SWIG_TypeClientData(SWIGTYPE_p_wxSpinEvent
, obj
); 
13527     return Py_BuildValue((char *)""); 
13529 static int _wrap_RadioBoxNameStr_set(PyObject 
*) { 
13530     PyErr_SetString(PyExc_TypeError
,"Variable RadioBoxNameStr is read-only."); 
13535 static PyObject 
*_wrap_RadioBoxNameStr_get(void) { 
13540         pyobj 
= PyUnicode_FromWideChar((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len()); 
13542         pyobj 
= PyString_FromStringAndSize((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len()); 
13549 static int _wrap_RadioButtonNameStr_set(PyObject 
*) { 
13550     PyErr_SetString(PyExc_TypeError
,"Variable RadioButtonNameStr is read-only."); 
13555 static PyObject 
*_wrap_RadioButtonNameStr_get(void) { 
13560         pyobj 
= PyUnicode_FromWideChar((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len()); 
13562         pyobj 
= PyString_FromStringAndSize((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len()); 
13569 static PyObject 
*_wrap_new_RadioBox(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
13570     PyObject 
*resultobj
; 
13571     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
13572     int arg2 
= (int) -1 ; 
13573     wxString 
const &arg3_defvalue 
= wxPyEmptyString 
; 
13574     wxString 
*arg3 
= (wxString 
*) &arg3_defvalue 
; 
13575     wxPoint 
const &arg4_defvalue 
= wxDefaultPosition 
; 
13576     wxPoint 
*arg4 
= (wxPoint 
*) &arg4_defvalue 
; 
13577     wxSize 
const &arg5_defvalue 
= wxDefaultSize 
; 
13578     wxSize 
*arg5 
= (wxSize 
*) &arg5_defvalue 
; 
13579     wxArrayString 
const &arg6_defvalue 
= wxPyEmptyStringArray 
; 
13580     wxArrayString 
*arg6 
= (wxArrayString 
*) &arg6_defvalue 
; 
13581     int arg7 
= (int) 0 ; 
13582     long arg8 
= (long) wxRA_HORIZONTAL 
; 
13583     wxValidator 
const &arg9_defvalue 
= wxDefaultValidator 
; 
13584     wxValidator 
*arg9 
= (wxValidator 
*) &arg9_defvalue 
; 
13585     wxString 
const &arg10_defvalue 
= wxPyRadioBoxNameStr 
; 
13586     wxString 
*arg10 
= (wxString 
*) &arg10_defvalue 
; 
13587     wxRadioBox 
*result
; 
13588     bool temp3 
= false ; 
13591     bool temp6 
= false ; 
13592     bool temp10 
= false ; 
13593     PyObject 
* obj0 
= 0 ; 
13594     PyObject 
* obj1 
= 0 ; 
13595     PyObject 
* obj2 
= 0 ; 
13596     PyObject 
* obj3 
= 0 ; 
13597     PyObject 
* obj4 
= 0 ; 
13598     PyObject 
* obj5 
= 0 ; 
13599     PyObject 
* obj6 
= 0 ; 
13600     PyObject 
* obj7 
= 0 ; 
13601     PyObject 
* obj8 
= 0 ; 
13602     PyObject 
* obj9 
= 0 ; 
13603     char *kwnames
[] = { 
13604         (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL 
 
13607     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_RadioBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
; 
13608     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
13609     if (SWIG_arg_fail(1)) SWIG_fail
; 
13612             arg2 
= (int)(SWIG_As_int(obj1
));  
13613             if (SWIG_arg_fail(2)) SWIG_fail
; 
13618             arg3 
= wxString_in_helper(obj2
); 
13619             if (arg3 
== NULL
) SWIG_fail
; 
13626             if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
; 
13632             if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
; 
13637             if (! PySequence_Check(obj5
)) { 
13638                 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected."); 
13641             arg6 
= new wxArrayString
; 
13643             int i
, len
=PySequence_Length(obj5
); 
13644             for (i
=0; i
<len
; i
++) { 
13645                 PyObject
* item 
= PySequence_GetItem(obj5
, i
); 
13647                 PyObject
* str  
= PyObject_Unicode(item
); 
13649                 PyObject
* str  
= PyObject_Str(item
); 
13651                 if (PyErr_Occurred())  SWIG_fail
; 
13652                 arg6
->Add(Py2wxString(str
)); 
13660             arg7 
= (int)(SWIG_As_int(obj6
));  
13661             if (SWIG_arg_fail(7)) SWIG_fail
; 
13666             arg8 
= (long)(SWIG_As_long(obj7
));  
13667             if (SWIG_arg_fail(8)) SWIG_fail
; 
13672             SWIG_Python_ConvertPtr(obj8
, (void **)&arg9
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION 
| 0); 
13673             if (SWIG_arg_fail(9)) SWIG_fail
; 
13674             if (arg9 
== NULL
) { 
13675                 SWIG_null_ref("wxValidator"); 
13677             if (SWIG_arg_fail(9)) SWIG_fail
; 
13682             arg10 
= wxString_in_helper(obj9
); 
13683             if (arg10 
== NULL
) SWIG_fail
; 
13688         if (!wxPyCheckForApp()) SWIG_fail
; 
13689         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13690         result 
= (wxRadioBox 
*)new wxRadioBox(arg1
,arg2
,(wxString 
const &)*arg3
,(wxPoint 
const &)*arg4
,(wxSize 
const &)*arg5
,(wxArrayString 
const &)*arg6
,arg7
,arg8
,(wxValidator 
const &)*arg9
,(wxString 
const &)*arg10
); 
13692         wxPyEndAllowThreads(__tstate
); 
13693         if (PyErr_Occurred()) SWIG_fail
; 
13695     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioBox
, 1); 
13701         if (temp6
) delete arg6
; 
13714         if (temp6
) delete arg6
; 
13724 static PyObject 
*_wrap_new_PreRadioBox(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
13725     PyObject 
*resultobj
; 
13726     wxRadioBox 
*result
; 
13727     char *kwnames
[] = { 
13731     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioBox",kwnames
)) goto fail
; 
13733         if (!wxPyCheckForApp()) SWIG_fail
; 
13734         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13735         result 
= (wxRadioBox 
*)new wxRadioBox(); 
13737         wxPyEndAllowThreads(__tstate
); 
13738         if (PyErr_Occurred()) SWIG_fail
; 
13740     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioBox
, 1); 
13747 static PyObject 
*_wrap_RadioBox_Create(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
13748     PyObject 
*resultobj
; 
13749     wxRadioBox 
*arg1 
= (wxRadioBox 
*) 0 ; 
13750     wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
13751     int arg3 
= (int) -1 ; 
13752     wxString 
const &arg4_defvalue 
= wxPyEmptyString 
; 
13753     wxString 
*arg4 
= (wxString 
*) &arg4_defvalue 
; 
13754     wxPoint 
const &arg5_defvalue 
= wxDefaultPosition 
; 
13755     wxPoint 
*arg5 
= (wxPoint 
*) &arg5_defvalue 
; 
13756     wxSize 
const &arg6_defvalue 
= wxDefaultSize 
; 
13757     wxSize 
*arg6 
= (wxSize 
*) &arg6_defvalue 
; 
13758     wxArrayString 
const &arg7_defvalue 
= wxPyEmptyStringArray 
; 
13759     wxArrayString 
*arg7 
= (wxArrayString 
*) &arg7_defvalue 
; 
13760     int arg8 
= (int) 0 ; 
13761     long arg9 
= (long) wxRA_HORIZONTAL 
; 
13762     wxValidator 
const &arg10_defvalue 
= wxDefaultValidator 
; 
13763     wxValidator 
*arg10 
= (wxValidator 
*) &arg10_defvalue 
; 
13764     wxString 
const &arg11_defvalue 
= wxPyRadioBoxNameStr 
; 
13765     wxString 
*arg11 
= (wxString 
*) &arg11_defvalue 
; 
13767     bool temp4 
= false ; 
13770     bool temp7 
= false ; 
13771     bool temp11 
= false ; 
13772     PyObject 
* obj0 
= 0 ; 
13773     PyObject 
* obj1 
= 0 ; 
13774     PyObject 
* obj2 
= 0 ; 
13775     PyObject 
* obj3 
= 0 ; 
13776     PyObject 
* obj4 
= 0 ; 
13777     PyObject 
* obj5 
= 0 ; 
13778     PyObject 
* obj6 
= 0 ; 
13779     PyObject 
* obj7 
= 0 ; 
13780     PyObject 
* obj8 
= 0 ; 
13781     PyObject 
* obj9 
= 0 ; 
13782     PyObject 
* obj10 
= 0 ; 
13783     char *kwnames
[] = { 
13784         (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL 
 
13787     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:RadioBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
; 
13788     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION 
| 0); 
13789     if (SWIG_arg_fail(1)) SWIG_fail
; 
13790     SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
13791     if (SWIG_arg_fail(2)) SWIG_fail
; 
13794             arg3 
= (int)(SWIG_As_int(obj2
));  
13795             if (SWIG_arg_fail(3)) SWIG_fail
; 
13800             arg4 
= wxString_in_helper(obj3
); 
13801             if (arg4 
== NULL
) SWIG_fail
; 
13808             if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
; 
13814             if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
; 
13819             if (! PySequence_Check(obj6
)) { 
13820                 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected."); 
13823             arg7 
= new wxArrayString
; 
13825             int i
, len
=PySequence_Length(obj6
); 
13826             for (i
=0; i
<len
; i
++) { 
13827                 PyObject
* item 
= PySequence_GetItem(obj6
, i
); 
13829                 PyObject
* str  
= PyObject_Unicode(item
); 
13831                 PyObject
* str  
= PyObject_Str(item
); 
13833                 if (PyErr_Occurred())  SWIG_fail
; 
13834                 arg7
->Add(Py2wxString(str
)); 
13842             arg8 
= (int)(SWIG_As_int(obj7
));  
13843             if (SWIG_arg_fail(8)) SWIG_fail
; 
13848             arg9 
= (long)(SWIG_As_long(obj8
));  
13849             if (SWIG_arg_fail(9)) SWIG_fail
; 
13854             SWIG_Python_ConvertPtr(obj9
, (void **)&arg10
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION 
| 0); 
13855             if (SWIG_arg_fail(10)) SWIG_fail
; 
13856             if (arg10 
== NULL
) { 
13857                 SWIG_null_ref("wxValidator"); 
13859             if (SWIG_arg_fail(10)) SWIG_fail
; 
13864             arg11 
= wxString_in_helper(obj10
); 
13865             if (arg11 
== NULL
) SWIG_fail
; 
13870         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13871         result 
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString 
const &)*arg4
,(wxPoint 
const &)*arg5
,(wxSize 
const &)*arg6
,(wxArrayString 
const &)*arg7
,arg8
,arg9
,(wxValidator 
const &)*arg10
,(wxString 
const &)*arg11
); 
13873         wxPyEndAllowThreads(__tstate
); 
13874         if (PyErr_Occurred()) SWIG_fail
; 
13877         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
13884         if (temp7
) delete arg7
; 
13897         if (temp7
) delete arg7
; 
13907 static PyObject 
*_wrap_RadioBox_SetSelection(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
13908     PyObject 
*resultobj
; 
13909     wxRadioBox 
*arg1 
= (wxRadioBox 
*) 0 ; 
13911     PyObject 
* obj0 
= 0 ; 
13912     PyObject 
* obj1 
= 0 ; 
13913     char *kwnames
[] = { 
13914         (char *) "self",(char *) "n", NULL 
 
13917     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
; 
13918     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION 
| 0); 
13919     if (SWIG_arg_fail(1)) SWIG_fail
; 
13921         arg2 
= (int)(SWIG_As_int(obj1
));  
13922         if (SWIG_arg_fail(2)) SWIG_fail
; 
13925         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13926         (arg1
)->SetSelection(arg2
); 
13928         wxPyEndAllowThreads(__tstate
); 
13929         if (PyErr_Occurred()) SWIG_fail
; 
13931     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
13938 static PyObject 
*_wrap_RadioBox_GetSelection(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
13939     PyObject 
*resultobj
; 
13940     wxRadioBox 
*arg1 
= (wxRadioBox 
*) 0 ; 
13942     PyObject 
* obj0 
= 0 ; 
13943     char *kwnames
[] = { 
13944         (char *) "self", NULL 
 
13947     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetSelection",kwnames
,&obj0
)) goto fail
; 
13948     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION 
| 0); 
13949     if (SWIG_arg_fail(1)) SWIG_fail
; 
13951         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13952         result 
= (int)((wxRadioBox 
const *)arg1
)->GetSelection(); 
13954         wxPyEndAllowThreads(__tstate
); 
13955         if (PyErr_Occurred()) SWIG_fail
; 
13958         resultobj 
= SWIG_From_int((int)(result
));  
13966 static PyObject 
*_wrap_RadioBox_GetStringSelection(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
13967     PyObject 
*resultobj
; 
13968     wxRadioBox 
*arg1 
= (wxRadioBox 
*) 0 ; 
13970     PyObject 
* obj0 
= 0 ; 
13971     char *kwnames
[] = { 
13972         (char *) "self", NULL 
 
13975     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetStringSelection",kwnames
,&obj0
)) goto fail
; 
13976     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION 
| 0); 
13977     if (SWIG_arg_fail(1)) SWIG_fail
; 
13979         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13980         result 
= ((wxRadioBox 
const *)arg1
)->GetStringSelection(); 
13982         wxPyEndAllowThreads(__tstate
); 
13983         if (PyErr_Occurred()) SWIG_fail
; 
13987         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
13989         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
13998 static PyObject 
*_wrap_RadioBox_SetStringSelection(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
13999     PyObject 
*resultobj
; 
14000     wxRadioBox 
*arg1 
= (wxRadioBox 
*) 0 ; 
14001     wxString 
*arg2 
= 0 ; 
14003     bool temp2 
= false ; 
14004     PyObject 
* obj0 
= 0 ; 
14005     PyObject 
* obj1 
= 0 ; 
14006     char *kwnames
[] = { 
14007         (char *) "self",(char *) "s", NULL 
 
14010     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
; 
14011     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION 
| 0); 
14012     if (SWIG_arg_fail(1)) SWIG_fail
; 
14014         arg2 
= wxString_in_helper(obj1
); 
14015         if (arg2 
== NULL
) SWIG_fail
; 
14019         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14020         result 
= (bool)(arg1
)->SetStringSelection((wxString 
const &)*arg2
); 
14022         wxPyEndAllowThreads(__tstate
); 
14023         if (PyErr_Occurred()) SWIG_fail
; 
14026         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
14042 static PyObject 
*_wrap_RadioBox_GetCount(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
14043     PyObject 
*resultobj
; 
14044     wxRadioBox 
*arg1 
= (wxRadioBox 
*) 0 ; 
14046     PyObject 
* obj0 
= 0 ; 
14047     char *kwnames
[] = { 
14048         (char *) "self", NULL 
 
14051     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetCount",kwnames
,&obj0
)) goto fail
; 
14052     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION 
| 0); 
14053     if (SWIG_arg_fail(1)) SWIG_fail
; 
14055         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14056         result 
= (int)((wxRadioBox 
const *)arg1
)->GetCount(); 
14058         wxPyEndAllowThreads(__tstate
); 
14059         if (PyErr_Occurred()) SWIG_fail
; 
14062         resultobj 
= SWIG_From_int((int)(result
));  
14070 static PyObject 
*_wrap_RadioBox_FindString(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
14071     PyObject 
*resultobj
; 
14072     wxRadioBox 
*arg1 
= (wxRadioBox 
*) 0 ; 
14073     wxString 
*arg2 
= 0 ; 
14075     bool temp2 
= false ; 
14076     PyObject 
* obj0 
= 0 ; 
14077     PyObject 
* obj1 
= 0 ; 
14078     char *kwnames
[] = { 
14079         (char *) "self",(char *) "s", NULL 
 
14082     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_FindString",kwnames
,&obj0
,&obj1
)) goto fail
; 
14083     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION 
| 0); 
14084     if (SWIG_arg_fail(1)) SWIG_fail
; 
14086         arg2 
= wxString_in_helper(obj1
); 
14087         if (arg2 
== NULL
) SWIG_fail
; 
14091         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14092         result 
= (int)((wxRadioBox 
const *)arg1
)->FindString((wxString 
const &)*arg2
); 
14094         wxPyEndAllowThreads(__tstate
); 
14095         if (PyErr_Occurred()) SWIG_fail
; 
14098         resultobj 
= SWIG_From_int((int)(result
));  
14114 static PyObject 
*_wrap_RadioBox_GetString(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
14115     PyObject 
*resultobj
; 
14116     wxRadioBox 
*arg1 
= (wxRadioBox 
*) 0 ; 
14119     PyObject 
* obj0 
= 0 ; 
14120     PyObject 
* obj1 
= 0 ; 
14121     char *kwnames
[] = { 
14122         (char *) "self",(char *) "n", NULL 
 
14125     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetString",kwnames
,&obj0
,&obj1
)) goto fail
; 
14126     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION 
| 0); 
14127     if (SWIG_arg_fail(1)) SWIG_fail
; 
14129         arg2 
= (int)(SWIG_As_int(obj1
));  
14130         if (SWIG_arg_fail(2)) SWIG_fail
; 
14133         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14134         result 
= ((wxRadioBox 
const *)arg1
)->GetString(arg2
); 
14136         wxPyEndAllowThreads(__tstate
); 
14137         if (PyErr_Occurred()) SWIG_fail
; 
14141         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
14143         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
14152 static PyObject 
*_wrap_RadioBox_SetString(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
14153     PyObject 
*resultobj
; 
14154     wxRadioBox 
*arg1 
= (wxRadioBox 
*) 0 ; 
14156     wxString 
*arg3 
= 0 ; 
14157     bool temp3 
= false ; 
14158     PyObject 
* obj0 
= 0 ; 
14159     PyObject 
* obj1 
= 0 ; 
14160     PyObject 
* obj2 
= 0 ; 
14161     char *kwnames
[] = { 
14162         (char *) "self",(char *) "n",(char *) "label", NULL 
 
14165     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
14166     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION 
| 0); 
14167     if (SWIG_arg_fail(1)) SWIG_fail
; 
14169         arg2 
= (int)(SWIG_As_int(obj1
));  
14170         if (SWIG_arg_fail(2)) SWIG_fail
; 
14173         arg3 
= wxString_in_helper(obj2
); 
14174         if (arg3 
== NULL
) SWIG_fail
; 
14178         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14179         (arg1
)->SetString(arg2
,(wxString 
const &)*arg3
); 
14181         wxPyEndAllowThreads(__tstate
); 
14182         if (PyErr_Occurred()) SWIG_fail
; 
14184     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
14199 static PyObject 
*_wrap_RadioBox_EnableItem(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
14200     PyObject 
*resultobj
; 
14201     wxRadioBox 
*arg1 
= (wxRadioBox 
*) 0 ; 
14203     bool arg3 
= (bool) true ; 
14204     PyObject 
* obj0 
= 0 ; 
14205     PyObject 
* obj1 
= 0 ; 
14206     PyObject 
* obj2 
= 0 ; 
14207     char *kwnames
[] = { 
14208         (char *) "self",(char *) "n",(char *) "enable", NULL 
 
14211     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_EnableItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
14212     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION 
| 0); 
14213     if (SWIG_arg_fail(1)) SWIG_fail
; 
14215         arg2 
= (int)(SWIG_As_int(obj1
));  
14216         if (SWIG_arg_fail(2)) SWIG_fail
; 
14220             arg3 
= (bool)(SWIG_As_bool(obj2
));  
14221             if (SWIG_arg_fail(3)) SWIG_fail
; 
14225         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14226         (arg1
)->Enable(arg2
,arg3
); 
14228         wxPyEndAllowThreads(__tstate
); 
14229         if (PyErr_Occurred()) SWIG_fail
; 
14231     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
14238 static PyObject 
*_wrap_RadioBox_ShowItem(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
14239     PyObject 
*resultobj
; 
14240     wxRadioBox 
*arg1 
= (wxRadioBox 
*) 0 ; 
14242     bool arg3 
= (bool) true ; 
14243     PyObject 
* obj0 
= 0 ; 
14244     PyObject 
* obj1 
= 0 ; 
14245     PyObject 
* obj2 
= 0 ; 
14246     char *kwnames
[] = { 
14247         (char *) "self",(char *) "n",(char *) "show", NULL 
 
14250     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_ShowItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
14251     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION 
| 0); 
14252     if (SWIG_arg_fail(1)) SWIG_fail
; 
14254         arg2 
= (int)(SWIG_As_int(obj1
));  
14255         if (SWIG_arg_fail(2)) SWIG_fail
; 
14259             arg3 
= (bool)(SWIG_As_bool(obj2
));  
14260             if (SWIG_arg_fail(3)) SWIG_fail
; 
14264         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14265         (arg1
)->Show(arg2
,arg3
); 
14267         wxPyEndAllowThreads(__tstate
); 
14268         if (PyErr_Occurred()) SWIG_fail
; 
14270     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
14277 static PyObject 
*_wrap_RadioBox_GetColumnCount(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
14278     PyObject 
*resultobj
; 
14279     wxRadioBox 
*arg1 
= (wxRadioBox 
*) 0 ; 
14281     PyObject 
* obj0 
= 0 ; 
14282     char *kwnames
[] = { 
14283         (char *) "self", NULL 
 
14286     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetColumnCount",kwnames
,&obj0
)) goto fail
; 
14287     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION 
| 0); 
14288     if (SWIG_arg_fail(1)) SWIG_fail
; 
14290         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14291         result 
= (int)wxRadioBox_GetColumnCount((wxRadioBox 
const *)arg1
); 
14293         wxPyEndAllowThreads(__tstate
); 
14294         if (PyErr_Occurred()) SWIG_fail
; 
14297         resultobj 
= SWIG_From_int((int)(result
));  
14305 static PyObject 
*_wrap_RadioBox_GetRowCount(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
14306     PyObject 
*resultobj
; 
14307     wxRadioBox 
*arg1 
= (wxRadioBox 
*) 0 ; 
14309     PyObject 
* obj0 
= 0 ; 
14310     char *kwnames
[] = { 
14311         (char *) "self", NULL 
 
14314     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetRowCount",kwnames
,&obj0
)) goto fail
; 
14315     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION 
| 0); 
14316     if (SWIG_arg_fail(1)) SWIG_fail
; 
14318         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14319         result 
= (int)wxRadioBox_GetRowCount((wxRadioBox 
const *)arg1
); 
14321         wxPyEndAllowThreads(__tstate
); 
14322         if (PyErr_Occurred()) SWIG_fail
; 
14325         resultobj 
= SWIG_From_int((int)(result
));  
14333 static PyObject 
*_wrap_RadioBox_GetNextItem(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
14334     PyObject 
*resultobj
; 
14335     wxRadioBox 
*arg1 
= (wxRadioBox 
*) 0 ; 
14340     PyObject 
* obj0 
= 0 ; 
14341     PyObject 
* obj1 
= 0 ; 
14342     PyObject 
* obj2 
= 0 ; 
14343     PyObject 
* obj3 
= 0 ; 
14344     char *kwnames
[] = { 
14345         (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL 
 
14348     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:RadioBox_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
14349     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION 
| 0); 
14350     if (SWIG_arg_fail(1)) SWIG_fail
; 
14352         arg2 
= (int)(SWIG_As_int(obj1
));  
14353         if (SWIG_arg_fail(2)) SWIG_fail
; 
14356         arg3 
= (wxDirection
)(SWIG_As_int(obj2
));  
14357         if (SWIG_arg_fail(3)) SWIG_fail
; 
14360         arg4 
= (long)(SWIG_As_long(obj3
));  
14361         if (SWIG_arg_fail(4)) SWIG_fail
; 
14364         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14365         result 
= (int)wxRadioBox_GetNextItem((wxRadioBox 
const *)arg1
,arg2
,(wxDirection 
)arg3
,arg4
); 
14367         wxPyEndAllowThreads(__tstate
); 
14368         if (PyErr_Occurred()) SWIG_fail
; 
14371         resultobj 
= SWIG_From_int((int)(result
));  
14379 static PyObject 
*_wrap_RadioBox_GetClassDefaultAttributes(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
14380     PyObject 
*resultobj
; 
14381     wxWindowVariant arg1 
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL 
; 
14382     wxVisualAttributes result
; 
14383     PyObject 
* obj0 
= 0 ; 
14384     char *kwnames
[] = { 
14385         (char *) "variant", NULL 
 
14388     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
; 
14391             arg1 
= (wxWindowVariant
)(SWIG_As_int(obj0
));  
14392             if (SWIG_arg_fail(1)) SWIG_fail
; 
14396         if (!wxPyCheckForApp()) SWIG_fail
; 
14397         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14398         result 
= wxRadioBox::GetClassDefaultAttributes((wxWindowVariant 
)arg1
); 
14400         wxPyEndAllowThreads(__tstate
); 
14401         if (PyErr_Occurred()) SWIG_fail
; 
14404         wxVisualAttributes 
* resultptr
; 
14405         resultptr 
= new wxVisualAttributes((wxVisualAttributes 
&)(result
)); 
14406         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1); 
14414 static PyObject 
* RadioBox_swigregister(PyObject 
*, PyObject 
*args
) { 
14416     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
14417     SWIG_TypeClientData(SWIGTYPE_p_wxRadioBox
, obj
); 
14419     return Py_BuildValue((char *)""); 
14421 static PyObject 
*_wrap_new_RadioButton(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
14422     PyObject 
*resultobj
; 
14423     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
14424     int arg2 
= (int) -1 ; 
14425     wxString 
const &arg3_defvalue 
= wxPyEmptyString 
; 
14426     wxString 
*arg3 
= (wxString 
*) &arg3_defvalue 
; 
14427     wxPoint 
const &arg4_defvalue 
= wxDefaultPosition 
; 
14428     wxPoint 
*arg4 
= (wxPoint 
*) &arg4_defvalue 
; 
14429     wxSize 
const &arg5_defvalue 
= wxDefaultSize 
; 
14430     wxSize 
*arg5 
= (wxSize 
*) &arg5_defvalue 
; 
14431     long arg6 
= (long) 0 ; 
14432     wxValidator 
const &arg7_defvalue 
= wxDefaultValidator 
; 
14433     wxValidator 
*arg7 
= (wxValidator 
*) &arg7_defvalue 
; 
14434     wxString 
const &arg8_defvalue 
= wxPyRadioButtonNameStr 
; 
14435     wxString 
*arg8 
= (wxString 
*) &arg8_defvalue 
; 
14436     wxRadioButton 
*result
; 
14437     bool temp3 
= false ; 
14440     bool temp8 
= false ; 
14441     PyObject 
* obj0 
= 0 ; 
14442     PyObject 
* obj1 
= 0 ; 
14443     PyObject 
* obj2 
= 0 ; 
14444     PyObject 
* obj3 
= 0 ; 
14445     PyObject 
* obj4 
= 0 ; 
14446     PyObject 
* obj5 
= 0 ; 
14447     PyObject 
* obj6 
= 0 ; 
14448     PyObject 
* obj7 
= 0 ; 
14449     char *kwnames
[] = { 
14450         (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL 
 
14453     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_RadioButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
; 
14454     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
14455     if (SWIG_arg_fail(1)) SWIG_fail
; 
14458             arg2 
= (int)(SWIG_As_int(obj1
));  
14459             if (SWIG_arg_fail(2)) SWIG_fail
; 
14464             arg3 
= wxString_in_helper(obj2
); 
14465             if (arg3 
== NULL
) SWIG_fail
; 
14472             if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
; 
14478             if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
; 
14483             arg6 
= (long)(SWIG_As_long(obj5
));  
14484             if (SWIG_arg_fail(6)) SWIG_fail
; 
14489             SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION 
| 0); 
14490             if (SWIG_arg_fail(7)) SWIG_fail
; 
14491             if (arg7 
== NULL
) { 
14492                 SWIG_null_ref("wxValidator"); 
14494             if (SWIG_arg_fail(7)) SWIG_fail
; 
14499             arg8 
= wxString_in_helper(obj7
); 
14500             if (arg8 
== NULL
) SWIG_fail
; 
14505         if (!wxPyCheckForApp()) SWIG_fail
; 
14506         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14507         result 
= (wxRadioButton 
*)new wxRadioButton(arg1
,arg2
,(wxString 
const &)*arg3
,(wxPoint 
const &)*arg4
,(wxSize 
const &)*arg5
,arg6
,(wxValidator 
const &)*arg7
,(wxString 
const &)*arg8
); 
14509         wxPyEndAllowThreads(__tstate
); 
14510         if (PyErr_Occurred()) SWIG_fail
; 
14512     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioButton
, 1); 
14535 static PyObject 
*_wrap_new_PreRadioButton(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
14536     PyObject 
*resultobj
; 
14537     wxRadioButton 
*result
; 
14538     char *kwnames
[] = { 
14542     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioButton",kwnames
)) goto fail
; 
14544         if (!wxPyCheckForApp()) SWIG_fail
; 
14545         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14546         result 
= (wxRadioButton 
*)new wxRadioButton(); 
14548         wxPyEndAllowThreads(__tstate
); 
14549         if (PyErr_Occurred()) SWIG_fail
; 
14551     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioButton
, 1); 
14558 static PyObject 
*_wrap_RadioButton_Create(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
14559     PyObject 
*resultobj
; 
14560     wxRadioButton 
*arg1 
= (wxRadioButton 
*) 0 ; 
14561     wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
14562     int arg3 
= (int) -1 ; 
14563     wxString 
const &arg4_defvalue 
= wxPyEmptyString 
; 
14564     wxString 
*arg4 
= (wxString 
*) &arg4_defvalue 
; 
14565     wxPoint 
const &arg5_defvalue 
= wxDefaultPosition 
; 
14566     wxPoint 
*arg5 
= (wxPoint 
*) &arg5_defvalue 
; 
14567     wxSize 
const &arg6_defvalue 
= wxDefaultSize 
; 
14568     wxSize 
*arg6 
= (wxSize 
*) &arg6_defvalue 
; 
14569     long arg7 
= (long) 0 ; 
14570     wxValidator 
const &arg8_defvalue 
= wxDefaultValidator 
; 
14571     wxValidator 
*arg8 
= (wxValidator 
*) &arg8_defvalue 
; 
14572     wxString 
const &arg9_defvalue 
= wxPyRadioButtonNameStr 
; 
14573     wxString 
*arg9 
= (wxString 
*) &arg9_defvalue 
; 
14575     bool temp4 
= false ; 
14578     bool temp9 
= false ; 
14579     PyObject 
* obj0 
= 0 ; 
14580     PyObject 
* obj1 
= 0 ; 
14581     PyObject 
* obj2 
= 0 ; 
14582     PyObject 
* obj3 
= 0 ; 
14583     PyObject 
* obj4 
= 0 ; 
14584     PyObject 
* obj5 
= 0 ; 
14585     PyObject 
* obj6 
= 0 ; 
14586     PyObject 
* obj7 
= 0 ; 
14587     PyObject 
* obj8 
= 0 ; 
14588     char *kwnames
[] = { 
14589         (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL 
 
14592     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:RadioButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
; 
14593     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_EXCEPTION 
| 0); 
14594     if (SWIG_arg_fail(1)) SWIG_fail
; 
14595     SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
14596     if (SWIG_arg_fail(2)) SWIG_fail
; 
14599             arg3 
= (int)(SWIG_As_int(obj2
));  
14600             if (SWIG_arg_fail(3)) SWIG_fail
; 
14605             arg4 
= wxString_in_helper(obj3
); 
14606             if (arg4 
== NULL
) SWIG_fail
; 
14613             if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
; 
14619             if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
; 
14624             arg7 
= (long)(SWIG_As_long(obj6
));  
14625             if (SWIG_arg_fail(7)) SWIG_fail
; 
14630             SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION 
| 0); 
14631             if (SWIG_arg_fail(8)) SWIG_fail
; 
14632             if (arg8 
== NULL
) { 
14633                 SWIG_null_ref("wxValidator"); 
14635             if (SWIG_arg_fail(8)) SWIG_fail
; 
14640             arg9 
= wxString_in_helper(obj8
); 
14641             if (arg9 
== NULL
) SWIG_fail
; 
14646         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14647         result 
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString 
const &)*arg4
,(wxPoint 
const &)*arg5
,(wxSize 
const &)*arg6
,arg7
,(wxValidator 
const &)*arg8
,(wxString 
const &)*arg9
); 
14649         wxPyEndAllowThreads(__tstate
); 
14650         if (PyErr_Occurred()) SWIG_fail
; 
14653         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
14677 static PyObject 
*_wrap_RadioButton_GetValue(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
14678     PyObject 
*resultobj
; 
14679     wxRadioButton 
*arg1 
= (wxRadioButton 
*) 0 ; 
14681     PyObject 
* obj0 
= 0 ; 
14682     char *kwnames
[] = { 
14683         (char *) "self", NULL 
 
14686     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioButton_GetValue",kwnames
,&obj0
)) goto fail
; 
14687     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_EXCEPTION 
| 0); 
14688     if (SWIG_arg_fail(1)) SWIG_fail
; 
14690         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14691         result 
= (bool)(arg1
)->GetValue(); 
14693         wxPyEndAllowThreads(__tstate
); 
14694         if (PyErr_Occurred()) SWIG_fail
; 
14697         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
14705 static PyObject 
*_wrap_RadioButton_SetValue(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
14706     PyObject 
*resultobj
; 
14707     wxRadioButton 
*arg1 
= (wxRadioButton 
*) 0 ; 
14709     PyObject 
* obj0 
= 0 ; 
14710     PyObject 
* obj1 
= 0 ; 
14711     char *kwnames
[] = { 
14712         (char *) "self",(char *) "value", NULL 
 
14715     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
; 
14716     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_EXCEPTION 
| 0); 
14717     if (SWIG_arg_fail(1)) SWIG_fail
; 
14719         arg2 
= (bool)(SWIG_As_bool(obj1
));  
14720         if (SWIG_arg_fail(2)) SWIG_fail
; 
14723         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14724         (arg1
)->SetValue(arg2
); 
14726         wxPyEndAllowThreads(__tstate
); 
14727         if (PyErr_Occurred()) SWIG_fail
; 
14729     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
14736 static PyObject 
*_wrap_RadioButton_GetClassDefaultAttributes(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
14737     PyObject 
*resultobj
; 
14738     wxWindowVariant arg1 
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL 
; 
14739     wxVisualAttributes result
; 
14740     PyObject 
* obj0 
= 0 ; 
14741     char *kwnames
[] = { 
14742         (char *) "variant", NULL 
 
14745     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioButton_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
; 
14748             arg1 
= (wxWindowVariant
)(SWIG_As_int(obj0
));  
14749             if (SWIG_arg_fail(1)) SWIG_fail
; 
14753         if (!wxPyCheckForApp()) SWIG_fail
; 
14754         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14755         result 
= wxRadioButton::GetClassDefaultAttributes((wxWindowVariant 
)arg1
); 
14757         wxPyEndAllowThreads(__tstate
); 
14758         if (PyErr_Occurred()) SWIG_fail
; 
14761         wxVisualAttributes 
* resultptr
; 
14762         resultptr 
= new wxVisualAttributes((wxVisualAttributes 
&)(result
)); 
14763         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1); 
14771 static PyObject 
* RadioButton_swigregister(PyObject 
*, PyObject 
*args
) { 
14773     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
14774     SWIG_TypeClientData(SWIGTYPE_p_wxRadioButton
, obj
); 
14776     return Py_BuildValue((char *)""); 
14778 static int _wrap_SliderNameStr_set(PyObject 
*) { 
14779     PyErr_SetString(PyExc_TypeError
,"Variable SliderNameStr is read-only."); 
14784 static PyObject 
*_wrap_SliderNameStr_get(void) { 
14789         pyobj 
= PyUnicode_FromWideChar((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len()); 
14791         pyobj 
= PyString_FromStringAndSize((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len()); 
14798 static PyObject 
*_wrap_new_Slider(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
14799     PyObject 
*resultobj
; 
14800     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
14801     int arg2 
= (int) -1 ; 
14802     int arg3 
= (int) 0 ; 
14803     int arg4 
= (int) 0 ; 
14804     int arg5 
= (int) 100 ; 
14805     wxPoint 
const &arg6_defvalue 
= wxDefaultPosition 
; 
14806     wxPoint 
*arg6 
= (wxPoint 
*) &arg6_defvalue 
; 
14807     wxSize 
const &arg7_defvalue 
= wxDefaultSize 
; 
14808     wxSize 
*arg7 
= (wxSize 
*) &arg7_defvalue 
; 
14809     long arg8 
= (long) wxSL_HORIZONTAL 
; 
14810     wxValidator 
const &arg9_defvalue 
= wxDefaultValidator 
; 
14811     wxValidator 
*arg9 
= (wxValidator 
*) &arg9_defvalue 
; 
14812     wxString 
const &arg10_defvalue 
= wxPySliderNameStr 
; 
14813     wxString 
*arg10 
= (wxString 
*) &arg10_defvalue 
; 
14817     bool temp10 
= false ; 
14818     PyObject 
* obj0 
= 0 ; 
14819     PyObject 
* obj1 
= 0 ; 
14820     PyObject 
* obj2 
= 0 ; 
14821     PyObject 
* obj3 
= 0 ; 
14822     PyObject 
* obj4 
= 0 ; 
14823     PyObject 
* obj5 
= 0 ; 
14824     PyObject 
* obj6 
= 0 ; 
14825     PyObject 
* obj7 
= 0 ; 
14826     PyObject 
* obj8 
= 0 ; 
14827     PyObject 
* obj9 
= 0 ; 
14828     char *kwnames
[] = { 
14829         (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL 
 
14832     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_Slider",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
; 
14833     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
14834     if (SWIG_arg_fail(1)) SWIG_fail
; 
14837             arg2 
= (int)(SWIG_As_int(obj1
));  
14838             if (SWIG_arg_fail(2)) SWIG_fail
; 
14843             arg3 
= (int)(SWIG_As_int(obj2
));  
14844             if (SWIG_arg_fail(3)) SWIG_fail
; 
14849             arg4 
= (int)(SWIG_As_int(obj3
));  
14850             if (SWIG_arg_fail(4)) SWIG_fail
; 
14855             arg5 
= (int)(SWIG_As_int(obj4
));  
14856             if (SWIG_arg_fail(5)) SWIG_fail
; 
14862             if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
; 
14868             if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
; 
14873             arg8 
= (long)(SWIG_As_long(obj7
));  
14874             if (SWIG_arg_fail(8)) SWIG_fail
; 
14879             SWIG_Python_ConvertPtr(obj8
, (void **)&arg9
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION 
| 0); 
14880             if (SWIG_arg_fail(9)) SWIG_fail
; 
14881             if (arg9 
== NULL
) { 
14882                 SWIG_null_ref("wxValidator"); 
14884             if (SWIG_arg_fail(9)) SWIG_fail
; 
14889             arg10 
= wxString_in_helper(obj9
); 
14890             if (arg10 
== NULL
) SWIG_fail
; 
14895         if (!wxPyCheckForApp()) SWIG_fail
; 
14896         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14897         result 
= (wxSlider 
*)new wxSlider(arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint 
const &)*arg6
,(wxSize 
const &)*arg7
,arg8
,(wxValidator 
const &)*arg9
,(wxString 
const &)*arg10
); 
14899         wxPyEndAllowThreads(__tstate
); 
14900         if (PyErr_Occurred()) SWIG_fail
; 
14902     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSlider
, 1); 
14917 static PyObject 
*_wrap_new_PreSlider(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
14918     PyObject 
*resultobj
; 
14920     char *kwnames
[] = { 
14924     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSlider",kwnames
)) goto fail
; 
14926         if (!wxPyCheckForApp()) SWIG_fail
; 
14927         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14928         result 
= (wxSlider 
*)new wxSlider(); 
14930         wxPyEndAllowThreads(__tstate
); 
14931         if (PyErr_Occurred()) SWIG_fail
; 
14933     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSlider
, 1); 
14940 static PyObject 
*_wrap_Slider_Create(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
14941     PyObject 
*resultobj
; 
14942     wxSlider 
*arg1 
= (wxSlider 
*) 0 ; 
14943     wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
14944     int arg3 
= (int) -1 ; 
14945     int arg4 
= (int) 0 ; 
14946     int arg5 
= (int) 0 ; 
14947     int arg6 
= (int) 100 ; 
14948     wxPoint 
const &arg7_defvalue 
= wxDefaultPosition 
; 
14949     wxPoint 
*arg7 
= (wxPoint 
*) &arg7_defvalue 
; 
14950     wxSize 
const &arg8_defvalue 
= wxDefaultSize 
; 
14951     wxSize 
*arg8 
= (wxSize 
*) &arg8_defvalue 
; 
14952     long arg9 
= (long) wxSL_HORIZONTAL 
; 
14953     wxValidator 
const &arg10_defvalue 
= wxDefaultValidator 
; 
14954     wxValidator 
*arg10 
= (wxValidator 
*) &arg10_defvalue 
; 
14955     wxString 
const &arg11_defvalue 
= wxPySliderNameStr 
; 
14956     wxString 
*arg11 
= (wxString 
*) &arg11_defvalue 
; 
14960     bool temp11 
= false ; 
14961     PyObject 
* obj0 
= 0 ; 
14962     PyObject 
* obj1 
= 0 ; 
14963     PyObject 
* obj2 
= 0 ; 
14964     PyObject 
* obj3 
= 0 ; 
14965     PyObject 
* obj4 
= 0 ; 
14966     PyObject 
* obj5 
= 0 ; 
14967     PyObject 
* obj6 
= 0 ; 
14968     PyObject 
* obj7 
= 0 ; 
14969     PyObject 
* obj8 
= 0 ; 
14970     PyObject 
* obj9 
= 0 ; 
14971     PyObject 
* obj10 
= 0 ; 
14972     char *kwnames
[] = { 
14973         (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL 
 
14976     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:Slider_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
; 
14977     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION 
| 0); 
14978     if (SWIG_arg_fail(1)) SWIG_fail
; 
14979     SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
14980     if (SWIG_arg_fail(2)) SWIG_fail
; 
14983             arg3 
= (int)(SWIG_As_int(obj2
));  
14984             if (SWIG_arg_fail(3)) SWIG_fail
; 
14989             arg4 
= (int)(SWIG_As_int(obj3
));  
14990             if (SWIG_arg_fail(4)) SWIG_fail
; 
14995             arg5 
= (int)(SWIG_As_int(obj4
));  
14996             if (SWIG_arg_fail(5)) SWIG_fail
; 
15001             arg6 
= (int)(SWIG_As_int(obj5
));  
15002             if (SWIG_arg_fail(6)) SWIG_fail
; 
15008             if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
; 
15014             if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
; 
15019             arg9 
= (long)(SWIG_As_long(obj8
));  
15020             if (SWIG_arg_fail(9)) SWIG_fail
; 
15025             SWIG_Python_ConvertPtr(obj9
, (void **)&arg10
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION 
| 0); 
15026             if (SWIG_arg_fail(10)) SWIG_fail
; 
15027             if (arg10 
== NULL
) { 
15028                 SWIG_null_ref("wxValidator"); 
15030             if (SWIG_arg_fail(10)) SWIG_fail
; 
15035             arg11 
= wxString_in_helper(obj10
); 
15036             if (arg11 
== NULL
) SWIG_fail
; 
15041         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15042         result 
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,arg5
,arg6
,(wxPoint 
const &)*arg7
,(wxSize 
const &)*arg8
,arg9
,(wxValidator 
const &)*arg10
,(wxString 
const &)*arg11
); 
15044         wxPyEndAllowThreads(__tstate
); 
15045         if (PyErr_Occurred()) SWIG_fail
; 
15048         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
15064 static PyObject 
*_wrap_Slider_GetValue(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
15065     PyObject 
*resultobj
; 
15066     wxSlider 
*arg1 
= (wxSlider 
*) 0 ; 
15068     PyObject 
* obj0 
= 0 ; 
15069     char *kwnames
[] = { 
15070         (char *) "self", NULL 
 
15073     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetValue",kwnames
,&obj0
)) goto fail
; 
15074     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION 
| 0); 
15075     if (SWIG_arg_fail(1)) SWIG_fail
; 
15077         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15078         result 
= (int)((wxSlider 
const *)arg1
)->GetValue(); 
15080         wxPyEndAllowThreads(__tstate
); 
15081         if (PyErr_Occurred()) SWIG_fail
; 
15084         resultobj 
= SWIG_From_int((int)(result
));  
15092 static PyObject 
*_wrap_Slider_SetValue(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
15093     PyObject 
*resultobj
; 
15094     wxSlider 
*arg1 
= (wxSlider 
*) 0 ; 
15096     PyObject 
* obj0 
= 0 ; 
15097     PyObject 
* obj1 
= 0 ; 
15098     char *kwnames
[] = { 
15099         (char *) "self",(char *) "value", NULL 
 
15102     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
; 
15103     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION 
| 0); 
15104     if (SWIG_arg_fail(1)) SWIG_fail
; 
15106         arg2 
= (int)(SWIG_As_int(obj1
));  
15107         if (SWIG_arg_fail(2)) SWIG_fail
; 
15110         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15111         (arg1
)->SetValue(arg2
); 
15113         wxPyEndAllowThreads(__tstate
); 
15114         if (PyErr_Occurred()) SWIG_fail
; 
15116     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
15123 static PyObject 
*_wrap_Slider_SetRange(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
15124     PyObject 
*resultobj
; 
15125     wxSlider 
*arg1 
= (wxSlider 
*) 0 ; 
15128     PyObject 
* obj0 
= 0 ; 
15129     PyObject 
* obj1 
= 0 ; 
15130     PyObject 
* obj2 
= 0 ; 
15131     char *kwnames
[] = { 
15132         (char *) "self",(char *) "minValue",(char *) "maxValue", NULL 
 
15135     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
15136     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION 
| 0); 
15137     if (SWIG_arg_fail(1)) SWIG_fail
; 
15139         arg2 
= (int)(SWIG_As_int(obj1
));  
15140         if (SWIG_arg_fail(2)) SWIG_fail
; 
15143         arg3 
= (int)(SWIG_As_int(obj2
));  
15144         if (SWIG_arg_fail(3)) SWIG_fail
; 
15147         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15148         (arg1
)->SetRange(arg2
,arg3
); 
15150         wxPyEndAllowThreads(__tstate
); 
15151         if (PyErr_Occurred()) SWIG_fail
; 
15153     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
15160 static PyObject 
*_wrap_Slider_GetMin(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
15161     PyObject 
*resultobj
; 
15162     wxSlider 
*arg1 
= (wxSlider 
*) 0 ; 
15164     PyObject 
* obj0 
= 0 ; 
15165     char *kwnames
[] = { 
15166         (char *) "self", NULL 
 
15169     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMin",kwnames
,&obj0
)) goto fail
; 
15170     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION 
| 0); 
15171     if (SWIG_arg_fail(1)) SWIG_fail
; 
15173         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15174         result 
= (int)((wxSlider 
const *)arg1
)->GetMin(); 
15176         wxPyEndAllowThreads(__tstate
); 
15177         if (PyErr_Occurred()) SWIG_fail
; 
15180         resultobj 
= SWIG_From_int((int)(result
));  
15188 static PyObject 
*_wrap_Slider_GetMax(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
15189     PyObject 
*resultobj
; 
15190     wxSlider 
*arg1 
= (wxSlider 
*) 0 ; 
15192     PyObject 
* obj0 
= 0 ; 
15193     char *kwnames
[] = { 
15194         (char *) "self", NULL 
 
15197     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMax",kwnames
,&obj0
)) goto fail
; 
15198     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION 
| 0); 
15199     if (SWIG_arg_fail(1)) SWIG_fail
; 
15201         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15202         result 
= (int)((wxSlider 
const *)arg1
)->GetMax(); 
15204         wxPyEndAllowThreads(__tstate
); 
15205         if (PyErr_Occurred()) SWIG_fail
; 
15208         resultobj 
= SWIG_From_int((int)(result
));  
15216 static PyObject 
*_wrap_Slider_SetMin(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
15217     PyObject 
*resultobj
; 
15218     wxSlider 
*arg1 
= (wxSlider 
*) 0 ; 
15220     PyObject 
* obj0 
= 0 ; 
15221     PyObject 
* obj1 
= 0 ; 
15222     char *kwnames
[] = { 
15223         (char *) "self",(char *) "minValue", NULL 
 
15226     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMin",kwnames
,&obj0
,&obj1
)) goto fail
; 
15227     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION 
| 0); 
15228     if (SWIG_arg_fail(1)) SWIG_fail
; 
15230         arg2 
= (int)(SWIG_As_int(obj1
));  
15231         if (SWIG_arg_fail(2)) SWIG_fail
; 
15234         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15235         (arg1
)->SetMin(arg2
); 
15237         wxPyEndAllowThreads(__tstate
); 
15238         if (PyErr_Occurred()) SWIG_fail
; 
15240     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
15247 static PyObject 
*_wrap_Slider_SetMax(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
15248     PyObject 
*resultobj
; 
15249     wxSlider 
*arg1 
= (wxSlider 
*) 0 ; 
15251     PyObject 
* obj0 
= 0 ; 
15252     PyObject 
* obj1 
= 0 ; 
15253     char *kwnames
[] = { 
15254         (char *) "self",(char *) "maxValue", NULL 
 
15257     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMax",kwnames
,&obj0
,&obj1
)) goto fail
; 
15258     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION 
| 0); 
15259     if (SWIG_arg_fail(1)) SWIG_fail
; 
15261         arg2 
= (int)(SWIG_As_int(obj1
));  
15262         if (SWIG_arg_fail(2)) SWIG_fail
; 
15265         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15266         (arg1
)->SetMax(arg2
); 
15268         wxPyEndAllowThreads(__tstate
); 
15269         if (PyErr_Occurred()) SWIG_fail
; 
15271     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
15278 static PyObject 
*_wrap_Slider_SetLineSize(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
15279     PyObject 
*resultobj
; 
15280     wxSlider 
*arg1 
= (wxSlider 
*) 0 ; 
15282     PyObject 
* obj0 
= 0 ; 
15283     PyObject 
* obj1 
= 0 ; 
15284     char *kwnames
[] = { 
15285         (char *) "self",(char *) "lineSize", NULL 
 
15288     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetLineSize",kwnames
,&obj0
,&obj1
)) goto fail
; 
15289     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION 
| 0); 
15290     if (SWIG_arg_fail(1)) SWIG_fail
; 
15292         arg2 
= (int)(SWIG_As_int(obj1
));  
15293         if (SWIG_arg_fail(2)) SWIG_fail
; 
15296         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15297         (arg1
)->SetLineSize(arg2
); 
15299         wxPyEndAllowThreads(__tstate
); 
15300         if (PyErr_Occurred()) SWIG_fail
; 
15302     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
15309 static PyObject 
*_wrap_Slider_SetPageSize(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
15310     PyObject 
*resultobj
; 
15311     wxSlider 
*arg1 
= (wxSlider 
*) 0 ; 
15313     PyObject 
* obj0 
= 0 ; 
15314     PyObject 
* obj1 
= 0 ; 
15315     char *kwnames
[] = { 
15316         (char *) "self",(char *) "pageSize", NULL 
 
15319     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
; 
15320     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION 
| 0); 
15321     if (SWIG_arg_fail(1)) SWIG_fail
; 
15323         arg2 
= (int)(SWIG_As_int(obj1
));  
15324         if (SWIG_arg_fail(2)) SWIG_fail
; 
15327         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15328         (arg1
)->SetPageSize(arg2
); 
15330         wxPyEndAllowThreads(__tstate
); 
15331         if (PyErr_Occurred()) SWIG_fail
; 
15333     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
15340 static PyObject 
*_wrap_Slider_GetLineSize(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
15341     PyObject 
*resultobj
; 
15342     wxSlider 
*arg1 
= (wxSlider 
*) 0 ; 
15344     PyObject 
* obj0 
= 0 ; 
15345     char *kwnames
[] = { 
15346         (char *) "self", NULL 
 
15349     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetLineSize",kwnames
,&obj0
)) goto fail
; 
15350     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION 
| 0); 
15351     if (SWIG_arg_fail(1)) SWIG_fail
; 
15353         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15354         result 
= (int)((wxSlider 
const *)arg1
)->GetLineSize(); 
15356         wxPyEndAllowThreads(__tstate
); 
15357         if (PyErr_Occurred()) SWIG_fail
; 
15360         resultobj 
= SWIG_From_int((int)(result
));  
15368 static PyObject 
*_wrap_Slider_GetPageSize(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
15369     PyObject 
*resultobj
; 
15370     wxSlider 
*arg1 
= (wxSlider 
*) 0 ; 
15372     PyObject 
* obj0 
= 0 ; 
15373     char *kwnames
[] = { 
15374         (char *) "self", NULL 
 
15377     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetPageSize",kwnames
,&obj0
)) goto fail
; 
15378     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION 
| 0); 
15379     if (SWIG_arg_fail(1)) SWIG_fail
; 
15381         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15382         result 
= (int)((wxSlider 
const *)arg1
)->GetPageSize(); 
15384         wxPyEndAllowThreads(__tstate
); 
15385         if (PyErr_Occurred()) SWIG_fail
; 
15388         resultobj 
= SWIG_From_int((int)(result
));  
15396 static PyObject 
*_wrap_Slider_SetThumbLength(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
15397     PyObject 
*resultobj
; 
15398     wxSlider 
*arg1 
= (wxSlider 
*) 0 ; 
15400     PyObject 
* obj0 
= 0 ; 
15401     PyObject 
* obj1 
= 0 ; 
15402     char *kwnames
[] = { 
15403         (char *) "self",(char *) "lenPixels", NULL 
 
15406     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetThumbLength",kwnames
,&obj0
,&obj1
)) goto fail
; 
15407     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION 
| 0); 
15408     if (SWIG_arg_fail(1)) SWIG_fail
; 
15410         arg2 
= (int)(SWIG_As_int(obj1
));  
15411         if (SWIG_arg_fail(2)) SWIG_fail
; 
15414         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15415         (arg1
)->SetThumbLength(arg2
); 
15417         wxPyEndAllowThreads(__tstate
); 
15418         if (PyErr_Occurred()) SWIG_fail
; 
15420     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
15427 static PyObject 
*_wrap_Slider_GetThumbLength(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
15428     PyObject 
*resultobj
; 
15429     wxSlider 
*arg1 
= (wxSlider 
*) 0 ; 
15431     PyObject 
* obj0 
= 0 ; 
15432     char *kwnames
[] = { 
15433         (char *) "self", NULL 
 
15436     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetThumbLength",kwnames
,&obj0
)) goto fail
; 
15437     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION 
| 0); 
15438     if (SWIG_arg_fail(1)) SWIG_fail
; 
15440         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15441         result 
= (int)((wxSlider 
const *)arg1
)->GetThumbLength(); 
15443         wxPyEndAllowThreads(__tstate
); 
15444         if (PyErr_Occurred()) SWIG_fail
; 
15447         resultobj 
= SWIG_From_int((int)(result
));  
15455 static PyObject 
*_wrap_Slider_SetTickFreq(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
15456     PyObject 
*resultobj
; 
15457     wxSlider 
*arg1 
= (wxSlider 
*) 0 ; 
15459     int arg3 
= (int) 1 ; 
15460     PyObject 
* obj0 
= 0 ; 
15461     PyObject 
* obj1 
= 0 ; 
15462     PyObject 
* obj2 
= 0 ; 
15463     char *kwnames
[] = { 
15464         (char *) "self",(char *) "n",(char *) "pos", NULL 
 
15467     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Slider_SetTickFreq",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
15468     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION 
| 0); 
15469     if (SWIG_arg_fail(1)) SWIG_fail
; 
15471         arg2 
= (int)(SWIG_As_int(obj1
));  
15472         if (SWIG_arg_fail(2)) SWIG_fail
; 
15476             arg3 
= (int)(SWIG_As_int(obj2
));  
15477             if (SWIG_arg_fail(3)) SWIG_fail
; 
15481         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15482         (arg1
)->SetTickFreq(arg2
,arg3
); 
15484         wxPyEndAllowThreads(__tstate
); 
15485         if (PyErr_Occurred()) SWIG_fail
; 
15487     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
15494 static PyObject 
*_wrap_Slider_GetTickFreq(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
15495     PyObject 
*resultobj
; 
15496     wxSlider 
*arg1 
= (wxSlider 
*) 0 ; 
15498     PyObject 
* obj0 
= 0 ; 
15499     char *kwnames
[] = { 
15500         (char *) "self", NULL 
 
15503     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetTickFreq",kwnames
,&obj0
)) goto fail
; 
15504     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION 
| 0); 
15505     if (SWIG_arg_fail(1)) SWIG_fail
; 
15507         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15508         result 
= (int)((wxSlider 
const *)arg1
)->GetTickFreq(); 
15510         wxPyEndAllowThreads(__tstate
); 
15511         if (PyErr_Occurred()) SWIG_fail
; 
15514         resultobj 
= SWIG_From_int((int)(result
));  
15522 static PyObject 
*_wrap_Slider_ClearTicks(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
15523     PyObject 
*resultobj
; 
15524     wxSlider 
*arg1 
= (wxSlider 
*) 0 ; 
15525     PyObject 
* obj0 
= 0 ; 
15526     char *kwnames
[] = { 
15527         (char *) "self", NULL 
 
15530     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearTicks",kwnames
,&obj0
)) goto fail
; 
15531     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION 
| 0); 
15532     if (SWIG_arg_fail(1)) SWIG_fail
; 
15534         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15535         (arg1
)->ClearTicks(); 
15537         wxPyEndAllowThreads(__tstate
); 
15538         if (PyErr_Occurred()) SWIG_fail
; 
15540     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
15547 static PyObject 
*_wrap_Slider_SetTick(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
15548     PyObject 
*resultobj
; 
15549     wxSlider 
*arg1 
= (wxSlider 
*) 0 ; 
15551     PyObject 
* obj0 
= 0 ; 
15552     PyObject 
* obj1 
= 0 ; 
15553     char *kwnames
[] = { 
15554         (char *) "self",(char *) "tickPos", NULL 
 
15557     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetTick",kwnames
,&obj0
,&obj1
)) goto fail
; 
15558     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION 
| 0); 
15559     if (SWIG_arg_fail(1)) SWIG_fail
; 
15561         arg2 
= (int)(SWIG_As_int(obj1
));  
15562         if (SWIG_arg_fail(2)) SWIG_fail
; 
15565         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15566         (arg1
)->SetTick(arg2
); 
15568         wxPyEndAllowThreads(__tstate
); 
15569         if (PyErr_Occurred()) SWIG_fail
; 
15571     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
15578 static PyObject 
*_wrap_Slider_ClearSel(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
15579     PyObject 
*resultobj
; 
15580     wxSlider 
*arg1 
= (wxSlider 
*) 0 ; 
15581     PyObject 
* obj0 
= 0 ; 
15582     char *kwnames
[] = { 
15583         (char *) "self", NULL 
 
15586     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearSel",kwnames
,&obj0
)) goto fail
; 
15587     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION 
| 0); 
15588     if (SWIG_arg_fail(1)) SWIG_fail
; 
15590         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15591         (arg1
)->ClearSel(); 
15593         wxPyEndAllowThreads(__tstate
); 
15594         if (PyErr_Occurred()) SWIG_fail
; 
15596     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
15603 static PyObject 
*_wrap_Slider_GetSelEnd(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
15604     PyObject 
*resultobj
; 
15605     wxSlider 
*arg1 
= (wxSlider 
*) 0 ; 
15607     PyObject 
* obj0 
= 0 ; 
15608     char *kwnames
[] = { 
15609         (char *) "self", NULL 
 
15612     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelEnd",kwnames
,&obj0
)) goto fail
; 
15613     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION 
| 0); 
15614     if (SWIG_arg_fail(1)) SWIG_fail
; 
15616         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15617         result 
= (int)((wxSlider 
const *)arg1
)->GetSelEnd(); 
15619         wxPyEndAllowThreads(__tstate
); 
15620         if (PyErr_Occurred()) SWIG_fail
; 
15623         resultobj 
= SWIG_From_int((int)(result
));  
15631 static PyObject 
*_wrap_Slider_GetSelStart(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
15632     PyObject 
*resultobj
; 
15633     wxSlider 
*arg1 
= (wxSlider 
*) 0 ; 
15635     PyObject 
* obj0 
= 0 ; 
15636     char *kwnames
[] = { 
15637         (char *) "self", NULL 
 
15640     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelStart",kwnames
,&obj0
)) goto fail
; 
15641     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION 
| 0); 
15642     if (SWIG_arg_fail(1)) SWIG_fail
; 
15644         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15645         result 
= (int)((wxSlider 
const *)arg1
)->GetSelStart(); 
15647         wxPyEndAllowThreads(__tstate
); 
15648         if (PyErr_Occurred()) SWIG_fail
; 
15651         resultobj 
= SWIG_From_int((int)(result
));  
15659 static PyObject 
*_wrap_Slider_SetSelection(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
15660     PyObject 
*resultobj
; 
15661     wxSlider 
*arg1 
= (wxSlider 
*) 0 ; 
15664     PyObject 
* obj0 
= 0 ; 
15665     PyObject 
* obj1 
= 0 ; 
15666     PyObject 
* obj2 
= 0 ; 
15667     char *kwnames
[] = { 
15668         (char *) "self",(char *) "min",(char *) "max", NULL 
 
15671     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
15672     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION 
| 0); 
15673     if (SWIG_arg_fail(1)) SWIG_fail
; 
15675         arg2 
= (int)(SWIG_As_int(obj1
));  
15676         if (SWIG_arg_fail(2)) SWIG_fail
; 
15679         arg3 
= (int)(SWIG_As_int(obj2
));  
15680         if (SWIG_arg_fail(3)) SWIG_fail
; 
15683         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15684         (arg1
)->SetSelection(arg2
,arg3
); 
15686         wxPyEndAllowThreads(__tstate
); 
15687         if (PyErr_Occurred()) SWIG_fail
; 
15689     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
15696 static PyObject 
*_wrap_Slider_GetClassDefaultAttributes(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
15697     PyObject 
*resultobj
; 
15698     wxWindowVariant arg1 
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL 
; 
15699     wxVisualAttributes result
; 
15700     PyObject 
* obj0 
= 0 ; 
15701     char *kwnames
[] = { 
15702         (char *) "variant", NULL 
 
15705     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Slider_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
; 
15708             arg1 
= (wxWindowVariant
)(SWIG_As_int(obj0
));  
15709             if (SWIG_arg_fail(1)) SWIG_fail
; 
15713         if (!wxPyCheckForApp()) SWIG_fail
; 
15714         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15715         result 
= wxSlider::GetClassDefaultAttributes((wxWindowVariant 
)arg1
); 
15717         wxPyEndAllowThreads(__tstate
); 
15718         if (PyErr_Occurred()) SWIG_fail
; 
15721         wxVisualAttributes 
* resultptr
; 
15722         resultptr 
= new wxVisualAttributes((wxVisualAttributes 
&)(result
)); 
15723         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1); 
15731 static PyObject 
* Slider_swigregister(PyObject 
*, PyObject 
*args
) { 
15733     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
15734     SWIG_TypeClientData(SWIGTYPE_p_wxSlider
, obj
); 
15736     return Py_BuildValue((char *)""); 
15738 static int _wrap_ToggleButtonNameStr_set(PyObject 
*) { 
15739     PyErr_SetString(PyExc_TypeError
,"Variable ToggleButtonNameStr is read-only."); 
15744 static PyObject 
*_wrap_ToggleButtonNameStr_get(void) { 
15749         pyobj 
= PyUnicode_FromWideChar((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len()); 
15751         pyobj 
= PyString_FromStringAndSize((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len()); 
15758 static PyObject 
*_wrap_new_ToggleButton(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
15759     PyObject 
*resultobj
; 
15760     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
15761     int arg2 
= (int) -1 ; 
15762     wxString 
const &arg3_defvalue 
= wxPyEmptyString 
; 
15763     wxString 
*arg3 
= (wxString 
*) &arg3_defvalue 
; 
15764     wxPoint 
const &arg4_defvalue 
= wxDefaultPosition 
; 
15765     wxPoint 
*arg4 
= (wxPoint 
*) &arg4_defvalue 
; 
15766     wxSize 
const &arg5_defvalue 
= wxDefaultSize 
; 
15767     wxSize 
*arg5 
= (wxSize 
*) &arg5_defvalue 
; 
15768     long arg6 
= (long) 0 ; 
15769     wxValidator 
const &arg7_defvalue 
= wxDefaultValidator 
; 
15770     wxValidator 
*arg7 
= (wxValidator 
*) &arg7_defvalue 
; 
15771     wxString 
const &arg8_defvalue 
= wxPyToggleButtonNameStr 
; 
15772     wxString 
*arg8 
= (wxString 
*) &arg8_defvalue 
; 
15773     wxToggleButton 
*result
; 
15774     bool temp3 
= false ; 
15777     bool temp8 
= false ; 
15778     PyObject 
* obj0 
= 0 ; 
15779     PyObject 
* obj1 
= 0 ; 
15780     PyObject 
* obj2 
= 0 ; 
15781     PyObject 
* obj3 
= 0 ; 
15782     PyObject 
* obj4 
= 0 ; 
15783     PyObject 
* obj5 
= 0 ; 
15784     PyObject 
* obj6 
= 0 ; 
15785     PyObject 
* obj7 
= 0 ; 
15786     char *kwnames
[] = { 
15787         (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL 
 
15790     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ToggleButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
; 
15791     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
15792     if (SWIG_arg_fail(1)) SWIG_fail
; 
15795             arg2 
= (int)(SWIG_As_int(obj1
));  
15796             if (SWIG_arg_fail(2)) SWIG_fail
; 
15801             arg3 
= wxString_in_helper(obj2
); 
15802             if (arg3 
== NULL
) SWIG_fail
; 
15809             if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
; 
15815             if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
; 
15820             arg6 
= (long)(SWIG_As_long(obj5
));  
15821             if (SWIG_arg_fail(6)) SWIG_fail
; 
15826             SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION 
| 0); 
15827             if (SWIG_arg_fail(7)) SWIG_fail
; 
15828             if (arg7 
== NULL
) { 
15829                 SWIG_null_ref("wxValidator"); 
15831             if (SWIG_arg_fail(7)) SWIG_fail
; 
15836             arg8 
= wxString_in_helper(obj7
); 
15837             if (arg8 
== NULL
) SWIG_fail
; 
15842         if (!wxPyCheckForApp()) SWIG_fail
; 
15843         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15844         result 
= (wxToggleButton 
*)new wxToggleButton(arg1
,arg2
,(wxString 
const &)*arg3
,(wxPoint 
const &)*arg4
,(wxSize 
const &)*arg5
,arg6
,(wxValidator 
const &)*arg7
,(wxString 
const &)*arg8
); 
15846         wxPyEndAllowThreads(__tstate
); 
15847         if (PyErr_Occurred()) SWIG_fail
; 
15849     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToggleButton
, 1); 
15872 static PyObject 
*_wrap_new_PreToggleButton(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
15873     PyObject 
*resultobj
; 
15874     wxToggleButton 
*result
; 
15875     char *kwnames
[] = { 
15879     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToggleButton",kwnames
)) goto fail
; 
15881         if (!wxPyCheckForApp()) SWIG_fail
; 
15882         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15883         result 
= (wxToggleButton 
*)new wxToggleButton(); 
15885         wxPyEndAllowThreads(__tstate
); 
15886         if (PyErr_Occurred()) SWIG_fail
; 
15888     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToggleButton
, 1); 
15895 static PyObject 
*_wrap_ToggleButton_Create(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
15896     PyObject 
*resultobj
; 
15897     wxToggleButton 
*arg1 
= (wxToggleButton 
*) 0 ; 
15898     wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
15899     int arg3 
= (int) -1 ; 
15900     wxString 
const &arg4_defvalue 
= wxPyEmptyString 
; 
15901     wxString 
*arg4 
= (wxString 
*) &arg4_defvalue 
; 
15902     wxPoint 
const &arg5_defvalue 
= wxDefaultPosition 
; 
15903     wxPoint 
*arg5 
= (wxPoint 
*) &arg5_defvalue 
; 
15904     wxSize 
const &arg6_defvalue 
= wxDefaultSize 
; 
15905     wxSize 
*arg6 
= (wxSize 
*) &arg6_defvalue 
; 
15906     long arg7 
= (long) 0 ; 
15907     wxValidator 
const &arg8_defvalue 
= wxDefaultValidator 
; 
15908     wxValidator 
*arg8 
= (wxValidator 
*) &arg8_defvalue 
; 
15909     wxString 
const &arg9_defvalue 
= wxPyToggleButtonNameStr 
; 
15910     wxString 
*arg9 
= (wxString 
*) &arg9_defvalue 
; 
15912     bool temp4 
= false ; 
15915     bool temp9 
= false ; 
15916     PyObject 
* obj0 
= 0 ; 
15917     PyObject 
* obj1 
= 0 ; 
15918     PyObject 
* obj2 
= 0 ; 
15919     PyObject 
* obj3 
= 0 ; 
15920     PyObject 
* obj4 
= 0 ; 
15921     PyObject 
* obj5 
= 0 ; 
15922     PyObject 
* obj6 
= 0 ; 
15923     PyObject 
* obj7 
= 0 ; 
15924     PyObject 
* obj8 
= 0 ; 
15925     char *kwnames
[] = { 
15926         (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL 
 
15929     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ToggleButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
; 
15930     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_EXCEPTION 
| 0); 
15931     if (SWIG_arg_fail(1)) SWIG_fail
; 
15932     SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
15933     if (SWIG_arg_fail(2)) SWIG_fail
; 
15936             arg3 
= (int)(SWIG_As_int(obj2
));  
15937             if (SWIG_arg_fail(3)) SWIG_fail
; 
15942             arg4 
= wxString_in_helper(obj3
); 
15943             if (arg4 
== NULL
) SWIG_fail
; 
15950             if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
; 
15956             if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
; 
15961             arg7 
= (long)(SWIG_As_long(obj6
));  
15962             if (SWIG_arg_fail(7)) SWIG_fail
; 
15967             SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION 
| 0); 
15968             if (SWIG_arg_fail(8)) SWIG_fail
; 
15969             if (arg8 
== NULL
) { 
15970                 SWIG_null_ref("wxValidator"); 
15972             if (SWIG_arg_fail(8)) SWIG_fail
; 
15977             arg9 
= wxString_in_helper(obj8
); 
15978             if (arg9 
== NULL
) SWIG_fail
; 
15983         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15984         result 
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString 
const &)*arg4
,(wxPoint 
const &)*arg5
,(wxSize 
const &)*arg6
,arg7
,(wxValidator 
const &)*arg8
,(wxString 
const &)*arg9
); 
15986         wxPyEndAllowThreads(__tstate
); 
15987         if (PyErr_Occurred()) SWIG_fail
; 
15990         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
16014 static PyObject 
*_wrap_ToggleButton_SetValue(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16015     PyObject 
*resultobj
; 
16016     wxToggleButton 
*arg1 
= (wxToggleButton 
*) 0 ; 
16018     PyObject 
* obj0 
= 0 ; 
16019     PyObject 
* obj1 
= 0 ; 
16020     char *kwnames
[] = { 
16021         (char *) "self",(char *) "value", NULL 
 
16024     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
; 
16025     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_EXCEPTION 
| 0); 
16026     if (SWIG_arg_fail(1)) SWIG_fail
; 
16028         arg2 
= (bool)(SWIG_As_bool(obj1
));  
16029         if (SWIG_arg_fail(2)) SWIG_fail
; 
16032         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16033         (arg1
)->SetValue(arg2
); 
16035         wxPyEndAllowThreads(__tstate
); 
16036         if (PyErr_Occurred()) SWIG_fail
; 
16038     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
16045 static PyObject 
*_wrap_ToggleButton_GetValue(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16046     PyObject 
*resultobj
; 
16047     wxToggleButton 
*arg1 
= (wxToggleButton 
*) 0 ; 
16049     PyObject 
* obj0 
= 0 ; 
16050     char *kwnames
[] = { 
16051         (char *) "self", NULL 
 
16054     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToggleButton_GetValue",kwnames
,&obj0
)) goto fail
; 
16055     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_EXCEPTION 
| 0); 
16056     if (SWIG_arg_fail(1)) SWIG_fail
; 
16058         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16059         result 
= (bool)((wxToggleButton 
const *)arg1
)->GetValue(); 
16061         wxPyEndAllowThreads(__tstate
); 
16062         if (PyErr_Occurred()) SWIG_fail
; 
16065         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
16073 static PyObject 
*_wrap_ToggleButton_SetLabel(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16074     PyObject 
*resultobj
; 
16075     wxToggleButton 
*arg1 
= (wxToggleButton 
*) 0 ; 
16076     wxString 
*arg2 
= 0 ; 
16077     bool temp2 
= false ; 
16078     PyObject 
* obj0 
= 0 ; 
16079     PyObject 
* obj1 
= 0 ; 
16080     char *kwnames
[] = { 
16081         (char *) "self",(char *) "label", NULL 
 
16084     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
; 
16085     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_EXCEPTION 
| 0); 
16086     if (SWIG_arg_fail(1)) SWIG_fail
; 
16088         arg2 
= wxString_in_helper(obj1
); 
16089         if (arg2 
== NULL
) SWIG_fail
; 
16093         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16094         (arg1
)->SetLabel((wxString 
const &)*arg2
); 
16096         wxPyEndAllowThreads(__tstate
); 
16097         if (PyErr_Occurred()) SWIG_fail
; 
16099     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
16114 static PyObject 
*_wrap_ToggleButton_GetClassDefaultAttributes(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16115     PyObject 
*resultobj
; 
16116     wxWindowVariant arg1 
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL 
; 
16117     wxVisualAttributes result
; 
16118     PyObject 
* obj0 
= 0 ; 
16119     char *kwnames
[] = { 
16120         (char *) "variant", NULL 
 
16123     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToggleButton_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
; 
16126             arg1 
= (wxWindowVariant
)(SWIG_As_int(obj0
));  
16127             if (SWIG_arg_fail(1)) SWIG_fail
; 
16131         if (!wxPyCheckForApp()) SWIG_fail
; 
16132         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16133         result 
= wxToggleButton::GetClassDefaultAttributes((wxWindowVariant 
)arg1
); 
16135         wxPyEndAllowThreads(__tstate
); 
16136         if (PyErr_Occurred()) SWIG_fail
; 
16139         wxVisualAttributes 
* resultptr
; 
16140         resultptr 
= new wxVisualAttributes((wxVisualAttributes 
&)(result
)); 
16141         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1); 
16149 static PyObject 
* ToggleButton_swigregister(PyObject 
*, PyObject 
*args
) { 
16151     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
16152     SWIG_TypeClientData(SWIGTYPE_p_wxToggleButton
, obj
); 
16154     return Py_BuildValue((char *)""); 
16156 static int _wrap_NOTEBOOK_NAME_set(PyObject 
*) { 
16157     PyErr_SetString(PyExc_TypeError
,"Variable NOTEBOOK_NAME is read-only."); 
16162 static PyObject 
*_wrap_NOTEBOOK_NAME_get(void) { 
16167         pyobj 
= PyUnicode_FromWideChar((&wxPyNOTEBOOK_NAME
)->c_str(), (&wxPyNOTEBOOK_NAME
)->Len()); 
16169         pyobj 
= PyString_FromStringAndSize((&wxPyNOTEBOOK_NAME
)->c_str(), (&wxPyNOTEBOOK_NAME
)->Len()); 
16176 static PyObject 
*_wrap_BookCtrlBase_GetPageCount(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16177     PyObject 
*resultobj
; 
16178     wxBookCtrlBase 
*arg1 
= (wxBookCtrlBase 
*) 0 ; 
16180     PyObject 
* obj0 
= 0 ; 
16181     char *kwnames
[] = { 
16182         (char *) "self", NULL 
 
16185     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBase_GetPageCount",kwnames
,&obj0
)) goto fail
; 
16186     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION 
| 0); 
16187     if (SWIG_arg_fail(1)) SWIG_fail
; 
16189         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16190         result 
= (size_t)((wxBookCtrlBase 
const *)arg1
)->GetPageCount(); 
16192         wxPyEndAllowThreads(__tstate
); 
16193         if (PyErr_Occurred()) SWIG_fail
; 
16196         resultobj 
= SWIG_From_unsigned_SS_long((unsigned long)(result
));  
16204 static PyObject 
*_wrap_BookCtrlBase_GetPage(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16205     PyObject 
*resultobj
; 
16206     wxBookCtrlBase 
*arg1 
= (wxBookCtrlBase 
*) 0 ; 
16209     PyObject 
* obj0 
= 0 ; 
16210     PyObject 
* obj1 
= 0 ; 
16211     char *kwnames
[] = { 
16212         (char *) "self",(char *) "n", NULL 
 
16215     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPage",kwnames
,&obj0
,&obj1
)) goto fail
; 
16216     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION 
| 0); 
16217     if (SWIG_arg_fail(1)) SWIG_fail
; 
16219         arg2 
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));  
16220         if (SWIG_arg_fail(2)) SWIG_fail
; 
16223         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16224         result 
= (wxWindow 
*)(arg1
)->GetPage(arg2
); 
16226         wxPyEndAllowThreads(__tstate
); 
16227         if (PyErr_Occurred()) SWIG_fail
; 
16230         resultobj 
= wxPyMake_wxObject(result
, 0);  
16238 static PyObject 
*_wrap_BookCtrlBase_GetCurrentPage(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16239     PyObject 
*resultobj
; 
16240     wxBookCtrlBase 
*arg1 
= (wxBookCtrlBase 
*) 0 ; 
16242     PyObject 
* obj0 
= 0 ; 
16243     char *kwnames
[] = { 
16244         (char *) "self", NULL 
 
16247     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBase_GetCurrentPage",kwnames
,&obj0
)) goto fail
; 
16248     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION 
| 0); 
16249     if (SWIG_arg_fail(1)) SWIG_fail
; 
16251         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16252         result 
= (wxWindow 
*)((wxBookCtrlBase 
const *)arg1
)->GetCurrentPage(); 
16254         wxPyEndAllowThreads(__tstate
); 
16255         if (PyErr_Occurred()) SWIG_fail
; 
16258         resultobj 
= wxPyMake_wxObject(result
, 0);  
16266 static PyObject 
*_wrap_BookCtrlBase_GetSelection(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16267     PyObject 
*resultobj
; 
16268     wxBookCtrlBase 
*arg1 
= (wxBookCtrlBase 
*) 0 ; 
16270     PyObject 
* obj0 
= 0 ; 
16271     char *kwnames
[] = { 
16272         (char *) "self", NULL 
 
16275     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBase_GetSelection",kwnames
,&obj0
)) goto fail
; 
16276     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION 
| 0); 
16277     if (SWIG_arg_fail(1)) SWIG_fail
; 
16279         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16280         result 
= (int)((wxBookCtrlBase 
const *)arg1
)->GetSelection(); 
16282         wxPyEndAllowThreads(__tstate
); 
16283         if (PyErr_Occurred()) SWIG_fail
; 
16286         resultobj 
= SWIG_From_int((int)(result
));  
16294 static PyObject 
*_wrap_BookCtrlBase_SetPageText(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16295     PyObject 
*resultobj
; 
16296     wxBookCtrlBase 
*arg1 
= (wxBookCtrlBase 
*) 0 ; 
16298     wxString 
*arg3 
= 0 ; 
16300     bool temp3 
= false ; 
16301     PyObject 
* obj0 
= 0 ; 
16302     PyObject 
* obj1 
= 0 ; 
16303     PyObject 
* obj2 
= 0 ; 
16304     char *kwnames
[] = { 
16305         (char *) "self",(char *) "n",(char *) "strText", NULL 
 
16308     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrlBase_SetPageText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
16309     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION 
| 0); 
16310     if (SWIG_arg_fail(1)) SWIG_fail
; 
16312         arg2 
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));  
16313         if (SWIG_arg_fail(2)) SWIG_fail
; 
16316         arg3 
= wxString_in_helper(obj2
); 
16317         if (arg3 
== NULL
) SWIG_fail
; 
16321         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16322         result 
= (bool)(arg1
)->SetPageText(arg2
,(wxString 
const &)*arg3
); 
16324         wxPyEndAllowThreads(__tstate
); 
16325         if (PyErr_Occurred()) SWIG_fail
; 
16328         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
16344 static PyObject 
*_wrap_BookCtrlBase_GetPageText(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16345     PyObject 
*resultobj
; 
16346     wxBookCtrlBase 
*arg1 
= (wxBookCtrlBase 
*) 0 ; 
16349     PyObject 
* obj0 
= 0 ; 
16350     PyObject 
* obj1 
= 0 ; 
16351     char *kwnames
[] = { 
16352         (char *) "self",(char *) "n", NULL 
 
16355     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPageText",kwnames
,&obj0
,&obj1
)) goto fail
; 
16356     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION 
| 0); 
16357     if (SWIG_arg_fail(1)) SWIG_fail
; 
16359         arg2 
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));  
16360         if (SWIG_arg_fail(2)) SWIG_fail
; 
16363         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16364         result 
= ((wxBookCtrlBase 
const *)arg1
)->GetPageText(arg2
); 
16366         wxPyEndAllowThreads(__tstate
); 
16367         if (PyErr_Occurred()) SWIG_fail
; 
16371         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
16373         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
16382 static PyObject 
*_wrap_BookCtrlBase_SetImageList(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16383     PyObject 
*resultobj
; 
16384     wxBookCtrlBase 
*arg1 
= (wxBookCtrlBase 
*) 0 ; 
16385     wxImageList 
*arg2 
= (wxImageList 
*) 0 ; 
16386     PyObject 
* obj0 
= 0 ; 
16387     PyObject 
* obj1 
= 0 ; 
16388     char *kwnames
[] = { 
16389         (char *) "self",(char *) "imageList", NULL 
 
16392     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
; 
16393     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION 
| 0); 
16394     if (SWIG_arg_fail(1)) SWIG_fail
; 
16395     SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION 
| 0); 
16396     if (SWIG_arg_fail(2)) SWIG_fail
; 
16398         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16399         (arg1
)->SetImageList(arg2
); 
16401         wxPyEndAllowThreads(__tstate
); 
16402         if (PyErr_Occurred()) SWIG_fail
; 
16404     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
16411 static PyObject 
*_wrap_BookCtrlBase_AssignImageList(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16412     PyObject 
*resultobj
; 
16413     wxBookCtrlBase 
*arg1 
= (wxBookCtrlBase 
*) 0 ; 
16414     wxImageList 
*arg2 
= (wxImageList 
*) 0 ; 
16415     PyObject 
* obj0 
= 0 ; 
16416     PyObject 
* obj1 
= 0 ; 
16417     char *kwnames
[] = { 
16418         (char *) "self",(char *) "imageList", NULL 
 
16421     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
; 
16422     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION 
| 0); 
16423     if (SWIG_arg_fail(1)) SWIG_fail
; 
16424     SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION 
| SWIG_POINTER_DISOWN
); 
16425     if (SWIG_arg_fail(2)) SWIG_fail
; 
16427         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16428         (arg1
)->AssignImageList(arg2
); 
16430         wxPyEndAllowThreads(__tstate
); 
16431         if (PyErr_Occurred()) SWIG_fail
; 
16433     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
16440 static PyObject 
*_wrap_BookCtrlBase_GetImageList(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16441     PyObject 
*resultobj
; 
16442     wxBookCtrlBase 
*arg1 
= (wxBookCtrlBase 
*) 0 ; 
16443     wxImageList 
*result
; 
16444     PyObject 
* obj0 
= 0 ; 
16445     char *kwnames
[] = { 
16446         (char *) "self", NULL 
 
16449     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBase_GetImageList",kwnames
,&obj0
)) goto fail
; 
16450     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION 
| 0); 
16451     if (SWIG_arg_fail(1)) SWIG_fail
; 
16453         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16454         result 
= (wxImageList 
*)((wxBookCtrlBase 
const *)arg1
)->GetImageList(); 
16456         wxPyEndAllowThreads(__tstate
); 
16457         if (PyErr_Occurred()) SWIG_fail
; 
16460         resultobj 
= wxPyMake_wxObject(result
, 0);  
16468 static PyObject 
*_wrap_BookCtrlBase_GetPageImage(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16469     PyObject 
*resultobj
; 
16470     wxBookCtrlBase 
*arg1 
= (wxBookCtrlBase 
*) 0 ; 
16473     PyObject 
* obj0 
= 0 ; 
16474     PyObject 
* obj1 
= 0 ; 
16475     char *kwnames
[] = { 
16476         (char *) "self",(char *) "n", NULL 
 
16479     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPageImage",kwnames
,&obj0
,&obj1
)) goto fail
; 
16480     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION 
| 0); 
16481     if (SWIG_arg_fail(1)) SWIG_fail
; 
16483         arg2 
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));  
16484         if (SWIG_arg_fail(2)) SWIG_fail
; 
16487         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16488         result 
= (int)((wxBookCtrlBase 
const *)arg1
)->GetPageImage(arg2
); 
16490         wxPyEndAllowThreads(__tstate
); 
16491         if (PyErr_Occurred()) SWIG_fail
; 
16494         resultobj 
= SWIG_From_int((int)(result
));  
16502 static PyObject 
*_wrap_BookCtrlBase_SetPageImage(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16503     PyObject 
*resultobj
; 
16504     wxBookCtrlBase 
*arg1 
= (wxBookCtrlBase 
*) 0 ; 
16508     PyObject 
* obj0 
= 0 ; 
16509     PyObject 
* obj1 
= 0 ; 
16510     PyObject 
* obj2 
= 0 ; 
16511     char *kwnames
[] = { 
16512         (char *) "self",(char *) "n",(char *) "imageId", NULL 
 
16515     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrlBase_SetPageImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
16516     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION 
| 0); 
16517     if (SWIG_arg_fail(1)) SWIG_fail
; 
16519         arg2 
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));  
16520         if (SWIG_arg_fail(2)) SWIG_fail
; 
16523         arg3 
= (int)(SWIG_As_int(obj2
));  
16524         if (SWIG_arg_fail(3)) SWIG_fail
; 
16527         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16528         result 
= (bool)(arg1
)->SetPageImage(arg2
,arg3
); 
16530         wxPyEndAllowThreads(__tstate
); 
16531         if (PyErr_Occurred()) SWIG_fail
; 
16534         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
16542 static PyObject 
*_wrap_BookCtrlBase_SetPageSize(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16543     PyObject 
*resultobj
; 
16544     wxBookCtrlBase 
*arg1 
= (wxBookCtrlBase 
*) 0 ; 
16547     PyObject 
* obj0 
= 0 ; 
16548     PyObject 
* obj1 
= 0 ; 
16549     char *kwnames
[] = { 
16550         (char *) "self",(char *) "size", NULL 
 
16553     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
; 
16554     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION 
| 0); 
16555     if (SWIG_arg_fail(1)) SWIG_fail
; 
16558         if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
; 
16561         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16562         (arg1
)->SetPageSize((wxSize 
const &)*arg2
); 
16564         wxPyEndAllowThreads(__tstate
); 
16565         if (PyErr_Occurred()) SWIG_fail
; 
16567     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
16574 static PyObject 
*_wrap_BookCtrlBase_CalcSizeFromPage(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16575     PyObject 
*resultobj
; 
16576     wxBookCtrlBase 
*arg1 
= (wxBookCtrlBase 
*) 0 ; 
16580     PyObject 
* obj0 
= 0 ; 
16581     PyObject 
* obj1 
= 0 ; 
16582     char *kwnames
[] = { 
16583         (char *) "self",(char *) "sizePage", NULL 
 
16586     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
; 
16587     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION 
| 0); 
16588     if (SWIG_arg_fail(1)) SWIG_fail
; 
16591         if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
; 
16594         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16595         result 
= ((wxBookCtrlBase 
const *)arg1
)->CalcSizeFromPage((wxSize 
const &)*arg2
); 
16597         wxPyEndAllowThreads(__tstate
); 
16598         if (PyErr_Occurred()) SWIG_fail
; 
16601         wxSize 
* resultptr
; 
16602         resultptr 
= new wxSize((wxSize 
&)(result
)); 
16603         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1); 
16611 static PyObject 
*_wrap_BookCtrlBase_DeletePage(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16612     PyObject 
*resultobj
; 
16613     wxBookCtrlBase 
*arg1 
= (wxBookCtrlBase 
*) 0 ; 
16616     PyObject 
* obj0 
= 0 ; 
16617     PyObject 
* obj1 
= 0 ; 
16618     char *kwnames
[] = { 
16619         (char *) "self",(char *) "n", NULL 
 
16622     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_DeletePage",kwnames
,&obj0
,&obj1
)) goto fail
; 
16623     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION 
| 0); 
16624     if (SWIG_arg_fail(1)) SWIG_fail
; 
16626         arg2 
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));  
16627         if (SWIG_arg_fail(2)) SWIG_fail
; 
16630         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16631         result 
= (bool)(arg1
)->DeletePage(arg2
); 
16633         wxPyEndAllowThreads(__tstate
); 
16634         if (PyErr_Occurred()) SWIG_fail
; 
16637         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
16645 static PyObject 
*_wrap_BookCtrlBase_RemovePage(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16646     PyObject 
*resultobj
; 
16647     wxBookCtrlBase 
*arg1 
= (wxBookCtrlBase 
*) 0 ; 
16650     PyObject 
* obj0 
= 0 ; 
16651     PyObject 
* obj1 
= 0 ; 
16652     char *kwnames
[] = { 
16653         (char *) "self",(char *) "n", NULL 
 
16656     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_RemovePage",kwnames
,&obj0
,&obj1
)) goto fail
; 
16657     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION 
| 0); 
16658     if (SWIG_arg_fail(1)) SWIG_fail
; 
16660         arg2 
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));  
16661         if (SWIG_arg_fail(2)) SWIG_fail
; 
16664         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16665         result 
= (bool)(arg1
)->RemovePage(arg2
); 
16667         wxPyEndAllowThreads(__tstate
); 
16668         if (PyErr_Occurred()) SWIG_fail
; 
16671         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
16679 static PyObject 
*_wrap_BookCtrlBase_DeleteAllPages(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16680     PyObject 
*resultobj
; 
16681     wxBookCtrlBase 
*arg1 
= (wxBookCtrlBase 
*) 0 ; 
16683     PyObject 
* obj0 
= 0 ; 
16684     char *kwnames
[] = { 
16685         (char *) "self", NULL 
 
16688     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBase_DeleteAllPages",kwnames
,&obj0
)) goto fail
; 
16689     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION 
| 0); 
16690     if (SWIG_arg_fail(1)) SWIG_fail
; 
16692         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16693         result 
= (bool)(arg1
)->DeleteAllPages(); 
16695         wxPyEndAllowThreads(__tstate
); 
16696         if (PyErr_Occurred()) SWIG_fail
; 
16699         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
16707 static PyObject 
*_wrap_BookCtrlBase_AddPage(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16708     PyObject 
*resultobj
; 
16709     wxBookCtrlBase 
*arg1 
= (wxBookCtrlBase 
*) 0 ; 
16710     wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
16711     wxString 
*arg3 
= 0 ; 
16712     bool arg4 
= (bool) false ; 
16713     int arg5 
= (int) -1 ; 
16715     bool temp3 
= false ; 
16716     PyObject 
* obj0 
= 0 ; 
16717     PyObject 
* obj1 
= 0 ; 
16718     PyObject 
* obj2 
= 0 ; 
16719     PyObject 
* obj3 
= 0 ; 
16720     PyObject 
* obj4 
= 0 ; 
16721     char *kwnames
[] = { 
16722         (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL 
 
16725     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:BookCtrlBase_AddPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
; 
16726     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION 
| 0); 
16727     if (SWIG_arg_fail(1)) SWIG_fail
; 
16728     SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
16729     if (SWIG_arg_fail(2)) SWIG_fail
; 
16731         arg3 
= wxString_in_helper(obj2
); 
16732         if (arg3 
== NULL
) SWIG_fail
; 
16737             arg4 
= (bool)(SWIG_As_bool(obj3
));  
16738             if (SWIG_arg_fail(4)) SWIG_fail
; 
16743             arg5 
= (int)(SWIG_As_int(obj4
));  
16744             if (SWIG_arg_fail(5)) SWIG_fail
; 
16748         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16749         result 
= (bool)(arg1
)->AddPage(arg2
,(wxString 
const &)*arg3
,arg4
,arg5
); 
16751         wxPyEndAllowThreads(__tstate
); 
16752         if (PyErr_Occurred()) SWIG_fail
; 
16755         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
16771 static PyObject 
*_wrap_BookCtrlBase_InsertPage(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16772     PyObject 
*resultobj
; 
16773     wxBookCtrlBase 
*arg1 
= (wxBookCtrlBase 
*) 0 ; 
16775     wxWindow 
*arg3 
= (wxWindow 
*) 0 ; 
16776     wxString 
*arg4 
= 0 ; 
16777     bool arg5 
= (bool) false ; 
16778     int arg6 
= (int) -1 ; 
16780     bool temp4 
= false ; 
16781     PyObject 
* obj0 
= 0 ; 
16782     PyObject 
* obj1 
= 0 ; 
16783     PyObject 
* obj2 
= 0 ; 
16784     PyObject 
* obj3 
= 0 ; 
16785     PyObject 
* obj4 
= 0 ; 
16786     PyObject 
* obj5 
= 0 ; 
16787     char *kwnames
[] = { 
16788         (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL 
 
16791     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:BookCtrlBase_InsertPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
; 
16792     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION 
| 0); 
16793     if (SWIG_arg_fail(1)) SWIG_fail
; 
16795         arg2 
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));  
16796         if (SWIG_arg_fail(2)) SWIG_fail
; 
16798     SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
16799     if (SWIG_arg_fail(3)) SWIG_fail
; 
16801         arg4 
= wxString_in_helper(obj3
); 
16802         if (arg4 
== NULL
) SWIG_fail
; 
16807             arg5 
= (bool)(SWIG_As_bool(obj4
));  
16808             if (SWIG_arg_fail(5)) SWIG_fail
; 
16813             arg6 
= (int)(SWIG_As_int(obj5
));  
16814             if (SWIG_arg_fail(6)) SWIG_fail
; 
16818         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16819         result 
= (bool)(arg1
)->InsertPage(arg2
,arg3
,(wxString 
const &)*arg4
,arg5
,arg6
); 
16821         wxPyEndAllowThreads(__tstate
); 
16822         if (PyErr_Occurred()) SWIG_fail
; 
16825         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
16841 static PyObject 
*_wrap_BookCtrlBase_SetSelection(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16842     PyObject 
*resultobj
; 
16843     wxBookCtrlBase 
*arg1 
= (wxBookCtrlBase 
*) 0 ; 
16846     PyObject 
* obj0 
= 0 ; 
16847     PyObject 
* obj1 
= 0 ; 
16848     char *kwnames
[] = { 
16849         (char *) "self",(char *) "n", NULL 
 
16852     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
; 
16853     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION 
| 0); 
16854     if (SWIG_arg_fail(1)) SWIG_fail
; 
16856         arg2 
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));  
16857         if (SWIG_arg_fail(2)) SWIG_fail
; 
16860         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16861         result 
= (int)(arg1
)->SetSelection(arg2
); 
16863         wxPyEndAllowThreads(__tstate
); 
16864         if (PyErr_Occurred()) SWIG_fail
; 
16867         resultobj 
= SWIG_From_int((int)(result
));  
16875 static PyObject 
*_wrap_BookCtrlBase_AdvanceSelection(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16876     PyObject 
*resultobj
; 
16877     wxBookCtrlBase 
*arg1 
= (wxBookCtrlBase 
*) 0 ; 
16878     bool arg2 
= (bool) true ; 
16879     PyObject 
* obj0 
= 0 ; 
16880     PyObject 
* obj1 
= 0 ; 
16881     char *kwnames
[] = { 
16882         (char *) "self",(char *) "forward", NULL 
 
16885     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:BookCtrlBase_AdvanceSelection",kwnames
,&obj0
,&obj1
)) goto fail
; 
16886     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION 
| 0); 
16887     if (SWIG_arg_fail(1)) SWIG_fail
; 
16890             arg2 
= (bool)(SWIG_As_bool(obj1
));  
16891             if (SWIG_arg_fail(2)) SWIG_fail
; 
16895         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16896         (arg1
)->AdvanceSelection(arg2
); 
16898         wxPyEndAllowThreads(__tstate
); 
16899         if (PyErr_Occurred()) SWIG_fail
; 
16901     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
16908 static PyObject 
*_wrap_BookCtrlBase_GetClassDefaultAttributes(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16909     PyObject 
*resultobj
; 
16910     wxWindowVariant arg1 
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL 
; 
16911     wxVisualAttributes result
; 
16912     PyObject 
* obj0 
= 0 ; 
16913     char *kwnames
[] = { 
16914         (char *) "variant", NULL 
 
16917     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BookCtrlBase_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
; 
16920             arg1 
= (wxWindowVariant
)(SWIG_As_int(obj0
));  
16921             if (SWIG_arg_fail(1)) SWIG_fail
; 
16925         if (!wxPyCheckForApp()) SWIG_fail
; 
16926         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16927         result 
= wxBookCtrlBase::GetClassDefaultAttributes((wxWindowVariant 
)arg1
); 
16929         wxPyEndAllowThreads(__tstate
); 
16930         if (PyErr_Occurred()) SWIG_fail
; 
16933         wxVisualAttributes 
* resultptr
; 
16934         resultptr 
= new wxVisualAttributes((wxVisualAttributes 
&)(result
)); 
16935         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1); 
16943 static PyObject 
* BookCtrlBase_swigregister(PyObject 
*, PyObject 
*args
) { 
16945     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
16946     SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlBase
, obj
); 
16948     return Py_BuildValue((char *)""); 
16950 static PyObject 
*_wrap_new_BookCtrlBaseEvent(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16951     PyObject 
*resultobj
; 
16952     wxEventType arg1 
= (wxEventType
) wxEVT_NULL 
; 
16953     int arg2 
= (int) 0 ; 
16954     int arg3 
= (int) -1 ; 
16955     int arg4 
= (int) -1 ; 
16956     wxBookCtrlBaseEvent 
*result
; 
16957     PyObject 
* obj0 
= 0 ; 
16958     PyObject 
* obj1 
= 0 ; 
16959     PyObject 
* obj2 
= 0 ; 
16960     PyObject 
* obj3 
= 0 ; 
16961     char *kwnames
[] = { 
16962         (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL 
 
16965     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_BookCtrlBaseEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
16968             arg1 
= (wxEventType
)(SWIG_As_int(obj0
));  
16969             if (SWIG_arg_fail(1)) SWIG_fail
; 
16974             arg2 
= (int)(SWIG_As_int(obj1
));  
16975             if (SWIG_arg_fail(2)) SWIG_fail
; 
16980             arg3 
= (int)(SWIG_As_int(obj2
));  
16981             if (SWIG_arg_fail(3)) SWIG_fail
; 
16986             arg4 
= (int)(SWIG_As_int(obj3
));  
16987             if (SWIG_arg_fail(4)) SWIG_fail
; 
16991         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16992         result 
= (wxBookCtrlBaseEvent 
*)new wxBookCtrlBaseEvent(arg1
,arg2
,arg3
,arg4
); 
16994         wxPyEndAllowThreads(__tstate
); 
16995         if (PyErr_Occurred()) SWIG_fail
; 
16997     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrlBaseEvent
, 1); 
17004 static PyObject 
*_wrap_BookCtrlBaseEvent_GetSelection(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
17005     PyObject 
*resultobj
; 
17006     wxBookCtrlBaseEvent 
*arg1 
= (wxBookCtrlBaseEvent 
*) 0 ; 
17008     PyObject 
* obj0 
= 0 ; 
17009     char *kwnames
[] = { 
17010         (char *) "self", NULL 
 
17013     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBaseEvent_GetSelection",kwnames
,&obj0
)) goto fail
; 
17014     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
17015     if (SWIG_arg_fail(1)) SWIG_fail
; 
17017         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17018         result 
= (int)((wxBookCtrlBaseEvent 
const *)arg1
)->GetSelection(); 
17020         wxPyEndAllowThreads(__tstate
); 
17021         if (PyErr_Occurred()) SWIG_fail
; 
17024         resultobj 
= SWIG_From_int((int)(result
));  
17032 static PyObject 
*_wrap_BookCtrlBaseEvent_SetSelection(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
17033     PyObject 
*resultobj
; 
17034     wxBookCtrlBaseEvent 
*arg1 
= (wxBookCtrlBaseEvent 
*) 0 ; 
17036     PyObject 
* obj0 
= 0 ; 
17037     PyObject 
* obj1 
= 0 ; 
17038     char *kwnames
[] = { 
17039         (char *) "self",(char *) "nSel", NULL 
 
17042     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBaseEvent_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
; 
17043     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
17044     if (SWIG_arg_fail(1)) SWIG_fail
; 
17046         arg2 
= (int)(SWIG_As_int(obj1
));  
17047         if (SWIG_arg_fail(2)) SWIG_fail
; 
17050         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17051         (arg1
)->SetSelection(arg2
); 
17053         wxPyEndAllowThreads(__tstate
); 
17054         if (PyErr_Occurred()) SWIG_fail
; 
17056     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
17063 static PyObject 
*_wrap_BookCtrlBaseEvent_GetOldSelection(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
17064     PyObject 
*resultobj
; 
17065     wxBookCtrlBaseEvent 
*arg1 
= (wxBookCtrlBaseEvent 
*) 0 ; 
17067     PyObject 
* obj0 
= 0 ; 
17068     char *kwnames
[] = { 
17069         (char *) "self", NULL 
 
17072     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBaseEvent_GetOldSelection",kwnames
,&obj0
)) goto fail
; 
17073     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
17074     if (SWIG_arg_fail(1)) SWIG_fail
; 
17076         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17077         result 
= (int)((wxBookCtrlBaseEvent 
const *)arg1
)->GetOldSelection(); 
17079         wxPyEndAllowThreads(__tstate
); 
17080         if (PyErr_Occurred()) SWIG_fail
; 
17083         resultobj 
= SWIG_From_int((int)(result
));  
17091 static PyObject 
*_wrap_BookCtrlBaseEvent_SetOldSelection(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
17092     PyObject 
*resultobj
; 
17093     wxBookCtrlBaseEvent 
*arg1 
= (wxBookCtrlBaseEvent 
*) 0 ; 
17095     PyObject 
* obj0 
= 0 ; 
17096     PyObject 
* obj1 
= 0 ; 
17097     char *kwnames
[] = { 
17098         (char *) "self",(char *) "nOldSel", NULL 
 
17101     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBaseEvent_SetOldSelection",kwnames
,&obj0
,&obj1
)) goto fail
; 
17102     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
17103     if (SWIG_arg_fail(1)) SWIG_fail
; 
17105         arg2 
= (int)(SWIG_As_int(obj1
));  
17106         if (SWIG_arg_fail(2)) SWIG_fail
; 
17109         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17110         (arg1
)->SetOldSelection(arg2
); 
17112         wxPyEndAllowThreads(__tstate
); 
17113         if (PyErr_Occurred()) SWIG_fail
; 
17115     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
17122 static PyObject 
* BookCtrlBaseEvent_swigregister(PyObject 
*, PyObject 
*args
) { 
17124     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
17125     SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlBaseEvent
, obj
); 
17127     return Py_BuildValue((char *)""); 
17129 static PyObject 
*_wrap_new_Notebook(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
17130     PyObject 
*resultobj
; 
17131     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
17132     int arg2 
= (int) -1 ; 
17133     wxPoint 
const &arg3_defvalue 
= wxDefaultPosition 
; 
17134     wxPoint 
*arg3 
= (wxPoint 
*) &arg3_defvalue 
; 
17135     wxSize 
const &arg4_defvalue 
= wxDefaultSize 
; 
17136     wxSize 
*arg4 
= (wxSize 
*) &arg4_defvalue 
; 
17137     long arg5 
= (long) 0 ; 
17138     wxString 
const &arg6_defvalue 
= wxPyNOTEBOOK_NAME 
; 
17139     wxString 
*arg6 
= (wxString 
*) &arg6_defvalue 
; 
17140     wxNotebook 
*result
; 
17143     bool temp6 
= false ; 
17144     PyObject 
* obj0 
= 0 ; 
17145     PyObject 
* obj1 
= 0 ; 
17146     PyObject 
* obj2 
= 0 ; 
17147     PyObject 
* obj3 
= 0 ; 
17148     PyObject 
* obj4 
= 0 ; 
17149     PyObject 
* obj5 
= 0 ; 
17150     char *kwnames
[] = { 
17151         (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL 
 
17154     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Notebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
; 
17155     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
17156     if (SWIG_arg_fail(1)) SWIG_fail
; 
17159             arg2 
= (int)(SWIG_As_int(obj1
));  
17160             if (SWIG_arg_fail(2)) SWIG_fail
; 
17166             if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
; 
17172             if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
; 
17177             arg5 
= (long)(SWIG_As_long(obj4
));  
17178             if (SWIG_arg_fail(5)) SWIG_fail
; 
17183             arg6 
= wxString_in_helper(obj5
); 
17184             if (arg6 
== NULL
) SWIG_fail
; 
17189         if (!wxPyCheckForApp()) SWIG_fail
; 
17190         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17191         result 
= (wxNotebook 
*)new wxNotebook(arg1
,arg2
,(wxPoint 
const &)*arg3
,(wxSize 
const &)*arg4
,arg5
,(wxString 
const &)*arg6
); 
17193         wxPyEndAllowThreads(__tstate
); 
17194         if (PyErr_Occurred()) SWIG_fail
; 
17196     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebook
, 1); 
17211 static PyObject 
*_wrap_new_PreNotebook(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
17212     PyObject 
*resultobj
; 
17213     wxNotebook 
*result
; 
17214     char *kwnames
[] = { 
17218     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreNotebook",kwnames
)) goto fail
; 
17220         if (!wxPyCheckForApp()) SWIG_fail
; 
17221         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17222         result 
= (wxNotebook 
*)new wxNotebook(); 
17224         wxPyEndAllowThreads(__tstate
); 
17225         if (PyErr_Occurred()) SWIG_fail
; 
17227     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebook
, 1); 
17234 static PyObject 
*_wrap_Notebook_Create(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
17235     PyObject 
*resultobj
; 
17236     wxNotebook 
*arg1 
= (wxNotebook 
*) 0 ; 
17237     wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
17238     int arg3 
= (int) -1 ; 
17239     wxPoint 
const &arg4_defvalue 
= wxDefaultPosition 
; 
17240     wxPoint 
*arg4 
= (wxPoint 
*) &arg4_defvalue 
; 
17241     wxSize 
const &arg5_defvalue 
= wxDefaultSize 
; 
17242     wxSize 
*arg5 
= (wxSize 
*) &arg5_defvalue 
; 
17243     long arg6 
= (long) 0 ; 
17244     wxString 
const &arg7_defvalue 
= wxPyNOTEBOOK_NAME 
; 
17245     wxString 
*arg7 
= (wxString 
*) &arg7_defvalue 
; 
17249     bool temp7 
= false ; 
17250     PyObject 
* obj0 
= 0 ; 
17251     PyObject 
* obj1 
= 0 ; 
17252     PyObject 
* obj2 
= 0 ; 
17253     PyObject 
* obj3 
= 0 ; 
17254     PyObject 
* obj4 
= 0 ; 
17255     PyObject 
* obj5 
= 0 ; 
17256     PyObject 
* obj6 
= 0 ; 
17257     char *kwnames
[] = { 
17258         (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL 
 
17261     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Notebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
; 
17262     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION 
| 0); 
17263     if (SWIG_arg_fail(1)) SWIG_fail
; 
17264     SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
17265     if (SWIG_arg_fail(2)) SWIG_fail
; 
17268             arg3 
= (int)(SWIG_As_int(obj2
));  
17269             if (SWIG_arg_fail(3)) SWIG_fail
; 
17275             if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
; 
17281             if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
; 
17286             arg6 
= (long)(SWIG_As_long(obj5
));  
17287             if (SWIG_arg_fail(6)) SWIG_fail
; 
17292             arg7 
= wxString_in_helper(obj6
); 
17293             if (arg7 
== NULL
) SWIG_fail
; 
17298         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17299         result 
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint 
const &)*arg4
,(wxSize 
const &)*arg5
,arg6
,(wxString 
const &)*arg7
); 
17301         wxPyEndAllowThreads(__tstate
); 
17302         if (PyErr_Occurred()) SWIG_fail
; 
17305         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
17321 static PyObject 
*_wrap_Notebook_GetRowCount(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
17322     PyObject 
*resultobj
; 
17323     wxNotebook 
*arg1 
= (wxNotebook 
*) 0 ; 
17325     PyObject 
* obj0 
= 0 ; 
17326     char *kwnames
[] = { 
17327         (char *) "self", NULL 
 
17330     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Notebook_GetRowCount",kwnames
,&obj0
)) goto fail
; 
17331     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION 
| 0); 
17332     if (SWIG_arg_fail(1)) SWIG_fail
; 
17334         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17335         result 
= (int)((wxNotebook 
const *)arg1
)->GetRowCount(); 
17337         wxPyEndAllowThreads(__tstate
); 
17338         if (PyErr_Occurred()) SWIG_fail
; 
17341         resultobj 
= SWIG_From_int((int)(result
));  
17349 static PyObject 
*_wrap_Notebook_SetPadding(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
17350     PyObject 
*resultobj
; 
17351     wxNotebook 
*arg1 
= (wxNotebook 
*) 0 ; 
17354     PyObject 
* obj0 
= 0 ; 
17355     PyObject 
* obj1 
= 0 ; 
17356     char *kwnames
[] = { 
17357         (char *) "self",(char *) "padding", NULL 
 
17360     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetPadding",kwnames
,&obj0
,&obj1
)) goto fail
; 
17361     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION 
| 0); 
17362     if (SWIG_arg_fail(1)) SWIG_fail
; 
17365         if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
; 
17368         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17369         (arg1
)->SetPadding((wxSize 
const &)*arg2
); 
17371         wxPyEndAllowThreads(__tstate
); 
17372         if (PyErr_Occurred()) SWIG_fail
; 
17374     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
17381 static PyObject 
*_wrap_Notebook_SetTabSize(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
17382     PyObject 
*resultobj
; 
17383     wxNotebook 
*arg1 
= (wxNotebook 
*) 0 ; 
17386     PyObject 
* obj0 
= 0 ; 
17387     PyObject 
* obj1 
= 0 ; 
17388     char *kwnames
[] = { 
17389         (char *) "self",(char *) "sz", NULL 
 
17392     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetTabSize",kwnames
,&obj0
,&obj1
)) goto fail
; 
17393     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION 
| 0); 
17394     if (SWIG_arg_fail(1)) SWIG_fail
; 
17397         if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
; 
17400         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17401         (arg1
)->SetTabSize((wxSize 
const &)*arg2
); 
17403         wxPyEndAllowThreads(__tstate
); 
17404         if (PyErr_Occurred()) SWIG_fail
; 
17406     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
17413 static PyObject 
*_wrap_Notebook_HitTest(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
17414     PyObject 
*resultobj
; 
17415     wxNotebook 
*arg1 
= (wxNotebook 
*) 0 ; 
17416     wxPoint 
*arg2 
= 0 ; 
17417     long *arg3 
= (long *) 0 ; 
17422     PyObject 
* obj0 
= 0 ; 
17423     PyObject 
* obj1 
= 0 ; 
17424     char *kwnames
[] = { 
17425         (char *) "self",(char *) "pt", NULL 
 
17428     arg3 
= &temp3
; res3 
= SWIG_NEWOBJ
; 
17429     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
; 
17430     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION 
| 0); 
17431     if (SWIG_arg_fail(1)) SWIG_fail
; 
17434         if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
17437         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17438         result 
= (int)((wxNotebook 
const *)arg1
)->HitTest((wxPoint 
const &)*arg2
,arg3
); 
17440         wxPyEndAllowThreads(__tstate
); 
17441         if (PyErr_Occurred()) SWIG_fail
; 
17444         resultobj 
= SWIG_From_int((int)(result
));  
17446     resultobj 
= t_output_helper(resultobj
, ((res3 
== SWIG_NEWOBJ
) ? 
17447     SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0))); 
17454 static PyObject 
*_wrap_Notebook_CalcSizeFromPage(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
17455     PyObject 
*resultobj
; 
17456     wxNotebook 
*arg1 
= (wxNotebook 
*) 0 ; 
17460     PyObject 
* obj0 
= 0 ; 
17461     PyObject 
* obj1 
= 0 ; 
17462     char *kwnames
[] = { 
17463         (char *) "self",(char *) "sizePage", NULL 
 
17466     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
; 
17467     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION 
| 0); 
17468     if (SWIG_arg_fail(1)) SWIG_fail
; 
17471         if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
; 
17474         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17475         result 
= ((wxNotebook 
const *)arg1
)->CalcSizeFromPage((wxSize 
const &)*arg2
); 
17477         wxPyEndAllowThreads(__tstate
); 
17478         if (PyErr_Occurred()) SWIG_fail
; 
17481         wxSize 
* resultptr
; 
17482         resultptr 
= new wxSize((wxSize 
&)(result
)); 
17483         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1); 
17491 static PyObject 
*_wrap_Notebook_GetClassDefaultAttributes(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
17492     PyObject 
*resultobj
; 
17493     wxWindowVariant arg1 
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL 
; 
17494     wxVisualAttributes result
; 
17495     PyObject 
* obj0 
= 0 ; 
17496     char *kwnames
[] = { 
17497         (char *) "variant", NULL 
 
17500     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Notebook_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
; 
17503             arg1 
= (wxWindowVariant
)(SWIG_As_int(obj0
));  
17504             if (SWIG_arg_fail(1)) SWIG_fail
; 
17508         if (!wxPyCheckForApp()) SWIG_fail
; 
17509         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17510         result 
= wxNotebook::GetClassDefaultAttributes((wxWindowVariant 
)arg1
); 
17512         wxPyEndAllowThreads(__tstate
); 
17513         if (PyErr_Occurred()) SWIG_fail
; 
17516         wxVisualAttributes 
* resultptr
; 
17517         resultptr 
= new wxVisualAttributes((wxVisualAttributes 
&)(result
)); 
17518         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1); 
17526 static PyObject 
* Notebook_swigregister(PyObject 
*, PyObject 
*args
) { 
17528     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
17529     SWIG_TypeClientData(SWIGTYPE_p_wxNotebook
, obj
); 
17531     return Py_BuildValue((char *)""); 
17533 static PyObject 
*_wrap_new_NotebookEvent(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
17534     PyObject 
*resultobj
; 
17535     wxEventType arg1 
= (wxEventType
) wxEVT_NULL 
; 
17536     int arg2 
= (int) 0 ; 
17537     int arg3 
= (int) -1 ; 
17538     int arg4 
= (int) -1 ; 
17539     wxNotebookEvent 
*result
; 
17540     PyObject 
* obj0 
= 0 ; 
17541     PyObject 
* obj1 
= 0 ; 
17542     PyObject 
* obj2 
= 0 ; 
17543     PyObject 
* obj3 
= 0 ; 
17544     char *kwnames
[] = { 
17545         (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL 
 
17548     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_NotebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
17551             arg1 
= (wxEventType
)(SWIG_As_int(obj0
));  
17552             if (SWIG_arg_fail(1)) SWIG_fail
; 
17557             arg2 
= (int)(SWIG_As_int(obj1
));  
17558             if (SWIG_arg_fail(2)) SWIG_fail
; 
17563             arg3 
= (int)(SWIG_As_int(obj2
));  
17564             if (SWIG_arg_fail(3)) SWIG_fail
; 
17569             arg4 
= (int)(SWIG_As_int(obj3
));  
17570             if (SWIG_arg_fail(4)) SWIG_fail
; 
17574         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17575         result 
= (wxNotebookEvent 
*)new wxNotebookEvent(arg1
,arg2
,arg3
,arg4
); 
17577         wxPyEndAllowThreads(__tstate
); 
17578         if (PyErr_Occurred()) SWIG_fail
; 
17580     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebookEvent
, 1); 
17587 static PyObject 
* NotebookEvent_swigregister(PyObject 
*, PyObject 
*args
) { 
17589     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
17590     SWIG_TypeClientData(SWIGTYPE_p_wxNotebookEvent
, obj
); 
17592     return Py_BuildValue((char *)""); 
17594 static PyObject 
*_wrap_new_Listbook(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
17595     PyObject 
*resultobj
; 
17596     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
17597     int arg2 
= (int) -1 ; 
17598     wxPoint 
const &arg3_defvalue 
= wxDefaultPosition 
; 
17599     wxPoint 
*arg3 
= (wxPoint 
*) &arg3_defvalue 
; 
17600     wxSize 
const &arg4_defvalue 
= wxDefaultSize 
; 
17601     wxSize 
*arg4 
= (wxSize 
*) &arg4_defvalue 
; 
17602     long arg5 
= (long) 0 ; 
17603     wxString 
const &arg6_defvalue 
= wxPyEmptyString 
; 
17604     wxString 
*arg6 
= (wxString 
*) &arg6_defvalue 
; 
17605     wxListbook 
*result
; 
17608     bool temp6 
= false ; 
17609     PyObject 
* obj0 
= 0 ; 
17610     PyObject 
* obj1 
= 0 ; 
17611     PyObject 
* obj2 
= 0 ; 
17612     PyObject 
* obj3 
= 0 ; 
17613     PyObject 
* obj4 
= 0 ; 
17614     PyObject 
* obj5 
= 0 ; 
17615     char *kwnames
[] = { 
17616         (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL 
 
17619     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Listbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
; 
17620     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
17621     if (SWIG_arg_fail(1)) SWIG_fail
; 
17624             arg2 
= (int)(SWIG_As_int(obj1
));  
17625             if (SWIG_arg_fail(2)) SWIG_fail
; 
17631             if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
; 
17637             if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
; 
17642             arg5 
= (long)(SWIG_As_long(obj4
));  
17643             if (SWIG_arg_fail(5)) SWIG_fail
; 
17648             arg6 
= wxString_in_helper(obj5
); 
17649             if (arg6 
== NULL
) SWIG_fail
; 
17654         if (!wxPyCheckForApp()) SWIG_fail
; 
17655         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17656         result 
= (wxListbook 
*)new wxListbook(arg1
,arg2
,(wxPoint 
const &)*arg3
,(wxSize 
const &)*arg4
,arg5
,(wxString 
const &)*arg6
); 
17658         wxPyEndAllowThreads(__tstate
); 
17659         if (PyErr_Occurred()) SWIG_fail
; 
17661     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbook
, 1); 
17676 static PyObject 
*_wrap_new_PreListbook(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
17677     PyObject 
*resultobj
; 
17678     wxListbook 
*result
; 
17679     char *kwnames
[] = { 
17683     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListbook",kwnames
)) goto fail
; 
17685         if (!wxPyCheckForApp()) SWIG_fail
; 
17686         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17687         result 
= (wxListbook 
*)new wxListbook(); 
17689         wxPyEndAllowThreads(__tstate
); 
17690         if (PyErr_Occurred()) SWIG_fail
; 
17692     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbook
, 1); 
17699 static PyObject 
*_wrap_Listbook_Create(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
17700     PyObject 
*resultobj
; 
17701     wxListbook 
*arg1 
= (wxListbook 
*) 0 ; 
17702     wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
17703     int arg3 
= (int) -1 ; 
17704     wxPoint 
const &arg4_defvalue 
= wxDefaultPosition 
; 
17705     wxPoint 
*arg4 
= (wxPoint 
*) &arg4_defvalue 
; 
17706     wxSize 
const &arg5_defvalue 
= wxDefaultSize 
; 
17707     wxSize 
*arg5 
= (wxSize 
*) &arg5_defvalue 
; 
17708     long arg6 
= (long) 0 ; 
17709     wxString 
const &arg7_defvalue 
= wxPyEmptyString 
; 
17710     wxString 
*arg7 
= (wxString 
*) &arg7_defvalue 
; 
17714     bool temp7 
= false ; 
17715     PyObject 
* obj0 
= 0 ; 
17716     PyObject 
* obj1 
= 0 ; 
17717     PyObject 
* obj2 
= 0 ; 
17718     PyObject 
* obj3 
= 0 ; 
17719     PyObject 
* obj4 
= 0 ; 
17720     PyObject 
* obj5 
= 0 ; 
17721     PyObject 
* obj6 
= 0 ; 
17722     char *kwnames
[] = { 
17723         (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL 
 
17726     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Listbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
; 
17727     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListbook
, SWIG_POINTER_EXCEPTION 
| 0); 
17728     if (SWIG_arg_fail(1)) SWIG_fail
; 
17729     SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
17730     if (SWIG_arg_fail(2)) SWIG_fail
; 
17733             arg3 
= (int)(SWIG_As_int(obj2
));  
17734             if (SWIG_arg_fail(3)) SWIG_fail
; 
17740             if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
; 
17746             if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
; 
17751             arg6 
= (long)(SWIG_As_long(obj5
));  
17752             if (SWIG_arg_fail(6)) SWIG_fail
; 
17757             arg7 
= wxString_in_helper(obj6
); 
17758             if (arg7 
== NULL
) SWIG_fail
; 
17763         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17764         result 
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint 
const &)*arg4
,(wxSize 
const &)*arg5
,arg6
,(wxString 
const &)*arg7
); 
17766         wxPyEndAllowThreads(__tstate
); 
17767         if (PyErr_Occurred()) SWIG_fail
; 
17770         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
17786 static PyObject 
*_wrap_Listbook_IsVertical(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
17787     PyObject 
*resultobj
; 
17788     wxListbook 
*arg1 
= (wxListbook 
*) 0 ; 
17790     PyObject 
* obj0 
= 0 ; 
17791     char *kwnames
[] = { 
17792         (char *) "self", NULL 
 
17795     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Listbook_IsVertical",kwnames
,&obj0
)) goto fail
; 
17796     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListbook
, SWIG_POINTER_EXCEPTION 
| 0); 
17797     if (SWIG_arg_fail(1)) SWIG_fail
; 
17799         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17800         result 
= (bool)((wxListbook 
const *)arg1
)->IsVertical(); 
17802         wxPyEndAllowThreads(__tstate
); 
17803         if (PyErr_Occurred()) SWIG_fail
; 
17806         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
17814 static PyObject 
*_wrap_Listbook_GetListView(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
17815     PyObject 
*resultobj
; 
17816     wxListbook 
*arg1 
= (wxListbook 
*) 0 ; 
17817     wxListView 
*result
; 
17818     PyObject 
* obj0 
= 0 ; 
17819     char *kwnames
[] = { 
17820         (char *) "self", NULL 
 
17823     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Listbook_GetListView",kwnames
,&obj0
)) goto fail
; 
17824     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListbook
, SWIG_POINTER_EXCEPTION 
| 0); 
17825     if (SWIG_arg_fail(1)) SWIG_fail
; 
17827         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17828         result 
= (wxListView 
*)(arg1
)->GetListView(); 
17830         wxPyEndAllowThreads(__tstate
); 
17831         if (PyErr_Occurred()) SWIG_fail
; 
17833     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 0); 
17840 static PyObject 
* Listbook_swigregister(PyObject 
*, PyObject 
*args
) { 
17842     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
17843     SWIG_TypeClientData(SWIGTYPE_p_wxListbook
, obj
); 
17845     return Py_BuildValue((char *)""); 
17847 static PyObject 
*_wrap_new_ListbookEvent(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
17848     PyObject 
*resultobj
; 
17849     wxEventType arg1 
= (wxEventType
) wxEVT_NULL 
; 
17850     int arg2 
= (int) 0 ; 
17851     int arg3 
= (int) -1 ; 
17852     int arg4 
= (int) -1 ; 
17853     wxListbookEvent 
*result
; 
17854     PyObject 
* obj0 
= 0 ; 
17855     PyObject 
* obj1 
= 0 ; 
17856     PyObject 
* obj2 
= 0 ; 
17857     PyObject 
* obj3 
= 0 ; 
17858     char *kwnames
[] = { 
17859         (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL 
 
17862     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ListbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
17865             arg1 
= (wxEventType
)(SWIG_As_int(obj0
));  
17866             if (SWIG_arg_fail(1)) SWIG_fail
; 
17871             arg2 
= (int)(SWIG_As_int(obj1
));  
17872             if (SWIG_arg_fail(2)) SWIG_fail
; 
17877             arg3 
= (int)(SWIG_As_int(obj2
));  
17878             if (SWIG_arg_fail(3)) SWIG_fail
; 
17883             arg4 
= (int)(SWIG_As_int(obj3
));  
17884             if (SWIG_arg_fail(4)) SWIG_fail
; 
17888         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17889         result 
= (wxListbookEvent 
*)new wxListbookEvent(arg1
,arg2
,arg3
,arg4
); 
17891         wxPyEndAllowThreads(__tstate
); 
17892         if (PyErr_Occurred()) SWIG_fail
; 
17894     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbookEvent
, 1); 
17901 static PyObject 
* ListbookEvent_swigregister(PyObject 
*, PyObject 
*args
) { 
17903     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
17904     SWIG_TypeClientData(SWIGTYPE_p_wxListbookEvent
, obj
); 
17906     return Py_BuildValue((char *)""); 
17908 static PyObject 
*_wrap_new_Choicebook(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
17909     PyObject 
*resultobj
; 
17910     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
17912     wxPoint 
const &arg3_defvalue 
= wxDefaultPosition 
; 
17913     wxPoint 
*arg3 
= (wxPoint 
*) &arg3_defvalue 
; 
17914     wxSize 
const &arg4_defvalue 
= wxDefaultSize 
; 
17915     wxSize 
*arg4 
= (wxSize 
*) &arg4_defvalue 
; 
17916     long arg5 
= (long) 0 ; 
17917     wxString 
const &arg6_defvalue 
= wxPyEmptyString 
; 
17918     wxString 
*arg6 
= (wxString 
*) &arg6_defvalue 
; 
17919     wxChoicebook 
*result
; 
17922     bool temp6 
= false ; 
17923     PyObject 
* obj0 
= 0 ; 
17924     PyObject 
* obj1 
= 0 ; 
17925     PyObject 
* obj2 
= 0 ; 
17926     PyObject 
* obj3 
= 0 ; 
17927     PyObject 
* obj4 
= 0 ; 
17928     PyObject 
* obj5 
= 0 ; 
17929     char *kwnames
[] = { 
17930         (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL 
 
17933     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Choicebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
; 
17934     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
17935     if (SWIG_arg_fail(1)) SWIG_fail
; 
17937         arg2 
= (int)(SWIG_As_int(obj1
));  
17938         if (SWIG_arg_fail(2)) SWIG_fail
; 
17943             if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
; 
17949             if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
; 
17954             arg5 
= (long)(SWIG_As_long(obj4
));  
17955             if (SWIG_arg_fail(5)) SWIG_fail
; 
17960             arg6 
= wxString_in_helper(obj5
); 
17961             if (arg6 
== NULL
) SWIG_fail
; 
17966         if (!wxPyCheckForApp()) SWIG_fail
; 
17967         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17968         result 
= (wxChoicebook 
*)new wxChoicebook(arg1
,arg2
,(wxPoint 
const &)*arg3
,(wxSize 
const &)*arg4
,arg5
,(wxString 
const &)*arg6
); 
17970         wxPyEndAllowThreads(__tstate
); 
17971         if (PyErr_Occurred()) SWIG_fail
; 
17973     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoicebook
, 1); 
17988 static PyObject 
*_wrap_new_PreChoicebook(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
17989     PyObject 
*resultobj
; 
17990     wxChoicebook 
*result
; 
17991     char *kwnames
[] = { 
17995     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreChoicebook",kwnames
)) goto fail
; 
17997         if (!wxPyCheckForApp()) SWIG_fail
; 
17998         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17999         result 
= (wxChoicebook 
*)new wxChoicebook(); 
18001         wxPyEndAllowThreads(__tstate
); 
18002         if (PyErr_Occurred()) SWIG_fail
; 
18004     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoicebook
, 1); 
18011 static PyObject 
*_wrap_Choicebook_Create(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
18012     PyObject 
*resultobj
; 
18013     wxChoicebook 
*arg1 
= (wxChoicebook 
*) 0 ; 
18014     wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
18016     wxPoint 
const &arg4_defvalue 
= wxDefaultPosition 
; 
18017     wxPoint 
*arg4 
= (wxPoint 
*) &arg4_defvalue 
; 
18018     wxSize 
const &arg5_defvalue 
= wxDefaultSize 
; 
18019     wxSize 
*arg5 
= (wxSize 
*) &arg5_defvalue 
; 
18020     long arg6 
= (long) 0 ; 
18021     wxString 
const &arg7_defvalue 
= wxPyEmptyString 
; 
18022     wxString 
*arg7 
= (wxString 
*) &arg7_defvalue 
; 
18026     bool temp7 
= false ; 
18027     PyObject 
* obj0 
= 0 ; 
18028     PyObject 
* obj1 
= 0 ; 
18029     PyObject 
* obj2 
= 0 ; 
18030     PyObject 
* obj3 
= 0 ; 
18031     PyObject 
* obj4 
= 0 ; 
18032     PyObject 
* obj5 
= 0 ; 
18033     PyObject 
* obj6 
= 0 ; 
18034     char *kwnames
[] = { 
18035         (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL 
 
18038     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Choicebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
; 
18039     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_EXCEPTION 
| 0); 
18040     if (SWIG_arg_fail(1)) SWIG_fail
; 
18041     SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
18042     if (SWIG_arg_fail(2)) SWIG_fail
; 
18044         arg3 
= (int)(SWIG_As_int(obj2
));  
18045         if (SWIG_arg_fail(3)) SWIG_fail
; 
18050             if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
; 
18056             if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
; 
18061             arg6 
= (long)(SWIG_As_long(obj5
));  
18062             if (SWIG_arg_fail(6)) SWIG_fail
; 
18067             arg7 
= wxString_in_helper(obj6
); 
18068             if (arg7 
== NULL
) SWIG_fail
; 
18073         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18074         result 
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint 
const &)*arg4
,(wxSize 
const &)*arg5
,arg6
,(wxString 
const &)*arg7
); 
18076         wxPyEndAllowThreads(__tstate
); 
18077         if (PyErr_Occurred()) SWIG_fail
; 
18080         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
18096 static PyObject 
*_wrap_Choicebook_IsVertical(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
18097     PyObject 
*resultobj
; 
18098     wxChoicebook 
*arg1 
= (wxChoicebook 
*) 0 ; 
18100     PyObject 
* obj0 
= 0 ; 
18101     char *kwnames
[] = { 
18102         (char *) "self", NULL 
 
18105     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Choicebook_IsVertical",kwnames
,&obj0
)) goto fail
; 
18106     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_EXCEPTION 
| 0); 
18107     if (SWIG_arg_fail(1)) SWIG_fail
; 
18109         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18110         result 
= (bool)((wxChoicebook 
const *)arg1
)->IsVertical(); 
18112         wxPyEndAllowThreads(__tstate
); 
18113         if (PyErr_Occurred()) SWIG_fail
; 
18116         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
18124 static PyObject 
*_wrap_Choicebook_DeleteAllPages(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
18125     PyObject 
*resultobj
; 
18126     wxChoicebook 
*arg1 
= (wxChoicebook 
*) 0 ; 
18128     PyObject 
* obj0 
= 0 ; 
18129     char *kwnames
[] = { 
18130         (char *) "self", NULL 
 
18133     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Choicebook_DeleteAllPages",kwnames
,&obj0
)) goto fail
; 
18134     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_EXCEPTION 
| 0); 
18135     if (SWIG_arg_fail(1)) SWIG_fail
; 
18137         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18138         result 
= (bool)(arg1
)->DeleteAllPages(); 
18140         wxPyEndAllowThreads(__tstate
); 
18141         if (PyErr_Occurred()) SWIG_fail
; 
18144         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
18152 static PyObject 
* Choicebook_swigregister(PyObject 
*, PyObject 
*args
) { 
18154     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
18155     SWIG_TypeClientData(SWIGTYPE_p_wxChoicebook
, obj
); 
18157     return Py_BuildValue((char *)""); 
18159 static PyObject 
*_wrap_new_ChoicebookEvent(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
18160     PyObject 
*resultobj
; 
18161     wxEventType arg1 
= (wxEventType
) wxEVT_NULL 
; 
18162     int arg2 
= (int) 0 ; 
18163     int arg3 
= (int) -1 ; 
18164     int arg4 
= (int) -1 ; 
18165     wxChoicebookEvent 
*result
; 
18166     PyObject 
* obj0 
= 0 ; 
18167     PyObject 
* obj1 
= 0 ; 
18168     PyObject 
* obj2 
= 0 ; 
18169     PyObject 
* obj3 
= 0 ; 
18170     char *kwnames
[] = { 
18171         (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL 
 
18174     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ChoicebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
18177             arg1 
= (wxEventType
)(SWIG_As_int(obj0
));  
18178             if (SWIG_arg_fail(1)) SWIG_fail
; 
18183             arg2 
= (int)(SWIG_As_int(obj1
));  
18184             if (SWIG_arg_fail(2)) SWIG_fail
; 
18189             arg3 
= (int)(SWIG_As_int(obj2
));  
18190             if (SWIG_arg_fail(3)) SWIG_fail
; 
18195             arg4 
= (int)(SWIG_As_int(obj3
));  
18196             if (SWIG_arg_fail(4)) SWIG_fail
; 
18200         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18201         result 
= (wxChoicebookEvent 
*)new wxChoicebookEvent(arg1
,arg2
,arg3
,arg4
); 
18203         wxPyEndAllowThreads(__tstate
); 
18204         if (PyErr_Occurred()) SWIG_fail
; 
18206     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoicebookEvent
, 1); 
18213 static PyObject 
* ChoicebookEvent_swigregister(PyObject 
*, PyObject 
*args
) { 
18215     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
18216     SWIG_TypeClientData(SWIGTYPE_p_wxChoicebookEvent
, obj
); 
18218     return Py_BuildValue((char *)""); 
18220 static PyObject 
*_wrap_new_BookCtrlSizer(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
18221     PyObject 
*resultobj
; 
18222     wxBookCtrlBase 
*arg1 
= (wxBookCtrlBase 
*) 0 ; 
18223     wxBookCtrlSizer 
*result
; 
18224     PyObject 
* obj0 
= 0 ; 
18225     char *kwnames
[] = { 
18226         (char *) "nb", NULL 
 
18229     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BookCtrlSizer",kwnames
,&obj0
)) goto fail
; 
18230     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION 
| 0); 
18231     if (SWIG_arg_fail(1)) SWIG_fail
; 
18233         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18234         result 
= (wxBookCtrlSizer 
*)new wxBookCtrlSizer(arg1
); 
18236         wxPyEndAllowThreads(__tstate
); 
18237         if (PyErr_Occurred()) SWIG_fail
; 
18239     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrlSizer
, 1); 
18246 static PyObject 
*_wrap_BookCtrlSizer_RecalcSizes(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
18247     PyObject 
*resultobj
; 
18248     wxBookCtrlSizer 
*arg1 
= (wxBookCtrlSizer 
*) 0 ; 
18249     PyObject 
* obj0 
= 0 ; 
18250     char *kwnames
[] = { 
18251         (char *) "self", NULL 
 
18254     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
; 
18255     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlSizer
, SWIG_POINTER_EXCEPTION 
| 0); 
18256     if (SWIG_arg_fail(1)) SWIG_fail
; 
18258         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18259         (arg1
)->RecalcSizes(); 
18261         wxPyEndAllowThreads(__tstate
); 
18262         if (PyErr_Occurred()) SWIG_fail
; 
18264     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
18271 static PyObject 
*_wrap_BookCtrlSizer_CalcMin(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
18272     PyObject 
*resultobj
; 
18273     wxBookCtrlSizer 
*arg1 
= (wxBookCtrlSizer 
*) 0 ; 
18275     PyObject 
* obj0 
= 0 ; 
18276     char *kwnames
[] = { 
18277         (char *) "self", NULL 
 
18280     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_CalcMin",kwnames
,&obj0
)) goto fail
; 
18281     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlSizer
, SWIG_POINTER_EXCEPTION 
| 0); 
18282     if (SWIG_arg_fail(1)) SWIG_fail
; 
18284         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18285         result 
= (arg1
)->CalcMin(); 
18287         wxPyEndAllowThreads(__tstate
); 
18288         if (PyErr_Occurred()) SWIG_fail
; 
18291         wxSize 
* resultptr
; 
18292         resultptr 
= new wxSize((wxSize 
&)(result
)); 
18293         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1); 
18301 static PyObject 
*_wrap_BookCtrlSizer_GetControl(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
18302     PyObject 
*resultobj
; 
18303     wxBookCtrlSizer 
*arg1 
= (wxBookCtrlSizer 
*) 0 ; 
18304     wxBookCtrlBase 
*result
; 
18305     PyObject 
* obj0 
= 0 ; 
18306     char *kwnames
[] = { 
18307         (char *) "self", NULL 
 
18310     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_GetControl",kwnames
,&obj0
)) goto fail
; 
18311     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlSizer
, SWIG_POINTER_EXCEPTION 
| 0); 
18312     if (SWIG_arg_fail(1)) SWIG_fail
; 
18314         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18315         result 
= (wxBookCtrlBase 
*)(arg1
)->GetControl(); 
18317         wxPyEndAllowThreads(__tstate
); 
18318         if (PyErr_Occurred()) SWIG_fail
; 
18320     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrlBase
, 0); 
18327 static PyObject 
* BookCtrlSizer_swigregister(PyObject 
*, PyObject 
*args
) { 
18329     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
18330     SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlSizer
, obj
); 
18332     return Py_BuildValue((char *)""); 
18334 static PyObject 
*_wrap_new_NotebookSizer(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
18335     PyObject 
*resultobj
; 
18336     wxNotebook 
*arg1 
= (wxNotebook 
*) 0 ; 
18337     wxNotebookSizer 
*result
; 
18338     PyObject 
* obj0 
= 0 ; 
18339     char *kwnames
[] = { 
18340         (char *) "nb", NULL 
 
18343     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NotebookSizer",kwnames
,&obj0
)) goto fail
; 
18344     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION 
| 0); 
18345     if (SWIG_arg_fail(1)) SWIG_fail
; 
18347         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18348         result 
= (wxNotebookSizer 
*)new wxNotebookSizer(arg1
); 
18350         wxPyEndAllowThreads(__tstate
); 
18351         if (PyErr_Occurred()) SWIG_fail
; 
18353     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebookSizer
, 1); 
18360 static PyObject 
*_wrap_NotebookSizer_RecalcSizes(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
18361     PyObject 
*resultobj
; 
18362     wxNotebookSizer 
*arg1 
= (wxNotebookSizer 
*) 0 ; 
18363     PyObject 
* obj0 
= 0 ; 
18364     char *kwnames
[] = { 
18365         (char *) "self", NULL 
 
18368     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
; 
18369     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebookSizer
, SWIG_POINTER_EXCEPTION 
| 0); 
18370     if (SWIG_arg_fail(1)) SWIG_fail
; 
18372         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18373         (arg1
)->RecalcSizes(); 
18375         wxPyEndAllowThreads(__tstate
); 
18376         if (PyErr_Occurred()) SWIG_fail
; 
18378     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
18385 static PyObject 
*_wrap_NotebookSizer_CalcMin(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
18386     PyObject 
*resultobj
; 
18387     wxNotebookSizer 
*arg1 
= (wxNotebookSizer 
*) 0 ; 
18389     PyObject 
* obj0 
= 0 ; 
18390     char *kwnames
[] = { 
18391         (char *) "self", NULL 
 
18394     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_CalcMin",kwnames
,&obj0
)) goto fail
; 
18395     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebookSizer
, SWIG_POINTER_EXCEPTION 
| 0); 
18396     if (SWIG_arg_fail(1)) SWIG_fail
; 
18398         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18399         result 
= (arg1
)->CalcMin(); 
18401         wxPyEndAllowThreads(__tstate
); 
18402         if (PyErr_Occurred()) SWIG_fail
; 
18405         wxSize 
* resultptr
; 
18406         resultptr 
= new wxSize((wxSize 
&)(result
)); 
18407         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1); 
18415 static PyObject 
*_wrap_NotebookSizer_GetNotebook(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
18416     PyObject 
*resultobj
; 
18417     wxNotebookSizer 
*arg1 
= (wxNotebookSizer 
*) 0 ; 
18418     wxNotebook 
*result
; 
18419     PyObject 
* obj0 
= 0 ; 
18420     char *kwnames
[] = { 
18421         (char *) "self", NULL 
 
18424     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_GetNotebook",kwnames
,&obj0
)) goto fail
; 
18425     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebookSizer
, SWIG_POINTER_EXCEPTION 
| 0); 
18426     if (SWIG_arg_fail(1)) SWIG_fail
; 
18428         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18429         result 
= (wxNotebook 
*)(arg1
)->GetNotebook(); 
18431         wxPyEndAllowThreads(__tstate
); 
18432         if (PyErr_Occurred()) SWIG_fail
; 
18435         resultobj 
= wxPyMake_wxObject(result
, 0);  
18443 static PyObject 
* NotebookSizer_swigregister(PyObject 
*, PyObject 
*args
) { 
18445     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
18446     SWIG_TypeClientData(SWIGTYPE_p_wxNotebookSizer
, obj
); 
18448     return Py_BuildValue((char *)""); 
18450 static PyObject 
*_wrap_ToolBarToolBase_GetId(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
18451     PyObject 
*resultobj
; 
18452     wxToolBarToolBase 
*arg1 
= (wxToolBarToolBase 
*) 0 ; 
18454     PyObject 
* obj0 
= 0 ; 
18455     char *kwnames
[] = { 
18456         (char *) "self", NULL 
 
18459     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetId",kwnames
,&obj0
)) goto fail
; 
18460     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION 
| 0); 
18461     if (SWIG_arg_fail(1)) SWIG_fail
; 
18463         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18464         result 
= (int)(arg1
)->GetId(); 
18466         wxPyEndAllowThreads(__tstate
); 
18467         if (PyErr_Occurred()) SWIG_fail
; 
18470         resultobj 
= SWIG_From_int((int)(result
));  
18478 static PyObject 
*_wrap_ToolBarToolBase_GetControl(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
18479     PyObject 
*resultobj
; 
18480     wxToolBarToolBase 
*arg1 
= (wxToolBarToolBase 
*) 0 ; 
18482     PyObject 
* obj0 
= 0 ; 
18483     char *kwnames
[] = { 
18484         (char *) "self", NULL 
 
18487     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetControl",kwnames
,&obj0
)) goto fail
; 
18488     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION 
| 0); 
18489     if (SWIG_arg_fail(1)) SWIG_fail
; 
18491         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18492         result 
= (wxControl 
*)(arg1
)->GetControl(); 
18494         wxPyEndAllowThreads(__tstate
); 
18495         if (PyErr_Occurred()) SWIG_fail
; 
18498         resultobj 
= wxPyMake_wxObject(result
, 0);  
18506 static PyObject 
*_wrap_ToolBarToolBase_GetToolBar(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
18507     PyObject 
*resultobj
; 
18508     wxToolBarToolBase 
*arg1 
= (wxToolBarToolBase 
*) 0 ; 
18509     wxToolBarBase 
*result
; 
18510     PyObject 
* obj0 
= 0 ; 
18511     char *kwnames
[] = { 
18512         (char *) "self", NULL 
 
18515     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetToolBar",kwnames
,&obj0
)) goto fail
; 
18516     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION 
| 0); 
18517     if (SWIG_arg_fail(1)) SWIG_fail
; 
18519         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18520         result 
= (wxToolBarBase 
*)(arg1
)->GetToolBar(); 
18522         wxPyEndAllowThreads(__tstate
); 
18523         if (PyErr_Occurred()) SWIG_fail
; 
18526         resultobj 
= wxPyMake_wxObject(result
, 0);  
18534 static PyObject 
*_wrap_ToolBarToolBase_IsButton(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
18535     PyObject 
*resultobj
; 
18536     wxToolBarToolBase 
*arg1 
= (wxToolBarToolBase 
*) 0 ; 
18538     PyObject 
* obj0 
= 0 ; 
18539     char *kwnames
[] = { 
18540         (char *) "self", NULL 
 
18543     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsButton",kwnames
,&obj0
)) goto fail
; 
18544     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION 
| 0); 
18545     if (SWIG_arg_fail(1)) SWIG_fail
; 
18547         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18548         result 
= (int)(arg1
)->IsButton(); 
18550         wxPyEndAllowThreads(__tstate
); 
18551         if (PyErr_Occurred()) SWIG_fail
; 
18554         resultobj 
= SWIG_From_int((int)(result
));  
18562 static PyObject 
*_wrap_ToolBarToolBase_IsControl(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
18563     PyObject 
*resultobj
; 
18564     wxToolBarToolBase 
*arg1 
= (wxToolBarToolBase 
*) 0 ; 
18566     PyObject 
* obj0 
= 0 ; 
18567     char *kwnames
[] = { 
18568         (char *) "self", NULL 
 
18571     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsControl",kwnames
,&obj0
)) goto fail
; 
18572     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION 
| 0); 
18573     if (SWIG_arg_fail(1)) SWIG_fail
; 
18575         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18576         result 
= (int)(arg1
)->IsControl(); 
18578         wxPyEndAllowThreads(__tstate
); 
18579         if (PyErr_Occurred()) SWIG_fail
; 
18582         resultobj 
= SWIG_From_int((int)(result
));  
18590 static PyObject 
*_wrap_ToolBarToolBase_IsSeparator(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
18591     PyObject 
*resultobj
; 
18592     wxToolBarToolBase 
*arg1 
= (wxToolBarToolBase 
*) 0 ; 
18594     PyObject 
* obj0 
= 0 ; 
18595     char *kwnames
[] = { 
18596         (char *) "self", NULL 
 
18599     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsSeparator",kwnames
,&obj0
)) goto fail
; 
18600     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION 
| 0); 
18601     if (SWIG_arg_fail(1)) SWIG_fail
; 
18603         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18604         result 
= (int)(arg1
)->IsSeparator(); 
18606         wxPyEndAllowThreads(__tstate
); 
18607         if (PyErr_Occurred()) SWIG_fail
; 
18610         resultobj 
= SWIG_From_int((int)(result
));  
18618 static PyObject 
*_wrap_ToolBarToolBase_GetStyle(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
18619     PyObject 
*resultobj
; 
18620     wxToolBarToolBase 
*arg1 
= (wxToolBarToolBase 
*) 0 ; 
18622     PyObject 
* obj0 
= 0 ; 
18623     char *kwnames
[] = { 
18624         (char *) "self", NULL 
 
18627     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetStyle",kwnames
,&obj0
)) goto fail
; 
18628     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION 
| 0); 
18629     if (SWIG_arg_fail(1)) SWIG_fail
; 
18631         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18632         result 
= (int)(arg1
)->GetStyle(); 
18634         wxPyEndAllowThreads(__tstate
); 
18635         if (PyErr_Occurred()) SWIG_fail
; 
18638         resultobj 
= SWIG_From_int((int)(result
));  
18646 static PyObject 
*_wrap_ToolBarToolBase_GetKind(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
18647     PyObject 
*resultobj
; 
18648     wxToolBarToolBase 
*arg1 
= (wxToolBarToolBase 
*) 0 ; 
18650     PyObject 
* obj0 
= 0 ; 
18651     char *kwnames
[] = { 
18652         (char *) "self", NULL 
 
18655     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetKind",kwnames
,&obj0
)) goto fail
; 
18656     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION 
| 0); 
18657     if (SWIG_arg_fail(1)) SWIG_fail
; 
18659         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18660         result 
= (wxItemKind
)(arg1
)->GetKind(); 
18662         wxPyEndAllowThreads(__tstate
); 
18663         if (PyErr_Occurred()) SWIG_fail
; 
18665     resultobj 
= SWIG_From_int((result
)); 
18672 static PyObject 
*_wrap_ToolBarToolBase_IsEnabled(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
18673     PyObject 
*resultobj
; 
18674     wxToolBarToolBase 
*arg1 
= (wxToolBarToolBase 
*) 0 ; 
18676     PyObject 
* obj0 
= 0 ; 
18677     char *kwnames
[] = { 
18678         (char *) "self", NULL 
 
18681     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsEnabled",kwnames
,&obj0
)) goto fail
; 
18682     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION 
| 0); 
18683     if (SWIG_arg_fail(1)) SWIG_fail
; 
18685         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18686         result 
= (bool)(arg1
)->IsEnabled(); 
18688         wxPyEndAllowThreads(__tstate
); 
18689         if (PyErr_Occurred()) SWIG_fail
; 
18692         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
18700 static PyObject 
*_wrap_ToolBarToolBase_IsToggled(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
18701     PyObject 
*resultobj
; 
18702     wxToolBarToolBase 
*arg1 
= (wxToolBarToolBase 
*) 0 ; 
18704     PyObject 
* obj0 
= 0 ; 
18705     char *kwnames
[] = { 
18706         (char *) "self", NULL 
 
18709     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsToggled",kwnames
,&obj0
)) goto fail
; 
18710     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION 
| 0); 
18711     if (SWIG_arg_fail(1)) SWIG_fail
; 
18713         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18714         result 
= (bool)(arg1
)->IsToggled(); 
18716         wxPyEndAllowThreads(__tstate
); 
18717         if (PyErr_Occurred()) SWIG_fail
; 
18720         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
18728 static PyObject 
*_wrap_ToolBarToolBase_CanBeToggled(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
18729     PyObject 
*resultobj
; 
18730     wxToolBarToolBase 
*arg1 
= (wxToolBarToolBase 
*) 0 ; 
18732     PyObject 
* obj0 
= 0 ; 
18733     char *kwnames
[] = { 
18734         (char *) "self", NULL 
 
18737     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_CanBeToggled",kwnames
,&obj0
)) goto fail
; 
18738     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION 
| 0); 
18739     if (SWIG_arg_fail(1)) SWIG_fail
; 
18741         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18742         result 
= (bool)(arg1
)->CanBeToggled(); 
18744         wxPyEndAllowThreads(__tstate
); 
18745         if (PyErr_Occurred()) SWIG_fail
; 
18748         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
18756 static PyObject 
*_wrap_ToolBarToolBase_GetNormalBitmap(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
18757     PyObject 
*resultobj
; 
18758     wxToolBarToolBase 
*arg1 
= (wxToolBarToolBase 
*) 0 ; 
18760     PyObject 
* obj0 
= 0 ; 
18761     char *kwnames
[] = { 
18762         (char *) "self", NULL 
 
18765     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetNormalBitmap",kwnames
,&obj0
)) goto fail
; 
18766     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION 
| 0); 
18767     if (SWIG_arg_fail(1)) SWIG_fail
; 
18769         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18771             wxBitmap 
const &_result_ref 
= (arg1
)->GetNormalBitmap(); 
18772             result 
= (wxBitmap 
*) &_result_ref
; 
18775         wxPyEndAllowThreads(__tstate
); 
18776         if (PyErr_Occurred()) SWIG_fail
; 
18779         wxBitmap
* resultptr 
= new wxBitmap(*result
); 
18780         resultobj 
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1); 
18788 static PyObject 
*_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
18789     PyObject 
*resultobj
; 
18790     wxToolBarToolBase 
*arg1 
= (wxToolBarToolBase 
*) 0 ; 
18792     PyObject 
* obj0 
= 0 ; 
18793     char *kwnames
[] = { 
18794         (char *) "self", NULL 
 
18797     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetDisabledBitmap",kwnames
,&obj0
)) goto fail
; 
18798     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION 
| 0); 
18799     if (SWIG_arg_fail(1)) SWIG_fail
; 
18801         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18803             wxBitmap 
const &_result_ref 
= (arg1
)->GetDisabledBitmap(); 
18804             result 
= (wxBitmap 
*) &_result_ref
; 
18807         wxPyEndAllowThreads(__tstate
); 
18808         if (PyErr_Occurred()) SWIG_fail
; 
18811         wxBitmap
* resultptr 
= new wxBitmap(*result
); 
18812         resultobj 
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1); 
18820 static PyObject 
*_wrap_ToolBarToolBase_GetBitmap(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
18821     PyObject 
*resultobj
; 
18822     wxToolBarToolBase 
*arg1 
= (wxToolBarToolBase 
*) 0 ; 
18824     PyObject 
* obj0 
= 0 ; 
18825     char *kwnames
[] = { 
18826         (char *) "self", NULL 
 
18829     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetBitmap",kwnames
,&obj0
)) goto fail
; 
18830     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION 
| 0); 
18831     if (SWIG_arg_fail(1)) SWIG_fail
; 
18833         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18834         result 
= (arg1
)->GetBitmap(); 
18836         wxPyEndAllowThreads(__tstate
); 
18837         if (PyErr_Occurred()) SWIG_fail
; 
18840         wxBitmap 
* resultptr
; 
18841         resultptr 
= new wxBitmap((wxBitmap 
&)(result
)); 
18842         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1); 
18850 static PyObject 
*_wrap_ToolBarToolBase_GetLabel(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
18851     PyObject 
*resultobj
; 
18852     wxToolBarToolBase 
*arg1 
= (wxToolBarToolBase 
*) 0 ; 
18854     PyObject 
* obj0 
= 0 ; 
18855     char *kwnames
[] = { 
18856         (char *) "self", NULL 
 
18859     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLabel",kwnames
,&obj0
)) goto fail
; 
18860     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION 
| 0); 
18861     if (SWIG_arg_fail(1)) SWIG_fail
; 
18863         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18864         result 
= (arg1
)->GetLabel(); 
18866         wxPyEndAllowThreads(__tstate
); 
18867         if (PyErr_Occurred()) SWIG_fail
; 
18871         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
18873         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
18882 static PyObject 
*_wrap_ToolBarToolBase_GetShortHelp(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
18883     PyObject 
*resultobj
; 
18884     wxToolBarToolBase 
*arg1 
= (wxToolBarToolBase 
*) 0 ; 
18886     PyObject 
* obj0 
= 0 ; 
18887     char *kwnames
[] = { 
18888         (char *) "self", NULL 
 
18891     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetShortHelp",kwnames
,&obj0
)) goto fail
; 
18892     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION 
| 0); 
18893     if (SWIG_arg_fail(1)) SWIG_fail
; 
18895         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18896         result 
= (arg1
)->GetShortHelp(); 
18898         wxPyEndAllowThreads(__tstate
); 
18899         if (PyErr_Occurred()) SWIG_fail
; 
18903         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
18905         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
18914 static PyObject 
*_wrap_ToolBarToolBase_GetLongHelp(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
18915     PyObject 
*resultobj
; 
18916     wxToolBarToolBase 
*arg1 
= (wxToolBarToolBase 
*) 0 ; 
18918     PyObject 
* obj0 
= 0 ; 
18919     char *kwnames
[] = { 
18920         (char *) "self", NULL 
 
18923     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLongHelp",kwnames
,&obj0
)) goto fail
; 
18924     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION 
| 0); 
18925     if (SWIG_arg_fail(1)) SWIG_fail
; 
18927         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18928         result 
= (arg1
)->GetLongHelp(); 
18930         wxPyEndAllowThreads(__tstate
); 
18931         if (PyErr_Occurred()) SWIG_fail
; 
18935         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
18937         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
18946 static PyObject 
*_wrap_ToolBarToolBase_Enable(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
18947     PyObject 
*resultobj
; 
18948     wxToolBarToolBase 
*arg1 
= (wxToolBarToolBase 
*) 0 ; 
18951     PyObject 
* obj0 
= 0 ; 
18952     PyObject 
* obj1 
= 0 ; 
18953     char *kwnames
[] = { 
18954         (char *) "self",(char *) "enable", NULL 
 
18957     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Enable",kwnames
,&obj0
,&obj1
)) goto fail
; 
18958     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION 
| 0); 
18959     if (SWIG_arg_fail(1)) SWIG_fail
; 
18961         arg2 
= (bool)(SWIG_As_bool(obj1
));  
18962         if (SWIG_arg_fail(2)) SWIG_fail
; 
18965         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18966         result 
= (bool)(arg1
)->Enable(arg2
); 
18968         wxPyEndAllowThreads(__tstate
); 
18969         if (PyErr_Occurred()) SWIG_fail
; 
18972         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
18980 static PyObject 
*_wrap_ToolBarToolBase_Toggle(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
18981     PyObject 
*resultobj
; 
18982     wxToolBarToolBase 
*arg1 
= (wxToolBarToolBase 
*) 0 ; 
18983     PyObject 
* obj0 
= 0 ; 
18984     char *kwnames
[] = { 
18985         (char *) "self", NULL 
 
18988     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Toggle",kwnames
,&obj0
)) goto fail
; 
18989     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION 
| 0); 
18990     if (SWIG_arg_fail(1)) SWIG_fail
; 
18992         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18995         wxPyEndAllowThreads(__tstate
); 
18996         if (PyErr_Occurred()) SWIG_fail
; 
18998     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
19005 static PyObject 
*_wrap_ToolBarToolBase_SetToggle(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
19006     PyObject 
*resultobj
; 
19007     wxToolBarToolBase 
*arg1 
= (wxToolBarToolBase 
*) 0 ; 
19010     PyObject 
* obj0 
= 0 ; 
19011     PyObject 
* obj1 
= 0 ; 
19012     char *kwnames
[] = { 
19013         (char *) "self",(char *) "toggle", NULL 
 
19016     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetToggle",kwnames
,&obj0
,&obj1
)) goto fail
; 
19017     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION 
| 0); 
19018     if (SWIG_arg_fail(1)) SWIG_fail
; 
19020         arg2 
= (bool)(SWIG_As_bool(obj1
));  
19021         if (SWIG_arg_fail(2)) SWIG_fail
; 
19024         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19025         result 
= (bool)(arg1
)->SetToggle(arg2
); 
19027         wxPyEndAllowThreads(__tstate
); 
19028         if (PyErr_Occurred()) SWIG_fail
; 
19031         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
19039 static PyObject 
*_wrap_ToolBarToolBase_SetShortHelp(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
19040     PyObject 
*resultobj
; 
19041     wxToolBarToolBase 
*arg1 
= (wxToolBarToolBase 
*) 0 ; 
19042     wxString 
*arg2 
= 0 ; 
19044     bool temp2 
= false ; 
19045     PyObject 
* obj0 
= 0 ; 
19046     PyObject 
* obj1 
= 0 ; 
19047     char *kwnames
[] = { 
19048         (char *) "self",(char *) "help", NULL 
 
19051     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
; 
19052     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION 
| 0); 
19053     if (SWIG_arg_fail(1)) SWIG_fail
; 
19055         arg2 
= wxString_in_helper(obj1
); 
19056         if (arg2 
== NULL
) SWIG_fail
; 
19060         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19061         result 
= (bool)(arg1
)->SetShortHelp((wxString 
const &)*arg2
); 
19063         wxPyEndAllowThreads(__tstate
); 
19064         if (PyErr_Occurred()) SWIG_fail
; 
19067         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
19083 static PyObject 
*_wrap_ToolBarToolBase_SetLongHelp(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
19084     PyObject 
*resultobj
; 
19085     wxToolBarToolBase 
*arg1 
= (wxToolBarToolBase 
*) 0 ; 
19086     wxString 
*arg2 
= 0 ; 
19088     bool temp2 
= false ; 
19089     PyObject 
* obj0 
= 0 ; 
19090     PyObject 
* obj1 
= 0 ; 
19091     char *kwnames
[] = { 
19092         (char *) "self",(char *) "help", NULL 
 
19095     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
; 
19096     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION 
| 0); 
19097     if (SWIG_arg_fail(1)) SWIG_fail
; 
19099         arg2 
= wxString_in_helper(obj1
); 
19100         if (arg2 
== NULL
) SWIG_fail
; 
19104         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19105         result 
= (bool)(arg1
)->SetLongHelp((wxString 
const &)*arg2
); 
19107         wxPyEndAllowThreads(__tstate
); 
19108         if (PyErr_Occurred()) SWIG_fail
; 
19111         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
19127 static PyObject 
*_wrap_ToolBarToolBase_SetNormalBitmap(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
19128     PyObject 
*resultobj
; 
19129     wxToolBarToolBase 
*arg1 
= (wxToolBarToolBase 
*) 0 ; 
19130     wxBitmap 
*arg2 
= 0 ; 
19131     PyObject 
* obj0 
= 0 ; 
19132     PyObject 
* obj1 
= 0 ; 
19133     char *kwnames
[] = { 
19134         (char *) "self",(char *) "bmp", NULL 
 
19137     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames
,&obj0
,&obj1
)) goto fail
; 
19138     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION 
| 0); 
19139     if (SWIG_arg_fail(1)) SWIG_fail
; 
19141         SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION 
| 0); 
19142         if (SWIG_arg_fail(2)) SWIG_fail
; 
19143         if (arg2 
== NULL
) { 
19144             SWIG_null_ref("wxBitmap"); 
19146         if (SWIG_arg_fail(2)) SWIG_fail
; 
19149         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19150         (arg1
)->SetNormalBitmap((wxBitmap 
const &)*arg2
); 
19152         wxPyEndAllowThreads(__tstate
); 
19153         if (PyErr_Occurred()) SWIG_fail
; 
19155     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
19162 static PyObject 
*_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
19163     PyObject 
*resultobj
; 
19164     wxToolBarToolBase 
*arg1 
= (wxToolBarToolBase 
*) 0 ; 
19165     wxBitmap 
*arg2 
= 0 ; 
19166     PyObject 
* obj0 
= 0 ; 
19167     PyObject 
* obj1 
= 0 ; 
19168     char *kwnames
[] = { 
19169         (char *) "self",(char *) "bmp", NULL 
 
19172     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) goto fail
; 
19173     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION 
| 0); 
19174     if (SWIG_arg_fail(1)) SWIG_fail
; 
19176         SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION 
| 0); 
19177         if (SWIG_arg_fail(2)) SWIG_fail
; 
19178         if (arg2 
== NULL
) { 
19179             SWIG_null_ref("wxBitmap"); 
19181         if (SWIG_arg_fail(2)) SWIG_fail
; 
19184         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19185         (arg1
)->SetDisabledBitmap((wxBitmap 
const &)*arg2
); 
19187         wxPyEndAllowThreads(__tstate
); 
19188         if (PyErr_Occurred()) SWIG_fail
; 
19190     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
19197 static PyObject 
*_wrap_ToolBarToolBase_SetLabel(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
19198     PyObject 
*resultobj
; 
19199     wxToolBarToolBase 
*arg1 
= (wxToolBarToolBase 
*) 0 ; 
19200     wxString 
*arg2 
= 0 ; 
19201     bool temp2 
= false ; 
19202     PyObject 
* obj0 
= 0 ; 
19203     PyObject 
* obj1 
= 0 ; 
19204     char *kwnames
[] = { 
19205         (char *) "self",(char *) "label", NULL 
 
19208     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
; 
19209     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION 
| 0); 
19210     if (SWIG_arg_fail(1)) SWIG_fail
; 
19212         arg2 
= wxString_in_helper(obj1
); 
19213         if (arg2 
== NULL
) SWIG_fail
; 
19217         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19218         (arg1
)->SetLabel((wxString 
const &)*arg2
); 
19220         wxPyEndAllowThreads(__tstate
); 
19221         if (PyErr_Occurred()) SWIG_fail
; 
19223     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
19238 static PyObject 
*_wrap_ToolBarToolBase_Detach(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
19239     PyObject 
*resultobj
; 
19240     wxToolBarToolBase 
*arg1 
= (wxToolBarToolBase 
*) 0 ; 
19241     PyObject 
* obj0 
= 0 ; 
19242     char *kwnames
[] = { 
19243         (char *) "self", NULL 
 
19246     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Detach",kwnames
,&obj0
)) goto fail
; 
19247     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION 
| 0); 
19248     if (SWIG_arg_fail(1)) SWIG_fail
; 
19250         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19253         wxPyEndAllowThreads(__tstate
); 
19254         if (PyErr_Occurred()) SWIG_fail
; 
19256     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
19263 static PyObject 
*_wrap_ToolBarToolBase_Attach(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
19264     PyObject 
*resultobj
; 
19265     wxToolBarToolBase 
*arg1 
= (wxToolBarToolBase 
*) 0 ; 
19266     wxToolBarBase 
*arg2 
= (wxToolBarBase 
*) 0 ; 
19267     PyObject 
* obj0 
= 0 ; 
19268     PyObject 
* obj1 
= 0 ; 
19269     char *kwnames
[] = { 
19270         (char *) "self",(char *) "tbar", NULL 
 
19273     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Attach",kwnames
,&obj0
,&obj1
)) goto fail
; 
19274     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION 
| 0); 
19275     if (SWIG_arg_fail(1)) SWIG_fail
; 
19276     SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION 
| 0); 
19277     if (SWIG_arg_fail(2)) SWIG_fail
; 
19279         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19280         (arg1
)->Attach(arg2
); 
19282         wxPyEndAllowThreads(__tstate
); 
19283         if (PyErr_Occurred()) SWIG_fail
; 
19285     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
19292 static PyObject 
*_wrap_ToolBarToolBase_GetClientData(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
19293     PyObject 
*resultobj
; 
19294     wxToolBarToolBase 
*arg1 
= (wxToolBarToolBase 
*) 0 ; 
19296     PyObject 
* obj0 
= 0 ; 
19297     char *kwnames
[] = { 
19298         (char *) "self", NULL 
 
19301     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetClientData",kwnames
,&obj0
)) goto fail
; 
19302     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION 
| 0); 
19303     if (SWIG_arg_fail(1)) SWIG_fail
; 
19305         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19306         result 
= (PyObject 
*)wxToolBarToolBase_GetClientData(arg1
); 
19308         wxPyEndAllowThreads(__tstate
); 
19309         if (PyErr_Occurred()) SWIG_fail
; 
19311     resultobj 
= result
; 
19318 static PyObject 
*_wrap_ToolBarToolBase_SetClientData(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
19319     PyObject 
*resultobj
; 
19320     wxToolBarToolBase 
*arg1 
= (wxToolBarToolBase 
*) 0 ; 
19321     PyObject 
*arg2 
= (PyObject 
*) 0 ; 
19322     PyObject 
* obj0 
= 0 ; 
19323     PyObject 
* obj1 
= 0 ; 
19324     char *kwnames
[] = { 
19325         (char *) "self",(char *) "clientData", NULL 
 
19328     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetClientData",kwnames
,&obj0
,&obj1
)) goto fail
; 
19329     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION 
| 0); 
19330     if (SWIG_arg_fail(1)) SWIG_fail
; 
19333         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19334         wxToolBarToolBase_SetClientData(arg1
,arg2
); 
19336         wxPyEndAllowThreads(__tstate
); 
19337         if (PyErr_Occurred()) SWIG_fail
; 
19339     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
19346 static PyObject 
* ToolBarToolBase_swigregister(PyObject 
*, PyObject 
*args
) { 
19348     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
19349     SWIG_TypeClientData(SWIGTYPE_p_wxToolBarToolBase
, obj
); 
19351     return Py_BuildValue((char *)""); 
19353 static PyObject 
*_wrap_ToolBarBase_DoAddTool(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
19354     PyObject 
*resultobj
; 
19355     wxToolBarBase 
*arg1 
= (wxToolBarBase 
*) 0 ; 
19357     wxString 
*arg3 
= 0 ; 
19358     wxBitmap 
*arg4 
= 0 ; 
19359     wxBitmap 
const &arg5_defvalue 
= wxNullBitmap 
; 
19360     wxBitmap 
*arg5 
= (wxBitmap 
*) &arg5_defvalue 
; 
19361     wxItemKind arg6 
= (wxItemKind
) wxITEM_NORMAL 
; 
19362     wxString 
const &arg7_defvalue 
= wxPyEmptyString 
; 
19363     wxString 
*arg7 
= (wxString 
*) &arg7_defvalue 
; 
19364     wxString 
const &arg8_defvalue 
= wxPyEmptyString 
; 
19365     wxString 
*arg8 
= (wxString 
*) &arg8_defvalue 
; 
19366     PyObject 
*arg9 
= (PyObject 
*) NULL 
; 
19367     wxToolBarToolBase 
*result
; 
19368     bool temp3 
= false ; 
19369     bool temp7 
= false ; 
19370     bool temp8 
= false ; 
19371     PyObject 
* obj0 
= 0 ; 
19372     PyObject 
* obj1 
= 0 ; 
19373     PyObject 
* obj2 
= 0 ; 
19374     PyObject 
* obj3 
= 0 ; 
19375     PyObject 
* obj4 
= 0 ; 
19376     PyObject 
* obj5 
= 0 ; 
19377     PyObject 
* obj6 
= 0 ; 
19378     PyObject 
* obj7 
= 0 ; 
19379     PyObject 
* obj8 
= 0 ; 
19380     char *kwnames
[] = { 
19381         (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL 
 
19384     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
; 
19385     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION 
| 0); 
19386     if (SWIG_arg_fail(1)) SWIG_fail
; 
19388         arg2 
= (int)(SWIG_As_int(obj1
));  
19389         if (SWIG_arg_fail(2)) SWIG_fail
; 
19392         arg3 
= wxString_in_helper(obj2
); 
19393         if (arg3 
== NULL
) SWIG_fail
; 
19397         SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION 
| 0); 
19398         if (SWIG_arg_fail(4)) SWIG_fail
; 
19399         if (arg4 
== NULL
) { 
19400             SWIG_null_ref("wxBitmap"); 
19402         if (SWIG_arg_fail(4)) SWIG_fail
; 
19406             SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION 
| 0); 
19407             if (SWIG_arg_fail(5)) SWIG_fail
; 
19408             if (arg5 
== NULL
) { 
19409                 SWIG_null_ref("wxBitmap"); 
19411             if (SWIG_arg_fail(5)) SWIG_fail
; 
19416             arg6 
= (wxItemKind
)(SWIG_As_int(obj5
));  
19417             if (SWIG_arg_fail(6)) SWIG_fail
; 
19422             arg7 
= wxString_in_helper(obj6
); 
19423             if (arg7 
== NULL
) SWIG_fail
; 
19429             arg8 
= wxString_in_helper(obj7
); 
19430             if (arg8 
== NULL
) SWIG_fail
; 
19438         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19439         result 
= (wxToolBarToolBase 
*)wxToolBarBase_DoAddTool(arg1
,arg2
,(wxString 
const &)*arg3
,(wxBitmap 
const &)*arg4
,(wxBitmap 
const &)*arg5
,(wxItemKind 
)arg6
,(wxString 
const &)*arg7
,(wxString 
const &)*arg8
,arg9
); 
19441         wxPyEndAllowThreads(__tstate
); 
19442         if (PyErr_Occurred()) SWIG_fail
; 
19445         resultobj 
= wxPyMake_wxObject(result
, 0);  
19477 static PyObject 
*_wrap_ToolBarBase_DoInsertTool(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
19478     PyObject 
*resultobj
; 
19479     wxToolBarBase 
*arg1 
= (wxToolBarBase 
*) 0 ; 
19482     wxString 
*arg4 
= 0 ; 
19483     wxBitmap 
*arg5 
= 0 ; 
19484     wxBitmap 
const &arg6_defvalue 
= wxNullBitmap 
; 
19485     wxBitmap 
*arg6 
= (wxBitmap 
*) &arg6_defvalue 
; 
19486     wxItemKind arg7 
= (wxItemKind
) wxITEM_NORMAL 
; 
19487     wxString 
const &arg8_defvalue 
= wxPyEmptyString 
; 
19488     wxString 
*arg8 
= (wxString 
*) &arg8_defvalue 
; 
19489     wxString 
const &arg9_defvalue 
= wxPyEmptyString 
; 
19490     wxString 
*arg9 
= (wxString 
*) &arg9_defvalue 
; 
19491     PyObject 
*arg10 
= (PyObject 
*) NULL 
; 
19492     wxToolBarToolBase 
*result
; 
19493     bool temp4 
= false ; 
19494     bool temp8 
= false ; 
19495     bool temp9 
= false ; 
19496     PyObject 
* obj0 
= 0 ; 
19497     PyObject 
* obj1 
= 0 ; 
19498     PyObject 
* obj2 
= 0 ; 
19499     PyObject 
* obj3 
= 0 ; 
19500     PyObject 
* obj4 
= 0 ; 
19501     PyObject 
* obj5 
= 0 ; 
19502     PyObject 
* obj6 
= 0 ; 
19503     PyObject 
* obj7 
= 0 ; 
19504     PyObject 
* obj8 
= 0 ; 
19505     PyObject 
* obj9 
= 0 ; 
19506     char *kwnames
[] = { 
19507         (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL 
 
19510     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
; 
19511     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION 
| 0); 
19512     if (SWIG_arg_fail(1)) SWIG_fail
; 
19514         arg2 
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));  
19515         if (SWIG_arg_fail(2)) SWIG_fail
; 
19518         arg3 
= (int)(SWIG_As_int(obj2
));  
19519         if (SWIG_arg_fail(3)) SWIG_fail
; 
19522         arg4 
= wxString_in_helper(obj3
); 
19523         if (arg4 
== NULL
) SWIG_fail
; 
19527         SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION 
| 0); 
19528         if (SWIG_arg_fail(5)) SWIG_fail
; 
19529         if (arg5 
== NULL
) { 
19530             SWIG_null_ref("wxBitmap"); 
19532         if (SWIG_arg_fail(5)) SWIG_fail
; 
19536             SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION 
| 0); 
19537             if (SWIG_arg_fail(6)) SWIG_fail
; 
19538             if (arg6 
== NULL
) { 
19539                 SWIG_null_ref("wxBitmap"); 
19541             if (SWIG_arg_fail(6)) SWIG_fail
; 
19546             arg7 
= (wxItemKind
)(SWIG_As_int(obj6
));  
19547             if (SWIG_arg_fail(7)) SWIG_fail
; 
19552             arg8 
= wxString_in_helper(obj7
); 
19553             if (arg8 
== NULL
) SWIG_fail
; 
19559             arg9 
= wxString_in_helper(obj8
); 
19560             if (arg9 
== NULL
) SWIG_fail
; 
19568         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19569         result 
= (wxToolBarToolBase 
*)wxToolBarBase_DoInsertTool(arg1
,arg2
,arg3
,(wxString 
const &)*arg4
,(wxBitmap 
const &)*arg5
,(wxBitmap 
const &)*arg6
,(wxItemKind 
)arg7
,(wxString 
const &)*arg8
,(wxString 
const &)*arg9
,arg10
); 
19571         wxPyEndAllowThreads(__tstate
); 
19572         if (PyErr_Occurred()) SWIG_fail
; 
19575         resultobj 
= wxPyMake_wxObject(result
, 0);  
19607 static PyObject 
*_wrap_ToolBarBase_AddToolItem(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
19608     PyObject 
*resultobj
; 
19609     wxToolBarBase 
*arg1 
= (wxToolBarBase 
*) 0 ; 
19610     wxToolBarToolBase 
*arg2 
= (wxToolBarToolBase 
*) 0 ; 
19611     wxToolBarToolBase 
*result
; 
19612     PyObject 
* obj0 
= 0 ; 
19613     PyObject 
* obj1 
= 0 ; 
19614     char *kwnames
[] = { 
19615         (char *) "self",(char *) "tool", NULL 
 
19618     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddToolItem",kwnames
,&obj0
,&obj1
)) goto fail
; 
19619     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION 
| 0); 
19620     if (SWIG_arg_fail(1)) SWIG_fail
; 
19621     SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION 
| 0); 
19622     if (SWIG_arg_fail(2)) SWIG_fail
; 
19624         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19625         result 
= (wxToolBarToolBase 
*)(arg1
)->AddTool(arg2
); 
19627         wxPyEndAllowThreads(__tstate
); 
19628         if (PyErr_Occurred()) SWIG_fail
; 
19631         resultobj 
= wxPyMake_wxObject(result
, 0);  
19639 static PyObject 
*_wrap_ToolBarBase_InsertToolItem(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
19640     PyObject 
*resultobj
; 
19641     wxToolBarBase 
*arg1 
= (wxToolBarBase 
*) 0 ; 
19643     wxToolBarToolBase 
*arg3 
= (wxToolBarToolBase 
*) 0 ; 
19644     wxToolBarToolBase 
*result
; 
19645     PyObject 
* obj0 
= 0 ; 
19646     PyObject 
* obj1 
= 0 ; 
19647     PyObject 
* obj2 
= 0 ; 
19648     char *kwnames
[] = { 
19649         (char *) "self",(char *) "pos",(char *) "tool", NULL 
 
19652     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
19653     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION 
| 0); 
19654     if (SWIG_arg_fail(1)) SWIG_fail
; 
19656         arg2 
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));  
19657         if (SWIG_arg_fail(2)) SWIG_fail
; 
19659     SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION 
| 0); 
19660     if (SWIG_arg_fail(3)) SWIG_fail
; 
19662         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19663         result 
= (wxToolBarToolBase 
*)(arg1
)->InsertTool(arg2
,arg3
); 
19665         wxPyEndAllowThreads(__tstate
); 
19666         if (PyErr_Occurred()) SWIG_fail
; 
19669         resultobj 
= wxPyMake_wxObject(result
, 0);  
19677 static PyObject 
*_wrap_ToolBarBase_AddControl(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
19678     PyObject 
*resultobj
; 
19679     wxToolBarBase 
*arg1 
= (wxToolBarBase 
*) 0 ; 
19680     wxControl 
*arg2 
= (wxControl 
*) 0 ; 
19681     wxToolBarToolBase 
*result
; 
19682     PyObject 
* obj0 
= 0 ; 
19683     PyObject 
* obj1 
= 0 ; 
19684     char *kwnames
[] = { 
19685         (char *) "self",(char *) "control", NULL 
 
19688     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddControl",kwnames
,&obj0
,&obj1
)) goto fail
; 
19689     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION 
| 0); 
19690     if (SWIG_arg_fail(1)) SWIG_fail
; 
19691     SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION 
| 0); 
19692     if (SWIG_arg_fail(2)) SWIG_fail
; 
19694         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19695         result 
= (wxToolBarToolBase 
*)(arg1
)->AddControl(arg2
); 
19697         wxPyEndAllowThreads(__tstate
); 
19698         if (PyErr_Occurred()) SWIG_fail
; 
19701         resultobj 
= wxPyMake_wxObject(result
, 0);  
19709 static PyObject 
*_wrap_ToolBarBase_InsertControl(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
19710     PyObject 
*resultobj
; 
19711     wxToolBarBase 
*arg1 
= (wxToolBarBase 
*) 0 ; 
19713     wxControl 
*arg3 
= (wxControl 
*) 0 ; 
19714     wxToolBarToolBase 
*result
; 
19715     PyObject 
* obj0 
= 0 ; 
19716     PyObject 
* obj1 
= 0 ; 
19717     PyObject 
* obj2 
= 0 ; 
19718     char *kwnames
[] = { 
19719         (char *) "self",(char *) "pos",(char *) "control", NULL 
 
19722     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertControl",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
19723     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION 
| 0); 
19724     if (SWIG_arg_fail(1)) SWIG_fail
; 
19726         arg2 
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));  
19727         if (SWIG_arg_fail(2)) SWIG_fail
; 
19729     SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION 
| 0); 
19730     if (SWIG_arg_fail(3)) SWIG_fail
; 
19732         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19733         result 
= (wxToolBarToolBase 
*)(arg1
)->InsertControl(arg2
,arg3
); 
19735         wxPyEndAllowThreads(__tstate
); 
19736         if (PyErr_Occurred()) SWIG_fail
; 
19739         resultobj 
= wxPyMake_wxObject(result
, 0);  
19747 static PyObject 
*_wrap_ToolBarBase_FindControl(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
19748     PyObject 
*resultobj
; 
19749     wxToolBarBase 
*arg1 
= (wxToolBarBase 
*) 0 ; 
19752     PyObject 
* obj0 
= 0 ; 
19753     PyObject 
* obj1 
= 0 ; 
19754     char *kwnames
[] = { 
19755         (char *) "self",(char *) "id", NULL 
 
19758     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindControl",kwnames
,&obj0
,&obj1
)) goto fail
; 
19759     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION 
| 0); 
19760     if (SWIG_arg_fail(1)) SWIG_fail
; 
19762         arg2 
= (int)(SWIG_As_int(obj1
));  
19763         if (SWIG_arg_fail(2)) SWIG_fail
; 
19766         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19767         result 
= (wxControl 
*)(arg1
)->FindControl(arg2
); 
19769         wxPyEndAllowThreads(__tstate
); 
19770         if (PyErr_Occurred()) SWIG_fail
; 
19773         resultobj 
= wxPyMake_wxObject(result
, 0);  
19781 static PyObject 
*_wrap_ToolBarBase_AddSeparator(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
19782     PyObject 
*resultobj
; 
19783     wxToolBarBase 
*arg1 
= (wxToolBarBase 
*) 0 ; 
19784     wxToolBarToolBase 
*result
; 
19785     PyObject 
* obj0 
= 0 ; 
19786     char *kwnames
[] = { 
19787         (char *) "self", NULL 
 
19790     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_AddSeparator",kwnames
,&obj0
)) goto fail
; 
19791     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION 
| 0); 
19792     if (SWIG_arg_fail(1)) SWIG_fail
; 
19794         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19795         result 
= (wxToolBarToolBase 
*)(arg1
)->AddSeparator(); 
19797         wxPyEndAllowThreads(__tstate
); 
19798         if (PyErr_Occurred()) SWIG_fail
; 
19801         resultobj 
= wxPyMake_wxObject(result
, 0);  
19809 static PyObject 
*_wrap_ToolBarBase_InsertSeparator(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
19810     PyObject 
*resultobj
; 
19811     wxToolBarBase 
*arg1 
= (wxToolBarBase 
*) 0 ; 
19813     wxToolBarToolBase 
*result
; 
19814     PyObject 
* obj0 
= 0 ; 
19815     PyObject 
* obj1 
= 0 ; 
19816     char *kwnames
[] = { 
19817         (char *) "self",(char *) "pos", NULL 
 
19820     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
; 
19821     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION 
| 0); 
19822     if (SWIG_arg_fail(1)) SWIG_fail
; 
19824         arg2 
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));  
19825         if (SWIG_arg_fail(2)) SWIG_fail
; 
19828         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19829         result 
= (wxToolBarToolBase 
*)(arg1
)->InsertSeparator(arg2
); 
19831         wxPyEndAllowThreads(__tstate
); 
19832         if (PyErr_Occurred()) SWIG_fail
; 
19835         resultobj 
= wxPyMake_wxObject(result
, 0);  
19843 static PyObject 
*_wrap_ToolBarBase_RemoveTool(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
19844     PyObject 
*resultobj
; 
19845     wxToolBarBase 
*arg1 
= (wxToolBarBase 
*) 0 ; 
19847     wxToolBarToolBase 
*result
; 
19848     PyObject 
* obj0 
= 0 ; 
19849     PyObject 
* obj1 
= 0 ; 
19850     char *kwnames
[] = { 
19851         (char *) "self",(char *) "id", NULL 
 
19854     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_RemoveTool",kwnames
,&obj0
,&obj1
)) goto fail
; 
19855     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION 
| 0); 
19856     if (SWIG_arg_fail(1)) SWIG_fail
; 
19858         arg2 
= (int)(SWIG_As_int(obj1
));  
19859         if (SWIG_arg_fail(2)) SWIG_fail
; 
19862         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19863         result 
= (wxToolBarToolBase 
*)(arg1
)->RemoveTool(arg2
); 
19865         wxPyEndAllowThreads(__tstate
); 
19866         if (PyErr_Occurred()) SWIG_fail
; 
19869         resultobj 
= wxPyMake_wxObject(result
, 0);  
19877 static PyObject 
*_wrap_ToolBarBase_DeleteToolByPos(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
19878     PyObject 
*resultobj
; 
19879     wxToolBarBase 
*arg1 
= (wxToolBarBase 
*) 0 ; 
19882     PyObject 
* obj0 
= 0 ; 
19883     PyObject 
* obj1 
= 0 ; 
19884     char *kwnames
[] = { 
19885         (char *) "self",(char *) "pos", NULL 
 
19888     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames
,&obj0
,&obj1
)) goto fail
; 
19889     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION 
| 0); 
19890     if (SWIG_arg_fail(1)) SWIG_fail
; 
19892         arg2 
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));  
19893         if (SWIG_arg_fail(2)) SWIG_fail
; 
19896         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19897         result 
= (bool)(arg1
)->DeleteToolByPos(arg2
); 
19899         wxPyEndAllowThreads(__tstate
); 
19900         if (PyErr_Occurred()) SWIG_fail
; 
19903         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
19911 static PyObject 
*_wrap_ToolBarBase_DeleteTool(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
19912     PyObject 
*resultobj
; 
19913     wxToolBarBase 
*arg1 
= (wxToolBarBase 
*) 0 ; 
19916     PyObject 
* obj0 
= 0 ; 
19917     PyObject 
* obj1 
= 0 ; 
19918     char *kwnames
[] = { 
19919         (char *) "self",(char *) "id", NULL 
 
19922     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteTool",kwnames
,&obj0
,&obj1
)) goto fail
; 
19923     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION 
| 0); 
19924     if (SWIG_arg_fail(1)) SWIG_fail
; 
19926         arg2 
= (int)(SWIG_As_int(obj1
));  
19927         if (SWIG_arg_fail(2)) SWIG_fail
; 
19930         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19931         result 
= (bool)(arg1
)->DeleteTool(arg2
); 
19933         wxPyEndAllowThreads(__tstate
); 
19934         if (PyErr_Occurred()) SWIG_fail
; 
19937         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
19945 static PyObject 
*_wrap_ToolBarBase_ClearTools(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
19946     PyObject 
*resultobj
; 
19947     wxToolBarBase 
*arg1 
= (wxToolBarBase 
*) 0 ; 
19948     PyObject 
* obj0 
= 0 ; 
19949     char *kwnames
[] = { 
19950         (char *) "self", NULL 
 
19953     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_ClearTools",kwnames
,&obj0
)) goto fail
; 
19954     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION 
| 0); 
19955     if (SWIG_arg_fail(1)) SWIG_fail
; 
19957         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19958         (arg1
)->ClearTools(); 
19960         wxPyEndAllowThreads(__tstate
); 
19961         if (PyErr_Occurred()) SWIG_fail
; 
19963     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
19970 static PyObject 
*_wrap_ToolBarBase_Realize(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
19971     PyObject 
*resultobj
; 
19972     wxToolBarBase 
*arg1 
= (wxToolBarBase 
*) 0 ; 
19974     PyObject 
* obj0 
= 0 ; 
19975     char *kwnames
[] = { 
19976         (char *) "self", NULL 
 
19979     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_Realize",kwnames
,&obj0
)) goto fail
; 
19980     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION 
| 0); 
19981     if (SWIG_arg_fail(1)) SWIG_fail
; 
19983         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19984         result 
= (bool)(arg1
)->Realize(); 
19986         wxPyEndAllowThreads(__tstate
); 
19987         if (PyErr_Occurred()) SWIG_fail
; 
19990         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
19998 static PyObject 
*_wrap_ToolBarBase_EnableTool(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
19999     PyObject 
*resultobj
; 
20000     wxToolBarBase 
*arg1 
= (wxToolBarBase 
*) 0 ; 
20003     PyObject 
* obj0 
= 0 ; 
20004     PyObject 
* obj1 
= 0 ; 
20005     PyObject 
* obj2 
= 0 ; 
20006     char *kwnames
[] = { 
20007         (char *) "self",(char *) "id",(char *) "enable", NULL 
 
20010     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_EnableTool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
20011     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION 
| 0); 
20012     if (SWIG_arg_fail(1)) SWIG_fail
; 
20014         arg2 
= (int)(SWIG_As_int(obj1
));  
20015         if (SWIG_arg_fail(2)) SWIG_fail
; 
20018         arg3 
= (bool)(SWIG_As_bool(obj2
));  
20019         if (SWIG_arg_fail(3)) SWIG_fail
; 
20022         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20023         (arg1
)->EnableTool(arg2
,arg3
); 
20025         wxPyEndAllowThreads(__tstate
); 
20026         if (PyErr_Occurred()) SWIG_fail
; 
20028     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
20035 static PyObject 
*_wrap_ToolBarBase_ToggleTool(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
20036     PyObject 
*resultobj
; 
20037     wxToolBarBase 
*arg1 
= (wxToolBarBase 
*) 0 ; 
20040     PyObject 
* obj0 
= 0 ; 
20041     PyObject 
* obj1 
= 0 ; 
20042     PyObject 
* obj2 
= 0 ; 
20043     char *kwnames
[] = { 
20044         (char *) "self",(char *) "id",(char *) "toggle", NULL 
 
20047     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_ToggleTool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
20048     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION 
| 0); 
20049     if (SWIG_arg_fail(1)) SWIG_fail
; 
20051         arg2 
= (int)(SWIG_As_int(obj1
));  
20052         if (SWIG_arg_fail(2)) SWIG_fail
; 
20055         arg3 
= (bool)(SWIG_As_bool(obj2
));  
20056         if (SWIG_arg_fail(3)) SWIG_fail
; 
20059         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20060         (arg1
)->ToggleTool(arg2
,arg3
); 
20062         wxPyEndAllowThreads(__tstate
); 
20063         if (PyErr_Occurred()) SWIG_fail
; 
20065     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
20072 static PyObject 
*_wrap_ToolBarBase_SetToggle(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
20073     PyObject 
*resultobj
; 
20074     wxToolBarBase 
*arg1 
= (wxToolBarBase 
*) 0 ; 
20077     PyObject 
* obj0 
= 0 ; 
20078     PyObject 
* obj1 
= 0 ; 
20079     PyObject 
* obj2 
= 0 ; 
20080     char *kwnames
[] = { 
20081         (char *) "self",(char *) "id",(char *) "toggle", NULL 
 
20084     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToggle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
20085     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION 
| 0); 
20086     if (SWIG_arg_fail(1)) SWIG_fail
; 
20088         arg2 
= (int)(SWIG_As_int(obj1
));  
20089         if (SWIG_arg_fail(2)) SWIG_fail
; 
20092         arg3 
= (bool)(SWIG_As_bool(obj2
));  
20093         if (SWIG_arg_fail(3)) SWIG_fail
; 
20096         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20097         (arg1
)->SetToggle(arg2
,arg3
); 
20099         wxPyEndAllowThreads(__tstate
); 
20100         if (PyErr_Occurred()) SWIG_fail
; 
20102     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
20109 static PyObject 
*_wrap_ToolBarBase_GetToolClientData(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
20110     PyObject 
*resultobj
; 
20111     wxToolBarBase 
*arg1 
= (wxToolBarBase 
*) 0 ; 
20114     PyObject 
* obj0 
= 0 ; 
20115     PyObject 
* obj1 
= 0 ; 
20116     char *kwnames
[] = { 
20117         (char *) "self",(char *) "id", NULL 
 
20120     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolClientData",kwnames
,&obj0
,&obj1
)) goto fail
; 
20121     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION 
| 0); 
20122     if (SWIG_arg_fail(1)) SWIG_fail
; 
20124         arg2 
= (int)(SWIG_As_int(obj1
));  
20125         if (SWIG_arg_fail(2)) SWIG_fail
; 
20128         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20129         result 
= (PyObject 
*)wxToolBarBase_GetToolClientData(arg1
,arg2
); 
20131         wxPyEndAllowThreads(__tstate
); 
20132         if (PyErr_Occurred()) SWIG_fail
; 
20134     resultobj 
= result
; 
20141 static PyObject 
*_wrap_ToolBarBase_SetToolClientData(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
20142     PyObject 
*resultobj
; 
20143     wxToolBarBase 
*arg1 
= (wxToolBarBase 
*) 0 ; 
20145     PyObject 
*arg3 
= (PyObject 
*) 0 ; 
20146     PyObject 
* obj0 
= 0 ; 
20147     PyObject 
* obj1 
= 0 ; 
20148     PyObject 
* obj2 
= 0 ; 
20149     char *kwnames
[] = { 
20150         (char *) "self",(char *) "id",(char *) "clientData", NULL 
 
20153     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
20154     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION 
| 0); 
20155     if (SWIG_arg_fail(1)) SWIG_fail
; 
20157         arg2 
= (int)(SWIG_As_int(obj1
));  
20158         if (SWIG_arg_fail(2)) SWIG_fail
; 
20162         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20163         wxToolBarBase_SetToolClientData(arg1
,arg2
,arg3
); 
20165         wxPyEndAllowThreads(__tstate
); 
20166         if (PyErr_Occurred()) SWIG_fail
; 
20168     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
20175 static PyObject 
*_wrap_ToolBarBase_GetToolPos(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
20176     PyObject 
*resultobj
; 
20177     wxToolBarBase 
*arg1 
= (wxToolBarBase 
*) 0 ; 
20180     PyObject 
* obj0 
= 0 ; 
20181     PyObject 
* obj1 
= 0 ; 
20182     char *kwnames
[] = { 
20183         (char *) "self",(char *) "id", NULL 
 
20186     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolPos",kwnames
,&obj0
,&obj1
)) goto fail
; 
20187     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION 
| 0); 
20188     if (SWIG_arg_fail(1)) SWIG_fail
; 
20190         arg2 
= (int)(SWIG_As_int(obj1
));  
20191         if (SWIG_arg_fail(2)) SWIG_fail
; 
20194         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20195         result 
= (int)((wxToolBarBase 
const *)arg1
)->GetToolPos(arg2
); 
20197         wxPyEndAllowThreads(__tstate
); 
20198         if (PyErr_Occurred()) SWIG_fail
; 
20201         resultobj 
= SWIG_From_int((int)(result
));  
20209 static PyObject 
*_wrap_ToolBarBase_GetToolState(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
20210     PyObject 
*resultobj
; 
20211     wxToolBarBase 
*arg1 
= (wxToolBarBase 
*) 0 ; 
20214     PyObject 
* obj0 
= 0 ; 
20215     PyObject 
* obj1 
= 0 ; 
20216     char *kwnames
[] = { 
20217         (char *) "self",(char *) "id", NULL 
 
20220     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolState",kwnames
,&obj0
,&obj1
)) goto fail
; 
20221     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION 
| 0); 
20222     if (SWIG_arg_fail(1)) SWIG_fail
; 
20224         arg2 
= (int)(SWIG_As_int(obj1
));  
20225         if (SWIG_arg_fail(2)) SWIG_fail
; 
20228         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20229         result 
= (bool)(arg1
)->GetToolState(arg2
); 
20231         wxPyEndAllowThreads(__tstate
); 
20232         if (PyErr_Occurred()) SWIG_fail
; 
20235         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
20243 static PyObject 
*_wrap_ToolBarBase_GetToolEnabled(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
20244     PyObject 
*resultobj
; 
20245     wxToolBarBase 
*arg1 
= (wxToolBarBase 
*) 0 ; 
20248     PyObject 
* obj0 
= 0 ; 
20249     PyObject 
* obj1 
= 0 ; 
20250     char *kwnames
[] = { 
20251         (char *) "self",(char *) "id", NULL 
 
20254     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames
,&obj0
,&obj1
)) goto fail
; 
20255     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION 
| 0); 
20256     if (SWIG_arg_fail(1)) SWIG_fail
; 
20258         arg2 
= (int)(SWIG_As_int(obj1
));  
20259         if (SWIG_arg_fail(2)) SWIG_fail
; 
20262         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20263         result 
= (bool)(arg1
)->GetToolEnabled(arg2
); 
20265         wxPyEndAllowThreads(__tstate
); 
20266         if (PyErr_Occurred()) SWIG_fail
; 
20269         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
20277 static PyObject 
*_wrap_ToolBarBase_SetToolShortHelp(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
20278     PyObject 
*resultobj
; 
20279     wxToolBarBase 
*arg1 
= (wxToolBarBase 
*) 0 ; 
20281     wxString 
*arg3 
= 0 ; 
20282     bool temp3 
= false ; 
20283     PyObject 
* obj0 
= 0 ; 
20284     PyObject 
* obj1 
= 0 ; 
20285     PyObject 
* obj2 
= 0 ; 
20286     char *kwnames
[] = { 
20287         (char *) "self",(char *) "id",(char *) "helpString", NULL 
 
20290     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
20291     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION 
| 0); 
20292     if (SWIG_arg_fail(1)) SWIG_fail
; 
20294         arg2 
= (int)(SWIG_As_int(obj1
));  
20295         if (SWIG_arg_fail(2)) SWIG_fail
; 
20298         arg3 
= wxString_in_helper(obj2
); 
20299         if (arg3 
== NULL
) SWIG_fail
; 
20303         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20304         (arg1
)->SetToolShortHelp(arg2
,(wxString 
const &)*arg3
); 
20306         wxPyEndAllowThreads(__tstate
); 
20307         if (PyErr_Occurred()) SWIG_fail
; 
20309     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
20324 static PyObject 
*_wrap_ToolBarBase_GetToolShortHelp(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
20325     PyObject 
*resultobj
; 
20326     wxToolBarBase 
*arg1 
= (wxToolBarBase 
*) 0 ; 
20329     PyObject 
* obj0 
= 0 ; 
20330     PyObject 
* obj1 
= 0 ; 
20331     char *kwnames
[] = { 
20332         (char *) "self",(char *) "id", NULL 
 
20335     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
; 
20336     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION 
| 0); 
20337     if (SWIG_arg_fail(1)) SWIG_fail
; 
20339         arg2 
= (int)(SWIG_As_int(obj1
));  
20340         if (SWIG_arg_fail(2)) SWIG_fail
; 
20343         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20344         result 
= (arg1
)->GetToolShortHelp(arg2
); 
20346         wxPyEndAllowThreads(__tstate
); 
20347         if (PyErr_Occurred()) SWIG_fail
; 
20351         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
20353         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
20362 static PyObject 
*_wrap_ToolBarBase_SetToolLongHelp(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
20363     PyObject 
*resultobj
; 
20364     wxToolBarBase 
*arg1 
= (wxToolBarBase 
*) 0 ; 
20366     wxString 
*arg3 
= 0 ; 
20367     bool temp3 
= false ; 
20368     PyObject 
* obj0 
= 0 ; 
20369     PyObject 
* obj1 
= 0 ; 
20370     PyObject 
* obj2 
= 0 ; 
20371     char *kwnames
[] = { 
20372         (char *) "self",(char *) "id",(char *) "helpString", NULL 
 
20375     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
20376     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION 
| 0); 
20377     if (SWIG_arg_fail(1)) SWIG_fail
; 
20379         arg2 
= (int)(SWIG_As_int(obj1
));  
20380         if (SWIG_arg_fail(2)) SWIG_fail
; 
20383         arg3 
= wxString_in_helper(obj2
); 
20384         if (arg3 
== NULL
) SWIG_fail
; 
20388         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20389         (arg1
)->SetToolLongHelp(arg2
,(wxString 
const &)*arg3
); 
20391         wxPyEndAllowThreads(__tstate
); 
20392         if (PyErr_Occurred()) SWIG_fail
; 
20394     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
20409 static PyObject 
*_wrap_ToolBarBase_GetToolLongHelp(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
20410     PyObject 
*resultobj
; 
20411     wxToolBarBase 
*arg1 
= (wxToolBarBase 
*) 0 ; 
20414     PyObject 
* obj0 
= 0 ; 
20415     PyObject 
* obj1 
= 0 ; 
20416     char *kwnames
[] = { 
20417         (char *) "self",(char *) "id", NULL 
 
20420     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
; 
20421     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION 
| 0); 
20422     if (SWIG_arg_fail(1)) SWIG_fail
; 
20424         arg2 
= (int)(SWIG_As_int(obj1
));  
20425         if (SWIG_arg_fail(2)) SWIG_fail
; 
20428         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20429         result 
= (arg1
)->GetToolLongHelp(arg2
); 
20431         wxPyEndAllowThreads(__tstate
); 
20432         if (PyErr_Occurred()) SWIG_fail
; 
20436         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
20438         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
20447 static PyObject 
*_wrap_ToolBarBase_SetMarginsXY(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
20448     PyObject 
*resultobj
; 
20449     wxToolBarBase 
*arg1 
= (wxToolBarBase 
*) 0 ; 
20452     PyObject 
* obj0 
= 0 ; 
20453     PyObject 
* obj1 
= 0 ; 
20454     PyObject 
* obj2 
= 0 ; 
20455     char *kwnames
[] = { 
20456         (char *) "self",(char *) "x",(char *) "y", NULL 
 
20459     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
20460     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION 
| 0); 
20461     if (SWIG_arg_fail(1)) SWIG_fail
; 
20463         arg2 
= (int)(SWIG_As_int(obj1
));  
20464         if (SWIG_arg_fail(2)) SWIG_fail
; 
20467         arg3 
= (int)(SWIG_As_int(obj2
));  
20468         if (SWIG_arg_fail(3)) SWIG_fail
; 
20471         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20472         (arg1
)->SetMargins(arg2
,arg3
); 
20474         wxPyEndAllowThreads(__tstate
); 
20475         if (PyErr_Occurred()) SWIG_fail
; 
20477     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
20484 static PyObject 
*_wrap_ToolBarBase_SetMargins(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
20485     PyObject 
*resultobj
; 
20486     wxToolBarBase 
*arg1 
= (wxToolBarBase 
*) 0 ; 
20489     PyObject 
* obj0 
= 0 ; 
20490     PyObject 
* obj1 
= 0 ; 
20491     char *kwnames
[] = { 
20492         (char *) "self",(char *) "size", NULL 
 
20495     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetMargins",kwnames
,&obj0
,&obj1
)) goto fail
; 
20496     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION 
| 0); 
20497     if (SWIG_arg_fail(1)) SWIG_fail
; 
20500         if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
; 
20503         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20504         (arg1
)->SetMargins((wxSize 
const &)*arg2
); 
20506         wxPyEndAllowThreads(__tstate
); 
20507         if (PyErr_Occurred()) SWIG_fail
; 
20509     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
20516 static PyObject 
*_wrap_ToolBarBase_SetToolPacking(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
20517     PyObject 
*resultobj
; 
20518     wxToolBarBase 
*arg1 
= (wxToolBarBase 
*) 0 ; 
20520     PyObject 
* obj0 
= 0 ; 
20521     PyObject 
* obj1 
= 0 ; 
20522     char *kwnames
[] = { 
20523         (char *) "self",(char *) "packing", NULL 
 
20526     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolPacking",kwnames
,&obj0
,&obj1
)) goto fail
; 
20527     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION 
| 0); 
20528     if (SWIG_arg_fail(1)) SWIG_fail
; 
20530         arg2 
= (int)(SWIG_As_int(obj1
));  
20531         if (SWIG_arg_fail(2)) SWIG_fail
; 
20534         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20535         (arg1
)->SetToolPacking(arg2
); 
20537         wxPyEndAllowThreads(__tstate
); 
20538         if (PyErr_Occurred()) SWIG_fail
; 
20540     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
20547 static PyObject 
*_wrap_ToolBarBase_SetToolSeparation(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
20548     PyObject 
*resultobj
; 
20549     wxToolBarBase 
*arg1 
= (wxToolBarBase 
*) 0 ; 
20551     PyObject 
* obj0 
= 0 ; 
20552     PyObject 
* obj1 
= 0 ; 
20553     char *kwnames
[] = { 
20554         (char *) "self",(char *) "separation", NULL 
 
20557     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames
,&obj0
,&obj1
)) goto fail
; 
20558     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION 
| 0); 
20559     if (SWIG_arg_fail(1)) SWIG_fail
; 
20561         arg2 
= (int)(SWIG_As_int(obj1
));  
20562         if (SWIG_arg_fail(2)) SWIG_fail
; 
20565         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20566         (arg1
)->SetToolSeparation(arg2
); 
20568         wxPyEndAllowThreads(__tstate
); 
20569         if (PyErr_Occurred()) SWIG_fail
; 
20571     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
20578 static PyObject 
*_wrap_ToolBarBase_GetToolMargins(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
20579     PyObject 
*resultobj
; 
20580     wxToolBarBase 
*arg1 
= (wxToolBarBase 
*) 0 ; 
20582     PyObject 
* obj0 
= 0 ; 
20583     char *kwnames
[] = { 
20584         (char *) "self", NULL 
 
20587     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolMargins",kwnames
,&obj0
)) goto fail
; 
20588     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION 
| 0); 
20589     if (SWIG_arg_fail(1)) SWIG_fail
; 
20591         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20592         result 
= (arg1
)->GetToolMargins(); 
20594         wxPyEndAllowThreads(__tstate
); 
20595         if (PyErr_Occurred()) SWIG_fail
; 
20598         wxSize 
* resultptr
; 
20599         resultptr 
= new wxSize((wxSize 
&)(result
)); 
20600         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1); 
20608 static PyObject 
*_wrap_ToolBarBase_GetMargins(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
20609     PyObject 
*resultobj
; 
20610     wxToolBarBase 
*arg1 
= (wxToolBarBase 
*) 0 ; 
20612     PyObject 
* obj0 
= 0 ; 
20613     char *kwnames
[] = { 
20614         (char *) "self", NULL 
 
20617     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMargins",kwnames
,&obj0
)) goto fail
; 
20618     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION 
| 0); 
20619     if (SWIG_arg_fail(1)) SWIG_fail
; 
20621         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20622         result 
= (arg1
)->GetMargins(); 
20624         wxPyEndAllowThreads(__tstate
); 
20625         if (PyErr_Occurred()) SWIG_fail
; 
20628         wxSize 
* resultptr
; 
20629         resultptr 
= new wxSize((wxSize 
&)(result
)); 
20630         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1); 
20638 static PyObject 
*_wrap_ToolBarBase_GetToolPacking(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
20639     PyObject 
*resultobj
; 
20640     wxToolBarBase 
*arg1 
= (wxToolBarBase 
*) 0 ; 
20642     PyObject 
* obj0 
= 0 ; 
20643     char *kwnames
[] = { 
20644         (char *) "self", NULL 
 
20647     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolPacking",kwnames
,&obj0
)) goto fail
; 
20648     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION 
| 0); 
20649     if (SWIG_arg_fail(1)) SWIG_fail
; 
20651         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20652         result 
= (int)(arg1
)->GetToolPacking(); 
20654         wxPyEndAllowThreads(__tstate
); 
20655         if (PyErr_Occurred()) SWIG_fail
; 
20658         resultobj 
= SWIG_From_int((int)(result
));  
20666 static PyObject 
*_wrap_ToolBarBase_GetToolSeparation(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
20667     PyObject 
*resultobj
; 
20668     wxToolBarBase 
*arg1 
= (wxToolBarBase 
*) 0 ; 
20670     PyObject 
* obj0 
= 0 ; 
20671     char *kwnames
[] = { 
20672         (char *) "self", NULL 
 
20675     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSeparation",kwnames
,&obj0
)) goto fail
; 
20676     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION 
| 0); 
20677     if (SWIG_arg_fail(1)) SWIG_fail
; 
20679         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20680         result 
= (int)(arg1
)->GetToolSeparation(); 
20682         wxPyEndAllowThreads(__tstate
); 
20683         if (PyErr_Occurred()) SWIG_fail
; 
20686         resultobj 
= SWIG_From_int((int)(result
));  
20694 static PyObject 
*_wrap_ToolBarBase_SetRows(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
20695     PyObject 
*resultobj
; 
20696     wxToolBarBase 
*arg1 
= (wxToolBarBase 
*) 0 ; 
20698     PyObject 
* obj0 
= 0 ; 
20699     PyObject 
* obj1 
= 0 ; 
20700     char *kwnames
[] = { 
20701         (char *) "self",(char *) "nRows", NULL 
 
20704     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetRows",kwnames
,&obj0
,&obj1
)) goto fail
; 
20705     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION 
| 0); 
20706     if (SWIG_arg_fail(1)) SWIG_fail
; 
20708         arg2 
= (int)(SWIG_As_int(obj1
));  
20709         if (SWIG_arg_fail(2)) SWIG_fail
; 
20712         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20713         (arg1
)->SetRows(arg2
); 
20715         wxPyEndAllowThreads(__tstate
); 
20716         if (PyErr_Occurred()) SWIG_fail
; 
20718     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
20725 static PyObject 
*_wrap_ToolBarBase_SetMaxRowsCols(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
20726     PyObject 
*resultobj
; 
20727     wxToolBarBase 
*arg1 
= (wxToolBarBase 
*) 0 ; 
20730     PyObject 
* obj0 
= 0 ; 
20731     PyObject 
* obj1 
= 0 ; 
20732     PyObject 
* obj2 
= 0 ; 
20733     char *kwnames
[] = { 
20734         (char *) "self",(char *) "rows",(char *) "cols", NULL 
 
20737     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
20738     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION 
| 0); 
20739     if (SWIG_arg_fail(1)) SWIG_fail
; 
20741         arg2 
= (int)(SWIG_As_int(obj1
));  
20742         if (SWIG_arg_fail(2)) SWIG_fail
; 
20745         arg3 
= (int)(SWIG_As_int(obj2
));  
20746         if (SWIG_arg_fail(3)) SWIG_fail
; 
20749         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20750         (arg1
)->SetMaxRowsCols(arg2
,arg3
); 
20752         wxPyEndAllowThreads(__tstate
); 
20753         if (PyErr_Occurred()) SWIG_fail
; 
20755     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
20762 static PyObject 
*_wrap_ToolBarBase_GetMaxRows(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
20763     PyObject 
*resultobj
; 
20764     wxToolBarBase 
*arg1 
= (wxToolBarBase 
*) 0 ; 
20766     PyObject 
* obj0 
= 0 ; 
20767     char *kwnames
[] = { 
20768         (char *) "self", NULL 
 
20771     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxRows",kwnames
,&obj0
)) goto fail
; 
20772     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION 
| 0); 
20773     if (SWIG_arg_fail(1)) SWIG_fail
; 
20775         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20776         result 
= (int)(arg1
)->GetMaxRows(); 
20778         wxPyEndAllowThreads(__tstate
); 
20779         if (PyErr_Occurred()) SWIG_fail
; 
20782         resultobj 
= SWIG_From_int((int)(result
));  
20790 static PyObject 
*_wrap_ToolBarBase_GetMaxCols(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
20791     PyObject 
*resultobj
; 
20792     wxToolBarBase 
*arg1 
= (wxToolBarBase 
*) 0 ; 
20794     PyObject 
* obj0 
= 0 ; 
20795     char *kwnames
[] = { 
20796         (char *) "self", NULL 
 
20799     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxCols",kwnames
,&obj0
)) goto fail
; 
20800     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION 
| 0); 
20801     if (SWIG_arg_fail(1)) SWIG_fail
; 
20803         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20804         result 
= (int)(arg1
)->GetMaxCols(); 
20806         wxPyEndAllowThreads(__tstate
); 
20807         if (PyErr_Occurred()) SWIG_fail
; 
20810         resultobj 
= SWIG_From_int((int)(result
));  
20818 static PyObject 
*_wrap_ToolBarBase_SetToolBitmapSize(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
20819     PyObject 
*resultobj
; 
20820     wxToolBarBase 
*arg1 
= (wxToolBarBase 
*) 0 ; 
20823     PyObject 
* obj0 
= 0 ; 
20824     PyObject 
* obj1 
= 0 ; 
20825     char *kwnames
[] = { 
20826         (char *) "self",(char *) "size", NULL 
 
20829     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames
,&obj0
,&obj1
)) goto fail
; 
20830     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION 
| 0); 
20831     if (SWIG_arg_fail(1)) SWIG_fail
; 
20834         if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
; 
20837         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20838         (arg1
)->SetToolBitmapSize((wxSize 
const &)*arg2
); 
20840         wxPyEndAllowThreads(__tstate
); 
20841         if (PyErr_Occurred()) SWIG_fail
; 
20843     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
20850 static PyObject 
*_wrap_ToolBarBase_GetToolBitmapSize(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
20851     PyObject 
*resultobj
; 
20852     wxToolBarBase 
*arg1 
= (wxToolBarBase 
*) 0 ; 
20854     PyObject 
* obj0 
= 0 ; 
20855     char *kwnames
[] = { 
20856         (char *) "self", NULL 
 
20859     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolBitmapSize",kwnames
,&obj0
)) goto fail
; 
20860     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION 
| 0); 
20861     if (SWIG_arg_fail(1)) SWIG_fail
; 
20863         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20864         result 
= (arg1
)->GetToolBitmapSize(); 
20866         wxPyEndAllowThreads(__tstate
); 
20867         if (PyErr_Occurred()) SWIG_fail
; 
20870         wxSize 
* resultptr
; 
20871         resultptr 
= new wxSize((wxSize 
&)(result
)); 
20872         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1); 
20880 static PyObject 
*_wrap_ToolBarBase_GetToolSize(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
20881     PyObject 
*resultobj
; 
20882     wxToolBarBase 
*arg1 
= (wxToolBarBase 
*) 0 ; 
20884     PyObject 
* obj0 
= 0 ; 
20885     char *kwnames
[] = { 
20886         (char *) "self", NULL 
 
20889     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSize",kwnames
,&obj0
)) goto fail
; 
20890     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION 
| 0); 
20891     if (SWIG_arg_fail(1)) SWIG_fail
; 
20893         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20894         result 
= (arg1
)->GetToolSize(); 
20896         wxPyEndAllowThreads(__tstate
); 
20897         if (PyErr_Occurred()) SWIG_fail
; 
20900         wxSize 
* resultptr
; 
20901         resultptr 
= new wxSize((wxSize 
&)(result
)); 
20902         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1); 
20910 static PyObject 
*_wrap_ToolBarBase_FindToolForPosition(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
20911     PyObject 
*resultobj
; 
20912     wxToolBarBase 
*arg1 
= (wxToolBarBase 
*) 0 ; 
20915     wxToolBarToolBase 
*result
; 
20916     PyObject 
* obj0 
= 0 ; 
20917     PyObject 
* obj1 
= 0 ; 
20918     PyObject 
* obj2 
= 0 ; 
20919     char *kwnames
[] = { 
20920         (char *) "self",(char *) "x",(char *) "y", NULL 
 
20923     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
20924     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION 
| 0); 
20925     if (SWIG_arg_fail(1)) SWIG_fail
; 
20927         arg2 
= (int)(SWIG_As_int(obj1
));  
20928         if (SWIG_arg_fail(2)) SWIG_fail
; 
20931         arg3 
= (int)(SWIG_As_int(obj2
));  
20932         if (SWIG_arg_fail(3)) SWIG_fail
; 
20935         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20936         result 
= (wxToolBarToolBase 
*)(arg1
)->FindToolForPosition(arg2
,arg3
); 
20938         wxPyEndAllowThreads(__tstate
); 
20939         if (PyErr_Occurred()) SWIG_fail
; 
20942         resultobj 
= wxPyMake_wxObject(result
, 0);  
20950 static PyObject 
*_wrap_ToolBarBase_FindById(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
20951     PyObject 
*resultobj
; 
20952     wxToolBarBase 
*arg1 
= (wxToolBarBase 
*) 0 ; 
20954     wxToolBarToolBase 
*result
; 
20955     PyObject 
* obj0 
= 0 ; 
20956     PyObject 
* obj1 
= 0 ; 
20957     char *kwnames
[] = { 
20958         (char *) "self",(char *) "toolid", NULL 
 
20961     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindById",kwnames
,&obj0
,&obj1
)) goto fail
; 
20962     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION 
| 0); 
20963     if (SWIG_arg_fail(1)) SWIG_fail
; 
20965         arg2 
= (int)(SWIG_As_int(obj1
));  
20966         if (SWIG_arg_fail(2)) SWIG_fail
; 
20969         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20970         result 
= (wxToolBarToolBase 
*)((wxToolBarBase 
const *)arg1
)->FindById(arg2
); 
20972         wxPyEndAllowThreads(__tstate
); 
20973         if (PyErr_Occurred()) SWIG_fail
; 
20976         resultobj 
= wxPyMake_wxObject(result
, 0);  
20984 static PyObject 
*_wrap_ToolBarBase_IsVertical(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
20985     PyObject 
*resultobj
; 
20986     wxToolBarBase 
*arg1 
= (wxToolBarBase 
*) 0 ; 
20988     PyObject 
* obj0 
= 0 ; 
20989     char *kwnames
[] = { 
20990         (char *) "self", NULL 
 
20993     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_IsVertical",kwnames
,&obj0
)) goto fail
; 
20994     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION 
| 0); 
20995     if (SWIG_arg_fail(1)) SWIG_fail
; 
20997         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20998         result 
= (bool)(arg1
)->IsVertical(); 
21000         wxPyEndAllowThreads(__tstate
); 
21001         if (PyErr_Occurred()) SWIG_fail
; 
21004         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
21012 static PyObject 
* ToolBarBase_swigregister(PyObject 
*, PyObject 
*args
) { 
21014     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
21015     SWIG_TypeClientData(SWIGTYPE_p_wxToolBarBase
, obj
); 
21017     return Py_BuildValue((char *)""); 
21019 static PyObject 
*_wrap_new_ToolBar(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
21020     PyObject 
*resultobj
; 
21021     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
21022     int arg2 
= (int) -1 ; 
21023     wxPoint 
const &arg3_defvalue 
= wxDefaultPosition 
; 
21024     wxPoint 
*arg3 
= (wxPoint 
*) &arg3_defvalue 
; 
21025     wxSize 
const &arg4_defvalue 
= wxDefaultSize 
; 
21026     wxSize 
*arg4 
= (wxSize 
*) &arg4_defvalue 
; 
21027     long arg5 
= (long) wxNO_BORDER
|wxTB_HORIZONTAL 
; 
21028     wxString 
const &arg6_defvalue 
= wxPyToolBarNameStr 
; 
21029     wxString 
*arg6 
= (wxString 
*) &arg6_defvalue 
; 
21033     bool temp6 
= false ; 
21034     PyObject 
* obj0 
= 0 ; 
21035     PyObject 
* obj1 
= 0 ; 
21036     PyObject 
* obj2 
= 0 ; 
21037     PyObject 
* obj3 
= 0 ; 
21038     PyObject 
* obj4 
= 0 ; 
21039     PyObject 
* obj5 
= 0 ; 
21040     char *kwnames
[] = { 
21041         (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL 
 
21044     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
; 
21045     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
21046     if (SWIG_arg_fail(1)) SWIG_fail
; 
21049             arg2 
= (int)(SWIG_As_int(obj1
));  
21050             if (SWIG_arg_fail(2)) SWIG_fail
; 
21056             if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
; 
21062             if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
; 
21067             arg5 
= (long)(SWIG_As_long(obj4
));  
21068             if (SWIG_arg_fail(5)) SWIG_fail
; 
21073             arg6 
= wxString_in_helper(obj5
); 
21074             if (arg6 
== NULL
) SWIG_fail
; 
21079         if (!wxPyCheckForApp()) SWIG_fail
; 
21080         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21081         result 
= (wxToolBar 
*)new wxToolBar(arg1
,arg2
,(wxPoint 
const &)*arg3
,(wxSize 
const &)*arg4
,arg5
,(wxString 
const &)*arg6
); 
21083         wxPyEndAllowThreads(__tstate
); 
21084         if (PyErr_Occurred()) SWIG_fail
; 
21086     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToolBar
, 1); 
21101 static PyObject 
*_wrap_new_PreToolBar(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
21102     PyObject 
*resultobj
; 
21104     char *kwnames
[] = { 
21108     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToolBar",kwnames
)) goto fail
; 
21110         if (!wxPyCheckForApp()) SWIG_fail
; 
21111         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21112         result 
= (wxToolBar 
*)new wxToolBar(); 
21114         wxPyEndAllowThreads(__tstate
); 
21115         if (PyErr_Occurred()) SWIG_fail
; 
21117     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToolBar
, 1); 
21124 static PyObject 
*_wrap_ToolBar_Create(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
21125     PyObject 
*resultobj
; 
21126     wxToolBar 
*arg1 
= (wxToolBar 
*) 0 ; 
21127     wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
21128     int arg3 
= (int) -1 ; 
21129     wxPoint 
const &arg4_defvalue 
= wxDefaultPosition 
; 
21130     wxPoint 
*arg4 
= (wxPoint 
*) &arg4_defvalue 
; 
21131     wxSize 
const &arg5_defvalue 
= wxDefaultSize 
; 
21132     wxSize 
*arg5 
= (wxSize 
*) &arg5_defvalue 
; 
21133     long arg6 
= (long) wxNO_BORDER
|wxTB_HORIZONTAL 
; 
21134     wxString 
const &arg7_defvalue 
= wxPyToolBarNameStr 
; 
21135     wxString 
*arg7 
= (wxString 
*) &arg7_defvalue 
; 
21139     bool temp7 
= false ; 
21140     PyObject 
* obj0 
= 0 ; 
21141     PyObject 
* obj1 
= 0 ; 
21142     PyObject 
* obj2 
= 0 ; 
21143     PyObject 
* obj3 
= 0 ; 
21144     PyObject 
* obj4 
= 0 ; 
21145     PyObject 
* obj5 
= 0 ; 
21146     PyObject 
* obj6 
= 0 ; 
21147     char *kwnames
[] = { 
21148         (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL 
 
21151     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ToolBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
; 
21152     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBar
, SWIG_POINTER_EXCEPTION 
| 0); 
21153     if (SWIG_arg_fail(1)) SWIG_fail
; 
21154     SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
21155     if (SWIG_arg_fail(2)) SWIG_fail
; 
21158             arg3 
= (int)(SWIG_As_int(obj2
));  
21159             if (SWIG_arg_fail(3)) SWIG_fail
; 
21165             if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
; 
21171             if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
; 
21176             arg6 
= (long)(SWIG_As_long(obj5
));  
21177             if (SWIG_arg_fail(6)) SWIG_fail
; 
21182             arg7 
= wxString_in_helper(obj6
); 
21183             if (arg7 
== NULL
) SWIG_fail
; 
21188         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21189         result 
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint 
const &)*arg4
,(wxSize 
const &)*arg5
,arg6
,(wxString 
const &)*arg7
); 
21191         wxPyEndAllowThreads(__tstate
); 
21192         if (PyErr_Occurred()) SWIG_fail
; 
21195         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
21211 static PyObject 
*_wrap_ToolBar_FindToolForPosition(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
21212     PyObject 
*resultobj
; 
21213     wxToolBar 
*arg1 
= (wxToolBar 
*) 0 ; 
21216     wxToolBarToolBase 
*result
; 
21217     PyObject 
* obj0 
= 0 ; 
21218     PyObject 
* obj1 
= 0 ; 
21219     PyObject 
* obj2 
= 0 ; 
21220     char *kwnames
[] = { 
21221         (char *) "self",(char *) "x",(char *) "y", NULL 
 
21224     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBar_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
21225     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBar
, SWIG_POINTER_EXCEPTION 
| 0); 
21226     if (SWIG_arg_fail(1)) SWIG_fail
; 
21228         arg2 
= (int)(SWIG_As_int(obj1
));  
21229         if (SWIG_arg_fail(2)) SWIG_fail
; 
21232         arg3 
= (int)(SWIG_As_int(obj2
));  
21233         if (SWIG_arg_fail(3)) SWIG_fail
; 
21236         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21237         result 
= (wxToolBarToolBase 
*)(arg1
)->FindToolForPosition(arg2
,arg3
); 
21239         wxPyEndAllowThreads(__tstate
); 
21240         if (PyErr_Occurred()) SWIG_fail
; 
21243         resultobj 
= wxPyMake_wxObject(result
, 0);  
21251 static PyObject 
*_wrap_ToolBar_GetClassDefaultAttributes(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
21252     PyObject 
*resultobj
; 
21253     wxWindowVariant arg1 
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL 
; 
21254     wxVisualAttributes result
; 
21255     PyObject 
* obj0 
= 0 ; 
21256     char *kwnames
[] = { 
21257         (char *) "variant", NULL 
 
21260     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToolBar_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
; 
21263             arg1 
= (wxWindowVariant
)(SWIG_As_int(obj0
));  
21264             if (SWIG_arg_fail(1)) SWIG_fail
; 
21268         if (!wxPyCheckForApp()) SWIG_fail
; 
21269         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21270         result 
= wxToolBar::GetClassDefaultAttributes((wxWindowVariant 
)arg1
); 
21272         wxPyEndAllowThreads(__tstate
); 
21273         if (PyErr_Occurred()) SWIG_fail
; 
21276         wxVisualAttributes 
* resultptr
; 
21277         resultptr 
= new wxVisualAttributes((wxVisualAttributes 
&)(result
)); 
21278         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1); 
21286 static PyObject 
* ToolBar_swigregister(PyObject 
*, PyObject 
*args
) { 
21288     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
21289     SWIG_TypeClientData(SWIGTYPE_p_wxToolBar
, obj
); 
21291     return Py_BuildValue((char *)""); 
21293 static int _wrap_ListCtrlNameStr_set(PyObject 
*) { 
21294     PyErr_SetString(PyExc_TypeError
,"Variable ListCtrlNameStr is read-only."); 
21299 static PyObject 
*_wrap_ListCtrlNameStr_get(void) { 
21304         pyobj 
= PyUnicode_FromWideChar((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len()); 
21306         pyobj 
= PyString_FromStringAndSize((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len()); 
21313 static PyObject 
*_wrap_new_ListItemAttr(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
21314     PyObject 
*resultobj
; 
21315     wxColour 
const &arg1_defvalue 
= wxNullColour 
; 
21316     wxColour 
*arg1 
= (wxColour 
*) &arg1_defvalue 
; 
21317     wxColour 
const &arg2_defvalue 
= wxNullColour 
; 
21318     wxColour 
*arg2 
= (wxColour 
*) &arg2_defvalue 
; 
21319     wxFont 
const &arg3_defvalue 
= wxNullFont 
; 
21320     wxFont 
*arg3 
= (wxFont 
*) &arg3_defvalue 
; 
21321     wxListItemAttr 
*result
; 
21324     PyObject 
* obj0 
= 0 ; 
21325     PyObject 
* obj1 
= 0 ; 
21326     PyObject 
* obj2 
= 0 ; 
21327     char *kwnames
[] = { 
21328         (char *) "colText",(char *) "colBack",(char *) "font", NULL 
 
21331     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ListItemAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
21335             if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
; 
21341             if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
21346             SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION 
| 0); 
21347             if (SWIG_arg_fail(3)) SWIG_fail
; 
21348             if (arg3 
== NULL
) { 
21349                 SWIG_null_ref("wxFont"); 
21351             if (SWIG_arg_fail(3)) SWIG_fail
; 
21355         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21356         result 
= (wxListItemAttr 
*)new wxListItemAttr((wxColour 
const &)*arg1
,(wxColour 
const &)*arg2
,(wxFont 
const &)*arg3
); 
21358         wxPyEndAllowThreads(__tstate
); 
21359         if (PyErr_Occurred()) SWIG_fail
; 
21361     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItemAttr
, 1); 
21368 static PyObject 
*_wrap_ListItemAttr_SetTextColour(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
21369     PyObject 
*resultobj
; 
21370     wxListItemAttr 
*arg1 
= (wxListItemAttr 
*) 0 ; 
21371     wxColour 
*arg2 
= 0 ; 
21373     PyObject 
* obj0 
= 0 ; 
21374     PyObject 
* obj1 
= 0 ; 
21375     char *kwnames
[] = { 
21376         (char *) "self",(char *) "colText", NULL 
 
21379     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
; 
21380     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION 
| 0); 
21381     if (SWIG_arg_fail(1)) SWIG_fail
; 
21384         if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
21387         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21388         (arg1
)->SetTextColour((wxColour 
const &)*arg2
); 
21390         wxPyEndAllowThreads(__tstate
); 
21391         if (PyErr_Occurred()) SWIG_fail
; 
21393     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
21400 static PyObject 
*_wrap_ListItemAttr_SetBackgroundColour(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
21401     PyObject 
*resultobj
; 
21402     wxListItemAttr 
*arg1 
= (wxListItemAttr 
*) 0 ; 
21403     wxColour 
*arg2 
= 0 ; 
21405     PyObject 
* obj0 
= 0 ; 
21406     PyObject 
* obj1 
= 0 ; 
21407     char *kwnames
[] = { 
21408         (char *) "self",(char *) "colBack", NULL 
 
21411     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
; 
21412     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION 
| 0); 
21413     if (SWIG_arg_fail(1)) SWIG_fail
; 
21416         if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
21419         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21420         (arg1
)->SetBackgroundColour((wxColour 
const &)*arg2
); 
21422         wxPyEndAllowThreads(__tstate
); 
21423         if (PyErr_Occurred()) SWIG_fail
; 
21425     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
21432 static PyObject 
*_wrap_ListItemAttr_SetFont(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
21433     PyObject 
*resultobj
; 
21434     wxListItemAttr 
*arg1 
= (wxListItemAttr 
*) 0 ; 
21436     PyObject 
* obj0 
= 0 ; 
21437     PyObject 
* obj1 
= 0 ; 
21438     char *kwnames
[] = { 
21439         (char *) "self",(char *) "font", NULL 
 
21442     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
; 
21443     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION 
| 0); 
21444     if (SWIG_arg_fail(1)) SWIG_fail
; 
21446         SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION 
| 0); 
21447         if (SWIG_arg_fail(2)) SWIG_fail
; 
21448         if (arg2 
== NULL
) { 
21449             SWIG_null_ref("wxFont"); 
21451         if (SWIG_arg_fail(2)) SWIG_fail
; 
21454         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21455         (arg1
)->SetFont((wxFont 
const &)*arg2
); 
21457         wxPyEndAllowThreads(__tstate
); 
21458         if (PyErr_Occurred()) SWIG_fail
; 
21460     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
21467 static PyObject 
*_wrap_ListItemAttr_HasTextColour(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
21468     PyObject 
*resultobj
; 
21469     wxListItemAttr 
*arg1 
= (wxListItemAttr 
*) 0 ; 
21471     PyObject 
* obj0 
= 0 ; 
21472     char *kwnames
[] = { 
21473         (char *) "self", NULL 
 
21476     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasTextColour",kwnames
,&obj0
)) goto fail
; 
21477     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION 
| 0); 
21478     if (SWIG_arg_fail(1)) SWIG_fail
; 
21480         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21481         result 
= (bool)(arg1
)->HasTextColour(); 
21483         wxPyEndAllowThreads(__tstate
); 
21484         if (PyErr_Occurred()) SWIG_fail
; 
21487         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
21495 static PyObject 
*_wrap_ListItemAttr_HasBackgroundColour(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
21496     PyObject 
*resultobj
; 
21497     wxListItemAttr 
*arg1 
= (wxListItemAttr 
*) 0 ; 
21499     PyObject 
* obj0 
= 0 ; 
21500     char *kwnames
[] = { 
21501         (char *) "self", NULL 
 
21504     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
; 
21505     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION 
| 0); 
21506     if (SWIG_arg_fail(1)) SWIG_fail
; 
21508         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21509         result 
= (bool)(arg1
)->HasBackgroundColour(); 
21511         wxPyEndAllowThreads(__tstate
); 
21512         if (PyErr_Occurred()) SWIG_fail
; 
21515         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
21523 static PyObject 
*_wrap_ListItemAttr_HasFont(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
21524     PyObject 
*resultobj
; 
21525     wxListItemAttr 
*arg1 
= (wxListItemAttr 
*) 0 ; 
21527     PyObject 
* obj0 
= 0 ; 
21528     char *kwnames
[] = { 
21529         (char *) "self", NULL 
 
21532     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasFont",kwnames
,&obj0
)) goto fail
; 
21533     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION 
| 0); 
21534     if (SWIG_arg_fail(1)) SWIG_fail
; 
21536         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21537         result 
= (bool)(arg1
)->HasFont(); 
21539         wxPyEndAllowThreads(__tstate
); 
21540         if (PyErr_Occurred()) SWIG_fail
; 
21543         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
21551 static PyObject 
*_wrap_ListItemAttr_GetTextColour(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
21552     PyObject 
*resultobj
; 
21553     wxListItemAttr 
*arg1 
= (wxListItemAttr 
*) 0 ; 
21555     PyObject 
* obj0 
= 0 ; 
21556     char *kwnames
[] = { 
21557         (char *) "self", NULL 
 
21560     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetTextColour",kwnames
,&obj0
)) goto fail
; 
21561     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION 
| 0); 
21562     if (SWIG_arg_fail(1)) SWIG_fail
; 
21564         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21565         result 
= (arg1
)->GetTextColour(); 
21567         wxPyEndAllowThreads(__tstate
); 
21568         if (PyErr_Occurred()) SWIG_fail
; 
21571         wxColour 
* resultptr
; 
21572         resultptr 
= new wxColour((wxColour 
&)(result
)); 
21573         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1); 
21581 static PyObject 
*_wrap_ListItemAttr_GetBackgroundColour(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
21582     PyObject 
*resultobj
; 
21583     wxListItemAttr 
*arg1 
= (wxListItemAttr 
*) 0 ; 
21585     PyObject 
* obj0 
= 0 ; 
21586     char *kwnames
[] = { 
21587         (char *) "self", NULL 
 
21590     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
; 
21591     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION 
| 0); 
21592     if (SWIG_arg_fail(1)) SWIG_fail
; 
21594         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21595         result 
= (arg1
)->GetBackgroundColour(); 
21597         wxPyEndAllowThreads(__tstate
); 
21598         if (PyErr_Occurred()) SWIG_fail
; 
21601         wxColour 
* resultptr
; 
21602         resultptr 
= new wxColour((wxColour 
&)(result
)); 
21603         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1); 
21611 static PyObject 
*_wrap_ListItemAttr_GetFont(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
21612     PyObject 
*resultobj
; 
21613     wxListItemAttr 
*arg1 
= (wxListItemAttr 
*) 0 ; 
21615     PyObject 
* obj0 
= 0 ; 
21616     char *kwnames
[] = { 
21617         (char *) "self", NULL 
 
21620     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetFont",kwnames
,&obj0
)) goto fail
; 
21621     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION 
| 0); 
21622     if (SWIG_arg_fail(1)) SWIG_fail
; 
21624         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21625         result 
= (arg1
)->GetFont(); 
21627         wxPyEndAllowThreads(__tstate
); 
21628         if (PyErr_Occurred()) SWIG_fail
; 
21631         wxFont 
* resultptr
; 
21632         resultptr 
= new wxFont((wxFont 
&)(result
)); 
21633         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1); 
21641 static PyObject 
*_wrap_ListItemAttr_Destroy(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
21642     PyObject 
*resultobj
; 
21643     wxListItemAttr 
*arg1 
= (wxListItemAttr 
*) 0 ; 
21644     PyObject 
* obj0 
= 0 ; 
21645     char *kwnames
[] = { 
21646         (char *) "self", NULL 
 
21649     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_Destroy",kwnames
,&obj0
)) goto fail
; 
21650     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION 
| 0); 
21651     if (SWIG_arg_fail(1)) SWIG_fail
; 
21653         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21654         wxListItemAttr_Destroy(arg1
); 
21656         wxPyEndAllowThreads(__tstate
); 
21657         if (PyErr_Occurred()) SWIG_fail
; 
21659     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
21666 static PyObject 
* ListItemAttr_swigregister(PyObject 
*, PyObject 
*args
) { 
21668     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
21669     SWIG_TypeClientData(SWIGTYPE_p_wxListItemAttr
, obj
); 
21671     return Py_BuildValue((char *)""); 
21673 static PyObject 
*_wrap_new_ListItem(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
21674     PyObject 
*resultobj
; 
21675     wxListItem 
*result
; 
21676     char *kwnames
[] = { 
21680     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ListItem",kwnames
)) goto fail
; 
21682         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21683         result 
= (wxListItem 
*)new wxListItem(); 
21685         wxPyEndAllowThreads(__tstate
); 
21686         if (PyErr_Occurred()) SWIG_fail
; 
21689         resultobj 
= wxPyMake_wxObject(result
, 1);  
21697 static PyObject 
*_wrap_delete_ListItem(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
21698     PyObject 
*resultobj
; 
21699     wxListItem 
*arg1 
= (wxListItem 
*) 0 ; 
21700     PyObject 
* obj0 
= 0 ; 
21701     char *kwnames
[] = { 
21702         (char *) "self", NULL 
 
21705     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ListItem",kwnames
,&obj0
)) goto fail
; 
21706     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION 
| 0); 
21707     if (SWIG_arg_fail(1)) SWIG_fail
; 
21709         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21712         wxPyEndAllowThreads(__tstate
); 
21713         if (PyErr_Occurred()) SWIG_fail
; 
21715     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
21722 static PyObject 
*_wrap_ListItem_Clear(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
21723     PyObject 
*resultobj
; 
21724     wxListItem 
*arg1 
= (wxListItem 
*) 0 ; 
21725     PyObject 
* obj0 
= 0 ; 
21726     char *kwnames
[] = { 
21727         (char *) "self", NULL 
 
21730     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_Clear",kwnames
,&obj0
)) goto fail
; 
21731     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION 
| 0); 
21732     if (SWIG_arg_fail(1)) SWIG_fail
; 
21734         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21737         wxPyEndAllowThreads(__tstate
); 
21738         if (PyErr_Occurred()) SWIG_fail
; 
21740     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
21747 static PyObject 
*_wrap_ListItem_ClearAttributes(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
21748     PyObject 
*resultobj
; 
21749     wxListItem 
*arg1 
= (wxListItem 
*) 0 ; 
21750     PyObject 
* obj0 
= 0 ; 
21751     char *kwnames
[] = { 
21752         (char *) "self", NULL 
 
21755     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_ClearAttributes",kwnames
,&obj0
)) goto fail
; 
21756     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION 
| 0); 
21757     if (SWIG_arg_fail(1)) SWIG_fail
; 
21759         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21760         (arg1
)->ClearAttributes(); 
21762         wxPyEndAllowThreads(__tstate
); 
21763         if (PyErr_Occurred()) SWIG_fail
; 
21765     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
21772 static PyObject 
*_wrap_ListItem_SetMask(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
21773     PyObject 
*resultobj
; 
21774     wxListItem 
*arg1 
= (wxListItem 
*) 0 ; 
21776     PyObject 
* obj0 
= 0 ; 
21777     PyObject 
* obj1 
= 0 ; 
21778     char *kwnames
[] = { 
21779         (char *) "self",(char *) "mask", NULL 
 
21782     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
; 
21783     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION 
| 0); 
21784     if (SWIG_arg_fail(1)) SWIG_fail
; 
21786         arg2 
= (long)(SWIG_As_long(obj1
));  
21787         if (SWIG_arg_fail(2)) SWIG_fail
; 
21790         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21791         (arg1
)->SetMask(arg2
); 
21793         wxPyEndAllowThreads(__tstate
); 
21794         if (PyErr_Occurred()) SWIG_fail
; 
21796     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
21803 static PyObject 
*_wrap_ListItem_SetId(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
21804     PyObject 
*resultobj
; 
21805     wxListItem 
*arg1 
= (wxListItem 
*) 0 ; 
21807     PyObject 
* obj0 
= 0 ; 
21808     PyObject 
* obj1 
= 0 ; 
21809     char *kwnames
[] = { 
21810         (char *) "self",(char *) "id", NULL 
 
21813     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetId",kwnames
,&obj0
,&obj1
)) goto fail
; 
21814     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION 
| 0); 
21815     if (SWIG_arg_fail(1)) SWIG_fail
; 
21817         arg2 
= (long)(SWIG_As_long(obj1
));  
21818         if (SWIG_arg_fail(2)) SWIG_fail
; 
21821         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21822         (arg1
)->SetId(arg2
); 
21824         wxPyEndAllowThreads(__tstate
); 
21825         if (PyErr_Occurred()) SWIG_fail
; 
21827     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
21834 static PyObject 
*_wrap_ListItem_SetColumn(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
21835     PyObject 
*resultobj
; 
21836     wxListItem 
*arg1 
= (wxListItem 
*) 0 ; 
21838     PyObject 
* obj0 
= 0 ; 
21839     PyObject 
* obj1 
= 0 ; 
21840     char *kwnames
[] = { 
21841         (char *) "self",(char *) "col", NULL 
 
21844     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetColumn",kwnames
,&obj0
,&obj1
)) goto fail
; 
21845     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION 
| 0); 
21846     if (SWIG_arg_fail(1)) SWIG_fail
; 
21848         arg2 
= (int)(SWIG_As_int(obj1
));  
21849         if (SWIG_arg_fail(2)) SWIG_fail
; 
21852         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21853         (arg1
)->SetColumn(arg2
); 
21855         wxPyEndAllowThreads(__tstate
); 
21856         if (PyErr_Occurred()) SWIG_fail
; 
21858     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
21865 static PyObject 
*_wrap_ListItem_SetState(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
21866     PyObject 
*resultobj
; 
21867     wxListItem 
*arg1 
= (wxListItem 
*) 0 ; 
21869     PyObject 
* obj0 
= 0 ; 
21870     PyObject 
* obj1 
= 0 ; 
21871     char *kwnames
[] = { 
21872         (char *) "self",(char *) "state", NULL 
 
21875     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetState",kwnames
,&obj0
,&obj1
)) goto fail
; 
21876     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION 
| 0); 
21877     if (SWIG_arg_fail(1)) SWIG_fail
; 
21879         arg2 
= (long)(SWIG_As_long(obj1
));  
21880         if (SWIG_arg_fail(2)) SWIG_fail
; 
21883         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21884         (arg1
)->SetState(arg2
); 
21886         wxPyEndAllowThreads(__tstate
); 
21887         if (PyErr_Occurred()) SWIG_fail
; 
21889     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
21896 static PyObject 
*_wrap_ListItem_SetStateMask(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
21897     PyObject 
*resultobj
; 
21898     wxListItem 
*arg1 
= (wxListItem 
*) 0 ; 
21900     PyObject 
* obj0 
= 0 ; 
21901     PyObject 
* obj1 
= 0 ; 
21902     char *kwnames
[] = { 
21903         (char *) "self",(char *) "stateMask", NULL 
 
21906     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetStateMask",kwnames
,&obj0
,&obj1
)) goto fail
; 
21907     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION 
| 0); 
21908     if (SWIG_arg_fail(1)) SWIG_fail
; 
21910         arg2 
= (long)(SWIG_As_long(obj1
));  
21911         if (SWIG_arg_fail(2)) SWIG_fail
; 
21914         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21915         (arg1
)->SetStateMask(arg2
); 
21917         wxPyEndAllowThreads(__tstate
); 
21918         if (PyErr_Occurred()) SWIG_fail
; 
21920     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
21927 static PyObject 
*_wrap_ListItem_SetText(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
21928     PyObject 
*resultobj
; 
21929     wxListItem 
*arg1 
= (wxListItem 
*) 0 ; 
21930     wxString 
*arg2 
= 0 ; 
21931     bool temp2 
= false ; 
21932     PyObject 
* obj0 
= 0 ; 
21933     PyObject 
* obj1 
= 0 ; 
21934     char *kwnames
[] = { 
21935         (char *) "self",(char *) "text", NULL 
 
21938     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
; 
21939     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION 
| 0); 
21940     if (SWIG_arg_fail(1)) SWIG_fail
; 
21942         arg2 
= wxString_in_helper(obj1
); 
21943         if (arg2 
== NULL
) SWIG_fail
; 
21947         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21948         (arg1
)->SetText((wxString 
const &)*arg2
); 
21950         wxPyEndAllowThreads(__tstate
); 
21951         if (PyErr_Occurred()) SWIG_fail
; 
21953     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
21968 static PyObject 
*_wrap_ListItem_SetImage(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
21969     PyObject 
*resultobj
; 
21970     wxListItem 
*arg1 
= (wxListItem 
*) 0 ; 
21972     PyObject 
* obj0 
= 0 ; 
21973     PyObject 
* obj1 
= 0 ; 
21974     char *kwnames
[] = { 
21975         (char *) "self",(char *) "image", NULL 
 
21978     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetImage",kwnames
,&obj0
,&obj1
)) goto fail
; 
21979     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION 
| 0); 
21980     if (SWIG_arg_fail(1)) SWIG_fail
; 
21982         arg2 
= (int)(SWIG_As_int(obj1
));  
21983         if (SWIG_arg_fail(2)) SWIG_fail
; 
21986         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21987         (arg1
)->SetImage(arg2
); 
21989         wxPyEndAllowThreads(__tstate
); 
21990         if (PyErr_Occurred()) SWIG_fail
; 
21992     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
21999 static PyObject 
*_wrap_ListItem_SetData(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
22000     PyObject 
*resultobj
; 
22001     wxListItem 
*arg1 
= (wxListItem 
*) 0 ; 
22003     PyObject 
* obj0 
= 0 ; 
22004     PyObject 
* obj1 
= 0 ; 
22005     char *kwnames
[] = { 
22006         (char *) "self",(char *) "data", NULL 
 
22009     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetData",kwnames
,&obj0
,&obj1
)) goto fail
; 
22010     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION 
| 0); 
22011     if (SWIG_arg_fail(1)) SWIG_fail
; 
22013         arg2 
= (long)(SWIG_As_long(obj1
));  
22014         if (SWIG_arg_fail(2)) SWIG_fail
; 
22017         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22018         (arg1
)->SetData(arg2
); 
22020         wxPyEndAllowThreads(__tstate
); 
22021         if (PyErr_Occurred()) SWIG_fail
; 
22023     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
22030 static PyObject 
*_wrap_ListItem_SetWidth(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
22031     PyObject 
*resultobj
; 
22032     wxListItem 
*arg1 
= (wxListItem 
*) 0 ; 
22034     PyObject 
* obj0 
= 0 ; 
22035     PyObject 
* obj1 
= 0 ; 
22036     char *kwnames
[] = { 
22037         (char *) "self",(char *) "width", NULL 
 
22040     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
; 
22041     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION 
| 0); 
22042     if (SWIG_arg_fail(1)) SWIG_fail
; 
22044         arg2 
= (int)(SWIG_As_int(obj1
));  
22045         if (SWIG_arg_fail(2)) SWIG_fail
; 
22048         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22049         (arg1
)->SetWidth(arg2
); 
22051         wxPyEndAllowThreads(__tstate
); 
22052         if (PyErr_Occurred()) SWIG_fail
; 
22054     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
22061 static PyObject 
*_wrap_ListItem_SetAlign(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
22062     PyObject 
*resultobj
; 
22063     wxListItem 
*arg1 
= (wxListItem 
*) 0 ; 
22064     wxListColumnFormat arg2 
; 
22065     PyObject 
* obj0 
= 0 ; 
22066     PyObject 
* obj1 
= 0 ; 
22067     char *kwnames
[] = { 
22068         (char *) "self",(char *) "align", NULL 
 
22071     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetAlign",kwnames
,&obj0
,&obj1
)) goto fail
; 
22072     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION 
| 0); 
22073     if (SWIG_arg_fail(1)) SWIG_fail
; 
22075         arg2 
= (wxListColumnFormat
)(SWIG_As_int(obj1
));  
22076         if (SWIG_arg_fail(2)) SWIG_fail
; 
22079         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22080         (arg1
)->SetAlign((wxListColumnFormat 
)arg2
); 
22082         wxPyEndAllowThreads(__tstate
); 
22083         if (PyErr_Occurred()) SWIG_fail
; 
22085     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
22092 static PyObject 
*_wrap_ListItem_SetTextColour(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
22093     PyObject 
*resultobj
; 
22094     wxListItem 
*arg1 
= (wxListItem 
*) 0 ; 
22095     wxColour 
*arg2 
= 0 ; 
22097     PyObject 
* obj0 
= 0 ; 
22098     PyObject 
* obj1 
= 0 ; 
22099     char *kwnames
[] = { 
22100         (char *) "self",(char *) "colText", NULL 
 
22103     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
; 
22104     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION 
| 0); 
22105     if (SWIG_arg_fail(1)) SWIG_fail
; 
22108         if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
22111         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22112         (arg1
)->SetTextColour((wxColour 
const &)*arg2
); 
22114         wxPyEndAllowThreads(__tstate
); 
22115         if (PyErr_Occurred()) SWIG_fail
; 
22117     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
22124 static PyObject 
*_wrap_ListItem_SetBackgroundColour(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
22125     PyObject 
*resultobj
; 
22126     wxListItem 
*arg1 
= (wxListItem 
*) 0 ; 
22127     wxColour 
*arg2 
= 0 ; 
22129     PyObject 
* obj0 
= 0 ; 
22130     PyObject 
* obj1 
= 0 ; 
22131     char *kwnames
[] = { 
22132         (char *) "self",(char *) "colBack", NULL 
 
22135     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
; 
22136     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION 
| 0); 
22137     if (SWIG_arg_fail(1)) SWIG_fail
; 
22140         if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
22143         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22144         (arg1
)->SetBackgroundColour((wxColour 
const &)*arg2
); 
22146         wxPyEndAllowThreads(__tstate
); 
22147         if (PyErr_Occurred()) SWIG_fail
; 
22149     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
22156 static PyObject 
*_wrap_ListItem_SetFont(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
22157     PyObject 
*resultobj
; 
22158     wxListItem 
*arg1 
= (wxListItem 
*) 0 ; 
22160     PyObject 
* obj0 
= 0 ; 
22161     PyObject 
* obj1 
= 0 ; 
22162     char *kwnames
[] = { 
22163         (char *) "self",(char *) "font", NULL 
 
22166     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
; 
22167     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION 
| 0); 
22168     if (SWIG_arg_fail(1)) SWIG_fail
; 
22170         SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION 
| 0); 
22171         if (SWIG_arg_fail(2)) SWIG_fail
; 
22172         if (arg2 
== NULL
) { 
22173             SWIG_null_ref("wxFont"); 
22175         if (SWIG_arg_fail(2)) SWIG_fail
; 
22178         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22179         (arg1
)->SetFont((wxFont 
const &)*arg2
); 
22181         wxPyEndAllowThreads(__tstate
); 
22182         if (PyErr_Occurred()) SWIG_fail
; 
22184     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
22191 static PyObject 
*_wrap_ListItem_GetMask(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
22192     PyObject 
*resultobj
; 
22193     wxListItem 
*arg1 
= (wxListItem 
*) 0 ; 
22195     PyObject 
* obj0 
= 0 ; 
22196     char *kwnames
[] = { 
22197         (char *) "self", NULL 
 
22200     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetMask",kwnames
,&obj0
)) goto fail
; 
22201     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION 
| 0); 
22202     if (SWIG_arg_fail(1)) SWIG_fail
; 
22204         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22205         result 
= (long)(arg1
)->GetMask(); 
22207         wxPyEndAllowThreads(__tstate
); 
22208         if (PyErr_Occurred()) SWIG_fail
; 
22211         resultobj 
= SWIG_From_long((long)(result
));  
22219 static PyObject 
*_wrap_ListItem_GetId(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
22220     PyObject 
*resultobj
; 
22221     wxListItem 
*arg1 
= (wxListItem 
*) 0 ; 
22223     PyObject 
* obj0 
= 0 ; 
22224     char *kwnames
[] = { 
22225         (char *) "self", NULL 
 
22228     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetId",kwnames
,&obj0
)) goto fail
; 
22229     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION 
| 0); 
22230     if (SWIG_arg_fail(1)) SWIG_fail
; 
22232         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22233         result 
= (long)(arg1
)->GetId(); 
22235         wxPyEndAllowThreads(__tstate
); 
22236         if (PyErr_Occurred()) SWIG_fail
; 
22239         resultobj 
= SWIG_From_long((long)(result
));  
22247 static PyObject 
*_wrap_ListItem_GetColumn(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
22248     PyObject 
*resultobj
; 
22249     wxListItem 
*arg1 
= (wxListItem 
*) 0 ; 
22251     PyObject 
* obj0 
= 0 ; 
22252     char *kwnames
[] = { 
22253         (char *) "self", NULL 
 
22256     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetColumn",kwnames
,&obj0
)) goto fail
; 
22257     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION 
| 0); 
22258     if (SWIG_arg_fail(1)) SWIG_fail
; 
22260         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22261         result 
= (int)(arg1
)->GetColumn(); 
22263         wxPyEndAllowThreads(__tstate
); 
22264         if (PyErr_Occurred()) SWIG_fail
; 
22267         resultobj 
= SWIG_From_int((int)(result
));  
22275 static PyObject 
*_wrap_ListItem_GetState(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
22276     PyObject 
*resultobj
; 
22277     wxListItem 
*arg1 
= (wxListItem 
*) 0 ; 
22279     PyObject 
* obj0 
= 0 ; 
22280     char *kwnames
[] = { 
22281         (char *) "self", NULL 
 
22284     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetState",kwnames
,&obj0
)) goto fail
; 
22285     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION 
| 0); 
22286     if (SWIG_arg_fail(1)) SWIG_fail
; 
22288         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22289         result 
= (long)(arg1
)->GetState(); 
22291         wxPyEndAllowThreads(__tstate
); 
22292         if (PyErr_Occurred()) SWIG_fail
; 
22295         resultobj 
= SWIG_From_long((long)(result
));  
22303 static PyObject 
*_wrap_ListItem_GetText(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
22304     PyObject 
*resultobj
; 
22305     wxListItem 
*arg1 
= (wxListItem 
*) 0 ; 
22307     PyObject 
* obj0 
= 0 ; 
22308     char *kwnames
[] = { 
22309         (char *) "self", NULL 
 
22312     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetText",kwnames
,&obj0
)) goto fail
; 
22313     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION 
| 0); 
22314     if (SWIG_arg_fail(1)) SWIG_fail
; 
22316         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22318             wxString 
const &_result_ref 
= (arg1
)->GetText(); 
22319             result 
= (wxString 
*) &_result_ref
; 
22322         wxPyEndAllowThreads(__tstate
); 
22323         if (PyErr_Occurred()) SWIG_fail
; 
22327         resultobj 
= PyUnicode_FromWideChar(result
->c_str(), result
->Len()); 
22329         resultobj 
= PyString_FromStringAndSize(result
->c_str(), result
->Len()); 
22338 static PyObject 
*_wrap_ListItem_GetImage(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
22339     PyObject 
*resultobj
; 
22340     wxListItem 
*arg1 
= (wxListItem 
*) 0 ; 
22342     PyObject 
* obj0 
= 0 ; 
22343     char *kwnames
[] = { 
22344         (char *) "self", NULL 
 
22347     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetImage",kwnames
,&obj0
)) goto fail
; 
22348     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION 
| 0); 
22349     if (SWIG_arg_fail(1)) SWIG_fail
; 
22351         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22352         result 
= (int)(arg1
)->GetImage(); 
22354         wxPyEndAllowThreads(__tstate
); 
22355         if (PyErr_Occurred()) SWIG_fail
; 
22358         resultobj 
= SWIG_From_int((int)(result
));  
22366 static PyObject 
*_wrap_ListItem_GetData(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
22367     PyObject 
*resultobj
; 
22368     wxListItem 
*arg1 
= (wxListItem 
*) 0 ; 
22370     PyObject 
* obj0 
= 0 ; 
22371     char *kwnames
[] = { 
22372         (char *) "self", NULL 
 
22375     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetData",kwnames
,&obj0
)) goto fail
; 
22376     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION 
| 0); 
22377     if (SWIG_arg_fail(1)) SWIG_fail
; 
22379         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22380         result 
= (long)(arg1
)->GetData(); 
22382         wxPyEndAllowThreads(__tstate
); 
22383         if (PyErr_Occurred()) SWIG_fail
; 
22386         resultobj 
= SWIG_From_long((long)(result
));  
22394 static PyObject 
*_wrap_ListItem_GetWidth(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
22395     PyObject 
*resultobj
; 
22396     wxListItem 
*arg1 
= (wxListItem 
*) 0 ; 
22398     PyObject 
* obj0 
= 0 ; 
22399     char *kwnames
[] = { 
22400         (char *) "self", NULL 
 
22403     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetWidth",kwnames
,&obj0
)) goto fail
; 
22404     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION 
| 0); 
22405     if (SWIG_arg_fail(1)) SWIG_fail
; 
22407         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22408         result 
= (int)(arg1
)->GetWidth(); 
22410         wxPyEndAllowThreads(__tstate
); 
22411         if (PyErr_Occurred()) SWIG_fail
; 
22414         resultobj 
= SWIG_From_int((int)(result
));  
22422 static PyObject 
*_wrap_ListItem_GetAlign(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
22423     PyObject 
*resultobj
; 
22424     wxListItem 
*arg1 
= (wxListItem 
*) 0 ; 
22425     wxListColumnFormat result
; 
22426     PyObject 
* obj0 
= 0 ; 
22427     char *kwnames
[] = { 
22428         (char *) "self", NULL 
 
22431     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAlign",kwnames
,&obj0
)) goto fail
; 
22432     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION 
| 0); 
22433     if (SWIG_arg_fail(1)) SWIG_fail
; 
22435         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22436         result 
= (wxListColumnFormat
)(arg1
)->GetAlign(); 
22438         wxPyEndAllowThreads(__tstate
); 
22439         if (PyErr_Occurred()) SWIG_fail
; 
22441     resultobj 
= SWIG_From_int((result
)); 
22448 static PyObject 
*_wrap_ListItem_GetAttributes(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
22449     PyObject 
*resultobj
; 
22450     wxListItem 
*arg1 
= (wxListItem 
*) 0 ; 
22451     wxListItemAttr 
*result
; 
22452     PyObject 
* obj0 
= 0 ; 
22453     char *kwnames
[] = { 
22454         (char *) "self", NULL 
 
22457     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAttributes",kwnames
,&obj0
)) goto fail
; 
22458     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION 
| 0); 
22459     if (SWIG_arg_fail(1)) SWIG_fail
; 
22461         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22462         result 
= (wxListItemAttr 
*)(arg1
)->GetAttributes(); 
22464         wxPyEndAllowThreads(__tstate
); 
22465         if (PyErr_Occurred()) SWIG_fail
; 
22467     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItemAttr
, 0); 
22474 static PyObject 
*_wrap_ListItem_HasAttributes(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
22475     PyObject 
*resultobj
; 
22476     wxListItem 
*arg1 
= (wxListItem 
*) 0 ; 
22478     PyObject 
* obj0 
= 0 ; 
22479     char *kwnames
[] = { 
22480         (char *) "self", NULL 
 
22483     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_HasAttributes",kwnames
,&obj0
)) goto fail
; 
22484     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION 
| 0); 
22485     if (SWIG_arg_fail(1)) SWIG_fail
; 
22487         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22488         result 
= (bool)(arg1
)->HasAttributes(); 
22490         wxPyEndAllowThreads(__tstate
); 
22491         if (PyErr_Occurred()) SWIG_fail
; 
22494         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
22502 static PyObject 
*_wrap_ListItem_GetTextColour(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
22503     PyObject 
*resultobj
; 
22504     wxListItem 
*arg1 
= (wxListItem 
*) 0 ; 
22506     PyObject 
* obj0 
= 0 ; 
22507     char *kwnames
[] = { 
22508         (char *) "self", NULL 
 
22511     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetTextColour",kwnames
,&obj0
)) goto fail
; 
22512     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION 
| 0); 
22513     if (SWIG_arg_fail(1)) SWIG_fail
; 
22515         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22516         result 
= ((wxListItem 
const *)arg1
)->GetTextColour(); 
22518         wxPyEndAllowThreads(__tstate
); 
22519         if (PyErr_Occurred()) SWIG_fail
; 
22522         wxColour 
* resultptr
; 
22523         resultptr 
= new wxColour((wxColour 
&)(result
)); 
22524         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1); 
22532 static PyObject 
*_wrap_ListItem_GetBackgroundColour(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
22533     PyObject 
*resultobj
; 
22534     wxListItem 
*arg1 
= (wxListItem 
*) 0 ; 
22536     PyObject 
* obj0 
= 0 ; 
22537     char *kwnames
[] = { 
22538         (char *) "self", NULL 
 
22541     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetBackgroundColour",kwnames
,&obj0
)) goto fail
; 
22542     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION 
| 0); 
22543     if (SWIG_arg_fail(1)) SWIG_fail
; 
22545         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22546         result 
= ((wxListItem 
const *)arg1
)->GetBackgroundColour(); 
22548         wxPyEndAllowThreads(__tstate
); 
22549         if (PyErr_Occurred()) SWIG_fail
; 
22552         wxColour 
* resultptr
; 
22553         resultptr 
= new wxColour((wxColour 
&)(result
)); 
22554         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1); 
22562 static PyObject 
*_wrap_ListItem_GetFont(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
22563     PyObject 
*resultobj
; 
22564     wxListItem 
*arg1 
= (wxListItem 
*) 0 ; 
22566     PyObject 
* obj0 
= 0 ; 
22567     char *kwnames
[] = { 
22568         (char *) "self", NULL 
 
22571     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetFont",kwnames
,&obj0
)) goto fail
; 
22572     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION 
| 0); 
22573     if (SWIG_arg_fail(1)) SWIG_fail
; 
22575         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22576         result 
= ((wxListItem 
const *)arg1
)->GetFont(); 
22578         wxPyEndAllowThreads(__tstate
); 
22579         if (PyErr_Occurred()) SWIG_fail
; 
22582         wxFont 
* resultptr
; 
22583         resultptr 
= new wxFont((wxFont 
&)(result
)); 
22584         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1); 
22592 static PyObject 
*_wrap_ListItem_m_mask_set(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
22593     PyObject 
*resultobj
; 
22594     wxListItem 
*arg1 
= (wxListItem 
*) 0 ; 
22596     PyObject 
* obj0 
= 0 ; 
22597     PyObject 
* obj1 
= 0 ; 
22598     char *kwnames
[] = { 
22599         (char *) "self",(char *) "m_mask", NULL 
 
22602     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_mask_set",kwnames
,&obj0
,&obj1
)) goto fail
; 
22603     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION 
| 0); 
22604     if (SWIG_arg_fail(1)) SWIG_fail
; 
22606         arg2 
= (long)(SWIG_As_long(obj1
));  
22607         if (SWIG_arg_fail(2)) SWIG_fail
; 
22609     if (arg1
) (arg1
)->m_mask 
= arg2
; 
22611     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
22618 static PyObject 
*_wrap_ListItem_m_mask_get(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
22619     PyObject 
*resultobj
; 
22620     wxListItem 
*arg1 
= (wxListItem 
*) 0 ; 
22622     PyObject 
* obj0 
= 0 ; 
22623     char *kwnames
[] = { 
22624         (char *) "self", NULL 
 
22627     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_mask_get",kwnames
,&obj0
)) goto fail
; 
22628     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION 
| 0); 
22629     if (SWIG_arg_fail(1)) SWIG_fail
; 
22630     result 
= (long) ((arg1
)->m_mask
); 
22633         resultobj 
= SWIG_From_long((long)(result
));  
22641 static PyObject 
*_wrap_ListItem_m_itemId_set(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
22642     PyObject 
*resultobj
; 
22643     wxListItem 
*arg1 
= (wxListItem 
*) 0 ; 
22645     PyObject 
* obj0 
= 0 ; 
22646     PyObject 
* obj1 
= 0 ; 
22647     char *kwnames
[] = { 
22648         (char *) "self",(char *) "m_itemId", NULL 
 
22651     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_itemId_set",kwnames
,&obj0
,&obj1
)) goto fail
; 
22652     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION 
| 0); 
22653     if (SWIG_arg_fail(1)) SWIG_fail
; 
22655         arg2 
= (long)(SWIG_As_long(obj1
));  
22656         if (SWIG_arg_fail(2)) SWIG_fail
; 
22658     if (arg1
) (arg1
)->m_itemId 
= arg2
; 
22660     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
22667 static PyObject 
*_wrap_ListItem_m_itemId_get(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
22668     PyObject 
*resultobj
; 
22669     wxListItem 
*arg1 
= (wxListItem 
*) 0 ; 
22671     PyObject 
* obj0 
= 0 ; 
22672     char *kwnames
[] = { 
22673         (char *) "self", NULL 
 
22676     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_itemId_get",kwnames
,&obj0
)) goto fail
; 
22677     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION 
| 0); 
22678     if (SWIG_arg_fail(1)) SWIG_fail
; 
22679     result 
= (long) ((arg1
)->m_itemId
); 
22682         resultobj 
= SWIG_From_long((long)(result
));  
22690 static PyObject 
*_wrap_ListItem_m_col_set(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
22691     PyObject 
*resultobj
; 
22692     wxListItem 
*arg1 
= (wxListItem 
*) 0 ; 
22694     PyObject 
* obj0 
= 0 ; 
22695     PyObject 
* obj1 
= 0 ; 
22696     char *kwnames
[] = { 
22697         (char *) "self",(char *) "m_col", NULL 
 
22700     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_col_set",kwnames
,&obj0
,&obj1
)) goto fail
; 
22701     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION 
| 0); 
22702     if (SWIG_arg_fail(1)) SWIG_fail
; 
22704         arg2 
= (int)(SWIG_As_int(obj1
));  
22705         if (SWIG_arg_fail(2)) SWIG_fail
; 
22707     if (arg1
) (arg1
)->m_col 
= arg2
; 
22709     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
22716 static PyObject 
*_wrap_ListItem_m_col_get(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
22717     PyObject 
*resultobj
; 
22718     wxListItem 
*arg1 
= (wxListItem 
*) 0 ; 
22720     PyObject 
* obj0 
= 0 ; 
22721     char *kwnames
[] = { 
22722         (char *) "self", NULL 
 
22725     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_col_get",kwnames
,&obj0
)) goto fail
; 
22726     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION 
| 0); 
22727     if (SWIG_arg_fail(1)) SWIG_fail
; 
22728     result 
= (int) ((arg1
)->m_col
); 
22731         resultobj 
= SWIG_From_int((int)(result
));  
22739 static PyObject 
*_wrap_ListItem_m_state_set(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
22740     PyObject 
*resultobj
; 
22741     wxListItem 
*arg1 
= (wxListItem 
*) 0 ; 
22743     PyObject 
* obj0 
= 0 ; 
22744     PyObject 
* obj1 
= 0 ; 
22745     char *kwnames
[] = { 
22746         (char *) "self",(char *) "m_state", NULL 
 
22749     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_state_set",kwnames
,&obj0
,&obj1
)) goto fail
; 
22750     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION 
| 0); 
22751     if (SWIG_arg_fail(1)) SWIG_fail
; 
22753         arg2 
= (long)(SWIG_As_long(obj1
));  
22754         if (SWIG_arg_fail(2)) SWIG_fail
; 
22756     if (arg1
) (arg1
)->m_state 
= arg2
; 
22758     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
22765 static PyObject 
*_wrap_ListItem_m_state_get(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
22766     PyObject 
*resultobj
; 
22767     wxListItem 
*arg1 
= (wxListItem 
*) 0 ; 
22769     PyObject 
* obj0 
= 0 ; 
22770     char *kwnames
[] = { 
22771         (char *) "self", NULL 
 
22774     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_state_get",kwnames
,&obj0
)) goto fail
; 
22775     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION 
| 0); 
22776     if (SWIG_arg_fail(1)) SWIG_fail
; 
22777     result 
= (long) ((arg1
)->m_state
); 
22780         resultobj 
= SWIG_From_long((long)(result
));  
22788 static PyObject 
*_wrap_ListItem_m_stateMask_set(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
22789     PyObject 
*resultobj
; 
22790     wxListItem 
*arg1 
= (wxListItem 
*) 0 ; 
22792     PyObject 
* obj0 
= 0 ; 
22793     PyObject 
* obj1 
= 0 ; 
22794     char *kwnames
[] = { 
22795         (char *) "self",(char *) "m_stateMask", NULL 
 
22798     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_stateMask_set",kwnames
,&obj0
,&obj1
)) goto fail
; 
22799     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION 
| 0); 
22800     if (SWIG_arg_fail(1)) SWIG_fail
; 
22802         arg2 
= (long)(SWIG_As_long(obj1
));  
22803         if (SWIG_arg_fail(2)) SWIG_fail
; 
22805     if (arg1
) (arg1
)->m_stateMask 
= arg2
; 
22807     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
22814 static PyObject 
*_wrap_ListItem_m_stateMask_get(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
22815     PyObject 
*resultobj
; 
22816     wxListItem 
*arg1 
= (wxListItem 
*) 0 ; 
22818     PyObject 
* obj0 
= 0 ; 
22819     char *kwnames
[] = { 
22820         (char *) "self", NULL 
 
22823     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_stateMask_get",kwnames
,&obj0
)) goto fail
; 
22824     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION 
| 0); 
22825     if (SWIG_arg_fail(1)) SWIG_fail
; 
22826     result 
= (long) ((arg1
)->m_stateMask
); 
22829         resultobj 
= SWIG_From_long((long)(result
));  
22837 static PyObject 
*_wrap_ListItem_m_text_set(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
22838     PyObject 
*resultobj
; 
22839     wxListItem 
*arg1 
= (wxListItem 
*) 0 ; 
22840     wxString 
*arg2 
= (wxString 
*) 0 ; 
22841     bool temp2 
= false ; 
22842     PyObject 
* obj0 
= 0 ; 
22843     PyObject 
* obj1 
= 0 ; 
22844     char *kwnames
[] = { 
22845         (char *) "self",(char *) "m_text", NULL 
 
22848     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_text_set",kwnames
,&obj0
,&obj1
)) goto fail
; 
22849     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION 
| 0); 
22850     if (SWIG_arg_fail(1)) SWIG_fail
; 
22852         arg2 
= wxString_in_helper(obj1
); 
22853         if (arg2 
== NULL
) SWIG_fail
; 
22856     if (arg1
) (arg1
)->m_text 
= *arg2
; 
22858     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
22873 static PyObject 
*_wrap_ListItem_m_text_get(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
22874     PyObject 
*resultobj
; 
22875     wxListItem 
*arg1 
= (wxListItem 
*) 0 ; 
22877     PyObject 
* obj0 
= 0 ; 
22878     char *kwnames
[] = { 
22879         (char *) "self", NULL 
 
22882     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_text_get",kwnames
,&obj0
)) goto fail
; 
22883     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION 
| 0); 
22884     if (SWIG_arg_fail(1)) SWIG_fail
; 
22885     result 
= (wxString 
*)& ((arg1
)->m_text
); 
22889         resultobj 
= PyUnicode_FromWideChar(result
->c_str(), result
->Len()); 
22891         resultobj 
= PyString_FromStringAndSize(result
->c_str(), result
->Len()); 
22900 static PyObject 
*_wrap_ListItem_m_image_set(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
22901     PyObject 
*resultobj
; 
22902     wxListItem 
*arg1 
= (wxListItem 
*) 0 ; 
22904     PyObject 
* obj0 
= 0 ; 
22905     PyObject 
* obj1 
= 0 ; 
22906     char *kwnames
[] = { 
22907         (char *) "self",(char *) "m_image", NULL 
 
22910     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_image_set",kwnames
,&obj0
,&obj1
)) goto fail
; 
22911     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION 
| 0); 
22912     if (SWIG_arg_fail(1)) SWIG_fail
; 
22914         arg2 
= (int)(SWIG_As_int(obj1
));  
22915         if (SWIG_arg_fail(2)) SWIG_fail
; 
22917     if (arg1
) (arg1
)->m_image 
= arg2
; 
22919     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
22926 static PyObject 
*_wrap_ListItem_m_image_get(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
22927     PyObject 
*resultobj
; 
22928     wxListItem 
*arg1 
= (wxListItem 
*) 0 ; 
22930     PyObject 
* obj0 
= 0 ; 
22931     char *kwnames
[] = { 
22932         (char *) "self", NULL 
 
22935     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_image_get",kwnames
,&obj0
)) goto fail
; 
22936     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION 
| 0); 
22937     if (SWIG_arg_fail(1)) SWIG_fail
; 
22938     result 
= (int) ((arg1
)->m_image
); 
22941         resultobj 
= SWIG_From_int((int)(result
));  
22949 static PyObject 
*_wrap_ListItem_m_data_set(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
22950     PyObject 
*resultobj
; 
22951     wxListItem 
*arg1 
= (wxListItem 
*) 0 ; 
22953     PyObject 
* obj0 
= 0 ; 
22954     PyObject 
* obj1 
= 0 ; 
22955     char *kwnames
[] = { 
22956         (char *) "self",(char *) "m_data", NULL 
 
22959     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_data_set",kwnames
,&obj0
,&obj1
)) goto fail
; 
22960     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION 
| 0); 
22961     if (SWIG_arg_fail(1)) SWIG_fail
; 
22963         arg2 
= (long)(SWIG_As_long(obj1
));  
22964         if (SWIG_arg_fail(2)) SWIG_fail
; 
22966     if (arg1
) (arg1
)->m_data 
= arg2
; 
22968     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
22975 static PyObject 
*_wrap_ListItem_m_data_get(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
22976     PyObject 
*resultobj
; 
22977     wxListItem 
*arg1 
= (wxListItem 
*) 0 ; 
22979     PyObject 
* obj0 
= 0 ; 
22980     char *kwnames
[] = { 
22981         (char *) "self", NULL 
 
22984     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_data_get",kwnames
,&obj0
)) goto fail
; 
22985     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION 
| 0); 
22986     if (SWIG_arg_fail(1)) SWIG_fail
; 
22987     result 
= (long) ((arg1
)->m_data
); 
22990         resultobj 
= SWIG_From_long((long)(result
));  
22998 static PyObject 
*_wrap_ListItem_m_format_set(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
22999     PyObject 
*resultobj
; 
23000     wxListItem 
*arg1 
= (wxListItem 
*) 0 ; 
23002     PyObject 
* obj0 
= 0 ; 
23003     PyObject 
* obj1 
= 0 ; 
23004     char *kwnames
[] = { 
23005         (char *) "self",(char *) "m_format", NULL 
 
23008     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_format_set",kwnames
,&obj0
,&obj1
)) goto fail
; 
23009     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION 
| 0); 
23010     if (SWIG_arg_fail(1)) SWIG_fail
; 
23012         arg2 
= (int)(SWIG_As_int(obj1
));  
23013         if (SWIG_arg_fail(2)) SWIG_fail
; 
23015     if (arg1
) (arg1
)->m_format 
= arg2
; 
23017     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
23024 static PyObject 
*_wrap_ListItem_m_format_get(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
23025     PyObject 
*resultobj
; 
23026     wxListItem 
*arg1 
= (wxListItem 
*) 0 ; 
23028     PyObject 
* obj0 
= 0 ; 
23029     char *kwnames
[] = { 
23030         (char *) "self", NULL 
 
23033     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_format_get",kwnames
,&obj0
)) goto fail
; 
23034     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION 
| 0); 
23035     if (SWIG_arg_fail(1)) SWIG_fail
; 
23036     result 
= (int) ((arg1
)->m_format
); 
23039         resultobj 
= SWIG_From_int((int)(result
));  
23047 static PyObject 
*_wrap_ListItem_m_width_set(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
23048     PyObject 
*resultobj
; 
23049     wxListItem 
*arg1 
= (wxListItem 
*) 0 ; 
23051     PyObject 
* obj0 
= 0 ; 
23052     PyObject 
* obj1 
= 0 ; 
23053     char *kwnames
[] = { 
23054         (char *) "self",(char *) "m_width", NULL 
 
23057     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_width_set",kwnames
,&obj0
,&obj1
)) goto fail
; 
23058     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION 
| 0); 
23059     if (SWIG_arg_fail(1)) SWIG_fail
; 
23061         arg2 
= (int)(SWIG_As_int(obj1
));  
23062         if (SWIG_arg_fail(2)) SWIG_fail
; 
23064     if (arg1
) (arg1
)->m_width 
= arg2
; 
23066     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
23073 static PyObject 
*_wrap_ListItem_m_width_get(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
23074     PyObject 
*resultobj
; 
23075     wxListItem 
*arg1 
= (wxListItem 
*) 0 ; 
23077     PyObject 
* obj0 
= 0 ; 
23078     char *kwnames
[] = { 
23079         (char *) "self", NULL 
 
23082     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_width_get",kwnames
,&obj0
)) goto fail
; 
23083     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION 
| 0); 
23084     if (SWIG_arg_fail(1)) SWIG_fail
; 
23085     result 
= (int) ((arg1
)->m_width
); 
23088         resultobj 
= SWIG_From_int((int)(result
));  
23096 static PyObject 
* ListItem_swigregister(PyObject 
*, PyObject 
*args
) { 
23098     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
23099     SWIG_TypeClientData(SWIGTYPE_p_wxListItem
, obj
); 
23101     return Py_BuildValue((char *)""); 
23103 static PyObject 
*_wrap_new_ListEvent(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
23104     PyObject 
*resultobj
; 
23105     wxEventType arg1 
= (wxEventType
) wxEVT_NULL 
; 
23106     int arg2 
= (int) 0 ; 
23107     wxListEvent 
*result
; 
23108     PyObject 
* obj0 
= 0 ; 
23109     PyObject 
* obj1 
= 0 ; 
23110     char *kwnames
[] = { 
23111         (char *) "commandType",(char *) "id", NULL 
 
23114     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ListEvent",kwnames
,&obj0
,&obj1
)) goto fail
; 
23117             arg1 
= (wxEventType
)(SWIG_As_int(obj0
));  
23118             if (SWIG_arg_fail(1)) SWIG_fail
; 
23123             arg2 
= (int)(SWIG_As_int(obj1
));  
23124             if (SWIG_arg_fail(2)) SWIG_fail
; 
23128         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23129         result 
= (wxListEvent 
*)new wxListEvent(arg1
,arg2
); 
23131         wxPyEndAllowThreads(__tstate
); 
23132         if (PyErr_Occurred()) SWIG_fail
; 
23134     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListEvent
, 1); 
23141 static PyObject 
*_wrap_ListEvent_m_code_set(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
23142     PyObject 
*resultobj
; 
23143     wxListEvent 
*arg1 
= (wxListEvent 
*) 0 ; 
23145     PyObject 
* obj0 
= 0 ; 
23146     PyObject 
* obj1 
= 0 ; 
23147     char *kwnames
[] = { 
23148         (char *) "self",(char *) "m_code", NULL 
 
23151     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_code_set",kwnames
,&obj0
,&obj1
)) goto fail
; 
23152     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
23153     if (SWIG_arg_fail(1)) SWIG_fail
; 
23155         arg2 
= (int)(SWIG_As_int(obj1
));  
23156         if (SWIG_arg_fail(2)) SWIG_fail
; 
23158     if (arg1
) (arg1
)->m_code 
= arg2
; 
23160     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
23167 static PyObject 
*_wrap_ListEvent_m_code_get(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
23168     PyObject 
*resultobj
; 
23169     wxListEvent 
*arg1 
= (wxListEvent 
*) 0 ; 
23171     PyObject 
* obj0 
= 0 ; 
23172     char *kwnames
[] = { 
23173         (char *) "self", NULL 
 
23176     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_code_get",kwnames
,&obj0
)) goto fail
; 
23177     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
23178     if (SWIG_arg_fail(1)) SWIG_fail
; 
23179     result 
= (int) ((arg1
)->m_code
); 
23182         resultobj 
= SWIG_From_int((int)(result
));  
23190 static PyObject 
*_wrap_ListEvent_m_oldItemIndex_set(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
23191     PyObject 
*resultobj
; 
23192     wxListEvent 
*arg1 
= (wxListEvent 
*) 0 ; 
23194     PyObject 
* obj0 
= 0 ; 
23195     PyObject 
* obj1 
= 0 ; 
23196     char *kwnames
[] = { 
23197         (char *) "self",(char *) "m_oldItemIndex", NULL 
 
23200     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_oldItemIndex_set",kwnames
,&obj0
,&obj1
)) goto fail
; 
23201     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
23202     if (SWIG_arg_fail(1)) SWIG_fail
; 
23204         arg2 
= (long)(SWIG_As_long(obj1
));  
23205         if (SWIG_arg_fail(2)) SWIG_fail
; 
23207     if (arg1
) (arg1
)->m_oldItemIndex 
= arg2
; 
23209     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
23216 static PyObject 
*_wrap_ListEvent_m_oldItemIndex_get(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
23217     PyObject 
*resultobj
; 
23218     wxListEvent 
*arg1 
= (wxListEvent 
*) 0 ; 
23220     PyObject 
* obj0 
= 0 ; 
23221     char *kwnames
[] = { 
23222         (char *) "self", NULL 
 
23225     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_oldItemIndex_get",kwnames
,&obj0
)) goto fail
; 
23226     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
23227     if (SWIG_arg_fail(1)) SWIG_fail
; 
23228     result 
= (long) ((arg1
)->m_oldItemIndex
); 
23231         resultobj 
= SWIG_From_long((long)(result
));  
23239 static PyObject 
*_wrap_ListEvent_m_itemIndex_set(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
23240     PyObject 
*resultobj
; 
23241     wxListEvent 
*arg1 
= (wxListEvent 
*) 0 ; 
23243     PyObject 
* obj0 
= 0 ; 
23244     PyObject 
* obj1 
= 0 ; 
23245     char *kwnames
[] = { 
23246         (char *) "self",(char *) "m_itemIndex", NULL 
 
23249     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_itemIndex_set",kwnames
,&obj0
,&obj1
)) goto fail
; 
23250     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
23251     if (SWIG_arg_fail(1)) SWIG_fail
; 
23253         arg2 
= (long)(SWIG_As_long(obj1
));  
23254         if (SWIG_arg_fail(2)) SWIG_fail
; 
23256     if (arg1
) (arg1
)->m_itemIndex 
= arg2
; 
23258     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
23265 static PyObject 
*_wrap_ListEvent_m_itemIndex_get(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
23266     PyObject 
*resultobj
; 
23267     wxListEvent 
*arg1 
= (wxListEvent 
*) 0 ; 
23269     PyObject 
* obj0 
= 0 ; 
23270     char *kwnames
[] = { 
23271         (char *) "self", NULL 
 
23274     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_itemIndex_get",kwnames
,&obj0
)) goto fail
; 
23275     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
23276     if (SWIG_arg_fail(1)) SWIG_fail
; 
23277     result 
= (long) ((arg1
)->m_itemIndex
); 
23280         resultobj 
= SWIG_From_long((long)(result
));  
23288 static PyObject 
*_wrap_ListEvent_m_col_set(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
23289     PyObject 
*resultobj
; 
23290     wxListEvent 
*arg1 
= (wxListEvent 
*) 0 ; 
23292     PyObject 
* obj0 
= 0 ; 
23293     PyObject 
* obj1 
= 0 ; 
23294     char *kwnames
[] = { 
23295         (char *) "self",(char *) "m_col", NULL 
 
23298     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_col_set",kwnames
,&obj0
,&obj1
)) goto fail
; 
23299     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
23300     if (SWIG_arg_fail(1)) SWIG_fail
; 
23302         arg2 
= (int)(SWIG_As_int(obj1
));  
23303         if (SWIG_arg_fail(2)) SWIG_fail
; 
23305     if (arg1
) (arg1
)->m_col 
= arg2
; 
23307     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
23314 static PyObject 
*_wrap_ListEvent_m_col_get(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
23315     PyObject 
*resultobj
; 
23316     wxListEvent 
*arg1 
= (wxListEvent 
*) 0 ; 
23318     PyObject 
* obj0 
= 0 ; 
23319     char *kwnames
[] = { 
23320         (char *) "self", NULL 
 
23323     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_col_get",kwnames
,&obj0
)) goto fail
; 
23324     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
23325     if (SWIG_arg_fail(1)) SWIG_fail
; 
23326     result 
= (int) ((arg1
)->m_col
); 
23329         resultobj 
= SWIG_From_int((int)(result
));  
23337 static PyObject 
*_wrap_ListEvent_m_pointDrag_set(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
23338     PyObject 
*resultobj
; 
23339     wxListEvent 
*arg1 
= (wxListEvent 
*) 0 ; 
23340     wxPoint 
*arg2 
= (wxPoint 
*) 0 ; 
23341     PyObject 
* obj0 
= 0 ; 
23342     PyObject 
* obj1 
= 0 ; 
23343     char *kwnames
[] = { 
23344         (char *) "self",(char *) "m_pointDrag", NULL 
 
23347     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_pointDrag_set",kwnames
,&obj0
,&obj1
)) goto fail
; 
23348     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
23349     if (SWIG_arg_fail(1)) SWIG_fail
; 
23350     SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION 
| 0); 
23351     if (SWIG_arg_fail(2)) SWIG_fail
; 
23352     if (arg1
) (arg1
)->m_pointDrag 
= *arg2
; 
23354     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
23361 static PyObject 
*_wrap_ListEvent_m_pointDrag_get(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
23362     PyObject 
*resultobj
; 
23363     wxListEvent 
*arg1 
= (wxListEvent 
*) 0 ; 
23365     PyObject 
* obj0 
= 0 ; 
23366     char *kwnames
[] = { 
23367         (char *) "self", NULL 
 
23370     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_pointDrag_get",kwnames
,&obj0
)) goto fail
; 
23371     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
23372     if (SWIG_arg_fail(1)) SWIG_fail
; 
23373     result 
= (wxPoint 
*)& ((arg1
)->m_pointDrag
); 
23375     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0); 
23382 static PyObject 
*_wrap_ListEvent_m_item_get(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
23383     PyObject 
*resultobj
; 
23384     wxListEvent 
*arg1 
= (wxListEvent 
*) 0 ; 
23385     wxListItem 
*result
; 
23386     PyObject 
* obj0 
= 0 ; 
23387     char *kwnames
[] = { 
23388         (char *) "self", NULL 
 
23391     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_item_get",kwnames
,&obj0
)) goto fail
; 
23392     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
23393     if (SWIG_arg_fail(1)) SWIG_fail
; 
23394     result 
= (wxListItem 
*)& ((arg1
)->m_item
); 
23397         resultobj 
= wxPyMake_wxObject(result
, 0);  
23405 static PyObject 
*_wrap_ListEvent_GetKeyCode(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
23406     PyObject 
*resultobj
; 
23407     wxListEvent 
*arg1 
= (wxListEvent 
*) 0 ; 
23409     PyObject 
* obj0 
= 0 ; 
23410     char *kwnames
[] = { 
23411         (char *) "self", NULL 
 
23414     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
; 
23415     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
23416     if (SWIG_arg_fail(1)) SWIG_fail
; 
23418         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23419         result 
= (int)(arg1
)->GetKeyCode(); 
23421         wxPyEndAllowThreads(__tstate
); 
23422         if (PyErr_Occurred()) SWIG_fail
; 
23425         resultobj 
= SWIG_From_int((int)(result
));  
23433 static PyObject 
*_wrap_ListEvent_GetIndex(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
23434     PyObject 
*resultobj
; 
23435     wxListEvent 
*arg1 
= (wxListEvent 
*) 0 ; 
23437     PyObject 
* obj0 
= 0 ; 
23438     char *kwnames
[] = { 
23439         (char *) "self", NULL 
 
23442     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetIndex",kwnames
,&obj0
)) goto fail
; 
23443     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
23444     if (SWIG_arg_fail(1)) SWIG_fail
; 
23446         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23447         result 
= (long)(arg1
)->GetIndex(); 
23449         wxPyEndAllowThreads(__tstate
); 
23450         if (PyErr_Occurred()) SWIG_fail
; 
23453         resultobj 
= SWIG_From_long((long)(result
));  
23461 static PyObject 
*_wrap_ListEvent_GetColumn(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
23462     PyObject 
*resultobj
; 
23463     wxListEvent 
*arg1 
= (wxListEvent 
*) 0 ; 
23465     PyObject 
* obj0 
= 0 ; 
23466     char *kwnames
[] = { 
23467         (char *) "self", NULL 
 
23470     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetColumn",kwnames
,&obj0
)) goto fail
; 
23471     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
23472     if (SWIG_arg_fail(1)) SWIG_fail
; 
23474         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23475         result 
= (int)(arg1
)->GetColumn(); 
23477         wxPyEndAllowThreads(__tstate
); 
23478         if (PyErr_Occurred()) SWIG_fail
; 
23481         resultobj 
= SWIG_From_int((int)(result
));  
23489 static PyObject 
*_wrap_ListEvent_GetPoint(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
23490     PyObject 
*resultobj
; 
23491     wxListEvent 
*arg1 
= (wxListEvent 
*) 0 ; 
23493     PyObject 
* obj0 
= 0 ; 
23494     char *kwnames
[] = { 
23495         (char *) "self", NULL 
 
23498     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetPoint",kwnames
,&obj0
)) goto fail
; 
23499     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
23500     if (SWIG_arg_fail(1)) SWIG_fail
; 
23502         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23503         result 
= (arg1
)->GetPoint(); 
23505         wxPyEndAllowThreads(__tstate
); 
23506         if (PyErr_Occurred()) SWIG_fail
; 
23509         wxPoint 
* resultptr
; 
23510         resultptr 
= new wxPoint((wxPoint 
&)(result
)); 
23511         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1); 
23519 static PyObject 
*_wrap_ListEvent_GetLabel(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
23520     PyObject 
*resultobj
; 
23521     wxListEvent 
*arg1 
= (wxListEvent 
*) 0 ; 
23523     PyObject 
* obj0 
= 0 ; 
23524     char *kwnames
[] = { 
23525         (char *) "self", NULL 
 
23528     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetLabel",kwnames
,&obj0
)) goto fail
; 
23529     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
23530     if (SWIG_arg_fail(1)) SWIG_fail
; 
23532         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23534             wxString 
const &_result_ref 
= (arg1
)->GetLabel(); 
23535             result 
= (wxString 
*) &_result_ref
; 
23538         wxPyEndAllowThreads(__tstate
); 
23539         if (PyErr_Occurred()) SWIG_fail
; 
23543         resultobj 
= PyUnicode_FromWideChar(result
->c_str(), result
->Len()); 
23545         resultobj 
= PyString_FromStringAndSize(result
->c_str(), result
->Len()); 
23554 static PyObject 
*_wrap_ListEvent_GetText(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
23555     PyObject 
*resultobj
; 
23556     wxListEvent 
*arg1 
= (wxListEvent 
*) 0 ; 
23558     PyObject 
* obj0 
= 0 ; 
23559     char *kwnames
[] = { 
23560         (char *) "self", NULL 
 
23563     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetText",kwnames
,&obj0
)) goto fail
; 
23564     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
23565     if (SWIG_arg_fail(1)) SWIG_fail
; 
23567         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23569             wxString 
const &_result_ref 
= (arg1
)->GetText(); 
23570             result 
= (wxString 
*) &_result_ref
; 
23573         wxPyEndAllowThreads(__tstate
); 
23574         if (PyErr_Occurred()) SWIG_fail
; 
23578         resultobj 
= PyUnicode_FromWideChar(result
->c_str(), result
->Len()); 
23580         resultobj 
= PyString_FromStringAndSize(result
->c_str(), result
->Len()); 
23589 static PyObject 
*_wrap_ListEvent_GetImage(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
23590     PyObject 
*resultobj
; 
23591     wxListEvent 
*arg1 
= (wxListEvent 
*) 0 ; 
23593     PyObject 
* obj0 
= 0 ; 
23594     char *kwnames
[] = { 
23595         (char *) "self", NULL 
 
23598     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetImage",kwnames
,&obj0
)) goto fail
; 
23599     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
23600     if (SWIG_arg_fail(1)) SWIG_fail
; 
23602         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23603         result 
= (int)(arg1
)->GetImage(); 
23605         wxPyEndAllowThreads(__tstate
); 
23606         if (PyErr_Occurred()) SWIG_fail
; 
23609         resultobj 
= SWIG_From_int((int)(result
));  
23617 static PyObject 
*_wrap_ListEvent_GetData(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
23618     PyObject 
*resultobj
; 
23619     wxListEvent 
*arg1 
= (wxListEvent 
*) 0 ; 
23621     PyObject 
* obj0 
= 0 ; 
23622     char *kwnames
[] = { 
23623         (char *) "self", NULL 
 
23626     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetData",kwnames
,&obj0
)) goto fail
; 
23627     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
23628     if (SWIG_arg_fail(1)) SWIG_fail
; 
23630         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23631         result 
= (long)(arg1
)->GetData(); 
23633         wxPyEndAllowThreads(__tstate
); 
23634         if (PyErr_Occurred()) SWIG_fail
; 
23637         resultobj 
= SWIG_From_long((long)(result
));  
23645 static PyObject 
*_wrap_ListEvent_GetMask(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
23646     PyObject 
*resultobj
; 
23647     wxListEvent 
*arg1 
= (wxListEvent 
*) 0 ; 
23649     PyObject 
* obj0 
= 0 ; 
23650     char *kwnames
[] = { 
23651         (char *) "self", NULL 
 
23654     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetMask",kwnames
,&obj0
)) goto fail
; 
23655     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
23656     if (SWIG_arg_fail(1)) SWIG_fail
; 
23658         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23659         result 
= (long)(arg1
)->GetMask(); 
23661         wxPyEndAllowThreads(__tstate
); 
23662         if (PyErr_Occurred()) SWIG_fail
; 
23665         resultobj 
= SWIG_From_long((long)(result
));  
23673 static PyObject 
*_wrap_ListEvent_GetItem(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
23674     PyObject 
*resultobj
; 
23675     wxListEvent 
*arg1 
= (wxListEvent 
*) 0 ; 
23676     wxListItem 
*result
; 
23677     PyObject 
* obj0 
= 0 ; 
23678     char *kwnames
[] = { 
23679         (char *) "self", NULL 
 
23682     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetItem",kwnames
,&obj0
)) goto fail
; 
23683     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
23684     if (SWIG_arg_fail(1)) SWIG_fail
; 
23686         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23688             wxListItem 
const &_result_ref 
= (arg1
)->GetItem(); 
23689             result 
= (wxListItem 
*) &_result_ref
; 
23692         wxPyEndAllowThreads(__tstate
); 
23693         if (PyErr_Occurred()) SWIG_fail
; 
23695     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItem
, 0); 
23702 static PyObject 
*_wrap_ListEvent_GetCacheFrom(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
23703     PyObject 
*resultobj
; 
23704     wxListEvent 
*arg1 
= (wxListEvent 
*) 0 ; 
23706     PyObject 
* obj0 
= 0 ; 
23707     char *kwnames
[] = { 
23708         (char *) "self", NULL 
 
23711     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheFrom",kwnames
,&obj0
)) goto fail
; 
23712     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
23713     if (SWIG_arg_fail(1)) SWIG_fail
; 
23715         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23716         result 
= (long)(arg1
)->GetCacheFrom(); 
23718         wxPyEndAllowThreads(__tstate
); 
23719         if (PyErr_Occurred()) SWIG_fail
; 
23722         resultobj 
= SWIG_From_long((long)(result
));  
23730 static PyObject 
*_wrap_ListEvent_GetCacheTo(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
23731     PyObject 
*resultobj
; 
23732     wxListEvent 
*arg1 
= (wxListEvent 
*) 0 ; 
23734     PyObject 
* obj0 
= 0 ; 
23735     char *kwnames
[] = { 
23736         (char *) "self", NULL 
 
23739     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheTo",kwnames
,&obj0
)) goto fail
; 
23740     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
23741     if (SWIG_arg_fail(1)) SWIG_fail
; 
23743         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23744         result 
= (long)(arg1
)->GetCacheTo(); 
23746         wxPyEndAllowThreads(__tstate
); 
23747         if (PyErr_Occurred()) SWIG_fail
; 
23750         resultobj 
= SWIG_From_long((long)(result
));  
23758 static PyObject 
*_wrap_ListEvent_IsEditCancelled(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
23759     PyObject 
*resultobj
; 
23760     wxListEvent 
*arg1 
= (wxListEvent 
*) 0 ; 
23762     PyObject 
* obj0 
= 0 ; 
23763     char *kwnames
[] = { 
23764         (char *) "self", NULL 
 
23767     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
; 
23768     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
23769     if (SWIG_arg_fail(1)) SWIG_fail
; 
23771         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23772         result 
= (bool)((wxListEvent 
const *)arg1
)->IsEditCancelled(); 
23774         wxPyEndAllowThreads(__tstate
); 
23775         if (PyErr_Occurred()) SWIG_fail
; 
23778         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
23786 static PyObject 
*_wrap_ListEvent_SetEditCanceled(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
23787     PyObject 
*resultobj
; 
23788     wxListEvent 
*arg1 
= (wxListEvent 
*) 0 ; 
23790     PyObject 
* obj0 
= 0 ; 
23791     PyObject 
* obj1 
= 0 ; 
23792     char *kwnames
[] = { 
23793         (char *) "self",(char *) "editCancelled", NULL 
 
23796     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
; 
23797     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
23798     if (SWIG_arg_fail(1)) SWIG_fail
; 
23800         arg2 
= (bool)(SWIG_As_bool(obj1
));  
23801         if (SWIG_arg_fail(2)) SWIG_fail
; 
23804         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23805         (arg1
)->SetEditCanceled(arg2
); 
23807         wxPyEndAllowThreads(__tstate
); 
23808         if (PyErr_Occurred()) SWIG_fail
; 
23810     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
23817 static PyObject 
* ListEvent_swigregister(PyObject 
*, PyObject 
*args
) { 
23819     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
23820     SWIG_TypeClientData(SWIGTYPE_p_wxListEvent
, obj
); 
23822     return Py_BuildValue((char *)""); 
23824 static PyObject 
*_wrap_new_ListCtrl(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
23825     PyObject 
*resultobj
; 
23826     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
23827     int arg2 
= (int) -1 ; 
23828     wxPoint 
const &arg3_defvalue 
= wxDefaultPosition 
; 
23829     wxPoint 
*arg3 
= (wxPoint 
*) &arg3_defvalue 
; 
23830     wxSize 
const &arg4_defvalue 
= wxDefaultSize 
; 
23831     wxSize 
*arg4 
= (wxSize 
*) &arg4_defvalue 
; 
23832     long arg5 
= (long) wxLC_ICON 
; 
23833     wxValidator 
const &arg6_defvalue 
= wxDefaultValidator 
; 
23834     wxValidator 
*arg6 
= (wxValidator 
*) &arg6_defvalue 
; 
23835     wxString 
const &arg7_defvalue 
= wxPyListCtrlNameStr 
; 
23836     wxString 
*arg7 
= (wxString 
*) &arg7_defvalue 
; 
23837     wxPyListCtrl 
*result
; 
23840     bool temp7 
= false ; 
23841     PyObject 
* obj0 
= 0 ; 
23842     PyObject 
* obj1 
= 0 ; 
23843     PyObject 
* obj2 
= 0 ; 
23844     PyObject 
* obj3 
= 0 ; 
23845     PyObject 
* obj4 
= 0 ; 
23846     PyObject 
* obj5 
= 0 ; 
23847     PyObject 
* obj6 
= 0 ; 
23848     char *kwnames
[] = { 
23849         (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL 
 
23852     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
; 
23853     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
23854     if (SWIG_arg_fail(1)) SWIG_fail
; 
23857             arg2 
= (int)(SWIG_As_int(obj1
));  
23858             if (SWIG_arg_fail(2)) SWIG_fail
; 
23864             if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
; 
23870             if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
; 
23875             arg5 
= (long)(SWIG_As_long(obj4
));  
23876             if (SWIG_arg_fail(5)) SWIG_fail
; 
23881             SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION 
| 0); 
23882             if (SWIG_arg_fail(6)) SWIG_fail
; 
23883             if (arg6 
== NULL
) { 
23884                 SWIG_null_ref("wxValidator"); 
23886             if (SWIG_arg_fail(6)) SWIG_fail
; 
23891             arg7 
= wxString_in_helper(obj6
); 
23892             if (arg7 
== NULL
) SWIG_fail
; 
23897         if (!wxPyCheckForApp()) SWIG_fail
; 
23898         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23899         result 
= (wxPyListCtrl 
*)new wxPyListCtrl(arg1
,arg2
,(wxPoint 
const &)*arg3
,(wxSize 
const &)*arg4
,arg5
,(wxValidator 
const &)*arg6
,(wxString 
const &)*arg7
); 
23901         wxPyEndAllowThreads(__tstate
); 
23902         if (PyErr_Occurred()) SWIG_fail
; 
23904     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyListCtrl
, 1); 
23919 static PyObject 
*_wrap_new_PreListCtrl(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
23920     PyObject 
*resultobj
; 
23921     wxPyListCtrl 
*result
; 
23922     char *kwnames
[] = { 
23926     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListCtrl",kwnames
)) goto fail
; 
23928         if (!wxPyCheckForApp()) SWIG_fail
; 
23929         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23930         result 
= (wxPyListCtrl 
*)new wxPyListCtrl(); 
23932         wxPyEndAllowThreads(__tstate
); 
23933         if (PyErr_Occurred()) SWIG_fail
; 
23935     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyListCtrl
, 1); 
23942 static PyObject 
*_wrap_ListCtrl_Create(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
23943     PyObject 
*resultobj
; 
23944     wxPyListCtrl 
*arg1 
= (wxPyListCtrl 
*) 0 ; 
23945     wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
23946     int arg3 
= (int) -1 ; 
23947     wxPoint 
const &arg4_defvalue 
= wxDefaultPosition 
; 
23948     wxPoint 
*arg4 
= (wxPoint 
*) &arg4_defvalue 
; 
23949     wxSize 
const &arg5_defvalue 
= wxDefaultSize 
; 
23950     wxSize 
*arg5 
= (wxSize 
*) &arg5_defvalue 
; 
23951     long arg6 
= (long) wxLC_ICON 
; 
23952     wxValidator 
const &arg7_defvalue 
= wxDefaultValidator 
; 
23953     wxValidator 
*arg7 
= (wxValidator 
*) &arg7_defvalue 
; 
23954     wxString 
const &arg8_defvalue 
= wxPyListCtrlNameStr 
; 
23955     wxString 
*arg8 
= (wxString 
*) &arg8_defvalue 
; 
23959     bool temp8 
= false ; 
23960     PyObject 
* obj0 
= 0 ; 
23961     PyObject 
* obj1 
= 0 ; 
23962     PyObject 
* obj2 
= 0 ; 
23963     PyObject 
* obj3 
= 0 ; 
23964     PyObject 
* obj4 
= 0 ; 
23965     PyObject 
* obj5 
= 0 ; 
23966     PyObject 
* obj6 
= 0 ; 
23967     PyObject 
* obj7 
= 0 ; 
23968     char *kwnames
[] = { 
23969         (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL 
 
23972     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
; 
23973     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
23974     if (SWIG_arg_fail(1)) SWIG_fail
; 
23975     SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
23976     if (SWIG_arg_fail(2)) SWIG_fail
; 
23979             arg3 
= (int)(SWIG_As_int(obj2
));  
23980             if (SWIG_arg_fail(3)) SWIG_fail
; 
23986             if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
; 
23992             if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
; 
23997             arg6 
= (long)(SWIG_As_long(obj5
));  
23998             if (SWIG_arg_fail(6)) SWIG_fail
; 
24003             SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION 
| 0); 
24004             if (SWIG_arg_fail(7)) SWIG_fail
; 
24005             if (arg7 
== NULL
) { 
24006                 SWIG_null_ref("wxValidator"); 
24008             if (SWIG_arg_fail(7)) SWIG_fail
; 
24013             arg8 
= wxString_in_helper(obj7
); 
24014             if (arg8 
== NULL
) SWIG_fail
; 
24019         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24020         result 
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint 
const &)*arg4
,(wxSize 
const &)*arg5
,arg6
,(wxValidator 
const &)*arg7
,(wxString 
const &)*arg8
); 
24022         wxPyEndAllowThreads(__tstate
); 
24023         if (PyErr_Occurred()) SWIG_fail
; 
24026         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
24042 static PyObject 
*_wrap_ListCtrl__setCallbackInfo(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
24043     PyObject 
*resultobj
; 
24044     wxPyListCtrl 
*arg1 
= (wxPyListCtrl 
*) 0 ; 
24045     PyObject 
*arg2 
= (PyObject 
*) 0 ; 
24046     PyObject 
*arg3 
= (PyObject 
*) 0 ; 
24047     PyObject 
* obj0 
= 0 ; 
24048     PyObject 
* obj1 
= 0 ; 
24049     PyObject 
* obj2 
= 0 ; 
24050     char *kwnames
[] = { 
24051         (char *) "self",(char *) "self",(char *) "_class", NULL 
 
24054     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
24055     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
24056     if (SWIG_arg_fail(1)) SWIG_fail
; 
24060         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24061         (arg1
)->_setCallbackInfo(arg2
,arg3
); 
24063         wxPyEndAllowThreads(__tstate
); 
24064         if (PyErr_Occurred()) SWIG_fail
; 
24066     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
24073 static PyObject 
*_wrap_ListCtrl_SetForegroundColour(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
24074     PyObject 
*resultobj
; 
24075     wxPyListCtrl 
*arg1 
= (wxPyListCtrl 
*) 0 ; 
24076     wxColour 
*arg2 
= 0 ; 
24079     PyObject 
* obj0 
= 0 ; 
24080     PyObject 
* obj1 
= 0 ; 
24081     char *kwnames
[] = { 
24082         (char *) "self",(char *) "col", NULL 
 
24085     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
; 
24086     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
24087     if (SWIG_arg_fail(1)) SWIG_fail
; 
24090         if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
24093         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24094         result 
= (bool)(arg1
)->SetForegroundColour((wxColour 
const &)*arg2
); 
24096         wxPyEndAllowThreads(__tstate
); 
24097         if (PyErr_Occurred()) SWIG_fail
; 
24100         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
24108 static PyObject 
*_wrap_ListCtrl_SetBackgroundColour(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
24109     PyObject 
*resultobj
; 
24110     wxPyListCtrl 
*arg1 
= (wxPyListCtrl 
*) 0 ; 
24111     wxColour 
*arg2 
= 0 ; 
24114     PyObject 
* obj0 
= 0 ; 
24115     PyObject 
* obj1 
= 0 ; 
24116     char *kwnames
[] = { 
24117         (char *) "self",(char *) "col", NULL 
 
24120     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
; 
24121     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
24122     if (SWIG_arg_fail(1)) SWIG_fail
; 
24125         if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
24128         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24129         result 
= (bool)(arg1
)->SetBackgroundColour((wxColour 
const &)*arg2
); 
24131         wxPyEndAllowThreads(__tstate
); 
24132         if (PyErr_Occurred()) SWIG_fail
; 
24135         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
24143 static PyObject 
*_wrap_ListCtrl_GetColumn(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
24144     PyObject 
*resultobj
; 
24145     wxPyListCtrl 
*arg1 
= (wxPyListCtrl 
*) 0 ; 
24147     wxListItem 
*result
; 
24148     PyObject 
* obj0 
= 0 ; 
24149     PyObject 
* obj1 
= 0 ; 
24150     char *kwnames
[] = { 
24151         (char *) "self",(char *) "col", NULL 
 
24154     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumn",kwnames
,&obj0
,&obj1
)) goto fail
; 
24155     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
24156     if (SWIG_arg_fail(1)) SWIG_fail
; 
24158         arg2 
= (int)(SWIG_As_int(obj1
));  
24159         if (SWIG_arg_fail(2)) SWIG_fail
; 
24162         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24163         result 
= (wxListItem 
*)wxPyListCtrl_GetColumn(arg1
,arg2
); 
24165         wxPyEndAllowThreads(__tstate
); 
24166         if (PyErr_Occurred()) SWIG_fail
; 
24169         resultobj 
= wxPyMake_wxObject(result
, 0);  
24177 static PyObject 
*_wrap_ListCtrl_SetColumn(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
24178     PyObject 
*resultobj
; 
24179     wxPyListCtrl 
*arg1 
= (wxPyListCtrl 
*) 0 ; 
24181     wxListItem 
*arg3 
= 0 ; 
24183     PyObject 
* obj0 
= 0 ; 
24184     PyObject 
* obj1 
= 0 ; 
24185     PyObject 
* obj2 
= 0 ; 
24186     char *kwnames
[] = { 
24187         (char *) "self",(char *) "col",(char *) "item", NULL 
 
24190     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumn",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
24191     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
24192     if (SWIG_arg_fail(1)) SWIG_fail
; 
24194         arg2 
= (int)(SWIG_As_int(obj1
));  
24195         if (SWIG_arg_fail(2)) SWIG_fail
; 
24198         SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION 
| 0); 
24199         if (SWIG_arg_fail(3)) SWIG_fail
; 
24200         if (arg3 
== NULL
) { 
24201             SWIG_null_ref("wxListItem"); 
24203         if (SWIG_arg_fail(3)) SWIG_fail
; 
24206         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24207         result 
= (bool)(arg1
)->SetColumn(arg2
,*arg3
); 
24209         wxPyEndAllowThreads(__tstate
); 
24210         if (PyErr_Occurred()) SWIG_fail
; 
24213         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
24221 static PyObject 
*_wrap_ListCtrl_GetColumnWidth(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
24222     PyObject 
*resultobj
; 
24223     wxPyListCtrl 
*arg1 
= (wxPyListCtrl 
*) 0 ; 
24226     PyObject 
* obj0 
= 0 ; 
24227     PyObject 
* obj1 
= 0 ; 
24228     char *kwnames
[] = { 
24229         (char *) "self",(char *) "col", NULL 
 
24232     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumnWidth",kwnames
,&obj0
,&obj1
)) goto fail
; 
24233     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
24234     if (SWIG_arg_fail(1)) SWIG_fail
; 
24236         arg2 
= (int)(SWIG_As_int(obj1
));  
24237         if (SWIG_arg_fail(2)) SWIG_fail
; 
24240         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24241         result 
= (int)((wxPyListCtrl 
const *)arg1
)->GetColumnWidth(arg2
); 
24243         wxPyEndAllowThreads(__tstate
); 
24244         if (PyErr_Occurred()) SWIG_fail
; 
24247         resultobj 
= SWIG_From_int((int)(result
));  
24255 static PyObject 
*_wrap_ListCtrl_SetColumnWidth(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
24256     PyObject 
*resultobj
; 
24257     wxPyListCtrl 
*arg1 
= (wxPyListCtrl 
*) 0 ; 
24261     PyObject 
* obj0 
= 0 ; 
24262     PyObject 
* obj1 
= 0 ; 
24263     PyObject 
* obj2 
= 0 ; 
24264     char *kwnames
[] = { 
24265         (char *) "self",(char *) "col",(char *) "width", NULL 
 
24268     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
24269     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
24270     if (SWIG_arg_fail(1)) SWIG_fail
; 
24272         arg2 
= (int)(SWIG_As_int(obj1
));  
24273         if (SWIG_arg_fail(2)) SWIG_fail
; 
24276         arg3 
= (int)(SWIG_As_int(obj2
));  
24277         if (SWIG_arg_fail(3)) SWIG_fail
; 
24280         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24281         result 
= (bool)(arg1
)->SetColumnWidth(arg2
,arg3
); 
24283         wxPyEndAllowThreads(__tstate
); 
24284         if (PyErr_Occurred()) SWIG_fail
; 
24287         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
24295 static PyObject 
*_wrap_ListCtrl_GetCountPerPage(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
24296     PyObject 
*resultobj
; 
24297     wxPyListCtrl 
*arg1 
= (wxPyListCtrl 
*) 0 ; 
24299     PyObject 
* obj0 
= 0 ; 
24300     char *kwnames
[] = { 
24301         (char *) "self", NULL 
 
24304     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetCountPerPage",kwnames
,&obj0
)) goto fail
; 
24305     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
24306     if (SWIG_arg_fail(1)) SWIG_fail
; 
24308         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24309         result 
= (int)((wxPyListCtrl 
const *)arg1
)->GetCountPerPage(); 
24311         wxPyEndAllowThreads(__tstate
); 
24312         if (PyErr_Occurred()) SWIG_fail
; 
24315         resultobj 
= SWIG_From_int((int)(result
));  
24323 static PyObject 
*_wrap_ListCtrl_GetViewRect(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
24324     PyObject 
*resultobj
; 
24325     wxPyListCtrl 
*arg1 
= (wxPyListCtrl 
*) 0 ; 
24327     PyObject 
* obj0 
= 0 ; 
24328     char *kwnames
[] = { 
24329         (char *) "self", NULL 
 
24332     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetViewRect",kwnames
,&obj0
)) goto fail
; 
24333     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
24334     if (SWIG_arg_fail(1)) SWIG_fail
; 
24336         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24337         result 
= ((wxPyListCtrl 
const *)arg1
)->GetViewRect(); 
24339         wxPyEndAllowThreads(__tstate
); 
24340         if (PyErr_Occurred()) SWIG_fail
; 
24343         wxRect 
* resultptr
; 
24344         resultptr 
= new wxRect((wxRect 
&)(result
)); 
24345         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1); 
24353 static PyObject 
*_wrap_ListCtrl_GetItem(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
24354     PyObject 
*resultobj
; 
24355     wxPyListCtrl 
*arg1 
= (wxPyListCtrl 
*) 0 ; 
24357     int arg3 
= (int) 0 ; 
24358     wxListItem 
*result
; 
24359     PyObject 
* obj0 
= 0 ; 
24360     PyObject 
* obj1 
= 0 ; 
24361     PyObject 
* obj2 
= 0 ; 
24362     char *kwnames
[] = { 
24363         (char *) "self",(char *) "itemId",(char *) "col", NULL 
 
24366     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
24367     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
24368     if (SWIG_arg_fail(1)) SWIG_fail
; 
24370         arg2 
= (long)(SWIG_As_long(obj1
));  
24371         if (SWIG_arg_fail(2)) SWIG_fail
; 
24375             arg3 
= (int)(SWIG_As_int(obj2
));  
24376             if (SWIG_arg_fail(3)) SWIG_fail
; 
24380         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24381         result 
= (wxListItem 
*)wxPyListCtrl_GetItem(arg1
,arg2
,arg3
); 
24383         wxPyEndAllowThreads(__tstate
); 
24384         if (PyErr_Occurred()) SWIG_fail
; 
24387         resultobj 
= wxPyMake_wxObject(result
, 0);  
24395 static PyObject 
*_wrap_ListCtrl_SetItem(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
24396     PyObject 
*resultobj
; 
24397     wxPyListCtrl 
*arg1 
= (wxPyListCtrl 
*) 0 ; 
24398     wxListItem 
*arg2 
= 0 ; 
24400     PyObject 
* obj0 
= 0 ; 
24401     PyObject 
* obj1 
= 0 ; 
24402     char *kwnames
[] = { 
24403         (char *) "self",(char *) "info", NULL 
 
24406     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
; 
24407     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
24408     if (SWIG_arg_fail(1)) SWIG_fail
; 
24410         SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION 
| 0); 
24411         if (SWIG_arg_fail(2)) SWIG_fail
; 
24412         if (arg2 
== NULL
) { 
24413             SWIG_null_ref("wxListItem"); 
24415         if (SWIG_arg_fail(2)) SWIG_fail
; 
24418         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24419         result 
= (bool)(arg1
)->SetItem(*arg2
); 
24421         wxPyEndAllowThreads(__tstate
); 
24422         if (PyErr_Occurred()) SWIG_fail
; 
24425         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
24433 static PyObject 
*_wrap_ListCtrl_SetStringItem(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
24434     PyObject 
*resultobj
; 
24435     wxPyListCtrl 
*arg1 
= (wxPyListCtrl 
*) 0 ; 
24438     wxString 
*arg4 
= 0 ; 
24439     int arg5 
= (int) -1 ; 
24441     bool temp4 
= false ; 
24442     PyObject 
* obj0 
= 0 ; 
24443     PyObject 
* obj1 
= 0 ; 
24444     PyObject 
* obj2 
= 0 ; 
24445     PyObject 
* obj3 
= 0 ; 
24446     PyObject 
* obj4 
= 0 ; 
24447     char *kwnames
[] = { 
24448         (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL 
 
24451     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
; 
24452     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
24453     if (SWIG_arg_fail(1)) SWIG_fail
; 
24455         arg2 
= (long)(SWIG_As_long(obj1
));  
24456         if (SWIG_arg_fail(2)) SWIG_fail
; 
24459         arg3 
= (int)(SWIG_As_int(obj2
));  
24460         if (SWIG_arg_fail(3)) SWIG_fail
; 
24463         arg4 
= wxString_in_helper(obj3
); 
24464         if (arg4 
== NULL
) SWIG_fail
; 
24469             arg5 
= (int)(SWIG_As_int(obj4
));  
24470             if (SWIG_arg_fail(5)) SWIG_fail
; 
24474         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24475         result 
= (long)(arg1
)->SetItem(arg2
,arg3
,(wxString 
const &)*arg4
,arg5
); 
24477         wxPyEndAllowThreads(__tstate
); 
24478         if (PyErr_Occurred()) SWIG_fail
; 
24481         resultobj 
= SWIG_From_long((long)(result
));  
24497 static PyObject 
*_wrap_ListCtrl_GetItemState(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
24498     PyObject 
*resultobj
; 
24499     wxPyListCtrl 
*arg1 
= (wxPyListCtrl 
*) 0 ; 
24503     PyObject 
* obj0 
= 0 ; 
24504     PyObject 
* obj1 
= 0 ; 
24505     PyObject 
* obj2 
= 0 ; 
24506     char *kwnames
[] = { 
24507         (char *) "self",(char *) "item",(char *) "stateMask", NULL 
 
24510     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_GetItemState",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
24511     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
24512     if (SWIG_arg_fail(1)) SWIG_fail
; 
24514         arg2 
= (long)(SWIG_As_long(obj1
));  
24515         if (SWIG_arg_fail(2)) SWIG_fail
; 
24518         arg3 
= (long)(SWIG_As_long(obj2
));  
24519         if (SWIG_arg_fail(3)) SWIG_fail
; 
24522         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24523         result 
= (int)((wxPyListCtrl 
const *)arg1
)->GetItemState(arg2
,arg3
); 
24525         wxPyEndAllowThreads(__tstate
); 
24526         if (PyErr_Occurred()) SWIG_fail
; 
24529         resultobj 
= SWIG_From_int((int)(result
));  
24537 static PyObject 
*_wrap_ListCtrl_SetItemState(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
24538     PyObject 
*resultobj
; 
24539     wxPyListCtrl 
*arg1 
= (wxPyListCtrl 
*) 0 ; 
24544     PyObject 
* obj0 
= 0 ; 
24545     PyObject 
* obj1 
= 0 ; 
24546     PyObject 
* obj2 
= 0 ; 
24547     PyObject 
* obj3 
= 0 ; 
24548     char *kwnames
[] = { 
24549         (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL 
 
24552     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemState",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
24553     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
24554     if (SWIG_arg_fail(1)) SWIG_fail
; 
24556         arg2 
= (long)(SWIG_As_long(obj1
));  
24557         if (SWIG_arg_fail(2)) SWIG_fail
; 
24560         arg3 
= (long)(SWIG_As_long(obj2
));  
24561         if (SWIG_arg_fail(3)) SWIG_fail
; 
24564         arg4 
= (long)(SWIG_As_long(obj3
));  
24565         if (SWIG_arg_fail(4)) SWIG_fail
; 
24568         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24569         result 
= (bool)(arg1
)->SetItemState(arg2
,arg3
,arg4
); 
24571         wxPyEndAllowThreads(__tstate
); 
24572         if (PyErr_Occurred()) SWIG_fail
; 
24575         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
24583 static PyObject 
*_wrap_ListCtrl_SetItemImage(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
24584     PyObject 
*resultobj
; 
24585     wxPyListCtrl 
*arg1 
= (wxPyListCtrl 
*) 0 ; 
24588     int arg4 
= (int) -1 ; 
24590     PyObject 
* obj0 
= 0 ; 
24591     PyObject 
* obj1 
= 0 ; 
24592     PyObject 
* obj2 
= 0 ; 
24593     PyObject 
* obj3 
= 0 ; 
24594     char *kwnames
[] = { 
24595         (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL 
 
24598     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
24599     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
24600     if (SWIG_arg_fail(1)) SWIG_fail
; 
24602         arg2 
= (long)(SWIG_As_long(obj1
));  
24603         if (SWIG_arg_fail(2)) SWIG_fail
; 
24606         arg3 
= (int)(SWIG_As_int(obj2
));  
24607         if (SWIG_arg_fail(3)) SWIG_fail
; 
24611             arg4 
= (int)(SWIG_As_int(obj3
));  
24612             if (SWIG_arg_fail(4)) SWIG_fail
; 
24616         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24617         result 
= (bool)(arg1
)->SetItemImage(arg2
,arg3
,arg4
); 
24619         wxPyEndAllowThreads(__tstate
); 
24620         if (PyErr_Occurred()) SWIG_fail
; 
24623         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
24631 static PyObject 
*_wrap_ListCtrl_GetItemText(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
24632     PyObject 
*resultobj
; 
24633     wxPyListCtrl 
*arg1 
= (wxPyListCtrl 
*) 0 ; 
24636     PyObject 
* obj0 
= 0 ; 
24637     PyObject 
* obj1 
= 0 ; 
24638     char *kwnames
[] = { 
24639         (char *) "self",(char *) "item", NULL 
 
24642     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
; 
24643     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
24644     if (SWIG_arg_fail(1)) SWIG_fail
; 
24646         arg2 
= (long)(SWIG_As_long(obj1
));  
24647         if (SWIG_arg_fail(2)) SWIG_fail
; 
24650         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24651         result 
= ((wxPyListCtrl 
const *)arg1
)->GetItemText(arg2
); 
24653         wxPyEndAllowThreads(__tstate
); 
24654         if (PyErr_Occurred()) SWIG_fail
; 
24658         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
24660         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
24669 static PyObject 
*_wrap_ListCtrl_SetItemText(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
24670     PyObject 
*resultobj
; 
24671     wxPyListCtrl 
*arg1 
= (wxPyListCtrl 
*) 0 ; 
24673     wxString 
*arg3 
= 0 ; 
24674     bool temp3 
= false ; 
24675     PyObject 
* obj0 
= 0 ; 
24676     PyObject 
* obj1 
= 0 ; 
24677     PyObject 
* obj2 
= 0 ; 
24678     char *kwnames
[] = { 
24679         (char *) "self",(char *) "item",(char *) "str", NULL 
 
24682     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
24683     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
24684     if (SWIG_arg_fail(1)) SWIG_fail
; 
24686         arg2 
= (long)(SWIG_As_long(obj1
));  
24687         if (SWIG_arg_fail(2)) SWIG_fail
; 
24690         arg3 
= wxString_in_helper(obj2
); 
24691         if (arg3 
== NULL
) SWIG_fail
; 
24695         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24696         (arg1
)->SetItemText(arg2
,(wxString 
const &)*arg3
); 
24698         wxPyEndAllowThreads(__tstate
); 
24699         if (PyErr_Occurred()) SWIG_fail
; 
24701     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
24716 static PyObject 
*_wrap_ListCtrl_GetItemData(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
24717     PyObject 
*resultobj
; 
24718     wxPyListCtrl 
*arg1 
= (wxPyListCtrl 
*) 0 ; 
24721     PyObject 
* obj0 
= 0 ; 
24722     PyObject 
* obj1 
= 0 ; 
24723     char *kwnames
[] = { 
24724         (char *) "self",(char *) "item", NULL 
 
24727     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
; 
24728     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
24729     if (SWIG_arg_fail(1)) SWIG_fail
; 
24731         arg2 
= (long)(SWIG_As_long(obj1
));  
24732         if (SWIG_arg_fail(2)) SWIG_fail
; 
24735         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24736         result 
= (long)((wxPyListCtrl 
const *)arg1
)->GetItemData(arg2
); 
24738         wxPyEndAllowThreads(__tstate
); 
24739         if (PyErr_Occurred()) SWIG_fail
; 
24742         resultobj 
= SWIG_From_long((long)(result
));  
24750 static PyObject 
*_wrap_ListCtrl_SetItemData(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
24751     PyObject 
*resultobj
; 
24752     wxPyListCtrl 
*arg1 
= (wxPyListCtrl 
*) 0 ; 
24756     PyObject 
* obj0 
= 0 ; 
24757     PyObject 
* obj1 
= 0 ; 
24758     PyObject 
* obj2 
= 0 ; 
24759     char *kwnames
[] = { 
24760         (char *) "self",(char *) "item",(char *) "data", NULL 
 
24763     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
24764     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
24765     if (SWIG_arg_fail(1)) SWIG_fail
; 
24767         arg2 
= (long)(SWIG_As_long(obj1
));  
24768         if (SWIG_arg_fail(2)) SWIG_fail
; 
24771         arg3 
= (long)(SWIG_As_long(obj2
));  
24772         if (SWIG_arg_fail(3)) SWIG_fail
; 
24775         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24776         result 
= (bool)(arg1
)->SetItemData(arg2
,arg3
); 
24778         wxPyEndAllowThreads(__tstate
); 
24779         if (PyErr_Occurred()) SWIG_fail
; 
24782         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
24790 static PyObject 
*_wrap_ListCtrl_GetItemPosition(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
24791     PyObject 
*resultobj
; 
24792     wxPyListCtrl 
*arg1 
= (wxPyListCtrl 
*) 0 ; 
24795     PyObject 
* obj0 
= 0 ; 
24796     PyObject 
* obj1 
= 0 ; 
24797     char *kwnames
[] = { 
24798         (char *) "self",(char *) "item", NULL 
 
24801     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemPosition",kwnames
,&obj0
,&obj1
)) goto fail
; 
24802     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
24803     if (SWIG_arg_fail(1)) SWIG_fail
; 
24805         arg2 
= (long)(SWIG_As_long(obj1
));  
24806         if (SWIG_arg_fail(2)) SWIG_fail
; 
24809         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24810         result 
= wxPyListCtrl_GetItemPosition(arg1
,arg2
); 
24812         wxPyEndAllowThreads(__tstate
); 
24813         if (PyErr_Occurred()) SWIG_fail
; 
24816         wxPoint 
* resultptr
; 
24817         resultptr 
= new wxPoint((wxPoint 
&)(result
)); 
24818         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1); 
24826 static PyObject 
*_wrap_ListCtrl_GetItemRect(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
24827     PyObject 
*resultobj
; 
24828     wxPyListCtrl 
*arg1 
= (wxPyListCtrl 
*) 0 ; 
24830     int arg3 
= (int) wxLIST_RECT_BOUNDS 
; 
24832     PyObject 
* obj0 
= 0 ; 
24833     PyObject 
* obj1 
= 0 ; 
24834     PyObject 
* obj2 
= 0 ; 
24835     char *kwnames
[] = { 
24836         (char *) "self",(char *) "item",(char *) "code", NULL 
 
24839     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItemRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
24840     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
24841     if (SWIG_arg_fail(1)) SWIG_fail
; 
24843         arg2 
= (long)(SWIG_As_long(obj1
));  
24844         if (SWIG_arg_fail(2)) SWIG_fail
; 
24848             arg3 
= (int)(SWIG_As_int(obj2
));  
24849             if (SWIG_arg_fail(3)) SWIG_fail
; 
24853         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24854         result 
= wxPyListCtrl_GetItemRect(arg1
,arg2
,arg3
); 
24856         wxPyEndAllowThreads(__tstate
); 
24857         if (PyErr_Occurred()) SWIG_fail
; 
24860         wxRect 
* resultptr
; 
24861         resultptr 
= new wxRect((wxRect 
&)(result
)); 
24862         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1); 
24870 static PyObject 
*_wrap_ListCtrl_SetItemPosition(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
24871     PyObject 
*resultobj
; 
24872     wxPyListCtrl 
*arg1 
= (wxPyListCtrl 
*) 0 ; 
24874     wxPoint 
*arg3 
= 0 ; 
24877     PyObject 
* obj0 
= 0 ; 
24878     PyObject 
* obj1 
= 0 ; 
24879     PyObject 
* obj2 
= 0 ; 
24880     char *kwnames
[] = { 
24881         (char *) "self",(char *) "item",(char *) "pos", NULL 
 
24884     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
24885     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
24886     if (SWIG_arg_fail(1)) SWIG_fail
; 
24888         arg2 
= (long)(SWIG_As_long(obj1
));  
24889         if (SWIG_arg_fail(2)) SWIG_fail
; 
24893         if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
; 
24896         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24897         result 
= (bool)(arg1
)->SetItemPosition(arg2
,(wxPoint 
const &)*arg3
); 
24899         wxPyEndAllowThreads(__tstate
); 
24900         if (PyErr_Occurred()) SWIG_fail
; 
24903         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
24911 static PyObject 
*_wrap_ListCtrl_GetItemCount(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
24912     PyObject 
*resultobj
; 
24913     wxPyListCtrl 
*arg1 
= (wxPyListCtrl 
*) 0 ; 
24915     PyObject 
* obj0 
= 0 ; 
24916     char *kwnames
[] = { 
24917         (char *) "self", NULL 
 
24920     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemCount",kwnames
,&obj0
)) goto fail
; 
24921     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
24922     if (SWIG_arg_fail(1)) SWIG_fail
; 
24924         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24925         result 
= (int)((wxPyListCtrl 
const *)arg1
)->GetItemCount(); 
24927         wxPyEndAllowThreads(__tstate
); 
24928         if (PyErr_Occurred()) SWIG_fail
; 
24931         resultobj 
= SWIG_From_int((int)(result
));  
24939 static PyObject 
*_wrap_ListCtrl_GetColumnCount(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
24940     PyObject 
*resultobj
; 
24941     wxPyListCtrl 
*arg1 
= (wxPyListCtrl 
*) 0 ; 
24943     PyObject 
* obj0 
= 0 ; 
24944     char *kwnames
[] = { 
24945         (char *) "self", NULL 
 
24948     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetColumnCount",kwnames
,&obj0
)) goto fail
; 
24949     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
24950     if (SWIG_arg_fail(1)) SWIG_fail
; 
24952         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24953         result 
= (int)((wxPyListCtrl 
const *)arg1
)->GetColumnCount(); 
24955         wxPyEndAllowThreads(__tstate
); 
24956         if (PyErr_Occurred()) SWIG_fail
; 
24959         resultobj 
= SWIG_From_int((int)(result
));  
24967 static PyObject 
*_wrap_ListCtrl_GetItemSpacing(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
24968     PyObject 
*resultobj
; 
24969     wxPyListCtrl 
*arg1 
= (wxPyListCtrl 
*) 0 ; 
24971     PyObject 
* obj0 
= 0 ; 
24972     char *kwnames
[] = { 
24973         (char *) "self", NULL 
 
24976     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemSpacing",kwnames
,&obj0
)) goto fail
; 
24977     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
24978     if (SWIG_arg_fail(1)) SWIG_fail
; 
24980         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24981         result 
= ((wxPyListCtrl 
const *)arg1
)->GetItemSpacing(); 
24983         wxPyEndAllowThreads(__tstate
); 
24984         if (PyErr_Occurred()) SWIG_fail
; 
24987         wxSize 
* resultptr
; 
24988         resultptr 
= new wxSize((wxSize 
&)(result
)); 
24989         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1); 
24997 static PyObject 
*_wrap_ListCtrl_SetItemSpacing(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
24998     PyObject 
*resultobj
; 
24999     wxPyListCtrl 
*arg1 
= (wxPyListCtrl 
*) 0 ; 
25001     bool arg3 
= (bool) false ; 
25002     PyObject 
* obj0 
= 0 ; 
25003     PyObject 
* obj1 
= 0 ; 
25004     PyObject 
* obj2 
= 0 ; 
25005     char *kwnames
[] = { 
25006         (char *) "self",(char *) "spacing",(char *) "isSmall", NULL 
 
25009     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetItemSpacing",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
25010     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
25011     if (SWIG_arg_fail(1)) SWIG_fail
; 
25013         arg2 
= (int)(SWIG_As_int(obj1
));  
25014         if (SWIG_arg_fail(2)) SWIG_fail
; 
25018             arg3 
= (bool)(SWIG_As_bool(obj2
));  
25019             if (SWIG_arg_fail(3)) SWIG_fail
; 
25023         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25024         (arg1
)->SetItemSpacing(arg2
,arg3
); 
25026         wxPyEndAllowThreads(__tstate
); 
25027         if (PyErr_Occurred()) SWIG_fail
; 
25029     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
25036 static PyObject 
*_wrap_ListCtrl_GetSelectedItemCount(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
25037     PyObject 
*resultobj
; 
25038     wxPyListCtrl 
*arg1 
= (wxPyListCtrl 
*) 0 ; 
25040     PyObject 
* obj0 
= 0 ; 
25041     char *kwnames
[] = { 
25042         (char *) "self", NULL 
 
25045     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetSelectedItemCount",kwnames
,&obj0
)) goto fail
; 
25046     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
25047     if (SWIG_arg_fail(1)) SWIG_fail
; 
25049         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25050         result 
= (int)((wxPyListCtrl 
const *)arg1
)->GetSelectedItemCount(); 
25052         wxPyEndAllowThreads(__tstate
); 
25053         if (PyErr_Occurred()) SWIG_fail
; 
25056         resultobj 
= SWIG_From_int((int)(result
));  
25064 static PyObject 
*_wrap_ListCtrl_GetTextColour(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
25065     PyObject 
*resultobj
; 
25066     wxPyListCtrl 
*arg1 
= (wxPyListCtrl 
*) 0 ; 
25068     PyObject 
* obj0 
= 0 ; 
25069     char *kwnames
[] = { 
25070         (char *) "self", NULL 
 
25073     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTextColour",kwnames
,&obj0
)) goto fail
; 
25074     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
25075     if (SWIG_arg_fail(1)) SWIG_fail
; 
25077         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25078         result 
= ((wxPyListCtrl 
const *)arg1
)->GetTextColour(); 
25080         wxPyEndAllowThreads(__tstate
); 
25081         if (PyErr_Occurred()) SWIG_fail
; 
25084         wxColour 
* resultptr
; 
25085         resultptr 
= new wxColour((wxColour 
&)(result
)); 
25086         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1); 
25094 static PyObject 
*_wrap_ListCtrl_SetTextColour(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
25095     PyObject 
*resultobj
; 
25096     wxPyListCtrl 
*arg1 
= (wxPyListCtrl 
*) 0 ; 
25097     wxColour 
*arg2 
= 0 ; 
25099     PyObject 
* obj0 
= 0 ; 
25100     PyObject 
* obj1 
= 0 ; 
25101     char *kwnames
[] = { 
25102         (char *) "self",(char *) "col", NULL 
 
25105     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
; 
25106     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
25107     if (SWIG_arg_fail(1)) SWIG_fail
; 
25110         if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
25113         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25114         (arg1
)->SetTextColour((wxColour 
const &)*arg2
); 
25116         wxPyEndAllowThreads(__tstate
); 
25117         if (PyErr_Occurred()) SWIG_fail
; 
25119     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
25126 static PyObject 
*_wrap_ListCtrl_GetTopItem(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
25127     PyObject 
*resultobj
; 
25128     wxPyListCtrl 
*arg1 
= (wxPyListCtrl 
*) 0 ; 
25130     PyObject 
* obj0 
= 0 ; 
25131     char *kwnames
[] = { 
25132         (char *) "self", NULL 
 
25135     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTopItem",kwnames
,&obj0
)) goto fail
; 
25136     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
25137     if (SWIG_arg_fail(1)) SWIG_fail
; 
25139         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25140         result 
= (long)((wxPyListCtrl 
const *)arg1
)->GetTopItem(); 
25142         wxPyEndAllowThreads(__tstate
); 
25143         if (PyErr_Occurred()) SWIG_fail
; 
25146         resultobj 
= SWIG_From_long((long)(result
));  
25154 static PyObject 
*_wrap_ListCtrl_SetSingleStyle(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
25155     PyObject 
*resultobj
; 
25156     wxPyListCtrl 
*arg1 
= (wxPyListCtrl 
*) 0 ; 
25158     bool arg3 
= (bool) true ; 
25159     PyObject 
* obj0 
= 0 ; 
25160     PyObject 
* obj1 
= 0 ; 
25161     PyObject 
* obj2 
= 0 ; 
25162     char *kwnames
[] = { 
25163         (char *) "self",(char *) "style",(char *) "add", NULL 
 
25166     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
25167     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
25168     if (SWIG_arg_fail(1)) SWIG_fail
; 
25170         arg2 
= (long)(SWIG_As_long(obj1
));  
25171         if (SWIG_arg_fail(2)) SWIG_fail
; 
25175             arg3 
= (bool)(SWIG_As_bool(obj2
));  
25176             if (SWIG_arg_fail(3)) SWIG_fail
; 
25180         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25181         (arg1
)->SetSingleStyle(arg2
,arg3
); 
25183         wxPyEndAllowThreads(__tstate
); 
25184         if (PyErr_Occurred()) SWIG_fail
; 
25186     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
25193 static PyObject 
*_wrap_ListCtrl_SetWindowStyleFlag(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
25194     PyObject 
*resultobj
; 
25195     wxPyListCtrl 
*arg1 
= (wxPyListCtrl 
*) 0 ; 
25197     PyObject 
* obj0 
= 0 ; 
25198     PyObject 
* obj1 
= 0 ; 
25199     char *kwnames
[] = { 
25200         (char *) "self",(char *) "style", NULL 
 
25203     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetWindowStyleFlag",kwnames
,&obj0
,&obj1
)) goto fail
; 
25204     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
25205     if (SWIG_arg_fail(1)) SWIG_fail
; 
25207         arg2 
= (long)(SWIG_As_long(obj1
));  
25208         if (SWIG_arg_fail(2)) SWIG_fail
; 
25211         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25212         (arg1
)->SetWindowStyleFlag(arg2
); 
25214         wxPyEndAllowThreads(__tstate
); 
25215         if (PyErr_Occurred()) SWIG_fail
; 
25217     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
25224 static PyObject 
*_wrap_ListCtrl_GetNextItem(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
25225     PyObject 
*resultobj
; 
25226     wxPyListCtrl 
*arg1 
= (wxPyListCtrl 
*) 0 ; 
25228     int arg3 
= (int) wxLIST_NEXT_ALL 
; 
25229     int arg4 
= (int) wxLIST_STATE_DONTCARE 
; 
25231     PyObject 
* obj0 
= 0 ; 
25232     PyObject 
* obj1 
= 0 ; 
25233     PyObject 
* obj2 
= 0 ; 
25234     PyObject 
* obj3 
= 0 ; 
25235     char *kwnames
[] = { 
25236         (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL 
 
25239     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
25240     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
25241     if (SWIG_arg_fail(1)) SWIG_fail
; 
25243         arg2 
= (long)(SWIG_As_long(obj1
));  
25244         if (SWIG_arg_fail(2)) SWIG_fail
; 
25248             arg3 
= (int)(SWIG_As_int(obj2
));  
25249             if (SWIG_arg_fail(3)) SWIG_fail
; 
25254             arg4 
= (int)(SWIG_As_int(obj3
));  
25255             if (SWIG_arg_fail(4)) SWIG_fail
; 
25259         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25260         result 
= (long)((wxPyListCtrl 
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
); 
25262         wxPyEndAllowThreads(__tstate
); 
25263         if (PyErr_Occurred()) SWIG_fail
; 
25266         resultobj 
= SWIG_From_long((long)(result
));  
25274 static PyObject 
*_wrap_ListCtrl_GetImageList(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
25275     PyObject 
*resultobj
; 
25276     wxPyListCtrl 
*arg1 
= (wxPyListCtrl 
*) 0 ; 
25278     wxImageList 
*result
; 
25279     PyObject 
* obj0 
= 0 ; 
25280     PyObject 
* obj1 
= 0 ; 
25281     char *kwnames
[] = { 
25282         (char *) "self",(char *) "which", NULL 
 
25285     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetImageList",kwnames
,&obj0
,&obj1
)) goto fail
; 
25286     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
25287     if (SWIG_arg_fail(1)) SWIG_fail
; 
25289         arg2 
= (int)(SWIG_As_int(obj1
));  
25290         if (SWIG_arg_fail(2)) SWIG_fail
; 
25293         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25294         result 
= (wxImageList 
*)((wxPyListCtrl 
const *)arg1
)->GetImageList(arg2
); 
25296         wxPyEndAllowThreads(__tstate
); 
25297         if (PyErr_Occurred()) SWIG_fail
; 
25300         resultobj 
= wxPyMake_wxObject(result
, 0);  
25308 static PyObject 
*_wrap_ListCtrl_SetImageList(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
25309     PyObject 
*resultobj
; 
25310     wxPyListCtrl 
*arg1 
= (wxPyListCtrl 
*) 0 ; 
25311     wxImageList 
*arg2 
= (wxImageList 
*) 0 ; 
25313     PyObject 
* obj0 
= 0 ; 
25314     PyObject 
* obj1 
= 0 ; 
25315     PyObject 
* obj2 
= 0 ; 
25316     char *kwnames
[] = { 
25317         (char *) "self",(char *) "imageList",(char *) "which", NULL 
 
25320     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetImageList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
25321     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
25322     if (SWIG_arg_fail(1)) SWIG_fail
; 
25323     SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION 
| 0); 
25324     if (SWIG_arg_fail(2)) SWIG_fail
; 
25326         arg3 
= (int)(SWIG_As_int(obj2
));  
25327         if (SWIG_arg_fail(3)) SWIG_fail
; 
25330         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25331         (arg1
)->SetImageList(arg2
,arg3
); 
25333         wxPyEndAllowThreads(__tstate
); 
25334         if (PyErr_Occurred()) SWIG_fail
; 
25336     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
25343 static PyObject 
*_wrap_ListCtrl_AssignImageList(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
25344     PyObject 
*resultobj
; 
25345     wxPyListCtrl 
*arg1 
= (wxPyListCtrl 
*) 0 ; 
25346     wxImageList 
*arg2 
= (wxImageList 
*) 0 ; 
25348     PyObject 
* obj0 
= 0 ; 
25349     PyObject 
* obj1 
= 0 ; 
25350     PyObject 
* obj2 
= 0 ; 
25351     char *kwnames
[] = { 
25352         (char *) "self",(char *) "imageList",(char *) "which", NULL 
 
25355     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_AssignImageList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
25356     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
25357     if (SWIG_arg_fail(1)) SWIG_fail
; 
25358     SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION 
| SWIG_POINTER_DISOWN
); 
25359     if (SWIG_arg_fail(2)) SWIG_fail
; 
25361         arg3 
= (int)(SWIG_As_int(obj2
));  
25362         if (SWIG_arg_fail(3)) SWIG_fail
; 
25365         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25366         (arg1
)->AssignImageList(arg2
,arg3
); 
25368         wxPyEndAllowThreads(__tstate
); 
25369         if (PyErr_Occurred()) SWIG_fail
; 
25371     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
25378 static PyObject 
*_wrap_ListCtrl_InReportView(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
25379     PyObject 
*resultobj
; 
25380     wxPyListCtrl 
*arg1 
= (wxPyListCtrl 
*) 0 ; 
25382     PyObject 
* obj0 
= 0 ; 
25383     char *kwnames
[] = { 
25384         (char *) "self", NULL 
 
25387     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_InReportView",kwnames
,&obj0
)) goto fail
; 
25388     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
25389     if (SWIG_arg_fail(1)) SWIG_fail
; 
25391         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25392         result 
= (bool)((wxPyListCtrl 
const *)arg1
)->InReportView(); 
25394         wxPyEndAllowThreads(__tstate
); 
25395         if (PyErr_Occurred()) SWIG_fail
; 
25398         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
25406 static PyObject 
*_wrap_ListCtrl_IsVirtual(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
25407     PyObject 
*resultobj
; 
25408     wxPyListCtrl 
*arg1 
= (wxPyListCtrl 
*) 0 ; 
25410     PyObject 
* obj0 
= 0 ; 
25411     char *kwnames
[] = { 
25412         (char *) "self", NULL 
 
25415     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_IsVirtual",kwnames
,&obj0
)) goto fail
; 
25416     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
25417     if (SWIG_arg_fail(1)) SWIG_fail
; 
25419         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25420         result 
= (bool)((wxPyListCtrl 
const *)arg1
)->IsVirtual(); 
25422         wxPyEndAllowThreads(__tstate
); 
25423         if (PyErr_Occurred()) SWIG_fail
; 
25426         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
25434 static PyObject 
*_wrap_ListCtrl_RefreshItem(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
25435     PyObject 
*resultobj
; 
25436     wxPyListCtrl 
*arg1 
= (wxPyListCtrl 
*) 0 ; 
25438     PyObject 
* obj0 
= 0 ; 
25439     PyObject 
* obj1 
= 0 ; 
25440     char *kwnames
[] = { 
25441         (char *) "self",(char *) "item", NULL 
 
25444     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_RefreshItem",kwnames
,&obj0
,&obj1
)) goto fail
; 
25445     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
25446     if (SWIG_arg_fail(1)) SWIG_fail
; 
25448         arg2 
= (long)(SWIG_As_long(obj1
));  
25449         if (SWIG_arg_fail(2)) SWIG_fail
; 
25452         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25453         (arg1
)->RefreshItem(arg2
); 
25455         wxPyEndAllowThreads(__tstate
); 
25456         if (PyErr_Occurred()) SWIG_fail
; 
25458     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
25465 static PyObject 
*_wrap_ListCtrl_RefreshItems(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
25466     PyObject 
*resultobj
; 
25467     wxPyListCtrl 
*arg1 
= (wxPyListCtrl 
*) 0 ; 
25470     PyObject 
* obj0 
= 0 ; 
25471     PyObject 
* obj1 
= 0 ; 
25472     PyObject 
* obj2 
= 0 ; 
25473     char *kwnames
[] = { 
25474         (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL 
 
25477     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_RefreshItems",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
25478     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
25479     if (SWIG_arg_fail(1)) SWIG_fail
; 
25481         arg2 
= (long)(SWIG_As_long(obj1
));  
25482         if (SWIG_arg_fail(2)) SWIG_fail
; 
25485         arg3 
= (long)(SWIG_As_long(obj2
));  
25486         if (SWIG_arg_fail(3)) SWIG_fail
; 
25489         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25490         (arg1
)->RefreshItems(arg2
,arg3
); 
25492         wxPyEndAllowThreads(__tstate
); 
25493         if (PyErr_Occurred()) SWIG_fail
; 
25495     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
25502 static PyObject 
*_wrap_ListCtrl_Arrange(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
25503     PyObject 
*resultobj
; 
25504     wxPyListCtrl 
*arg1 
= (wxPyListCtrl 
*) 0 ; 
25505     int arg2 
= (int) wxLIST_ALIGN_DEFAULT 
; 
25507     PyObject 
* obj0 
= 0 ; 
25508     PyObject 
* obj1 
= 0 ; 
25509     char *kwnames
[] = { 
25510         (char *) "self",(char *) "flag", NULL 
 
25513     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListCtrl_Arrange",kwnames
,&obj0
,&obj1
)) goto fail
; 
25514     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
25515     if (SWIG_arg_fail(1)) SWIG_fail
; 
25518             arg2 
= (int)(SWIG_As_int(obj1
));  
25519             if (SWIG_arg_fail(2)) SWIG_fail
; 
25523         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25524         result 
= (bool)(arg1
)->Arrange(arg2
); 
25526         wxPyEndAllowThreads(__tstate
); 
25527         if (PyErr_Occurred()) SWIG_fail
; 
25530         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
25538 static PyObject 
*_wrap_ListCtrl_DeleteItem(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
25539     PyObject 
*resultobj
; 
25540     wxPyListCtrl 
*arg1 
= (wxPyListCtrl 
*) 0 ; 
25543     PyObject 
* obj0 
= 0 ; 
25544     PyObject 
* obj1 
= 0 ; 
25545     char *kwnames
[] = { 
25546         (char *) "self",(char *) "item", NULL 
 
25549     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteItem",kwnames
,&obj0
,&obj1
)) goto fail
; 
25550     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
25551     if (SWIG_arg_fail(1)) SWIG_fail
; 
25553         arg2 
= (long)(SWIG_As_long(obj1
));  
25554         if (SWIG_arg_fail(2)) SWIG_fail
; 
25557         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25558         result 
= (bool)(arg1
)->DeleteItem(arg2
); 
25560         wxPyEndAllowThreads(__tstate
); 
25561         if (PyErr_Occurred()) SWIG_fail
; 
25564         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
25572 static PyObject 
*_wrap_ListCtrl_DeleteAllItems(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
25573     PyObject 
*resultobj
; 
25574     wxPyListCtrl 
*arg1 
= (wxPyListCtrl 
*) 0 ; 
25576     PyObject 
* obj0 
= 0 ; 
25577     char *kwnames
[] = { 
25578         (char *) "self", NULL 
 
25581     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
; 
25582     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
25583     if (SWIG_arg_fail(1)) SWIG_fail
; 
25585         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25586         result 
= (bool)(arg1
)->DeleteAllItems(); 
25588         wxPyEndAllowThreads(__tstate
); 
25589         if (PyErr_Occurred()) SWIG_fail
; 
25592         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
25600 static PyObject 
*_wrap_ListCtrl_DeleteColumn(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
25601     PyObject 
*resultobj
; 
25602     wxPyListCtrl 
*arg1 
= (wxPyListCtrl 
*) 0 ; 
25605     PyObject 
* obj0 
= 0 ; 
25606     PyObject 
* obj1 
= 0 ; 
25607     char *kwnames
[] = { 
25608         (char *) "self",(char *) "col", NULL 
 
25611     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteColumn",kwnames
,&obj0
,&obj1
)) goto fail
; 
25612     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
25613     if (SWIG_arg_fail(1)) SWIG_fail
; 
25615         arg2 
= (int)(SWIG_As_int(obj1
));  
25616         if (SWIG_arg_fail(2)) SWIG_fail
; 
25619         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25620         result 
= (bool)(arg1
)->DeleteColumn(arg2
); 
25622         wxPyEndAllowThreads(__tstate
); 
25623         if (PyErr_Occurred()) SWIG_fail
; 
25626         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
25634 static PyObject 
*_wrap_ListCtrl_DeleteAllColumns(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
25635     PyObject 
*resultobj
; 
25636     wxPyListCtrl 
*arg1 
= (wxPyListCtrl 
*) 0 ; 
25638     PyObject 
* obj0 
= 0 ; 
25639     char *kwnames
[] = { 
25640         (char *) "self", NULL 
 
25643     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllColumns",kwnames
,&obj0
)) goto fail
; 
25644     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
25645     if (SWIG_arg_fail(1)) SWIG_fail
; 
25647         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25648         result 
= (bool)(arg1
)->DeleteAllColumns(); 
25650         wxPyEndAllowThreads(__tstate
); 
25651         if (PyErr_Occurred()) SWIG_fail
; 
25654         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
25662 static PyObject 
*_wrap_ListCtrl_ClearAll(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
25663     PyObject 
*resultobj
; 
25664     wxPyListCtrl 
*arg1 
= (wxPyListCtrl 
*) 0 ; 
25665     PyObject 
* obj0 
= 0 ; 
25666     char *kwnames
[] = { 
25667         (char *) "self", NULL 
 
25670     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_ClearAll",kwnames
,&obj0
)) goto fail
; 
25671     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
25672     if (SWIG_arg_fail(1)) SWIG_fail
; 
25674         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25675         (arg1
)->ClearAll(); 
25677         wxPyEndAllowThreads(__tstate
); 
25678         if (PyErr_Occurred()) SWIG_fail
; 
25680     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
25687 static PyObject 
*_wrap_ListCtrl_EditLabel(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
25688     PyObject 
*resultobj
; 
25689     wxPyListCtrl 
*arg1 
= (wxPyListCtrl 
*) 0 ; 
25691     PyObject 
* obj0 
= 0 ; 
25692     PyObject 
* obj1 
= 0 ; 
25693     char *kwnames
[] = { 
25694         (char *) "self",(char *) "item", NULL 
 
25697     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
; 
25698     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
25699     if (SWIG_arg_fail(1)) SWIG_fail
; 
25701         arg2 
= (long)(SWIG_As_long(obj1
));  
25702         if (SWIG_arg_fail(2)) SWIG_fail
; 
25705         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25706         (arg1
)->EditLabel(arg2
); 
25708         wxPyEndAllowThreads(__tstate
); 
25709         if (PyErr_Occurred()) SWIG_fail
; 
25711     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
25718 static PyObject 
*_wrap_ListCtrl_EnsureVisible(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
25719     PyObject 
*resultobj
; 
25720     wxPyListCtrl 
*arg1 
= (wxPyListCtrl 
*) 0 ; 
25723     PyObject 
* obj0 
= 0 ; 
25724     PyObject 
* obj1 
= 0 ; 
25725     char *kwnames
[] = { 
25726         (char *) "self",(char *) "item", NULL 
 
25729     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
; 
25730     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
25731     if (SWIG_arg_fail(1)) SWIG_fail
; 
25733         arg2 
= (long)(SWIG_As_long(obj1
));  
25734         if (SWIG_arg_fail(2)) SWIG_fail
; 
25737         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25738         result 
= (bool)(arg1
)->EnsureVisible(arg2
); 
25740         wxPyEndAllowThreads(__tstate
); 
25741         if (PyErr_Occurred()) SWIG_fail
; 
25744         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
25752 static PyObject 
*_wrap_ListCtrl_FindItem(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
25753     PyObject 
*resultobj
; 
25754     wxPyListCtrl 
*arg1 
= (wxPyListCtrl 
*) 0 ; 
25756     wxString 
*arg3 
= 0 ; 
25757     bool arg4 
= (bool) false ; 
25759     bool temp3 
= false ; 
25760     PyObject 
* obj0 
= 0 ; 
25761     PyObject 
* obj1 
= 0 ; 
25762     PyObject 
* obj2 
= 0 ; 
25763     PyObject 
* obj3 
= 0 ; 
25764     char *kwnames
[] = { 
25765         (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL 
 
25768     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_FindItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
25769     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
25770     if (SWIG_arg_fail(1)) SWIG_fail
; 
25772         arg2 
= (long)(SWIG_As_long(obj1
));  
25773         if (SWIG_arg_fail(2)) SWIG_fail
; 
25776         arg3 
= wxString_in_helper(obj2
); 
25777         if (arg3 
== NULL
) SWIG_fail
; 
25782             arg4 
= (bool)(SWIG_As_bool(obj3
));  
25783             if (SWIG_arg_fail(4)) SWIG_fail
; 
25787         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25788         result 
= (long)(arg1
)->FindItem(arg2
,(wxString 
const &)*arg3
,arg4
); 
25790         wxPyEndAllowThreads(__tstate
); 
25791         if (PyErr_Occurred()) SWIG_fail
; 
25794         resultobj 
= SWIG_From_long((long)(result
));  
25810 static PyObject 
*_wrap_ListCtrl_FindItemData(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
25811     PyObject 
*resultobj
; 
25812     wxPyListCtrl 
*arg1 
= (wxPyListCtrl 
*) 0 ; 
25816     PyObject 
* obj0 
= 0 ; 
25817     PyObject 
* obj1 
= 0 ; 
25818     PyObject 
* obj2 
= 0 ; 
25819     char *kwnames
[] = { 
25820         (char *) "self",(char *) "start",(char *) "data", NULL 
 
25823     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_FindItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
25824     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
25825     if (SWIG_arg_fail(1)) SWIG_fail
; 
25827         arg2 
= (long)(SWIG_As_long(obj1
));  
25828         if (SWIG_arg_fail(2)) SWIG_fail
; 
25831         arg3 
= (long)(SWIG_As_long(obj2
));  
25832         if (SWIG_arg_fail(3)) SWIG_fail
; 
25835         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25836         result 
= (long)(arg1
)->FindItem(arg2
,arg3
); 
25838         wxPyEndAllowThreads(__tstate
); 
25839         if (PyErr_Occurred()) SWIG_fail
; 
25842         resultobj 
= SWIG_From_long((long)(result
));  
25850 static PyObject 
*_wrap_ListCtrl_FindItemAtPos(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
25851     PyObject 
*resultobj
; 
25852     wxPyListCtrl 
*arg1 
= (wxPyListCtrl 
*) 0 ; 
25854     wxPoint 
*arg3 
= 0 ; 
25858     PyObject 
* obj0 
= 0 ; 
25859     PyObject 
* obj1 
= 0 ; 
25860     PyObject 
* obj2 
= 0 ; 
25861     PyObject 
* obj3 
= 0 ; 
25862     char *kwnames
[] = { 
25863         (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL 
 
25866     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
25867     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
25868     if (SWIG_arg_fail(1)) SWIG_fail
; 
25870         arg2 
= (long)(SWIG_As_long(obj1
));  
25871         if (SWIG_arg_fail(2)) SWIG_fail
; 
25875         if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
; 
25878         arg4 
= (int)(SWIG_As_int(obj3
));  
25879         if (SWIG_arg_fail(4)) SWIG_fail
; 
25882         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25883         result 
= (long)(arg1
)->FindItem(arg2
,(wxPoint 
const &)*arg3
,arg4
); 
25885         wxPyEndAllowThreads(__tstate
); 
25886         if (PyErr_Occurred()) SWIG_fail
; 
25889         resultobj 
= SWIG_From_long((long)(result
));  
25897 static PyObject 
*_wrap_ListCtrl_HitTest(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
25898     PyObject 
*resultobj
; 
25899     wxPyListCtrl 
*arg1 
= (wxPyListCtrl 
*) 0 ; 
25900     wxPoint 
*arg2 
= 0 ; 
25906     PyObject 
* obj0 
= 0 ; 
25907     PyObject 
* obj1 
= 0 ; 
25908     char *kwnames
[] = { 
25909         (char *) "self",(char *) "point", NULL 
 
25912     arg3 
= &temp3
; res3 
= SWIG_NEWOBJ
; 
25913     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
; 
25914     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
25915     if (SWIG_arg_fail(1)) SWIG_fail
; 
25918         if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
25921         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25922         result 
= (long)(arg1
)->HitTest((wxPoint 
const &)*arg2
,*arg3
); 
25924         wxPyEndAllowThreads(__tstate
); 
25925         if (PyErr_Occurred()) SWIG_fail
; 
25928         resultobj 
= SWIG_From_long((long)(result
));  
25930     resultobj 
= t_output_helper(resultobj
, ((res3 
== SWIG_NEWOBJ
) ? 
25931     SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0))); 
25938 static PyObject 
*_wrap_ListCtrl_InsertItem(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
25939     PyObject 
*resultobj
; 
25940     wxPyListCtrl 
*arg1 
= (wxPyListCtrl 
*) 0 ; 
25941     wxListItem 
*arg2 
= 0 ; 
25943     PyObject 
* obj0 
= 0 ; 
25944     PyObject 
* obj1 
= 0 ; 
25945     char *kwnames
[] = { 
25946         (char *) "self",(char *) "info", NULL 
 
25949     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_InsertItem",kwnames
,&obj0
,&obj1
)) goto fail
; 
25950     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
25951     if (SWIG_arg_fail(1)) SWIG_fail
; 
25953         SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION 
| 0); 
25954         if (SWIG_arg_fail(2)) SWIG_fail
; 
25955         if (arg2 
== NULL
) { 
25956             SWIG_null_ref("wxListItem"); 
25958         if (SWIG_arg_fail(2)) SWIG_fail
; 
25961         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25962         result 
= (long)(arg1
)->InsertItem(*arg2
); 
25964         wxPyEndAllowThreads(__tstate
); 
25965         if (PyErr_Occurred()) SWIG_fail
; 
25968         resultobj 
= SWIG_From_long((long)(result
));  
25976 static PyObject 
*_wrap_ListCtrl_InsertStringItem(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
25977     PyObject 
*resultobj
; 
25978     wxPyListCtrl 
*arg1 
= (wxPyListCtrl 
*) 0 ; 
25980     wxString 
*arg3 
= 0 ; 
25982     bool temp3 
= false ; 
25983     PyObject 
* obj0 
= 0 ; 
25984     PyObject 
* obj1 
= 0 ; 
25985     PyObject 
* obj2 
= 0 ; 
25986     char *kwnames
[] = { 
25987         (char *) "self",(char *) "index",(char *) "label", NULL 
 
25990     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertStringItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
25991     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
25992     if (SWIG_arg_fail(1)) SWIG_fail
; 
25994         arg2 
= (long)(SWIG_As_long(obj1
));  
25995         if (SWIG_arg_fail(2)) SWIG_fail
; 
25998         arg3 
= wxString_in_helper(obj2
); 
25999         if (arg3 
== NULL
) SWIG_fail
; 
26003         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26004         result 
= (long)(arg1
)->InsertItem(arg2
,(wxString 
const &)*arg3
); 
26006         wxPyEndAllowThreads(__tstate
); 
26007         if (PyErr_Occurred()) SWIG_fail
; 
26010         resultobj 
= SWIG_From_long((long)(result
));  
26026 static PyObject 
*_wrap_ListCtrl_InsertImageItem(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
26027     PyObject 
*resultobj
; 
26028     wxPyListCtrl 
*arg1 
= (wxPyListCtrl 
*) 0 ; 
26032     PyObject 
* obj0 
= 0 ; 
26033     PyObject 
* obj1 
= 0 ; 
26034     PyObject 
* obj2 
= 0 ; 
26035     char *kwnames
[] = { 
26036         (char *) "self",(char *) "index",(char *) "imageIndex", NULL 
 
26039     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertImageItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
26040     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
26041     if (SWIG_arg_fail(1)) SWIG_fail
; 
26043         arg2 
= (long)(SWIG_As_long(obj1
));  
26044         if (SWIG_arg_fail(2)) SWIG_fail
; 
26047         arg3 
= (int)(SWIG_As_int(obj2
));  
26048         if (SWIG_arg_fail(3)) SWIG_fail
; 
26051         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26052         result 
= (long)(arg1
)->InsertItem(arg2
,arg3
); 
26054         wxPyEndAllowThreads(__tstate
); 
26055         if (PyErr_Occurred()) SWIG_fail
; 
26058         resultobj 
= SWIG_From_long((long)(result
));  
26066 static PyObject 
*_wrap_ListCtrl_InsertImageStringItem(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
26067     PyObject 
*resultobj
; 
26068     wxPyListCtrl 
*arg1 
= (wxPyListCtrl 
*) 0 ; 
26070     wxString 
*arg3 
= 0 ; 
26073     bool temp3 
= false ; 
26074     PyObject 
* obj0 
= 0 ; 
26075     PyObject 
* obj1 
= 0 ; 
26076     PyObject 
* obj2 
= 0 ; 
26077     PyObject 
* obj3 
= 0 ; 
26078     char *kwnames
[] = { 
26079         (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL 
 
26082     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
26083     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
26084     if (SWIG_arg_fail(1)) SWIG_fail
; 
26086         arg2 
= (long)(SWIG_As_long(obj1
));  
26087         if (SWIG_arg_fail(2)) SWIG_fail
; 
26090         arg3 
= wxString_in_helper(obj2
); 
26091         if (arg3 
== NULL
) SWIG_fail
; 
26095         arg4 
= (int)(SWIG_As_int(obj3
));  
26096         if (SWIG_arg_fail(4)) SWIG_fail
; 
26099         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26100         result 
= (long)(arg1
)->InsertItem(arg2
,(wxString 
const &)*arg3
,arg4
); 
26102         wxPyEndAllowThreads(__tstate
); 
26103         if (PyErr_Occurred()) SWIG_fail
; 
26106         resultobj 
= SWIG_From_long((long)(result
));  
26122 static PyObject 
*_wrap_ListCtrl_InsertColumnInfo(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
26123     PyObject 
*resultobj
; 
26124     wxPyListCtrl 
*arg1 
= (wxPyListCtrl 
*) 0 ; 
26126     wxListItem 
*arg3 
= 0 ; 
26128     PyObject 
* obj0 
= 0 ; 
26129     PyObject 
* obj1 
= 0 ; 
26130     PyObject 
* obj2 
= 0 ; 
26131     char *kwnames
[] = { 
26132         (char *) "self",(char *) "col",(char *) "info", NULL 
 
26135     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertColumnInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
26136     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
26137     if (SWIG_arg_fail(1)) SWIG_fail
; 
26139         arg2 
= (long)(SWIG_As_long(obj1
));  
26140         if (SWIG_arg_fail(2)) SWIG_fail
; 
26143         SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION 
| 0); 
26144         if (SWIG_arg_fail(3)) SWIG_fail
; 
26145         if (arg3 
== NULL
) { 
26146             SWIG_null_ref("wxListItem"); 
26148         if (SWIG_arg_fail(3)) SWIG_fail
; 
26151         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26152         result 
= (long)(arg1
)->InsertColumn(arg2
,*arg3
); 
26154         wxPyEndAllowThreads(__tstate
); 
26155         if (PyErr_Occurred()) SWIG_fail
; 
26158         resultobj 
= SWIG_From_long((long)(result
));  
26166 static PyObject 
*_wrap_ListCtrl_InsertColumn(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
26167     PyObject 
*resultobj
; 
26168     wxPyListCtrl 
*arg1 
= (wxPyListCtrl 
*) 0 ; 
26170     wxString 
*arg3 
= 0 ; 
26171     int arg4 
= (int) wxLIST_FORMAT_LEFT 
; 
26172     int arg5 
= (int) -1 ; 
26174     bool temp3 
= false ; 
26175     PyObject 
* obj0 
= 0 ; 
26176     PyObject 
* obj1 
= 0 ; 
26177     PyObject 
* obj2 
= 0 ; 
26178     PyObject 
* obj3 
= 0 ; 
26179     PyObject 
* obj4 
= 0 ; 
26180     char *kwnames
[] = { 
26181         (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL 
 
26184     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
; 
26185     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
26186     if (SWIG_arg_fail(1)) SWIG_fail
; 
26188         arg2 
= (long)(SWIG_As_long(obj1
));  
26189         if (SWIG_arg_fail(2)) SWIG_fail
; 
26192         arg3 
= wxString_in_helper(obj2
); 
26193         if (arg3 
== NULL
) SWIG_fail
; 
26198             arg4 
= (int)(SWIG_As_int(obj3
));  
26199             if (SWIG_arg_fail(4)) SWIG_fail
; 
26204             arg5 
= (int)(SWIG_As_int(obj4
));  
26205             if (SWIG_arg_fail(5)) SWIG_fail
; 
26209         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26210         result 
= (long)(arg1
)->InsertColumn(arg2
,(wxString 
const &)*arg3
,arg4
,arg5
); 
26212         wxPyEndAllowThreads(__tstate
); 
26213         if (PyErr_Occurred()) SWIG_fail
; 
26216         resultobj 
= SWIG_From_long((long)(result
));  
26232 static PyObject 
*_wrap_ListCtrl_SetItemCount(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
26233     PyObject 
*resultobj
; 
26234     wxPyListCtrl 
*arg1 
= (wxPyListCtrl 
*) 0 ; 
26236     PyObject 
* obj0 
= 0 ; 
26237     PyObject 
* obj1 
= 0 ; 
26238     char *kwnames
[] = { 
26239         (char *) "self",(char *) "count", NULL 
 
26242     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
; 
26243     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
26244     if (SWIG_arg_fail(1)) SWIG_fail
; 
26246         arg2 
= (long)(SWIG_As_long(obj1
));  
26247         if (SWIG_arg_fail(2)) SWIG_fail
; 
26250         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26251         (arg1
)->SetItemCount(arg2
); 
26253         wxPyEndAllowThreads(__tstate
); 
26254         if (PyErr_Occurred()) SWIG_fail
; 
26256     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
26263 static PyObject 
*_wrap_ListCtrl_ScrollList(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
26264     PyObject 
*resultobj
; 
26265     wxPyListCtrl 
*arg1 
= (wxPyListCtrl 
*) 0 ; 
26269     PyObject 
* obj0 
= 0 ; 
26270     PyObject 
* obj1 
= 0 ; 
26271     PyObject 
* obj2 
= 0 ; 
26272     char *kwnames
[] = { 
26273         (char *) "self",(char *) "dx",(char *) "dy", NULL 
 
26276     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_ScrollList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
26277     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
26278     if (SWIG_arg_fail(1)) SWIG_fail
; 
26280         arg2 
= (int)(SWIG_As_int(obj1
));  
26281         if (SWIG_arg_fail(2)) SWIG_fail
; 
26284         arg3 
= (int)(SWIG_As_int(obj2
));  
26285         if (SWIG_arg_fail(3)) SWIG_fail
; 
26288         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26289         result 
= (bool)(arg1
)->ScrollList(arg2
,arg3
); 
26291         wxPyEndAllowThreads(__tstate
); 
26292         if (PyErr_Occurred()) SWIG_fail
; 
26295         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
26303 static PyObject 
*_wrap_ListCtrl_SetItemTextColour(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
26304     PyObject 
*resultobj
; 
26305     wxPyListCtrl 
*arg1 
= (wxPyListCtrl 
*) 0 ; 
26307     wxColour 
*arg3 
= 0 ; 
26309     PyObject 
* obj0 
= 0 ; 
26310     PyObject 
* obj1 
= 0 ; 
26311     PyObject 
* obj2 
= 0 ; 
26312     char *kwnames
[] = { 
26313         (char *) "self",(char *) "item",(char *) "col", NULL 
 
26316     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
26317     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
26318     if (SWIG_arg_fail(1)) SWIG_fail
; 
26320         arg2 
= (long)(SWIG_As_long(obj1
));  
26321         if (SWIG_arg_fail(2)) SWIG_fail
; 
26325         if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
; 
26328         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26329         (arg1
)->SetItemTextColour(arg2
,(wxColour 
const &)*arg3
); 
26331         wxPyEndAllowThreads(__tstate
); 
26332         if (PyErr_Occurred()) SWIG_fail
; 
26334     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
26341 static PyObject 
*_wrap_ListCtrl_GetItemTextColour(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
26342     PyObject 
*resultobj
; 
26343     wxPyListCtrl 
*arg1 
= (wxPyListCtrl 
*) 0 ; 
26346     PyObject 
* obj0 
= 0 ; 
26347     PyObject 
* obj1 
= 0 ; 
26348     char *kwnames
[] = { 
26349         (char *) "self",(char *) "item", NULL 
 
26352     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
; 
26353     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
26354     if (SWIG_arg_fail(1)) SWIG_fail
; 
26356         arg2 
= (long)(SWIG_As_long(obj1
));  
26357         if (SWIG_arg_fail(2)) SWIG_fail
; 
26360         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26361         result 
= ((wxPyListCtrl 
const *)arg1
)->GetItemTextColour(arg2
); 
26363         wxPyEndAllowThreads(__tstate
); 
26364         if (PyErr_Occurred()) SWIG_fail
; 
26367         wxColour 
* resultptr
; 
26368         resultptr 
= new wxColour((wxColour 
&)(result
)); 
26369         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1); 
26377 static PyObject 
*_wrap_ListCtrl_SetItemBackgroundColour(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
26378     PyObject 
*resultobj
; 
26379     wxPyListCtrl 
*arg1 
= (wxPyListCtrl 
*) 0 ; 
26381     wxColour 
*arg3 
= 0 ; 
26383     PyObject 
* obj0 
= 0 ; 
26384     PyObject 
* obj1 
= 0 ; 
26385     PyObject 
* obj2 
= 0 ; 
26386     char *kwnames
[] = { 
26387         (char *) "self",(char *) "item",(char *) "col", NULL 
 
26390     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
26391     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
26392     if (SWIG_arg_fail(1)) SWIG_fail
; 
26394         arg2 
= (long)(SWIG_As_long(obj1
));  
26395         if (SWIG_arg_fail(2)) SWIG_fail
; 
26399         if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
; 
26402         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26403         (arg1
)->SetItemBackgroundColour(arg2
,(wxColour 
const &)*arg3
); 
26405         wxPyEndAllowThreads(__tstate
); 
26406         if (PyErr_Occurred()) SWIG_fail
; 
26408     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
26415 static PyObject 
*_wrap_ListCtrl_GetItemBackgroundColour(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
26416     PyObject 
*resultobj
; 
26417     wxPyListCtrl 
*arg1 
= (wxPyListCtrl 
*) 0 ; 
26420     PyObject 
* obj0 
= 0 ; 
26421     PyObject 
* obj1 
= 0 ; 
26422     char *kwnames
[] = { 
26423         (char *) "self",(char *) "item", NULL 
 
26426     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
; 
26427     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
26428     if (SWIG_arg_fail(1)) SWIG_fail
; 
26430         arg2 
= (long)(SWIG_As_long(obj1
));  
26431         if (SWIG_arg_fail(2)) SWIG_fail
; 
26434         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26435         result 
= ((wxPyListCtrl 
const *)arg1
)->GetItemBackgroundColour(arg2
); 
26437         wxPyEndAllowThreads(__tstate
); 
26438         if (PyErr_Occurred()) SWIG_fail
; 
26441         wxColour 
* resultptr
; 
26442         resultptr 
= new wxColour((wxColour 
&)(result
)); 
26443         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1); 
26451 static PyObject 
*_wrap_ListCtrl_SortItems(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
26452     PyObject 
*resultobj
; 
26453     wxPyListCtrl 
*arg1 
= (wxPyListCtrl 
*) 0 ; 
26454     PyObject 
*arg2 
= (PyObject 
*) 0 ; 
26456     PyObject 
* obj0 
= 0 ; 
26457     PyObject 
* obj1 
= 0 ; 
26458     char *kwnames
[] = { 
26459         (char *) "self",(char *) "func", NULL 
 
26462     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SortItems",kwnames
,&obj0
,&obj1
)) goto fail
; 
26463     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
26464     if (SWIG_arg_fail(1)) SWIG_fail
; 
26467         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26468         result 
= (bool)wxPyListCtrl_SortItems(arg1
,arg2
); 
26470         wxPyEndAllowThreads(__tstate
); 
26471         if (PyErr_Occurred()) SWIG_fail
; 
26474         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
26482 static PyObject 
*_wrap_ListCtrl_GetMainWindow(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
26483     PyObject 
*resultobj
; 
26484     wxPyListCtrl 
*arg1 
= (wxPyListCtrl 
*) 0 ; 
26486     PyObject 
* obj0 
= 0 ; 
26487     char *kwnames
[] = { 
26488         (char *) "self", NULL 
 
26491     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetMainWindow",kwnames
,&obj0
)) goto fail
; 
26492     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
26493     if (SWIG_arg_fail(1)) SWIG_fail
; 
26495         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26496         result 
= (wxWindow 
*)wxPyListCtrl_GetMainWindow(arg1
); 
26498         wxPyEndAllowThreads(__tstate
); 
26499         if (PyErr_Occurred()) SWIG_fail
; 
26502         resultobj 
= wxPyMake_wxObject(result
, 0);  
26510 static PyObject 
*_wrap_ListCtrl_GetClassDefaultAttributes(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
26511     PyObject 
*resultobj
; 
26512     wxWindowVariant arg1 
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL 
; 
26513     wxVisualAttributes result
; 
26514     PyObject 
* obj0 
= 0 ; 
26515     char *kwnames
[] = { 
26516         (char *) "variant", NULL 
 
26519     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
; 
26522             arg1 
= (wxWindowVariant
)(SWIG_As_int(obj0
));  
26523             if (SWIG_arg_fail(1)) SWIG_fail
; 
26527         if (!wxPyCheckForApp()) SWIG_fail
; 
26528         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26529         result 
= wxPyListCtrl::GetClassDefaultAttributes((wxWindowVariant 
)arg1
); 
26531         wxPyEndAllowThreads(__tstate
); 
26532         if (PyErr_Occurred()) SWIG_fail
; 
26535         wxVisualAttributes 
* resultptr
; 
26536         resultptr 
= new wxVisualAttributes((wxVisualAttributes 
&)(result
)); 
26537         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1); 
26545 static PyObject 
* ListCtrl_swigregister(PyObject 
*, PyObject 
*args
) { 
26547     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
26548     SWIG_TypeClientData(SWIGTYPE_p_wxPyListCtrl
, obj
); 
26550     return Py_BuildValue((char *)""); 
26552 static PyObject 
*_wrap_new_ListView(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
26553     PyObject 
*resultobj
; 
26554     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
26555     int arg2 
= (int) -1 ; 
26556     wxPoint 
const &arg3_defvalue 
= wxDefaultPosition 
; 
26557     wxPoint 
*arg3 
= (wxPoint 
*) &arg3_defvalue 
; 
26558     wxSize 
const &arg4_defvalue 
= wxDefaultSize 
; 
26559     wxSize 
*arg4 
= (wxSize 
*) &arg4_defvalue 
; 
26560     long arg5 
= (long) wxLC_REPORT 
; 
26561     wxValidator 
const &arg6_defvalue 
= wxDefaultValidator 
; 
26562     wxValidator 
*arg6 
= (wxValidator 
*) &arg6_defvalue 
; 
26563     wxString 
const &arg7_defvalue 
= wxPyListCtrlNameStr 
; 
26564     wxString 
*arg7 
= (wxString 
*) &arg7_defvalue 
; 
26565     wxListView 
*result
; 
26568     bool temp7 
= false ; 
26569     PyObject 
* obj0 
= 0 ; 
26570     PyObject 
* obj1 
= 0 ; 
26571     PyObject 
* obj2 
= 0 ; 
26572     PyObject 
* obj3 
= 0 ; 
26573     PyObject 
* obj4 
= 0 ; 
26574     PyObject 
* obj5 
= 0 ; 
26575     PyObject 
* obj6 
= 0 ; 
26576     char *kwnames
[] = { 
26577         (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL 
 
26580     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListView",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
; 
26581     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
26582     if (SWIG_arg_fail(1)) SWIG_fail
; 
26585             arg2 
= (int)(SWIG_As_int(obj1
));  
26586             if (SWIG_arg_fail(2)) SWIG_fail
; 
26592             if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
; 
26598             if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
; 
26603             arg5 
= (long)(SWIG_As_long(obj4
));  
26604             if (SWIG_arg_fail(5)) SWIG_fail
; 
26609             SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION 
| 0); 
26610             if (SWIG_arg_fail(6)) SWIG_fail
; 
26611             if (arg6 
== NULL
) { 
26612                 SWIG_null_ref("wxValidator"); 
26614             if (SWIG_arg_fail(6)) SWIG_fail
; 
26619             arg7 
= wxString_in_helper(obj6
); 
26620             if (arg7 
== NULL
) SWIG_fail
; 
26625         if (!wxPyCheckForApp()) SWIG_fail
; 
26626         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26627         result 
= (wxListView 
*)new wxListView(arg1
,arg2
,(wxPoint 
const &)*arg3
,(wxSize 
const &)*arg4
,arg5
,(wxValidator 
const &)*arg6
,(wxString 
const &)*arg7
); 
26629         wxPyEndAllowThreads(__tstate
); 
26630         if (PyErr_Occurred()) SWIG_fail
; 
26632     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 1); 
26647 static PyObject 
*_wrap_new_PreListView(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
26648     PyObject 
*resultobj
; 
26649     wxListView 
*result
; 
26650     char *kwnames
[] = { 
26654     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListView",kwnames
)) goto fail
; 
26656         if (!wxPyCheckForApp()) SWIG_fail
; 
26657         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26658         result 
= (wxListView 
*)new wxListView(); 
26660         wxPyEndAllowThreads(__tstate
); 
26661         if (PyErr_Occurred()) SWIG_fail
; 
26663     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 1); 
26670 static PyObject 
*_wrap_ListView_Create(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
26671     PyObject 
*resultobj
; 
26672     wxListView 
*arg1 
= (wxListView 
*) 0 ; 
26673     wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
26674     int arg3 
= (int) -1 ; 
26675     wxPoint 
const &arg4_defvalue 
= wxDefaultPosition 
; 
26676     wxPoint 
*arg4 
= (wxPoint 
*) &arg4_defvalue 
; 
26677     wxSize 
const &arg5_defvalue 
= wxDefaultSize 
; 
26678     wxSize 
*arg5 
= (wxSize 
*) &arg5_defvalue 
; 
26679     long arg6 
= (long) wxLC_REPORT 
; 
26680     wxValidator 
const &arg7_defvalue 
= wxDefaultValidator 
; 
26681     wxValidator 
*arg7 
= (wxValidator 
*) &arg7_defvalue 
; 
26682     wxString 
const &arg8_defvalue 
= wxPyListCtrlNameStr 
; 
26683     wxString 
*arg8 
= (wxString 
*) &arg8_defvalue 
; 
26687     bool temp8 
= false ; 
26688     PyObject 
* obj0 
= 0 ; 
26689     PyObject 
* obj1 
= 0 ; 
26690     PyObject 
* obj2 
= 0 ; 
26691     PyObject 
* obj3 
= 0 ; 
26692     PyObject 
* obj4 
= 0 ; 
26693     PyObject 
* obj5 
= 0 ; 
26694     PyObject 
* obj6 
= 0 ; 
26695     PyObject 
* obj7 
= 0 ; 
26696     char *kwnames
[] = { 
26697         (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL 
 
26700     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListView_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
; 
26701     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION 
| 0); 
26702     if (SWIG_arg_fail(1)) SWIG_fail
; 
26703     SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
26704     if (SWIG_arg_fail(2)) SWIG_fail
; 
26707             arg3 
= (int)(SWIG_As_int(obj2
));  
26708             if (SWIG_arg_fail(3)) SWIG_fail
; 
26714             if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
; 
26720             if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
; 
26725             arg6 
= (long)(SWIG_As_long(obj5
));  
26726             if (SWIG_arg_fail(6)) SWIG_fail
; 
26731             SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION 
| 0); 
26732             if (SWIG_arg_fail(7)) SWIG_fail
; 
26733             if (arg7 
== NULL
) { 
26734                 SWIG_null_ref("wxValidator"); 
26736             if (SWIG_arg_fail(7)) SWIG_fail
; 
26741             arg8 
= wxString_in_helper(obj7
); 
26742             if (arg8 
== NULL
) SWIG_fail
; 
26747         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26748         result 
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint 
const &)*arg4
,(wxSize 
const &)*arg5
,arg6
,(wxValidator 
const &)*arg7
,(wxString 
const &)*arg8
); 
26750         wxPyEndAllowThreads(__tstate
); 
26751         if (PyErr_Occurred()) SWIG_fail
; 
26754         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
26770 static PyObject 
*_wrap_ListView_Select(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
26771     PyObject 
*resultobj
; 
26772     wxListView 
*arg1 
= (wxListView 
*) 0 ; 
26774     bool arg3 
= (bool) true ; 
26775     PyObject 
* obj0 
= 0 ; 
26776     PyObject 
* obj1 
= 0 ; 
26777     PyObject 
* obj2 
= 0 ; 
26778     char *kwnames
[] = { 
26779         (char *) "self",(char *) "n",(char *) "on", NULL 
 
26782     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListView_Select",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
26783     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION 
| 0); 
26784     if (SWIG_arg_fail(1)) SWIG_fail
; 
26786         arg2 
= (long)(SWIG_As_long(obj1
));  
26787         if (SWIG_arg_fail(2)) SWIG_fail
; 
26791             arg3 
= (bool)(SWIG_As_bool(obj2
));  
26792             if (SWIG_arg_fail(3)) SWIG_fail
; 
26796         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26797         (arg1
)->Select(arg2
,arg3
); 
26799         wxPyEndAllowThreads(__tstate
); 
26800         if (PyErr_Occurred()) SWIG_fail
; 
26802     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
26809 static PyObject 
*_wrap_ListView_Focus(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
26810     PyObject 
*resultobj
; 
26811     wxListView 
*arg1 
= (wxListView 
*) 0 ; 
26813     PyObject 
* obj0 
= 0 ; 
26814     PyObject 
* obj1 
= 0 ; 
26815     char *kwnames
[] = { 
26816         (char *) "self",(char *) "index", NULL 
 
26819     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_Focus",kwnames
,&obj0
,&obj1
)) goto fail
; 
26820     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION 
| 0); 
26821     if (SWIG_arg_fail(1)) SWIG_fail
; 
26823         arg2 
= (long)(SWIG_As_long(obj1
));  
26824         if (SWIG_arg_fail(2)) SWIG_fail
; 
26827         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26828         (arg1
)->Focus(arg2
); 
26830         wxPyEndAllowThreads(__tstate
); 
26831         if (PyErr_Occurred()) SWIG_fail
; 
26833     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
26840 static PyObject 
*_wrap_ListView_GetFocusedItem(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
26841     PyObject 
*resultobj
; 
26842     wxListView 
*arg1 
= (wxListView 
*) 0 ; 
26844     PyObject 
* obj0 
= 0 ; 
26845     char *kwnames
[] = { 
26846         (char *) "self", NULL 
 
26849     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFocusedItem",kwnames
,&obj0
)) goto fail
; 
26850     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION 
| 0); 
26851     if (SWIG_arg_fail(1)) SWIG_fail
; 
26853         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26854         result 
= (long)((wxListView 
const *)arg1
)->GetFocusedItem(); 
26856         wxPyEndAllowThreads(__tstate
); 
26857         if (PyErr_Occurred()) SWIG_fail
; 
26860         resultobj 
= SWIG_From_long((long)(result
));  
26868 static PyObject 
*_wrap_ListView_GetNextSelected(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
26869     PyObject 
*resultobj
; 
26870     wxListView 
*arg1 
= (wxListView 
*) 0 ; 
26873     PyObject 
* obj0 
= 0 ; 
26874     PyObject 
* obj1 
= 0 ; 
26875     char *kwnames
[] = { 
26876         (char *) "self",(char *) "item", NULL 
 
26879     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_GetNextSelected",kwnames
,&obj0
,&obj1
)) goto fail
; 
26880     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION 
| 0); 
26881     if (SWIG_arg_fail(1)) SWIG_fail
; 
26883         arg2 
= (long)(SWIG_As_long(obj1
));  
26884         if (SWIG_arg_fail(2)) SWIG_fail
; 
26887         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26888         result 
= (long)((wxListView 
const *)arg1
)->GetNextSelected(arg2
); 
26890         wxPyEndAllowThreads(__tstate
); 
26891         if (PyErr_Occurred()) SWIG_fail
; 
26894         resultobj 
= SWIG_From_long((long)(result
));  
26902 static PyObject 
*_wrap_ListView_GetFirstSelected(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
26903     PyObject 
*resultobj
; 
26904     wxListView 
*arg1 
= (wxListView 
*) 0 ; 
26906     PyObject 
* obj0 
= 0 ; 
26907     char *kwnames
[] = { 
26908         (char *) "self", NULL 
 
26911     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFirstSelected",kwnames
,&obj0
)) goto fail
; 
26912     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION 
| 0); 
26913     if (SWIG_arg_fail(1)) SWIG_fail
; 
26915         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26916         result 
= (long)((wxListView 
const *)arg1
)->GetFirstSelected(); 
26918         wxPyEndAllowThreads(__tstate
); 
26919         if (PyErr_Occurred()) SWIG_fail
; 
26922         resultobj 
= SWIG_From_long((long)(result
));  
26930 static PyObject 
*_wrap_ListView_IsSelected(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
26931     PyObject 
*resultobj
; 
26932     wxListView 
*arg1 
= (wxListView 
*) 0 ; 
26935     PyObject 
* obj0 
= 0 ; 
26936     PyObject 
* obj1 
= 0 ; 
26937     char *kwnames
[] = { 
26938         (char *) "self",(char *) "index", NULL 
 
26941     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
; 
26942     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION 
| 0); 
26943     if (SWIG_arg_fail(1)) SWIG_fail
; 
26945         arg2 
= (long)(SWIG_As_long(obj1
));  
26946         if (SWIG_arg_fail(2)) SWIG_fail
; 
26949         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26950         result 
= (bool)(arg1
)->IsSelected(arg2
); 
26952         wxPyEndAllowThreads(__tstate
); 
26953         if (PyErr_Occurred()) SWIG_fail
; 
26956         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
26964 static PyObject 
*_wrap_ListView_SetColumnImage(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
26965     PyObject 
*resultobj
; 
26966     wxListView 
*arg1 
= (wxListView 
*) 0 ; 
26969     PyObject 
* obj0 
= 0 ; 
26970     PyObject 
* obj1 
= 0 ; 
26971     PyObject 
* obj2 
= 0 ; 
26972     char *kwnames
[] = { 
26973         (char *) "self",(char *) "col",(char *) "image", NULL 
 
26976     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListView_SetColumnImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
26977     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION 
| 0); 
26978     if (SWIG_arg_fail(1)) SWIG_fail
; 
26980         arg2 
= (int)(SWIG_As_int(obj1
));  
26981         if (SWIG_arg_fail(2)) SWIG_fail
; 
26984         arg3 
= (int)(SWIG_As_int(obj2
));  
26985         if (SWIG_arg_fail(3)) SWIG_fail
; 
26988         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26989         (arg1
)->SetColumnImage(arg2
,arg3
); 
26991         wxPyEndAllowThreads(__tstate
); 
26992         if (PyErr_Occurred()) SWIG_fail
; 
26994     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
27001 static PyObject 
*_wrap_ListView_ClearColumnImage(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
27002     PyObject 
*resultobj
; 
27003     wxListView 
*arg1 
= (wxListView 
*) 0 ; 
27005     PyObject 
* obj0 
= 0 ; 
27006     PyObject 
* obj1 
= 0 ; 
27007     char *kwnames
[] = { 
27008         (char *) "self",(char *) "col", NULL 
 
27011     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_ClearColumnImage",kwnames
,&obj0
,&obj1
)) goto fail
; 
27012     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION 
| 0); 
27013     if (SWIG_arg_fail(1)) SWIG_fail
; 
27015         arg2 
= (int)(SWIG_As_int(obj1
));  
27016         if (SWIG_arg_fail(2)) SWIG_fail
; 
27019         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27020         (arg1
)->ClearColumnImage(arg2
); 
27022         wxPyEndAllowThreads(__tstate
); 
27023         if (PyErr_Occurred()) SWIG_fail
; 
27025     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
27032 static PyObject 
* ListView_swigregister(PyObject 
*, PyObject 
*args
) { 
27034     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
27035     SWIG_TypeClientData(SWIGTYPE_p_wxListView
, obj
); 
27037     return Py_BuildValue((char *)""); 
27039 static int _wrap_TreeCtrlNameStr_set(PyObject 
*) { 
27040     PyErr_SetString(PyExc_TypeError
,"Variable TreeCtrlNameStr is read-only."); 
27045 static PyObject 
*_wrap_TreeCtrlNameStr_get(void) { 
27050         pyobj 
= PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len()); 
27052         pyobj 
= PyString_FromStringAndSize((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len()); 
27059 static PyObject 
*_wrap_new_TreeItemId(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
27060     PyObject 
*resultobj
; 
27061     wxTreeItemId 
*result
; 
27062     char *kwnames
[] = { 
27066     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TreeItemId",kwnames
)) goto fail
; 
27068         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27069         result 
= (wxTreeItemId 
*)new wxTreeItemId(); 
27071         wxPyEndAllowThreads(__tstate
); 
27072         if (PyErr_Occurred()) SWIG_fail
; 
27074     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeItemId
, 1); 
27081 static PyObject 
*_wrap_delete_TreeItemId(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
27082     PyObject 
*resultobj
; 
27083     wxTreeItemId 
*arg1 
= (wxTreeItemId 
*) 0 ; 
27084     PyObject 
* obj0 
= 0 ; 
27085     char *kwnames
[] = { 
27086         (char *) "self", NULL 
 
27089     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TreeItemId",kwnames
,&obj0
)) goto fail
; 
27090     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION 
| 0); 
27091     if (SWIG_arg_fail(1)) SWIG_fail
; 
27093         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27096         wxPyEndAllowThreads(__tstate
); 
27097         if (PyErr_Occurred()) SWIG_fail
; 
27099     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
27106 static PyObject 
*_wrap_TreeItemId_IsOk(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
27107     PyObject 
*resultobj
; 
27108     wxTreeItemId 
*arg1 
= (wxTreeItemId 
*) 0 ; 
27110     PyObject 
* obj0 
= 0 ; 
27111     char *kwnames
[] = { 
27112         (char *) "self", NULL 
 
27115     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_IsOk",kwnames
,&obj0
)) goto fail
; 
27116     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION 
| 0); 
27117     if (SWIG_arg_fail(1)) SWIG_fail
; 
27119         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27120         result 
= (bool)((wxTreeItemId 
const *)arg1
)->IsOk(); 
27122         wxPyEndAllowThreads(__tstate
); 
27123         if (PyErr_Occurred()) SWIG_fail
; 
27126         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
27134 static PyObject 
*_wrap_TreeItemId___eq__(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
27135     PyObject 
*resultobj
; 
27136     wxTreeItemId 
*arg1 
= (wxTreeItemId 
*) 0 ; 
27137     wxTreeItemId 
*arg2 
= (wxTreeItemId 
*) 0 ; 
27139     PyObject 
* obj0 
= 0 ; 
27140     PyObject 
* obj1 
= 0 ; 
27141     char *kwnames
[] = { 
27142         (char *) "self",(char *) "other", NULL 
 
27145     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___eq__",kwnames
,&obj0
,&obj1
)) goto fail
; 
27146     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION 
| 0); 
27147     if (SWIG_arg_fail(1)) SWIG_fail
; 
27148     SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION 
| 0); 
27149     if (SWIG_arg_fail(2)) SWIG_fail
; 
27151         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27152         result 
= (bool)wxTreeItemId___eq__(arg1
,(wxTreeItemId 
const *)arg2
); 
27154         wxPyEndAllowThreads(__tstate
); 
27155         if (PyErr_Occurred()) SWIG_fail
; 
27158         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
27166 static PyObject 
*_wrap_TreeItemId___ne__(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
27167     PyObject 
*resultobj
; 
27168     wxTreeItemId 
*arg1 
= (wxTreeItemId 
*) 0 ; 
27169     wxTreeItemId 
*arg2 
= (wxTreeItemId 
*) 0 ; 
27171     PyObject 
* obj0 
= 0 ; 
27172     PyObject 
* obj1 
= 0 ; 
27173     char *kwnames
[] = { 
27174         (char *) "self",(char *) "other", NULL 
 
27177     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___ne__",kwnames
,&obj0
,&obj1
)) goto fail
; 
27178     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION 
| 0); 
27179     if (SWIG_arg_fail(1)) SWIG_fail
; 
27180     SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION 
| 0); 
27181     if (SWIG_arg_fail(2)) SWIG_fail
; 
27183         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27184         result 
= (bool)wxTreeItemId___ne__(arg1
,(wxTreeItemId 
const *)arg2
); 
27186         wxPyEndAllowThreads(__tstate
); 
27187         if (PyErr_Occurred()) SWIG_fail
; 
27190         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
27198 static PyObject 
*_wrap_TreeItemId_m_pItem_set(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
27199     PyObject 
*resultobj
; 
27200     wxTreeItemId 
*arg1 
= (wxTreeItemId 
*) 0 ; 
27201     void *arg2 
= (void *) 0 ; 
27202     PyObject 
* obj0 
= 0 ; 
27203     PyObject 
* obj1 
= 0 ; 
27204     char *kwnames
[] = { 
27205         (char *) "self",(char *) "m_pItem", NULL 
 
27208     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId_m_pItem_set",kwnames
,&obj0
,&obj1
)) goto fail
; 
27209     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION 
| 0); 
27210     if (SWIG_arg_fail(1)) SWIG_fail
; 
27212         if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),0,SWIG_POINTER_EXCEPTION
|SWIG_POINTER_DISOWN
))== -1) { 
27213             SWIG_arg_fail(2);SWIG_fail
; 
27216     if (arg1
) (arg1
)->m_pItem 
= arg2
; 
27218     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
27225 static PyObject 
*_wrap_TreeItemId_m_pItem_get(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
27226     PyObject 
*resultobj
; 
27227     wxTreeItemId 
*arg1 
= (wxTreeItemId 
*) 0 ; 
27229     PyObject 
* obj0 
= 0 ; 
27230     char *kwnames
[] = { 
27231         (char *) "self", NULL 
 
27234     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_m_pItem_get",kwnames
,&obj0
)) goto fail
; 
27235     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION 
| 0); 
27236     if (SWIG_arg_fail(1)) SWIG_fail
; 
27237     result 
= (void *) ((arg1
)->m_pItem
); 
27239     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_void
, 0); 
27246 static PyObject 
* TreeItemId_swigregister(PyObject 
*, PyObject 
*args
) { 
27248     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
27249     SWIG_TypeClientData(SWIGTYPE_p_wxTreeItemId
, obj
); 
27251     return Py_BuildValue((char *)""); 
27253 static PyObject 
*_wrap_new_TreeItemData(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
27254     PyObject 
*resultobj
; 
27255     PyObject 
*arg1 
= (PyObject 
*) NULL 
; 
27256     wxPyTreeItemData 
*result
; 
27257     PyObject 
* obj0 
= 0 ; 
27258     char *kwnames
[] = { 
27259         (char *) "obj", NULL 
 
27262     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TreeItemData",kwnames
,&obj0
)) goto fail
; 
27267         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27268         result 
= (wxPyTreeItemData 
*)new wxPyTreeItemData(arg1
); 
27270         wxPyEndAllowThreads(__tstate
); 
27271         if (PyErr_Occurred()) SWIG_fail
; 
27273     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeItemData
, 1); 
27280 static PyObject 
*_wrap_TreeItemData_GetData(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
27281     PyObject 
*resultobj
; 
27282     wxPyTreeItemData 
*arg1 
= (wxPyTreeItemData 
*) 0 ; 
27284     PyObject 
* obj0 
= 0 ; 
27285     char *kwnames
[] = { 
27286         (char *) "self", NULL 
 
27289     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetData",kwnames
,&obj0
)) goto fail
; 
27290     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION 
| 0); 
27291     if (SWIG_arg_fail(1)) SWIG_fail
; 
27293         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27294         result 
= (PyObject 
*)(arg1
)->GetData(); 
27296         wxPyEndAllowThreads(__tstate
); 
27297         if (PyErr_Occurred()) SWIG_fail
; 
27299     resultobj 
= result
; 
27306 static PyObject 
*_wrap_TreeItemData_SetData(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
27307     PyObject 
*resultobj
; 
27308     wxPyTreeItemData 
*arg1 
= (wxPyTreeItemData 
*) 0 ; 
27309     PyObject 
*arg2 
= (PyObject 
*) 0 ; 
27310     PyObject 
* obj0 
= 0 ; 
27311     PyObject 
* obj1 
= 0 ; 
27312     char *kwnames
[] = { 
27313         (char *) "self",(char *) "obj", NULL 
 
27316     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetData",kwnames
,&obj0
,&obj1
)) goto fail
; 
27317     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION 
| 0); 
27318     if (SWIG_arg_fail(1)) SWIG_fail
; 
27321         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27322         (arg1
)->SetData(arg2
); 
27324         wxPyEndAllowThreads(__tstate
); 
27325         if (PyErr_Occurred()) SWIG_fail
; 
27327     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
27334 static PyObject 
*_wrap_TreeItemData_GetId(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
27335     PyObject 
*resultobj
; 
27336     wxPyTreeItemData 
*arg1 
= (wxPyTreeItemData 
*) 0 ; 
27337     wxTreeItemId 
*result
; 
27338     PyObject 
* obj0 
= 0 ; 
27339     char *kwnames
[] = { 
27340         (char *) "self", NULL 
 
27343     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetId",kwnames
,&obj0
)) goto fail
; 
27344     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION 
| 0); 
27345     if (SWIG_arg_fail(1)) SWIG_fail
; 
27347         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27349             wxTreeItemId 
const &_result_ref 
= (arg1
)->GetId(); 
27350             result 
= (wxTreeItemId 
*) &_result_ref
; 
27353         wxPyEndAllowThreads(__tstate
); 
27354         if (PyErr_Occurred()) SWIG_fail
; 
27356     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeItemId
, 0); 
27363 static PyObject 
*_wrap_TreeItemData_SetId(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
27364     PyObject 
*resultobj
; 
27365     wxPyTreeItemData 
*arg1 
= (wxPyTreeItemData 
*) 0 ; 
27366     wxTreeItemId 
*arg2 
= 0 ; 
27367     PyObject 
* obj0 
= 0 ; 
27368     PyObject 
* obj1 
= 0 ; 
27369     char *kwnames
[] = { 
27370         (char *) "self",(char *) "id", NULL 
 
27373     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetId",kwnames
,&obj0
,&obj1
)) goto fail
; 
27374     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION 
| 0); 
27375     if (SWIG_arg_fail(1)) SWIG_fail
; 
27377         SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION 
| 0); 
27378         if (SWIG_arg_fail(2)) SWIG_fail
; 
27379         if (arg2 
== NULL
) { 
27380             SWIG_null_ref("wxTreeItemId"); 
27382         if (SWIG_arg_fail(2)) SWIG_fail
; 
27385         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27386         (arg1
)->SetId((wxTreeItemId 
const &)*arg2
); 
27388         wxPyEndAllowThreads(__tstate
); 
27389         if (PyErr_Occurred()) SWIG_fail
; 
27391     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
27398 static PyObject 
*_wrap_TreeItemData_Destroy(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
27399     PyObject 
*resultobj
; 
27400     wxPyTreeItemData 
*arg1 
= (wxPyTreeItemData 
*) 0 ; 
27401     PyObject 
* obj0 
= 0 ; 
27402     char *kwnames
[] = { 
27403         (char *) "self", NULL 
 
27406     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_Destroy",kwnames
,&obj0
)) goto fail
; 
27407     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION 
| 0); 
27408     if (SWIG_arg_fail(1)) SWIG_fail
; 
27410         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27411         wxPyTreeItemData_Destroy(arg1
); 
27413         wxPyEndAllowThreads(__tstate
); 
27414         if (PyErr_Occurred()) SWIG_fail
; 
27416     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
27423 static PyObject 
* TreeItemData_swigregister(PyObject 
*, PyObject 
*args
) { 
27425     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
27426     SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeItemData
, obj
); 
27428     return Py_BuildValue((char *)""); 
27430 static PyObject 
*_wrap_new_TreeEvent(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
27431     PyObject 
*resultobj
; 
27432     wxEventType arg1 
= (wxEventType
) wxEVT_NULL 
; 
27433     int arg2 
= (int) 0 ; 
27434     wxTreeEvent 
*result
; 
27435     PyObject 
* obj0 
= 0 ; 
27436     PyObject 
* obj1 
= 0 ; 
27437     char *kwnames
[] = { 
27438         (char *) "commandType",(char *) "id", NULL 
 
27441     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TreeEvent",kwnames
,&obj0
,&obj1
)) goto fail
; 
27444             arg1 
= (wxEventType
)(SWIG_As_int(obj0
));  
27445             if (SWIG_arg_fail(1)) SWIG_fail
; 
27450             arg2 
= (int)(SWIG_As_int(obj1
));  
27451             if (SWIG_arg_fail(2)) SWIG_fail
; 
27455         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27456         result 
= (wxTreeEvent 
*)new wxTreeEvent(arg1
,arg2
); 
27458         wxPyEndAllowThreads(__tstate
); 
27459         if (PyErr_Occurred()) SWIG_fail
; 
27461     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeEvent
, 1); 
27468 static PyObject 
*_wrap_TreeEvent_GetItem(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
27469     PyObject 
*resultobj
; 
27470     wxTreeEvent 
*arg1 
= (wxTreeEvent 
*) 0 ; 
27471     wxTreeItemId result
; 
27472     PyObject 
* obj0 
= 0 ; 
27473     char *kwnames
[] = { 
27474         (char *) "self", NULL 
 
27477     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetItem",kwnames
,&obj0
)) goto fail
; 
27478     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
27479     if (SWIG_arg_fail(1)) SWIG_fail
; 
27481         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27482         result 
= ((wxTreeEvent 
const *)arg1
)->GetItem(); 
27484         wxPyEndAllowThreads(__tstate
); 
27485         if (PyErr_Occurred()) SWIG_fail
; 
27488         wxTreeItemId 
* resultptr
; 
27489         resultptr 
= new wxTreeItemId((wxTreeItemId 
&)(result
)); 
27490         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1); 
27498 static PyObject 
*_wrap_TreeEvent_SetItem(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
27499     PyObject 
*resultobj
; 
27500     wxTreeEvent 
*arg1 
= (wxTreeEvent 
*) 0 ; 
27501     wxTreeItemId 
*arg2 
= 0 ; 
27502     PyObject 
* obj0 
= 0 ; 
27503     PyObject 
* obj1 
= 0 ; 
27504     char *kwnames
[] = { 
27505         (char *) "self",(char *) "item", NULL 
 
27508     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
; 
27509     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
27510     if (SWIG_arg_fail(1)) SWIG_fail
; 
27512         SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION 
| 0); 
27513         if (SWIG_arg_fail(2)) SWIG_fail
; 
27514         if (arg2 
== NULL
) { 
27515             SWIG_null_ref("wxTreeItemId"); 
27517         if (SWIG_arg_fail(2)) SWIG_fail
; 
27520         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27521         (arg1
)->SetItem((wxTreeItemId 
const &)*arg2
); 
27523         wxPyEndAllowThreads(__tstate
); 
27524         if (PyErr_Occurred()) SWIG_fail
; 
27526     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
27533 static PyObject 
*_wrap_TreeEvent_GetOldItem(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
27534     PyObject 
*resultobj
; 
27535     wxTreeEvent 
*arg1 
= (wxTreeEvent 
*) 0 ; 
27536     wxTreeItemId result
; 
27537     PyObject 
* obj0 
= 0 ; 
27538     char *kwnames
[] = { 
27539         (char *) "self", NULL 
 
27542     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetOldItem",kwnames
,&obj0
)) goto fail
; 
27543     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
27544     if (SWIG_arg_fail(1)) SWIG_fail
; 
27546         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27547         result 
= ((wxTreeEvent 
const *)arg1
)->GetOldItem(); 
27549         wxPyEndAllowThreads(__tstate
); 
27550         if (PyErr_Occurred()) SWIG_fail
; 
27553         wxTreeItemId 
* resultptr
; 
27554         resultptr 
= new wxTreeItemId((wxTreeItemId 
&)(result
)); 
27555         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1); 
27563 static PyObject 
*_wrap_TreeEvent_SetOldItem(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
27564     PyObject 
*resultobj
; 
27565     wxTreeEvent 
*arg1 
= (wxTreeEvent 
*) 0 ; 
27566     wxTreeItemId 
*arg2 
= 0 ; 
27567     PyObject 
* obj0 
= 0 ; 
27568     PyObject 
* obj1 
= 0 ; 
27569     char *kwnames
[] = { 
27570         (char *) "self",(char *) "item", NULL 
 
27573     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetOldItem",kwnames
,&obj0
,&obj1
)) goto fail
; 
27574     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
27575     if (SWIG_arg_fail(1)) SWIG_fail
; 
27577         SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION 
| 0); 
27578         if (SWIG_arg_fail(2)) SWIG_fail
; 
27579         if (arg2 
== NULL
) { 
27580             SWIG_null_ref("wxTreeItemId"); 
27582         if (SWIG_arg_fail(2)) SWIG_fail
; 
27585         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27586         (arg1
)->SetOldItem((wxTreeItemId 
const &)*arg2
); 
27588         wxPyEndAllowThreads(__tstate
); 
27589         if (PyErr_Occurred()) SWIG_fail
; 
27591     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
27598 static PyObject 
*_wrap_TreeEvent_GetPoint(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
27599     PyObject 
*resultobj
; 
27600     wxTreeEvent 
*arg1 
= (wxTreeEvent 
*) 0 ; 
27602     PyObject 
* obj0 
= 0 ; 
27603     char *kwnames
[] = { 
27604         (char *) "self", NULL 
 
27607     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetPoint",kwnames
,&obj0
)) goto fail
; 
27608     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
27609     if (SWIG_arg_fail(1)) SWIG_fail
; 
27611         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27612         result 
= ((wxTreeEvent 
const *)arg1
)->GetPoint(); 
27614         wxPyEndAllowThreads(__tstate
); 
27615         if (PyErr_Occurred()) SWIG_fail
; 
27618         wxPoint 
* resultptr
; 
27619         resultptr 
= new wxPoint((wxPoint 
&)(result
)); 
27620         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1); 
27628 static PyObject 
*_wrap_TreeEvent_SetPoint(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
27629     PyObject 
*resultobj
; 
27630     wxTreeEvent 
*arg1 
= (wxTreeEvent 
*) 0 ; 
27631     wxPoint 
*arg2 
= 0 ; 
27633     PyObject 
* obj0 
= 0 ; 
27634     PyObject 
* obj1 
= 0 ; 
27635     char *kwnames
[] = { 
27636         (char *) "self",(char *) "pt", NULL 
 
27639     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetPoint",kwnames
,&obj0
,&obj1
)) goto fail
; 
27640     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
27641     if (SWIG_arg_fail(1)) SWIG_fail
; 
27644         if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
27647         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27648         (arg1
)->SetPoint((wxPoint 
const &)*arg2
); 
27650         wxPyEndAllowThreads(__tstate
); 
27651         if (PyErr_Occurred()) SWIG_fail
; 
27653     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
27660 static PyObject 
*_wrap_TreeEvent_GetKeyEvent(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
27661     PyObject 
*resultobj
; 
27662     wxTreeEvent 
*arg1 
= (wxTreeEvent 
*) 0 ; 
27663     wxKeyEvent 
*result
; 
27664     PyObject 
* obj0 
= 0 ; 
27665     char *kwnames
[] = { 
27666         (char *) "self", NULL 
 
27669     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyEvent",kwnames
,&obj0
)) goto fail
; 
27670     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
27671     if (SWIG_arg_fail(1)) SWIG_fail
; 
27673         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27675             wxKeyEvent 
const &_result_ref 
= ((wxTreeEvent 
const *)arg1
)->GetKeyEvent(); 
27676             result 
= (wxKeyEvent 
*) &_result_ref
; 
27679         wxPyEndAllowThreads(__tstate
); 
27680         if (PyErr_Occurred()) SWIG_fail
; 
27682     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxKeyEvent
, 0); 
27689 static PyObject 
*_wrap_TreeEvent_GetKeyCode(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
27690     PyObject 
*resultobj
; 
27691     wxTreeEvent 
*arg1 
= (wxTreeEvent 
*) 0 ; 
27693     PyObject 
* obj0 
= 0 ; 
27694     char *kwnames
[] = { 
27695         (char *) "self", NULL 
 
27698     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
; 
27699     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
27700     if (SWIG_arg_fail(1)) SWIG_fail
; 
27702         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27703         result 
= (int)((wxTreeEvent 
const *)arg1
)->GetKeyCode(); 
27705         wxPyEndAllowThreads(__tstate
); 
27706         if (PyErr_Occurred()) SWIG_fail
; 
27709         resultobj 
= SWIG_From_int((int)(result
));  
27717 static PyObject 
*_wrap_TreeEvent_SetKeyEvent(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
27718     PyObject 
*resultobj
; 
27719     wxTreeEvent 
*arg1 
= (wxTreeEvent 
*) 0 ; 
27720     wxKeyEvent 
*arg2 
= 0 ; 
27721     PyObject 
* obj0 
= 0 ; 
27722     PyObject 
* obj1 
= 0 ; 
27723     char *kwnames
[] = { 
27724         (char *) "self",(char *) "evt", NULL 
 
27727     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetKeyEvent",kwnames
,&obj0
,&obj1
)) goto fail
; 
27728     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
27729     if (SWIG_arg_fail(1)) SWIG_fail
; 
27731         SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
27732         if (SWIG_arg_fail(2)) SWIG_fail
; 
27733         if (arg2 
== NULL
) { 
27734             SWIG_null_ref("wxKeyEvent"); 
27736         if (SWIG_arg_fail(2)) SWIG_fail
; 
27739         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27740         (arg1
)->SetKeyEvent((wxKeyEvent 
const &)*arg2
); 
27742         wxPyEndAllowThreads(__tstate
); 
27743         if (PyErr_Occurred()) SWIG_fail
; 
27745     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
27752 static PyObject 
*_wrap_TreeEvent_GetLabel(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
27753     PyObject 
*resultobj
; 
27754     wxTreeEvent 
*arg1 
= (wxTreeEvent 
*) 0 ; 
27756     PyObject 
* obj0 
= 0 ; 
27757     char *kwnames
[] = { 
27758         (char *) "self", NULL 
 
27761     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetLabel",kwnames
,&obj0
)) goto fail
; 
27762     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
27763     if (SWIG_arg_fail(1)) SWIG_fail
; 
27765         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27767             wxString 
const &_result_ref 
= ((wxTreeEvent 
const *)arg1
)->GetLabel(); 
27768             result 
= (wxString 
*) &_result_ref
; 
27771         wxPyEndAllowThreads(__tstate
); 
27772         if (PyErr_Occurred()) SWIG_fail
; 
27776         resultobj 
= PyUnicode_FromWideChar(result
->c_str(), result
->Len()); 
27778         resultobj 
= PyString_FromStringAndSize(result
->c_str(), result
->Len()); 
27787 static PyObject 
*_wrap_TreeEvent_SetLabel(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
27788     PyObject 
*resultobj
; 
27789     wxTreeEvent 
*arg1 
= (wxTreeEvent 
*) 0 ; 
27790     wxString 
*arg2 
= 0 ; 
27791     bool temp2 
= false ; 
27792     PyObject 
* obj0 
= 0 ; 
27793     PyObject 
* obj1 
= 0 ; 
27794     char *kwnames
[] = { 
27795         (char *) "self",(char *) "label", NULL 
 
27798     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
; 
27799     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
27800     if (SWIG_arg_fail(1)) SWIG_fail
; 
27802         arg2 
= wxString_in_helper(obj1
); 
27803         if (arg2 
== NULL
) SWIG_fail
; 
27807         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27808         (arg1
)->SetLabel((wxString 
const &)*arg2
); 
27810         wxPyEndAllowThreads(__tstate
); 
27811         if (PyErr_Occurred()) SWIG_fail
; 
27813     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
27828 static PyObject 
*_wrap_TreeEvent_IsEditCancelled(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
27829     PyObject 
*resultobj
; 
27830     wxTreeEvent 
*arg1 
= (wxTreeEvent 
*) 0 ; 
27832     PyObject 
* obj0 
= 0 ; 
27833     char *kwnames
[] = { 
27834         (char *) "self", NULL 
 
27837     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
; 
27838     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
27839     if (SWIG_arg_fail(1)) SWIG_fail
; 
27841         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27842         result 
= (bool)((wxTreeEvent 
const *)arg1
)->IsEditCancelled(); 
27844         wxPyEndAllowThreads(__tstate
); 
27845         if (PyErr_Occurred()) SWIG_fail
; 
27848         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
27856 static PyObject 
*_wrap_TreeEvent_SetEditCanceled(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
27857     PyObject 
*resultobj
; 
27858     wxTreeEvent 
*arg1 
= (wxTreeEvent 
*) 0 ; 
27860     PyObject 
* obj0 
= 0 ; 
27861     PyObject 
* obj1 
= 0 ; 
27862     char *kwnames
[] = { 
27863         (char *) "self",(char *) "editCancelled", NULL 
 
27866     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
; 
27867     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
27868     if (SWIG_arg_fail(1)) SWIG_fail
; 
27870         arg2 
= (bool)(SWIG_As_bool(obj1
));  
27871         if (SWIG_arg_fail(2)) SWIG_fail
; 
27874         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27875         (arg1
)->SetEditCanceled(arg2
); 
27877         wxPyEndAllowThreads(__tstate
); 
27878         if (PyErr_Occurred()) SWIG_fail
; 
27880     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
27887 static PyObject 
*_wrap_TreeEvent_SetToolTip(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
27888     PyObject 
*resultobj
; 
27889     wxTreeEvent 
*arg1 
= (wxTreeEvent 
*) 0 ; 
27890     wxString 
*arg2 
= 0 ; 
27891     bool temp2 
= false ; 
27892     PyObject 
* obj0 
= 0 ; 
27893     PyObject 
* obj1 
= 0 ; 
27894     char *kwnames
[] = { 
27895         (char *) "self",(char *) "toolTip", NULL 
 
27898     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
; 
27899     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
27900     if (SWIG_arg_fail(1)) SWIG_fail
; 
27902         arg2 
= wxString_in_helper(obj1
); 
27903         if (arg2 
== NULL
) SWIG_fail
; 
27907         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27908         (arg1
)->SetToolTip((wxString 
const &)*arg2
); 
27910         wxPyEndAllowThreads(__tstate
); 
27911         if (PyErr_Occurred()) SWIG_fail
; 
27913     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
27928 static PyObject 
* TreeEvent_swigregister(PyObject 
*, PyObject 
*args
) { 
27930     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
27931     SWIG_TypeClientData(SWIGTYPE_p_wxTreeEvent
, obj
); 
27933     return Py_BuildValue((char *)""); 
27935 static PyObject 
*_wrap_new_TreeCtrl(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
27936     PyObject 
*resultobj
; 
27937     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
27938     int arg2 
= (int) -1 ; 
27939     wxPoint 
const &arg3_defvalue 
= wxDefaultPosition 
; 
27940     wxPoint 
*arg3 
= (wxPoint 
*) &arg3_defvalue 
; 
27941     wxSize 
const &arg4_defvalue 
= wxDefaultSize 
; 
27942     wxSize 
*arg4 
= (wxSize 
*) &arg4_defvalue 
; 
27943     long arg5 
= (long) wxTR_DEFAULT_STYLE 
; 
27944     wxValidator 
const &arg6_defvalue 
= wxDefaultValidator 
; 
27945     wxValidator 
*arg6 
= (wxValidator 
*) &arg6_defvalue 
; 
27946     wxString 
const &arg7_defvalue 
= wxPyTreeCtrlNameStr 
; 
27947     wxString 
*arg7 
= (wxString 
*) &arg7_defvalue 
; 
27948     wxPyTreeCtrl 
*result
; 
27951     bool temp7 
= false ; 
27952     PyObject 
* obj0 
= 0 ; 
27953     PyObject 
* obj1 
= 0 ; 
27954     PyObject 
* obj2 
= 0 ; 
27955     PyObject 
* obj3 
= 0 ; 
27956     PyObject 
* obj4 
= 0 ; 
27957     PyObject 
* obj5 
= 0 ; 
27958     PyObject 
* obj6 
= 0 ; 
27959     char *kwnames
[] = { 
27960         (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL 
 
27963     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_TreeCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
; 
27964     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
27965     if (SWIG_arg_fail(1)) SWIG_fail
; 
27968             arg2 
= (int)(SWIG_As_int(obj1
));  
27969             if (SWIG_arg_fail(2)) SWIG_fail
; 
27975             if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
; 
27981             if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
; 
27986             arg5 
= (long)(SWIG_As_long(obj4
));  
27987             if (SWIG_arg_fail(5)) SWIG_fail
; 
27992             SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION 
| 0); 
27993             if (SWIG_arg_fail(6)) SWIG_fail
; 
27994             if (arg6 
== NULL
) { 
27995                 SWIG_null_ref("wxValidator"); 
27997             if (SWIG_arg_fail(6)) SWIG_fail
; 
28002             arg7 
= wxString_in_helper(obj6
); 
28003             if (arg7 
== NULL
) SWIG_fail
; 
28008         if (!wxPyCheckForApp()) SWIG_fail
; 
28009         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28010         result 
= (wxPyTreeCtrl 
*)new wxPyTreeCtrl(arg1
,arg2
,(wxPoint 
const &)*arg3
,(wxSize 
const &)*arg4
,arg5
,(wxValidator 
const &)*arg6
,(wxString 
const &)*arg7
); 
28012         wxPyEndAllowThreads(__tstate
); 
28013         if (PyErr_Occurred()) SWIG_fail
; 
28015     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeCtrl
, 1); 
28030 static PyObject 
*_wrap_new_PreTreeCtrl(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
28031     PyObject 
*resultobj
; 
28032     wxPyTreeCtrl 
*result
; 
28033     char *kwnames
[] = { 
28037     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTreeCtrl",kwnames
)) goto fail
; 
28039         if (!wxPyCheckForApp()) SWIG_fail
; 
28040         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28041         result 
= (wxPyTreeCtrl 
*)new wxPyTreeCtrl(); 
28043         wxPyEndAllowThreads(__tstate
); 
28044         if (PyErr_Occurred()) SWIG_fail
; 
28046     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeCtrl
, 1); 
28053 static PyObject 
*_wrap_TreeCtrl_Create(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
28054     PyObject 
*resultobj
; 
28055     wxPyTreeCtrl 
*arg1 
= (wxPyTreeCtrl 
*) 0 ; 
28056     wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
28057     int arg3 
= (int) -1 ; 
28058     wxPoint 
const &arg4_defvalue 
= wxDefaultPosition 
; 
28059     wxPoint 
*arg4 
= (wxPoint 
*) &arg4_defvalue 
; 
28060     wxSize 
const &arg5_defvalue 
= wxDefaultSize 
; 
28061     wxSize 
*arg5 
= (wxSize 
*) &arg5_defvalue 
; 
28062     long arg6 
= (long) wxTR_DEFAULT_STYLE 
; 
28063     wxValidator 
const &arg7_defvalue 
= wxDefaultValidator 
; 
28064     wxValidator 
*arg7 
= (wxValidator 
*) &arg7_defvalue 
; 
28065     wxString 
const &arg8_defvalue 
= wxPyTreeCtrlNameStr 
; 
28066     wxString 
*arg8 
= (wxString 
*) &arg8_defvalue 
; 
28070     bool temp8 
= false ; 
28071     PyObject 
* obj0 
= 0 ; 
28072     PyObject 
* obj1 
= 0 ; 
28073     PyObject 
* obj2 
= 0 ; 
28074     PyObject 
* obj3 
= 0 ; 
28075     PyObject 
* obj4 
= 0 ; 
28076     PyObject 
* obj5 
= 0 ; 
28077     PyObject 
* obj6 
= 0 ; 
28078     PyObject 
* obj7 
= 0 ; 
28079     char *kwnames
[] = { 
28080         (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL 
 
28083     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
; 
28084     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
28085     if (SWIG_arg_fail(1)) SWIG_fail
; 
28086     SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
28087     if (SWIG_arg_fail(2)) SWIG_fail
; 
28090             arg3 
= (int)(SWIG_As_int(obj2
));  
28091             if (SWIG_arg_fail(3)) SWIG_fail
; 
28097             if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
; 
28103             if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
; 
28108             arg6 
= (long)(SWIG_As_long(obj5
));  
28109             if (SWIG_arg_fail(6)) SWIG_fail
; 
28114             SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION 
| 0); 
28115             if (SWIG_arg_fail(7)) SWIG_fail
; 
28116             if (arg7 
== NULL
) { 
28117                 SWIG_null_ref("wxValidator"); 
28119             if (SWIG_arg_fail(7)) SWIG_fail
; 
28124             arg8 
= wxString_in_helper(obj7
); 
28125             if (arg8 
== NULL
) SWIG_fail
; 
28130         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28131         result 
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint 
const &)*arg4
,(wxSize 
const &)*arg5
,arg6
,(wxValidator 
const &)*arg7
,(wxString 
const &)*arg8
); 
28133         wxPyEndAllowThreads(__tstate
); 
28134         if (PyErr_Occurred()) SWIG_fail
; 
28137         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
28153 static PyObject 
*_wrap_TreeCtrl__setCallbackInfo(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
28154     PyObject 
*resultobj
; 
28155     wxPyTreeCtrl 
*arg1 
= (wxPyTreeCtrl 
*) 0 ; 
28156     PyObject 
*arg2 
= (PyObject 
*) 0 ; 
28157     PyObject 
*arg3 
= (PyObject 
*) 0 ; 
28158     PyObject 
* obj0 
= 0 ; 
28159     PyObject 
* obj1 
= 0 ; 
28160     PyObject 
* obj2 
= 0 ; 
28161     char *kwnames
[] = { 
28162         (char *) "self",(char *) "self",(char *) "_class", NULL 
 
28165     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
28166     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
28167     if (SWIG_arg_fail(1)) SWIG_fail
; 
28171         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28172         (arg1
)->_setCallbackInfo(arg2
,arg3
); 
28174         wxPyEndAllowThreads(__tstate
); 
28175         if (PyErr_Occurred()) SWIG_fail
; 
28177     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
28184 static PyObject 
*_wrap_TreeCtrl_GetCount(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
28185     PyObject 
*resultobj
; 
28186     wxPyTreeCtrl 
*arg1 
= (wxPyTreeCtrl 
*) 0 ; 
28188     PyObject 
* obj0 
= 0 ; 
28189     char *kwnames
[] = { 
28190         (char *) "self", NULL 
 
28193     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetCount",kwnames
,&obj0
)) goto fail
; 
28194     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
28195     if (SWIG_arg_fail(1)) SWIG_fail
; 
28197         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28198         result 
= (size_t)((wxPyTreeCtrl 
const *)arg1
)->GetCount(); 
28200         wxPyEndAllowThreads(__tstate
); 
28201         if (PyErr_Occurred()) SWIG_fail
; 
28204         resultobj 
= SWIG_From_unsigned_SS_long((unsigned long)(result
));  
28212 static PyObject 
*_wrap_TreeCtrl_GetIndent(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
28213     PyObject 
*resultobj
; 
28214     wxPyTreeCtrl 
*arg1 
= (wxPyTreeCtrl 
*) 0 ; 
28215     unsigned int result
; 
28216     PyObject 
* obj0 
= 0 ; 
28217     char *kwnames
[] = { 
28218         (char *) "self", NULL 
 
28221     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetIndent",kwnames
,&obj0
)) goto fail
; 
28222     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
28223     if (SWIG_arg_fail(1)) SWIG_fail
; 
28225         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28226         result 
= (unsigned int)((wxPyTreeCtrl 
const *)arg1
)->GetIndent(); 
28228         wxPyEndAllowThreads(__tstate
); 
28229         if (PyErr_Occurred()) SWIG_fail
; 
28232         resultobj 
= SWIG_From_unsigned_SS_int((unsigned int)(result
));  
28240 static PyObject 
*_wrap_TreeCtrl_SetIndent(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
28241     PyObject 
*resultobj
; 
28242     wxPyTreeCtrl 
*arg1 
= (wxPyTreeCtrl 
*) 0 ; 
28243     unsigned int arg2 
; 
28244     PyObject 
* obj0 
= 0 ; 
28245     PyObject 
* obj1 
= 0 ; 
28246     char *kwnames
[] = { 
28247         (char *) "self",(char *) "indent", NULL 
 
28250     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetIndent",kwnames
,&obj0
,&obj1
)) goto fail
; 
28251     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
28252     if (SWIG_arg_fail(1)) SWIG_fail
; 
28254         arg2 
= (unsigned int)(SWIG_As_unsigned_SS_int(obj1
));  
28255         if (SWIG_arg_fail(2)) SWIG_fail
; 
28258         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28259         (arg1
)->SetIndent(arg2
); 
28261         wxPyEndAllowThreads(__tstate
); 
28262         if (PyErr_Occurred()) SWIG_fail
; 
28264     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
28271 static PyObject 
*_wrap_TreeCtrl_GetSpacing(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
28272     PyObject 
*resultobj
; 
28273     wxPyTreeCtrl 
*arg1 
= (wxPyTreeCtrl 
*) 0 ; 
28274     unsigned int result
; 
28275     PyObject 
* obj0 
= 0 ; 
28276     char *kwnames
[] = { 
28277         (char *) "self", NULL 
 
28280     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSpacing",kwnames
,&obj0
)) goto fail
; 
28281     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
28282     if (SWIG_arg_fail(1)) SWIG_fail
; 
28284         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28285         result 
= (unsigned int)((wxPyTreeCtrl 
const *)arg1
)->GetSpacing(); 
28287         wxPyEndAllowThreads(__tstate
); 
28288         if (PyErr_Occurred()) SWIG_fail
; 
28291         resultobj 
= SWIG_From_unsigned_SS_int((unsigned int)(result
));  
28299 static PyObject 
*_wrap_TreeCtrl_SetSpacing(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
28300     PyObject 
*resultobj
; 
28301     wxPyTreeCtrl 
*arg1 
= (wxPyTreeCtrl 
*) 0 ; 
28302     unsigned int arg2 
; 
28303     PyObject 
* obj0 
= 0 ; 
28304     PyObject 
* obj1 
= 0 ; 
28305     char *kwnames
[] = { 
28306         (char *) "self",(char *) "spacing", NULL 
 
28309     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetSpacing",kwnames
,&obj0
,&obj1
)) goto fail
; 
28310     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
28311     if (SWIG_arg_fail(1)) SWIG_fail
; 
28313         arg2 
= (unsigned int)(SWIG_As_unsigned_SS_int(obj1
));  
28314         if (SWIG_arg_fail(2)) SWIG_fail
; 
28317         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28318         (arg1
)->SetSpacing(arg2
); 
28320         wxPyEndAllowThreads(__tstate
); 
28321         if (PyErr_Occurred()) SWIG_fail
; 
28323     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
28330 static PyObject 
*_wrap_TreeCtrl_GetImageList(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
28331     PyObject 
*resultobj
; 
28332     wxPyTreeCtrl 
*arg1 
= (wxPyTreeCtrl 
*) 0 ; 
28333     wxImageList 
*result
; 
28334     PyObject 
* obj0 
= 0 ; 
28335     char *kwnames
[] = { 
28336         (char *) "self", NULL 
 
28339     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetImageList",kwnames
,&obj0
)) goto fail
; 
28340     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
28341     if (SWIG_arg_fail(1)) SWIG_fail
; 
28343         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28344         result 
= (wxImageList 
*)((wxPyTreeCtrl 
const *)arg1
)->GetImageList(); 
28346         wxPyEndAllowThreads(__tstate
); 
28347         if (PyErr_Occurred()) SWIG_fail
; 
28350         resultobj 
= wxPyMake_wxObject(result
, 0);  
28358 static PyObject 
*_wrap_TreeCtrl_GetStateImageList(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
28359     PyObject 
*resultobj
; 
28360     wxPyTreeCtrl 
*arg1 
= (wxPyTreeCtrl 
*) 0 ; 
28361     wxImageList 
*result
; 
28362     PyObject 
* obj0 
= 0 ; 
28363     char *kwnames
[] = { 
28364         (char *) "self", NULL 
 
28367     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetStateImageList",kwnames
,&obj0
)) goto fail
; 
28368     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
28369     if (SWIG_arg_fail(1)) SWIG_fail
; 
28371         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28372         result 
= (wxImageList 
*)((wxPyTreeCtrl 
const *)arg1
)->GetStateImageList(); 
28374         wxPyEndAllowThreads(__tstate
); 
28375         if (PyErr_Occurred()) SWIG_fail
; 
28378         resultobj 
= wxPyMake_wxObject(result
, 0);  
28386 static PyObject 
*_wrap_TreeCtrl_SetImageList(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
28387     PyObject 
*resultobj
; 
28388     wxPyTreeCtrl 
*arg1 
= (wxPyTreeCtrl 
*) 0 ; 
28389     wxImageList 
*arg2 
= (wxImageList 
*) 0 ; 
28390     PyObject 
* obj0 
= 0 ; 
28391     PyObject 
* obj1 
= 0 ; 
28392     char *kwnames
[] = { 
28393         (char *) "self",(char *) "imageList", NULL 
 
28396     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
; 
28397     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
28398     if (SWIG_arg_fail(1)) SWIG_fail
; 
28399     SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION 
| 0); 
28400     if (SWIG_arg_fail(2)) SWIG_fail
; 
28402         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28403         (arg1
)->SetImageList(arg2
); 
28405         wxPyEndAllowThreads(__tstate
); 
28406         if (PyErr_Occurred()) SWIG_fail
; 
28408     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
28415 static PyObject 
*_wrap_TreeCtrl_SetStateImageList(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
28416     PyObject 
*resultobj
; 
28417     wxPyTreeCtrl 
*arg1 
= (wxPyTreeCtrl 
*) 0 ; 
28418     wxImageList 
*arg2 
= (wxImageList 
*) 0 ; 
28419     PyObject 
* obj0 
= 0 ; 
28420     PyObject 
* obj1 
= 0 ; 
28421     char *kwnames
[] = { 
28422         (char *) "self",(char *) "imageList", NULL 
 
28425     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
; 
28426     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
28427     if (SWIG_arg_fail(1)) SWIG_fail
; 
28428     SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION 
| 0); 
28429     if (SWIG_arg_fail(2)) SWIG_fail
; 
28431         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28432         (arg1
)->SetStateImageList(arg2
); 
28434         wxPyEndAllowThreads(__tstate
); 
28435         if (PyErr_Occurred()) SWIG_fail
; 
28437     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
28444 static PyObject 
*_wrap_TreeCtrl_AssignImageList(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
28445     PyObject 
*resultobj
; 
28446     wxPyTreeCtrl 
*arg1 
= (wxPyTreeCtrl 
*) 0 ; 
28447     wxImageList 
*arg2 
= (wxImageList 
*) 0 ; 
28448     PyObject 
* obj0 
= 0 ; 
28449     PyObject 
* obj1 
= 0 ; 
28450     char *kwnames
[] = { 
28451         (char *) "self",(char *) "imageList", NULL 
 
28454     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
; 
28455     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
28456     if (SWIG_arg_fail(1)) SWIG_fail
; 
28457     SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION 
| SWIG_POINTER_DISOWN
); 
28458     if (SWIG_arg_fail(2)) SWIG_fail
; 
28460         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28461         (arg1
)->AssignImageList(arg2
); 
28463         wxPyEndAllowThreads(__tstate
); 
28464         if (PyErr_Occurred()) SWIG_fail
; 
28466     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
28473 static PyObject 
*_wrap_TreeCtrl_AssignStateImageList(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
28474     PyObject 
*resultobj
; 
28475     wxPyTreeCtrl 
*arg1 
= (wxPyTreeCtrl 
*) 0 ; 
28476     wxImageList 
*arg2 
= (wxImageList 
*) 0 ; 
28477     PyObject 
* obj0 
= 0 ; 
28478     PyObject 
* obj1 
= 0 ; 
28479     char *kwnames
[] = { 
28480         (char *) "self",(char *) "imageList", NULL 
 
28483     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
; 
28484     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
28485     if (SWIG_arg_fail(1)) SWIG_fail
; 
28486     SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION 
| SWIG_POINTER_DISOWN
); 
28487     if (SWIG_arg_fail(2)) SWIG_fail
; 
28489         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28490         (arg1
)->AssignStateImageList(arg2
); 
28492         wxPyEndAllowThreads(__tstate
); 
28493         if (PyErr_Occurred()) SWIG_fail
; 
28495     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
28502 static PyObject 
*_wrap_TreeCtrl_GetItemText(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
28503     PyObject 
*resultobj
; 
28504     wxPyTreeCtrl 
*arg1 
= (wxPyTreeCtrl 
*) 0 ; 
28505     wxTreeItemId 
*arg2 
= 0 ; 
28507     PyObject 
* obj0 
= 0 ; 
28508     PyObject 
* obj1 
= 0 ; 
28509     char *kwnames
[] = { 
28510         (char *) "self",(char *) "item", NULL 
 
28513     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
; 
28514     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
28515     if (SWIG_arg_fail(1)) SWIG_fail
; 
28517         SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION 
| 0); 
28518         if (SWIG_arg_fail(2)) SWIG_fail
; 
28519         if (arg2 
== NULL
) { 
28520             SWIG_null_ref("wxTreeItemId"); 
28522         if (SWIG_arg_fail(2)) SWIG_fail
; 
28525         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28526         result 
= ((wxPyTreeCtrl 
const *)arg1
)->GetItemText((wxTreeItemId 
const &)*arg2
); 
28528         wxPyEndAllowThreads(__tstate
); 
28529         if (PyErr_Occurred()) SWIG_fail
; 
28533         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
28535         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
28544 static PyObject 
*_wrap_TreeCtrl_GetItemImage(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
28545     PyObject 
*resultobj
; 
28546     wxPyTreeCtrl 
*arg1 
= (wxPyTreeCtrl 
*) 0 ; 
28547     wxTreeItemId 
*arg2 
= 0 ; 
28548     wxTreeItemIcon arg3 
= (wxTreeItemIcon
) wxTreeItemIcon_Normal 
; 
28550     PyObject 
* obj0 
= 0 ; 
28551     PyObject 
* obj1 
= 0 ; 
28552     PyObject 
* obj2 
= 0 ; 
28553     char *kwnames
[] = { 
28554         (char *) "self",(char *) "item",(char *) "which", NULL 
 
28557     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
28558     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
28559     if (SWIG_arg_fail(1)) SWIG_fail
; 
28561         SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION 
| 0); 
28562         if (SWIG_arg_fail(2)) SWIG_fail
; 
28563         if (arg2 
== NULL
) { 
28564             SWIG_null_ref("wxTreeItemId"); 
28566         if (SWIG_arg_fail(2)) SWIG_fail
; 
28570             arg3 
= (wxTreeItemIcon
)(SWIG_As_int(obj2
));  
28571             if (SWIG_arg_fail(3)) SWIG_fail
; 
28575         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28576         result 
= (int)((wxPyTreeCtrl 
const *)arg1
)->GetItemImage((wxTreeItemId 
const &)*arg2
,(wxTreeItemIcon 
)arg3
); 
28578         wxPyEndAllowThreads(__tstate
); 
28579         if (PyErr_Occurred()) SWIG_fail
; 
28582         resultobj 
= SWIG_From_int((int)(result
));  
28590 static PyObject 
*_wrap_TreeCtrl_GetItemData(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
28591     PyObject 
*resultobj
; 
28592     wxPyTreeCtrl 
*arg1 
= (wxPyTreeCtrl 
*) 0 ; 
28593     wxTreeItemId 
*arg2 
= 0 ; 
28594     wxPyTreeItemData 
*result
; 
28595     PyObject 
* obj0 
= 0 ; 
28596     PyObject 
* obj1 
= 0 ; 
28597     char *kwnames
[] = { 
28598         (char *) "self",(char *) "item", NULL 
 
28601     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
; 
28602     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
28603     if (SWIG_arg_fail(1)) SWIG_fail
; 
28605         SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION 
| 0); 
28606         if (SWIG_arg_fail(2)) SWIG_fail
; 
28607         if (arg2 
== NULL
) { 
28608             SWIG_null_ref("wxTreeItemId"); 
28610         if (SWIG_arg_fail(2)) SWIG_fail
; 
28613         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28614         result 
= (wxPyTreeItemData 
*)wxPyTreeCtrl_GetItemData(arg1
,(wxTreeItemId 
const &)*arg2
); 
28616         wxPyEndAllowThreads(__tstate
); 
28617         if (PyErr_Occurred()) SWIG_fail
; 
28619     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeItemData
, 0); 
28626 static PyObject 
*_wrap_TreeCtrl_GetItemPyData(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
28627     PyObject 
*resultobj
; 
28628     wxPyTreeCtrl 
*arg1 
= (wxPyTreeCtrl 
*) 0 ; 
28629     wxTreeItemId 
*arg2 
= 0 ; 
28631     PyObject 
* obj0 
= 0 ; 
28632     PyObject 
* obj1 
= 0 ; 
28633     char *kwnames
[] = { 
28634         (char *) "self",(char *) "item", NULL 
 
28637     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemPyData",kwnames
,&obj0
,&obj1
)) goto fail
; 
28638     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
28639     if (SWIG_arg_fail(1)) SWIG_fail
; 
28641         SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION 
| 0); 
28642         if (SWIG_arg_fail(2)) SWIG_fail
; 
28643         if (arg2 
== NULL
) { 
28644             SWIG_null_ref("wxTreeItemId"); 
28646         if (SWIG_arg_fail(2)) SWIG_fail
; 
28649         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28650         result 
= (PyObject 
*)wxPyTreeCtrl_GetItemPyData(arg1
,(wxTreeItemId 
const &)*arg2
); 
28652         wxPyEndAllowThreads(__tstate
); 
28653         if (PyErr_Occurred()) SWIG_fail
; 
28655     resultobj 
= result
; 
28662 static PyObject 
*_wrap_TreeCtrl_GetItemTextColour(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
28663     PyObject 
*resultobj
; 
28664     wxPyTreeCtrl 
*arg1 
= (wxPyTreeCtrl 
*) 0 ; 
28665     wxTreeItemId 
*arg2 
= 0 ; 
28667     PyObject 
* obj0 
= 0 ; 
28668     PyObject 
* obj1 
= 0 ; 
28669     char *kwnames
[] = { 
28670         (char *) "self",(char *) "item", NULL 
 
28673     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
; 
28674     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
28675     if (SWIG_arg_fail(1)) SWIG_fail
; 
28677         SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION 
| 0); 
28678         if (SWIG_arg_fail(2)) SWIG_fail
; 
28679         if (arg2 
== NULL
) { 
28680             SWIG_null_ref("wxTreeItemId"); 
28682         if (SWIG_arg_fail(2)) SWIG_fail
; 
28685         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28686         result 
= ((wxPyTreeCtrl 
const *)arg1
)->GetItemTextColour((wxTreeItemId 
const &)*arg2
); 
28688         wxPyEndAllowThreads(__tstate
); 
28689         if (PyErr_Occurred()) SWIG_fail
; 
28692         wxColour 
* resultptr
; 
28693         resultptr 
= new wxColour((wxColour 
&)(result
)); 
28694         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1); 
28702 static PyObject 
*_wrap_TreeCtrl_GetItemBackgroundColour(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
28703     PyObject 
*resultobj
; 
28704     wxPyTreeCtrl 
*arg1 
= (wxPyTreeCtrl 
*) 0 ; 
28705     wxTreeItemId 
*arg2 
= 0 ; 
28707     PyObject 
* obj0 
= 0 ; 
28708     PyObject 
* obj1 
= 0 ; 
28709     char *kwnames
[] = { 
28710         (char *) "self",(char *) "item", NULL 
 
28713     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
; 
28714     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
28715     if (SWIG_arg_fail(1)) SWIG_fail
; 
28717         SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION 
| 0); 
28718         if (SWIG_arg_fail(2)) SWIG_fail
; 
28719         if (arg2 
== NULL
) { 
28720             SWIG_null_ref("wxTreeItemId"); 
28722         if (SWIG_arg_fail(2)) SWIG_fail
; 
28725         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28726         result 
= ((wxPyTreeCtrl 
const *)arg1
)->GetItemBackgroundColour((wxTreeItemId 
const &)*arg2
); 
28728         wxPyEndAllowThreads(__tstate
); 
28729         if (PyErr_Occurred()) SWIG_fail
; 
28732         wxColour 
* resultptr
; 
28733         resultptr 
= new wxColour((wxColour 
&)(result
)); 
28734         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1); 
28742 static PyObject 
*_wrap_TreeCtrl_GetItemFont(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
28743     PyObject 
*resultobj
; 
28744     wxPyTreeCtrl 
*arg1 
= (wxPyTreeCtrl 
*) 0 ; 
28745     wxTreeItemId 
*arg2 
= 0 ; 
28747     PyObject 
* obj0 
= 0 ; 
28748     PyObject 
* obj1 
= 0 ; 
28749     char *kwnames
[] = { 
28750         (char *) "self",(char *) "item", NULL 
 
28753     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) goto fail
; 
28754     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
28755     if (SWIG_arg_fail(1)) SWIG_fail
; 
28757         SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION 
| 0); 
28758         if (SWIG_arg_fail(2)) SWIG_fail
; 
28759         if (arg2 
== NULL
) { 
28760             SWIG_null_ref("wxTreeItemId"); 
28762         if (SWIG_arg_fail(2)) SWIG_fail
; 
28765         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28766         result 
= ((wxPyTreeCtrl 
const *)arg1
)->GetItemFont((wxTreeItemId 
const &)*arg2
); 
28768         wxPyEndAllowThreads(__tstate
); 
28769         if (PyErr_Occurred()) SWIG_fail
; 
28772         wxFont 
* resultptr
; 
28773         resultptr 
= new wxFont((wxFont 
&)(result
)); 
28774         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1); 
28782 static PyObject 
*_wrap_TreeCtrl_SetItemText(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
28783     PyObject 
*resultobj
; 
28784     wxPyTreeCtrl 
*arg1 
= (wxPyTreeCtrl 
*) 0 ; 
28785     wxTreeItemId 
*arg2 
= 0 ; 
28786     wxString 
*arg3 
= 0 ; 
28787     bool temp3 
= false ; 
28788     PyObject 
* obj0 
= 0 ; 
28789     PyObject 
* obj1 
= 0 ; 
28790     PyObject 
* obj2 
= 0 ; 
28791     char *kwnames
[] = { 
28792         (char *) "self",(char *) "item",(char *) "text", NULL 
 
28795     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
28796     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
28797     if (SWIG_arg_fail(1)) SWIG_fail
; 
28799         SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION 
| 0); 
28800         if (SWIG_arg_fail(2)) SWIG_fail
; 
28801         if (arg2 
== NULL
) { 
28802             SWIG_null_ref("wxTreeItemId"); 
28804         if (SWIG_arg_fail(2)) SWIG_fail
; 
28807         arg3 
= wxString_in_helper(obj2
); 
28808         if (arg3 
== NULL
) SWIG_fail
; 
28812         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28813         (arg1
)->SetItemText((wxTreeItemId 
const &)*arg2
,(wxString 
const &)*arg3
); 
28815         wxPyEndAllowThreads(__tstate
); 
28816         if (PyErr_Occurred()) SWIG_fail
; 
28818     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
28833 static PyObject 
*_wrap_TreeCtrl_SetItemImage(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
28834     PyObject 
*resultobj
; 
28835     wxPyTreeCtrl 
*arg1 
= (wxPyTreeCtrl 
*) 0 ; 
28836     wxTreeItemId 
*arg2 
= 0 ; 
28838     wxTreeItemIcon arg4 
= (wxTreeItemIcon
) wxTreeItemIcon_Normal 
; 
28839     PyObject 
* obj0 
= 0 ; 
28840     PyObject 
* obj1 
= 0 ; 
28841     PyObject 
* obj2 
= 0 ; 
28842     PyObject 
* obj3 
= 0 ; 
28843     char *kwnames
[] = { 
28844         (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL 
 
28847     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
28848     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
28849     if (SWIG_arg_fail(1)) SWIG_fail
; 
28851         SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION 
| 0); 
28852         if (SWIG_arg_fail(2)) SWIG_fail
; 
28853         if (arg2 
== NULL
) { 
28854             SWIG_null_ref("wxTreeItemId"); 
28856         if (SWIG_arg_fail(2)) SWIG_fail
; 
28859         arg3 
= (int)(SWIG_As_int(obj2
));  
28860         if (SWIG_arg_fail(3)) SWIG_fail
; 
28864             arg4 
= (wxTreeItemIcon
)(SWIG_As_int(obj3
));  
28865             if (SWIG_arg_fail(4)) SWIG_fail
; 
28869         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28870         (arg1
)->SetItemImage((wxTreeItemId 
const &)*arg2
,arg3
,(wxTreeItemIcon 
)arg4
); 
28872         wxPyEndAllowThreads(__tstate
); 
28873         if (PyErr_Occurred()) SWIG_fail
; 
28875     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
28882 static PyObject 
*_wrap_TreeCtrl_SetItemData(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
28883     PyObject 
*resultobj
; 
28884     wxPyTreeCtrl 
*arg1 
= (wxPyTreeCtrl 
*) 0 ; 
28885     wxTreeItemId 
*arg2 
= 0 ; 
28886     wxPyTreeItemData 
*arg3 
= (wxPyTreeItemData 
*) 0 ; 
28887     PyObject 
* obj0 
= 0 ; 
28888     PyObject 
* obj1 
= 0 ; 
28889     PyObject 
* obj2 
= 0 ; 
28890     char *kwnames
[] = { 
28891         (char *) "self",(char *) "item",(char *) "data", NULL 
 
28894     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
28895     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
28896     if (SWIG_arg_fail(1)) SWIG_fail
; 
28898         SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION 
| 0); 
28899         if (SWIG_arg_fail(2)) SWIG_fail
; 
28900         if (arg2 
== NULL
) { 
28901             SWIG_null_ref("wxTreeItemId"); 
28903         if (SWIG_arg_fail(2)) SWIG_fail
; 
28905     SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION 
| 0); 
28906     if (SWIG_arg_fail(3)) SWIG_fail
; 
28908         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28909         wxPyTreeCtrl_SetItemData(arg1
,(wxTreeItemId 
const &)*arg2
,arg3
); 
28911         wxPyEndAllowThreads(__tstate
); 
28912         if (PyErr_Occurred()) SWIG_fail
; 
28914     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
28921 static PyObject 
*_wrap_TreeCtrl_SetItemPyData(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
28922     PyObject 
*resultobj
; 
28923     wxPyTreeCtrl 
*arg1 
= (wxPyTreeCtrl 
*) 0 ; 
28924     wxTreeItemId 
*arg2 
= 0 ; 
28925     PyObject 
*arg3 
= (PyObject 
*) 0 ; 
28926     PyObject 
* obj0 
= 0 ; 
28927     PyObject 
* obj1 
= 0 ; 
28928     PyObject 
* obj2 
= 0 ; 
28929     char *kwnames
[] = { 
28930         (char *) "self",(char *) "item",(char *) "obj", NULL 
 
28933     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
28934     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
28935     if (SWIG_arg_fail(1)) SWIG_fail
; 
28937         SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION 
| 0); 
28938         if (SWIG_arg_fail(2)) SWIG_fail
; 
28939         if (arg2 
== NULL
) { 
28940             SWIG_null_ref("wxTreeItemId"); 
28942         if (SWIG_arg_fail(2)) SWIG_fail
; 
28946         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28947         wxPyTreeCtrl_SetItemPyData(arg1
,(wxTreeItemId 
const &)*arg2
,arg3
); 
28949         wxPyEndAllowThreads(__tstate
); 
28950         if (PyErr_Occurred()) SWIG_fail
; 
28952     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
28959 static PyObject 
*_wrap_TreeCtrl_SetItemHasChildren(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
28960     PyObject 
*resultobj
; 
28961     wxPyTreeCtrl 
*arg1 
= (wxPyTreeCtrl 
*) 0 ; 
28962     wxTreeItemId 
*arg2 
= 0 ; 
28963     bool arg3 
= (bool) true ; 
28964     PyObject 
* obj0 
= 0 ; 
28965     PyObject 
* obj1 
= 0 ; 
28966     PyObject 
* obj2 
= 0 ; 
28967     char *kwnames
[] = { 
28968         (char *) "self",(char *) "item",(char *) "has", NULL 
 
28971     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
28972     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
28973     if (SWIG_arg_fail(1)) SWIG_fail
; 
28975         SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION 
| 0); 
28976         if (SWIG_arg_fail(2)) SWIG_fail
; 
28977         if (arg2 
== NULL
) { 
28978             SWIG_null_ref("wxTreeItemId"); 
28980         if (SWIG_arg_fail(2)) SWIG_fail
; 
28984             arg3 
= (bool)(SWIG_As_bool(obj2
));  
28985             if (SWIG_arg_fail(3)) SWIG_fail
; 
28989         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28990         (arg1
)->SetItemHasChildren((wxTreeItemId 
const &)*arg2
,arg3
); 
28992         wxPyEndAllowThreads(__tstate
); 
28993         if (PyErr_Occurred()) SWIG_fail
; 
28995     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
29002 static PyObject 
*_wrap_TreeCtrl_SetItemBold(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
29003     PyObject 
*resultobj
; 
29004     wxPyTreeCtrl 
*arg1 
= (wxPyTreeCtrl 
*) 0 ; 
29005     wxTreeItemId 
*arg2 
= 0 ; 
29006     bool arg3 
= (bool) true ; 
29007     PyObject 
* obj0 
= 0 ; 
29008     PyObject 
* obj1 
= 0 ; 
29009     PyObject 
* obj2 
= 0 ; 
29010     char *kwnames
[] = { 
29011         (char *) "self",(char *) "item",(char *) "bold", NULL 
 
29014     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
29015     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
29016     if (SWIG_arg_fail(1)) SWIG_fail
; 
29018         SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION 
| 0); 
29019         if (SWIG_arg_fail(2)) SWIG_fail
; 
29020         if (arg2 
== NULL
) { 
29021             SWIG_null_ref("wxTreeItemId"); 
29023         if (SWIG_arg_fail(2)) SWIG_fail
; 
29027             arg3 
= (bool)(SWIG_As_bool(obj2
));  
29028             if (SWIG_arg_fail(3)) SWIG_fail
; 
29032         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
29033         (arg1
)->SetItemBold((wxTreeItemId 
const &)*arg2
,arg3
); 
29035         wxPyEndAllowThreads(__tstate
); 
29036         if (PyErr_Occurred()) SWIG_fail
; 
29038     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
29045 static PyObject 
*_wrap_TreeCtrl_SetItemTextColour(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
29046     PyObject 
*resultobj
; 
29047     wxPyTreeCtrl 
*arg1 
= (wxPyTreeCtrl 
*) 0 ; 
29048     wxTreeItemId 
*arg2 
= 0 ; 
29049     wxColour 
*arg3 
= 0 ; 
29051     PyObject 
* obj0 
= 0 ; 
29052     PyObject 
* obj1 
= 0 ; 
29053     PyObject 
* obj2 
= 0 ; 
29054     char *kwnames
[] = { 
29055         (char *) "self",(char *) "item",(char *) "col", NULL 
 
29058     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
29059     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
29060     if (SWIG_arg_fail(1)) SWIG_fail
; 
29062         SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION 
| 0); 
29063         if (SWIG_arg_fail(2)) SWIG_fail
; 
29064         if (arg2 
== NULL
) { 
29065             SWIG_null_ref("wxTreeItemId"); 
29067         if (SWIG_arg_fail(2)) SWIG_fail
; 
29071         if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
; 
29074         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
29075         (arg1
)->SetItemTextColour((wxTreeItemId 
const &)*arg2
,(wxColour 
const &)*arg3
); 
29077         wxPyEndAllowThreads(__tstate
); 
29078         if (PyErr_Occurred()) SWIG_fail
; 
29080     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
29087 static PyObject 
*_wrap_TreeCtrl_SetItemBackgroundColour(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
29088     PyObject 
*resultobj
; 
29089     wxPyTreeCtrl 
*arg1 
= (wxPyTreeCtrl 
*) 0 ; 
29090     wxTreeItemId 
*arg2 
= 0 ; 
29091     wxColour 
*arg3 
= 0 ; 
29093     PyObject 
* obj0 
= 0 ; 
29094     PyObject 
* obj1 
= 0 ; 
29095     PyObject 
* obj2 
= 0 ; 
29096     char *kwnames
[] = { 
29097         (char *) "self",(char *) "item",(char *) "col", NULL 
 
29100     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
29101     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
29102     if (SWIG_arg_fail(1)) SWIG_fail
; 
29104         SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION 
| 0); 
29105         if (SWIG_arg_fail(2)) SWIG_fail
; 
29106         if (arg2 
== NULL
) { 
29107             SWIG_null_ref("wxTreeItemId"); 
29109         if (SWIG_arg_fail(2)) SWIG_fail
; 
29113         if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
; 
29116         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
29117         (arg1
)->SetItemBackgroundColour((wxTreeItemId 
const &)*arg2
,(wxColour 
const &)*arg3
); 
29119         wxPyEndAllowThreads(__tstate
); 
29120         if (PyErr_Occurred()) SWIG_fail
; 
29122     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
29129 static PyObject 
*_wrap_TreeCtrl_SetItemFont(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
29130     PyObject 
*resultobj
; 
29131     wxPyTreeCtrl 
*arg1 
= (wxPyTreeCtrl 
*) 0 ; 
29132     wxTreeItemId 
*arg2 
= 0 ; 
29134     PyObject 
* obj0 
= 0 ; 
29135     PyObject 
* obj1 
= 0 ; 
29136     PyObject 
* obj2 
= 0 ; 
29137     char *kwnames
[] = { 
29138         (char *) "self",(char *) "item",(char *) "font", NULL 
 
29141     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
29142     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
29143     if (SWIG_arg_fail(1)) SWIG_fail
; 
29145         SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION 
| 0); 
29146         if (SWIG_arg_fail(2)) SWIG_fail
; 
29147         if (arg2 
== NULL
) { 
29148             SWIG_null_ref("wxTreeItemId"); 
29150         if (SWIG_arg_fail(2)) SWIG_fail
; 
29153         SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION 
| 0); 
29154         if (SWIG_arg_fail(3)) SWIG_fail
; 
29155         if (arg3 
== NULL
) { 
29156             SWIG_null_ref("wxFont"); 
29158         if (SWIG_arg_fail(3)) SWIG_fail
; 
29161         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
29162         (arg1
)->SetItemFont((wxTreeItemId 
const &)*arg2
,(wxFont 
const &)*arg3
); 
29164         wxPyEndAllowThreads(__tstate
); 
29165         if (PyErr_Occurred()) SWIG_fail
; 
29167     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
29174 static PyObject 
*_wrap_TreeCtrl_IsVisible(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
29175     PyObject 
*resultobj
; 
29176     wxPyTreeCtrl 
*arg1 
= (wxPyTreeCtrl 
*) 0 ; 
29177     wxTreeItemId 
*arg2 
= 0 ; 
29179     PyObject 
* obj0 
= 0 ; 
29180     PyObject 
* obj1 
= 0 ; 
29181     char *kwnames
[] = { 
29182         (char *) "self",(char *) "item", NULL 
 
29185     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsVisible",kwnames
,&obj0
,&obj1
)) goto fail
; 
29186     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
29187     if (SWIG_arg_fail(1)) SWIG_fail
; 
29189         SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION 
| 0); 
29190         if (SWIG_arg_fail(2)) SWIG_fail
; 
29191         if (arg2 
== NULL
) { 
29192             SWIG_null_ref("wxTreeItemId"); 
29194         if (SWIG_arg_fail(2)) SWIG_fail
; 
29197         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
29198         result 
= (bool)((wxPyTreeCtrl 
const *)arg1
)->IsVisible((wxTreeItemId 
const &)*arg2
); 
29200         wxPyEndAllowThreads(__tstate
); 
29201         if (PyErr_Occurred()) SWIG_fail
; 
29204         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
29212 static PyObject 
*_wrap_TreeCtrl_ItemHasChildren(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
29213     PyObject 
*resultobj
; 
29214     wxPyTreeCtrl 
*arg1 
= (wxPyTreeCtrl 
*) 0 ; 
29215     wxTreeItemId 
*arg2 
= 0 ; 
29217     PyObject 
* obj0 
= 0 ; 
29218     PyObject 
* obj1 
= 0 ; 
29219     char *kwnames
[] = { 
29220         (char *) "self",(char *) "item", NULL 
 
29223     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames
,&obj0
,&obj1
)) goto fail
; 
29224     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
29225     if (SWIG_arg_fail(1)) SWIG_fail
; 
29227         SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION 
| 0); 
29228         if (SWIG_arg_fail(2)) SWIG_fail
; 
29229         if (arg2 
== NULL
) { 
29230             SWIG_null_ref("wxTreeItemId"); 
29232         if (SWIG_arg_fail(2)) SWIG_fail
; 
29235         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
29236         result 
= (bool)((wxPyTreeCtrl 
const *)arg1
)->ItemHasChildren((wxTreeItemId 
const &)*arg2
); 
29238         wxPyEndAllowThreads(__tstate
); 
29239         if (PyErr_Occurred()) SWIG_fail
; 
29242         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
29250 static PyObject 
*_wrap_TreeCtrl_IsExpanded(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
29251     PyObject 
*resultobj
; 
29252     wxPyTreeCtrl 
*arg1 
= (wxPyTreeCtrl 
*) 0 ; 
29253     wxTreeItemId 
*arg2 
= 0 ; 
29255     PyObject 
* obj0 
= 0 ; 
29256     PyObject 
* obj1 
= 0 ; 
29257     char *kwnames
[] = { 
29258         (char *) "self",(char *) "item", NULL 
 
29261     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsExpanded",kwnames
,&obj0
,&obj1
)) goto fail
; 
29262     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
29263     if (SWIG_arg_fail(1)) SWIG_fail
; 
29265         SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION 
| 0); 
29266         if (SWIG_arg_fail(2)) SWIG_fail
; 
29267         if (arg2 
== NULL
) { 
29268             SWIG_null_ref("wxTreeItemId"); 
29270         if (SWIG_arg_fail(2)) SWIG_fail
; 
29273         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
29274         result 
= (bool)((wxPyTreeCtrl 
const *)arg1
)->IsExpanded((wxTreeItemId 
const &)*arg2
); 
29276         wxPyEndAllowThreads(__tstate
); 
29277         if (PyErr_Occurred()) SWIG_fail
; 
29280         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
29288 static PyObject 
*_wrap_TreeCtrl_IsSelected(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
29289     PyObject 
*resultobj
; 
29290     wxPyTreeCtrl 
*arg1 
= (wxPyTreeCtrl 
*) 0 ; 
29291     wxTreeItemId 
*arg2 
= 0 ; 
29293     PyObject 
* obj0 
= 0 ; 
29294     PyObject 
* obj1 
= 0 ; 
29295     char *kwnames
[] = { 
29296         (char *) "self",(char *) "item", NULL 
 
29299     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
; 
29300     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
29301     if (SWIG_arg_fail(1)) SWIG_fail
; 
29303         SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION 
| 0); 
29304         if (SWIG_arg_fail(2)) SWIG_fail
; 
29305         if (arg2 
== NULL
) { 
29306             SWIG_null_ref("wxTreeItemId"); 
29308         if (SWIG_arg_fail(2)) SWIG_fail
; 
29311         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
29312         result 
= (bool)((wxPyTreeCtrl 
const *)arg1
)->IsSelected((wxTreeItemId 
const &)*arg2
); 
29314         wxPyEndAllowThreads(__tstate
); 
29315         if (PyErr_Occurred()) SWIG_fail
; 
29318         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
29326 static PyObject 
*_wrap_TreeCtrl_IsBold(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
29327     PyObject 
*resultobj
; 
29328     wxPyTreeCtrl 
*arg1 
= (wxPyTreeCtrl 
*) 0 ; 
29329     wxTreeItemId 
*arg2 
= 0 ; 
29331     PyObject 
* obj0 
= 0 ; 
29332     PyObject 
* obj1 
= 0 ; 
29333     char *kwnames
[] = { 
29334         (char *) "self",(char *) "item", NULL 
 
29337     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsBold",kwnames
,&obj0
,&obj1
)) goto fail
; 
29338     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
29339     if (SWIG_arg_fail(1)) SWIG_fail
; 
29341         SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION 
| 0); 
29342         if (SWIG_arg_fail(2)) SWIG_fail
; 
29343         if (arg2 
== NULL
) { 
29344             SWIG_null_ref("wxTreeItemId"); 
29346         if (SWIG_arg_fail(2)) SWIG_fail
; 
29349         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
29350         result 
= (bool)((wxPyTreeCtrl 
const *)arg1
)->IsBold((wxTreeItemId 
const &)*arg2
); 
29352         wxPyEndAllowThreads(__tstate
); 
29353         if (PyErr_Occurred()) SWIG_fail
; 
29356         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
29364 static PyObject 
*_wrap_TreeCtrl_GetChildrenCount(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
29365     PyObject 
*resultobj
; 
29366     wxPyTreeCtrl 
*arg1 
= (wxPyTreeCtrl 
*) 0 ; 
29367     wxTreeItemId 
*arg2 
= 0 ; 
29368     bool arg3 
= (bool) true ; 
29370     PyObject 
* obj0 
= 0 ; 
29371     PyObject 
* obj1 
= 0 ; 
29372     PyObject 
* obj2 
= 0 ; 
29373     char *kwnames
[] = { 
29374         (char *) "self",(char *) "item",(char *) "recursively", NULL 
 
29377     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
29378     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
29379     if (SWIG_arg_fail(1)) SWIG_fail
; 
29381         SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION 
| 0); 
29382         if (SWIG_arg_fail(2)) SWIG_fail
; 
29383         if (arg2 
== NULL
) { 
29384             SWIG_null_ref("wxTreeItemId"); 
29386         if (SWIG_arg_fail(2)) SWIG_fail
; 
29390             arg3 
= (bool)(SWIG_As_bool(obj2
));  
29391             if (SWIG_arg_fail(3)) SWIG_fail
; 
29395         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
29396         result 
= (size_t)(arg1
)->GetChildrenCount((wxTreeItemId 
const &)*arg2
,arg3
); 
29398         wxPyEndAllowThreads(__tstate
); 
29399         if (PyErr_Occurred()) SWIG_fail
; 
29402         resultobj 
= SWIG_From_unsigned_SS_long((unsigned long)(result
));  
29410 static PyObject 
*_wrap_TreeCtrl_GetRootItem(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
29411     PyObject 
*resultobj
; 
29412     wxPyTreeCtrl 
*arg1 
= (wxPyTreeCtrl 
*) 0 ; 
29413     wxTreeItemId result
; 
29414     PyObject 
* obj0 
= 0 ; 
29415     char *kwnames
[] = { 
29416         (char *) "self", NULL 
 
29419     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetRootItem",kwnames
,&obj0
)) goto fail
; 
29420     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
29421     if (SWIG_arg_fail(1)) SWIG_fail
; 
29423         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
29424         result 
= ((wxPyTreeCtrl 
const *)arg1
)->GetRootItem(); 
29426         wxPyEndAllowThreads(__tstate
); 
29427         if (PyErr_Occurred()) SWIG_fail
; 
29430         wxTreeItemId 
* resultptr
; 
29431         resultptr 
= new wxTreeItemId((wxTreeItemId 
&)(result
)); 
29432         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1); 
29440 static PyObject 
*_wrap_TreeCtrl_GetSelection(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
29441     PyObject 
*resultobj
; 
29442     wxPyTreeCtrl 
*arg1 
= (wxPyTreeCtrl 
*) 0 ; 
29443     wxTreeItemId result
; 
29444     PyObject 
* obj0 
= 0 ; 
29445     char *kwnames
[] = { 
29446         (char *) "self", NULL 
 
29449     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelection",kwnames
,&obj0
)) goto fail
; 
29450     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
29451     if (SWIG_arg_fail(1)) SWIG_fail
; 
29453         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
29454         result 
= ((wxPyTreeCtrl 
const *)arg1
)->GetSelection(); 
29456         wxPyEndAllowThreads(__tstate
); 
29457         if (PyErr_Occurred()) SWIG_fail
; 
29460         wxTreeItemId 
* resultptr
; 
29461         resultptr 
= new wxTreeItemId((wxTreeItemId 
&)(result
)); 
29462         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1); 
29470 static PyObject 
*_wrap_TreeCtrl_GetSelections(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
29471     PyObject 
*resultobj
; 
29472     wxPyTreeCtrl 
*arg1 
= (wxPyTreeCtrl 
*) 0 ; 
29474     PyObject 
* obj0 
= 0 ; 
29475     char *kwnames
[] = { 
29476         (char *) "self", NULL 
 
29479     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelections",kwnames
,&obj0
)) goto fail
; 
29480     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
29481     if (SWIG_arg_fail(1)) SWIG_fail
; 
29483         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
29484         result 
= (PyObject 
*)wxPyTreeCtrl_GetSelections(arg1
); 
29486         wxPyEndAllowThreads(__tstate
); 
29487         if (PyErr_Occurred()) SWIG_fail
; 
29489     resultobj 
= result
; 
29496 static PyObject 
*_wrap_TreeCtrl_GetItemParent(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
29497     PyObject 
*resultobj
; 
29498     wxPyTreeCtrl 
*arg1 
= (wxPyTreeCtrl 
*) 0 ; 
29499     wxTreeItemId 
*arg2 
= 0 ; 
29500     wxTreeItemId result
; 
29501     PyObject 
* obj0 
= 0 ; 
29502     PyObject 
* obj1 
= 0 ; 
29503     char *kwnames
[] = { 
29504         (char *) "self",(char *) "item", NULL 
 
29507     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemParent",kwnames
,&obj0
,&obj1
)) goto fail
; 
29508     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
29509     if (SWIG_arg_fail(1)) SWIG_fail
; 
29511         SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION 
| 0); 
29512         if (SWIG_arg_fail(2)) SWIG_fail
; 
29513         if (arg2 
== NULL
) { 
29514             SWIG_null_ref("wxTreeItemId"); 
29516         if (SWIG_arg_fail(2)) SWIG_fail
; 
29519         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
29520         result 
= ((wxPyTreeCtrl 
const *)arg1
)->GetItemParent((wxTreeItemId 
const &)*arg2
); 
29522         wxPyEndAllowThreads(__tstate
); 
29523         if (PyErr_Occurred()) SWIG_fail
; 
29526         wxTreeItemId 
* resultptr
; 
29527         resultptr 
= new wxTreeItemId((wxTreeItemId 
&)(result
)); 
29528         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1); 
29536 static PyObject 
*_wrap_TreeCtrl_GetFirstChild(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
29537     PyObject 
*resultobj
; 
29538     wxPyTreeCtrl 
*arg1 
= (wxPyTreeCtrl 
*) 0 ; 
29539     wxTreeItemId 
*arg2 
= 0 ; 
29541     PyObject 
* obj0 
= 0 ; 
29542     PyObject 
* obj1 
= 0 ; 
29543     char *kwnames
[] = { 
29544         (char *) "self",(char *) "item", NULL 
 
29547     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetFirstChild",kwnames
,&obj0
,&obj1
)) goto fail
; 
29548     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
29549     if (SWIG_arg_fail(1)) SWIG_fail
; 
29551         SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION 
| 0); 
29552         if (SWIG_arg_fail(2)) SWIG_fail
; 
29553         if (arg2 
== NULL
) { 
29554             SWIG_null_ref("wxTreeItemId"); 
29556         if (SWIG_arg_fail(2)) SWIG_fail
; 
29559         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
29560         result 
= (PyObject 
*)wxPyTreeCtrl_GetFirstChild(arg1
,(wxTreeItemId 
const &)*arg2
); 
29562         wxPyEndAllowThreads(__tstate
); 
29563         if (PyErr_Occurred()) SWIG_fail
; 
29565     resultobj 
= result
; 
29572 static PyObject 
*_wrap_TreeCtrl_GetNextChild(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
29573     PyObject 
*resultobj
; 
29574     wxPyTreeCtrl 
*arg1 
= (wxPyTreeCtrl 
*) 0 ; 
29575     wxTreeItemId 
*arg2 
= 0 ; 
29576     void *arg3 
= (void *) 0 ; 
29578     PyObject 
* obj0 
= 0 ; 
29579     PyObject 
* obj1 
= 0 ; 
29580     PyObject 
* obj2 
= 0 ; 
29581     char *kwnames
[] = { 
29582         (char *) "self",(char *) "item",(char *) "cookie", NULL 
 
29585     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_GetNextChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
29586     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
29587     if (SWIG_arg_fail(1)) SWIG_fail
; 
29589         SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION 
| 0); 
29590         if (SWIG_arg_fail(2)) SWIG_fail
; 
29591         if (arg2 
== NULL
) { 
29592             SWIG_null_ref("wxTreeItemId"); 
29594         if (SWIG_arg_fail(2)) SWIG_fail
; 
29597         if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),0,SWIG_POINTER_EXCEPTION
|0))== -1) { 
29598             SWIG_arg_fail(3);SWIG_fail
; 
29602         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
29603         result 
= (PyObject 
*)wxPyTreeCtrl_GetNextChild(arg1
,(wxTreeItemId 
const &)*arg2
,arg3
); 
29605         wxPyEndAllowThreads(__tstate
); 
29606         if (PyErr_Occurred()) SWIG_fail
; 
29608     resultobj 
= result
; 
29615 static PyObject 
*_wrap_TreeCtrl_GetLastChild(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
29616     PyObject 
*resultobj
; 
29617     wxPyTreeCtrl 
*arg1 
= (wxPyTreeCtrl 
*) 0 ; 
29618     wxTreeItemId 
*arg2 
= 0 ; 
29619     wxTreeItemId result
; 
29620     PyObject 
* obj0 
= 0 ; 
29621     PyObject 
* obj1 
= 0 ; 
29622     char *kwnames
[] = { 
29623         (char *) "self",(char *) "item", NULL 
 
29626     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetLastChild",kwnames
,&obj0
,&obj1
)) goto fail
; 
29627     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
29628     if (SWIG_arg_fail(1)) SWIG_fail
; 
29630         SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION 
| 0); 
29631         if (SWIG_arg_fail(2)) SWIG_fail
; 
29632         if (arg2 
== NULL
) { 
29633             SWIG_null_ref("wxTreeItemId"); 
29635         if (SWIG_arg_fail(2)) SWIG_fail
; 
29638         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
29639         result 
= ((wxPyTreeCtrl 
const *)arg1
)->GetLastChild((wxTreeItemId 
const &)*arg2
); 
29641         wxPyEndAllowThreads(__tstate
); 
29642         if (PyErr_Occurred()) SWIG_fail
; 
29645         wxTreeItemId 
* resultptr
; 
29646         resultptr 
= new wxTreeItemId((wxTreeItemId 
&)(result
)); 
29647         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1); 
29655 static PyObject 
*_wrap_TreeCtrl_GetNextSibling(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
29656     PyObject 
*resultobj
; 
29657     wxPyTreeCtrl 
*arg1 
= (wxPyTreeCtrl 
*) 0 ; 
29658     wxTreeItemId 
*arg2 
= 0 ; 
29659     wxTreeItemId result
; 
29660     PyObject 
* obj0 
= 0 ; 
29661     PyObject 
* obj1 
= 0 ; 
29662     char *kwnames
[] = { 
29663         (char *) "self",(char *) "item", NULL 
 
29666     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextSibling",kwnames
,&obj0
,&obj1
)) goto fail
; 
29667     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
29668     if (SWIG_arg_fail(1)) SWIG_fail
; 
29670         SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION 
| 0); 
29671         if (SWIG_arg_fail(2)) SWIG_fail
; 
29672         if (arg2 
== NULL
) { 
29673             SWIG_null_ref("wxTreeItemId"); 
29675         if (SWIG_arg_fail(2)) SWIG_fail
; 
29678         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
29679         result 
= ((wxPyTreeCtrl 
const *)arg1
)->GetNextSibling((wxTreeItemId 
const &)*arg2
); 
29681         wxPyEndAllowThreads(__tstate
); 
29682         if (PyErr_Occurred()) SWIG_fail
; 
29685         wxTreeItemId 
* resultptr
; 
29686         resultptr 
= new wxTreeItemId((wxTreeItemId 
&)(result
)); 
29687         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1); 
29695 static PyObject 
*_wrap_TreeCtrl_GetPrevSibling(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
29696     PyObject 
*resultobj
; 
29697     wxPyTreeCtrl 
*arg1 
= (wxPyTreeCtrl 
*) 0 ; 
29698     wxTreeItemId 
*arg2 
= 0 ; 
29699     wxTreeItemId result
; 
29700     PyObject 
* obj0 
= 0 ; 
29701     PyObject 
* obj1 
= 0 ; 
29702     char *kwnames
[] = { 
29703         (char *) "self",(char *) "item", NULL 
 
29706     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames
,&obj0
,&obj1
)) goto fail
; 
29707     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
29708     if (SWIG_arg_fail(1)) SWIG_fail
; 
29710         SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION 
| 0); 
29711         if (SWIG_arg_fail(2)) SWIG_fail
; 
29712         if (arg2 
== NULL
) { 
29713             SWIG_null_ref("wxTreeItemId"); 
29715         if (SWIG_arg_fail(2)) SWIG_fail
; 
29718         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
29719         result 
= ((wxPyTreeCtrl 
const *)arg1
)->GetPrevSibling((wxTreeItemId 
const &)*arg2
); 
29721         wxPyEndAllowThreads(__tstate
); 
29722         if (PyErr_Occurred()) SWIG_fail
; 
29725         wxTreeItemId 
* resultptr
; 
29726         resultptr 
= new wxTreeItemId((wxTreeItemId 
&)(result
)); 
29727         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1); 
29735 static PyObject 
*_wrap_TreeCtrl_GetFirstVisibleItem(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
29736     PyObject 
*resultobj
; 
29737     wxPyTreeCtrl 
*arg1 
= (wxPyTreeCtrl 
*) 0 ; 
29738     wxTreeItemId result
; 
29739     PyObject 
* obj0 
= 0 ; 
29740     char *kwnames
[] = { 
29741         (char *) "self", NULL 
 
29744     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetFirstVisibleItem",kwnames
,&obj0
)) goto fail
; 
29745     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
29746     if (SWIG_arg_fail(1)) SWIG_fail
; 
29748         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
29749         result 
= ((wxPyTreeCtrl 
const *)arg1
)->GetFirstVisibleItem(); 
29751         wxPyEndAllowThreads(__tstate
); 
29752         if (PyErr_Occurred()) SWIG_fail
; 
29755         wxTreeItemId 
* resultptr
; 
29756         resultptr 
= new wxTreeItemId((wxTreeItemId 
&)(result
)); 
29757         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1); 
29765 static PyObject 
*_wrap_TreeCtrl_GetNextVisible(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
29766     PyObject 
*resultobj
; 
29767     wxPyTreeCtrl 
*arg1 
= (wxPyTreeCtrl 
*) 0 ; 
29768     wxTreeItemId 
*arg2 
= 0 ; 
29769     wxTreeItemId result
; 
29770     PyObject 
* obj0 
= 0 ; 
29771     PyObject 
* obj1 
= 0 ; 
29772     char *kwnames
[] = { 
29773         (char *) "self",(char *) "item", NULL 
 
29776     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextVisible",kwnames
,&obj0
,&obj1
)) goto fail
; 
29777     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
29778     if (SWIG_arg_fail(1)) SWIG_fail
; 
29780         SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION 
| 0); 
29781         if (SWIG_arg_fail(2)) SWIG_fail
; 
29782         if (arg2 
== NULL
) { 
29783             SWIG_null_ref("wxTreeItemId"); 
29785         if (SWIG_arg_fail(2)) SWIG_fail
; 
29788         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
29789         result 
= ((wxPyTreeCtrl 
const *)arg1
)->GetNextVisible((wxTreeItemId 
const &)*arg2
); 
29791         wxPyEndAllowThreads(__tstate
); 
29792         if (PyErr_Occurred()) SWIG_fail
; 
29795         wxTreeItemId 
* resultptr
; 
29796         resultptr 
= new wxTreeItemId((wxTreeItemId 
&)(result
)); 
29797         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1); 
29805 static PyObject 
*_wrap_TreeCtrl_GetPrevVisible(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
29806     PyObject 
*resultobj
; 
29807     wxPyTreeCtrl 
*arg1 
= (wxPyTreeCtrl 
*) 0 ; 
29808     wxTreeItemId 
*arg2 
= 0 ; 
29809     wxTreeItemId result
; 
29810     PyObject 
* obj0 
= 0 ; 
29811     PyObject 
* obj1 
= 0 ; 
29812     char *kwnames
[] = { 
29813         (char *) "self",(char *) "item", NULL 
 
29816     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames
,&obj0
,&obj1
)) goto fail
; 
29817     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
29818     if (SWIG_arg_fail(1)) SWIG_fail
; 
29820         SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION 
| 0); 
29821         if (SWIG_arg_fail(2)) SWIG_fail
; 
29822         if (arg2 
== NULL
) { 
29823             SWIG_null_ref("wxTreeItemId"); 
29825         if (SWIG_arg_fail(2)) SWIG_fail
; 
29828         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
29829         result 
= ((wxPyTreeCtrl 
const *)arg1
)->GetPrevVisible((wxTreeItemId 
const &)*arg2
); 
29831         wxPyEndAllowThreads(__tstate
); 
29832         if (PyErr_Occurred()) SWIG_fail
; 
29835         wxTreeItemId 
* resultptr
; 
29836         resultptr 
= new wxTreeItemId((wxTreeItemId 
&)(result
)); 
29837         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1); 
29845 static PyObject 
*_wrap_TreeCtrl_AddRoot(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
29846     PyObject 
*resultobj
; 
29847     wxPyTreeCtrl 
*arg1 
= (wxPyTreeCtrl 
*) 0 ; 
29848     wxString 
*arg2 
= 0 ; 
29849     int arg3 
= (int) -1 ; 
29850     int arg4 
= (int) -1 ; 
29851     wxPyTreeItemData 
*arg5 
= (wxPyTreeItemData 
*) NULL 
; 
29852     wxTreeItemId result
; 
29853     bool temp2 
= false ; 
29854     PyObject 
* obj0 
= 0 ; 
29855     PyObject 
* obj1 
= 0 ; 
29856     PyObject 
* obj2 
= 0 ; 
29857     PyObject 
* obj3 
= 0 ; 
29858     PyObject 
* obj4 
= 0 ; 
29859     char *kwnames
[] = { 
29860         (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL 
 
29863     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
; 
29864     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
29865     if (SWIG_arg_fail(1)) SWIG_fail
; 
29867         arg2 
= wxString_in_helper(obj1
); 
29868         if (arg2 
== NULL
) SWIG_fail
; 
29873             arg3 
= (int)(SWIG_As_int(obj2
));  
29874             if (SWIG_arg_fail(3)) SWIG_fail
; 
29879             arg4 
= (int)(SWIG_As_int(obj3
));  
29880             if (SWIG_arg_fail(4)) SWIG_fail
; 
29884         SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION 
| 0); 
29885         if (SWIG_arg_fail(5)) SWIG_fail
; 
29888         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
29889         result 
= (arg1
)->AddRoot((wxString 
const &)*arg2
,arg3
,arg4
,arg5
); 
29891         wxPyEndAllowThreads(__tstate
); 
29892         if (PyErr_Occurred()) SWIG_fail
; 
29895         wxTreeItemId 
* resultptr
; 
29896         resultptr 
= new wxTreeItemId((wxTreeItemId 
&)(result
)); 
29897         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1); 
29913 static PyObject 
*_wrap_TreeCtrl_PrependItem(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
29914     PyObject 
*resultobj
; 
29915     wxPyTreeCtrl 
*arg1 
= (wxPyTreeCtrl 
*) 0 ; 
29916     wxTreeItemId 
*arg2 
= 0 ; 
29917     wxString 
*arg3 
= 0 ; 
29918     int arg4 
= (int) -1 ; 
29919     int arg5 
= (int) -1 ; 
29920     wxPyTreeItemData 
*arg6 
= (wxPyTreeItemData 
*) NULL 
; 
29921     wxTreeItemId result
; 
29922     bool temp3 
= false ; 
29923     PyObject 
* obj0 
= 0 ; 
29924     PyObject 
* obj1 
= 0 ; 
29925     PyObject 
* obj2 
= 0 ; 
29926     PyObject 
* obj3 
= 0 ; 
29927     PyObject 
* obj4 
= 0 ; 
29928     PyObject 
* obj5 
= 0 ; 
29929     char *kwnames
[] = { 
29930         (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL 
 
29933     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
; 
29934     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
29935     if (SWIG_arg_fail(1)) SWIG_fail
; 
29937         SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION 
| 0); 
29938         if (SWIG_arg_fail(2)) SWIG_fail
; 
29939         if (arg2 
== NULL
) { 
29940             SWIG_null_ref("wxTreeItemId"); 
29942         if (SWIG_arg_fail(2)) SWIG_fail
; 
29945         arg3 
= wxString_in_helper(obj2
); 
29946         if (arg3 
== NULL
) SWIG_fail
; 
29951             arg4 
= (int)(SWIG_As_int(obj3
));  
29952             if (SWIG_arg_fail(4)) SWIG_fail
; 
29957             arg5 
= (int)(SWIG_As_int(obj4
));  
29958             if (SWIG_arg_fail(5)) SWIG_fail
; 
29962         SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION 
| 0); 
29963         if (SWIG_arg_fail(6)) SWIG_fail
; 
29966         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
29967         result 
= (arg1
)->PrependItem((wxTreeItemId 
const &)*arg2
,(wxString 
const &)*arg3
,arg4
,arg5
,arg6
); 
29969         wxPyEndAllowThreads(__tstate
); 
29970         if (PyErr_Occurred()) SWIG_fail
; 
29973         wxTreeItemId 
* resultptr
; 
29974         resultptr 
= new wxTreeItemId((wxTreeItemId 
&)(result
)); 
29975         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1); 
29991 static PyObject 
*_wrap_TreeCtrl_InsertItem(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
29992     PyObject 
*resultobj
; 
29993     wxPyTreeCtrl 
*arg1 
= (wxPyTreeCtrl 
*) 0 ; 
29994     wxTreeItemId 
*arg2 
= 0 ; 
29995     wxTreeItemId 
*arg3 
= 0 ; 
29996     wxString 
*arg4 
= 0 ; 
29997     int arg5 
= (int) -1 ; 
29998     int arg6 
= (int) -1 ; 
29999     wxPyTreeItemData 
*arg7 
= (wxPyTreeItemData 
*) NULL 
; 
30000     wxTreeItemId result
; 
30001     bool temp4 
= false ; 
30002     PyObject 
* obj0 
= 0 ; 
30003     PyObject 
* obj1 
= 0 ; 
30004     PyObject 
* obj2 
= 0 ; 
30005     PyObject 
* obj3 
= 0 ; 
30006     PyObject 
* obj4 
= 0 ; 
30007     PyObject 
* obj5 
= 0 ; 
30008     PyObject 
* obj6 
= 0 ; 
30009     char *kwnames
[] = { 
30010         (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL 
 
30013     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
; 
30014     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
30015     if (SWIG_arg_fail(1)) SWIG_fail
; 
30017         SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION 
| 0); 
30018         if (SWIG_arg_fail(2)) SWIG_fail
; 
30019         if (arg2 
== NULL
) { 
30020             SWIG_null_ref("wxTreeItemId"); 
30022         if (SWIG_arg_fail(2)) SWIG_fail
; 
30025         SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION 
| 0); 
30026         if (SWIG_arg_fail(3)) SWIG_fail
; 
30027         if (arg3 
== NULL
) { 
30028             SWIG_null_ref("wxTreeItemId"); 
30030         if (SWIG_arg_fail(3)) SWIG_fail
; 
30033         arg4 
= wxString_in_helper(obj3
); 
30034         if (arg4 
== NULL
) SWIG_fail
; 
30039             arg5 
= (int)(SWIG_As_int(obj4
));  
30040             if (SWIG_arg_fail(5)) SWIG_fail
; 
30045             arg6 
= (int)(SWIG_As_int(obj5
));  
30046             if (SWIG_arg_fail(6)) SWIG_fail
; 
30050         SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION 
| 0); 
30051         if (SWIG_arg_fail(7)) SWIG_fail
; 
30054         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
30055         result 
= (arg1
)->InsertItem((wxTreeItemId 
const &)*arg2
,(wxTreeItemId 
const &)*arg3
,(wxString 
const &)*arg4
,arg5
,arg6
,arg7
); 
30057         wxPyEndAllowThreads(__tstate
); 
30058         if (PyErr_Occurred()) SWIG_fail
; 
30061         wxTreeItemId 
* resultptr
; 
30062         resultptr 
= new wxTreeItemId((wxTreeItemId 
&)(result
)); 
30063         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1); 
30079 static PyObject 
*_wrap_TreeCtrl_InsertItemBefore(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
30080     PyObject 
*resultobj
; 
30081     wxPyTreeCtrl 
*arg1 
= (wxPyTreeCtrl 
*) 0 ; 
30082     wxTreeItemId 
*arg2 
= 0 ; 
30084     wxString 
*arg4 
= 0 ; 
30085     int arg5 
= (int) -1 ; 
30086     int arg6 
= (int) -1 ; 
30087     wxPyTreeItemData 
*arg7 
= (wxPyTreeItemData 
*) NULL 
; 
30088     wxTreeItemId result
; 
30089     bool temp4 
= false ; 
30090     PyObject 
* obj0 
= 0 ; 
30091     PyObject 
* obj1 
= 0 ; 
30092     PyObject 
* obj2 
= 0 ; 
30093     PyObject 
* obj3 
= 0 ; 
30094     PyObject 
* obj4 
= 0 ; 
30095     PyObject 
* obj5 
= 0 ; 
30096     PyObject 
* obj6 
= 0 ; 
30097     char *kwnames
[] = { 
30098         (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL 
 
30101     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
; 
30102     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
30103     if (SWIG_arg_fail(1)) SWIG_fail
; 
30105         SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION 
| 0); 
30106         if (SWIG_arg_fail(2)) SWIG_fail
; 
30107         if (arg2 
== NULL
) { 
30108             SWIG_null_ref("wxTreeItemId"); 
30110         if (SWIG_arg_fail(2)) SWIG_fail
; 
30113         arg3 
= (size_t)(SWIG_As_unsigned_SS_long(obj2
));  
30114         if (SWIG_arg_fail(3)) SWIG_fail
; 
30117         arg4 
= wxString_in_helper(obj3
); 
30118         if (arg4 
== NULL
) SWIG_fail
; 
30123             arg5 
= (int)(SWIG_As_int(obj4
));  
30124             if (SWIG_arg_fail(5)) SWIG_fail
; 
30129             arg6 
= (int)(SWIG_As_int(obj5
));  
30130             if (SWIG_arg_fail(6)) SWIG_fail
; 
30134         SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION 
| 0); 
30135         if (SWIG_arg_fail(7)) SWIG_fail
; 
30138         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
30139         result 
= (arg1
)->InsertItem((wxTreeItemId 
const &)*arg2
,arg3
,(wxString 
const &)*arg4
,arg5
,arg6
,arg7
); 
30141         wxPyEndAllowThreads(__tstate
); 
30142         if (PyErr_Occurred()) SWIG_fail
; 
30145         wxTreeItemId 
* resultptr
; 
30146         resultptr 
= new wxTreeItemId((wxTreeItemId 
&)(result
)); 
30147         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1); 
30163 static PyObject 
*_wrap_TreeCtrl_AppendItem(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
30164     PyObject 
*resultobj
; 
30165     wxPyTreeCtrl 
*arg1 
= (wxPyTreeCtrl 
*) 0 ; 
30166     wxTreeItemId 
*arg2 
= 0 ; 
30167     wxString 
*arg3 
= 0 ; 
30168     int arg4 
= (int) -1 ; 
30169     int arg5 
= (int) -1 ; 
30170     wxPyTreeItemData 
*arg6 
= (wxPyTreeItemData 
*) NULL 
; 
30171     wxTreeItemId result
; 
30172     bool temp3 
= false ; 
30173     PyObject 
* obj0 
= 0 ; 
30174     PyObject 
* obj1 
= 0 ; 
30175     PyObject 
* obj2 
= 0 ; 
30176     PyObject 
* obj3 
= 0 ; 
30177     PyObject 
* obj4 
= 0 ; 
30178     PyObject 
* obj5 
= 0 ; 
30179     char *kwnames
[] = { 
30180         (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL 
 
30183     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
; 
30184     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
30185     if (SWIG_arg_fail(1)) SWIG_fail
; 
30187         SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION 
| 0); 
30188         if (SWIG_arg_fail(2)) SWIG_fail
; 
30189         if (arg2 
== NULL
) { 
30190             SWIG_null_ref("wxTreeItemId"); 
30192         if (SWIG_arg_fail(2)) SWIG_fail
; 
30195         arg3 
= wxString_in_helper(obj2
); 
30196         if (arg3 
== NULL
) SWIG_fail
; 
30201             arg4 
= (int)(SWIG_As_int(obj3
));  
30202             if (SWIG_arg_fail(4)) SWIG_fail
; 
30207             arg5 
= (int)(SWIG_As_int(obj4
));  
30208             if (SWIG_arg_fail(5)) SWIG_fail
; 
30212         SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION 
| 0); 
30213         if (SWIG_arg_fail(6)) SWIG_fail
; 
30216         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
30217         result 
= (arg1
)->AppendItem((wxTreeItemId 
const &)*arg2
,(wxString 
const &)*arg3
,arg4
,arg5
,arg6
); 
30219         wxPyEndAllowThreads(__tstate
); 
30220         if (PyErr_Occurred()) SWIG_fail
; 
30223         wxTreeItemId 
* resultptr
; 
30224         resultptr 
= new wxTreeItemId((wxTreeItemId 
&)(result
)); 
30225         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1); 
30241 static PyObject 
*_wrap_TreeCtrl_Delete(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
30242     PyObject 
*resultobj
; 
30243     wxPyTreeCtrl 
*arg1 
= (wxPyTreeCtrl 
*) 0 ; 
30244     wxTreeItemId 
*arg2 
= 0 ; 
30245     PyObject 
* obj0 
= 0 ; 
30246     PyObject 
* obj1 
= 0 ; 
30247     char *kwnames
[] = { 
30248         (char *) "self",(char *) "item", NULL 
 
30251     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Delete",kwnames
,&obj0
,&obj1
)) goto fail
; 
30252     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
30253     if (SWIG_arg_fail(1)) SWIG_fail
; 
30255         SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION 
| 0); 
30256         if (SWIG_arg_fail(2)) SWIG_fail
; 
30257         if (arg2 
== NULL
) { 
30258             SWIG_null_ref("wxTreeItemId"); 
30260         if (SWIG_arg_fail(2)) SWIG_fail
; 
30263         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
30264         (arg1
)->Delete((wxTreeItemId 
const &)*arg2
); 
30266         wxPyEndAllowThreads(__tstate
); 
30267         if (PyErr_Occurred()) SWIG_fail
; 
30269     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
30276 static PyObject 
*_wrap_TreeCtrl_DeleteChildren(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
30277     PyObject 
*resultobj
; 
30278     wxPyTreeCtrl 
*arg1 
= (wxPyTreeCtrl 
*) 0 ; 
30279     wxTreeItemId 
*arg2 
= 0 ; 
30280     PyObject 
* obj0 
= 0 ; 
30281     PyObject 
* obj1 
= 0 ; 
30282     char *kwnames
[] = { 
30283         (char *) "self",(char *) "item", NULL 
 
30286     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_DeleteChildren",kwnames
,&obj0
,&obj1
)) goto fail
; 
30287     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
30288     if (SWIG_arg_fail(1)) SWIG_fail
; 
30290         SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION 
| 0); 
30291         if (SWIG_arg_fail(2)) SWIG_fail
; 
30292         if (arg2 
== NULL
) { 
30293             SWIG_null_ref("wxTreeItemId"); 
30295         if (SWIG_arg_fail(2)) SWIG_fail
; 
30298         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
30299         (arg1
)->DeleteChildren((wxTreeItemId 
const &)*arg2
); 
30301         wxPyEndAllowThreads(__tstate
); 
30302         if (PyErr_Occurred()) SWIG_fail
; 
30304     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
30311 static PyObject 
*_wrap_TreeCtrl_DeleteAllItems(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
30312     PyObject 
*resultobj
; 
30313     wxPyTreeCtrl 
*arg1 
= (wxPyTreeCtrl 
*) 0 ; 
30314     PyObject 
* obj0 
= 0 ; 
30315     char *kwnames
[] = { 
30316         (char *) "self", NULL 
 
30319     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
; 
30320     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
30321     if (SWIG_arg_fail(1)) SWIG_fail
; 
30323         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
30324         (arg1
)->DeleteAllItems(); 
30326         wxPyEndAllowThreads(__tstate
); 
30327         if (PyErr_Occurred()) SWIG_fail
; 
30329     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
30336 static PyObject 
*_wrap_TreeCtrl_Expand(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
30337     PyObject 
*resultobj
; 
30338     wxPyTreeCtrl 
*arg1 
= (wxPyTreeCtrl 
*) 0 ; 
30339     wxTreeItemId 
*arg2 
= 0 ; 
30340     PyObject 
* obj0 
= 0 ; 
30341     PyObject 
* obj1 
= 0 ; 
30342     char *kwnames
[] = { 
30343         (char *) "self",(char *) "item", NULL 
 
30346     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Expand",kwnames
,&obj0
,&obj1
)) goto fail
; 
30347     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
30348     if (SWIG_arg_fail(1)) SWIG_fail
; 
30350         SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION 
| 0); 
30351         if (SWIG_arg_fail(2)) SWIG_fail
; 
30352         if (arg2 
== NULL
) { 
30353             SWIG_null_ref("wxTreeItemId"); 
30355         if (SWIG_arg_fail(2)) SWIG_fail
; 
30358         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
30359         (arg1
)->Expand((wxTreeItemId 
const &)*arg2
); 
30361         wxPyEndAllowThreads(__tstate
); 
30362         if (PyErr_Occurred()) SWIG_fail
; 
30364     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
30371 static PyObject 
*_wrap_TreeCtrl_Collapse(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
30372     PyObject 
*resultobj
; 
30373     wxPyTreeCtrl 
*arg1 
= (wxPyTreeCtrl 
*) 0 ; 
30374     wxTreeItemId 
*arg2 
= 0 ; 
30375     PyObject 
* obj0 
= 0 ; 
30376     PyObject 
* obj1 
= 0 ; 
30377     char *kwnames
[] = { 
30378         (char *) "self",(char *) "item", NULL 
 
30381     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Collapse",kwnames
,&obj0
,&obj1
)) goto fail
; 
30382     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
30383     if (SWIG_arg_fail(1)) SWIG_fail
; 
30385         SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION 
| 0); 
30386         if (SWIG_arg_fail(2)) SWIG_fail
; 
30387         if (arg2 
== NULL
) { 
30388             SWIG_null_ref("wxTreeItemId"); 
30390         if (SWIG_arg_fail(2)) SWIG_fail
; 
30393         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
30394         (arg1
)->Collapse((wxTreeItemId 
const &)*arg2
); 
30396         wxPyEndAllowThreads(__tstate
); 
30397         if (PyErr_Occurred()) SWIG_fail
; 
30399     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
30406 static PyObject 
*_wrap_TreeCtrl_CollapseAndReset(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
30407     PyObject 
*resultobj
; 
30408     wxPyTreeCtrl 
*arg1 
= (wxPyTreeCtrl 
*) 0 ; 
30409     wxTreeItemId 
*arg2 
= 0 ; 
30410     PyObject 
* obj0 
= 0 ; 
30411     PyObject 
* obj1 
= 0 ; 
30412     char *kwnames
[] = { 
30413         (char *) "self",(char *) "item", NULL 
 
30416     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames
,&obj0
,&obj1
)) goto fail
; 
30417     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
30418     if (SWIG_arg_fail(1)) SWIG_fail
; 
30420         SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION 
| 0); 
30421         if (SWIG_arg_fail(2)) SWIG_fail
; 
30422         if (arg2 
== NULL
) { 
30423             SWIG_null_ref("wxTreeItemId"); 
30425         if (SWIG_arg_fail(2)) SWIG_fail
; 
30428         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
30429         (arg1
)->CollapseAndReset((wxTreeItemId 
const &)*arg2
); 
30431         wxPyEndAllowThreads(__tstate
); 
30432         if (PyErr_Occurred()) SWIG_fail
; 
30434     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
30441 static PyObject 
*_wrap_TreeCtrl_Toggle(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
30442     PyObject 
*resultobj
; 
30443     wxPyTreeCtrl 
*arg1 
= (wxPyTreeCtrl 
*) 0 ; 
30444     wxTreeItemId 
*arg2 
= 0 ; 
30445     PyObject 
* obj0 
= 0 ; 
30446     PyObject 
* obj1 
= 0 ; 
30447     char *kwnames
[] = { 
30448         (char *) "self",(char *) "item", NULL 
 
30451     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Toggle",kwnames
,&obj0
,&obj1
)) goto fail
; 
30452     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
30453     if (SWIG_arg_fail(1)) SWIG_fail
; 
30455         SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION 
| 0); 
30456         if (SWIG_arg_fail(2)) SWIG_fail
; 
30457         if (arg2 
== NULL
) { 
30458             SWIG_null_ref("wxTreeItemId"); 
30460         if (SWIG_arg_fail(2)) SWIG_fail
; 
30463         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
30464         (arg1
)->Toggle((wxTreeItemId 
const &)*arg2
); 
30466         wxPyEndAllowThreads(__tstate
); 
30467         if (PyErr_Occurred()) SWIG_fail
; 
30469     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
30476 static PyObject 
*_wrap_TreeCtrl_Unselect(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
30477     PyObject 
*resultobj
; 
30478     wxPyTreeCtrl 
*arg1 
= (wxPyTreeCtrl 
*) 0 ; 
30479     PyObject 
* obj0 
= 0 ; 
30480     char *kwnames
[] = { 
30481         (char *) "self", NULL 
 
30484     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_Unselect",kwnames
,&obj0
)) goto fail
; 
30485     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
30486     if (SWIG_arg_fail(1)) SWIG_fail
; 
30488         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
30489         (arg1
)->Unselect(); 
30491         wxPyEndAllowThreads(__tstate
); 
30492         if (PyErr_Occurred()) SWIG_fail
; 
30494     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
30501 static PyObject 
*_wrap_TreeCtrl_UnselectItem(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
30502     PyObject 
*resultobj
; 
30503     wxPyTreeCtrl 
*arg1 
= (wxPyTreeCtrl 
*) 0 ; 
30504     wxTreeItemId 
*arg2 
= 0 ; 
30505     PyObject 
* obj0 
= 0 ; 
30506     PyObject 
* obj1 
= 0 ; 
30507     char *kwnames
[] = { 
30508         (char *) "self",(char *) "item", NULL 
 
30511     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_UnselectItem",kwnames
,&obj0
,&obj1
)) goto fail
; 
30512     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
30513     if (SWIG_arg_fail(1)) SWIG_fail
; 
30515         SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION 
| 0); 
30516         if (SWIG_arg_fail(2)) SWIG_fail
; 
30517         if (arg2 
== NULL
) { 
30518             SWIG_null_ref("wxTreeItemId"); 
30520         if (SWIG_arg_fail(2)) SWIG_fail
; 
30523         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
30524         (arg1
)->UnselectItem((wxTreeItemId 
const &)*arg2
); 
30526         wxPyEndAllowThreads(__tstate
); 
30527         if (PyErr_Occurred()) SWIG_fail
; 
30529     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
30536 static PyObject 
*_wrap_TreeCtrl_UnselectAll(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
30537     PyObject 
*resultobj
; 
30538     wxPyTreeCtrl 
*arg1 
= (wxPyTreeCtrl 
*) 0 ; 
30539     PyObject 
* obj0 
= 0 ; 
30540     char *kwnames
[] = { 
30541         (char *) "self", NULL 
 
30544     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_UnselectAll",kwnames
,&obj0
)) goto fail
; 
30545     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
30546     if (SWIG_arg_fail(1)) SWIG_fail
; 
30548         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
30549         (arg1
)->UnselectAll(); 
30551         wxPyEndAllowThreads(__tstate
); 
30552         if (PyErr_Occurred()) SWIG_fail
; 
30554     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
30561 static PyObject 
*_wrap_TreeCtrl_SelectItem(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
30562     PyObject 
*resultobj
; 
30563     wxPyTreeCtrl 
*arg1 
= (wxPyTreeCtrl 
*) 0 ; 
30564     wxTreeItemId 
*arg2 
= 0 ; 
30565     bool arg3 
= (bool) true ; 
30566     PyObject 
* obj0 
= 0 ; 
30567     PyObject 
* obj1 
= 0 ; 
30568     PyObject 
* obj2 
= 0 ; 
30569     char *kwnames
[] = { 
30570         (char *) "self",(char *) "item",(char *) "select", NULL 
 
30573     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SelectItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
30574     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
30575     if (SWIG_arg_fail(1)) SWIG_fail
; 
30577         SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION 
| 0); 
30578         if (SWIG_arg_fail(2)) SWIG_fail
; 
30579         if (arg2 
== NULL
) { 
30580             SWIG_null_ref("wxTreeItemId"); 
30582         if (SWIG_arg_fail(2)) SWIG_fail
; 
30586             arg3 
= (bool)(SWIG_As_bool(obj2
));  
30587             if (SWIG_arg_fail(3)) SWIG_fail
; 
30591         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
30592         (arg1
)->SelectItem((wxTreeItemId 
const &)*arg2
,arg3
); 
30594         wxPyEndAllowThreads(__tstate
); 
30595         if (PyErr_Occurred()) SWIG_fail
; 
30597     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
30604 static PyObject 
*_wrap_TreeCtrl_ToggleItemSelection(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
30605     PyObject 
*resultobj
; 
30606     wxPyTreeCtrl 
*arg1 
= (wxPyTreeCtrl 
*) 0 ; 
30607     wxTreeItemId 
*arg2 
= 0 ; 
30608     PyObject 
* obj0 
= 0 ; 
30609     PyObject 
* obj1 
= 0 ; 
30610     char *kwnames
[] = { 
30611         (char *) "self",(char *) "item", NULL 
 
30614     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames
,&obj0
,&obj1
)) goto fail
; 
30615     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
30616     if (SWIG_arg_fail(1)) SWIG_fail
; 
30618         SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION 
| 0); 
30619         if (SWIG_arg_fail(2)) SWIG_fail
; 
30620         if (arg2 
== NULL
) { 
30621             SWIG_null_ref("wxTreeItemId"); 
30623         if (SWIG_arg_fail(2)) SWIG_fail
; 
30626         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
30627         (arg1
)->ToggleItemSelection((wxTreeItemId 
const &)*arg2
); 
30629         wxPyEndAllowThreads(__tstate
); 
30630         if (PyErr_Occurred()) SWIG_fail
; 
30632     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
30639 static PyObject 
*_wrap_TreeCtrl_EnsureVisible(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
30640     PyObject 
*resultobj
; 
30641     wxPyTreeCtrl 
*arg1 
= (wxPyTreeCtrl 
*) 0 ; 
30642     wxTreeItemId 
*arg2 
= 0 ; 
30643     PyObject 
* obj0 
= 0 ; 
30644     PyObject 
* obj1 
= 0 ; 
30645     char *kwnames
[] = { 
30646         (char *) "self",(char *) "item", NULL 
 
30649     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
; 
30650     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
30651     if (SWIG_arg_fail(1)) SWIG_fail
; 
30653         SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION 
| 0); 
30654         if (SWIG_arg_fail(2)) SWIG_fail
; 
30655         if (arg2 
== NULL
) { 
30656             SWIG_null_ref("wxTreeItemId"); 
30658         if (SWIG_arg_fail(2)) SWIG_fail
; 
30661         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
30662         (arg1
)->EnsureVisible((wxTreeItemId 
const &)*arg2
); 
30664         wxPyEndAllowThreads(__tstate
); 
30665         if (PyErr_Occurred()) SWIG_fail
; 
30667     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
30674 static PyObject 
*_wrap_TreeCtrl_ScrollTo(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
30675     PyObject 
*resultobj
; 
30676     wxPyTreeCtrl 
*arg1 
= (wxPyTreeCtrl 
*) 0 ; 
30677     wxTreeItemId 
*arg2 
= 0 ; 
30678     PyObject 
* obj0 
= 0 ; 
30679     PyObject 
* obj1 
= 0 ; 
30680     char *kwnames
[] = { 
30681         (char *) "self",(char *) "item", NULL 
 
30684     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ScrollTo",kwnames
,&obj0
,&obj1
)) goto fail
; 
30685     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
30686     if (SWIG_arg_fail(1)) SWIG_fail
; 
30688         SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION 
| 0); 
30689         if (SWIG_arg_fail(2)) SWIG_fail
; 
30690         if (arg2 
== NULL
) { 
30691             SWIG_null_ref("wxTreeItemId"); 
30693         if (SWIG_arg_fail(2)) SWIG_fail
; 
30696         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
30697         (arg1
)->ScrollTo((wxTreeItemId 
const &)*arg2
); 
30699         wxPyEndAllowThreads(__tstate
); 
30700         if (PyErr_Occurred()) SWIG_fail
; 
30702     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
30709 static PyObject 
*_wrap_TreeCtrl_EditLabel(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
30710     PyObject 
*resultobj
; 
30711     wxPyTreeCtrl 
*arg1 
= (wxPyTreeCtrl 
*) 0 ; 
30712     wxTreeItemId 
*arg2 
= 0 ; 
30713     PyObject 
* obj0 
= 0 ; 
30714     PyObject 
* obj1 
= 0 ; 
30715     char *kwnames
[] = { 
30716         (char *) "self",(char *) "item", NULL 
 
30719     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
; 
30720     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
30721     if (SWIG_arg_fail(1)) SWIG_fail
; 
30723         SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION 
| 0); 
30724         if (SWIG_arg_fail(2)) SWIG_fail
; 
30725         if (arg2 
== NULL
) { 
30726             SWIG_null_ref("wxTreeItemId"); 
30728         if (SWIG_arg_fail(2)) SWIG_fail
; 
30731         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
30732         (arg1
)->EditLabel((wxTreeItemId 
const &)*arg2
); 
30734         wxPyEndAllowThreads(__tstate
); 
30735         if (PyErr_Occurred()) SWIG_fail
; 
30737     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
30744 static PyObject 
*_wrap_TreeCtrl_GetEditControl(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
30745     PyObject 
*resultobj
; 
30746     wxPyTreeCtrl 
*arg1 
= (wxPyTreeCtrl 
*) 0 ; 
30747     wxTextCtrl 
*result
; 
30748     PyObject 
* obj0 
= 0 ; 
30749     char *kwnames
[] = { 
30750         (char *) "self", NULL 
 
30753     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetEditControl",kwnames
,&obj0
)) goto fail
; 
30754     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
30755     if (SWIG_arg_fail(1)) SWIG_fail
; 
30757         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
30758         result 
= (wxTextCtrl 
*)((wxPyTreeCtrl 
const *)arg1
)->GetEditControl(); 
30760         wxPyEndAllowThreads(__tstate
); 
30761         if (PyErr_Occurred()) SWIG_fail
; 
30764         resultobj 
= wxPyMake_wxObject(result
, 0);  
30772 static PyObject 
*_wrap_TreeCtrl_SortChildren(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
30773     PyObject 
*resultobj
; 
30774     wxPyTreeCtrl 
*arg1 
= (wxPyTreeCtrl 
*) 0 ; 
30775     wxTreeItemId 
*arg2 
= 0 ; 
30776     PyObject 
* obj0 
= 0 ; 
30777     PyObject 
* obj1 
= 0 ; 
30778     char *kwnames
[] = { 
30779         (char *) "self",(char *) "item", NULL 
 
30782     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SortChildren",kwnames
,&obj0
,&obj1
)) goto fail
; 
30783     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
30784     if (SWIG_arg_fail(1)) SWIG_fail
; 
30786         SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION 
| 0); 
30787         if (SWIG_arg_fail(2)) SWIG_fail
; 
30788         if (arg2 
== NULL
) { 
30789             SWIG_null_ref("wxTreeItemId"); 
30791         if (SWIG_arg_fail(2)) SWIG_fail
; 
30794         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
30795         (arg1
)->SortChildren((wxTreeItemId 
const &)*arg2
); 
30797         wxPyEndAllowThreads(__tstate
); 
30798         if (PyErr_Occurred()) SWIG_fail
; 
30800     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
30807 static PyObject 
*_wrap_TreeCtrl_HitTest(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
30808     PyObject 
*resultobj
; 
30809     wxPyTreeCtrl 
*arg1 
= (wxPyTreeCtrl 
*) 0 ; 
30810     wxPoint 
*arg2 
= 0 ; 
30812     wxTreeItemId result
; 
30816     PyObject 
* obj0 
= 0 ; 
30817     PyObject 
* obj1 
= 0 ; 
30818     char *kwnames
[] = { 
30819         (char *) "self",(char *) "point", NULL 
 
30822     arg3 
= &temp3
; res3 
= SWIG_NEWOBJ
; 
30823     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
; 
30824     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
30825     if (SWIG_arg_fail(1)) SWIG_fail
; 
30828         if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
30831         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
30832         result 
= (arg1
)->HitTest((wxPoint 
const &)*arg2
,*arg3
); 
30834         wxPyEndAllowThreads(__tstate
); 
30835         if (PyErr_Occurred()) SWIG_fail
; 
30838         wxTreeItemId 
* resultptr
; 
30839         resultptr 
= new wxTreeItemId((wxTreeItemId 
&)(result
)); 
30840         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1); 
30842     resultobj 
= t_output_helper(resultobj
, ((res3 
== SWIG_NEWOBJ
) ? 
30843     SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0))); 
30850 static PyObject 
*_wrap_TreeCtrl_GetBoundingRect(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
30851     PyObject 
*resultobj
; 
30852     wxPyTreeCtrl 
*arg1 
= (wxPyTreeCtrl 
*) 0 ; 
30853     wxTreeItemId 
*arg2 
= 0 ; 
30854     bool arg3 
= (bool) false ; 
30856     PyObject 
* obj0 
= 0 ; 
30857     PyObject 
* obj1 
= 0 ; 
30858     PyObject 
* obj2 
= 0 ; 
30859     char *kwnames
[] = { 
30860         (char *) "self",(char *) "item",(char *) "textOnly", NULL 
 
30863     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
30864     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
30865     if (SWIG_arg_fail(1)) SWIG_fail
; 
30867         SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION 
| 0); 
30868         if (SWIG_arg_fail(2)) SWIG_fail
; 
30869         if (arg2 
== NULL
) { 
30870             SWIG_null_ref("wxTreeItemId"); 
30872         if (SWIG_arg_fail(2)) SWIG_fail
; 
30876             arg3 
= (bool)(SWIG_As_bool(obj2
));  
30877             if (SWIG_arg_fail(3)) SWIG_fail
; 
30881         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
30882         result 
= (PyObject 
*)wxPyTreeCtrl_GetBoundingRect(arg1
,(wxTreeItemId 
const &)*arg2
,arg3
); 
30884         wxPyEndAllowThreads(__tstate
); 
30885         if (PyErr_Occurred()) SWIG_fail
; 
30887     resultobj 
= result
; 
30894 static PyObject 
*_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
30895     PyObject 
*resultobj
; 
30896     wxWindowVariant arg1 
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL 
; 
30897     wxVisualAttributes result
; 
30898     PyObject 
* obj0 
= 0 ; 
30899     char *kwnames
[] = { 
30900         (char *) "variant", NULL 
 
30903     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TreeCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
; 
30906             arg1 
= (wxWindowVariant
)(SWIG_As_int(obj0
));  
30907             if (SWIG_arg_fail(1)) SWIG_fail
; 
30911         if (!wxPyCheckForApp()) SWIG_fail
; 
30912         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
30913         result 
= wxPyTreeCtrl::GetClassDefaultAttributes((wxWindowVariant 
)arg1
); 
30915         wxPyEndAllowThreads(__tstate
); 
30916         if (PyErr_Occurred()) SWIG_fail
; 
30919         wxVisualAttributes 
* resultptr
; 
30920         resultptr 
= new wxVisualAttributes((wxVisualAttributes 
&)(result
)); 
30921         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1); 
30929 static PyObject 
* TreeCtrl_swigregister(PyObject 
*, PyObject 
*args
) { 
30931     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
30932     SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCtrl
, obj
); 
30934     return Py_BuildValue((char *)""); 
30936 static int _wrap_DirDialogDefaultFolderStr_set(PyObject 
*) { 
30937     PyErr_SetString(PyExc_TypeError
,"Variable DirDialogDefaultFolderStr is read-only."); 
30942 static PyObject 
*_wrap_DirDialogDefaultFolderStr_get(void) { 
30947         pyobj 
= PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len()); 
30949         pyobj 
= PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len()); 
30956 static PyObject 
*_wrap_new_GenericDirCtrl(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
30957     PyObject 
*resultobj
; 
30958     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
30959     int arg2 
= (int) (int)-1 ; 
30960     wxString 
const &arg3_defvalue 
= wxPyDirDialogDefaultFolderStr 
; 
30961     wxString 
*arg3 
= (wxString 
*) &arg3_defvalue 
; 
30962     wxPoint 
const &arg4_defvalue 
= wxDefaultPosition 
; 
30963     wxPoint 
*arg4 
= (wxPoint 
*) &arg4_defvalue 
; 
30964     wxSize 
const &arg5_defvalue 
= wxDefaultSize 
; 
30965     wxSize 
*arg5 
= (wxSize 
*) &arg5_defvalue 
; 
30966     long arg6 
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER 
; 
30967     wxString 
const &arg7_defvalue 
= wxPyEmptyString 
; 
30968     wxString 
*arg7 
= (wxString 
*) &arg7_defvalue 
; 
30969     int arg8 
= (int) 0 ; 
30970     wxString 
const &arg9_defvalue 
= wxPyTreeCtrlNameStr 
; 
30971     wxString 
*arg9 
= (wxString 
*) &arg9_defvalue 
; 
30972     wxGenericDirCtrl 
*result
; 
30973     bool temp3 
= false ; 
30976     bool temp7 
= false ; 
30977     bool temp9 
= false ; 
30978     PyObject 
* obj0 
= 0 ; 
30979     PyObject 
* obj1 
= 0 ; 
30980     PyObject 
* obj2 
= 0 ; 
30981     PyObject 
* obj3 
= 0 ; 
30982     PyObject 
* obj4 
= 0 ; 
30983     PyObject 
* obj5 
= 0 ; 
30984     PyObject 
* obj6 
= 0 ; 
30985     PyObject 
* obj7 
= 0 ; 
30986     PyObject 
* obj8 
= 0 ; 
30987     char *kwnames
[] = { 
30988         (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL 
 
30991     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
; 
30992     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
30993     if (SWIG_arg_fail(1)) SWIG_fail
; 
30996             arg2 
= (int const)(SWIG_As_int(obj1
));  
30997             if (SWIG_arg_fail(2)) SWIG_fail
; 
31002             arg3 
= wxString_in_helper(obj2
); 
31003             if (arg3 
== NULL
) SWIG_fail
; 
31010             if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
; 
31016             if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
; 
31021             arg6 
= (long)(SWIG_As_long(obj5
));  
31022             if (SWIG_arg_fail(6)) SWIG_fail
; 
31027             arg7 
= wxString_in_helper(obj6
); 
31028             if (arg7 
== NULL
) SWIG_fail
; 
31034             arg8 
= (int)(SWIG_As_int(obj7
));  
31035             if (SWIG_arg_fail(8)) SWIG_fail
; 
31040             arg9 
= wxString_in_helper(obj8
); 
31041             if (arg9 
== NULL
) SWIG_fail
; 
31046         if (!wxPyCheckForApp()) SWIG_fail
; 
31047         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
31048         result 
= (wxGenericDirCtrl 
*)new wxGenericDirCtrl(arg1
,arg2
,(wxString 
const &)*arg3
,(wxPoint 
const &)*arg4
,(wxSize 
const &)*arg5
,arg6
,(wxString 
const &)*arg7
,arg8
,(wxString 
const &)*arg9
); 
31050         wxPyEndAllowThreads(__tstate
); 
31051         if (PyErr_Occurred()) SWIG_fail
; 
31053     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDirCtrl
, 1); 
31084 static PyObject 
*_wrap_new_PreGenericDirCtrl(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
31085     PyObject 
*resultobj
; 
31086     wxGenericDirCtrl 
*result
; 
31087     char *kwnames
[] = { 
31091     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGenericDirCtrl",kwnames
)) goto fail
; 
31093         if (!wxPyCheckForApp()) SWIG_fail
; 
31094         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
31095         result 
= (wxGenericDirCtrl 
*)new wxGenericDirCtrl(); 
31097         wxPyEndAllowThreads(__tstate
); 
31098         if (PyErr_Occurred()) SWIG_fail
; 
31100     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDirCtrl
, 1); 
31107 static PyObject 
*_wrap_GenericDirCtrl_Create(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
31108     PyObject 
*resultobj
; 
31109     wxGenericDirCtrl 
*arg1 
= (wxGenericDirCtrl 
*) 0 ; 
31110     wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
31111     int arg3 
= (int) (int)-1 ; 
31112     wxString 
const &arg4_defvalue 
= wxPyDirDialogDefaultFolderStr 
; 
31113     wxString 
*arg4 
= (wxString 
*) &arg4_defvalue 
; 
31114     wxPoint 
const &arg5_defvalue 
= wxDefaultPosition 
; 
31115     wxPoint 
*arg5 
= (wxPoint 
*) &arg5_defvalue 
; 
31116     wxSize 
const &arg6_defvalue 
= wxDefaultSize 
; 
31117     wxSize 
*arg6 
= (wxSize 
*) &arg6_defvalue 
; 
31118     long arg7 
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER 
; 
31119     wxString 
const &arg8_defvalue 
= wxPyEmptyString 
; 
31120     wxString 
*arg8 
= (wxString 
*) &arg8_defvalue 
; 
31121     int arg9 
= (int) 0 ; 
31122     wxString 
const &arg10_defvalue 
= wxPyTreeCtrlNameStr 
; 
31123     wxString 
*arg10 
= (wxString 
*) &arg10_defvalue 
; 
31125     bool temp4 
= false ; 
31128     bool temp8 
= false ; 
31129     bool temp10 
= false ; 
31130     PyObject 
* obj0 
= 0 ; 
31131     PyObject 
* obj1 
= 0 ; 
31132     PyObject 
* obj2 
= 0 ; 
31133     PyObject 
* obj3 
= 0 ; 
31134     PyObject 
* obj4 
= 0 ; 
31135     PyObject 
* obj5 
= 0 ; 
31136     PyObject 
* obj6 
= 0 ; 
31137     PyObject 
* obj7 
= 0 ; 
31138     PyObject 
* obj8 
= 0 ; 
31139     PyObject 
* obj9 
= 0 ; 
31140     char *kwnames
[] = { 
31141         (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL 
 
31144     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
; 
31145     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
31146     if (SWIG_arg_fail(1)) SWIG_fail
; 
31147     SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
31148     if (SWIG_arg_fail(2)) SWIG_fail
; 
31151             arg3 
= (int const)(SWIG_As_int(obj2
));  
31152             if (SWIG_arg_fail(3)) SWIG_fail
; 
31157             arg4 
= wxString_in_helper(obj3
); 
31158             if (arg4 
== NULL
) SWIG_fail
; 
31165             if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
; 
31171             if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
; 
31176             arg7 
= (long)(SWIG_As_long(obj6
));  
31177             if (SWIG_arg_fail(7)) SWIG_fail
; 
31182             arg8 
= wxString_in_helper(obj7
); 
31183             if (arg8 
== NULL
) SWIG_fail
; 
31189             arg9 
= (int)(SWIG_As_int(obj8
));  
31190             if (SWIG_arg_fail(9)) SWIG_fail
; 
31195             arg10 
= wxString_in_helper(obj9
); 
31196             if (arg10 
== NULL
) SWIG_fail
; 
31201         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
31202         result 
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString 
const &)*arg4
,(wxPoint 
const &)*arg5
,(wxSize 
const &)*arg6
,arg7
,(wxString 
const &)*arg8
,arg9
,(wxString 
const &)*arg10
); 
31204         wxPyEndAllowThreads(__tstate
); 
31205         if (PyErr_Occurred()) SWIG_fail
; 
31208         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
31240 static PyObject 
*_wrap_GenericDirCtrl_ExpandPath(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
31241     PyObject 
*resultobj
; 
31242     wxGenericDirCtrl 
*arg1 
= (wxGenericDirCtrl 
*) 0 ; 
31243     wxString 
*arg2 
= 0 ; 
31245     bool temp2 
= false ; 
31246     PyObject 
* obj0 
= 0 ; 
31247     PyObject 
* obj1 
= 0 ; 
31248     char *kwnames
[] = { 
31249         (char *) "self",(char *) "path", NULL 
 
31252     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames
,&obj0
,&obj1
)) goto fail
; 
31253     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
31254     if (SWIG_arg_fail(1)) SWIG_fail
; 
31256         arg2 
= wxString_in_helper(obj1
); 
31257         if (arg2 
== NULL
) SWIG_fail
; 
31261         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
31262         result 
= (bool)(arg1
)->ExpandPath((wxString 
const &)*arg2
); 
31264         wxPyEndAllowThreads(__tstate
); 
31265         if (PyErr_Occurred()) SWIG_fail
; 
31268         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
31284 static PyObject 
*_wrap_GenericDirCtrl_GetDefaultPath(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
31285     PyObject 
*resultobj
; 
31286     wxGenericDirCtrl 
*arg1 
= (wxGenericDirCtrl 
*) 0 ; 
31288     PyObject 
* obj0 
= 0 ; 
31289     char *kwnames
[] = { 
31290         (char *) "self", NULL 
 
31293     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetDefaultPath",kwnames
,&obj0
)) goto fail
; 
31294     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
31295     if (SWIG_arg_fail(1)) SWIG_fail
; 
31297         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
31298         result 
= ((wxGenericDirCtrl 
const *)arg1
)->GetDefaultPath(); 
31300         wxPyEndAllowThreads(__tstate
); 
31301         if (PyErr_Occurred()) SWIG_fail
; 
31305         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
31307         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
31316 static PyObject 
*_wrap_GenericDirCtrl_SetDefaultPath(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
31317     PyObject 
*resultobj
; 
31318     wxGenericDirCtrl 
*arg1 
= (wxGenericDirCtrl 
*) 0 ; 
31319     wxString 
*arg2 
= 0 ; 
31320     bool temp2 
= false ; 
31321     PyObject 
* obj0 
= 0 ; 
31322     PyObject 
* obj1 
= 0 ; 
31323     char *kwnames
[] = { 
31324         (char *) "self",(char *) "path", NULL 
 
31327     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames
,&obj0
,&obj1
)) goto fail
; 
31328     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
31329     if (SWIG_arg_fail(1)) SWIG_fail
; 
31331         arg2 
= wxString_in_helper(obj1
); 
31332         if (arg2 
== NULL
) SWIG_fail
; 
31336         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
31337         (arg1
)->SetDefaultPath((wxString 
const &)*arg2
); 
31339         wxPyEndAllowThreads(__tstate
); 
31340         if (PyErr_Occurred()) SWIG_fail
; 
31342     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
31357 static PyObject 
*_wrap_GenericDirCtrl_GetPath(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
31358     PyObject 
*resultobj
; 
31359     wxGenericDirCtrl 
*arg1 
= (wxGenericDirCtrl 
*) 0 ; 
31361     PyObject 
* obj0 
= 0 ; 
31362     char *kwnames
[] = { 
31363         (char *) "self", NULL 
 
31366     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetPath",kwnames
,&obj0
)) goto fail
; 
31367     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
31368     if (SWIG_arg_fail(1)) SWIG_fail
; 
31370         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
31371         result 
= ((wxGenericDirCtrl 
const *)arg1
)->GetPath(); 
31373         wxPyEndAllowThreads(__tstate
); 
31374         if (PyErr_Occurred()) SWIG_fail
; 
31378         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
31380         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
31389 static PyObject 
*_wrap_GenericDirCtrl_GetFilePath(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
31390     PyObject 
*resultobj
; 
31391     wxGenericDirCtrl 
*arg1 
= (wxGenericDirCtrl 
*) 0 ; 
31393     PyObject 
* obj0 
= 0 ; 
31394     char *kwnames
[] = { 
31395         (char *) "self", NULL 
 
31398     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilePath",kwnames
,&obj0
)) goto fail
; 
31399     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
31400     if (SWIG_arg_fail(1)) SWIG_fail
; 
31402         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
31403         result 
= ((wxGenericDirCtrl 
const *)arg1
)->GetFilePath(); 
31405         wxPyEndAllowThreads(__tstate
); 
31406         if (PyErr_Occurred()) SWIG_fail
; 
31410         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
31412         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
31421 static PyObject 
*_wrap_GenericDirCtrl_SetPath(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
31422     PyObject 
*resultobj
; 
31423     wxGenericDirCtrl 
*arg1 
= (wxGenericDirCtrl 
*) 0 ; 
31424     wxString 
*arg2 
= 0 ; 
31425     bool temp2 
= false ; 
31426     PyObject 
* obj0 
= 0 ; 
31427     PyObject 
* obj1 
= 0 ; 
31428     char *kwnames
[] = { 
31429         (char *) "self",(char *) "path", NULL 
 
31432     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
; 
31433     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
31434     if (SWIG_arg_fail(1)) SWIG_fail
; 
31436         arg2 
= wxString_in_helper(obj1
); 
31437         if (arg2 
== NULL
) SWIG_fail
; 
31441         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
31442         (arg1
)->SetPath((wxString 
const &)*arg2
); 
31444         wxPyEndAllowThreads(__tstate
); 
31445         if (PyErr_Occurred()) SWIG_fail
; 
31447     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
31462 static PyObject 
*_wrap_GenericDirCtrl_ShowHidden(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
31463     PyObject 
*resultobj
; 
31464     wxGenericDirCtrl 
*arg1 
= (wxGenericDirCtrl 
*) 0 ; 
31466     PyObject 
* obj0 
= 0 ; 
31467     PyObject 
* obj1 
= 0 ; 
31468     char *kwnames
[] = { 
31469         (char *) "self",(char *) "show", NULL 
 
31472     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames
,&obj0
,&obj1
)) goto fail
; 
31473     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
31474     if (SWIG_arg_fail(1)) SWIG_fail
; 
31476         arg2 
= (bool)(SWIG_As_bool(obj1
));  
31477         if (SWIG_arg_fail(2)) SWIG_fail
; 
31480         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
31481         (arg1
)->ShowHidden(arg2
); 
31483         wxPyEndAllowThreads(__tstate
); 
31484         if (PyErr_Occurred()) SWIG_fail
; 
31486     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
31493 static PyObject 
*_wrap_GenericDirCtrl_GetShowHidden(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
31494     PyObject 
*resultobj
; 
31495     wxGenericDirCtrl 
*arg1 
= (wxGenericDirCtrl 
*) 0 ; 
31497     PyObject 
* obj0 
= 0 ; 
31498     char *kwnames
[] = { 
31499         (char *) "self", NULL 
 
31502     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetShowHidden",kwnames
,&obj0
)) goto fail
; 
31503     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
31504     if (SWIG_arg_fail(1)) SWIG_fail
; 
31506         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
31507         result 
= (bool)(arg1
)->GetShowHidden(); 
31509         wxPyEndAllowThreads(__tstate
); 
31510         if (PyErr_Occurred()) SWIG_fail
; 
31513         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
31521 static PyObject 
*_wrap_GenericDirCtrl_GetFilter(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
31522     PyObject 
*resultobj
; 
31523     wxGenericDirCtrl 
*arg1 
= (wxGenericDirCtrl 
*) 0 ; 
31525     PyObject 
* obj0 
= 0 ; 
31526     char *kwnames
[] = { 
31527         (char *) "self", NULL 
 
31530     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilter",kwnames
,&obj0
)) goto fail
; 
31531     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
31532     if (SWIG_arg_fail(1)) SWIG_fail
; 
31534         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
31535         result 
= ((wxGenericDirCtrl 
const *)arg1
)->GetFilter(); 
31537         wxPyEndAllowThreads(__tstate
); 
31538         if (PyErr_Occurred()) SWIG_fail
; 
31542         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
31544         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
31553 static PyObject 
*_wrap_GenericDirCtrl_SetFilter(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
31554     PyObject 
*resultobj
; 
31555     wxGenericDirCtrl 
*arg1 
= (wxGenericDirCtrl 
*) 0 ; 
31556     wxString 
*arg2 
= 0 ; 
31557     bool temp2 
= false ; 
31558     PyObject 
* obj0 
= 0 ; 
31559     PyObject 
* obj1 
= 0 ; 
31560     char *kwnames
[] = { 
31561         (char *) "self",(char *) "filter", NULL 
 
31564     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilter",kwnames
,&obj0
,&obj1
)) goto fail
; 
31565     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
31566     if (SWIG_arg_fail(1)) SWIG_fail
; 
31568         arg2 
= wxString_in_helper(obj1
); 
31569         if (arg2 
== NULL
) SWIG_fail
; 
31573         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
31574         (arg1
)->SetFilter((wxString 
const &)*arg2
); 
31576         wxPyEndAllowThreads(__tstate
); 
31577         if (PyErr_Occurred()) SWIG_fail
; 
31579     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
31594 static PyObject 
*_wrap_GenericDirCtrl_GetFilterIndex(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
31595     PyObject 
*resultobj
; 
31596     wxGenericDirCtrl 
*arg1 
= (wxGenericDirCtrl 
*) 0 ; 
31598     PyObject 
* obj0 
= 0 ; 
31599     char *kwnames
[] = { 
31600         (char *) "self", NULL 
 
31603     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterIndex",kwnames
,&obj0
)) goto fail
; 
31604     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
31605     if (SWIG_arg_fail(1)) SWIG_fail
; 
31607         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
31608         result 
= (int)((wxGenericDirCtrl 
const *)arg1
)->GetFilterIndex(); 
31610         wxPyEndAllowThreads(__tstate
); 
31611         if (PyErr_Occurred()) SWIG_fail
; 
31614         resultobj 
= SWIG_From_int((int)(result
));  
31622 static PyObject 
*_wrap_GenericDirCtrl_SetFilterIndex(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
31623     PyObject 
*resultobj
; 
31624     wxGenericDirCtrl 
*arg1 
= (wxGenericDirCtrl 
*) 0 ; 
31626     PyObject 
* obj0 
= 0 ; 
31627     PyObject 
* obj1 
= 0 ; 
31628     char *kwnames
[] = { 
31629         (char *) "self",(char *) "n", NULL 
 
31632     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames
,&obj0
,&obj1
)) goto fail
; 
31633     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
31634     if (SWIG_arg_fail(1)) SWIG_fail
; 
31636         arg2 
= (int)(SWIG_As_int(obj1
));  
31637         if (SWIG_arg_fail(2)) SWIG_fail
; 
31640         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
31641         (arg1
)->SetFilterIndex(arg2
); 
31643         wxPyEndAllowThreads(__tstate
); 
31644         if (PyErr_Occurred()) SWIG_fail
; 
31646     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
31653 static PyObject 
*_wrap_GenericDirCtrl_GetRootId(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
31654     PyObject 
*resultobj
; 
31655     wxGenericDirCtrl 
*arg1 
= (wxGenericDirCtrl 
*) 0 ; 
31656     wxTreeItemId result
; 
31657     PyObject 
* obj0 
= 0 ; 
31658     char *kwnames
[] = { 
31659         (char *) "self", NULL 
 
31662     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetRootId",kwnames
,&obj0
)) goto fail
; 
31663     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
31664     if (SWIG_arg_fail(1)) SWIG_fail
; 
31666         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
31667         result 
= (arg1
)->GetRootId(); 
31669         wxPyEndAllowThreads(__tstate
); 
31670         if (PyErr_Occurred()) SWIG_fail
; 
31673         wxTreeItemId 
* resultptr
; 
31674         resultptr 
= new wxTreeItemId((wxTreeItemId 
&)(result
)); 
31675         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1); 
31683 static PyObject 
*_wrap_GenericDirCtrl_GetTreeCtrl(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
31684     PyObject 
*resultobj
; 
31685     wxGenericDirCtrl 
*arg1 
= (wxGenericDirCtrl 
*) 0 ; 
31686     wxPyTreeCtrl 
*result
; 
31687     PyObject 
* obj0 
= 0 ; 
31688     char *kwnames
[] = { 
31689         (char *) "self", NULL 
 
31692     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetTreeCtrl",kwnames
,&obj0
)) goto fail
; 
31693     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
31694     if (SWIG_arg_fail(1)) SWIG_fail
; 
31696         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
31697         result 
= (wxPyTreeCtrl 
*)((wxGenericDirCtrl 
const *)arg1
)->GetTreeCtrl(); 
31699         wxPyEndAllowThreads(__tstate
); 
31700         if (PyErr_Occurred()) SWIG_fail
; 
31703         resultobj 
= wxPyMake_wxObject(result
, 0);  
31711 static PyObject 
*_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
31712     PyObject 
*resultobj
; 
31713     wxGenericDirCtrl 
*arg1 
= (wxGenericDirCtrl 
*) 0 ; 
31714     wxDirFilterListCtrl 
*result
; 
31715     PyObject 
* obj0 
= 0 ; 
31716     char *kwnames
[] = { 
31717         (char *) "self", NULL 
 
31720     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterListCtrl",kwnames
,&obj0
)) goto fail
; 
31721     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
31722     if (SWIG_arg_fail(1)) SWIG_fail
; 
31724         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
31725         result 
= (wxDirFilterListCtrl 
*)((wxGenericDirCtrl 
const *)arg1
)->GetFilterListCtrl(); 
31727         wxPyEndAllowThreads(__tstate
); 
31728         if (PyErr_Occurred()) SWIG_fail
; 
31730     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 0); 
31737 static PyObject 
*_wrap_GenericDirCtrl_FindChild(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
31738     PyObject 
*resultobj
; 
31739     wxGenericDirCtrl 
*arg1 
= (wxGenericDirCtrl 
*) 0 ; 
31740     wxTreeItemId arg2 
; 
31741     wxString 
*arg3 
= 0 ; 
31743     wxTreeItemId result
; 
31744     bool temp3 
= false ; 
31747     PyObject 
* obj0 
= 0 ; 
31748     PyObject 
* obj1 
= 0 ; 
31749     PyObject 
* obj2 
= 0 ; 
31750     char *kwnames
[] = { 
31751         (char *) "self",(char *) "parentId",(char *) "path", NULL 
 
31754     arg4 
= &temp4
; res4 
= SWIG_NEWOBJ
; 
31755     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GenericDirCtrl_FindChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
31756     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
31757     if (SWIG_arg_fail(1)) SWIG_fail
; 
31759         wxTreeItemId 
* argp
; 
31760         SWIG_Python_ConvertPtr(obj1
, (void **)&argp
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
); 
31761         if (SWIG_arg_fail(2)) SWIG_fail
; 
31762         if (argp 
== NULL
) { 
31763             SWIG_null_ref("wxTreeItemId"); 
31765         if (SWIG_arg_fail(2)) SWIG_fail
; 
31769         arg3 
= wxString_in_helper(obj2
); 
31770         if (arg3 
== NULL
) SWIG_fail
; 
31774         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
31775         result 
= (arg1
)->FindChild(arg2
,(wxString 
const &)*arg3
,*arg4
); 
31777         wxPyEndAllowThreads(__tstate
); 
31778         if (PyErr_Occurred()) SWIG_fail
; 
31781         wxTreeItemId 
* resultptr
; 
31782         resultptr 
= new wxTreeItemId((wxTreeItemId 
&)(result
)); 
31783         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1); 
31785     resultobj 
= t_output_helper(resultobj
, ((res4 
== SWIG_NEWOBJ
) ? 
31786     SWIG_From_bool((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_bool
, 0))); 
31801 static PyObject 
*_wrap_GenericDirCtrl_DoResize(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
31802     PyObject 
*resultobj
; 
31803     wxGenericDirCtrl 
*arg1 
= (wxGenericDirCtrl 
*) 0 ; 
31804     PyObject 
* obj0 
= 0 ; 
31805     char *kwnames
[] = { 
31806         (char *) "self", NULL 
 
31809     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_DoResize",kwnames
,&obj0
)) goto fail
; 
31810     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
31811     if (SWIG_arg_fail(1)) SWIG_fail
; 
31813         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
31814         (arg1
)->DoResize(); 
31816         wxPyEndAllowThreads(__tstate
); 
31817         if (PyErr_Occurred()) SWIG_fail
; 
31819     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
31826 static PyObject 
*_wrap_GenericDirCtrl_ReCreateTree(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
31827     PyObject 
*resultobj
; 
31828     wxGenericDirCtrl 
*arg1 
= (wxGenericDirCtrl 
*) 0 ; 
31829     PyObject 
* obj0 
= 0 ; 
31830     char *kwnames
[] = { 
31831         (char *) "self", NULL 
 
31834     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_ReCreateTree",kwnames
,&obj0
)) goto fail
; 
31835     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
31836     if (SWIG_arg_fail(1)) SWIG_fail
; 
31838         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
31839         (arg1
)->ReCreateTree(); 
31841         wxPyEndAllowThreads(__tstate
); 
31842         if (PyErr_Occurred()) SWIG_fail
; 
31844     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
31851 static PyObject 
* GenericDirCtrl_swigregister(PyObject 
*, PyObject 
*args
) { 
31853     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
31854     SWIG_TypeClientData(SWIGTYPE_p_wxGenericDirCtrl
, obj
); 
31856     return Py_BuildValue((char *)""); 
31858 static PyObject 
*_wrap_new_DirFilterListCtrl(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
31859     PyObject 
*resultobj
; 
31860     wxGenericDirCtrl 
*arg1 
= (wxGenericDirCtrl 
*) 0 ; 
31861     int arg2 
= (int) (int)-1 ; 
31862     wxPoint 
const &arg3_defvalue 
= wxDefaultPosition 
; 
31863     wxPoint 
*arg3 
= (wxPoint 
*) &arg3_defvalue 
; 
31864     wxSize 
const &arg4_defvalue 
= wxDefaultSize 
; 
31865     wxSize 
*arg4 
= (wxSize 
*) &arg4_defvalue 
; 
31866     long arg5 
= (long) 0 ; 
31867     wxDirFilterListCtrl 
*result
; 
31870     PyObject 
* obj0 
= 0 ; 
31871     PyObject 
* obj1 
= 0 ; 
31872     PyObject 
* obj2 
= 0 ; 
31873     PyObject 
* obj3 
= 0 ; 
31874     PyObject 
* obj4 
= 0 ; 
31875     char *kwnames
[] = { 
31876         (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL 
 
31879     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
; 
31880     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
31881     if (SWIG_arg_fail(1)) SWIG_fail
; 
31884             arg2 
= (int const)(SWIG_As_int(obj1
));  
31885             if (SWIG_arg_fail(2)) SWIG_fail
; 
31891             if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
; 
31897             if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
; 
31902             arg5 
= (long)(SWIG_As_long(obj4
));  
31903             if (SWIG_arg_fail(5)) SWIG_fail
; 
31907         if (!wxPyCheckForApp()) SWIG_fail
; 
31908         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
31909         result 
= (wxDirFilterListCtrl 
*)new wxDirFilterListCtrl(arg1
,arg2
,(wxPoint 
const &)*arg3
,(wxSize 
const &)*arg4
,arg5
); 
31911         wxPyEndAllowThreads(__tstate
); 
31912         if (PyErr_Occurred()) SWIG_fail
; 
31914     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 1); 
31921 static PyObject 
*_wrap_new_PreDirFilterListCtrl(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
31922     PyObject 
*resultobj
; 
31923     wxDirFilterListCtrl 
*result
; 
31924     char *kwnames
[] = { 
31928     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDirFilterListCtrl",kwnames
)) goto fail
; 
31930         if (!wxPyCheckForApp()) SWIG_fail
; 
31931         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
31932         result 
= (wxDirFilterListCtrl 
*)new wxDirFilterListCtrl(); 
31934         wxPyEndAllowThreads(__tstate
); 
31935         if (PyErr_Occurred()) SWIG_fail
; 
31937     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 1); 
31944 static PyObject 
*_wrap_DirFilterListCtrl_Create(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
31945     PyObject 
*resultobj
; 
31946     wxDirFilterListCtrl 
*arg1 
= (wxDirFilterListCtrl 
*) 0 ; 
31947     wxGenericDirCtrl 
*arg2 
= (wxGenericDirCtrl 
*) 0 ; 
31948     int arg3 
= (int) (int)-1 ; 
31949     wxPoint 
const &arg4_defvalue 
= wxDefaultPosition 
; 
31950     wxPoint 
*arg4 
= (wxPoint 
*) &arg4_defvalue 
; 
31951     wxSize 
const &arg5_defvalue 
= wxDefaultSize 
; 
31952     wxSize 
*arg5 
= (wxSize 
*) &arg5_defvalue 
; 
31953     long arg6 
= (long) 0 ; 
31957     PyObject 
* obj0 
= 0 ; 
31958     PyObject 
* obj1 
= 0 ; 
31959     PyObject 
* obj2 
= 0 ; 
31960     PyObject 
* obj3 
= 0 ; 
31961     PyObject 
* obj4 
= 0 ; 
31962     PyObject 
* obj5 
= 0 ; 
31963     char *kwnames
[] = { 
31964         (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL 
 
31967     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
; 
31968     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
31969     if (SWIG_arg_fail(1)) SWIG_fail
; 
31970     SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
31971     if (SWIG_arg_fail(2)) SWIG_fail
; 
31974             arg3 
= (int const)(SWIG_As_int(obj2
));  
31975             if (SWIG_arg_fail(3)) SWIG_fail
; 
31981             if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
; 
31987             if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
; 
31992             arg6 
= (long)(SWIG_As_long(obj5
));  
31993             if (SWIG_arg_fail(6)) SWIG_fail
; 
31997         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
31998         result 
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint 
const &)*arg4
,(wxSize 
const &)*arg5
,arg6
); 
32000         wxPyEndAllowThreads(__tstate
); 
32001         if (PyErr_Occurred()) SWIG_fail
; 
32004         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
32012 static PyObject 
*_wrap_DirFilterListCtrl_FillFilterList(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
32013     PyObject 
*resultobj
; 
32014     wxDirFilterListCtrl 
*arg1 
= (wxDirFilterListCtrl 
*) 0 ; 
32015     wxString 
*arg2 
= 0 ; 
32017     bool temp2 
= false ; 
32018     PyObject 
* obj0 
= 0 ; 
32019     PyObject 
* obj1 
= 0 ; 
32020     PyObject 
* obj2 
= 0 ; 
32021     char *kwnames
[] = { 
32022         (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL 
 
32025     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
32026     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
32027     if (SWIG_arg_fail(1)) SWIG_fail
; 
32029         arg2 
= wxString_in_helper(obj1
); 
32030         if (arg2 
== NULL
) SWIG_fail
; 
32034         arg3 
= (int)(SWIG_As_int(obj2
));  
32035         if (SWIG_arg_fail(3)) SWIG_fail
; 
32038         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
32039         (arg1
)->FillFilterList((wxString 
const &)*arg2
,arg3
); 
32041         wxPyEndAllowThreads(__tstate
); 
32042         if (PyErr_Occurred()) SWIG_fail
; 
32044     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
32059 static PyObject 
* DirFilterListCtrl_swigregister(PyObject 
*, PyObject 
*args
) { 
32061     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
32062     SWIG_TypeClientData(SWIGTYPE_p_wxDirFilterListCtrl
, obj
); 
32064     return Py_BuildValue((char *)""); 
32066 static PyObject 
*_wrap_new_PyControl(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
32067     PyObject 
*resultobj
; 
32068     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
32069     int arg2 
= (int) (int)-1 ; 
32070     wxPoint 
const &arg3_defvalue 
= wxDefaultPosition 
; 
32071     wxPoint 
*arg3 
= (wxPoint 
*) &arg3_defvalue 
; 
32072     wxSize 
const &arg4_defvalue 
= wxDefaultSize 
; 
32073     wxSize 
*arg4 
= (wxSize 
*) &arg4_defvalue 
; 
32074     long arg5 
= (long) 0 ; 
32075     wxValidator 
const &arg6_defvalue 
= wxDefaultValidator 
; 
32076     wxValidator 
*arg6 
= (wxValidator 
*) &arg6_defvalue 
; 
32077     wxString 
const &arg7_defvalue 
= wxPyControlNameStr 
; 
32078     wxString 
*arg7 
= (wxString 
*) &arg7_defvalue 
; 
32079     wxPyControl 
*result
; 
32082     bool temp7 
= false ; 
32083     PyObject 
* obj0 
= 0 ; 
32084     PyObject 
* obj1 
= 0 ; 
32085     PyObject 
* obj2 
= 0 ; 
32086     PyObject 
* obj3 
= 0 ; 
32087     PyObject 
* obj4 
= 0 ; 
32088     PyObject 
* obj5 
= 0 ; 
32089     PyObject 
* obj6 
= 0 ; 
32090     char *kwnames
[] = { 
32091         (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL 
 
32094     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_PyControl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
; 
32095     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
32096     if (SWIG_arg_fail(1)) SWIG_fail
; 
32099             arg2 
= (int const)(SWIG_As_int(obj1
));  
32100             if (SWIG_arg_fail(2)) SWIG_fail
; 
32106             if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
; 
32112             if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
; 
32117             arg5 
= (long)(SWIG_As_long(obj4
));  
32118             if (SWIG_arg_fail(5)) SWIG_fail
; 
32123             SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION 
| 0); 
32124             if (SWIG_arg_fail(6)) SWIG_fail
; 
32125             if (arg6 
== NULL
) { 
32126                 SWIG_null_ref("wxValidator"); 
32128             if (SWIG_arg_fail(6)) SWIG_fail
; 
32133             arg7 
= wxString_in_helper(obj6
); 
32134             if (arg7 
== NULL
) SWIG_fail
; 
32139         if (!wxPyCheckForApp()) SWIG_fail
; 
32140         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
32141         result 
= (wxPyControl 
*)new wxPyControl(arg1
,arg2
,(wxPoint 
const &)*arg3
,(wxSize 
const &)*arg4
,arg5
,(wxValidator 
const &)*arg6
,(wxString 
const &)*arg7
); 
32143         wxPyEndAllowThreads(__tstate
); 
32144         if (PyErr_Occurred()) SWIG_fail
; 
32146     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyControl
, 1); 
32161 static PyObject 
*_wrap_new_PrePyControl(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
32162     PyObject 
*resultobj
; 
32163     wxPyControl 
*result
; 
32164     char *kwnames
[] = { 
32168     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyControl",kwnames
)) goto fail
; 
32170         if (!wxPyCheckForApp()) SWIG_fail
; 
32171         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
32172         result 
= (wxPyControl 
*)new wxPyControl(); 
32174         wxPyEndAllowThreads(__tstate
); 
32175         if (PyErr_Occurred()) SWIG_fail
; 
32177     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyControl
, 1); 
32184 static PyObject 
*_wrap_PyControl__setCallbackInfo(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
32185     PyObject 
*resultobj
; 
32186     wxPyControl 
*arg1 
= (wxPyControl 
*) 0 ; 
32187     PyObject 
*arg2 
= (PyObject 
*) 0 ; 
32188     PyObject 
*arg3 
= (PyObject 
*) 0 ; 
32189     PyObject 
* obj0 
= 0 ; 
32190     PyObject 
* obj1 
= 0 ; 
32191     PyObject 
* obj2 
= 0 ; 
32192     char *kwnames
[] = { 
32193         (char *) "self",(char *) "self",(char *) "_class", NULL 
 
32196     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
32197     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION 
| 0); 
32198     if (SWIG_arg_fail(1)) SWIG_fail
; 
32202         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
32203         (arg1
)->_setCallbackInfo(arg2
,arg3
); 
32205         wxPyEndAllowThreads(__tstate
); 
32206         if (PyErr_Occurred()) SWIG_fail
; 
32208     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
32215 static PyObject 
*_wrap_PyControl_SetBestSize(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
32216     PyObject 
*resultobj
; 
32217     wxPyControl 
*arg1 
= (wxPyControl 
*) 0 ; 
32220     PyObject 
* obj0 
= 0 ; 
32221     PyObject 
* obj1 
= 0 ; 
32222     char *kwnames
[] = { 
32223         (char *) "self",(char *) "size", NULL 
 
32226     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
; 
32227     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION 
| 0); 
32228     if (SWIG_arg_fail(1)) SWIG_fail
; 
32231         if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
; 
32234         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
32235         (arg1
)->SetBestSize((wxSize 
const &)*arg2
); 
32237         wxPyEndAllowThreads(__tstate
); 
32238         if (PyErr_Occurred()) SWIG_fail
; 
32240     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
32247 static PyObject 
*_wrap_PyControl_base_DoMoveWindow(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
32248     PyObject 
*resultobj
; 
32249     wxPyControl 
*arg1 
= (wxPyControl 
*) 0 ; 
32254     PyObject 
* obj0 
= 0 ; 
32255     PyObject 
* obj1 
= 0 ; 
32256     PyObject 
* obj2 
= 0 ; 
32257     PyObject 
* obj3 
= 0 ; 
32258     PyObject 
* obj4 
= 0 ; 
32259     char *kwnames
[] = { 
32260         (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL 
 
32263     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyControl_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
; 
32264     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION 
| 0); 
32265     if (SWIG_arg_fail(1)) SWIG_fail
; 
32267         arg2 
= (int)(SWIG_As_int(obj1
));  
32268         if (SWIG_arg_fail(2)) SWIG_fail
; 
32271         arg3 
= (int)(SWIG_As_int(obj2
));  
32272         if (SWIG_arg_fail(3)) SWIG_fail
; 
32275         arg4 
= (int)(SWIG_As_int(obj3
));  
32276         if (SWIG_arg_fail(4)) SWIG_fail
; 
32279         arg5 
= (int)(SWIG_As_int(obj4
));  
32280         if (SWIG_arg_fail(5)) SWIG_fail
; 
32283         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
32284         (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
); 
32286         wxPyEndAllowThreads(__tstate
); 
32287         if (PyErr_Occurred()) SWIG_fail
; 
32289     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
32296 static PyObject 
*_wrap_PyControl_base_DoSetSize(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
32297     PyObject 
*resultobj
; 
32298     wxPyControl 
*arg1 
= (wxPyControl 
*) 0 ; 
32303     int arg6 
= (int) wxSIZE_AUTO 
; 
32304     PyObject 
* obj0 
= 0 ; 
32305     PyObject 
* obj1 
= 0 ; 
32306     PyObject 
* obj2 
= 0 ; 
32307     PyObject 
* obj3 
= 0 ; 
32308     PyObject 
* obj4 
= 0 ; 
32309     PyObject 
* obj5 
= 0 ; 
32310     char *kwnames
[] = { 
32311         (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL 
 
32314     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyControl_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
; 
32315     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION 
| 0); 
32316     if (SWIG_arg_fail(1)) SWIG_fail
; 
32318         arg2 
= (int)(SWIG_As_int(obj1
));  
32319         if (SWIG_arg_fail(2)) SWIG_fail
; 
32322         arg3 
= (int)(SWIG_As_int(obj2
));  
32323         if (SWIG_arg_fail(3)) SWIG_fail
; 
32326         arg4 
= (int)(SWIG_As_int(obj3
));  
32327         if (SWIG_arg_fail(4)) SWIG_fail
; 
32330         arg5 
= (int)(SWIG_As_int(obj4
));  
32331         if (SWIG_arg_fail(5)) SWIG_fail
; 
32335             arg6 
= (int)(SWIG_As_int(obj5
));  
32336             if (SWIG_arg_fail(6)) SWIG_fail
; 
32340         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
32341         (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
); 
32343         wxPyEndAllowThreads(__tstate
); 
32344         if (PyErr_Occurred()) SWIG_fail
; 
32346     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
32353 static PyObject 
*_wrap_PyControl_base_DoSetClientSize(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
32354     PyObject 
*resultobj
; 
32355     wxPyControl 
*arg1 
= (wxPyControl 
*) 0 ; 
32358     PyObject 
* obj0 
= 0 ; 
32359     PyObject 
* obj1 
= 0 ; 
32360     PyObject 
* obj2 
= 0 ; 
32361     char *kwnames
[] = { 
32362         (char *) "self",(char *) "width",(char *) "height", NULL 
 
32365     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
32366     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION 
| 0); 
32367     if (SWIG_arg_fail(1)) SWIG_fail
; 
32369         arg2 
= (int)(SWIG_As_int(obj1
));  
32370         if (SWIG_arg_fail(2)) SWIG_fail
; 
32373         arg3 
= (int)(SWIG_As_int(obj2
));  
32374         if (SWIG_arg_fail(3)) SWIG_fail
; 
32377         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
32378         (arg1
)->base_DoSetClientSize(arg2
,arg3
); 
32380         wxPyEndAllowThreads(__tstate
); 
32381         if (PyErr_Occurred()) SWIG_fail
; 
32383     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
32390 static PyObject 
*_wrap_PyControl_base_DoSetVirtualSize(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
32391     PyObject 
*resultobj
; 
32392     wxPyControl 
*arg1 
= (wxPyControl 
*) 0 ; 
32395     PyObject 
* obj0 
= 0 ; 
32396     PyObject 
* obj1 
= 0 ; 
32397     PyObject 
* obj2 
= 0 ; 
32398     char *kwnames
[] = { 
32399         (char *) "self",(char *) "x",(char *) "y", NULL 
 
32402     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
32403     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION 
| 0); 
32404     if (SWIG_arg_fail(1)) SWIG_fail
; 
32406         arg2 
= (int)(SWIG_As_int(obj1
));  
32407         if (SWIG_arg_fail(2)) SWIG_fail
; 
32410         arg3 
= (int)(SWIG_As_int(obj2
));  
32411         if (SWIG_arg_fail(3)) SWIG_fail
; 
32414         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
32415         (arg1
)->base_DoSetVirtualSize(arg2
,arg3
); 
32417         wxPyEndAllowThreads(__tstate
); 
32418         if (PyErr_Occurred()) SWIG_fail
; 
32420     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
32427 static PyObject 
*_wrap_PyControl_base_DoGetSize(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
32428     PyObject 
*resultobj
; 
32429     wxPyControl 
*arg1 
= (wxPyControl 
*) 0 ; 
32430     int *arg2 
= (int *) 0 ; 
32431     int *arg3 
= (int *) 0 ; 
32436     PyObject 
* obj0 
= 0 ; 
32437     char *kwnames
[] = { 
32438         (char *) "self", NULL 
 
32441     arg2 
= &temp2
; res2 
= SWIG_NEWOBJ
; 
32442     arg3 
= &temp3
; res3 
= SWIG_NEWOBJ
; 
32443     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetSize",kwnames
,&obj0
)) goto fail
; 
32444     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION 
| 0); 
32445     if (SWIG_arg_fail(1)) SWIG_fail
; 
32447         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
32448         ((wxPyControl 
const *)arg1
)->base_DoGetSize(arg2
,arg3
); 
32450         wxPyEndAllowThreads(__tstate
); 
32451         if (PyErr_Occurred()) SWIG_fail
; 
32453     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
32454     resultobj 
= t_output_helper(resultobj
, ((res2 
== SWIG_NEWOBJ
) ? 
32455     SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0))); 
32456     resultobj 
= t_output_helper(resultobj
, ((res3 
== SWIG_NEWOBJ
) ? 
32457     SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0))); 
32464 static PyObject 
*_wrap_PyControl_base_DoGetClientSize(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
32465     PyObject 
*resultobj
; 
32466     wxPyControl 
*arg1 
= (wxPyControl 
*) 0 ; 
32467     int *arg2 
= (int *) 0 ; 
32468     int *arg3 
= (int *) 0 ; 
32473     PyObject 
* obj0 
= 0 ; 
32474     char *kwnames
[] = { 
32475         (char *) "self", NULL 
 
32478     arg2 
= &temp2
; res2 
= SWIG_NEWOBJ
; 
32479     arg3 
= &temp3
; res3 
= SWIG_NEWOBJ
; 
32480     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
; 
32481     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION 
| 0); 
32482     if (SWIG_arg_fail(1)) SWIG_fail
; 
32484         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
32485         ((wxPyControl 
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
); 
32487         wxPyEndAllowThreads(__tstate
); 
32488         if (PyErr_Occurred()) SWIG_fail
; 
32490     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
32491     resultobj 
= t_output_helper(resultobj
, ((res2 
== SWIG_NEWOBJ
) ? 
32492     SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0))); 
32493     resultobj 
= t_output_helper(resultobj
, ((res3 
== SWIG_NEWOBJ
) ? 
32494     SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0))); 
32501 static PyObject 
*_wrap_PyControl_base_DoGetPosition(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
32502     PyObject 
*resultobj
; 
32503     wxPyControl 
*arg1 
= (wxPyControl 
*) 0 ; 
32504     int *arg2 
= (int *) 0 ; 
32505     int *arg3 
= (int *) 0 ; 
32510     PyObject 
* obj0 
= 0 ; 
32511     char *kwnames
[] = { 
32512         (char *) "self", NULL 
 
32515     arg2 
= &temp2
; res2 
= SWIG_NEWOBJ
; 
32516     arg3 
= &temp3
; res3 
= SWIG_NEWOBJ
; 
32517     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetPosition",kwnames
,&obj0
)) goto fail
; 
32518     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION 
| 0); 
32519     if (SWIG_arg_fail(1)) SWIG_fail
; 
32521         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
32522         ((wxPyControl 
const *)arg1
)->base_DoGetPosition(arg2
,arg3
); 
32524         wxPyEndAllowThreads(__tstate
); 
32525         if (PyErr_Occurred()) SWIG_fail
; 
32527     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
32528     resultobj 
= t_output_helper(resultobj
, ((res2 
== SWIG_NEWOBJ
) ? 
32529     SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0))); 
32530     resultobj 
= t_output_helper(resultobj
, ((res3 
== SWIG_NEWOBJ
) ? 
32531     SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0))); 
32538 static PyObject 
*_wrap_PyControl_base_DoGetVirtualSize(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
32539     PyObject 
*resultobj
; 
32540     wxPyControl 
*arg1 
= (wxPyControl 
*) 0 ; 
32542     PyObject 
* obj0 
= 0 ; 
32543     char *kwnames
[] = { 
32544         (char *) "self", NULL 
 
32547     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
; 
32548     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION 
| 0); 
32549     if (SWIG_arg_fail(1)) SWIG_fail
; 
32551         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
32552         result 
= ((wxPyControl 
const *)arg1
)->base_DoGetVirtualSize(); 
32554         wxPyEndAllowThreads(__tstate
); 
32555         if (PyErr_Occurred()) SWIG_fail
; 
32558         wxSize 
* resultptr
; 
32559         resultptr 
= new wxSize((wxSize 
&)(result
)); 
32560         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1); 
32568 static PyObject 
*_wrap_PyControl_base_DoGetBestSize(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
32569     PyObject 
*resultobj
; 
32570     wxPyControl 
*arg1 
= (wxPyControl 
*) 0 ; 
32572     PyObject 
* obj0 
= 0 ; 
32573     char *kwnames
[] = { 
32574         (char *) "self", NULL 
 
32577     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
; 
32578     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION 
| 0); 
32579     if (SWIG_arg_fail(1)) SWIG_fail
; 
32581         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
32582         result 
= ((wxPyControl 
const *)arg1
)->base_DoGetBestSize(); 
32584         wxPyEndAllowThreads(__tstate
); 
32585         if (PyErr_Occurred()) SWIG_fail
; 
32588         wxSize 
* resultptr
; 
32589         resultptr 
= new wxSize((wxSize 
&)(result
)); 
32590         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1); 
32598 static PyObject 
*_wrap_PyControl_base_InitDialog(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
32599     PyObject 
*resultobj
; 
32600     wxPyControl 
*arg1 
= (wxPyControl 
*) 0 ; 
32601     PyObject 
* obj0 
= 0 ; 
32602     char *kwnames
[] = { 
32603         (char *) "self", NULL 
 
32606     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_InitDialog",kwnames
,&obj0
)) goto fail
; 
32607     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION 
| 0); 
32608     if (SWIG_arg_fail(1)) SWIG_fail
; 
32610         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
32611         (arg1
)->base_InitDialog(); 
32613         wxPyEndAllowThreads(__tstate
); 
32614         if (PyErr_Occurred()) SWIG_fail
; 
32616     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
32623 static PyObject 
*_wrap_PyControl_base_TransferDataToWindow(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
32624     PyObject 
*resultobj
; 
32625     wxPyControl 
*arg1 
= (wxPyControl 
*) 0 ; 
32627     PyObject 
* obj0 
= 0 ; 
32628     char *kwnames
[] = { 
32629         (char *) "self", NULL 
 
32632     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
; 
32633     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION 
| 0); 
32634     if (SWIG_arg_fail(1)) SWIG_fail
; 
32636         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
32637         result 
= (bool)(arg1
)->base_TransferDataToWindow(); 
32639         wxPyEndAllowThreads(__tstate
); 
32640         if (PyErr_Occurred()) SWIG_fail
; 
32643         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
32651 static PyObject 
*_wrap_PyControl_base_TransferDataFromWindow(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
32652     PyObject 
*resultobj
; 
32653     wxPyControl 
*arg1 
= (wxPyControl 
*) 0 ; 
32655     PyObject 
* obj0 
= 0 ; 
32656     char *kwnames
[] = { 
32657         (char *) "self", NULL 
 
32660     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
; 
32661     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION 
| 0); 
32662     if (SWIG_arg_fail(1)) SWIG_fail
; 
32664         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
32665         result 
= (bool)(arg1
)->base_TransferDataFromWindow(); 
32667         wxPyEndAllowThreads(__tstate
); 
32668         if (PyErr_Occurred()) SWIG_fail
; 
32671         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
32679 static PyObject 
*_wrap_PyControl_base_Validate(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
32680     PyObject 
*resultobj
; 
32681     wxPyControl 
*arg1 
= (wxPyControl 
*) 0 ; 
32683     PyObject 
* obj0 
= 0 ; 
32684     char *kwnames
[] = { 
32685         (char *) "self", NULL 
 
32688     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_Validate",kwnames
,&obj0
)) goto fail
; 
32689     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION 
| 0); 
32690     if (SWIG_arg_fail(1)) SWIG_fail
; 
32692         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
32693         result 
= (bool)(arg1
)->base_Validate(); 
32695         wxPyEndAllowThreads(__tstate
); 
32696         if (PyErr_Occurred()) SWIG_fail
; 
32699         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
32707 static PyObject 
*_wrap_PyControl_base_AcceptsFocus(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
32708     PyObject 
*resultobj
; 
32709     wxPyControl 
*arg1 
= (wxPyControl 
*) 0 ; 
32711     PyObject 
* obj0 
= 0 ; 
32712     char *kwnames
[] = { 
32713         (char *) "self", NULL 
 
32716     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
; 
32717     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION 
| 0); 
32718     if (SWIG_arg_fail(1)) SWIG_fail
; 
32720         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
32721         result 
= (bool)((wxPyControl 
const *)arg1
)->base_AcceptsFocus(); 
32723         wxPyEndAllowThreads(__tstate
); 
32724         if (PyErr_Occurred()) SWIG_fail
; 
32727         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
32735 static PyObject 
*_wrap_PyControl_base_AcceptsFocusFromKeyboard(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
32736     PyObject 
*resultobj
; 
32737     wxPyControl 
*arg1 
= (wxPyControl 
*) 0 ; 
32739     PyObject 
* obj0 
= 0 ; 
32740     char *kwnames
[] = { 
32741         (char *) "self", NULL 
 
32744     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
; 
32745     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION 
| 0); 
32746     if (SWIG_arg_fail(1)) SWIG_fail
; 
32748         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
32749         result 
= (bool)((wxPyControl 
const *)arg1
)->base_AcceptsFocusFromKeyboard(); 
32751         wxPyEndAllowThreads(__tstate
); 
32752         if (PyErr_Occurred()) SWIG_fail
; 
32755         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
32763 static PyObject 
*_wrap_PyControl_base_GetMaxSize(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
32764     PyObject 
*resultobj
; 
32765     wxPyControl 
*arg1 
= (wxPyControl 
*) 0 ; 
32767     PyObject 
* obj0 
= 0 ; 
32768     char *kwnames
[] = { 
32769         (char *) "self", NULL 
 
32772     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_GetMaxSize",kwnames
,&obj0
)) goto fail
; 
32773     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION 
| 0); 
32774     if (SWIG_arg_fail(1)) SWIG_fail
; 
32776         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
32777         result 
= ((wxPyControl 
const *)arg1
)->base_GetMaxSize(); 
32779         wxPyEndAllowThreads(__tstate
); 
32780         if (PyErr_Occurred()) SWIG_fail
; 
32783         wxSize 
* resultptr
; 
32784         resultptr 
= new wxSize((wxSize 
&)(result
)); 
32785         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1); 
32793 static PyObject 
*_wrap_PyControl_base_AddChild(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
32794     PyObject 
*resultobj
; 
32795     wxPyControl 
*arg1 
= (wxPyControl 
*) 0 ; 
32796     wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
32797     PyObject 
* obj0 
= 0 ; 
32798     PyObject 
* obj1 
= 0 ; 
32799     char *kwnames
[] = { 
32800         (char *) "self",(char *) "child", NULL 
 
32803     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
; 
32804     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION 
| 0); 
32805     if (SWIG_arg_fail(1)) SWIG_fail
; 
32806     SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
32807     if (SWIG_arg_fail(2)) SWIG_fail
; 
32809         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
32810         (arg1
)->base_AddChild(arg2
); 
32812         wxPyEndAllowThreads(__tstate
); 
32813         if (PyErr_Occurred()) SWIG_fail
; 
32815     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
32822 static PyObject 
*_wrap_PyControl_base_RemoveChild(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
32823     PyObject 
*resultobj
; 
32824     wxPyControl 
*arg1 
= (wxPyControl 
*) 0 ; 
32825     wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
32826     PyObject 
* obj0 
= 0 ; 
32827     PyObject 
* obj1 
= 0 ; 
32828     char *kwnames
[] = { 
32829         (char *) "self",(char *) "child", NULL 
 
32832     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
; 
32833     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION 
| 0); 
32834     if (SWIG_arg_fail(1)) SWIG_fail
; 
32835     SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
32836     if (SWIG_arg_fail(2)) SWIG_fail
; 
32838         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
32839         (arg1
)->base_RemoveChild(arg2
); 
32841         wxPyEndAllowThreads(__tstate
); 
32842         if (PyErr_Occurred()) SWIG_fail
; 
32844     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
32851 static PyObject 
*_wrap_PyControl_base_ShouldInheritColours(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
32852     PyObject 
*resultobj
; 
32853     wxPyControl 
*arg1 
= (wxPyControl 
*) 0 ; 
32855     PyObject 
* obj0 
= 0 ; 
32856     char *kwnames
[] = { 
32857         (char *) "self", NULL 
 
32860     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
; 
32861     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION 
| 0); 
32862     if (SWIG_arg_fail(1)) SWIG_fail
; 
32864         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
32865         result 
= (bool)((wxPyControl 
const *)arg1
)->base_ShouldInheritColours(); 
32867         wxPyEndAllowThreads(__tstate
); 
32868         if (PyErr_Occurred()) SWIG_fail
; 
32871         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
32879 static PyObject 
*_wrap_PyControl_base_ApplyParentThemeBackground(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
32880     PyObject 
*resultobj
; 
32881     wxPyControl 
*arg1 
= (wxPyControl 
*) 0 ; 
32882     wxColour 
*arg2 
= 0 ; 
32884     PyObject 
* obj0 
= 0 ; 
32885     PyObject 
* obj1 
= 0 ; 
32886     char *kwnames
[] = { 
32887         (char *) "self",(char *) "c", NULL 
 
32890     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
; 
32891     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION 
| 0); 
32892     if (SWIG_arg_fail(1)) SWIG_fail
; 
32895         if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
32898         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
32899         (arg1
)->base_ApplyParentThemeBackground((wxColour 
const &)*arg2
); 
32901         wxPyEndAllowThreads(__tstate
); 
32902         if (PyErr_Occurred()) SWIG_fail
; 
32904     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
32911 static PyObject 
*_wrap_PyControl_base_GetDefaultAttributes(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
32912     PyObject 
*resultobj
; 
32913     wxPyControl 
*arg1 
= (wxPyControl 
*) 0 ; 
32914     wxVisualAttributes result
; 
32915     PyObject 
* obj0 
= 0 ; 
32916     char *kwnames
[] = { 
32917         (char *) "self", NULL 
 
32920     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
; 
32921     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION 
| 0); 
32922     if (SWIG_arg_fail(1)) SWIG_fail
; 
32924         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
32925         result 
= (arg1
)->base_GetDefaultAttributes(); 
32927         wxPyEndAllowThreads(__tstate
); 
32928         if (PyErr_Occurred()) SWIG_fail
; 
32931         wxVisualAttributes 
* resultptr
; 
32932         resultptr 
= new wxVisualAttributes((wxVisualAttributes 
&)(result
)); 
32933         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1); 
32941 static PyObject 
* PyControl_swigregister(PyObject 
*, PyObject 
*args
) { 
32943     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
32944     SWIG_TypeClientData(SWIGTYPE_p_wxPyControl
, obj
); 
32946     return Py_BuildValue((char *)""); 
32948 static PyObject 
*_wrap_new_HelpEvent(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
32949     PyObject 
*resultobj
; 
32950     wxEventType arg1 
= (wxEventType
) wxEVT_NULL 
; 
32951     int arg2 
= (int) 0 ; 
32952     wxPoint 
const &arg3_defvalue 
= wxDefaultPosition 
; 
32953     wxPoint 
*arg3 
= (wxPoint 
*) &arg3_defvalue 
; 
32954     wxHelpEvent 
*result
; 
32956     PyObject 
* obj0 
= 0 ; 
32957     PyObject 
* obj1 
= 0 ; 
32958     PyObject 
* obj2 
= 0 ; 
32959     char *kwnames
[] = { 
32960         (char *) "type",(char *) "winid",(char *) "pt", NULL 
 
32963     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_HelpEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
32966             arg1 
= (wxEventType
)(SWIG_As_int(obj0
));  
32967             if (SWIG_arg_fail(1)) SWIG_fail
; 
32972             arg2 
= (int)(SWIG_As_int(obj1
));  
32973             if (SWIG_arg_fail(2)) SWIG_fail
; 
32979             if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
; 
32983         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
32984         result 
= (wxHelpEvent 
*)new wxHelpEvent(arg1
,arg2
,(wxPoint 
const &)*arg3
); 
32986         wxPyEndAllowThreads(__tstate
); 
32987         if (PyErr_Occurred()) SWIG_fail
; 
32989     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpEvent
, 1); 
32996 static PyObject 
*_wrap_HelpEvent_GetPosition(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
32997     PyObject 
*resultobj
; 
32998     wxHelpEvent 
*arg1 
= (wxHelpEvent 
*) 0 ; 
33000     PyObject 
* obj0 
= 0 ; 
33001     char *kwnames
[] = { 
33002         (char *) "self", NULL 
 
33005     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetPosition",kwnames
,&obj0
)) goto fail
; 
33006     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
33007     if (SWIG_arg_fail(1)) SWIG_fail
; 
33009         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
33010         result 
= ((wxHelpEvent 
const *)arg1
)->GetPosition(); 
33012         wxPyEndAllowThreads(__tstate
); 
33013         if (PyErr_Occurred()) SWIG_fail
; 
33016         wxPoint 
* resultptr
; 
33017         resultptr 
= new wxPoint((wxPoint 
const &)(result
)); 
33018         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1); 
33026 static PyObject 
*_wrap_HelpEvent_SetPosition(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
33027     PyObject 
*resultobj
; 
33028     wxHelpEvent 
*arg1 
= (wxHelpEvent 
*) 0 ; 
33029     wxPoint 
*arg2 
= 0 ; 
33031     PyObject 
* obj0 
= 0 ; 
33032     PyObject 
* obj1 
= 0 ; 
33033     char *kwnames
[] = { 
33034         (char *) "self",(char *) "pos", NULL 
 
33037     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
; 
33038     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
33039     if (SWIG_arg_fail(1)) SWIG_fail
; 
33042         if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
33045         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
33046         (arg1
)->SetPosition((wxPoint 
const &)*arg2
); 
33048         wxPyEndAllowThreads(__tstate
); 
33049         if (PyErr_Occurred()) SWIG_fail
; 
33051     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
33058 static PyObject 
*_wrap_HelpEvent_GetLink(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
33059     PyObject 
*resultobj
; 
33060     wxHelpEvent 
*arg1 
= (wxHelpEvent 
*) 0 ; 
33062     PyObject 
* obj0 
= 0 ; 
33063     char *kwnames
[] = { 
33064         (char *) "self", NULL 
 
33067     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetLink",kwnames
,&obj0
)) goto fail
; 
33068     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
33069     if (SWIG_arg_fail(1)) SWIG_fail
; 
33071         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
33073             wxString 
const &_result_ref 
= ((wxHelpEvent 
const *)arg1
)->GetLink(); 
33074             result 
= (wxString 
*) &_result_ref
; 
33077         wxPyEndAllowThreads(__tstate
); 
33078         if (PyErr_Occurred()) SWIG_fail
; 
33082         resultobj 
= PyUnicode_FromWideChar(result
->c_str(), result
->Len()); 
33084         resultobj 
= PyString_FromStringAndSize(result
->c_str(), result
->Len()); 
33093 static PyObject 
*_wrap_HelpEvent_SetLink(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
33094     PyObject 
*resultobj
; 
33095     wxHelpEvent 
*arg1 
= (wxHelpEvent 
*) 0 ; 
33096     wxString 
*arg2 
= 0 ; 
33097     bool temp2 
= false ; 
33098     PyObject 
* obj0 
= 0 ; 
33099     PyObject 
* obj1 
= 0 ; 
33100     char *kwnames
[] = { 
33101         (char *) "self",(char *) "link", NULL 
 
33104     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetLink",kwnames
,&obj0
,&obj1
)) goto fail
; 
33105     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
33106     if (SWIG_arg_fail(1)) SWIG_fail
; 
33108         arg2 
= wxString_in_helper(obj1
); 
33109         if (arg2 
== NULL
) SWIG_fail
; 
33113         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
33114         (arg1
)->SetLink((wxString 
const &)*arg2
); 
33116         wxPyEndAllowThreads(__tstate
); 
33117         if (PyErr_Occurred()) SWIG_fail
; 
33119     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
33134 static PyObject 
*_wrap_HelpEvent_GetTarget(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
33135     PyObject 
*resultobj
; 
33136     wxHelpEvent 
*arg1 
= (wxHelpEvent 
*) 0 ; 
33138     PyObject 
* obj0 
= 0 ; 
33139     char *kwnames
[] = { 
33140         (char *) "self", NULL 
 
33143     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetTarget",kwnames
,&obj0
)) goto fail
; 
33144     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
33145     if (SWIG_arg_fail(1)) SWIG_fail
; 
33147         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
33149             wxString 
const &_result_ref 
= ((wxHelpEvent 
const *)arg1
)->GetTarget(); 
33150             result 
= (wxString 
*) &_result_ref
; 
33153         wxPyEndAllowThreads(__tstate
); 
33154         if (PyErr_Occurred()) SWIG_fail
; 
33158         resultobj 
= PyUnicode_FromWideChar(result
->c_str(), result
->Len()); 
33160         resultobj 
= PyString_FromStringAndSize(result
->c_str(), result
->Len()); 
33169 static PyObject 
*_wrap_HelpEvent_SetTarget(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
33170     PyObject 
*resultobj
; 
33171     wxHelpEvent 
*arg1 
= (wxHelpEvent 
*) 0 ; 
33172     wxString 
*arg2 
= 0 ; 
33173     bool temp2 
= false ; 
33174     PyObject 
* obj0 
= 0 ; 
33175     PyObject 
* obj1 
= 0 ; 
33176     char *kwnames
[] = { 
33177         (char *) "self",(char *) "target", NULL 
 
33180     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetTarget",kwnames
,&obj0
,&obj1
)) goto fail
; 
33181     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_EXCEPTION 
| 0); 
33182     if (SWIG_arg_fail(1)) SWIG_fail
; 
33184         arg2 
= wxString_in_helper(obj1
); 
33185         if (arg2 
== NULL
) SWIG_fail
; 
33189         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
33190         (arg1
)->SetTarget((wxString 
const &)*arg2
); 
33192         wxPyEndAllowThreads(__tstate
); 
33193         if (PyErr_Occurred()) SWIG_fail
; 
33195     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
33210 static PyObject 
* HelpEvent_swigregister(PyObject 
*, PyObject 
*args
) { 
33212     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
33213     SWIG_TypeClientData(SWIGTYPE_p_wxHelpEvent
, obj
); 
33215     return Py_BuildValue((char *)""); 
33217 static PyObject 
*_wrap_new_ContextHelp(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
33218     PyObject 
*resultobj
; 
33219     wxWindow 
*arg1 
= (wxWindow 
*) NULL 
; 
33220     bool arg2 
= (bool) true ; 
33221     wxContextHelp 
*result
; 
33222     PyObject 
* obj0 
= 0 ; 
33223     PyObject 
* obj1 
= 0 ; 
33224     char *kwnames
[] = { 
33225         (char *) "window",(char *) "doNow", NULL 
 
33228     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
; 
33230         SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
33231         if (SWIG_arg_fail(1)) SWIG_fail
; 
33235             arg2 
= (bool)(SWIG_As_bool(obj1
));  
33236             if (SWIG_arg_fail(2)) SWIG_fail
; 
33240         if (!wxPyCheckForApp()) SWIG_fail
; 
33241         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
33242         result 
= (wxContextHelp 
*)new wxContextHelp(arg1
,arg2
); 
33244         wxPyEndAllowThreads(__tstate
); 
33245         if (PyErr_Occurred()) SWIG_fail
; 
33247     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextHelp
, 1); 
33254 static PyObject 
*_wrap_delete_ContextHelp(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
33255     PyObject 
*resultobj
; 
33256     wxContextHelp 
*arg1 
= (wxContextHelp 
*) 0 ; 
33257     PyObject 
* obj0 
= 0 ; 
33258     char *kwnames
[] = { 
33259         (char *) "self", NULL 
 
33262     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ContextHelp",kwnames
,&obj0
)) goto fail
; 
33263     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_EXCEPTION 
| 0); 
33264     if (SWIG_arg_fail(1)) SWIG_fail
; 
33266         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
33269         wxPyEndAllowThreads(__tstate
); 
33270         if (PyErr_Occurred()) SWIG_fail
; 
33272     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
33279 static PyObject 
*_wrap_ContextHelp_BeginContextHelp(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
33280     PyObject 
*resultobj
; 
33281     wxContextHelp 
*arg1 
= (wxContextHelp 
*) 0 ; 
33282     wxWindow 
*arg2 
= (wxWindow 
*) NULL 
; 
33284     PyObject 
* obj0 
= 0 ; 
33285     PyObject 
* obj1 
= 0 ; 
33286     char *kwnames
[] = { 
33287         (char *) "self",(char *) "window", NULL 
 
33290     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
; 
33291     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_EXCEPTION 
| 0); 
33292     if (SWIG_arg_fail(1)) SWIG_fail
; 
33294         SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
33295         if (SWIG_arg_fail(2)) SWIG_fail
; 
33298         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
33299         result 
= (bool)(arg1
)->BeginContextHelp(arg2
); 
33301         wxPyEndAllowThreads(__tstate
); 
33302         if (PyErr_Occurred()) SWIG_fail
; 
33305         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
33313 static PyObject 
*_wrap_ContextHelp_EndContextHelp(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
33314     PyObject 
*resultobj
; 
33315     wxContextHelp 
*arg1 
= (wxContextHelp 
*) 0 ; 
33317     PyObject 
* obj0 
= 0 ; 
33318     char *kwnames
[] = { 
33319         (char *) "self", NULL 
 
33322     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextHelp_EndContextHelp",kwnames
,&obj0
)) goto fail
; 
33323     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_EXCEPTION 
| 0); 
33324     if (SWIG_arg_fail(1)) SWIG_fail
; 
33326         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
33327         result 
= (bool)(arg1
)->EndContextHelp(); 
33329         wxPyEndAllowThreads(__tstate
); 
33330         if (PyErr_Occurred()) SWIG_fail
; 
33333         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
33341 static PyObject 
* ContextHelp_swigregister(PyObject 
*, PyObject 
*args
) { 
33343     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
33344     SWIG_TypeClientData(SWIGTYPE_p_wxContextHelp
, obj
); 
33346     return Py_BuildValue((char *)""); 
33348 static PyObject 
*_wrap_new_ContextHelpButton(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
33349     PyObject 
*resultobj
; 
33350     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
33351     int arg2 
= (int) wxID_CONTEXT_HELP 
; 
33352     wxPoint 
const &arg3_defvalue 
= wxDefaultPosition 
; 
33353     wxPoint 
*arg3 
= (wxPoint 
*) &arg3_defvalue 
; 
33354     wxSize 
const &arg4_defvalue 
= wxDefaultSize 
; 
33355     wxSize 
*arg4 
= (wxSize 
*) &arg4_defvalue 
; 
33356     long arg5 
= (long) wxBU_AUTODRAW 
; 
33357     wxContextHelpButton 
*result
; 
33360     PyObject 
* obj0 
= 0 ; 
33361     PyObject 
* obj1 
= 0 ; 
33362     PyObject 
* obj2 
= 0 ; 
33363     PyObject 
* obj3 
= 0 ; 
33364     PyObject 
* obj4 
= 0 ; 
33365     char *kwnames
[] = { 
33366         (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL 
 
33369     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_ContextHelpButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
; 
33370     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
33371     if (SWIG_arg_fail(1)) SWIG_fail
; 
33374             arg2 
= (int)(SWIG_As_int(obj1
));  
33375             if (SWIG_arg_fail(2)) SWIG_fail
; 
33381             if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
; 
33387             if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
; 
33392             arg5 
= (long)(SWIG_As_long(obj4
));  
33393             if (SWIG_arg_fail(5)) SWIG_fail
; 
33397         if (!wxPyCheckForApp()) SWIG_fail
; 
33398         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
33399         result 
= (wxContextHelpButton 
*)new wxContextHelpButton(arg1
,arg2
,(wxPoint 
const &)*arg3
,(wxSize 
const &)*arg4
,arg5
); 
33401         wxPyEndAllowThreads(__tstate
); 
33402         if (PyErr_Occurred()) SWIG_fail
; 
33404     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextHelpButton
, 1); 
33411 static PyObject 
* ContextHelpButton_swigregister(PyObject 
*, PyObject 
*args
) { 
33413     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
33414     SWIG_TypeClientData(SWIGTYPE_p_wxContextHelpButton
, obj
); 
33416     return Py_BuildValue((char *)""); 
33418 static PyObject 
*_wrap_HelpProvider_Set(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
33419     PyObject 
*resultobj
; 
33420     wxHelpProvider 
*arg1 
= (wxHelpProvider 
*) 0 ; 
33421     wxHelpProvider 
*result
; 
33422     PyObject 
* obj0 
= 0 ; 
33423     char *kwnames
[] = { 
33424         (char *) "helpProvider", NULL 
 
33427     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Set",kwnames
,&obj0
)) goto fail
; 
33428     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION 
| 0); 
33429     if (SWIG_arg_fail(1)) SWIG_fail
; 
33431         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
33432         result 
= (wxHelpProvider 
*)wxHelpProvider::Set(arg1
); 
33434         wxPyEndAllowThreads(__tstate
); 
33435         if (PyErr_Occurred()) SWIG_fail
; 
33437     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpProvider
, 0); 
33444 static PyObject 
*_wrap_HelpProvider_Get(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
33445     PyObject 
*resultobj
; 
33446     wxHelpProvider 
*result
; 
33447     char *kwnames
[] = { 
33451     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":HelpProvider_Get",kwnames
)) goto fail
; 
33453         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
33454         result 
= (wxHelpProvider 
*)wxHelpProvider::Get(); 
33456         wxPyEndAllowThreads(__tstate
); 
33457         if (PyErr_Occurred()) SWIG_fail
; 
33459     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpProvider
, 0); 
33466 static PyObject 
*_wrap_HelpProvider_GetHelp(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
33467     PyObject 
*resultobj
; 
33468     wxHelpProvider 
*arg1 
= (wxHelpProvider 
*) 0 ; 
33469     wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
33471     PyObject 
* obj0 
= 0 ; 
33472     PyObject 
* obj1 
= 0 ; 
33473     char *kwnames
[] = { 
33474         (char *) "self",(char *) "window", NULL 
 
33477     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_GetHelp",kwnames
,&obj0
,&obj1
)) goto fail
; 
33478     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION 
| 0); 
33479     if (SWIG_arg_fail(1)) SWIG_fail
; 
33480     SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
33481     if (SWIG_arg_fail(2)) SWIG_fail
; 
33483         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
33484         result 
= (arg1
)->GetHelp((wxWindow 
const *)arg2
); 
33486         wxPyEndAllowThreads(__tstate
); 
33487         if (PyErr_Occurred()) SWIG_fail
; 
33491         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
33493         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
33502 static PyObject 
*_wrap_HelpProvider_ShowHelp(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
33503     PyObject 
*resultobj
; 
33504     wxHelpProvider 
*arg1 
= (wxHelpProvider 
*) 0 ; 
33505     wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
33507     PyObject 
* obj0 
= 0 ; 
33508     PyObject 
* obj1 
= 0 ; 
33509     char *kwnames
[] = { 
33510         (char *) "self",(char *) "window", NULL 
 
33513     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_ShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
; 
33514     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION 
| 0); 
33515     if (SWIG_arg_fail(1)) SWIG_fail
; 
33516     SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
33517     if (SWIG_arg_fail(2)) SWIG_fail
; 
33519         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
33520         result 
= (bool)(arg1
)->ShowHelp(arg2
); 
33522         wxPyEndAllowThreads(__tstate
); 
33523         if (PyErr_Occurred()) SWIG_fail
; 
33526         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
33534 static PyObject 
*_wrap_HelpProvider_AddHelp(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
33535     PyObject 
*resultobj
; 
33536     wxHelpProvider 
*arg1 
= (wxHelpProvider 
*) 0 ; 
33537     wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
33538     wxString 
*arg3 
= 0 ; 
33539     bool temp3 
= false ; 
33540     PyObject 
* obj0 
= 0 ; 
33541     PyObject 
* obj1 
= 0 ; 
33542     PyObject 
* obj2 
= 0 ; 
33543     char *kwnames
[] = { 
33544         (char *) "self",(char *) "window",(char *) "text", NULL 
 
33547     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
33548     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION 
| 0); 
33549     if (SWIG_arg_fail(1)) SWIG_fail
; 
33550     SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
33551     if (SWIG_arg_fail(2)) SWIG_fail
; 
33553         arg3 
= wxString_in_helper(obj2
); 
33554         if (arg3 
== NULL
) SWIG_fail
; 
33558         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
33559         (arg1
)->AddHelp(arg2
,(wxString 
const &)*arg3
); 
33561         wxPyEndAllowThreads(__tstate
); 
33562         if (PyErr_Occurred()) SWIG_fail
; 
33564     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
33579 static PyObject 
*_wrap_HelpProvider_AddHelpById(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
33580     PyObject 
*resultobj
; 
33581     wxHelpProvider 
*arg1 
= (wxHelpProvider 
*) 0 ; 
33583     wxString 
*arg3 
= 0 ; 
33584     bool temp3 
= false ; 
33585     PyObject 
* obj0 
= 0 ; 
33586     PyObject 
* obj1 
= 0 ; 
33587     PyObject 
* obj2 
= 0 ; 
33588     char *kwnames
[] = { 
33589         (char *) "self",(char *) "id",(char *) "text", NULL 
 
33592     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelpById",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
33593     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION 
| 0); 
33594     if (SWIG_arg_fail(1)) SWIG_fail
; 
33596         arg2 
= (int)(SWIG_As_int(obj1
));  
33597         if (SWIG_arg_fail(2)) SWIG_fail
; 
33600         arg3 
= wxString_in_helper(obj2
); 
33601         if (arg3 
== NULL
) SWIG_fail
; 
33605         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
33606         (arg1
)->AddHelp(arg2
,(wxString 
const &)*arg3
); 
33608         wxPyEndAllowThreads(__tstate
); 
33609         if (PyErr_Occurred()) SWIG_fail
; 
33611     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
33626 static PyObject 
*_wrap_HelpProvider_RemoveHelp(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
33627     PyObject 
*resultobj
; 
33628     wxHelpProvider 
*arg1 
= (wxHelpProvider 
*) 0 ; 
33629     wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
33630     PyObject 
* obj0 
= 0 ; 
33631     PyObject 
* obj1 
= 0 ; 
33632     char *kwnames
[] = { 
33633         (char *) "self",(char *) "window", NULL 
 
33636     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_RemoveHelp",kwnames
,&obj0
,&obj1
)) goto fail
; 
33637     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION 
| 0); 
33638     if (SWIG_arg_fail(1)) SWIG_fail
; 
33639     SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
33640     if (SWIG_arg_fail(2)) SWIG_fail
; 
33642         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
33643         (arg1
)->RemoveHelp(arg2
); 
33645         wxPyEndAllowThreads(__tstate
); 
33646         if (PyErr_Occurred()) SWIG_fail
; 
33648     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
33655 static PyObject 
*_wrap_HelpProvider_Destroy(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
33656     PyObject 
*resultobj
; 
33657     wxHelpProvider 
*arg1 
= (wxHelpProvider 
*) 0 ; 
33658     PyObject 
* obj0 
= 0 ; 
33659     char *kwnames
[] = { 
33660         (char *) "self", NULL 
 
33663     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Destroy",kwnames
,&obj0
)) goto fail
; 
33664     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION 
| 0); 
33665     if (SWIG_arg_fail(1)) SWIG_fail
; 
33667         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
33668         wxHelpProvider_Destroy(arg1
); 
33670         wxPyEndAllowThreads(__tstate
); 
33671         if (PyErr_Occurred()) SWIG_fail
; 
33673     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
33680 static PyObject 
* HelpProvider_swigregister(PyObject 
*, PyObject 
*args
) { 
33682     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
33683     SWIG_TypeClientData(SWIGTYPE_p_wxHelpProvider
, obj
); 
33685     return Py_BuildValue((char *)""); 
33687 static PyObject 
*_wrap_new_SimpleHelpProvider(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
33688     PyObject 
*resultobj
; 
33689     wxSimpleHelpProvider 
*result
; 
33690     char *kwnames
[] = { 
33694     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SimpleHelpProvider",kwnames
)) goto fail
; 
33696         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
33697         result 
= (wxSimpleHelpProvider 
*)new wxSimpleHelpProvider(); 
33699         wxPyEndAllowThreads(__tstate
); 
33700         if (PyErr_Occurred()) SWIG_fail
; 
33702     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSimpleHelpProvider
, 1); 
33709 static PyObject 
* SimpleHelpProvider_swigregister(PyObject 
*, PyObject 
*args
) { 
33711     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
33712     SWIG_TypeClientData(SWIGTYPE_p_wxSimpleHelpProvider
, obj
); 
33714     return Py_BuildValue((char *)""); 
33716 static PyObject 
*_wrap_new_DragImage(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
33717     PyObject 
*resultobj
; 
33718     wxBitmap 
*arg1 
= 0 ; 
33719     wxCursor 
const &arg2_defvalue 
= wxNullCursor 
; 
33720     wxCursor 
*arg2 
= (wxCursor 
*) &arg2_defvalue 
; 
33721     wxGenericDragImage 
*result
; 
33722     PyObject 
* obj0 
= 0 ; 
33723     PyObject 
* obj1 
= 0 ; 
33724     char *kwnames
[] = { 
33725         (char *) "image",(char *) "cursor", NULL 
 
33728     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragImage",kwnames
,&obj0
,&obj1
)) goto fail
; 
33730         SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION 
| 0); 
33731         if (SWIG_arg_fail(1)) SWIG_fail
; 
33732         if (arg1 
== NULL
) { 
33733             SWIG_null_ref("wxBitmap"); 
33735         if (SWIG_arg_fail(1)) SWIG_fail
; 
33739             SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION 
| 0); 
33740             if (SWIG_arg_fail(2)) SWIG_fail
; 
33741             if (arg2 
== NULL
) { 
33742                 SWIG_null_ref("wxCursor"); 
33744             if (SWIG_arg_fail(2)) SWIG_fail
; 
33748         if (!wxPyCheckForApp()) SWIG_fail
; 
33749         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
33750         result 
= (wxGenericDragImage 
*)new wxGenericDragImage((wxBitmap 
const &)*arg1
,(wxCursor 
const &)*arg2
); 
33752         wxPyEndAllowThreads(__tstate
); 
33753         if (PyErr_Occurred()) SWIG_fail
; 
33755     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1); 
33762 static PyObject 
*_wrap_new_DragIcon(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
33763     PyObject 
*resultobj
; 
33765     wxCursor 
const &arg2_defvalue 
= wxNullCursor 
; 
33766     wxCursor 
*arg2 
= (wxCursor 
*) &arg2_defvalue 
; 
33767     wxGenericDragImage 
*result
; 
33768     PyObject 
* obj0 
= 0 ; 
33769     PyObject 
* obj1 
= 0 ; 
33770     char *kwnames
[] = { 
33771         (char *) "image",(char *) "cursor", NULL 
 
33774     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragIcon",kwnames
,&obj0
,&obj1
)) goto fail
; 
33776         SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION 
| 0); 
33777         if (SWIG_arg_fail(1)) SWIG_fail
; 
33778         if (arg1 
== NULL
) { 
33779             SWIG_null_ref("wxIcon"); 
33781         if (SWIG_arg_fail(1)) SWIG_fail
; 
33785             SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION 
| 0); 
33786             if (SWIG_arg_fail(2)) SWIG_fail
; 
33787             if (arg2 
== NULL
) { 
33788                 SWIG_null_ref("wxCursor"); 
33790             if (SWIG_arg_fail(2)) SWIG_fail
; 
33794         if (!wxPyCheckForApp()) SWIG_fail
; 
33795         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
33796         result 
= (wxGenericDragImage 
*)new wxGenericDragImage((wxIcon 
const &)*arg1
,(wxCursor 
const &)*arg2
); 
33798         wxPyEndAllowThreads(__tstate
); 
33799         if (PyErr_Occurred()) SWIG_fail
; 
33801     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1); 
33808 static PyObject 
*_wrap_new_DragString(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
33809     PyObject 
*resultobj
; 
33810     wxString 
*arg1 
= 0 ; 
33811     wxCursor 
const &arg2_defvalue 
= wxNullCursor 
; 
33812     wxCursor 
*arg2 
= (wxCursor 
*) &arg2_defvalue 
; 
33813     wxGenericDragImage 
*result
; 
33814     bool temp1 
= false ; 
33815     PyObject 
* obj0 
= 0 ; 
33816     PyObject 
* obj1 
= 0 ; 
33817     char *kwnames
[] = { 
33818         (char *) "str",(char *) "cursor", NULL 
 
33821     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragString",kwnames
,&obj0
,&obj1
)) goto fail
; 
33823         arg1 
= wxString_in_helper(obj0
); 
33824         if (arg1 
== NULL
) SWIG_fail
; 
33829             SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION 
| 0); 
33830             if (SWIG_arg_fail(2)) SWIG_fail
; 
33831             if (arg2 
== NULL
) { 
33832                 SWIG_null_ref("wxCursor"); 
33834             if (SWIG_arg_fail(2)) SWIG_fail
; 
33838         if (!wxPyCheckForApp()) SWIG_fail
; 
33839         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
33840         result 
= (wxGenericDragImage 
*)new wxGenericDragImage((wxString 
const &)*arg1
,(wxCursor 
const &)*arg2
); 
33842         wxPyEndAllowThreads(__tstate
); 
33843         if (PyErr_Occurred()) SWIG_fail
; 
33845     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1); 
33860 static PyObject 
*_wrap_new_DragTreeItem(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
33861     PyObject 
*resultobj
; 
33862     wxPyTreeCtrl 
*arg1 
= 0 ; 
33863     wxTreeItemId 
*arg2 
= 0 ; 
33864     wxGenericDragImage 
*result
; 
33865     PyObject 
* obj0 
= 0 ; 
33866     PyObject 
* obj1 
= 0 ; 
33867     char *kwnames
[] = { 
33868         (char *) "treeCtrl",(char *) "id", NULL 
 
33871     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragTreeItem",kwnames
,&obj0
,&obj1
)) goto fail
; 
33873         SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
33874         if (SWIG_arg_fail(1)) SWIG_fail
; 
33875         if (arg1 
== NULL
) { 
33876             SWIG_null_ref("wxPyTreeCtrl"); 
33878         if (SWIG_arg_fail(1)) SWIG_fail
; 
33881         SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION 
| 0); 
33882         if (SWIG_arg_fail(2)) SWIG_fail
; 
33883         if (arg2 
== NULL
) { 
33884             SWIG_null_ref("wxTreeItemId"); 
33886         if (SWIG_arg_fail(2)) SWIG_fail
; 
33889         if (!wxPyCheckForApp()) SWIG_fail
; 
33890         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
33891         result 
= (wxGenericDragImage 
*)new wxGenericDragImage((wxPyTreeCtrl 
const &)*arg1
,*arg2
); 
33893         wxPyEndAllowThreads(__tstate
); 
33894         if (PyErr_Occurred()) SWIG_fail
; 
33896     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1); 
33903 static PyObject 
*_wrap_new_DragListItem(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
33904     PyObject 
*resultobj
; 
33905     wxPyListCtrl 
*arg1 
= 0 ; 
33907     wxGenericDragImage 
*result
; 
33908     PyObject 
* obj0 
= 0 ; 
33909     PyObject 
* obj1 
= 0 ; 
33910     char *kwnames
[] = { 
33911         (char *) "listCtrl",(char *) "id", NULL 
 
33914     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragListItem",kwnames
,&obj0
,&obj1
)) goto fail
; 
33916         SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION 
| 0); 
33917         if (SWIG_arg_fail(1)) SWIG_fail
; 
33918         if (arg1 
== NULL
) { 
33919             SWIG_null_ref("wxPyListCtrl"); 
33921         if (SWIG_arg_fail(1)) SWIG_fail
; 
33924         arg2 
= (long)(SWIG_As_long(obj1
));  
33925         if (SWIG_arg_fail(2)) SWIG_fail
; 
33928         if (!wxPyCheckForApp()) SWIG_fail
; 
33929         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
33930         result 
= (wxGenericDragImage 
*)new wxGenericDragImage((wxPyListCtrl 
const &)*arg1
,arg2
); 
33932         wxPyEndAllowThreads(__tstate
); 
33933         if (PyErr_Occurred()) SWIG_fail
; 
33935     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1); 
33942 static PyObject 
*_wrap_delete_DragImage(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
33943     PyObject 
*resultobj
; 
33944     wxGenericDragImage 
*arg1 
= (wxGenericDragImage 
*) 0 ; 
33945     PyObject 
* obj0 
= 0 ; 
33946     char *kwnames
[] = { 
33947         (char *) "self", NULL 
 
33950     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DragImage",kwnames
,&obj0
)) goto fail
; 
33951     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION 
| 0); 
33952     if (SWIG_arg_fail(1)) SWIG_fail
; 
33954         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
33957         wxPyEndAllowThreads(__tstate
); 
33958         if (PyErr_Occurred()) SWIG_fail
; 
33960     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
33967 static PyObject 
*_wrap_DragImage_SetBackingBitmap(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
33968     PyObject 
*resultobj
; 
33969     wxGenericDragImage 
*arg1 
= (wxGenericDragImage 
*) 0 ; 
33970     wxBitmap 
*arg2 
= (wxBitmap 
*) 0 ; 
33971     PyObject 
* obj0 
= 0 ; 
33972     PyObject 
* obj1 
= 0 ; 
33973     char *kwnames
[] = { 
33974         (char *) "self",(char *) "bitmap", NULL 
 
33977     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_SetBackingBitmap",kwnames
,&obj0
,&obj1
)) goto fail
; 
33978     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION 
| 0); 
33979     if (SWIG_arg_fail(1)) SWIG_fail
; 
33980     SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION 
| 0); 
33981     if (SWIG_arg_fail(2)) SWIG_fail
; 
33983         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
33984         (arg1
)->SetBackingBitmap(arg2
); 
33986         wxPyEndAllowThreads(__tstate
); 
33987         if (PyErr_Occurred()) SWIG_fail
; 
33989     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
33996 static PyObject 
*_wrap_DragImage_BeginDrag(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
33997     PyObject 
*resultobj
; 
33998     wxGenericDragImage 
*arg1 
= (wxGenericDragImage 
*) 0 ; 
33999     wxPoint 
*arg2 
= 0 ; 
34000     wxWindow 
*arg3 
= (wxWindow 
*) 0 ; 
34001     bool arg4 
= (bool) false ; 
34002     wxRect 
*arg5 
= (wxRect 
*) NULL 
; 
34005     PyObject 
* obj0 
= 0 ; 
34006     PyObject 
* obj1 
= 0 ; 
34007     PyObject 
* obj2 
= 0 ; 
34008     PyObject 
* obj3 
= 0 ; 
34009     PyObject 
* obj4 
= 0 ; 
34010     char *kwnames
[] = { 
34011         (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL 
 
34014     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DragImage_BeginDrag",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
; 
34015     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION 
| 0); 
34016     if (SWIG_arg_fail(1)) SWIG_fail
; 
34019         if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
34021     SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
34022     if (SWIG_arg_fail(3)) SWIG_fail
; 
34025             arg4 
= (bool)(SWIG_As_bool(obj3
));  
34026             if (SWIG_arg_fail(4)) SWIG_fail
; 
34030         SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION 
| 0); 
34031         if (SWIG_arg_fail(5)) SWIG_fail
; 
34034         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
34035         result 
= (bool)(arg1
)->BeginDrag((wxPoint 
const &)*arg2
,arg3
,arg4
,arg5
); 
34037         wxPyEndAllowThreads(__tstate
); 
34038         if (PyErr_Occurred()) SWIG_fail
; 
34041         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
34049 static PyObject 
*_wrap_DragImage_BeginDragBounded(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
34050     PyObject 
*resultobj
; 
34051     wxGenericDragImage 
*arg1 
= (wxGenericDragImage 
*) 0 ; 
34052     wxPoint 
*arg2 
= 0 ; 
34053     wxWindow 
*arg3 
= (wxWindow 
*) 0 ; 
34054     wxWindow 
*arg4 
= (wxWindow 
*) 0 ; 
34057     PyObject 
* obj0 
= 0 ; 
34058     PyObject 
* obj1 
= 0 ; 
34059     PyObject 
* obj2 
= 0 ; 
34060     PyObject 
* obj3 
= 0 ; 
34061     char *kwnames
[] = { 
34062         (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL 
 
34065     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DragImage_BeginDragBounded",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
34066     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION 
| 0); 
34067     if (SWIG_arg_fail(1)) SWIG_fail
; 
34070         if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
34072     SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
34073     if (SWIG_arg_fail(3)) SWIG_fail
; 
34074     SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
34075     if (SWIG_arg_fail(4)) SWIG_fail
; 
34077         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
34078         result 
= (bool)(arg1
)->BeginDrag((wxPoint 
const &)*arg2
,arg3
,arg4
); 
34080         wxPyEndAllowThreads(__tstate
); 
34081         if (PyErr_Occurred()) SWIG_fail
; 
34084         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
34092 static PyObject 
*_wrap_DragImage_EndDrag(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
34093     PyObject 
*resultobj
; 
34094     wxGenericDragImage 
*arg1 
= (wxGenericDragImage 
*) 0 ; 
34096     PyObject 
* obj0 
= 0 ; 
34097     char *kwnames
[] = { 
34098         (char *) "self", NULL 
 
34101     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_EndDrag",kwnames
,&obj0
)) goto fail
; 
34102     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION 
| 0); 
34103     if (SWIG_arg_fail(1)) SWIG_fail
; 
34105         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
34106         result 
= (bool)(arg1
)->EndDrag(); 
34108         wxPyEndAllowThreads(__tstate
); 
34109         if (PyErr_Occurred()) SWIG_fail
; 
34112         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
34120 static PyObject 
*_wrap_DragImage_Move(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
34121     PyObject 
*resultobj
; 
34122     wxGenericDragImage 
*arg1 
= (wxGenericDragImage 
*) 0 ; 
34123     wxPoint 
*arg2 
= 0 ; 
34126     PyObject 
* obj0 
= 0 ; 
34127     PyObject 
* obj1 
= 0 ; 
34128     char *kwnames
[] = { 
34129         (char *) "self",(char *) "pt", NULL 
 
34132     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_Move",kwnames
,&obj0
,&obj1
)) goto fail
; 
34133     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION 
| 0); 
34134     if (SWIG_arg_fail(1)) SWIG_fail
; 
34137         if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
34140         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
34141         result 
= (bool)(arg1
)->Move((wxPoint 
const &)*arg2
); 
34143         wxPyEndAllowThreads(__tstate
); 
34144         if (PyErr_Occurred()) SWIG_fail
; 
34147         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
34155 static PyObject 
*_wrap_DragImage_Show(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
34156     PyObject 
*resultobj
; 
34157     wxGenericDragImage 
*arg1 
= (wxGenericDragImage 
*) 0 ; 
34159     PyObject 
* obj0 
= 0 ; 
34160     char *kwnames
[] = { 
34161         (char *) "self", NULL 
 
34164     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Show",kwnames
,&obj0
)) goto fail
; 
34165     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION 
| 0); 
34166     if (SWIG_arg_fail(1)) SWIG_fail
; 
34168         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
34169         result 
= (bool)(arg1
)->Show(); 
34171         wxPyEndAllowThreads(__tstate
); 
34172         if (PyErr_Occurred()) SWIG_fail
; 
34175         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
34183 static PyObject 
*_wrap_DragImage_Hide(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
34184     PyObject 
*resultobj
; 
34185     wxGenericDragImage 
*arg1 
= (wxGenericDragImage 
*) 0 ; 
34187     PyObject 
* obj0 
= 0 ; 
34188     char *kwnames
[] = { 
34189         (char *) "self", NULL 
 
34192     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Hide",kwnames
,&obj0
)) goto fail
; 
34193     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION 
| 0); 
34194     if (SWIG_arg_fail(1)) SWIG_fail
; 
34196         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
34197         result 
= (bool)(arg1
)->Hide(); 
34199         wxPyEndAllowThreads(__tstate
); 
34200         if (PyErr_Occurred()) SWIG_fail
; 
34203         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
34211 static PyObject 
*_wrap_DragImage_GetImageRect(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
34212     PyObject 
*resultobj
; 
34213     wxGenericDragImage 
*arg1 
= (wxGenericDragImage 
*) 0 ; 
34214     wxPoint 
*arg2 
= 0 ; 
34217     PyObject 
* obj0 
= 0 ; 
34218     PyObject 
* obj1 
= 0 ; 
34219     char *kwnames
[] = { 
34220         (char *) "self",(char *) "pos", NULL 
 
34223     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_GetImageRect",kwnames
,&obj0
,&obj1
)) goto fail
; 
34224     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION 
| 0); 
34225     if (SWIG_arg_fail(1)) SWIG_fail
; 
34228         if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
34231         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
34232         result 
= ((wxGenericDragImage 
const *)arg1
)->GetImageRect((wxPoint 
const &)*arg2
); 
34234         wxPyEndAllowThreads(__tstate
); 
34235         if (PyErr_Occurred()) SWIG_fail
; 
34238         wxRect 
* resultptr
; 
34239         resultptr 
= new wxRect((wxRect 
&)(result
)); 
34240         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1); 
34248 static PyObject 
*_wrap_DragImage_DoDrawImage(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
34249     PyObject 
*resultobj
; 
34250     wxGenericDragImage 
*arg1 
= (wxGenericDragImage 
*) 0 ; 
34252     wxPoint 
*arg3 
= 0 ; 
34255     PyObject 
* obj0 
= 0 ; 
34256     PyObject 
* obj1 
= 0 ; 
34257     PyObject 
* obj2 
= 0 ; 
34258     char *kwnames
[] = { 
34259         (char *) "self",(char *) "dc",(char *) "pos", NULL 
 
34262     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DragImage_DoDrawImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
34263     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION 
| 0); 
34264     if (SWIG_arg_fail(1)) SWIG_fail
; 
34266         SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
34267         if (SWIG_arg_fail(2)) SWIG_fail
; 
34268         if (arg2 
== NULL
) { 
34269             SWIG_null_ref("wxDC"); 
34271         if (SWIG_arg_fail(2)) SWIG_fail
; 
34275         if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
; 
34278         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
34279         result 
= (bool)((wxGenericDragImage 
const *)arg1
)->DoDrawImage(*arg2
,(wxPoint 
const &)*arg3
); 
34281         wxPyEndAllowThreads(__tstate
); 
34282         if (PyErr_Occurred()) SWIG_fail
; 
34285         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
34293 static PyObject 
*_wrap_DragImage_UpdateBackingFromWindow(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
34294     PyObject 
*resultobj
; 
34295     wxGenericDragImage 
*arg1 
= (wxGenericDragImage 
*) 0 ; 
34297     wxMemoryDC 
*arg3 
= 0 ; 
34303     PyObject 
* obj0 
= 0 ; 
34304     PyObject 
* obj1 
= 0 ; 
34305     PyObject 
* obj2 
= 0 ; 
34306     PyObject 
* obj3 
= 0 ; 
34307     PyObject 
* obj4 
= 0 ; 
34308     char *kwnames
[] = { 
34309         (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL 
 
34312     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
; 
34313     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION 
| 0); 
34314     if (SWIG_arg_fail(1)) SWIG_fail
; 
34316         SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
34317         if (SWIG_arg_fail(2)) SWIG_fail
; 
34318         if (arg2 
== NULL
) { 
34319             SWIG_null_ref("wxDC"); 
34321         if (SWIG_arg_fail(2)) SWIG_fail
; 
34324         SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_EXCEPTION 
| 0); 
34325         if (SWIG_arg_fail(3)) SWIG_fail
; 
34326         if (arg3 
== NULL
) { 
34327             SWIG_null_ref("wxMemoryDC"); 
34329         if (SWIG_arg_fail(3)) SWIG_fail
; 
34333         if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
; 
34337         if ( ! wxRect_helper(obj4
, &arg5
)) SWIG_fail
; 
34340         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
34341         result 
= (bool)((wxGenericDragImage 
const *)arg1
)->UpdateBackingFromWindow(*arg2
,*arg3
,(wxRect 
const &)*arg4
,(wxRect 
const &)*arg5
); 
34343         wxPyEndAllowThreads(__tstate
); 
34344         if (PyErr_Occurred()) SWIG_fail
; 
34347         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
34355 static PyObject 
*_wrap_DragImage_RedrawImage(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
34356     PyObject 
*resultobj
; 
34357     wxGenericDragImage 
*arg1 
= (wxGenericDragImage 
*) 0 ; 
34358     wxPoint 
*arg2 
= 0 ; 
34359     wxPoint 
*arg3 
= 0 ; 
34365     PyObject 
* obj0 
= 0 ; 
34366     PyObject 
* obj1 
= 0 ; 
34367     PyObject 
* obj2 
= 0 ; 
34368     PyObject 
* obj3 
= 0 ; 
34369     PyObject 
* obj4 
= 0 ; 
34370     char *kwnames
[] = { 
34371         (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL 
 
34374     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_RedrawImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
; 
34375     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION 
| 0); 
34376     if (SWIG_arg_fail(1)) SWIG_fail
; 
34379         if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
34383         if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
; 
34386         arg4 
= (bool)(SWIG_As_bool(obj3
));  
34387         if (SWIG_arg_fail(4)) SWIG_fail
; 
34390         arg5 
= (bool)(SWIG_As_bool(obj4
));  
34391         if (SWIG_arg_fail(5)) SWIG_fail
; 
34394         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
34395         result 
= (bool)(arg1
)->RedrawImage((wxPoint 
const &)*arg2
,(wxPoint 
const &)*arg3
,arg4
,arg5
); 
34397         wxPyEndAllowThreads(__tstate
); 
34398         if (PyErr_Occurred()) SWIG_fail
; 
34401         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
34409 static PyObject 
* DragImage_swigregister(PyObject 
*, PyObject 
*args
) { 
34411     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
34412     SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage
, obj
); 
34414     return Py_BuildValue((char *)""); 
34416 static PyMethodDef SwigMethods
[] = { 
34417          { (char *)"new_Button", (PyCFunction
) _wrap_new_Button
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34418          { (char *)"new_PreButton", (PyCFunction
) _wrap_new_PreButton
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34419          { (char *)"Button_Create", (PyCFunction
) _wrap_Button_Create
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34420          { (char *)"Button_SetDefault", (PyCFunction
) _wrap_Button_SetDefault
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34421          { (char *)"Button_GetDefaultSize", (PyCFunction
) _wrap_Button_GetDefaultSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34422          { (char *)"Button_GetClassDefaultAttributes", (PyCFunction
) _wrap_Button_GetClassDefaultAttributes
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34423          { (char *)"Button_swigregister", Button_swigregister
, METH_VARARGS
, NULL
}, 
34424          { (char *)"new_BitmapButton", (PyCFunction
) _wrap_new_BitmapButton
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34425          { (char *)"new_PreBitmapButton", (PyCFunction
) _wrap_new_PreBitmapButton
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34426          { (char *)"BitmapButton_Create", (PyCFunction
) _wrap_BitmapButton_Create
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34427          { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_GetBitmapLabel
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34428          { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_GetBitmapDisabled
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34429          { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_GetBitmapFocus
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34430          { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_GetBitmapSelected
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34431          { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_SetBitmapDisabled
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34432          { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_SetBitmapFocus
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34433          { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_SetBitmapSelected
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34434          { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_SetBitmapLabel
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34435          { (char *)"BitmapButton_SetMargins", (PyCFunction
) _wrap_BitmapButton_SetMargins
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34436          { (char *)"BitmapButton_GetMarginX", (PyCFunction
) _wrap_BitmapButton_GetMarginX
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34437          { (char *)"BitmapButton_GetMarginY", (PyCFunction
) _wrap_BitmapButton_GetMarginY
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34438          { (char *)"BitmapButton_swigregister", BitmapButton_swigregister
, METH_VARARGS
, NULL
}, 
34439          { (char *)"new_CheckBox", (PyCFunction
) _wrap_new_CheckBox
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34440          { (char *)"new_PreCheckBox", (PyCFunction
) _wrap_new_PreCheckBox
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34441          { (char *)"CheckBox_Create", (PyCFunction
) _wrap_CheckBox_Create
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34442          { (char *)"CheckBox_GetValue", (PyCFunction
) _wrap_CheckBox_GetValue
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34443          { (char *)"CheckBox_IsChecked", (PyCFunction
) _wrap_CheckBox_IsChecked
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34444          { (char *)"CheckBox_SetValue", (PyCFunction
) _wrap_CheckBox_SetValue
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34445          { (char *)"CheckBox_Get3StateValue", (PyCFunction
) _wrap_CheckBox_Get3StateValue
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34446          { (char *)"CheckBox_Set3StateValue", (PyCFunction
) _wrap_CheckBox_Set3StateValue
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34447          { (char *)"CheckBox_Is3State", (PyCFunction
) _wrap_CheckBox_Is3State
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34448          { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction
) _wrap_CheckBox_Is3rdStateAllowedForUser
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34449          { (char *)"CheckBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_CheckBox_GetClassDefaultAttributes
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34450          { (char *)"CheckBox_swigregister", CheckBox_swigregister
, METH_VARARGS
, NULL
}, 
34451          { (char *)"new_Choice", (PyCFunction
) _wrap_new_Choice
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34452          { (char *)"new_PreChoice", (PyCFunction
) _wrap_new_PreChoice
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34453          { (char *)"Choice_Create", (PyCFunction
) _wrap_Choice_Create
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34454          { (char *)"Choice_SetSelection", (PyCFunction
) _wrap_Choice_SetSelection
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34455          { (char *)"Choice_SetStringSelection", (PyCFunction
) _wrap_Choice_SetStringSelection
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34456          { (char *)"Choice_SetString", (PyCFunction
) _wrap_Choice_SetString
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34457          { (char *)"Choice_GetClassDefaultAttributes", (PyCFunction
) _wrap_Choice_GetClassDefaultAttributes
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34458          { (char *)"Choice_swigregister", Choice_swigregister
, METH_VARARGS
, NULL
}, 
34459          { (char *)"new_ComboBox", (PyCFunction
) _wrap_new_ComboBox
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34460          { (char *)"new_PreComboBox", (PyCFunction
) _wrap_new_PreComboBox
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34461          { (char *)"ComboBox_Create", (PyCFunction
) _wrap_ComboBox_Create
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34462          { (char *)"ComboBox_GetValue", (PyCFunction
) _wrap_ComboBox_GetValue
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34463          { (char *)"ComboBox_SetValue", (PyCFunction
) _wrap_ComboBox_SetValue
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34464          { (char *)"ComboBox_Copy", (PyCFunction
) _wrap_ComboBox_Copy
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34465          { (char *)"ComboBox_Cut", (PyCFunction
) _wrap_ComboBox_Cut
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34466          { (char *)"ComboBox_Paste", (PyCFunction
) _wrap_ComboBox_Paste
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34467          { (char *)"ComboBox_SetInsertionPoint", (PyCFunction
) _wrap_ComboBox_SetInsertionPoint
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34468          { (char *)"ComboBox_GetInsertionPoint", (PyCFunction
) _wrap_ComboBox_GetInsertionPoint
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34469          { (char *)"ComboBox_GetLastPosition", (PyCFunction
) _wrap_ComboBox_GetLastPosition
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34470          { (char *)"ComboBox_Replace", (PyCFunction
) _wrap_ComboBox_Replace
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34471          { (char *)"ComboBox_SetSelection", (PyCFunction
) _wrap_ComboBox_SetSelection
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34472          { (char *)"ComboBox_SetMark", (PyCFunction
) _wrap_ComboBox_SetMark
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34473          { (char *)"ComboBox_SetStringSelection", (PyCFunction
) _wrap_ComboBox_SetStringSelection
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34474          { (char *)"ComboBox_SetString", (PyCFunction
) _wrap_ComboBox_SetString
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34475          { (char *)"ComboBox_SetEditable", (PyCFunction
) _wrap_ComboBox_SetEditable
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34476          { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction
) _wrap_ComboBox_SetInsertionPointEnd
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34477          { (char *)"ComboBox_Remove", (PyCFunction
) _wrap_ComboBox_Remove
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34478          { (char *)"ComboBox_IsEditable", (PyCFunction
) _wrap_ComboBox_IsEditable
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34479          { (char *)"ComboBox_Undo", (PyCFunction
) _wrap_ComboBox_Undo
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34480          { (char *)"ComboBox_Redo", (PyCFunction
) _wrap_ComboBox_Redo
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34481          { (char *)"ComboBox_SelectAll", (PyCFunction
) _wrap_ComboBox_SelectAll
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34482          { (char *)"ComboBox_CanCopy", (PyCFunction
) _wrap_ComboBox_CanCopy
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34483          { (char *)"ComboBox_CanCut", (PyCFunction
) _wrap_ComboBox_CanCut
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34484          { (char *)"ComboBox_CanPaste", (PyCFunction
) _wrap_ComboBox_CanPaste
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34485          { (char *)"ComboBox_CanUndo", (PyCFunction
) _wrap_ComboBox_CanUndo
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34486          { (char *)"ComboBox_CanRedo", (PyCFunction
) _wrap_ComboBox_CanRedo
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34487          { (char *)"ComboBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ComboBox_GetClassDefaultAttributes
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34488          { (char *)"ComboBox_swigregister", ComboBox_swigregister
, METH_VARARGS
, NULL
}, 
34489          { (char *)"new_Gauge", (PyCFunction
) _wrap_new_Gauge
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34490          { (char *)"new_PreGauge", (PyCFunction
) _wrap_new_PreGauge
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34491          { (char *)"Gauge_Create", (PyCFunction
) _wrap_Gauge_Create
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34492          { (char *)"Gauge_SetRange", (PyCFunction
) _wrap_Gauge_SetRange
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34493          { (char *)"Gauge_GetRange", (PyCFunction
) _wrap_Gauge_GetRange
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34494          { (char *)"Gauge_SetValue", (PyCFunction
) _wrap_Gauge_SetValue
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34495          { (char *)"Gauge_GetValue", (PyCFunction
) _wrap_Gauge_GetValue
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34496          { (char *)"Gauge_IsVertical", (PyCFunction
) _wrap_Gauge_IsVertical
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34497          { (char *)"Gauge_SetShadowWidth", (PyCFunction
) _wrap_Gauge_SetShadowWidth
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34498          { (char *)"Gauge_GetShadowWidth", (PyCFunction
) _wrap_Gauge_GetShadowWidth
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34499          { (char *)"Gauge_SetBezelFace", (PyCFunction
) _wrap_Gauge_SetBezelFace
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34500          { (char *)"Gauge_GetBezelFace", (PyCFunction
) _wrap_Gauge_GetBezelFace
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34501          { (char *)"Gauge_GetClassDefaultAttributes", (PyCFunction
) _wrap_Gauge_GetClassDefaultAttributes
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34502          { (char *)"Gauge_swigregister", Gauge_swigregister
, METH_VARARGS
, NULL
}, 
34503          { (char *)"new_StaticBox", (PyCFunction
) _wrap_new_StaticBox
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34504          { (char *)"new_PreStaticBox", (PyCFunction
) _wrap_new_PreStaticBox
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34505          { (char *)"StaticBox_Create", (PyCFunction
) _wrap_StaticBox_Create
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34506          { (char *)"StaticBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBox_GetClassDefaultAttributes
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34507          { (char *)"StaticBox_swigregister", StaticBox_swigregister
, METH_VARARGS
, NULL
}, 
34508          { (char *)"new_StaticLine", (PyCFunction
) _wrap_new_StaticLine
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34509          { (char *)"new_PreStaticLine", (PyCFunction
) _wrap_new_PreStaticLine
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34510          { (char *)"StaticLine_Create", (PyCFunction
) _wrap_StaticLine_Create
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34511          { (char *)"StaticLine_IsVertical", (PyCFunction
) _wrap_StaticLine_IsVertical
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34512          { (char *)"StaticLine_GetDefaultSize", (PyCFunction
) _wrap_StaticLine_GetDefaultSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34513          { (char *)"StaticLine_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticLine_GetClassDefaultAttributes
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34514          { (char *)"StaticLine_swigregister", StaticLine_swigregister
, METH_VARARGS
, NULL
}, 
34515          { (char *)"new_StaticText", (PyCFunction
) _wrap_new_StaticText
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34516          { (char *)"new_PreStaticText", (PyCFunction
) _wrap_new_PreStaticText
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34517          { (char *)"StaticText_Create", (PyCFunction
) _wrap_StaticText_Create
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34518          { (char *)"StaticText_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticText_GetClassDefaultAttributes
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34519          { (char *)"StaticText_swigregister", StaticText_swigregister
, METH_VARARGS
, NULL
}, 
34520          { (char *)"new_StaticBitmap", (PyCFunction
) _wrap_new_StaticBitmap
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34521          { (char *)"new_PreStaticBitmap", (PyCFunction
) _wrap_new_PreStaticBitmap
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34522          { (char *)"StaticBitmap_Create", (PyCFunction
) _wrap_StaticBitmap_Create
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34523          { (char *)"StaticBitmap_GetBitmap", (PyCFunction
) _wrap_StaticBitmap_GetBitmap
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34524          { (char *)"StaticBitmap_SetBitmap", (PyCFunction
) _wrap_StaticBitmap_SetBitmap
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34525          { (char *)"StaticBitmap_SetIcon", (PyCFunction
) _wrap_StaticBitmap_SetIcon
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34526          { (char *)"StaticBitmap_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBitmap_GetClassDefaultAttributes
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34527          { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister
, METH_VARARGS
, NULL
}, 
34528          { (char *)"new_ListBox", (PyCFunction
) _wrap_new_ListBox
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34529          { (char *)"new_PreListBox", (PyCFunction
) _wrap_new_PreListBox
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34530          { (char *)"ListBox_Create", (PyCFunction
) _wrap_ListBox_Create
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34531          { (char *)"ListBox_Insert", (PyCFunction
) _wrap_ListBox_Insert
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34532          { (char *)"ListBox_InsertItems", (PyCFunction
) _wrap_ListBox_InsertItems
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34533          { (char *)"ListBox_Set", (PyCFunction
) _wrap_ListBox_Set
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34534          { (char *)"ListBox_IsSelected", (PyCFunction
) _wrap_ListBox_IsSelected
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34535          { (char *)"ListBox_SetSelection", (PyCFunction
) _wrap_ListBox_SetSelection
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34536          { (char *)"ListBox_Select", (PyCFunction
) _wrap_ListBox_Select
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34537          { (char *)"ListBox_Deselect", (PyCFunction
) _wrap_ListBox_Deselect
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34538          { (char *)"ListBox_DeselectAll", (PyCFunction
) _wrap_ListBox_DeselectAll
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34539          { (char *)"ListBox_SetStringSelection", (PyCFunction
) _wrap_ListBox_SetStringSelection
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34540          { (char *)"ListBox_GetSelections", (PyCFunction
) _wrap_ListBox_GetSelections
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34541          { (char *)"ListBox_SetFirstItem", (PyCFunction
) _wrap_ListBox_SetFirstItem
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34542          { (char *)"ListBox_SetFirstItemStr", (PyCFunction
) _wrap_ListBox_SetFirstItemStr
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34543          { (char *)"ListBox_EnsureVisible", (PyCFunction
) _wrap_ListBox_EnsureVisible
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34544          { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction
) _wrap_ListBox_AppendAndEnsureVisible
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34545          { (char *)"ListBox_IsSorted", (PyCFunction
) _wrap_ListBox_IsSorted
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34546          { (char *)"ListBox_SetItemForegroundColour", (PyCFunction
) _wrap_ListBox_SetItemForegroundColour
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34547          { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction
) _wrap_ListBox_SetItemBackgroundColour
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34548          { (char *)"ListBox_SetItemFont", (PyCFunction
) _wrap_ListBox_SetItemFont
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34549          { (char *)"ListBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListBox_GetClassDefaultAttributes
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34550          { (char *)"ListBox_swigregister", ListBox_swigregister
, METH_VARARGS
, NULL
}, 
34551          { (char *)"new_CheckListBox", (PyCFunction
) _wrap_new_CheckListBox
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34552          { (char *)"new_PreCheckListBox", (PyCFunction
) _wrap_new_PreCheckListBox
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34553          { (char *)"CheckListBox_Create", (PyCFunction
) _wrap_CheckListBox_Create
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34554          { (char *)"CheckListBox_IsChecked", (PyCFunction
) _wrap_CheckListBox_IsChecked
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34555          { (char *)"CheckListBox_Check", (PyCFunction
) _wrap_CheckListBox_Check
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34556          { (char *)"CheckListBox_GetItemHeight", (PyCFunction
) _wrap_CheckListBox_GetItemHeight
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34557          { (char *)"CheckListBox_HitTest", (PyCFunction
) _wrap_CheckListBox_HitTest
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34558          { (char *)"CheckListBox_HitTestXY", (PyCFunction
) _wrap_CheckListBox_HitTestXY
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34559          { (char *)"CheckListBox_swigregister", CheckListBox_swigregister
, METH_VARARGS
, NULL
}, 
34560          { (char *)"new_TextAttr", (PyCFunction
) _wrap_new_TextAttr
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34561          { (char *)"delete_TextAttr", (PyCFunction
) _wrap_delete_TextAttr
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34562          { (char *)"TextAttr_Init", (PyCFunction
) _wrap_TextAttr_Init
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34563          { (char *)"TextAttr_SetTextColour", (PyCFunction
) _wrap_TextAttr_SetTextColour
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34564          { (char *)"TextAttr_SetBackgroundColour", (PyCFunction
) _wrap_TextAttr_SetBackgroundColour
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34565          { (char *)"TextAttr_SetFont", (PyCFunction
) _wrap_TextAttr_SetFont
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34566          { (char *)"TextAttr_SetAlignment", (PyCFunction
) _wrap_TextAttr_SetAlignment
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34567          { (char *)"TextAttr_SetTabs", (PyCFunction
) _wrap_TextAttr_SetTabs
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34568          { (char *)"TextAttr_SetLeftIndent", (PyCFunction
) _wrap_TextAttr_SetLeftIndent
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34569          { (char *)"TextAttr_SetRightIndent", (PyCFunction
) _wrap_TextAttr_SetRightIndent
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34570          { (char *)"TextAttr_SetFlags", (PyCFunction
) _wrap_TextAttr_SetFlags
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34571          { (char *)"TextAttr_HasTextColour", (PyCFunction
) _wrap_TextAttr_HasTextColour
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34572          { (char *)"TextAttr_HasBackgroundColour", (PyCFunction
) _wrap_TextAttr_HasBackgroundColour
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34573          { (char *)"TextAttr_HasFont", (PyCFunction
) _wrap_TextAttr_HasFont
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34574          { (char *)"TextAttr_HasAlignment", (PyCFunction
) _wrap_TextAttr_HasAlignment
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34575          { (char *)"TextAttr_HasTabs", (PyCFunction
) _wrap_TextAttr_HasTabs
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34576          { (char *)"TextAttr_HasLeftIndent", (PyCFunction
) _wrap_TextAttr_HasLeftIndent
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34577          { (char *)"TextAttr_HasRightIndent", (PyCFunction
) _wrap_TextAttr_HasRightIndent
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34578          { (char *)"TextAttr_HasFlag", (PyCFunction
) _wrap_TextAttr_HasFlag
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34579          { (char *)"TextAttr_GetTextColour", (PyCFunction
) _wrap_TextAttr_GetTextColour
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34580          { (char *)"TextAttr_GetBackgroundColour", (PyCFunction
) _wrap_TextAttr_GetBackgroundColour
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34581          { (char *)"TextAttr_GetFont", (PyCFunction
) _wrap_TextAttr_GetFont
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34582          { (char *)"TextAttr_GetAlignment", (PyCFunction
) _wrap_TextAttr_GetAlignment
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34583          { (char *)"TextAttr_GetTabs", (PyCFunction
) _wrap_TextAttr_GetTabs
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34584          { (char *)"TextAttr_GetLeftIndent", (PyCFunction
) _wrap_TextAttr_GetLeftIndent
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34585          { (char *)"TextAttr_GetLeftSubIndent", (PyCFunction
) _wrap_TextAttr_GetLeftSubIndent
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34586          { (char *)"TextAttr_GetRightIndent", (PyCFunction
) _wrap_TextAttr_GetRightIndent
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34587          { (char *)"TextAttr_GetFlags", (PyCFunction
) _wrap_TextAttr_GetFlags
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34588          { (char *)"TextAttr_IsDefault", (PyCFunction
) _wrap_TextAttr_IsDefault
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34589          { (char *)"TextAttr_Combine", (PyCFunction
) _wrap_TextAttr_Combine
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34590          { (char *)"TextAttr_swigregister", TextAttr_swigregister
, METH_VARARGS
, NULL
}, 
34591          { (char *)"new_TextCtrl", (PyCFunction
) _wrap_new_TextCtrl
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34592          { (char *)"new_PreTextCtrl", (PyCFunction
) _wrap_new_PreTextCtrl
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34593          { (char *)"TextCtrl_Create", (PyCFunction
) _wrap_TextCtrl_Create
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34594          { (char *)"TextCtrl_GetValue", (PyCFunction
) _wrap_TextCtrl_GetValue
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34595          { (char *)"TextCtrl_SetValue", (PyCFunction
) _wrap_TextCtrl_SetValue
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34596          { (char *)"TextCtrl_GetRange", (PyCFunction
) _wrap_TextCtrl_GetRange
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34597          { (char *)"TextCtrl_GetLineLength", (PyCFunction
) _wrap_TextCtrl_GetLineLength
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34598          { (char *)"TextCtrl_GetLineText", (PyCFunction
) _wrap_TextCtrl_GetLineText
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34599          { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction
) _wrap_TextCtrl_GetNumberOfLines
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34600          { (char *)"TextCtrl_IsModified", (PyCFunction
) _wrap_TextCtrl_IsModified
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34601          { (char *)"TextCtrl_IsEditable", (PyCFunction
) _wrap_TextCtrl_IsEditable
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34602          { (char *)"TextCtrl_IsSingleLine", (PyCFunction
) _wrap_TextCtrl_IsSingleLine
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34603          { (char *)"TextCtrl_IsMultiLine", (PyCFunction
) _wrap_TextCtrl_IsMultiLine
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34604          { (char *)"TextCtrl_GetSelection", (PyCFunction
) _wrap_TextCtrl_GetSelection
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34605          { (char *)"TextCtrl_GetStringSelection", (PyCFunction
) _wrap_TextCtrl_GetStringSelection
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34606          { (char *)"TextCtrl_Clear", (PyCFunction
) _wrap_TextCtrl_Clear
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34607          { (char *)"TextCtrl_Replace", (PyCFunction
) _wrap_TextCtrl_Replace
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34608          { (char *)"TextCtrl_Remove", (PyCFunction
) _wrap_TextCtrl_Remove
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34609          { (char *)"TextCtrl_LoadFile", (PyCFunction
) _wrap_TextCtrl_LoadFile
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34610          { (char *)"TextCtrl_SaveFile", (PyCFunction
) _wrap_TextCtrl_SaveFile
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34611          { (char *)"TextCtrl_MarkDirty", (PyCFunction
) _wrap_TextCtrl_MarkDirty
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34612          { (char *)"TextCtrl_DiscardEdits", (PyCFunction
) _wrap_TextCtrl_DiscardEdits
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34613          { (char *)"TextCtrl_SetMaxLength", (PyCFunction
) _wrap_TextCtrl_SetMaxLength
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34614          { (char *)"TextCtrl_WriteText", (PyCFunction
) _wrap_TextCtrl_WriteText
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34615          { (char *)"TextCtrl_AppendText", (PyCFunction
) _wrap_TextCtrl_AppendText
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34616          { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction
) _wrap_TextCtrl_EmulateKeyPress
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34617          { (char *)"TextCtrl_SetStyle", (PyCFunction
) _wrap_TextCtrl_SetStyle
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34618          { (char *)"TextCtrl_GetStyle", (PyCFunction
) _wrap_TextCtrl_GetStyle
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34619          { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_SetDefaultStyle
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34620          { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_GetDefaultStyle
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34621          { (char *)"TextCtrl_XYToPosition", (PyCFunction
) _wrap_TextCtrl_XYToPosition
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34622          { (char *)"TextCtrl_PositionToXY", (PyCFunction
) _wrap_TextCtrl_PositionToXY
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34623          { (char *)"TextCtrl_ShowPosition", (PyCFunction
) _wrap_TextCtrl_ShowPosition
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34624          { (char *)"TextCtrl_HitTest", (PyCFunction
) _wrap_TextCtrl_HitTest
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34625          { (char *)"TextCtrl_HitTestPos", (PyCFunction
) _wrap_TextCtrl_HitTestPos
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34626          { (char *)"TextCtrl_Copy", (PyCFunction
) _wrap_TextCtrl_Copy
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34627          { (char *)"TextCtrl_Cut", (PyCFunction
) _wrap_TextCtrl_Cut
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34628          { (char *)"TextCtrl_Paste", (PyCFunction
) _wrap_TextCtrl_Paste
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34629          { (char *)"TextCtrl_CanCopy", (PyCFunction
) _wrap_TextCtrl_CanCopy
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34630          { (char *)"TextCtrl_CanCut", (PyCFunction
) _wrap_TextCtrl_CanCut
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34631          { (char *)"TextCtrl_CanPaste", (PyCFunction
) _wrap_TextCtrl_CanPaste
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34632          { (char *)"TextCtrl_Undo", (PyCFunction
) _wrap_TextCtrl_Undo
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34633          { (char *)"TextCtrl_Redo", (PyCFunction
) _wrap_TextCtrl_Redo
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34634          { (char *)"TextCtrl_CanUndo", (PyCFunction
) _wrap_TextCtrl_CanUndo
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34635          { (char *)"TextCtrl_CanRedo", (PyCFunction
) _wrap_TextCtrl_CanRedo
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34636          { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_SetInsertionPoint
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34637          { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction
) _wrap_TextCtrl_SetInsertionPointEnd
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34638          { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_GetInsertionPoint
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34639          { (char *)"TextCtrl_GetLastPosition", (PyCFunction
) _wrap_TextCtrl_GetLastPosition
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34640          { (char *)"TextCtrl_SetSelection", (PyCFunction
) _wrap_TextCtrl_SetSelection
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34641          { (char *)"TextCtrl_SelectAll", (PyCFunction
) _wrap_TextCtrl_SelectAll
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34642          { (char *)"TextCtrl_SetEditable", (PyCFunction
) _wrap_TextCtrl_SetEditable
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34643          { (char *)"TextCtrl_write", (PyCFunction
) _wrap_TextCtrl_write
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34644          { (char *)"TextCtrl_GetString", (PyCFunction
) _wrap_TextCtrl_GetString
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34645          { (char *)"TextCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TextCtrl_GetClassDefaultAttributes
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34646          { (char *)"TextCtrl_swigregister", TextCtrl_swigregister
, METH_VARARGS
, NULL
}, 
34647          { (char *)"new_TextUrlEvent", (PyCFunction
) _wrap_new_TextUrlEvent
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34648          { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction
) _wrap_TextUrlEvent_GetMouseEvent
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34649          { (char *)"TextUrlEvent_GetURLStart", (PyCFunction
) _wrap_TextUrlEvent_GetURLStart
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34650          { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction
) _wrap_TextUrlEvent_GetURLEnd
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34651          { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister
, METH_VARARGS
, NULL
}, 
34652          { (char *)"new_ScrollBar", (PyCFunction
) _wrap_new_ScrollBar
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34653          { (char *)"new_PreScrollBar", (PyCFunction
) _wrap_new_PreScrollBar
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34654          { (char *)"ScrollBar_Create", (PyCFunction
) _wrap_ScrollBar_Create
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34655          { (char *)"ScrollBar_GetThumbPosition", (PyCFunction
) _wrap_ScrollBar_GetThumbPosition
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34656          { (char *)"ScrollBar_GetThumbSize", (PyCFunction
) _wrap_ScrollBar_GetThumbSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34657          { (char *)"ScrollBar_GetPageSize", (PyCFunction
) _wrap_ScrollBar_GetPageSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34658          { (char *)"ScrollBar_GetRange", (PyCFunction
) _wrap_ScrollBar_GetRange
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34659          { (char *)"ScrollBar_IsVertical", (PyCFunction
) _wrap_ScrollBar_IsVertical
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34660          { (char *)"ScrollBar_SetThumbPosition", (PyCFunction
) _wrap_ScrollBar_SetThumbPosition
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34661          { (char *)"ScrollBar_SetScrollbar", (PyCFunction
) _wrap_ScrollBar_SetScrollbar
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34662          { (char *)"ScrollBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrollBar_GetClassDefaultAttributes
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34663          { (char *)"ScrollBar_swigregister", ScrollBar_swigregister
, METH_VARARGS
, NULL
}, 
34664          { (char *)"new_SpinButton", (PyCFunction
) _wrap_new_SpinButton
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34665          { (char *)"new_PreSpinButton", (PyCFunction
) _wrap_new_PreSpinButton
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34666          { (char *)"SpinButton_Create", (PyCFunction
) _wrap_SpinButton_Create
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34667          { (char *)"SpinButton_GetValue", (PyCFunction
) _wrap_SpinButton_GetValue
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34668          { (char *)"SpinButton_GetMin", (PyCFunction
) _wrap_SpinButton_GetMin
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34669          { (char *)"SpinButton_GetMax", (PyCFunction
) _wrap_SpinButton_GetMax
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34670          { (char *)"SpinButton_SetValue", (PyCFunction
) _wrap_SpinButton_SetValue
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34671          { (char *)"SpinButton_SetMin", (PyCFunction
) _wrap_SpinButton_SetMin
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34672          { (char *)"SpinButton_SetMax", (PyCFunction
) _wrap_SpinButton_SetMax
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34673          { (char *)"SpinButton_SetRange", (PyCFunction
) _wrap_SpinButton_SetRange
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34674          { (char *)"SpinButton_IsVertical", (PyCFunction
) _wrap_SpinButton_IsVertical
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34675          { (char *)"SpinButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinButton_GetClassDefaultAttributes
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34676          { (char *)"SpinButton_swigregister", SpinButton_swigregister
, METH_VARARGS
, NULL
}, 
34677          { (char *)"new_SpinCtrl", (PyCFunction
) _wrap_new_SpinCtrl
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34678          { (char *)"new_PreSpinCtrl", (PyCFunction
) _wrap_new_PreSpinCtrl
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34679          { (char *)"SpinCtrl_Create", (PyCFunction
) _wrap_SpinCtrl_Create
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34680          { (char *)"SpinCtrl_GetValue", (PyCFunction
) _wrap_SpinCtrl_GetValue
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34681          { (char *)"SpinCtrl_SetValue", (PyCFunction
) _wrap_SpinCtrl_SetValue
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34682          { (char *)"SpinCtrl_SetValueString", (PyCFunction
) _wrap_SpinCtrl_SetValueString
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34683          { (char *)"SpinCtrl_SetRange", (PyCFunction
) _wrap_SpinCtrl_SetRange
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34684          { (char *)"SpinCtrl_GetMin", (PyCFunction
) _wrap_SpinCtrl_GetMin
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34685          { (char *)"SpinCtrl_GetMax", (PyCFunction
) _wrap_SpinCtrl_GetMax
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34686          { (char *)"SpinCtrl_SetSelection", (PyCFunction
) _wrap_SpinCtrl_SetSelection
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34687          { (char *)"SpinCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinCtrl_GetClassDefaultAttributes
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34688          { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister
, METH_VARARGS
, NULL
}, 
34689          { (char *)"new_SpinEvent", (PyCFunction
) _wrap_new_SpinEvent
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34690          { (char *)"SpinEvent_GetPosition", (PyCFunction
) _wrap_SpinEvent_GetPosition
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34691          { (char *)"SpinEvent_SetPosition", (PyCFunction
) _wrap_SpinEvent_SetPosition
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34692          { (char *)"SpinEvent_swigregister", SpinEvent_swigregister
, METH_VARARGS
, NULL
}, 
34693          { (char *)"new_RadioBox", (PyCFunction
) _wrap_new_RadioBox
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34694          { (char *)"new_PreRadioBox", (PyCFunction
) _wrap_new_PreRadioBox
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34695          { (char *)"RadioBox_Create", (PyCFunction
) _wrap_RadioBox_Create
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34696          { (char *)"RadioBox_SetSelection", (PyCFunction
) _wrap_RadioBox_SetSelection
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34697          { (char *)"RadioBox_GetSelection", (PyCFunction
) _wrap_RadioBox_GetSelection
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34698          { (char *)"RadioBox_GetStringSelection", (PyCFunction
) _wrap_RadioBox_GetStringSelection
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34699          { (char *)"RadioBox_SetStringSelection", (PyCFunction
) _wrap_RadioBox_SetStringSelection
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34700          { (char *)"RadioBox_GetCount", (PyCFunction
) _wrap_RadioBox_GetCount
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34701          { (char *)"RadioBox_FindString", (PyCFunction
) _wrap_RadioBox_FindString
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34702          { (char *)"RadioBox_GetString", (PyCFunction
) _wrap_RadioBox_GetString
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34703          { (char *)"RadioBox_SetString", (PyCFunction
) _wrap_RadioBox_SetString
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34704          { (char *)"RadioBox_EnableItem", (PyCFunction
) _wrap_RadioBox_EnableItem
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34705          { (char *)"RadioBox_ShowItem", (PyCFunction
) _wrap_RadioBox_ShowItem
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34706          { (char *)"RadioBox_GetColumnCount", (PyCFunction
) _wrap_RadioBox_GetColumnCount
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34707          { (char *)"RadioBox_GetRowCount", (PyCFunction
) _wrap_RadioBox_GetRowCount
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34708          { (char *)"RadioBox_GetNextItem", (PyCFunction
) _wrap_RadioBox_GetNextItem
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34709          { (char *)"RadioBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioBox_GetClassDefaultAttributes
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34710          { (char *)"RadioBox_swigregister", RadioBox_swigregister
, METH_VARARGS
, NULL
}, 
34711          { (char *)"new_RadioButton", (PyCFunction
) _wrap_new_RadioButton
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34712          { (char *)"new_PreRadioButton", (PyCFunction
) _wrap_new_PreRadioButton
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34713          { (char *)"RadioButton_Create", (PyCFunction
) _wrap_RadioButton_Create
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34714          { (char *)"RadioButton_GetValue", (PyCFunction
) _wrap_RadioButton_GetValue
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34715          { (char *)"RadioButton_SetValue", (PyCFunction
) _wrap_RadioButton_SetValue
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34716          { (char *)"RadioButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioButton_GetClassDefaultAttributes
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34717          { (char *)"RadioButton_swigregister", RadioButton_swigregister
, METH_VARARGS
, NULL
}, 
34718          { (char *)"new_Slider", (PyCFunction
) _wrap_new_Slider
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34719          { (char *)"new_PreSlider", (PyCFunction
) _wrap_new_PreSlider
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34720          { (char *)"Slider_Create", (PyCFunction
) _wrap_Slider_Create
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34721          { (char *)"Slider_GetValue", (PyCFunction
) _wrap_Slider_GetValue
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34722          { (char *)"Slider_SetValue", (PyCFunction
) _wrap_Slider_SetValue
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34723          { (char *)"Slider_SetRange", (PyCFunction
) _wrap_Slider_SetRange
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34724          { (char *)"Slider_GetMin", (PyCFunction
) _wrap_Slider_GetMin
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34725          { (char *)"Slider_GetMax", (PyCFunction
) _wrap_Slider_GetMax
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34726          { (char *)"Slider_SetMin", (PyCFunction
) _wrap_Slider_SetMin
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34727          { (char *)"Slider_SetMax", (PyCFunction
) _wrap_Slider_SetMax
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34728          { (char *)"Slider_SetLineSize", (PyCFunction
) _wrap_Slider_SetLineSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34729          { (char *)"Slider_SetPageSize", (PyCFunction
) _wrap_Slider_SetPageSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34730          { (char *)"Slider_GetLineSize", (PyCFunction
) _wrap_Slider_GetLineSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34731          { (char *)"Slider_GetPageSize", (PyCFunction
) _wrap_Slider_GetPageSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34732          { (char *)"Slider_SetThumbLength", (PyCFunction
) _wrap_Slider_SetThumbLength
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34733          { (char *)"Slider_GetThumbLength", (PyCFunction
) _wrap_Slider_GetThumbLength
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34734          { (char *)"Slider_SetTickFreq", (PyCFunction
) _wrap_Slider_SetTickFreq
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34735          { (char *)"Slider_GetTickFreq", (PyCFunction
) _wrap_Slider_GetTickFreq
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34736          { (char *)"Slider_ClearTicks", (PyCFunction
) _wrap_Slider_ClearTicks
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34737          { (char *)"Slider_SetTick", (PyCFunction
) _wrap_Slider_SetTick
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34738          { (char *)"Slider_ClearSel", (PyCFunction
) _wrap_Slider_ClearSel
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34739          { (char *)"Slider_GetSelEnd", (PyCFunction
) _wrap_Slider_GetSelEnd
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34740          { (char *)"Slider_GetSelStart", (PyCFunction
) _wrap_Slider_GetSelStart
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34741          { (char *)"Slider_SetSelection", (PyCFunction
) _wrap_Slider_SetSelection
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34742          { (char *)"Slider_GetClassDefaultAttributes", (PyCFunction
) _wrap_Slider_GetClassDefaultAttributes
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34743          { (char *)"Slider_swigregister", Slider_swigregister
, METH_VARARGS
, NULL
}, 
34744          { (char *)"new_ToggleButton", (PyCFunction
) _wrap_new_ToggleButton
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34745          { (char *)"new_PreToggleButton", (PyCFunction
) _wrap_new_PreToggleButton
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34746          { (char *)"ToggleButton_Create", (PyCFunction
) _wrap_ToggleButton_Create
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34747          { (char *)"ToggleButton_SetValue", (PyCFunction
) _wrap_ToggleButton_SetValue
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34748          { (char *)"ToggleButton_GetValue", (PyCFunction
) _wrap_ToggleButton_GetValue
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34749          { (char *)"ToggleButton_SetLabel", (PyCFunction
) _wrap_ToggleButton_SetLabel
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34750          { (char *)"ToggleButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToggleButton_GetClassDefaultAttributes
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34751          { (char *)"ToggleButton_swigregister", ToggleButton_swigregister
, METH_VARARGS
, NULL
}, 
34752          { (char *)"BookCtrlBase_GetPageCount", (PyCFunction
) _wrap_BookCtrlBase_GetPageCount
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34753          { (char *)"BookCtrlBase_GetPage", (PyCFunction
) _wrap_BookCtrlBase_GetPage
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34754          { (char *)"BookCtrlBase_GetCurrentPage", (PyCFunction
) _wrap_BookCtrlBase_GetCurrentPage
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34755          { (char *)"BookCtrlBase_GetSelection", (PyCFunction
) _wrap_BookCtrlBase_GetSelection
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34756          { (char *)"BookCtrlBase_SetPageText", (PyCFunction
) _wrap_BookCtrlBase_SetPageText
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34757          { (char *)"BookCtrlBase_GetPageText", (PyCFunction
) _wrap_BookCtrlBase_GetPageText
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34758          { (char *)"BookCtrlBase_SetImageList", (PyCFunction
) _wrap_BookCtrlBase_SetImageList
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34759          { (char *)"BookCtrlBase_AssignImageList", (PyCFunction
) _wrap_BookCtrlBase_AssignImageList
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34760          { (char *)"BookCtrlBase_GetImageList", (PyCFunction
) _wrap_BookCtrlBase_GetImageList
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34761          { (char *)"BookCtrlBase_GetPageImage", (PyCFunction
) _wrap_BookCtrlBase_GetPageImage
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34762          { (char *)"BookCtrlBase_SetPageImage", (PyCFunction
) _wrap_BookCtrlBase_SetPageImage
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34763          { (char *)"BookCtrlBase_SetPageSize", (PyCFunction
) _wrap_BookCtrlBase_SetPageSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34764          { (char *)"BookCtrlBase_CalcSizeFromPage", (PyCFunction
) _wrap_BookCtrlBase_CalcSizeFromPage
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34765          { (char *)"BookCtrlBase_DeletePage", (PyCFunction
) _wrap_BookCtrlBase_DeletePage
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34766          { (char *)"BookCtrlBase_RemovePage", (PyCFunction
) _wrap_BookCtrlBase_RemovePage
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34767          { (char *)"BookCtrlBase_DeleteAllPages", (PyCFunction
) _wrap_BookCtrlBase_DeleteAllPages
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34768          { (char *)"BookCtrlBase_AddPage", (PyCFunction
) _wrap_BookCtrlBase_AddPage
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34769          { (char *)"BookCtrlBase_InsertPage", (PyCFunction
) _wrap_BookCtrlBase_InsertPage
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34770          { (char *)"BookCtrlBase_SetSelection", (PyCFunction
) _wrap_BookCtrlBase_SetSelection
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34771          { (char *)"BookCtrlBase_AdvanceSelection", (PyCFunction
) _wrap_BookCtrlBase_AdvanceSelection
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34772          { (char *)"BookCtrlBase_GetClassDefaultAttributes", (PyCFunction
) _wrap_BookCtrlBase_GetClassDefaultAttributes
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34773          { (char *)"BookCtrlBase_swigregister", BookCtrlBase_swigregister
, METH_VARARGS
, NULL
}, 
34774          { (char *)"new_BookCtrlBaseEvent", (PyCFunction
) _wrap_new_BookCtrlBaseEvent
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34775          { (char *)"BookCtrlBaseEvent_GetSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_GetSelection
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34776          { (char *)"BookCtrlBaseEvent_SetSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_SetSelection
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34777          { (char *)"BookCtrlBaseEvent_GetOldSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_GetOldSelection
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34778          { (char *)"BookCtrlBaseEvent_SetOldSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_SetOldSelection
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34779          { (char *)"BookCtrlBaseEvent_swigregister", BookCtrlBaseEvent_swigregister
, METH_VARARGS
, NULL
}, 
34780          { (char *)"new_Notebook", (PyCFunction
) _wrap_new_Notebook
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34781          { (char *)"new_PreNotebook", (PyCFunction
) _wrap_new_PreNotebook
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34782          { (char *)"Notebook_Create", (PyCFunction
) _wrap_Notebook_Create
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34783          { (char *)"Notebook_GetRowCount", (PyCFunction
) _wrap_Notebook_GetRowCount
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34784          { (char *)"Notebook_SetPadding", (PyCFunction
) _wrap_Notebook_SetPadding
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34785          { (char *)"Notebook_SetTabSize", (PyCFunction
) _wrap_Notebook_SetTabSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34786          { (char *)"Notebook_HitTest", (PyCFunction
) _wrap_Notebook_HitTest
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34787          { (char *)"Notebook_CalcSizeFromPage", (PyCFunction
) _wrap_Notebook_CalcSizeFromPage
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34788          { (char *)"Notebook_GetClassDefaultAttributes", (PyCFunction
) _wrap_Notebook_GetClassDefaultAttributes
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34789          { (char *)"Notebook_swigregister", Notebook_swigregister
, METH_VARARGS
, NULL
}, 
34790          { (char *)"new_NotebookEvent", (PyCFunction
) _wrap_new_NotebookEvent
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34791          { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister
, METH_VARARGS
, NULL
}, 
34792          { (char *)"new_Listbook", (PyCFunction
) _wrap_new_Listbook
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34793          { (char *)"new_PreListbook", (PyCFunction
) _wrap_new_PreListbook
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34794          { (char *)"Listbook_Create", (PyCFunction
) _wrap_Listbook_Create
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34795          { (char *)"Listbook_IsVertical", (PyCFunction
) _wrap_Listbook_IsVertical
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34796          { (char *)"Listbook_GetListView", (PyCFunction
) _wrap_Listbook_GetListView
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34797          { (char *)"Listbook_swigregister", Listbook_swigregister
, METH_VARARGS
, NULL
}, 
34798          { (char *)"new_ListbookEvent", (PyCFunction
) _wrap_new_ListbookEvent
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34799          { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister
, METH_VARARGS
, NULL
}, 
34800          { (char *)"new_Choicebook", (PyCFunction
) _wrap_new_Choicebook
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34801          { (char *)"new_PreChoicebook", (PyCFunction
) _wrap_new_PreChoicebook
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34802          { (char *)"Choicebook_Create", (PyCFunction
) _wrap_Choicebook_Create
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34803          { (char *)"Choicebook_IsVertical", (PyCFunction
) _wrap_Choicebook_IsVertical
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34804          { (char *)"Choicebook_DeleteAllPages", (PyCFunction
) _wrap_Choicebook_DeleteAllPages
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34805          { (char *)"Choicebook_swigregister", Choicebook_swigregister
, METH_VARARGS
, NULL
}, 
34806          { (char *)"new_ChoicebookEvent", (PyCFunction
) _wrap_new_ChoicebookEvent
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34807          { (char *)"ChoicebookEvent_swigregister", ChoicebookEvent_swigregister
, METH_VARARGS
, NULL
}, 
34808          { (char *)"new_BookCtrlSizer", (PyCFunction
) _wrap_new_BookCtrlSizer
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34809          { (char *)"BookCtrlSizer_RecalcSizes", (PyCFunction
) _wrap_BookCtrlSizer_RecalcSizes
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34810          { (char *)"BookCtrlSizer_CalcMin", (PyCFunction
) _wrap_BookCtrlSizer_CalcMin
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34811          { (char *)"BookCtrlSizer_GetControl", (PyCFunction
) _wrap_BookCtrlSizer_GetControl
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34812          { (char *)"BookCtrlSizer_swigregister", BookCtrlSizer_swigregister
, METH_VARARGS
, NULL
}, 
34813          { (char *)"new_NotebookSizer", (PyCFunction
) _wrap_new_NotebookSizer
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34814          { (char *)"NotebookSizer_RecalcSizes", (PyCFunction
) _wrap_NotebookSizer_RecalcSizes
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34815          { (char *)"NotebookSizer_CalcMin", (PyCFunction
) _wrap_NotebookSizer_CalcMin
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34816          { (char *)"NotebookSizer_GetNotebook", (PyCFunction
) _wrap_NotebookSizer_GetNotebook
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34817          { (char *)"NotebookSizer_swigregister", NotebookSizer_swigregister
, METH_VARARGS
, NULL
}, 
34818          { (char *)"ToolBarToolBase_GetId", (PyCFunction
) _wrap_ToolBarToolBase_GetId
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34819          { (char *)"ToolBarToolBase_GetControl", (PyCFunction
) _wrap_ToolBarToolBase_GetControl
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34820          { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction
) _wrap_ToolBarToolBase_GetToolBar
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34821          { (char *)"ToolBarToolBase_IsButton", (PyCFunction
) _wrap_ToolBarToolBase_IsButton
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34822          { (char *)"ToolBarToolBase_IsControl", (PyCFunction
) _wrap_ToolBarToolBase_IsControl
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34823          { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction
) _wrap_ToolBarToolBase_IsSeparator
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34824          { (char *)"ToolBarToolBase_GetStyle", (PyCFunction
) _wrap_ToolBarToolBase_GetStyle
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34825          { (char *)"ToolBarToolBase_GetKind", (PyCFunction
) _wrap_ToolBarToolBase_GetKind
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34826          { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction
) _wrap_ToolBarToolBase_IsEnabled
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34827          { (char *)"ToolBarToolBase_IsToggled", (PyCFunction
) _wrap_ToolBarToolBase_IsToggled
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34828          { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction
) _wrap_ToolBarToolBase_CanBeToggled
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34829          { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetNormalBitmap
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34830          { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetDisabledBitmap
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34831          { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetBitmap
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34832          { (char *)"ToolBarToolBase_GetLabel", (PyCFunction
) _wrap_ToolBarToolBase_GetLabel
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34833          { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetShortHelp
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34834          { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetLongHelp
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34835          { (char *)"ToolBarToolBase_Enable", (PyCFunction
) _wrap_ToolBarToolBase_Enable
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34836          { (char *)"ToolBarToolBase_Toggle", (PyCFunction
) _wrap_ToolBarToolBase_Toggle
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34837          { (char *)"ToolBarToolBase_SetToggle", (PyCFunction
) _wrap_ToolBarToolBase_SetToggle
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34838          { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetShortHelp
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34839          { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetLongHelp
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34840          { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetNormalBitmap
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34841          { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetDisabledBitmap
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34842          { (char *)"ToolBarToolBase_SetLabel", (PyCFunction
) _wrap_ToolBarToolBase_SetLabel
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34843          { (char *)"ToolBarToolBase_Detach", (PyCFunction
) _wrap_ToolBarToolBase_Detach
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34844          { (char *)"ToolBarToolBase_Attach", (PyCFunction
) _wrap_ToolBarToolBase_Attach
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34845          { (char *)"ToolBarToolBase_GetClientData", (PyCFunction
) _wrap_ToolBarToolBase_GetClientData
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34846          { (char *)"ToolBarToolBase_SetClientData", (PyCFunction
) _wrap_ToolBarToolBase_SetClientData
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34847          { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister
, METH_VARARGS
, NULL
}, 
34848          { (char *)"ToolBarBase_DoAddTool", (PyCFunction
) _wrap_ToolBarBase_DoAddTool
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34849          { (char *)"ToolBarBase_DoInsertTool", (PyCFunction
) _wrap_ToolBarBase_DoInsertTool
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34850          { (char *)"ToolBarBase_AddToolItem", (PyCFunction
) _wrap_ToolBarBase_AddToolItem
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34851          { (char *)"ToolBarBase_InsertToolItem", (PyCFunction
) _wrap_ToolBarBase_InsertToolItem
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34852          { (char *)"ToolBarBase_AddControl", (PyCFunction
) _wrap_ToolBarBase_AddControl
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34853          { (char *)"ToolBarBase_InsertControl", (PyCFunction
) _wrap_ToolBarBase_InsertControl
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34854          { (char *)"ToolBarBase_FindControl", (PyCFunction
) _wrap_ToolBarBase_FindControl
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34855          { (char *)"ToolBarBase_AddSeparator", (PyCFunction
) _wrap_ToolBarBase_AddSeparator
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34856          { (char *)"ToolBarBase_InsertSeparator", (PyCFunction
) _wrap_ToolBarBase_InsertSeparator
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34857          { (char *)"ToolBarBase_RemoveTool", (PyCFunction
) _wrap_ToolBarBase_RemoveTool
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34858          { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction
) _wrap_ToolBarBase_DeleteToolByPos
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34859          { (char *)"ToolBarBase_DeleteTool", (PyCFunction
) _wrap_ToolBarBase_DeleteTool
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34860          { (char *)"ToolBarBase_ClearTools", (PyCFunction
) _wrap_ToolBarBase_ClearTools
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34861          { (char *)"ToolBarBase_Realize", (PyCFunction
) _wrap_ToolBarBase_Realize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34862          { (char *)"ToolBarBase_EnableTool", (PyCFunction
) _wrap_ToolBarBase_EnableTool
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34863          { (char *)"ToolBarBase_ToggleTool", (PyCFunction
) _wrap_ToolBarBase_ToggleTool
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34864          { (char *)"ToolBarBase_SetToggle", (PyCFunction
) _wrap_ToolBarBase_SetToggle
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34865          { (char *)"ToolBarBase_GetToolClientData", (PyCFunction
) _wrap_ToolBarBase_GetToolClientData
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34866          { (char *)"ToolBarBase_SetToolClientData", (PyCFunction
) _wrap_ToolBarBase_SetToolClientData
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34867          { (char *)"ToolBarBase_GetToolPos", (PyCFunction
) _wrap_ToolBarBase_GetToolPos
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34868          { (char *)"ToolBarBase_GetToolState", (PyCFunction
) _wrap_ToolBarBase_GetToolState
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34869          { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction
) _wrap_ToolBarBase_GetToolEnabled
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34870          { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolShortHelp
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34871          { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolShortHelp
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34872          { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolLongHelp
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34873          { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolLongHelp
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34874          { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction
) _wrap_ToolBarBase_SetMarginsXY
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34875          { (char *)"ToolBarBase_SetMargins", (PyCFunction
) _wrap_ToolBarBase_SetMargins
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34876          { (char *)"ToolBarBase_SetToolPacking", (PyCFunction
) _wrap_ToolBarBase_SetToolPacking
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34877          { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_SetToolSeparation
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34878          { (char *)"ToolBarBase_GetToolMargins", (PyCFunction
) _wrap_ToolBarBase_GetToolMargins
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34879          { (char *)"ToolBarBase_GetMargins", (PyCFunction
) _wrap_ToolBarBase_GetMargins
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34880          { (char *)"ToolBarBase_GetToolPacking", (PyCFunction
) _wrap_ToolBarBase_GetToolPacking
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34881          { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_GetToolSeparation
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34882          { (char *)"ToolBarBase_SetRows", (PyCFunction
) _wrap_ToolBarBase_SetRows
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34883          { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction
) _wrap_ToolBarBase_SetMaxRowsCols
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34884          { (char *)"ToolBarBase_GetMaxRows", (PyCFunction
) _wrap_ToolBarBase_GetMaxRows
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34885          { (char *)"ToolBarBase_GetMaxCols", (PyCFunction
) _wrap_ToolBarBase_GetMaxCols
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34886          { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_SetToolBitmapSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34887          { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_GetToolBitmapSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34888          { (char *)"ToolBarBase_GetToolSize", (PyCFunction
) _wrap_ToolBarBase_GetToolSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34889          { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction
) _wrap_ToolBarBase_FindToolForPosition
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34890          { (char *)"ToolBarBase_FindById", (PyCFunction
) _wrap_ToolBarBase_FindById
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34891          { (char *)"ToolBarBase_IsVertical", (PyCFunction
) _wrap_ToolBarBase_IsVertical
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34892          { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister
, METH_VARARGS
, NULL
}, 
34893          { (char *)"new_ToolBar", (PyCFunction
) _wrap_new_ToolBar
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34894          { (char *)"new_PreToolBar", (PyCFunction
) _wrap_new_PreToolBar
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34895          { (char *)"ToolBar_Create", (PyCFunction
) _wrap_ToolBar_Create
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34896          { (char *)"ToolBar_FindToolForPosition", (PyCFunction
) _wrap_ToolBar_FindToolForPosition
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34897          { (char *)"ToolBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToolBar_GetClassDefaultAttributes
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34898          { (char *)"ToolBar_swigregister", ToolBar_swigregister
, METH_VARARGS
, NULL
}, 
34899          { (char *)"new_ListItemAttr", (PyCFunction
) _wrap_new_ListItemAttr
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34900          { (char *)"ListItemAttr_SetTextColour", (PyCFunction
) _wrap_ListItemAttr_SetTextColour
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34901          { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_SetBackgroundColour
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34902          { (char *)"ListItemAttr_SetFont", (PyCFunction
) _wrap_ListItemAttr_SetFont
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34903          { (char *)"ListItemAttr_HasTextColour", (PyCFunction
) _wrap_ListItemAttr_HasTextColour
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34904          { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_HasBackgroundColour
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34905          { (char *)"ListItemAttr_HasFont", (PyCFunction
) _wrap_ListItemAttr_HasFont
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34906          { (char *)"ListItemAttr_GetTextColour", (PyCFunction
) _wrap_ListItemAttr_GetTextColour
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34907          { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_GetBackgroundColour
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34908          { (char *)"ListItemAttr_GetFont", (PyCFunction
) _wrap_ListItemAttr_GetFont
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34909          { (char *)"ListItemAttr_Destroy", (PyCFunction
) _wrap_ListItemAttr_Destroy
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34910          { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister
, METH_VARARGS
, NULL
}, 
34911          { (char *)"new_ListItem", (PyCFunction
) _wrap_new_ListItem
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34912          { (char *)"delete_ListItem", (PyCFunction
) _wrap_delete_ListItem
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34913          { (char *)"ListItem_Clear", (PyCFunction
) _wrap_ListItem_Clear
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34914          { (char *)"ListItem_ClearAttributes", (PyCFunction
) _wrap_ListItem_ClearAttributes
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34915          { (char *)"ListItem_SetMask", (PyCFunction
) _wrap_ListItem_SetMask
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34916          { (char *)"ListItem_SetId", (PyCFunction
) _wrap_ListItem_SetId
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34917          { (char *)"ListItem_SetColumn", (PyCFunction
) _wrap_ListItem_SetColumn
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34918          { (char *)"ListItem_SetState", (PyCFunction
) _wrap_ListItem_SetState
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34919          { (char *)"ListItem_SetStateMask", (PyCFunction
) _wrap_ListItem_SetStateMask
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34920          { (char *)"ListItem_SetText", (PyCFunction
) _wrap_ListItem_SetText
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34921          { (char *)"ListItem_SetImage", (PyCFunction
) _wrap_ListItem_SetImage
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34922          { (char *)"ListItem_SetData", (PyCFunction
) _wrap_ListItem_SetData
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34923          { (char *)"ListItem_SetWidth", (PyCFunction
) _wrap_ListItem_SetWidth
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34924          { (char *)"ListItem_SetAlign", (PyCFunction
) _wrap_ListItem_SetAlign
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34925          { (char *)"ListItem_SetTextColour", (PyCFunction
) _wrap_ListItem_SetTextColour
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34926          { (char *)"ListItem_SetBackgroundColour", (PyCFunction
) _wrap_ListItem_SetBackgroundColour
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34927          { (char *)"ListItem_SetFont", (PyCFunction
) _wrap_ListItem_SetFont
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34928          { (char *)"ListItem_GetMask", (PyCFunction
) _wrap_ListItem_GetMask
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34929          { (char *)"ListItem_GetId", (PyCFunction
) _wrap_ListItem_GetId
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34930          { (char *)"ListItem_GetColumn", (PyCFunction
) _wrap_ListItem_GetColumn
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34931          { (char *)"ListItem_GetState", (PyCFunction
) _wrap_ListItem_GetState
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34932          { (char *)"ListItem_GetText", (PyCFunction
) _wrap_ListItem_GetText
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34933          { (char *)"ListItem_GetImage", (PyCFunction
) _wrap_ListItem_GetImage
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34934          { (char *)"ListItem_GetData", (PyCFunction
) _wrap_ListItem_GetData
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34935          { (char *)"ListItem_GetWidth", (PyCFunction
) _wrap_ListItem_GetWidth
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34936          { (char *)"ListItem_GetAlign", (PyCFunction
) _wrap_ListItem_GetAlign
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34937          { (char *)"ListItem_GetAttributes", (PyCFunction
) _wrap_ListItem_GetAttributes
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34938          { (char *)"ListItem_HasAttributes", (PyCFunction
) _wrap_ListItem_HasAttributes
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34939          { (char *)"ListItem_GetTextColour", (PyCFunction
) _wrap_ListItem_GetTextColour
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34940          { (char *)"ListItem_GetBackgroundColour", (PyCFunction
) _wrap_ListItem_GetBackgroundColour
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34941          { (char *)"ListItem_GetFont", (PyCFunction
) _wrap_ListItem_GetFont
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34942          { (char *)"ListItem_m_mask_set", (PyCFunction
) _wrap_ListItem_m_mask_set
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34943          { (char *)"ListItem_m_mask_get", (PyCFunction
) _wrap_ListItem_m_mask_get
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34944          { (char *)"ListItem_m_itemId_set", (PyCFunction
) _wrap_ListItem_m_itemId_set
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34945          { (char *)"ListItem_m_itemId_get", (PyCFunction
) _wrap_ListItem_m_itemId_get
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34946          { (char *)"ListItem_m_col_set", (PyCFunction
) _wrap_ListItem_m_col_set
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34947          { (char *)"ListItem_m_col_get", (PyCFunction
) _wrap_ListItem_m_col_get
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34948          { (char *)"ListItem_m_state_set", (PyCFunction
) _wrap_ListItem_m_state_set
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34949          { (char *)"ListItem_m_state_get", (PyCFunction
) _wrap_ListItem_m_state_get
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34950          { (char *)"ListItem_m_stateMask_set", (PyCFunction
) _wrap_ListItem_m_stateMask_set
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34951          { (char *)"ListItem_m_stateMask_get", (PyCFunction
) _wrap_ListItem_m_stateMask_get
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34952          { (char *)"ListItem_m_text_set", (PyCFunction
) _wrap_ListItem_m_text_set
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34953          { (char *)"ListItem_m_text_get", (PyCFunction
) _wrap_ListItem_m_text_get
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34954          { (char *)"ListItem_m_image_set", (PyCFunction
) _wrap_ListItem_m_image_set
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34955          { (char *)"ListItem_m_image_get", (PyCFunction
) _wrap_ListItem_m_image_get
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34956          { (char *)"ListItem_m_data_set", (PyCFunction
) _wrap_ListItem_m_data_set
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34957          { (char *)"ListItem_m_data_get", (PyCFunction
) _wrap_ListItem_m_data_get
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34958          { (char *)"ListItem_m_format_set", (PyCFunction
) _wrap_ListItem_m_format_set
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34959          { (char *)"ListItem_m_format_get", (PyCFunction
) _wrap_ListItem_m_format_get
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34960          { (char *)"ListItem_m_width_set", (PyCFunction
) _wrap_ListItem_m_width_set
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34961          { (char *)"ListItem_m_width_get", (PyCFunction
) _wrap_ListItem_m_width_get
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34962          { (char *)"ListItem_swigregister", ListItem_swigregister
, METH_VARARGS
, NULL
}, 
34963          { (char *)"new_ListEvent", (PyCFunction
) _wrap_new_ListEvent
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34964          { (char *)"ListEvent_m_code_set", (PyCFunction
) _wrap_ListEvent_m_code_set
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34965          { (char *)"ListEvent_m_code_get", (PyCFunction
) _wrap_ListEvent_m_code_get
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34966          { (char *)"ListEvent_m_oldItemIndex_set", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_set
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34967          { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_get
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34968          { (char *)"ListEvent_m_itemIndex_set", (PyCFunction
) _wrap_ListEvent_m_itemIndex_set
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34969          { (char *)"ListEvent_m_itemIndex_get", (PyCFunction
) _wrap_ListEvent_m_itemIndex_get
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34970          { (char *)"ListEvent_m_col_set", (PyCFunction
) _wrap_ListEvent_m_col_set
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34971          { (char *)"ListEvent_m_col_get", (PyCFunction
) _wrap_ListEvent_m_col_get
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34972          { (char *)"ListEvent_m_pointDrag_set", (PyCFunction
) _wrap_ListEvent_m_pointDrag_set
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34973          { (char *)"ListEvent_m_pointDrag_get", (PyCFunction
) _wrap_ListEvent_m_pointDrag_get
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34974          { (char *)"ListEvent_m_item_get", (PyCFunction
) _wrap_ListEvent_m_item_get
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34975          { (char *)"ListEvent_GetKeyCode", (PyCFunction
) _wrap_ListEvent_GetKeyCode
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34976          { (char *)"ListEvent_GetIndex", (PyCFunction
) _wrap_ListEvent_GetIndex
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34977          { (char *)"ListEvent_GetColumn", (PyCFunction
) _wrap_ListEvent_GetColumn
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34978          { (char *)"ListEvent_GetPoint", (PyCFunction
) _wrap_ListEvent_GetPoint
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34979          { (char *)"ListEvent_GetLabel", (PyCFunction
) _wrap_ListEvent_GetLabel
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34980          { (char *)"ListEvent_GetText", (PyCFunction
) _wrap_ListEvent_GetText
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34981          { (char *)"ListEvent_GetImage", (PyCFunction
) _wrap_ListEvent_GetImage
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34982          { (char *)"ListEvent_GetData", (PyCFunction
) _wrap_ListEvent_GetData
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34983          { (char *)"ListEvent_GetMask", (PyCFunction
) _wrap_ListEvent_GetMask
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34984          { (char *)"ListEvent_GetItem", (PyCFunction
) _wrap_ListEvent_GetItem
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34985          { (char *)"ListEvent_GetCacheFrom", (PyCFunction
) _wrap_ListEvent_GetCacheFrom
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34986          { (char *)"ListEvent_GetCacheTo", (PyCFunction
) _wrap_ListEvent_GetCacheTo
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34987          { (char *)"ListEvent_IsEditCancelled", (PyCFunction
) _wrap_ListEvent_IsEditCancelled
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34988          { (char *)"ListEvent_SetEditCanceled", (PyCFunction
) _wrap_ListEvent_SetEditCanceled
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34989          { (char *)"ListEvent_swigregister", ListEvent_swigregister
, METH_VARARGS
, NULL
}, 
34990          { (char *)"new_ListCtrl", (PyCFunction
) _wrap_new_ListCtrl
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34991          { (char *)"new_PreListCtrl", (PyCFunction
) _wrap_new_PreListCtrl
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34992          { (char *)"ListCtrl_Create", (PyCFunction
) _wrap_ListCtrl_Create
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34993          { (char *)"ListCtrl__setCallbackInfo", (PyCFunction
) _wrap_ListCtrl__setCallbackInfo
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34994          { (char *)"ListCtrl_SetForegroundColour", (PyCFunction
) _wrap_ListCtrl_SetForegroundColour
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34995          { (char *)"ListCtrl_SetBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetBackgroundColour
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34996          { (char *)"ListCtrl_GetColumn", (PyCFunction
) _wrap_ListCtrl_GetColumn
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34997          { (char *)"ListCtrl_SetColumn", (PyCFunction
) _wrap_ListCtrl_SetColumn
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34998          { (char *)"ListCtrl_GetColumnWidth", (PyCFunction
) _wrap_ListCtrl_GetColumnWidth
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
34999          { (char *)"ListCtrl_SetColumnWidth", (PyCFunction
) _wrap_ListCtrl_SetColumnWidth
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35000          { (char *)"ListCtrl_GetCountPerPage", (PyCFunction
) _wrap_ListCtrl_GetCountPerPage
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35001          { (char *)"ListCtrl_GetViewRect", (PyCFunction
) _wrap_ListCtrl_GetViewRect
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35002          { (char *)"ListCtrl_GetItem", (PyCFunction
) _wrap_ListCtrl_GetItem
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35003          { (char *)"ListCtrl_SetItem", (PyCFunction
) _wrap_ListCtrl_SetItem
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35004          { (char *)"ListCtrl_SetStringItem", (PyCFunction
) _wrap_ListCtrl_SetStringItem
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35005          { (char *)"ListCtrl_GetItemState", (PyCFunction
) _wrap_ListCtrl_GetItemState
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35006          { (char *)"ListCtrl_SetItemState", (PyCFunction
) _wrap_ListCtrl_SetItemState
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35007          { (char *)"ListCtrl_SetItemImage", (PyCFunction
) _wrap_ListCtrl_SetItemImage
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35008          { (char *)"ListCtrl_GetItemText", (PyCFunction
) _wrap_ListCtrl_GetItemText
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35009          { (char *)"ListCtrl_SetItemText", (PyCFunction
) _wrap_ListCtrl_SetItemText
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35010          { (char *)"ListCtrl_GetItemData", (PyCFunction
) _wrap_ListCtrl_GetItemData
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35011          { (char *)"ListCtrl_SetItemData", (PyCFunction
) _wrap_ListCtrl_SetItemData
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35012          { (char *)"ListCtrl_GetItemPosition", (PyCFunction
) _wrap_ListCtrl_GetItemPosition
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35013          { (char *)"ListCtrl_GetItemRect", (PyCFunction
) _wrap_ListCtrl_GetItemRect
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35014          { (char *)"ListCtrl_SetItemPosition", (PyCFunction
) _wrap_ListCtrl_SetItemPosition
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35015          { (char *)"ListCtrl_GetItemCount", (PyCFunction
) _wrap_ListCtrl_GetItemCount
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35016          { (char *)"ListCtrl_GetColumnCount", (PyCFunction
) _wrap_ListCtrl_GetColumnCount
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35017          { (char *)"ListCtrl_GetItemSpacing", (PyCFunction
) _wrap_ListCtrl_GetItemSpacing
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35018          { (char *)"ListCtrl_SetItemSpacing", (PyCFunction
) _wrap_ListCtrl_SetItemSpacing
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35019          { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction
) _wrap_ListCtrl_GetSelectedItemCount
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35020          { (char *)"ListCtrl_GetTextColour", (PyCFunction
) _wrap_ListCtrl_GetTextColour
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35021          { (char *)"ListCtrl_SetTextColour", (PyCFunction
) _wrap_ListCtrl_SetTextColour
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35022          { (char *)"ListCtrl_GetTopItem", (PyCFunction
) _wrap_ListCtrl_GetTopItem
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35023          { (char *)"ListCtrl_SetSingleStyle", (PyCFunction
) _wrap_ListCtrl_SetSingleStyle
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35024          { (char *)"ListCtrl_SetWindowStyleFlag", (PyCFunction
) _wrap_ListCtrl_SetWindowStyleFlag
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35025          { (char *)"ListCtrl_GetNextItem", (PyCFunction
) _wrap_ListCtrl_GetNextItem
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35026          { (char *)"ListCtrl_GetImageList", (PyCFunction
) _wrap_ListCtrl_GetImageList
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35027          { (char *)"ListCtrl_SetImageList", (PyCFunction
) _wrap_ListCtrl_SetImageList
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35028          { (char *)"ListCtrl_AssignImageList", (PyCFunction
) _wrap_ListCtrl_AssignImageList
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35029          { (char *)"ListCtrl_InReportView", (PyCFunction
) _wrap_ListCtrl_InReportView
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35030          { (char *)"ListCtrl_IsVirtual", (PyCFunction
) _wrap_ListCtrl_IsVirtual
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35031          { (char *)"ListCtrl_RefreshItem", (PyCFunction
) _wrap_ListCtrl_RefreshItem
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35032          { (char *)"ListCtrl_RefreshItems", (PyCFunction
) _wrap_ListCtrl_RefreshItems
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35033          { (char *)"ListCtrl_Arrange", (PyCFunction
) _wrap_ListCtrl_Arrange
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35034          { (char *)"ListCtrl_DeleteItem", (PyCFunction
) _wrap_ListCtrl_DeleteItem
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35035          { (char *)"ListCtrl_DeleteAllItems", (PyCFunction
) _wrap_ListCtrl_DeleteAllItems
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35036          { (char *)"ListCtrl_DeleteColumn", (PyCFunction
) _wrap_ListCtrl_DeleteColumn
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35037          { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction
) _wrap_ListCtrl_DeleteAllColumns
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35038          { (char *)"ListCtrl_ClearAll", (PyCFunction
) _wrap_ListCtrl_ClearAll
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35039          { (char *)"ListCtrl_EditLabel", (PyCFunction
) _wrap_ListCtrl_EditLabel
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35040          { (char *)"ListCtrl_EnsureVisible", (PyCFunction
) _wrap_ListCtrl_EnsureVisible
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35041          { (char *)"ListCtrl_FindItem", (PyCFunction
) _wrap_ListCtrl_FindItem
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35042          { (char *)"ListCtrl_FindItemData", (PyCFunction
) _wrap_ListCtrl_FindItemData
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35043          { (char *)"ListCtrl_FindItemAtPos", (PyCFunction
) _wrap_ListCtrl_FindItemAtPos
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35044          { (char *)"ListCtrl_HitTest", (PyCFunction
) _wrap_ListCtrl_HitTest
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35045          { (char *)"ListCtrl_InsertItem", (PyCFunction
) _wrap_ListCtrl_InsertItem
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35046          { (char *)"ListCtrl_InsertStringItem", (PyCFunction
) _wrap_ListCtrl_InsertStringItem
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35047          { (char *)"ListCtrl_InsertImageItem", (PyCFunction
) _wrap_ListCtrl_InsertImageItem
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35048          { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_ListCtrl_InsertImageStringItem
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35049          { (char *)"ListCtrl_InsertColumnInfo", (PyCFunction
) _wrap_ListCtrl_InsertColumnInfo
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35050          { (char *)"ListCtrl_InsertColumn", (PyCFunction
) _wrap_ListCtrl_InsertColumn
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35051          { (char *)"ListCtrl_SetItemCount", (PyCFunction
) _wrap_ListCtrl_SetItemCount
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35052          { (char *)"ListCtrl_ScrollList", (PyCFunction
) _wrap_ListCtrl_ScrollList
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35053          { (char *)"ListCtrl_SetItemTextColour", (PyCFunction
) _wrap_ListCtrl_SetItemTextColour
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35054          { (char *)"ListCtrl_GetItemTextColour", (PyCFunction
) _wrap_ListCtrl_GetItemTextColour
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35055          { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetItemBackgroundColour
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35056          { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_GetItemBackgroundColour
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35057          { (char *)"ListCtrl_SortItems", (PyCFunction
) _wrap_ListCtrl_SortItems
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35058          { (char *)"ListCtrl_GetMainWindow", (PyCFunction
) _wrap_ListCtrl_GetMainWindow
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35059          { (char *)"ListCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListCtrl_GetClassDefaultAttributes
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35060          { (char *)"ListCtrl_swigregister", ListCtrl_swigregister
, METH_VARARGS
, NULL
}, 
35061          { (char *)"new_ListView", (PyCFunction
) _wrap_new_ListView
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35062          { (char *)"new_PreListView", (PyCFunction
) _wrap_new_PreListView
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35063          { (char *)"ListView_Create", (PyCFunction
) _wrap_ListView_Create
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35064          { (char *)"ListView_Select", (PyCFunction
) _wrap_ListView_Select
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35065          { (char *)"ListView_Focus", (PyCFunction
) _wrap_ListView_Focus
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35066          { (char *)"ListView_GetFocusedItem", (PyCFunction
) _wrap_ListView_GetFocusedItem
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35067          { (char *)"ListView_GetNextSelected", (PyCFunction
) _wrap_ListView_GetNextSelected
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35068          { (char *)"ListView_GetFirstSelected", (PyCFunction
) _wrap_ListView_GetFirstSelected
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35069          { (char *)"ListView_IsSelected", (PyCFunction
) _wrap_ListView_IsSelected
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35070          { (char *)"ListView_SetColumnImage", (PyCFunction
) _wrap_ListView_SetColumnImage
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35071          { (char *)"ListView_ClearColumnImage", (PyCFunction
) _wrap_ListView_ClearColumnImage
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35072          { (char *)"ListView_swigregister", ListView_swigregister
, METH_VARARGS
, NULL
}, 
35073          { (char *)"new_TreeItemId", (PyCFunction
) _wrap_new_TreeItemId
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35074          { (char *)"delete_TreeItemId", (PyCFunction
) _wrap_delete_TreeItemId
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35075          { (char *)"TreeItemId_IsOk", (PyCFunction
) _wrap_TreeItemId_IsOk
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35076          { (char *)"TreeItemId___eq__", (PyCFunction
) _wrap_TreeItemId___eq__
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35077          { (char *)"TreeItemId___ne__", (PyCFunction
) _wrap_TreeItemId___ne__
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35078          { (char *)"TreeItemId_m_pItem_set", (PyCFunction
) _wrap_TreeItemId_m_pItem_set
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35079          { (char *)"TreeItemId_m_pItem_get", (PyCFunction
) _wrap_TreeItemId_m_pItem_get
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35080          { (char *)"TreeItemId_swigregister", TreeItemId_swigregister
, METH_VARARGS
, NULL
}, 
35081          { (char *)"new_TreeItemData", (PyCFunction
) _wrap_new_TreeItemData
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35082          { (char *)"TreeItemData_GetData", (PyCFunction
) _wrap_TreeItemData_GetData
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35083          { (char *)"TreeItemData_SetData", (PyCFunction
) _wrap_TreeItemData_SetData
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35084          { (char *)"TreeItemData_GetId", (PyCFunction
) _wrap_TreeItemData_GetId
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35085          { (char *)"TreeItemData_SetId", (PyCFunction
) _wrap_TreeItemData_SetId
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35086          { (char *)"TreeItemData_Destroy", (PyCFunction
) _wrap_TreeItemData_Destroy
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35087          { (char *)"TreeItemData_swigregister", TreeItemData_swigregister
, METH_VARARGS
, NULL
}, 
35088          { (char *)"new_TreeEvent", (PyCFunction
) _wrap_new_TreeEvent
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35089          { (char *)"TreeEvent_GetItem", (PyCFunction
) _wrap_TreeEvent_GetItem
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35090          { (char *)"TreeEvent_SetItem", (PyCFunction
) _wrap_TreeEvent_SetItem
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35091          { (char *)"TreeEvent_GetOldItem", (PyCFunction
) _wrap_TreeEvent_GetOldItem
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35092          { (char *)"TreeEvent_SetOldItem", (PyCFunction
) _wrap_TreeEvent_SetOldItem
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35093          { (char *)"TreeEvent_GetPoint", (PyCFunction
) _wrap_TreeEvent_GetPoint
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35094          { (char *)"TreeEvent_SetPoint", (PyCFunction
) _wrap_TreeEvent_SetPoint
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35095          { (char *)"TreeEvent_GetKeyEvent", (PyCFunction
) _wrap_TreeEvent_GetKeyEvent
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35096          { (char *)"TreeEvent_GetKeyCode", (PyCFunction
) _wrap_TreeEvent_GetKeyCode
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35097          { (char *)"TreeEvent_SetKeyEvent", (PyCFunction
) _wrap_TreeEvent_SetKeyEvent
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35098          { (char *)"TreeEvent_GetLabel", (PyCFunction
) _wrap_TreeEvent_GetLabel
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35099          { (char *)"TreeEvent_SetLabel", (PyCFunction
) _wrap_TreeEvent_SetLabel
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35100          { (char *)"TreeEvent_IsEditCancelled", (PyCFunction
) _wrap_TreeEvent_IsEditCancelled
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35101          { (char *)"TreeEvent_SetEditCanceled", (PyCFunction
) _wrap_TreeEvent_SetEditCanceled
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35102          { (char *)"TreeEvent_SetToolTip", (PyCFunction
) _wrap_TreeEvent_SetToolTip
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35103          { (char *)"TreeEvent_swigregister", TreeEvent_swigregister
, METH_VARARGS
, NULL
}, 
35104          { (char *)"new_TreeCtrl", (PyCFunction
) _wrap_new_TreeCtrl
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35105          { (char *)"new_PreTreeCtrl", (PyCFunction
) _wrap_new_PreTreeCtrl
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35106          { (char *)"TreeCtrl_Create", (PyCFunction
) _wrap_TreeCtrl_Create
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35107          { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction
) _wrap_TreeCtrl__setCallbackInfo
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35108          { (char *)"TreeCtrl_GetCount", (PyCFunction
) _wrap_TreeCtrl_GetCount
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35109          { (char *)"TreeCtrl_GetIndent", (PyCFunction
) _wrap_TreeCtrl_GetIndent
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35110          { (char *)"TreeCtrl_SetIndent", (PyCFunction
) _wrap_TreeCtrl_SetIndent
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35111          { (char *)"TreeCtrl_GetSpacing", (PyCFunction
) _wrap_TreeCtrl_GetSpacing
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35112          { (char *)"TreeCtrl_SetSpacing", (PyCFunction
) _wrap_TreeCtrl_SetSpacing
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35113          { (char *)"TreeCtrl_GetImageList", (PyCFunction
) _wrap_TreeCtrl_GetImageList
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35114          { (char *)"TreeCtrl_GetStateImageList", (PyCFunction
) _wrap_TreeCtrl_GetStateImageList
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35115          { (char *)"TreeCtrl_SetImageList", (PyCFunction
) _wrap_TreeCtrl_SetImageList
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35116          { (char *)"TreeCtrl_SetStateImageList", (PyCFunction
) _wrap_TreeCtrl_SetStateImageList
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35117          { (char *)"TreeCtrl_AssignImageList", (PyCFunction
) _wrap_TreeCtrl_AssignImageList
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35118          { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction
) _wrap_TreeCtrl_AssignStateImageList
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35119          { (char *)"TreeCtrl_GetItemText", (PyCFunction
) _wrap_TreeCtrl_GetItemText
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35120          { (char *)"TreeCtrl_GetItemImage", (PyCFunction
) _wrap_TreeCtrl_GetItemImage
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35121          { (char *)"TreeCtrl_GetItemData", (PyCFunction
) _wrap_TreeCtrl_GetItemData
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35122          { (char *)"TreeCtrl_GetItemPyData", (PyCFunction
) _wrap_TreeCtrl_GetItemPyData
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35123          { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_GetItemTextColour
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35124          { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_GetItemBackgroundColour
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35125          { (char *)"TreeCtrl_GetItemFont", (PyCFunction
) _wrap_TreeCtrl_GetItemFont
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35126          { (char *)"TreeCtrl_SetItemText", (PyCFunction
) _wrap_TreeCtrl_SetItemText
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35127          { (char *)"TreeCtrl_SetItemImage", (PyCFunction
) _wrap_TreeCtrl_SetItemImage
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35128          { (char *)"TreeCtrl_SetItemData", (PyCFunction
) _wrap_TreeCtrl_SetItemData
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35129          { (char *)"TreeCtrl_SetItemPyData", (PyCFunction
) _wrap_TreeCtrl_SetItemPyData
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35130          { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_SetItemHasChildren
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35131          { (char *)"TreeCtrl_SetItemBold", (PyCFunction
) _wrap_TreeCtrl_SetItemBold
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35132          { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_SetItemTextColour
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35133          { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_SetItemBackgroundColour
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35134          { (char *)"TreeCtrl_SetItemFont", (PyCFunction
) _wrap_TreeCtrl_SetItemFont
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35135          { (char *)"TreeCtrl_IsVisible", (PyCFunction
) _wrap_TreeCtrl_IsVisible
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35136          { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_ItemHasChildren
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35137          { (char *)"TreeCtrl_IsExpanded", (PyCFunction
) _wrap_TreeCtrl_IsExpanded
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35138          { (char *)"TreeCtrl_IsSelected", (PyCFunction
) _wrap_TreeCtrl_IsSelected
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35139          { (char *)"TreeCtrl_IsBold", (PyCFunction
) _wrap_TreeCtrl_IsBold
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35140          { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_TreeCtrl_GetChildrenCount
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35141          { (char *)"TreeCtrl_GetRootItem", (PyCFunction
) _wrap_TreeCtrl_GetRootItem
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35142          { (char *)"TreeCtrl_GetSelection", (PyCFunction
) _wrap_TreeCtrl_GetSelection
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35143          { (char *)"TreeCtrl_GetSelections", (PyCFunction
) _wrap_TreeCtrl_GetSelections
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35144          { (char *)"TreeCtrl_GetItemParent", (PyCFunction
) _wrap_TreeCtrl_GetItemParent
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35145          { (char *)"TreeCtrl_GetFirstChild", (PyCFunction
) _wrap_TreeCtrl_GetFirstChild
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35146          { (char *)"TreeCtrl_GetNextChild", (PyCFunction
) _wrap_TreeCtrl_GetNextChild
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35147          { (char *)"TreeCtrl_GetLastChild", (PyCFunction
) _wrap_TreeCtrl_GetLastChild
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35148          { (char *)"TreeCtrl_GetNextSibling", (PyCFunction
) _wrap_TreeCtrl_GetNextSibling
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35149          { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_TreeCtrl_GetPrevSibling
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35150          { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction
) _wrap_TreeCtrl_GetFirstVisibleItem
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35151          { (char *)"TreeCtrl_GetNextVisible", (PyCFunction
) _wrap_TreeCtrl_GetNextVisible
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35152          { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_TreeCtrl_GetPrevVisible
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35153          { (char *)"TreeCtrl_AddRoot", (PyCFunction
) _wrap_TreeCtrl_AddRoot
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35154          { (char *)"TreeCtrl_PrependItem", (PyCFunction
) _wrap_TreeCtrl_PrependItem
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35155          { (char *)"TreeCtrl_InsertItem", (PyCFunction
) _wrap_TreeCtrl_InsertItem
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35156          { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction
) _wrap_TreeCtrl_InsertItemBefore
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35157          { (char *)"TreeCtrl_AppendItem", (PyCFunction
) _wrap_TreeCtrl_AppendItem
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35158          { (char *)"TreeCtrl_Delete", (PyCFunction
) _wrap_TreeCtrl_Delete
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35159          { (char *)"TreeCtrl_DeleteChildren", (PyCFunction
) _wrap_TreeCtrl_DeleteChildren
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35160          { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction
) _wrap_TreeCtrl_DeleteAllItems
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35161          { (char *)"TreeCtrl_Expand", (PyCFunction
) _wrap_TreeCtrl_Expand
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35162          { (char *)"TreeCtrl_Collapse", (PyCFunction
) _wrap_TreeCtrl_Collapse
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35163          { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_TreeCtrl_CollapseAndReset
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35164          { (char *)"TreeCtrl_Toggle", (PyCFunction
) _wrap_TreeCtrl_Toggle
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35165          { (char *)"TreeCtrl_Unselect", (PyCFunction
) _wrap_TreeCtrl_Unselect
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35166          { (char *)"TreeCtrl_UnselectItem", (PyCFunction
) _wrap_TreeCtrl_UnselectItem
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35167          { (char *)"TreeCtrl_UnselectAll", (PyCFunction
) _wrap_TreeCtrl_UnselectAll
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35168          { (char *)"TreeCtrl_SelectItem", (PyCFunction
) _wrap_TreeCtrl_SelectItem
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35169          { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction
) _wrap_TreeCtrl_ToggleItemSelection
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35170          { (char *)"TreeCtrl_EnsureVisible", (PyCFunction
) _wrap_TreeCtrl_EnsureVisible
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35171          { (char *)"TreeCtrl_ScrollTo", (PyCFunction
) _wrap_TreeCtrl_ScrollTo
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35172          { (char *)"TreeCtrl_EditLabel", (PyCFunction
) _wrap_TreeCtrl_EditLabel
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35173          { (char *)"TreeCtrl_GetEditControl", (PyCFunction
) _wrap_TreeCtrl_GetEditControl
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35174          { (char *)"TreeCtrl_SortChildren", (PyCFunction
) _wrap_TreeCtrl_SortChildren
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35175          { (char *)"TreeCtrl_HitTest", (PyCFunction
) _wrap_TreeCtrl_HitTest
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35176          { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction
) _wrap_TreeCtrl_GetBoundingRect
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35177          { (char *)"TreeCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TreeCtrl_GetClassDefaultAttributes
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35178          { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister
, METH_VARARGS
, NULL
}, 
35179          { (char *)"new_GenericDirCtrl", (PyCFunction
) _wrap_new_GenericDirCtrl
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35180          { (char *)"new_PreGenericDirCtrl", (PyCFunction
) _wrap_new_PreGenericDirCtrl
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35181          { (char *)"GenericDirCtrl_Create", (PyCFunction
) _wrap_GenericDirCtrl_Create
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35182          { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction
) _wrap_GenericDirCtrl_ExpandPath
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35183          { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_GetDefaultPath
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35184          { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_SetDefaultPath
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35185          { (char *)"GenericDirCtrl_GetPath", (PyCFunction
) _wrap_GenericDirCtrl_GetPath
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35186          { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction
) _wrap_GenericDirCtrl_GetFilePath
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35187          { (char *)"GenericDirCtrl_SetPath", (PyCFunction
) _wrap_GenericDirCtrl_SetPath
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35188          { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_ShowHidden
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35189          { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_GetShowHidden
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35190          { (char *)"GenericDirCtrl_GetFilter", (PyCFunction
) _wrap_GenericDirCtrl_GetFilter
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35191          { (char *)"GenericDirCtrl_SetFilter", (PyCFunction
) _wrap_GenericDirCtrl_SetFilter
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35192          { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterIndex
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35193          { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_SetFilterIndex
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35194          { (char *)"GenericDirCtrl_GetRootId", (PyCFunction
) _wrap_GenericDirCtrl_GetRootId
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35195          { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetTreeCtrl
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35196          { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterListCtrl
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35197          { (char *)"GenericDirCtrl_FindChild", (PyCFunction
) _wrap_GenericDirCtrl_FindChild
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35198          { (char *)"GenericDirCtrl_DoResize", (PyCFunction
) _wrap_GenericDirCtrl_DoResize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35199          { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction
) _wrap_GenericDirCtrl_ReCreateTree
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35200          { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister
, METH_VARARGS
, NULL
}, 
35201          { (char *)"new_DirFilterListCtrl", (PyCFunction
) _wrap_new_DirFilterListCtrl
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35202          { (char *)"new_PreDirFilterListCtrl", (PyCFunction
) _wrap_new_PreDirFilterListCtrl
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35203          { (char *)"DirFilterListCtrl_Create", (PyCFunction
) _wrap_DirFilterListCtrl_Create
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35204          { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction
) _wrap_DirFilterListCtrl_FillFilterList
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35205          { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister
, METH_VARARGS
, NULL
}, 
35206          { (char *)"new_PyControl", (PyCFunction
) _wrap_new_PyControl
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35207          { (char *)"new_PrePyControl", (PyCFunction
) _wrap_new_PrePyControl
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35208          { (char *)"PyControl__setCallbackInfo", (PyCFunction
) _wrap_PyControl__setCallbackInfo
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35209          { (char *)"PyControl_SetBestSize", (PyCFunction
) _wrap_PyControl_SetBestSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35210          { (char *)"PyControl_base_DoMoveWindow", (PyCFunction
) _wrap_PyControl_base_DoMoveWindow
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35211          { (char *)"PyControl_base_DoSetSize", (PyCFunction
) _wrap_PyControl_base_DoSetSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35212          { (char *)"PyControl_base_DoSetClientSize", (PyCFunction
) _wrap_PyControl_base_DoSetClientSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35213          { (char *)"PyControl_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoSetVirtualSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35214          { (char *)"PyControl_base_DoGetSize", (PyCFunction
) _wrap_PyControl_base_DoGetSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35215          { (char *)"PyControl_base_DoGetClientSize", (PyCFunction
) _wrap_PyControl_base_DoGetClientSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35216          { (char *)"PyControl_base_DoGetPosition", (PyCFunction
) _wrap_PyControl_base_DoGetPosition
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35217          { (char *)"PyControl_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoGetVirtualSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35218          { (char *)"PyControl_base_DoGetBestSize", (PyCFunction
) _wrap_PyControl_base_DoGetBestSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35219          { (char *)"PyControl_base_InitDialog", (PyCFunction
) _wrap_PyControl_base_InitDialog
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35220          { (char *)"PyControl_base_TransferDataToWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataToWindow
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35221          { (char *)"PyControl_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataFromWindow
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35222          { (char *)"PyControl_base_Validate", (PyCFunction
) _wrap_PyControl_base_Validate
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35223          { (char *)"PyControl_base_AcceptsFocus", (PyCFunction
) _wrap_PyControl_base_AcceptsFocus
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35224          { (char *)"PyControl_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyControl_base_AcceptsFocusFromKeyboard
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35225          { (char *)"PyControl_base_GetMaxSize", (PyCFunction
) _wrap_PyControl_base_GetMaxSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35226          { (char *)"PyControl_base_AddChild", (PyCFunction
) _wrap_PyControl_base_AddChild
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35227          { (char *)"PyControl_base_RemoveChild", (PyCFunction
) _wrap_PyControl_base_RemoveChild
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35228          { (char *)"PyControl_base_ShouldInheritColours", (PyCFunction
) _wrap_PyControl_base_ShouldInheritColours
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35229          { (char *)"PyControl_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyControl_base_ApplyParentThemeBackground
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35230          { (char *)"PyControl_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyControl_base_GetDefaultAttributes
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35231          { (char *)"PyControl_swigregister", PyControl_swigregister
, METH_VARARGS
, NULL
}, 
35232          { (char *)"new_HelpEvent", (PyCFunction
) _wrap_new_HelpEvent
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35233          { (char *)"HelpEvent_GetPosition", (PyCFunction
) _wrap_HelpEvent_GetPosition
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35234          { (char *)"HelpEvent_SetPosition", (PyCFunction
) _wrap_HelpEvent_SetPosition
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35235          { (char *)"HelpEvent_GetLink", (PyCFunction
) _wrap_HelpEvent_GetLink
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35236          { (char *)"HelpEvent_SetLink", (PyCFunction
) _wrap_HelpEvent_SetLink
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35237          { (char *)"HelpEvent_GetTarget", (PyCFunction
) _wrap_HelpEvent_GetTarget
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35238          { (char *)"HelpEvent_SetTarget", (PyCFunction
) _wrap_HelpEvent_SetTarget
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35239          { (char *)"HelpEvent_swigregister", HelpEvent_swigregister
, METH_VARARGS
, NULL
}, 
35240          { (char *)"new_ContextHelp", (PyCFunction
) _wrap_new_ContextHelp
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35241          { (char *)"delete_ContextHelp", (PyCFunction
) _wrap_delete_ContextHelp
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35242          { (char *)"ContextHelp_BeginContextHelp", (PyCFunction
) _wrap_ContextHelp_BeginContextHelp
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35243          { (char *)"ContextHelp_EndContextHelp", (PyCFunction
) _wrap_ContextHelp_EndContextHelp
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35244          { (char *)"ContextHelp_swigregister", ContextHelp_swigregister
, METH_VARARGS
, NULL
}, 
35245          { (char *)"new_ContextHelpButton", (PyCFunction
) _wrap_new_ContextHelpButton
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35246          { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister
, METH_VARARGS
, NULL
}, 
35247          { (char *)"HelpProvider_Set", (PyCFunction
) _wrap_HelpProvider_Set
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35248          { (char *)"HelpProvider_Get", (PyCFunction
) _wrap_HelpProvider_Get
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35249          { (char *)"HelpProvider_GetHelp", (PyCFunction
) _wrap_HelpProvider_GetHelp
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35250          { (char *)"HelpProvider_ShowHelp", (PyCFunction
) _wrap_HelpProvider_ShowHelp
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35251          { (char *)"HelpProvider_AddHelp", (PyCFunction
) _wrap_HelpProvider_AddHelp
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35252          { (char *)"HelpProvider_AddHelpById", (PyCFunction
) _wrap_HelpProvider_AddHelpById
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35253          { (char *)"HelpProvider_RemoveHelp", (PyCFunction
) _wrap_HelpProvider_RemoveHelp
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35254          { (char *)"HelpProvider_Destroy", (PyCFunction
) _wrap_HelpProvider_Destroy
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35255          { (char *)"HelpProvider_swigregister", HelpProvider_swigregister
, METH_VARARGS
, NULL
}, 
35256          { (char *)"new_SimpleHelpProvider", (PyCFunction
) _wrap_new_SimpleHelpProvider
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35257          { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister
, METH_VARARGS
, NULL
}, 
35258          { (char *)"new_DragImage", (PyCFunction
) _wrap_new_DragImage
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35259          { (char *)"new_DragIcon", (PyCFunction
) _wrap_new_DragIcon
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35260          { (char *)"new_DragString", (PyCFunction
) _wrap_new_DragString
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35261          { (char *)"new_DragTreeItem", (PyCFunction
) _wrap_new_DragTreeItem
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35262          { (char *)"new_DragListItem", (PyCFunction
) _wrap_new_DragListItem
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35263          { (char *)"delete_DragImage", (PyCFunction
) _wrap_delete_DragImage
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35264          { (char *)"DragImage_SetBackingBitmap", (PyCFunction
) _wrap_DragImage_SetBackingBitmap
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35265          { (char *)"DragImage_BeginDrag", (PyCFunction
) _wrap_DragImage_BeginDrag
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35266          { (char *)"DragImage_BeginDragBounded", (PyCFunction
) _wrap_DragImage_BeginDragBounded
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35267          { (char *)"DragImage_EndDrag", (PyCFunction
) _wrap_DragImage_EndDrag
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35268          { (char *)"DragImage_Move", (PyCFunction
) _wrap_DragImage_Move
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35269          { (char *)"DragImage_Show", (PyCFunction
) _wrap_DragImage_Show
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35270          { (char *)"DragImage_Hide", (PyCFunction
) _wrap_DragImage_Hide
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35271          { (char *)"DragImage_GetImageRect", (PyCFunction
) _wrap_DragImage_GetImageRect
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35272          { (char *)"DragImage_DoDrawImage", (PyCFunction
) _wrap_DragImage_DoDrawImage
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35273          { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction
) _wrap_DragImage_UpdateBackingFromWindow
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35274          { (char *)"DragImage_RedrawImage", (PyCFunction
) _wrap_DragImage_RedrawImage
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
35275          { (char *)"DragImage_swigregister", DragImage_swigregister
, METH_VARARGS
, NULL
}, 
35276          { NULL
, NULL
, 0, NULL 
} 
35280 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */ 
35282 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) { 
35283     return (void *)((wxSizer 
*)  ((wxBoxSizer 
*) x
)); 
35285 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) { 
35286     return (void *)((wxSizer 
*) (wxBoxSizer 
*) ((wxStaticBoxSizer 
*) x
)); 
35288 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) { 
35289     return (void *)((wxSizer 
*) (wxGridSizer 
*)(wxFlexGridSizer 
*) ((wxGridBagSizer 
*) x
)); 
35291 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) { 
35292     return (void *)((wxSizer 
*)  ((wxGridSizer 
*) x
)); 
35294 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) { 
35295     return (void *)((wxSizer 
*) (wxGridSizer 
*) ((wxFlexGridSizer 
*) x
)); 
35297 static void *_p_wxNotebookSizerTo_p_wxSizer(void *x
) { 
35298     return (void *)((wxSizer 
*)  ((wxNotebookSizer 
*) x
)); 
35300 static void *_p_wxPySizerTo_p_wxSizer(void *x
) { 
35301     return (void *)((wxSizer 
*)  ((wxPySizer 
*) x
)); 
35303 static void *_p_wxBookCtrlSizerTo_p_wxSizer(void *x
) { 
35304     return (void *)((wxSizer 
*)  ((wxBookCtrlSizer 
*) x
)); 
35306 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) { 
35307     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxContextMenuEvent 
*) x
)); 
35309 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) { 
35310     return (void *)((wxEvent 
*)  ((wxMenuEvent 
*) x
)); 
35312 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) { 
35313     return (void *)((wxEvent 
*)  ((wxCloseEvent 
*) x
)); 
35315 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) { 
35316     return (void *)((wxEvent 
*)  ((wxMouseEvent 
*) x
)); 
35318 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) { 
35319     return (void *)((wxEvent 
*)  ((wxEraseEvent 
*) x
)); 
35321 static void *_p_wxBookCtrlBaseEventTo_p_wxEvent(void *x
) { 
35322     return (void *)((wxEvent 
*) (wxCommandEvent 
*)(wxNotifyEvent 
*) ((wxBookCtrlBaseEvent 
*) x
)); 
35324 static void *_p_wxTreeEventTo_p_wxEvent(void *x
) { 
35325     return (void *)((wxEvent 
*) (wxCommandEvent 
*)(wxNotifyEvent 
*) ((wxTreeEvent 
*) x
)); 
35327 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) { 
35328     return (void *)((wxEvent 
*)  ((wxSetCursorEvent 
*) x
)); 
35330 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) { 
35331     return (void *)((wxEvent 
*)  ((wxInitDialogEvent 
*) x
)); 
35333 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) { 
35334     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxScrollEvent 
*) x
)); 
35336 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x
) { 
35337     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxTextUrlEvent 
*) x
)); 
35339 static void *_p_wxPyEventTo_p_wxEvent(void *x
) { 
35340     return (void *)((wxEvent 
*)  ((wxPyEvent 
*) x
)); 
35342 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) { 
35343     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxNotifyEvent 
*) x
)); 
35345 static void *_p_wxListEventTo_p_wxEvent(void *x
) { 
35346     return (void *)((wxEvent 
*) (wxCommandEvent 
*)(wxNotifyEvent 
*) ((wxListEvent 
*) x
)); 
35348 static void *_p_wxNotebookEventTo_p_wxEvent(void *x
) { 
35349     return (void *)((wxEvent 
*) (wxCommandEvent 
*)(wxNotifyEvent 
*)(wxBookCtrlBaseEvent 
*) ((wxNotebookEvent 
*) x
)); 
35351 static void *_p_wxListbookEventTo_p_wxEvent(void *x
) { 
35352     return (void *)((wxEvent 
*) (wxCommandEvent 
*)(wxNotifyEvent 
*)(wxBookCtrlBaseEvent 
*) ((wxListbookEvent 
*) x
)); 
35354 static void *_p_wxChoicebookEventTo_p_wxEvent(void *x
) { 
35355     return (void *)((wxEvent 
*) (wxCommandEvent 
*)(wxNotifyEvent 
*)(wxBookCtrlBaseEvent 
*) ((wxChoicebookEvent 
*) x
)); 
35357 static void *_p_wxHelpEventTo_p_wxEvent(void *x
) { 
35358     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxHelpEvent 
*) x
)); 
35360 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) { 
35361     return (void *)((wxEvent 
*)  ((wxIdleEvent 
*) x
)); 
35363 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) { 
35364     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxWindowCreateEvent 
*) x
)); 
35366 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) { 
35367     return (void *)((wxEvent 
*)  ((wxQueryNewPaletteEvent 
*) x
)); 
35369 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) { 
35370     return (void *)((wxEvent 
*)  ((wxMaximizeEvent 
*) x
)); 
35372 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) { 
35373     return (void *)((wxEvent 
*)  ((wxIconizeEvent 
*) x
)); 
35375 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) { 
35376     return (void *)((wxEvent 
*)  ((wxActivateEvent 
*) x
)); 
35378 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) { 
35379     return (void *)((wxEvent 
*)  ((wxSizeEvent 
*) x
)); 
35381 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) { 
35382     return (void *)((wxEvent 
*)  ((wxMoveEvent 
*) x
)); 
35384 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) { 
35385     return (void *)((wxEvent 
*)  ((wxPaintEvent 
*) x
)); 
35387 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) { 
35388     return (void *)((wxEvent 
*)  ((wxNcPaintEvent 
*) x
)); 
35390 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) { 
35391     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxUpdateUIEvent 
*) x
)); 
35393 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) { 
35394     return (void *)((wxEvent 
*)  ((wxPaletteChangedEvent 
*) x
)); 
35396 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) { 
35397     return (void *)((wxEvent 
*)  ((wxDisplayChangedEvent 
*) x
)); 
35399 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) { 
35400     return (void *)((wxEvent 
*)  ((wxMouseCaptureChangedEvent 
*) x
)); 
35402 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) { 
35403     return (void *)((wxEvent 
*)  ((wxSysColourChangedEvent 
*) x
)); 
35405 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) { 
35406     return (void *)((wxEvent 
*)  ((wxDropFilesEvent 
*) x
)); 
35408 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) { 
35409     return (void *)((wxEvent 
*)  ((wxFocusEvent 
*) x
)); 
35411 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) { 
35412     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxChildFocusEvent 
*) x
)); 
35414 static void *_p_wxShowEventTo_p_wxEvent(void *x
) { 
35415     return (void *)((wxEvent 
*)  ((wxShowEvent 
*) x
)); 
35417 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) { 
35418     return (void *)((wxEvent 
*)  ((wxCommandEvent 
*) x
)); 
35420 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) { 
35421     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxPyCommandEvent 
*) x
)); 
35423 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) { 
35424     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxWindowDestroyEvent 
*) x
)); 
35426 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) { 
35427     return (void *)((wxEvent 
*)  ((wxNavigationKeyEvent 
*) x
)); 
35429 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) { 
35430     return (void *)((wxEvent 
*)  ((wxKeyEvent 
*) x
)); 
35432 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) { 
35433     return (void *)((wxEvent 
*)  ((wxScrollWinEvent 
*) x
)); 
35435 static void *_p_wxSpinEventTo_p_wxEvent(void *x
) { 
35436     return (void *)((wxEvent 
*) (wxCommandEvent 
*)(wxNotifyEvent 
*) ((wxSpinEvent 
*) x
)); 
35438 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x
) { 
35439     return (void *)((wxItemContainer 
*)  ((wxComboBox 
*) x
)); 
35441 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x
) { 
35442     return (void *)((wxItemContainer 
*) (wxControlWithItems 
*)(wxChoice 
*) ((wxDirFilterListCtrl 
*) x
)); 
35444 static void *_p_wxChoiceTo_p_wxItemContainer(void *x
) { 
35445     return (void *)((wxItemContainer 
*) (wxControlWithItems 
*) ((wxChoice 
*) x
)); 
35447 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) { 
35448     return (void *)((wxItemContainer 
*)  ((wxControlWithItems 
*) x
)); 
35450 static void *_p_wxListBoxTo_p_wxItemContainer(void *x
) { 
35451     return (void *)((wxItemContainer 
*) (wxControlWithItems 
*) ((wxListBox 
*) x
)); 
35453 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x
) { 
35454     return (void *)((wxItemContainer 
*) (wxControlWithItems 
*)(wxListBox 
*) ((wxCheckListBox 
*) x
)); 
35456 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x
) { 
35457     return (void *)((wxPyListCtrl 
*)  ((wxListView 
*) x
)); 
35459 static void *_p_wxBookCtrlBaseTo_p_wxControl(void *x
) { 
35460     return (void *)((wxControl 
*)  ((wxBookCtrlBase 
*) x
)); 
35462 static void *_p_wxToolBarTo_p_wxControl(void *x
) { 
35463     return (void *)((wxControl 
*) (wxToolBarBase 
*) ((wxToolBar 
*) x
)); 
35465 static void *_p_wxToggleButtonTo_p_wxControl(void *x
) { 
35466     return (void *)((wxControl 
*)  ((wxToggleButton 
*) x
)); 
35468 static void *_p_wxRadioButtonTo_p_wxControl(void *x
) { 
35469     return (void *)((wxControl 
*)  ((wxRadioButton 
*) x
)); 
35471 static void *_p_wxPyControlTo_p_wxControl(void *x
) { 
35472     return (void *)((wxControl 
*)  ((wxPyControl 
*) x
)); 
35474 static void *_p_wxToolBarBaseTo_p_wxControl(void *x
) { 
35475     return (void *)((wxControl 
*)  ((wxToolBarBase 
*) x
)); 
35477 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x
) { 
35478     return (void *)((wxControl 
*) (wxControlWithItems 
*)(wxChoice 
*) ((wxDirFilterListCtrl 
*) x
)); 
35480 static void *_p_wxPyListCtrlTo_p_wxControl(void *x
) { 
35481     return (void *)((wxControl 
*)  ((wxPyListCtrl 
*) x
)); 
35483 static void *_p_wxComboBoxTo_p_wxControl(void *x
) { 
35484     return (void *)((wxControl 
*)  ((wxComboBox 
*) x
)); 
35486 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x
) { 
35487     return (void *)((wxControl 
*)  ((wxGenericDirCtrl 
*) x
)); 
35489 static void *_p_wxScrollBarTo_p_wxControl(void *x
) { 
35490     return (void *)((wxControl 
*)  ((wxScrollBar 
*) x
)); 
35492 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) { 
35493     return (void *)((wxControl 
*)  ((wxControlWithItems 
*) x
)); 
35495 static void *_p_wxGaugeTo_p_wxControl(void *x
) { 
35496     return (void *)((wxControl 
*)  ((wxGauge 
*) x
)); 
35498 static void *_p_wxStaticLineTo_p_wxControl(void *x
) { 
35499     return (void *)((wxControl 
*)  ((wxStaticLine 
*) x
)); 
35501 static void *_p_wxChoicebookTo_p_wxControl(void *x
) { 
35502     return (void *)((wxControl 
*) (wxBookCtrlBase 
*) ((wxChoicebook 
*) x
)); 
35504 static void *_p_wxListbookTo_p_wxControl(void *x
) { 
35505     return (void *)((wxControl 
*) (wxBookCtrlBase 
*) ((wxListbook 
*) x
)); 
35507 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x
) { 
35508     return (void *)((wxControl 
*)  ((wxPyTreeCtrl 
*) x
)); 
35510 static void *_p_wxCheckBoxTo_p_wxControl(void *x
) { 
35511     return (void *)((wxControl 
*)  ((wxCheckBox 
*) x
)); 
35513 static void *_p_wxRadioBoxTo_p_wxControl(void *x
) { 
35514     return (void *)((wxControl 
*)  ((wxRadioBox 
*) x
)); 
35516 static void *_p_wxChoiceTo_p_wxControl(void *x
) { 
35517     return (void *)((wxControl 
*) (wxControlWithItems 
*) ((wxChoice 
*) x
)); 
35519 static void *_p_wxListBoxTo_p_wxControl(void *x
) { 
35520     return (void *)((wxControl 
*) (wxControlWithItems 
*) ((wxListBox 
*) x
)); 
35522 static void *_p_wxCheckListBoxTo_p_wxControl(void *x
) { 
35523     return (void *)((wxControl 
*) (wxControlWithItems 
*)(wxListBox 
*) ((wxCheckListBox 
*) x
)); 
35525 static void *_p_wxListViewTo_p_wxControl(void *x
) { 
35526     return (void *)((wxControl 
*) (wxPyListCtrl 
*) ((wxListView 
*) x
)); 
35528 static void *_p_wxNotebookTo_p_wxControl(void *x
) { 
35529     return (void *)((wxControl 
*) (wxBookCtrlBase 
*) ((wxNotebook 
*) x
)); 
35531 static void *_p_wxStaticBitmapTo_p_wxControl(void *x
) { 
35532     return (void *)((wxControl 
*)  ((wxStaticBitmap 
*) x
)); 
35534 static void *_p_wxSpinCtrlTo_p_wxControl(void *x
) { 
35535     return (void *)((wxControl 
*)  ((wxSpinCtrl 
*) x
)); 
35537 static void *_p_wxStaticTextTo_p_wxControl(void *x
) { 
35538     return (void *)((wxControl 
*)  ((wxStaticText 
*) x
)); 
35540 static void *_p_wxStaticBoxTo_p_wxControl(void *x
) { 
35541     return (void *)((wxControl 
*)  ((wxStaticBox 
*) x
)); 
35543 static void *_p_wxSliderTo_p_wxControl(void *x
) { 
35544     return (void *)((wxControl 
*)  ((wxSlider 
*) x
)); 
35546 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x
) { 
35547     return (void *)((wxControl 
*) (wxButton 
*)(wxBitmapButton 
*) ((wxContextHelpButton 
*) x
)); 
35549 static void *_p_wxSpinButtonTo_p_wxControl(void *x
) { 
35550     return (void *)((wxControl 
*)  ((wxSpinButton 
*) x
)); 
35552 static void *_p_wxButtonTo_p_wxControl(void *x
) { 
35553     return (void *)((wxControl 
*)  ((wxButton 
*) x
)); 
35555 static void *_p_wxBitmapButtonTo_p_wxControl(void *x
) { 
35556     return (void *)((wxControl 
*) (wxButton 
*) ((wxBitmapButton 
*) x
)); 
35558 static void *_p_wxTextCtrlTo_p_wxControl(void *x
) { 
35559     return (void *)((wxControl 
*)  ((wxTextCtrl 
*) x
)); 
35561 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x
) { 
35562     return (void *)((wxToolBarBase 
*)  ((wxToolBar 
*) x
)); 
35564 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x
) { 
35565     return (void *)((wxChoice 
*)  ((wxDirFilterListCtrl 
*) x
)); 
35567 static void *_p_wxBookCtrlBaseEventTo_p_wxNotifyEvent(void *x
) { 
35568     return (void *)((wxNotifyEvent 
*)  ((wxBookCtrlBaseEvent 
*) x
)); 
35570 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x
) { 
35571     return (void *)((wxNotifyEvent 
*)  ((wxTreeEvent 
*) x
)); 
35573 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x
) { 
35574     return (void *)((wxNotifyEvent 
*)  ((wxListEvent 
*) x
)); 
35576 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x
) { 
35577     return (void *)((wxNotifyEvent 
*)  ((wxSpinEvent 
*) x
)); 
35579 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x
) { 
35580     return (void *)((wxNotifyEvent 
*) (wxBookCtrlBaseEvent 
*) ((wxNotebookEvent 
*) x
)); 
35582 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x
) { 
35583     return (void *)((wxNotifyEvent 
*) (wxBookCtrlBaseEvent 
*) ((wxListbookEvent 
*) x
)); 
35585 static void *_p_wxChoicebookEventTo_p_wxNotifyEvent(void *x
) { 
35586     return (void *)((wxNotifyEvent 
*) (wxBookCtrlBaseEvent 
*) ((wxChoicebookEvent 
*) x
)); 
35588 static void *_p_wxChoicebookTo_p_wxBookCtrlBase(void *x
) { 
35589     return (void *)((wxBookCtrlBase 
*)  ((wxChoicebook 
*) x
)); 
35591 static void *_p_wxListbookTo_p_wxBookCtrlBase(void *x
) { 
35592     return (void *)((wxBookCtrlBase 
*)  ((wxListbook 
*) x
)); 
35594 static void *_p_wxNotebookTo_p_wxBookCtrlBase(void *x
) { 
35595     return (void *)((wxBookCtrlBase 
*)  ((wxNotebook 
*) x
)); 
35597 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) { 
35598     return (void *)((wxEvtHandler 
*) (wxWindow 
*) ((wxMenuBar 
*) x
)); 
35600 static void *_p_wxBookCtrlBaseTo_p_wxEvtHandler(void *x
) { 
35601     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxControl 
*) ((wxBookCtrlBase 
*) x
)); 
35603 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) { 
35604     return (void *)((wxEvtHandler 
*)  ((wxValidator 
*) x
)); 
35606 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) { 
35607     return (void *)((wxEvtHandler 
*) (wxValidator 
*) ((wxPyValidator 
*) x
)); 
35609 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x
) { 
35610     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxControl 
*)(wxToolBarBase 
*) ((wxToolBar 
*) x
)); 
35612 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) { 
35613     return (void *)((wxEvtHandler 
*)  ((wxMenu 
*) x
)); 
35615 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x
) { 
35616     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxControl 
*) ((wxToggleButton 
*) x
)); 
35618 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x
) { 
35619     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxControl 
*) ((wxRadioButton 
*) x
)); 
35621 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) { 
35622     return (void *)((wxEvtHandler 
*)  ((wxWindow 
*) x
)); 
35624 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) { 
35625     return (void *)((wxEvtHandler 
*) (wxWindow 
*) ((wxControl 
*) x
)); 
35627 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x
) { 
35628     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxControl 
*) ((wxToolBarBase 
*) x
)); 
35630 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x
) { 
35631     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxControl 
*) ((wxComboBox 
*) x
)); 
35633 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x
) { 
35634     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxControl 
*) ((wxPyListCtrl 
*) x
)); 
35636 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x
) { 
35637     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxControl 
*)(wxControlWithItems 
*)(wxChoice 
*) ((wxDirFilterListCtrl 
*) x
)); 
35639 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x
) { 
35640     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxControl 
*) ((wxPyControl 
*) x
)); 
35642 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) { 
35643     return (void *)((wxEvtHandler 
*)  ((wxPyApp 
*) x
)); 
35645 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x
) { 
35646     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxControl 
*) ((wxGenericDirCtrl 
*) x
)); 
35648 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x
) { 
35649     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxControl 
*) ((wxScrollBar 
*) x
)); 
35651 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) { 
35652     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxControl 
*) ((wxControlWithItems 
*) x
)); 
35654 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x
) { 
35655     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxControl 
*) ((wxGauge 
*) x
)); 
35657 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x
) { 
35658     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxControl 
*) ((wxStaticLine 
*) x
)); 
35660 static void *_p_wxChoicebookTo_p_wxEvtHandler(void *x
) { 
35661     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxControl 
*)(wxBookCtrlBase 
*) ((wxChoicebook 
*) x
)); 
35663 static void *_p_wxListbookTo_p_wxEvtHandler(void *x
) { 
35664     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxControl 
*)(wxBookCtrlBase 
*) ((wxListbook 
*) x
)); 
35666 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x
) { 
35667     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxControl 
*) ((wxPyTreeCtrl 
*) x
)); 
35669 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x
) { 
35670     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxControl 
*) ((wxCheckBox 
*) x
)); 
35672 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x
) { 
35673     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxControl 
*) ((wxRadioBox 
*) x
)); 
35675 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x
) { 
35676     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxControl 
*)(wxControlWithItems 
*)(wxListBox 
*) ((wxCheckListBox 
*) x
)); 
35678 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x
) { 
35679     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxControl 
*)(wxControlWithItems 
*) ((wxListBox 
*) x
)); 
35681 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x
) { 
35682     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxControl 
*)(wxControlWithItems 
*) ((wxChoice 
*) x
)); 
35684 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x
) { 
35685     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxControl 
*)(wxBookCtrlBase 
*) ((wxNotebook 
*) x
)); 
35687 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x
) { 
35688     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxControl 
*) ((wxStaticBitmap 
*) x
)); 
35690 static void *_p_wxListViewTo_p_wxEvtHandler(void *x
) { 
35691     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxControl 
*)(wxPyListCtrl 
*) ((wxListView 
*) x
)); 
35693 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x
) { 
35694     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxControl 
*) ((wxSpinCtrl 
*) x
)); 
35696 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x
) { 
35697     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxControl 
*) ((wxStaticText 
*) x
)); 
35699 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x
) { 
35700     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxControl 
*) ((wxStaticBox 
*) x
)); 
35702 static void *_p_wxSliderTo_p_wxEvtHandler(void *x
) { 
35703     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxControl 
*) ((wxSlider 
*) x
)); 
35705 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x
) { 
35706     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxControl 
*) ((wxSpinButton 
*) x
)); 
35708 static void *_p_wxButtonTo_p_wxEvtHandler(void *x
) { 
35709     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxControl 
*) ((wxButton 
*) x
)); 
35711 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x
) { 
35712     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxControl 
*)(wxButton 
*) ((wxBitmapButton 
*) x
)); 
35714 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x
) { 
35715     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxControl 
*)(wxButton 
*)(wxBitmapButton 
*) ((wxContextHelpButton 
*) x
)); 
35717 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x
) { 
35718     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxControl 
*) ((wxTextCtrl 
*) x
)); 
35720 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x
) { 
35721     return (void *)((wxListBox 
*)  ((wxCheckListBox 
*) x
)); 
35723 static void *_p_wxBitmapButtonTo_p_wxButton(void *x
) { 
35724     return (void *)((wxButton 
*)  ((wxBitmapButton 
*) x
)); 
35726 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x
) { 
35727     return (void *)((wxButton 
*) (wxBitmapButton 
*) ((wxContextHelpButton 
*) x
)); 
35729 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x
) { 
35730     return (void *)((wxBitmapButton 
*)  ((wxContextHelpButton 
*) x
)); 
35732 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x
) { 
35733     return (void *)((wxHelpProvider 
*)  ((wxSimpleHelpProvider 
*) x
)); 
35735 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) { 
35736     return (void *)((wxObject 
*)  ((wxLayoutConstraints 
*) x
)); 
35738 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) { 
35739     return (void *)((wxObject 
*) (wxSizerItem 
*) ((wxGBSizerItem 
*) x
)); 
35741 static void *_p_wxSizerItemTo_p_wxObject(void *x
) { 
35742     return (void *)((wxObject 
*)  ((wxSizerItem 
*) x
)); 
35744 static void *_p_wxScrollEventTo_p_wxObject(void *x
) { 
35745     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxScrollEvent 
*) x
)); 
35747 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) { 
35748     return (void *)((wxObject 
*)  ((wxIndividualLayoutConstraint 
*) x
)); 
35750 static void *_p_wxTextUrlEventTo_p_wxObject(void *x
) { 
35751     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxTextUrlEvent 
*) x
)); 
35753 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) { 
35754     return (void *)((wxObject 
*) (wxSizer 
*)(wxBoxSizer 
*) ((wxStaticBoxSizer 
*) x
)); 
35756 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) { 
35757     return (void *)((wxObject 
*) (wxSizer 
*) ((wxBoxSizer 
*) x
)); 
35759 static void *_p_wxSizerTo_p_wxObject(void *x
) { 
35760     return (void *)((wxObject 
*)  ((wxSizer 
*) x
)); 
35762 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) { 
35763     return (void *)((wxObject 
*) (wxSizer 
*)(wxGridSizer 
*)(wxFlexGridSizer 
*) ((wxGridBagSizer 
*) x
)); 
35765 static void *_p_wxCheckBoxTo_p_wxObject(void *x
) { 
35766     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxControl 
*) ((wxCheckBox 
*) x
)); 
35768 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x
) { 
35769     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxControl 
*) ((wxPyTreeCtrl 
*) x
)); 
35771 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) { 
35772     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxUpdateUIEvent 
*) x
)); 
35774 static void *_p_wxEventTo_p_wxObject(void *x
) { 
35775     return (void *)((wxObject 
*)  ((wxEvent 
*) x
)); 
35777 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) { 
35778     return (void *)((wxObject 
*) (wxSizer 
*)(wxGridSizer 
*) ((wxFlexGridSizer 
*) x
)); 
35780 static void *_p_wxGridSizerTo_p_wxObject(void *x
) { 
35781     return (void *)((wxObject 
*) (wxSizer 
*) ((wxGridSizer 
*) x
)); 
35783 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) { 
35784     return (void *)((wxObject 
*) (wxEvent 
*) ((wxInitDialogEvent 
*) x
)); 
35786 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x
) { 
35787     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxControl 
*) ((wxGenericDirCtrl 
*) x
)); 
35789 static void *_p_wxPyListCtrlTo_p_wxObject(void *x
) { 
35790     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxControl 
*) ((wxPyListCtrl 
*) x
)); 
35792 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x
) { 
35793     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxControl 
*)(wxControlWithItems 
*)(wxChoice 
*) ((wxDirFilterListCtrl 
*) x
)); 
35795 static void *_p_wxPaintEventTo_p_wxObject(void *x
) { 
35796     return (void *)((wxObject 
*) (wxEvent 
*) ((wxPaintEvent 
*) x
)); 
35798 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) { 
35799     return (void *)((wxObject 
*) (wxEvent 
*) ((wxNcPaintEvent 
*) x
)); 
35801 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) { 
35802     return (void *)((wxObject 
*) (wxEvent 
*) ((wxPaletteChangedEvent 
*) x
)); 
35804 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) { 
35805     return (void *)((wxObject 
*) (wxEvent 
*) ((wxDisplayChangedEvent 
*) x
)); 
35807 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) { 
35808     return (void *)((wxObject 
*) (wxEvent 
*) ((wxMouseCaptureChangedEvent 
*) x
)); 
35810 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) { 
35811     return (void *)((wxObject 
*) (wxEvent 
*) ((wxSysColourChangedEvent 
*) x
)); 
35813 static void *_p_wxStaticLineTo_p_wxObject(void *x
) { 
35814     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxControl 
*) ((wxStaticLine 
*) x
)); 
35816 static void *_p_wxControlTo_p_wxObject(void *x
) { 
35817     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*) ((wxControl 
*) x
)); 
35819 static void *_p_wxPyControlTo_p_wxObject(void *x
) { 
35820     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxControl 
*) ((wxPyControl 
*) x
)); 
35822 static void *_p_wxGaugeTo_p_wxObject(void *x
) { 
35823     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxControl 
*) ((wxGauge 
*) x
)); 
35825 static void *_p_wxRadioButtonTo_p_wxObject(void *x
) { 
35826     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxControl 
*) ((wxRadioButton 
*) x
)); 
35828 static void *_p_wxToggleButtonTo_p_wxObject(void *x
) { 
35829     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxControl 
*) ((wxToggleButton 
*) x
)); 
35831 static void *_p_wxToolBarBaseTo_p_wxObject(void *x
) { 
35832     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxControl 
*) ((wxToolBarBase 
*) x
)); 
35834 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) { 
35835     return (void *)((wxObject 
*) (wxEvent 
*) ((wxSetCursorEvent 
*) x
)); 
35837 static void *_p_wxChoiceTo_p_wxObject(void *x
) { 
35838     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxControl 
*)(wxControlWithItems 
*) ((wxChoice 
*) x
)); 
35840 static void *_p_wxFSFileTo_p_wxObject(void *x
) { 
35841     return (void *)((wxObject 
*)  ((wxFSFile 
*) x
)); 
35843 static void *_p_wxPySizerTo_p_wxObject(void *x
) { 
35844     return (void *)((wxObject 
*) (wxSizer 
*) ((wxPySizer 
*) x
)); 
35846 static void *_p_wxListViewTo_p_wxObject(void *x
) { 
35847     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxControl 
*)(wxPyListCtrl 
*) ((wxListView 
*) x
)); 
35849 static void *_p_wxTextCtrlTo_p_wxObject(void *x
) { 
35850     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxControl 
*) ((wxTextCtrl 
*) x
)); 
35852 static void *_p_wxNotebookTo_p_wxObject(void *x
) { 
35853     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxControl 
*)(wxBookCtrlBase 
*) ((wxNotebook 
*) x
)); 
35855 static void *_p_wxPyEventTo_p_wxObject(void *x
) { 
35856     return (void *)((wxObject 
*) (wxEvent 
*) ((wxPyEvent 
*) x
)); 
35858 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) { 
35859     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxNotifyEvent 
*) x
)); 
35861 static void *_p_wxChoicebookTo_p_wxObject(void *x
) { 
35862     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxControl 
*)(wxBookCtrlBase 
*) ((wxChoicebook 
*) x
)); 
35864 static void *_p_wxListbookTo_p_wxObject(void *x
) { 
35865     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxControl 
*)(wxBookCtrlBase 
*) ((wxListbook 
*) x
)); 
35867 static void *_p_wxShowEventTo_p_wxObject(void *x
) { 
35868     return (void *)((wxObject 
*) (wxEvent 
*) ((wxShowEvent 
*) x
)); 
35870 static void *_p_wxStaticBitmapTo_p_wxObject(void *x
) { 
35871     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxControl 
*) ((wxStaticBitmap 
*) x
)); 
35873 static void *_p_wxSliderTo_p_wxObject(void *x
) { 
35874     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxControl 
*) ((wxSlider 
*) x
)); 
35876 static void *_p_wxMenuItemTo_p_wxObject(void *x
) { 
35877     return (void *)((wxObject 
*)  ((wxMenuItem 
*) x
)); 
35879 static void *_p_wxIdleEventTo_p_wxObject(void *x
) { 
35880     return (void *)((wxObject 
*) (wxEvent 
*) ((wxIdleEvent 
*) x
)); 
35882 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) { 
35883     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxWindowCreateEvent 
*) x
)); 
35885 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) { 
35886     return (void *)((wxObject 
*) (wxEvent 
*) ((wxQueryNewPaletteEvent 
*) x
)); 
35888 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) { 
35889     return (void *)((wxObject 
*) (wxEvent 
*) ((wxMaximizeEvent 
*) x
)); 
35891 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) { 
35892     return (void *)((wxObject 
*) (wxEvent 
*) ((wxIconizeEvent 
*) x
)); 
35894 static void *_p_wxSizeEventTo_p_wxObject(void *x
) { 
35895     return (void *)((wxObject 
*) (wxEvent 
*) ((wxSizeEvent 
*) x
)); 
35897 static void *_p_wxMoveEventTo_p_wxObject(void *x
) { 
35898     return (void *)((wxObject 
*) (wxEvent 
*) ((wxMoveEvent 
*) x
)); 
35900 static void *_p_wxActivateEventTo_p_wxObject(void *x
) { 
35901     return (void *)((wxObject 
*) (wxEvent 
*) ((wxActivateEvent 
*) x
)); 
35903 static void *_p_wxStaticBoxTo_p_wxObject(void *x
) { 
35904     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxControl 
*) ((wxStaticBox 
*) x
)); 
35906 static void *_p_wxContextHelpTo_p_wxObject(void *x
) { 
35907     return (void *)((wxObject 
*)  ((wxContextHelp 
*) x
)); 
35909 static void *_p_wxBookCtrlBaseTo_p_wxObject(void *x
) { 
35910     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxControl 
*) ((wxBookCtrlBase 
*) x
)); 
35912 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) { 
35913     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxXPMHandler 
*) x
)); 
35915 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) { 
35916     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxPNMHandler 
*) x
)); 
35918 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) { 
35919     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxJPEGHandler 
*) x
)); 
35921 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) { 
35922     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxPCXHandler 
*) x
)); 
35924 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) { 
35925     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxGIFHandler 
*) x
)); 
35927 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) { 
35928     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxPNGHandler 
*) x
)); 
35930 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) { 
35931     return (void *)((wxObject 
*) (wxImageHandler 
*)(wxBMPHandler 
*)(wxICOHandler 
*)(wxCURHandler 
*) ((wxANIHandler 
*) x
)); 
35933 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) { 
35934     return (void *)((wxObject 
*) (wxImageHandler 
*)(wxBMPHandler 
*)(wxICOHandler 
*) ((wxCURHandler 
*) x
)); 
35936 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) { 
35937     return (void *)((wxObject 
*) (wxImageHandler 
*)(wxBMPHandler 
*) ((wxICOHandler 
*) x
)); 
35939 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) { 
35940     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxBMPHandler 
*) x
)); 
35942 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) { 
35943     return (void *)((wxObject 
*)  ((wxImageHandler 
*) x
)); 
35945 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) { 
35946     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxTIFFHandler 
*) x
)); 
35948 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) { 
35949     return (void *)((wxObject 
*)  ((wxEvtHandler 
*) x
)); 
35951 static void *_p_wxListEventTo_p_wxObject(void *x
) { 
35952     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*)(wxNotifyEvent 
*) ((wxListEvent 
*) x
)); 
35954 static void *_p_wxListBoxTo_p_wxObject(void *x
) { 
35955     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxControl 
*)(wxControlWithItems 
*) ((wxListBox 
*) x
)); 
35957 static void *_p_wxCheckListBoxTo_p_wxObject(void *x
) { 
35958     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxControl 
*)(wxControlWithItems 
*)(wxListBox 
*) ((wxCheckListBox 
*) x
)); 
35960 static void *_p_wxButtonTo_p_wxObject(void *x
) { 
35961     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxControl 
*) ((wxButton 
*) x
)); 
35963 static void *_p_wxBitmapButtonTo_p_wxObject(void *x
) { 
35964     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxControl 
*)(wxButton 
*) ((wxBitmapButton 
*) x
)); 
35966 static void *_p_wxSpinButtonTo_p_wxObject(void *x
) { 
35967     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxControl 
*) ((wxSpinButton 
*) x
)); 
35969 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x
) { 
35970     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxControl 
*)(wxButton 
*)(wxBitmapButton 
*) ((wxContextHelpButton 
*) x
)); 
35972 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) { 
35973     return (void *)((wxObject 
*)  ((wxAcceleratorTable 
*) x
)); 
35975 static void *_p_wxScrollBarTo_p_wxObject(void *x
) { 
35976     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxControl 
*) ((wxScrollBar 
*) x
)); 
35978 static void *_p_wxRadioBoxTo_p_wxObject(void *x
) { 
35979     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxControl 
*) ((wxRadioBox 
*) x
)); 
35981 static void *_p_wxComboBoxTo_p_wxObject(void *x
) { 
35982     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxControl 
*) ((wxComboBox 
*) x
)); 
35984 static void *_p_wxHelpEventTo_p_wxObject(void *x
) { 
35985     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxHelpEvent 
*) x
)); 
35987 static void *_p_wxListItemTo_p_wxObject(void *x
) { 
35988     return (void *)((wxObject 
*)  ((wxListItem 
*) x
)); 
35990 static void *_p_wxImageTo_p_wxObject(void *x
) { 
35991     return (void *)((wxObject 
*)  ((wxImage 
*) x
)); 
35993 static void *_p_wxNotebookSizerTo_p_wxObject(void *x
) { 
35994     return (void *)((wxObject 
*) (wxSizer 
*) ((wxNotebookSizer 
*) x
)); 
35996 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) { 
35997     return (void *)((wxObject 
*) (wxEvent 
*) ((wxScrollWinEvent 
*) x
)); 
35999 static void *_p_wxSpinEventTo_p_wxObject(void *x
) { 
36000     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*)(wxNotifyEvent 
*) ((wxSpinEvent 
*) x
)); 
36002 static void *_p_wxGenericDragImageTo_p_wxObject(void *x
) { 
36003     return (void *)((wxObject 
*)  ((wxGenericDragImage 
*) x
)); 
36005 static void *_p_wxSpinCtrlTo_p_wxObject(void *x
) { 
36006     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxControl 
*) ((wxSpinCtrl 
*) x
)); 
36008 static void *_p_wxNotebookEventTo_p_wxObject(void *x
) { 
36009     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*)(wxNotifyEvent 
*)(wxBookCtrlBaseEvent 
*) ((wxNotebookEvent 
*) x
)); 
36011 static void *_p_wxListbookEventTo_p_wxObject(void *x
) { 
36012     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*)(wxNotifyEvent 
*)(wxBookCtrlBaseEvent 
*) ((wxListbookEvent 
*) x
)); 
36014 static void *_p_wxChoicebookEventTo_p_wxObject(void *x
) { 
36015     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*)(wxNotifyEvent 
*)(wxBookCtrlBaseEvent 
*) ((wxChoicebookEvent 
*) x
)); 
36017 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) { 
36018     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxWindowDestroyEvent 
*) x
)); 
36020 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) { 
36021     return (void *)((wxObject 
*) (wxEvent 
*) ((wxNavigationKeyEvent 
*) x
)); 
36023 static void *_p_wxKeyEventTo_p_wxObject(void *x
) { 
36024     return (void *)((wxObject 
*) (wxEvent 
*) ((wxKeyEvent 
*) x
)); 
36026 static void *_p_wxWindowTo_p_wxObject(void *x
) { 
36027     return (void *)((wxObject 
*) (wxEvtHandler 
*) ((wxWindow 
*) x
)); 
36029 static void *_p_wxMenuTo_p_wxObject(void *x
) { 
36030     return (void *)((wxObject 
*) (wxEvtHandler 
*) ((wxMenu 
*) x
)); 
36032 static void *_p_wxMenuBarTo_p_wxObject(void *x
) { 
36033     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*) ((wxMenuBar 
*) x
)); 
36035 static void *_p_wxFileSystemTo_p_wxObject(void *x
) { 
36036     return (void *)((wxObject 
*)  ((wxFileSystem 
*) x
)); 
36038 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) { 
36039     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxContextMenuEvent 
*) x
)); 
36041 static void *_p_wxMenuEventTo_p_wxObject(void *x
) { 
36042     return (void *)((wxObject 
*) (wxEvent 
*) ((wxMenuEvent 
*) x
)); 
36044 static void *_p_wxPyAppTo_p_wxObject(void *x
) { 
36045     return (void *)((wxObject 
*) (wxEvtHandler 
*) ((wxPyApp 
*) x
)); 
36047 static void *_p_wxCloseEventTo_p_wxObject(void *x
) { 
36048     return (void *)((wxObject 
*) (wxEvent 
*) ((wxCloseEvent 
*) x
)); 
36050 static void *_p_wxMouseEventTo_p_wxObject(void *x
) { 
36051     return (void *)((wxObject 
*) (wxEvent 
*) ((wxMouseEvent 
*) x
)); 
36053 static void *_p_wxEraseEventTo_p_wxObject(void *x
) { 
36054     return (void *)((wxObject 
*) (wxEvent 
*) ((wxEraseEvent 
*) x
)); 
36056 static void *_p_wxBookCtrlBaseEventTo_p_wxObject(void *x
) { 
36057     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*)(wxNotifyEvent 
*) ((wxBookCtrlBaseEvent 
*) x
)); 
36059 static void *_p_wxTreeEventTo_p_wxObject(void *x
) { 
36060     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*)(wxNotifyEvent 
*) ((wxTreeEvent 
*) x
)); 
36062 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) { 
36063     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxPyCommandEvent 
*) x
)); 
36065 static void *_p_wxCommandEventTo_p_wxObject(void *x
) { 
36066     return (void *)((wxObject 
*) (wxEvent 
*) ((wxCommandEvent 
*) x
)); 
36068 static void *_p_wxStaticTextTo_p_wxObject(void *x
) { 
36069     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxControl 
*) ((wxStaticText 
*) x
)); 
36071 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) { 
36072     return (void *)((wxObject 
*) (wxEvent 
*) ((wxDropFilesEvent 
*) x
)); 
36074 static void *_p_wxFocusEventTo_p_wxObject(void *x
) { 
36075     return (void *)((wxObject 
*) (wxEvent 
*) ((wxFocusEvent 
*) x
)); 
36077 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) { 
36078     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxChildFocusEvent 
*) x
)); 
36080 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) { 
36081     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxControl 
*) ((wxControlWithItems 
*) x
)); 
36083 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x
) { 
36084     return (void *)((wxObject 
*)  ((wxToolBarToolBase 
*) x
)); 
36086 static void *_p_wxToolBarTo_p_wxObject(void *x
) { 
36087     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxControl 
*)(wxToolBarBase 
*) ((wxToolBar 
*) x
)); 
36089 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) { 
36090     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxValidator 
*) ((wxPyValidator 
*) x
)); 
36092 static void *_p_wxValidatorTo_p_wxObject(void *x
) { 
36093     return (void *)((wxObject 
*) (wxEvtHandler 
*) ((wxValidator 
*) x
)); 
36095 static void *_p_wxBookCtrlSizerTo_p_wxObject(void *x
) { 
36096     return (void *)((wxObject 
*) (wxSizer 
*) ((wxBookCtrlSizer 
*) x
)); 
36098 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) { 
36099     return (void *)((wxWindow 
*)  ((wxMenuBar 
*) x
)); 
36101 static void *_p_wxBookCtrlBaseTo_p_wxWindow(void *x
) { 
36102     return (void *)((wxWindow 
*) (wxControl 
*) ((wxBookCtrlBase 
*) x
)); 
36104 static void *_p_wxToolBarTo_p_wxWindow(void *x
) { 
36105     return (void *)((wxWindow 
*) (wxControl 
*)(wxToolBarBase 
*) ((wxToolBar 
*) x
)); 
36107 static void *_p_wxToggleButtonTo_p_wxWindow(void *x
) { 
36108     return (void *)((wxWindow 
*) (wxControl 
*) ((wxToggleButton 
*) x
)); 
36110 static void *_p_wxRadioButtonTo_p_wxWindow(void *x
) { 
36111     return (void *)((wxWindow 
*) (wxControl 
*) ((wxRadioButton 
*) x
)); 
36113 static void *_p_wxControlTo_p_wxWindow(void *x
) { 
36114     return (void *)((wxWindow 
*)  ((wxControl 
*) x
)); 
36116 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x
) { 
36117     return (void *)((wxWindow 
*) (wxControl 
*) ((wxToolBarBase 
*) x
)); 
36119 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x
) { 
36120     return (void *)((wxWindow 
*) (wxControl 
*)(wxControlWithItems 
*)(wxChoice 
*) ((wxDirFilterListCtrl 
*) x
)); 
36122 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x
) { 
36123     return (void *)((wxWindow 
*) (wxControl 
*) ((wxPyListCtrl 
*) x
)); 
36125 static void *_p_wxComboBoxTo_p_wxWindow(void *x
) { 
36126     return (void *)((wxWindow 
*) (wxControl 
*) ((wxComboBox 
*) x
)); 
36128 static void *_p_wxPyControlTo_p_wxWindow(void *x
) { 
36129     return (void *)((wxWindow 
*) (wxControl 
*) ((wxPyControl 
*) x
)); 
36131 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x
) { 
36132     return (void *)((wxWindow 
*) (wxControl 
*) ((wxGenericDirCtrl 
*) x
)); 
36134 static void *_p_wxScrollBarTo_p_wxWindow(void *x
) { 
36135     return (void *)((wxWindow 
*) (wxControl 
*) ((wxScrollBar 
*) x
)); 
36137 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) { 
36138     return (void *)((wxWindow 
*) (wxControl 
*) ((wxControlWithItems 
*) x
)); 
36140 static void *_p_wxGaugeTo_p_wxWindow(void *x
) { 
36141     return (void *)((wxWindow 
*) (wxControl 
*) ((wxGauge 
*) x
)); 
36143 static void *_p_wxStaticLineTo_p_wxWindow(void *x
) { 
36144     return (void *)((wxWindow 
*) (wxControl 
*) ((wxStaticLine 
*) x
)); 
36146 static void *_p_wxChoicebookTo_p_wxWindow(void *x
) { 
36147     return (void *)((wxWindow 
*) (wxControl 
*)(wxBookCtrlBase 
*) ((wxChoicebook 
*) x
)); 
36149 static void *_p_wxListbookTo_p_wxWindow(void *x
) { 
36150     return (void *)((wxWindow 
*) (wxControl 
*)(wxBookCtrlBase 
*) ((wxListbook 
*) x
)); 
36152 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x
) { 
36153     return (void *)((wxWindow 
*) (wxControl 
*) ((wxPyTreeCtrl 
*) x
)); 
36155 static void *_p_wxCheckBoxTo_p_wxWindow(void *x
) { 
36156     return (void *)((wxWindow 
*) (wxControl 
*) ((wxCheckBox 
*) x
)); 
36158 static void *_p_wxRadioBoxTo_p_wxWindow(void *x
) { 
36159     return (void *)((wxWindow 
*) (wxControl 
*) ((wxRadioBox 
*) x
)); 
36161 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x
) { 
36162     return (void *)((wxWindow 
*) (wxControl 
*)(wxControlWithItems 
*)(wxListBox 
*) ((wxCheckListBox 
*) x
)); 
36164 static void *_p_wxChoiceTo_p_wxWindow(void *x
) { 
36165     return (void *)((wxWindow 
*) (wxControl 
*)(wxControlWithItems 
*) ((wxChoice 
*) x
)); 
36167 static void *_p_wxListBoxTo_p_wxWindow(void *x
) { 
36168     return (void *)((wxWindow 
*) (wxControl 
*)(wxControlWithItems 
*) ((wxListBox 
*) x
)); 
36170 static void *_p_wxListViewTo_p_wxWindow(void *x
) { 
36171     return (void *)((wxWindow 
*) (wxControl 
*)(wxPyListCtrl 
*) ((wxListView 
*) x
)); 
36173 static void *_p_wxNotebookTo_p_wxWindow(void *x
) { 
36174     return (void *)((wxWindow 
*) (wxControl 
*)(wxBookCtrlBase 
*) ((wxNotebook 
*) x
)); 
36176 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x
) { 
36177     return (void *)((wxWindow 
*) (wxControl 
*) ((wxStaticBitmap 
*) x
)); 
36179 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x
) { 
36180     return (void *)((wxWindow 
*) (wxControl 
*) ((wxSpinCtrl 
*) x
)); 
36182 static void *_p_wxStaticTextTo_p_wxWindow(void *x
) { 
36183     return (void *)((wxWindow 
*) (wxControl 
*) ((wxStaticText 
*) x
)); 
36185 static void *_p_wxStaticBoxTo_p_wxWindow(void *x
) { 
36186     return (void *)((wxWindow 
*) (wxControl 
*) ((wxStaticBox 
*) x
)); 
36188 static void *_p_wxSliderTo_p_wxWindow(void *x
) { 
36189     return (void *)((wxWindow 
*) (wxControl 
*) ((wxSlider 
*) x
)); 
36191 static void *_p_wxSpinButtonTo_p_wxWindow(void *x
) { 
36192     return (void *)((wxWindow 
*) (wxControl 
*) ((wxSpinButton 
*) x
)); 
36194 static void *_p_wxButtonTo_p_wxWindow(void *x
) { 
36195     return (void *)((wxWindow 
*) (wxControl 
*) ((wxButton 
*) x
)); 
36197 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x
) { 
36198     return (void *)((wxWindow 
*) (wxControl 
*)(wxButton 
*) ((wxBitmapButton 
*) x
)); 
36200 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x
) { 
36201     return (void *)((wxWindow 
*) (wxControl 
*)(wxButton 
*)(wxBitmapButton 
*) ((wxContextHelpButton 
*) x
)); 
36203 static void *_p_wxTextCtrlTo_p_wxWindow(void *x
) { 
36204     return (void *)((wxWindow 
*) (wxControl 
*) ((wxTextCtrl 
*) x
)); 
36206 static void *_p_wxNotebookEventTo_p_wxBookCtrlBaseEvent(void *x
) { 
36207     return (void *)((wxBookCtrlBaseEvent 
*)  ((wxNotebookEvent 
*) x
)); 
36209 static void *_p_wxListbookEventTo_p_wxBookCtrlBaseEvent(void *x
) { 
36210     return (void *)((wxBookCtrlBaseEvent 
*)  ((wxListbookEvent 
*) x
)); 
36212 static void *_p_wxChoicebookEventTo_p_wxBookCtrlBaseEvent(void *x
) { 
36213     return (void *)((wxBookCtrlBaseEvent 
*)  ((wxChoicebookEvent 
*) x
)); 
36215 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) { 
36216     return (void *)((wxCommandEvent 
*)  ((wxWindowDestroyEvent 
*) x
)); 
36218 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x
) { 
36219     return (void *)((wxCommandEvent 
*)  ((wxTextUrlEvent 
*) x
)); 
36221 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) { 
36222     return (void *)((wxCommandEvent 
*)  ((wxScrollEvent 
*) x
)); 
36224 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) { 
36225     return (void *)((wxCommandEvent 
*)  ((wxPyCommandEvent 
*) x
)); 
36227 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) { 
36228     return (void *)((wxCommandEvent 
*)  ((wxContextMenuEvent 
*) x
)); 
36230 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) { 
36231     return (void *)((wxCommandEvent 
*)  ((wxChildFocusEvent 
*) x
)); 
36233 static void *_p_wxChoicebookEventTo_p_wxCommandEvent(void *x
) { 
36234     return (void *)((wxCommandEvent 
*) (wxNotifyEvent 
*)(wxBookCtrlBaseEvent 
*) ((wxChoicebookEvent 
*) x
)); 
36236 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x
) { 
36237     return (void *)((wxCommandEvent 
*) (wxNotifyEvent 
*)(wxBookCtrlBaseEvent 
*) ((wxListbookEvent 
*) x
)); 
36239 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x
) { 
36240     return (void *)((wxCommandEvent 
*) (wxNotifyEvent 
*)(wxBookCtrlBaseEvent 
*) ((wxNotebookEvent 
*) x
)); 
36242 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) { 
36243     return (void *)((wxCommandEvent 
*)  ((wxWindowCreateEvent 
*) x
)); 
36245 static void *_p_wxListEventTo_p_wxCommandEvent(void *x
) { 
36246     return (void *)((wxCommandEvent 
*) (wxNotifyEvent 
*) ((wxListEvent 
*) x
)); 
36248 static void *_p_wxBookCtrlBaseEventTo_p_wxCommandEvent(void *x
) { 
36249     return (void *)((wxCommandEvent 
*) (wxNotifyEvent 
*) ((wxBookCtrlBaseEvent 
*) x
)); 
36251 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x
) { 
36252     return (void *)((wxCommandEvent 
*) (wxNotifyEvent 
*) ((wxTreeEvent 
*) x
)); 
36254 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x
) { 
36255     return (void *)((wxCommandEvent 
*) (wxNotifyEvent 
*) ((wxSpinEvent 
*) x
)); 
36257 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x
) { 
36258     return (void *)((wxCommandEvent 
*)  ((wxHelpEvent 
*) x
)); 
36260 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) { 
36261     return (void *)((wxCommandEvent 
*)  ((wxNotifyEvent 
*) x
)); 
36263 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) { 
36264     return (void *)((wxCommandEvent 
*)  ((wxUpdateUIEvent 
*) x
)); 
36266 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x
) { 
36267     return (void *)((wxControlWithItems 
*) (wxChoice 
*) ((wxDirFilterListCtrl 
*) x
)); 
36269 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x
) { 
36270     return (void *)((wxControlWithItems 
*)  ((wxChoice 
*) x
)); 
36272 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x
) { 
36273     return (void *)((wxControlWithItems 
*)  ((wxListBox 
*) x
)); 
36275 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x
) { 
36276     return (void *)((wxControlWithItems 
*) (wxListBox 
*) ((wxCheckListBox 
*) x
)); 
36278 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) { 
36279     return (void *)((wxValidator 
*)  ((wxPyValidator 
*) x
)); 
36281 static swig_type_info _swigt__p_wxTextUrlEvent
[] = {{"_p_wxTextUrlEvent", 0, "wxTextUrlEvent *", 0, 0, 0, 0},{"_p_wxTextUrlEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
36282 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_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_wxNotebookSizer", _p_wxNotebookSizerTo_p_wxSizer
, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxSizer
, 0, 0, 0, 0, 0},{"_p_wxBookCtrlSizer", _p_wxBookCtrlSizerTo_p_wxSizer
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
36283 static swig_type_info _swigt__p_wxCheckBox
[] = {{"_p_wxCheckBox", 0, "wxCheckBox *", 0, 0, 0, 0},{"_p_wxCheckBox", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
36284 static swig_type_info _swigt__p_wxPyTreeCtrl
[] = {{"_p_wxPyTreeCtrl", 0, "wxPyTreeCtrl *", 0, 0, 0, 0},{"_p_wxPyTreeCtrl", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
36285 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_wxBookCtrlBaseEvent", _p_wxBookCtrlBaseEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxTreeEvent", _p_wxTreeEventTo_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_wxTextUrlEvent", _p_wxTextUrlEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxListEvent", _p_wxListEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxHelpEvent", _p_wxHelpEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxNotebookEvent", _p_wxNotebookEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxListbookEvent", _p_wxListbookEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxChoicebookEvent", _p_wxChoicebookEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxEvent", 0, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_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_wxSizeEvent", _p_wxSizeEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_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_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_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_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_wxSpinEvent", _p_wxSpinEventTo_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}}; 
36286 static swig_type_info _swigt__p_wxGenericDirCtrl
[] = {{"_p_wxGenericDirCtrl", 0, "wxGenericDirCtrl *", 0, 0, 0, 0},{"_p_wxGenericDirCtrl", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
36287 static swig_type_info _swigt__p_bool
[] = {{"_p_bool", 0, "bool *", 0, 0, 0, 0},{"_p_bool", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
36288 static swig_type_info _swigt__p_wxItemContainer
[] = {{"_p_wxItemContainer", 0, "wxItemContainer *", 0, 0, 0, 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxItemContainer
, 0, 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxItemContainer
, 0, 0, 0, 0, 0},{"_p_wxChoice", _p_wxChoiceTo_p_wxItemContainer
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxItemContainer
, 0, 0, 0, 0, 0},{"_p_wxListBox", _p_wxListBoxTo_p_wxItemContainer
, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxItemContainer
, 0, 0, 0, 0, 0},{"_p_wxItemContainer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
36289 static swig_type_info _swigt__p_wxPyListCtrl
[] = {{"_p_wxPyListCtrl", 0, "wxPyListCtrl *", 0, 0, 0, 0},{"_p_wxPyListCtrl", 0, 0, 0, 0, 0, 0},{"_p_wxListView", _p_wxListViewTo_p_wxPyListCtrl
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
36290 static swig_type_info _swigt__p_wxPyTreeItemData
[] = {{"_p_wxPyTreeItemData", 0, "wxPyTreeItemData *", 0, 0, 0, 0},{"_p_wxPyTreeItemData", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
36291 static swig_type_info _swigt__p_wxDirFilterListCtrl
[] = {{"_p_wxDirFilterListCtrl", 0, "wxDirFilterListCtrl *", 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
36292 static swig_type_info _swigt__p_wxStaticLine
[] = {{"_p_wxStaticLine", 0, "wxStaticLine *", 0, 0, 0, 0},{"_p_wxStaticLine", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
36293 static swig_type_info _swigt__p_wxControl
[] = {{"_p_wxControl", 0, "wxControl *", 0, 0, 0, 0},{"_p_wxBookCtrlBase", _p_wxBookCtrlBaseTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxToolBar", _p_wxToolBarTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxToggleButton", _p_wxToggleButtonTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxRadioButton", _p_wxRadioButtonTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxControl", 0, 0, 0, 0, 0, 0},{"_p_wxPyControl", _p_wxPyControlTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxToolBarBase", _p_wxToolBarBaseTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxPyListCtrl", _p_wxPyListCtrlTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxGenericDirCtrl", _p_wxGenericDirCtrlTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxScrollBar", _p_wxScrollBarTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxGauge", _p_wxGaugeTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxStaticLine", _p_wxStaticLineTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxChoicebook", _p_wxChoicebookTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxListbook", _p_wxListbookTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxPyTreeCtrl", _p_wxPyTreeCtrlTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxCheckBox", _p_wxCheckBoxTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxRadioBox", _p_wxRadioBoxTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxListBox", _p_wxListBoxTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxChoice", _p_wxChoiceTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxListView", _p_wxListViewTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxNotebook", _p_wxNotebookTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxStaticBitmap", _p_wxStaticBitmapTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxSpinCtrl", _p_wxSpinCtrlTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxStaticText", _p_wxStaticTextTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxStaticBox", _p_wxStaticBoxTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxSlider", _p_wxSliderTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxSpinButton", _p_wxSpinButtonTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxButton", _p_wxButtonTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxTextCtrl", _p_wxTextCtrlTo_p_wxControl
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
36294 static swig_type_info _swigt__p_wxPyControl
[] = {{"_p_wxPyControl", 0, "wxPyControl *", 0, 0, 0, 0},{"_p_wxPyControl", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
36295 static swig_type_info _swigt__p_wxGauge
[] = {{"_p_wxGauge", 0, "wxGauge *", 0, 0, 0, 0},{"_p_wxGauge", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
36296 static swig_type_info _swigt__p_wxToolBarBase
[] = {{"_p_wxToolBarBase", 0, "wxToolBarBase *", 0, 0, 0, 0},{"_p_wxToolBarBase", 0, 0, 0, 0, 0, 0},{"_p_wxToolBar", _p_wxToolBarTo_p_wxToolBarBase
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
36297 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}}; 
36298 static swig_type_info _swigt__p_wxToggleButton
[] = {{"_p_wxToggleButton", 0, "wxToggleButton *", 0, 0, 0, 0},{"_p_wxToggleButton", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
36299 static swig_type_info _swigt__p_wxRadioButton
[] = {{"_p_wxRadioButton", 0, "wxRadioButton *", 0, 0, 0, 0},{"_p_wxRadioButton", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
36300 static swig_type_info _swigt__p_wxChoice
[] = {{"_p_wxChoice", 0, "wxChoice *", 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxChoice
, 0, 0, 0, 0, 0},{"_p_wxChoice", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
36301 static swig_type_info _swigt__p_wxMemoryDC
[] = {{"_p_wxMemoryDC", 0, "wxMemoryDC *", 0, 0, 0, 0},{"_p_wxMemoryDC", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
36302 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}}; 
36303 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}}; 
36304 static swig_type_info _swigt__p_wxListItemAttr
[] = {{"_p_wxListItemAttr", 0, "wxListItemAttr *", 0, 0, 0, 0},{"_p_wxListItemAttr", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
36305 static swig_type_info _swigt__p_void
[] = {{"_p_void", 0, "void *", 0, 0, 0, 0},{"_p_void", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
36306 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}}; 
36307 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}}; 
36308 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}}; 
36309 static swig_type_info _swigt__p_wxListView
[] = {{"_p_wxListView", 0, "wxListView *", 0, 0, 0, 0},{"_p_wxListView", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
36310 static swig_type_info _swigt__p_wxIcon
[] = {{"_p_wxIcon", 0, "wxIcon *", 0, 0, 0, 0},{"_p_wxIcon", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
36311 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}}; 
36312 static swig_type_info _swigt__p_wxTextCtrl
[] = {{"_p_wxTextCtrl", 0, "wxTextCtrl *", 0, 0, 0, 0},{"_p_wxTextCtrl", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
36313 static swig_type_info _swigt__p_wxNotebook
[] = {{"_p_wxNotebook", 0, "wxNotebook *", 0, 0, 0, 0},{"_p_wxNotebook", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
36314 static swig_type_info _swigt__p_wxChoicebook
[] = {{"_p_wxChoicebook", 0, "wxChoicebook *", 0, 0, 0, 0},{"_p_wxChoicebook", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
36315 static swig_type_info _swigt__p_wxNotifyEvent
[] = {{"_p_wxNotifyEvent", 0, "wxNotifyEvent *", 0, 0, 0, 0},{"_p_wxBookCtrlBaseEvent", _p_wxBookCtrlBaseEventTo_p_wxNotifyEvent
, 0, 0, 0, 0, 0},{"_p_wxTreeEvent", _p_wxTreeEventTo_p_wxNotifyEvent
, 0, 0, 0, 0, 0},{"_p_wxListEvent", _p_wxListEventTo_p_wxNotifyEvent
, 0, 0, 0, 0, 0},{"_p_wxSpinEvent", _p_wxSpinEventTo_p_wxNotifyEvent
, 0, 0, 0, 0, 0},{"_p_wxNotebookEvent", _p_wxNotebookEventTo_p_wxNotifyEvent
, 0, 0, 0, 0, 0},{"_p_wxListbookEvent", _p_wxListbookEventTo_p_wxNotifyEvent
, 0, 0, 0, 0, 0},{"_p_wxChoicebookEvent", _p_wxChoicebookEventTo_p_wxNotifyEvent
, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
36316 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}}; 
36317 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}}; 
36318 static swig_type_info _swigt__p_wxListbook
[] = {{"_p_wxListbook", 0, "wxListbook *", 0, 0, 0, 0},{"_p_wxListbook", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
36319 static swig_type_info _swigt__p_wxStaticBitmap
[] = {{"_p_wxStaticBitmap", 0, "wxStaticBitmap *", 0, 0, 0, 0},{"_p_wxStaticBitmap", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
36320 static swig_type_info _swigt__p_wxSlider
[] = {{"_p_wxSlider", 0, "wxSlider *", 0, 0, 0, 0},{"_p_wxSlider", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
36321 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}}; 
36322 static swig_type_info _swigt__p_wxArrayInt
[] = {{"_p_wxArrayInt", 0, "wxArrayInt *", 0, 0, 0, 0},{"_p_wxArrayInt", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
36323 static swig_type_info _swigt__p_wxContextHelp
[] = {{"_p_wxContextHelp", 0, "wxContextHelp *", 0, 0, 0, 0},{"_p_wxContextHelp", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
36324 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}}; 
36325 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}}; 
36326 static swig_type_info _swigt__p_wxBookCtrlBase
[] = {{"_p_wxBookCtrlBase", 0, "wxBookCtrlBase *", 0, 0, 0, 0},{"_p_wxChoicebook", _p_wxChoicebookTo_p_wxBookCtrlBase
, 0, 0, 0, 0, 0},{"_p_wxListbook", _p_wxListbookTo_p_wxBookCtrlBase
, 0, 0, 0, 0, 0},{"_p_wxBookCtrlBase", 0, 0, 0, 0, 0, 0},{"_p_wxNotebook", _p_wxNotebookTo_p_wxBookCtrlBase
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
36327 static swig_type_info _swigt__p_wxEvtHandler
[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxBookCtrlBase", _p_wxBookCtrlBaseTo_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_wxToolBar", _p_wxToolBarTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxToggleButton", _p_wxToggleButtonTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxRadioButton", _p_wxRadioButtonTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyControl", _p_wxPyControlTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxToolBarBase", _p_wxToolBarBaseTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyListCtrl", _p_wxPyListCtrlTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxGenericDirCtrl", _p_wxGenericDirCtrlTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxScrollBar", _p_wxScrollBarTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxGauge", _p_wxGaugeTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxStaticLine", _p_wxStaticLineTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxChoicebook", _p_wxChoicebookTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", 0, 0, 0, 0, 0, 0},{"_p_wxListbook", _p_wxListbookTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyTreeCtrl", _p_wxPyTreeCtrlTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxCheckBox", _p_wxCheckBoxTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxRadioBox", _p_wxRadioBoxTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxListBox", _p_wxListBoxTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxChoice", _p_wxChoiceTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxListView", _p_wxListViewTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxNotebook", _p_wxNotebookTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxStaticBitmap", _p_wxStaticBitmapTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxSpinCtrl", _p_wxSpinCtrlTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxStaticText", _p_wxStaticTextTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxStaticBox", _p_wxStaticBoxTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxSlider", _p_wxSliderTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxButton", _p_wxButtonTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxSpinButton", _p_wxSpinButtonTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxTextCtrl", _p_wxTextCtrlTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
36328 static swig_type_info _swigt__p_wxListEvent
[] = {{"_p_wxListEvent", 0, "wxListEvent *", 0, 0, 0, 0},{"_p_wxListEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
36329 static swig_type_info _swigt__p_wxCheckListBox
[] = {{"_p_wxCheckListBox", 0, "wxCheckListBox *", 0, 0, 0, 0},{"_p_wxCheckListBox", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
36330 static swig_type_info _swigt__p_wxListBox
[] = {{"_p_wxListBox", 0, "wxListBox *", 0, 0, 0, 0},{"_p_wxListBox", 0, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxListBox
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
36331 static swig_type_info _swigt__p_wxSpinButton
[] = {{"_p_wxSpinButton", 0, "wxSpinButton *", 0, 0, 0, 0},{"_p_wxSpinButton", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
36332 static swig_type_info _swigt__p_wxButton
[] = {{"_p_wxButton", 0, "wxButton *", 0, 0, 0, 0},{"_p_wxButton", 0, 0, 0, 0, 0, 0},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_p_wxButton
, 0, 0, 0, 0, 0},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxButton
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
36333 static swig_type_info _swigt__p_wxBitmapButton
[] = {{"_p_wxBitmapButton", 0, "wxBitmapButton *", 0, 0, 0, 0},{"_p_wxBitmapButton", 0, 0, 0, 0, 0, 0},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxBitmapButton
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
36334 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}}; 
36335 static swig_type_info _swigt__p_wxContextHelpButton
[] = {{"_p_wxContextHelpButton", 0, "wxContextHelpButton *", 0, 0, 0, 0},{"_p_wxContextHelpButton", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
36336 static swig_type_info _swigt__p_wxRadioBox
[] = {{"_p_wxRadioBox", 0, "wxRadioBox *", 0, 0, 0, 0},{"_p_wxRadioBox", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
36337 static swig_type_info _swigt__p_wxScrollBar
[] = {{"_p_wxScrollBar", 0, "wxScrollBar *", 0, 0, 0, 0},{"_p_wxScrollBar", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
36338 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}}; 
36339 static swig_type_info _swigt__p_wxComboBox
[] = {{"_p_wxComboBox", 0, "wxComboBox *", 0, 0, 0, 0},{"_p_wxComboBox", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
36340 static swig_type_info _swigt__p_wxTreeItemId
[] = {{"_p_wxTreeItemId", 0, "wxTreeItemId *", 0, 0, 0, 0},{"_p_wxTreeItemId", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
36341 static swig_type_info _swigt__p_wxHelpEvent
[] = {{"_p_wxHelpEvent", 0, "wxHelpEvent *", 0, 0, 0, 0},{"_p_wxHelpEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
36342 static swig_type_info _swigt__p_wxListItem
[] = {{"_p_wxListItem", 0, "wxListItem *", 0, 0, 0, 0},{"_p_wxListItem", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
36343 static swig_type_info _swigt__p_wxNotebookSizer
[] = {{"_p_wxNotebookSizer", 0, "wxNotebookSizer *", 0, 0, 0, 0},{"_p_wxNotebookSizer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
36344 static swig_type_info _swigt__p_wxSpinEvent
[] = {{"_p_wxSpinEvent", 0, "wxSpinEvent *", 0, 0, 0, 0},{"_p_wxSpinEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
36345 static swig_type_info _swigt__p_wxGenericDragImage
[] = {{"_p_wxGenericDragImage", 0, "wxGenericDragImage *", 0, 0, 0, 0},{"_p_wxGenericDragImage", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
36346 static swig_type_info _swigt__p_wxSpinCtrl
[] = {{"_p_wxSpinCtrl", 0, "wxSpinCtrl *", 0, 0, 0, 0},{"_p_wxSpinCtrl", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
36347 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}}; 
36348 static swig_type_info _swigt__p_wxImageList
[] = {{"_p_wxImageList", 0, "wxImageList *", 0, 0, 0, 0},{"_p_wxImageList", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
36349 static swig_type_info _swigt__p_wxHelpProvider
[] = {{"_p_wxHelpProvider", 0, "wxHelpProvider *", 0, 0, 0, 0},{"_p_wxHelpProvider", 0, 0, 0, 0, 0, 0},{"_p_wxSimpleHelpProvider", _p_wxSimpleHelpProviderTo_p_wxHelpProvider
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
36350 static swig_type_info _swigt__p_wxTextAttr
[] = {{"_p_wxTextAttr", 0, "wxTextAttr *", 0, 0, 0, 0},{"_p_wxTextAttr", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
36351 static swig_type_info _swigt__p_wxSimpleHelpProvider
[] = {{"_p_wxSimpleHelpProvider", 0, "wxSimpleHelpProvider *", 0, 0, 0, 0},{"_p_wxSimpleHelpProvider", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
36352 static swig_type_info _swigt__p_wxChoicebookEvent
[] = {{"_p_wxChoicebookEvent", 0, "wxChoicebookEvent *", 0, 0, 0, 0},{"_p_wxChoicebookEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
36353 static swig_type_info _swigt__p_wxListbookEvent
[] = {{"_p_wxListbookEvent", 0, "wxListbookEvent *", 0, 0, 0, 0},{"_p_wxListbookEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
36354 static swig_type_info _swigt__p_wxNotebookEvent
[] = {{"_p_wxNotebookEvent", 0, "wxNotebookEvent *", 0, 0, 0, 0},{"_p_wxNotebookEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
36355 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}}; 
36356 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_wxTextUrlEvent", _p_wxTextUrlEventTo_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_wxCheckBox", _p_wxCheckBoxTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyTreeCtrl", _p_wxPyTreeCtrlTo_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_wxGenericDirCtrl", _p_wxGenericDirCtrlTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyListCtrl", _p_wxPyListCtrlTo_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_wxStaticLine", _p_wxStaticLineTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyControl", _p_wxPyControlTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxToggleButton", _p_wxToggleButtonTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxRadioButton", _p_wxRadioButtonTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxToolBarBase", _p_wxToolBarBaseTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGauge", _p_wxGaugeTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxChoice", _p_wxChoiceTo_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_wxListView", _p_wxListViewTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNotebook", _p_wxNotebookTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTextCtrl", _p_wxTextCtrlTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxChoicebook", _p_wxChoicebookTo_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_wxListbook", _p_wxListbookTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxStaticBitmap", _p_wxStaticBitmapTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSlider", _p_wxSliderTo_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_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxStaticBox", _p_wxStaticBoxTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxContextHelp", _p_wxContextHelpTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBookCtrlBase", _p_wxBookCtrlBaseTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxListEvent", _p_wxListEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxListBox", _p_wxListBoxTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxButton", _p_wxButtonTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSpinButton", _p_wxSpinButtonTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxScrollBar", _p_wxScrollBarTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxRadioBox", _p_wxRadioBoxTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxHelpEvent", _p_wxHelpEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxListItem", _p_wxListItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxImage", _p_wxImageTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNotebookSizer", _p_wxNotebookSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSpinEvent", _p_wxSpinEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGenericDragImage", _p_wxGenericDragImageTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSpinCtrl", _p_wxSpinCtrlTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNotebookEvent", _p_wxNotebookEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxListbookEvent", _p_wxListbookEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxChoicebookEvent", _p_wxChoicebookEventTo_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_wxMenuBar", _p_wxMenuBarTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_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_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_wxBookCtrlBaseEvent", _p_wxBookCtrlBaseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTreeEvent", _p_wxTreeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxStaticText", _p_wxStaticTextTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxToolBarToolBase", _p_wxToolBarToolBaseTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxToolBar", _p_wxToolBarTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBookCtrlSizer", _p_wxBookCtrlSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
36357 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}}; 
36358 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}}; 
36359 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}}; 
36360 static swig_type_info _swigt__p_wxWindow
[] = {{"_p_wxWindow", 0, "wxWindow *", 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxBookCtrlBase", _p_wxBookCtrlBaseTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxToolBar", _p_wxToolBarTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxToggleButton", _p_wxToggleButtonTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxRadioButton", _p_wxRadioButtonTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxWindow", 0, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyControl", _p_wxPyControlTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxToolBarBase", _p_wxToolBarBaseTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyListCtrl", _p_wxPyListCtrlTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxGenericDirCtrl", _p_wxGenericDirCtrlTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxScrollBar", _p_wxScrollBarTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxGauge", _p_wxGaugeTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxStaticLine", _p_wxStaticLineTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxChoicebook", _p_wxChoicebookTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxListbook", _p_wxListbookTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyTreeCtrl", _p_wxPyTreeCtrlTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxCheckBox", _p_wxCheckBoxTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxRadioBox", _p_wxRadioBoxTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxListBox", _p_wxListBoxTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxChoice", _p_wxChoiceTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxListView", _p_wxListViewTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxNotebook", _p_wxNotebookTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxStaticBitmap", _p_wxStaticBitmapTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxSpinCtrl", _p_wxSpinCtrlTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxStaticText", _p_wxStaticTextTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxStaticBox", _p_wxStaticBoxTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxSlider", _p_wxSliderTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxButton", _p_wxButtonTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxSpinButton", _p_wxSpinButtonTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxTextCtrl", _p_wxTextCtrlTo_p_wxWindow
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
36361 static swig_type_info _swigt__p_wxString
[] = {{"_p_wxString", 0, "wxString *", 0, 0, 0, 0},{"_p_wxString", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
36362 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}}; 
36363 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}}; 
36364 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}}; 
36365 static swig_type_info _swigt__p_unsigned_char
[] = {{"_p_unsigned_char", 0, "unsigned char *|byte *", 0, 0, 0, 0},{"_p_unsigned_char", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
36366 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}}; 
36367 static swig_type_info _swigt__p_wxBookCtrlBaseEvent
[] = {{"_p_wxBookCtrlBaseEvent", 0, "wxBookCtrlBaseEvent *", 0, 0, 0, 0},{"_p_wxBookCtrlBaseEvent", 0, 0, 0, 0, 0, 0},{"_p_wxNotebookEvent", _p_wxNotebookEventTo_p_wxBookCtrlBaseEvent
, 0, 0, 0, 0, 0},{"_p_wxListbookEvent", _p_wxListbookEventTo_p_wxBookCtrlBaseEvent
, 0, 0, 0, 0, 0},{"_p_wxChoicebookEvent", _p_wxChoicebookEventTo_p_wxBookCtrlBaseEvent
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
36368 static swig_type_info _swigt__p_wxTreeEvent
[] = {{"_p_wxTreeEvent", 0, "wxTreeEvent *", 0, 0, 0, 0},{"_p_wxTreeEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
36369 static swig_type_info _swigt__p_wxCommandEvent
[] = {{"_p_wxCommandEvent", 0, "wxCommandEvent *", 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxTextUrlEvent", _p_wxTextUrlEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", 0, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxChoicebookEvent", _p_wxChoicebookEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxListbookEvent", _p_wxListbookEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxNotebookEvent", _p_wxNotebookEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxListEvent", _p_wxListEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxBookCtrlBaseEvent", _p_wxBookCtrlBaseEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxTreeEvent", _p_wxTreeEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxSpinEvent", _p_wxSpinEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxHelpEvent", _p_wxHelpEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
36370 static swig_type_info _swigt__p_wxStaticText
[] = {{"_p_wxStaticText", 0, "wxStaticText *", 0, 0, 0, 0},{"_p_wxStaticText", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
36371 static swig_type_info _swigt__p_wxControlWithItems
[] = {{"_p_wxControlWithItems", 0, "wxControlWithItems *", 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxControlWithItems
, 0, 0, 0, 0, 0},{"_p_wxChoice", _p_wxChoiceTo_p_wxControlWithItems
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", 0, 0, 0, 0, 0, 0},{"_p_wxListBox", _p_wxListBoxTo_p_wxControlWithItems
, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxControlWithItems
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
36372 static swig_type_info _swigt__p_wxToolBarToolBase
[] = {{"_p_wxToolBarToolBase", 0, "wxToolBarToolBase *", 0, 0, 0, 0},{"_p_wxToolBarToolBase", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
36373 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}}; 
36374 static swig_type_info _swigt__p_wxToolBar
[] = {{"_p_wxToolBar", 0, "wxToolBar *", 0, 0, 0, 0},{"_p_wxToolBar", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
36375 static swig_type_info _swigt__p_wxBookCtrlSizer
[] = {{"_p_wxBookCtrlSizer", 0, "wxBookCtrlSizer *", 0, 0, 0, 0},{"_p_wxBookCtrlSizer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
36376 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}}; 
36378 static swig_type_info 
*swig_types_initial
[] = { 
36379 _swigt__p_wxTextUrlEvent
,  
36381 _swigt__p_wxCheckBox
,  
36382 _swigt__p_wxPyTreeCtrl
,  
36384 _swigt__p_wxGenericDirCtrl
,  
36386 _swigt__p_wxItemContainer
,  
36387 _swigt__p_wxPyListCtrl
,  
36388 _swigt__p_wxPyTreeItemData
,  
36389 _swigt__p_wxDirFilterListCtrl
,  
36390 _swigt__p_wxStaticLine
,  
36391 _swigt__p_wxControl
,  
36392 _swigt__p_wxPyControl
,  
36394 _swigt__p_wxToolBarBase
,  
36396 _swigt__p_wxToggleButton
,  
36397 _swigt__p_wxRadioButton
,  
36398 _swigt__p_wxChoice
,  
36399 _swigt__p_wxMemoryDC
,  
36401 _swigt__std__ptrdiff_t
,  
36402 _swigt__p_wxListItemAttr
,  
36407 _swigt__p_wxListView
,  
36409 _swigt__p_wxVisualAttributes
,  
36410 _swigt__p_wxTextCtrl
,  
36411 _swigt__p_wxNotebook
,  
36412 _swigt__p_wxChoicebook
,  
36413 _swigt__p_wxNotifyEvent
,  
36414 _swigt__p_wxArrayString
,  
36415 _swigt__p_form_ops_t
,  
36416 _swigt__p_wxListbook
,  
36417 _swigt__p_wxStaticBitmap
,  
36418 _swigt__p_wxSlider
,  
36419 _swigt__p_wxStaticBox
,  
36420 _swigt__p_wxArrayInt
,  
36421 _swigt__p_wxContextHelp
,  
36423 _swigt__p_wxDuplexMode
,  
36424 _swigt__p_wxBookCtrlBase
,  
36425 _swigt__p_wxEvtHandler
,  
36426 _swigt__p_wxListEvent
,  
36427 _swigt__p_wxCheckListBox
,  
36428 _swigt__p_wxListBox
,  
36429 _swigt__p_wxSpinButton
,  
36430 _swigt__p_wxButton
,  
36431 _swigt__p_wxBitmapButton
,  
36433 _swigt__p_wxContextHelpButton
,  
36434 _swigt__p_wxRadioBox
,  
36435 _swigt__p_wxScrollBar
,  
36437 _swigt__p_wxComboBox
,  
36438 _swigt__p_wxTreeItemId
,  
36439 _swigt__p_wxHelpEvent
,  
36440 _swigt__p_wxListItem
,  
36441 _swigt__p_wxNotebookSizer
,  
36442 _swigt__p_wxSpinEvent
,  
36443 _swigt__p_wxGenericDragImage
,  
36444 _swigt__p_wxSpinCtrl
,  
36445 _swigt__p_wxPaperSize
,  
36446 _swigt__p_wxImageList
,  
36447 _swigt__p_wxHelpProvider
,  
36448 _swigt__p_wxTextAttr
,  
36449 _swigt__p_wxSimpleHelpProvider
,  
36450 _swigt__p_wxChoicebookEvent
,  
36451 _swigt__p_wxListbookEvent
,  
36452 _swigt__p_wxNotebookEvent
,  
36454 _swigt__p_wxObject
,  
36455 _swigt__p_wxCursor
,  
36456 _swigt__p_wxKeyEvent
,  
36457 _swigt__p_unsigned_long
,  
36458 _swigt__p_wxWindow
,  
36459 _swigt__p_wxString
,  
36460 _swigt__p_wxBitmap
,  
36461 _swigt__unsigned_int
,  
36462 _swigt__p_unsigned_int
,  
36463 _swigt__p_unsigned_char
,  
36464 _swigt__p_wxMouseEvent
,  
36465 _swigt__p_wxBookCtrlBaseEvent
,  
36466 _swigt__p_wxTreeEvent
,  
36467 _swigt__p_wxCommandEvent
,  
36468 _swigt__p_wxStaticText
,  
36469 _swigt__p_wxControlWithItems
,  
36470 _swigt__p_wxToolBarToolBase
,  
36471 _swigt__p_wxColour
,  
36472 _swigt__p_wxToolBar
,  
36473 _swigt__p_wxBookCtrlSizer
,  
36474 _swigt__p_wxValidator
,  
36479 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */ 
36481 static swig_const_info swig_const_table
[] = { 
36482 {0, 0, 0, 0.0, 0, 0}}; 
36493     /* Python-specific SWIG API */ 
36494 #define SWIG_newvarlink()                             SWIG_Python_newvarlink() 
36495 #define SWIG_addvarlink(p, name, get_attr, set_attr)  SWIG_Python_addvarlink(p, name, get_attr, set_attr) 
36496 #define SWIG_InstallConstants(d, constants)           SWIG_Python_InstallConstants(d, constants) 
36498     /* ----------------------------------------------------------------------------- 
36499      * global variable support code. 
36500      * ----------------------------------------------------------------------------- */ 
36502     typedef struct swig_globalvar 
{ 
36503         char       *name
;                  /* Name of global variable */ 
36504         PyObject 
*(*get_attr
)();           /* Return the current value */ 
36505         int       (*set_attr
)(PyObject 
*); /* Set the value */ 
36506         struct swig_globalvar 
*next
; 
36509     typedef struct swig_varlinkobject 
{ 
36511         swig_globalvar 
*vars
; 
36512     } swig_varlinkobject
; 
36515     swig_varlink_repr(swig_varlinkobject 
*v
) { 
36517         return PyString_FromString("<Swig global variables>"); 
36521     swig_varlink_print(swig_varlinkobject 
*v
, FILE *fp
, int flags
) { 
36522         swig_globalvar  
*var
; 
36524         fprintf(fp
,"Swig global variables { "); 
36525         for (var 
= v
->vars
; var
; var
=var
->next
) { 
36526             fprintf(fp
,"%s", var
->name
); 
36527             if (var
->next
) fprintf(fp
,", "); 
36529         fprintf(fp
," }\n"); 
36534     swig_varlink_getattr(swig_varlinkobject 
*v
, char *n
) { 
36535         swig_globalvar 
*var 
= v
->vars
; 
36537             if (strcmp(var
->name
,n
) == 0) { 
36538                 return (*var
->get_attr
)(); 
36542         PyErr_SetString(PyExc_NameError
,"Unknown C global variable"); 
36547     swig_varlink_setattr(swig_varlinkobject 
*v
, char *n
, PyObject 
*p
) { 
36548         swig_globalvar 
*var 
= v
->vars
; 
36550             if (strcmp(var
->name
,n
) == 0) { 
36551                 return (*var
->set_attr
)(p
); 
36555         PyErr_SetString(PyExc_NameError
,"Unknown C global variable"); 
36559     static PyTypeObject varlinktype 
= { 
36560         PyObject_HEAD_INIT(0)               
36561         0,                                  /* Number of items in variable part (ob_size) */ 
36562         (char *)"swigvarlink",              /* Type name (tp_name) */ 
36563         sizeof(swig_varlinkobject
),         /* Basic size (tp_basicsize) */ 
36564         0,                                  /* Itemsize (tp_itemsize) */ 
36565         0,                                  /* Deallocator (tp_dealloc) */  
36566         (printfunc
) swig_varlink_print
,     /* Print (tp_print) */ 
36567         (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */ 
36568         (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */ 
36569         0,                                  /* tp_compare */ 
36570         (reprfunc
) swig_varlink_repr
,       /* tp_repr */ 
36571         0,                                  /* tp_as_number */ 
36572         0,                                  /* tp_as_sequence */ 
36573         0,                                  /* tp_as_mapping */ 
36577         0,                                  /* tp_getattro */ 
36578         0,                                  /* tp_setattro */ 
36579         0,                                  /* tp_as_buffer */ 
36582 #if PY_VERSION_HEX >= 0x02000000 
36583         0,                                  /* tp_traverse */ 
36586 #if PY_VERSION_HEX >= 0x02010000 
36587         0,                                  /* tp_richcompare */ 
36588         0,                                  /* tp_weaklistoffset */ 
36590 #if PY_VERSION_HEX >= 0x02020000 
36591         0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */ 
36593 #if PY_VERSION_HEX >= 0x02030000 
36596 #ifdef COUNT_ALLOCS 
36597         0,0,0,0                             /* tp_alloc -> tp_next */ 
36601     /* Create a variable linking object for use later */ 
36603     SWIG_Python_newvarlink(void) { 
36604         swig_varlinkobject 
*result 
= 0; 
36605         result 
= PyMem_NEW(swig_varlinkobject
,1); 
36606         varlinktype
.ob_type 
= &PyType_Type
;    /* Patch varlinktype into a PyType */ 
36607         result
->ob_type 
= &varlinktype
; 
36609         result
->ob_refcnt 
= 0; 
36610         Py_XINCREF((PyObject 
*) result
); 
36611         return ((PyObject
*) result
); 
36615     SWIG_Python_addvarlink(PyObject 
*p
, char *name
, PyObject 
*(*get_attr
)(void), int (*set_attr
)(PyObject 
*p
)) { 
36616         swig_varlinkobject 
*v
; 
36617         swig_globalvar 
*gv
; 
36618         v
= (swig_varlinkobject 
*) p
; 
36619         gv 
= (swig_globalvar 
*) malloc(sizeof(swig_globalvar
)); 
36620         gv
->name 
= (char *) malloc(strlen(name
)+1); 
36621         strcpy(gv
->name
,name
); 
36622         gv
->get_attr 
= get_attr
; 
36623         gv
->set_attr 
= set_attr
; 
36624         gv
->next 
= v
->vars
; 
36628     /* ----------------------------------------------------------------------------- 
36629      * constants/methods manipulation 
36630      * ----------------------------------------------------------------------------- */ 
36632     /* Install Constants */ 
36634     SWIG_Python_InstallConstants(PyObject 
*d
, swig_const_info constants
[]) { 
36637         for (i 
= 0; constants
[i
].type
; i
++) { 
36638             switch(constants
[i
].type
) { 
36640                 obj 
= PyInt_FromLong(constants
[i
].lvalue
); 
36642                 case SWIG_PY_FLOAT
: 
36643                 obj 
= PyFloat_FromDouble(constants
[i
].dvalue
); 
36645                 case SWIG_PY_STRING
: 
36646                 if (constants
[i
].pvalue
) { 
36647                     obj 
= PyString_FromString((char *) constants
[i
].pvalue
); 
36649                     Py_INCREF(Py_None
); 
36653                 case SWIG_PY_POINTER
: 
36654                 obj 
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0); 
36656                 case SWIG_PY_BINARY
: 
36657                 obj 
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
)); 
36664                 PyDict_SetItemString(d
,constants
[i
].name
,obj
); 
36670     /* -----------------------------------------------------------------------------*/ 
36671     /* Fix SwigMethods to carry the callback ptrs when needed */ 
36672     /* -----------------------------------------------------------------------------*/ 
36675     SWIG_Python_FixMethods(PyMethodDef 
*methods
, 
36676     swig_const_info 
*const_table
, 
36677     swig_type_info 
**types
, 
36678     swig_type_info 
**types_initial
) { 
36680         for (i 
= 0; methods
[i
].ml_name
; ++i
) { 
36681             char *c 
= methods
[i
].ml_doc
; 
36682             if (c 
&& (c 
= strstr(c
, "swig_ptr: "))) { 
36684                 swig_const_info 
*ci 
= 0; 
36685                 char *name 
= c 
+ 10; 
36686                 for (j 
= 0; const_table
[j
].type
; j
++) { 
36687                     if (strncmp(const_table
[j
].name
, name
,  
36688                     strlen(const_table
[j
].name
)) == 0) { 
36689                         ci 
= &(const_table
[j
]); 
36694                     size_t shift 
= (ci
->ptype
) - types
; 
36695                     swig_type_info 
*ty 
= types_initial
[shift
]; 
36696                     size_t ldoc 
= (c 
- methods
[i
].ml_doc
); 
36697                     size_t lptr 
= strlen(ty
->name
)+2*sizeof(void*)+2; 
36698                     char *ndoc 
= (char*)malloc(ldoc 
+ lptr 
+ 10); 
36700                     void *ptr 
= (ci
->type 
== SWIG_PY_POINTER
) ? ci
->pvalue
: (void *)(ci
->lvalue
); 
36701                     strncpy(buff
, methods
[i
].ml_doc
, ldoc
); 
36703                     strncpy(buff
, "swig_ptr: ", 10); 
36705                     SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
); 
36706                     methods
[i
].ml_doc 
= ndoc
; 
36712     /* -----------------------------------------------------------------------------* 
36713      *  Initialize type list 
36714      * -----------------------------------------------------------------------------*/ 
36716 #if PY_MAJOR_VERSION < 2 
36717     /* PyModule_AddObject function was introduced in Python 2.0.  The following function 
36718     is copied out of Python/modsupport.c in python version 2.3.4 */ 
36720     PyModule_AddObject(PyObject 
*m
, char *name
, PyObject 
*o
) 
36723         if (!PyModule_Check(m
)) { 
36724             PyErr_SetString(PyExc_TypeError
, 
36725             "PyModule_AddObject() needs module as first arg"); 
36729             PyErr_SetString(PyExc_TypeError
, 
36730             "PyModule_AddObject() needs non-NULL value"); 
36734         dict 
= PyModule_GetDict(m
); 
36735         if (dict 
== NULL
) { 
36736             /* Internal error -- modules must have a dict! */ 
36737             PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__", 
36738             PyModule_GetName(m
)); 
36741         if (PyDict_SetItemString(dict
, name
, o
)) 
36748     static swig_type_info 
** 
36749     SWIG_Python_SetTypeListHandle(swig_type_info 
**type_list_handle
) { 
36750         static PyMethodDef swig_empty_runtime_method_table
[] = { 
36752                 NULL
, NULL
, 0, NULL
 
36756         PyObject 
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
, 
36757         swig_empty_runtime_method_table
); 
36758         PyObject 
*pointer 
= PyCObject_FromVoidPtr((void *) type_list_handle
, NULL
); 
36759         if (pointer 
&& module) { 
36760             PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
); 
36762         return type_list_handle
; 
36765     static swig_type_info 
** 
36766     SWIG_Python_LookupTypePointer(swig_type_info 
**type_list_handle
) { 
36767         swig_type_info 
**type_pointer
; 
36769         /* first check if module already created */ 
36770         type_pointer 
= SWIG_Python_GetTypeListHandle(); 
36771         if (type_pointer
) { 
36772             return type_pointer
; 
36774             /* create a new module and variable */ 
36775             return SWIG_Python_SetTypeListHandle(type_list_handle
); 
36783 /* -----------------------------------------------------------------------------* 
36784  *  Partial Init method 
36785  * -----------------------------------------------------------------------------*/ 
36787 #ifdef SWIG_LINK_RUNTIME 
36791 SWIGEXPORT(void *) SWIG_ReturnGlobalTypeList(void *); 
36797 SWIGEXPORT(void) SWIG_init(void) { 
36798     static PyObject 
*SWIG_globals 
= 0;  
36799     static int       typeinit 
= 0; 
36802     if (!SWIG_globals
) SWIG_globals 
= SWIG_newvarlink(); 
36804     /* Fix SwigMethods to carry the callback ptrs when needed */ 
36805     SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_types_initial
); 
36807     m 
= Py_InitModule((char *) SWIG_name
, SwigMethods
); 
36808     d 
= PyModule_GetDict(m
); 
36811 #ifdef SWIG_LINK_RUNTIME 
36812         swig_type_list_handle 
= (swig_type_info 
**) SWIG_ReturnGlobalTypeList(swig_type_list_handle
); 
36814 #  ifndef SWIG_STATIC_RUNTIME 
36815         swig_type_list_handle 
= SWIG_Python_LookupTypePointer(swig_type_list_handle
); 
36818         for (i 
= 0; swig_types_initial
[i
]; i
++) { 
36819             swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]); 
36823     SWIG_InstallConstants(d
,swig_const_table
); 
36825     PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
); 
36826     SWIG_addvarlink(SWIG_globals
,(char*)"ButtonNameStr",_wrap_ButtonNameStr_get
, _wrap_ButtonNameStr_set
); 
36828         PyDict_SetItemString(d
,"BU_LEFT", SWIG_From_int((int)(wxBU_LEFT
)));  
36831         PyDict_SetItemString(d
,"BU_TOP", SWIG_From_int((int)(wxBU_TOP
)));  
36834         PyDict_SetItemString(d
,"BU_RIGHT", SWIG_From_int((int)(wxBU_RIGHT
)));  
36837         PyDict_SetItemString(d
,"BU_BOTTOM", SWIG_From_int((int)(wxBU_BOTTOM
)));  
36840         PyDict_SetItemString(d
,"BU_ALIGN_MASK", SWIG_From_int((int)(wxBU_ALIGN_MASK
)));  
36843         PyDict_SetItemString(d
,"BU_EXACTFIT", SWIG_From_int((int)(wxBU_EXACTFIT
)));  
36846         PyDict_SetItemString(d
,"BU_AUTODRAW", SWIG_From_int((int)(wxBU_AUTODRAW
)));  
36848     SWIG_addvarlink(SWIG_globals
,(char*)"CheckBoxNameStr",_wrap_CheckBoxNameStr_get
, _wrap_CheckBoxNameStr_set
); 
36850         PyDict_SetItemString(d
,"CHK_2STATE", SWIG_From_int((int)(wxCHK_2STATE
)));  
36853         PyDict_SetItemString(d
,"CHK_3STATE", SWIG_From_int((int)(wxCHK_3STATE
)));  
36856         PyDict_SetItemString(d
,"CHK_ALLOW_3RD_STATE_FOR_USER", SWIG_From_int((int)(wxCHK_ALLOW_3RD_STATE_FOR_USER
)));  
36859         PyDict_SetItemString(d
,"CHK_UNCHECKED", SWIG_From_int((int)(wxCHK_UNCHECKED
)));  
36862         PyDict_SetItemString(d
,"CHK_CHECKED", SWIG_From_int((int)(wxCHK_CHECKED
)));  
36865         PyDict_SetItemString(d
,"CHK_UNDETERMINED", SWIG_From_int((int)(wxCHK_UNDETERMINED
)));  
36867     SWIG_addvarlink(SWIG_globals
,(char*)"ChoiceNameStr",_wrap_ChoiceNameStr_get
, _wrap_ChoiceNameStr_set
); 
36868     SWIG_addvarlink(SWIG_globals
,(char*)"ComboBoxNameStr",_wrap_ComboBoxNameStr_get
, _wrap_ComboBoxNameStr_set
); 
36869     SWIG_addvarlink(SWIG_globals
,(char*)"GaugeNameStr",_wrap_GaugeNameStr_get
, _wrap_GaugeNameStr_set
); 
36871         PyDict_SetItemString(d
,"GA_HORIZONTAL", SWIG_From_int((int)(wxGA_HORIZONTAL
)));  
36874         PyDict_SetItemString(d
,"GA_VERTICAL", SWIG_From_int((int)(wxGA_VERTICAL
)));  
36877         PyDict_SetItemString(d
,"GA_SMOOTH", SWIG_From_int((int)(wxGA_SMOOTH
)));  
36880         PyDict_SetItemString(d
,"GA_PROGRESSBAR", SWIG_From_int((int)(wxGA_PROGRESSBAR
)));  
36882     SWIG_addvarlink(SWIG_globals
,(char*)"StaticBitmapNameStr",_wrap_StaticBitmapNameStr_get
, _wrap_StaticBitmapNameStr_set
); 
36883     SWIG_addvarlink(SWIG_globals
,(char*)"StaticBoxNameStr",_wrap_StaticBoxNameStr_get
, _wrap_StaticBoxNameStr_set
); 
36884     SWIG_addvarlink(SWIG_globals
,(char*)"StaticTextNameStr",_wrap_StaticTextNameStr_get
, _wrap_StaticTextNameStr_set
); 
36885     SWIG_addvarlink(SWIG_globals
,(char*)"ListBoxNameStr",_wrap_ListBoxNameStr_get
, _wrap_ListBoxNameStr_set
); 
36886     SWIG_addvarlink(SWIG_globals
,(char*)"TextCtrlNameStr",_wrap_TextCtrlNameStr_get
, _wrap_TextCtrlNameStr_set
); 
36888         PyDict_SetItemString(d
,"TE_NO_VSCROLL", SWIG_From_int((int)(wxTE_NO_VSCROLL
)));  
36891         PyDict_SetItemString(d
,"TE_AUTO_SCROLL", SWIG_From_int((int)(wxTE_AUTO_SCROLL
)));  
36894         PyDict_SetItemString(d
,"TE_READONLY", SWIG_From_int((int)(wxTE_READONLY
)));  
36897         PyDict_SetItemString(d
,"TE_MULTILINE", SWIG_From_int((int)(wxTE_MULTILINE
)));  
36900         PyDict_SetItemString(d
,"TE_PROCESS_TAB", SWIG_From_int((int)(wxTE_PROCESS_TAB
)));  
36903         PyDict_SetItemString(d
,"TE_LEFT", SWIG_From_int((int)(wxTE_LEFT
)));  
36906         PyDict_SetItemString(d
,"TE_CENTER", SWIG_From_int((int)(wxTE_CENTER
)));  
36909         PyDict_SetItemString(d
,"TE_RIGHT", SWIG_From_int((int)(wxTE_RIGHT
)));  
36912         PyDict_SetItemString(d
,"TE_CENTRE", SWIG_From_int((int)(wxTE_CENTRE
)));  
36915         PyDict_SetItemString(d
,"TE_RICH", SWIG_From_int((int)(wxTE_RICH
)));  
36918         PyDict_SetItemString(d
,"TE_PROCESS_ENTER", SWIG_From_int((int)(wxTE_PROCESS_ENTER
)));  
36921         PyDict_SetItemString(d
,"TE_PASSWORD", SWIG_From_int((int)(wxTE_PASSWORD
)));  
36924         PyDict_SetItemString(d
,"TE_AUTO_URL", SWIG_From_int((int)(wxTE_AUTO_URL
)));  
36927         PyDict_SetItemString(d
,"TE_NOHIDESEL", SWIG_From_int((int)(wxTE_NOHIDESEL
)));  
36930         PyDict_SetItemString(d
,"TE_DONTWRAP", SWIG_From_int((int)(wxTE_DONTWRAP
)));  
36933         PyDict_SetItemString(d
,"TE_LINEWRAP", SWIG_From_int((int)(wxTE_LINEWRAP
)));  
36936         PyDict_SetItemString(d
,"TE_WORDWRAP", SWIG_From_int((int)(wxTE_WORDWRAP
)));  
36939         PyDict_SetItemString(d
,"TE_RICH2", SWIG_From_int((int)(wxTE_RICH2
)));  
36942         PyDict_SetItemString(d
,"TEXT_ALIGNMENT_DEFAULT", SWIG_From_int((int)(wxTEXT_ALIGNMENT_DEFAULT
)));  
36945         PyDict_SetItemString(d
,"TEXT_ALIGNMENT_LEFT", SWIG_From_int((int)(wxTEXT_ALIGNMENT_LEFT
)));  
36948         PyDict_SetItemString(d
,"TEXT_ALIGNMENT_CENTRE", SWIG_From_int((int)(wxTEXT_ALIGNMENT_CENTRE
)));  
36951         PyDict_SetItemString(d
,"TEXT_ALIGNMENT_CENTER", SWIG_From_int((int)(wxTEXT_ALIGNMENT_CENTER
)));  
36954         PyDict_SetItemString(d
,"TEXT_ALIGNMENT_RIGHT", SWIG_From_int((int)(wxTEXT_ALIGNMENT_RIGHT
)));  
36957         PyDict_SetItemString(d
,"TEXT_ALIGNMENT_JUSTIFIED", SWIG_From_int((int)(wxTEXT_ALIGNMENT_JUSTIFIED
)));  
36960         PyDict_SetItemString(d
,"TEXT_ATTR_TEXT_COLOUR", SWIG_From_int((int)(wxTEXT_ATTR_TEXT_COLOUR
)));  
36963         PyDict_SetItemString(d
,"TEXT_ATTR_BACKGROUND_COLOUR", SWIG_From_int((int)(wxTEXT_ATTR_BACKGROUND_COLOUR
)));  
36966         PyDict_SetItemString(d
,"TEXT_ATTR_FONT_FACE", SWIG_From_int((int)(wxTEXT_ATTR_FONT_FACE
)));  
36969         PyDict_SetItemString(d
,"TEXT_ATTR_FONT_SIZE", SWIG_From_int((int)(wxTEXT_ATTR_FONT_SIZE
)));  
36972         PyDict_SetItemString(d
,"TEXT_ATTR_FONT_WEIGHT", SWIG_From_int((int)(wxTEXT_ATTR_FONT_WEIGHT
)));  
36975         PyDict_SetItemString(d
,"TEXT_ATTR_FONT_ITALIC", SWIG_From_int((int)(wxTEXT_ATTR_FONT_ITALIC
)));  
36978         PyDict_SetItemString(d
,"TEXT_ATTR_FONT_UNDERLINE", SWIG_From_int((int)(wxTEXT_ATTR_FONT_UNDERLINE
)));  
36981         PyDict_SetItemString(d
,"TEXT_ATTR_FONT", SWIG_From_int((int)(wxTEXT_ATTR_FONT
)));  
36984         PyDict_SetItemString(d
,"TEXT_ATTR_ALIGNMENT", SWIG_From_int((int)(wxTEXT_ATTR_ALIGNMENT
)));  
36987         PyDict_SetItemString(d
,"TEXT_ATTR_LEFT_INDENT", SWIG_From_int((int)(wxTEXT_ATTR_LEFT_INDENT
)));  
36990         PyDict_SetItemString(d
,"TEXT_ATTR_RIGHT_INDENT", SWIG_From_int((int)(wxTEXT_ATTR_RIGHT_INDENT
)));  
36993         PyDict_SetItemString(d
,"TEXT_ATTR_TABS", SWIG_From_int((int)(wxTEXT_ATTR_TABS
)));  
36996         PyDict_SetItemString(d
,"TE_HT_UNKNOWN", SWIG_From_int((int)(wxTE_HT_UNKNOWN
)));  
36999         PyDict_SetItemString(d
,"TE_HT_BEFORE", SWIG_From_int((int)(wxTE_HT_BEFORE
)));  
37002         PyDict_SetItemString(d
,"TE_HT_ON_TEXT", SWIG_From_int((int)(wxTE_HT_ON_TEXT
)));  
37005         PyDict_SetItemString(d
,"TE_HT_BELOW", SWIG_From_int((int)(wxTE_HT_BELOW
)));  
37008         PyDict_SetItemString(d
,"TE_HT_BEYOND", SWIG_From_int((int)(wxTE_HT_BEYOND
)));  
37010     PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED
)); 
37011     PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER
)); 
37012     PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL
)); 
37013     PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN
)); 
37014     SWIG_addvarlink(SWIG_globals
,(char*)"ScrollBarNameStr",_wrap_ScrollBarNameStr_get
, _wrap_ScrollBarNameStr_set
); 
37015     SWIG_addvarlink(SWIG_globals
,(char*)"SPIN_BUTTON_NAME",_wrap_SPIN_BUTTON_NAME_get
, _wrap_SPIN_BUTTON_NAME_set
); 
37016     SWIG_addvarlink(SWIG_globals
,(char*)"SpinCtrlNameStr",_wrap_SpinCtrlNameStr_get
, _wrap_SpinCtrlNameStr_set
); 
37018         PyDict_SetItemString(d
,"SP_HORIZONTAL", SWIG_From_int((int)(wxSP_HORIZONTAL
)));  
37021         PyDict_SetItemString(d
,"SP_VERTICAL", SWIG_From_int((int)(wxSP_VERTICAL
)));  
37024         PyDict_SetItemString(d
,"SP_ARROW_KEYS", SWIG_From_int((int)(wxSP_ARROW_KEYS
)));  
37027         PyDict_SetItemString(d
,"SP_WRAP", SWIG_From_int((int)(wxSP_WRAP
)));  
37029     PyDict_SetItemString(d
, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED
)); 
37030     SWIG_addvarlink(SWIG_globals
,(char*)"RadioBoxNameStr",_wrap_RadioBoxNameStr_get
, _wrap_RadioBoxNameStr_set
); 
37031     SWIG_addvarlink(SWIG_globals
,(char*)"RadioButtonNameStr",_wrap_RadioButtonNameStr_get
, _wrap_RadioButtonNameStr_set
); 
37032     SWIG_addvarlink(SWIG_globals
,(char*)"SliderNameStr",_wrap_SliderNameStr_get
, _wrap_SliderNameStr_set
); 
37033     SWIG_addvarlink(SWIG_globals
,(char*)"ToggleButtonNameStr",_wrap_ToggleButtonNameStr_get
, _wrap_ToggleButtonNameStr_set
); 
37034     PyDict_SetItemString(d
, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
)); 
37035     SWIG_addvarlink(SWIG_globals
,(char*)"NOTEBOOK_NAME",_wrap_NOTEBOOK_NAME_get
, _wrap_NOTEBOOK_NAME_set
); 
37037         PyDict_SetItemString(d
,"NB_FIXEDWIDTH", SWIG_From_int((int)(wxNB_FIXEDWIDTH
)));  
37040         PyDict_SetItemString(d
,"NB_TOP", SWIG_From_int((int)(wxNB_TOP
)));  
37043         PyDict_SetItemString(d
,"NB_LEFT", SWIG_From_int((int)(wxNB_LEFT
)));  
37046         PyDict_SetItemString(d
,"NB_RIGHT", SWIG_From_int((int)(wxNB_RIGHT
)));  
37049         PyDict_SetItemString(d
,"NB_BOTTOM", SWIG_From_int((int)(wxNB_BOTTOM
)));  
37052         PyDict_SetItemString(d
,"NB_MULTILINE", SWIG_From_int((int)(wxNB_MULTILINE
)));  
37055         PyDict_SetItemString(d
,"NB_HITTEST_NOWHERE", SWIG_From_int((int)(wxNB_HITTEST_NOWHERE
)));  
37058         PyDict_SetItemString(d
,"NB_HITTEST_ONICON", SWIG_From_int((int)(wxNB_HITTEST_ONICON
)));  
37061         PyDict_SetItemString(d
,"NB_HITTEST_ONLABEL", SWIG_From_int((int)(wxNB_HITTEST_ONLABEL
)));  
37064         PyDict_SetItemString(d
,"NB_HITTEST_ONITEM", SWIG_From_int((int)(wxNB_HITTEST_ONITEM
)));  
37066     PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
)); 
37067     PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
)); 
37069         PyDict_SetItemString(d
,"LB_DEFAULT", SWIG_From_int((int)(wxLB_DEFAULT
)));  
37072         PyDict_SetItemString(d
,"LB_TOP", SWIG_From_int((int)(wxLB_TOP
)));  
37075         PyDict_SetItemString(d
,"LB_BOTTOM", SWIG_From_int((int)(wxLB_BOTTOM
)));  
37078         PyDict_SetItemString(d
,"LB_LEFT", SWIG_From_int((int)(wxLB_LEFT
)));  
37081         PyDict_SetItemString(d
,"LB_RIGHT", SWIG_From_int((int)(wxLB_RIGHT
)));  
37084         PyDict_SetItemString(d
,"LB_ALIGN_MASK", SWIG_From_int((int)(wxLB_ALIGN_MASK
)));  
37086     PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED
)); 
37087     PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING
)); 
37089         PyDict_SetItemString(d
,"CHB_DEFAULT", SWIG_From_int((int)(wxCHB_DEFAULT
)));  
37092         PyDict_SetItemString(d
,"CHB_TOP", SWIG_From_int((int)(wxCHB_TOP
)));  
37095         PyDict_SetItemString(d
,"CHB_BOTTOM", SWIG_From_int((int)(wxCHB_BOTTOM
)));  
37098         PyDict_SetItemString(d
,"CHB_LEFT", SWIG_From_int((int)(wxCHB_LEFT
)));  
37101         PyDict_SetItemString(d
,"CHB_RIGHT", SWIG_From_int((int)(wxCHB_RIGHT
)));  
37104         PyDict_SetItemString(d
,"CHB_ALIGN_MASK", SWIG_From_int((int)(wxCHB_ALIGN_MASK
)));  
37106     PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED
)); 
37107     PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING
)); 
37109         PyDict_SetItemString(d
,"TOOL_STYLE_BUTTON", SWIG_From_int((int)(wxTOOL_STYLE_BUTTON
)));  
37112         PyDict_SetItemString(d
,"TOOL_STYLE_SEPARATOR", SWIG_From_int((int)(wxTOOL_STYLE_SEPARATOR
)));  
37115         PyDict_SetItemString(d
,"TOOL_STYLE_CONTROL", SWIG_From_int((int)(wxTOOL_STYLE_CONTROL
)));  
37118         PyDict_SetItemString(d
,"TB_HORIZONTAL", SWIG_From_int((int)(wxTB_HORIZONTAL
)));  
37121         PyDict_SetItemString(d
,"TB_VERTICAL", SWIG_From_int((int)(wxTB_VERTICAL
)));  
37124         PyDict_SetItemString(d
,"TB_3DBUTTONS", SWIG_From_int((int)(wxTB_3DBUTTONS
)));  
37127         PyDict_SetItemString(d
,"TB_FLAT", SWIG_From_int((int)(wxTB_FLAT
)));  
37130         PyDict_SetItemString(d
,"TB_DOCKABLE", SWIG_From_int((int)(wxTB_DOCKABLE
)));  
37133         PyDict_SetItemString(d
,"TB_NOICONS", SWIG_From_int((int)(wxTB_NOICONS
)));  
37136         PyDict_SetItemString(d
,"TB_TEXT", SWIG_From_int((int)(wxTB_TEXT
)));  
37139         PyDict_SetItemString(d
,"TB_NODIVIDER", SWIG_From_int((int)(wxTB_NODIVIDER
)));  
37142         PyDict_SetItemString(d
,"TB_NOALIGN", SWIG_From_int((int)(wxTB_NOALIGN
)));  
37145         PyDict_SetItemString(d
,"TB_HORZ_LAYOUT", SWIG_From_int((int)(wxTB_HORZ_LAYOUT
)));  
37148         PyDict_SetItemString(d
,"TB_HORZ_TEXT", SWIG_From_int((int)(wxTB_HORZ_TEXT
)));  
37150     SWIG_addvarlink(SWIG_globals
,(char*)"ListCtrlNameStr",_wrap_ListCtrlNameStr_get
, _wrap_ListCtrlNameStr_set
); 
37152         PyDict_SetItemString(d
,"LC_VRULES", SWIG_From_int((int)(wxLC_VRULES
)));  
37155         PyDict_SetItemString(d
,"LC_HRULES", SWIG_From_int((int)(wxLC_HRULES
)));  
37158         PyDict_SetItemString(d
,"LC_ICON", SWIG_From_int((int)(wxLC_ICON
)));  
37161         PyDict_SetItemString(d
,"LC_SMALL_ICON", SWIG_From_int((int)(wxLC_SMALL_ICON
)));  
37164         PyDict_SetItemString(d
,"LC_LIST", SWIG_From_int((int)(wxLC_LIST
)));  
37167         PyDict_SetItemString(d
,"LC_REPORT", SWIG_From_int((int)(wxLC_REPORT
)));  
37170         PyDict_SetItemString(d
,"LC_ALIGN_TOP", SWIG_From_int((int)(wxLC_ALIGN_TOP
)));  
37173         PyDict_SetItemString(d
,"LC_ALIGN_LEFT", SWIG_From_int((int)(wxLC_ALIGN_LEFT
)));  
37176         PyDict_SetItemString(d
,"LC_AUTOARRANGE", SWIG_From_int((int)(wxLC_AUTOARRANGE
)));  
37179         PyDict_SetItemString(d
,"LC_VIRTUAL", SWIG_From_int((int)(wxLC_VIRTUAL
)));  
37182         PyDict_SetItemString(d
,"LC_EDIT_LABELS", SWIG_From_int((int)(wxLC_EDIT_LABELS
)));  
37185         PyDict_SetItemString(d
,"LC_NO_HEADER", SWIG_From_int((int)(wxLC_NO_HEADER
)));  
37188         PyDict_SetItemString(d
,"LC_NO_SORT_HEADER", SWIG_From_int((int)(wxLC_NO_SORT_HEADER
)));  
37191         PyDict_SetItemString(d
,"LC_SINGLE_SEL", SWIG_From_int((int)(wxLC_SINGLE_SEL
)));  
37194         PyDict_SetItemString(d
,"LC_SORT_ASCENDING", SWIG_From_int((int)(wxLC_SORT_ASCENDING
)));  
37197         PyDict_SetItemString(d
,"LC_SORT_DESCENDING", SWIG_From_int((int)(wxLC_SORT_DESCENDING
)));  
37200         PyDict_SetItemString(d
,"LC_MASK_TYPE", SWIG_From_int((int)(wxLC_MASK_TYPE
)));  
37203         PyDict_SetItemString(d
,"LC_MASK_ALIGN", SWIG_From_int((int)(wxLC_MASK_ALIGN
)));  
37206         PyDict_SetItemString(d
,"LC_MASK_SORT", SWIG_From_int((int)(wxLC_MASK_SORT
)));  
37209         PyDict_SetItemString(d
,"LIST_MASK_STATE", SWIG_From_int((int)(wxLIST_MASK_STATE
)));  
37212         PyDict_SetItemString(d
,"LIST_MASK_TEXT", SWIG_From_int((int)(wxLIST_MASK_TEXT
)));  
37215         PyDict_SetItemString(d
,"LIST_MASK_IMAGE", SWIG_From_int((int)(wxLIST_MASK_IMAGE
)));  
37218         PyDict_SetItemString(d
,"LIST_MASK_DATA", SWIG_From_int((int)(wxLIST_MASK_DATA
)));  
37221         PyDict_SetItemString(d
,"LIST_SET_ITEM", SWIG_From_int((int)(wxLIST_SET_ITEM
)));  
37224         PyDict_SetItemString(d
,"LIST_MASK_WIDTH", SWIG_From_int((int)(wxLIST_MASK_WIDTH
)));  
37227         PyDict_SetItemString(d
,"LIST_MASK_FORMAT", SWIG_From_int((int)(wxLIST_MASK_FORMAT
)));  
37230         PyDict_SetItemString(d
,"LIST_STATE_DONTCARE", SWIG_From_int((int)(wxLIST_STATE_DONTCARE
)));  
37233         PyDict_SetItemString(d
,"LIST_STATE_DROPHILITED", SWIG_From_int((int)(wxLIST_STATE_DROPHILITED
)));  
37236         PyDict_SetItemString(d
,"LIST_STATE_FOCUSED", SWIG_From_int((int)(wxLIST_STATE_FOCUSED
)));  
37239         PyDict_SetItemString(d
,"LIST_STATE_SELECTED", SWIG_From_int((int)(wxLIST_STATE_SELECTED
)));  
37242         PyDict_SetItemString(d
,"LIST_STATE_CUT", SWIG_From_int((int)(wxLIST_STATE_CUT
)));  
37245         PyDict_SetItemString(d
,"LIST_STATE_DISABLED", SWIG_From_int((int)(wxLIST_STATE_DISABLED
)));  
37248         PyDict_SetItemString(d
,"LIST_STATE_FILTERED", SWIG_From_int((int)(wxLIST_STATE_FILTERED
)));  
37251         PyDict_SetItemString(d
,"LIST_STATE_INUSE", SWIG_From_int((int)(wxLIST_STATE_INUSE
)));  
37254         PyDict_SetItemString(d
,"LIST_STATE_PICKED", SWIG_From_int((int)(wxLIST_STATE_PICKED
)));  
37257         PyDict_SetItemString(d
,"LIST_STATE_SOURCE", SWIG_From_int((int)(wxLIST_STATE_SOURCE
)));  
37260         PyDict_SetItemString(d
,"LIST_HITTEST_ABOVE", SWIG_From_int((int)(wxLIST_HITTEST_ABOVE
)));  
37263         PyDict_SetItemString(d
,"LIST_HITTEST_BELOW", SWIG_From_int((int)(wxLIST_HITTEST_BELOW
)));  
37266         PyDict_SetItemString(d
,"LIST_HITTEST_NOWHERE", SWIG_From_int((int)(wxLIST_HITTEST_NOWHERE
)));  
37269         PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMICON", SWIG_From_int((int)(wxLIST_HITTEST_ONITEMICON
)));  
37272         PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMLABEL", SWIG_From_int((int)(wxLIST_HITTEST_ONITEMLABEL
)));  
37275         PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMRIGHT", SWIG_From_int((int)(wxLIST_HITTEST_ONITEMRIGHT
)));  
37278         PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMSTATEICON", SWIG_From_int((int)(wxLIST_HITTEST_ONITEMSTATEICON
)));  
37281         PyDict_SetItemString(d
,"LIST_HITTEST_TOLEFT", SWIG_From_int((int)(wxLIST_HITTEST_TOLEFT
)));  
37284         PyDict_SetItemString(d
,"LIST_HITTEST_TORIGHT", SWIG_From_int((int)(wxLIST_HITTEST_TORIGHT
)));  
37287         PyDict_SetItemString(d
,"LIST_HITTEST_ONITEM", SWIG_From_int((int)(wxLIST_HITTEST_ONITEM
)));  
37290         PyDict_SetItemString(d
,"LIST_NEXT_ABOVE", SWIG_From_int((int)(wxLIST_NEXT_ABOVE
)));  
37293         PyDict_SetItemString(d
,"LIST_NEXT_ALL", SWIG_From_int((int)(wxLIST_NEXT_ALL
)));  
37296         PyDict_SetItemString(d
,"LIST_NEXT_BELOW", SWIG_From_int((int)(wxLIST_NEXT_BELOW
)));  
37299         PyDict_SetItemString(d
,"LIST_NEXT_LEFT", SWIG_From_int((int)(wxLIST_NEXT_LEFT
)));  
37302         PyDict_SetItemString(d
,"LIST_NEXT_RIGHT", SWIG_From_int((int)(wxLIST_NEXT_RIGHT
)));  
37305         PyDict_SetItemString(d
,"LIST_ALIGN_DEFAULT", SWIG_From_int((int)(wxLIST_ALIGN_DEFAULT
)));  
37308         PyDict_SetItemString(d
,"LIST_ALIGN_LEFT", SWIG_From_int((int)(wxLIST_ALIGN_LEFT
)));  
37311         PyDict_SetItemString(d
,"LIST_ALIGN_TOP", SWIG_From_int((int)(wxLIST_ALIGN_TOP
)));  
37314         PyDict_SetItemString(d
,"LIST_ALIGN_SNAP_TO_GRID", SWIG_From_int((int)(wxLIST_ALIGN_SNAP_TO_GRID
)));  
37317         PyDict_SetItemString(d
,"LIST_FORMAT_LEFT", SWIG_From_int((int)(wxLIST_FORMAT_LEFT
)));  
37320         PyDict_SetItemString(d
,"LIST_FORMAT_RIGHT", SWIG_From_int((int)(wxLIST_FORMAT_RIGHT
)));  
37323         PyDict_SetItemString(d
,"LIST_FORMAT_CENTRE", SWIG_From_int((int)(wxLIST_FORMAT_CENTRE
)));  
37326         PyDict_SetItemString(d
,"LIST_FORMAT_CENTER", SWIG_From_int((int)(wxLIST_FORMAT_CENTER
)));  
37329         PyDict_SetItemString(d
,"LIST_AUTOSIZE", SWIG_From_int((int)(wxLIST_AUTOSIZE
)));  
37332         PyDict_SetItemString(d
,"LIST_AUTOSIZE_USEHEADER", SWIG_From_int((int)(wxLIST_AUTOSIZE_USEHEADER
)));  
37335         PyDict_SetItemString(d
,"LIST_RECT_BOUNDS", SWIG_From_int((int)(wxLIST_RECT_BOUNDS
)));  
37338         PyDict_SetItemString(d
,"LIST_RECT_ICON", SWIG_From_int((int)(wxLIST_RECT_ICON
)));  
37341         PyDict_SetItemString(d
,"LIST_RECT_LABEL", SWIG_From_int((int)(wxLIST_RECT_LABEL
)));  
37344         PyDict_SetItemString(d
,"LIST_FIND_UP", SWIG_From_int((int)(wxLIST_FIND_UP
)));  
37347         PyDict_SetItemString(d
,"LIST_FIND_DOWN", SWIG_From_int((int)(wxLIST_FIND_DOWN
)));  
37350         PyDict_SetItemString(d
,"LIST_FIND_LEFT", SWIG_From_int((int)(wxLIST_FIND_LEFT
)));  
37353         PyDict_SetItemString(d
,"LIST_FIND_RIGHT", SWIG_From_int((int)(wxLIST_FIND_RIGHT
)));  
37355     PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG
)); 
37356     PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG
)); 
37357     PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
)); 
37358     PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT
)); 
37359     PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM
)); 
37360     PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
)); 
37361     PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_GET_INFO
)); 
37362     PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_SET_INFO
)); 
37363     PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED
)); 
37364     PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED
)); 
37365     PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN
)); 
37366     PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM
)); 
37367     PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK
)); 
37368     PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
)); 
37369     PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
)); 
37370     PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED
)); 
37371     PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT
)); 
37372     PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
)); 
37373     PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
)); 
37374     PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING
)); 
37375     PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG
)); 
37376     PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED
)); 
37378     // Map renamed classes back to their common name for OOR 
37379     wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl"); 
37381     SWIG_addvarlink(SWIG_globals
,(char*)"TreeCtrlNameStr",_wrap_TreeCtrlNameStr_get
, _wrap_TreeCtrlNameStr_set
); 
37383         PyDict_SetItemString(d
,"TR_NO_BUTTONS", SWIG_From_int((int)(wxTR_NO_BUTTONS
)));  
37386         PyDict_SetItemString(d
,"TR_HAS_BUTTONS", SWIG_From_int((int)(wxTR_HAS_BUTTONS
)));  
37389         PyDict_SetItemString(d
,"TR_NO_LINES", SWIG_From_int((int)(wxTR_NO_LINES
)));  
37392         PyDict_SetItemString(d
,"TR_LINES_AT_ROOT", SWIG_From_int((int)(wxTR_LINES_AT_ROOT
)));  
37395         PyDict_SetItemString(d
,"TR_SINGLE", SWIG_From_int((int)(wxTR_SINGLE
)));  
37398         PyDict_SetItemString(d
,"TR_MULTIPLE", SWIG_From_int((int)(wxTR_MULTIPLE
)));  
37401         PyDict_SetItemString(d
,"TR_EXTENDED", SWIG_From_int((int)(wxTR_EXTENDED
)));  
37404         PyDict_SetItemString(d
,"TR_HAS_VARIABLE_ROW_HEIGHT", SWIG_From_int((int)(wxTR_HAS_VARIABLE_ROW_HEIGHT
)));  
37407         PyDict_SetItemString(d
,"TR_EDIT_LABELS", SWIG_From_int((int)(wxTR_EDIT_LABELS
)));  
37410         PyDict_SetItemString(d
,"TR_HIDE_ROOT", SWIG_From_int((int)(wxTR_HIDE_ROOT
)));  
37413         PyDict_SetItemString(d
,"TR_ROW_LINES", SWIG_From_int((int)(wxTR_ROW_LINES
)));  
37416         PyDict_SetItemString(d
,"TR_FULL_ROW_HIGHLIGHT", SWIG_From_int((int)(wxTR_FULL_ROW_HIGHLIGHT
)));  
37419         PyDict_SetItemString(d
,"TR_DEFAULT_STYLE", SWIG_From_int((int)(wxTR_DEFAULT_STYLE
)));  
37422         PyDict_SetItemString(d
,"TR_TWIST_BUTTONS", SWIG_From_int((int)(wxTR_TWIST_BUTTONS
)));  
37425         PyDict_SetItemString(d
,"TR_MAC_BUTTONS", SWIG_From_int((int)(wxTR_MAC_BUTTONS
)));  
37428         PyDict_SetItemString(d
,"TR_AQUA_BUTTONS", SWIG_From_int((int)(wxTR_AQUA_BUTTONS
)));  
37431         PyDict_SetItemString(d
,"TreeItemIcon_Normal", SWIG_From_int((int)(wxTreeItemIcon_Normal
)));  
37434         PyDict_SetItemString(d
,"TreeItemIcon_Selected", SWIG_From_int((int)(wxTreeItemIcon_Selected
)));  
37437         PyDict_SetItemString(d
,"TreeItemIcon_Expanded", SWIG_From_int((int)(wxTreeItemIcon_Expanded
)));  
37440         PyDict_SetItemString(d
,"TreeItemIcon_SelectedExpanded", SWIG_From_int((int)(wxTreeItemIcon_SelectedExpanded
)));  
37443         PyDict_SetItemString(d
,"TreeItemIcon_Max", SWIG_From_int((int)(wxTreeItemIcon_Max
)));  
37446         PyDict_SetItemString(d
,"TREE_HITTEST_ABOVE", SWIG_From_int((int)(wxTREE_HITTEST_ABOVE
)));  
37449         PyDict_SetItemString(d
,"TREE_HITTEST_BELOW", SWIG_From_int((int)(wxTREE_HITTEST_BELOW
)));  
37452         PyDict_SetItemString(d
,"TREE_HITTEST_NOWHERE", SWIG_From_int((int)(wxTREE_HITTEST_NOWHERE
)));  
37455         PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMBUTTON", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMBUTTON
)));  
37458         PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMICON", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMICON
)));  
37461         PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMINDENT", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMINDENT
)));  
37464         PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMLABEL", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMLABEL
)));  
37467         PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMRIGHT", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMRIGHT
)));  
37470         PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMSTATEICON", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMSTATEICON
)));  
37473         PyDict_SetItemString(d
,"TREE_HITTEST_TOLEFT", SWIG_From_int((int)(wxTREE_HITTEST_TOLEFT
)));  
37476         PyDict_SetItemString(d
,"TREE_HITTEST_TORIGHT", SWIG_From_int((int)(wxTREE_HITTEST_TORIGHT
)));  
37479         PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMUPPERPART", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMUPPERPART
)));  
37482         PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMLOWERPART", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMLOWERPART
)));  
37485         PyDict_SetItemString(d
,"TREE_HITTEST_ONITEM", SWIG_From_int((int)(wxTREE_HITTEST_ONITEM
)));  
37487     PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG
)); 
37488     PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG
)); 
37489     PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
)); 
37490     PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT
)); 
37491     PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM
)); 
37492     PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO
)); 
37493     PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO
)); 
37494     PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED
)); 
37495     PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING
)); 
37496     PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED
)); 
37497     PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING
)); 
37498     PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED
)); 
37499     PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING
)); 
37500     PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN
)); 
37501     PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED
)); 
37502     PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
)); 
37503     PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
)); 
37504     PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG
)); 
37505     PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK
)); 
37506     PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP
)); 
37508     // Map renamed classes back to their common name for OOR 
37509     wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData"); 
37510     wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl"); 
37512     SWIG_addvarlink(SWIG_globals
,(char*)"DirDialogDefaultFolderStr",_wrap_DirDialogDefaultFolderStr_get
, _wrap_DirDialogDefaultFolderStr_set
); 
37514         PyDict_SetItemString(d
,"DIRCTRL_DIR_ONLY", SWIG_From_int((int)(wxDIRCTRL_DIR_ONLY
)));  
37517         PyDict_SetItemString(d
,"DIRCTRL_SELECT_FIRST", SWIG_From_int((int)(wxDIRCTRL_SELECT_FIRST
)));  
37520         PyDict_SetItemString(d
,"DIRCTRL_SHOW_FILTERS", SWIG_From_int((int)(wxDIRCTRL_SHOW_FILTERS
)));  
37523         PyDict_SetItemString(d
,"DIRCTRL_3D_INTERNAL", SWIG_From_int((int)(wxDIRCTRL_3D_INTERNAL
)));  
37526         PyDict_SetItemString(d
,"DIRCTRL_EDIT_LABELS", SWIG_From_int((int)(wxDIRCTRL_EDIT_LABELS
)));  
37529         PyDict_SetItemString(d
,"FRAME_EX_CONTEXTHELP", SWIG_From_int((int)(wxFRAME_EX_CONTEXTHELP
)));  
37532         PyDict_SetItemString(d
,"DIALOG_EX_CONTEXTHELP", SWIG_From_int((int)(wxDIALOG_EX_CONTEXTHELP
)));  
37534     PyDict_SetItemString(d
, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP
)); 
37535     PyDict_SetItemString(d
, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP
)); 
37537     wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");