1 /* ---------------------------------------------------------------------------- 
   2  * This file was automatically generated by SWIG (http://www.swig.org). 
   5  * This file is not intended to be easily readable and contains a number of  
   6  * coding conventions designed to improve portability and efficiency. Do not make 
   7  * changes to this file unless you know what you are doing--modify the SWIG  
   8  * interface file instead.  
   9  * ----------------------------------------------------------------------------- */ 
  14 template<class T
> class SwigValueWrapper 
{ 
  17     SwigValueWrapper() : tt(0) { } 
  18     SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { } 
  19     SwigValueWrapper(const T
& t
) : tt(new T(t
)) { } 
  20     ~SwigValueWrapper() { delete tt
; }  
  21     SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt 
= new T(t
); return *this; } 
  22     operator T
&() const { return *tt
; } 
  23     T 
*operator&() { return tt
; } 
  25     SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
); 
  30 #ifndef SWIG_TEMPLATE_DISAMBIGUATOR 
  31 #  if defined(__SUNPRO_CC)  
  32 #    define SWIG_TEMPLATE_DISAMBIGUATOR template 
  34 #    define SWIG_TEMPLATE_DISAMBIGUATOR  
  41 /*********************************************************************** 
  44  *     This file contains generic CAPI SWIG runtime support for pointer 
  47  ************************************************************************/ 
  49 /* This should only be incremented when either the layout of swig_type_info changes, 
  50    or for whatever reason, the runtime changes incompatibly */ 
  51 #define SWIG_RUNTIME_VERSION "1" 
  53 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */ 
  54 #ifdef SWIG_TYPE_TABLE 
  55 #define SWIG_QUOTE_STRING(x) #x 
  56 #define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x) 
  57 #define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE) 
  59 #define SWIG_TYPE_TABLE_NAME 
  65 #if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__)) 
  66 #  define SWIGINLINE inline 
  73   You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for 
  74   creating a static or dynamic library from the swig runtime code. 
  75   In 99.9% of the cases, swig just needs to declare them as 'static'. 
  77   But only do this if is strictly necessary, ie, if you have problems 
  78   with your compiler or so. 
  81 #define SWIGRUNTIME static 
  83 #ifndef SWIGRUNTIMEINLINE 
  84 #define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE 
  91 typedef void *(*swig_converter_func
)(void *); 
  92 typedef struct swig_type_info 
*(*swig_dycast_func
)(void **); 
  94 typedef struct swig_type_info 
{ 
  96   swig_converter_func     converter
; 
  99   swig_dycast_func        dcast
; 
 100   struct swig_type_info  
*next
; 
 101   struct swig_type_info  
*prev
; 
 105   Compare two type names skipping the space characters, therefore 
 106   "char*" == "char *" and "Class<int>" == "Class<int >", etc. 
 108   Return 0 when the two name types are equivalent, as in 
 109   strncmp, but skipping ' '. 
 112 SWIG_TypeNameComp(const char *f1
, const char *l1
, 
 113                   const char *f2
, const char *l2
) { 
 114   for (;(f1 
!= l1
) && (f2 
!= l2
); ++f1
, ++f2
) { 
 115     while ((*f1 
== ' ') && (f1 
!= l1
)) ++f1
; 
 116     while ((*f2 
== ' ') && (f2 
!= l2
)) ++f2
; 
 117     if (*f1 
!= *f2
) return *f1 
- *f2
; 
 119   return (l1 
- f1
) - (l2 
- f2
); 
 123   Check type equivalence in a name list like <name1>|<name2>|... 
 126 SWIG_TypeEquiv(const char *nb
, const char *tb
) { 
 128   const char* te 
= tb 
+ strlen(tb
); 
 130   while (!equiv 
&& *ne
) { 
 131     for (nb 
= ne
; *ne
; ++ne
) { 
 132       if (*ne 
== '|') break; 
 134     equiv 
= SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0; 
 141   Register a type mapping with the type-checking 
 143 SWIGRUNTIME swig_type_info 
* 
 144 SWIG_TypeRegisterTL(swig_type_info 
**tl
, swig_type_info 
*ti
) { 
 145   swig_type_info 
*tc
, *head
, *ret
, *next
; 
 146   /* Check to see if this type has already been registered */ 
 149     /* check simple type equivalence */ 
 150     int typeequiv 
= (strcmp(tc
->name
, ti
->name
) == 0);    
 151     /* check full type equivalence, resolving typedefs */ 
 153       /* only if tc is not a typedef (no '|' on it) */ 
 154       if (tc
->str 
&& ti
->str 
&& !strstr(tc
->str
,"|")) { 
 155         typeequiv 
= SWIG_TypeEquiv(ti
->str
,tc
->str
); 
 159       /* Already exists in the table.  Just add additional types to the list */ 
 160       if (ti
->clientdata
) tc
->clientdata 
= ti
->clientdata
; 
 174   /* Build linked lists */ 
 178   /* Patch up the rest of the links */ 
 185   if (next
) next
->prev 
= head
; 
 194 SWIGRUNTIME swig_type_info 
* 
 195 SWIG_TypeCheck(const char *c
, swig_type_info 
*ty
) { 
 197   if (!ty
) return 0;        /* Void pointer */ 
 198   s 
= ty
->next
;             /* First element always just a name */ 
 200     if (strcmp(s
->name
,c
) == 0) { 
 201       if (s 
== ty
->next
) return s
; 
 202       /* Move s to the top of the linked list */ 
 203       s
->prev
->next 
= s
->next
; 
 205         s
->next
->prev 
= s
->prev
; 
 207       /* Insert s as second element in the list */ 
 209       if (ty
->next
) ty
->next
->prev 
= s
; 
 215   } while (s 
&& (s 
!= ty
->next
)); 
 220   Cast a pointer up an inheritance hierarchy 
 222 SWIGRUNTIMEINLINE 
void * 
 223 SWIG_TypeCast(swig_type_info 
*ty
, void *ptr
) { 
 224   return ((!ty
) || (!ty
->converter
)) ? ptr 
: (*ty
->converter
)(ptr
); 
 228    Dynamic pointer casting. Down an inheritance hierarchy 
 230 SWIGRUNTIME swig_type_info 
* 
 231 SWIG_TypeDynamicCast(swig_type_info 
*ty
, void **ptr
) { 
 232   swig_type_info 
*lastty 
= ty
; 
 233   if (!ty 
|| !ty
->dcast
) return ty
; 
 234   while (ty 
&& (ty
->dcast
)) { 
 235     ty 
= (*ty
->dcast
)(ptr
); 
 242   Return the name associated with this type 
 244 SWIGRUNTIMEINLINE 
const char * 
 245 SWIG_TypeName(const swig_type_info 
*ty
) { 
 250   Return the pretty name associated with this type, 
 251   that is an unmangled type name in a form presentable to the user. 
 253 SWIGRUNTIME 
const char * 
 254 SWIG_TypePrettyName(const swig_type_info 
*type
) { 
 255   /* The "str" field contains the equivalent pretty names of the 
 256      type, separated by vertical-bar characters.  We choose 
 257      to print the last name, as it is often (?) the most 
 259   if (type
->str 
!= NULL
) { 
 260     const char *last_name 
= type
->str
; 
 262     for (s 
= type
->str
; *s
; s
++) 
 263       if (*s 
== '|') last_name 
= s
+1; 
 271   Search for a swig_type_info structure 
 273 SWIGRUNTIME swig_type_info 
* 
 274 SWIG_TypeQueryTL(swig_type_info 
*tl
, const char *name
) { 
 275   swig_type_info 
*ty 
= tl
; 
 277     if (ty
->str 
&& (SWIG_TypeEquiv(ty
->str
,name
))) return ty
; 
 278     if (ty
->name 
&& (strcmp(name
,ty
->name
) == 0)) return ty
; 
 285    Set the clientdata field for a type 
 288 SWIG_TypeClientDataTL(swig_type_info 
*tl
, swig_type_info 
*ti
, void *clientdata
) { 
 289   swig_type_info 
*tc
, *equiv
; 
 290   if (ti
->clientdata
) return; 
 291   /* if (ti->clientdata == clientdata) return; */ 
 292   ti
->clientdata 
= clientdata
; 
 295     if (!equiv
->converter
) { 
 298         if ((strcmp(tc
->name
, equiv
->name
) == 0)) 
 299           SWIG_TypeClientDataTL(tl
,tc
,clientdata
); 
 308    Pack binary data into a string 
 311 SWIG_PackData(char *c
, void *ptr
, size_t sz
) { 
 312   static char hex
[17] = "0123456789abcdef"; 
 313   unsigned char *u 
= (unsigned char *) ptr
; 
 314   const unsigned char *eu 
=  u 
+ sz
; 
 315   register unsigned char uu
; 
 316   for (; u 
!= eu
; ++u
) { 
 318     *(c
++) = hex
[(uu 
& 0xf0) >> 4]; 
 319     *(c
++) = hex
[uu 
& 0xf]; 
 325    Unpack binary data from a string 
 327 SWIGRUNTIME 
const char * 
 328 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) { 
 329   register unsigned char *u 
= (unsigned char *) ptr
; 
 330   register const unsigned char *eu 
=  u 
+ sz
; 
 331   for (; u 
!= eu
; ++u
) { 
 332     register int d 
= *(c
++); 
 333     register unsigned char uu 
= 0; 
 334     if ((d 
>= '0') && (d 
<= '9')) 
 335       uu 
= ((d 
- '0') << 4); 
 336     else if ((d 
>= 'a') && (d 
<= 'f')) 
 337       uu 
= ((d 
- ('a'-10)) << 4); 
 341     if ((d 
>= '0') && (d 
<= '9')) 
 343     else if ((d 
>= 'a') && (d 
<= 'f')) 
 344       uu 
|= (d 
- ('a'-10)); 
 353   This function will propagate the clientdata field of type to any new 
 354   swig_type_info structures that have been added into the list of 
 355   equivalent types.  It is like calling SWIG_TypeClientData(type, 
 356   clientdata) a second time. 
 359 SWIG_PropagateClientDataTL(swig_type_info 
*tl
, swig_type_info 
*type
) { 
 360   swig_type_info 
*equiv 
= type
->next
; 
 362   if (!type
->clientdata
) return; 
 364     if (!equiv
->converter
) { 
 367         if ((strcmp(tc
->name
, equiv
->name
) == 0) && !tc
->clientdata
) 
 368           SWIG_TypeClientDataTL(tl
,tc
, type
->clientdata
); 
 377    Pack 'void *' into a string buffer. 
 380 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) { 
 382   if ((2*sizeof(void *) + 2) > bsz
) return 0; 
 384   r 
= SWIG_PackData(r
,&ptr
,sizeof(void *)); 
 385   if (strlen(name
) + 1 > (bsz 
- (r 
- buff
))) return 0; 
 390 SWIGRUNTIME 
const char * 
 391 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) { 
 393     if (strcmp(c
,"NULL") == 0) { 
 400   return SWIG_UnpackData(++c
,ptr
,sizeof(void *)); 
 404 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) { 
 406   size_t lname 
= (name 
? strlen(name
) : 0); 
 407   if ((2*sz 
+ 2 + lname
) > bsz
) return 0; 
 409   r 
= SWIG_PackData(r
,ptr
,sz
); 
 411     strncpy(r
,name
,lname
+1); 
 418 SWIGRUNTIME 
const char * 
 419 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) { 
 421     if (strcmp(c
,"NULL") == 0) { 
 428   return SWIG_UnpackData(++c
,ptr
,sz
); 
 435 /*********************************************************************** 
 438  *     This file contains generic SWIG runtime support for pointer 
 439  *     type checking as well as a few commonly used macros to control 
 442  * Author : David Beazley (beazley@cs.uchicago.edu) 
 444  * Copyright (c) 1999-2000, The University of Chicago 
 446  * This file may be freely redistributed without license or fee provided 
 447  * this copyright message remains intact. 
 448  ************************************************************************/ 
 451 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__) 
 452 #  if !defined(STATIC_LINKED) 
 453 #    define SWIGEXPORT(a) __declspec(dllexport) a 
 455 #    define SWIGEXPORT(a) a 
 458 #  define SWIGEXPORT(a) a 
 466 /*************************************************************************/ 
 469 /* The static type info list */ 
 471 static swig_type_info 
*swig_type_list 
= 0; 
 472 static swig_type_info 
**swig_type_list_handle 
= &swig_type_list
; 
 475 /* Register a type mapping with the type-checking */ 
 476 static swig_type_info 
* 
 477 SWIG_TypeRegister(swig_type_info 
*ti
) { 
 478   return SWIG_TypeRegisterTL(swig_type_list_handle
, ti
); 
 481 /* Search for a swig_type_info structure */ 
 482 static swig_type_info 
* 
 483 SWIG_TypeQuery(const char *name
) { 
 484   return SWIG_TypeQueryTL(*swig_type_list_handle
, name
); 
 487 /* Set the clientdata field for a type */ 
 489 SWIG_TypeClientData(swig_type_info 
*ti
, void *clientdata
) { 
 490   SWIG_TypeClientDataTL(*swig_type_list_handle
, ti
, clientdata
); 
 493 /* This function will propagate the clientdata field of type to 
 494 * any new swig_type_info structures that have been added into the list 
 495 * of equivalent types.  It is like calling 
 496 * SWIG_TypeClientData(type, clientdata) a second time. 
 499 SWIG_PropagateClientData(swig_type_info 
*type
) { 
 500   SWIG_PropagateClientDataTL(*swig_type_list_handle
, type
); 
 507 /* ----------------------------------------------------------------------------- 
 508  * SWIG API. Portion that goes into the runtime 
 509  * ----------------------------------------------------------------------------- */ 
 515 /* ----------------------------------------------------------------------------- 
 516  * for internal method declarations 
 517  * ----------------------------------------------------------------------------- */ 
 520 #define SWIGINTERN static  
 523 #ifndef SWIGINTERNSHORT 
 525 #define SWIGINTERNSHORT static inline  
 527 #define SWIGINTERNSHORT static  
 528 #endif /* __cplusplus */ 
 533   Exception handling in wrappers 
 535 #define SWIG_fail                goto fail 
 536 #define SWIG_arg_fail(arg)       SWIG_Python_ArgFail(arg) 
 537 #define SWIG_append_errmsg(msg)   SWIG_Python_AddErrMesg(msg,0) 
 538 #define SWIG_preppend_errmsg(msg) SWIG_Python_AddErrMesg(msg,1) 
 539 #define SWIG_type_error(type,obj) SWIG_Python_TypeError(type,obj) 
 540 #define SWIG_null_ref(type)       SWIG_Python_NullRef(type) 
 545 #define SWIG_contract_assert(expr, msg) \ 
 546  if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else 
 548 /* ----------------------------------------------------------------------------- 
 549  * Constant declarations 
 550  * ----------------------------------------------------------------------------- */ 
 553 #define SWIG_PY_INT     1 
 554 #define SWIG_PY_FLOAT   2 
 555 #define SWIG_PY_STRING  3 
 556 #define SWIG_PY_POINTER 4 
 557 #define SWIG_PY_BINARY  5 
 559 /* Constant information structure */ 
 560 typedef struct swig_const_info 
{ 
 566     swig_type_info 
**ptype
; 
 570 /* ----------------------------------------------------------------------------- 
 571  * Alloc. memory flags 
 572  * ----------------------------------------------------------------------------- */ 
 573 #define SWIG_OLDOBJ  1 
 574 #define SWIG_NEWOBJ  SWIG_OLDOBJ + 1 
 575 #define SWIG_PYSTR   SWIG_NEWOBJ + 1 
 582 /*********************************************************************** 
 585  *     This file contains the runtime support for Python modules 
 586  *     and includes code for managing global variables and pointer 
 589  * Author : David Beazley (beazley@cs.uchicago.edu) 
 590  ************************************************************************/ 
 592 /* Common SWIG API */ 
 593 #define SWIG_ConvertPtr(obj, pp, type, flags)    SWIG_Python_ConvertPtr(obj, pp, type, flags) 
 594 #define SWIG_NewPointerObj(p, type, flags)       SWIG_Python_NewPointerObj(p, type, flags) 
 595 #define SWIG_MustGetPtr(p, type, argnum, flags)  SWIG_Python_MustGetPtr(p, type, argnum, flags) 
 598 /* Python-specific SWIG API */ 
 599 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags)   SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags) 
 600 #define SWIG_NewPackedObj(ptr, sz, type)              SWIG_Python_NewPackedObj(ptr, sz, type) 
 603 /* ----------------------------------------------------------------------------- 
 604  * Pointer declarations 
 605  * ----------------------------------------------------------------------------- */ 
 607   Use SWIG_NO_COBJECT_TYPES to force the use of strings to represent 
 608   C/C++ pointers in the python side. Very useful for debugging, but 
 611 #if !defined(SWIG_NO_COBJECT_TYPES) && !defined(SWIG_COBJECT_TYPES) 
 612 #  define SWIG_COBJECT_TYPES 
 615 /* Flags for pointer conversion */ 
 616 #define SWIG_POINTER_EXCEPTION     0x1 
 617 #define SWIG_POINTER_DISOWN        0x2 
 624 /* ----------------------------------------------------------------------------- 
 625  * Create a new pointer string  
 626  * ----------------------------------------------------------------------------- */ 
 628 #ifndef SWIG_BUFFER_SIZE 
 629 #define SWIG_BUFFER_SIZE 1024 
 632 #if defined(SWIG_COBJECT_TYPES) 
 633 #if !defined(SWIG_COBJECT_PYTHON) 
 634 /* ----------------------------------------------------------------------------- 
 635  * Implements a simple Swig Object type, and use it instead of PyCObject 
 636  * ----------------------------------------------------------------------------- */ 
 644 /* Declarations for objects of type PySwigObject */ 
 647 PySwigObject_print(PySwigObject 
*v
, FILE *fp
, int flags
) 
 649   char result
[SWIG_BUFFER_SIZE
]; 
 650   if (SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
))) { 
 651     fputs("<Swig Object at ", fp
); fputs(result
, fp
); fputs(">", fp
); 
 658 SWIGRUNTIME PyObject 
* 
 659 PySwigObject_repr(PySwigObject 
*v
) 
 661   char result
[SWIG_BUFFER_SIZE
]; 
 662   return SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
)) ? 
 663     PyString_FromFormat("<Swig Object at %s>", result
) : 0; 
 666 SWIGRUNTIME PyObject 
* 
 667 PySwigObject_str(PySwigObject 
*v
) 
 669   char result
[SWIG_BUFFER_SIZE
]; 
 670   return SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
)) ? 
 671     PyString_FromString(result
) : 0; 
 674 SWIGRUNTIME PyObject 
* 
 675 PySwigObject_long(PySwigObject 
*v
) 
 677   return PyLong_FromUnsignedLong((unsigned long) v
->ptr
); 
 680 SWIGRUNTIME PyObject 
* 
 681 PySwigObject_oct(PySwigObject 
*v
) 
 684   unsigned long x 
= (unsigned long)v
->ptr
; 
 688     PyOS_snprintf(buf
, sizeof(buf
), "0%lo", x
); 
 689   return PyString_FromString(buf
); 
 692 SWIGRUNTIME PyObject 
* 
 693 PySwigObject_hex(PySwigObject 
*v
) 
 696   PyOS_snprintf(buf
, sizeof(buf
), "0x%lx", (unsigned long)v
->ptr
); 
 697   return PyString_FromString(buf
); 
 701 PySwigObject_compare(PySwigObject 
*v
, PySwigObject 
*w
) 
 703   int c 
= strcmp(v
->desc
, w
->desc
); 
 709     return (i 
< j
) ? -1 : (i 
> j
) ? 1 : 0; 
 714 PySwigObject_dealloc(PySwigObject 
*self
) 
 719 SWIGRUNTIME PyTypeObject
* 
 720 PySwigObject_GetType() { 
 721   static char PySwigObject_Type__doc__
[] =  
 722     "Swig object carries a C/C++ instance pointer"; 
 724   static PyNumberMethods PySwigObject_as_number 
= { 
 725     (binaryfunc
)0, /*nb_add*/ 
 726     (binaryfunc
)0, /*nb_subtract*/ 
 727     (binaryfunc
)0, /*nb_multiply*/ 
 728     (binaryfunc
)0, /*nb_divide*/ 
 729     (binaryfunc
)0, /*nb_remainder*/ 
 730     (binaryfunc
)0, /*nb_divmod*/ 
 731     (ternaryfunc
)0,/*nb_power*/ 
 732     (unaryfunc
)0,  /*nb_negative*/ 
 733     (unaryfunc
)0,  /*nb_positive*/ 
 734     (unaryfunc
)0,  /*nb_absolute*/ 
 735     (inquiry
)0,    /*nb_nonzero*/ 
 742     (coercion
)0,   /*nb_coerce*/ 
 743     (unaryfunc
)PySwigObject_long
, /*nb_int*/ 
 744     (unaryfunc
)PySwigObject_long
, /*nb_long*/ 
 745     (unaryfunc
)0,                 /*nb_float*/ 
 746     (unaryfunc
)PySwigObject_oct
,  /*nb_oct*/ 
 747     (unaryfunc
)PySwigObject_hex
,  /*nb_hex*/ 
 748 #if PY_VERSION_HEX >= 0x02000000 
 749     0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */  
 753   static int type_init 
= 0;   
 754   static PyTypeObject PySwigObject_Type
; 
 758     PyObject_HEAD_INIT(&PyType_Type
) 
 760     "PySwigObject",                     /*tp_name*/ 
 761     sizeof(PySwigObject
),               /*tp_basicsize*/ 
 764     (destructor
)PySwigObject_dealloc
,   /*tp_dealloc*/ 
 765     (printfunc
)PySwigObject_print
,      /*tp_print*/ 
 766     (getattrfunc
)0,                     /*tp_getattr*/ 
 767     (setattrfunc
)0,                     /*tp_setattr*/ 
 768     (cmpfunc
)PySwigObject_compare
,      /*tp_compare*/ 
 769     (reprfunc
)PySwigObject_repr
,        /*tp_repr*/ 
 770     &PySwigObject_as_number
,            /*tp_as_number*/ 
 771     0,                                  /*tp_as_sequence*/ 
 773     (hashfunc
)0,                        /*tp_hash*/ 
 774     (ternaryfunc
)0,                     /*tp_call*/ 
 775     (reprfunc
)PySwigObject_str
,         /*tp_str*/ 
 776     /* Space for future expansion */ 
 778     PySwigObject_Type__doc__
,           /* Documentation string */ 
 779 #if PY_VERSION_HEX >= 0x02000000 
 783 #if PY_VERSION_HEX >= 0x02010000 
 784     0,                                  /* tp_richcompare */ 
 785     0,                                  /* tp_weaklistoffset */ 
 787 #if PY_VERSION_HEX >= 0x02020000 
 788     0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */ 
 790 #if PY_VERSION_HEX >= 0x02030000 
 794     0,0,0,0                             /* tp_alloc -> tp_next */ 
 798     PySwigObject_Type 
= tmp
; 
 802   return &PySwigObject_Type
; 
 805 SWIGRUNTIME PyObject 
* 
 806 PySwigObject_FromVoidPtrAndDesc(void *ptr
, const char *desc
) 
 808   PySwigObject 
*self 
= PyObject_NEW(PySwigObject
, PySwigObject_GetType()); 
 809   if (self 
== NULL
) return NULL
; 
 812   return (PyObject 
*)self
; 
 815 SWIGRUNTIMEINLINE 
void * 
 816 PySwigObject_AsVoidPtr(PyObject 
*self
) 
 818   return ((PySwigObject 
*)self
)->ptr
; 
 821 SWIGRUNTIMEINLINE 
const char * 
 822 PySwigObject_GetDesc(PyObject 
*self
) 
 824   return ((PySwigObject 
*)self
)->desc
; 
 827 SWIGRUNTIMEINLINE 
int 
 828 PySwigObject_Check(PyObject 
*op
) { 
 829   return ((op
)->ob_type 
== PySwigObject_GetType())  
 830     || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0); 
 833 /* ----------------------------------------------------------------------------- 
 834  * Implements a simple Swig Packed type, and use it instead of string 
 835  * ----------------------------------------------------------------------------- */ 
 845 PySwigPacked_print(PySwigPacked 
*v
, FILE *fp
, int flags
) 
 847   char result
[SWIG_BUFFER_SIZE
]; 
 848   fputs("<Swig Packed ", fp
);  
 849   if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) { 
 858 SWIGRUNTIME PyObject 
* 
 859 PySwigPacked_repr(PySwigPacked 
*v
) 
 861   char result
[SWIG_BUFFER_SIZE
]; 
 862   if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) { 
 863     return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->desc
); 
 865     return PyString_FromFormat("<Swig Packed %s>", v
->desc
); 
 869 SWIGRUNTIME PyObject 
* 
 870 PySwigPacked_str(PySwigPacked 
*v
) 
 872   char result
[SWIG_BUFFER_SIZE
]; 
 873   if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){ 
 874     return PyString_FromFormat("%s%s", result
, v
->desc
); 
 876     return PyString_FromFormat("%s", v
->desc
); 
 881 PySwigPacked_compare(PySwigPacked 
*v
, PySwigPacked 
*w
) 
 883   int c 
= strcmp(v
->desc
, w
->desc
); 
 889     int s 
= (i 
< j
) ? -1 : (i 
> j
) ? 1 : 0; 
 890     return s 
? s 
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
); 
 895 PySwigPacked_dealloc(PySwigPacked 
*self
) 
 901 SWIGRUNTIME PyTypeObject
* 
 902 PySwigPacked_GetType() { 
 903   static char PySwigPacked_Type__doc__
[] =  
 904     "Swig object carries a C/C++ instance pointer"; 
 905   static int type_init 
= 0; 
 907   static PyTypeObject PySwigPacked_Type
; 
 910     PyObject_HEAD_INIT(&PyType_Type
) 
 912     "PySwigPacked",                     /*tp_name*/ 
 913     sizeof(PySwigPacked
),               /*tp_basicsize*/ 
 916     (destructor
)PySwigPacked_dealloc
,   /*tp_dealloc*/ 
 917     (printfunc
)PySwigPacked_print
,      /*tp_print*/ 
 918     (getattrfunc
)0,                     /*tp_getattr*/ 
 919     (setattrfunc
)0,                     /*tp_setattr*/ 
 920     (cmpfunc
)PySwigPacked_compare
,      /*tp_compare*/ 
 921     (reprfunc
)PySwigPacked_repr
,        /*tp_repr*/ 
 923     0,                                  /*tp_as_sequence*/ 
 925     (hashfunc
)0,                        /*tp_hash*/ 
 926     (ternaryfunc
)0,                     /*tp_call*/ 
 927     (reprfunc
)PySwigPacked_str
,         /*tp_str*/ 
 928     /* Space for future expansion */ 
 930     PySwigPacked_Type__doc__
,           /* Documentation string */ 
 931 #if PY_VERSION_HEX >= 0x02000000 
 935 #if PY_VERSION_HEX >= 0x02010000 
 936     0,                                  /* tp_richcompare */ 
 937     0,                                  /* tp_weaklistoffset */ 
 939 #if PY_VERSION_HEX >= 0x02020000          
 940     0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */ 
 942 #if PY_VERSION_HEX >= 0x02030000 
 946     0,0,0,0                             /* tp_alloc -> tp_next */ 
 950     PySwigPacked_Type 
= tmp
; 
 956   return &PySwigPacked_Type
; 
 959 SWIGRUNTIME PyObject 
* 
 960 PySwigPacked_FromDataAndDesc(void *ptr
, size_t size
, const char *desc
) 
 962   PySwigPacked 
*self 
= PyObject_NEW(PySwigPacked
, PySwigPacked_GetType()); 
 966     void *pack 
= malloc(size
); 
 967     memcpy(pack
, ptr
, size
); 
 971     return (PyObject 
*) self
; 
 975 SWIGRUNTIMEINLINE 
const char * 
 976 PySwigPacked_UnpackData(PyObject 
*obj
, void *ptr
, size_t size
) 
 978   PySwigPacked 
*self 
= (PySwigPacked 
*)obj
; 
 979   if (self
->size 
!= size
) return 0; 
 980   memcpy(ptr
, self
->pack
, size
); 
 984 SWIGRUNTIMEINLINE 
const char * 
 985 PySwigPacked_GetDesc(PyObject 
*self
) 
 987   return ((PySwigPacked 
*)self
)->desc
; 
 990 SWIGRUNTIMEINLINE 
int 
 991 PySwigPacked_Check(PyObject 
*op
) { 
 992   return ((op
)->ob_type 
== PySwigPacked_GetType())  
 993     || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0); 
 997 /* ----------------------------------------------------------------------------- 
 998  * Use the old Python PyCObject instead of PySwigObject 
 999  * ----------------------------------------------------------------------------- */ 
1001 #define PySwigObject_GetDesc(obj)                  PyCObject_GetDesc(obj) 
1002 #define PySwigObject_Check(obj)            PyCObject_Check(obj) 
1003 #define PySwigObject_AsVoidPtr(obj)        PyCObject_AsVoidPtr(obj) 
1004 #define PySwigObject_FromVoidPtrAndDesc(p, d)  PyCObject_FromVoidPtrAndDesc(p, d, NULL) 
1010 /* ----------------------------------------------------------------------------- 
1011  * errors manipulation 
1012  * ----------------------------------------------------------------------------- */ 
1015 SWIG_Python_TypeError(const char *type
, PyObject 
*obj
) 
1018 #if defined(SWIG_COBJECT_TYPES) 
1019     if (PySwigObject_Check(obj
)) { 
1020       const char *otype 
= (const char *) PySwigObject_GetDesc(obj
); 
1022         PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received", 
1029       const char *otype 
= (obj 
? obj
->ob_type
->tp_name 
: 0);  
1031         PyObject 
*str 
= PyObject_Str(obj
); 
1032         const char *cstr 
= str 
? PyString_AsString(str
) : 0; 
1034           PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received", 
1037           PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received", 
1045     PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
); 
1047     PyErr_Format(PyExc_TypeError
, "unexpected type is received"); 
1051 SWIGRUNTIMEINLINE 
void 
1052 SWIG_Python_NullRef(const char *type
) 
1055     PyErr_Format(PyExc_TypeError
, "null reference of type '%s' was received",type
); 
1057     PyErr_Format(PyExc_TypeError
, "null reference was received"); 
1062 SWIG_Python_AddErrMesg(const char* mesg
, int infront
) 
1064   if (PyErr_Occurred()) { 
1066     PyObject 
*value 
= 0; 
1067     PyObject 
*traceback 
= 0; 
1068     PyErr_Fetch(&type
, &value
, &traceback
); 
1070       PyObject 
*old_str 
= PyObject_Str(value
); 
1074         PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
)); 
1076         PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
); 
1087 SWIG_Python_ArgFail(int argnum
) 
1089   if (PyErr_Occurred()) { 
1090     /* add information about failing argument */ 
1092     sprintf(mesg
, "argument number %d:", argnum
); 
1093     return SWIG_Python_AddErrMesg(mesg
, 1); 
1100 /* ----------------------------------------------------------------------------- 
1101  * pointers/data manipulation 
1102  * ----------------------------------------------------------------------------- */ 
1104 /* Convert a pointer value */ 
1106 SWIG_Python_ConvertPtr(PyObject 
*obj
, void **ptr
, swig_type_info 
*ty
, int flags
) { 
1109   static PyObject 
*SWIG_this 
= 0; 
1111   PyObject  
*pyobj 
= 0; 
1115   if (obj 
== Py_None
) { 
1120 #ifdef SWIG_COBJECT_TYPES 
1121   if (!(PySwigObject_Check(obj
))) { 
1123       SWIG_this 
= PyString_FromString("this"); 
1125     obj 
= PyObject_GetAttr(obj
,SWIG_this
); 
1127     if (!obj
) goto type_error
; 
1128     if (!PySwigObject_Check(obj
)) { 
1133   vptr 
= PySwigObject_AsVoidPtr(obj
); 
1134   c 
= (const char *) PySwigObject_GetDesc(obj
); 
1135   if (newref
) { Py_DECREF(obj
); } 
1138   if (!(PyString_Check(obj
))) { 
1140       SWIG_this 
= PyString_FromString("this"); 
1142     obj 
= PyObject_GetAttr(obj
,SWIG_this
); 
1144     if (!obj
) goto type_error
; 
1145     if (!PyString_Check(obj
)) { 
1150   c 
= PyString_AS_STRING(obj
); 
1151   /* Pointer values must start with leading underscore */ 
1152   c 
= SWIG_UnpackVoidPtr(c
, &vptr
, ty
->name
); 
1153   if (newref
) { Py_DECREF(obj
); } 
1154   if (!c
) goto type_error
; 
1160     tc 
= SWIG_TypeCheck(c
,ty
); 
1161     if (!tc
) goto type_error
; 
1162     *ptr 
= SWIG_TypeCast(tc
,vptr
); 
1167   if ((pyobj
) && (flags 
& SWIG_POINTER_DISOWN
)) { 
1168     PyObject_SetAttrString(pyobj
,(char*)"thisown",Py_False
); 
1174   if (pyobj 
&& !obj
) {     
1176     if (PyCFunction_Check(obj
)) { 
1177       /* here we get the method pointer for callbacks */ 
1178       char *doc 
= (((PyCFunctionObject 
*)obj
) -> m_ml 
-> ml_doc
); 
1179       c 
= doc 
? strstr(doc
, "swig_ptr: ") : 0; 
1181         c 
= SWIG_UnpackVoidPtr(c 
+ 10, &vptr
, ty
->name
); 
1182         if (!c
) goto type_error
; 
1187   if (flags 
& SWIG_POINTER_EXCEPTION
) { 
1189       SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
); 
1191       SWIG_Python_TypeError("C/C++ pointer", obj
); 
1197 /* Convert a pointer value, signal an exception on a type mismatch */ 
1199 SWIG_Python_MustGetPtr(PyObject 
*obj
, swig_type_info 
*ty
, int argnum
, int flags
) { 
1201   if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) { 
1203     if (flags 
& SWIG_POINTER_EXCEPTION
) { 
1204       SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
); 
1205       SWIG_Python_ArgFail(argnum
); 
1211 /* Convert a packed value value */ 
1213 SWIG_Python_ConvertPacked(PyObject 
*obj
, void *ptr
, size_t sz
, swig_type_info 
*ty
, int flags
) { 
1217 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON) 
1218   c 
= PySwigPacked_UnpackData(obj
, ptr
, sz
); 
1220   if ((!obj
) || (!PyString_Check(obj
))) goto type_error
; 
1221   c 
= PyString_AS_STRING(obj
); 
1222   /* Pointer values must start with leading underscore */ 
1223   c 
= SWIG_UnpackDataName(c
, ptr
, sz
, ty
->name
); 
1225   if (!c
) goto type_error
; 
1227     tc 
= SWIG_TypeCheck(c
,ty
); 
1228     if (!tc
) goto type_error
; 
1234   if (flags 
& SWIG_POINTER_EXCEPTION
) { 
1236       SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
); 
1238       SWIG_Python_TypeError("C/C++ packed data", obj
); 
1244 /* Create a new array object */ 
1245 SWIGRUNTIME PyObject 
* 
1246 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info 
*type
, int own
) { 
1252 #ifdef SWIG_COBJECT_TYPES 
1253   robj 
= PySwigObject_FromVoidPtrAndDesc((void *) ptr
, (char *)type
->name
); 
1256     char result
[SWIG_BUFFER_SIZE
]; 
1257     robj 
= SWIG_PackVoidPtr(result
, ptr
, type
->name
, sizeof(result
)) ? 
1258       PyString_FromString(result
) : 0; 
1261   if (!robj 
|| (robj 
== Py_None
)) return robj
; 
1262   if (type
->clientdata
) { 
1264     PyObject 
*args 
= Py_BuildValue((char*)"(O)", robj
); 
1266     inst 
= PyObject_CallObject((PyObject 
*) type
->clientdata
, args
); 
1270         PyObject_SetAttrString(inst
,(char*)"thisown",Py_True
); 
1278 SWIGRUNTIME PyObject 
* 
1279 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info 
*type
) { 
1285 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON) 
1286   robj 
= PySwigPacked_FromDataAndDesc((void *) ptr
, sz
, (char *)type
->name
); 
1289     char result
[SWIG_BUFFER_SIZE
]; 
1290     robj 
= SWIG_PackDataName(result
, ptr
, sz
, type
->name
, sizeof(result
)) ? 
1291       PyString_FromString(result
) : 0; 
1297 /* -----------------------------------------------------------------------------* 
1299  * -----------------------------------------------------------------------------*/ 
1301 #ifdef SWIG_LINK_RUNTIME 
1302 void *SWIG_ReturnGlobalTypeList(void *); 
1305 SWIGRUNTIME swig_type_info 
** 
1306 SWIG_Python_GetTypeListHandle() { 
1307   static void *type_pointer 
= (void *)0; 
1308   /* first check if module already created */ 
1309   if (!type_pointer
) { 
1310 #ifdef SWIG_LINK_RUNTIME 
1311     type_pointer 
= SWIG_ReturnGlobalTypeList((void *)0); 
1313     type_pointer 
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
, 
1314                                     (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
); 
1315     if (PyErr_Occurred()) { 
1317       type_pointer 
= (void *)0; 
1321   return (swig_type_info 
**) type_pointer
; 
1325   Search for a swig_type_info structure 
1327 SWIGRUNTIMEINLINE swig_type_info 
* 
1328 SWIG_Python_GetTypeList() { 
1329   swig_type_info 
**tlh 
= SWIG_Python_GetTypeListHandle(); 
1330   return tlh 
? *tlh 
: (swig_type_info
*)0; 
1333 #define SWIG_Runtime_GetTypeList SWIG_Python_GetTypeList  
1340 /* -------- TYPES TABLE (BEGIN) -------- */ 
1342 #define  SWIGTYPE_p_wxPostScriptDC swig_types[0]  
1343 #define  SWIGTYPE_p_wxBrush swig_types[1]  
1344 #define  SWIGTYPE_p_wxColour swig_types[2]  
1345 #define  SWIGTYPE_p_wxDC swig_types[3]  
1346 #define  SWIGTYPE_p_wxMirrorDC swig_types[4]  
1347 #define  SWIGTYPE_p_form_ops_t swig_types[5]  
1348 #define  SWIGTYPE_p_wxRendererVersion swig_types[6]  
1349 #define  SWIGTYPE_p_wxDuplexMode swig_types[7]  
1350 #define  SWIGTYPE_p_wxPyFontEnumerator swig_types[8]  
1351 #define  SWIGTYPE_p_char swig_types[9]  
1352 #define  SWIGTYPE_p_wxIconLocation swig_types[10]  
1353 #define  SWIGTYPE_p_wxImage swig_types[11]  
1354 #define  SWIGTYPE_p_wxMetaFileDC swig_types[12]  
1355 #define  SWIGTYPE_p_wxMask swig_types[13]  
1356 #define  SWIGTYPE_p_wxSize swig_types[14]  
1357 #define  SWIGTYPE_p_wxFont swig_types[15]  
1358 #define  SWIGTYPE_p_wxWindow swig_types[16]  
1359 #define  SWIGTYPE_p_double swig_types[17]  
1360 #define  SWIGTYPE_p_wxMemoryDC swig_types[18]  
1361 #define  SWIGTYPE_p_wxFontMapper swig_types[19]  
1362 #define  SWIGTYPE_p_wxEffects swig_types[20]  
1363 #define  SWIGTYPE_p_wxNativeEncodingInfo swig_types[21]  
1364 #define  SWIGTYPE_p_wxPalette swig_types[22]  
1365 #define  SWIGTYPE_p_wxBitmap swig_types[23]  
1366 #define  SWIGTYPE_p_wxObject swig_types[24]  
1367 #define  SWIGTYPE_p_wxRegionIterator swig_types[25]  
1368 #define  SWIGTYPE_p_wxRect swig_types[26]  
1369 #define  SWIGTYPE_p_wxPaperSize swig_types[27]  
1370 #define  SWIGTYPE_p_wxString swig_types[28]  
1371 #define  SWIGTYPE_unsigned_int swig_types[29]  
1372 #define  SWIGTYPE_p_unsigned_int swig_types[30]  
1373 #define  SWIGTYPE_p_wxPrinterDC swig_types[31]  
1374 #define  SWIGTYPE_p_wxIconBundle swig_types[32]  
1375 #define  SWIGTYPE_p_wxPoint swig_types[33]  
1376 #define  SWIGTYPE_p_wxDash swig_types[34]  
1377 #define  SWIGTYPE_p_wxScreenDC swig_types[35]  
1378 #define  SWIGTYPE_p_wxCursor swig_types[36]  
1379 #define  SWIGTYPE_p_wxClientDC swig_types[37]  
1380 #define  SWIGTYPE_p_wxBufferedDC swig_types[38]  
1381 #define  SWIGTYPE_p_wxImageList swig_types[39]  
1382 #define  SWIGTYPE_p_unsigned_char swig_types[40]  
1383 #define  SWIGTYPE_p_wxGDIObject swig_types[41]  
1384 #define  SWIGTYPE_p_wxIcon swig_types[42]  
1385 #define  SWIGTYPE_p_wxLocale swig_types[43]  
1386 #define  SWIGTYPE_ptrdiff_t swig_types[44]  
1387 #define  SWIGTYPE_std__ptrdiff_t swig_types[45]  
1388 #define  SWIGTYPE_p_wxRegion swig_types[46]  
1389 #define  SWIGTYPE_p_wxLanguageInfo swig_types[47]  
1390 #define  SWIGTYPE_p_wxWindowDC swig_types[48]  
1391 #define  SWIGTYPE_p_wxPrintData swig_types[49]  
1392 #define  SWIGTYPE_p_wxBrushList swig_types[50]  
1393 #define  SWIGTYPE_p_wxFontList swig_types[51]  
1394 #define  SWIGTYPE_p_wxPen swig_types[52]  
1395 #define  SWIGTYPE_p_wxBufferedPaintDC swig_types[53]  
1396 #define  SWIGTYPE_p_wxPaintDC swig_types[54]  
1397 #define  SWIGTYPE_p_wxPenList swig_types[55]  
1398 #define  SWIGTYPE_p_int swig_types[56]  
1399 #define  SWIGTYPE_p_wxMetaFile swig_types[57]  
1400 #define  SWIGTYPE_p_wxRendererNative swig_types[58]  
1401 #define  SWIGTYPE_p_unsigned_long swig_types[59]  
1402 #define  SWIGTYPE_p_wxNativeFontInfo swig_types[60]  
1403 #define  SWIGTYPE_p_wxEncodingConverter swig_types[61]  
1404 #define  SWIGTYPE_p_wxSplitterRenderParams swig_types[62]  
1405 #define  SWIGTYPE_p_wxColourDatabase swig_types[63]  
1406 static swig_type_info 
*swig_types
[65]; 
1408 /* -------- TYPES TABLE (END) -------- */ 
1411 /*----------------------------------------------- 
1412               @(target):= _gdi_.so 
1413   ------------------------------------------------*/ 
1414 #define SWIG_init    init_gdi_ 
1416 #define SWIG_name    "_gdi_" 
1418 #include "wx/wxPython/wxPython.h" 
1419 #include "wx/wxPython/pyclasses.h" 
1422  static const wxString 
wxPyEmptyString(wxEmptyString
);  
1428   SWIG_CheckLongInRange(long value
, long min_value
, long max_value
, 
1431   if (value 
< min_value
) { 
1433       PyErr_Format(PyExc_OverflowError
,  
1434                    "value %ld is less than '%s' minimum %ld",  
1435                    value
, errmsg
, min_value
); 
1438   } else if (value 
> max_value
) { 
1440       PyErr_Format(PyExc_OverflowError
, 
1441                    "value %ld is greater than '%s' maximum %ld",  
1442                    value
, errmsg
, max_value
); 
1451 SWIG_AsVal_long(PyObject
* obj
, long* val
) 
1453     if (PyNumber_Check(obj
)) { 
1454         if (val
) *val 
= PyInt_AsLong(obj
); 
1458         SWIG_type_error("number", obj
); 
1464 #if INT_MAX != LONG_MAX 
1466   SWIG_AsVal_int(PyObject 
*obj
, int *val
) 
1468   const char* errmsg 
= val 
? "int" : (char*)0; 
1470   if (SWIG_AsVal_long(obj
, &v
)) { 
1471     if (SWIG_CheckLongInRange(v
, INT_MIN
,INT_MAX
, errmsg
)) { 
1472       if (val
) *val 
= (int)(v
); 
1481     SWIG_type_error(errmsg
, obj
); 
1487   SWIG_AsVal_int(PyObject 
*obj
, int *val
) 
1489   return SWIG_AsVal_long(obj
,(long*)val
); 
1495   SWIG_AsVal_bool(PyObject 
*obj
, bool *val
) 
1497   if (obj 
== Py_True
) { 
1498     if (val
) *val 
= true; 
1501   if (obj 
== Py_False
) { 
1502     if (val
) *val 
= false; 
1506   if (SWIG_AsVal_int(obj
, &res
)) {     
1507     if (val
) *val 
= res 
? true : false; 
1513     SWIG_type_error("bool", obj
); 
1519 SWIGINTERNSHORT 
bool 
1520 SWIG_As_bool(PyObject
* obj
) 
1523   if (!SWIG_AsVal_bool(obj
, &v
)) { 
1525       this is needed to make valgrind/purify happier.  
1527     memset((void*)&v
, 0, sizeof(bool)); 
1534 SWIG_Check_bool(PyObject
* obj
) 
1536   return SWIG_AsVal_bool(obj
, (bool*)0); 
1541 SWIG_AsVal_unsigned_SS_long(PyObject
* obj
, unsigned long* val
) 
1544     if (SWIG_AsVal_long(obj
, &v
) && v 
< 0) { 
1545         SWIG_type_error("unsigned number", obj
); 
1548         *val 
= (unsigned long)v
; 
1554   SWIG_CheckUnsignedLongInRange(unsigned long value
, 
1555                                 unsigned long max_value
, 
1558   if (value 
> max_value
) { 
1560       PyErr_Format(PyExc_OverflowError
, 
1561                    "value %lu is greater than '%s' minimum %lu", 
1562                    value
, errmsg
, max_value
); 
1571   SWIG_AsVal_unsigned_SS_char(PyObject 
*obj
, unsigned char *val
) 
1573   const char* errmsg 
= val 
? "unsigned char" : (char*)0; 
1575   if (SWIG_AsVal_unsigned_SS_long(obj
, &v
)) { 
1576     if (SWIG_CheckUnsignedLongInRange(v
, UCHAR_MAX
,errmsg
)) { 
1577       if (val
) *val 
= (unsigned char)(v
); 
1586     SWIG_type_error(errmsg
, obj
); 
1592 SWIGINTERNSHORT 
unsigned char 
1593 SWIG_As_unsigned_SS_char(PyObject
* obj
) 
1596   if (!SWIG_AsVal_unsigned_SS_char(obj
, &v
)) { 
1598       this is needed to make valgrind/purify happier.  
1600     memset((void*)&v
, 0, sizeof(unsigned char)); 
1607 SWIG_Check_unsigned_SS_char(PyObject
* obj
) 
1609   return SWIG_AsVal_unsigned_SS_char(obj
, (unsigned char*)0); 
1613 SWIGINTERNSHORT 
unsigned long 
1614 SWIG_As_unsigned_SS_long(PyObject
* obj
) 
1617   if (!SWIG_AsVal_unsigned_SS_long(obj
, &v
)) { 
1619       this is needed to make valgrind/purify happier.  
1621     memset((void*)&v
, 0, sizeof(unsigned long)); 
1628 SWIG_Check_unsigned_SS_long(PyObject
* obj
) 
1630   return SWIG_AsVal_unsigned_SS_long(obj
, (unsigned long*)0); 
1634   /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/ 
1635 #define SWIG_From_unsigned_SS_char PyInt_FromLong 
1639   /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/ 
1640 #define SWIG_From_long PyInt_FromLong 
1643 static PyObject 
*wxColour_Get(wxColour 
*self
){ 
1644             PyObject
* rv 
= PyTuple_New(3); 
1650                 green 
= self
->Green(); 
1651                 blue 
=  self
->Blue(); 
1653             PyTuple_SetItem(rv
, 0, PyInt_FromLong(red
)); 
1654             PyTuple_SetItem(rv
, 1, PyInt_FromLong(green
)); 
1655             PyTuple_SetItem(rv
, 2, PyInt_FromLong(blue
)); 
1658 static unsigned long wxColour_GetRGB(wxColour 
*self
){ 
1659             return self
->Red() | (self
->Green() << 8) | (self
->Blue() << 16); 
1662 SWIGINTERNSHORT PyObject
*  
1663   SWIG_From_unsigned_SS_long(unsigned long value
) 
1665   return (value 
> LONG_MAX
) ? 
1666     PyLong_FromUnsignedLong(value
)  
1667     : PyInt_FromLong((long)(value
));  
1672 SWIG_As_int(PyObject
* obj
) 
1675   if (!SWIG_AsVal_int(obj
, &v
)) { 
1677       this is needed to make valgrind/purify happier.  
1679     memset((void*)&v
, 0, sizeof(int)); 
1686 SWIG_Check_int(PyObject
* obj
) 
1688   return SWIG_AsVal_int(obj
, (int*)0); 
1692   /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/ 
1693 #define SWIG_From_int PyInt_FromLong 
1697   static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) { 
1703     } else if (target 
== Py_None
) {   
1707         if (!PyTuple_Check(target
)) { 
1709             target 
= PyTuple_New(1); 
1710             PyTuple_SetItem(target
, 0, o2
); 
1712         o3 
= PyTuple_New(1);             
1713         PyTuple_SetItem(o3
, 0, o
);       
1716         target 
= PySequence_Concat(o2
, o3
);  
1724 static PyObject 
*wxPen_GetDashes(wxPen 
*self
){ 
1726             int count 
= self
->GetDashes(&dashes
); 
1727             wxPyBlock_t blocked 
= wxPyBeginBlockThreads(); 
1728             PyObject
* retval 
= PyList_New(0); 
1729             for (int x
=0; x
<count
; x
++) { 
1730                 PyObject
* pyint 
= PyInt_FromLong(dashes
[x
]); 
1731                 PyList_Append(retval
, pyint
); 
1734             wxPyEndBlockThreads(blocked
); 
1737 static void wxPen__SetDashes(wxPen 
*self
,PyObject 
*_self
,PyObject 
*pyDashes
){ 
1738             wxPyBlock_t blocked 
= wxPyBeginBlockThreads(); 
1739             int size 
= PyList_Size(pyDashes
); 
1740             wxDash
* dashes 
= (wxDash
*)byte_LIST_helper(pyDashes
); 
1742             // black magic warning!  The array of wxDashes needs to exist as 
1743             // long as the pen does because wxPen does not copy the array.  So 
1744             // stick a copy in a Python string object and attach it to _self, 
1745             // and then call SetDashes with a pointer to that array.  Then 
1746             // when the Python pen object is destroyed the array will be 
1748             PyObject
* strDashes 
= PyString_FromStringAndSize((char*)dashes
, size
*sizeof(wxDash
)); 
1749             PyObject_SetAttrString(_self
, "_dashes", strDashes
); 
1751             self
->SetDashes(size
, (wxDash
*)PyString_AS_STRING(strDashes
)); 
1753             Py_DECREF(strDashes
); 
1754             wxPyEndBlockThreads(blocked
); 
1756 static bool wxPen___eq__(wxPen 
*self
,wxPen 
const *other
){ return other 
? (*self 
== *other
) : false; } 
1757 static bool wxPen___ne__(wxPen 
*self
,wxPen 
const *other
){ return other 
? (*self 
!= *other
) : true;  } 
1759 #include <wx/image.h> 
1761     static char** ConvertListOfStrings(PyObject
* listOfStrings
) { 
1762         char**    cArray 
= NULL
; 
1765         if (!PyList_Check(listOfStrings
)) { 
1766             PyErr_SetString(PyExc_TypeError
, "Expected a list of strings."); 
1769         count 
= PyList_Size(listOfStrings
); 
1770         cArray 
= new char*[count
]; 
1772         for(int x
=0; x
<count
; x
++) { 
1773             // TODO: Need some validation and error checking here 
1774             cArray
[x
] = PyString_AsString(PyList_GET_ITEM(listOfStrings
, x
)); 
1780 static wxBitmap 
*new_wxBitmap(PyObject 
*listOfStrings
){ 
1781             char**    cArray 
= NULL
; 
1784             cArray 
= ConvertListOfStrings(listOfStrings
); 
1787             bmp 
= new wxBitmap(cArray
); 
1791 static wxBitmap 
*new_wxBitmap(PyObject 
*bits
,int width
,int height
,int depth
=1){ 
1794             PyString_AsStringAndSize(bits
, &buf
, &length
); 
1795             return new wxBitmap(buf
, width
, height
, depth
); 
1797 static wxSize 
wxBitmap_GetSize(wxBitmap 
*self
){ 
1798             wxSize 
size(self
->GetWidth(), self
->GetHeight()); 
1801 static void wxBitmap_SetMaskColour(wxBitmap 
*self
,wxColour 
const &colour
){ 
1802             wxMask 
*mask 
= new wxMask(*self
, colour
); 
1803             self
->SetMask(mask
); 
1805 static void wxBitmap_SetSize(wxBitmap 
*self
,wxSize 
const &size
){ 
1806             self
->SetWidth(size
.x
); 
1807             self
->SetHeight(size
.y
); 
1809 static bool wxBitmap___eq__(wxBitmap 
*self
,wxBitmap 
const *other
){ return other 
? (*self 
== *other
) : false; } 
1810 static bool wxBitmap___ne__(wxBitmap 
*self
,wxBitmap 
const *other
){ return other 
? (*self 
!= *other
) : true;  } 
1811 static wxMask 
*new_wxMask(wxBitmap 
const &bitmap
,wxColour 
const &colour
=wxNullColour
){ 
1813                 return new wxMask(bitmap
, *wxBLACK
); 
1815                 return new wxMask(bitmap
, colour
); 
1818 #include <wx/iconbndl.h> 
1820 static wxIcon 
*new_wxIcon(wxBitmap 
const &bmp
){ 
1821             wxIcon
* icon 
= new wxIcon(); 
1822             icon
->CopyFromBitmap(bmp
); 
1825 static wxIcon 
*new_wxIcon(PyObject 
*listOfStrings
){ 
1826             char**  cArray 
= NULL
; 
1829             cArray 
= ConvertListOfStrings(listOfStrings
); 
1832             icon 
= new wxIcon(cArray
); 
1836 static wxIconLocation 
*new_wxIconLocation(wxString 
const *filename
=&wxPyEmptyString
,int num
=0){ 
1840             return new wxIconLocation(*filename
); 
1843 static void wxIconLocation_SetIndex(wxIconLocation 
*self
,int num
){ 
1850 static int wxIconLocation_GetIndex(wxIconLocation 
*self
){ 
1858 SWIGINTERNSHORT 
long 
1859 SWIG_As_long(PyObject
* obj
) 
1862   if (!SWIG_AsVal_long(obj
, &v
)) { 
1864       this is needed to make valgrind/purify happier.  
1866     memset((void*)&v
, 0, sizeof(long)); 
1873 SWIG_Check_long(PyObject
* obj
) 
1875   return SWIG_AsVal_long(obj
, (long*)0); 
1878 static wxCursor 
*new_wxCursor(wxString 
const &cursorName
,long type
,int hotSpotX
=0,int hotSpotY
=0){ 
1880             wxImage 
img(cursorName
, type
); 
1881             img
.SetOption(wxIMAGE_OPTION_CUR_HOTSPOT_X
, hotSpotX
); 
1882             img
.SetOption(wxIMAGE_OPTION_CUR_HOTSPOT_Y
, hotSpotY
); 
1883             return new wxCursor(img
); 
1885             return new wxCursor(cursorName
, type
, hotSpotX
, hotSpotY
); 
1890 static void wxRegionIterator_Next(wxRegionIterator 
*self
){ 
1893 static bool wxRegionIterator___nonzero__(wxRegionIterator 
*self
){ 
1894             return self
->operator bool(); 
1897 #include <wx/fontutil.h> 
1898 #include <wx/fontmap.h> 
1899 #include <wx/fontenum.h> 
1901 static wxString 
wxNativeFontInfo___str__(wxNativeFontInfo 
*self
){ 
1902             return self
->ToString(); 
1905     wxNativeEncodingInfo
* wxGetNativeFontEncoding(wxFontEncoding encoding
) { 
1906         static wxNativeEncodingInfo info
; 
1907         if ( wxGetNativeFontEncoding(encoding
, &info
) ) 
1913 static PyObject 
*wxFontMapper_GetAltForEncoding(wxFontMapper 
*self
,wxFontEncoding encoding
,wxString 
const &facename
=wxPyEmptyString
,bool interactive
=true){ 
1914             wxFontEncoding alt_enc
; 
1915             if (self
->GetAltForEncoding(encoding
, &alt_enc
, facename
, interactive
)) 
1916                 return PyInt_FromLong(alt_enc
); 
1922 static wxFont 
*new_wxFont(wxString 
const &info
){ 
1923                 wxNativeFontInfo nfi
; 
1924                 nfi
.FromString(info
); 
1925                 return new wxFont(nfi
); 
1927 static wxFont 
*new_wxFont(int pointSize
,wxFontFamily family
,int flags
=wxFONTFLAG_DEFAULT
,wxString 
const &face
=wxPyEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){ 
1928                 return wxFont::New(pointSize
, family
, flags
, face
, encoding
); 
1930 static wxFont 
*new_wxFont(wxSize 
const &pixelSize
,int family
,int style
,int weight
,bool underlined
=false,wxString 
const &face
=wxEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){ 
1931                 return wxFontBase::New(pixelSize
, family
, 
1932                                        style
, weight
, underlined
, 
1935 static wxFont 
*new_wxFont(wxSize 
const &pixelSize
,wxFontFamily family
,int flags
=wxFONTFLAG_DEFAULT
,wxString 
const &face
=wxEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){ 
1936                 return wxFontBase::New(pixelSize
, family
, flags
, face
, encoding
); 
1938 static bool wxFont___eq__(wxFont 
*self
,wxFont 
const *other
){ return other 
? (*self 
== *other
) : false; } 
1939 static bool wxFont___ne__(wxFont 
*self
,wxFont 
const *other
){ return other 
? (*self 
!= *other
) : true;  } 
1941 class wxPyFontEnumerator 
: public wxFontEnumerator 
{ 
1943     wxPyFontEnumerator() {} 
1944     ~wxPyFontEnumerator() {} 
1946     DEC_PYCALLBACK_BOOL_STRING(OnFacename
); 
1947     DEC_PYCALLBACK_BOOL_STRINGSTRING(OnFontEncoding
); 
1952 IMP_PYCALLBACK_BOOL_STRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFacename
); 
1953 IMP_PYCALLBACK_BOOL_STRINGSTRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFontEncoding
); 
1956 static PyObject 
*wxPyFontEnumerator_GetEncodings(wxPyFontEnumerator 
*self
){ 
1957             wxArrayString
* arr 
= self
->GetEncodings(); 
1959                 return wxArrayString2PyList_helper(*arr
); 
1961                 return PyList_New(0); 
1963 static PyObject 
*wxPyFontEnumerator_GetFacenames(wxPyFontEnumerator 
*self
){ 
1964             wxArrayString
* arr 
= self
->GetFacenames(); 
1966                 return wxArrayString2PyList_helper(*arr
); 
1968                 return PyList_New(0); 
1973 static wxLocale 
*new_wxLocale(int language
=-1,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){ 
1976                 loc 
= new wxLocale(); 
1978                 loc 
= new wxLocale(language
, flags
); 
1979             // Python before 2.4 needs to have LC_NUMERIC set to "C" in order 
1980             // for the floating point conversions and such to work right. 
1981 #if PY_VERSION_HEX < 0x02040000 
1982             setlocale(LC_NUMERIC
, "C"); 
1986 static bool wxLocale_Init1(wxLocale 
*self
,wxString 
const &szName
,wxString 
const &szShort
=wxPyEmptyString
,wxString 
const &szLocale
=wxPyEmptyString
,bool bLoadDefault
=true,bool bConvertEncoding
=false){ 
1987             bool rc 
= self
->Init(szName
, szShort
, szLocale
, bLoadDefault
, bConvertEncoding
); 
1988             // Python before 2.4 needs to have LC_NUMERIC set to "C" in order 
1989             // for the floating point conversions and such to work right. 
1990 #if PY_VERSION_HEX < 0x02040000 
1991             setlocale(LC_NUMERIC
, "C"); 
1995 static bool wxLocale_Init2(wxLocale 
*self
,int language
=wxLANGUAGE_DEFAULT
,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){ 
1996             bool rc 
= self
->Init(language
, flags
); 
1997             // Python before 2.4 needs to have LC_NUMERIC set to "C" in order 
1998             // for the floating point conversions and such to work right. 
1999 #if PY_VERSION_HEX < 0x02040000 
2000             setlocale(LC_NUMERIC
, "C"); 
2005 #include "wx/wxPython/pydrawxxx.h" 
2007 static wxColour 
wxDC_GetPixel(wxDC 
*self
,int x
,int y
){ 
2009             self
->GetPixel(x
, y
, &col
); 
2012 static wxColour 
wxDC_GetPixelPoint(wxDC 
*self
,wxPoint 
const &pt
){ 
2014             self
->GetPixel(pt
, &col
); 
2019 SWIG_AsVal_double(PyObject 
*obj
, double* val
) 
2021     if (PyNumber_Check(obj
)) { 
2022         if (val
) *val 
= PyFloat_AsDouble(obj
); 
2026         SWIG_type_error("number", obj
); 
2032 SWIGINTERNSHORT 
double 
2033 SWIG_As_double(PyObject
* obj
) 
2036   if (!SWIG_AsVal_double(obj
, &v
)) { 
2038       this is needed to make valgrind/purify happier.  
2040     memset((void*)&v
, 0, sizeof(double)); 
2047 SWIG_Check_double(PyObject
* obj
) 
2049   return SWIG_AsVal_double(obj
, (double*)0); 
2052 static wxRect 
wxDC_DrawImageLabel(wxDC 
*self
,wxString 
const &text
,wxBitmap 
const &image
,wxRect 
const &rect
,int alignment
=wxALIGN_LEFT
|wxALIGN_TOP
,int indexAccel
=-1){ 
2054             self
->DrawLabel(text
, image
, rect
, alignment
, indexAccel
, &rv
); 
2058 static wxRect 
wxDC_GetClippingRect(wxDC 
*self
){ 
2060             self
->GetClippingBox(rect
); 
2063 static wxArrayInt 
wxDC_GetPartialTextExtents(wxDC 
*self
,wxString 
const &text
){ 
2065             self
->GetPartialTextExtents(text
, widths
); 
2069   /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/ 
2070 #define SWIG_From_double PyFloat_FromDouble 
2074 static void wxDC_SetLogicalOriginPoint(wxDC 
*self
,wxPoint 
const &point
){ 
2075             self
->SetLogicalOrigin(point
.x
, point
.y
); 
2077 static void wxDC_SetDeviceOriginPoint(wxDC 
*self
,wxPoint 
const &point
){ 
2078             self
->SetDeviceOrigin(point
.x
, point
.y
); 
2080 static void wxDC_CalcBoundingBoxPoint(wxDC 
*self
,wxPoint 
const &point
){ 
2081             self
->CalcBoundingBox(point
.x
, point
.y
); 
2083 static PyObject 
*wxDC__DrawPointList(wxDC 
*self
,PyObject 
*pyCoords
,PyObject 
*pyPens
,PyObject 
*pyBrushes
){ 
2084             return wxPyDrawXXXList(*self
, wxPyDrawXXXPoint
, pyCoords
, pyPens
, pyBrushes
); 
2086 static PyObject 
*wxDC__DrawLineList(wxDC 
*self
,PyObject 
*pyCoords
,PyObject 
*pyPens
,PyObject 
*pyBrushes
){ 
2087             return wxPyDrawXXXList(*self
, wxPyDrawXXXLine
, pyCoords
, pyPens
, pyBrushes
); 
2089 static PyObject 
*wxDC__DrawRectangleList(wxDC 
*self
,PyObject 
*pyCoords
,PyObject 
*pyPens
,PyObject 
*pyBrushes
){ 
2090             return wxPyDrawXXXList(*self
, wxPyDrawXXXRectangle
, pyCoords
, pyPens
, pyBrushes
); 
2092 static PyObject 
*wxDC__DrawEllipseList(wxDC 
*self
,PyObject 
*pyCoords
,PyObject 
*pyPens
,PyObject 
*pyBrushes
){ 
2093             return wxPyDrawXXXList(*self
, wxPyDrawXXXEllipse
, pyCoords
, pyPens
, pyBrushes
); 
2095 static PyObject 
*wxDC__DrawPolygonList(wxDC 
*self
,PyObject 
*pyCoords
,PyObject 
*pyPens
,PyObject 
*pyBrushes
){ 
2096             return wxPyDrawXXXList(*self
, wxPyDrawXXXPolygon
, pyCoords
, pyPens
, pyBrushes
); 
2098 static PyObject 
*wxDC__DrawTextList(wxDC 
*self
,PyObject 
*textList
,PyObject 
*pyPoints
,PyObject 
*foregroundList
,PyObject 
*backgroundList
){ 
2099             return wxPyDrawTextList(*self
, textList
, pyPoints
, foregroundList
, backgroundList
); 
2102 static void wxDC_GetBoundingBox(wxDC
* dc
, int* x1
, int* y1
, int* x2
, int* y2
) { 
2110 #include <wx/dcbuffer.h> 
2113 #include <wx/dcps.h> 
2116 class wxMetaFile 
: public wxObject 
{ 
2118     wxMetaFile(const wxString
&) 
2119         { wxPyRaiseNotImplemented(); } 
2122 class wxMetaFileDC 
: public wxClientDC 
{ 
2124     wxMetaFileDC(const wxString
&, int, int, const wxString
&) 
2125         { wxPyRaiseNotImplemented(); } 
2130 class  wxPrinterDC 
: public wxClientDC 
{ 
2132     wxPrinterDC(const wxPrintData
&) 
2133         { wxPyRaiseNotImplemented(); } 
2139 static void wxColourDatabase_Append(wxColourDatabase 
*self
,wxString 
const &name
,int red
,int green
,int blue
){ 
2140             self
->AddColour(name
, wxColour(red
, green
, blue
)); 
2143 #include <wx/effects.h> 
2146 #include "wx/renderer.h" 
2149 SWIGINTERNSHORT PyObject
* 
2150   SWIG_From_bool(bool value
) 
2152   PyObject 
*obj 
= value 
? Py_True 
: Py_False
; 
2160 static PyObject 
*_wrap_new_GDIObject(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2161     PyObject 
*resultobj
; 
2162     wxGDIObject 
*result
; 
2167     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GDIObject",kwnames
)) goto fail
; 
2169         if (!wxPyCheckForApp()) SWIG_fail
; 
2170         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2171         result 
= (wxGDIObject 
*)new wxGDIObject(); 
2173         wxPyEndAllowThreads(__tstate
); 
2174         if (PyErr_Occurred()) SWIG_fail
; 
2176     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGDIObject
, 1); 
2183 static PyObject 
*_wrap_delete_GDIObject(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2184     PyObject 
*resultobj
; 
2185     wxGDIObject 
*arg1 
= (wxGDIObject 
*) 0 ; 
2186     PyObject 
* obj0 
= 0 ; 
2188         (char *) "self", NULL 
 
2191     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_GDIObject",kwnames
,&obj0
)) goto fail
; 
2192     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_EXCEPTION 
| 0); 
2193     if (SWIG_arg_fail(1)) SWIG_fail
; 
2195         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2198         wxPyEndAllowThreads(__tstate
); 
2199         if (PyErr_Occurred()) SWIG_fail
; 
2201     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
2208 static PyObject 
*_wrap_GDIObject_GetVisible(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2209     PyObject 
*resultobj
; 
2210     wxGDIObject 
*arg1 
= (wxGDIObject 
*) 0 ; 
2212     PyObject 
* obj0 
= 0 ; 
2214         (char *) "self", NULL 
 
2217     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GDIObject_GetVisible",kwnames
,&obj0
)) goto fail
; 
2218     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_EXCEPTION 
| 0); 
2219     if (SWIG_arg_fail(1)) SWIG_fail
; 
2221         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2222         result 
= (bool)(arg1
)->GetVisible(); 
2224         wxPyEndAllowThreads(__tstate
); 
2225         if (PyErr_Occurred()) SWIG_fail
; 
2228         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
2236 static PyObject 
*_wrap_GDIObject_SetVisible(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2237     PyObject 
*resultobj
; 
2238     wxGDIObject 
*arg1 
= (wxGDIObject 
*) 0 ; 
2240     PyObject 
* obj0 
= 0 ; 
2241     PyObject 
* obj1 
= 0 ; 
2243         (char *) "self",(char *) "visible", NULL 
 
2246     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GDIObject_SetVisible",kwnames
,&obj0
,&obj1
)) goto fail
; 
2247     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_EXCEPTION 
| 0); 
2248     if (SWIG_arg_fail(1)) SWIG_fail
; 
2250         arg2 
= (bool)(SWIG_As_bool(obj1
));  
2251         if (SWIG_arg_fail(2)) SWIG_fail
; 
2254         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2255         (arg1
)->SetVisible(arg2
); 
2257         wxPyEndAllowThreads(__tstate
); 
2258         if (PyErr_Occurred()) SWIG_fail
; 
2260     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
2267 static PyObject 
*_wrap_GDIObject_IsNull(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2268     PyObject 
*resultobj
; 
2269     wxGDIObject 
*arg1 
= (wxGDIObject 
*) 0 ; 
2271     PyObject 
* obj0 
= 0 ; 
2273         (char *) "self", NULL 
 
2276     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GDIObject_IsNull",kwnames
,&obj0
)) goto fail
; 
2277     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_EXCEPTION 
| 0); 
2278     if (SWIG_arg_fail(1)) SWIG_fail
; 
2280         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2281         result 
= (bool)(arg1
)->IsNull(); 
2283         wxPyEndAllowThreads(__tstate
); 
2284         if (PyErr_Occurred()) SWIG_fail
; 
2287         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
2295 static PyObject 
* GDIObject_swigregister(PyObject 
*, PyObject 
*args
) { 
2297     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
2298     SWIG_TypeClientData(SWIGTYPE_p_wxGDIObject
, obj
); 
2300     return Py_BuildValue((char *)""); 
2302 static PyObject 
*_wrap_new_Colour(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2303     PyObject 
*resultobj
; 
2304     byte arg1 
= (byte
) 0 ; 
2305     byte arg2 
= (byte
) 0 ; 
2306     byte arg3 
= (byte
) 0 ; 
2308     PyObject 
* obj0 
= 0 ; 
2309     PyObject 
* obj1 
= 0 ; 
2310     PyObject 
* obj2 
= 0 ; 
2312         (char *) "red",(char *) "green",(char *) "blue", NULL 
 
2315     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_Colour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
2318             arg1 
= (byte
)(SWIG_As_unsigned_SS_char(obj0
));  
2319             if (SWIG_arg_fail(1)) SWIG_fail
; 
2324             arg2 
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));  
2325             if (SWIG_arg_fail(2)) SWIG_fail
; 
2330             arg3 
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));  
2331             if (SWIG_arg_fail(3)) SWIG_fail
; 
2335         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2336         result 
= (wxColour 
*)new wxColour(arg1
,arg2
,arg3
); 
2338         wxPyEndAllowThreads(__tstate
); 
2339         if (PyErr_Occurred()) SWIG_fail
; 
2341     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 1); 
2348 static PyObject 
*_wrap_new_NamedColour(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2349     PyObject 
*resultobj
; 
2350     wxString 
*arg1 
= 0 ; 
2352     bool temp1 
= false ; 
2353     PyObject 
* obj0 
= 0 ; 
2355         (char *) "colorName", NULL 
 
2358     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NamedColour",kwnames
,&obj0
)) goto fail
; 
2360         arg1 
= wxString_in_helper(obj0
); 
2361         if (arg1 
== NULL
) SWIG_fail
; 
2365         if (!wxPyCheckForApp()) SWIG_fail
; 
2366         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2367         result 
= (wxColour 
*)new wxColour((wxString 
const &)*arg1
); 
2369         wxPyEndAllowThreads(__tstate
); 
2370         if (PyErr_Occurred()) SWIG_fail
; 
2372     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 1); 
2387 static PyObject 
*_wrap_new_ColourRGB(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2388     PyObject 
*resultobj
; 
2389     unsigned long arg1 
; 
2391     PyObject 
* obj0 
= 0 ; 
2393         (char *) "colRGB", NULL 
 
2396     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ColourRGB",kwnames
,&obj0
)) goto fail
; 
2398         arg1 
= (unsigned long)(SWIG_As_unsigned_SS_long(obj0
));  
2399         if (SWIG_arg_fail(1)) SWIG_fail
; 
2402         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2403         result 
= (wxColour 
*)new wxColour(arg1
); 
2405         wxPyEndAllowThreads(__tstate
); 
2406         if (PyErr_Occurred()) SWIG_fail
; 
2408     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 1); 
2415 static PyObject 
*_wrap_delete_Colour(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2416     PyObject 
*resultobj
; 
2417     wxColour 
*arg1 
= (wxColour 
*) 0 ; 
2418     PyObject 
* obj0 
= 0 ; 
2420         (char *) "self", NULL 
 
2423     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Colour",kwnames
,&obj0
)) goto fail
; 
2424     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION 
| 0); 
2425     if (SWIG_arg_fail(1)) SWIG_fail
; 
2427         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2430         wxPyEndAllowThreads(__tstate
); 
2431         if (PyErr_Occurred()) SWIG_fail
; 
2433     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
2440 static PyObject 
*_wrap_Colour_Red(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2441     PyObject 
*resultobj
; 
2442     wxColour 
*arg1 
= (wxColour 
*) 0 ; 
2444     PyObject 
* obj0 
= 0 ; 
2446         (char *) "self", NULL 
 
2449     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Red",kwnames
,&obj0
)) goto fail
; 
2450     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION 
| 0); 
2451     if (SWIG_arg_fail(1)) SWIG_fail
; 
2453         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2454         result 
= (byte
)(arg1
)->Red(); 
2456         wxPyEndAllowThreads(__tstate
); 
2457         if (PyErr_Occurred()) SWIG_fail
; 
2460         resultobj 
= SWIG_From_unsigned_SS_char((unsigned char)(result
));  
2468 static PyObject 
*_wrap_Colour_Green(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2469     PyObject 
*resultobj
; 
2470     wxColour 
*arg1 
= (wxColour 
*) 0 ; 
2472     PyObject 
* obj0 
= 0 ; 
2474         (char *) "self", NULL 
 
2477     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Green",kwnames
,&obj0
)) goto fail
; 
2478     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION 
| 0); 
2479     if (SWIG_arg_fail(1)) SWIG_fail
; 
2481         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2482         result 
= (byte
)(arg1
)->Green(); 
2484         wxPyEndAllowThreads(__tstate
); 
2485         if (PyErr_Occurred()) SWIG_fail
; 
2488         resultobj 
= SWIG_From_unsigned_SS_char((unsigned char)(result
));  
2496 static PyObject 
*_wrap_Colour_Blue(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2497     PyObject 
*resultobj
; 
2498     wxColour 
*arg1 
= (wxColour 
*) 0 ; 
2500     PyObject 
* obj0 
= 0 ; 
2502         (char *) "self", NULL 
 
2505     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Blue",kwnames
,&obj0
)) goto fail
; 
2506     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION 
| 0); 
2507     if (SWIG_arg_fail(1)) SWIG_fail
; 
2509         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2510         result 
= (byte
)(arg1
)->Blue(); 
2512         wxPyEndAllowThreads(__tstate
); 
2513         if (PyErr_Occurred()) SWIG_fail
; 
2516         resultobj 
= SWIG_From_unsigned_SS_char((unsigned char)(result
));  
2524 static PyObject 
*_wrap_Colour_Ok(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2525     PyObject 
*resultobj
; 
2526     wxColour 
*arg1 
= (wxColour 
*) 0 ; 
2528     PyObject 
* obj0 
= 0 ; 
2530         (char *) "self", NULL 
 
2533     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Ok",kwnames
,&obj0
)) goto fail
; 
2534     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION 
| 0); 
2535     if (SWIG_arg_fail(1)) SWIG_fail
; 
2537         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2538         result 
= (bool)(arg1
)->Ok(); 
2540         wxPyEndAllowThreads(__tstate
); 
2541         if (PyErr_Occurred()) SWIG_fail
; 
2544         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
2552 static PyObject 
*_wrap_Colour_Set(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2553     PyObject 
*resultobj
; 
2554     wxColour 
*arg1 
= (wxColour 
*) 0 ; 
2558     PyObject 
* obj0 
= 0 ; 
2559     PyObject 
* obj1 
= 0 ; 
2560     PyObject 
* obj2 
= 0 ; 
2561     PyObject 
* obj3 
= 0 ; 
2563         (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL 
 
2566     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Colour_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
2567     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION 
| 0); 
2568     if (SWIG_arg_fail(1)) SWIG_fail
; 
2570         arg2 
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));  
2571         if (SWIG_arg_fail(2)) SWIG_fail
; 
2574         arg3 
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));  
2575         if (SWIG_arg_fail(3)) SWIG_fail
; 
2578         arg4 
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));  
2579         if (SWIG_arg_fail(4)) SWIG_fail
; 
2582         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2583         (arg1
)->Set(arg2
,arg3
,arg4
); 
2585         wxPyEndAllowThreads(__tstate
); 
2586         if (PyErr_Occurred()) SWIG_fail
; 
2588     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
2595 static PyObject 
*_wrap_Colour_SetRGB(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2596     PyObject 
*resultobj
; 
2597     wxColour 
*arg1 
= (wxColour 
*) 0 ; 
2598     unsigned long arg2 
; 
2599     PyObject 
* obj0 
= 0 ; 
2600     PyObject 
* obj1 
= 0 ; 
2602         (char *) "self",(char *) "colRGB", NULL 
 
2605     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetRGB",kwnames
,&obj0
,&obj1
)) goto fail
; 
2606     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION 
| 0); 
2607     if (SWIG_arg_fail(1)) SWIG_fail
; 
2609         arg2 
= (unsigned long)(SWIG_As_unsigned_SS_long(obj1
));  
2610         if (SWIG_arg_fail(2)) SWIG_fail
; 
2613         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2616         wxPyEndAllowThreads(__tstate
); 
2617         if (PyErr_Occurred()) SWIG_fail
; 
2619     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
2626 static PyObject 
*_wrap_Colour_SetFromName(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2627     PyObject 
*resultobj
; 
2628     wxColour 
*arg1 
= (wxColour 
*) 0 ; 
2629     wxString 
*arg2 
= 0 ; 
2630     bool temp2 
= false ; 
2631     PyObject 
* obj0 
= 0 ; 
2632     PyObject 
* obj1 
= 0 ; 
2634         (char *) "self",(char *) "colourName", NULL 
 
2637     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetFromName",kwnames
,&obj0
,&obj1
)) goto fail
; 
2638     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION 
| 0); 
2639     if (SWIG_arg_fail(1)) SWIG_fail
; 
2641         arg2 
= wxString_in_helper(obj1
); 
2642         if (arg2 
== NULL
) SWIG_fail
; 
2646         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2647         (arg1
)->InitFromName((wxString 
const &)*arg2
); 
2649         wxPyEndAllowThreads(__tstate
); 
2650         if (PyErr_Occurred()) SWIG_fail
; 
2652     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
2667 static PyObject 
*_wrap_Colour_GetPixel(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2668     PyObject 
*resultobj
; 
2669     wxColour 
*arg1 
= (wxColour 
*) 0 ; 
2671     PyObject 
* obj0 
= 0 ; 
2673         (char *) "self", NULL 
 
2676     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_GetPixel",kwnames
,&obj0
)) goto fail
; 
2677     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION 
| 0); 
2678     if (SWIG_arg_fail(1)) SWIG_fail
; 
2680         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2681         result 
= (long)((wxColour 
const *)arg1
)->GetPixel(); 
2683         wxPyEndAllowThreads(__tstate
); 
2684         if (PyErr_Occurred()) SWIG_fail
; 
2687         resultobj 
= SWIG_From_long((long)(result
));  
2695 static PyObject 
*_wrap_Colour___eq__(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2696     PyObject 
*resultobj
; 
2697     wxColour 
*arg1 
= (wxColour 
*) 0 ; 
2698     wxColour 
*arg2 
= 0 ; 
2701     PyObject 
* obj0 
= 0 ; 
2702     PyObject 
* obj1 
= 0 ; 
2704         (char *) "self",(char *) "colour", NULL 
 
2707     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___eq__",kwnames
,&obj0
,&obj1
)) goto fail
; 
2708     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION 
| 0); 
2709     if (SWIG_arg_fail(1)) SWIG_fail
; 
2712         if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
2715         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2716         result 
= (bool)((wxColour 
const *)arg1
)->operator ==((wxColour 
const &)*arg2
); 
2718         wxPyEndAllowThreads(__tstate
); 
2719         if (PyErr_Occurred()) SWIG_fail
; 
2722         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
2730 static PyObject 
*_wrap_Colour___ne__(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2731     PyObject 
*resultobj
; 
2732     wxColour 
*arg1 
= (wxColour 
*) 0 ; 
2733     wxColour 
*arg2 
= 0 ; 
2736     PyObject 
* obj0 
= 0 ; 
2737     PyObject 
* obj1 
= 0 ; 
2739         (char *) "self",(char *) "colour", NULL 
 
2742     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___ne__",kwnames
,&obj0
,&obj1
)) goto fail
; 
2743     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION 
| 0); 
2744     if (SWIG_arg_fail(1)) SWIG_fail
; 
2747         if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
2750         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2751         result 
= (bool)((wxColour 
const *)arg1
)->operator !=((wxColour 
const &)*arg2
); 
2753         wxPyEndAllowThreads(__tstate
); 
2754         if (PyErr_Occurred()) SWIG_fail
; 
2757         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
2765 static PyObject 
*_wrap_Colour_Get(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2766     PyObject 
*resultobj
; 
2767     wxColour 
*arg1 
= (wxColour 
*) 0 ; 
2769     PyObject 
* obj0 
= 0 ; 
2771         (char *) "self", NULL 
 
2774     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Get",kwnames
,&obj0
)) goto fail
; 
2775     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION 
| 0); 
2776     if (SWIG_arg_fail(1)) SWIG_fail
; 
2778         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2779         result 
= (PyObject 
*)wxColour_Get(arg1
); 
2781         wxPyEndAllowThreads(__tstate
); 
2782         if (PyErr_Occurred()) SWIG_fail
; 
2791 static PyObject 
*_wrap_Colour_GetRGB(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2792     PyObject 
*resultobj
; 
2793     wxColour 
*arg1 
= (wxColour 
*) 0 ; 
2794     unsigned long result
; 
2795     PyObject 
* obj0 
= 0 ; 
2797         (char *) "self", NULL 
 
2800     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_GetRGB",kwnames
,&obj0
)) goto fail
; 
2801     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION 
| 0); 
2802     if (SWIG_arg_fail(1)) SWIG_fail
; 
2804         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2805         result 
= (unsigned long)wxColour_GetRGB(arg1
); 
2807         wxPyEndAllowThreads(__tstate
); 
2808         if (PyErr_Occurred()) SWIG_fail
; 
2811         resultobj 
= SWIG_From_unsigned_SS_long((unsigned long)(result
));  
2819 static PyObject 
* Colour_swigregister(PyObject 
*, PyObject 
*args
) { 
2821     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
2822     SWIG_TypeClientData(SWIGTYPE_p_wxColour
, obj
); 
2824     return Py_BuildValue((char *)""); 
2826 static PyObject 
*_wrap_new_Palette(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2827     PyObject 
*resultobj
; 
2829     unsigned char *arg2 
= (unsigned char *) 0 ; 
2830     unsigned char *arg3 
= (unsigned char *) 0 ; 
2831     unsigned char *arg4 
= (unsigned char *) 0 ; 
2833     PyObject 
* obj0 
= 0 ; 
2834     PyObject 
* obj1 
= 0 ; 
2835     PyObject 
* obj2 
= 0 ; 
2836     PyObject 
* obj3 
= 0 ; 
2838         (char *) "n",(char *) "red",(char *) "green",(char *) "blue", NULL 
 
2841     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_Palette",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
2843         arg1 
= (int)(SWIG_As_int(obj0
));  
2844         if (SWIG_arg_fail(1)) SWIG_fail
; 
2846     SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_unsigned_char
, SWIG_POINTER_EXCEPTION 
| 0); 
2847     if (SWIG_arg_fail(2)) SWIG_fail
; 
2848     SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_unsigned_char
, SWIG_POINTER_EXCEPTION 
| 0); 
2849     if (SWIG_arg_fail(3)) SWIG_fail
; 
2850     SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_unsigned_char
, SWIG_POINTER_EXCEPTION 
| 0); 
2851     if (SWIG_arg_fail(4)) SWIG_fail
; 
2853         if (!wxPyCheckForApp()) SWIG_fail
; 
2854         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2855         result 
= (wxPalette 
*)new wxPalette(arg1
,(unsigned char const *)arg2
,(unsigned char const *)arg3
,(unsigned char const *)arg4
); 
2857         wxPyEndAllowThreads(__tstate
); 
2858         if (PyErr_Occurred()) SWIG_fail
; 
2860     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPalette
, 1); 
2867 static PyObject 
*_wrap_delete_Palette(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2868     PyObject 
*resultobj
; 
2869     wxPalette 
*arg1 
= (wxPalette 
*) 0 ; 
2870     PyObject 
* obj0 
= 0 ; 
2872         (char *) "self", NULL 
 
2875     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Palette",kwnames
,&obj0
)) goto fail
; 
2876     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPalette
, SWIG_POINTER_EXCEPTION 
| 0); 
2877     if (SWIG_arg_fail(1)) SWIG_fail
; 
2879         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2882         wxPyEndAllowThreads(__tstate
); 
2883         if (PyErr_Occurred()) SWIG_fail
; 
2885     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
2892 static PyObject 
*_wrap_Palette_GetPixel(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2893     PyObject 
*resultobj
; 
2894     wxPalette 
*arg1 
= (wxPalette 
*) 0 ; 
2899     PyObject 
* obj0 
= 0 ; 
2900     PyObject 
* obj1 
= 0 ; 
2901     PyObject 
* obj2 
= 0 ; 
2902     PyObject 
* obj3 
= 0 ; 
2904         (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL 
 
2907     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Palette_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
2908     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPalette
, SWIG_POINTER_EXCEPTION 
| 0); 
2909     if (SWIG_arg_fail(1)) SWIG_fail
; 
2911         arg2 
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));  
2912         if (SWIG_arg_fail(2)) SWIG_fail
; 
2915         arg3 
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));  
2916         if (SWIG_arg_fail(3)) SWIG_fail
; 
2919         arg4 
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));  
2920         if (SWIG_arg_fail(4)) SWIG_fail
; 
2923         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2924         result 
= (int)(arg1
)->GetPixel(arg2
,arg3
,arg4
); 
2926         wxPyEndAllowThreads(__tstate
); 
2927         if (PyErr_Occurred()) SWIG_fail
; 
2930         resultobj 
= SWIG_From_int((int)(result
));  
2938 static PyObject 
*_wrap_Palette_GetRGB(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2939     PyObject 
*resultobj
; 
2940     wxPalette 
*arg1 
= (wxPalette 
*) 0 ; 
2942     byte 
*arg3 
= (byte 
*) 0 ; 
2943     byte 
*arg4 
= (byte 
*) 0 ; 
2944     byte 
*arg5 
= (byte 
*) 0 ; 
2952     PyObject 
* obj0 
= 0 ; 
2953     PyObject 
* obj1 
= 0 ; 
2955         (char *) "self",(char *) "pixel", NULL 
 
2958     arg3 
= &temp3
; res3 
= SWIG_NEWOBJ
; 
2959     arg4 
= &temp4
; res4 
= SWIG_NEWOBJ
; 
2960     arg5 
= &temp5
; res5 
= SWIG_NEWOBJ
; 
2961     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Palette_GetRGB",kwnames
,&obj0
,&obj1
)) goto fail
; 
2962     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPalette
, SWIG_POINTER_EXCEPTION 
| 0); 
2963     if (SWIG_arg_fail(1)) SWIG_fail
; 
2965         arg2 
= (int)(SWIG_As_int(obj1
));  
2966         if (SWIG_arg_fail(2)) SWIG_fail
; 
2969         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2970         result 
= (bool)(arg1
)->GetRGB(arg2
,arg3
,arg4
,arg5
); 
2972         wxPyEndAllowThreads(__tstate
); 
2973         if (PyErr_Occurred()) SWIG_fail
; 
2976         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
2978     resultobj 
= t_output_helper(resultobj
, ((res3 
== SWIG_NEWOBJ
) ? 
2979     SWIG_From_unsigned_SS_char((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, 0))); 
2980     resultobj 
= t_output_helper(resultobj
, ((res4 
== SWIG_NEWOBJ
) ? 
2981     SWIG_From_unsigned_SS_char((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, 0))); 
2982     resultobj 
= t_output_helper(resultobj
, ((res5 
== SWIG_NEWOBJ
) ? 
2983     SWIG_From_unsigned_SS_char((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_unsigned_char
, 0))); 
2990 static PyObject 
*_wrap_Palette_GetColoursCount(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2991     PyObject 
*resultobj
; 
2992     wxPalette 
*arg1 
= (wxPalette 
*) 0 ; 
2994     PyObject 
* obj0 
= 0 ; 
2996         (char *) "self", NULL 
 
2999     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Palette_GetColoursCount",kwnames
,&obj0
)) goto fail
; 
3000     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPalette
, SWIG_POINTER_EXCEPTION 
| 0); 
3001     if (SWIG_arg_fail(1)) SWIG_fail
; 
3003         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3004         result 
= (int)((wxPalette 
const *)arg1
)->GetColoursCount(); 
3006         wxPyEndAllowThreads(__tstate
); 
3007         if (PyErr_Occurred()) SWIG_fail
; 
3010         resultobj 
= SWIG_From_int((int)(result
));  
3018 static PyObject 
*_wrap_Palette_Ok(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3019     PyObject 
*resultobj
; 
3020     wxPalette 
*arg1 
= (wxPalette 
*) 0 ; 
3022     PyObject 
* obj0 
= 0 ; 
3024         (char *) "self", NULL 
 
3027     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Palette_Ok",kwnames
,&obj0
)) goto fail
; 
3028     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPalette
, SWIG_POINTER_EXCEPTION 
| 0); 
3029     if (SWIG_arg_fail(1)) SWIG_fail
; 
3031         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3032         result 
= (bool)(arg1
)->Ok(); 
3034         wxPyEndAllowThreads(__tstate
); 
3035         if (PyErr_Occurred()) SWIG_fail
; 
3038         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
3046 static PyObject 
* Palette_swigregister(PyObject 
*, PyObject 
*args
) { 
3048     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
3049     SWIG_TypeClientData(SWIGTYPE_p_wxPalette
, obj
); 
3051     return Py_BuildValue((char *)""); 
3053 static PyObject 
*_wrap_new_Pen(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3054     PyObject 
*resultobj
; 
3055     wxColour 
*arg1 
= 0 ; 
3056     int arg2 
= (int) 1 ; 
3057     int arg3 
= (int) wxSOLID 
; 
3060     PyObject 
* obj0 
= 0 ; 
3061     PyObject 
* obj1 
= 0 ; 
3062     PyObject 
* obj2 
= 0 ; 
3064         (char *) "colour",(char *) "width",(char *) "style", NULL 
 
3067     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Pen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
3070         if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
; 
3074             arg2 
= (int)(SWIG_As_int(obj1
));  
3075             if (SWIG_arg_fail(2)) SWIG_fail
; 
3080             arg3 
= (int)(SWIG_As_int(obj2
));  
3081             if (SWIG_arg_fail(3)) SWIG_fail
; 
3085         if (!wxPyCheckForApp()) SWIG_fail
; 
3086         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3087         result 
= (wxPen 
*)new wxPen(*arg1
,arg2
,arg3
); 
3089         wxPyEndAllowThreads(__tstate
); 
3090         if (PyErr_Occurred()) SWIG_fail
; 
3092     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPen
, 1); 
3099 static PyObject 
*_wrap_delete_Pen(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3100     PyObject 
*resultobj
; 
3101     wxPen 
*arg1 
= (wxPen 
*) 0 ; 
3102     PyObject 
* obj0 
= 0 ; 
3104         (char *) "self", NULL 
 
3107     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Pen",kwnames
,&obj0
)) goto fail
; 
3108     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION 
| 0); 
3109     if (SWIG_arg_fail(1)) SWIG_fail
; 
3111         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3114         wxPyEndAllowThreads(__tstate
); 
3115         if (PyErr_Occurred()) SWIG_fail
; 
3117     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
3124 static PyObject 
*_wrap_Pen_GetCap(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3125     PyObject 
*resultobj
; 
3126     wxPen 
*arg1 
= (wxPen 
*) 0 ; 
3128     PyObject 
* obj0 
= 0 ; 
3130         (char *) "self", NULL 
 
3133     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetCap",kwnames
,&obj0
)) goto fail
; 
3134     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION 
| 0); 
3135     if (SWIG_arg_fail(1)) SWIG_fail
; 
3137         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3138         result 
= (int)(arg1
)->GetCap(); 
3140         wxPyEndAllowThreads(__tstate
); 
3141         if (PyErr_Occurred()) SWIG_fail
; 
3144         resultobj 
= SWIG_From_int((int)(result
));  
3152 static PyObject 
*_wrap_Pen_GetColour(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3153     PyObject 
*resultobj
; 
3154     wxPen 
*arg1 
= (wxPen 
*) 0 ; 
3156     PyObject 
* obj0 
= 0 ; 
3158         (char *) "self", NULL 
 
3161     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetColour",kwnames
,&obj0
)) goto fail
; 
3162     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION 
| 0); 
3163     if (SWIG_arg_fail(1)) SWIG_fail
; 
3165         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3166         result 
= (arg1
)->GetColour(); 
3168         wxPyEndAllowThreads(__tstate
); 
3169         if (PyErr_Occurred()) SWIG_fail
; 
3172         wxColour 
* resultptr
; 
3173         resultptr 
= new wxColour((wxColour 
&)(result
)); 
3174         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1); 
3182 static PyObject 
*_wrap_Pen_GetJoin(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3183     PyObject 
*resultobj
; 
3184     wxPen 
*arg1 
= (wxPen 
*) 0 ; 
3186     PyObject 
* obj0 
= 0 ; 
3188         (char *) "self", NULL 
 
3191     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetJoin",kwnames
,&obj0
)) goto fail
; 
3192     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION 
| 0); 
3193     if (SWIG_arg_fail(1)) SWIG_fail
; 
3195         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3196         result 
= (int)(arg1
)->GetJoin(); 
3198         wxPyEndAllowThreads(__tstate
); 
3199         if (PyErr_Occurred()) SWIG_fail
; 
3202         resultobj 
= SWIG_From_int((int)(result
));  
3210 static PyObject 
*_wrap_Pen_GetStyle(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3211     PyObject 
*resultobj
; 
3212     wxPen 
*arg1 
= (wxPen 
*) 0 ; 
3214     PyObject 
* obj0 
= 0 ; 
3216         (char *) "self", NULL 
 
3219     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetStyle",kwnames
,&obj0
)) goto fail
; 
3220     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION 
| 0); 
3221     if (SWIG_arg_fail(1)) SWIG_fail
; 
3223         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3224         result 
= (int)(arg1
)->GetStyle(); 
3226         wxPyEndAllowThreads(__tstate
); 
3227         if (PyErr_Occurred()) SWIG_fail
; 
3230         resultobj 
= SWIG_From_int((int)(result
));  
3238 static PyObject 
*_wrap_Pen_GetWidth(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3239     PyObject 
*resultobj
; 
3240     wxPen 
*arg1 
= (wxPen 
*) 0 ; 
3242     PyObject 
* obj0 
= 0 ; 
3244         (char *) "self", NULL 
 
3247     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetWidth",kwnames
,&obj0
)) goto fail
; 
3248     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION 
| 0); 
3249     if (SWIG_arg_fail(1)) SWIG_fail
; 
3251         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3252         result 
= (int)(arg1
)->GetWidth(); 
3254         wxPyEndAllowThreads(__tstate
); 
3255         if (PyErr_Occurred()) SWIG_fail
; 
3258         resultobj 
= SWIG_From_int((int)(result
));  
3266 static PyObject 
*_wrap_Pen_Ok(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3267     PyObject 
*resultobj
; 
3268     wxPen 
*arg1 
= (wxPen 
*) 0 ; 
3270     PyObject 
* obj0 
= 0 ; 
3272         (char *) "self", NULL 
 
3275     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_Ok",kwnames
,&obj0
)) goto fail
; 
3276     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION 
| 0); 
3277     if (SWIG_arg_fail(1)) SWIG_fail
; 
3279         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3280         result 
= (bool)(arg1
)->Ok(); 
3282         wxPyEndAllowThreads(__tstate
); 
3283         if (PyErr_Occurred()) SWIG_fail
; 
3286         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
3294 static PyObject 
*_wrap_Pen_SetCap(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3295     PyObject 
*resultobj
; 
3296     wxPen 
*arg1 
= (wxPen 
*) 0 ; 
3298     PyObject 
* obj0 
= 0 ; 
3299     PyObject 
* obj1 
= 0 ; 
3301         (char *) "self",(char *) "cap_style", NULL 
 
3304     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetCap",kwnames
,&obj0
,&obj1
)) goto fail
; 
3305     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION 
| 0); 
3306     if (SWIG_arg_fail(1)) SWIG_fail
; 
3308         arg2 
= (int)(SWIG_As_int(obj1
));  
3309         if (SWIG_arg_fail(2)) SWIG_fail
; 
3312         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3313         (arg1
)->SetCap(arg2
); 
3315         wxPyEndAllowThreads(__tstate
); 
3316         if (PyErr_Occurred()) SWIG_fail
; 
3318     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
3325 static PyObject 
*_wrap_Pen_SetColour(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3326     PyObject 
*resultobj
; 
3327     wxPen 
*arg1 
= (wxPen 
*) 0 ; 
3328     wxColour 
*arg2 
= 0 ; 
3330     PyObject 
* obj0 
= 0 ; 
3331     PyObject 
* obj1 
= 0 ; 
3333         (char *) "self",(char *) "colour", NULL 
 
3336     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
; 
3337     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION 
| 0); 
3338     if (SWIG_arg_fail(1)) SWIG_fail
; 
3341         if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
3344         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3345         (arg1
)->SetColour(*arg2
); 
3347         wxPyEndAllowThreads(__tstate
); 
3348         if (PyErr_Occurred()) SWIG_fail
; 
3350     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
3357 static PyObject 
*_wrap_Pen_SetJoin(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3358     PyObject 
*resultobj
; 
3359     wxPen 
*arg1 
= (wxPen 
*) 0 ; 
3361     PyObject 
* obj0 
= 0 ; 
3362     PyObject 
* obj1 
= 0 ; 
3364         (char *) "self",(char *) "join_style", NULL 
 
3367     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetJoin",kwnames
,&obj0
,&obj1
)) goto fail
; 
3368     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION 
| 0); 
3369     if (SWIG_arg_fail(1)) SWIG_fail
; 
3371         arg2 
= (int)(SWIG_As_int(obj1
));  
3372         if (SWIG_arg_fail(2)) SWIG_fail
; 
3375         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3376         (arg1
)->SetJoin(arg2
); 
3378         wxPyEndAllowThreads(__tstate
); 
3379         if (PyErr_Occurred()) SWIG_fail
; 
3381     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
3388 static PyObject 
*_wrap_Pen_SetStyle(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3389     PyObject 
*resultobj
; 
3390     wxPen 
*arg1 
= (wxPen 
*) 0 ; 
3392     PyObject 
* obj0 
= 0 ; 
3393     PyObject 
* obj1 
= 0 ; 
3395         (char *) "self",(char *) "style", NULL 
 
3398     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
; 
3399     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION 
| 0); 
3400     if (SWIG_arg_fail(1)) SWIG_fail
; 
3402         arg2 
= (int)(SWIG_As_int(obj1
));  
3403         if (SWIG_arg_fail(2)) SWIG_fail
; 
3406         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3407         (arg1
)->SetStyle(arg2
); 
3409         wxPyEndAllowThreads(__tstate
); 
3410         if (PyErr_Occurred()) SWIG_fail
; 
3412     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
3419 static PyObject 
*_wrap_Pen_SetWidth(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3420     PyObject 
*resultobj
; 
3421     wxPen 
*arg1 
= (wxPen 
*) 0 ; 
3423     PyObject 
* obj0 
= 0 ; 
3424     PyObject 
* obj1 
= 0 ; 
3426         (char *) "self",(char *) "width", NULL 
 
3429     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
; 
3430     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION 
| 0); 
3431     if (SWIG_arg_fail(1)) SWIG_fail
; 
3433         arg2 
= (int)(SWIG_As_int(obj1
));  
3434         if (SWIG_arg_fail(2)) SWIG_fail
; 
3437         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3438         (arg1
)->SetWidth(arg2
); 
3440         wxPyEndAllowThreads(__tstate
); 
3441         if (PyErr_Occurred()) SWIG_fail
; 
3443     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
3450 static PyObject 
*_wrap_Pen_SetDashes(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3451     PyObject 
*resultobj
; 
3452     wxPen 
*arg1 
= (wxPen 
*) 0 ; 
3454     wxDash 
*arg3 
= (wxDash 
*) 0 ; 
3455     PyObject 
* obj0 
= 0 ; 
3456     PyObject 
* obj1 
= 0 ; 
3458         (char *) "self",(char *) "dashes", NULL 
 
3461     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetDashes",kwnames
,&obj0
,&obj1
)) goto fail
; 
3462     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION 
| 0); 
3463     if (SWIG_arg_fail(1)) SWIG_fail
; 
3465         arg2 
= PyList_Size(obj1
); 
3466         arg3 
= (wxDash
*)byte_LIST_helper(obj1
); 
3467         if (arg3 
== NULL
) SWIG_fail
; 
3470         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3471         (arg1
)->SetDashes(arg2
,arg3
); 
3473         wxPyEndAllowThreads(__tstate
); 
3474         if (PyErr_Occurred()) SWIG_fail
; 
3476     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
3478         if (arg3
) delete [] arg3
; 
3483         if (arg3
) delete [] arg3
; 
3489 static PyObject 
*_wrap_Pen_GetDashes(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3490     PyObject 
*resultobj
; 
3491     wxPen 
*arg1 
= (wxPen 
*) 0 ; 
3493     PyObject 
* obj0 
= 0 ; 
3495         (char *) "self", NULL 
 
3498     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetDashes",kwnames
,&obj0
)) goto fail
; 
3499     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION 
| 0); 
3500     if (SWIG_arg_fail(1)) SWIG_fail
; 
3502         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3503         result 
= (PyObject 
*)wxPen_GetDashes(arg1
); 
3505         wxPyEndAllowThreads(__tstate
); 
3506         if (PyErr_Occurred()) SWIG_fail
; 
3515 static PyObject 
*_wrap_Pen__SetDashes(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3516     PyObject 
*resultobj
; 
3517     wxPen 
*arg1 
= (wxPen 
*) 0 ; 
3518     PyObject 
*arg2 
= (PyObject 
*) 0 ; 
3519     PyObject 
*arg3 
= (PyObject 
*) 0 ; 
3520     PyObject 
* obj0 
= 0 ; 
3521     PyObject 
* obj1 
= 0 ; 
3522     PyObject 
* obj2 
= 0 ; 
3524         (char *) "self",(char *) "_self",(char *) "pyDashes", NULL 
 
3527     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Pen__SetDashes",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
3528     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION 
| 0); 
3529     if (SWIG_arg_fail(1)) SWIG_fail
; 
3533         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3534         wxPen__SetDashes(arg1
,arg2
,arg3
); 
3536         wxPyEndAllowThreads(__tstate
); 
3537         if (PyErr_Occurred()) SWIG_fail
; 
3539     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
3546 static PyObject 
*_wrap_Pen_GetDashCount(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3547     PyObject 
*resultobj
; 
3548     wxPen 
*arg1 
= (wxPen 
*) 0 ; 
3550     PyObject 
* obj0 
= 0 ; 
3552         (char *) "self", NULL 
 
3555     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetDashCount",kwnames
,&obj0
)) goto fail
; 
3556     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION 
| 0); 
3557     if (SWIG_arg_fail(1)) SWIG_fail
; 
3559         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3560         result 
= (int)((wxPen 
const *)arg1
)->GetDashCount(); 
3562         wxPyEndAllowThreads(__tstate
); 
3563         if (PyErr_Occurred()) SWIG_fail
; 
3566         resultobj 
= SWIG_From_int((int)(result
));  
3574 static PyObject 
*_wrap_Pen___eq__(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3575     PyObject 
*resultobj
; 
3576     wxPen 
*arg1 
= (wxPen 
*) 0 ; 
3577     wxPen 
*arg2 
= (wxPen 
*) 0 ; 
3579     PyObject 
* obj0 
= 0 ; 
3580     PyObject 
* obj1 
= 0 ; 
3582         (char *) "self",(char *) "other", NULL 
 
3585     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___eq__",kwnames
,&obj0
,&obj1
)) goto fail
; 
3586     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION 
| 0); 
3587     if (SWIG_arg_fail(1)) SWIG_fail
; 
3588     SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION 
| 0); 
3589     if (SWIG_arg_fail(2)) SWIG_fail
; 
3591         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3592         result 
= (bool)wxPen___eq__(arg1
,(wxPen 
const *)arg2
); 
3594         wxPyEndAllowThreads(__tstate
); 
3595         if (PyErr_Occurred()) SWIG_fail
; 
3598         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
3606 static PyObject 
*_wrap_Pen___ne__(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3607     PyObject 
*resultobj
; 
3608     wxPen 
*arg1 
= (wxPen 
*) 0 ; 
3609     wxPen 
*arg2 
= (wxPen 
*) 0 ; 
3611     PyObject 
* obj0 
= 0 ; 
3612     PyObject 
* obj1 
= 0 ; 
3614         (char *) "self",(char *) "other", NULL 
 
3617     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___ne__",kwnames
,&obj0
,&obj1
)) goto fail
; 
3618     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION 
| 0); 
3619     if (SWIG_arg_fail(1)) SWIG_fail
; 
3620     SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION 
| 0); 
3621     if (SWIG_arg_fail(2)) SWIG_fail
; 
3623         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3624         result 
= (bool)wxPen___ne__(arg1
,(wxPen 
const *)arg2
); 
3626         wxPyEndAllowThreads(__tstate
); 
3627         if (PyErr_Occurred()) SWIG_fail
; 
3630         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
3638 static PyObject 
* Pen_swigregister(PyObject 
*, PyObject 
*args
) { 
3640     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
3641     SWIG_TypeClientData(SWIGTYPE_p_wxPen
, obj
); 
3643     return Py_BuildValue((char *)""); 
3645 static PyObject 
*_wrap_new_Brush(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3646     PyObject 
*resultobj
; 
3647     wxColour 
*arg1 
= 0 ; 
3648     int arg2 
= (int) wxSOLID 
; 
3651     PyObject 
* obj0 
= 0 ; 
3652     PyObject 
* obj1 
= 0 ; 
3654         (char *) "colour",(char *) "style", NULL 
 
3657     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Brush",kwnames
,&obj0
,&obj1
)) goto fail
; 
3660         if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
; 
3664             arg2 
= (int)(SWIG_As_int(obj1
));  
3665             if (SWIG_arg_fail(2)) SWIG_fail
; 
3669         if (!wxPyCheckForApp()) SWIG_fail
; 
3670         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3671         result 
= (wxBrush 
*)new wxBrush((wxColour 
const &)*arg1
,arg2
); 
3673         wxPyEndAllowThreads(__tstate
); 
3674         if (PyErr_Occurred()) SWIG_fail
; 
3676     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBrush
, 1); 
3683 static PyObject 
*_wrap_new_BrushFromBitmap(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3684     PyObject 
*resultobj
; 
3685     wxBitmap 
*arg1 
= 0 ; 
3687     PyObject 
* obj0 
= 0 ; 
3689         (char *) "stippleBitmap", NULL 
 
3692     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BrushFromBitmap",kwnames
,&obj0
)) goto fail
; 
3694         SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION 
| 0); 
3695         if (SWIG_arg_fail(1)) SWIG_fail
; 
3697             SWIG_null_ref("wxBitmap"); 
3699         if (SWIG_arg_fail(1)) SWIG_fail
; 
3702         if (!wxPyCheckForApp()) SWIG_fail
; 
3703         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3704         result 
= (wxBrush 
*)new wxBrush((wxBitmap 
const &)*arg1
); 
3706         wxPyEndAllowThreads(__tstate
); 
3707         if (PyErr_Occurred()) SWIG_fail
; 
3709     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBrush
, 1); 
3716 static PyObject 
*_wrap_delete_Brush(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3717     PyObject 
*resultobj
; 
3718     wxBrush 
*arg1 
= (wxBrush 
*) 0 ; 
3719     PyObject 
* obj0 
= 0 ; 
3721         (char *) "self", NULL 
 
3724     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Brush",kwnames
,&obj0
)) goto fail
; 
3725     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBrush
, SWIG_POINTER_EXCEPTION 
| 0); 
3726     if (SWIG_arg_fail(1)) SWIG_fail
; 
3728         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3731         wxPyEndAllowThreads(__tstate
); 
3732         if (PyErr_Occurred()) SWIG_fail
; 
3734     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
3741 static PyObject 
*_wrap_Brush_SetColour(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3742     PyObject 
*resultobj
; 
3743     wxBrush 
*arg1 
= (wxBrush 
*) 0 ; 
3744     wxColour 
*arg2 
= 0 ; 
3746     PyObject 
* obj0 
= 0 ; 
3747     PyObject 
* obj1 
= 0 ; 
3749         (char *) "self",(char *) "col", NULL 
 
3752     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
; 
3753     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBrush
, SWIG_POINTER_EXCEPTION 
| 0); 
3754     if (SWIG_arg_fail(1)) SWIG_fail
; 
3757         if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
3760         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3761         (arg1
)->SetColour((wxColour 
const &)*arg2
); 
3763         wxPyEndAllowThreads(__tstate
); 
3764         if (PyErr_Occurred()) SWIG_fail
; 
3766     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
3773 static PyObject 
*_wrap_Brush_SetStyle(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3774     PyObject 
*resultobj
; 
3775     wxBrush 
*arg1 
= (wxBrush 
*) 0 ; 
3777     PyObject 
* obj0 
= 0 ; 
3778     PyObject 
* obj1 
= 0 ; 
3780         (char *) "self",(char *) "style", NULL 
 
3783     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
; 
3784     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBrush
, SWIG_POINTER_EXCEPTION 
| 0); 
3785     if (SWIG_arg_fail(1)) SWIG_fail
; 
3787         arg2 
= (int)(SWIG_As_int(obj1
));  
3788         if (SWIG_arg_fail(2)) SWIG_fail
; 
3791         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3792         (arg1
)->SetStyle(arg2
); 
3794         wxPyEndAllowThreads(__tstate
); 
3795         if (PyErr_Occurred()) SWIG_fail
; 
3797     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
3804 static PyObject 
*_wrap_Brush_SetStipple(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3805     PyObject 
*resultobj
; 
3806     wxBrush 
*arg1 
= (wxBrush 
*) 0 ; 
3807     wxBitmap 
*arg2 
= 0 ; 
3808     PyObject 
* obj0 
= 0 ; 
3809     PyObject 
* obj1 
= 0 ; 
3811         (char *) "self",(char *) "stipple", NULL 
 
3814     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStipple",kwnames
,&obj0
,&obj1
)) goto fail
; 
3815     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBrush
, SWIG_POINTER_EXCEPTION 
| 0); 
3816     if (SWIG_arg_fail(1)) SWIG_fail
; 
3818         SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION 
| 0); 
3819         if (SWIG_arg_fail(2)) SWIG_fail
; 
3821             SWIG_null_ref("wxBitmap"); 
3823         if (SWIG_arg_fail(2)) SWIG_fail
; 
3826         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3827         (arg1
)->SetStipple((wxBitmap 
const &)*arg2
); 
3829         wxPyEndAllowThreads(__tstate
); 
3830         if (PyErr_Occurred()) SWIG_fail
; 
3832     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
3839 static PyObject 
*_wrap_Brush_GetColour(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3840     PyObject 
*resultobj
; 
3841     wxBrush 
*arg1 
= (wxBrush 
*) 0 ; 
3843     PyObject 
* obj0 
= 0 ; 
3845         (char *) "self", NULL 
 
3848     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetColour",kwnames
,&obj0
)) goto fail
; 
3849     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBrush
, SWIG_POINTER_EXCEPTION 
| 0); 
3850     if (SWIG_arg_fail(1)) SWIG_fail
; 
3852         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3853         result 
= ((wxBrush 
const *)arg1
)->GetColour(); 
3855         wxPyEndAllowThreads(__tstate
); 
3856         if (PyErr_Occurred()) SWIG_fail
; 
3859         wxColour 
* resultptr
; 
3860         resultptr 
= new wxColour((wxColour 
&)(result
)); 
3861         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1); 
3869 static PyObject 
*_wrap_Brush_GetStyle(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3870     PyObject 
*resultobj
; 
3871     wxBrush 
*arg1 
= (wxBrush 
*) 0 ; 
3873     PyObject 
* obj0 
= 0 ; 
3875         (char *) "self", NULL 
 
3878     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetStyle",kwnames
,&obj0
)) goto fail
; 
3879     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBrush
, SWIG_POINTER_EXCEPTION 
| 0); 
3880     if (SWIG_arg_fail(1)) SWIG_fail
; 
3882         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3883         result 
= (int)((wxBrush 
const *)arg1
)->GetStyle(); 
3885         wxPyEndAllowThreads(__tstate
); 
3886         if (PyErr_Occurred()) SWIG_fail
; 
3889         resultobj 
= SWIG_From_int((int)(result
));  
3897 static PyObject 
*_wrap_Brush_GetStipple(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3898     PyObject 
*resultobj
; 
3899     wxBrush 
*arg1 
= (wxBrush 
*) 0 ; 
3901     PyObject 
* obj0 
= 0 ; 
3903         (char *) "self", NULL 
 
3906     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetStipple",kwnames
,&obj0
)) goto fail
; 
3907     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBrush
, SWIG_POINTER_EXCEPTION 
| 0); 
3908     if (SWIG_arg_fail(1)) SWIG_fail
; 
3910         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3911         result 
= (wxBitmap 
*)((wxBrush 
const *)arg1
)->GetStipple(); 
3913         wxPyEndAllowThreads(__tstate
); 
3914         if (PyErr_Occurred()) SWIG_fail
; 
3916     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 0); 
3923 static PyObject 
*_wrap_Brush_IsHatch(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3924     PyObject 
*resultobj
; 
3925     wxBrush 
*arg1 
= (wxBrush 
*) 0 ; 
3927     PyObject 
* obj0 
= 0 ; 
3929         (char *) "self", NULL 
 
3932     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_IsHatch",kwnames
,&obj0
)) goto fail
; 
3933     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBrush
, SWIG_POINTER_EXCEPTION 
| 0); 
3934     if (SWIG_arg_fail(1)) SWIG_fail
; 
3936         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3937         result 
= (bool)((wxBrush 
const *)arg1
)->IsHatch(); 
3939         wxPyEndAllowThreads(__tstate
); 
3940         if (PyErr_Occurred()) SWIG_fail
; 
3943         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
3951 static PyObject 
*_wrap_Brush_Ok(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3952     PyObject 
*resultobj
; 
3953     wxBrush 
*arg1 
= (wxBrush 
*) 0 ; 
3955     PyObject 
* obj0 
= 0 ; 
3957         (char *) "self", NULL 
 
3960     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_Ok",kwnames
,&obj0
)) goto fail
; 
3961     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBrush
, SWIG_POINTER_EXCEPTION 
| 0); 
3962     if (SWIG_arg_fail(1)) SWIG_fail
; 
3964         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3965         result 
= (bool)(arg1
)->Ok(); 
3967         wxPyEndAllowThreads(__tstate
); 
3968         if (PyErr_Occurred()) SWIG_fail
; 
3971         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
3979 static PyObject 
* Brush_swigregister(PyObject 
*, PyObject 
*args
) { 
3981     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
3982     SWIG_TypeClientData(SWIGTYPE_p_wxBrush
, obj
); 
3984     return Py_BuildValue((char *)""); 
3986 static PyObject 
*_wrap_new_Bitmap(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3987     PyObject 
*resultobj
; 
3988     wxString 
*arg1 
= 0 ; 
3989     wxBitmapType arg2 
= (wxBitmapType
) wxBITMAP_TYPE_ANY 
; 
3991     bool temp1 
= false ; 
3992     PyObject 
* obj0 
= 0 ; 
3993     PyObject 
* obj1 
= 0 ; 
3995         (char *) "name",(char *) "type", NULL 
 
3998     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Bitmap",kwnames
,&obj0
,&obj1
)) goto fail
; 
4000         arg1 
= wxString_in_helper(obj0
); 
4001         if (arg1 
== NULL
) SWIG_fail
; 
4006             arg2 
= (wxBitmapType
)(SWIG_As_int(obj1
));  
4007             if (SWIG_arg_fail(2)) SWIG_fail
; 
4011         if (!wxPyCheckForApp()) SWIG_fail
; 
4012         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4013         result 
= (wxBitmap 
*)new wxBitmap((wxString 
const &)*arg1
,(wxBitmapType 
)arg2
); 
4015         wxPyEndAllowThreads(__tstate
); 
4016         if (PyErr_Occurred()) SWIG_fail
; 
4018     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1); 
4033 static PyObject 
*_wrap_delete_Bitmap(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4034     PyObject 
*resultobj
; 
4035     wxBitmap 
*arg1 
= (wxBitmap 
*) 0 ; 
4036     PyObject 
* obj0 
= 0 ; 
4038         (char *) "self", NULL 
 
4041     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Bitmap",kwnames
,&obj0
)) goto fail
; 
4042     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION 
| 0); 
4043     if (SWIG_arg_fail(1)) SWIG_fail
; 
4045         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4048         wxPyEndAllowThreads(__tstate
); 
4049         if (PyErr_Occurred()) SWIG_fail
; 
4051     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
4058 static PyObject 
*_wrap_new_EmptyBitmap(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4059     PyObject 
*resultobj
; 
4062     int arg3 
= (int) -1 ; 
4064     PyObject 
* obj0 
= 0 ; 
4065     PyObject 
* obj1 
= 0 ; 
4066     PyObject 
* obj2 
= 0 ; 
4068         (char *) "width",(char *) "height",(char *) "depth", NULL 
 
4071     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_EmptyBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
4073         arg1 
= (int)(SWIG_As_int(obj0
));  
4074         if (SWIG_arg_fail(1)) SWIG_fail
; 
4077         arg2 
= (int)(SWIG_As_int(obj1
));  
4078         if (SWIG_arg_fail(2)) SWIG_fail
; 
4082             arg3 
= (int)(SWIG_As_int(obj2
));  
4083             if (SWIG_arg_fail(3)) SWIG_fail
; 
4087         if (!wxPyCheckForApp()) SWIG_fail
; 
4088         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4089         result 
= (wxBitmap 
*)new wxBitmap(arg1
,arg2
,arg3
); 
4091         wxPyEndAllowThreads(__tstate
); 
4092         if (PyErr_Occurred()) SWIG_fail
; 
4094     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1); 
4101 static PyObject 
*_wrap_new_BitmapFromIcon(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4102     PyObject 
*resultobj
; 
4105     PyObject 
* obj0 
= 0 ; 
4107         (char *) "icon", NULL 
 
4110     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromIcon",kwnames
,&obj0
)) goto fail
; 
4112         SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION 
| 0); 
4113         if (SWIG_arg_fail(1)) SWIG_fail
; 
4115             SWIG_null_ref("wxIcon"); 
4117         if (SWIG_arg_fail(1)) SWIG_fail
; 
4120         if (!wxPyCheckForApp()) SWIG_fail
; 
4121         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4122         result 
= (wxBitmap 
*)new wxBitmap((wxIcon 
const &)*arg1
); 
4124         wxPyEndAllowThreads(__tstate
); 
4125         if (PyErr_Occurred()) SWIG_fail
; 
4127     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1); 
4134 static PyObject 
*_wrap_new_BitmapFromImage(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4135     PyObject 
*resultobj
; 
4137     int arg2 
= (int) -1 ; 
4139     PyObject 
* obj0 
= 0 ; 
4140     PyObject 
* obj1 
= 0 ; 
4142         (char *) "image",(char *) "depth", NULL 
 
4145     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BitmapFromImage",kwnames
,&obj0
,&obj1
)) goto fail
; 
4147         SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION 
| 0); 
4148         if (SWIG_arg_fail(1)) SWIG_fail
; 
4150             SWIG_null_ref("wxImage"); 
4152         if (SWIG_arg_fail(1)) SWIG_fail
; 
4156             arg2 
= (int)(SWIG_As_int(obj1
));  
4157             if (SWIG_arg_fail(2)) SWIG_fail
; 
4161         if (!wxPyCheckForApp()) SWIG_fail
; 
4162         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4163         result 
= (wxBitmap 
*)new wxBitmap((wxImage 
const &)*arg1
,arg2
); 
4165         wxPyEndAllowThreads(__tstate
); 
4166         if (PyErr_Occurred()) SWIG_fail
; 
4168     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1); 
4175 static PyObject 
*_wrap_new_BitmapFromXPMData(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4176     PyObject 
*resultobj
; 
4177     PyObject 
*arg1 
= (PyObject 
*) 0 ; 
4179     PyObject 
* obj0 
= 0 ; 
4181         (char *) "listOfStrings", NULL 
 
4184     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromXPMData",kwnames
,&obj0
)) goto fail
; 
4187         if (!wxPyCheckForApp()) SWIG_fail
; 
4188         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4189         result 
= (wxBitmap 
*)new_wxBitmap(arg1
); 
4191         wxPyEndAllowThreads(__tstate
); 
4192         if (PyErr_Occurred()) SWIG_fail
; 
4194     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1); 
4201 static PyObject 
*_wrap_new_BitmapFromBits(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4202     PyObject 
*resultobj
; 
4203     PyObject 
*arg1 
= (PyObject 
*) 0 ; 
4206     int arg4 
= (int) 1 ; 
4208     PyObject 
* obj0 
= 0 ; 
4209     PyObject 
* obj1 
= 0 ; 
4210     PyObject 
* obj2 
= 0 ; 
4211     PyObject 
* obj3 
= 0 ; 
4213         (char *) "bits",(char *) "width",(char *) "height",(char *) "depth", NULL 
 
4216     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_BitmapFromBits",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
4219         arg2 
= (int)(SWIG_As_int(obj1
));  
4220         if (SWIG_arg_fail(2)) SWIG_fail
; 
4223         arg3 
= (int)(SWIG_As_int(obj2
));  
4224         if (SWIG_arg_fail(3)) SWIG_fail
; 
4228             arg4 
= (int)(SWIG_As_int(obj3
));  
4229             if (SWIG_arg_fail(4)) SWIG_fail
; 
4233         if (!wxPyCheckForApp()) SWIG_fail
; 
4234         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4235         result 
= (wxBitmap 
*)new_wxBitmap(arg1
,arg2
,arg3
,arg4
); 
4237         wxPyEndAllowThreads(__tstate
); 
4238         if (PyErr_Occurred()) SWIG_fail
; 
4240     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1); 
4247 static PyObject 
*_wrap_Bitmap_Ok(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4248     PyObject 
*resultobj
; 
4249     wxBitmap 
*arg1 
= (wxBitmap 
*) 0 ; 
4251     PyObject 
* obj0 
= 0 ; 
4253         (char *) "self", NULL 
 
4256     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_Ok",kwnames
,&obj0
)) goto fail
; 
4257     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION 
| 0); 
4258     if (SWIG_arg_fail(1)) SWIG_fail
; 
4260         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4261         result 
= (bool)(arg1
)->Ok(); 
4263         wxPyEndAllowThreads(__tstate
); 
4264         if (PyErr_Occurred()) SWIG_fail
; 
4267         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
4275 static PyObject 
*_wrap_Bitmap_GetWidth(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4276     PyObject 
*resultobj
; 
4277     wxBitmap 
*arg1 
= (wxBitmap 
*) 0 ; 
4279     PyObject 
* obj0 
= 0 ; 
4281         (char *) "self", NULL 
 
4284     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetWidth",kwnames
,&obj0
)) goto fail
; 
4285     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION 
| 0); 
4286     if (SWIG_arg_fail(1)) SWIG_fail
; 
4288         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4289         result 
= (int)(arg1
)->GetWidth(); 
4291         wxPyEndAllowThreads(__tstate
); 
4292         if (PyErr_Occurred()) SWIG_fail
; 
4295         resultobj 
= SWIG_From_int((int)(result
));  
4303 static PyObject 
*_wrap_Bitmap_GetHeight(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4304     PyObject 
*resultobj
; 
4305     wxBitmap 
*arg1 
= (wxBitmap 
*) 0 ; 
4307     PyObject 
* obj0 
= 0 ; 
4309         (char *) "self", NULL 
 
4312     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetHeight",kwnames
,&obj0
)) goto fail
; 
4313     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION 
| 0); 
4314     if (SWIG_arg_fail(1)) SWIG_fail
; 
4316         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4317         result 
= (int)(arg1
)->GetHeight(); 
4319         wxPyEndAllowThreads(__tstate
); 
4320         if (PyErr_Occurred()) SWIG_fail
; 
4323         resultobj 
= SWIG_From_int((int)(result
));  
4331 static PyObject 
*_wrap_Bitmap_GetDepth(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4332     PyObject 
*resultobj
; 
4333     wxBitmap 
*arg1 
= (wxBitmap 
*) 0 ; 
4335     PyObject 
* obj0 
= 0 ; 
4337         (char *) "self", NULL 
 
4340     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetDepth",kwnames
,&obj0
)) goto fail
; 
4341     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION 
| 0); 
4342     if (SWIG_arg_fail(1)) SWIG_fail
; 
4344         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4345         result 
= (int)(arg1
)->GetDepth(); 
4347         wxPyEndAllowThreads(__tstate
); 
4348         if (PyErr_Occurred()) SWIG_fail
; 
4351         resultobj 
= SWIG_From_int((int)(result
));  
4359 static PyObject 
*_wrap_Bitmap_GetSize(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4360     PyObject 
*resultobj
; 
4361     wxBitmap 
*arg1 
= (wxBitmap 
*) 0 ; 
4363     PyObject 
* obj0 
= 0 ; 
4365         (char *) "self", NULL 
 
4368     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetSize",kwnames
,&obj0
)) goto fail
; 
4369     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION 
| 0); 
4370     if (SWIG_arg_fail(1)) SWIG_fail
; 
4372         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4373         result 
= wxBitmap_GetSize(arg1
); 
4375         wxPyEndAllowThreads(__tstate
); 
4376         if (PyErr_Occurred()) SWIG_fail
; 
4380         resultptr 
= new wxSize((wxSize 
&)(result
)); 
4381         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1); 
4389 static PyObject 
*_wrap_Bitmap_ConvertToImage(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4390     PyObject 
*resultobj
; 
4391     wxBitmap 
*arg1 
= (wxBitmap 
*) 0 ; 
4392     SwigValueWrapper
<wxImage 
> result
; 
4393     PyObject 
* obj0 
= 0 ; 
4395         (char *) "self", NULL 
 
4398     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_ConvertToImage",kwnames
,&obj0
)) goto fail
; 
4399     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION 
| 0); 
4400     if (SWIG_arg_fail(1)) SWIG_fail
; 
4402         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4403         result 
= ((wxBitmap 
const *)arg1
)->ConvertToImage(); 
4405         wxPyEndAllowThreads(__tstate
); 
4406         if (PyErr_Occurred()) SWIG_fail
; 
4409         wxImage 
* resultptr
; 
4410         resultptr 
= new wxImage((wxImage 
&)(result
)); 
4411         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1); 
4419 static PyObject 
*_wrap_Bitmap_GetMask(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4420     PyObject 
*resultobj
; 
4421     wxBitmap 
*arg1 
= (wxBitmap 
*) 0 ; 
4423     PyObject 
* obj0 
= 0 ; 
4425         (char *) "self", NULL 
 
4428     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetMask",kwnames
,&obj0
)) goto fail
; 
4429     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION 
| 0); 
4430     if (SWIG_arg_fail(1)) SWIG_fail
; 
4432         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4433         result 
= (wxMask 
*)((wxBitmap 
const *)arg1
)->GetMask(); 
4435         wxPyEndAllowThreads(__tstate
); 
4436         if (PyErr_Occurred()) SWIG_fail
; 
4438     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMask
, 0); 
4445 static PyObject 
*_wrap_Bitmap_SetMask(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4446     PyObject 
*resultobj
; 
4447     wxBitmap 
*arg1 
= (wxBitmap 
*) 0 ; 
4448     wxMask 
*arg2 
= (wxMask 
*) 0 ; 
4449     PyObject 
* obj0 
= 0 ; 
4450     PyObject 
* obj1 
= 0 ; 
4452         (char *) "self",(char *) "mask", NULL 
 
4455     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
; 
4456     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION 
| 0); 
4457     if (SWIG_arg_fail(1)) SWIG_fail
; 
4458     SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMask
, SWIG_POINTER_EXCEPTION 
| 0); 
4459     if (SWIG_arg_fail(2)) SWIG_fail
; 
4461         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4462         (arg1
)->SetMask(arg2
); 
4464         wxPyEndAllowThreads(__tstate
); 
4465         if (PyErr_Occurred()) SWIG_fail
; 
4467     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
4474 static PyObject 
*_wrap_Bitmap_SetMaskColour(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4475     PyObject 
*resultobj
; 
4476     wxBitmap 
*arg1 
= (wxBitmap 
*) 0 ; 
4477     wxColour 
*arg2 
= 0 ; 
4479     PyObject 
* obj0 
= 0 ; 
4480     PyObject 
* obj1 
= 0 ; 
4482         (char *) "self",(char *) "colour", NULL 
 
4485     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMaskColour",kwnames
,&obj0
,&obj1
)) goto fail
; 
4486     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION 
| 0); 
4487     if (SWIG_arg_fail(1)) SWIG_fail
; 
4490         if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
4493         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4494         wxBitmap_SetMaskColour(arg1
,(wxColour 
const &)*arg2
); 
4496         wxPyEndAllowThreads(__tstate
); 
4497         if (PyErr_Occurred()) SWIG_fail
; 
4499     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
4506 static PyObject 
*_wrap_Bitmap_GetSubBitmap(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4507     PyObject 
*resultobj
; 
4508     wxBitmap 
*arg1 
= (wxBitmap 
*) 0 ; 
4510     SwigValueWrapper
<wxBitmap 
> result
; 
4512     PyObject 
* obj0 
= 0 ; 
4513     PyObject 
* obj1 
= 0 ; 
4515         (char *) "self",(char *) "rect", NULL 
 
4518     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_GetSubBitmap",kwnames
,&obj0
,&obj1
)) goto fail
; 
4519     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION 
| 0); 
4520     if (SWIG_arg_fail(1)) SWIG_fail
; 
4523         if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
; 
4526         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4527         result 
= ((wxBitmap 
const *)arg1
)->GetSubBitmap((wxRect 
const &)*arg2
); 
4529         wxPyEndAllowThreads(__tstate
); 
4530         if (PyErr_Occurred()) SWIG_fail
; 
4533         wxBitmap 
* resultptr
; 
4534         resultptr 
= new wxBitmap((wxBitmap 
&)(result
)); 
4535         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1); 
4543 static PyObject 
*_wrap_Bitmap_SaveFile(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4544     PyObject 
*resultobj
; 
4545     wxBitmap 
*arg1 
= (wxBitmap 
*) 0 ; 
4546     wxString 
*arg2 
= 0 ; 
4548     wxPalette 
*arg4 
= (wxPalette 
*) NULL 
; 
4550     bool temp2 
= false ; 
4551     PyObject 
* obj0 
= 0 ; 
4552     PyObject 
* obj1 
= 0 ; 
4553     PyObject 
* obj2 
= 0 ; 
4554     PyObject 
* obj3 
= 0 ; 
4556         (char *) "self",(char *) "name",(char *) "type",(char *) "palette", NULL 
 
4559     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Bitmap_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
4560     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION 
| 0); 
4561     if (SWIG_arg_fail(1)) SWIG_fail
; 
4563         arg2 
= wxString_in_helper(obj1
); 
4564         if (arg2 
== NULL
) SWIG_fail
; 
4568         arg3 
= (wxBitmapType
)(SWIG_As_int(obj2
));  
4569         if (SWIG_arg_fail(3)) SWIG_fail
; 
4572         SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxPalette
, SWIG_POINTER_EXCEPTION 
| 0); 
4573         if (SWIG_arg_fail(4)) SWIG_fail
; 
4576         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4577         result 
= (bool)(arg1
)->SaveFile((wxString 
const &)*arg2
,(wxBitmapType 
)arg3
,arg4
); 
4579         wxPyEndAllowThreads(__tstate
); 
4580         if (PyErr_Occurred()) SWIG_fail
; 
4583         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
4599 static PyObject 
*_wrap_Bitmap_LoadFile(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4600     PyObject 
*resultobj
; 
4601     wxBitmap 
*arg1 
= (wxBitmap 
*) 0 ; 
4602     wxString 
*arg2 
= 0 ; 
4605     bool temp2 
= false ; 
4606     PyObject 
* obj0 
= 0 ; 
4607     PyObject 
* obj1 
= 0 ; 
4608     PyObject 
* obj2 
= 0 ; 
4610         (char *) "self",(char *) "name",(char *) "type", NULL 
 
4613     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Bitmap_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
4614     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION 
| 0); 
4615     if (SWIG_arg_fail(1)) SWIG_fail
; 
4617         arg2 
= wxString_in_helper(obj1
); 
4618         if (arg2 
== NULL
) SWIG_fail
; 
4622         arg3 
= (wxBitmapType
)(SWIG_As_int(obj2
));  
4623         if (SWIG_arg_fail(3)) SWIG_fail
; 
4626         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4627         result 
= (bool)(arg1
)->LoadFile((wxString 
const &)*arg2
,(wxBitmapType 
)arg3
); 
4629         wxPyEndAllowThreads(__tstate
); 
4630         if (PyErr_Occurred()) SWIG_fail
; 
4633         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
4649 static PyObject 
*_wrap_Bitmap_GetPalette(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4650     PyObject 
*resultobj
; 
4651     wxBitmap 
*arg1 
= (wxBitmap 
*) 0 ; 
4653     PyObject 
* obj0 
= 0 ; 
4655         (char *) "self", NULL 
 
4658     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetPalette",kwnames
,&obj0
)) goto fail
; 
4659     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION 
| 0); 
4660     if (SWIG_arg_fail(1)) SWIG_fail
; 
4662         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4663         result 
= (wxPalette 
*)((wxBitmap 
const *)arg1
)->GetPalette(); 
4665         wxPyEndAllowThreads(__tstate
); 
4666         if (PyErr_Occurred()) SWIG_fail
; 
4668     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPalette
, 0); 
4675 static PyObject 
*_wrap_Bitmap_CopyFromIcon(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4676     PyObject 
*resultobj
; 
4677     wxBitmap 
*arg1 
= (wxBitmap 
*) 0 ; 
4680     PyObject 
* obj0 
= 0 ; 
4681     PyObject 
* obj1 
= 0 ; 
4683         (char *) "self",(char *) "icon", NULL 
 
4686     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromIcon",kwnames
,&obj0
,&obj1
)) goto fail
; 
4687     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION 
| 0); 
4688     if (SWIG_arg_fail(1)) SWIG_fail
; 
4690         SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION 
| 0); 
4691         if (SWIG_arg_fail(2)) SWIG_fail
; 
4693             SWIG_null_ref("wxIcon"); 
4695         if (SWIG_arg_fail(2)) SWIG_fail
; 
4698         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4699         result 
= (bool)(arg1
)->CopyFromIcon((wxIcon 
const &)*arg2
); 
4701         wxPyEndAllowThreads(__tstate
); 
4702         if (PyErr_Occurred()) SWIG_fail
; 
4705         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
4713 static PyObject 
*_wrap_Bitmap_SetHeight(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4714     PyObject 
*resultobj
; 
4715     wxBitmap 
*arg1 
= (wxBitmap 
*) 0 ; 
4717     PyObject 
* obj0 
= 0 ; 
4718     PyObject 
* obj1 
= 0 ; 
4720         (char *) "self",(char *) "height", NULL 
 
4723     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
; 
4724     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION 
| 0); 
4725     if (SWIG_arg_fail(1)) SWIG_fail
; 
4727         arg2 
= (int)(SWIG_As_int(obj1
));  
4728         if (SWIG_arg_fail(2)) SWIG_fail
; 
4731         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4732         (arg1
)->SetHeight(arg2
); 
4734         wxPyEndAllowThreads(__tstate
); 
4735         if (PyErr_Occurred()) SWIG_fail
; 
4737     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
4744 static PyObject 
*_wrap_Bitmap_SetWidth(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4745     PyObject 
*resultobj
; 
4746     wxBitmap 
*arg1 
= (wxBitmap 
*) 0 ; 
4748     PyObject 
* obj0 
= 0 ; 
4749     PyObject 
* obj1 
= 0 ; 
4751         (char *) "self",(char *) "width", NULL 
 
4754     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
; 
4755     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION 
| 0); 
4756     if (SWIG_arg_fail(1)) SWIG_fail
; 
4758         arg2 
= (int)(SWIG_As_int(obj1
));  
4759         if (SWIG_arg_fail(2)) SWIG_fail
; 
4762         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4763         (arg1
)->SetWidth(arg2
); 
4765         wxPyEndAllowThreads(__tstate
); 
4766         if (PyErr_Occurred()) SWIG_fail
; 
4768     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
4775 static PyObject 
*_wrap_Bitmap_SetDepth(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4776     PyObject 
*resultobj
; 
4777     wxBitmap 
*arg1 
= (wxBitmap 
*) 0 ; 
4779     PyObject 
* obj0 
= 0 ; 
4780     PyObject 
* obj1 
= 0 ; 
4782         (char *) "self",(char *) "depth", NULL 
 
4785     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetDepth",kwnames
,&obj0
,&obj1
)) goto fail
; 
4786     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION 
| 0); 
4787     if (SWIG_arg_fail(1)) SWIG_fail
; 
4789         arg2 
= (int)(SWIG_As_int(obj1
));  
4790         if (SWIG_arg_fail(2)) SWIG_fail
; 
4793         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4794         (arg1
)->SetDepth(arg2
); 
4796         wxPyEndAllowThreads(__tstate
); 
4797         if (PyErr_Occurred()) SWIG_fail
; 
4799     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
4806 static PyObject 
*_wrap_Bitmap_SetSize(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4807     PyObject 
*resultobj
; 
4808     wxBitmap 
*arg1 
= (wxBitmap 
*) 0 ; 
4811     PyObject 
* obj0 
= 0 ; 
4812     PyObject 
* obj1 
= 0 ; 
4814         (char *) "self",(char *) "size", NULL 
 
4817     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
; 
4818     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION 
| 0); 
4819     if (SWIG_arg_fail(1)) SWIG_fail
; 
4822         if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
; 
4825         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4826         wxBitmap_SetSize(arg1
,(wxSize 
const &)*arg2
); 
4828         wxPyEndAllowThreads(__tstate
); 
4829         if (PyErr_Occurred()) SWIG_fail
; 
4831     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
4838 static PyObject 
*_wrap_Bitmap___eq__(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4839     PyObject 
*resultobj
; 
4840     wxBitmap 
*arg1 
= (wxBitmap 
*) 0 ; 
4841     wxBitmap 
*arg2 
= (wxBitmap 
*) 0 ; 
4843     PyObject 
* obj0 
= 0 ; 
4844     PyObject 
* obj1 
= 0 ; 
4846         (char *) "self",(char *) "other", NULL 
 
4849     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___eq__",kwnames
,&obj0
,&obj1
)) goto fail
; 
4850     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION 
| 0); 
4851     if (SWIG_arg_fail(1)) SWIG_fail
; 
4852     SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION 
| 0); 
4853     if (SWIG_arg_fail(2)) SWIG_fail
; 
4855         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4856         result 
= (bool)wxBitmap___eq__(arg1
,(wxBitmap 
const *)arg2
); 
4858         wxPyEndAllowThreads(__tstate
); 
4859         if (PyErr_Occurred()) SWIG_fail
; 
4862         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
4870 static PyObject 
*_wrap_Bitmap___ne__(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4871     PyObject 
*resultobj
; 
4872     wxBitmap 
*arg1 
= (wxBitmap 
*) 0 ; 
4873     wxBitmap 
*arg2 
= (wxBitmap 
*) 0 ; 
4875     PyObject 
* obj0 
= 0 ; 
4876     PyObject 
* obj1 
= 0 ; 
4878         (char *) "self",(char *) "other", NULL 
 
4881     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___ne__",kwnames
,&obj0
,&obj1
)) goto fail
; 
4882     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION 
| 0); 
4883     if (SWIG_arg_fail(1)) SWIG_fail
; 
4884     SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION 
| 0); 
4885     if (SWIG_arg_fail(2)) SWIG_fail
; 
4887         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4888         result 
= (bool)wxBitmap___ne__(arg1
,(wxBitmap 
const *)arg2
); 
4890         wxPyEndAllowThreads(__tstate
); 
4891         if (PyErr_Occurred()) SWIG_fail
; 
4894         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
4902 static PyObject 
* Bitmap_swigregister(PyObject 
*, PyObject 
*args
) { 
4904     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
4905     SWIG_TypeClientData(SWIGTYPE_p_wxBitmap
, obj
); 
4907     return Py_BuildValue((char *)""); 
4909 static PyObject 
*_wrap_new_Mask(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4910     PyObject 
*resultobj
; 
4911     wxBitmap 
*arg1 
= 0 ; 
4912     wxColour 
const &arg2_defvalue 
= wxNullColour 
; 
4913     wxColour 
*arg2 
= (wxColour 
*) &arg2_defvalue 
; 
4916     PyObject 
* obj0 
= 0 ; 
4917     PyObject 
* obj1 
= 0 ; 
4919         (char *) "bitmap",(char *) "colour", NULL 
 
4922     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Mask",kwnames
,&obj0
,&obj1
)) goto fail
; 
4924         SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION 
| 0); 
4925         if (SWIG_arg_fail(1)) SWIG_fail
; 
4927             SWIG_null_ref("wxBitmap"); 
4929         if (SWIG_arg_fail(1)) SWIG_fail
; 
4934             if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
4938         if (!wxPyCheckForApp()) SWIG_fail
; 
4939         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4940         result 
= (wxMask 
*)new_wxMask((wxBitmap 
const &)*arg1
,(wxColour 
const &)*arg2
); 
4942         wxPyEndAllowThreads(__tstate
); 
4943         if (PyErr_Occurred()) SWIG_fail
; 
4945     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMask
, 1); 
4952 static PyObject 
* Mask_swigregister(PyObject 
*, PyObject 
*args
) { 
4954     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
4955     SWIG_TypeClientData(SWIGTYPE_p_wxMask
, obj
); 
4957     return Py_BuildValue((char *)""); 
4959 static PyObject 
*_wrap_new_Icon(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4960     PyObject 
*resultobj
; 
4961     wxString 
*arg1 
= 0 ; 
4963     int arg3 
= (int) -1 ; 
4964     int arg4 
= (int) -1 ; 
4966     bool temp1 
= false ; 
4967     PyObject 
* obj0 
= 0 ; 
4968     PyObject 
* obj1 
= 0 ; 
4969     PyObject 
* obj2 
= 0 ; 
4970     PyObject 
* obj3 
= 0 ; 
4972         (char *) "name",(char *) "type",(char *) "desiredWidth",(char *) "desiredHeight", NULL 
 
4975     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Icon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
4977         arg1 
= wxString_in_helper(obj0
); 
4978         if (arg1 
== NULL
) SWIG_fail
; 
4982         arg2 
= (wxBitmapType
)(SWIG_As_int(obj1
));  
4983         if (SWIG_arg_fail(2)) SWIG_fail
; 
4987             arg3 
= (int)(SWIG_As_int(obj2
));  
4988             if (SWIG_arg_fail(3)) SWIG_fail
; 
4993             arg4 
= (int)(SWIG_As_int(obj3
));  
4994             if (SWIG_arg_fail(4)) SWIG_fail
; 
4998         if (!wxPyCheckForApp()) SWIG_fail
; 
4999         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5000         result 
= (wxIcon 
*)new wxIcon((wxString 
const &)*arg1
,(wxBitmapType 
)arg2
,arg3
,arg4
); 
5002         wxPyEndAllowThreads(__tstate
); 
5003         if (PyErr_Occurred()) SWIG_fail
; 
5005     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1); 
5020 static PyObject 
*_wrap_delete_Icon(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5021     PyObject 
*resultobj
; 
5022     wxIcon 
*arg1 
= (wxIcon 
*) 0 ; 
5023     PyObject 
* obj0 
= 0 ; 
5025         (char *) "self", NULL 
 
5028     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Icon",kwnames
,&obj0
)) goto fail
; 
5029     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION 
| 0); 
5030     if (SWIG_arg_fail(1)) SWIG_fail
; 
5032         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5035         wxPyEndAllowThreads(__tstate
); 
5036         if (PyErr_Occurred()) SWIG_fail
; 
5038     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
5045 static PyObject 
*_wrap_new_EmptyIcon(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5046     PyObject 
*resultobj
; 
5052     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EmptyIcon",kwnames
)) goto fail
; 
5054         if (!wxPyCheckForApp()) SWIG_fail
; 
5055         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5056         result 
= (wxIcon 
*)new wxIcon(); 
5058         wxPyEndAllowThreads(__tstate
); 
5059         if (PyErr_Occurred()) SWIG_fail
; 
5061     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1); 
5068 static PyObject 
*_wrap_new_IconFromLocation(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5069     PyObject 
*resultobj
; 
5070     wxIconLocation 
*arg1 
= 0 ; 
5072     PyObject 
* obj0 
= 0 ; 
5074         (char *) "loc", NULL 
 
5077     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromLocation",kwnames
,&obj0
)) goto fail
; 
5079         SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_EXCEPTION 
| 0); 
5080         if (SWIG_arg_fail(1)) SWIG_fail
; 
5082             SWIG_null_ref("wxIconLocation"); 
5084         if (SWIG_arg_fail(1)) SWIG_fail
; 
5087         if (!wxPyCheckForApp()) SWIG_fail
; 
5088         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5089         result 
= (wxIcon 
*)new wxIcon((wxIconLocation 
const &)*arg1
); 
5091         wxPyEndAllowThreads(__tstate
); 
5092         if (PyErr_Occurred()) SWIG_fail
; 
5094     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1); 
5101 static PyObject 
*_wrap_new_IconFromBitmap(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5102     PyObject 
*resultobj
; 
5103     wxBitmap 
*arg1 
= 0 ; 
5105     PyObject 
* obj0 
= 0 ; 
5107         (char *) "bmp", NULL 
 
5110     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromBitmap",kwnames
,&obj0
)) goto fail
; 
5112         SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION 
| 0); 
5113         if (SWIG_arg_fail(1)) SWIG_fail
; 
5115             SWIG_null_ref("wxBitmap"); 
5117         if (SWIG_arg_fail(1)) SWIG_fail
; 
5120         if (!wxPyCheckForApp()) SWIG_fail
; 
5121         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5122         result 
= (wxIcon 
*)new_wxIcon((wxBitmap 
const &)*arg1
); 
5124         wxPyEndAllowThreads(__tstate
); 
5125         if (PyErr_Occurred()) SWIG_fail
; 
5127     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1); 
5134 static PyObject 
*_wrap_new_IconFromXPMData(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5135     PyObject 
*resultobj
; 
5136     PyObject 
*arg1 
= (PyObject 
*) 0 ; 
5138     PyObject 
* obj0 
= 0 ; 
5140         (char *) "listOfStrings", NULL 
 
5143     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromXPMData",kwnames
,&obj0
)) goto fail
; 
5146         if (!wxPyCheckForApp()) SWIG_fail
; 
5147         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5148         result 
= (wxIcon 
*)new_wxIcon(arg1
); 
5150         wxPyEndAllowThreads(__tstate
); 
5151         if (PyErr_Occurred()) SWIG_fail
; 
5153     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1); 
5160 static PyObject 
*_wrap_Icon_LoadFile(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5161     PyObject 
*resultobj
; 
5162     wxIcon 
*arg1 
= (wxIcon 
*) 0 ; 
5163     wxString 
*arg2 
= 0 ; 
5166     bool temp2 
= false ; 
5167     PyObject 
* obj0 
= 0 ; 
5168     PyObject 
* obj1 
= 0 ; 
5169     PyObject 
* obj2 
= 0 ; 
5171         (char *) "self",(char *) "name",(char *) "type", NULL 
 
5174     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Icon_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
5175     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION 
| 0); 
5176     if (SWIG_arg_fail(1)) SWIG_fail
; 
5178         arg2 
= wxString_in_helper(obj1
); 
5179         if (arg2 
== NULL
) SWIG_fail
; 
5183         arg3 
= (wxBitmapType
)(SWIG_As_int(obj2
));  
5184         if (SWIG_arg_fail(3)) SWIG_fail
; 
5187         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5188         result 
= (bool)(arg1
)->LoadFile((wxString 
const &)*arg2
,(wxBitmapType 
)arg3
); 
5190         wxPyEndAllowThreads(__tstate
); 
5191         if (PyErr_Occurred()) SWIG_fail
; 
5194         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
5210 static PyObject 
*_wrap_Icon_Ok(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5211     PyObject 
*resultobj
; 
5212     wxIcon 
*arg1 
= (wxIcon 
*) 0 ; 
5214     PyObject 
* obj0 
= 0 ; 
5216         (char *) "self", NULL 
 
5219     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_Ok",kwnames
,&obj0
)) goto fail
; 
5220     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION 
| 0); 
5221     if (SWIG_arg_fail(1)) SWIG_fail
; 
5223         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5224         result 
= (bool)(arg1
)->Ok(); 
5226         wxPyEndAllowThreads(__tstate
); 
5227         if (PyErr_Occurred()) SWIG_fail
; 
5230         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
5238 static PyObject 
*_wrap_Icon_GetWidth(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5239     PyObject 
*resultobj
; 
5240     wxIcon 
*arg1 
= (wxIcon 
*) 0 ; 
5242     PyObject 
* obj0 
= 0 ; 
5244         (char *) "self", NULL 
 
5247     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetWidth",kwnames
,&obj0
)) goto fail
; 
5248     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION 
| 0); 
5249     if (SWIG_arg_fail(1)) SWIG_fail
; 
5251         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5252         result 
= (int)(arg1
)->GetWidth(); 
5254         wxPyEndAllowThreads(__tstate
); 
5255         if (PyErr_Occurred()) SWIG_fail
; 
5258         resultobj 
= SWIG_From_int((int)(result
));  
5266 static PyObject 
*_wrap_Icon_GetHeight(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5267     PyObject 
*resultobj
; 
5268     wxIcon 
*arg1 
= (wxIcon 
*) 0 ; 
5270     PyObject 
* obj0 
= 0 ; 
5272         (char *) "self", NULL 
 
5275     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetHeight",kwnames
,&obj0
)) goto fail
; 
5276     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION 
| 0); 
5277     if (SWIG_arg_fail(1)) SWIG_fail
; 
5279         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5280         result 
= (int)(arg1
)->GetHeight(); 
5282         wxPyEndAllowThreads(__tstate
); 
5283         if (PyErr_Occurred()) SWIG_fail
; 
5286         resultobj 
= SWIG_From_int((int)(result
));  
5294 static PyObject 
*_wrap_Icon_GetDepth(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5295     PyObject 
*resultobj
; 
5296     wxIcon 
*arg1 
= (wxIcon 
*) 0 ; 
5298     PyObject 
* obj0 
= 0 ; 
5300         (char *) "self", NULL 
 
5303     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetDepth",kwnames
,&obj0
)) goto fail
; 
5304     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION 
| 0); 
5305     if (SWIG_arg_fail(1)) SWIG_fail
; 
5307         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5308         result 
= (int)(arg1
)->GetDepth(); 
5310         wxPyEndAllowThreads(__tstate
); 
5311         if (PyErr_Occurred()) SWIG_fail
; 
5314         resultobj 
= SWIG_From_int((int)(result
));  
5322 static PyObject 
*_wrap_Icon_SetWidth(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5323     PyObject 
*resultobj
; 
5324     wxIcon 
*arg1 
= (wxIcon 
*) 0 ; 
5326     PyObject 
* obj0 
= 0 ; 
5327     PyObject 
* obj1 
= 0 ; 
5329         (char *) "self",(char *) "w", NULL 
 
5332     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
; 
5333     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION 
| 0); 
5334     if (SWIG_arg_fail(1)) SWIG_fail
; 
5336         arg2 
= (int)(SWIG_As_int(obj1
));  
5337         if (SWIG_arg_fail(2)) SWIG_fail
; 
5340         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5341         (arg1
)->SetWidth(arg2
); 
5343         wxPyEndAllowThreads(__tstate
); 
5344         if (PyErr_Occurred()) SWIG_fail
; 
5346     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
5353 static PyObject 
*_wrap_Icon_SetHeight(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5354     PyObject 
*resultobj
; 
5355     wxIcon 
*arg1 
= (wxIcon 
*) 0 ; 
5357     PyObject 
* obj0 
= 0 ; 
5358     PyObject 
* obj1 
= 0 ; 
5360         (char *) "self",(char *) "h", NULL 
 
5363     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
; 
5364     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION 
| 0); 
5365     if (SWIG_arg_fail(1)) SWIG_fail
; 
5367         arg2 
= (int)(SWIG_As_int(obj1
));  
5368         if (SWIG_arg_fail(2)) SWIG_fail
; 
5371         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5372         (arg1
)->SetHeight(arg2
); 
5374         wxPyEndAllowThreads(__tstate
); 
5375         if (PyErr_Occurred()) SWIG_fail
; 
5377     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
5384 static PyObject 
*_wrap_Icon_SetDepth(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5385     PyObject 
*resultobj
; 
5386     wxIcon 
*arg1 
= (wxIcon 
*) 0 ; 
5388     PyObject 
* obj0 
= 0 ; 
5389     PyObject 
* obj1 
= 0 ; 
5391         (char *) "self",(char *) "d", NULL 
 
5394     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetDepth",kwnames
,&obj0
,&obj1
)) goto fail
; 
5395     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION 
| 0); 
5396     if (SWIG_arg_fail(1)) SWIG_fail
; 
5398         arg2 
= (int)(SWIG_As_int(obj1
));  
5399         if (SWIG_arg_fail(2)) SWIG_fail
; 
5402         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5403         (arg1
)->SetDepth(arg2
); 
5405         wxPyEndAllowThreads(__tstate
); 
5406         if (PyErr_Occurred()) SWIG_fail
; 
5408     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
5415 static PyObject 
*_wrap_Icon_CopyFromBitmap(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5416     PyObject 
*resultobj
; 
5417     wxIcon 
*arg1 
= (wxIcon 
*) 0 ; 
5418     wxBitmap 
*arg2 
= 0 ; 
5419     PyObject 
* obj0 
= 0 ; 
5420     PyObject 
* obj1 
= 0 ; 
5422         (char *) "self",(char *) "bmp", NULL 
 
5425     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_CopyFromBitmap",kwnames
,&obj0
,&obj1
)) goto fail
; 
5426     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION 
| 0); 
5427     if (SWIG_arg_fail(1)) SWIG_fail
; 
5429         SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION 
| 0); 
5430         if (SWIG_arg_fail(2)) SWIG_fail
; 
5432             SWIG_null_ref("wxBitmap"); 
5434         if (SWIG_arg_fail(2)) SWIG_fail
; 
5437         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5438         (arg1
)->CopyFromBitmap((wxBitmap 
const &)*arg2
); 
5440         wxPyEndAllowThreads(__tstate
); 
5441         if (PyErr_Occurred()) SWIG_fail
; 
5443     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
5450 static PyObject 
* Icon_swigregister(PyObject 
*, PyObject 
*args
) { 
5452     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
5453     SWIG_TypeClientData(SWIGTYPE_p_wxIcon
, obj
); 
5455     return Py_BuildValue((char *)""); 
5457 static PyObject 
*_wrap_new_IconLocation(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5458     PyObject 
*resultobj
; 
5459     wxString 
*arg1 
= (wxString 
*) &wxPyEmptyString 
; 
5460     int arg2 
= (int) 0 ; 
5461     wxIconLocation 
*result
; 
5462     bool temp1 
= false ; 
5463     PyObject 
* obj0 
= 0 ; 
5464     PyObject 
* obj1 
= 0 ; 
5466         (char *) "filename",(char *) "num", NULL 
 
5469     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconLocation",kwnames
,&obj0
,&obj1
)) goto fail
; 
5472             arg1 
= wxString_in_helper(obj0
); 
5473             if (arg1 
== NULL
) SWIG_fail
; 
5479             arg2 
= (int)(SWIG_As_int(obj1
));  
5480             if (SWIG_arg_fail(2)) SWIG_fail
; 
5484         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5485         result 
= (wxIconLocation 
*)new_wxIconLocation((wxString 
const *)arg1
,arg2
); 
5487         wxPyEndAllowThreads(__tstate
); 
5488         if (PyErr_Occurred()) SWIG_fail
; 
5490     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconLocation
, 1); 
5505 static PyObject 
*_wrap_delete_IconLocation(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5506     PyObject 
*resultobj
; 
5507     wxIconLocation 
*arg1 
= (wxIconLocation 
*) 0 ; 
5508     PyObject 
* obj0 
= 0 ; 
5510         (char *) "self", NULL 
 
5513     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_IconLocation",kwnames
,&obj0
)) goto fail
; 
5514     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_EXCEPTION 
| 0); 
5515     if (SWIG_arg_fail(1)) SWIG_fail
; 
5517         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5520         wxPyEndAllowThreads(__tstate
); 
5521         if (PyErr_Occurred()) SWIG_fail
; 
5523     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
5530 static PyObject 
*_wrap_IconLocation_IsOk(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5531     PyObject 
*resultobj
; 
5532     wxIconLocation 
*arg1 
= (wxIconLocation 
*) 0 ; 
5534     PyObject 
* obj0 
= 0 ; 
5536         (char *) "self", NULL 
 
5539     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_IsOk",kwnames
,&obj0
)) goto fail
; 
5540     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_EXCEPTION 
| 0); 
5541     if (SWIG_arg_fail(1)) SWIG_fail
; 
5543         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5544         result 
= (bool)((wxIconLocation 
const *)arg1
)->IsOk(); 
5546         wxPyEndAllowThreads(__tstate
); 
5547         if (PyErr_Occurred()) SWIG_fail
; 
5550         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
5558 static PyObject 
*_wrap_IconLocation_SetFileName(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5559     PyObject 
*resultobj
; 
5560     wxIconLocation 
*arg1 
= (wxIconLocation 
*) 0 ; 
5561     wxString 
*arg2 
= 0 ; 
5562     bool temp2 
= false ; 
5563     PyObject 
* obj0 
= 0 ; 
5564     PyObject 
* obj1 
= 0 ; 
5566         (char *) "self",(char *) "filename", NULL 
 
5569     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetFileName",kwnames
,&obj0
,&obj1
)) goto fail
; 
5570     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_EXCEPTION 
| 0); 
5571     if (SWIG_arg_fail(1)) SWIG_fail
; 
5573         arg2 
= wxString_in_helper(obj1
); 
5574         if (arg2 
== NULL
) SWIG_fail
; 
5578         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5579         (arg1
)->SetFileName((wxString 
const &)*arg2
); 
5581         wxPyEndAllowThreads(__tstate
); 
5582         if (PyErr_Occurred()) SWIG_fail
; 
5584     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
5599 static PyObject 
*_wrap_IconLocation_GetFileName(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5600     PyObject 
*resultobj
; 
5601     wxIconLocation 
*arg1 
= (wxIconLocation 
*) 0 ; 
5603     PyObject 
* obj0 
= 0 ; 
5605         (char *) "self", NULL 
 
5608     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_GetFileName",kwnames
,&obj0
)) goto fail
; 
5609     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_EXCEPTION 
| 0); 
5610     if (SWIG_arg_fail(1)) SWIG_fail
; 
5612         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5614             wxString 
const &_result_ref 
= ((wxIconLocation 
const *)arg1
)->GetFileName(); 
5615             result 
= (wxString 
*) &_result_ref
; 
5618         wxPyEndAllowThreads(__tstate
); 
5619         if (PyErr_Occurred()) SWIG_fail
; 
5623         resultobj 
= PyUnicode_FromWideChar(result
->c_str(), result
->Len()); 
5625         resultobj 
= PyString_FromStringAndSize(result
->c_str(), result
->Len()); 
5634 static PyObject 
*_wrap_IconLocation_SetIndex(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5635     PyObject 
*resultobj
; 
5636     wxIconLocation 
*arg1 
= (wxIconLocation 
*) 0 ; 
5638     PyObject 
* obj0 
= 0 ; 
5639     PyObject 
* obj1 
= 0 ; 
5641         (char *) "self",(char *) "num", NULL 
 
5644     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetIndex",kwnames
,&obj0
,&obj1
)) goto fail
; 
5645     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_EXCEPTION 
| 0); 
5646     if (SWIG_arg_fail(1)) SWIG_fail
; 
5648         arg2 
= (int)(SWIG_As_int(obj1
));  
5649         if (SWIG_arg_fail(2)) SWIG_fail
; 
5652         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5653         wxIconLocation_SetIndex(arg1
,arg2
); 
5655         wxPyEndAllowThreads(__tstate
); 
5656         if (PyErr_Occurred()) SWIG_fail
; 
5658     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
5665 static PyObject 
*_wrap_IconLocation_GetIndex(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5666     PyObject 
*resultobj
; 
5667     wxIconLocation 
*arg1 
= (wxIconLocation 
*) 0 ; 
5669     PyObject 
* obj0 
= 0 ; 
5671         (char *) "self", NULL 
 
5674     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_GetIndex",kwnames
,&obj0
)) goto fail
; 
5675     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_EXCEPTION 
| 0); 
5676     if (SWIG_arg_fail(1)) SWIG_fail
; 
5678         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5679         result 
= (int)wxIconLocation_GetIndex(arg1
); 
5681         wxPyEndAllowThreads(__tstate
); 
5682         if (PyErr_Occurred()) SWIG_fail
; 
5685         resultobj 
= SWIG_From_int((int)(result
));  
5693 static PyObject 
* IconLocation_swigregister(PyObject 
*, PyObject 
*args
) { 
5695     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
5696     SWIG_TypeClientData(SWIGTYPE_p_wxIconLocation
, obj
); 
5698     return Py_BuildValue((char *)""); 
5700 static PyObject 
*_wrap_new_IconBundle(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5701     PyObject 
*resultobj
; 
5702     wxIconBundle 
*result
; 
5707     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_IconBundle",kwnames
)) goto fail
; 
5709         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5710         result 
= (wxIconBundle 
*)new wxIconBundle(); 
5712         wxPyEndAllowThreads(__tstate
); 
5713         if (PyErr_Occurred()) SWIG_fail
; 
5715     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconBundle
, 1); 
5722 static PyObject 
*_wrap_new_IconBundleFromFile(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5723     PyObject 
*resultobj
; 
5724     wxString 
*arg1 
= 0 ; 
5726     wxIconBundle 
*result
; 
5727     bool temp1 
= false ; 
5728     PyObject 
* obj0 
= 0 ; 
5729     PyObject 
* obj1 
= 0 ; 
5731         (char *) "file",(char *) "type", NULL 
 
5734     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_IconBundleFromFile",kwnames
,&obj0
,&obj1
)) goto fail
; 
5736         arg1 
= wxString_in_helper(obj0
); 
5737         if (arg1 
== NULL
) SWIG_fail
; 
5741         arg2 
= (long)(SWIG_As_long(obj1
));  
5742         if (SWIG_arg_fail(2)) SWIG_fail
; 
5745         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5746         result 
= (wxIconBundle 
*)new wxIconBundle((wxString 
const &)*arg1
,arg2
); 
5748         wxPyEndAllowThreads(__tstate
); 
5749         if (PyErr_Occurred()) SWIG_fail
; 
5751     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconBundle
, 1); 
5766 static PyObject 
*_wrap_new_IconBundleFromIcon(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5767     PyObject 
*resultobj
; 
5769     wxIconBundle 
*result
; 
5770     PyObject 
* obj0 
= 0 ; 
5772         (char *) "icon", NULL 
 
5775     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconBundleFromIcon",kwnames
,&obj0
)) goto fail
; 
5777         SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION 
| 0); 
5778         if (SWIG_arg_fail(1)) SWIG_fail
; 
5780             SWIG_null_ref("wxIcon"); 
5782         if (SWIG_arg_fail(1)) SWIG_fail
; 
5785         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5786         result 
= (wxIconBundle 
*)new wxIconBundle((wxIcon 
const &)*arg1
); 
5788         wxPyEndAllowThreads(__tstate
); 
5789         if (PyErr_Occurred()) SWIG_fail
; 
5791     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconBundle
, 1); 
5798 static PyObject 
*_wrap_delete_IconBundle(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5799     PyObject 
*resultobj
; 
5800     wxIconBundle 
*arg1 
= (wxIconBundle 
*) 0 ; 
5801     PyObject 
* obj0 
= 0 ; 
5803         (char *) "self", NULL 
 
5806     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_IconBundle",kwnames
,&obj0
)) goto fail
; 
5807     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_EXCEPTION 
| 0); 
5808     if (SWIG_arg_fail(1)) SWIG_fail
; 
5810         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5813         wxPyEndAllowThreads(__tstate
); 
5814         if (PyErr_Occurred()) SWIG_fail
; 
5816     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
5823 static PyObject 
*_wrap_IconBundle_AddIcon(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5824     PyObject 
*resultobj
; 
5825     wxIconBundle 
*arg1 
= (wxIconBundle 
*) 0 ; 
5827     PyObject 
* obj0 
= 0 ; 
5828     PyObject 
* obj1 
= 0 ; 
5830         (char *) "self",(char *) "icon", NULL 
 
5833     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_AddIcon",kwnames
,&obj0
,&obj1
)) goto fail
; 
5834     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_EXCEPTION 
| 0); 
5835     if (SWIG_arg_fail(1)) SWIG_fail
; 
5837         SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION 
| 0); 
5838         if (SWIG_arg_fail(2)) SWIG_fail
; 
5840             SWIG_null_ref("wxIcon"); 
5842         if (SWIG_arg_fail(2)) SWIG_fail
; 
5845         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5846         (arg1
)->AddIcon((wxIcon 
const &)*arg2
); 
5848         wxPyEndAllowThreads(__tstate
); 
5849         if (PyErr_Occurred()) SWIG_fail
; 
5851     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
5858 static PyObject 
*_wrap_IconBundle_AddIconFromFile(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5859     PyObject 
*resultobj
; 
5860     wxIconBundle 
*arg1 
= (wxIconBundle 
*) 0 ; 
5861     wxString 
*arg2 
= 0 ; 
5863     bool temp2 
= false ; 
5864     PyObject 
* obj0 
= 0 ; 
5865     PyObject 
* obj1 
= 0 ; 
5866     PyObject 
* obj2 
= 0 ; 
5868         (char *) "self",(char *) "file",(char *) "type", NULL 
 
5871     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IconBundle_AddIconFromFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
5872     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_EXCEPTION 
| 0); 
5873     if (SWIG_arg_fail(1)) SWIG_fail
; 
5875         arg2 
= wxString_in_helper(obj1
); 
5876         if (arg2 
== NULL
) SWIG_fail
; 
5880         arg3 
= (long)(SWIG_As_long(obj2
));  
5881         if (SWIG_arg_fail(3)) SWIG_fail
; 
5884         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5885         (arg1
)->AddIcon((wxString 
const &)*arg2
,arg3
); 
5887         wxPyEndAllowThreads(__tstate
); 
5888         if (PyErr_Occurred()) SWIG_fail
; 
5890     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
5905 static PyObject 
*_wrap_IconBundle_GetIcon(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5906     PyObject 
*resultobj
; 
5907     wxIconBundle 
*arg1 
= (wxIconBundle 
*) 0 ; 
5911     PyObject 
* obj0 
= 0 ; 
5912     PyObject 
* obj1 
= 0 ; 
5914         (char *) "self",(char *) "size", NULL 
 
5917     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_GetIcon",kwnames
,&obj0
,&obj1
)) goto fail
; 
5918     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_EXCEPTION 
| 0); 
5919     if (SWIG_arg_fail(1)) SWIG_fail
; 
5922         if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
; 
5925         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5927             wxIcon 
const &_result_ref 
= ((wxIconBundle 
const *)arg1
)->GetIcon((wxSize 
const &)*arg2
); 
5928             result 
= (wxIcon 
*) &_result_ref
; 
5931         wxPyEndAllowThreads(__tstate
); 
5932         if (PyErr_Occurred()) SWIG_fail
; 
5935         wxIcon
* resultptr 
= new wxIcon(*result
); 
5936         resultobj 
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxIcon
, 1); 
5944 static PyObject 
* IconBundle_swigregister(PyObject 
*, PyObject 
*args
) { 
5946     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
5947     SWIG_TypeClientData(SWIGTYPE_p_wxIconBundle
, obj
); 
5949     return Py_BuildValue((char *)""); 
5951 static PyObject 
*_wrap_new_Cursor(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5952     PyObject 
*resultobj
; 
5953     wxString 
*arg1 
= 0 ; 
5955     int arg3 
= (int) 0 ; 
5956     int arg4 
= (int) 0 ; 
5958     bool temp1 
= false ; 
5959     PyObject 
* obj0 
= 0 ; 
5960     PyObject 
* obj1 
= 0 ; 
5961     PyObject 
* obj2 
= 0 ; 
5962     PyObject 
* obj3 
= 0 ; 
5964         (char *) "cursorName",(char *) "type",(char *) "hotSpotX",(char *) "hotSpotY", NULL 
 
5967     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Cursor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
5969         arg1 
= wxString_in_helper(obj0
); 
5970         if (arg1 
== NULL
) SWIG_fail
; 
5974         arg2 
= (long)(SWIG_As_long(obj1
));  
5975         if (SWIG_arg_fail(2)) SWIG_fail
; 
5979             arg3 
= (int)(SWIG_As_int(obj2
));  
5980             if (SWIG_arg_fail(3)) SWIG_fail
; 
5985             arg4 
= (int)(SWIG_As_int(obj3
));  
5986             if (SWIG_arg_fail(4)) SWIG_fail
; 
5990         if (!wxPyCheckForApp()) SWIG_fail
; 
5991         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5992         result 
= (wxCursor 
*)new_wxCursor((wxString 
const &)*arg1
,arg2
,arg3
,arg4
); 
5994         wxPyEndAllowThreads(__tstate
); 
5995         if (PyErr_Occurred()) SWIG_fail
; 
5997     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCursor
, 1); 
6012 static PyObject 
*_wrap_delete_Cursor(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6013     PyObject 
*resultobj
; 
6014     wxCursor 
*arg1 
= (wxCursor 
*) 0 ; 
6015     PyObject 
* obj0 
= 0 ; 
6017         (char *) "self", NULL 
 
6020     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Cursor",kwnames
,&obj0
)) goto fail
; 
6021     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION 
| 0); 
6022     if (SWIG_arg_fail(1)) SWIG_fail
; 
6024         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6027         wxPyEndAllowThreads(__tstate
); 
6028         if (PyErr_Occurred()) SWIG_fail
; 
6030     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
6037 static PyObject 
*_wrap_new_StockCursor(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6038     PyObject 
*resultobj
; 
6041     PyObject 
* obj0 
= 0 ; 
6046     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_StockCursor",kwnames
,&obj0
)) goto fail
; 
6048         arg1 
= (int)(SWIG_As_int(obj0
));  
6049         if (SWIG_arg_fail(1)) SWIG_fail
; 
6052         if (!wxPyCheckForApp()) SWIG_fail
; 
6053         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6054         result 
= (wxCursor 
*)new wxCursor(arg1
); 
6056         wxPyEndAllowThreads(__tstate
); 
6057         if (PyErr_Occurred()) SWIG_fail
; 
6059     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCursor
, 1); 
6066 static PyObject 
*_wrap_new_CursorFromImage(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6067     PyObject 
*resultobj
; 
6070     PyObject 
* obj0 
= 0 ; 
6072         (char *) "image", NULL 
 
6075     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CursorFromImage",kwnames
,&obj0
)) goto fail
; 
6077         SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION 
| 0); 
6078         if (SWIG_arg_fail(1)) SWIG_fail
; 
6080             SWIG_null_ref("wxImage"); 
6082         if (SWIG_arg_fail(1)) SWIG_fail
; 
6085         if (!wxPyCheckForApp()) SWIG_fail
; 
6086         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6087         result 
= (wxCursor 
*)new wxCursor((wxImage 
const &)*arg1
); 
6089         wxPyEndAllowThreads(__tstate
); 
6090         if (PyErr_Occurred()) SWIG_fail
; 
6092     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCursor
, 1); 
6099 static PyObject 
*_wrap_Cursor_Ok(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6100     PyObject 
*resultobj
; 
6101     wxCursor 
*arg1 
= (wxCursor 
*) 0 ; 
6103     PyObject 
* obj0 
= 0 ; 
6105         (char *) "self", NULL 
 
6108     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Cursor_Ok",kwnames
,&obj0
)) goto fail
; 
6109     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION 
| 0); 
6110     if (SWIG_arg_fail(1)) SWIG_fail
; 
6112         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6113         result 
= (bool)(arg1
)->Ok(); 
6115         wxPyEndAllowThreads(__tstate
); 
6116         if (PyErr_Occurred()) SWIG_fail
; 
6119         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
6127 static PyObject 
* Cursor_swigregister(PyObject 
*, PyObject 
*args
) { 
6129     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
6130     SWIG_TypeClientData(SWIGTYPE_p_wxCursor
, obj
); 
6132     return Py_BuildValue((char *)""); 
6134 static PyObject 
*_wrap_new_Region(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6135     PyObject 
*resultobj
; 
6136     int arg1 
= (int) 0 ; 
6137     int arg2 
= (int) 0 ; 
6138     int arg3 
= (int) 0 ; 
6139     int arg4 
= (int) 0 ; 
6141     PyObject 
* obj0 
= 0 ; 
6142     PyObject 
* obj1 
= 0 ; 
6143     PyObject 
* obj2 
= 0 ; 
6144     PyObject 
* obj3 
= 0 ; 
6146         (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL 
 
6149     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Region",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
6152             arg1 
= (int)(SWIG_As_int(obj0
));  
6153             if (SWIG_arg_fail(1)) SWIG_fail
; 
6158             arg2 
= (int)(SWIG_As_int(obj1
));  
6159             if (SWIG_arg_fail(2)) SWIG_fail
; 
6164             arg3 
= (int)(SWIG_As_int(obj2
));  
6165             if (SWIG_arg_fail(3)) SWIG_fail
; 
6170             arg4 
= (int)(SWIG_As_int(obj3
));  
6171             if (SWIG_arg_fail(4)) SWIG_fail
; 
6175         if (!wxPyCheckForApp()) SWIG_fail
; 
6176         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6177         result 
= (wxRegion 
*)new wxRegion(arg1
,arg2
,arg3
,arg4
); 
6179         wxPyEndAllowThreads(__tstate
); 
6180         if (PyErr_Occurred()) SWIG_fail
; 
6182     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1); 
6189 static PyObject 
*_wrap_new_RegionFromBitmap(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6190     PyObject 
*resultobj
; 
6191     wxBitmap 
*arg1 
= 0 ; 
6193     PyObject 
* obj0 
= 0 ; 
6195         (char *) "bmp", NULL 
 
6198     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionFromBitmap",kwnames
,&obj0
)) goto fail
; 
6200         SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION 
| 0); 
6201         if (SWIG_arg_fail(1)) SWIG_fail
; 
6203             SWIG_null_ref("wxBitmap"); 
6205         if (SWIG_arg_fail(1)) SWIG_fail
; 
6208         if (!wxPyCheckForApp()) SWIG_fail
; 
6209         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6210         result 
= (wxRegion 
*)new wxRegion((wxBitmap 
const &)*arg1
); 
6212         wxPyEndAllowThreads(__tstate
); 
6213         if (PyErr_Occurred()) SWIG_fail
; 
6215     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1); 
6222 static PyObject 
*_wrap_new_RegionFromBitmapColour(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6223     PyObject 
*resultobj
; 
6224     wxBitmap 
*arg1 
= 0 ; 
6225     wxColour 
*arg2 
= 0 ; 
6226     int arg3 
= (int) 0 ; 
6229     PyObject 
* obj0 
= 0 ; 
6230     PyObject 
* obj1 
= 0 ; 
6231     PyObject 
* obj2 
= 0 ; 
6233         (char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL 
 
6236     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_RegionFromBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
6238         SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION 
| 0); 
6239         if (SWIG_arg_fail(1)) SWIG_fail
; 
6241             SWIG_null_ref("wxBitmap"); 
6243         if (SWIG_arg_fail(1)) SWIG_fail
; 
6247         if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
6251             arg3 
= (int)(SWIG_As_int(obj2
));  
6252             if (SWIG_arg_fail(3)) SWIG_fail
; 
6256         if (!wxPyCheckForApp()) SWIG_fail
; 
6257         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6258         result 
= (wxRegion 
*)new wxRegion((wxBitmap 
const &)*arg1
,(wxColour 
const &)*arg2
,arg3
); 
6260         wxPyEndAllowThreads(__tstate
); 
6261         if (PyErr_Occurred()) SWIG_fail
; 
6263     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1); 
6270 static PyObject 
*_wrap_new_RegionFromPoints(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6271     PyObject 
*resultobj
; 
6273     wxPoint 
*arg2 
= (wxPoint 
*) 0 ; 
6274     int arg3 
= (int) wxWINDING_RULE 
; 
6276     PyObject 
* obj0 
= 0 ; 
6277     PyObject 
* obj1 
= 0 ; 
6279         (char *) "points",(char *) "fillStyle", NULL 
 
6282     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_RegionFromPoints",kwnames
,&obj0
,&obj1
)) goto fail
; 
6284         arg2 
= wxPoint_LIST_helper(obj0
, &arg1
); 
6285         if (arg2 
== NULL
) SWIG_fail
; 
6289             arg3 
= (int)(SWIG_As_int(obj1
));  
6290             if (SWIG_arg_fail(3)) SWIG_fail
; 
6294         if (!wxPyCheckForApp()) SWIG_fail
; 
6295         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6296         result 
= (wxRegion 
*)new wxRegion(arg1
,arg2
,arg3
); 
6298         wxPyEndAllowThreads(__tstate
); 
6299         if (PyErr_Occurred()) SWIG_fail
; 
6301     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1); 
6303         if (arg2
) delete [] arg2
; 
6308         if (arg2
) delete [] arg2
; 
6314 static PyObject 
*_wrap_delete_Region(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6315     PyObject 
*resultobj
; 
6316     wxRegion 
*arg1 
= (wxRegion 
*) 0 ; 
6317     PyObject 
* obj0 
= 0 ; 
6319         (char *) "self", NULL 
 
6322     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Region",kwnames
,&obj0
)) goto fail
; 
6323     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION 
| 0); 
6324     if (SWIG_arg_fail(1)) SWIG_fail
; 
6326         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6329         wxPyEndAllowThreads(__tstate
); 
6330         if (PyErr_Occurred()) SWIG_fail
; 
6332     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
6339 static PyObject 
*_wrap_Region_Clear(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6340     PyObject 
*resultobj
; 
6341     wxRegion 
*arg1 
= (wxRegion 
*) 0 ; 
6342     PyObject 
* obj0 
= 0 ; 
6344         (char *) "self", NULL 
 
6347     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_Clear",kwnames
,&obj0
)) goto fail
; 
6348     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION 
| 0); 
6349     if (SWIG_arg_fail(1)) SWIG_fail
; 
6351         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6354         wxPyEndAllowThreads(__tstate
); 
6355         if (PyErr_Occurred()) SWIG_fail
; 
6357     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
6364 static PyObject 
*_wrap_Region_Offset(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6365     PyObject 
*resultobj
; 
6366     wxRegion 
*arg1 
= (wxRegion 
*) 0 ; 
6370     PyObject 
* obj0 
= 0 ; 
6371     PyObject 
* obj1 
= 0 ; 
6372     PyObject 
* obj2 
= 0 ; 
6374         (char *) "self",(char *) "x",(char *) "y", NULL 
 
6377     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Offset",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
6378     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION 
| 0); 
6379     if (SWIG_arg_fail(1)) SWIG_fail
; 
6381         arg2 
= (int)(SWIG_As_int(obj1
));  
6382         if (SWIG_arg_fail(2)) SWIG_fail
; 
6385         arg3 
= (int)(SWIG_As_int(obj2
));  
6386         if (SWIG_arg_fail(3)) SWIG_fail
; 
6389         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6390         result 
= (bool)(arg1
)->Offset(arg2
,arg3
); 
6392         wxPyEndAllowThreads(__tstate
); 
6393         if (PyErr_Occurred()) SWIG_fail
; 
6396         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
6404 static PyObject 
*_wrap_Region_Contains(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6405     PyObject 
*resultobj
; 
6406     wxRegion 
*arg1 
= (wxRegion 
*) 0 ; 
6409     wxRegionContain result
; 
6410     PyObject 
* obj0 
= 0 ; 
6411     PyObject 
* obj1 
= 0 ; 
6412     PyObject 
* obj2 
= 0 ; 
6414         (char *) "self",(char *) "x",(char *) "y", NULL 
 
6417     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Contains",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
6418     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION 
| 0); 
6419     if (SWIG_arg_fail(1)) SWIG_fail
; 
6421         arg2 
= (int)(SWIG_As_int(obj1
));  
6422         if (SWIG_arg_fail(2)) SWIG_fail
; 
6425         arg3 
= (int)(SWIG_As_int(obj2
));  
6426         if (SWIG_arg_fail(3)) SWIG_fail
; 
6429         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6430         result 
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
); 
6432         wxPyEndAllowThreads(__tstate
); 
6433         if (PyErr_Occurred()) SWIG_fail
; 
6435     resultobj 
= SWIG_From_int((result
)); 
6442 static PyObject 
*_wrap_Region_ContainsPoint(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6443     PyObject 
*resultobj
; 
6444     wxRegion 
*arg1 
= (wxRegion 
*) 0 ; 
6446     wxRegionContain result
; 
6448     PyObject 
* obj0 
= 0 ; 
6449     PyObject 
* obj1 
= 0 ; 
6451         (char *) "self",(char *) "pt", NULL 
 
6454     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsPoint",kwnames
,&obj0
,&obj1
)) goto fail
; 
6455     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION 
| 0); 
6456     if (SWIG_arg_fail(1)) SWIG_fail
; 
6459         if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
6462         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6463         result 
= (wxRegionContain
)(arg1
)->Contains((wxPoint 
const &)*arg2
); 
6465         wxPyEndAllowThreads(__tstate
); 
6466         if (PyErr_Occurred()) SWIG_fail
; 
6468     resultobj 
= SWIG_From_int((result
)); 
6475 static PyObject 
*_wrap_Region_ContainsRect(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6476     PyObject 
*resultobj
; 
6477     wxRegion 
*arg1 
= (wxRegion 
*) 0 ; 
6479     wxRegionContain result
; 
6481     PyObject 
* obj0 
= 0 ; 
6482     PyObject 
* obj1 
= 0 ; 
6484         (char *) "self",(char *) "rect", NULL 
 
6487     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsRect",kwnames
,&obj0
,&obj1
)) goto fail
; 
6488     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION 
| 0); 
6489     if (SWIG_arg_fail(1)) SWIG_fail
; 
6492         if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
; 
6495         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6496         result 
= (wxRegionContain
)(arg1
)->Contains((wxRect 
const &)*arg2
); 
6498         wxPyEndAllowThreads(__tstate
); 
6499         if (PyErr_Occurred()) SWIG_fail
; 
6501     resultobj 
= SWIG_From_int((result
)); 
6508 static PyObject 
*_wrap_Region_ContainsRectDim(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6509     PyObject 
*resultobj
; 
6510     wxRegion 
*arg1 
= (wxRegion 
*) 0 ; 
6515     wxRegionContain result
; 
6516     PyObject 
* obj0 
= 0 ; 
6517     PyObject 
* obj1 
= 0 ; 
6518     PyObject 
* obj2 
= 0 ; 
6519     PyObject 
* obj3 
= 0 ; 
6520     PyObject 
* obj4 
= 0 ; 
6522         (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL 
 
6525     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_ContainsRectDim",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
; 
6526     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION 
| 0); 
6527     if (SWIG_arg_fail(1)) SWIG_fail
; 
6529         arg2 
= (int)(SWIG_As_int(obj1
));  
6530         if (SWIG_arg_fail(2)) SWIG_fail
; 
6533         arg3 
= (int)(SWIG_As_int(obj2
));  
6534         if (SWIG_arg_fail(3)) SWIG_fail
; 
6537         arg4 
= (int)(SWIG_As_int(obj3
));  
6538         if (SWIG_arg_fail(4)) SWIG_fail
; 
6541         arg5 
= (int)(SWIG_As_int(obj4
));  
6542         if (SWIG_arg_fail(5)) SWIG_fail
; 
6545         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6546         result 
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
,arg4
,arg5
); 
6548         wxPyEndAllowThreads(__tstate
); 
6549         if (PyErr_Occurred()) SWIG_fail
; 
6551     resultobj 
= SWIG_From_int((result
)); 
6558 static PyObject 
*_wrap_Region_GetBox(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6559     PyObject 
*resultobj
; 
6560     wxRegion 
*arg1 
= (wxRegion 
*) 0 ; 
6562     PyObject 
* obj0 
= 0 ; 
6564         (char *) "self", NULL 
 
6567     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_GetBox",kwnames
,&obj0
)) goto fail
; 
6568     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION 
| 0); 
6569     if (SWIG_arg_fail(1)) SWIG_fail
; 
6571         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6572         result 
= (arg1
)->GetBox(); 
6574         wxPyEndAllowThreads(__tstate
); 
6575         if (PyErr_Occurred()) SWIG_fail
; 
6579         resultptr 
= new wxRect((wxRect 
&)(result
)); 
6580         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1); 
6588 static PyObject 
*_wrap_Region_Intersect(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6589     PyObject 
*resultobj
; 
6590     wxRegion 
*arg1 
= (wxRegion 
*) 0 ; 
6596     PyObject 
* obj0 
= 0 ; 
6597     PyObject 
* obj1 
= 0 ; 
6598     PyObject 
* obj2 
= 0 ; 
6599     PyObject 
* obj3 
= 0 ; 
6600     PyObject 
* obj4 
= 0 ; 
6602         (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL 
 
6605     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Intersect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
; 
6606     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION 
| 0); 
6607     if (SWIG_arg_fail(1)) SWIG_fail
; 
6609         arg2 
= (int)(SWIG_As_int(obj1
));  
6610         if (SWIG_arg_fail(2)) SWIG_fail
; 
6613         arg3 
= (int)(SWIG_As_int(obj2
));  
6614         if (SWIG_arg_fail(3)) SWIG_fail
; 
6617         arg4 
= (int)(SWIG_As_int(obj3
));  
6618         if (SWIG_arg_fail(4)) SWIG_fail
; 
6621         arg5 
= (int)(SWIG_As_int(obj4
));  
6622         if (SWIG_arg_fail(5)) SWIG_fail
; 
6625         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6626         result 
= (bool)(arg1
)->Intersect(arg2
,arg3
,arg4
,arg5
); 
6628         wxPyEndAllowThreads(__tstate
); 
6629         if (PyErr_Occurred()) SWIG_fail
; 
6632         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
6640 static PyObject 
*_wrap_Region_IntersectRect(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6641     PyObject 
*resultobj
; 
6642     wxRegion 
*arg1 
= (wxRegion 
*) 0 ; 
6646     PyObject 
* obj0 
= 0 ; 
6647     PyObject 
* obj1 
= 0 ; 
6649         (char *) "self",(char *) "rect", NULL 
 
6652     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRect",kwnames
,&obj0
,&obj1
)) goto fail
; 
6653     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION 
| 0); 
6654     if (SWIG_arg_fail(1)) SWIG_fail
; 
6657         if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
; 
6660         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6661         result 
= (bool)(arg1
)->Intersect((wxRect 
const &)*arg2
); 
6663         wxPyEndAllowThreads(__tstate
); 
6664         if (PyErr_Occurred()) SWIG_fail
; 
6667         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
6675 static PyObject 
*_wrap_Region_IntersectRegion(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6676     PyObject 
*resultobj
; 
6677     wxRegion 
*arg1 
= (wxRegion 
*) 0 ; 
6678     wxRegion 
*arg2 
= 0 ; 
6680     PyObject 
* obj0 
= 0 ; 
6681     PyObject 
* obj1 
= 0 ; 
6683         (char *) "self",(char *) "region", NULL 
 
6686     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRegion",kwnames
,&obj0
,&obj1
)) goto fail
; 
6687     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION 
| 0); 
6688     if (SWIG_arg_fail(1)) SWIG_fail
; 
6690         SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION 
| 0); 
6691         if (SWIG_arg_fail(2)) SWIG_fail
; 
6693             SWIG_null_ref("wxRegion"); 
6695         if (SWIG_arg_fail(2)) SWIG_fail
; 
6698         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6699         result 
= (bool)(arg1
)->Intersect((wxRegion 
const &)*arg2
); 
6701         wxPyEndAllowThreads(__tstate
); 
6702         if (PyErr_Occurred()) SWIG_fail
; 
6705         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
6713 static PyObject 
*_wrap_Region_IsEmpty(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6714     PyObject 
*resultobj
; 
6715     wxRegion 
*arg1 
= (wxRegion 
*) 0 ; 
6717     PyObject 
* obj0 
= 0 ; 
6719         (char *) "self", NULL 
 
6722     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_IsEmpty",kwnames
,&obj0
)) goto fail
; 
6723     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION 
| 0); 
6724     if (SWIG_arg_fail(1)) SWIG_fail
; 
6726         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6727         result 
= (bool)(arg1
)->IsEmpty(); 
6729         wxPyEndAllowThreads(__tstate
); 
6730         if (PyErr_Occurred()) SWIG_fail
; 
6733         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
6741 static PyObject 
*_wrap_Region_Union(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6742     PyObject 
*resultobj
; 
6743     wxRegion 
*arg1 
= (wxRegion 
*) 0 ; 
6749     PyObject 
* obj0 
= 0 ; 
6750     PyObject 
* obj1 
= 0 ; 
6751     PyObject 
* obj2 
= 0 ; 
6752     PyObject 
* obj3 
= 0 ; 
6753     PyObject 
* obj4 
= 0 ; 
6755         (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL 
 
6758     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Union",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
; 
6759     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION 
| 0); 
6760     if (SWIG_arg_fail(1)) SWIG_fail
; 
6762         arg2 
= (int)(SWIG_As_int(obj1
));  
6763         if (SWIG_arg_fail(2)) SWIG_fail
; 
6766         arg3 
= (int)(SWIG_As_int(obj2
));  
6767         if (SWIG_arg_fail(3)) SWIG_fail
; 
6770         arg4 
= (int)(SWIG_As_int(obj3
));  
6771         if (SWIG_arg_fail(4)) SWIG_fail
; 
6774         arg5 
= (int)(SWIG_As_int(obj4
));  
6775         if (SWIG_arg_fail(5)) SWIG_fail
; 
6778         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6779         result 
= (bool)(arg1
)->Union(arg2
,arg3
,arg4
,arg5
); 
6781         wxPyEndAllowThreads(__tstate
); 
6782         if (PyErr_Occurred()) SWIG_fail
; 
6785         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
6793 static PyObject 
*_wrap_Region_UnionRect(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6794     PyObject 
*resultobj
; 
6795     wxRegion 
*arg1 
= (wxRegion 
*) 0 ; 
6799     PyObject 
* obj0 
= 0 ; 
6800     PyObject 
* obj1 
= 0 ; 
6802         (char *) "self",(char *) "rect", NULL 
 
6805     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRect",kwnames
,&obj0
,&obj1
)) goto fail
; 
6806     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION 
| 0); 
6807     if (SWIG_arg_fail(1)) SWIG_fail
; 
6810         if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
; 
6813         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6814         result 
= (bool)(arg1
)->Union((wxRect 
const &)*arg2
); 
6816         wxPyEndAllowThreads(__tstate
); 
6817         if (PyErr_Occurred()) SWIG_fail
; 
6820         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
6828 static PyObject 
*_wrap_Region_UnionRegion(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6829     PyObject 
*resultobj
; 
6830     wxRegion 
*arg1 
= (wxRegion 
*) 0 ; 
6831     wxRegion 
*arg2 
= 0 ; 
6833     PyObject 
* obj0 
= 0 ; 
6834     PyObject 
* obj1 
= 0 ; 
6836         (char *) "self",(char *) "region", NULL 
 
6839     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRegion",kwnames
,&obj0
,&obj1
)) goto fail
; 
6840     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION 
| 0); 
6841     if (SWIG_arg_fail(1)) SWIG_fail
; 
6843         SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION 
| 0); 
6844         if (SWIG_arg_fail(2)) SWIG_fail
; 
6846             SWIG_null_ref("wxRegion"); 
6848         if (SWIG_arg_fail(2)) SWIG_fail
; 
6851         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6852         result 
= (bool)(arg1
)->Union((wxRegion 
const &)*arg2
); 
6854         wxPyEndAllowThreads(__tstate
); 
6855         if (PyErr_Occurred()) SWIG_fail
; 
6858         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
6866 static PyObject 
*_wrap_Region_Subtract(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6867     PyObject 
*resultobj
; 
6868     wxRegion 
*arg1 
= (wxRegion 
*) 0 ; 
6874     PyObject 
* obj0 
= 0 ; 
6875     PyObject 
* obj1 
= 0 ; 
6876     PyObject 
* obj2 
= 0 ; 
6877     PyObject 
* obj3 
= 0 ; 
6878     PyObject 
* obj4 
= 0 ; 
6880         (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL 
 
6883     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Subtract",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
; 
6884     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION 
| 0); 
6885     if (SWIG_arg_fail(1)) SWIG_fail
; 
6887         arg2 
= (int)(SWIG_As_int(obj1
));  
6888         if (SWIG_arg_fail(2)) SWIG_fail
; 
6891         arg3 
= (int)(SWIG_As_int(obj2
));  
6892         if (SWIG_arg_fail(3)) SWIG_fail
; 
6895         arg4 
= (int)(SWIG_As_int(obj3
));  
6896         if (SWIG_arg_fail(4)) SWIG_fail
; 
6899         arg5 
= (int)(SWIG_As_int(obj4
));  
6900         if (SWIG_arg_fail(5)) SWIG_fail
; 
6903         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6904         result 
= (bool)(arg1
)->Subtract(arg2
,arg3
,arg4
,arg5
); 
6906         wxPyEndAllowThreads(__tstate
); 
6907         if (PyErr_Occurred()) SWIG_fail
; 
6910         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
6918 static PyObject 
*_wrap_Region_SubtractRect(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6919     PyObject 
*resultobj
; 
6920     wxRegion 
*arg1 
= (wxRegion 
*) 0 ; 
6924     PyObject 
* obj0 
= 0 ; 
6925     PyObject 
* obj1 
= 0 ; 
6927         (char *) "self",(char *) "rect", NULL 
 
6930     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRect",kwnames
,&obj0
,&obj1
)) goto fail
; 
6931     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION 
| 0); 
6932     if (SWIG_arg_fail(1)) SWIG_fail
; 
6935         if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
; 
6938         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6939         result 
= (bool)(arg1
)->Subtract((wxRect 
const &)*arg2
); 
6941         wxPyEndAllowThreads(__tstate
); 
6942         if (PyErr_Occurred()) SWIG_fail
; 
6945         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
6953 static PyObject 
*_wrap_Region_SubtractRegion(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6954     PyObject 
*resultobj
; 
6955     wxRegion 
*arg1 
= (wxRegion 
*) 0 ; 
6956     wxRegion 
*arg2 
= 0 ; 
6958     PyObject 
* obj0 
= 0 ; 
6959     PyObject 
* obj1 
= 0 ; 
6961         (char *) "self",(char *) "region", NULL 
 
6964     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRegion",kwnames
,&obj0
,&obj1
)) goto fail
; 
6965     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION 
| 0); 
6966     if (SWIG_arg_fail(1)) SWIG_fail
; 
6968         SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION 
| 0); 
6969         if (SWIG_arg_fail(2)) SWIG_fail
; 
6971             SWIG_null_ref("wxRegion"); 
6973         if (SWIG_arg_fail(2)) SWIG_fail
; 
6976         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6977         result 
= (bool)(arg1
)->Subtract((wxRegion 
const &)*arg2
); 
6979         wxPyEndAllowThreads(__tstate
); 
6980         if (PyErr_Occurred()) SWIG_fail
; 
6983         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
6991 static PyObject 
*_wrap_Region_Xor(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6992     PyObject 
*resultobj
; 
6993     wxRegion 
*arg1 
= (wxRegion 
*) 0 ; 
6999     PyObject 
* obj0 
= 0 ; 
7000     PyObject 
* obj1 
= 0 ; 
7001     PyObject 
* obj2 
= 0 ; 
7002     PyObject 
* obj3 
= 0 ; 
7003     PyObject 
* obj4 
= 0 ; 
7005         (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL 
 
7008     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Xor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
; 
7009     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION 
| 0); 
7010     if (SWIG_arg_fail(1)) SWIG_fail
; 
7012         arg2 
= (int)(SWIG_As_int(obj1
));  
7013         if (SWIG_arg_fail(2)) SWIG_fail
; 
7016         arg3 
= (int)(SWIG_As_int(obj2
));  
7017         if (SWIG_arg_fail(3)) SWIG_fail
; 
7020         arg4 
= (int)(SWIG_As_int(obj3
));  
7021         if (SWIG_arg_fail(4)) SWIG_fail
; 
7024         arg5 
= (int)(SWIG_As_int(obj4
));  
7025         if (SWIG_arg_fail(5)) SWIG_fail
; 
7028         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7029         result 
= (bool)(arg1
)->Xor(arg2
,arg3
,arg4
,arg5
); 
7031         wxPyEndAllowThreads(__tstate
); 
7032         if (PyErr_Occurred()) SWIG_fail
; 
7035         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
7043 static PyObject 
*_wrap_Region_XorRect(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7044     PyObject 
*resultobj
; 
7045     wxRegion 
*arg1 
= (wxRegion 
*) 0 ; 
7049     PyObject 
* obj0 
= 0 ; 
7050     PyObject 
* obj1 
= 0 ; 
7052         (char *) "self",(char *) "rect", NULL 
 
7055     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRect",kwnames
,&obj0
,&obj1
)) goto fail
; 
7056     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION 
| 0); 
7057     if (SWIG_arg_fail(1)) SWIG_fail
; 
7060         if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
; 
7063         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7064         result 
= (bool)(arg1
)->Xor((wxRect 
const &)*arg2
); 
7066         wxPyEndAllowThreads(__tstate
); 
7067         if (PyErr_Occurred()) SWIG_fail
; 
7070         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
7078 static PyObject 
*_wrap_Region_XorRegion(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7079     PyObject 
*resultobj
; 
7080     wxRegion 
*arg1 
= (wxRegion 
*) 0 ; 
7081     wxRegion 
*arg2 
= 0 ; 
7083     PyObject 
* obj0 
= 0 ; 
7084     PyObject 
* obj1 
= 0 ; 
7086         (char *) "self",(char *) "region", NULL 
 
7089     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRegion",kwnames
,&obj0
,&obj1
)) goto fail
; 
7090     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION 
| 0); 
7091     if (SWIG_arg_fail(1)) SWIG_fail
; 
7093         SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION 
| 0); 
7094         if (SWIG_arg_fail(2)) SWIG_fail
; 
7096             SWIG_null_ref("wxRegion"); 
7098         if (SWIG_arg_fail(2)) SWIG_fail
; 
7101         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7102         result 
= (bool)(arg1
)->Xor((wxRegion 
const &)*arg2
); 
7104         wxPyEndAllowThreads(__tstate
); 
7105         if (PyErr_Occurred()) SWIG_fail
; 
7108         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
7116 static PyObject 
*_wrap_Region_ConvertToBitmap(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7117     PyObject 
*resultobj
; 
7118     wxRegion 
*arg1 
= (wxRegion 
*) 0 ; 
7119     SwigValueWrapper
<wxBitmap 
> result
; 
7120     PyObject 
* obj0 
= 0 ; 
7122         (char *) "self", NULL 
 
7125     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_ConvertToBitmap",kwnames
,&obj0
)) goto fail
; 
7126     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION 
| 0); 
7127     if (SWIG_arg_fail(1)) SWIG_fail
; 
7129         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7130         result 
= (arg1
)->ConvertToBitmap(); 
7132         wxPyEndAllowThreads(__tstate
); 
7133         if (PyErr_Occurred()) SWIG_fail
; 
7136         wxBitmap 
* resultptr
; 
7137         resultptr 
= new wxBitmap((wxBitmap 
&)(result
)); 
7138         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1); 
7146 static PyObject 
*_wrap_Region_UnionBitmap(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7147     PyObject 
*resultobj
; 
7148     wxRegion 
*arg1 
= (wxRegion 
*) 0 ; 
7149     wxBitmap 
*arg2 
= 0 ; 
7151     PyObject 
* obj0 
= 0 ; 
7152     PyObject 
* obj1 
= 0 ; 
7154         (char *) "self",(char *) "bmp", NULL 
 
7157     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionBitmap",kwnames
,&obj0
,&obj1
)) goto fail
; 
7158     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION 
| 0); 
7159     if (SWIG_arg_fail(1)) SWIG_fail
; 
7161         SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION 
| 0); 
7162         if (SWIG_arg_fail(2)) SWIG_fail
; 
7164             SWIG_null_ref("wxBitmap"); 
7166         if (SWIG_arg_fail(2)) SWIG_fail
; 
7169         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7170         result 
= (bool)(arg1
)->Union((wxBitmap 
const &)*arg2
); 
7172         wxPyEndAllowThreads(__tstate
); 
7173         if (PyErr_Occurred()) SWIG_fail
; 
7176         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
7184 static PyObject 
*_wrap_Region_UnionBitmapColour(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7185     PyObject 
*resultobj
; 
7186     wxRegion 
*arg1 
= (wxRegion 
*) 0 ; 
7187     wxBitmap 
*arg2 
= 0 ; 
7188     wxColour 
*arg3 
= 0 ; 
7189     int arg4 
= (int) 0 ; 
7192     PyObject 
* obj0 
= 0 ; 
7193     PyObject 
* obj1 
= 0 ; 
7194     PyObject 
* obj2 
= 0 ; 
7195     PyObject 
* obj3 
= 0 ; 
7197         (char *) "self",(char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL 
 
7200     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Region_UnionBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
7201     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION 
| 0); 
7202     if (SWIG_arg_fail(1)) SWIG_fail
; 
7204         SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION 
| 0); 
7205         if (SWIG_arg_fail(2)) SWIG_fail
; 
7207             SWIG_null_ref("wxBitmap"); 
7209         if (SWIG_arg_fail(2)) SWIG_fail
; 
7213         if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
; 
7217             arg4 
= (int)(SWIG_As_int(obj3
));  
7218             if (SWIG_arg_fail(4)) SWIG_fail
; 
7222         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7223         result 
= (bool)(arg1
)->Union((wxBitmap 
const &)*arg2
,(wxColour 
const &)*arg3
,arg4
); 
7225         wxPyEndAllowThreads(__tstate
); 
7226         if (PyErr_Occurred()) SWIG_fail
; 
7229         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
7237 static PyObject 
* Region_swigregister(PyObject 
*, PyObject 
*args
) { 
7239     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
7240     SWIG_TypeClientData(SWIGTYPE_p_wxRegion
, obj
); 
7242     return Py_BuildValue((char *)""); 
7244 static PyObject 
*_wrap_new_RegionIterator(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7245     PyObject 
*resultobj
; 
7246     wxRegion 
*arg1 
= 0 ; 
7247     wxRegionIterator 
*result
; 
7248     PyObject 
* obj0 
= 0 ; 
7250         (char *) "region", NULL 
 
7253     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionIterator",kwnames
,&obj0
)) goto fail
; 
7255         SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION 
| 0); 
7256         if (SWIG_arg_fail(1)) SWIG_fail
; 
7258             SWIG_null_ref("wxRegion"); 
7260         if (SWIG_arg_fail(1)) SWIG_fail
; 
7263         if (!wxPyCheckForApp()) SWIG_fail
; 
7264         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7265         result 
= (wxRegionIterator 
*)new wxRegionIterator((wxRegion 
const &)*arg1
); 
7267         wxPyEndAllowThreads(__tstate
); 
7268         if (PyErr_Occurred()) SWIG_fail
; 
7270     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegionIterator
, 1); 
7277 static PyObject 
*_wrap_delete_RegionIterator(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7278     PyObject 
*resultobj
; 
7279     wxRegionIterator 
*arg1 
= (wxRegionIterator 
*) 0 ; 
7280     PyObject 
* obj0 
= 0 ; 
7282         (char *) "self", NULL 
 
7285     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_RegionIterator",kwnames
,&obj0
)) goto fail
; 
7286     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_EXCEPTION 
| 0); 
7287     if (SWIG_arg_fail(1)) SWIG_fail
; 
7289         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7292         wxPyEndAllowThreads(__tstate
); 
7293         if (PyErr_Occurred()) SWIG_fail
; 
7295     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
7302 static PyObject 
*_wrap_RegionIterator_GetX(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7303     PyObject 
*resultobj
; 
7304     wxRegionIterator 
*arg1 
= (wxRegionIterator 
*) 0 ; 
7306     PyObject 
* obj0 
= 0 ; 
7308         (char *) "self", NULL 
 
7311     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetX",kwnames
,&obj0
)) goto fail
; 
7312     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_EXCEPTION 
| 0); 
7313     if (SWIG_arg_fail(1)) SWIG_fail
; 
7315         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7316         result 
= (int)(arg1
)->GetX(); 
7318         wxPyEndAllowThreads(__tstate
); 
7319         if (PyErr_Occurred()) SWIG_fail
; 
7322         resultobj 
= SWIG_From_int((int)(result
));  
7330 static PyObject 
*_wrap_RegionIterator_GetY(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7331     PyObject 
*resultobj
; 
7332     wxRegionIterator 
*arg1 
= (wxRegionIterator 
*) 0 ; 
7334     PyObject 
* obj0 
= 0 ; 
7336         (char *) "self", NULL 
 
7339     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetY",kwnames
,&obj0
)) goto fail
; 
7340     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_EXCEPTION 
| 0); 
7341     if (SWIG_arg_fail(1)) SWIG_fail
; 
7343         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7344         result 
= (int)(arg1
)->GetY(); 
7346         wxPyEndAllowThreads(__tstate
); 
7347         if (PyErr_Occurred()) SWIG_fail
; 
7350         resultobj 
= SWIG_From_int((int)(result
));  
7358 static PyObject 
*_wrap_RegionIterator_GetW(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7359     PyObject 
*resultobj
; 
7360     wxRegionIterator 
*arg1 
= (wxRegionIterator 
*) 0 ; 
7362     PyObject 
* obj0 
= 0 ; 
7364         (char *) "self", NULL 
 
7367     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetW",kwnames
,&obj0
)) goto fail
; 
7368     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_EXCEPTION 
| 0); 
7369     if (SWIG_arg_fail(1)) SWIG_fail
; 
7371         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7372         result 
= (int)(arg1
)->GetW(); 
7374         wxPyEndAllowThreads(__tstate
); 
7375         if (PyErr_Occurred()) SWIG_fail
; 
7378         resultobj 
= SWIG_From_int((int)(result
));  
7386 static PyObject 
*_wrap_RegionIterator_GetWidth(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7387     PyObject 
*resultobj
; 
7388     wxRegionIterator 
*arg1 
= (wxRegionIterator 
*) 0 ; 
7390     PyObject 
* obj0 
= 0 ; 
7392         (char *) "self", NULL 
 
7395     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetWidth",kwnames
,&obj0
)) goto fail
; 
7396     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_EXCEPTION 
| 0); 
7397     if (SWIG_arg_fail(1)) SWIG_fail
; 
7399         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7400         result 
= (int)(arg1
)->GetWidth(); 
7402         wxPyEndAllowThreads(__tstate
); 
7403         if (PyErr_Occurred()) SWIG_fail
; 
7406         resultobj 
= SWIG_From_int((int)(result
));  
7414 static PyObject 
*_wrap_RegionIterator_GetH(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7415     PyObject 
*resultobj
; 
7416     wxRegionIterator 
*arg1 
= (wxRegionIterator 
*) 0 ; 
7418     PyObject 
* obj0 
= 0 ; 
7420         (char *) "self", NULL 
 
7423     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetH",kwnames
,&obj0
)) goto fail
; 
7424     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_EXCEPTION 
| 0); 
7425     if (SWIG_arg_fail(1)) SWIG_fail
; 
7427         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7428         result 
= (int)(arg1
)->GetH(); 
7430         wxPyEndAllowThreads(__tstate
); 
7431         if (PyErr_Occurred()) SWIG_fail
; 
7434         resultobj 
= SWIG_From_int((int)(result
));  
7442 static PyObject 
*_wrap_RegionIterator_GetHeight(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7443     PyObject 
*resultobj
; 
7444     wxRegionIterator 
*arg1 
= (wxRegionIterator 
*) 0 ; 
7446     PyObject 
* obj0 
= 0 ; 
7448         (char *) "self", NULL 
 
7451     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetHeight",kwnames
,&obj0
)) goto fail
; 
7452     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_EXCEPTION 
| 0); 
7453     if (SWIG_arg_fail(1)) SWIG_fail
; 
7455         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7456         result 
= (int)(arg1
)->GetHeight(); 
7458         wxPyEndAllowThreads(__tstate
); 
7459         if (PyErr_Occurred()) SWIG_fail
; 
7462         resultobj 
= SWIG_From_int((int)(result
));  
7470 static PyObject 
*_wrap_RegionIterator_GetRect(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7471     PyObject 
*resultobj
; 
7472     wxRegionIterator 
*arg1 
= (wxRegionIterator 
*) 0 ; 
7474     PyObject 
* obj0 
= 0 ; 
7476         (char *) "self", NULL 
 
7479     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetRect",kwnames
,&obj0
)) goto fail
; 
7480     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_EXCEPTION 
| 0); 
7481     if (SWIG_arg_fail(1)) SWIG_fail
; 
7483         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7484         result 
= (arg1
)->GetRect(); 
7486         wxPyEndAllowThreads(__tstate
); 
7487         if (PyErr_Occurred()) SWIG_fail
; 
7491         resultptr 
= new wxRect((wxRect 
&)(result
)); 
7492         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1); 
7500 static PyObject 
*_wrap_RegionIterator_HaveRects(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7501     PyObject 
*resultobj
; 
7502     wxRegionIterator 
*arg1 
= (wxRegionIterator 
*) 0 ; 
7504     PyObject 
* obj0 
= 0 ; 
7506         (char *) "self", NULL 
 
7509     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_HaveRects",kwnames
,&obj0
)) goto fail
; 
7510     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_EXCEPTION 
| 0); 
7511     if (SWIG_arg_fail(1)) SWIG_fail
; 
7513         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7514         result 
= (bool)(arg1
)->HaveRects(); 
7516         wxPyEndAllowThreads(__tstate
); 
7517         if (PyErr_Occurred()) SWIG_fail
; 
7520         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
7528 static PyObject 
*_wrap_RegionIterator_Reset(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7529     PyObject 
*resultobj
; 
7530     wxRegionIterator 
*arg1 
= (wxRegionIterator 
*) 0 ; 
7531     PyObject 
* obj0 
= 0 ; 
7533         (char *) "self", NULL 
 
7536     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_Reset",kwnames
,&obj0
)) goto fail
; 
7537     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_EXCEPTION 
| 0); 
7538     if (SWIG_arg_fail(1)) SWIG_fail
; 
7540         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7543         wxPyEndAllowThreads(__tstate
); 
7544         if (PyErr_Occurred()) SWIG_fail
; 
7546     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
7553 static PyObject 
*_wrap_RegionIterator_Next(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7554     PyObject 
*resultobj
; 
7555     wxRegionIterator 
*arg1 
= (wxRegionIterator 
*) 0 ; 
7556     PyObject 
* obj0 
= 0 ; 
7558         (char *) "self", NULL 
 
7561     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_Next",kwnames
,&obj0
)) goto fail
; 
7562     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_EXCEPTION 
| 0); 
7563     if (SWIG_arg_fail(1)) SWIG_fail
; 
7565         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7566         wxRegionIterator_Next(arg1
); 
7568         wxPyEndAllowThreads(__tstate
); 
7569         if (PyErr_Occurred()) SWIG_fail
; 
7571     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
7578 static PyObject 
*_wrap_RegionIterator___nonzero__(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7579     PyObject 
*resultobj
; 
7580     wxRegionIterator 
*arg1 
= (wxRegionIterator 
*) 0 ; 
7582     PyObject 
* obj0 
= 0 ; 
7584         (char *) "self", NULL 
 
7587     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator___nonzero__",kwnames
,&obj0
)) goto fail
; 
7588     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_EXCEPTION 
| 0); 
7589     if (SWIG_arg_fail(1)) SWIG_fail
; 
7591         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7592         result 
= (bool)wxRegionIterator___nonzero__(arg1
); 
7594         wxPyEndAllowThreads(__tstate
); 
7595         if (PyErr_Occurred()) SWIG_fail
; 
7598         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
7606 static PyObject 
* RegionIterator_swigregister(PyObject 
*, PyObject 
*args
) { 
7608     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
7609     SWIG_TypeClientData(SWIGTYPE_p_wxRegionIterator
, obj
); 
7611     return Py_BuildValue((char *)""); 
7613 static PyObject 
*_wrap_new_NativeFontInfo(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7614     PyObject 
*resultobj
; 
7615     wxNativeFontInfo 
*result
; 
7620     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NativeFontInfo",kwnames
)) goto fail
; 
7622         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7623         result 
= (wxNativeFontInfo 
*)new wxNativeFontInfo(); 
7625         wxPyEndAllowThreads(__tstate
); 
7626         if (PyErr_Occurred()) SWIG_fail
; 
7628     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeFontInfo
, 1); 
7635 static PyObject 
*_wrap_delete_NativeFontInfo(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7636     PyObject 
*resultobj
; 
7637     wxNativeFontInfo 
*arg1 
= (wxNativeFontInfo 
*) 0 ; 
7638     PyObject 
* obj0 
= 0 ; 
7640         (char *) "self", NULL 
 
7643     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_NativeFontInfo",kwnames
,&obj0
)) goto fail
; 
7644     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION 
| 0); 
7645     if (SWIG_arg_fail(1)) SWIG_fail
; 
7647         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7650         wxPyEndAllowThreads(__tstate
); 
7651         if (PyErr_Occurred()) SWIG_fail
; 
7653     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
7660 static PyObject 
*_wrap_NativeFontInfo_Init(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7661     PyObject 
*resultobj
; 
7662     wxNativeFontInfo 
*arg1 
= (wxNativeFontInfo 
*) 0 ; 
7663     PyObject 
* obj0 
= 0 ; 
7665         (char *) "self", NULL 
 
7668     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_Init",kwnames
,&obj0
)) goto fail
; 
7669     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION 
| 0); 
7670     if (SWIG_arg_fail(1)) SWIG_fail
; 
7672         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7675         wxPyEndAllowThreads(__tstate
); 
7676         if (PyErr_Occurred()) SWIG_fail
; 
7678     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
7685 static PyObject 
*_wrap_NativeFontInfo_InitFromFont(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7686     PyObject 
*resultobj
; 
7687     wxNativeFontInfo 
*arg1 
= (wxNativeFontInfo 
*) 0 ; 
7689     PyObject 
* obj0 
= 0 ; 
7690     PyObject 
* obj1 
= 0 ; 
7692         (char *) "self",(char *) "font", NULL 
 
7695     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_InitFromFont",kwnames
,&obj0
,&obj1
)) goto fail
; 
7696     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION 
| 0); 
7697     if (SWIG_arg_fail(1)) SWIG_fail
; 
7699         SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION 
| 0); 
7700         if (SWIG_arg_fail(2)) SWIG_fail
; 
7702             SWIG_null_ref("wxFont"); 
7704         if (SWIG_arg_fail(2)) SWIG_fail
; 
7707         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7708         (arg1
)->InitFromFont((wxFont 
const &)*arg2
); 
7710         wxPyEndAllowThreads(__tstate
); 
7711         if (PyErr_Occurred()) SWIG_fail
; 
7713     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
7720 static PyObject 
*_wrap_NativeFontInfo_GetPointSize(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7721     PyObject 
*resultobj
; 
7722     wxNativeFontInfo 
*arg1 
= (wxNativeFontInfo 
*) 0 ; 
7724     PyObject 
* obj0 
= 0 ; 
7726         (char *) "self", NULL 
 
7729     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetPointSize",kwnames
,&obj0
)) goto fail
; 
7730     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION 
| 0); 
7731     if (SWIG_arg_fail(1)) SWIG_fail
; 
7733         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7734         result 
= (int)((wxNativeFontInfo 
const *)arg1
)->GetPointSize(); 
7736         wxPyEndAllowThreads(__tstate
); 
7737         if (PyErr_Occurred()) SWIG_fail
; 
7740         resultobj 
= SWIG_From_int((int)(result
));  
7748 static PyObject 
*_wrap_NativeFontInfo_GetStyle(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7749     PyObject 
*resultobj
; 
7750     wxNativeFontInfo 
*arg1 
= (wxNativeFontInfo 
*) 0 ; 
7752     PyObject 
* obj0 
= 0 ; 
7754         (char *) "self", NULL 
 
7757     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetStyle",kwnames
,&obj0
)) goto fail
; 
7758     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION 
| 0); 
7759     if (SWIG_arg_fail(1)) SWIG_fail
; 
7761         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7762         result 
= (wxFontStyle
)((wxNativeFontInfo 
const *)arg1
)->GetStyle(); 
7764         wxPyEndAllowThreads(__tstate
); 
7765         if (PyErr_Occurred()) SWIG_fail
; 
7767     resultobj 
= SWIG_From_int((result
)); 
7774 static PyObject 
*_wrap_NativeFontInfo_GetWeight(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7775     PyObject 
*resultobj
; 
7776     wxNativeFontInfo 
*arg1 
= (wxNativeFontInfo 
*) 0 ; 
7777     wxFontWeight result
; 
7778     PyObject 
* obj0 
= 0 ; 
7780         (char *) "self", NULL 
 
7783     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetWeight",kwnames
,&obj0
)) goto fail
; 
7784     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION 
| 0); 
7785     if (SWIG_arg_fail(1)) SWIG_fail
; 
7787         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7788         result 
= (wxFontWeight
)((wxNativeFontInfo 
const *)arg1
)->GetWeight(); 
7790         wxPyEndAllowThreads(__tstate
); 
7791         if (PyErr_Occurred()) SWIG_fail
; 
7793     resultobj 
= SWIG_From_int((result
)); 
7800 static PyObject 
*_wrap_NativeFontInfo_GetUnderlined(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7801     PyObject 
*resultobj
; 
7802     wxNativeFontInfo 
*arg1 
= (wxNativeFontInfo 
*) 0 ; 
7804     PyObject 
* obj0 
= 0 ; 
7806         (char *) "self", NULL 
 
7809     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetUnderlined",kwnames
,&obj0
)) goto fail
; 
7810     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION 
| 0); 
7811     if (SWIG_arg_fail(1)) SWIG_fail
; 
7813         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7814         result 
= (bool)((wxNativeFontInfo 
const *)arg1
)->GetUnderlined(); 
7816         wxPyEndAllowThreads(__tstate
); 
7817         if (PyErr_Occurred()) SWIG_fail
; 
7820         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
7828 static PyObject 
*_wrap_NativeFontInfo_GetFaceName(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7829     PyObject 
*resultobj
; 
7830     wxNativeFontInfo 
*arg1 
= (wxNativeFontInfo 
*) 0 ; 
7832     PyObject 
* obj0 
= 0 ; 
7834         (char *) "self", NULL 
 
7837     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetFaceName",kwnames
,&obj0
)) goto fail
; 
7838     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION 
| 0); 
7839     if (SWIG_arg_fail(1)) SWIG_fail
; 
7841         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7842         result 
= ((wxNativeFontInfo 
const *)arg1
)->GetFaceName(); 
7844         wxPyEndAllowThreads(__tstate
); 
7845         if (PyErr_Occurred()) SWIG_fail
; 
7849         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
7851         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
7860 static PyObject 
*_wrap_NativeFontInfo_GetFamily(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7861     PyObject 
*resultobj
; 
7862     wxNativeFontInfo 
*arg1 
= (wxNativeFontInfo 
*) 0 ; 
7863     wxFontFamily result
; 
7864     PyObject 
* obj0 
= 0 ; 
7866         (char *) "self", NULL 
 
7869     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetFamily",kwnames
,&obj0
)) goto fail
; 
7870     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION 
| 0); 
7871     if (SWIG_arg_fail(1)) SWIG_fail
; 
7873         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7874         result 
= (wxFontFamily
)((wxNativeFontInfo 
const *)arg1
)->GetFamily(); 
7876         wxPyEndAllowThreads(__tstate
); 
7877         if (PyErr_Occurred()) SWIG_fail
; 
7879     resultobj 
= SWIG_From_int((result
)); 
7886 static PyObject 
*_wrap_NativeFontInfo_GetEncoding(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7887     PyObject 
*resultobj
; 
7888     wxNativeFontInfo 
*arg1 
= (wxNativeFontInfo 
*) 0 ; 
7889     wxFontEncoding result
; 
7890     PyObject 
* obj0 
= 0 ; 
7892         (char *) "self", NULL 
 
7895     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetEncoding",kwnames
,&obj0
)) goto fail
; 
7896     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION 
| 0); 
7897     if (SWIG_arg_fail(1)) SWIG_fail
; 
7899         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7900         result 
= (wxFontEncoding
)((wxNativeFontInfo 
const *)arg1
)->GetEncoding(); 
7902         wxPyEndAllowThreads(__tstate
); 
7903         if (PyErr_Occurred()) SWIG_fail
; 
7905     resultobj 
= SWIG_From_int((result
)); 
7912 static PyObject 
*_wrap_NativeFontInfo_SetPointSize(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7913     PyObject 
*resultobj
; 
7914     wxNativeFontInfo 
*arg1 
= (wxNativeFontInfo 
*) 0 ; 
7916     PyObject 
* obj0 
= 0 ; 
7917     PyObject 
* obj1 
= 0 ; 
7919         (char *) "self",(char *) "pointsize", NULL 
 
7922     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetPointSize",kwnames
,&obj0
,&obj1
)) goto fail
; 
7923     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION 
| 0); 
7924     if (SWIG_arg_fail(1)) SWIG_fail
; 
7926         arg2 
= (int)(SWIG_As_int(obj1
));  
7927         if (SWIG_arg_fail(2)) SWIG_fail
; 
7930         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7931         (arg1
)->SetPointSize(arg2
); 
7933         wxPyEndAllowThreads(__tstate
); 
7934         if (PyErr_Occurred()) SWIG_fail
; 
7936     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
7943 static PyObject 
*_wrap_NativeFontInfo_SetStyle(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7944     PyObject 
*resultobj
; 
7945     wxNativeFontInfo 
*arg1 
= (wxNativeFontInfo 
*) 0 ; 
7947     PyObject 
* obj0 
= 0 ; 
7948     PyObject 
* obj1 
= 0 ; 
7950         (char *) "self",(char *) "style", NULL 
 
7953     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
; 
7954     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION 
| 0); 
7955     if (SWIG_arg_fail(1)) SWIG_fail
; 
7957         arg2 
= (wxFontStyle
)(SWIG_As_int(obj1
));  
7958         if (SWIG_arg_fail(2)) SWIG_fail
; 
7961         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7962         (arg1
)->SetStyle((wxFontStyle 
)arg2
); 
7964         wxPyEndAllowThreads(__tstate
); 
7965         if (PyErr_Occurred()) SWIG_fail
; 
7967     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
7974 static PyObject 
*_wrap_NativeFontInfo_SetWeight(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7975     PyObject 
*resultobj
; 
7976     wxNativeFontInfo 
*arg1 
= (wxNativeFontInfo 
*) 0 ; 
7978     PyObject 
* obj0 
= 0 ; 
7979     PyObject 
* obj1 
= 0 ; 
7981         (char *) "self",(char *) "weight", NULL 
 
7984     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetWeight",kwnames
,&obj0
,&obj1
)) goto fail
; 
7985     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION 
| 0); 
7986     if (SWIG_arg_fail(1)) SWIG_fail
; 
7988         arg2 
= (wxFontWeight
)(SWIG_As_int(obj1
));  
7989         if (SWIG_arg_fail(2)) SWIG_fail
; 
7992         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7993         (arg1
)->SetWeight((wxFontWeight 
)arg2
); 
7995         wxPyEndAllowThreads(__tstate
); 
7996         if (PyErr_Occurred()) SWIG_fail
; 
7998     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
8005 static PyObject 
*_wrap_NativeFontInfo_SetUnderlined(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
8006     PyObject 
*resultobj
; 
8007     wxNativeFontInfo 
*arg1 
= (wxNativeFontInfo 
*) 0 ; 
8009     PyObject 
* obj0 
= 0 ; 
8010     PyObject 
* obj1 
= 0 ; 
8012         (char *) "self",(char *) "underlined", NULL 
 
8015     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetUnderlined",kwnames
,&obj0
,&obj1
)) goto fail
; 
8016     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION 
| 0); 
8017     if (SWIG_arg_fail(1)) SWIG_fail
; 
8019         arg2 
= (bool)(SWIG_As_bool(obj1
));  
8020         if (SWIG_arg_fail(2)) SWIG_fail
; 
8023         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8024         (arg1
)->SetUnderlined(arg2
); 
8026         wxPyEndAllowThreads(__tstate
); 
8027         if (PyErr_Occurred()) SWIG_fail
; 
8029     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
8036 static PyObject 
*_wrap_NativeFontInfo_SetFaceName(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
8037     PyObject 
*resultobj
; 
8038     wxNativeFontInfo 
*arg1 
= (wxNativeFontInfo 
*) 0 ; 
8040     PyObject 
* obj0 
= 0 ; 
8041     PyObject 
* obj1 
= 0 ; 
8043         (char *) "self",(char *) "facename", NULL 
 
8046     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFaceName",kwnames
,&obj0
,&obj1
)) goto fail
; 
8047     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION 
| 0); 
8048     if (SWIG_arg_fail(1)) SWIG_fail
; 
8050         wxString
* sptr 
= wxString_in_helper(obj1
); 
8051         if (sptr 
== NULL
) SWIG_fail
; 
8056         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8057         (arg1
)->SetFaceName(arg2
); 
8059         wxPyEndAllowThreads(__tstate
); 
8060         if (PyErr_Occurred()) SWIG_fail
; 
8062     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
8069 static PyObject 
*_wrap_NativeFontInfo_SetFamily(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
8070     PyObject 
*resultobj
; 
8071     wxNativeFontInfo 
*arg1 
= (wxNativeFontInfo 
*) 0 ; 
8073     PyObject 
* obj0 
= 0 ; 
8074     PyObject 
* obj1 
= 0 ; 
8076         (char *) "self",(char *) "family", NULL 
 
8079     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFamily",kwnames
,&obj0
,&obj1
)) goto fail
; 
8080     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION 
| 0); 
8081     if (SWIG_arg_fail(1)) SWIG_fail
; 
8083         arg2 
= (wxFontFamily
)(SWIG_As_int(obj1
));  
8084         if (SWIG_arg_fail(2)) SWIG_fail
; 
8087         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8088         (arg1
)->SetFamily((wxFontFamily 
)arg2
); 
8090         wxPyEndAllowThreads(__tstate
); 
8091         if (PyErr_Occurred()) SWIG_fail
; 
8093     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
8100 static PyObject 
*_wrap_NativeFontInfo_SetEncoding(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
8101     PyObject 
*resultobj
; 
8102     wxNativeFontInfo 
*arg1 
= (wxNativeFontInfo 
*) 0 ; 
8103     wxFontEncoding arg2 
; 
8104     PyObject 
* obj0 
= 0 ; 
8105     PyObject 
* obj1 
= 0 ; 
8107         (char *) "self",(char *) "encoding", NULL 
 
8110     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetEncoding",kwnames
,&obj0
,&obj1
)) goto fail
; 
8111     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION 
| 0); 
8112     if (SWIG_arg_fail(1)) SWIG_fail
; 
8114         arg2 
= (wxFontEncoding
)(SWIG_As_int(obj1
));  
8115         if (SWIG_arg_fail(2)) SWIG_fail
; 
8118         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8119         (arg1
)->SetEncoding((wxFontEncoding 
)arg2
); 
8121         wxPyEndAllowThreads(__tstate
); 
8122         if (PyErr_Occurred()) SWIG_fail
; 
8124     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
8131 static PyObject 
*_wrap_NativeFontInfo_FromString(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
8132     PyObject 
*resultobj
; 
8133     wxNativeFontInfo 
*arg1 
= (wxNativeFontInfo 
*) 0 ; 
8134     wxString 
*arg2 
= 0 ; 
8136     bool temp2 
= false ; 
8137     PyObject 
* obj0 
= 0 ; 
8138     PyObject 
* obj1 
= 0 ; 
8140         (char *) "self",(char *) "s", NULL 
 
8143     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromString",kwnames
,&obj0
,&obj1
)) goto fail
; 
8144     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION 
| 0); 
8145     if (SWIG_arg_fail(1)) SWIG_fail
; 
8147         arg2 
= wxString_in_helper(obj1
); 
8148         if (arg2 
== NULL
) SWIG_fail
; 
8152         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8153         result 
= (bool)(arg1
)->FromString((wxString 
const &)*arg2
); 
8155         wxPyEndAllowThreads(__tstate
); 
8156         if (PyErr_Occurred()) SWIG_fail
; 
8159         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
8175 static PyObject 
*_wrap_NativeFontInfo_ToString(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
8176     PyObject 
*resultobj
; 
8177     wxNativeFontInfo 
*arg1 
= (wxNativeFontInfo 
*) 0 ; 
8179     PyObject 
* obj0 
= 0 ; 
8181         (char *) "self", NULL 
 
8184     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_ToString",kwnames
,&obj0
)) goto fail
; 
8185     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION 
| 0); 
8186     if (SWIG_arg_fail(1)) SWIG_fail
; 
8188         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8189         result 
= ((wxNativeFontInfo 
const *)arg1
)->ToString(); 
8191         wxPyEndAllowThreads(__tstate
); 
8192         if (PyErr_Occurred()) SWIG_fail
; 
8196         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
8198         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
8207 static PyObject 
*_wrap_NativeFontInfo___str__(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
8208     PyObject 
*resultobj
; 
8209     wxNativeFontInfo 
*arg1 
= (wxNativeFontInfo 
*) 0 ; 
8211     PyObject 
* obj0 
= 0 ; 
8213         (char *) "self", NULL 
 
8216     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo___str__",kwnames
,&obj0
)) goto fail
; 
8217     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION 
| 0); 
8218     if (SWIG_arg_fail(1)) SWIG_fail
; 
8220         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8221         result 
= wxNativeFontInfo___str__(arg1
); 
8223         wxPyEndAllowThreads(__tstate
); 
8224         if (PyErr_Occurred()) SWIG_fail
; 
8228         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
8230         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
8239 static PyObject 
*_wrap_NativeFontInfo_FromUserString(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
8240     PyObject 
*resultobj
; 
8241     wxNativeFontInfo 
*arg1 
= (wxNativeFontInfo 
*) 0 ; 
8242     wxString 
*arg2 
= 0 ; 
8244     bool temp2 
= false ; 
8245     PyObject 
* obj0 
= 0 ; 
8246     PyObject 
* obj1 
= 0 ; 
8248         (char *) "self",(char *) "s", NULL 
 
8251     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromUserString",kwnames
,&obj0
,&obj1
)) goto fail
; 
8252     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION 
| 0); 
8253     if (SWIG_arg_fail(1)) SWIG_fail
; 
8255         arg2 
= wxString_in_helper(obj1
); 
8256         if (arg2 
== NULL
) SWIG_fail
; 
8260         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8261         result 
= (bool)(arg1
)->FromUserString((wxString 
const &)*arg2
); 
8263         wxPyEndAllowThreads(__tstate
); 
8264         if (PyErr_Occurred()) SWIG_fail
; 
8267         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
8283 static PyObject 
*_wrap_NativeFontInfo_ToUserString(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
8284     PyObject 
*resultobj
; 
8285     wxNativeFontInfo 
*arg1 
= (wxNativeFontInfo 
*) 0 ; 
8287     PyObject 
* obj0 
= 0 ; 
8289         (char *) "self", NULL 
 
8292     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_ToUserString",kwnames
,&obj0
)) goto fail
; 
8293     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION 
| 0); 
8294     if (SWIG_arg_fail(1)) SWIG_fail
; 
8296         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8297         result 
= ((wxNativeFontInfo 
const *)arg1
)->ToUserString(); 
8299         wxPyEndAllowThreads(__tstate
); 
8300         if (PyErr_Occurred()) SWIG_fail
; 
8304         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
8306         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
8315 static PyObject 
* NativeFontInfo_swigregister(PyObject 
*, PyObject 
*args
) { 
8317     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
8318     SWIG_TypeClientData(SWIGTYPE_p_wxNativeFontInfo
, obj
); 
8320     return Py_BuildValue((char *)""); 
8322 static PyObject 
*_wrap_NativeEncodingInfo_facename_set(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
8323     PyObject 
*resultobj
; 
8324     wxNativeEncodingInfo 
*arg1 
= (wxNativeEncodingInfo 
*) 0 ; 
8325     wxString 
*arg2 
= (wxString 
*) 0 ; 
8326     bool temp2 
= false ; 
8327     PyObject 
* obj0 
= 0 ; 
8328     PyObject 
* obj1 
= 0 ; 
8330         (char *) "self",(char *) "facename", NULL 
 
8333     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_facename_set",kwnames
,&obj0
,&obj1
)) goto fail
; 
8334     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_EXCEPTION 
| 0); 
8335     if (SWIG_arg_fail(1)) SWIG_fail
; 
8337         arg2 
= wxString_in_helper(obj1
); 
8338         if (arg2 
== NULL
) SWIG_fail
; 
8341     if (arg1
) (arg1
)->facename 
= *arg2
; 
8343     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
8358 static PyObject 
*_wrap_NativeEncodingInfo_facename_get(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
8359     PyObject 
*resultobj
; 
8360     wxNativeEncodingInfo 
*arg1 
= (wxNativeEncodingInfo 
*) 0 ; 
8362     PyObject 
* obj0 
= 0 ; 
8364         (char *) "self", NULL 
 
8367     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_facename_get",kwnames
,&obj0
)) goto fail
; 
8368     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_EXCEPTION 
| 0); 
8369     if (SWIG_arg_fail(1)) SWIG_fail
; 
8370     result 
= (wxString 
*)& ((arg1
)->facename
); 
8374         resultobj 
= PyUnicode_FromWideChar(result
->c_str(), result
->Len()); 
8376         resultobj 
= PyString_FromStringAndSize(result
->c_str(), result
->Len()); 
8385 static PyObject 
*_wrap_NativeEncodingInfo_encoding_set(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
8386     PyObject 
*resultobj
; 
8387     wxNativeEncodingInfo 
*arg1 
= (wxNativeEncodingInfo 
*) 0 ; 
8388     wxFontEncoding arg2 
; 
8389     PyObject 
* obj0 
= 0 ; 
8390     PyObject 
* obj1 
= 0 ; 
8392         (char *) "self",(char *) "encoding", NULL 
 
8395     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_encoding_set",kwnames
,&obj0
,&obj1
)) goto fail
; 
8396     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_EXCEPTION 
| 0); 
8397     if (SWIG_arg_fail(1)) SWIG_fail
; 
8399         arg2 
= (wxFontEncoding
)(SWIG_As_int(obj1
));  
8400         if (SWIG_arg_fail(2)) SWIG_fail
; 
8402     if (arg1
) (arg1
)->encoding 
= (wxFontEncoding 
)arg2
; 
8404     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
8411 static PyObject 
*_wrap_NativeEncodingInfo_encoding_get(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
8412     PyObject 
*resultobj
; 
8413     wxNativeEncodingInfo 
*arg1 
= (wxNativeEncodingInfo 
*) 0 ; 
8414     wxFontEncoding result
; 
8415     PyObject 
* obj0 
= 0 ; 
8417         (char *) "self", NULL 
 
8420     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_encoding_get",kwnames
,&obj0
)) goto fail
; 
8421     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_EXCEPTION 
| 0); 
8422     if (SWIG_arg_fail(1)) SWIG_fail
; 
8423     result 
= (wxFontEncoding
) ((arg1
)->encoding
); 
8425     resultobj 
= SWIG_From_int((result
)); 
8432 static PyObject 
*_wrap_new_NativeEncodingInfo(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
8433     PyObject 
*resultobj
; 
8434     wxNativeEncodingInfo 
*result
; 
8439     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NativeEncodingInfo",kwnames
)) goto fail
; 
8441         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8442         result 
= (wxNativeEncodingInfo 
*)new wxNativeEncodingInfo(); 
8444         wxPyEndAllowThreads(__tstate
); 
8445         if (PyErr_Occurred()) SWIG_fail
; 
8447     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 1); 
8454 static PyObject 
*_wrap_delete_NativeEncodingInfo(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
8455     PyObject 
*resultobj
; 
8456     wxNativeEncodingInfo 
*arg1 
= (wxNativeEncodingInfo 
*) 0 ; 
8457     PyObject 
* obj0 
= 0 ; 
8459         (char *) "self", NULL 
 
8462     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_NativeEncodingInfo",kwnames
,&obj0
)) goto fail
; 
8463     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_EXCEPTION 
| 0); 
8464     if (SWIG_arg_fail(1)) SWIG_fail
; 
8466         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8469         wxPyEndAllowThreads(__tstate
); 
8470         if (PyErr_Occurred()) SWIG_fail
; 
8472     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
8479 static PyObject 
*_wrap_NativeEncodingInfo_FromString(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
8480     PyObject 
*resultobj
; 
8481     wxNativeEncodingInfo 
*arg1 
= (wxNativeEncodingInfo 
*) 0 ; 
8482     wxString 
*arg2 
= 0 ; 
8484     bool temp2 
= false ; 
8485     PyObject 
* obj0 
= 0 ; 
8486     PyObject 
* obj1 
= 0 ; 
8488         (char *) "self",(char *) "s", NULL 
 
8491     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_FromString",kwnames
,&obj0
,&obj1
)) goto fail
; 
8492     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_EXCEPTION 
| 0); 
8493     if (SWIG_arg_fail(1)) SWIG_fail
; 
8495         arg2 
= wxString_in_helper(obj1
); 
8496         if (arg2 
== NULL
) SWIG_fail
; 
8500         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8501         result 
= (bool)(arg1
)->FromString((wxString 
const &)*arg2
); 
8503         wxPyEndAllowThreads(__tstate
); 
8504         if (PyErr_Occurred()) SWIG_fail
; 
8507         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
8523 static PyObject 
*_wrap_NativeEncodingInfo_ToString(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
8524     PyObject 
*resultobj
; 
8525     wxNativeEncodingInfo 
*arg1 
= (wxNativeEncodingInfo 
*) 0 ; 
8527     PyObject 
* obj0 
= 0 ; 
8529         (char *) "self", NULL 
 
8532     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_ToString",kwnames
,&obj0
)) goto fail
; 
8533     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_EXCEPTION 
| 0); 
8534     if (SWIG_arg_fail(1)) SWIG_fail
; 
8536         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8537         result 
= ((wxNativeEncodingInfo 
const *)arg1
)->ToString(); 
8539         wxPyEndAllowThreads(__tstate
); 
8540         if (PyErr_Occurred()) SWIG_fail
; 
8544         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
8546         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
8555 static PyObject 
* NativeEncodingInfo_swigregister(PyObject 
*, PyObject 
*args
) { 
8557     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
8558     SWIG_TypeClientData(SWIGTYPE_p_wxNativeEncodingInfo
, obj
); 
8560     return Py_BuildValue((char *)""); 
8562 static PyObject 
*_wrap_GetNativeFontEncoding(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
8563     PyObject 
*resultobj
; 
8564     wxFontEncoding arg1 
; 
8565     wxNativeEncodingInfo 
*result
; 
8566     PyObject 
* obj0 
= 0 ; 
8568         (char *) "encoding", NULL 
 
8571     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetNativeFontEncoding",kwnames
,&obj0
)) goto fail
; 
8573         arg1 
= (wxFontEncoding
)(SWIG_As_int(obj0
));  
8574         if (SWIG_arg_fail(1)) SWIG_fail
; 
8577         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8578         result 
= (wxNativeEncodingInfo 
*)wxGetNativeFontEncoding((wxFontEncoding 
)arg1
); 
8580         wxPyEndAllowThreads(__tstate
); 
8581         if (PyErr_Occurred()) SWIG_fail
; 
8583     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 0); 
8590 static PyObject 
*_wrap_TestFontEncoding(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
8591     PyObject 
*resultobj
; 
8592     wxNativeEncodingInfo 
*arg1 
= 0 ; 
8594     PyObject 
* obj0 
= 0 ; 
8596         (char *) "info", NULL 
 
8599     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TestFontEncoding",kwnames
,&obj0
)) goto fail
; 
8601         SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_EXCEPTION 
| 0); 
8602         if (SWIG_arg_fail(1)) SWIG_fail
; 
8604             SWIG_null_ref("wxNativeEncodingInfo"); 
8606         if (SWIG_arg_fail(1)) SWIG_fail
; 
8609         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8610         result 
= (bool)wxTestFontEncoding((wxNativeEncodingInfo 
const &)*arg1
); 
8612         wxPyEndAllowThreads(__tstate
); 
8613         if (PyErr_Occurred()) SWIG_fail
; 
8616         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
8624 static PyObject 
*_wrap_new_FontMapper(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
8625     PyObject 
*resultobj
; 
8626     wxFontMapper 
*result
; 
8631     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontMapper",kwnames
)) goto fail
; 
8633         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8634         result 
= (wxFontMapper 
*)new wxFontMapper(); 
8636         wxPyEndAllowThreads(__tstate
); 
8637         if (PyErr_Occurred()) SWIG_fail
; 
8639     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontMapper
, 1); 
8646 static PyObject 
*_wrap_delete_FontMapper(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
8647     PyObject 
*resultobj
; 
8648     wxFontMapper 
*arg1 
= (wxFontMapper 
*) 0 ; 
8649     PyObject 
* obj0 
= 0 ; 
8651         (char *) "self", NULL 
 
8654     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontMapper",kwnames
,&obj0
)) goto fail
; 
8655     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_EXCEPTION 
| 0); 
8656     if (SWIG_arg_fail(1)) SWIG_fail
; 
8658         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8661         wxPyEndAllowThreads(__tstate
); 
8662         if (PyErr_Occurred()) SWIG_fail
; 
8664     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
8671 static PyObject 
*_wrap_FontMapper_Get(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
8672     PyObject 
*resultobj
; 
8673     wxFontMapper 
*result
; 
8678     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_Get",kwnames
)) goto fail
; 
8680         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8681         result 
= (wxFontMapper 
*)wxFontMapper::Get(); 
8683         wxPyEndAllowThreads(__tstate
); 
8684         if (PyErr_Occurred()) SWIG_fail
; 
8686     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontMapper
, 0); 
8693 static PyObject 
*_wrap_FontMapper_Set(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
8694     PyObject 
*resultobj
; 
8695     wxFontMapper 
*arg1 
= (wxFontMapper 
*) 0 ; 
8696     wxFontMapper 
*result
; 
8697     PyObject 
* obj0 
= 0 ; 
8699         (char *) "mapper", NULL 
 
8702     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_Set",kwnames
,&obj0
)) goto fail
; 
8703     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_EXCEPTION 
| 0); 
8704     if (SWIG_arg_fail(1)) SWIG_fail
; 
8706         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8707         result 
= (wxFontMapper 
*)wxFontMapper::Set(arg1
); 
8709         wxPyEndAllowThreads(__tstate
); 
8710         if (PyErr_Occurred()) SWIG_fail
; 
8712     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontMapper
, 0); 
8719 static PyObject 
*_wrap_FontMapper_CharsetToEncoding(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
8720     PyObject 
*resultobj
; 
8721     wxFontMapper 
*arg1 
= (wxFontMapper 
*) 0 ; 
8722     wxString 
*arg2 
= 0 ; 
8723     bool arg3 
= (bool) true ; 
8724     wxFontEncoding result
; 
8725     bool temp2 
= false ; 
8726     PyObject 
* obj0 
= 0 ; 
8727     PyObject 
* obj1 
= 0 ; 
8728     PyObject 
* obj2 
= 0 ; 
8730         (char *) "self",(char *) "charset",(char *) "interactive", NULL 
 
8733     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_CharsetToEncoding",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
8734     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_EXCEPTION 
| 0); 
8735     if (SWIG_arg_fail(1)) SWIG_fail
; 
8737         arg2 
= wxString_in_helper(obj1
); 
8738         if (arg2 
== NULL
) SWIG_fail
; 
8743             arg3 
= (bool)(SWIG_As_bool(obj2
));  
8744             if (SWIG_arg_fail(3)) SWIG_fail
; 
8748         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8749         result 
= (wxFontEncoding
)(arg1
)->CharsetToEncoding((wxString 
const &)*arg2
,arg3
); 
8751         wxPyEndAllowThreads(__tstate
); 
8752         if (PyErr_Occurred()) SWIG_fail
; 
8754     resultobj 
= SWIG_From_int((result
)); 
8769 static PyObject 
*_wrap_FontMapper_GetSupportedEncodingsCount(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
8770     PyObject 
*resultobj
; 
8776     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_GetSupportedEncodingsCount",kwnames
)) goto fail
; 
8778         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8779         result 
= (size_t)wxFontMapper::GetSupportedEncodingsCount(); 
8781         wxPyEndAllowThreads(__tstate
); 
8782         if (PyErr_Occurred()) SWIG_fail
; 
8785         resultobj 
= SWIG_From_unsigned_SS_long((unsigned long)(result
));  
8793 static PyObject 
*_wrap_FontMapper_GetEncoding(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
8794     PyObject 
*resultobj
; 
8796     wxFontEncoding result
; 
8797     PyObject 
* obj0 
= 0 ; 
8802     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncoding",kwnames
,&obj0
)) goto fail
; 
8804         arg1 
= (size_t)(SWIG_As_unsigned_SS_long(obj0
));  
8805         if (SWIG_arg_fail(1)) SWIG_fail
; 
8808         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8809         result 
= (wxFontEncoding
)wxFontMapper::GetEncoding(arg1
); 
8811         wxPyEndAllowThreads(__tstate
); 
8812         if (PyErr_Occurred()) SWIG_fail
; 
8814     resultobj 
= SWIG_From_int((result
)); 
8821 static PyObject 
*_wrap_FontMapper_GetEncodingName(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
8822     PyObject 
*resultobj
; 
8823     wxFontEncoding arg1 
; 
8825     PyObject 
* obj0 
= 0 ; 
8827         (char *) "encoding", NULL 
 
8830     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingName",kwnames
,&obj0
)) goto fail
; 
8832         arg1 
= (wxFontEncoding
)(SWIG_As_int(obj0
));  
8833         if (SWIG_arg_fail(1)) SWIG_fail
; 
8836         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8837         result 
= wxFontMapper::GetEncodingName((wxFontEncoding 
)arg1
); 
8839         wxPyEndAllowThreads(__tstate
); 
8840         if (PyErr_Occurred()) SWIG_fail
; 
8844         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
8846         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
8855 static PyObject 
*_wrap_FontMapper_GetEncodingDescription(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
8856     PyObject 
*resultobj
; 
8857     wxFontEncoding arg1 
; 
8859     PyObject 
* obj0 
= 0 ; 
8861         (char *) "encoding", NULL 
 
8864     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingDescription",kwnames
,&obj0
)) goto fail
; 
8866         arg1 
= (wxFontEncoding
)(SWIG_As_int(obj0
));  
8867         if (SWIG_arg_fail(1)) SWIG_fail
; 
8870         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8871         result 
= wxFontMapper::GetEncodingDescription((wxFontEncoding 
)arg1
); 
8873         wxPyEndAllowThreads(__tstate
); 
8874         if (PyErr_Occurred()) SWIG_fail
; 
8878         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
8880         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
8889 static PyObject 
*_wrap_FontMapper_GetEncodingFromName(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
8890     PyObject 
*resultobj
; 
8891     wxString 
*arg1 
= 0 ; 
8892     wxFontEncoding result
; 
8893     bool temp1 
= false ; 
8894     PyObject 
* obj0 
= 0 ; 
8896         (char *) "name", NULL 
 
8899     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingFromName",kwnames
,&obj0
)) goto fail
; 
8901         arg1 
= wxString_in_helper(obj0
); 
8902         if (arg1 
== NULL
) SWIG_fail
; 
8906         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8907         result 
= (wxFontEncoding
)wxFontMapper::GetEncodingFromName((wxString 
const &)*arg1
); 
8909         wxPyEndAllowThreads(__tstate
); 
8910         if (PyErr_Occurred()) SWIG_fail
; 
8912     resultobj 
= SWIG_From_int((result
)); 
8927 static PyObject 
*_wrap_FontMapper_SetConfigPath(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
8928     PyObject 
*resultobj
; 
8929     wxFontMapper 
*arg1 
= (wxFontMapper 
*) 0 ; 
8930     wxString 
*arg2 
= 0 ; 
8931     bool temp2 
= false ; 
8932     PyObject 
* obj0 
= 0 ; 
8933     PyObject 
* obj1 
= 0 ; 
8935         (char *) "self",(char *) "prefix", NULL 
 
8938     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfigPath",kwnames
,&obj0
,&obj1
)) goto fail
; 
8939     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_EXCEPTION 
| 0); 
8940     if (SWIG_arg_fail(1)) SWIG_fail
; 
8942         arg2 
= wxString_in_helper(obj1
); 
8943         if (arg2 
== NULL
) SWIG_fail
; 
8947         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8948         (arg1
)->SetConfigPath((wxString 
const &)*arg2
); 
8950         wxPyEndAllowThreads(__tstate
); 
8951         if (PyErr_Occurred()) SWIG_fail
; 
8953     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
8968 static PyObject 
*_wrap_FontMapper_GetDefaultConfigPath(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
8969     PyObject 
*resultobj
; 
8975     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_GetDefaultConfigPath",kwnames
)) goto fail
; 
8977         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8978         result 
= wxFontMapper::GetDefaultConfigPath(); 
8980         wxPyEndAllowThreads(__tstate
); 
8981         if (PyErr_Occurred()) SWIG_fail
; 
8985         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
8987         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
8996 static PyObject 
*_wrap_FontMapper_GetAltForEncoding(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
8997     PyObject 
*resultobj
; 
8998     wxFontMapper 
*arg1 
= (wxFontMapper 
*) 0 ; 
8999     wxFontEncoding arg2 
; 
9000     wxString 
const &arg3_defvalue 
= wxPyEmptyString 
; 
9001     wxString 
*arg3 
= (wxString 
*) &arg3_defvalue 
; 
9002     bool arg4 
= (bool) true ; 
9004     bool temp3 
= false ; 
9005     PyObject 
* obj0 
= 0 ; 
9006     PyObject 
* obj1 
= 0 ; 
9007     PyObject 
* obj2 
= 0 ; 
9008     PyObject 
* obj3 
= 0 ; 
9010         (char *) "self",(char *) "encoding",(char *) "facename",(char *) "interactive", NULL 
 
9013     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:FontMapper_GetAltForEncoding",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
9014     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_EXCEPTION 
| 0); 
9015     if (SWIG_arg_fail(1)) SWIG_fail
; 
9017         arg2 
= (wxFontEncoding
)(SWIG_As_int(obj1
));  
9018         if (SWIG_arg_fail(2)) SWIG_fail
; 
9022             arg3 
= wxString_in_helper(obj2
); 
9023             if (arg3 
== NULL
) SWIG_fail
; 
9029             arg4 
= (bool)(SWIG_As_bool(obj3
));  
9030             if (SWIG_arg_fail(4)) SWIG_fail
; 
9034         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9035         result 
= (PyObject 
*)wxFontMapper_GetAltForEncoding(arg1
,(wxFontEncoding 
)arg2
,(wxString 
const &)*arg3
,arg4
); 
9037         wxPyEndAllowThreads(__tstate
); 
9038         if (PyErr_Occurred()) SWIG_fail
; 
9055 static PyObject 
*_wrap_FontMapper_IsEncodingAvailable(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9056     PyObject 
*resultobj
; 
9057     wxFontMapper 
*arg1 
= (wxFontMapper 
*) 0 ; 
9058     wxFontEncoding arg2 
; 
9059     wxString 
const &arg3_defvalue 
= wxPyEmptyString 
; 
9060     wxString 
*arg3 
= (wxString 
*) &arg3_defvalue 
; 
9062     bool temp3 
= false ; 
9063     PyObject 
* obj0 
= 0 ; 
9064     PyObject 
* obj1 
= 0 ; 
9065     PyObject 
* obj2 
= 0 ; 
9067         (char *) "self",(char *) "encoding",(char *) "facename", NULL 
 
9070     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_IsEncodingAvailable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
9071     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_EXCEPTION 
| 0); 
9072     if (SWIG_arg_fail(1)) SWIG_fail
; 
9074         arg2 
= (wxFontEncoding
)(SWIG_As_int(obj1
));  
9075         if (SWIG_arg_fail(2)) SWIG_fail
; 
9079             arg3 
= wxString_in_helper(obj2
); 
9080             if (arg3 
== NULL
) SWIG_fail
; 
9085         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9086         result 
= (bool)(arg1
)->IsEncodingAvailable((wxFontEncoding 
)arg2
,(wxString 
const &)*arg3
); 
9088         wxPyEndAllowThreads(__tstate
); 
9089         if (PyErr_Occurred()) SWIG_fail
; 
9092         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
9108 static PyObject 
*_wrap_FontMapper_SetDialogParent(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9109     PyObject 
*resultobj
; 
9110     wxFontMapper 
*arg1 
= (wxFontMapper 
*) 0 ; 
9111     wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
9112     PyObject 
* obj0 
= 0 ; 
9113     PyObject 
* obj1 
= 0 ; 
9115         (char *) "self",(char *) "parent", NULL 
 
9118     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogParent",kwnames
,&obj0
,&obj1
)) goto fail
; 
9119     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_EXCEPTION 
| 0); 
9120     if (SWIG_arg_fail(1)) SWIG_fail
; 
9121     SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
9122     if (SWIG_arg_fail(2)) SWIG_fail
; 
9124         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9125         (arg1
)->SetDialogParent(arg2
); 
9127         wxPyEndAllowThreads(__tstate
); 
9128         if (PyErr_Occurred()) SWIG_fail
; 
9130     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
9137 static PyObject 
*_wrap_FontMapper_SetDialogTitle(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9138     PyObject 
*resultobj
; 
9139     wxFontMapper 
*arg1 
= (wxFontMapper 
*) 0 ; 
9140     wxString 
*arg2 
= 0 ; 
9141     bool temp2 
= false ; 
9142     PyObject 
* obj0 
= 0 ; 
9143     PyObject 
* obj1 
= 0 ; 
9145         (char *) "self",(char *) "title", NULL 
 
9148     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogTitle",kwnames
,&obj0
,&obj1
)) goto fail
; 
9149     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_EXCEPTION 
| 0); 
9150     if (SWIG_arg_fail(1)) SWIG_fail
; 
9152         arg2 
= wxString_in_helper(obj1
); 
9153         if (arg2 
== NULL
) SWIG_fail
; 
9157         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9158         (arg1
)->SetDialogTitle((wxString 
const &)*arg2
); 
9160         wxPyEndAllowThreads(__tstate
); 
9161         if (PyErr_Occurred()) SWIG_fail
; 
9163     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
9178 static PyObject 
* FontMapper_swigregister(PyObject 
*, PyObject 
*args
) { 
9180     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
9181     SWIG_TypeClientData(SWIGTYPE_p_wxFontMapper
, obj
); 
9183     return Py_BuildValue((char *)""); 
9185 static PyObject 
*_wrap_new_Font(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9186     PyObject 
*resultobj
; 
9191     bool arg5 
= (bool) false ; 
9192     wxString 
const &arg6_defvalue 
= wxPyEmptyString 
; 
9193     wxString 
*arg6 
= (wxString 
*) &arg6_defvalue 
; 
9194     wxFontEncoding arg7 
= (wxFontEncoding
) wxFONTENCODING_DEFAULT 
; 
9196     bool temp6 
= false ; 
9197     PyObject 
* obj0 
= 0 ; 
9198     PyObject 
* obj1 
= 0 ; 
9199     PyObject 
* obj2 
= 0 ; 
9200     PyObject 
* obj3 
= 0 ; 
9201     PyObject 
* obj4 
= 0 ; 
9202     PyObject 
* obj5 
= 0 ; 
9203     PyObject 
* obj6 
= 0 ; 
9205         (char *) "pointSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "face",(char *) "encoding", NULL 
 
9208     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_Font",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
; 
9210         arg1 
= (int)(SWIG_As_int(obj0
));  
9211         if (SWIG_arg_fail(1)) SWIG_fail
; 
9214         arg2 
= (int)(SWIG_As_int(obj1
));  
9215         if (SWIG_arg_fail(2)) SWIG_fail
; 
9218         arg3 
= (int)(SWIG_As_int(obj2
));  
9219         if (SWIG_arg_fail(3)) SWIG_fail
; 
9222         arg4 
= (int)(SWIG_As_int(obj3
));  
9223         if (SWIG_arg_fail(4)) SWIG_fail
; 
9227             arg5 
= (bool)(SWIG_As_bool(obj4
));  
9228             if (SWIG_arg_fail(5)) SWIG_fail
; 
9233             arg6 
= wxString_in_helper(obj5
); 
9234             if (arg6 
== NULL
) SWIG_fail
; 
9240             arg7 
= (wxFontEncoding
)(SWIG_As_int(obj6
));  
9241             if (SWIG_arg_fail(7)) SWIG_fail
; 
9245         if (!wxPyCheckForApp()) SWIG_fail
; 
9246         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9247         result 
= (wxFont 
*)new wxFont(arg1
,arg2
,arg3
,arg4
,arg5
,(wxString 
const &)*arg6
,(wxFontEncoding 
)arg7
); 
9249         wxPyEndAllowThreads(__tstate
); 
9250         if (PyErr_Occurred()) SWIG_fail
; 
9252     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1); 
9267 static PyObject 
*_wrap_delete_Font(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9268     PyObject 
*resultobj
; 
9269     wxFont 
*arg1 
= (wxFont 
*) 0 ; 
9270     PyObject 
* obj0 
= 0 ; 
9272         (char *) "self", NULL 
 
9275     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Font",kwnames
,&obj0
)) goto fail
; 
9276     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION 
| 0); 
9277     if (SWIG_arg_fail(1)) SWIG_fail
; 
9279         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9282         wxPyEndAllowThreads(__tstate
); 
9283         if (PyErr_Occurred()) SWIG_fail
; 
9285     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
9292 static PyObject 
*_wrap_new_FontFromNativeInfo(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9293     PyObject 
*resultobj
; 
9294     wxNativeFontInfo 
*arg1 
= 0 ; 
9296     PyObject 
* obj0 
= 0 ; 
9298         (char *) "info", NULL 
 
9301     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfo",kwnames
,&obj0
)) goto fail
; 
9303         SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION 
| 0); 
9304         if (SWIG_arg_fail(1)) SWIG_fail
; 
9306             SWIG_null_ref("wxNativeFontInfo"); 
9308         if (SWIG_arg_fail(1)) SWIG_fail
; 
9311         if (!wxPyCheckForApp()) SWIG_fail
; 
9312         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9313         result 
= (wxFont 
*)new wxFont((wxNativeFontInfo 
const &)*arg1
); 
9315         wxPyEndAllowThreads(__tstate
); 
9316         if (PyErr_Occurred()) SWIG_fail
; 
9318     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1); 
9325 static PyObject 
*_wrap_new_FontFromNativeInfoString(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9326     PyObject 
*resultobj
; 
9327     wxString 
*arg1 
= 0 ; 
9329     bool temp1 
= false ; 
9330     PyObject 
* obj0 
= 0 ; 
9332         (char *) "info", NULL 
 
9335     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfoString",kwnames
,&obj0
)) goto fail
; 
9337         arg1 
= wxString_in_helper(obj0
); 
9338         if (arg1 
== NULL
) SWIG_fail
; 
9342         if (!wxPyCheckForApp()) SWIG_fail
; 
9343         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9344         result 
= (wxFont 
*)new_wxFont((wxString 
const &)*arg1
); 
9346         wxPyEndAllowThreads(__tstate
); 
9347         if (PyErr_Occurred()) SWIG_fail
; 
9349     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1); 
9364 static PyObject 
*_wrap_new_FFont(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9365     PyObject 
*resultobj
; 
9368     int arg3 
= (int) wxFONTFLAG_DEFAULT 
; 
9369     wxString 
const &arg4_defvalue 
= wxPyEmptyString 
; 
9370     wxString 
*arg4 
= (wxString 
*) &arg4_defvalue 
; 
9371     wxFontEncoding arg5 
= (wxFontEncoding
) wxFONTENCODING_DEFAULT 
; 
9373     bool temp4 
= false ; 
9374     PyObject 
* obj0 
= 0 ; 
9375     PyObject 
* obj1 
= 0 ; 
9376     PyObject 
* obj2 
= 0 ; 
9377     PyObject 
* obj3 
= 0 ; 
9378     PyObject 
* obj4 
= 0 ; 
9380         (char *) "pointSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL 
 
9383     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
; 
9385         arg1 
= (int)(SWIG_As_int(obj0
));  
9386         if (SWIG_arg_fail(1)) SWIG_fail
; 
9389         arg2 
= (wxFontFamily
)(SWIG_As_int(obj1
));  
9390         if (SWIG_arg_fail(2)) SWIG_fail
; 
9394             arg3 
= (int)(SWIG_As_int(obj2
));  
9395             if (SWIG_arg_fail(3)) SWIG_fail
; 
9400             arg4 
= wxString_in_helper(obj3
); 
9401             if (arg4 
== NULL
) SWIG_fail
; 
9407             arg5 
= (wxFontEncoding
)(SWIG_As_int(obj4
));  
9408             if (SWIG_arg_fail(5)) SWIG_fail
; 
9412         if (!wxPyCheckForApp()) SWIG_fail
; 
9413         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9414         result 
= (wxFont 
*)new_wxFont(arg1
,(wxFontFamily 
)arg2
,arg3
,(wxString 
const &)*arg4
,(wxFontEncoding 
)arg5
); 
9416         wxPyEndAllowThreads(__tstate
); 
9417         if (PyErr_Occurred()) SWIG_fail
; 
9419     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1); 
9434 static PyObject 
*_wrap_new_FontFromPixelSize(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9435     PyObject 
*resultobj
; 
9440     bool arg5 
= (bool) false ; 
9441     wxString 
const &arg6_defvalue 
= wxEmptyString 
; 
9442     wxString 
*arg6 
= (wxString 
*) &arg6_defvalue 
; 
9443     wxFontEncoding arg7 
= (wxFontEncoding
) wxFONTENCODING_DEFAULT 
; 
9446     bool temp6 
= false ; 
9447     PyObject 
* obj0 
= 0 ; 
9448     PyObject 
* obj1 
= 0 ; 
9449     PyObject 
* obj2 
= 0 ; 
9450     PyObject 
* obj3 
= 0 ; 
9451     PyObject 
* obj4 
= 0 ; 
9452     PyObject 
* obj5 
= 0 ; 
9453     PyObject 
* obj6 
= 0 ; 
9455         (char *) "pixelSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underlined",(char *) "face",(char *) "encoding", NULL 
 
9458     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_FontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
; 
9461         if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
; 
9464         arg2 
= (int)(SWIG_As_int(obj1
));  
9465         if (SWIG_arg_fail(2)) SWIG_fail
; 
9468         arg3 
= (int)(SWIG_As_int(obj2
));  
9469         if (SWIG_arg_fail(3)) SWIG_fail
; 
9472         arg4 
= (int)(SWIG_As_int(obj3
));  
9473         if (SWIG_arg_fail(4)) SWIG_fail
; 
9477             arg5 
= (bool)(SWIG_As_bool(obj4
));  
9478             if (SWIG_arg_fail(5)) SWIG_fail
; 
9483             arg6 
= wxString_in_helper(obj5
); 
9484             if (arg6 
== NULL
) SWIG_fail
; 
9490             arg7 
= (wxFontEncoding
)(SWIG_As_int(obj6
));  
9491             if (SWIG_arg_fail(7)) SWIG_fail
; 
9495         if (!wxPyCheckForApp()) SWIG_fail
; 
9496         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9497         result 
= (wxFont 
*)new_wxFont((wxSize 
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxString 
const &)*arg6
,(wxFontEncoding 
)arg7
); 
9499         wxPyEndAllowThreads(__tstate
); 
9500         if (PyErr_Occurred()) SWIG_fail
; 
9502     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1); 
9517 static PyObject 
*_wrap_new_FFontFromPixelSize(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9518     PyObject 
*resultobj
; 
9521     int arg3 
= (int) wxFONTFLAG_DEFAULT 
; 
9522     wxString 
const &arg4_defvalue 
= wxEmptyString 
; 
9523     wxString 
*arg4 
= (wxString 
*) &arg4_defvalue 
; 
9524     wxFontEncoding arg5 
= (wxFontEncoding
) wxFONTENCODING_DEFAULT 
; 
9527     bool temp4 
= false ; 
9528     PyObject 
* obj0 
= 0 ; 
9529     PyObject 
* obj1 
= 0 ; 
9530     PyObject 
* obj2 
= 0 ; 
9531     PyObject 
* obj3 
= 0 ; 
9532     PyObject 
* obj4 
= 0 ; 
9534         (char *) "pixelSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL 
 
9537     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
; 
9540         if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
; 
9543         arg2 
= (wxFontFamily
)(SWIG_As_int(obj1
));  
9544         if (SWIG_arg_fail(2)) SWIG_fail
; 
9548             arg3 
= (int)(SWIG_As_int(obj2
));  
9549             if (SWIG_arg_fail(3)) SWIG_fail
; 
9554             arg4 
= wxString_in_helper(obj3
); 
9555             if (arg4 
== NULL
) SWIG_fail
; 
9561             arg5 
= (wxFontEncoding
)(SWIG_As_int(obj4
));  
9562             if (SWIG_arg_fail(5)) SWIG_fail
; 
9566         if (!wxPyCheckForApp()) SWIG_fail
; 
9567         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9568         result 
= (wxFont 
*)new_wxFont((wxSize 
const &)*arg1
,(wxFontFamily 
)arg2
,arg3
,(wxString 
const &)*arg4
,(wxFontEncoding 
)arg5
); 
9570         wxPyEndAllowThreads(__tstate
); 
9571         if (PyErr_Occurred()) SWIG_fail
; 
9573     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1); 
9588 static PyObject 
*_wrap_Font_Ok(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9589     PyObject 
*resultobj
; 
9590     wxFont 
*arg1 
= (wxFont 
*) 0 ; 
9592     PyObject 
* obj0 
= 0 ; 
9594         (char *) "self", NULL 
 
9597     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_Ok",kwnames
,&obj0
)) goto fail
; 
9598     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION 
| 0); 
9599     if (SWIG_arg_fail(1)) SWIG_fail
; 
9601         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9602         result 
= (bool)((wxFont 
const *)arg1
)->Ok(); 
9604         wxPyEndAllowThreads(__tstate
); 
9605         if (PyErr_Occurred()) SWIG_fail
; 
9608         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
9616 static PyObject 
*_wrap_Font___eq__(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9617     PyObject 
*resultobj
; 
9618     wxFont 
*arg1 
= (wxFont 
*) 0 ; 
9619     wxFont 
*arg2 
= (wxFont 
*) 0 ; 
9621     PyObject 
* obj0 
= 0 ; 
9622     PyObject 
* obj1 
= 0 ; 
9624         (char *) "self",(char *) "other", NULL 
 
9627     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___eq__",kwnames
,&obj0
,&obj1
)) goto fail
; 
9628     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION 
| 0); 
9629     if (SWIG_arg_fail(1)) SWIG_fail
; 
9630     SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION 
| 0); 
9631     if (SWIG_arg_fail(2)) SWIG_fail
; 
9633         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9634         result 
= (bool)wxFont___eq__(arg1
,(wxFont 
const *)arg2
); 
9636         wxPyEndAllowThreads(__tstate
); 
9637         if (PyErr_Occurred()) SWIG_fail
; 
9640         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
9648 static PyObject 
*_wrap_Font___ne__(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9649     PyObject 
*resultobj
; 
9650     wxFont 
*arg1 
= (wxFont 
*) 0 ; 
9651     wxFont 
*arg2 
= (wxFont 
*) 0 ; 
9653     PyObject 
* obj0 
= 0 ; 
9654     PyObject 
* obj1 
= 0 ; 
9656         (char *) "self",(char *) "other", NULL 
 
9659     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___ne__",kwnames
,&obj0
,&obj1
)) goto fail
; 
9660     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION 
| 0); 
9661     if (SWIG_arg_fail(1)) SWIG_fail
; 
9662     SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION 
| 0); 
9663     if (SWIG_arg_fail(2)) SWIG_fail
; 
9665         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9666         result 
= (bool)wxFont___ne__(arg1
,(wxFont 
const *)arg2
); 
9668         wxPyEndAllowThreads(__tstate
); 
9669         if (PyErr_Occurred()) SWIG_fail
; 
9672         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
9680 static PyObject 
*_wrap_Font_GetPointSize(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9681     PyObject 
*resultobj
; 
9682     wxFont 
*arg1 
= (wxFont 
*) 0 ; 
9684     PyObject 
* obj0 
= 0 ; 
9686         (char *) "self", NULL 
 
9689     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetPointSize",kwnames
,&obj0
)) goto fail
; 
9690     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION 
| 0); 
9691     if (SWIG_arg_fail(1)) SWIG_fail
; 
9693         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9694         result 
= (int)((wxFont 
const *)arg1
)->GetPointSize(); 
9696         wxPyEndAllowThreads(__tstate
); 
9697         if (PyErr_Occurred()) SWIG_fail
; 
9700         resultobj 
= SWIG_From_int((int)(result
));  
9708 static PyObject 
*_wrap_Font_GetPixelSize(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9709     PyObject 
*resultobj
; 
9710     wxFont 
*arg1 
= (wxFont 
*) 0 ; 
9712     PyObject 
* obj0 
= 0 ; 
9714         (char *) "self", NULL 
 
9717     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetPixelSize",kwnames
,&obj0
)) goto fail
; 
9718     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION 
| 0); 
9719     if (SWIG_arg_fail(1)) SWIG_fail
; 
9721         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9722         result 
= ((wxFont 
const *)arg1
)->GetPixelSize(); 
9724         wxPyEndAllowThreads(__tstate
); 
9725         if (PyErr_Occurred()) SWIG_fail
; 
9729         resultptr 
= new wxSize((wxSize 
&)(result
)); 
9730         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1); 
9738 static PyObject 
*_wrap_Font_IsUsingSizeInPixels(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9739     PyObject 
*resultobj
; 
9740     wxFont 
*arg1 
= (wxFont 
*) 0 ; 
9742     PyObject 
* obj0 
= 0 ; 
9744         (char *) "self", NULL 
 
9747     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_IsUsingSizeInPixels",kwnames
,&obj0
)) goto fail
; 
9748     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION 
| 0); 
9749     if (SWIG_arg_fail(1)) SWIG_fail
; 
9751         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9752         result 
= (bool)((wxFont 
const *)arg1
)->IsUsingSizeInPixels(); 
9754         wxPyEndAllowThreads(__tstate
); 
9755         if (PyErr_Occurred()) SWIG_fail
; 
9758         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
9766 static PyObject 
*_wrap_Font_GetFamily(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9767     PyObject 
*resultobj
; 
9768     wxFont 
*arg1 
= (wxFont 
*) 0 ; 
9770     PyObject 
* obj0 
= 0 ; 
9772         (char *) "self", NULL 
 
9775     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetFamily",kwnames
,&obj0
)) goto fail
; 
9776     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION 
| 0); 
9777     if (SWIG_arg_fail(1)) SWIG_fail
; 
9779         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9780         result 
= (int)((wxFont 
const *)arg1
)->GetFamily(); 
9782         wxPyEndAllowThreads(__tstate
); 
9783         if (PyErr_Occurred()) SWIG_fail
; 
9786         resultobj 
= SWIG_From_int((int)(result
));  
9794 static PyObject 
*_wrap_Font_GetStyle(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9795     PyObject 
*resultobj
; 
9796     wxFont 
*arg1 
= (wxFont 
*) 0 ; 
9798     PyObject 
* obj0 
= 0 ; 
9800         (char *) "self", NULL 
 
9803     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetStyle",kwnames
,&obj0
)) goto fail
; 
9804     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION 
| 0); 
9805     if (SWIG_arg_fail(1)) SWIG_fail
; 
9807         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9808         result 
= (int)((wxFont 
const *)arg1
)->GetStyle(); 
9810         wxPyEndAllowThreads(__tstate
); 
9811         if (PyErr_Occurred()) SWIG_fail
; 
9814         resultobj 
= SWIG_From_int((int)(result
));  
9822 static PyObject 
*_wrap_Font_GetWeight(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9823     PyObject 
*resultobj
; 
9824     wxFont 
*arg1 
= (wxFont 
*) 0 ; 
9826     PyObject 
* obj0 
= 0 ; 
9828         (char *) "self", NULL 
 
9831     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetWeight",kwnames
,&obj0
)) goto fail
; 
9832     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION 
| 0); 
9833     if (SWIG_arg_fail(1)) SWIG_fail
; 
9835         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9836         result 
= (int)((wxFont 
const *)arg1
)->GetWeight(); 
9838         wxPyEndAllowThreads(__tstate
); 
9839         if (PyErr_Occurred()) SWIG_fail
; 
9842         resultobj 
= SWIG_From_int((int)(result
));  
9850 static PyObject 
*_wrap_Font_GetUnderlined(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9851     PyObject 
*resultobj
; 
9852     wxFont 
*arg1 
= (wxFont 
*) 0 ; 
9854     PyObject 
* obj0 
= 0 ; 
9856         (char *) "self", NULL 
 
9859     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetUnderlined",kwnames
,&obj0
)) goto fail
; 
9860     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION 
| 0); 
9861     if (SWIG_arg_fail(1)) SWIG_fail
; 
9863         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9864         result 
= (bool)((wxFont 
const *)arg1
)->GetUnderlined(); 
9866         wxPyEndAllowThreads(__tstate
); 
9867         if (PyErr_Occurred()) SWIG_fail
; 
9870         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
9878 static PyObject 
*_wrap_Font_GetFaceName(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9879     PyObject 
*resultobj
; 
9880     wxFont 
*arg1 
= (wxFont 
*) 0 ; 
9882     PyObject 
* obj0 
= 0 ; 
9884         (char *) "self", NULL 
 
9887     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetFaceName",kwnames
,&obj0
)) goto fail
; 
9888     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION 
| 0); 
9889     if (SWIG_arg_fail(1)) SWIG_fail
; 
9891         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9892         result 
= ((wxFont 
const *)arg1
)->GetFaceName(); 
9894         wxPyEndAllowThreads(__tstate
); 
9895         if (PyErr_Occurred()) SWIG_fail
; 
9899         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
9901         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
9910 static PyObject 
*_wrap_Font_GetEncoding(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9911     PyObject 
*resultobj
; 
9912     wxFont 
*arg1 
= (wxFont 
*) 0 ; 
9913     wxFontEncoding result
; 
9914     PyObject 
* obj0 
= 0 ; 
9916         (char *) "self", NULL 
 
9919     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetEncoding",kwnames
,&obj0
)) goto fail
; 
9920     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION 
| 0); 
9921     if (SWIG_arg_fail(1)) SWIG_fail
; 
9923         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9924         result 
= (wxFontEncoding
)((wxFont 
const *)arg1
)->GetEncoding(); 
9926         wxPyEndAllowThreads(__tstate
); 
9927         if (PyErr_Occurred()) SWIG_fail
; 
9929     resultobj 
= SWIG_From_int((result
)); 
9936 static PyObject 
*_wrap_Font_GetNativeFontInfo(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9937     PyObject 
*resultobj
; 
9938     wxFont 
*arg1 
= (wxFont 
*) 0 ; 
9939     wxNativeFontInfo 
*result
; 
9940     PyObject 
* obj0 
= 0 ; 
9942         (char *) "self", NULL 
 
9945     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfo",kwnames
,&obj0
)) goto fail
; 
9946     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION 
| 0); 
9947     if (SWIG_arg_fail(1)) SWIG_fail
; 
9949         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9950         result 
= (wxNativeFontInfo 
*)((wxFont 
const *)arg1
)->GetNativeFontInfo(); 
9952         wxPyEndAllowThreads(__tstate
); 
9953         if (PyErr_Occurred()) SWIG_fail
; 
9955     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeFontInfo
, 0); 
9962 static PyObject 
*_wrap_Font_IsFixedWidth(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9963     PyObject 
*resultobj
; 
9964     wxFont 
*arg1 
= (wxFont 
*) 0 ; 
9966     PyObject 
* obj0 
= 0 ; 
9968         (char *) "self", NULL 
 
9971     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_IsFixedWidth",kwnames
,&obj0
)) goto fail
; 
9972     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION 
| 0); 
9973     if (SWIG_arg_fail(1)) SWIG_fail
; 
9975         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9976         result 
= (bool)((wxFont 
const *)arg1
)->IsFixedWidth(); 
9978         wxPyEndAllowThreads(__tstate
); 
9979         if (PyErr_Occurred()) SWIG_fail
; 
9982         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
9990 static PyObject 
*_wrap_Font_GetNativeFontInfoDesc(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9991     PyObject 
*resultobj
; 
9992     wxFont 
*arg1 
= (wxFont 
*) 0 ; 
9994     PyObject 
* obj0 
= 0 ; 
9996         (char *) "self", NULL 
 
9999     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfoDesc",kwnames
,&obj0
)) goto fail
; 
10000     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION 
| 0); 
10001     if (SWIG_arg_fail(1)) SWIG_fail
; 
10003         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10004         result 
= ((wxFont 
const *)arg1
)->GetNativeFontInfoDesc(); 
10006         wxPyEndAllowThreads(__tstate
); 
10007         if (PyErr_Occurred()) SWIG_fail
; 
10011         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
10013         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
10022 static PyObject 
*_wrap_Font_GetNativeFontInfoUserDesc(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
10023     PyObject 
*resultobj
; 
10024     wxFont 
*arg1 
= (wxFont 
*) 0 ; 
10026     PyObject 
* obj0 
= 0 ; 
10027     char *kwnames
[] = { 
10028         (char *) "self", NULL 
 
10031     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfoUserDesc",kwnames
,&obj0
)) goto fail
; 
10032     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION 
| 0); 
10033     if (SWIG_arg_fail(1)) SWIG_fail
; 
10035         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10036         result 
= ((wxFont 
const *)arg1
)->GetNativeFontInfoUserDesc(); 
10038         wxPyEndAllowThreads(__tstate
); 
10039         if (PyErr_Occurred()) SWIG_fail
; 
10043         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
10045         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
10054 static PyObject 
*_wrap_Font_SetPointSize(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
10055     PyObject 
*resultobj
; 
10056     wxFont 
*arg1 
= (wxFont 
*) 0 ; 
10058     PyObject 
* obj0 
= 0 ; 
10059     PyObject 
* obj1 
= 0 ; 
10060     char *kwnames
[] = { 
10061         (char *) "self",(char *) "pointSize", NULL 
 
10064     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPointSize",kwnames
,&obj0
,&obj1
)) goto fail
; 
10065     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION 
| 0); 
10066     if (SWIG_arg_fail(1)) SWIG_fail
; 
10068         arg2 
= (int)(SWIG_As_int(obj1
));  
10069         if (SWIG_arg_fail(2)) SWIG_fail
; 
10072         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10073         (arg1
)->SetPointSize(arg2
); 
10075         wxPyEndAllowThreads(__tstate
); 
10076         if (PyErr_Occurred()) SWIG_fail
; 
10078     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
10085 static PyObject 
*_wrap_Font_SetPixelSize(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
10086     PyObject 
*resultobj
; 
10087     wxFont 
*arg1 
= (wxFont 
*) 0 ; 
10090     PyObject 
* obj0 
= 0 ; 
10091     PyObject 
* obj1 
= 0 ; 
10092     char *kwnames
[] = { 
10093         (char *) "self",(char *) "pixelSize", NULL 
 
10096     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPixelSize",kwnames
,&obj0
,&obj1
)) goto fail
; 
10097     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION 
| 0); 
10098     if (SWIG_arg_fail(1)) SWIG_fail
; 
10101         if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
; 
10104         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10105         (arg1
)->SetPixelSize((wxSize 
const &)*arg2
); 
10107         wxPyEndAllowThreads(__tstate
); 
10108         if (PyErr_Occurred()) SWIG_fail
; 
10110     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
10117 static PyObject 
*_wrap_Font_SetFamily(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
10118     PyObject 
*resultobj
; 
10119     wxFont 
*arg1 
= (wxFont 
*) 0 ; 
10121     PyObject 
* obj0 
= 0 ; 
10122     PyObject 
* obj1 
= 0 ; 
10123     char *kwnames
[] = { 
10124         (char *) "self",(char *) "family", NULL 
 
10127     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFamily",kwnames
,&obj0
,&obj1
)) goto fail
; 
10128     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION 
| 0); 
10129     if (SWIG_arg_fail(1)) SWIG_fail
; 
10131         arg2 
= (int)(SWIG_As_int(obj1
));  
10132         if (SWIG_arg_fail(2)) SWIG_fail
; 
10135         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10136         (arg1
)->SetFamily(arg2
); 
10138         wxPyEndAllowThreads(__tstate
); 
10139         if (PyErr_Occurred()) SWIG_fail
; 
10141     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
10148 static PyObject 
*_wrap_Font_SetStyle(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
10149     PyObject 
*resultobj
; 
10150     wxFont 
*arg1 
= (wxFont 
*) 0 ; 
10152     PyObject 
* obj0 
= 0 ; 
10153     PyObject 
* obj1 
= 0 ; 
10154     char *kwnames
[] = { 
10155         (char *) "self",(char *) "style", NULL 
 
10158     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
; 
10159     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION 
| 0); 
10160     if (SWIG_arg_fail(1)) SWIG_fail
; 
10162         arg2 
= (int)(SWIG_As_int(obj1
));  
10163         if (SWIG_arg_fail(2)) SWIG_fail
; 
10166         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10167         (arg1
)->SetStyle(arg2
); 
10169         wxPyEndAllowThreads(__tstate
); 
10170         if (PyErr_Occurred()) SWIG_fail
; 
10172     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
10179 static PyObject 
*_wrap_Font_SetWeight(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
10180     PyObject 
*resultobj
; 
10181     wxFont 
*arg1 
= (wxFont 
*) 0 ; 
10183     PyObject 
* obj0 
= 0 ; 
10184     PyObject 
* obj1 
= 0 ; 
10185     char *kwnames
[] = { 
10186         (char *) "self",(char *) "weight", NULL 
 
10189     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetWeight",kwnames
,&obj0
,&obj1
)) goto fail
; 
10190     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION 
| 0); 
10191     if (SWIG_arg_fail(1)) SWIG_fail
; 
10193         arg2 
= (int)(SWIG_As_int(obj1
));  
10194         if (SWIG_arg_fail(2)) SWIG_fail
; 
10197         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10198         (arg1
)->SetWeight(arg2
); 
10200         wxPyEndAllowThreads(__tstate
); 
10201         if (PyErr_Occurred()) SWIG_fail
; 
10203     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
10210 static PyObject 
*_wrap_Font_SetFaceName(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
10211     PyObject 
*resultobj
; 
10212     wxFont 
*arg1 
= (wxFont 
*) 0 ; 
10213     wxString 
*arg2 
= 0 ; 
10214     bool temp2 
= false ; 
10215     PyObject 
* obj0 
= 0 ; 
10216     PyObject 
* obj1 
= 0 ; 
10217     char *kwnames
[] = { 
10218         (char *) "self",(char *) "faceName", NULL 
 
10221     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFaceName",kwnames
,&obj0
,&obj1
)) goto fail
; 
10222     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION 
| 0); 
10223     if (SWIG_arg_fail(1)) SWIG_fail
; 
10225         arg2 
= wxString_in_helper(obj1
); 
10226         if (arg2 
== NULL
) SWIG_fail
; 
10230         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10231         (arg1
)->SetFaceName((wxString 
const &)*arg2
); 
10233         wxPyEndAllowThreads(__tstate
); 
10234         if (PyErr_Occurred()) SWIG_fail
; 
10236     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
10251 static PyObject 
*_wrap_Font_SetUnderlined(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
10252     PyObject 
*resultobj
; 
10253     wxFont 
*arg1 
= (wxFont 
*) 0 ; 
10255     PyObject 
* obj0 
= 0 ; 
10256     PyObject 
* obj1 
= 0 ; 
10257     char *kwnames
[] = { 
10258         (char *) "self",(char *) "underlined", NULL 
 
10261     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetUnderlined",kwnames
,&obj0
,&obj1
)) goto fail
; 
10262     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION 
| 0); 
10263     if (SWIG_arg_fail(1)) SWIG_fail
; 
10265         arg2 
= (bool)(SWIG_As_bool(obj1
));  
10266         if (SWIG_arg_fail(2)) SWIG_fail
; 
10269         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10270         (arg1
)->SetUnderlined(arg2
); 
10272         wxPyEndAllowThreads(__tstate
); 
10273         if (PyErr_Occurred()) SWIG_fail
; 
10275     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
10282 static PyObject 
*_wrap_Font_SetEncoding(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
10283     PyObject 
*resultobj
; 
10284     wxFont 
*arg1 
= (wxFont 
*) 0 ; 
10285     wxFontEncoding arg2 
; 
10286     PyObject 
* obj0 
= 0 ; 
10287     PyObject 
* obj1 
= 0 ; 
10288     char *kwnames
[] = { 
10289         (char *) "self",(char *) "encoding", NULL 
 
10292     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetEncoding",kwnames
,&obj0
,&obj1
)) goto fail
; 
10293     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION 
| 0); 
10294     if (SWIG_arg_fail(1)) SWIG_fail
; 
10296         arg2 
= (wxFontEncoding
)(SWIG_As_int(obj1
));  
10297         if (SWIG_arg_fail(2)) SWIG_fail
; 
10300         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10301         (arg1
)->SetEncoding((wxFontEncoding 
)arg2
); 
10303         wxPyEndAllowThreads(__tstate
); 
10304         if (PyErr_Occurred()) SWIG_fail
; 
10306     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
10313 static PyObject 
*_wrap_Font_SetNativeFontInfo(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
10314     PyObject 
*resultobj
; 
10315     wxFont 
*arg1 
= (wxFont 
*) 0 ; 
10316     wxNativeFontInfo 
*arg2 
= 0 ; 
10317     PyObject 
* obj0 
= 0 ; 
10318     PyObject 
* obj1 
= 0 ; 
10319     char *kwnames
[] = { 
10320         (char *) "self",(char *) "info", NULL 
 
10323     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfo",kwnames
,&obj0
,&obj1
)) goto fail
; 
10324     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION 
| 0); 
10325     if (SWIG_arg_fail(1)) SWIG_fail
; 
10327         SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION 
| 0); 
10328         if (SWIG_arg_fail(2)) SWIG_fail
; 
10329         if (arg2 
== NULL
) { 
10330             SWIG_null_ref("wxNativeFontInfo"); 
10332         if (SWIG_arg_fail(2)) SWIG_fail
; 
10335         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10336         (arg1
)->SetNativeFontInfo((wxNativeFontInfo 
const &)*arg2
); 
10338         wxPyEndAllowThreads(__tstate
); 
10339         if (PyErr_Occurred()) SWIG_fail
; 
10341     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
10348 static PyObject 
*_wrap_Font_SetNativeFontInfoFromString(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
10349     PyObject 
*resultobj
; 
10350     wxFont 
*arg1 
= (wxFont 
*) 0 ; 
10351     wxString 
*arg2 
= 0 ; 
10352     bool temp2 
= false ; 
10353     PyObject 
* obj0 
= 0 ; 
10354     PyObject 
* obj1 
= 0 ; 
10355     char *kwnames
[] = { 
10356         (char *) "self",(char *) "info", NULL 
 
10359     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoFromString",kwnames
,&obj0
,&obj1
)) goto fail
; 
10360     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION 
| 0); 
10361     if (SWIG_arg_fail(1)) SWIG_fail
; 
10363         arg2 
= wxString_in_helper(obj1
); 
10364         if (arg2 
== NULL
) SWIG_fail
; 
10368         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10369         (arg1
)->SetNativeFontInfo((wxString 
const &)*arg2
); 
10371         wxPyEndAllowThreads(__tstate
); 
10372         if (PyErr_Occurred()) SWIG_fail
; 
10374     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
10389 static PyObject 
*_wrap_Font_SetNativeFontInfoUserDesc(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
10390     PyObject 
*resultobj
; 
10391     wxFont 
*arg1 
= (wxFont 
*) 0 ; 
10392     wxString 
*arg2 
= 0 ; 
10393     bool temp2 
= false ; 
10394     PyObject 
* obj0 
= 0 ; 
10395     PyObject 
* obj1 
= 0 ; 
10396     char *kwnames
[] = { 
10397         (char *) "self",(char *) "info", NULL 
 
10400     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoUserDesc",kwnames
,&obj0
,&obj1
)) goto fail
; 
10401     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION 
| 0); 
10402     if (SWIG_arg_fail(1)) SWIG_fail
; 
10404         arg2 
= wxString_in_helper(obj1
); 
10405         if (arg2 
== NULL
) SWIG_fail
; 
10409         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10410         (arg1
)->SetNativeFontInfoUserDesc((wxString 
const &)*arg2
); 
10412         wxPyEndAllowThreads(__tstate
); 
10413         if (PyErr_Occurred()) SWIG_fail
; 
10415     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
10430 static PyObject 
*_wrap_Font_GetFamilyString(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
10431     PyObject 
*resultobj
; 
10432     wxFont 
*arg1 
= (wxFont 
*) 0 ; 
10434     PyObject 
* obj0 
= 0 ; 
10435     char *kwnames
[] = { 
10436         (char *) "self", NULL 
 
10439     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetFamilyString",kwnames
,&obj0
)) goto fail
; 
10440     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION 
| 0); 
10441     if (SWIG_arg_fail(1)) SWIG_fail
; 
10443         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10444         result 
= ((wxFont 
const *)arg1
)->GetFamilyString(); 
10446         wxPyEndAllowThreads(__tstate
); 
10447         if (PyErr_Occurred()) SWIG_fail
; 
10451         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
10453         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
10462 static PyObject 
*_wrap_Font_GetStyleString(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
10463     PyObject 
*resultobj
; 
10464     wxFont 
*arg1 
= (wxFont 
*) 0 ; 
10466     PyObject 
* obj0 
= 0 ; 
10467     char *kwnames
[] = { 
10468         (char *) "self", NULL 
 
10471     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetStyleString",kwnames
,&obj0
)) goto fail
; 
10472     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION 
| 0); 
10473     if (SWIG_arg_fail(1)) SWIG_fail
; 
10475         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10476         result 
= ((wxFont 
const *)arg1
)->GetStyleString(); 
10478         wxPyEndAllowThreads(__tstate
); 
10479         if (PyErr_Occurred()) SWIG_fail
; 
10483         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
10485         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
10494 static PyObject 
*_wrap_Font_GetWeightString(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
10495     PyObject 
*resultobj
; 
10496     wxFont 
*arg1 
= (wxFont 
*) 0 ; 
10498     PyObject 
* obj0 
= 0 ; 
10499     char *kwnames
[] = { 
10500         (char *) "self", NULL 
 
10503     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetWeightString",kwnames
,&obj0
)) goto fail
; 
10504     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION 
| 0); 
10505     if (SWIG_arg_fail(1)) SWIG_fail
; 
10507         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10508         result 
= ((wxFont 
const *)arg1
)->GetWeightString(); 
10510         wxPyEndAllowThreads(__tstate
); 
10511         if (PyErr_Occurred()) SWIG_fail
; 
10515         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
10517         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
10526 static PyObject 
*_wrap_Font_SetNoAntiAliasing(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
10527     PyObject 
*resultobj
; 
10528     wxFont 
*arg1 
= (wxFont 
*) 0 ; 
10529     bool arg2 
= (bool) true ; 
10530     PyObject 
* obj0 
= 0 ; 
10531     PyObject 
* obj1 
= 0 ; 
10532     char *kwnames
[] = { 
10533         (char *) "self",(char *) "no", NULL 
 
10536     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Font_SetNoAntiAliasing",kwnames
,&obj0
,&obj1
)) goto fail
; 
10537     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION 
| 0); 
10538     if (SWIG_arg_fail(1)) SWIG_fail
; 
10541             arg2 
= (bool)(SWIG_As_bool(obj1
));  
10542             if (SWIG_arg_fail(2)) SWIG_fail
; 
10546         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10547         (arg1
)->SetNoAntiAliasing(arg2
); 
10549         wxPyEndAllowThreads(__tstate
); 
10550         if (PyErr_Occurred()) SWIG_fail
; 
10552     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
10559 static PyObject 
*_wrap_Font_GetNoAntiAliasing(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
10560     PyObject 
*resultobj
; 
10561     wxFont 
*arg1 
= (wxFont 
*) 0 ; 
10563     PyObject 
* obj0 
= 0 ; 
10564     char *kwnames
[] = { 
10565         (char *) "self", NULL 
 
10568     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNoAntiAliasing",kwnames
,&obj0
)) goto fail
; 
10569     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION 
| 0); 
10570     if (SWIG_arg_fail(1)) SWIG_fail
; 
10572         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10573         result 
= (bool)((wxFont 
const *)arg1
)->GetNoAntiAliasing(); 
10575         wxPyEndAllowThreads(__tstate
); 
10576         if (PyErr_Occurred()) SWIG_fail
; 
10579         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
10587 static PyObject 
*_wrap_Font_GetDefaultEncoding(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
10588     PyObject 
*resultobj
; 
10589     wxFontEncoding result
; 
10590     char *kwnames
[] = { 
10594     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Font_GetDefaultEncoding",kwnames
)) goto fail
; 
10596         if (!wxPyCheckForApp()) SWIG_fail
; 
10597         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10598         result 
= (wxFontEncoding
)wxFont::GetDefaultEncoding(); 
10600         wxPyEndAllowThreads(__tstate
); 
10601         if (PyErr_Occurred()) SWIG_fail
; 
10603     resultobj 
= SWIG_From_int((result
)); 
10610 static PyObject 
*_wrap_Font_SetDefaultEncoding(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
10611     PyObject 
*resultobj
; 
10612     wxFontEncoding arg1 
; 
10613     PyObject 
* obj0 
= 0 ; 
10614     char *kwnames
[] = { 
10615         (char *) "encoding", NULL 
 
10618     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_SetDefaultEncoding",kwnames
,&obj0
)) goto fail
; 
10620         arg1 
= (wxFontEncoding
)(SWIG_As_int(obj0
));  
10621         if (SWIG_arg_fail(1)) SWIG_fail
; 
10624         if (!wxPyCheckForApp()) SWIG_fail
; 
10625         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10626         wxFont::SetDefaultEncoding((wxFontEncoding 
)arg1
); 
10628         wxPyEndAllowThreads(__tstate
); 
10629         if (PyErr_Occurred()) SWIG_fail
; 
10631     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
10638 static PyObject 
* Font_swigregister(PyObject 
*, PyObject 
*args
) { 
10640     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
10641     SWIG_TypeClientData(SWIGTYPE_p_wxFont
, obj
); 
10643     return Py_BuildValue((char *)""); 
10645 static PyObject 
*_wrap_new_FontEnumerator(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
10646     PyObject 
*resultobj
; 
10647     wxPyFontEnumerator 
*result
; 
10648     char *kwnames
[] = { 
10652     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontEnumerator",kwnames
)) goto fail
; 
10654         if (!wxPyCheckForApp()) SWIG_fail
; 
10655         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10656         result 
= (wxPyFontEnumerator 
*)new wxPyFontEnumerator(); 
10658         wxPyEndAllowThreads(__tstate
); 
10659         if (PyErr_Occurred()) SWIG_fail
; 
10661     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFontEnumerator
, 1); 
10668 static PyObject 
*_wrap_delete_FontEnumerator(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
10669     PyObject 
*resultobj
; 
10670     wxPyFontEnumerator 
*arg1 
= (wxPyFontEnumerator 
*) 0 ; 
10671     PyObject 
* obj0 
= 0 ; 
10672     char *kwnames
[] = { 
10673         (char *) "self", NULL 
 
10676     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontEnumerator",kwnames
,&obj0
)) goto fail
; 
10677     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_EXCEPTION 
| 0); 
10678     if (SWIG_arg_fail(1)) SWIG_fail
; 
10680         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10683         wxPyEndAllowThreads(__tstate
); 
10684         if (PyErr_Occurred()) SWIG_fail
; 
10686     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
10693 static PyObject 
*_wrap_FontEnumerator__setCallbackInfo(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
10694     PyObject 
*resultobj
; 
10695     wxPyFontEnumerator 
*arg1 
= (wxPyFontEnumerator 
*) 0 ; 
10696     PyObject 
*arg2 
= (PyObject 
*) 0 ; 
10697     PyObject 
*arg3 
= (PyObject 
*) 0 ; 
10699     PyObject 
* obj0 
= 0 ; 
10700     PyObject 
* obj1 
= 0 ; 
10701     PyObject 
* obj2 
= 0 ; 
10702     PyObject 
* obj3 
= 0 ; 
10703     char *kwnames
[] = { 
10704         (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL 
 
10707     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FontEnumerator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
10708     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_EXCEPTION 
| 0); 
10709     if (SWIG_arg_fail(1)) SWIG_fail
; 
10713         arg4 
= (bool)(SWIG_As_bool(obj3
));  
10714         if (SWIG_arg_fail(4)) SWIG_fail
; 
10717         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10718         (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
); 
10720         wxPyEndAllowThreads(__tstate
); 
10721         if (PyErr_Occurred()) SWIG_fail
; 
10723     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
10730 static PyObject 
*_wrap_FontEnumerator_EnumerateFacenames(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
10731     PyObject 
*resultobj
; 
10732     wxPyFontEnumerator 
*arg1 
= (wxPyFontEnumerator 
*) 0 ; 
10733     wxFontEncoding arg2 
= (wxFontEncoding
) wxFONTENCODING_SYSTEM 
; 
10734     bool arg3 
= (bool) false ; 
10736     PyObject 
* obj0 
= 0 ; 
10737     PyObject 
* obj1 
= 0 ; 
10738     PyObject 
* obj2 
= 0 ; 
10739     char *kwnames
[] = { 
10740         (char *) "self",(char *) "encoding",(char *) "fixedWidthOnly", NULL 
 
10743     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FontEnumerator_EnumerateFacenames",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
10744     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_EXCEPTION 
| 0); 
10745     if (SWIG_arg_fail(1)) SWIG_fail
; 
10748             arg2 
= (wxFontEncoding
)(SWIG_As_int(obj1
));  
10749             if (SWIG_arg_fail(2)) SWIG_fail
; 
10754             arg3 
= (bool)(SWIG_As_bool(obj2
));  
10755             if (SWIG_arg_fail(3)) SWIG_fail
; 
10759         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10760         result 
= (bool)(arg1
)->EnumerateFacenames((wxFontEncoding 
)arg2
,arg3
); 
10762         wxPyEndAllowThreads(__tstate
); 
10763         if (PyErr_Occurred()) SWIG_fail
; 
10766         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
10774 static PyObject 
*_wrap_FontEnumerator_EnumerateEncodings(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
10775     PyObject 
*resultobj
; 
10776     wxPyFontEnumerator 
*arg1 
= (wxPyFontEnumerator 
*) 0 ; 
10777     wxString 
const &arg2_defvalue 
= wxPyEmptyString 
; 
10778     wxString 
*arg2 
= (wxString 
*) &arg2_defvalue 
; 
10780     bool temp2 
= false ; 
10781     PyObject 
* obj0 
= 0 ; 
10782     PyObject 
* obj1 
= 0 ; 
10783     char *kwnames
[] = { 
10784         (char *) "self",(char *) "facename", NULL 
 
10787     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FontEnumerator_EnumerateEncodings",kwnames
,&obj0
,&obj1
)) goto fail
; 
10788     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_EXCEPTION 
| 0); 
10789     if (SWIG_arg_fail(1)) SWIG_fail
; 
10792             arg2 
= wxString_in_helper(obj1
); 
10793             if (arg2 
== NULL
) SWIG_fail
; 
10798         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10799         result 
= (bool)(arg1
)->EnumerateEncodings((wxString 
const &)*arg2
); 
10801         wxPyEndAllowThreads(__tstate
); 
10802         if (PyErr_Occurred()) SWIG_fail
; 
10805         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
10821 static PyObject 
*_wrap_FontEnumerator_GetEncodings(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
10822     PyObject 
*resultobj
; 
10823     wxPyFontEnumerator 
*arg1 
= (wxPyFontEnumerator 
*) 0 ; 
10825     PyObject 
* obj0 
= 0 ; 
10826     char *kwnames
[] = { 
10827         (char *) "self", NULL 
 
10830     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_GetEncodings",kwnames
,&obj0
)) goto fail
; 
10831     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_EXCEPTION 
| 0); 
10832     if (SWIG_arg_fail(1)) SWIG_fail
; 
10834         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10835         result 
= (PyObject 
*)wxPyFontEnumerator_GetEncodings(arg1
); 
10837         wxPyEndAllowThreads(__tstate
); 
10838         if (PyErr_Occurred()) SWIG_fail
; 
10840     resultobj 
= result
; 
10847 static PyObject 
*_wrap_FontEnumerator_GetFacenames(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
10848     PyObject 
*resultobj
; 
10849     wxPyFontEnumerator 
*arg1 
= (wxPyFontEnumerator 
*) 0 ; 
10851     PyObject 
* obj0 
= 0 ; 
10852     char *kwnames
[] = { 
10853         (char *) "self", NULL 
 
10856     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_GetFacenames",kwnames
,&obj0
)) goto fail
; 
10857     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_EXCEPTION 
| 0); 
10858     if (SWIG_arg_fail(1)) SWIG_fail
; 
10860         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10861         result 
= (PyObject 
*)wxPyFontEnumerator_GetFacenames(arg1
); 
10863         wxPyEndAllowThreads(__tstate
); 
10864         if (PyErr_Occurred()) SWIG_fail
; 
10866     resultobj 
= result
; 
10873 static PyObject 
* FontEnumerator_swigregister(PyObject 
*, PyObject 
*args
) { 
10875     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
10876     SWIG_TypeClientData(SWIGTYPE_p_wxPyFontEnumerator
, obj
); 
10878     return Py_BuildValue((char *)""); 
10880 static PyObject 
*_wrap_LanguageInfo_Language_set(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
10881     PyObject 
*resultobj
; 
10882     wxLanguageInfo 
*arg1 
= (wxLanguageInfo 
*) 0 ; 
10884     PyObject 
* obj0 
= 0 ; 
10885     PyObject 
* obj1 
= 0 ; 
10886     char *kwnames
[] = { 
10887         (char *) "self",(char *) "Language", NULL 
 
10890     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LanguageInfo_Language_set",kwnames
,&obj0
,&obj1
)) goto fail
; 
10891     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLanguageInfo
, SWIG_POINTER_EXCEPTION 
| 0); 
10892     if (SWIG_arg_fail(1)) SWIG_fail
; 
10894         arg2 
= (int)(SWIG_As_int(obj1
));  
10895         if (SWIG_arg_fail(2)) SWIG_fail
; 
10897     if (arg1
) (arg1
)->Language 
= arg2
; 
10899     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
10906 static PyObject 
*_wrap_LanguageInfo_Language_get(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
10907     PyObject 
*resultobj
; 
10908     wxLanguageInfo 
*arg1 
= (wxLanguageInfo 
*) 0 ; 
10910     PyObject 
* obj0 
= 0 ; 
10911     char *kwnames
[] = { 
10912         (char *) "self", NULL 
 
10915     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_Language_get",kwnames
,&obj0
)) goto fail
; 
10916     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLanguageInfo
, SWIG_POINTER_EXCEPTION 
| 0); 
10917     if (SWIG_arg_fail(1)) SWIG_fail
; 
10918     result 
= (int) ((arg1
)->Language
); 
10921         resultobj 
= SWIG_From_int((int)(result
));  
10929 static PyObject 
*_wrap_LanguageInfo_CanonicalName_set(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
10930     PyObject 
*resultobj
; 
10931     wxLanguageInfo 
*arg1 
= (wxLanguageInfo 
*) 0 ; 
10932     wxString 
*arg2 
= (wxString 
*) 0 ; 
10933     bool temp2 
= false ; 
10934     PyObject 
* obj0 
= 0 ; 
10935     PyObject 
* obj1 
= 0 ; 
10936     char *kwnames
[] = { 
10937         (char *) "self",(char *) "CanonicalName", NULL 
 
10940     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LanguageInfo_CanonicalName_set",kwnames
,&obj0
,&obj1
)) goto fail
; 
10941     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLanguageInfo
, SWIG_POINTER_EXCEPTION 
| 0); 
10942     if (SWIG_arg_fail(1)) SWIG_fail
; 
10944         arg2 
= wxString_in_helper(obj1
); 
10945         if (arg2 
== NULL
) SWIG_fail
; 
10948     if (arg1
) (arg1
)->CanonicalName 
= *arg2
; 
10950     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
10965 static PyObject 
*_wrap_LanguageInfo_CanonicalName_get(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
10966     PyObject 
*resultobj
; 
10967     wxLanguageInfo 
*arg1 
= (wxLanguageInfo 
*) 0 ; 
10969     PyObject 
* obj0 
= 0 ; 
10970     char *kwnames
[] = { 
10971         (char *) "self", NULL 
 
10974     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_CanonicalName_get",kwnames
,&obj0
)) goto fail
; 
10975     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLanguageInfo
, SWIG_POINTER_EXCEPTION 
| 0); 
10976     if (SWIG_arg_fail(1)) SWIG_fail
; 
10977     result 
= (wxString 
*)& ((arg1
)->CanonicalName
); 
10981         resultobj 
= PyUnicode_FromWideChar(result
->c_str(), result
->Len()); 
10983         resultobj 
= PyString_FromStringAndSize(result
->c_str(), result
->Len()); 
10992 static PyObject 
*_wrap_LanguageInfo_Description_set(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
10993     PyObject 
*resultobj
; 
10994     wxLanguageInfo 
*arg1 
= (wxLanguageInfo 
*) 0 ; 
10995     wxString 
*arg2 
= (wxString 
*) 0 ; 
10996     bool temp2 
= false ; 
10997     PyObject 
* obj0 
= 0 ; 
10998     PyObject 
* obj1 
= 0 ; 
10999     char *kwnames
[] = { 
11000         (char *) "self",(char *) "Description", NULL 
 
11003     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LanguageInfo_Description_set",kwnames
,&obj0
,&obj1
)) goto fail
; 
11004     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLanguageInfo
, SWIG_POINTER_EXCEPTION 
| 0); 
11005     if (SWIG_arg_fail(1)) SWIG_fail
; 
11007         arg2 
= wxString_in_helper(obj1
); 
11008         if (arg2 
== NULL
) SWIG_fail
; 
11011     if (arg1
) (arg1
)->Description 
= *arg2
; 
11013     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
11028 static PyObject 
*_wrap_LanguageInfo_Description_get(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
11029     PyObject 
*resultobj
; 
11030     wxLanguageInfo 
*arg1 
= (wxLanguageInfo 
*) 0 ; 
11032     PyObject 
* obj0 
= 0 ; 
11033     char *kwnames
[] = { 
11034         (char *) "self", NULL 
 
11037     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_Description_get",kwnames
,&obj0
)) goto fail
; 
11038     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLanguageInfo
, SWIG_POINTER_EXCEPTION 
| 0); 
11039     if (SWIG_arg_fail(1)) SWIG_fail
; 
11040     result 
= (wxString 
*)& ((arg1
)->Description
); 
11044         resultobj 
= PyUnicode_FromWideChar(result
->c_str(), result
->Len()); 
11046         resultobj 
= PyString_FromStringAndSize(result
->c_str(), result
->Len()); 
11055 static PyObject 
* LanguageInfo_swigregister(PyObject 
*, PyObject 
*args
) { 
11057     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
11058     SWIG_TypeClientData(SWIGTYPE_p_wxLanguageInfo
, obj
); 
11060     return Py_BuildValue((char *)""); 
11062 static PyObject 
*_wrap_new_Locale(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
11063     PyObject 
*resultobj
; 
11064     int arg1 
= (int) -1 ; 
11065     int arg2 
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING 
; 
11067     PyObject 
* obj0 
= 0 ; 
11068     PyObject 
* obj1 
= 0 ; 
11069     char *kwnames
[] = { 
11070         (char *) "language",(char *) "flags", NULL 
 
11073     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Locale",kwnames
,&obj0
,&obj1
)) goto fail
; 
11076             arg1 
= (int)(SWIG_As_int(obj0
));  
11077             if (SWIG_arg_fail(1)) SWIG_fail
; 
11082             arg2 
= (int)(SWIG_As_int(obj1
));  
11083             if (SWIG_arg_fail(2)) SWIG_fail
; 
11087         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11088         result 
= (wxLocale 
*)new_wxLocale(arg1
,arg2
); 
11090         wxPyEndAllowThreads(__tstate
); 
11091         if (PyErr_Occurred()) SWIG_fail
; 
11093     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLocale
, 1); 
11100 static PyObject 
*_wrap_delete_Locale(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
11101     PyObject 
*resultobj
; 
11102     wxLocale 
*arg1 
= (wxLocale 
*) 0 ; 
11103     PyObject 
* obj0 
= 0 ; 
11104     char *kwnames
[] = { 
11105         (char *) "self", NULL 
 
11108     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Locale",kwnames
,&obj0
)) goto fail
; 
11109     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLocale
, SWIG_POINTER_EXCEPTION 
| 0); 
11110     if (SWIG_arg_fail(1)) SWIG_fail
; 
11112         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11115         wxPyEndAllowThreads(__tstate
); 
11116         if (PyErr_Occurred()) SWIG_fail
; 
11118     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
11125 static PyObject 
*_wrap_Locale_Init1(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
11126     PyObject 
*resultobj
; 
11127     wxLocale 
*arg1 
= (wxLocale 
*) 0 ; 
11128     wxString 
*arg2 
= 0 ; 
11129     wxString 
const &arg3_defvalue 
= wxPyEmptyString 
; 
11130     wxString 
*arg3 
= (wxString 
*) &arg3_defvalue 
; 
11131     wxString 
const &arg4_defvalue 
= wxPyEmptyString 
; 
11132     wxString 
*arg4 
= (wxString 
*) &arg4_defvalue 
; 
11133     bool arg5 
= (bool) true ; 
11134     bool arg6 
= (bool) false ; 
11136     bool temp2 
= false ; 
11137     bool temp3 
= false ; 
11138     bool temp4 
= false ; 
11139     PyObject 
* obj0 
= 0 ; 
11140     PyObject 
* obj1 
= 0 ; 
11141     PyObject 
* obj2 
= 0 ; 
11142     PyObject 
* obj3 
= 0 ; 
11143     PyObject 
* obj4 
= 0 ; 
11144     PyObject 
* obj5 
= 0 ; 
11145     char *kwnames
[] = { 
11146         (char *) "self",(char *) "szName",(char *) "szShort",(char *) "szLocale",(char *) "bLoadDefault",(char *) "bConvertEncoding", NULL 
 
11149     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Locale_Init1",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
; 
11150     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLocale
, SWIG_POINTER_EXCEPTION 
| 0); 
11151     if (SWIG_arg_fail(1)) SWIG_fail
; 
11153         arg2 
= wxString_in_helper(obj1
); 
11154         if (arg2 
== NULL
) SWIG_fail
; 
11159             arg3 
= wxString_in_helper(obj2
); 
11160             if (arg3 
== NULL
) SWIG_fail
; 
11166             arg4 
= wxString_in_helper(obj3
); 
11167             if (arg4 
== NULL
) SWIG_fail
; 
11173             arg5 
= (bool)(SWIG_As_bool(obj4
));  
11174             if (SWIG_arg_fail(5)) SWIG_fail
; 
11179             arg6 
= (bool)(SWIG_As_bool(obj5
));  
11180             if (SWIG_arg_fail(6)) SWIG_fail
; 
11184         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11185         result 
= (bool)wxLocale_Init1(arg1
,(wxString 
const &)*arg2
,(wxString 
const &)*arg3
,(wxString 
const &)*arg4
,arg5
,arg6
); 
11187         wxPyEndAllowThreads(__tstate
); 
11188         if (PyErr_Occurred()) SWIG_fail
; 
11191         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
11223 static PyObject 
*_wrap_Locale_Init2(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
11224     PyObject 
*resultobj
; 
11225     wxLocale 
*arg1 
= (wxLocale 
*) 0 ; 
11226     int arg2 
= (int) wxLANGUAGE_DEFAULT 
; 
11227     int arg3 
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING 
; 
11229     PyObject 
* obj0 
= 0 ; 
11230     PyObject 
* obj1 
= 0 ; 
11231     PyObject 
* obj2 
= 0 ; 
11232     char *kwnames
[] = { 
11233         (char *) "self",(char *) "language",(char *) "flags", NULL 
 
11236     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Locale_Init2",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
11237     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLocale
, SWIG_POINTER_EXCEPTION 
| 0); 
11238     if (SWIG_arg_fail(1)) SWIG_fail
; 
11241             arg2 
= (int)(SWIG_As_int(obj1
));  
11242             if (SWIG_arg_fail(2)) SWIG_fail
; 
11247             arg3 
= (int)(SWIG_As_int(obj2
));  
11248             if (SWIG_arg_fail(3)) SWIG_fail
; 
11252         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11253         result 
= (bool)wxLocale_Init2(arg1
,arg2
,arg3
); 
11255         wxPyEndAllowThreads(__tstate
); 
11256         if (PyErr_Occurred()) SWIG_fail
; 
11259         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
11267 static PyObject 
*_wrap_Locale_GetSystemLanguage(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
11268     PyObject 
*resultobj
; 
11270     char *kwnames
[] = { 
11274     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemLanguage",kwnames
)) goto fail
; 
11276         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11277         result 
= (int)wxLocale::GetSystemLanguage(); 
11279         wxPyEndAllowThreads(__tstate
); 
11280         if (PyErr_Occurred()) SWIG_fail
; 
11283         resultobj 
= SWIG_From_int((int)(result
));  
11291 static PyObject 
*_wrap_Locale_GetSystemEncoding(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
11292     PyObject 
*resultobj
; 
11293     wxFontEncoding result
; 
11294     char *kwnames
[] = { 
11298     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemEncoding",kwnames
)) goto fail
; 
11300         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11301         result 
= (wxFontEncoding
)wxLocale::GetSystemEncoding(); 
11303         wxPyEndAllowThreads(__tstate
); 
11304         if (PyErr_Occurred()) SWIG_fail
; 
11306     resultobj 
= SWIG_From_int((result
)); 
11313 static PyObject 
*_wrap_Locale_GetSystemEncodingName(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
11314     PyObject 
*resultobj
; 
11316     char *kwnames
[] = { 
11320     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemEncodingName",kwnames
)) goto fail
; 
11322         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11323         result 
= wxLocale::GetSystemEncodingName(); 
11325         wxPyEndAllowThreads(__tstate
); 
11326         if (PyErr_Occurred()) SWIG_fail
; 
11330         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
11332         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
11341 static PyObject 
*_wrap_Locale_IsOk(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
11342     PyObject 
*resultobj
; 
11343     wxLocale 
*arg1 
= (wxLocale 
*) 0 ; 
11345     PyObject 
* obj0 
= 0 ; 
11346     char *kwnames
[] = { 
11347         (char *) "self", NULL 
 
11350     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_IsOk",kwnames
,&obj0
)) goto fail
; 
11351     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLocale
, SWIG_POINTER_EXCEPTION 
| 0); 
11352     if (SWIG_arg_fail(1)) SWIG_fail
; 
11354         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11355         result 
= (bool)((wxLocale 
const *)arg1
)->IsOk(); 
11357         wxPyEndAllowThreads(__tstate
); 
11358         if (PyErr_Occurred()) SWIG_fail
; 
11361         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
11369 static PyObject 
*_wrap_Locale_GetLocale(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
11370     PyObject 
*resultobj
; 
11371     wxLocale 
*arg1 
= (wxLocale 
*) 0 ; 
11373     PyObject 
* obj0 
= 0 ; 
11374     char *kwnames
[] = { 
11375         (char *) "self", NULL 
 
11378     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLocale",kwnames
,&obj0
)) goto fail
; 
11379     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLocale
, SWIG_POINTER_EXCEPTION 
| 0); 
11380     if (SWIG_arg_fail(1)) SWIG_fail
; 
11382         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11383         result 
= ((wxLocale 
const *)arg1
)->GetLocale(); 
11385         wxPyEndAllowThreads(__tstate
); 
11386         if (PyErr_Occurred()) SWIG_fail
; 
11390         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
11392         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
11401 static PyObject 
*_wrap_Locale_GetLanguage(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
11402     PyObject 
*resultobj
; 
11403     wxLocale 
*arg1 
= (wxLocale 
*) 0 ; 
11405     PyObject 
* obj0 
= 0 ; 
11406     char *kwnames
[] = { 
11407         (char *) "self", NULL 
 
11410     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguage",kwnames
,&obj0
)) goto fail
; 
11411     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLocale
, SWIG_POINTER_EXCEPTION 
| 0); 
11412     if (SWIG_arg_fail(1)) SWIG_fail
; 
11414         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11415         result 
= (int)((wxLocale 
const *)arg1
)->GetLanguage(); 
11417         wxPyEndAllowThreads(__tstate
); 
11418         if (PyErr_Occurred()) SWIG_fail
; 
11421         resultobj 
= SWIG_From_int((int)(result
));  
11429 static PyObject 
*_wrap_Locale_GetSysName(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
11430     PyObject 
*resultobj
; 
11431     wxLocale 
*arg1 
= (wxLocale 
*) 0 ; 
11433     PyObject 
* obj0 
= 0 ; 
11434     char *kwnames
[] = { 
11435         (char *) "self", NULL 
 
11438     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetSysName",kwnames
,&obj0
)) goto fail
; 
11439     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLocale
, SWIG_POINTER_EXCEPTION 
| 0); 
11440     if (SWIG_arg_fail(1)) SWIG_fail
; 
11442         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11443         result 
= ((wxLocale 
const *)arg1
)->GetSysName(); 
11445         wxPyEndAllowThreads(__tstate
); 
11446         if (PyErr_Occurred()) SWIG_fail
; 
11450         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
11452         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
11461 static PyObject 
*_wrap_Locale_GetCanonicalName(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
11462     PyObject 
*resultobj
; 
11463     wxLocale 
*arg1 
= (wxLocale 
*) 0 ; 
11465     PyObject 
* obj0 
= 0 ; 
11466     char *kwnames
[] = { 
11467         (char *) "self", NULL 
 
11470     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetCanonicalName",kwnames
,&obj0
)) goto fail
; 
11471     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLocale
, SWIG_POINTER_EXCEPTION 
| 0); 
11472     if (SWIG_arg_fail(1)) SWIG_fail
; 
11474         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11475         result 
= ((wxLocale 
const *)arg1
)->GetCanonicalName(); 
11477         wxPyEndAllowThreads(__tstate
); 
11478         if (PyErr_Occurred()) SWIG_fail
; 
11482         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
11484         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
11493 static PyObject 
*_wrap_Locale_AddCatalogLookupPathPrefix(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
11494     PyObject 
*resultobj
; 
11495     wxString 
*arg1 
= 0 ; 
11496     bool temp1 
= false ; 
11497     PyObject 
* obj0 
= 0 ; 
11498     char *kwnames
[] = { 
11499         (char *) "prefix", NULL 
 
11502     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddCatalogLookupPathPrefix",kwnames
,&obj0
)) goto fail
; 
11504         arg1 
= wxString_in_helper(obj0
); 
11505         if (arg1 
== NULL
) SWIG_fail
; 
11509         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11510         wxLocale::AddCatalogLookupPathPrefix((wxString 
const &)*arg1
); 
11512         wxPyEndAllowThreads(__tstate
); 
11513         if (PyErr_Occurred()) SWIG_fail
; 
11515     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
11530 static PyObject 
*_wrap_Locale_AddCatalog(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
11531     PyObject 
*resultobj
; 
11532     wxLocale 
*arg1 
= (wxLocale 
*) 0 ; 
11533     wxString 
*arg2 
= 0 ; 
11535     bool temp2 
= false ; 
11536     PyObject 
* obj0 
= 0 ; 
11537     PyObject 
* obj1 
= 0 ; 
11538     char *kwnames
[] = { 
11539         (char *) "self",(char *) "szDomain", NULL 
 
11542     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_AddCatalog",kwnames
,&obj0
,&obj1
)) goto fail
; 
11543     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLocale
, SWIG_POINTER_EXCEPTION 
| 0); 
11544     if (SWIG_arg_fail(1)) SWIG_fail
; 
11546         arg2 
= wxString_in_helper(obj1
); 
11547         if (arg2 
== NULL
) SWIG_fail
; 
11551         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11552         result 
= (bool)(arg1
)->AddCatalog((wxString 
const &)*arg2
); 
11554         wxPyEndAllowThreads(__tstate
); 
11555         if (PyErr_Occurred()) SWIG_fail
; 
11558         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
11574 static PyObject 
*_wrap_Locale_IsLoaded(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
11575     PyObject 
*resultobj
; 
11576     wxLocale 
*arg1 
= (wxLocale 
*) 0 ; 
11577     wxString 
*arg2 
= 0 ; 
11579     bool temp2 
= false ; 
11580     PyObject 
* obj0 
= 0 ; 
11581     PyObject 
* obj1 
= 0 ; 
11582     char *kwnames
[] = { 
11583         (char *) "self",(char *) "szDomain", NULL 
 
11586     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_IsLoaded",kwnames
,&obj0
,&obj1
)) goto fail
; 
11587     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLocale
, SWIG_POINTER_EXCEPTION 
| 0); 
11588     if (SWIG_arg_fail(1)) SWIG_fail
; 
11590         arg2 
= wxString_in_helper(obj1
); 
11591         if (arg2 
== NULL
) SWIG_fail
; 
11595         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11596         result 
= (bool)((wxLocale 
const *)arg1
)->IsLoaded((wxString 
const &)*arg2
); 
11598         wxPyEndAllowThreads(__tstate
); 
11599         if (PyErr_Occurred()) SWIG_fail
; 
11602         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
11618 static PyObject 
*_wrap_Locale_GetLanguageInfo(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
11619     PyObject 
*resultobj
; 
11621     wxLanguageInfo 
*result
; 
11622     PyObject 
* obj0 
= 0 ; 
11623     char *kwnames
[] = { 
11624         (char *) "lang", NULL 
 
11627     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageInfo",kwnames
,&obj0
)) goto fail
; 
11629         arg1 
= (int)(SWIG_As_int(obj0
));  
11630         if (SWIG_arg_fail(1)) SWIG_fail
; 
11633         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11634         result 
= (wxLanguageInfo 
*)wxLocale::GetLanguageInfo(arg1
); 
11636         wxPyEndAllowThreads(__tstate
); 
11637         if (PyErr_Occurred()) SWIG_fail
; 
11639     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLanguageInfo
, 0); 
11646 static PyObject 
*_wrap_Locale_GetLanguageName(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
11647     PyObject 
*resultobj
; 
11650     PyObject 
* obj0 
= 0 ; 
11651     char *kwnames
[] = { 
11652         (char *) "lang", NULL 
 
11655     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageName",kwnames
,&obj0
)) goto fail
; 
11657         arg1 
= (int)(SWIG_As_int(obj0
));  
11658         if (SWIG_arg_fail(1)) SWIG_fail
; 
11661         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11662         result 
= wxLocale::GetLanguageName(arg1
); 
11664         wxPyEndAllowThreads(__tstate
); 
11665         if (PyErr_Occurred()) SWIG_fail
; 
11669         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
11671         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
11680 static PyObject 
*_wrap_Locale_FindLanguageInfo(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
11681     PyObject 
*resultobj
; 
11682     wxString 
*arg1 
= 0 ; 
11683     wxLanguageInfo 
*result
; 
11684     bool temp1 
= false ; 
11685     PyObject 
* obj0 
= 0 ; 
11686     char *kwnames
[] = { 
11687         (char *) "locale", NULL 
 
11690     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_FindLanguageInfo",kwnames
,&obj0
)) goto fail
; 
11692         arg1 
= wxString_in_helper(obj0
); 
11693         if (arg1 
== NULL
) SWIG_fail
; 
11697         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11698         result 
= (wxLanguageInfo 
*)wxLocale::FindLanguageInfo((wxString 
const &)*arg1
); 
11700         wxPyEndAllowThreads(__tstate
); 
11701         if (PyErr_Occurred()) SWIG_fail
; 
11703     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLanguageInfo
, 0); 
11718 static PyObject 
*_wrap_Locale_AddLanguage(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
11719     PyObject 
*resultobj
; 
11720     wxLanguageInfo 
*arg1 
= 0 ; 
11721     PyObject 
* obj0 
= 0 ; 
11722     char *kwnames
[] = { 
11723         (char *) "info", NULL 
 
11726     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddLanguage",kwnames
,&obj0
)) goto fail
; 
11728         SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLanguageInfo
, SWIG_POINTER_EXCEPTION 
| 0); 
11729         if (SWIG_arg_fail(1)) SWIG_fail
; 
11730         if (arg1 
== NULL
) { 
11731             SWIG_null_ref("wxLanguageInfo"); 
11733         if (SWIG_arg_fail(1)) SWIG_fail
; 
11736         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11737         wxLocale::AddLanguage((wxLanguageInfo 
const &)*arg1
); 
11739         wxPyEndAllowThreads(__tstate
); 
11740         if (PyErr_Occurred()) SWIG_fail
; 
11742     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
11749 static PyObject 
*_wrap_Locale_GetString(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
11750     PyObject 
*resultobj
; 
11751     wxLocale 
*arg1 
= (wxLocale 
*) 0 ; 
11752     wxString 
*arg2 
= 0 ; 
11753     wxString 
const &arg3_defvalue 
= wxPyEmptyString 
; 
11754     wxString 
*arg3 
= (wxString 
*) &arg3_defvalue 
; 
11756     bool temp2 
= false ; 
11757     bool temp3 
= false ; 
11758     PyObject 
* obj0 
= 0 ; 
11759     PyObject 
* obj1 
= 0 ; 
11760     PyObject 
* obj2 
= 0 ; 
11761     char *kwnames
[] = { 
11762         (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL 
 
11765     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Locale_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
11766     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLocale
, SWIG_POINTER_EXCEPTION 
| 0); 
11767     if (SWIG_arg_fail(1)) SWIG_fail
; 
11769         arg2 
= wxString_in_helper(obj1
); 
11770         if (arg2 
== NULL
) SWIG_fail
; 
11775             arg3 
= wxString_in_helper(obj2
); 
11776             if (arg3 
== NULL
) SWIG_fail
; 
11781         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11782         result 
= ((wxLocale 
const *)arg1
)->GetString((wxString 
const &)*arg2
,(wxString 
const &)*arg3
); 
11784         wxPyEndAllowThreads(__tstate
); 
11785         if (PyErr_Occurred()) SWIG_fail
; 
11789         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
11791         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
11816 static PyObject 
*_wrap_Locale_GetName(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
11817     PyObject 
*resultobj
; 
11818     wxLocale 
*arg1 
= (wxLocale 
*) 0 ; 
11820     PyObject 
* obj0 
= 0 ; 
11821     char *kwnames
[] = { 
11822         (char *) "self", NULL 
 
11825     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetName",kwnames
,&obj0
)) goto fail
; 
11826     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLocale
, SWIG_POINTER_EXCEPTION 
| 0); 
11827     if (SWIG_arg_fail(1)) SWIG_fail
; 
11829         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11831             wxString 
const &_result_ref 
= ((wxLocale 
const *)arg1
)->GetName(); 
11832             result 
= (wxString 
*) &_result_ref
; 
11835         wxPyEndAllowThreads(__tstate
); 
11836         if (PyErr_Occurred()) SWIG_fail
; 
11840         resultobj 
= PyUnicode_FromWideChar(result
->c_str(), result
->Len()); 
11842         resultobj 
= PyString_FromStringAndSize(result
->c_str(), result
->Len()); 
11851 static PyObject 
* Locale_swigregister(PyObject 
*, PyObject 
*args
) { 
11853     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
11854     SWIG_TypeClientData(SWIGTYPE_p_wxLocale
, obj
); 
11856     return Py_BuildValue((char *)""); 
11858 static PyObject 
*_wrap_GetLocale(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
11859     PyObject 
*resultobj
; 
11861     char *kwnames
[] = { 
11865     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocale",kwnames
)) goto fail
; 
11867         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11868         result 
= (wxLocale 
*)wxGetLocale(); 
11870         wxPyEndAllowThreads(__tstate
); 
11871         if (PyErr_Occurred()) SWIG_fail
; 
11873     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLocale
, 0); 
11880 static PyObject 
*_wrap_GetTranslation__SWIG_0(PyObject 
*, PyObject 
*args
) { 
11881     PyObject 
*resultobj
; 
11882     wxString 
*arg1 
= 0 ; 
11884     bool temp1 
= false ; 
11885     PyObject 
* obj0 
= 0 ; 
11887     if(!PyArg_ParseTuple(args
,(char *)"O:GetTranslation",&obj0
)) goto fail
; 
11889         arg1 
= wxString_in_helper(obj0
); 
11890         if (arg1 
== NULL
) SWIG_fail
; 
11894         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11895         result 
= wxGetTranslation((wxString 
const &)*arg1
); 
11897         wxPyEndAllowThreads(__tstate
); 
11898         if (PyErr_Occurred()) SWIG_fail
; 
11902         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
11904         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
11921 static PyObject 
*_wrap_GetTranslation__SWIG_1(PyObject 
*, PyObject 
*args
) { 
11922     PyObject 
*resultobj
; 
11923     wxString 
*arg1 
= 0 ; 
11924     wxString 
*arg2 
= 0 ; 
11927     bool temp1 
= false ; 
11928     bool temp2 
= false ; 
11929     PyObject 
* obj0 
= 0 ; 
11930     PyObject 
* obj1 
= 0 ; 
11931     PyObject 
* obj2 
= 0 ; 
11933     if(!PyArg_ParseTuple(args
,(char *)"OOO:GetTranslation",&obj0
,&obj1
,&obj2
)) goto fail
; 
11935         arg1 
= wxString_in_helper(obj0
); 
11936         if (arg1 
== NULL
) SWIG_fail
; 
11940         arg2 
= wxString_in_helper(obj1
); 
11941         if (arg2 
== NULL
) SWIG_fail
; 
11945         arg3 
= (size_t)(SWIG_As_unsigned_SS_long(obj2
));  
11946         if (SWIG_arg_fail(3)) SWIG_fail
; 
11949         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11950         result 
= wxGetTranslation((wxString 
const &)*arg1
,(wxString 
const &)*arg2
,arg3
); 
11952         wxPyEndAllowThreads(__tstate
); 
11953         if (PyErr_Occurred()) SWIG_fail
; 
11957         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
11959         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
11984 static PyObject 
*_wrap_GetTranslation(PyObject 
*self
, PyObject 
*args
) { 
11989     argc 
= PyObject_Length(args
); 
11990     for (ii 
= 0; (ii 
< argc
) && (ii 
< 3); ii
++) { 
11991         argv
[ii
] = PyTuple_GetItem(args
,ii
); 
11996             _v 
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]); 
11999             return _wrap_GetTranslation__SWIG_0(self
,args
); 
12005             _v 
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]); 
12009                 _v 
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]); 
12012                 _v 
= SWIG_Check_unsigned_SS_long(argv
[2]); 
12014                     return _wrap_GetTranslation__SWIG_1(self
,args
); 
12020     PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'GetTranslation'"); 
12025 static PyObject 
*_wrap_new_EncodingConverter(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
12026     PyObject 
*resultobj
; 
12027     wxEncodingConverter 
*result
; 
12028     char *kwnames
[] = { 
12032     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EncodingConverter",kwnames
)) goto fail
; 
12034         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12035         result 
= (wxEncodingConverter 
*)new wxEncodingConverter(); 
12037         wxPyEndAllowThreads(__tstate
); 
12038         if (PyErr_Occurred()) SWIG_fail
; 
12040     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEncodingConverter
, 1); 
12047 static PyObject 
*_wrap_delete_EncodingConverter(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
12048     PyObject 
*resultobj
; 
12049     wxEncodingConverter 
*arg1 
= (wxEncodingConverter 
*) 0 ; 
12050     PyObject 
* obj0 
= 0 ; 
12051     char *kwnames
[] = { 
12052         (char *) "self", NULL 
 
12055     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_EncodingConverter",kwnames
,&obj0
)) goto fail
; 
12056     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_EXCEPTION 
| 0); 
12057     if (SWIG_arg_fail(1)) SWIG_fail
; 
12059         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12062         wxPyEndAllowThreads(__tstate
); 
12063         if (PyErr_Occurred()) SWIG_fail
; 
12065     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
12072 static PyObject 
*_wrap_EncodingConverter_Init(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
12073     PyObject 
*resultobj
; 
12074     wxEncodingConverter 
*arg1 
= (wxEncodingConverter 
*) 0 ; 
12075     wxFontEncoding arg2 
; 
12076     wxFontEncoding arg3 
; 
12077     int arg4 
= (int) wxCONVERT_STRICT 
; 
12079     PyObject 
* obj0 
= 0 ; 
12080     PyObject 
* obj1 
= 0 ; 
12081     PyObject 
* obj2 
= 0 ; 
12082     PyObject 
* obj3 
= 0 ; 
12083     char *kwnames
[] = { 
12084         (char *) "self",(char *) "input_enc",(char *) "output_enc",(char *) "method", NULL 
 
12087     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:EncodingConverter_Init",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
12088     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_EXCEPTION 
| 0); 
12089     if (SWIG_arg_fail(1)) SWIG_fail
; 
12091         arg2 
= (wxFontEncoding
)(SWIG_As_int(obj1
));  
12092         if (SWIG_arg_fail(2)) SWIG_fail
; 
12095         arg3 
= (wxFontEncoding
)(SWIG_As_int(obj2
));  
12096         if (SWIG_arg_fail(3)) SWIG_fail
; 
12100             arg4 
= (int)(SWIG_As_int(obj3
));  
12101             if (SWIG_arg_fail(4)) SWIG_fail
; 
12105         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12106         result 
= (bool)(arg1
)->Init((wxFontEncoding 
)arg2
,(wxFontEncoding 
)arg3
,arg4
); 
12108         wxPyEndAllowThreads(__tstate
); 
12109         if (PyErr_Occurred()) SWIG_fail
; 
12112         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
12120 static PyObject 
*_wrap_EncodingConverter_Convert(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
12121     PyObject 
*resultobj
; 
12122     wxEncodingConverter 
*arg1 
= (wxEncodingConverter 
*) 0 ; 
12123     wxString 
*arg2 
= 0 ; 
12125     bool temp2 
= false ; 
12126     PyObject 
* obj0 
= 0 ; 
12127     PyObject 
* obj1 
= 0 ; 
12128     char *kwnames
[] = { 
12129         (char *) "self",(char *) "input", NULL 
 
12132     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_Convert",kwnames
,&obj0
,&obj1
)) goto fail
; 
12133     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_EXCEPTION 
| 0); 
12134     if (SWIG_arg_fail(1)) SWIG_fail
; 
12136         arg2 
= wxString_in_helper(obj1
); 
12137         if (arg2 
== NULL
) SWIG_fail
; 
12141         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12142         result 
= (arg1
)->Convert((wxString 
const &)*arg2
); 
12144         wxPyEndAllowThreads(__tstate
); 
12145         if (PyErr_Occurred()) SWIG_fail
; 
12149         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
12151         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
12168 static PyObject 
*_wrap_EncodingConverter_GetPlatformEquivalents(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
12169     PyObject 
*resultobj
; 
12170     wxFontEncoding arg1 
; 
12171     int arg2 
= (int) wxPLATFORM_CURRENT 
; 
12172     wxFontEncodingArray result
; 
12173     PyObject 
* obj0 
= 0 ; 
12174     PyObject 
* obj1 
= 0 ; 
12175     char *kwnames
[] = { 
12176         (char *) "enc",(char *) "platform", NULL 
 
12179     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EncodingConverter_GetPlatformEquivalents",kwnames
,&obj0
,&obj1
)) goto fail
; 
12181         arg1 
= (wxFontEncoding
)(SWIG_As_int(obj0
));  
12182         if (SWIG_arg_fail(1)) SWIG_fail
; 
12186             arg2 
= (int)(SWIG_As_int(obj1
));  
12187             if (SWIG_arg_fail(2)) SWIG_fail
; 
12191         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12192         result 
= wxEncodingConverter::GetPlatformEquivalents((wxFontEncoding 
)arg1
,arg2
); 
12194         wxPyEndAllowThreads(__tstate
); 
12195         if (PyErr_Occurred()) SWIG_fail
; 
12198         resultobj 
= PyList_New(0); 
12199         for (size_t i
=0; i 
< (&result
)->GetCount(); i
++) { 
12200             PyObject
* number 
= PyInt_FromLong((&result
)->Item(i
)); 
12201             PyList_Append(resultobj
, number
); 
12211 static PyObject 
*_wrap_EncodingConverter_GetAllEquivalents(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
12212     PyObject 
*resultobj
; 
12213     wxFontEncoding arg1 
; 
12214     wxFontEncodingArray result
; 
12215     PyObject 
* obj0 
= 0 ; 
12216     char *kwnames
[] = { 
12217         (char *) "enc", NULL 
 
12220     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EncodingConverter_GetAllEquivalents",kwnames
,&obj0
)) goto fail
; 
12222         arg1 
= (wxFontEncoding
)(SWIG_As_int(obj0
));  
12223         if (SWIG_arg_fail(1)) SWIG_fail
; 
12226         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12227         result 
= wxEncodingConverter::GetAllEquivalents((wxFontEncoding 
)arg1
); 
12229         wxPyEndAllowThreads(__tstate
); 
12230         if (PyErr_Occurred()) SWIG_fail
; 
12233         resultobj 
= PyList_New(0); 
12234         for (size_t i
=0; i 
< (&result
)->GetCount(); i
++) { 
12235             PyObject
* number 
= PyInt_FromLong((&result
)->Item(i
)); 
12236             PyList_Append(resultobj
, number
); 
12246 static PyObject 
*_wrap_EncodingConverter_CanConvert(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
12247     PyObject 
*resultobj
; 
12248     wxFontEncoding arg1 
; 
12249     wxFontEncoding arg2 
; 
12251     PyObject 
* obj0 
= 0 ; 
12252     PyObject 
* obj1 
= 0 ; 
12253     char *kwnames
[] = { 
12254         (char *) "encIn",(char *) "encOut", NULL 
 
12257     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_CanConvert",kwnames
,&obj0
,&obj1
)) goto fail
; 
12259         arg1 
= (wxFontEncoding
)(SWIG_As_int(obj0
));  
12260         if (SWIG_arg_fail(1)) SWIG_fail
; 
12263         arg2 
= (wxFontEncoding
)(SWIG_As_int(obj1
));  
12264         if (SWIG_arg_fail(2)) SWIG_fail
; 
12267         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12268         result 
= (bool)wxEncodingConverter::CanConvert((wxFontEncoding 
)arg1
,(wxFontEncoding 
)arg2
); 
12270         wxPyEndAllowThreads(__tstate
); 
12271         if (PyErr_Occurred()) SWIG_fail
; 
12274         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
12282 static PyObject 
* EncodingConverter_swigregister(PyObject 
*, PyObject 
*args
) { 
12284     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
12285     SWIG_TypeClientData(SWIGTYPE_p_wxEncodingConverter
, obj
); 
12287     return Py_BuildValue((char *)""); 
12289 static PyObject 
*_wrap_delete_DC(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
12290     PyObject 
*resultobj
; 
12291     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
12292     PyObject 
* obj0 
= 0 ; 
12293     char *kwnames
[] = { 
12294         (char *) "self", NULL 
 
12297     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DC",kwnames
,&obj0
)) goto fail
; 
12298     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
12299     if (SWIG_arg_fail(1)) SWIG_fail
; 
12301         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12304         wxPyEndAllowThreads(__tstate
); 
12305         if (PyErr_Occurred()) SWIG_fail
; 
12307     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
12314 static PyObject 
*_wrap_DC_BeginDrawing(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
12315     PyObject 
*resultobj
; 
12316     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
12317     PyObject 
* obj0 
= 0 ; 
12318     char *kwnames
[] = { 
12319         (char *) "self", NULL 
 
12322     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_BeginDrawing",kwnames
,&obj0
)) goto fail
; 
12323     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
12324     if (SWIG_arg_fail(1)) SWIG_fail
; 
12326         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12327         (arg1
)->BeginDrawing(); 
12329         wxPyEndAllowThreads(__tstate
); 
12330         if (PyErr_Occurred()) SWIG_fail
; 
12332     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
12339 static PyObject 
*_wrap_DC_EndDrawing(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
12340     PyObject 
*resultobj
; 
12341     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
12342     PyObject 
* obj0 
= 0 ; 
12343     char *kwnames
[] = { 
12344         (char *) "self", NULL 
 
12347     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_EndDrawing",kwnames
,&obj0
)) goto fail
; 
12348     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
12349     if (SWIG_arg_fail(1)) SWIG_fail
; 
12351         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12352         (arg1
)->EndDrawing(); 
12354         wxPyEndAllowThreads(__tstate
); 
12355         if (PyErr_Occurred()) SWIG_fail
; 
12357     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
12364 static PyObject 
*_wrap_DC_FloodFill(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
12365     PyObject 
*resultobj
; 
12366     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
12369     wxColour 
*arg4 
= 0 ; 
12370     int arg5 
= (int) wxFLOOD_SURFACE 
; 
12373     PyObject 
* obj0 
= 0 ; 
12374     PyObject 
* obj1 
= 0 ; 
12375     PyObject 
* obj2 
= 0 ; 
12376     PyObject 
* obj3 
= 0 ; 
12377     PyObject 
* obj4 
= 0 ; 
12378     char *kwnames
[] = { 
12379         (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL 
 
12382     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
; 
12383     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
12384     if (SWIG_arg_fail(1)) SWIG_fail
; 
12386         arg2 
= (int)(SWIG_As_int(obj1
));  
12387         if (SWIG_arg_fail(2)) SWIG_fail
; 
12390         arg3 
= (int)(SWIG_As_int(obj2
));  
12391         if (SWIG_arg_fail(3)) SWIG_fail
; 
12395         if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
; 
12399             arg5 
= (int)(SWIG_As_int(obj4
));  
12400             if (SWIG_arg_fail(5)) SWIG_fail
; 
12404         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12405         result 
= (bool)(arg1
)->FloodFill(arg2
,arg3
,(wxColour 
const &)*arg4
,arg5
); 
12407         wxPyEndAllowThreads(__tstate
); 
12408         if (PyErr_Occurred()) SWIG_fail
; 
12411         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
12419 static PyObject 
*_wrap_DC_FloodFillPoint(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
12420     PyObject 
*resultobj
; 
12421     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
12422     wxPoint 
*arg2 
= 0 ; 
12423     wxColour 
*arg3 
= 0 ; 
12424     int arg4 
= (int) wxFLOOD_SURFACE 
; 
12428     PyObject 
* obj0 
= 0 ; 
12429     PyObject 
* obj1 
= 0 ; 
12430     PyObject 
* obj2 
= 0 ; 
12431     PyObject 
* obj3 
= 0 ; 
12432     char *kwnames
[] = { 
12433         (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL 
 
12436     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
12437     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
12438     if (SWIG_arg_fail(1)) SWIG_fail
; 
12441         if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
12445         if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
; 
12449             arg4 
= (int)(SWIG_As_int(obj3
));  
12450             if (SWIG_arg_fail(4)) SWIG_fail
; 
12454         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12455         result 
= (bool)(arg1
)->FloodFill((wxPoint 
const &)*arg2
,(wxColour 
const &)*arg3
,arg4
); 
12457         wxPyEndAllowThreads(__tstate
); 
12458         if (PyErr_Occurred()) SWIG_fail
; 
12461         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
12469 static PyObject 
*_wrap_DC_GetPixel(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
12470     PyObject 
*resultobj
; 
12471     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
12475     PyObject 
* obj0 
= 0 ; 
12476     PyObject 
* obj1 
= 0 ; 
12477     PyObject 
* obj2 
= 0 ; 
12478     char *kwnames
[] = { 
12479         (char *) "self",(char *) "x",(char *) "y", NULL 
 
12482     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
12483     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
12484     if (SWIG_arg_fail(1)) SWIG_fail
; 
12486         arg2 
= (int)(SWIG_As_int(obj1
));  
12487         if (SWIG_arg_fail(2)) SWIG_fail
; 
12490         arg3 
= (int)(SWIG_As_int(obj2
));  
12491         if (SWIG_arg_fail(3)) SWIG_fail
; 
12494         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12495         result 
= wxDC_GetPixel(arg1
,arg2
,arg3
); 
12497         wxPyEndAllowThreads(__tstate
); 
12498         if (PyErr_Occurred()) SWIG_fail
; 
12501         wxColour 
* resultptr
; 
12502         resultptr 
= new wxColour((wxColour 
&)(result
)); 
12503         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1); 
12511 static PyObject 
*_wrap_DC_GetPixelPoint(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
12512     PyObject 
*resultobj
; 
12513     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
12514     wxPoint 
*arg2 
= 0 ; 
12517     PyObject 
* obj0 
= 0 ; 
12518     PyObject 
* obj1 
= 0 ; 
12519     char *kwnames
[] = { 
12520         (char *) "self",(char *) "pt", NULL 
 
12523     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPixelPoint",kwnames
,&obj0
,&obj1
)) goto fail
; 
12524     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
12525     if (SWIG_arg_fail(1)) SWIG_fail
; 
12528         if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
12531         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12532         result 
= wxDC_GetPixelPoint(arg1
,(wxPoint 
const &)*arg2
); 
12534         wxPyEndAllowThreads(__tstate
); 
12535         if (PyErr_Occurred()) SWIG_fail
; 
12538         wxColour 
* resultptr
; 
12539         resultptr 
= new wxColour((wxColour 
&)(result
)); 
12540         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1); 
12548 static PyObject 
*_wrap_DC_DrawLine(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
12549     PyObject 
*resultobj
; 
12550     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
12555     PyObject 
* obj0 
= 0 ; 
12556     PyObject 
* obj1 
= 0 ; 
12557     PyObject 
* obj2 
= 0 ; 
12558     PyObject 
* obj3 
= 0 ; 
12559     PyObject 
* obj4 
= 0 ; 
12560     char *kwnames
[] = { 
12561         (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL 
 
12564     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
; 
12565     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
12566     if (SWIG_arg_fail(1)) SWIG_fail
; 
12568         arg2 
= (int)(SWIG_As_int(obj1
));  
12569         if (SWIG_arg_fail(2)) SWIG_fail
; 
12572         arg3 
= (int)(SWIG_As_int(obj2
));  
12573         if (SWIG_arg_fail(3)) SWIG_fail
; 
12576         arg4 
= (int)(SWIG_As_int(obj3
));  
12577         if (SWIG_arg_fail(4)) SWIG_fail
; 
12580         arg5 
= (int)(SWIG_As_int(obj4
));  
12581         if (SWIG_arg_fail(5)) SWIG_fail
; 
12584         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12585         (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
); 
12587         wxPyEndAllowThreads(__tstate
); 
12588         if (PyErr_Occurred()) SWIG_fail
; 
12590     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
12597 static PyObject 
*_wrap_DC_DrawLinePoint(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
12598     PyObject 
*resultobj
; 
12599     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
12600     wxPoint 
*arg2 
= 0 ; 
12601     wxPoint 
*arg3 
= 0 ; 
12604     PyObject 
* obj0 
= 0 ; 
12605     PyObject 
* obj1 
= 0 ; 
12606     PyObject 
* obj2 
= 0 ; 
12607     char *kwnames
[] = { 
12608         (char *) "self",(char *) "pt1",(char *) "pt2", NULL 
 
12611     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
12612     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
12613     if (SWIG_arg_fail(1)) SWIG_fail
; 
12616         if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
12620         if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
; 
12623         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12624         (arg1
)->DrawLine((wxPoint 
const &)*arg2
,(wxPoint 
const &)*arg3
); 
12626         wxPyEndAllowThreads(__tstate
); 
12627         if (PyErr_Occurred()) SWIG_fail
; 
12629     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
12636 static PyObject 
*_wrap_DC_CrossHair(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
12637     PyObject 
*resultobj
; 
12638     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
12641     PyObject 
* obj0 
= 0 ; 
12642     PyObject 
* obj1 
= 0 ; 
12643     PyObject 
* obj2 
= 0 ; 
12644     char *kwnames
[] = { 
12645         (char *) "self",(char *) "x",(char *) "y", NULL 
 
12648     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
12649     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
12650     if (SWIG_arg_fail(1)) SWIG_fail
; 
12652         arg2 
= (int)(SWIG_As_int(obj1
));  
12653         if (SWIG_arg_fail(2)) SWIG_fail
; 
12656         arg3 
= (int)(SWIG_As_int(obj2
));  
12657         if (SWIG_arg_fail(3)) SWIG_fail
; 
12660         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12661         (arg1
)->CrossHair(arg2
,arg3
); 
12663         wxPyEndAllowThreads(__tstate
); 
12664         if (PyErr_Occurred()) SWIG_fail
; 
12666     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
12673 static PyObject 
*_wrap_DC_CrossHairPoint(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
12674     PyObject 
*resultobj
; 
12675     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
12676     wxPoint 
*arg2 
= 0 ; 
12678     PyObject 
* obj0 
= 0 ; 
12679     PyObject 
* obj1 
= 0 ; 
12680     char *kwnames
[] = { 
12681         (char *) "self",(char *) "pt", NULL 
 
12684     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) goto fail
; 
12685     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
12686     if (SWIG_arg_fail(1)) SWIG_fail
; 
12689         if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
12692         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12693         (arg1
)->CrossHair((wxPoint 
const &)*arg2
); 
12695         wxPyEndAllowThreads(__tstate
); 
12696         if (PyErr_Occurred()) SWIG_fail
; 
12698     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
12705 static PyObject 
*_wrap_DC_DrawArc(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
12706     PyObject 
*resultobj
; 
12707     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
12714     PyObject 
* obj0 
= 0 ; 
12715     PyObject 
* obj1 
= 0 ; 
12716     PyObject 
* obj2 
= 0 ; 
12717     PyObject 
* obj3 
= 0 ; 
12718     PyObject 
* obj4 
= 0 ; 
12719     PyObject 
* obj5 
= 0 ; 
12720     PyObject 
* obj6 
= 0 ; 
12721     char *kwnames
[] = { 
12722         (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL 
 
12725     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
; 
12726     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
12727     if (SWIG_arg_fail(1)) SWIG_fail
; 
12729         arg2 
= (int)(SWIG_As_int(obj1
));  
12730         if (SWIG_arg_fail(2)) SWIG_fail
; 
12733         arg3 
= (int)(SWIG_As_int(obj2
));  
12734         if (SWIG_arg_fail(3)) SWIG_fail
; 
12737         arg4 
= (int)(SWIG_As_int(obj3
));  
12738         if (SWIG_arg_fail(4)) SWIG_fail
; 
12741         arg5 
= (int)(SWIG_As_int(obj4
));  
12742         if (SWIG_arg_fail(5)) SWIG_fail
; 
12745         arg6 
= (int)(SWIG_As_int(obj5
));  
12746         if (SWIG_arg_fail(6)) SWIG_fail
; 
12749         arg7 
= (int)(SWIG_As_int(obj6
));  
12750         if (SWIG_arg_fail(7)) SWIG_fail
; 
12753         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12754         (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
); 
12756         wxPyEndAllowThreads(__tstate
); 
12757         if (PyErr_Occurred()) SWIG_fail
; 
12759     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
12766 static PyObject 
*_wrap_DC_DrawArcPoint(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
12767     PyObject 
*resultobj
; 
12768     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
12769     wxPoint 
*arg2 
= 0 ; 
12770     wxPoint 
*arg3 
= 0 ; 
12771     wxPoint 
*arg4 
= 0 ; 
12775     PyObject 
* obj0 
= 0 ; 
12776     PyObject 
* obj1 
= 0 ; 
12777     PyObject 
* obj2 
= 0 ; 
12778     PyObject 
* obj3 
= 0 ; 
12779     char *kwnames
[] = { 
12780         (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL 
 
12783     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
12784     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
12785     if (SWIG_arg_fail(1)) SWIG_fail
; 
12788         if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
12792         if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
; 
12796         if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
; 
12799         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12800         (arg1
)->DrawArc((wxPoint 
const &)*arg2
,(wxPoint 
const &)*arg3
,(wxPoint 
const &)*arg4
); 
12802         wxPyEndAllowThreads(__tstate
); 
12803         if (PyErr_Occurred()) SWIG_fail
; 
12805     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
12812 static PyObject 
*_wrap_DC_DrawCheckMark(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
12813     PyObject 
*resultobj
; 
12814     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
12819     PyObject 
* obj0 
= 0 ; 
12820     PyObject 
* obj1 
= 0 ; 
12821     PyObject 
* obj2 
= 0 ; 
12822     PyObject 
* obj3 
= 0 ; 
12823     PyObject 
* obj4 
= 0 ; 
12824     char *kwnames
[] = { 
12825         (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL 
 
12828     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
; 
12829     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
12830     if (SWIG_arg_fail(1)) SWIG_fail
; 
12832         arg2 
= (int)(SWIG_As_int(obj1
));  
12833         if (SWIG_arg_fail(2)) SWIG_fail
; 
12836         arg3 
= (int)(SWIG_As_int(obj2
));  
12837         if (SWIG_arg_fail(3)) SWIG_fail
; 
12840         arg4 
= (int)(SWIG_As_int(obj3
));  
12841         if (SWIG_arg_fail(4)) SWIG_fail
; 
12844         arg5 
= (int)(SWIG_As_int(obj4
));  
12845         if (SWIG_arg_fail(5)) SWIG_fail
; 
12848         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12849         (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
); 
12851         wxPyEndAllowThreads(__tstate
); 
12852         if (PyErr_Occurred()) SWIG_fail
; 
12854     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
12861 static PyObject 
*_wrap_DC_DrawCheckMarkRect(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
12862     PyObject 
*resultobj
; 
12863     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
12866     PyObject 
* obj0 
= 0 ; 
12867     PyObject 
* obj1 
= 0 ; 
12868     char *kwnames
[] = { 
12869         (char *) "self",(char *) "rect", NULL 
 
12872     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) goto fail
; 
12873     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
12874     if (SWIG_arg_fail(1)) SWIG_fail
; 
12877         if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
; 
12880         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12881         (arg1
)->DrawCheckMark((wxRect 
const &)*arg2
); 
12883         wxPyEndAllowThreads(__tstate
); 
12884         if (PyErr_Occurred()) SWIG_fail
; 
12886     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
12893 static PyObject 
*_wrap_DC_DrawEllipticArc(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
12894     PyObject 
*resultobj
; 
12895     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
12902     PyObject 
* obj0 
= 0 ; 
12903     PyObject 
* obj1 
= 0 ; 
12904     PyObject 
* obj2 
= 0 ; 
12905     PyObject 
* obj3 
= 0 ; 
12906     PyObject 
* obj4 
= 0 ; 
12907     PyObject 
* obj5 
= 0 ; 
12908     PyObject 
* obj6 
= 0 ; 
12909     char *kwnames
[] = { 
12910         (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL 
 
12913     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
; 
12914     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
12915     if (SWIG_arg_fail(1)) SWIG_fail
; 
12917         arg2 
= (int)(SWIG_As_int(obj1
));  
12918         if (SWIG_arg_fail(2)) SWIG_fail
; 
12921         arg3 
= (int)(SWIG_As_int(obj2
));  
12922         if (SWIG_arg_fail(3)) SWIG_fail
; 
12925         arg4 
= (int)(SWIG_As_int(obj3
));  
12926         if (SWIG_arg_fail(4)) SWIG_fail
; 
12929         arg5 
= (int)(SWIG_As_int(obj4
));  
12930         if (SWIG_arg_fail(5)) SWIG_fail
; 
12933         arg6 
= (double)(SWIG_As_double(obj5
));  
12934         if (SWIG_arg_fail(6)) SWIG_fail
; 
12937         arg7 
= (double)(SWIG_As_double(obj6
));  
12938         if (SWIG_arg_fail(7)) SWIG_fail
; 
12941         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12942         (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
); 
12944         wxPyEndAllowThreads(__tstate
); 
12945         if (PyErr_Occurred()) SWIG_fail
; 
12947     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
12954 static PyObject 
*_wrap_DC_DrawEllipticArcPointSize(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
12955     PyObject 
*resultobj
; 
12956     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
12957     wxPoint 
*arg2 
= 0 ; 
12963     PyObject 
* obj0 
= 0 ; 
12964     PyObject 
* obj1 
= 0 ; 
12965     PyObject 
* obj2 
= 0 ; 
12966     PyObject 
* obj3 
= 0 ; 
12967     PyObject 
* obj4 
= 0 ; 
12968     char *kwnames
[] = { 
12969         (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL 
 
12972     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
; 
12973     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
12974     if (SWIG_arg_fail(1)) SWIG_fail
; 
12977         if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
12981         if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
; 
12984         arg4 
= (double)(SWIG_As_double(obj3
));  
12985         if (SWIG_arg_fail(4)) SWIG_fail
; 
12988         arg5 
= (double)(SWIG_As_double(obj4
));  
12989         if (SWIG_arg_fail(5)) SWIG_fail
; 
12992         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12993         (arg1
)->DrawEllipticArc((wxPoint 
const &)*arg2
,(wxSize 
const &)*arg3
,arg4
,arg5
); 
12995         wxPyEndAllowThreads(__tstate
); 
12996         if (PyErr_Occurred()) SWIG_fail
; 
12998     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
13005 static PyObject 
*_wrap_DC_DrawPoint(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
13006     PyObject 
*resultobj
; 
13007     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
13010     PyObject 
* obj0 
= 0 ; 
13011     PyObject 
* obj1 
= 0 ; 
13012     PyObject 
* obj2 
= 0 ; 
13013     char *kwnames
[] = { 
13014         (char *) "self",(char *) "x",(char *) "y", NULL 
 
13017     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
13018     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
13019     if (SWIG_arg_fail(1)) SWIG_fail
; 
13021         arg2 
= (int)(SWIG_As_int(obj1
));  
13022         if (SWIG_arg_fail(2)) SWIG_fail
; 
13025         arg3 
= (int)(SWIG_As_int(obj2
));  
13026         if (SWIG_arg_fail(3)) SWIG_fail
; 
13029         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13030         (arg1
)->DrawPoint(arg2
,arg3
); 
13032         wxPyEndAllowThreads(__tstate
); 
13033         if (PyErr_Occurred()) SWIG_fail
; 
13035     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
13042 static PyObject 
*_wrap_DC_DrawPointPoint(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
13043     PyObject 
*resultobj
; 
13044     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
13045     wxPoint 
*arg2 
= 0 ; 
13047     PyObject 
* obj0 
= 0 ; 
13048     PyObject 
* obj1 
= 0 ; 
13049     char *kwnames
[] = { 
13050         (char *) "self",(char *) "pt", NULL 
 
13053     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) goto fail
; 
13054     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
13055     if (SWIG_arg_fail(1)) SWIG_fail
; 
13058         if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
13061         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13062         (arg1
)->DrawPoint((wxPoint 
const &)*arg2
); 
13064         wxPyEndAllowThreads(__tstate
); 
13065         if (PyErr_Occurred()) SWIG_fail
; 
13067     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
13074 static PyObject 
*_wrap_DC_DrawRectangle(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
13075     PyObject 
*resultobj
; 
13076     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
13081     PyObject 
* obj0 
= 0 ; 
13082     PyObject 
* obj1 
= 0 ; 
13083     PyObject 
* obj2 
= 0 ; 
13084     PyObject 
* obj3 
= 0 ; 
13085     PyObject 
* obj4 
= 0 ; 
13086     char *kwnames
[] = { 
13087         (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL 
 
13090     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
; 
13091     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
13092     if (SWIG_arg_fail(1)) SWIG_fail
; 
13094         arg2 
= (int)(SWIG_As_int(obj1
));  
13095         if (SWIG_arg_fail(2)) SWIG_fail
; 
13098         arg3 
= (int)(SWIG_As_int(obj2
));  
13099         if (SWIG_arg_fail(3)) SWIG_fail
; 
13102         arg4 
= (int)(SWIG_As_int(obj3
));  
13103         if (SWIG_arg_fail(4)) SWIG_fail
; 
13106         arg5 
= (int)(SWIG_As_int(obj4
));  
13107         if (SWIG_arg_fail(5)) SWIG_fail
; 
13110         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13111         (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
); 
13113         wxPyEndAllowThreads(__tstate
); 
13114         if (PyErr_Occurred()) SWIG_fail
; 
13116     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
13123 static PyObject 
*_wrap_DC_DrawRectangleRect(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
13124     PyObject 
*resultobj
; 
13125     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
13128     PyObject 
* obj0 
= 0 ; 
13129     PyObject 
* obj1 
= 0 ; 
13130     char *kwnames
[] = { 
13131         (char *) "self",(char *) "rect", NULL 
 
13134     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) goto fail
; 
13135     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
13136     if (SWIG_arg_fail(1)) SWIG_fail
; 
13139         if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
; 
13142         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13143         (arg1
)->DrawRectangle((wxRect 
const &)*arg2
); 
13145         wxPyEndAllowThreads(__tstate
); 
13146         if (PyErr_Occurred()) SWIG_fail
; 
13148     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
13155 static PyObject 
*_wrap_DC_DrawRectanglePointSize(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
13156     PyObject 
*resultobj
; 
13157     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
13158     wxPoint 
*arg2 
= 0 ; 
13162     PyObject 
* obj0 
= 0 ; 
13163     PyObject 
* obj1 
= 0 ; 
13164     PyObject 
* obj2 
= 0 ; 
13165     char *kwnames
[] = { 
13166         (char *) "self",(char *) "pt",(char *) "sz", NULL 
 
13169     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
13170     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
13171     if (SWIG_arg_fail(1)) SWIG_fail
; 
13174         if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
13178         if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
; 
13181         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13182         (arg1
)->DrawRectangle((wxPoint 
const &)*arg2
,(wxSize 
const &)*arg3
); 
13184         wxPyEndAllowThreads(__tstate
); 
13185         if (PyErr_Occurred()) SWIG_fail
; 
13187     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
13194 static PyObject 
*_wrap_DC_DrawRoundedRectangle(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
13195     PyObject 
*resultobj
; 
13196     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
13202     PyObject 
* obj0 
= 0 ; 
13203     PyObject 
* obj1 
= 0 ; 
13204     PyObject 
* obj2 
= 0 ; 
13205     PyObject 
* obj3 
= 0 ; 
13206     PyObject 
* obj4 
= 0 ; 
13207     PyObject 
* obj5 
= 0 ; 
13208     char *kwnames
[] = { 
13209         (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL 
 
13212     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:DC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
; 
13213     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
13214     if (SWIG_arg_fail(1)) SWIG_fail
; 
13216         arg2 
= (int)(SWIG_As_int(obj1
));  
13217         if (SWIG_arg_fail(2)) SWIG_fail
; 
13220         arg3 
= (int)(SWIG_As_int(obj2
));  
13221         if (SWIG_arg_fail(3)) SWIG_fail
; 
13224         arg4 
= (int)(SWIG_As_int(obj3
));  
13225         if (SWIG_arg_fail(4)) SWIG_fail
; 
13228         arg5 
= (int)(SWIG_As_int(obj4
));  
13229         if (SWIG_arg_fail(5)) SWIG_fail
; 
13232         arg6 
= (double)(SWIG_As_double(obj5
));  
13233         if (SWIG_arg_fail(6)) SWIG_fail
; 
13236         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13237         (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
); 
13239         wxPyEndAllowThreads(__tstate
); 
13240         if (PyErr_Occurred()) SWIG_fail
; 
13242     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
13249 static PyObject 
*_wrap_DC_DrawRoundedRectangleRect(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
13250     PyObject 
*resultobj
; 
13251     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
13255     PyObject 
* obj0 
= 0 ; 
13256     PyObject 
* obj1 
= 0 ; 
13257     PyObject 
* obj2 
= 0 ; 
13258     char *kwnames
[] = { 
13259         (char *) "self",(char *) "r",(char *) "radius", NULL 
 
13262     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
13263     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
13264     if (SWIG_arg_fail(1)) SWIG_fail
; 
13267         if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
; 
13270         arg3 
= (double)(SWIG_As_double(obj2
));  
13271         if (SWIG_arg_fail(3)) SWIG_fail
; 
13274         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13275         (arg1
)->DrawRoundedRectangle((wxRect 
const &)*arg2
,arg3
); 
13277         wxPyEndAllowThreads(__tstate
); 
13278         if (PyErr_Occurred()) SWIG_fail
; 
13280     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
13287 static PyObject 
*_wrap_DC_DrawRoundedRectanglePointSize(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
13288     PyObject 
*resultobj
; 
13289     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
13290     wxPoint 
*arg2 
= 0 ; 
13295     PyObject 
* obj0 
= 0 ; 
13296     PyObject 
* obj1 
= 0 ; 
13297     PyObject 
* obj2 
= 0 ; 
13298     PyObject 
* obj3 
= 0 ; 
13299     char *kwnames
[] = { 
13300         (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL 
 
13303     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
13304     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
13305     if (SWIG_arg_fail(1)) SWIG_fail
; 
13308         if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
13312         if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
; 
13315         arg4 
= (double)(SWIG_As_double(obj3
));  
13316         if (SWIG_arg_fail(4)) SWIG_fail
; 
13319         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13320         (arg1
)->DrawRoundedRectangle((wxPoint 
const &)*arg2
,(wxSize 
const &)*arg3
,arg4
); 
13322         wxPyEndAllowThreads(__tstate
); 
13323         if (PyErr_Occurred()) SWIG_fail
; 
13325     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
13332 static PyObject 
*_wrap_DC_DrawCircle(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
13333     PyObject 
*resultobj
; 
13334     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
13338     PyObject 
* obj0 
= 0 ; 
13339     PyObject 
* obj1 
= 0 ; 
13340     PyObject 
* obj2 
= 0 ; 
13341     PyObject 
* obj3 
= 0 ; 
13342     char *kwnames
[] = { 
13343         (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL 
 
13346     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
13347     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
13348     if (SWIG_arg_fail(1)) SWIG_fail
; 
13350         arg2 
= (int)(SWIG_As_int(obj1
));  
13351         if (SWIG_arg_fail(2)) SWIG_fail
; 
13354         arg3 
= (int)(SWIG_As_int(obj2
));  
13355         if (SWIG_arg_fail(3)) SWIG_fail
; 
13358         arg4 
= (int)(SWIG_As_int(obj3
));  
13359         if (SWIG_arg_fail(4)) SWIG_fail
; 
13362         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13363         (arg1
)->DrawCircle(arg2
,arg3
,arg4
); 
13365         wxPyEndAllowThreads(__tstate
); 
13366         if (PyErr_Occurred()) SWIG_fail
; 
13368     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
13375 static PyObject 
*_wrap_DC_DrawCirclePoint(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
13376     PyObject 
*resultobj
; 
13377     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
13378     wxPoint 
*arg2 
= 0 ; 
13381     PyObject 
* obj0 
= 0 ; 
13382     PyObject 
* obj1 
= 0 ; 
13383     PyObject 
* obj2 
= 0 ; 
13384     char *kwnames
[] = { 
13385         (char *) "self",(char *) "pt",(char *) "radius", NULL 
 
13388     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
13389     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
13390     if (SWIG_arg_fail(1)) SWIG_fail
; 
13393         if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
13396         arg3 
= (int)(SWIG_As_int(obj2
));  
13397         if (SWIG_arg_fail(3)) SWIG_fail
; 
13400         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13401         (arg1
)->DrawCircle((wxPoint 
const &)*arg2
,arg3
); 
13403         wxPyEndAllowThreads(__tstate
); 
13404         if (PyErr_Occurred()) SWIG_fail
; 
13406     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
13413 static PyObject 
*_wrap_DC_DrawEllipse(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
13414     PyObject 
*resultobj
; 
13415     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
13420     PyObject 
* obj0 
= 0 ; 
13421     PyObject 
* obj1 
= 0 ; 
13422     PyObject 
* obj2 
= 0 ; 
13423     PyObject 
* obj3 
= 0 ; 
13424     PyObject 
* obj4 
= 0 ; 
13425     char *kwnames
[] = { 
13426         (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL 
 
13429     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
; 
13430     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
13431     if (SWIG_arg_fail(1)) SWIG_fail
; 
13433         arg2 
= (int)(SWIG_As_int(obj1
));  
13434         if (SWIG_arg_fail(2)) SWIG_fail
; 
13437         arg3 
= (int)(SWIG_As_int(obj2
));  
13438         if (SWIG_arg_fail(3)) SWIG_fail
; 
13441         arg4 
= (int)(SWIG_As_int(obj3
));  
13442         if (SWIG_arg_fail(4)) SWIG_fail
; 
13445         arg5 
= (int)(SWIG_As_int(obj4
));  
13446         if (SWIG_arg_fail(5)) SWIG_fail
; 
13449         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13450         (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
); 
13452         wxPyEndAllowThreads(__tstate
); 
13453         if (PyErr_Occurred()) SWIG_fail
; 
13455     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
13462 static PyObject 
*_wrap_DC_DrawEllipseRect(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
13463     PyObject 
*resultobj
; 
13464     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
13467     PyObject 
* obj0 
= 0 ; 
13468     PyObject 
* obj1 
= 0 ; 
13469     char *kwnames
[] = { 
13470         (char *) "self",(char *) "rect", NULL 
 
13473     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) goto fail
; 
13474     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
13475     if (SWIG_arg_fail(1)) SWIG_fail
; 
13478         if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
; 
13481         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13482         (arg1
)->DrawEllipse((wxRect 
const &)*arg2
); 
13484         wxPyEndAllowThreads(__tstate
); 
13485         if (PyErr_Occurred()) SWIG_fail
; 
13487     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
13494 static PyObject 
*_wrap_DC_DrawEllipsePointSize(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
13495     PyObject 
*resultobj
; 
13496     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
13497     wxPoint 
*arg2 
= 0 ; 
13501     PyObject 
* obj0 
= 0 ; 
13502     PyObject 
* obj1 
= 0 ; 
13503     PyObject 
* obj2 
= 0 ; 
13504     char *kwnames
[] = { 
13505         (char *) "self",(char *) "pt",(char *) "sz", NULL 
 
13508     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
13509     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
13510     if (SWIG_arg_fail(1)) SWIG_fail
; 
13513         if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
13517         if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
; 
13520         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13521         (arg1
)->DrawEllipse((wxPoint 
const &)*arg2
,(wxSize 
const &)*arg3
); 
13523         wxPyEndAllowThreads(__tstate
); 
13524         if (PyErr_Occurred()) SWIG_fail
; 
13526     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
13533 static PyObject 
*_wrap_DC_DrawIcon(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
13534     PyObject 
*resultobj
; 
13535     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
13539     PyObject 
* obj0 
= 0 ; 
13540     PyObject 
* obj1 
= 0 ; 
13541     PyObject 
* obj2 
= 0 ; 
13542     PyObject 
* obj3 
= 0 ; 
13543     char *kwnames
[] = { 
13544         (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL 
 
13547     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
13548     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
13549     if (SWIG_arg_fail(1)) SWIG_fail
; 
13551         SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION 
| 0); 
13552         if (SWIG_arg_fail(2)) SWIG_fail
; 
13553         if (arg2 
== NULL
) { 
13554             SWIG_null_ref("wxIcon"); 
13556         if (SWIG_arg_fail(2)) SWIG_fail
; 
13559         arg3 
= (int)(SWIG_As_int(obj2
));  
13560         if (SWIG_arg_fail(3)) SWIG_fail
; 
13563         arg4 
= (int)(SWIG_As_int(obj3
));  
13564         if (SWIG_arg_fail(4)) SWIG_fail
; 
13567         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13568         (arg1
)->DrawIcon((wxIcon 
const &)*arg2
,arg3
,arg4
); 
13570         wxPyEndAllowThreads(__tstate
); 
13571         if (PyErr_Occurred()) SWIG_fail
; 
13573     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
13580 static PyObject 
*_wrap_DC_DrawIconPoint(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
13581     PyObject 
*resultobj
; 
13582     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
13584     wxPoint 
*arg3 
= 0 ; 
13586     PyObject 
* obj0 
= 0 ; 
13587     PyObject 
* obj1 
= 0 ; 
13588     PyObject 
* obj2 
= 0 ; 
13589     char *kwnames
[] = { 
13590         (char *) "self",(char *) "icon",(char *) "pt", NULL 
 
13593     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
13594     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
13595     if (SWIG_arg_fail(1)) SWIG_fail
; 
13597         SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION 
| 0); 
13598         if (SWIG_arg_fail(2)) SWIG_fail
; 
13599         if (arg2 
== NULL
) { 
13600             SWIG_null_ref("wxIcon"); 
13602         if (SWIG_arg_fail(2)) SWIG_fail
; 
13606         if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
; 
13609         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13610         (arg1
)->DrawIcon((wxIcon 
const &)*arg2
,(wxPoint 
const &)*arg3
); 
13612         wxPyEndAllowThreads(__tstate
); 
13613         if (PyErr_Occurred()) SWIG_fail
; 
13615     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
13622 static PyObject 
*_wrap_DC_DrawBitmap(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
13623     PyObject 
*resultobj
; 
13624     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
13625     wxBitmap 
*arg2 
= 0 ; 
13628     bool arg5 
= (bool) false ; 
13629     PyObject 
* obj0 
= 0 ; 
13630     PyObject 
* obj1 
= 0 ; 
13631     PyObject 
* obj2 
= 0 ; 
13632     PyObject 
* obj3 
= 0 ; 
13633     PyObject 
* obj4 
= 0 ; 
13634     char *kwnames
[] = { 
13635         (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL 
 
13638     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
; 
13639     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
13640     if (SWIG_arg_fail(1)) SWIG_fail
; 
13642         SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION 
| 0); 
13643         if (SWIG_arg_fail(2)) SWIG_fail
; 
13644         if (arg2 
== NULL
) { 
13645             SWIG_null_ref("wxBitmap"); 
13647         if (SWIG_arg_fail(2)) SWIG_fail
; 
13650         arg3 
= (int)(SWIG_As_int(obj2
));  
13651         if (SWIG_arg_fail(3)) SWIG_fail
; 
13654         arg4 
= (int)(SWIG_As_int(obj3
));  
13655         if (SWIG_arg_fail(4)) SWIG_fail
; 
13659             arg5 
= (bool)(SWIG_As_bool(obj4
));  
13660             if (SWIG_arg_fail(5)) SWIG_fail
; 
13664         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13665         (arg1
)->DrawBitmap((wxBitmap 
const &)*arg2
,arg3
,arg4
,arg5
); 
13667         wxPyEndAllowThreads(__tstate
); 
13668         if (PyErr_Occurred()) SWIG_fail
; 
13670     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
13677 static PyObject 
*_wrap_DC_DrawBitmapPoint(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
13678     PyObject 
*resultobj
; 
13679     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
13680     wxBitmap 
*arg2 
= 0 ; 
13681     wxPoint 
*arg3 
= 0 ; 
13682     bool arg4 
= (bool) false ; 
13684     PyObject 
* obj0 
= 0 ; 
13685     PyObject 
* obj1 
= 0 ; 
13686     PyObject 
* obj2 
= 0 ; 
13687     PyObject 
* obj3 
= 0 ; 
13688     char *kwnames
[] = { 
13689         (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL 
 
13692     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
13693     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
13694     if (SWIG_arg_fail(1)) SWIG_fail
; 
13696         SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION 
| 0); 
13697         if (SWIG_arg_fail(2)) SWIG_fail
; 
13698         if (arg2 
== NULL
) { 
13699             SWIG_null_ref("wxBitmap"); 
13701         if (SWIG_arg_fail(2)) SWIG_fail
; 
13705         if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
; 
13709             arg4 
= (bool)(SWIG_As_bool(obj3
));  
13710             if (SWIG_arg_fail(4)) SWIG_fail
; 
13714         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13715         (arg1
)->DrawBitmap((wxBitmap 
const &)*arg2
,(wxPoint 
const &)*arg3
,arg4
); 
13717         wxPyEndAllowThreads(__tstate
); 
13718         if (PyErr_Occurred()) SWIG_fail
; 
13720     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
13727 static PyObject 
*_wrap_DC_DrawText(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
13728     PyObject 
*resultobj
; 
13729     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
13730     wxString 
*arg2 
= 0 ; 
13733     bool temp2 
= false ; 
13734     PyObject 
* obj0 
= 0 ; 
13735     PyObject 
* obj1 
= 0 ; 
13736     PyObject 
* obj2 
= 0 ; 
13737     PyObject 
* obj3 
= 0 ; 
13738     char *kwnames
[] = { 
13739         (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL 
 
13742     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
13743     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
13744     if (SWIG_arg_fail(1)) SWIG_fail
; 
13746         arg2 
= wxString_in_helper(obj1
); 
13747         if (arg2 
== NULL
) SWIG_fail
; 
13751         arg3 
= (int)(SWIG_As_int(obj2
));  
13752         if (SWIG_arg_fail(3)) SWIG_fail
; 
13755         arg4 
= (int)(SWIG_As_int(obj3
));  
13756         if (SWIG_arg_fail(4)) SWIG_fail
; 
13759         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13760         (arg1
)->DrawText((wxString 
const &)*arg2
,arg3
,arg4
); 
13762         wxPyEndAllowThreads(__tstate
); 
13763         if (PyErr_Occurred()) SWIG_fail
; 
13765     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
13780 static PyObject 
*_wrap_DC_DrawTextPoint(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
13781     PyObject 
*resultobj
; 
13782     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
13783     wxString 
*arg2 
= 0 ; 
13784     wxPoint 
*arg3 
= 0 ; 
13785     bool temp2 
= false ; 
13787     PyObject 
* obj0 
= 0 ; 
13788     PyObject 
* obj1 
= 0 ; 
13789     PyObject 
* obj2 
= 0 ; 
13790     char *kwnames
[] = { 
13791         (char *) "self",(char *) "text",(char *) "pt", NULL 
 
13794     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
13795     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
13796     if (SWIG_arg_fail(1)) SWIG_fail
; 
13798         arg2 
= wxString_in_helper(obj1
); 
13799         if (arg2 
== NULL
) SWIG_fail
; 
13804         if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
; 
13807         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13808         (arg1
)->DrawText((wxString 
const &)*arg2
,(wxPoint 
const &)*arg3
); 
13810         wxPyEndAllowThreads(__tstate
); 
13811         if (PyErr_Occurred()) SWIG_fail
; 
13813     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
13828 static PyObject 
*_wrap_DC_DrawRotatedText(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
13829     PyObject 
*resultobj
; 
13830     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
13831     wxString 
*arg2 
= 0 ; 
13835     bool temp2 
= false ; 
13836     PyObject 
* obj0 
= 0 ; 
13837     PyObject 
* obj1 
= 0 ; 
13838     PyObject 
* obj2 
= 0 ; 
13839     PyObject 
* obj3 
= 0 ; 
13840     PyObject 
* obj4 
= 0 ; 
13841     char *kwnames
[] = { 
13842         (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL 
 
13845     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
; 
13846     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
13847     if (SWIG_arg_fail(1)) SWIG_fail
; 
13849         arg2 
= wxString_in_helper(obj1
); 
13850         if (arg2 
== NULL
) SWIG_fail
; 
13854         arg3 
= (int)(SWIG_As_int(obj2
));  
13855         if (SWIG_arg_fail(3)) SWIG_fail
; 
13858         arg4 
= (int)(SWIG_As_int(obj3
));  
13859         if (SWIG_arg_fail(4)) SWIG_fail
; 
13862         arg5 
= (double)(SWIG_As_double(obj4
));  
13863         if (SWIG_arg_fail(5)) SWIG_fail
; 
13866         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13867         (arg1
)->DrawRotatedText((wxString 
const &)*arg2
,arg3
,arg4
,arg5
); 
13869         wxPyEndAllowThreads(__tstate
); 
13870         if (PyErr_Occurred()) SWIG_fail
; 
13872     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
13887 static PyObject 
*_wrap_DC_DrawRotatedTextPoint(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
13888     PyObject 
*resultobj
; 
13889     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
13890     wxString 
*arg2 
= 0 ; 
13891     wxPoint 
*arg3 
= 0 ; 
13893     bool temp2 
= false ; 
13895     PyObject 
* obj0 
= 0 ; 
13896     PyObject 
* obj1 
= 0 ; 
13897     PyObject 
* obj2 
= 0 ; 
13898     PyObject 
* obj3 
= 0 ; 
13899     char *kwnames
[] = { 
13900         (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL 
 
13903     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
13904     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
13905     if (SWIG_arg_fail(1)) SWIG_fail
; 
13907         arg2 
= wxString_in_helper(obj1
); 
13908         if (arg2 
== NULL
) SWIG_fail
; 
13913         if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
; 
13916         arg4 
= (double)(SWIG_As_double(obj3
));  
13917         if (SWIG_arg_fail(4)) SWIG_fail
; 
13920         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13921         (arg1
)->DrawRotatedText((wxString 
const &)*arg2
,(wxPoint 
const &)*arg3
,arg4
); 
13923         wxPyEndAllowThreads(__tstate
); 
13924         if (PyErr_Occurred()) SWIG_fail
; 
13926     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
13941 static PyObject 
*_wrap_DC_Blit(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
13942     PyObject 
*resultobj
; 
13943     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
13948     wxDC 
*arg6 
= (wxDC 
*) 0 ; 
13951     int arg9 
= (int) wxCOPY 
; 
13952     bool arg10 
= (bool) false ; 
13953     int arg11 
= (int) -1 ; 
13954     int arg12 
= (int) -1 ; 
13956     PyObject 
* obj0 
= 0 ; 
13957     PyObject 
* obj1 
= 0 ; 
13958     PyObject 
* obj2 
= 0 ; 
13959     PyObject 
* obj3 
= 0 ; 
13960     PyObject 
* obj4 
= 0 ; 
13961     PyObject 
* obj5 
= 0 ; 
13962     PyObject 
* obj6 
= 0 ; 
13963     PyObject 
* obj7 
= 0 ; 
13964     PyObject 
* obj8 
= 0 ; 
13965     PyObject 
* obj9 
= 0 ; 
13966     PyObject 
* obj10 
= 0 ; 
13967     PyObject 
* obj11 
= 0 ; 
13968     char *kwnames
[] = { 
13969         (char *) "self",(char *) "xdest",(char *) "ydest",(char *) "width",(char *) "height",(char *) "source",(char *) "xsrc",(char *) "ysrc",(char *) "rop",(char *) "useMask",(char *) "xsrcMask",(char *) "ysrcMask", NULL 
 
13972     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOOO|OOOO:DC_Blit",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
,&obj11
)) goto fail
; 
13973     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
13974     if (SWIG_arg_fail(1)) SWIG_fail
; 
13976         arg2 
= (int)(SWIG_As_int(obj1
));  
13977         if (SWIG_arg_fail(2)) SWIG_fail
; 
13980         arg3 
= (int)(SWIG_As_int(obj2
));  
13981         if (SWIG_arg_fail(3)) SWIG_fail
; 
13984         arg4 
= (int)(SWIG_As_int(obj3
));  
13985         if (SWIG_arg_fail(4)) SWIG_fail
; 
13988         arg5 
= (int)(SWIG_As_int(obj4
));  
13989         if (SWIG_arg_fail(5)) SWIG_fail
; 
13991     SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
13992     if (SWIG_arg_fail(6)) SWIG_fail
; 
13994         arg7 
= (int)(SWIG_As_int(obj6
));  
13995         if (SWIG_arg_fail(7)) SWIG_fail
; 
13998         arg8 
= (int)(SWIG_As_int(obj7
));  
13999         if (SWIG_arg_fail(8)) SWIG_fail
; 
14003             arg9 
= (int)(SWIG_As_int(obj8
));  
14004             if (SWIG_arg_fail(9)) SWIG_fail
; 
14009             arg10 
= (bool)(SWIG_As_bool(obj9
));  
14010             if (SWIG_arg_fail(10)) SWIG_fail
; 
14015             arg11 
= (int)(SWIG_As_int(obj10
));  
14016             if (SWIG_arg_fail(11)) SWIG_fail
; 
14021             arg12 
= (int)(SWIG_As_int(obj11
));  
14022             if (SWIG_arg_fail(12)) SWIG_fail
; 
14026         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14027         result 
= (bool)(arg1
)->Blit(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
,arg11
,arg12
); 
14029         wxPyEndAllowThreads(__tstate
); 
14030         if (PyErr_Occurred()) SWIG_fail
; 
14033         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
14041 static PyObject 
*_wrap_DC_BlitPointSize(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
14042     PyObject 
*resultobj
; 
14043     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
14044     wxPoint 
*arg2 
= 0 ; 
14046     wxDC 
*arg4 
= (wxDC 
*) 0 ; 
14047     wxPoint 
*arg5 
= 0 ; 
14048     int arg6 
= (int) wxCOPY 
; 
14049     bool arg7 
= (bool) false ; 
14050     wxPoint 
const &arg8_defvalue 
= wxDefaultPosition 
; 
14051     wxPoint 
*arg8 
= (wxPoint 
*) &arg8_defvalue 
; 
14057     PyObject 
* obj0 
= 0 ; 
14058     PyObject 
* obj1 
= 0 ; 
14059     PyObject 
* obj2 
= 0 ; 
14060     PyObject 
* obj3 
= 0 ; 
14061     PyObject 
* obj4 
= 0 ; 
14062     PyObject 
* obj5 
= 0 ; 
14063     PyObject 
* obj6 
= 0 ; 
14064     PyObject 
* obj7 
= 0 ; 
14065     char *kwnames
[] = { 
14066         (char *) "self",(char *) "destPt",(char *) "sz",(char *) "source",(char *) "srcPt",(char *) "rop",(char *) "useMask",(char *) "srcPtMask", NULL 
 
14069     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:DC_BlitPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
; 
14070     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
14071     if (SWIG_arg_fail(1)) SWIG_fail
; 
14074         if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
14078         if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
; 
14080     SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
14081     if (SWIG_arg_fail(4)) SWIG_fail
; 
14084         if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
; 
14088             arg6 
= (int)(SWIG_As_int(obj5
));  
14089             if (SWIG_arg_fail(6)) SWIG_fail
; 
14094             arg7 
= (bool)(SWIG_As_bool(obj6
));  
14095             if (SWIG_arg_fail(7)) SWIG_fail
; 
14101             if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
; 
14105         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14106         result 
= (bool)(arg1
)->Blit((wxPoint 
const &)*arg2
,(wxSize 
const &)*arg3
,arg4
,(wxPoint 
const &)*arg5
,arg6
,arg7
,(wxPoint 
const &)*arg8
); 
14108         wxPyEndAllowThreads(__tstate
); 
14109         if (PyErr_Occurred()) SWIG_fail
; 
14112         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
14120 static PyObject 
*_wrap_DC_SetClippingRegion(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
14121     PyObject 
*resultobj
; 
14122     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
14127     PyObject 
* obj0 
= 0 ; 
14128     PyObject 
* obj1 
= 0 ; 
14129     PyObject 
* obj2 
= 0 ; 
14130     PyObject 
* obj3 
= 0 ; 
14131     PyObject 
* obj4 
= 0 ; 
14132     char *kwnames
[] = { 
14133         (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL 
 
14136     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_SetClippingRegion",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
; 
14137     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
14138     if (SWIG_arg_fail(1)) SWIG_fail
; 
14140         arg2 
= (int)(SWIG_As_int(obj1
));  
14141         if (SWIG_arg_fail(2)) SWIG_fail
; 
14144         arg3 
= (int)(SWIG_As_int(obj2
));  
14145         if (SWIG_arg_fail(3)) SWIG_fail
; 
14148         arg4 
= (int)(SWIG_As_int(obj3
));  
14149         if (SWIG_arg_fail(4)) SWIG_fail
; 
14152         arg5 
= (int)(SWIG_As_int(obj4
));  
14153         if (SWIG_arg_fail(5)) SWIG_fail
; 
14156         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14157         (arg1
)->SetClippingRegion(arg2
,arg3
,arg4
,arg5
); 
14159         wxPyEndAllowThreads(__tstate
); 
14160         if (PyErr_Occurred()) SWIG_fail
; 
14162     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
14169 static PyObject 
*_wrap_DC_SetClippingRegionPointSize(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
14170     PyObject 
*resultobj
; 
14171     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
14172     wxPoint 
*arg2 
= 0 ; 
14176     PyObject 
* obj0 
= 0 ; 
14177     PyObject 
* obj1 
= 0 ; 
14178     PyObject 
* obj2 
= 0 ; 
14179     char *kwnames
[] = { 
14180         (char *) "self",(char *) "pt",(char *) "sz", NULL 
 
14183     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetClippingRegionPointSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
14184     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
14185     if (SWIG_arg_fail(1)) SWIG_fail
; 
14188         if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
14192         if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
; 
14195         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14196         (arg1
)->SetClippingRegion((wxPoint 
const &)*arg2
,(wxSize 
const &)*arg3
); 
14198         wxPyEndAllowThreads(__tstate
); 
14199         if (PyErr_Occurred()) SWIG_fail
; 
14201     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
14208 static PyObject 
*_wrap_DC_SetClippingRegionAsRegion(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
14209     PyObject 
*resultobj
; 
14210     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
14211     wxRegion 
*arg2 
= 0 ; 
14212     PyObject 
* obj0 
= 0 ; 
14213     PyObject 
* obj1 
= 0 ; 
14214     char *kwnames
[] = { 
14215         (char *) "self",(char *) "region", NULL 
 
14218     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRegionAsRegion",kwnames
,&obj0
,&obj1
)) goto fail
; 
14219     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
14220     if (SWIG_arg_fail(1)) SWIG_fail
; 
14222         SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION 
| 0); 
14223         if (SWIG_arg_fail(2)) SWIG_fail
; 
14224         if (arg2 
== NULL
) { 
14225             SWIG_null_ref("wxRegion"); 
14227         if (SWIG_arg_fail(2)) SWIG_fail
; 
14230         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14231         (arg1
)->SetClippingRegion((wxRegion 
const &)*arg2
); 
14233         wxPyEndAllowThreads(__tstate
); 
14234         if (PyErr_Occurred()) SWIG_fail
; 
14236     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
14243 static PyObject 
*_wrap_DC_SetClippingRect(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
14244     PyObject 
*resultobj
; 
14245     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
14248     PyObject 
* obj0 
= 0 ; 
14249     PyObject 
* obj1 
= 0 ; 
14250     char *kwnames
[] = { 
14251         (char *) "self",(char *) "rect", NULL 
 
14254     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRect",kwnames
,&obj0
,&obj1
)) goto fail
; 
14255     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
14256     if (SWIG_arg_fail(1)) SWIG_fail
; 
14259         if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
; 
14262         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14263         (arg1
)->SetClippingRegion((wxRect 
const &)*arg2
); 
14265         wxPyEndAllowThreads(__tstate
); 
14266         if (PyErr_Occurred()) SWIG_fail
; 
14268     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
14275 static PyObject 
*_wrap_DC_DrawLines(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
14276     PyObject 
*resultobj
; 
14277     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
14279     wxPoint 
*arg3 
= (wxPoint 
*) 0 ; 
14280     int arg4 
= (int) 0 ; 
14281     int arg5 
= (int) 0 ; 
14282     PyObject 
* obj0 
= 0 ; 
14283     PyObject 
* obj1 
= 0 ; 
14284     PyObject 
* obj2 
= 0 ; 
14285     PyObject 
* obj3 
= 0 ; 
14286     char *kwnames
[] = { 
14287         (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL 
 
14290     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
14291     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
14292     if (SWIG_arg_fail(1)) SWIG_fail
; 
14294         arg3 
= wxPoint_LIST_helper(obj1
, &arg2
); 
14295         if (arg3 
== NULL
) SWIG_fail
; 
14299             arg4 
= (int)(SWIG_As_int(obj2
));  
14300             if (SWIG_arg_fail(4)) SWIG_fail
; 
14305             arg5 
= (int)(SWIG_As_int(obj3
));  
14306             if (SWIG_arg_fail(5)) SWIG_fail
; 
14310         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14311         (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
); 
14313         wxPyEndAllowThreads(__tstate
); 
14314         if (PyErr_Occurred()) SWIG_fail
; 
14316     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
14318         if (arg3
) delete [] arg3
; 
14323         if (arg3
) delete [] arg3
; 
14329 static PyObject 
*_wrap_DC_DrawPolygon(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
14330     PyObject 
*resultobj
; 
14331     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
14333     wxPoint 
*arg3 
= (wxPoint 
*) 0 ; 
14334     int arg4 
= (int) 0 ; 
14335     int arg5 
= (int) 0 ; 
14336     int arg6 
= (int) wxODDEVEN_RULE 
; 
14337     PyObject 
* obj0 
= 0 ; 
14338     PyObject 
* obj1 
= 0 ; 
14339     PyObject 
* obj2 
= 0 ; 
14340     PyObject 
* obj3 
= 0 ; 
14341     PyObject 
* obj4 
= 0 ; 
14342     char *kwnames
[] = { 
14343         (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL 
 
14346     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
; 
14347     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
14348     if (SWIG_arg_fail(1)) SWIG_fail
; 
14350         arg3 
= wxPoint_LIST_helper(obj1
, &arg2
); 
14351         if (arg3 
== NULL
) SWIG_fail
; 
14355             arg4 
= (int)(SWIG_As_int(obj2
));  
14356             if (SWIG_arg_fail(4)) SWIG_fail
; 
14361             arg5 
= (int)(SWIG_As_int(obj3
));  
14362             if (SWIG_arg_fail(5)) SWIG_fail
; 
14367             arg6 
= (int)(SWIG_As_int(obj4
));  
14368             if (SWIG_arg_fail(6)) SWIG_fail
; 
14372         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14373         (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
); 
14375         wxPyEndAllowThreads(__tstate
); 
14376         if (PyErr_Occurred()) SWIG_fail
; 
14378     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
14380         if (arg3
) delete [] arg3
; 
14385         if (arg3
) delete [] arg3
; 
14391 static PyObject 
*_wrap_DC_DrawLabel(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
14392     PyObject 
*resultobj
; 
14393     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
14394     wxString 
*arg2 
= 0 ; 
14396     int arg4 
= (int) wxALIGN_LEFT
|wxALIGN_TOP 
; 
14397     int arg5 
= (int) -1 ; 
14398     bool temp2 
= false ; 
14400     PyObject 
* obj0 
= 0 ; 
14401     PyObject 
* obj1 
= 0 ; 
14402     PyObject 
* obj2 
= 0 ; 
14403     PyObject 
* obj3 
= 0 ; 
14404     PyObject 
* obj4 
= 0 ; 
14405     char *kwnames
[] = { 
14406         (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL 
 
14409     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
; 
14410     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
14411     if (SWIG_arg_fail(1)) SWIG_fail
; 
14413         arg2 
= wxString_in_helper(obj1
); 
14414         if (arg2 
== NULL
) SWIG_fail
; 
14419         if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
; 
14423             arg4 
= (int)(SWIG_As_int(obj3
));  
14424             if (SWIG_arg_fail(4)) SWIG_fail
; 
14429             arg5 
= (int)(SWIG_As_int(obj4
));  
14430             if (SWIG_arg_fail(5)) SWIG_fail
; 
14434         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14435         (arg1
)->DrawLabel((wxString 
const &)*arg2
,(wxRect 
const &)*arg3
,arg4
,arg5
); 
14437         wxPyEndAllowThreads(__tstate
); 
14438         if (PyErr_Occurred()) SWIG_fail
; 
14440     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
14455 static PyObject 
*_wrap_DC_DrawImageLabel(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
14456     PyObject 
*resultobj
; 
14457     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
14458     wxString 
*arg2 
= 0 ; 
14459     wxBitmap 
*arg3 
= 0 ; 
14461     int arg5 
= (int) wxALIGN_LEFT
|wxALIGN_TOP 
; 
14462     int arg6 
= (int) -1 ; 
14464     bool temp2 
= false ; 
14466     PyObject 
* obj0 
= 0 ; 
14467     PyObject 
* obj1 
= 0 ; 
14468     PyObject 
* obj2 
= 0 ; 
14469     PyObject 
* obj3 
= 0 ; 
14470     PyObject 
* obj4 
= 0 ; 
14471     PyObject 
* obj5 
= 0 ; 
14472     char *kwnames
[] = { 
14473         (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL 
 
14476     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:DC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
; 
14477     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
14478     if (SWIG_arg_fail(1)) SWIG_fail
; 
14480         arg2 
= wxString_in_helper(obj1
); 
14481         if (arg2 
== NULL
) SWIG_fail
; 
14485         SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION 
| 0); 
14486         if (SWIG_arg_fail(3)) SWIG_fail
; 
14487         if (arg3 
== NULL
) { 
14488             SWIG_null_ref("wxBitmap"); 
14490         if (SWIG_arg_fail(3)) SWIG_fail
; 
14494         if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
; 
14498             arg5 
= (int)(SWIG_As_int(obj4
));  
14499             if (SWIG_arg_fail(5)) SWIG_fail
; 
14504             arg6 
= (int)(SWIG_As_int(obj5
));  
14505             if (SWIG_arg_fail(6)) SWIG_fail
; 
14509         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14510         result 
= wxDC_DrawImageLabel(arg1
,(wxString 
const &)*arg2
,(wxBitmap 
const &)*arg3
,(wxRect 
const &)*arg4
,arg5
,arg6
); 
14512         wxPyEndAllowThreads(__tstate
); 
14513         if (PyErr_Occurred()) SWIG_fail
; 
14516         wxRect 
* resultptr
; 
14517         resultptr 
= new wxRect((wxRect 
&)(result
)); 
14518         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1); 
14534 static PyObject 
*_wrap_DC_DrawSpline(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
14535     PyObject 
*resultobj
; 
14536     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
14538     wxPoint 
*arg3 
= (wxPoint 
*) 0 ; 
14539     PyObject 
* obj0 
= 0 ; 
14540     PyObject 
* obj1 
= 0 ; 
14541     char *kwnames
[] = { 
14542         (char *) "self",(char *) "points", NULL 
 
14545     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawSpline",kwnames
,&obj0
,&obj1
)) goto fail
; 
14546     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
14547     if (SWIG_arg_fail(1)) SWIG_fail
; 
14549         arg3 
= wxPoint_LIST_helper(obj1
, &arg2
); 
14550         if (arg3 
== NULL
) SWIG_fail
; 
14553         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14554         (arg1
)->DrawSpline(arg2
,arg3
); 
14556         wxPyEndAllowThreads(__tstate
); 
14557         if (PyErr_Occurred()) SWIG_fail
; 
14559     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
14561         if (arg3
) delete [] arg3
; 
14566         if (arg3
) delete [] arg3
; 
14572 static PyObject 
*_wrap_DC_Clear(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
14573     PyObject 
*resultobj
; 
14574     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
14575     PyObject 
* obj0 
= 0 ; 
14576     char *kwnames
[] = { 
14577         (char *) "self", NULL 
 
14580     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_Clear",kwnames
,&obj0
)) goto fail
; 
14581     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
14582     if (SWIG_arg_fail(1)) SWIG_fail
; 
14584         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14587         wxPyEndAllowThreads(__tstate
); 
14588         if (PyErr_Occurred()) SWIG_fail
; 
14590     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
14597 static PyObject 
*_wrap_DC_StartDoc(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
14598     PyObject 
*resultobj
; 
14599     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
14600     wxString 
*arg2 
= 0 ; 
14602     bool temp2 
= false ; 
14603     PyObject 
* obj0 
= 0 ; 
14604     PyObject 
* obj1 
= 0 ; 
14605     char *kwnames
[] = { 
14606         (char *) "self",(char *) "message", NULL 
 
14609     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_StartDoc",kwnames
,&obj0
,&obj1
)) goto fail
; 
14610     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
14611     if (SWIG_arg_fail(1)) SWIG_fail
; 
14613         arg2 
= wxString_in_helper(obj1
); 
14614         if (arg2 
== NULL
) SWIG_fail
; 
14618         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14619         result 
= (bool)(arg1
)->StartDoc((wxString 
const &)*arg2
); 
14621         wxPyEndAllowThreads(__tstate
); 
14622         if (PyErr_Occurred()) SWIG_fail
; 
14625         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
14641 static PyObject 
*_wrap_DC_EndDoc(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
14642     PyObject 
*resultobj
; 
14643     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
14644     PyObject 
* obj0 
= 0 ; 
14645     char *kwnames
[] = { 
14646         (char *) "self", NULL 
 
14649     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_EndDoc",kwnames
,&obj0
)) goto fail
; 
14650     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
14651     if (SWIG_arg_fail(1)) SWIG_fail
; 
14653         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14656         wxPyEndAllowThreads(__tstate
); 
14657         if (PyErr_Occurred()) SWIG_fail
; 
14659     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
14666 static PyObject 
*_wrap_DC_StartPage(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
14667     PyObject 
*resultobj
; 
14668     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
14669     PyObject 
* obj0 
= 0 ; 
14670     char *kwnames
[] = { 
14671         (char *) "self", NULL 
 
14674     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_StartPage",kwnames
,&obj0
)) goto fail
; 
14675     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
14676     if (SWIG_arg_fail(1)) SWIG_fail
; 
14678         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14679         (arg1
)->StartPage(); 
14681         wxPyEndAllowThreads(__tstate
); 
14682         if (PyErr_Occurred()) SWIG_fail
; 
14684     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
14691 static PyObject 
*_wrap_DC_EndPage(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
14692     PyObject 
*resultobj
; 
14693     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
14694     PyObject 
* obj0 
= 0 ; 
14695     char *kwnames
[] = { 
14696         (char *) "self", NULL 
 
14699     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_EndPage",kwnames
,&obj0
)) goto fail
; 
14700     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
14701     if (SWIG_arg_fail(1)) SWIG_fail
; 
14703         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14706         wxPyEndAllowThreads(__tstate
); 
14707         if (PyErr_Occurred()) SWIG_fail
; 
14709     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
14716 static PyObject 
*_wrap_DC_SetFont(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
14717     PyObject 
*resultobj
; 
14718     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
14720     PyObject 
* obj0 
= 0 ; 
14721     PyObject 
* obj1 
= 0 ; 
14722     char *kwnames
[] = { 
14723         (char *) "self",(char *) "font", NULL 
 
14726     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
; 
14727     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
14728     if (SWIG_arg_fail(1)) SWIG_fail
; 
14730         SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION 
| 0); 
14731         if (SWIG_arg_fail(2)) SWIG_fail
; 
14732         if (arg2 
== NULL
) { 
14733             SWIG_null_ref("wxFont"); 
14735         if (SWIG_arg_fail(2)) SWIG_fail
; 
14738         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14739         (arg1
)->SetFont((wxFont 
const &)*arg2
); 
14741         wxPyEndAllowThreads(__tstate
); 
14742         if (PyErr_Occurred()) SWIG_fail
; 
14744     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
14751 static PyObject 
*_wrap_DC_SetPen(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
14752     PyObject 
*resultobj
; 
14753     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
14755     PyObject 
* obj0 
= 0 ; 
14756     PyObject 
* obj1 
= 0 ; 
14757     char *kwnames
[] = { 
14758         (char *) "self",(char *) "pen", NULL 
 
14761     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPen",kwnames
,&obj0
,&obj1
)) goto fail
; 
14762     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
14763     if (SWIG_arg_fail(1)) SWIG_fail
; 
14765         SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION 
| 0); 
14766         if (SWIG_arg_fail(2)) SWIG_fail
; 
14767         if (arg2 
== NULL
) { 
14768             SWIG_null_ref("wxPen"); 
14770         if (SWIG_arg_fail(2)) SWIG_fail
; 
14773         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14774         (arg1
)->SetPen((wxPen 
const &)*arg2
); 
14776         wxPyEndAllowThreads(__tstate
); 
14777         if (PyErr_Occurred()) SWIG_fail
; 
14779     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
14786 static PyObject 
*_wrap_DC_SetBrush(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
14787     PyObject 
*resultobj
; 
14788     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
14789     wxBrush 
*arg2 
= 0 ; 
14790     PyObject 
* obj0 
= 0 ; 
14791     PyObject 
* obj1 
= 0 ; 
14792     char *kwnames
[] = { 
14793         (char *) "self",(char *) "brush", NULL 
 
14796     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBrush",kwnames
,&obj0
,&obj1
)) goto fail
; 
14797     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
14798     if (SWIG_arg_fail(1)) SWIG_fail
; 
14800         SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBrush
, SWIG_POINTER_EXCEPTION 
| 0); 
14801         if (SWIG_arg_fail(2)) SWIG_fail
; 
14802         if (arg2 
== NULL
) { 
14803             SWIG_null_ref("wxBrush"); 
14805         if (SWIG_arg_fail(2)) SWIG_fail
; 
14808         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14809         (arg1
)->SetBrush((wxBrush 
const &)*arg2
); 
14811         wxPyEndAllowThreads(__tstate
); 
14812         if (PyErr_Occurred()) SWIG_fail
; 
14814     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
14821 static PyObject 
*_wrap_DC_SetBackground(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
14822     PyObject 
*resultobj
; 
14823     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
14824     wxBrush 
*arg2 
= 0 ; 
14825     PyObject 
* obj0 
= 0 ; 
14826     PyObject 
* obj1 
= 0 ; 
14827     char *kwnames
[] = { 
14828         (char *) "self",(char *) "brush", NULL 
 
14831     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackground",kwnames
,&obj0
,&obj1
)) goto fail
; 
14832     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
14833     if (SWIG_arg_fail(1)) SWIG_fail
; 
14835         SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBrush
, SWIG_POINTER_EXCEPTION 
| 0); 
14836         if (SWIG_arg_fail(2)) SWIG_fail
; 
14837         if (arg2 
== NULL
) { 
14838             SWIG_null_ref("wxBrush"); 
14840         if (SWIG_arg_fail(2)) SWIG_fail
; 
14843         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14844         (arg1
)->SetBackground((wxBrush 
const &)*arg2
); 
14846         wxPyEndAllowThreads(__tstate
); 
14847         if (PyErr_Occurred()) SWIG_fail
; 
14849     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
14856 static PyObject 
*_wrap_DC_SetBackgroundMode(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
14857     PyObject 
*resultobj
; 
14858     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
14860     PyObject 
* obj0 
= 0 ; 
14861     PyObject 
* obj1 
= 0 ; 
14862     char *kwnames
[] = { 
14863         (char *) "self",(char *) "mode", NULL 
 
14866     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) goto fail
; 
14867     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
14868     if (SWIG_arg_fail(1)) SWIG_fail
; 
14870         arg2 
= (int)(SWIG_As_int(obj1
));  
14871         if (SWIG_arg_fail(2)) SWIG_fail
; 
14874         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14875         (arg1
)->SetBackgroundMode(arg2
); 
14877         wxPyEndAllowThreads(__tstate
); 
14878         if (PyErr_Occurred()) SWIG_fail
; 
14880     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
14887 static PyObject 
*_wrap_DC_SetPalette(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
14888     PyObject 
*resultobj
; 
14889     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
14890     wxPalette 
*arg2 
= 0 ; 
14891     PyObject 
* obj0 
= 0 ; 
14892     PyObject 
* obj1 
= 0 ; 
14893     char *kwnames
[] = { 
14894         (char *) "self",(char *) "palette", NULL 
 
14897     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPalette",kwnames
,&obj0
,&obj1
)) goto fail
; 
14898     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
14899     if (SWIG_arg_fail(1)) SWIG_fail
; 
14901         SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPalette
, SWIG_POINTER_EXCEPTION 
| 0); 
14902         if (SWIG_arg_fail(2)) SWIG_fail
; 
14903         if (arg2 
== NULL
) { 
14904             SWIG_null_ref("wxPalette"); 
14906         if (SWIG_arg_fail(2)) SWIG_fail
; 
14909         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14910         (arg1
)->SetPalette((wxPalette 
const &)*arg2
); 
14912         wxPyEndAllowThreads(__tstate
); 
14913         if (PyErr_Occurred()) SWIG_fail
; 
14915     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
14922 static PyObject 
*_wrap_DC_DestroyClippingRegion(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
14923     PyObject 
*resultobj
; 
14924     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
14925     PyObject 
* obj0 
= 0 ; 
14926     char *kwnames
[] = { 
14927         (char *) "self", NULL 
 
14930     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_DestroyClippingRegion",kwnames
,&obj0
)) goto fail
; 
14931     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
14932     if (SWIG_arg_fail(1)) SWIG_fail
; 
14934         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14935         (arg1
)->DestroyClippingRegion(); 
14937         wxPyEndAllowThreads(__tstate
); 
14938         if (PyErr_Occurred()) SWIG_fail
; 
14940     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
14947 static PyObject 
*_wrap_DC_GetClippingBox(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
14948     PyObject 
*resultobj
; 
14949     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
14950     int *arg2 
= (int *) 0 ; 
14951     int *arg3 
= (int *) 0 ; 
14952     int *arg4 
= (int *) 0 ; 
14953     int *arg5 
= (int *) 0 ; 
14962     PyObject 
* obj0 
= 0 ; 
14963     char *kwnames
[] = { 
14964         (char *) "self", NULL 
 
14967     arg2 
= &temp2
; res2 
= SWIG_NEWOBJ
; 
14968     arg3 
= &temp3
; res3 
= SWIG_NEWOBJ
; 
14969     arg4 
= &temp4
; res4 
= SWIG_NEWOBJ
; 
14970     arg5 
= &temp5
; res5 
= SWIG_NEWOBJ
; 
14971     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetClippingBox",kwnames
,&obj0
)) goto fail
; 
14972     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
14973     if (SWIG_arg_fail(1)) SWIG_fail
; 
14975         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14976         ((wxDC 
const *)arg1
)->GetClippingBox(arg2
,arg3
,arg4
,arg5
); 
14978         wxPyEndAllowThreads(__tstate
); 
14979         if (PyErr_Occurred()) SWIG_fail
; 
14981     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
14982     resultobj 
= t_output_helper(resultobj
, ((res2 
== SWIG_NEWOBJ
) ? 
14983     SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0))); 
14984     resultobj 
= t_output_helper(resultobj
, ((res3 
== SWIG_NEWOBJ
) ? 
14985     SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0))); 
14986     resultobj 
= t_output_helper(resultobj
, ((res4 
== SWIG_NEWOBJ
) ? 
14987     SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0))); 
14988     resultobj 
= t_output_helper(resultobj
, ((res5 
== SWIG_NEWOBJ
) ? 
14989     SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0))); 
14996 static PyObject 
*_wrap_DC_GetClippingRect(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
14997     PyObject 
*resultobj
; 
14998     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
15000     PyObject 
* obj0 
= 0 ; 
15001     char *kwnames
[] = { 
15002         (char *) "self", NULL 
 
15005     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetClippingRect",kwnames
,&obj0
)) goto fail
; 
15006     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
15007     if (SWIG_arg_fail(1)) SWIG_fail
; 
15009         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15010         result 
= wxDC_GetClippingRect(arg1
); 
15012         wxPyEndAllowThreads(__tstate
); 
15013         if (PyErr_Occurred()) SWIG_fail
; 
15016         wxRect 
* resultptr
; 
15017         resultptr 
= new wxRect((wxRect 
&)(result
)); 
15018         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1); 
15026 static PyObject 
*_wrap_DC_GetCharHeight(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
15027     PyObject 
*resultobj
; 
15028     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
15030     PyObject 
* obj0 
= 0 ; 
15031     char *kwnames
[] = { 
15032         (char *) "self", NULL 
 
15035     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetCharHeight",kwnames
,&obj0
)) goto fail
; 
15036     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
15037     if (SWIG_arg_fail(1)) SWIG_fail
; 
15039         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15040         result 
= (int)((wxDC 
const *)arg1
)->GetCharHeight(); 
15042         wxPyEndAllowThreads(__tstate
); 
15043         if (PyErr_Occurred()) SWIG_fail
; 
15046         resultobj 
= SWIG_From_int((int)(result
));  
15054 static PyObject 
*_wrap_DC_GetCharWidth(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
15055     PyObject 
*resultobj
; 
15056     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
15058     PyObject 
* obj0 
= 0 ; 
15059     char *kwnames
[] = { 
15060         (char *) "self", NULL 
 
15063     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetCharWidth",kwnames
,&obj0
)) goto fail
; 
15064     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
15065     if (SWIG_arg_fail(1)) SWIG_fail
; 
15067         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15068         result 
= (int)((wxDC 
const *)arg1
)->GetCharWidth(); 
15070         wxPyEndAllowThreads(__tstate
); 
15071         if (PyErr_Occurred()) SWIG_fail
; 
15074         resultobj 
= SWIG_From_int((int)(result
));  
15082 static PyObject 
*_wrap_DC_GetTextExtent(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
15083     PyObject 
*resultobj
; 
15084     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
15085     wxString 
*arg2 
= 0 ; 
15086     int *arg3 
= (int *) 0 ; 
15087     int *arg4 
= (int *) 0 ; 
15088     bool temp2 
= false ; 
15093     PyObject 
* obj0 
= 0 ; 
15094     PyObject 
* obj1 
= 0 ; 
15095     char *kwnames
[] = { 
15096         (char *) "self",(char *) "string", NULL 
 
15099     arg3 
= &temp3
; res3 
= SWIG_NEWOBJ
; 
15100     arg4 
= &temp4
; res4 
= SWIG_NEWOBJ
; 
15101     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetTextExtent",kwnames
,&obj0
,&obj1
)) goto fail
; 
15102     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
15103     if (SWIG_arg_fail(1)) SWIG_fail
; 
15105         arg2 
= wxString_in_helper(obj1
); 
15106         if (arg2 
== NULL
) SWIG_fail
; 
15110         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15111         (arg1
)->GetTextExtent((wxString 
const &)*arg2
,arg3
,arg4
); 
15113         wxPyEndAllowThreads(__tstate
); 
15114         if (PyErr_Occurred()) SWIG_fail
; 
15116     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
15117     resultobj 
= t_output_helper(resultobj
, ((res3 
== SWIG_NEWOBJ
) ? 
15118     SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0))); 
15119     resultobj 
= t_output_helper(resultobj
, ((res4 
== SWIG_NEWOBJ
) ? 
15120     SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0))); 
15135 static PyObject 
*_wrap_DC_GetFullTextExtent(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
15136     PyObject 
*resultobj
; 
15137     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
15138     wxString 
*arg2 
= 0 ; 
15139     int *arg3 
= (int *) 0 ; 
15140     int *arg4 
= (int *) 0 ; 
15141     int *arg5 
= (int *) 0 ; 
15142     int *arg6 
= (int *) 0 ; 
15143     wxFont 
*arg7 
= (wxFont 
*) NULL 
; 
15144     bool temp2 
= false ; 
15153     PyObject 
* obj0 
= 0 ; 
15154     PyObject 
* obj1 
= 0 ; 
15155     PyObject 
* obj2 
= 0 ; 
15156     char *kwnames
[] = { 
15157         (char *) "self",(char *) "string",(char *) "font", NULL 
 
15160     arg3 
= &temp3
; res3 
= SWIG_NEWOBJ
; 
15161     arg4 
= &temp4
; res4 
= SWIG_NEWOBJ
; 
15162     arg5 
= &temp5
; res5 
= SWIG_NEWOBJ
; 
15163     arg6 
= &temp6
; res6 
= SWIG_NEWOBJ
; 
15164     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
15165     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
15166     if (SWIG_arg_fail(1)) SWIG_fail
; 
15168         arg2 
= wxString_in_helper(obj1
); 
15169         if (arg2 
== NULL
) SWIG_fail
; 
15173         SWIG_Python_ConvertPtr(obj2
, (void **)&arg7
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION 
| 0); 
15174         if (SWIG_arg_fail(7)) SWIG_fail
; 
15177         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15178         (arg1
)->GetTextExtent((wxString 
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
); 
15180         wxPyEndAllowThreads(__tstate
); 
15181         if (PyErr_Occurred()) SWIG_fail
; 
15183     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
15184     resultobj 
= t_output_helper(resultobj
, ((res3 
== SWIG_NEWOBJ
) ? 
15185     SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0))); 
15186     resultobj 
= t_output_helper(resultobj
, ((res4 
== SWIG_NEWOBJ
) ? 
15187     SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0))); 
15188     resultobj 
= t_output_helper(resultobj
, ((res5 
== SWIG_NEWOBJ
) ? 
15189     SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0))); 
15190     resultobj 
= t_output_helper(resultobj
, ((res6 
== SWIG_NEWOBJ
) ? 
15191     SWIG_From_int((*arg6
)) : SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_int
, 0))); 
15206 static PyObject 
*_wrap_DC_GetMultiLineTextExtent(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
15207     PyObject 
*resultobj
; 
15208     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
15209     wxString 
*arg2 
= 0 ; 
15210     int *arg3 
= (int *) 0 ; 
15211     int *arg4 
= (int *) 0 ; 
15212     int *arg5 
= (int *) 0 ; 
15213     wxFont 
*arg6 
= (wxFont 
*) NULL 
; 
15214     bool temp2 
= false ; 
15221     PyObject 
* obj0 
= 0 ; 
15222     PyObject 
* obj1 
= 0 ; 
15223     PyObject 
* obj2 
= 0 ; 
15224     char *kwnames
[] = { 
15225         (char *) "self",(char *) "text",(char *) "font", NULL 
 
15228     arg3 
= &temp3
; res3 
= SWIG_NEWOBJ
; 
15229     arg4 
= &temp4
; res4 
= SWIG_NEWOBJ
; 
15230     arg5 
= &temp5
; res5 
= SWIG_NEWOBJ
; 
15231     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetMultiLineTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
15232     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
15233     if (SWIG_arg_fail(1)) SWIG_fail
; 
15235         arg2 
= wxString_in_helper(obj1
); 
15236         if (arg2 
== NULL
) SWIG_fail
; 
15240         SWIG_Python_ConvertPtr(obj2
, (void **)&arg6
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION 
| 0); 
15241         if (SWIG_arg_fail(6)) SWIG_fail
; 
15244         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15245         (arg1
)->GetMultiLineTextExtent((wxString 
const &)*arg2
,arg3
,arg4
,arg5
,arg6
); 
15247         wxPyEndAllowThreads(__tstate
); 
15248         if (PyErr_Occurred()) SWIG_fail
; 
15250     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
15251     resultobj 
= t_output_helper(resultobj
, ((res3 
== SWIG_NEWOBJ
) ? 
15252     SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0))); 
15253     resultobj 
= t_output_helper(resultobj
, ((res4 
== SWIG_NEWOBJ
) ? 
15254     SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0))); 
15255     resultobj 
= t_output_helper(resultobj
, ((res5 
== SWIG_NEWOBJ
) ? 
15256     SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0))); 
15271 static PyObject 
*_wrap_DC_GetPartialTextExtents(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
15272     PyObject 
*resultobj
; 
15273     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
15274     wxString 
*arg2 
= 0 ; 
15276     bool temp2 
= false ; 
15277     PyObject 
* obj0 
= 0 ; 
15278     PyObject 
* obj1 
= 0 ; 
15279     char *kwnames
[] = { 
15280         (char *) "self",(char *) "text", NULL 
 
15283     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) goto fail
; 
15284     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
15285     if (SWIG_arg_fail(1)) SWIG_fail
; 
15287         arg2 
= wxString_in_helper(obj1
); 
15288         if (arg2 
== NULL
) SWIG_fail
; 
15292         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15293         result 
= wxDC_GetPartialTextExtents(arg1
,(wxString 
const &)*arg2
); 
15295         wxPyEndAllowThreads(__tstate
); 
15296         if (PyErr_Occurred()) SWIG_fail
; 
15299         resultobj 
= PyList_New(0); 
15301         for (idx 
= 0; idx 
< (&result
)->GetCount(); idx 
+= 1) { 
15302             PyObject
* val 
= PyInt_FromLong( (&result
)->Item(idx
) ); 
15303             PyList_Append(resultobj
, val
); 
15321 static PyObject 
*_wrap_DC_GetSize(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
15322     PyObject 
*resultobj
; 
15323     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
15325     PyObject 
* obj0 
= 0 ; 
15326     char *kwnames
[] = { 
15327         (char *) "self", NULL 
 
15330     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSize",kwnames
,&obj0
)) goto fail
; 
15331     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
15332     if (SWIG_arg_fail(1)) SWIG_fail
; 
15334         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15335         result 
= (arg1
)->GetSize(); 
15337         wxPyEndAllowThreads(__tstate
); 
15338         if (PyErr_Occurred()) SWIG_fail
; 
15341         wxSize 
* resultptr
; 
15342         resultptr 
= new wxSize((wxSize 
&)(result
)); 
15343         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1); 
15351 static PyObject 
*_wrap_DC_GetSizeTuple(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
15352     PyObject 
*resultobj
; 
15353     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
15354     int *arg2 
= (int *) 0 ; 
15355     int *arg3 
= (int *) 0 ; 
15360     PyObject 
* obj0 
= 0 ; 
15361     char *kwnames
[] = { 
15362         (char *) "self", NULL 
 
15365     arg2 
= &temp2
; res2 
= SWIG_NEWOBJ
; 
15366     arg3 
= &temp3
; res3 
= SWIG_NEWOBJ
; 
15367     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeTuple",kwnames
,&obj0
)) goto fail
; 
15368     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
15369     if (SWIG_arg_fail(1)) SWIG_fail
; 
15371         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15372         (arg1
)->GetSize(arg2
,arg3
); 
15374         wxPyEndAllowThreads(__tstate
); 
15375         if (PyErr_Occurred()) SWIG_fail
; 
15377     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
15378     resultobj 
= t_output_helper(resultobj
, ((res2 
== SWIG_NEWOBJ
) ? 
15379     SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0))); 
15380     resultobj 
= t_output_helper(resultobj
, ((res3 
== SWIG_NEWOBJ
) ? 
15381     SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0))); 
15388 static PyObject 
*_wrap_DC_GetSizeMM(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
15389     PyObject 
*resultobj
; 
15390     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
15392     PyObject 
* obj0 
= 0 ; 
15393     char *kwnames
[] = { 
15394         (char *) "self", NULL 
 
15397     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeMM",kwnames
,&obj0
)) goto fail
; 
15398     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
15399     if (SWIG_arg_fail(1)) SWIG_fail
; 
15401         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15402         result 
= ((wxDC 
const *)arg1
)->GetSizeMM(); 
15404         wxPyEndAllowThreads(__tstate
); 
15405         if (PyErr_Occurred()) SWIG_fail
; 
15408         wxSize 
* resultptr
; 
15409         resultptr 
= new wxSize((wxSize 
&)(result
)); 
15410         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1); 
15418 static PyObject 
*_wrap_DC_GetSizeMMTuple(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
15419     PyObject 
*resultobj
; 
15420     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
15421     int *arg2 
= (int *) 0 ; 
15422     int *arg3 
= (int *) 0 ; 
15427     PyObject 
* obj0 
= 0 ; 
15428     char *kwnames
[] = { 
15429         (char *) "self", NULL 
 
15432     arg2 
= &temp2
; res2 
= SWIG_NEWOBJ
; 
15433     arg3 
= &temp3
; res3 
= SWIG_NEWOBJ
; 
15434     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeMMTuple",kwnames
,&obj0
)) goto fail
; 
15435     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
15436     if (SWIG_arg_fail(1)) SWIG_fail
; 
15438         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15439         ((wxDC 
const *)arg1
)->GetSizeMM(arg2
,arg3
); 
15441         wxPyEndAllowThreads(__tstate
); 
15442         if (PyErr_Occurred()) SWIG_fail
; 
15444     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
15445     resultobj 
= t_output_helper(resultobj
, ((res2 
== SWIG_NEWOBJ
) ? 
15446     SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0))); 
15447     resultobj 
= t_output_helper(resultobj
, ((res3 
== SWIG_NEWOBJ
) ? 
15448     SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0))); 
15455 static PyObject 
*_wrap_DC_DeviceToLogicalX(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
15456     PyObject 
*resultobj
; 
15457     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
15460     PyObject 
* obj0 
= 0 ; 
15461     PyObject 
* obj1 
= 0 ; 
15462     char *kwnames
[] = { 
15463         (char *) "self",(char *) "x", NULL 
 
15466     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalX",kwnames
,&obj0
,&obj1
)) goto fail
; 
15467     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
15468     if (SWIG_arg_fail(1)) SWIG_fail
; 
15470         arg2 
= (int)(SWIG_As_int(obj1
));  
15471         if (SWIG_arg_fail(2)) SWIG_fail
; 
15474         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15475         result 
= (int)((wxDC 
const *)arg1
)->DeviceToLogicalX(arg2
); 
15477         wxPyEndAllowThreads(__tstate
); 
15478         if (PyErr_Occurred()) SWIG_fail
; 
15481         resultobj 
= SWIG_From_int((int)(result
));  
15489 static PyObject 
*_wrap_DC_DeviceToLogicalY(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
15490     PyObject 
*resultobj
; 
15491     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
15494     PyObject 
* obj0 
= 0 ; 
15495     PyObject 
* obj1 
= 0 ; 
15496     char *kwnames
[] = { 
15497         (char *) "self",(char *) "y", NULL 
 
15500     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalY",kwnames
,&obj0
,&obj1
)) goto fail
; 
15501     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
15502     if (SWIG_arg_fail(1)) SWIG_fail
; 
15504         arg2 
= (int)(SWIG_As_int(obj1
));  
15505         if (SWIG_arg_fail(2)) SWIG_fail
; 
15508         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15509         result 
= (int)((wxDC 
const *)arg1
)->DeviceToLogicalY(arg2
); 
15511         wxPyEndAllowThreads(__tstate
); 
15512         if (PyErr_Occurred()) SWIG_fail
; 
15515         resultobj 
= SWIG_From_int((int)(result
));  
15523 static PyObject 
*_wrap_DC_DeviceToLogicalXRel(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
15524     PyObject 
*resultobj
; 
15525     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
15528     PyObject 
* obj0 
= 0 ; 
15529     PyObject 
* obj1 
= 0 ; 
15530     char *kwnames
[] = { 
15531         (char *) "self",(char *) "x", NULL 
 
15534     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalXRel",kwnames
,&obj0
,&obj1
)) goto fail
; 
15535     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
15536     if (SWIG_arg_fail(1)) SWIG_fail
; 
15538         arg2 
= (int)(SWIG_As_int(obj1
));  
15539         if (SWIG_arg_fail(2)) SWIG_fail
; 
15542         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15543         result 
= (int)((wxDC 
const *)arg1
)->DeviceToLogicalXRel(arg2
); 
15545         wxPyEndAllowThreads(__tstate
); 
15546         if (PyErr_Occurred()) SWIG_fail
; 
15549         resultobj 
= SWIG_From_int((int)(result
));  
15557 static PyObject 
*_wrap_DC_DeviceToLogicalYRel(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
15558     PyObject 
*resultobj
; 
15559     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
15562     PyObject 
* obj0 
= 0 ; 
15563     PyObject 
* obj1 
= 0 ; 
15564     char *kwnames
[] = { 
15565         (char *) "self",(char *) "y", NULL 
 
15568     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalYRel",kwnames
,&obj0
,&obj1
)) goto fail
; 
15569     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
15570     if (SWIG_arg_fail(1)) SWIG_fail
; 
15572         arg2 
= (int)(SWIG_As_int(obj1
));  
15573         if (SWIG_arg_fail(2)) SWIG_fail
; 
15576         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15577         result 
= (int)((wxDC 
const *)arg1
)->DeviceToLogicalYRel(arg2
); 
15579         wxPyEndAllowThreads(__tstate
); 
15580         if (PyErr_Occurred()) SWIG_fail
; 
15583         resultobj 
= SWIG_From_int((int)(result
));  
15591 static PyObject 
*_wrap_DC_LogicalToDeviceX(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
15592     PyObject 
*resultobj
; 
15593     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
15596     PyObject 
* obj0 
= 0 ; 
15597     PyObject 
* obj1 
= 0 ; 
15598     char *kwnames
[] = { 
15599         (char *) "self",(char *) "x", NULL 
 
15602     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceX",kwnames
,&obj0
,&obj1
)) goto fail
; 
15603     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
15604     if (SWIG_arg_fail(1)) SWIG_fail
; 
15606         arg2 
= (int)(SWIG_As_int(obj1
));  
15607         if (SWIG_arg_fail(2)) SWIG_fail
; 
15610         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15611         result 
= (int)((wxDC 
const *)arg1
)->LogicalToDeviceX(arg2
); 
15613         wxPyEndAllowThreads(__tstate
); 
15614         if (PyErr_Occurred()) SWIG_fail
; 
15617         resultobj 
= SWIG_From_int((int)(result
));  
15625 static PyObject 
*_wrap_DC_LogicalToDeviceY(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
15626     PyObject 
*resultobj
; 
15627     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
15630     PyObject 
* obj0 
= 0 ; 
15631     PyObject 
* obj1 
= 0 ; 
15632     char *kwnames
[] = { 
15633         (char *) "self",(char *) "y", NULL 
 
15636     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceY",kwnames
,&obj0
,&obj1
)) goto fail
; 
15637     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
15638     if (SWIG_arg_fail(1)) SWIG_fail
; 
15640         arg2 
= (int)(SWIG_As_int(obj1
));  
15641         if (SWIG_arg_fail(2)) SWIG_fail
; 
15644         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15645         result 
= (int)((wxDC 
const *)arg1
)->LogicalToDeviceY(arg2
); 
15647         wxPyEndAllowThreads(__tstate
); 
15648         if (PyErr_Occurred()) SWIG_fail
; 
15651         resultobj 
= SWIG_From_int((int)(result
));  
15659 static PyObject 
*_wrap_DC_LogicalToDeviceXRel(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
15660     PyObject 
*resultobj
; 
15661     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
15664     PyObject 
* obj0 
= 0 ; 
15665     PyObject 
* obj1 
= 0 ; 
15666     char *kwnames
[] = { 
15667         (char *) "self",(char *) "x", NULL 
 
15670     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceXRel",kwnames
,&obj0
,&obj1
)) goto fail
; 
15671     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
15672     if (SWIG_arg_fail(1)) SWIG_fail
; 
15674         arg2 
= (int)(SWIG_As_int(obj1
));  
15675         if (SWIG_arg_fail(2)) SWIG_fail
; 
15678         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15679         result 
= (int)((wxDC 
const *)arg1
)->LogicalToDeviceXRel(arg2
); 
15681         wxPyEndAllowThreads(__tstate
); 
15682         if (PyErr_Occurred()) SWIG_fail
; 
15685         resultobj 
= SWIG_From_int((int)(result
));  
15693 static PyObject 
*_wrap_DC_LogicalToDeviceYRel(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
15694     PyObject 
*resultobj
; 
15695     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
15698     PyObject 
* obj0 
= 0 ; 
15699     PyObject 
* obj1 
= 0 ; 
15700     char *kwnames
[] = { 
15701         (char *) "self",(char *) "y", NULL 
 
15704     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceYRel",kwnames
,&obj0
,&obj1
)) goto fail
; 
15705     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
15706     if (SWIG_arg_fail(1)) SWIG_fail
; 
15708         arg2 
= (int)(SWIG_As_int(obj1
));  
15709         if (SWIG_arg_fail(2)) SWIG_fail
; 
15712         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15713         result 
= (int)((wxDC 
const *)arg1
)->LogicalToDeviceYRel(arg2
); 
15715         wxPyEndAllowThreads(__tstate
); 
15716         if (PyErr_Occurred()) SWIG_fail
; 
15719         resultobj 
= SWIG_From_int((int)(result
));  
15727 static PyObject 
*_wrap_DC_CanDrawBitmap(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
15728     PyObject 
*resultobj
; 
15729     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
15731     PyObject 
* obj0 
= 0 ; 
15732     char *kwnames
[] = { 
15733         (char *) "self", NULL 
 
15736     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_CanDrawBitmap",kwnames
,&obj0
)) goto fail
; 
15737     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
15738     if (SWIG_arg_fail(1)) SWIG_fail
; 
15740         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15741         result 
= (bool)((wxDC 
const *)arg1
)->CanDrawBitmap(); 
15743         wxPyEndAllowThreads(__tstate
); 
15744         if (PyErr_Occurred()) SWIG_fail
; 
15747         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
15755 static PyObject 
*_wrap_DC_CanGetTextExtent(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
15756     PyObject 
*resultobj
; 
15757     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
15759     PyObject 
* obj0 
= 0 ; 
15760     char *kwnames
[] = { 
15761         (char *) "self", NULL 
 
15764     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_CanGetTextExtent",kwnames
,&obj0
)) goto fail
; 
15765     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
15766     if (SWIG_arg_fail(1)) SWIG_fail
; 
15768         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15769         result 
= (bool)((wxDC 
const *)arg1
)->CanGetTextExtent(); 
15771         wxPyEndAllowThreads(__tstate
); 
15772         if (PyErr_Occurred()) SWIG_fail
; 
15775         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
15783 static PyObject 
*_wrap_DC_GetDepth(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
15784     PyObject 
*resultobj
; 
15785     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
15787     PyObject 
* obj0 
= 0 ; 
15788     char *kwnames
[] = { 
15789         (char *) "self", NULL 
 
15792     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetDepth",kwnames
,&obj0
)) goto fail
; 
15793     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
15794     if (SWIG_arg_fail(1)) SWIG_fail
; 
15796         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15797         result 
= (int)((wxDC 
const *)arg1
)->GetDepth(); 
15799         wxPyEndAllowThreads(__tstate
); 
15800         if (PyErr_Occurred()) SWIG_fail
; 
15803         resultobj 
= SWIG_From_int((int)(result
));  
15811 static PyObject 
*_wrap_DC_GetPPI(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
15812     PyObject 
*resultobj
; 
15813     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
15815     PyObject 
* obj0 
= 0 ; 
15816     char *kwnames
[] = { 
15817         (char *) "self", NULL 
 
15820     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetPPI",kwnames
,&obj0
)) goto fail
; 
15821     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
15822     if (SWIG_arg_fail(1)) SWIG_fail
; 
15824         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15825         result 
= ((wxDC 
const *)arg1
)->GetPPI(); 
15827         wxPyEndAllowThreads(__tstate
); 
15828         if (PyErr_Occurred()) SWIG_fail
; 
15831         wxSize 
* resultptr
; 
15832         resultptr 
= new wxSize((wxSize 
&)(result
)); 
15833         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1); 
15841 static PyObject 
*_wrap_DC_Ok(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
15842     PyObject 
*resultobj
; 
15843     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
15845     PyObject 
* obj0 
= 0 ; 
15846     char *kwnames
[] = { 
15847         (char *) "self", NULL 
 
15850     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_Ok",kwnames
,&obj0
)) goto fail
; 
15851     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
15852     if (SWIG_arg_fail(1)) SWIG_fail
; 
15854         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15855         result 
= (bool)((wxDC 
const *)arg1
)->Ok(); 
15857         wxPyEndAllowThreads(__tstate
); 
15858         if (PyErr_Occurred()) SWIG_fail
; 
15861         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
15869 static PyObject 
*_wrap_DC_GetBackgroundMode(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
15870     PyObject 
*resultobj
; 
15871     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
15873     PyObject 
* obj0 
= 0 ; 
15874     char *kwnames
[] = { 
15875         (char *) "self", NULL 
 
15878     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBackgroundMode",kwnames
,&obj0
)) goto fail
; 
15879     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
15880     if (SWIG_arg_fail(1)) SWIG_fail
; 
15882         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15883         result 
= (int)((wxDC 
const *)arg1
)->GetBackgroundMode(); 
15885         wxPyEndAllowThreads(__tstate
); 
15886         if (PyErr_Occurred()) SWIG_fail
; 
15889         resultobj 
= SWIG_From_int((int)(result
));  
15897 static PyObject 
*_wrap_DC_GetBackground(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
15898     PyObject 
*resultobj
; 
15899     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
15901     PyObject 
* obj0 
= 0 ; 
15902     char *kwnames
[] = { 
15903         (char *) "self", NULL 
 
15906     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBackground",kwnames
,&obj0
)) goto fail
; 
15907     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
15908     if (SWIG_arg_fail(1)) SWIG_fail
; 
15910         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15912             wxBrush 
const &_result_ref 
= ((wxDC 
const *)arg1
)->GetBackground(); 
15913             result 
= (wxBrush 
*) &_result_ref
; 
15916         wxPyEndAllowThreads(__tstate
); 
15917         if (PyErr_Occurred()) SWIG_fail
; 
15920         wxBrush
* resultptr 
= new wxBrush(*result
); 
15921         resultobj 
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1); 
15929 static PyObject 
*_wrap_DC_GetBrush(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
15930     PyObject 
*resultobj
; 
15931     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
15933     PyObject 
* obj0 
= 0 ; 
15934     char *kwnames
[] = { 
15935         (char *) "self", NULL 
 
15938     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBrush",kwnames
,&obj0
)) goto fail
; 
15939     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
15940     if (SWIG_arg_fail(1)) SWIG_fail
; 
15942         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15944             wxBrush 
const &_result_ref 
= ((wxDC 
const *)arg1
)->GetBrush(); 
15945             result 
= (wxBrush 
*) &_result_ref
; 
15948         wxPyEndAllowThreads(__tstate
); 
15949         if (PyErr_Occurred()) SWIG_fail
; 
15952         wxBrush
* resultptr 
= new wxBrush(*result
); 
15953         resultobj 
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1); 
15961 static PyObject 
*_wrap_DC_GetFont(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
15962     PyObject 
*resultobj
; 
15963     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
15965     PyObject 
* obj0 
= 0 ; 
15966     char *kwnames
[] = { 
15967         (char *) "self", NULL 
 
15970     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetFont",kwnames
,&obj0
)) goto fail
; 
15971     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
15972     if (SWIG_arg_fail(1)) SWIG_fail
; 
15974         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15976             wxFont 
const &_result_ref 
= ((wxDC 
const *)arg1
)->GetFont(); 
15977             result 
= (wxFont 
*) &_result_ref
; 
15980         wxPyEndAllowThreads(__tstate
); 
15981         if (PyErr_Occurred()) SWIG_fail
; 
15984         wxFont
* resultptr 
= new wxFont(*result
); 
15985         resultobj 
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1); 
15993 static PyObject 
*_wrap_DC_GetPen(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
15994     PyObject 
*resultobj
; 
15995     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
15997     PyObject 
* obj0 
= 0 ; 
15998     char *kwnames
[] = { 
15999         (char *) "self", NULL 
 
16002     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetPen",kwnames
,&obj0
)) goto fail
; 
16003     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
16004     if (SWIG_arg_fail(1)) SWIG_fail
; 
16006         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16008             wxPen 
const &_result_ref 
= ((wxDC 
const *)arg1
)->GetPen(); 
16009             result 
= (wxPen 
*) &_result_ref
; 
16012         wxPyEndAllowThreads(__tstate
); 
16013         if (PyErr_Occurred()) SWIG_fail
; 
16016         wxPen
* resultptr 
= new wxPen(*result
); 
16017         resultobj 
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxPen
, 1); 
16025 static PyObject 
*_wrap_DC_GetTextBackground(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16026     PyObject 
*resultobj
; 
16027     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
16029     PyObject 
* obj0 
= 0 ; 
16030     char *kwnames
[] = { 
16031         (char *) "self", NULL 
 
16034     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetTextBackground",kwnames
,&obj0
)) goto fail
; 
16035     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
16036     if (SWIG_arg_fail(1)) SWIG_fail
; 
16038         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16040             wxColour 
const &_result_ref 
= ((wxDC 
const *)arg1
)->GetTextBackground(); 
16041             result 
= (wxColour 
*) &_result_ref
; 
16044         wxPyEndAllowThreads(__tstate
); 
16045         if (PyErr_Occurred()) SWIG_fail
; 
16047     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0); 
16054 static PyObject 
*_wrap_DC_GetTextForeground(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16055     PyObject 
*resultobj
; 
16056     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
16058     PyObject 
* obj0 
= 0 ; 
16059     char *kwnames
[] = { 
16060         (char *) "self", NULL 
 
16063     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetTextForeground",kwnames
,&obj0
)) goto fail
; 
16064     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
16065     if (SWIG_arg_fail(1)) SWIG_fail
; 
16067         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16069             wxColour 
const &_result_ref 
= ((wxDC 
const *)arg1
)->GetTextForeground(); 
16070             result 
= (wxColour 
*) &_result_ref
; 
16073         wxPyEndAllowThreads(__tstate
); 
16074         if (PyErr_Occurred()) SWIG_fail
; 
16076     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0); 
16083 static PyObject 
*_wrap_DC_SetTextForeground(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16084     PyObject 
*resultobj
; 
16085     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
16086     wxColour 
*arg2 
= 0 ; 
16088     PyObject 
* obj0 
= 0 ; 
16089     PyObject 
* obj1 
= 0 ; 
16090     char *kwnames
[] = { 
16091         (char *) "self",(char *) "colour", NULL 
 
16094     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextForeground",kwnames
,&obj0
,&obj1
)) goto fail
; 
16095     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
16096     if (SWIG_arg_fail(1)) SWIG_fail
; 
16099         if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
16102         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16103         (arg1
)->SetTextForeground((wxColour 
const &)*arg2
); 
16105         wxPyEndAllowThreads(__tstate
); 
16106         if (PyErr_Occurred()) SWIG_fail
; 
16108     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
16115 static PyObject 
*_wrap_DC_SetTextBackground(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16116     PyObject 
*resultobj
; 
16117     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
16118     wxColour 
*arg2 
= 0 ; 
16120     PyObject 
* obj0 
= 0 ; 
16121     PyObject 
* obj1 
= 0 ; 
16122     char *kwnames
[] = { 
16123         (char *) "self",(char *) "colour", NULL 
 
16126     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextBackground",kwnames
,&obj0
,&obj1
)) goto fail
; 
16127     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
16128     if (SWIG_arg_fail(1)) SWIG_fail
; 
16131         if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
16134         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16135         (arg1
)->SetTextBackground((wxColour 
const &)*arg2
); 
16137         wxPyEndAllowThreads(__tstate
); 
16138         if (PyErr_Occurred()) SWIG_fail
; 
16140     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
16147 static PyObject 
*_wrap_DC_GetMapMode(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16148     PyObject 
*resultobj
; 
16149     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
16151     PyObject 
* obj0 
= 0 ; 
16152     char *kwnames
[] = { 
16153         (char *) "self", NULL 
 
16156     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetMapMode",kwnames
,&obj0
)) goto fail
; 
16157     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
16158     if (SWIG_arg_fail(1)) SWIG_fail
; 
16160         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16161         result 
= (int)((wxDC 
const *)arg1
)->GetMapMode(); 
16163         wxPyEndAllowThreads(__tstate
); 
16164         if (PyErr_Occurred()) SWIG_fail
; 
16167         resultobj 
= SWIG_From_int((int)(result
));  
16175 static PyObject 
*_wrap_DC_SetMapMode(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16176     PyObject 
*resultobj
; 
16177     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
16179     PyObject 
* obj0 
= 0 ; 
16180     PyObject 
* obj1 
= 0 ; 
16181     char *kwnames
[] = { 
16182         (char *) "self",(char *) "mode", NULL 
 
16185     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetMapMode",kwnames
,&obj0
,&obj1
)) goto fail
; 
16186     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
16187     if (SWIG_arg_fail(1)) SWIG_fail
; 
16189         arg2 
= (int)(SWIG_As_int(obj1
));  
16190         if (SWIG_arg_fail(2)) SWIG_fail
; 
16193         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16194         (arg1
)->SetMapMode(arg2
); 
16196         wxPyEndAllowThreads(__tstate
); 
16197         if (PyErr_Occurred()) SWIG_fail
; 
16199     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
16206 static PyObject 
*_wrap_DC_GetUserScale(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16207     PyObject 
*resultobj
; 
16208     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
16209     double *arg2 
= (double *) 0 ; 
16210     double *arg3 
= (double *) 0 ; 
16215     PyObject 
* obj0 
= 0 ; 
16216     char *kwnames
[] = { 
16217         (char *) "self", NULL 
 
16220     arg2 
= &temp2
; res2 
= SWIG_NEWOBJ
; 
16221     arg3 
= &temp3
; res3 
= SWIG_NEWOBJ
; 
16222     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetUserScale",kwnames
,&obj0
)) goto fail
; 
16223     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
16224     if (SWIG_arg_fail(1)) SWIG_fail
; 
16226         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16227         ((wxDC 
const *)arg1
)->GetUserScale(arg2
,arg3
); 
16229         wxPyEndAllowThreads(__tstate
); 
16230         if (PyErr_Occurred()) SWIG_fail
; 
16232     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
16233     resultobj 
= t_output_helper(resultobj
, ((res2 
== SWIG_NEWOBJ
) ? 
16234     SWIG_From_double((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, 0))); 
16235     resultobj 
= t_output_helper(resultobj
, ((res3 
== SWIG_NEWOBJ
) ? 
16236     SWIG_From_double((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, 0))); 
16243 static PyObject 
*_wrap_DC_SetUserScale(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16244     PyObject 
*resultobj
; 
16245     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
16248     PyObject 
* obj0 
= 0 ; 
16249     PyObject 
* obj1 
= 0 ; 
16250     PyObject 
* obj2 
= 0 ; 
16251     char *kwnames
[] = { 
16252         (char *) "self",(char *) "x",(char *) "y", NULL 
 
16255     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetUserScale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
16256     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
16257     if (SWIG_arg_fail(1)) SWIG_fail
; 
16259         arg2 
= (double)(SWIG_As_double(obj1
));  
16260         if (SWIG_arg_fail(2)) SWIG_fail
; 
16263         arg3 
= (double)(SWIG_As_double(obj2
));  
16264         if (SWIG_arg_fail(3)) SWIG_fail
; 
16267         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16268         (arg1
)->SetUserScale(arg2
,arg3
); 
16270         wxPyEndAllowThreads(__tstate
); 
16271         if (PyErr_Occurred()) SWIG_fail
; 
16273     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
16280 static PyObject 
*_wrap_DC_GetLogicalScale(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16281     PyObject 
*resultobj
; 
16282     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
16283     double *arg2 
= (double *) 0 ; 
16284     double *arg3 
= (double *) 0 ; 
16289     PyObject 
* obj0 
= 0 ; 
16290     char *kwnames
[] = { 
16291         (char *) "self", NULL 
 
16294     arg2 
= &temp2
; res2 
= SWIG_NEWOBJ
; 
16295     arg3 
= &temp3
; res3 
= SWIG_NEWOBJ
; 
16296     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalScale",kwnames
,&obj0
)) goto fail
; 
16297     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
16298     if (SWIG_arg_fail(1)) SWIG_fail
; 
16300         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16301         (arg1
)->GetLogicalScale(arg2
,arg3
); 
16303         wxPyEndAllowThreads(__tstate
); 
16304         if (PyErr_Occurred()) SWIG_fail
; 
16306     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
16307     resultobj 
= t_output_helper(resultobj
, ((res2 
== SWIG_NEWOBJ
) ? 
16308     SWIG_From_double((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, 0))); 
16309     resultobj 
= t_output_helper(resultobj
, ((res3 
== SWIG_NEWOBJ
) ? 
16310     SWIG_From_double((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, 0))); 
16317 static PyObject 
*_wrap_DC_SetLogicalScale(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16318     PyObject 
*resultobj
; 
16319     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
16322     PyObject 
* obj0 
= 0 ; 
16323     PyObject 
* obj1 
= 0 ; 
16324     PyObject 
* obj2 
= 0 ; 
16325     char *kwnames
[] = { 
16326         (char *) "self",(char *) "x",(char *) "y", NULL 
 
16329     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalScale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
16330     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
16331     if (SWIG_arg_fail(1)) SWIG_fail
; 
16333         arg2 
= (double)(SWIG_As_double(obj1
));  
16334         if (SWIG_arg_fail(2)) SWIG_fail
; 
16337         arg3 
= (double)(SWIG_As_double(obj2
));  
16338         if (SWIG_arg_fail(3)) SWIG_fail
; 
16341         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16342         (arg1
)->SetLogicalScale(arg2
,arg3
); 
16344         wxPyEndAllowThreads(__tstate
); 
16345         if (PyErr_Occurred()) SWIG_fail
; 
16347     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
16354 static PyObject 
*_wrap_DC_GetLogicalOrigin(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16355     PyObject 
*resultobj
; 
16356     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
16358     PyObject 
* obj0 
= 0 ; 
16359     char *kwnames
[] = { 
16360         (char *) "self", NULL 
 
16363     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalOrigin",kwnames
,&obj0
)) goto fail
; 
16364     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
16365     if (SWIG_arg_fail(1)) SWIG_fail
; 
16367         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16368         result 
= ((wxDC 
const *)arg1
)->GetLogicalOrigin(); 
16370         wxPyEndAllowThreads(__tstate
); 
16371         if (PyErr_Occurred()) SWIG_fail
; 
16374         wxPoint 
* resultptr
; 
16375         resultptr 
= new wxPoint((wxPoint 
&)(result
)); 
16376         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1); 
16384 static PyObject 
*_wrap_DC_GetLogicalOriginTuple(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16385     PyObject 
*resultobj
; 
16386     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
16387     int *arg2 
= (int *) 0 ; 
16388     int *arg3 
= (int *) 0 ; 
16393     PyObject 
* obj0 
= 0 ; 
16394     char *kwnames
[] = { 
16395         (char *) "self", NULL 
 
16398     arg2 
= &temp2
; res2 
= SWIG_NEWOBJ
; 
16399     arg3 
= &temp3
; res3 
= SWIG_NEWOBJ
; 
16400     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalOriginTuple",kwnames
,&obj0
)) goto fail
; 
16401     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
16402     if (SWIG_arg_fail(1)) SWIG_fail
; 
16404         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16405         ((wxDC 
const *)arg1
)->GetLogicalOrigin(arg2
,arg3
); 
16407         wxPyEndAllowThreads(__tstate
); 
16408         if (PyErr_Occurred()) SWIG_fail
; 
16410     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
16411     resultobj 
= t_output_helper(resultobj
, ((res2 
== SWIG_NEWOBJ
) ? 
16412     SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0))); 
16413     resultobj 
= t_output_helper(resultobj
, ((res3 
== SWIG_NEWOBJ
) ? 
16414     SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0))); 
16421 static PyObject 
*_wrap_DC_SetLogicalOrigin(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16422     PyObject 
*resultobj
; 
16423     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
16426     PyObject 
* obj0 
= 0 ; 
16427     PyObject 
* obj1 
= 0 ; 
16428     PyObject 
* obj2 
= 0 ; 
16429     char *kwnames
[] = { 
16430         (char *) "self",(char *) "x",(char *) "y", NULL 
 
16433     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
16434     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
16435     if (SWIG_arg_fail(1)) SWIG_fail
; 
16437         arg2 
= (int)(SWIG_As_int(obj1
));  
16438         if (SWIG_arg_fail(2)) SWIG_fail
; 
16441         arg3 
= (int)(SWIG_As_int(obj2
));  
16442         if (SWIG_arg_fail(3)) SWIG_fail
; 
16445         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16446         (arg1
)->SetLogicalOrigin(arg2
,arg3
); 
16448         wxPyEndAllowThreads(__tstate
); 
16449         if (PyErr_Occurred()) SWIG_fail
; 
16451     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
16458 static PyObject 
*_wrap_DC_SetLogicalOriginPoint(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16459     PyObject 
*resultobj
; 
16460     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
16461     wxPoint 
*arg2 
= 0 ; 
16463     PyObject 
* obj0 
= 0 ; 
16464     PyObject 
* obj1 
= 0 ; 
16465     char *kwnames
[] = { 
16466         (char *) "self",(char *) "point", NULL 
 
16469     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalOriginPoint",kwnames
,&obj0
,&obj1
)) goto fail
; 
16470     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
16471     if (SWIG_arg_fail(1)) SWIG_fail
; 
16474         if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
16477         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16478         wxDC_SetLogicalOriginPoint(arg1
,(wxPoint 
const &)*arg2
); 
16480         wxPyEndAllowThreads(__tstate
); 
16481         if (PyErr_Occurred()) SWIG_fail
; 
16483     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
16490 static PyObject 
*_wrap_DC_GetDeviceOrigin(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16491     PyObject 
*resultobj
; 
16492     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
16494     PyObject 
* obj0 
= 0 ; 
16495     char *kwnames
[] = { 
16496         (char *) "self", NULL 
 
16499     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetDeviceOrigin",kwnames
,&obj0
)) goto fail
; 
16500     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
16501     if (SWIG_arg_fail(1)) SWIG_fail
; 
16503         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16504         result 
= ((wxDC 
const *)arg1
)->GetDeviceOrigin(); 
16506         wxPyEndAllowThreads(__tstate
); 
16507         if (PyErr_Occurred()) SWIG_fail
; 
16510         wxPoint 
* resultptr
; 
16511         resultptr 
= new wxPoint((wxPoint 
&)(result
)); 
16512         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1); 
16520 static PyObject 
*_wrap_DC_GetDeviceOriginTuple(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16521     PyObject 
*resultobj
; 
16522     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
16523     int *arg2 
= (int *) 0 ; 
16524     int *arg3 
= (int *) 0 ; 
16529     PyObject 
* obj0 
= 0 ; 
16530     char *kwnames
[] = { 
16531         (char *) "self", NULL 
 
16534     arg2 
= &temp2
; res2 
= SWIG_NEWOBJ
; 
16535     arg3 
= &temp3
; res3 
= SWIG_NEWOBJ
; 
16536     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetDeviceOriginTuple",kwnames
,&obj0
)) goto fail
; 
16537     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
16538     if (SWIG_arg_fail(1)) SWIG_fail
; 
16540         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16541         ((wxDC 
const *)arg1
)->GetDeviceOrigin(arg2
,arg3
); 
16543         wxPyEndAllowThreads(__tstate
); 
16544         if (PyErr_Occurred()) SWIG_fail
; 
16546     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
16547     resultobj 
= t_output_helper(resultobj
, ((res2 
== SWIG_NEWOBJ
) ? 
16548     SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0))); 
16549     resultobj 
= t_output_helper(resultobj
, ((res3 
== SWIG_NEWOBJ
) ? 
16550     SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0))); 
16557 static PyObject 
*_wrap_DC_SetDeviceOrigin(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16558     PyObject 
*resultobj
; 
16559     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
16562     PyObject 
* obj0 
= 0 ; 
16563     PyObject 
* obj1 
= 0 ; 
16564     PyObject 
* obj2 
= 0 ; 
16565     char *kwnames
[] = { 
16566         (char *) "self",(char *) "x",(char *) "y", NULL 
 
16569     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetDeviceOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
16570     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
16571     if (SWIG_arg_fail(1)) SWIG_fail
; 
16573         arg2 
= (int)(SWIG_As_int(obj1
));  
16574         if (SWIG_arg_fail(2)) SWIG_fail
; 
16577         arg3 
= (int)(SWIG_As_int(obj2
));  
16578         if (SWIG_arg_fail(3)) SWIG_fail
; 
16581         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16582         (arg1
)->SetDeviceOrigin(arg2
,arg3
); 
16584         wxPyEndAllowThreads(__tstate
); 
16585         if (PyErr_Occurred()) SWIG_fail
; 
16587     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
16594 static PyObject 
*_wrap_DC_SetDeviceOriginPoint(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16595     PyObject 
*resultobj
; 
16596     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
16597     wxPoint 
*arg2 
= 0 ; 
16599     PyObject 
* obj0 
= 0 ; 
16600     PyObject 
* obj1 
= 0 ; 
16601     char *kwnames
[] = { 
16602         (char *) "self",(char *) "point", NULL 
 
16605     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetDeviceOriginPoint",kwnames
,&obj0
,&obj1
)) goto fail
; 
16606     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
16607     if (SWIG_arg_fail(1)) SWIG_fail
; 
16610         if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
16613         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16614         wxDC_SetDeviceOriginPoint(arg1
,(wxPoint 
const &)*arg2
); 
16616         wxPyEndAllowThreads(__tstate
); 
16617         if (PyErr_Occurred()) SWIG_fail
; 
16619     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
16626 static PyObject 
*_wrap_DC_SetAxisOrientation(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16627     PyObject 
*resultobj
; 
16628     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
16631     PyObject 
* obj0 
= 0 ; 
16632     PyObject 
* obj1 
= 0 ; 
16633     PyObject 
* obj2 
= 0 ; 
16634     char *kwnames
[] = { 
16635         (char *) "self",(char *) "xLeftRight",(char *) "yBottomUp", NULL 
 
16638     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetAxisOrientation",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
16639     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
16640     if (SWIG_arg_fail(1)) SWIG_fail
; 
16642         arg2 
= (bool)(SWIG_As_bool(obj1
));  
16643         if (SWIG_arg_fail(2)) SWIG_fail
; 
16646         arg3 
= (bool)(SWIG_As_bool(obj2
));  
16647         if (SWIG_arg_fail(3)) SWIG_fail
; 
16650         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16651         (arg1
)->SetAxisOrientation(arg2
,arg3
); 
16653         wxPyEndAllowThreads(__tstate
); 
16654         if (PyErr_Occurred()) SWIG_fail
; 
16656     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
16663 static PyObject 
*_wrap_DC_GetLogicalFunction(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16664     PyObject 
*resultobj
; 
16665     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
16667     PyObject 
* obj0 
= 0 ; 
16668     char *kwnames
[] = { 
16669         (char *) "self", NULL 
 
16672     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalFunction",kwnames
,&obj0
)) goto fail
; 
16673     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
16674     if (SWIG_arg_fail(1)) SWIG_fail
; 
16676         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16677         result 
= (int)((wxDC 
const *)arg1
)->GetLogicalFunction(); 
16679         wxPyEndAllowThreads(__tstate
); 
16680         if (PyErr_Occurred()) SWIG_fail
; 
16683         resultobj 
= SWIG_From_int((int)(result
));  
16691 static PyObject 
*_wrap_DC_SetLogicalFunction(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16692     PyObject 
*resultobj
; 
16693     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
16695     PyObject 
* obj0 
= 0 ; 
16696     PyObject 
* obj1 
= 0 ; 
16697     char *kwnames
[] = { 
16698         (char *) "self",(char *) "function", NULL 
 
16701     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) goto fail
; 
16702     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
16703     if (SWIG_arg_fail(1)) SWIG_fail
; 
16705         arg2 
= (int)(SWIG_As_int(obj1
));  
16706         if (SWIG_arg_fail(2)) SWIG_fail
; 
16709         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16710         (arg1
)->SetLogicalFunction(arg2
); 
16712         wxPyEndAllowThreads(__tstate
); 
16713         if (PyErr_Occurred()) SWIG_fail
; 
16715     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
16722 static PyObject 
*_wrap_DC_ComputeScaleAndOrigin(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16723     PyObject 
*resultobj
; 
16724     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
16725     PyObject 
* obj0 
= 0 ; 
16726     char *kwnames
[] = { 
16727         (char *) "self", NULL 
 
16730     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_ComputeScaleAndOrigin",kwnames
,&obj0
)) goto fail
; 
16731     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
16732     if (SWIG_arg_fail(1)) SWIG_fail
; 
16734         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16735         (arg1
)->ComputeScaleAndOrigin(); 
16737         wxPyEndAllowThreads(__tstate
); 
16738         if (PyErr_Occurred()) SWIG_fail
; 
16740     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
16747 static PyObject 
*_wrap_DC_CalcBoundingBox(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16748     PyObject 
*resultobj
; 
16749     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
16752     PyObject 
* obj0 
= 0 ; 
16753     PyObject 
* obj1 
= 0 ; 
16754     PyObject 
* obj2 
= 0 ; 
16755     char *kwnames
[] = { 
16756         (char *) "self",(char *) "x",(char *) "y", NULL 
 
16759     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CalcBoundingBox",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
16760     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
16761     if (SWIG_arg_fail(1)) SWIG_fail
; 
16763         arg2 
= (int)(SWIG_As_int(obj1
));  
16764         if (SWIG_arg_fail(2)) SWIG_fail
; 
16767         arg3 
= (int)(SWIG_As_int(obj2
));  
16768         if (SWIG_arg_fail(3)) SWIG_fail
; 
16771         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16772         (arg1
)->CalcBoundingBox(arg2
,arg3
); 
16774         wxPyEndAllowThreads(__tstate
); 
16775         if (PyErr_Occurred()) SWIG_fail
; 
16777     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
16784 static PyObject 
*_wrap_DC_CalcBoundingBoxPoint(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16785     PyObject 
*resultobj
; 
16786     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
16787     wxPoint 
*arg2 
= 0 ; 
16789     PyObject 
* obj0 
= 0 ; 
16790     PyObject 
* obj1 
= 0 ; 
16791     char *kwnames
[] = { 
16792         (char *) "self",(char *) "point", NULL 
 
16795     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CalcBoundingBoxPoint",kwnames
,&obj0
,&obj1
)) goto fail
; 
16796     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
16797     if (SWIG_arg_fail(1)) SWIG_fail
; 
16800         if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
16803         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16804         wxDC_CalcBoundingBoxPoint(arg1
,(wxPoint 
const &)*arg2
); 
16806         wxPyEndAllowThreads(__tstate
); 
16807         if (PyErr_Occurred()) SWIG_fail
; 
16809     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
16816 static PyObject 
*_wrap_DC_ResetBoundingBox(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16817     PyObject 
*resultobj
; 
16818     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
16819     PyObject 
* obj0 
= 0 ; 
16820     char *kwnames
[] = { 
16821         (char *) "self", NULL 
 
16824     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_ResetBoundingBox",kwnames
,&obj0
)) goto fail
; 
16825     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
16826     if (SWIG_arg_fail(1)) SWIG_fail
; 
16828         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16829         (arg1
)->ResetBoundingBox(); 
16831         wxPyEndAllowThreads(__tstate
); 
16832         if (PyErr_Occurred()) SWIG_fail
; 
16834     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
16841 static PyObject 
*_wrap_DC_MinX(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16842     PyObject 
*resultobj
; 
16843     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
16845     PyObject 
* obj0 
= 0 ; 
16846     char *kwnames
[] = { 
16847         (char *) "self", NULL 
 
16850     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MinX",kwnames
,&obj0
)) goto fail
; 
16851     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
16852     if (SWIG_arg_fail(1)) SWIG_fail
; 
16854         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16855         result 
= (int)((wxDC 
const *)arg1
)->MinX(); 
16857         wxPyEndAllowThreads(__tstate
); 
16858         if (PyErr_Occurred()) SWIG_fail
; 
16861         resultobj 
= SWIG_From_int((int)(result
));  
16869 static PyObject 
*_wrap_DC_MaxX(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16870     PyObject 
*resultobj
; 
16871     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
16873     PyObject 
* obj0 
= 0 ; 
16874     char *kwnames
[] = { 
16875         (char *) "self", NULL 
 
16878     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MaxX",kwnames
,&obj0
)) goto fail
; 
16879     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
16880     if (SWIG_arg_fail(1)) SWIG_fail
; 
16882         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16883         result 
= (int)((wxDC 
const *)arg1
)->MaxX(); 
16885         wxPyEndAllowThreads(__tstate
); 
16886         if (PyErr_Occurred()) SWIG_fail
; 
16889         resultobj 
= SWIG_From_int((int)(result
));  
16897 static PyObject 
*_wrap_DC_MinY(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16898     PyObject 
*resultobj
; 
16899     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
16901     PyObject 
* obj0 
= 0 ; 
16902     char *kwnames
[] = { 
16903         (char *) "self", NULL 
 
16906     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MinY",kwnames
,&obj0
)) goto fail
; 
16907     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
16908     if (SWIG_arg_fail(1)) SWIG_fail
; 
16910         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16911         result 
= (int)((wxDC 
const *)arg1
)->MinY(); 
16913         wxPyEndAllowThreads(__tstate
); 
16914         if (PyErr_Occurred()) SWIG_fail
; 
16917         resultobj 
= SWIG_From_int((int)(result
));  
16925 static PyObject 
*_wrap_DC_MaxY(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16926     PyObject 
*resultobj
; 
16927     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
16929     PyObject 
* obj0 
= 0 ; 
16930     char *kwnames
[] = { 
16931         (char *) "self", NULL 
 
16934     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MaxY",kwnames
,&obj0
)) goto fail
; 
16935     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
16936     if (SWIG_arg_fail(1)) SWIG_fail
; 
16938         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16939         result 
= (int)((wxDC 
const *)arg1
)->MaxY(); 
16941         wxPyEndAllowThreads(__tstate
); 
16942         if (PyErr_Occurred()) SWIG_fail
; 
16945         resultobj 
= SWIG_From_int((int)(result
));  
16953 static PyObject 
*_wrap_DC_GetBoundingBox(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16954     PyObject 
*resultobj
; 
16955     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
16956     int *arg2 
= (int *) 0 ; 
16957     int *arg3 
= (int *) 0 ; 
16958     int *arg4 
= (int *) 0 ; 
16959     int *arg5 
= (int *) 0 ; 
16968     PyObject 
* obj0 
= 0 ; 
16969     char *kwnames
[] = { 
16970         (char *) "self", NULL 
 
16973     arg2 
= &temp2
; res2 
= SWIG_NEWOBJ
; 
16974     arg3 
= &temp3
; res3 
= SWIG_NEWOBJ
; 
16975     arg4 
= &temp4
; res4 
= SWIG_NEWOBJ
; 
16976     arg5 
= &temp5
; res5 
= SWIG_NEWOBJ
; 
16977     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBoundingBox",kwnames
,&obj0
)) goto fail
; 
16978     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
16979     if (SWIG_arg_fail(1)) SWIG_fail
; 
16981         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16982         wxDC_GetBoundingBox(arg1
,arg2
,arg3
,arg4
,arg5
); 
16984         wxPyEndAllowThreads(__tstate
); 
16985         if (PyErr_Occurred()) SWIG_fail
; 
16987     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
16988     resultobj 
= t_output_helper(resultobj
, ((res2 
== SWIG_NEWOBJ
) ? 
16989     SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0))); 
16990     resultobj 
= t_output_helper(resultobj
, ((res3 
== SWIG_NEWOBJ
) ? 
16991     SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0))); 
16992     resultobj 
= t_output_helper(resultobj
, ((res4 
== SWIG_NEWOBJ
) ? 
16993     SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0))); 
16994     resultobj 
= t_output_helper(resultobj
, ((res5 
== SWIG_NEWOBJ
) ? 
16995     SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0))); 
17002 static PyObject 
*_wrap_DC__DrawPointList(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
17003     PyObject 
*resultobj
; 
17004     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
17005     PyObject 
*arg2 
= (PyObject 
*) 0 ; 
17006     PyObject 
*arg3 
= (PyObject 
*) 0 ; 
17007     PyObject 
*arg4 
= (PyObject 
*) 0 ; 
17009     PyObject 
* obj0 
= 0 ; 
17010     PyObject 
* obj1 
= 0 ; 
17011     PyObject 
* obj2 
= 0 ; 
17012     PyObject 
* obj3 
= 0 ; 
17013     char *kwnames
[] = { 
17014         (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL 
 
17017     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPointList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
17018     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
17019     if (SWIG_arg_fail(1)) SWIG_fail
; 
17024         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17025         result 
= (PyObject 
*)wxDC__DrawPointList(arg1
,arg2
,arg3
,arg4
); 
17027         wxPyEndAllowThreads(__tstate
); 
17028         if (PyErr_Occurred()) SWIG_fail
; 
17030     resultobj 
= result
; 
17037 static PyObject 
*_wrap_DC__DrawLineList(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
17038     PyObject 
*resultobj
; 
17039     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
17040     PyObject 
*arg2 
= (PyObject 
*) 0 ; 
17041     PyObject 
*arg3 
= (PyObject 
*) 0 ; 
17042     PyObject 
*arg4 
= (PyObject 
*) 0 ; 
17044     PyObject 
* obj0 
= 0 ; 
17045     PyObject 
* obj1 
= 0 ; 
17046     PyObject 
* obj2 
= 0 ; 
17047     PyObject 
* obj3 
= 0 ; 
17048     char *kwnames
[] = { 
17049         (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL 
 
17052     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawLineList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
17053     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
17054     if (SWIG_arg_fail(1)) SWIG_fail
; 
17059         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17060         result 
= (PyObject 
*)wxDC__DrawLineList(arg1
,arg2
,arg3
,arg4
); 
17062         wxPyEndAllowThreads(__tstate
); 
17063         if (PyErr_Occurred()) SWIG_fail
; 
17065     resultobj 
= result
; 
17072 static PyObject 
*_wrap_DC__DrawRectangleList(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
17073     PyObject 
*resultobj
; 
17074     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
17075     PyObject 
*arg2 
= (PyObject 
*) 0 ; 
17076     PyObject 
*arg3 
= (PyObject 
*) 0 ; 
17077     PyObject 
*arg4 
= (PyObject 
*) 0 ; 
17079     PyObject 
* obj0 
= 0 ; 
17080     PyObject 
* obj1 
= 0 ; 
17081     PyObject 
* obj2 
= 0 ; 
17082     PyObject 
* obj3 
= 0 ; 
17083     char *kwnames
[] = { 
17084         (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL 
 
17087     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawRectangleList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
17088     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
17089     if (SWIG_arg_fail(1)) SWIG_fail
; 
17094         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17095         result 
= (PyObject 
*)wxDC__DrawRectangleList(arg1
,arg2
,arg3
,arg4
); 
17097         wxPyEndAllowThreads(__tstate
); 
17098         if (PyErr_Occurred()) SWIG_fail
; 
17100     resultobj 
= result
; 
17107 static PyObject 
*_wrap_DC__DrawEllipseList(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
17108     PyObject 
*resultobj
; 
17109     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
17110     PyObject 
*arg2 
= (PyObject 
*) 0 ; 
17111     PyObject 
*arg3 
= (PyObject 
*) 0 ; 
17112     PyObject 
*arg4 
= (PyObject 
*) 0 ; 
17114     PyObject 
* obj0 
= 0 ; 
17115     PyObject 
* obj1 
= 0 ; 
17116     PyObject 
* obj2 
= 0 ; 
17117     PyObject 
* obj3 
= 0 ; 
17118     char *kwnames
[] = { 
17119         (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL 
 
17122     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawEllipseList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
17123     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
17124     if (SWIG_arg_fail(1)) SWIG_fail
; 
17129         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17130         result 
= (PyObject 
*)wxDC__DrawEllipseList(arg1
,arg2
,arg3
,arg4
); 
17132         wxPyEndAllowThreads(__tstate
); 
17133         if (PyErr_Occurred()) SWIG_fail
; 
17135     resultobj 
= result
; 
17142 static PyObject 
*_wrap_DC__DrawPolygonList(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
17143     PyObject 
*resultobj
; 
17144     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
17145     PyObject 
*arg2 
= (PyObject 
*) 0 ; 
17146     PyObject 
*arg3 
= (PyObject 
*) 0 ; 
17147     PyObject 
*arg4 
= (PyObject 
*) 0 ; 
17149     PyObject 
* obj0 
= 0 ; 
17150     PyObject 
* obj1 
= 0 ; 
17151     PyObject 
* obj2 
= 0 ; 
17152     PyObject 
* obj3 
= 0 ; 
17153     char *kwnames
[] = { 
17154         (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL 
 
17157     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPolygonList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
17158     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
17159     if (SWIG_arg_fail(1)) SWIG_fail
; 
17164         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17165         result 
= (PyObject 
*)wxDC__DrawPolygonList(arg1
,arg2
,arg3
,arg4
); 
17167         wxPyEndAllowThreads(__tstate
); 
17168         if (PyErr_Occurred()) SWIG_fail
; 
17170     resultobj 
= result
; 
17177 static PyObject 
*_wrap_DC__DrawTextList(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
17178     PyObject 
*resultobj
; 
17179     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
17180     PyObject 
*arg2 
= (PyObject 
*) 0 ; 
17181     PyObject 
*arg3 
= (PyObject 
*) 0 ; 
17182     PyObject 
*arg4 
= (PyObject 
*) 0 ; 
17183     PyObject 
*arg5 
= (PyObject 
*) 0 ; 
17185     PyObject 
* obj0 
= 0 ; 
17186     PyObject 
* obj1 
= 0 ; 
17187     PyObject 
* obj2 
= 0 ; 
17188     PyObject 
* obj3 
= 0 ; 
17189     PyObject 
* obj4 
= 0 ; 
17190     char *kwnames
[] = { 
17191         (char *) "self",(char *) "textList",(char *) "pyPoints",(char *) "foregroundList",(char *) "backgroundList", NULL 
 
17194     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC__DrawTextList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
; 
17195     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
17196     if (SWIG_arg_fail(1)) SWIG_fail
; 
17202         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17203         result 
= (PyObject 
*)wxDC__DrawTextList(arg1
,arg2
,arg3
,arg4
,arg5
); 
17205         wxPyEndAllowThreads(__tstate
); 
17206         if (PyErr_Occurred()) SWIG_fail
; 
17208     resultobj 
= result
; 
17215 static PyObject 
* DC_swigregister(PyObject 
*, PyObject 
*args
) { 
17217     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
17218     SWIG_TypeClientData(SWIGTYPE_p_wxDC
, obj
); 
17220     return Py_BuildValue((char *)""); 
17222 static PyObject 
*_wrap_new_MemoryDC(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
17223     PyObject 
*resultobj
; 
17224     wxMemoryDC 
*result
; 
17225     char *kwnames
[] = { 
17229     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MemoryDC",kwnames
)) goto fail
; 
17231         if (!wxPyCheckForApp()) SWIG_fail
; 
17232         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17233         result 
= (wxMemoryDC 
*)new wxMemoryDC(); 
17235         wxPyEndAllowThreads(__tstate
); 
17236         if (PyErr_Occurred()) SWIG_fail
; 
17238     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMemoryDC
, 1); 
17245 static PyObject 
*_wrap_new_MemoryDCFromDC(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
17246     PyObject 
*resultobj
; 
17247     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
17248     wxMemoryDC 
*result
; 
17249     PyObject 
* obj0 
= 0 ; 
17250     char *kwnames
[] = { 
17251         (char *) "oldDC", NULL 
 
17254     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_MemoryDCFromDC",kwnames
,&obj0
)) goto fail
; 
17255     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
17256     if (SWIG_arg_fail(1)) SWIG_fail
; 
17258         if (!wxPyCheckForApp()) SWIG_fail
; 
17259         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17260         result 
= (wxMemoryDC 
*)new wxMemoryDC(arg1
); 
17262         wxPyEndAllowThreads(__tstate
); 
17263         if (PyErr_Occurred()) SWIG_fail
; 
17265     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMemoryDC
, 1); 
17272 static PyObject 
*_wrap_MemoryDC_SelectObject(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
17273     PyObject 
*resultobj
; 
17274     wxMemoryDC 
*arg1 
= (wxMemoryDC 
*) 0 ; 
17275     wxBitmap 
*arg2 
= 0 ; 
17276     PyObject 
* obj0 
= 0 ; 
17277     PyObject 
* obj1 
= 0 ; 
17278     char *kwnames
[] = { 
17279         (char *) "self",(char *) "bitmap", NULL 
 
17282     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObject",kwnames
,&obj0
,&obj1
)) goto fail
; 
17283     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_EXCEPTION 
| 0); 
17284     if (SWIG_arg_fail(1)) SWIG_fail
; 
17286         SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION 
| 0); 
17287         if (SWIG_arg_fail(2)) SWIG_fail
; 
17288         if (arg2 
== NULL
) { 
17289             SWIG_null_ref("wxBitmap"); 
17291         if (SWIG_arg_fail(2)) SWIG_fail
; 
17294         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17295         (arg1
)->SelectObject((wxBitmap 
const &)*arg2
); 
17297         wxPyEndAllowThreads(__tstate
); 
17298         if (PyErr_Occurred()) SWIG_fail
; 
17300     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
17307 static PyObject 
* MemoryDC_swigregister(PyObject 
*, PyObject 
*args
) { 
17309     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
17310     SWIG_TypeClientData(SWIGTYPE_p_wxMemoryDC
, obj
); 
17312     return Py_BuildValue((char *)""); 
17314 static PyObject 
*_wrap_new_BufferedDC__SWIG_0(PyObject 
*, PyObject 
*args
) { 
17315     PyObject 
*resultobj
; 
17316     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
17317     wxBitmap 
const &arg2_defvalue 
= wxNullBitmap 
; 
17318     wxBitmap 
*arg2 
= (wxBitmap 
*) &arg2_defvalue 
; 
17319     int arg3 
= (int) wxBUFFER_CLIENT_AREA 
; 
17320     wxBufferedDC 
*result
; 
17321     PyObject 
* obj0 
= 0 ; 
17322     PyObject 
* obj1 
= 0 ; 
17323     PyObject 
* obj2 
= 0 ; 
17325     if(!PyArg_ParseTuple(args
,(char *)"O|OO:new_BufferedDC",&obj0
,&obj1
,&obj2
)) goto fail
; 
17326     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
17327     if (SWIG_arg_fail(1)) SWIG_fail
; 
17330             SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION 
| 0); 
17331             if (SWIG_arg_fail(2)) SWIG_fail
; 
17332             if (arg2 
== NULL
) { 
17333                 SWIG_null_ref("wxBitmap"); 
17335             if (SWIG_arg_fail(2)) SWIG_fail
; 
17340             arg3 
= (int)(SWIG_As_int(obj2
));  
17341             if (SWIG_arg_fail(3)) SWIG_fail
; 
17345         if (!wxPyCheckForApp()) SWIG_fail
; 
17346         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17347         result 
= (wxBufferedDC 
*)new wxBufferedDC(arg1
,(wxBitmap 
const &)*arg2
,arg3
); 
17349         wxPyEndAllowThreads(__tstate
); 
17350         if (PyErr_Occurred()) SWIG_fail
; 
17352     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBufferedDC
, 1); 
17359 static PyObject 
*_wrap_new_BufferedDC__SWIG_1(PyObject 
*, PyObject 
*args
) { 
17360     PyObject 
*resultobj
; 
17361     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
17363     int arg3 
= (int) wxBUFFER_CLIENT_AREA 
; 
17364     wxBufferedDC 
*result
; 
17366     PyObject 
* obj0 
= 0 ; 
17367     PyObject 
* obj1 
= 0 ; 
17368     PyObject 
* obj2 
= 0 ; 
17370     if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_BufferedDC",&obj0
,&obj1
,&obj2
)) goto fail
; 
17371     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
17372     if (SWIG_arg_fail(1)) SWIG_fail
; 
17375         if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
; 
17379             arg3 
= (int)(SWIG_As_int(obj2
));  
17380             if (SWIG_arg_fail(3)) SWIG_fail
; 
17384         if (!wxPyCheckForApp()) SWIG_fail
; 
17385         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17386         result 
= (wxBufferedDC 
*)new wxBufferedDC(arg1
,(wxSize 
const &)*arg2
,arg3
); 
17388         wxPyEndAllowThreads(__tstate
); 
17389         if (PyErr_Occurred()) SWIG_fail
; 
17391     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBufferedDC
, 1); 
17398 static PyObject 
*_wrap_new_BufferedDC(PyObject 
*self
, PyObject 
*args
) { 
17403     argc 
= PyObject_Length(args
); 
17404     for (ii 
= 0; (ii 
< argc
) && (ii 
< 3); ii
++) { 
17405         argv
[ii
] = PyTuple_GetItem(args
,ii
); 
17407     if ((argc 
>= 1) && (argc 
<= 3)) { 
17411             if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDC
, 0) == -1) { 
17420                 return _wrap_new_BufferedDC__SWIG_0(self
,args
); 
17424                 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxBitmap
, 0) == -1) { 
17433                     return _wrap_new_BufferedDC__SWIG_0(self
,args
); 
17435                 _v 
= SWIG_Check_int(argv
[2]); 
17437                     return _wrap_new_BufferedDC__SWIG_0(self
,args
); 
17442     if ((argc 
>= 2) && (argc 
<= 3)) { 
17446             if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDC
, 0) == -1) { 
17455                 _v 
= wxPySimple_typecheck(argv
[1], wxT("wxSize"), 2); 
17459                     return _wrap_new_BufferedDC__SWIG_1(self
,args
); 
17461                 _v 
= SWIG_Check_int(argv
[2]); 
17463                     return _wrap_new_BufferedDC__SWIG_1(self
,args
); 
17469     PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'new_BufferedDC'"); 
17474 static PyObject 
*_wrap_delete_BufferedDC(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
17475     PyObject 
*resultobj
; 
17476     wxBufferedDC 
*arg1 
= (wxBufferedDC 
*) 0 ; 
17477     PyObject 
* obj0 
= 0 ; 
17478     char *kwnames
[] = { 
17479         (char *) "self", NULL 
 
17482     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BufferedDC",kwnames
,&obj0
)) goto fail
; 
17483     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_EXCEPTION 
| 0); 
17484     if (SWIG_arg_fail(1)) SWIG_fail
; 
17486         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17489         wxPyEndAllowThreads(__tstate
); 
17490         if (PyErr_Occurred()) SWIG_fail
; 
17492     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
17499 static PyObject 
*_wrap_BufferedDC_UnMask(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
17500     PyObject 
*resultobj
; 
17501     wxBufferedDC 
*arg1 
= (wxBufferedDC 
*) 0 ; 
17502     PyObject 
* obj0 
= 0 ; 
17503     char *kwnames
[] = { 
17504         (char *) "self", NULL 
 
17507     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BufferedDC_UnMask",kwnames
,&obj0
)) goto fail
; 
17508     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_EXCEPTION 
| 0); 
17509     if (SWIG_arg_fail(1)) SWIG_fail
; 
17511         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17514         wxPyEndAllowThreads(__tstate
); 
17515         if (PyErr_Occurred()) SWIG_fail
; 
17517     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
17524 static PyObject 
* BufferedDC_swigregister(PyObject 
*, PyObject 
*args
) { 
17526     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
17527     SWIG_TypeClientData(SWIGTYPE_p_wxBufferedDC
, obj
); 
17529     return Py_BuildValue((char *)""); 
17531 static PyObject 
*_wrap_new_BufferedPaintDC(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
17532     PyObject 
*resultobj
; 
17533     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
17534     wxBitmap 
const &arg2_defvalue 
= wxNullBitmap 
; 
17535     wxBitmap 
*arg2 
= (wxBitmap 
*) &arg2_defvalue 
; 
17536     int arg3 
= (int) wxBUFFER_CLIENT_AREA 
; 
17537     wxBufferedPaintDC 
*result
; 
17538     PyObject 
* obj0 
= 0 ; 
17539     PyObject 
* obj1 
= 0 ; 
17540     PyObject 
* obj2 
= 0 ; 
17541     char *kwnames
[] = { 
17542         (char *) "window",(char *) "buffer",(char *) "style", NULL 
 
17545     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_BufferedPaintDC",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
17546     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
17547     if (SWIG_arg_fail(1)) SWIG_fail
; 
17550             SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION 
| 0); 
17551             if (SWIG_arg_fail(2)) SWIG_fail
; 
17552             if (arg2 
== NULL
) { 
17553                 SWIG_null_ref("wxBitmap"); 
17555             if (SWIG_arg_fail(2)) SWIG_fail
; 
17560             arg3 
= (int)(SWIG_As_int(obj2
));  
17561             if (SWIG_arg_fail(3)) SWIG_fail
; 
17565         if (!wxPyCheckForApp()) SWIG_fail
; 
17566         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17567         result 
= (wxBufferedPaintDC 
*)new wxBufferedPaintDC(arg1
,(wxBitmap 
const &)*arg2
,arg3
); 
17569         wxPyEndAllowThreads(__tstate
); 
17570         if (PyErr_Occurred()) SWIG_fail
; 
17572     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBufferedPaintDC
, 1); 
17579 static PyObject 
* BufferedPaintDC_swigregister(PyObject 
*, PyObject 
*args
) { 
17581     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
17582     SWIG_TypeClientData(SWIGTYPE_p_wxBufferedPaintDC
, obj
); 
17584     return Py_BuildValue((char *)""); 
17586 static PyObject 
*_wrap_new_ScreenDC(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
17587     PyObject 
*resultobj
; 
17588     wxScreenDC 
*result
; 
17589     char *kwnames
[] = { 
17593     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ScreenDC",kwnames
)) goto fail
; 
17595         if (!wxPyCheckForApp()) SWIG_fail
; 
17596         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17597         result 
= (wxScreenDC 
*)new wxScreenDC(); 
17599         wxPyEndAllowThreads(__tstate
); 
17600         if (PyErr_Occurred()) SWIG_fail
; 
17602     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScreenDC
, 1); 
17609 static PyObject 
*_wrap_ScreenDC_StartDrawingOnTopWin(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
17610     PyObject 
*resultobj
; 
17611     wxScreenDC 
*arg1 
= (wxScreenDC 
*) 0 ; 
17612     wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
17614     PyObject 
* obj0 
= 0 ; 
17615     PyObject 
* obj1 
= 0 ; 
17616     char *kwnames
[] = { 
17617         (char *) "self",(char *) "window", NULL 
 
17620     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScreenDC_StartDrawingOnTopWin",kwnames
,&obj0
,&obj1
)) goto fail
; 
17621     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScreenDC
, SWIG_POINTER_EXCEPTION 
| 0); 
17622     if (SWIG_arg_fail(1)) SWIG_fail
; 
17623     SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
17624     if (SWIG_arg_fail(2)) SWIG_fail
; 
17626         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17627         result 
= (bool)(arg1
)->StartDrawingOnTop(arg2
); 
17629         wxPyEndAllowThreads(__tstate
); 
17630         if (PyErr_Occurred()) SWIG_fail
; 
17633         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
17641 static PyObject 
*_wrap_ScreenDC_StartDrawingOnTop(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
17642     PyObject 
*resultobj
; 
17643     wxScreenDC 
*arg1 
= (wxScreenDC 
*) 0 ; 
17644     wxRect 
*arg2 
= (wxRect 
*) NULL 
; 
17646     PyObject 
* obj0 
= 0 ; 
17647     PyObject 
* obj1 
= 0 ; 
17648     char *kwnames
[] = { 
17649         (char *) "self",(char *) "rect", NULL 
 
17652     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ScreenDC_StartDrawingOnTop",kwnames
,&obj0
,&obj1
)) goto fail
; 
17653     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScreenDC
, SWIG_POINTER_EXCEPTION 
| 0); 
17654     if (SWIG_arg_fail(1)) SWIG_fail
; 
17656         SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION 
| 0); 
17657         if (SWIG_arg_fail(2)) SWIG_fail
; 
17660         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17661         result 
= (bool)(arg1
)->StartDrawingOnTop(arg2
); 
17663         wxPyEndAllowThreads(__tstate
); 
17664         if (PyErr_Occurred()) SWIG_fail
; 
17667         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
17675 static PyObject 
*_wrap_ScreenDC_EndDrawingOnTop(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
17676     PyObject 
*resultobj
; 
17677     wxScreenDC 
*arg1 
= (wxScreenDC 
*) 0 ; 
17679     PyObject 
* obj0 
= 0 ; 
17680     char *kwnames
[] = { 
17681         (char *) "self", NULL 
 
17684     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScreenDC_EndDrawingOnTop",kwnames
,&obj0
)) goto fail
; 
17685     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScreenDC
, SWIG_POINTER_EXCEPTION 
| 0); 
17686     if (SWIG_arg_fail(1)) SWIG_fail
; 
17688         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17689         result 
= (bool)(arg1
)->EndDrawingOnTop(); 
17691         wxPyEndAllowThreads(__tstate
); 
17692         if (PyErr_Occurred()) SWIG_fail
; 
17695         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
17703 static PyObject 
* ScreenDC_swigregister(PyObject 
*, PyObject 
*args
) { 
17705     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
17706     SWIG_TypeClientData(SWIGTYPE_p_wxScreenDC
, obj
); 
17708     return Py_BuildValue((char *)""); 
17710 static PyObject 
*_wrap_new_ClientDC(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
17711     PyObject 
*resultobj
; 
17712     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
17713     wxClientDC 
*result
; 
17714     PyObject 
* obj0 
= 0 ; 
17715     char *kwnames
[] = { 
17716         (char *) "win", NULL 
 
17719     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ClientDC",kwnames
,&obj0
)) goto fail
; 
17720     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
17721     if (SWIG_arg_fail(1)) SWIG_fail
; 
17723         if (!wxPyCheckForApp()) SWIG_fail
; 
17724         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17725         result 
= (wxClientDC 
*)new wxClientDC(arg1
); 
17727         wxPyEndAllowThreads(__tstate
); 
17728         if (PyErr_Occurred()) SWIG_fail
; 
17730     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClientDC
, 1); 
17737 static PyObject 
* ClientDC_swigregister(PyObject 
*, PyObject 
*args
) { 
17739     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
17740     SWIG_TypeClientData(SWIGTYPE_p_wxClientDC
, obj
); 
17742     return Py_BuildValue((char *)""); 
17744 static PyObject 
*_wrap_new_PaintDC(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
17745     PyObject 
*resultobj
; 
17746     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
17748     PyObject 
* obj0 
= 0 ; 
17749     char *kwnames
[] = { 
17750         (char *) "win", NULL 
 
17753     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PaintDC",kwnames
,&obj0
)) goto fail
; 
17754     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
17755     if (SWIG_arg_fail(1)) SWIG_fail
; 
17757         if (!wxPyCheckForApp()) SWIG_fail
; 
17758         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17759         result 
= (wxPaintDC 
*)new wxPaintDC(arg1
); 
17761         wxPyEndAllowThreads(__tstate
); 
17762         if (PyErr_Occurred()) SWIG_fail
; 
17764     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaintDC
, 1); 
17771 static PyObject 
* PaintDC_swigregister(PyObject 
*, PyObject 
*args
) { 
17773     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
17774     SWIG_TypeClientData(SWIGTYPE_p_wxPaintDC
, obj
); 
17776     return Py_BuildValue((char *)""); 
17778 static PyObject 
*_wrap_new_WindowDC(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
17779     PyObject 
*resultobj
; 
17780     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
17781     wxWindowDC 
*result
; 
17782     PyObject 
* obj0 
= 0 ; 
17783     char *kwnames
[] = { 
17784         (char *) "win", NULL 
 
17787     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_WindowDC",kwnames
,&obj0
)) goto fail
; 
17788     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
17789     if (SWIG_arg_fail(1)) SWIG_fail
; 
17791         if (!wxPyCheckForApp()) SWIG_fail
; 
17792         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17793         result 
= (wxWindowDC 
*)new wxWindowDC(arg1
); 
17795         wxPyEndAllowThreads(__tstate
); 
17796         if (PyErr_Occurred()) SWIG_fail
; 
17798     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDC
, 1); 
17805 static PyObject 
* WindowDC_swigregister(PyObject 
*, PyObject 
*args
) { 
17807     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
17808     SWIG_TypeClientData(SWIGTYPE_p_wxWindowDC
, obj
); 
17810     return Py_BuildValue((char *)""); 
17812 static PyObject 
*_wrap_new_MirrorDC(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
17813     PyObject 
*resultobj
; 
17816     wxMirrorDC 
*result
; 
17817     PyObject 
* obj0 
= 0 ; 
17818     PyObject 
* obj1 
= 0 ; 
17819     char *kwnames
[] = { 
17820         (char *) "dc",(char *) "mirror", NULL 
 
17823     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_MirrorDC",kwnames
,&obj0
,&obj1
)) goto fail
; 
17825         SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
17826         if (SWIG_arg_fail(1)) SWIG_fail
; 
17827         if (arg1 
== NULL
) { 
17828             SWIG_null_ref("wxDC"); 
17830         if (SWIG_arg_fail(1)) SWIG_fail
; 
17833         arg2 
= (bool)(SWIG_As_bool(obj1
));  
17834         if (SWIG_arg_fail(2)) SWIG_fail
; 
17837         if (!wxPyCheckForApp()) SWIG_fail
; 
17838         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17839         result 
= (wxMirrorDC 
*)new wxMirrorDC(*arg1
,arg2
); 
17841         wxPyEndAllowThreads(__tstate
); 
17842         if (PyErr_Occurred()) SWIG_fail
; 
17844     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMirrorDC
, 1); 
17851 static PyObject 
* MirrorDC_swigregister(PyObject 
*, PyObject 
*args
) { 
17853     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
17854     SWIG_TypeClientData(SWIGTYPE_p_wxMirrorDC
, obj
); 
17856     return Py_BuildValue((char *)""); 
17858 static PyObject 
*_wrap_new_PostScriptDC(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
17859     PyObject 
*resultobj
; 
17860     wxPrintData 
*arg1 
= 0 ; 
17861     wxPostScriptDC 
*result
; 
17862     PyObject 
* obj0 
= 0 ; 
17863     char *kwnames
[] = { 
17864         (char *) "printData", NULL 
 
17867     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PostScriptDC",kwnames
,&obj0
)) goto fail
; 
17869         SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION 
| 0); 
17870         if (SWIG_arg_fail(1)) SWIG_fail
; 
17871         if (arg1 
== NULL
) { 
17872             SWIG_null_ref("wxPrintData"); 
17874         if (SWIG_arg_fail(1)) SWIG_fail
; 
17877         if (!wxPyCheckForApp()) SWIG_fail
; 
17878         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17879         result 
= (wxPostScriptDC 
*)new wxPostScriptDC((wxPrintData 
const &)*arg1
); 
17881         wxPyEndAllowThreads(__tstate
); 
17882         if (PyErr_Occurred()) SWIG_fail
; 
17884     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPostScriptDC
, 1); 
17891 static PyObject 
*_wrap_PostScriptDC_GetPrintData(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
17892     PyObject 
*resultobj
; 
17893     wxPostScriptDC 
*arg1 
= (wxPostScriptDC 
*) 0 ; 
17894     wxPrintData 
*result
; 
17895     PyObject 
* obj0 
= 0 ; 
17896     char *kwnames
[] = { 
17897         (char *) "self", NULL 
 
17900     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_GetPrintData",kwnames
,&obj0
)) goto fail
; 
17901     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPostScriptDC
, SWIG_POINTER_EXCEPTION 
| 0); 
17902     if (SWIG_arg_fail(1)) SWIG_fail
; 
17904         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17906             wxPrintData 
&_result_ref 
= (arg1
)->GetPrintData(); 
17907             result 
= (wxPrintData 
*) &_result_ref
; 
17910         wxPyEndAllowThreads(__tstate
); 
17911         if (PyErr_Occurred()) SWIG_fail
; 
17913     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0); 
17920 static PyObject 
*_wrap_PostScriptDC_SetPrintData(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
17921     PyObject 
*resultobj
; 
17922     wxPostScriptDC 
*arg1 
= (wxPostScriptDC 
*) 0 ; 
17923     wxPrintData 
*arg2 
= 0 ; 
17924     PyObject 
* obj0 
= 0 ; 
17925     PyObject 
* obj1 
= 0 ; 
17926     char *kwnames
[] = { 
17927         (char *) "self",(char *) "data", NULL 
 
17930     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostScriptDC_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
; 
17931     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPostScriptDC
, SWIG_POINTER_EXCEPTION 
| 0); 
17932     if (SWIG_arg_fail(1)) SWIG_fail
; 
17934         SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION 
| 0); 
17935         if (SWIG_arg_fail(2)) SWIG_fail
; 
17936         if (arg2 
== NULL
) { 
17937             SWIG_null_ref("wxPrintData"); 
17939         if (SWIG_arg_fail(2)) SWIG_fail
; 
17942         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17943         (arg1
)->SetPrintData((wxPrintData 
const &)*arg2
); 
17945         wxPyEndAllowThreads(__tstate
); 
17946         if (PyErr_Occurred()) SWIG_fail
; 
17948     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
17955 static PyObject 
*_wrap_PostScriptDC_SetResolution(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
17956     PyObject 
*resultobj
; 
17958     PyObject 
* obj0 
= 0 ; 
17959     char *kwnames
[] = { 
17960         (char *) "ppi", NULL 
 
17963     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_SetResolution",kwnames
,&obj0
)) goto fail
; 
17965         arg1 
= (int)(SWIG_As_int(obj0
));  
17966         if (SWIG_arg_fail(1)) SWIG_fail
; 
17969         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17970         wxPostScriptDC::SetResolution(arg1
); 
17972         wxPyEndAllowThreads(__tstate
); 
17973         if (PyErr_Occurred()) SWIG_fail
; 
17975     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
17982 static PyObject 
*_wrap_PostScriptDC_GetResolution(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
17983     PyObject 
*resultobj
; 
17985     char *kwnames
[] = { 
17989     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PostScriptDC_GetResolution",kwnames
)) goto fail
; 
17991         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17992         result 
= (int)wxPostScriptDC::GetResolution(); 
17994         wxPyEndAllowThreads(__tstate
); 
17995         if (PyErr_Occurred()) SWIG_fail
; 
17998         resultobj 
= SWIG_From_int((int)(result
));  
18006 static PyObject 
* PostScriptDC_swigregister(PyObject 
*, PyObject 
*args
) { 
18008     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
18009     SWIG_TypeClientData(SWIGTYPE_p_wxPostScriptDC
, obj
); 
18011     return Py_BuildValue((char *)""); 
18013 static PyObject 
*_wrap_new_MetaFile(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
18014     PyObject 
*resultobj
; 
18015     wxString 
const &arg1_defvalue 
= wxPyEmptyString 
; 
18016     wxString 
*arg1 
= (wxString 
*) &arg1_defvalue 
; 
18017     wxMetaFile 
*result
; 
18018     bool temp1 
= false ; 
18019     PyObject 
* obj0 
= 0 ; 
18020     char *kwnames
[] = { 
18021         (char *) "filename", NULL 
 
18024     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MetaFile",kwnames
,&obj0
)) goto fail
; 
18027             arg1 
= wxString_in_helper(obj0
); 
18028             if (arg1 
== NULL
) SWIG_fail
; 
18033         if (!wxPyCheckForApp()) SWIG_fail
; 
18034         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18035         result 
= (wxMetaFile 
*)new wxMetaFile((wxString 
const &)*arg1
); 
18037         wxPyEndAllowThreads(__tstate
); 
18038         if (PyErr_Occurred()) SWIG_fail
; 
18040     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetaFile
, 1); 
18055 static PyObject 
* MetaFile_swigregister(PyObject 
*, PyObject 
*args
) { 
18057     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
18058     SWIG_TypeClientData(SWIGTYPE_p_wxMetaFile
, obj
); 
18060     return Py_BuildValue((char *)""); 
18062 static PyObject 
*_wrap_new_MetaFileDC(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
18063     PyObject 
*resultobj
; 
18064     wxString 
const &arg1_defvalue 
= wxPyEmptyString 
; 
18065     wxString 
*arg1 
= (wxString 
*) &arg1_defvalue 
; 
18066     int arg2 
= (int) 0 ; 
18067     int arg3 
= (int) 0 ; 
18068     wxString 
const &arg4_defvalue 
= wxPyEmptyString 
; 
18069     wxString 
*arg4 
= (wxString 
*) &arg4_defvalue 
; 
18070     wxMetaFileDC 
*result
; 
18071     bool temp1 
= false ; 
18072     bool temp4 
= false ; 
18073     PyObject 
* obj0 
= 0 ; 
18074     PyObject 
* obj1 
= 0 ; 
18075     PyObject 
* obj2 
= 0 ; 
18076     PyObject 
* obj3 
= 0 ; 
18077     char *kwnames
[] = { 
18078         (char *) "filename",(char *) "width",(char *) "height",(char *) "description", NULL 
 
18081     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_MetaFileDC",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
18084             arg1 
= wxString_in_helper(obj0
); 
18085             if (arg1 
== NULL
) SWIG_fail
; 
18091             arg2 
= (int)(SWIG_As_int(obj1
));  
18092             if (SWIG_arg_fail(2)) SWIG_fail
; 
18097             arg3 
= (int)(SWIG_As_int(obj2
));  
18098             if (SWIG_arg_fail(3)) SWIG_fail
; 
18103             arg4 
= wxString_in_helper(obj3
); 
18104             if (arg4 
== NULL
) SWIG_fail
; 
18109         if (!wxPyCheckForApp()) SWIG_fail
; 
18110         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18111         result 
= (wxMetaFileDC 
*)new wxMetaFileDC((wxString 
const &)*arg1
,arg2
,arg3
,(wxString 
const &)*arg4
); 
18113         wxPyEndAllowThreads(__tstate
); 
18114         if (PyErr_Occurred()) SWIG_fail
; 
18116     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetaFileDC
, 1); 
18139 static PyObject 
* MetaFileDC_swigregister(PyObject 
*, PyObject 
*args
) { 
18141     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
18142     SWIG_TypeClientData(SWIGTYPE_p_wxMetaFileDC
, obj
); 
18144     return Py_BuildValue((char *)""); 
18146 static PyObject 
*_wrap_new_PrinterDC(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
18147     PyObject 
*resultobj
; 
18148     wxPrintData 
*arg1 
= 0 ; 
18149     wxPrinterDC 
*result
; 
18150     PyObject 
* obj0 
= 0 ; 
18151     char *kwnames
[] = { 
18152         (char *) "printData", NULL 
 
18155     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PrinterDC",kwnames
,&obj0
)) goto fail
; 
18157         SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION 
| 0); 
18158         if (SWIG_arg_fail(1)) SWIG_fail
; 
18159         if (arg1 
== NULL
) { 
18160             SWIG_null_ref("wxPrintData"); 
18162         if (SWIG_arg_fail(1)) SWIG_fail
; 
18165         if (!wxPyCheckForApp()) SWIG_fail
; 
18166         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18167         result 
= (wxPrinterDC 
*)new wxPrinterDC((wxPrintData 
const &)*arg1
); 
18169         wxPyEndAllowThreads(__tstate
); 
18170         if (PyErr_Occurred()) SWIG_fail
; 
18172     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrinterDC
, 1); 
18179 static PyObject 
* PrinterDC_swigregister(PyObject 
*, PyObject 
*args
) { 
18181     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
18182     SWIG_TypeClientData(SWIGTYPE_p_wxPrinterDC
, obj
); 
18184     return Py_BuildValue((char *)""); 
18186 static PyObject 
*_wrap_new_ImageList(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
18187     PyObject 
*resultobj
; 
18190     int arg3 
= (int) true ; 
18191     int arg4 
= (int) 1 ; 
18192     wxImageList 
*result
; 
18193     PyObject 
* obj0 
= 0 ; 
18194     PyObject 
* obj1 
= 0 ; 
18195     PyObject 
* obj2 
= 0 ; 
18196     PyObject 
* obj3 
= 0 ; 
18197     char *kwnames
[] = { 
18198         (char *) "width",(char *) "height",(char *) "mask",(char *) "initialCount", NULL 
 
18201     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_ImageList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
18203         arg1 
= (int)(SWIG_As_int(obj0
));  
18204         if (SWIG_arg_fail(1)) SWIG_fail
; 
18207         arg2 
= (int)(SWIG_As_int(obj1
));  
18208         if (SWIG_arg_fail(2)) SWIG_fail
; 
18212             arg3 
= (int)(SWIG_As_int(obj2
));  
18213             if (SWIG_arg_fail(3)) SWIG_fail
; 
18218             arg4 
= (int)(SWIG_As_int(obj3
));  
18219             if (SWIG_arg_fail(4)) SWIG_fail
; 
18223         if (!wxPyCheckForApp()) SWIG_fail
; 
18224         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18225         result 
= (wxImageList 
*)new wxImageList(arg1
,arg2
,arg3
,arg4
); 
18227         wxPyEndAllowThreads(__tstate
); 
18228         if (PyErr_Occurred()) SWIG_fail
; 
18231         resultobj 
= wxPyMake_wxObject(result
, 1);  
18239 static PyObject 
*_wrap_delete_ImageList(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
18240     PyObject 
*resultobj
; 
18241     wxImageList 
*arg1 
= (wxImageList 
*) 0 ; 
18242     PyObject 
* obj0 
= 0 ; 
18243     char *kwnames
[] = { 
18244         (char *) "self", NULL 
 
18247     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ImageList",kwnames
,&obj0
)) goto fail
; 
18248     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION 
| 0); 
18249     if (SWIG_arg_fail(1)) SWIG_fail
; 
18251         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18254         wxPyEndAllowThreads(__tstate
); 
18255         if (PyErr_Occurred()) SWIG_fail
; 
18257     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
18264 static PyObject 
*_wrap_ImageList_Add(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
18265     PyObject 
*resultobj
; 
18266     wxImageList 
*arg1 
= (wxImageList 
*) 0 ; 
18267     wxBitmap 
*arg2 
= 0 ; 
18268     wxBitmap 
const &arg3_defvalue 
= wxNullBitmap 
; 
18269     wxBitmap 
*arg3 
= (wxBitmap 
*) &arg3_defvalue 
; 
18271     PyObject 
* obj0 
= 0 ; 
18272     PyObject 
* obj1 
= 0 ; 
18273     PyObject 
* obj2 
= 0 ; 
18274     char *kwnames
[] = { 
18275         (char *) "self",(char *) "bitmap",(char *) "mask", NULL 
 
18278     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ImageList_Add",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
18279     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION 
| 0); 
18280     if (SWIG_arg_fail(1)) SWIG_fail
; 
18282         SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION 
| 0); 
18283         if (SWIG_arg_fail(2)) SWIG_fail
; 
18284         if (arg2 
== NULL
) { 
18285             SWIG_null_ref("wxBitmap"); 
18287         if (SWIG_arg_fail(2)) SWIG_fail
; 
18291             SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION 
| 0); 
18292             if (SWIG_arg_fail(3)) SWIG_fail
; 
18293             if (arg3 
== NULL
) { 
18294                 SWIG_null_ref("wxBitmap"); 
18296             if (SWIG_arg_fail(3)) SWIG_fail
; 
18300         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18301         result 
= (int)(arg1
)->Add((wxBitmap 
const &)*arg2
,(wxBitmap 
const &)*arg3
); 
18303         wxPyEndAllowThreads(__tstate
); 
18304         if (PyErr_Occurred()) SWIG_fail
; 
18307         resultobj 
= SWIG_From_int((int)(result
));  
18315 static PyObject 
*_wrap_ImageList_AddWithColourMask(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
18316     PyObject 
*resultobj
; 
18317     wxImageList 
*arg1 
= (wxImageList 
*) 0 ; 
18318     wxBitmap 
*arg2 
= 0 ; 
18319     wxColour 
*arg3 
= 0 ; 
18322     PyObject 
* obj0 
= 0 ; 
18323     PyObject 
* obj1 
= 0 ; 
18324     PyObject 
* obj2 
= 0 ; 
18325     char *kwnames
[] = { 
18326         (char *) "self",(char *) "bitmap",(char *) "maskColour", NULL 
 
18329     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_AddWithColourMask",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
18330     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION 
| 0); 
18331     if (SWIG_arg_fail(1)) SWIG_fail
; 
18333         SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION 
| 0); 
18334         if (SWIG_arg_fail(2)) SWIG_fail
; 
18335         if (arg2 
== NULL
) { 
18336             SWIG_null_ref("wxBitmap"); 
18338         if (SWIG_arg_fail(2)) SWIG_fail
; 
18342         if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
; 
18345         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18346         result 
= (int)(arg1
)->Add((wxBitmap 
const &)*arg2
,(wxColour 
const &)*arg3
); 
18348         wxPyEndAllowThreads(__tstate
); 
18349         if (PyErr_Occurred()) SWIG_fail
; 
18352         resultobj 
= SWIG_From_int((int)(result
));  
18360 static PyObject 
*_wrap_ImageList_AddIcon(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
18361     PyObject 
*resultobj
; 
18362     wxImageList 
*arg1 
= (wxImageList 
*) 0 ; 
18365     PyObject 
* obj0 
= 0 ; 
18366     PyObject 
* obj1 
= 0 ; 
18367     char *kwnames
[] = { 
18368         (char *) "self",(char *) "icon", NULL 
 
18371     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_AddIcon",kwnames
,&obj0
,&obj1
)) goto fail
; 
18372     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION 
| 0); 
18373     if (SWIG_arg_fail(1)) SWIG_fail
; 
18375         SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION 
| 0); 
18376         if (SWIG_arg_fail(2)) SWIG_fail
; 
18377         if (arg2 
== NULL
) { 
18378             SWIG_null_ref("wxIcon"); 
18380         if (SWIG_arg_fail(2)) SWIG_fail
; 
18383         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18384         result 
= (int)(arg1
)->Add((wxIcon 
const &)*arg2
); 
18386         wxPyEndAllowThreads(__tstate
); 
18387         if (PyErr_Occurred()) SWIG_fail
; 
18390         resultobj 
= SWIG_From_int((int)(result
));  
18398 static PyObject 
*_wrap_ImageList_GetBitmap(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
18399     PyObject 
*resultobj
; 
18400     wxImageList 
*arg1 
= (wxImageList 
*) 0 ; 
18402     SwigValueWrapper
<wxBitmap 
> result
; 
18403     PyObject 
* obj0 
= 0 ; 
18404     PyObject 
* obj1 
= 0 ; 
18405     char *kwnames
[] = { 
18406         (char *) "self",(char *) "index", NULL 
 
18409     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
; 
18410     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION 
| 0); 
18411     if (SWIG_arg_fail(1)) SWIG_fail
; 
18413         arg2 
= (int)(SWIG_As_int(obj1
));  
18414         if (SWIG_arg_fail(2)) SWIG_fail
; 
18417         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18418         result 
= ((wxImageList 
const *)arg1
)->GetBitmap(arg2
); 
18420         wxPyEndAllowThreads(__tstate
); 
18421         if (PyErr_Occurred()) SWIG_fail
; 
18424         wxBitmap 
* resultptr
; 
18425         resultptr 
= new wxBitmap((wxBitmap 
&)(result
)); 
18426         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1); 
18434 static PyObject 
*_wrap_ImageList_GetIcon(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
18435     PyObject 
*resultobj
; 
18436     wxImageList 
*arg1 
= (wxImageList 
*) 0 ; 
18439     PyObject 
* obj0 
= 0 ; 
18440     PyObject 
* obj1 
= 0 ; 
18441     char *kwnames
[] = { 
18442         (char *) "self",(char *) "index", NULL 
 
18445     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetIcon",kwnames
,&obj0
,&obj1
)) goto fail
; 
18446     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION 
| 0); 
18447     if (SWIG_arg_fail(1)) SWIG_fail
; 
18449         arg2 
= (int)(SWIG_As_int(obj1
));  
18450         if (SWIG_arg_fail(2)) SWIG_fail
; 
18453         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18454         result 
= ((wxImageList 
const *)arg1
)->GetIcon(arg2
); 
18456         wxPyEndAllowThreads(__tstate
); 
18457         if (PyErr_Occurred()) SWIG_fail
; 
18460         wxIcon 
* resultptr
; 
18461         resultptr 
= new wxIcon((wxIcon 
&)(result
)); 
18462         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxIcon
, 1); 
18470 static PyObject 
*_wrap_ImageList_Replace(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
18471     PyObject 
*resultobj
; 
18472     wxImageList 
*arg1 
= (wxImageList 
*) 0 ; 
18474     wxBitmap 
*arg3 
= 0 ; 
18476     PyObject 
* obj0 
= 0 ; 
18477     PyObject 
* obj1 
= 0 ; 
18478     PyObject 
* obj2 
= 0 ; 
18479     char *kwnames
[] = { 
18480         (char *) "self",(char *) "index",(char *) "bitmap", NULL 
 
18483     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_Replace",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
18484     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION 
| 0); 
18485     if (SWIG_arg_fail(1)) SWIG_fail
; 
18487         arg2 
= (int)(SWIG_As_int(obj1
));  
18488         if (SWIG_arg_fail(2)) SWIG_fail
; 
18491         SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION 
| 0); 
18492         if (SWIG_arg_fail(3)) SWIG_fail
; 
18493         if (arg3 
== NULL
) { 
18494             SWIG_null_ref("wxBitmap"); 
18496         if (SWIG_arg_fail(3)) SWIG_fail
; 
18499         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18500         result 
= (bool)(arg1
)->Replace(arg2
,(wxBitmap 
const &)*arg3
); 
18502         wxPyEndAllowThreads(__tstate
); 
18503         if (PyErr_Occurred()) SWIG_fail
; 
18506         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
18514 static PyObject 
*_wrap_ImageList_Draw(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
18515     PyObject 
*resultobj
; 
18516     wxImageList 
*arg1 
= (wxImageList 
*) 0 ; 
18521     int arg6 
= (int) wxIMAGELIST_DRAW_NORMAL 
; 
18522     bool arg7 
= (bool) (bool)false ; 
18524     PyObject 
* obj0 
= 0 ; 
18525     PyObject 
* obj1 
= 0 ; 
18526     PyObject 
* obj2 
= 0 ; 
18527     PyObject 
* obj3 
= 0 ; 
18528     PyObject 
* obj4 
= 0 ; 
18529     PyObject 
* obj5 
= 0 ; 
18530     PyObject 
* obj6 
= 0 ; 
18531     char *kwnames
[] = { 
18532         (char *) "self",(char *) "index",(char *) "dc",(char *) "x",(char *) "x",(char *) "flags",(char *) "solidBackground", NULL 
 
18535     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:ImageList_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
; 
18536     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION 
| 0); 
18537     if (SWIG_arg_fail(1)) SWIG_fail
; 
18539         arg2 
= (int)(SWIG_As_int(obj1
));  
18540         if (SWIG_arg_fail(2)) SWIG_fail
; 
18543         SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
18544         if (SWIG_arg_fail(3)) SWIG_fail
; 
18545         if (arg3 
== NULL
) { 
18546             SWIG_null_ref("wxDC"); 
18548         if (SWIG_arg_fail(3)) SWIG_fail
; 
18551         arg4 
= (int)(SWIG_As_int(obj3
));  
18552         if (SWIG_arg_fail(4)) SWIG_fail
; 
18555         arg5 
= (int)(SWIG_As_int(obj4
));  
18556         if (SWIG_arg_fail(5)) SWIG_fail
; 
18560             arg6 
= (int)(SWIG_As_int(obj5
));  
18561             if (SWIG_arg_fail(6)) SWIG_fail
; 
18566             arg7 
= (bool const)(SWIG_As_bool(obj6
));  
18567             if (SWIG_arg_fail(7)) SWIG_fail
; 
18571         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18572         result 
= (bool)(arg1
)->Draw(arg2
,*arg3
,arg4
,arg5
,arg6
,arg7
); 
18574         wxPyEndAllowThreads(__tstate
); 
18575         if (PyErr_Occurred()) SWIG_fail
; 
18578         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
18586 static PyObject 
*_wrap_ImageList_GetImageCount(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
18587     PyObject 
*resultobj
; 
18588     wxImageList 
*arg1 
= (wxImageList 
*) 0 ; 
18590     PyObject 
* obj0 
= 0 ; 
18591     char *kwnames
[] = { 
18592         (char *) "self", NULL 
 
18595     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageList_GetImageCount",kwnames
,&obj0
)) goto fail
; 
18596     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION 
| 0); 
18597     if (SWIG_arg_fail(1)) SWIG_fail
; 
18599         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18600         result 
= (int)(arg1
)->GetImageCount(); 
18602         wxPyEndAllowThreads(__tstate
); 
18603         if (PyErr_Occurred()) SWIG_fail
; 
18606         resultobj 
= SWIG_From_int((int)(result
));  
18614 static PyObject 
*_wrap_ImageList_Remove(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
18615     PyObject 
*resultobj
; 
18616     wxImageList 
*arg1 
= (wxImageList 
*) 0 ; 
18619     PyObject 
* obj0 
= 0 ; 
18620     PyObject 
* obj1 
= 0 ; 
18621     char *kwnames
[] = { 
18622         (char *) "self",(char *) "index", NULL 
 
18625     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_Remove",kwnames
,&obj0
,&obj1
)) goto fail
; 
18626     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION 
| 0); 
18627     if (SWIG_arg_fail(1)) SWIG_fail
; 
18629         arg2 
= (int)(SWIG_As_int(obj1
));  
18630         if (SWIG_arg_fail(2)) SWIG_fail
; 
18633         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18634         result 
= (bool)(arg1
)->Remove(arg2
); 
18636         wxPyEndAllowThreads(__tstate
); 
18637         if (PyErr_Occurred()) SWIG_fail
; 
18640         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
18648 static PyObject 
*_wrap_ImageList_RemoveAll(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
18649     PyObject 
*resultobj
; 
18650     wxImageList 
*arg1 
= (wxImageList 
*) 0 ; 
18652     PyObject 
* obj0 
= 0 ; 
18653     char *kwnames
[] = { 
18654         (char *) "self", NULL 
 
18657     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageList_RemoveAll",kwnames
,&obj0
)) goto fail
; 
18658     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION 
| 0); 
18659     if (SWIG_arg_fail(1)) SWIG_fail
; 
18661         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18662         result 
= (bool)(arg1
)->RemoveAll(); 
18664         wxPyEndAllowThreads(__tstate
); 
18665         if (PyErr_Occurred()) SWIG_fail
; 
18668         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
18676 static PyObject 
*_wrap_ImageList_GetSize(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
18677     PyObject 
*resultobj
; 
18678     wxImageList 
*arg1 
= (wxImageList 
*) 0 ; 
18686     PyObject 
* obj0 
= 0 ; 
18687     PyObject 
* obj1 
= 0 ; 
18688     char *kwnames
[] = { 
18689         (char *) "self",(char *) "index", NULL 
 
18692     arg3 
= &temp3
; res3 
= SWIG_NEWOBJ
; 
18693     arg4 
= &temp4
; res4 
= SWIG_NEWOBJ
; 
18694     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetSize",kwnames
,&obj0
,&obj1
)) goto fail
; 
18695     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION 
| 0); 
18696     if (SWIG_arg_fail(1)) SWIG_fail
; 
18698         arg2 
= (int)(SWIG_As_int(obj1
));  
18699         if (SWIG_arg_fail(2)) SWIG_fail
; 
18702         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18703         (arg1
)->GetSize(arg2
,*arg3
,*arg4
); 
18705         wxPyEndAllowThreads(__tstate
); 
18706         if (PyErr_Occurred()) SWIG_fail
; 
18708     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
18709     resultobj 
= t_output_helper(resultobj
, ((res3 
== SWIG_NEWOBJ
) ? 
18710     SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0))); 
18711     resultobj 
= t_output_helper(resultobj
, ((res4 
== SWIG_NEWOBJ
) ? 
18712     SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0))); 
18719 static PyObject 
* ImageList_swigregister(PyObject 
*, PyObject 
*args
) { 
18721     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
18722     SWIG_TypeClientData(SWIGTYPE_p_wxImageList
, obj
); 
18724     return Py_BuildValue((char *)""); 
18726 static int _wrap_NORMAL_FONT_set(PyObject 
*) { 
18727     PyErr_SetString(PyExc_TypeError
,"Variable NORMAL_FONT is read-only."); 
18732 static PyObject 
*_wrap_NORMAL_FONT_get(void) { 
18735     pyobj 
= SWIG_NewPointerObj((void *)(wxNORMAL_FONT
), SWIGTYPE_p_wxFont
, 0); 
18740 static int _wrap_SMALL_FONT_set(PyObject 
*) { 
18741     PyErr_SetString(PyExc_TypeError
,"Variable SMALL_FONT is read-only."); 
18746 static PyObject 
*_wrap_SMALL_FONT_get(void) { 
18749     pyobj 
= SWIG_NewPointerObj((void *)(wxSMALL_FONT
), SWIGTYPE_p_wxFont
, 0); 
18754 static int _wrap_ITALIC_FONT_set(PyObject 
*) { 
18755     PyErr_SetString(PyExc_TypeError
,"Variable ITALIC_FONT is read-only."); 
18760 static PyObject 
*_wrap_ITALIC_FONT_get(void) { 
18763     pyobj 
= SWIG_NewPointerObj((void *)(wxITALIC_FONT
), SWIGTYPE_p_wxFont
, 0); 
18768 static int _wrap_SWISS_FONT_set(PyObject 
*) { 
18769     PyErr_SetString(PyExc_TypeError
,"Variable SWISS_FONT is read-only."); 
18774 static PyObject 
*_wrap_SWISS_FONT_get(void) { 
18777     pyobj 
= SWIG_NewPointerObj((void *)(wxSWISS_FONT
), SWIGTYPE_p_wxFont
, 0); 
18782 static int _wrap_RED_PEN_set(PyObject 
*) { 
18783     PyErr_SetString(PyExc_TypeError
,"Variable RED_PEN is read-only."); 
18788 static PyObject 
*_wrap_RED_PEN_get(void) { 
18791     pyobj 
= SWIG_NewPointerObj((void *)(wxRED_PEN
), SWIGTYPE_p_wxPen
, 0); 
18796 static int _wrap_CYAN_PEN_set(PyObject 
*) { 
18797     PyErr_SetString(PyExc_TypeError
,"Variable CYAN_PEN is read-only."); 
18802 static PyObject 
*_wrap_CYAN_PEN_get(void) { 
18805     pyobj 
= SWIG_NewPointerObj((void *)(wxCYAN_PEN
), SWIGTYPE_p_wxPen
, 0); 
18810 static int _wrap_GREEN_PEN_set(PyObject 
*) { 
18811     PyErr_SetString(PyExc_TypeError
,"Variable GREEN_PEN is read-only."); 
18816 static PyObject 
*_wrap_GREEN_PEN_get(void) { 
18819     pyobj 
= SWIG_NewPointerObj((void *)(wxGREEN_PEN
), SWIGTYPE_p_wxPen
, 0); 
18824 static int _wrap_BLACK_PEN_set(PyObject 
*) { 
18825     PyErr_SetString(PyExc_TypeError
,"Variable BLACK_PEN is read-only."); 
18830 static PyObject 
*_wrap_BLACK_PEN_get(void) { 
18833     pyobj 
= SWIG_NewPointerObj((void *)(wxBLACK_PEN
), SWIGTYPE_p_wxPen
, 0); 
18838 static int _wrap_WHITE_PEN_set(PyObject 
*) { 
18839     PyErr_SetString(PyExc_TypeError
,"Variable WHITE_PEN is read-only."); 
18844 static PyObject 
*_wrap_WHITE_PEN_get(void) { 
18847     pyobj 
= SWIG_NewPointerObj((void *)(wxWHITE_PEN
), SWIGTYPE_p_wxPen
, 0); 
18852 static int _wrap_TRANSPARENT_PEN_set(PyObject 
*) { 
18853     PyErr_SetString(PyExc_TypeError
,"Variable TRANSPARENT_PEN is read-only."); 
18858 static PyObject 
*_wrap_TRANSPARENT_PEN_get(void) { 
18861     pyobj 
= SWIG_NewPointerObj((void *)(wxTRANSPARENT_PEN
), SWIGTYPE_p_wxPen
, 0); 
18866 static int _wrap_BLACK_DASHED_PEN_set(PyObject 
*) { 
18867     PyErr_SetString(PyExc_TypeError
,"Variable BLACK_DASHED_PEN is read-only."); 
18872 static PyObject 
*_wrap_BLACK_DASHED_PEN_get(void) { 
18875     pyobj 
= SWIG_NewPointerObj((void *)(wxBLACK_DASHED_PEN
), SWIGTYPE_p_wxPen
, 0); 
18880 static int _wrap_GREY_PEN_set(PyObject 
*) { 
18881     PyErr_SetString(PyExc_TypeError
,"Variable GREY_PEN is read-only."); 
18886 static PyObject 
*_wrap_GREY_PEN_get(void) { 
18889     pyobj 
= SWIG_NewPointerObj((void *)(wxGREY_PEN
), SWIGTYPE_p_wxPen
, 0); 
18894 static int _wrap_MEDIUM_GREY_PEN_set(PyObject 
*) { 
18895     PyErr_SetString(PyExc_TypeError
,"Variable MEDIUM_GREY_PEN is read-only."); 
18900 static PyObject 
*_wrap_MEDIUM_GREY_PEN_get(void) { 
18903     pyobj 
= SWIG_NewPointerObj((void *)(wxMEDIUM_GREY_PEN
), SWIGTYPE_p_wxPen
, 0); 
18908 static int _wrap_LIGHT_GREY_PEN_set(PyObject 
*) { 
18909     PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY_PEN is read-only."); 
18914 static PyObject 
*_wrap_LIGHT_GREY_PEN_get(void) { 
18917     pyobj 
= SWIG_NewPointerObj((void *)(wxLIGHT_GREY_PEN
), SWIGTYPE_p_wxPen
, 0); 
18922 static int _wrap_BLUE_BRUSH_set(PyObject 
*) { 
18923     PyErr_SetString(PyExc_TypeError
,"Variable BLUE_BRUSH is read-only."); 
18928 static PyObject 
*_wrap_BLUE_BRUSH_get(void) { 
18931     pyobj 
= SWIG_NewPointerObj((void *)(wxBLUE_BRUSH
), SWIGTYPE_p_wxBrush
, 0); 
18936 static int _wrap_GREEN_BRUSH_set(PyObject 
*) { 
18937     PyErr_SetString(PyExc_TypeError
,"Variable GREEN_BRUSH is read-only."); 
18942 static PyObject 
*_wrap_GREEN_BRUSH_get(void) { 
18945     pyobj 
= SWIG_NewPointerObj((void *)(wxGREEN_BRUSH
), SWIGTYPE_p_wxBrush
, 0); 
18950 static int _wrap_WHITE_BRUSH_set(PyObject 
*) { 
18951     PyErr_SetString(PyExc_TypeError
,"Variable WHITE_BRUSH is read-only."); 
18956 static PyObject 
*_wrap_WHITE_BRUSH_get(void) { 
18959     pyobj 
= SWIG_NewPointerObj((void *)(wxWHITE_BRUSH
), SWIGTYPE_p_wxBrush
, 0); 
18964 static int _wrap_BLACK_BRUSH_set(PyObject 
*) { 
18965     PyErr_SetString(PyExc_TypeError
,"Variable BLACK_BRUSH is read-only."); 
18970 static PyObject 
*_wrap_BLACK_BRUSH_get(void) { 
18973     pyobj 
= SWIG_NewPointerObj((void *)(wxBLACK_BRUSH
), SWIGTYPE_p_wxBrush
, 0); 
18978 static int _wrap_TRANSPARENT_BRUSH_set(PyObject 
*) { 
18979     PyErr_SetString(PyExc_TypeError
,"Variable TRANSPARENT_BRUSH is read-only."); 
18984 static PyObject 
*_wrap_TRANSPARENT_BRUSH_get(void) { 
18987     pyobj 
= SWIG_NewPointerObj((void *)(wxTRANSPARENT_BRUSH
), SWIGTYPE_p_wxBrush
, 0); 
18992 static int _wrap_CYAN_BRUSH_set(PyObject 
*) { 
18993     PyErr_SetString(PyExc_TypeError
,"Variable CYAN_BRUSH is read-only."); 
18998 static PyObject 
*_wrap_CYAN_BRUSH_get(void) { 
19001     pyobj 
= SWIG_NewPointerObj((void *)(wxCYAN_BRUSH
), SWIGTYPE_p_wxBrush
, 0); 
19006 static int _wrap_RED_BRUSH_set(PyObject 
*) { 
19007     PyErr_SetString(PyExc_TypeError
,"Variable RED_BRUSH is read-only."); 
19012 static PyObject 
*_wrap_RED_BRUSH_get(void) { 
19015     pyobj 
= SWIG_NewPointerObj((void *)(wxRED_BRUSH
), SWIGTYPE_p_wxBrush
, 0); 
19020 static int _wrap_GREY_BRUSH_set(PyObject 
*) { 
19021     PyErr_SetString(PyExc_TypeError
,"Variable GREY_BRUSH is read-only."); 
19026 static PyObject 
*_wrap_GREY_BRUSH_get(void) { 
19029     pyobj 
= SWIG_NewPointerObj((void *)(wxGREY_BRUSH
), SWIGTYPE_p_wxBrush
, 0); 
19034 static int _wrap_MEDIUM_GREY_BRUSH_set(PyObject 
*) { 
19035     PyErr_SetString(PyExc_TypeError
,"Variable MEDIUM_GREY_BRUSH is read-only."); 
19040 static PyObject 
*_wrap_MEDIUM_GREY_BRUSH_get(void) { 
19043     pyobj 
= SWIG_NewPointerObj((void *)(wxMEDIUM_GREY_BRUSH
), SWIGTYPE_p_wxBrush
, 0); 
19048 static int _wrap_LIGHT_GREY_BRUSH_set(PyObject 
*) { 
19049     PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY_BRUSH is read-only."); 
19054 static PyObject 
*_wrap_LIGHT_GREY_BRUSH_get(void) { 
19057     pyobj 
= SWIG_NewPointerObj((void *)(wxLIGHT_GREY_BRUSH
), SWIGTYPE_p_wxBrush
, 0); 
19062 static int _wrap_BLACK_set(PyObject 
*) { 
19063     PyErr_SetString(PyExc_TypeError
,"Variable BLACK is read-only."); 
19068 static PyObject 
*_wrap_BLACK_get(void) { 
19071     pyobj 
= SWIG_NewPointerObj((void *)(wxBLACK
), SWIGTYPE_p_wxColour
, 0); 
19076 static int _wrap_WHITE_set(PyObject 
*) { 
19077     PyErr_SetString(PyExc_TypeError
,"Variable WHITE is read-only."); 
19082 static PyObject 
*_wrap_WHITE_get(void) { 
19085     pyobj 
= SWIG_NewPointerObj((void *)(wxWHITE
), SWIGTYPE_p_wxColour
, 0); 
19090 static int _wrap_RED_set(PyObject 
*) { 
19091     PyErr_SetString(PyExc_TypeError
,"Variable RED is read-only."); 
19096 static PyObject 
*_wrap_RED_get(void) { 
19099     pyobj 
= SWIG_NewPointerObj((void *)(wxRED
), SWIGTYPE_p_wxColour
, 0); 
19104 static int _wrap_BLUE_set(PyObject 
*) { 
19105     PyErr_SetString(PyExc_TypeError
,"Variable BLUE is read-only."); 
19110 static PyObject 
*_wrap_BLUE_get(void) { 
19113     pyobj 
= SWIG_NewPointerObj((void *)(wxBLUE
), SWIGTYPE_p_wxColour
, 0); 
19118 static int _wrap_GREEN_set(PyObject 
*) { 
19119     PyErr_SetString(PyExc_TypeError
,"Variable GREEN is read-only."); 
19124 static PyObject 
*_wrap_GREEN_get(void) { 
19127     pyobj 
= SWIG_NewPointerObj((void *)(wxGREEN
), SWIGTYPE_p_wxColour
, 0); 
19132 static int _wrap_CYAN_set(PyObject 
*) { 
19133     PyErr_SetString(PyExc_TypeError
,"Variable CYAN is read-only."); 
19138 static PyObject 
*_wrap_CYAN_get(void) { 
19141     pyobj 
= SWIG_NewPointerObj((void *)(wxCYAN
), SWIGTYPE_p_wxColour
, 0); 
19146 static int _wrap_LIGHT_GREY_set(PyObject 
*) { 
19147     PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY is read-only."); 
19152 static PyObject 
*_wrap_LIGHT_GREY_get(void) { 
19155     pyobj 
= SWIG_NewPointerObj((void *)(wxLIGHT_GREY
), SWIGTYPE_p_wxColour
, 0); 
19160 static int _wrap_STANDARD_CURSOR_set(PyObject 
*) { 
19161     PyErr_SetString(PyExc_TypeError
,"Variable STANDARD_CURSOR is read-only."); 
19166 static PyObject 
*_wrap_STANDARD_CURSOR_get(void) { 
19169     pyobj 
= SWIG_NewPointerObj((void *)(wxSTANDARD_CURSOR
), SWIGTYPE_p_wxCursor
, 0); 
19174 static int _wrap_HOURGLASS_CURSOR_set(PyObject 
*) { 
19175     PyErr_SetString(PyExc_TypeError
,"Variable HOURGLASS_CURSOR is read-only."); 
19180 static PyObject 
*_wrap_HOURGLASS_CURSOR_get(void) { 
19183     pyobj 
= SWIG_NewPointerObj((void *)(wxHOURGLASS_CURSOR
), SWIGTYPE_p_wxCursor
, 0); 
19188 static int _wrap_CROSS_CURSOR_set(PyObject 
*) { 
19189     PyErr_SetString(PyExc_TypeError
,"Variable CROSS_CURSOR is read-only."); 
19194 static PyObject 
*_wrap_CROSS_CURSOR_get(void) { 
19197     pyobj 
= SWIG_NewPointerObj((void *)(wxCROSS_CURSOR
), SWIGTYPE_p_wxCursor
, 0); 
19202 static int _wrap_NullBitmap_set(PyObject 
*) { 
19203     PyErr_SetString(PyExc_TypeError
,"Variable NullBitmap is read-only."); 
19208 static PyObject 
*_wrap_NullBitmap_get(void) { 
19211     pyobj 
= SWIG_NewPointerObj((void *)(&wxNullBitmap
), SWIGTYPE_p_wxBitmap
, 0); 
19216 static int _wrap_NullIcon_set(PyObject 
*) { 
19217     PyErr_SetString(PyExc_TypeError
,"Variable NullIcon is read-only."); 
19222 static PyObject 
*_wrap_NullIcon_get(void) { 
19225     pyobj 
= SWIG_NewPointerObj((void *)(&wxNullIcon
), SWIGTYPE_p_wxIcon
, 0); 
19230 static int _wrap_NullCursor_set(PyObject 
*) { 
19231     PyErr_SetString(PyExc_TypeError
,"Variable NullCursor is read-only."); 
19236 static PyObject 
*_wrap_NullCursor_get(void) { 
19239     pyobj 
= SWIG_NewPointerObj((void *)(&wxNullCursor
), SWIGTYPE_p_wxCursor
, 0); 
19244 static int _wrap_NullPen_set(PyObject 
*) { 
19245     PyErr_SetString(PyExc_TypeError
,"Variable NullPen is read-only."); 
19250 static PyObject 
*_wrap_NullPen_get(void) { 
19253     pyobj 
= SWIG_NewPointerObj((void *)(&wxNullPen
), SWIGTYPE_p_wxPen
, 0); 
19258 static int _wrap_NullBrush_set(PyObject 
*) { 
19259     PyErr_SetString(PyExc_TypeError
,"Variable NullBrush is read-only."); 
19264 static PyObject 
*_wrap_NullBrush_get(void) { 
19267     pyobj 
= SWIG_NewPointerObj((void *)(&wxNullBrush
), SWIGTYPE_p_wxBrush
, 0); 
19272 static int _wrap_NullPalette_set(PyObject 
*) { 
19273     PyErr_SetString(PyExc_TypeError
,"Variable NullPalette is read-only."); 
19278 static PyObject 
*_wrap_NullPalette_get(void) { 
19281     pyobj 
= SWIG_NewPointerObj((void *)(&wxNullPalette
), SWIGTYPE_p_wxPalette
, 0); 
19286 static int _wrap_NullFont_set(PyObject 
*) { 
19287     PyErr_SetString(PyExc_TypeError
,"Variable NullFont is read-only."); 
19292 static PyObject 
*_wrap_NullFont_get(void) { 
19295     pyobj 
= SWIG_NewPointerObj((void *)(&wxNullFont
), SWIGTYPE_p_wxFont
, 0); 
19300 static int _wrap_NullColour_set(PyObject 
*) { 
19301     PyErr_SetString(PyExc_TypeError
,"Variable NullColour is read-only."); 
19306 static PyObject 
*_wrap_NullColour_get(void) { 
19309     pyobj 
= SWIG_NewPointerObj((void *)(&wxNullColour
), SWIGTYPE_p_wxColour
, 0); 
19314 static PyObject 
*_wrap_PenList_AddPen(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
19315     PyObject 
*resultobj
; 
19316     wxPenList 
*arg1 
= (wxPenList 
*) 0 ; 
19317     wxPen 
*arg2 
= (wxPen 
*) 0 ; 
19318     PyObject 
* obj0 
= 0 ; 
19319     PyObject 
* obj1 
= 0 ; 
19320     char *kwnames
[] = { 
19321         (char *) "self",(char *) "pen", NULL 
 
19324     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_AddPen",kwnames
,&obj0
,&obj1
)) goto fail
; 
19325     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPenList
, SWIG_POINTER_EXCEPTION 
| 0); 
19326     if (SWIG_arg_fail(1)) SWIG_fail
; 
19327     SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION 
| 0); 
19328     if (SWIG_arg_fail(2)) SWIG_fail
; 
19330         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19331         (arg1
)->AddPen(arg2
); 
19333         wxPyEndAllowThreads(__tstate
); 
19334         if (PyErr_Occurred()) SWIG_fail
; 
19336     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
19343 static PyObject 
*_wrap_PenList_FindOrCreatePen(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
19344     PyObject 
*resultobj
; 
19345     wxPenList 
*arg1 
= (wxPenList 
*) 0 ; 
19346     wxColour 
*arg2 
= 0 ; 
19351     PyObject 
* obj0 
= 0 ; 
19352     PyObject 
* obj1 
= 0 ; 
19353     PyObject 
* obj2 
= 0 ; 
19354     PyObject 
* obj3 
= 0 ; 
19355     char *kwnames
[] = { 
19356         (char *) "self",(char *) "colour",(char *) "width",(char *) "style", NULL 
 
19359     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PenList_FindOrCreatePen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
19360     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPenList
, SWIG_POINTER_EXCEPTION 
| 0); 
19361     if (SWIG_arg_fail(1)) SWIG_fail
; 
19364         if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
19367         arg3 
= (int)(SWIG_As_int(obj2
));  
19368         if (SWIG_arg_fail(3)) SWIG_fail
; 
19371         arg4 
= (int)(SWIG_As_int(obj3
));  
19372         if (SWIG_arg_fail(4)) SWIG_fail
; 
19375         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19376         result 
= (wxPen 
*)(arg1
)->FindOrCreatePen((wxColour 
const &)*arg2
,arg3
,arg4
); 
19378         wxPyEndAllowThreads(__tstate
); 
19379         if (PyErr_Occurred()) SWIG_fail
; 
19381     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPen
, 0); 
19388 static PyObject 
*_wrap_PenList_RemovePen(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
19389     PyObject 
*resultobj
; 
19390     wxPenList 
*arg1 
= (wxPenList 
*) 0 ; 
19391     wxPen 
*arg2 
= (wxPen 
*) 0 ; 
19392     PyObject 
* obj0 
= 0 ; 
19393     PyObject 
* obj1 
= 0 ; 
19394     char *kwnames
[] = { 
19395         (char *) "self",(char *) "pen", NULL 
 
19398     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_RemovePen",kwnames
,&obj0
,&obj1
)) goto fail
; 
19399     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPenList
, SWIG_POINTER_EXCEPTION 
| 0); 
19400     if (SWIG_arg_fail(1)) SWIG_fail
; 
19401     SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION 
| 0); 
19402     if (SWIG_arg_fail(2)) SWIG_fail
; 
19404         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19405         (arg1
)->RemovePen(arg2
); 
19407         wxPyEndAllowThreads(__tstate
); 
19408         if (PyErr_Occurred()) SWIG_fail
; 
19410     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
19417 static PyObject 
*_wrap_PenList_GetCount(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
19418     PyObject 
*resultobj
; 
19419     wxPenList 
*arg1 
= (wxPenList 
*) 0 ; 
19421     PyObject 
* obj0 
= 0 ; 
19422     char *kwnames
[] = { 
19423         (char *) "self", NULL 
 
19426     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PenList_GetCount",kwnames
,&obj0
)) goto fail
; 
19427     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPenList
, SWIG_POINTER_EXCEPTION 
| 0); 
19428     if (SWIG_arg_fail(1)) SWIG_fail
; 
19430         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19431         result 
= (int)(arg1
)->GetCount(); 
19433         wxPyEndAllowThreads(__tstate
); 
19434         if (PyErr_Occurred()) SWIG_fail
; 
19437         resultobj 
= SWIG_From_int((int)(result
));  
19445 static PyObject 
* PenList_swigregister(PyObject 
*, PyObject 
*args
) { 
19447     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
19448     SWIG_TypeClientData(SWIGTYPE_p_wxPenList
, obj
); 
19450     return Py_BuildValue((char *)""); 
19452 static PyObject 
*_wrap_BrushList_AddBrush(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
19453     PyObject 
*resultobj
; 
19454     wxBrushList 
*arg1 
= (wxBrushList 
*) 0 ; 
19455     wxBrush 
*arg2 
= (wxBrush 
*) 0 ; 
19456     PyObject 
* obj0 
= 0 ; 
19457     PyObject 
* obj1 
= 0 ; 
19458     char *kwnames
[] = { 
19459         (char *) "self",(char *) "brush", NULL 
 
19462     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_AddBrush",kwnames
,&obj0
,&obj1
)) goto fail
; 
19463     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBrushList
, SWIG_POINTER_EXCEPTION 
| 0); 
19464     if (SWIG_arg_fail(1)) SWIG_fail
; 
19465     SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBrush
, SWIG_POINTER_EXCEPTION 
| 0); 
19466     if (SWIG_arg_fail(2)) SWIG_fail
; 
19468         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19469         (arg1
)->AddBrush(arg2
); 
19471         wxPyEndAllowThreads(__tstate
); 
19472         if (PyErr_Occurred()) SWIG_fail
; 
19474     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
19481 static PyObject 
*_wrap_BrushList_FindOrCreateBrush(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
19482     PyObject 
*resultobj
; 
19483     wxBrushList 
*arg1 
= (wxBrushList 
*) 0 ; 
19484     wxColour 
*arg2 
= 0 ; 
19485     int arg3 
= (int) wxSOLID 
; 
19488     PyObject 
* obj0 
= 0 ; 
19489     PyObject 
* obj1 
= 0 ; 
19490     PyObject 
* obj2 
= 0 ; 
19491     char *kwnames
[] = { 
19492         (char *) "self",(char *) "colour",(char *) "style", NULL 
 
19495     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:BrushList_FindOrCreateBrush",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
19496     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBrushList
, SWIG_POINTER_EXCEPTION 
| 0); 
19497     if (SWIG_arg_fail(1)) SWIG_fail
; 
19500         if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
19504             arg3 
= (int)(SWIG_As_int(obj2
));  
19505             if (SWIG_arg_fail(3)) SWIG_fail
; 
19509         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19510         result 
= (wxBrush 
*)(arg1
)->FindOrCreateBrush((wxColour 
const &)*arg2
,arg3
); 
19512         wxPyEndAllowThreads(__tstate
); 
19513         if (PyErr_Occurred()) SWIG_fail
; 
19515     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBrush
, 0); 
19522 static PyObject 
*_wrap_BrushList_RemoveBrush(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
19523     PyObject 
*resultobj
; 
19524     wxBrushList 
*arg1 
= (wxBrushList 
*) 0 ; 
19525     wxBrush 
*arg2 
= (wxBrush 
*) 0 ; 
19526     PyObject 
* obj0 
= 0 ; 
19527     PyObject 
* obj1 
= 0 ; 
19528     char *kwnames
[] = { 
19529         (char *) "self",(char *) "brush", NULL 
 
19532     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_RemoveBrush",kwnames
,&obj0
,&obj1
)) goto fail
; 
19533     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBrushList
, SWIG_POINTER_EXCEPTION 
| 0); 
19534     if (SWIG_arg_fail(1)) SWIG_fail
; 
19535     SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBrush
, SWIG_POINTER_EXCEPTION 
| 0); 
19536     if (SWIG_arg_fail(2)) SWIG_fail
; 
19538         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19539         (arg1
)->RemoveBrush(arg2
); 
19541         wxPyEndAllowThreads(__tstate
); 
19542         if (PyErr_Occurred()) SWIG_fail
; 
19544     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
19551 static PyObject 
*_wrap_BrushList_GetCount(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
19552     PyObject 
*resultobj
; 
19553     wxBrushList 
*arg1 
= (wxBrushList 
*) 0 ; 
19555     PyObject 
* obj0 
= 0 ; 
19556     char *kwnames
[] = { 
19557         (char *) "self", NULL 
 
19560     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BrushList_GetCount",kwnames
,&obj0
)) goto fail
; 
19561     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBrushList
, SWIG_POINTER_EXCEPTION 
| 0); 
19562     if (SWIG_arg_fail(1)) SWIG_fail
; 
19564         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19565         result 
= (int)(arg1
)->GetCount(); 
19567         wxPyEndAllowThreads(__tstate
); 
19568         if (PyErr_Occurred()) SWIG_fail
; 
19571         resultobj 
= SWIG_From_int((int)(result
));  
19579 static PyObject 
* BrushList_swigregister(PyObject 
*, PyObject 
*args
) { 
19581     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
19582     SWIG_TypeClientData(SWIGTYPE_p_wxBrushList
, obj
); 
19584     return Py_BuildValue((char *)""); 
19586 static PyObject 
*_wrap_new_ColourDatabase(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
19587     PyObject 
*resultobj
; 
19588     wxColourDatabase 
*result
; 
19589     char *kwnames
[] = { 
19593     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ColourDatabase",kwnames
)) goto fail
; 
19595         if (!wxPyCheckForApp()) SWIG_fail
; 
19596         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19597         result 
= (wxColourDatabase 
*)new wxColourDatabase(); 
19599         wxPyEndAllowThreads(__tstate
); 
19600         if (PyErr_Occurred()) SWIG_fail
; 
19602     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourDatabase
, 1); 
19609 static PyObject 
*_wrap_delete_ColourDatabase(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
19610     PyObject 
*resultobj
; 
19611     wxColourDatabase 
*arg1 
= (wxColourDatabase 
*) 0 ; 
19612     PyObject 
* obj0 
= 0 ; 
19613     char *kwnames
[] = { 
19614         (char *) "self", NULL 
 
19617     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ColourDatabase",kwnames
,&obj0
)) goto fail
; 
19618     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_EXCEPTION 
| 0); 
19619     if (SWIG_arg_fail(1)) SWIG_fail
; 
19621         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19624         wxPyEndAllowThreads(__tstate
); 
19625         if (PyErr_Occurred()) SWIG_fail
; 
19627     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
19634 static PyObject 
*_wrap_ColourDatabase_Find(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
19635     PyObject 
*resultobj
; 
19636     wxColourDatabase 
*arg1 
= (wxColourDatabase 
*) 0 ; 
19637     wxString 
*arg2 
= 0 ; 
19639     bool temp2 
= false ; 
19640     PyObject 
* obj0 
= 0 ; 
19641     PyObject 
* obj1 
= 0 ; 
19642     char *kwnames
[] = { 
19643         (char *) "self",(char *) "name", NULL 
 
19646     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_Find",kwnames
,&obj0
,&obj1
)) goto fail
; 
19647     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_EXCEPTION 
| 0); 
19648     if (SWIG_arg_fail(1)) SWIG_fail
; 
19650         arg2 
= wxString_in_helper(obj1
); 
19651         if (arg2 
== NULL
) SWIG_fail
; 
19655         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19656         result 
= ((wxColourDatabase 
const *)arg1
)->Find((wxString 
const &)*arg2
); 
19658         wxPyEndAllowThreads(__tstate
); 
19659         if (PyErr_Occurred()) SWIG_fail
; 
19662         wxColour 
* resultptr
; 
19663         resultptr 
= new wxColour((wxColour 
&)(result
)); 
19664         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1); 
19680 static PyObject 
*_wrap_ColourDatabase_FindName(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
19681     PyObject 
*resultobj
; 
19682     wxColourDatabase 
*arg1 
= (wxColourDatabase 
*) 0 ; 
19683     wxColour 
*arg2 
= 0 ; 
19686     PyObject 
* obj0 
= 0 ; 
19687     PyObject 
* obj1 
= 0 ; 
19688     char *kwnames
[] = { 
19689         (char *) "self",(char *) "colour", NULL 
 
19692     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_FindName",kwnames
,&obj0
,&obj1
)) goto fail
; 
19693     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_EXCEPTION 
| 0); 
19694     if (SWIG_arg_fail(1)) SWIG_fail
; 
19697         if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
19700         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19701         result 
= ((wxColourDatabase 
const *)arg1
)->FindName((wxColour 
const &)*arg2
); 
19703         wxPyEndAllowThreads(__tstate
); 
19704         if (PyErr_Occurred()) SWIG_fail
; 
19708         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
19710         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
19719 static PyObject 
*_wrap_ColourDatabase_AddColour(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
19720     PyObject 
*resultobj
; 
19721     wxColourDatabase 
*arg1 
= (wxColourDatabase 
*) 0 ; 
19722     wxString 
*arg2 
= 0 ; 
19723     wxColour 
*arg3 
= 0 ; 
19724     bool temp2 
= false ; 
19726     PyObject 
* obj0 
= 0 ; 
19727     PyObject 
* obj1 
= 0 ; 
19728     PyObject 
* obj2 
= 0 ; 
19729     char *kwnames
[] = { 
19730         (char *) "self",(char *) "name",(char *) "colour", NULL 
 
19733     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourDatabase_AddColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
19734     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_EXCEPTION 
| 0); 
19735     if (SWIG_arg_fail(1)) SWIG_fail
; 
19737         arg2 
= wxString_in_helper(obj1
); 
19738         if (arg2 
== NULL
) SWIG_fail
; 
19743         if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
; 
19746         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19747         (arg1
)->AddColour((wxString 
const &)*arg2
,(wxColour 
const &)*arg3
); 
19749         wxPyEndAllowThreads(__tstate
); 
19750         if (PyErr_Occurred()) SWIG_fail
; 
19752     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
19767 static PyObject 
*_wrap_ColourDatabase_Append(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
19768     PyObject 
*resultobj
; 
19769     wxColourDatabase 
*arg1 
= (wxColourDatabase 
*) 0 ; 
19770     wxString 
*arg2 
= 0 ; 
19774     bool temp2 
= false ; 
19775     PyObject 
* obj0 
= 0 ; 
19776     PyObject 
* obj1 
= 0 ; 
19777     PyObject 
* obj2 
= 0 ; 
19778     PyObject 
* obj3 
= 0 ; 
19779     PyObject 
* obj4 
= 0 ; 
19780     char *kwnames
[] = { 
19781         (char *) "self",(char *) "name",(char *) "red",(char *) "green",(char *) "blue", NULL 
 
19784     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:ColourDatabase_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
; 
19785     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_EXCEPTION 
| 0); 
19786     if (SWIG_arg_fail(1)) SWIG_fail
; 
19788         arg2 
= wxString_in_helper(obj1
); 
19789         if (arg2 
== NULL
) SWIG_fail
; 
19793         arg3 
= (int)(SWIG_As_int(obj2
));  
19794         if (SWIG_arg_fail(3)) SWIG_fail
; 
19797         arg4 
= (int)(SWIG_As_int(obj3
));  
19798         if (SWIG_arg_fail(4)) SWIG_fail
; 
19801         arg5 
= (int)(SWIG_As_int(obj4
));  
19802         if (SWIG_arg_fail(5)) SWIG_fail
; 
19805         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19806         wxColourDatabase_Append(arg1
,(wxString 
const &)*arg2
,arg3
,arg4
,arg5
); 
19808         wxPyEndAllowThreads(__tstate
); 
19809         if (PyErr_Occurred()) SWIG_fail
; 
19811     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
19826 static PyObject 
* ColourDatabase_swigregister(PyObject 
*, PyObject 
*args
) { 
19828     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
19829     SWIG_TypeClientData(SWIGTYPE_p_wxColourDatabase
, obj
); 
19831     return Py_BuildValue((char *)""); 
19833 static PyObject 
*_wrap_FontList_AddFont(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
19834     PyObject 
*resultobj
; 
19835     wxFontList 
*arg1 
= (wxFontList 
*) 0 ; 
19836     wxFont 
*arg2 
= (wxFont 
*) 0 ; 
19837     PyObject 
* obj0 
= 0 ; 
19838     PyObject 
* obj1 
= 0 ; 
19839     char *kwnames
[] = { 
19840         (char *) "self",(char *) "font", NULL 
 
19843     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_AddFont",kwnames
,&obj0
,&obj1
)) goto fail
; 
19844     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontList
, SWIG_POINTER_EXCEPTION 
| 0); 
19845     if (SWIG_arg_fail(1)) SWIG_fail
; 
19846     SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION 
| 0); 
19847     if (SWIG_arg_fail(2)) SWIG_fail
; 
19849         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19850         (arg1
)->AddFont(arg2
); 
19852         wxPyEndAllowThreads(__tstate
); 
19853         if (PyErr_Occurred()) SWIG_fail
; 
19855     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
19862 static PyObject 
*_wrap_FontList_FindOrCreateFont(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
19863     PyObject 
*resultobj
; 
19864     wxFontList 
*arg1 
= (wxFontList 
*) 0 ; 
19869     bool arg6 
= (bool) false ; 
19870     wxString 
const &arg7_defvalue 
= wxPyEmptyString 
; 
19871     wxString 
*arg7 
= (wxString 
*) &arg7_defvalue 
; 
19872     wxFontEncoding arg8 
= (wxFontEncoding
) wxFONTENCODING_DEFAULT 
; 
19874     bool temp7 
= false ; 
19875     PyObject 
* obj0 
= 0 ; 
19876     PyObject 
* obj1 
= 0 ; 
19877     PyObject 
* obj2 
= 0 ; 
19878     PyObject 
* obj3 
= 0 ; 
19879     PyObject 
* obj4 
= 0 ; 
19880     PyObject 
* obj5 
= 0 ; 
19881     PyObject 
* obj6 
= 0 ; 
19882     PyObject 
* obj7 
= 0 ; 
19883     char *kwnames
[] = { 
19884         (char *) "self",(char *) "point_size",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "facename",(char *) "encoding", NULL 
 
19887     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:FontList_FindOrCreateFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
; 
19888     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontList
, SWIG_POINTER_EXCEPTION 
| 0); 
19889     if (SWIG_arg_fail(1)) SWIG_fail
; 
19891         arg2 
= (int)(SWIG_As_int(obj1
));  
19892         if (SWIG_arg_fail(2)) SWIG_fail
; 
19895         arg3 
= (int)(SWIG_As_int(obj2
));  
19896         if (SWIG_arg_fail(3)) SWIG_fail
; 
19899         arg4 
= (int)(SWIG_As_int(obj3
));  
19900         if (SWIG_arg_fail(4)) SWIG_fail
; 
19903         arg5 
= (int)(SWIG_As_int(obj4
));  
19904         if (SWIG_arg_fail(5)) SWIG_fail
; 
19908             arg6 
= (bool)(SWIG_As_bool(obj5
));  
19909             if (SWIG_arg_fail(6)) SWIG_fail
; 
19914             arg7 
= wxString_in_helper(obj6
); 
19915             if (arg7 
== NULL
) SWIG_fail
; 
19921             arg8 
= (wxFontEncoding
)(SWIG_As_int(obj7
));  
19922             if (SWIG_arg_fail(8)) SWIG_fail
; 
19926         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19927         result 
= (wxFont 
*)(arg1
)->FindOrCreateFont(arg2
,arg3
,arg4
,arg5
,arg6
,(wxString 
const &)*arg7
,(wxFontEncoding 
)arg8
); 
19929         wxPyEndAllowThreads(__tstate
); 
19930         if (PyErr_Occurred()) SWIG_fail
; 
19932     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 0); 
19947 static PyObject 
*_wrap_FontList_RemoveFont(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
19948     PyObject 
*resultobj
; 
19949     wxFontList 
*arg1 
= (wxFontList 
*) 0 ; 
19950     wxFont 
*arg2 
= (wxFont 
*) 0 ; 
19951     PyObject 
* obj0 
= 0 ; 
19952     PyObject 
* obj1 
= 0 ; 
19953     char *kwnames
[] = { 
19954         (char *) "self",(char *) "font", NULL 
 
19957     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_RemoveFont",kwnames
,&obj0
,&obj1
)) goto fail
; 
19958     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontList
, SWIG_POINTER_EXCEPTION 
| 0); 
19959     if (SWIG_arg_fail(1)) SWIG_fail
; 
19960     SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION 
| 0); 
19961     if (SWIG_arg_fail(2)) SWIG_fail
; 
19963         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19964         (arg1
)->RemoveFont(arg2
); 
19966         wxPyEndAllowThreads(__tstate
); 
19967         if (PyErr_Occurred()) SWIG_fail
; 
19969     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
19976 static PyObject 
*_wrap_FontList_GetCount(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
19977     PyObject 
*resultobj
; 
19978     wxFontList 
*arg1 
= (wxFontList 
*) 0 ; 
19980     PyObject 
* obj0 
= 0 ; 
19981     char *kwnames
[] = { 
19982         (char *) "self", NULL 
 
19985     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontList_GetCount",kwnames
,&obj0
)) goto fail
; 
19986     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontList
, SWIG_POINTER_EXCEPTION 
| 0); 
19987     if (SWIG_arg_fail(1)) SWIG_fail
; 
19989         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19990         result 
= (int)(arg1
)->GetCount(); 
19992         wxPyEndAllowThreads(__tstate
); 
19993         if (PyErr_Occurred()) SWIG_fail
; 
19996         resultobj 
= SWIG_From_int((int)(result
));  
20004 static PyObject 
* FontList_swigregister(PyObject 
*, PyObject 
*args
) { 
20006     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
20007     SWIG_TypeClientData(SWIGTYPE_p_wxFontList
, obj
); 
20009     return Py_BuildValue((char *)""); 
20011 static int _wrap_TheFontList_set(PyObject 
*) { 
20012     PyErr_SetString(PyExc_TypeError
,"Variable TheFontList is read-only."); 
20017 static PyObject 
*_wrap_TheFontList_get(void) { 
20020     pyobj 
= SWIG_NewPointerObj((void *)(wxTheFontList
), SWIGTYPE_p_wxFontList
, 0); 
20025 static int _wrap_ThePenList_set(PyObject 
*) { 
20026     PyErr_SetString(PyExc_TypeError
,"Variable ThePenList is read-only."); 
20031 static PyObject 
*_wrap_ThePenList_get(void) { 
20034     pyobj 
= SWIG_NewPointerObj((void *)(wxThePenList
), SWIGTYPE_p_wxPenList
, 0); 
20039 static int _wrap_TheBrushList_set(PyObject 
*) { 
20040     PyErr_SetString(PyExc_TypeError
,"Variable TheBrushList is read-only."); 
20045 static PyObject 
*_wrap_TheBrushList_get(void) { 
20048     pyobj 
= SWIG_NewPointerObj((void *)(wxTheBrushList
), SWIGTYPE_p_wxBrushList
, 0); 
20053 static int _wrap_TheColourDatabase_set(PyObject 
*) { 
20054     PyErr_SetString(PyExc_TypeError
,"Variable TheColourDatabase is read-only."); 
20059 static PyObject 
*_wrap_TheColourDatabase_get(void) { 
20062     pyobj 
= SWIG_NewPointerObj((void *)(wxTheColourDatabase
), SWIGTYPE_p_wxColourDatabase
, 0); 
20067 static PyObject 
*_wrap_new_Effects(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
20068     PyObject 
*resultobj
; 
20070     char *kwnames
[] = { 
20074     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Effects",kwnames
)) goto fail
; 
20076         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20077         result 
= (wxEffects 
*)new wxEffects(); 
20079         wxPyEndAllowThreads(__tstate
); 
20080         if (PyErr_Occurred()) SWIG_fail
; 
20082     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEffects
, 1); 
20089 static PyObject 
*_wrap_Effects_GetHighlightColour(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
20090     PyObject 
*resultobj
; 
20091     wxEffects 
*arg1 
= (wxEffects 
*) 0 ; 
20093     PyObject 
* obj0 
= 0 ; 
20094     char *kwnames
[] = { 
20095         (char *) "self", NULL 
 
20098     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetHighlightColour",kwnames
,&obj0
)) goto fail
; 
20099     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEffects
, SWIG_POINTER_EXCEPTION 
| 0); 
20100     if (SWIG_arg_fail(1)) SWIG_fail
; 
20102         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20103         result 
= ((wxEffects 
const *)arg1
)->GetHighlightColour(); 
20105         wxPyEndAllowThreads(__tstate
); 
20106         if (PyErr_Occurred()) SWIG_fail
; 
20109         wxColour 
* resultptr
; 
20110         resultptr 
= new wxColour((wxColour 
&)(result
)); 
20111         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1); 
20119 static PyObject 
*_wrap_Effects_GetLightShadow(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
20120     PyObject 
*resultobj
; 
20121     wxEffects 
*arg1 
= (wxEffects 
*) 0 ; 
20123     PyObject 
* obj0 
= 0 ; 
20124     char *kwnames
[] = { 
20125         (char *) "self", NULL 
 
20128     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetLightShadow",kwnames
,&obj0
)) goto fail
; 
20129     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEffects
, SWIG_POINTER_EXCEPTION 
| 0); 
20130     if (SWIG_arg_fail(1)) SWIG_fail
; 
20132         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20133         result 
= ((wxEffects 
const *)arg1
)->GetLightShadow(); 
20135         wxPyEndAllowThreads(__tstate
); 
20136         if (PyErr_Occurred()) SWIG_fail
; 
20139         wxColour 
* resultptr
; 
20140         resultptr 
= new wxColour((wxColour 
&)(result
)); 
20141         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1); 
20149 static PyObject 
*_wrap_Effects_GetFaceColour(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
20150     PyObject 
*resultobj
; 
20151     wxEffects 
*arg1 
= (wxEffects 
*) 0 ; 
20153     PyObject 
* obj0 
= 0 ; 
20154     char *kwnames
[] = { 
20155         (char *) "self", NULL 
 
20158     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetFaceColour",kwnames
,&obj0
)) goto fail
; 
20159     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEffects
, SWIG_POINTER_EXCEPTION 
| 0); 
20160     if (SWIG_arg_fail(1)) SWIG_fail
; 
20162         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20163         result 
= ((wxEffects 
const *)arg1
)->GetFaceColour(); 
20165         wxPyEndAllowThreads(__tstate
); 
20166         if (PyErr_Occurred()) SWIG_fail
; 
20169         wxColour 
* resultptr
; 
20170         resultptr 
= new wxColour((wxColour 
&)(result
)); 
20171         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1); 
20179 static PyObject 
*_wrap_Effects_GetMediumShadow(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
20180     PyObject 
*resultobj
; 
20181     wxEffects 
*arg1 
= (wxEffects 
*) 0 ; 
20183     PyObject 
* obj0 
= 0 ; 
20184     char *kwnames
[] = { 
20185         (char *) "self", NULL 
 
20188     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetMediumShadow",kwnames
,&obj0
)) goto fail
; 
20189     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEffects
, SWIG_POINTER_EXCEPTION 
| 0); 
20190     if (SWIG_arg_fail(1)) SWIG_fail
; 
20192         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20193         result 
= ((wxEffects 
const *)arg1
)->GetMediumShadow(); 
20195         wxPyEndAllowThreads(__tstate
); 
20196         if (PyErr_Occurred()) SWIG_fail
; 
20199         wxColour 
* resultptr
; 
20200         resultptr 
= new wxColour((wxColour 
&)(result
)); 
20201         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1); 
20209 static PyObject 
*_wrap_Effects_GetDarkShadow(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
20210     PyObject 
*resultobj
; 
20211     wxEffects 
*arg1 
= (wxEffects 
*) 0 ; 
20213     PyObject 
* obj0 
= 0 ; 
20214     char *kwnames
[] = { 
20215         (char *) "self", NULL 
 
20218     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetDarkShadow",kwnames
,&obj0
)) goto fail
; 
20219     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEffects
, SWIG_POINTER_EXCEPTION 
| 0); 
20220     if (SWIG_arg_fail(1)) SWIG_fail
; 
20222         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20223         result 
= ((wxEffects 
const *)arg1
)->GetDarkShadow(); 
20225         wxPyEndAllowThreads(__tstate
); 
20226         if (PyErr_Occurred()) SWIG_fail
; 
20229         wxColour 
* resultptr
; 
20230         resultptr 
= new wxColour((wxColour 
&)(result
)); 
20231         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1); 
20239 static PyObject 
*_wrap_Effects_SetHighlightColour(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
20240     PyObject 
*resultobj
; 
20241     wxEffects 
*arg1 
= (wxEffects 
*) 0 ; 
20242     wxColour 
*arg2 
= 0 ; 
20244     PyObject 
* obj0 
= 0 ; 
20245     PyObject 
* obj1 
= 0 ; 
20246     char *kwnames
[] = { 
20247         (char *) "self",(char *) "c", NULL 
 
20250     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetHighlightColour",kwnames
,&obj0
,&obj1
)) goto fail
; 
20251     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEffects
, SWIG_POINTER_EXCEPTION 
| 0); 
20252     if (SWIG_arg_fail(1)) SWIG_fail
; 
20255         if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
20258         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20259         (arg1
)->SetHighlightColour((wxColour 
const &)*arg2
); 
20261         wxPyEndAllowThreads(__tstate
); 
20262         if (PyErr_Occurred()) SWIG_fail
; 
20264     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
20271 static PyObject 
*_wrap_Effects_SetLightShadow(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
20272     PyObject 
*resultobj
; 
20273     wxEffects 
*arg1 
= (wxEffects 
*) 0 ; 
20274     wxColour 
*arg2 
= 0 ; 
20276     PyObject 
* obj0 
= 0 ; 
20277     PyObject 
* obj1 
= 0 ; 
20278     char *kwnames
[] = { 
20279         (char *) "self",(char *) "c", NULL 
 
20282     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetLightShadow",kwnames
,&obj0
,&obj1
)) goto fail
; 
20283     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEffects
, SWIG_POINTER_EXCEPTION 
| 0); 
20284     if (SWIG_arg_fail(1)) SWIG_fail
; 
20287         if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
20290         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20291         (arg1
)->SetLightShadow((wxColour 
const &)*arg2
); 
20293         wxPyEndAllowThreads(__tstate
); 
20294         if (PyErr_Occurred()) SWIG_fail
; 
20296     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
20303 static PyObject 
*_wrap_Effects_SetFaceColour(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
20304     PyObject 
*resultobj
; 
20305     wxEffects 
*arg1 
= (wxEffects 
*) 0 ; 
20306     wxColour 
*arg2 
= 0 ; 
20308     PyObject 
* obj0 
= 0 ; 
20309     PyObject 
* obj1 
= 0 ; 
20310     char *kwnames
[] = { 
20311         (char *) "self",(char *) "c", NULL 
 
20314     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetFaceColour",kwnames
,&obj0
,&obj1
)) goto fail
; 
20315     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEffects
, SWIG_POINTER_EXCEPTION 
| 0); 
20316     if (SWIG_arg_fail(1)) SWIG_fail
; 
20319         if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
20322         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20323         (arg1
)->SetFaceColour((wxColour 
const &)*arg2
); 
20325         wxPyEndAllowThreads(__tstate
); 
20326         if (PyErr_Occurred()) SWIG_fail
; 
20328     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
20335 static PyObject 
*_wrap_Effects_SetMediumShadow(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
20336     PyObject 
*resultobj
; 
20337     wxEffects 
*arg1 
= (wxEffects 
*) 0 ; 
20338     wxColour 
*arg2 
= 0 ; 
20340     PyObject 
* obj0 
= 0 ; 
20341     PyObject 
* obj1 
= 0 ; 
20342     char *kwnames
[] = { 
20343         (char *) "self",(char *) "c", NULL 
 
20346     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetMediumShadow",kwnames
,&obj0
,&obj1
)) goto fail
; 
20347     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEffects
, SWIG_POINTER_EXCEPTION 
| 0); 
20348     if (SWIG_arg_fail(1)) SWIG_fail
; 
20351         if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
20354         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20355         (arg1
)->SetMediumShadow((wxColour 
const &)*arg2
); 
20357         wxPyEndAllowThreads(__tstate
); 
20358         if (PyErr_Occurred()) SWIG_fail
; 
20360     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
20367 static PyObject 
*_wrap_Effects_SetDarkShadow(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
20368     PyObject 
*resultobj
; 
20369     wxEffects 
*arg1 
= (wxEffects 
*) 0 ; 
20370     wxColour 
*arg2 
= 0 ; 
20372     PyObject 
* obj0 
= 0 ; 
20373     PyObject 
* obj1 
= 0 ; 
20374     char *kwnames
[] = { 
20375         (char *) "self",(char *) "c", NULL 
 
20378     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetDarkShadow",kwnames
,&obj0
,&obj1
)) goto fail
; 
20379     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEffects
, SWIG_POINTER_EXCEPTION 
| 0); 
20380     if (SWIG_arg_fail(1)) SWIG_fail
; 
20383         if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
20386         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20387         (arg1
)->SetDarkShadow((wxColour 
const &)*arg2
); 
20389         wxPyEndAllowThreads(__tstate
); 
20390         if (PyErr_Occurred()) SWIG_fail
; 
20392     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
20399 static PyObject 
*_wrap_Effects_Set(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
20400     PyObject 
*resultobj
; 
20401     wxEffects 
*arg1 
= (wxEffects 
*) 0 ; 
20402     wxColour 
*arg2 
= 0 ; 
20403     wxColour 
*arg3 
= 0 ; 
20404     wxColour 
*arg4 
= 0 ; 
20405     wxColour 
*arg5 
= 0 ; 
20406     wxColour 
*arg6 
= 0 ; 
20412     PyObject 
* obj0 
= 0 ; 
20413     PyObject 
* obj1 
= 0 ; 
20414     PyObject 
* obj2 
= 0 ; 
20415     PyObject 
* obj3 
= 0 ; 
20416     PyObject 
* obj4 
= 0 ; 
20417     PyObject 
* obj5 
= 0 ; 
20418     char *kwnames
[] = { 
20419         (char *) "self",(char *) "highlightColour",(char *) "lightShadow",(char *) "faceColour",(char *) "mediumShadow",(char *) "darkShadow", NULL 
 
20422     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Effects_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
; 
20423     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEffects
, SWIG_POINTER_EXCEPTION 
| 0); 
20424     if (SWIG_arg_fail(1)) SWIG_fail
; 
20427         if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
20431         if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
; 
20435         if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
; 
20439         if ( ! wxColour_helper(obj4
, &arg5
)) SWIG_fail
; 
20443         if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
; 
20446         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20447         (arg1
)->Set((wxColour 
const &)*arg2
,(wxColour 
const &)*arg3
,(wxColour 
const &)*arg4
,(wxColour 
const &)*arg5
,(wxColour 
const &)*arg6
); 
20449         wxPyEndAllowThreads(__tstate
); 
20450         if (PyErr_Occurred()) SWIG_fail
; 
20452     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
20459 static PyObject 
*_wrap_Effects_DrawSunkenEdge(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
20460     PyObject 
*resultobj
; 
20461     wxEffects 
*arg1 
= (wxEffects 
*) 0 ; 
20464     int arg4 
= (int) 1 ; 
20466     PyObject 
* obj0 
= 0 ; 
20467     PyObject 
* obj1 
= 0 ; 
20468     PyObject 
* obj2 
= 0 ; 
20469     PyObject 
* obj3 
= 0 ; 
20470     char *kwnames
[] = { 
20471         (char *) "self",(char *) "dc",(char *) "rect",(char *) "borderSize", NULL 
 
20474     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Effects_DrawSunkenEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
20475     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEffects
, SWIG_POINTER_EXCEPTION 
| 0); 
20476     if (SWIG_arg_fail(1)) SWIG_fail
; 
20478         SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
20479         if (SWIG_arg_fail(2)) SWIG_fail
; 
20480         if (arg2 
== NULL
) { 
20481             SWIG_null_ref("wxDC"); 
20483         if (SWIG_arg_fail(2)) SWIG_fail
; 
20487         if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
; 
20491             arg4 
= (int)(SWIG_As_int(obj3
));  
20492             if (SWIG_arg_fail(4)) SWIG_fail
; 
20496         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20497         (arg1
)->DrawSunkenEdge(*arg2
,(wxRect 
const &)*arg3
,arg4
); 
20499         wxPyEndAllowThreads(__tstate
); 
20500         if (PyErr_Occurred()) SWIG_fail
; 
20502     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
20509 static PyObject 
*_wrap_Effects_TileBitmap(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
20510     PyObject 
*resultobj
; 
20511     wxEffects 
*arg1 
= (wxEffects 
*) 0 ; 
20514     wxBitmap 
*arg4 
= 0 ; 
20517     PyObject 
* obj0 
= 0 ; 
20518     PyObject 
* obj1 
= 0 ; 
20519     PyObject 
* obj2 
= 0 ; 
20520     PyObject 
* obj3 
= 0 ; 
20521     char *kwnames
[] = { 
20522         (char *) "self",(char *) "rect",(char *) "dc",(char *) "bitmap", NULL 
 
20525     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Effects_TileBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
20526     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEffects
, SWIG_POINTER_EXCEPTION 
| 0); 
20527     if (SWIG_arg_fail(1)) SWIG_fail
; 
20530         if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
; 
20533         SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
20534         if (SWIG_arg_fail(3)) SWIG_fail
; 
20535         if (arg3 
== NULL
) { 
20536             SWIG_null_ref("wxDC"); 
20538         if (SWIG_arg_fail(3)) SWIG_fail
; 
20541         SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION 
| 0); 
20542         if (SWIG_arg_fail(4)) SWIG_fail
; 
20543         if (arg4 
== NULL
) { 
20544             SWIG_null_ref("wxBitmap"); 
20546         if (SWIG_arg_fail(4)) SWIG_fail
; 
20549         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20550         result 
= (bool)(arg1
)->TileBitmap((wxRect 
const &)*arg2
,*arg3
,*arg4
); 
20552         wxPyEndAllowThreads(__tstate
); 
20553         if (PyErr_Occurred()) SWIG_fail
; 
20556         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
20564 static PyObject 
* Effects_swigregister(PyObject 
*, PyObject 
*args
) { 
20566     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
20567     SWIG_TypeClientData(SWIGTYPE_p_wxEffects
, obj
); 
20569     return Py_BuildValue((char *)""); 
20571 static PyObject 
*_wrap_new_SplitterRenderParams(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
20572     PyObject 
*resultobj
; 
20576     wxSplitterRenderParams 
*result
; 
20577     PyObject 
* obj0 
= 0 ; 
20578     PyObject 
* obj1 
= 0 ; 
20579     PyObject 
* obj2 
= 0 ; 
20580     char *kwnames
[] = { 
20581         (char *) "widthSash_",(char *) "border_",(char *) "isSens_", NULL 
 
20584     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_SplitterRenderParams",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
20586         arg1 
= (int)(SWIG_As_int(obj0
));  
20587         if (SWIG_arg_fail(1)) SWIG_fail
; 
20590         arg2 
= (int)(SWIG_As_int(obj1
));  
20591         if (SWIG_arg_fail(2)) SWIG_fail
; 
20594         arg3 
= (bool)(SWIG_As_bool(obj2
));  
20595         if (SWIG_arg_fail(3)) SWIG_fail
; 
20598         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20599         result 
= (wxSplitterRenderParams 
*)new wxSplitterRenderParams(arg1
,arg2
,arg3
); 
20601         wxPyEndAllowThreads(__tstate
); 
20602         if (PyErr_Occurred()) SWIG_fail
; 
20604     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterRenderParams
, 1); 
20611 static PyObject 
*_wrap_delete_SplitterRenderParams(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
20612     PyObject 
*resultobj
; 
20613     wxSplitterRenderParams 
*arg1 
= (wxSplitterRenderParams 
*) 0 ; 
20614     PyObject 
* obj0 
= 0 ; 
20615     char *kwnames
[] = { 
20616         (char *) "self", NULL 
 
20619     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_SplitterRenderParams",kwnames
,&obj0
)) goto fail
; 
20620     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_EXCEPTION 
| 0); 
20621     if (SWIG_arg_fail(1)) SWIG_fail
; 
20623         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20626         wxPyEndAllowThreads(__tstate
); 
20627         if (PyErr_Occurred()) SWIG_fail
; 
20629     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
20636 static PyObject 
*_wrap_SplitterRenderParams_widthSash_get(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
20637     PyObject 
*resultobj
; 
20638     wxSplitterRenderParams 
*arg1 
= (wxSplitterRenderParams 
*) 0 ; 
20640     PyObject 
* obj0 
= 0 ; 
20641     char *kwnames
[] = { 
20642         (char *) "self", NULL 
 
20645     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterRenderParams_widthSash_get",kwnames
,&obj0
)) goto fail
; 
20646     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_EXCEPTION 
| 0); 
20647     if (SWIG_arg_fail(1)) SWIG_fail
; 
20648     result 
= (int)(int) ((arg1
)->widthSash
); 
20651         resultobj 
= SWIG_From_int((int)(result
));  
20659 static PyObject 
*_wrap_SplitterRenderParams_border_get(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
20660     PyObject 
*resultobj
; 
20661     wxSplitterRenderParams 
*arg1 
= (wxSplitterRenderParams 
*) 0 ; 
20663     PyObject 
* obj0 
= 0 ; 
20664     char *kwnames
[] = { 
20665         (char *) "self", NULL 
 
20668     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterRenderParams_border_get",kwnames
,&obj0
)) goto fail
; 
20669     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_EXCEPTION 
| 0); 
20670     if (SWIG_arg_fail(1)) SWIG_fail
; 
20671     result 
= (int)(int) ((arg1
)->border
); 
20674         resultobj 
= SWIG_From_int((int)(result
));  
20682 static PyObject 
*_wrap_SplitterRenderParams_isHotSensitive_get(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
20683     PyObject 
*resultobj
; 
20684     wxSplitterRenderParams 
*arg1 
= (wxSplitterRenderParams 
*) 0 ; 
20686     PyObject 
* obj0 
= 0 ; 
20687     char *kwnames
[] = { 
20688         (char *) "self", NULL 
 
20691     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterRenderParams_isHotSensitive_get",kwnames
,&obj0
)) goto fail
; 
20692     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_EXCEPTION 
| 0); 
20693     if (SWIG_arg_fail(1)) SWIG_fail
; 
20694     result 
= (bool)(bool) ((arg1
)->isHotSensitive
); 
20697         resultobj 
= SWIG_From_bool((bool)(result
));  
20705 static PyObject 
* SplitterRenderParams_swigregister(PyObject 
*, PyObject 
*args
) { 
20707     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
20708     SWIG_TypeClientData(SWIGTYPE_p_wxSplitterRenderParams
, obj
); 
20710     return Py_BuildValue((char *)""); 
20712 static PyObject 
*_wrap_new_RendererVersion(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
20713     PyObject 
*resultobj
; 
20716     wxRendererVersion 
*result
; 
20717     PyObject 
* obj0 
= 0 ; 
20718     PyObject 
* obj1 
= 0 ; 
20719     char *kwnames
[] = { 
20720         (char *) "version_",(char *) "age_", NULL 
 
20723     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RendererVersion",kwnames
,&obj0
,&obj1
)) goto fail
; 
20725         arg1 
= (int)(SWIG_As_int(obj0
));  
20726         if (SWIG_arg_fail(1)) SWIG_fail
; 
20729         arg2 
= (int)(SWIG_As_int(obj1
));  
20730         if (SWIG_arg_fail(2)) SWIG_fail
; 
20733         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20734         result 
= (wxRendererVersion 
*)new wxRendererVersion(arg1
,arg2
); 
20736         wxPyEndAllowThreads(__tstate
); 
20737         if (PyErr_Occurred()) SWIG_fail
; 
20739     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRendererVersion
, 1); 
20746 static PyObject 
*_wrap_delete_RendererVersion(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
20747     PyObject 
*resultobj
; 
20748     wxRendererVersion 
*arg1 
= (wxRendererVersion 
*) 0 ; 
20749     PyObject 
* obj0 
= 0 ; 
20750     char *kwnames
[] = { 
20751         (char *) "self", NULL 
 
20754     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_RendererVersion",kwnames
,&obj0
)) goto fail
; 
20755     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_EXCEPTION 
| 0); 
20756     if (SWIG_arg_fail(1)) SWIG_fail
; 
20758         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20761         wxPyEndAllowThreads(__tstate
); 
20762         if (PyErr_Occurred()) SWIG_fail
; 
20764     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
20771 static PyObject 
*_wrap_RendererVersion_IsCompatible(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
20772     PyObject 
*resultobj
; 
20773     wxRendererVersion 
*arg1 
= 0 ; 
20775     PyObject 
* obj0 
= 0 ; 
20776     char *kwnames
[] = { 
20777         (char *) "ver", NULL 
 
20780     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererVersion_IsCompatible",kwnames
,&obj0
)) goto fail
; 
20782         SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_EXCEPTION 
| 0); 
20783         if (SWIG_arg_fail(1)) SWIG_fail
; 
20784         if (arg1 
== NULL
) { 
20785             SWIG_null_ref("wxRendererVersion"); 
20787         if (SWIG_arg_fail(1)) SWIG_fail
; 
20790         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20791         result 
= (bool)wxRendererVersion::IsCompatible((wxRendererVersion 
const &)*arg1
); 
20793         wxPyEndAllowThreads(__tstate
); 
20794         if (PyErr_Occurred()) SWIG_fail
; 
20797         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
20805 static PyObject 
*_wrap_RendererVersion_version_get(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
20806     PyObject 
*resultobj
; 
20807     wxRendererVersion 
*arg1 
= (wxRendererVersion 
*) 0 ; 
20809     PyObject 
* obj0 
= 0 ; 
20810     char *kwnames
[] = { 
20811         (char *) "self", NULL 
 
20814     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererVersion_version_get",kwnames
,&obj0
)) goto fail
; 
20815     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_EXCEPTION 
| 0); 
20816     if (SWIG_arg_fail(1)) SWIG_fail
; 
20817     result 
= (int)(int) ((arg1
)->version
); 
20820         resultobj 
= SWIG_From_int((int)(result
));  
20828 static PyObject 
*_wrap_RendererVersion_age_get(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
20829     PyObject 
*resultobj
; 
20830     wxRendererVersion 
*arg1 
= (wxRendererVersion 
*) 0 ; 
20832     PyObject 
* obj0 
= 0 ; 
20833     char *kwnames
[] = { 
20834         (char *) "self", NULL 
 
20837     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererVersion_age_get",kwnames
,&obj0
)) goto fail
; 
20838     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_EXCEPTION 
| 0); 
20839     if (SWIG_arg_fail(1)) SWIG_fail
; 
20840     result 
= (int)(int) ((arg1
)->age
); 
20843         resultobj 
= SWIG_From_int((int)(result
));  
20851 static PyObject 
* RendererVersion_swigregister(PyObject 
*, PyObject 
*args
) { 
20853     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
20854     SWIG_TypeClientData(SWIGTYPE_p_wxRendererVersion
, obj
); 
20856     return Py_BuildValue((char *)""); 
20858 static PyObject 
*_wrap_RendererNative_DrawHeaderButton(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
20859     PyObject 
*resultobj
; 
20860     wxRendererNative 
*arg1 
= (wxRendererNative 
*) 0 ; 
20861     wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
20864     int arg5 
= (int) 0 ; 
20866     PyObject 
* obj0 
= 0 ; 
20867     PyObject 
* obj1 
= 0 ; 
20868     PyObject 
* obj2 
= 0 ; 
20869     PyObject 
* obj3 
= 0 ; 
20870     PyObject 
* obj4 
= 0 ; 
20871     char *kwnames
[] = { 
20872         (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL 
 
20875     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawHeaderButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
; 
20876     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRendererNative
, SWIG_POINTER_EXCEPTION 
| 0); 
20877     if (SWIG_arg_fail(1)) SWIG_fail
; 
20878     SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
20879     if (SWIG_arg_fail(2)) SWIG_fail
; 
20881         SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
20882         if (SWIG_arg_fail(3)) SWIG_fail
; 
20883         if (arg3 
== NULL
) { 
20884             SWIG_null_ref("wxDC"); 
20886         if (SWIG_arg_fail(3)) SWIG_fail
; 
20890         if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
; 
20894             arg5 
= (int)(SWIG_As_int(obj4
));  
20895             if (SWIG_arg_fail(5)) SWIG_fail
; 
20899         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20900         (arg1
)->DrawHeaderButton(arg2
,*arg3
,(wxRect 
const &)*arg4
,arg5
); 
20902         wxPyEndAllowThreads(__tstate
); 
20903         if (PyErr_Occurred()) SWIG_fail
; 
20905     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
20912 static PyObject 
*_wrap_RendererNative_DrawTreeItemButton(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
20913     PyObject 
*resultobj
; 
20914     wxRendererNative 
*arg1 
= (wxRendererNative 
*) 0 ; 
20915     wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
20918     int arg5 
= (int) 0 ; 
20920     PyObject 
* obj0 
= 0 ; 
20921     PyObject 
* obj1 
= 0 ; 
20922     PyObject 
* obj2 
= 0 ; 
20923     PyObject 
* obj3 
= 0 ; 
20924     PyObject 
* obj4 
= 0 ; 
20925     char *kwnames
[] = { 
20926         (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL 
 
20929     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawTreeItemButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
; 
20930     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRendererNative
, SWIG_POINTER_EXCEPTION 
| 0); 
20931     if (SWIG_arg_fail(1)) SWIG_fail
; 
20932     SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
20933     if (SWIG_arg_fail(2)) SWIG_fail
; 
20935         SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
20936         if (SWIG_arg_fail(3)) SWIG_fail
; 
20937         if (arg3 
== NULL
) { 
20938             SWIG_null_ref("wxDC"); 
20940         if (SWIG_arg_fail(3)) SWIG_fail
; 
20944         if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
; 
20948             arg5 
= (int)(SWIG_As_int(obj4
));  
20949             if (SWIG_arg_fail(5)) SWIG_fail
; 
20953         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20954         (arg1
)->DrawTreeItemButton(arg2
,*arg3
,(wxRect 
const &)*arg4
,arg5
); 
20956         wxPyEndAllowThreads(__tstate
); 
20957         if (PyErr_Occurred()) SWIG_fail
; 
20959     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
20966 static PyObject 
*_wrap_RendererNative_DrawSplitterBorder(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
20967     PyObject 
*resultobj
; 
20968     wxRendererNative 
*arg1 
= (wxRendererNative 
*) 0 ; 
20969     wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
20972     int arg5 
= (int) 0 ; 
20974     PyObject 
* obj0 
= 0 ; 
20975     PyObject 
* obj1 
= 0 ; 
20976     PyObject 
* obj2 
= 0 ; 
20977     PyObject 
* obj3 
= 0 ; 
20978     PyObject 
* obj4 
= 0 ; 
20979     char *kwnames
[] = { 
20980         (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL 
 
20983     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawSplitterBorder",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
; 
20984     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRendererNative
, SWIG_POINTER_EXCEPTION 
| 0); 
20985     if (SWIG_arg_fail(1)) SWIG_fail
; 
20986     SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
20987     if (SWIG_arg_fail(2)) SWIG_fail
; 
20989         SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
20990         if (SWIG_arg_fail(3)) SWIG_fail
; 
20991         if (arg3 
== NULL
) { 
20992             SWIG_null_ref("wxDC"); 
20994         if (SWIG_arg_fail(3)) SWIG_fail
; 
20998         if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
; 
21002             arg5 
= (int)(SWIG_As_int(obj4
));  
21003             if (SWIG_arg_fail(5)) SWIG_fail
; 
21007         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21008         (arg1
)->DrawSplitterBorder(arg2
,*arg3
,(wxRect 
const &)*arg4
,arg5
); 
21010         wxPyEndAllowThreads(__tstate
); 
21011         if (PyErr_Occurred()) SWIG_fail
; 
21013     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
21020 static PyObject 
*_wrap_RendererNative_DrawSplitterSash(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
21021     PyObject 
*resultobj
; 
21022     wxRendererNative 
*arg1 
= (wxRendererNative 
*) 0 ; 
21023     wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
21027     wxOrientation arg6 
; 
21028     int arg7 
= (int) 0 ; 
21030     PyObject 
* obj0 
= 0 ; 
21031     PyObject 
* obj1 
= 0 ; 
21032     PyObject 
* obj2 
= 0 ; 
21033     PyObject 
* obj3 
= 0 ; 
21034     PyObject 
* obj4 
= 0 ; 
21035     PyObject 
* obj5 
= 0 ; 
21036     PyObject 
* obj6 
= 0 ; 
21037     char *kwnames
[] = { 
21038         (char *) "self",(char *) "win",(char *) "dc",(char *) "size",(char *) "position",(char *) "orient",(char *) "flags", NULL 
 
21041     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:RendererNative_DrawSplitterSash",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
; 
21042     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRendererNative
, SWIG_POINTER_EXCEPTION 
| 0); 
21043     if (SWIG_arg_fail(1)) SWIG_fail
; 
21044     SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
21045     if (SWIG_arg_fail(2)) SWIG_fail
; 
21047         SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
21048         if (SWIG_arg_fail(3)) SWIG_fail
; 
21049         if (arg3 
== NULL
) { 
21050             SWIG_null_ref("wxDC"); 
21052         if (SWIG_arg_fail(3)) SWIG_fail
; 
21056         if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
; 
21059         arg5 
= (int)(SWIG_As_int(obj4
));  
21060         if (SWIG_arg_fail(5)) SWIG_fail
; 
21063         arg6 
= (wxOrientation
)(SWIG_As_int(obj5
));  
21064         if (SWIG_arg_fail(6)) SWIG_fail
; 
21068             arg7 
= (int)(SWIG_As_int(obj6
));  
21069             if (SWIG_arg_fail(7)) SWIG_fail
; 
21073         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21074         (arg1
)->DrawSplitterSash(arg2
,*arg3
,(wxSize 
const &)*arg4
,arg5
,(wxOrientation 
)arg6
,arg7
); 
21076         wxPyEndAllowThreads(__tstate
); 
21077         if (PyErr_Occurred()) SWIG_fail
; 
21079     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
21086 static PyObject 
*_wrap_RendererNative_DrawComboBoxDropButton(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
21087     PyObject 
*resultobj
; 
21088     wxRendererNative 
*arg1 
= (wxRendererNative 
*) 0 ; 
21089     wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
21092     int arg5 
= (int) 0 ; 
21094     PyObject 
* obj0 
= 0 ; 
21095     PyObject 
* obj1 
= 0 ; 
21096     PyObject 
* obj2 
= 0 ; 
21097     PyObject 
* obj3 
= 0 ; 
21098     PyObject 
* obj4 
= 0 ; 
21099     char *kwnames
[] = { 
21100         (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL 
 
21103     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawComboBoxDropButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
; 
21104     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRendererNative
, SWIG_POINTER_EXCEPTION 
| 0); 
21105     if (SWIG_arg_fail(1)) SWIG_fail
; 
21106     SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
21107     if (SWIG_arg_fail(2)) SWIG_fail
; 
21109         SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
21110         if (SWIG_arg_fail(3)) SWIG_fail
; 
21111         if (arg3 
== NULL
) { 
21112             SWIG_null_ref("wxDC"); 
21114         if (SWIG_arg_fail(3)) SWIG_fail
; 
21118         if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
; 
21122             arg5 
= (int)(SWIG_As_int(obj4
));  
21123             if (SWIG_arg_fail(5)) SWIG_fail
; 
21127         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21128         (arg1
)->DrawComboBoxDropButton(arg2
,*arg3
,(wxRect 
const &)*arg4
,arg5
); 
21130         wxPyEndAllowThreads(__tstate
); 
21131         if (PyErr_Occurred()) SWIG_fail
; 
21133     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
21140 static PyObject 
*_wrap_RendererNative_DrawDropArrow(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
21141     PyObject 
*resultobj
; 
21142     wxRendererNative 
*arg1 
= (wxRendererNative 
*) 0 ; 
21143     wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
21146     int arg5 
= (int) 0 ; 
21148     PyObject 
* obj0 
= 0 ; 
21149     PyObject 
* obj1 
= 0 ; 
21150     PyObject 
* obj2 
= 0 ; 
21151     PyObject 
* obj3 
= 0 ; 
21152     PyObject 
* obj4 
= 0 ; 
21153     char *kwnames
[] = { 
21154         (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL 
 
21157     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawDropArrow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
; 
21158     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRendererNative
, SWIG_POINTER_EXCEPTION 
| 0); 
21159     if (SWIG_arg_fail(1)) SWIG_fail
; 
21160     SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
21161     if (SWIG_arg_fail(2)) SWIG_fail
; 
21163         SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
21164         if (SWIG_arg_fail(3)) SWIG_fail
; 
21165         if (arg3 
== NULL
) { 
21166             SWIG_null_ref("wxDC"); 
21168         if (SWIG_arg_fail(3)) SWIG_fail
; 
21172         if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
; 
21176             arg5 
= (int)(SWIG_As_int(obj4
));  
21177             if (SWIG_arg_fail(5)) SWIG_fail
; 
21181         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21182         (arg1
)->DrawDropArrow(arg2
,*arg3
,(wxRect 
const &)*arg4
,arg5
); 
21184         wxPyEndAllowThreads(__tstate
); 
21185         if (PyErr_Occurred()) SWIG_fail
; 
21187     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
21194 static PyObject 
*_wrap_RendererNative_GetSplitterParams(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
21195     PyObject 
*resultobj
; 
21196     wxRendererNative 
*arg1 
= (wxRendererNative 
*) 0 ; 
21197     wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
21198     SwigValueWrapper
<wxSplitterRenderParams 
> result
; 
21199     PyObject 
* obj0 
= 0 ; 
21200     PyObject 
* obj1 
= 0 ; 
21201     char *kwnames
[] = { 
21202         (char *) "self",(char *) "win", NULL 
 
21205     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RendererNative_GetSplitterParams",kwnames
,&obj0
,&obj1
)) goto fail
; 
21206     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRendererNative
, SWIG_POINTER_EXCEPTION 
| 0); 
21207     if (SWIG_arg_fail(1)) SWIG_fail
; 
21208     SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
21209     if (SWIG_arg_fail(2)) SWIG_fail
; 
21211         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21212         result 
= (arg1
)->GetSplitterParams((wxWindow 
const *)arg2
); 
21214         wxPyEndAllowThreads(__tstate
); 
21215         if (PyErr_Occurred()) SWIG_fail
; 
21218         wxSplitterRenderParams 
* resultptr
; 
21219         resultptr 
= new wxSplitterRenderParams((wxSplitterRenderParams 
&)(result
)); 
21220         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSplitterRenderParams
, 1); 
21228 static PyObject 
*_wrap_RendererNative_Get(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
21229     PyObject 
*resultobj
; 
21230     wxRendererNative 
*result
; 
21231     char *kwnames
[] = { 
21235     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":RendererNative_Get",kwnames
)) goto fail
; 
21237         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21239             wxRendererNative 
&_result_ref 
= wxRendererNative::Get(); 
21240             result 
= (wxRendererNative 
*) &_result_ref
; 
21243         wxPyEndAllowThreads(__tstate
); 
21244         if (PyErr_Occurred()) SWIG_fail
; 
21246     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRendererNative
, 0); 
21253 static PyObject 
*_wrap_RendererNative_GetGeneric(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
21254     PyObject 
*resultobj
; 
21255     wxRendererNative 
*result
; 
21256     char *kwnames
[] = { 
21260     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":RendererNative_GetGeneric",kwnames
)) goto fail
; 
21262         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21264             wxRendererNative 
&_result_ref 
= wxRendererNative::GetGeneric(); 
21265             result 
= (wxRendererNative 
*) &_result_ref
; 
21268         wxPyEndAllowThreads(__tstate
); 
21269         if (PyErr_Occurred()) SWIG_fail
; 
21271     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRendererNative
, 0); 
21278 static PyObject 
*_wrap_RendererNative_GetDefault(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
21279     PyObject 
*resultobj
; 
21280     wxRendererNative 
*result
; 
21281     char *kwnames
[] = { 
21285     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":RendererNative_GetDefault",kwnames
)) goto fail
; 
21287         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21289             wxRendererNative 
&_result_ref 
= wxRendererNative::GetDefault(); 
21290             result 
= (wxRendererNative 
*) &_result_ref
; 
21293         wxPyEndAllowThreads(__tstate
); 
21294         if (PyErr_Occurred()) SWIG_fail
; 
21296     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRendererNative
, 0); 
21303 static PyObject 
*_wrap_RendererNative_Set(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
21304     PyObject 
*resultobj
; 
21305     wxRendererNative 
*arg1 
= (wxRendererNative 
*) 0 ; 
21306     wxRendererNative 
*result
; 
21307     PyObject 
* obj0 
= 0 ; 
21308     char *kwnames
[] = { 
21309         (char *) "renderer", NULL 
 
21312     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererNative_Set",kwnames
,&obj0
)) goto fail
; 
21313     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRendererNative
, SWIG_POINTER_EXCEPTION 
| 0); 
21314     if (SWIG_arg_fail(1)) SWIG_fail
; 
21316         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21317         result 
= (wxRendererNative 
*)wxRendererNative::Set(arg1
); 
21319         wxPyEndAllowThreads(__tstate
); 
21320         if (PyErr_Occurred()) SWIG_fail
; 
21322     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRendererNative
, 0); 
21329 static PyObject 
*_wrap_RendererNative_GetVersion(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
21330     PyObject 
*resultobj
; 
21331     wxRendererNative 
*arg1 
= (wxRendererNative 
*) 0 ; 
21332     SwigValueWrapper
<wxRendererVersion 
> result
; 
21333     PyObject 
* obj0 
= 0 ; 
21334     char *kwnames
[] = { 
21335         (char *) "self", NULL 
 
21338     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererNative_GetVersion",kwnames
,&obj0
)) goto fail
; 
21339     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRendererNative
, SWIG_POINTER_EXCEPTION 
| 0); 
21340     if (SWIG_arg_fail(1)) SWIG_fail
; 
21342         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21343         result 
= ((wxRendererNative 
const *)arg1
)->GetVersion(); 
21345         wxPyEndAllowThreads(__tstate
); 
21346         if (PyErr_Occurred()) SWIG_fail
; 
21349         wxRendererVersion 
* resultptr
; 
21350         resultptr 
= new wxRendererVersion((wxRendererVersion 
&)(result
)); 
21351         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRendererVersion
, 1); 
21359 static PyObject 
* RendererNative_swigregister(PyObject 
*, PyObject 
*args
) { 
21361     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
21362     SWIG_TypeClientData(SWIGTYPE_p_wxRendererNative
, obj
); 
21364     return Py_BuildValue((char *)""); 
21366 static PyMethodDef SwigMethods
[] = { 
21367          { (char *)"new_GDIObject", (PyCFunction
) _wrap_new_GDIObject
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21368          { (char *)"delete_GDIObject", (PyCFunction
) _wrap_delete_GDIObject
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21369          { (char *)"GDIObject_GetVisible", (PyCFunction
) _wrap_GDIObject_GetVisible
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21370          { (char *)"GDIObject_SetVisible", (PyCFunction
) _wrap_GDIObject_SetVisible
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21371          { (char *)"GDIObject_IsNull", (PyCFunction
) _wrap_GDIObject_IsNull
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21372          { (char *)"GDIObject_swigregister", GDIObject_swigregister
, METH_VARARGS
, NULL
}, 
21373          { (char *)"new_Colour", (PyCFunction
) _wrap_new_Colour
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21374          { (char *)"new_NamedColour", (PyCFunction
) _wrap_new_NamedColour
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21375          { (char *)"new_ColourRGB", (PyCFunction
) _wrap_new_ColourRGB
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21376          { (char *)"delete_Colour", (PyCFunction
) _wrap_delete_Colour
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21377          { (char *)"Colour_Red", (PyCFunction
) _wrap_Colour_Red
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21378          { (char *)"Colour_Green", (PyCFunction
) _wrap_Colour_Green
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21379          { (char *)"Colour_Blue", (PyCFunction
) _wrap_Colour_Blue
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21380          { (char *)"Colour_Ok", (PyCFunction
) _wrap_Colour_Ok
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21381          { (char *)"Colour_Set", (PyCFunction
) _wrap_Colour_Set
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21382          { (char *)"Colour_SetRGB", (PyCFunction
) _wrap_Colour_SetRGB
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21383          { (char *)"Colour_SetFromName", (PyCFunction
) _wrap_Colour_SetFromName
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21384          { (char *)"Colour_GetPixel", (PyCFunction
) _wrap_Colour_GetPixel
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21385          { (char *)"Colour___eq__", (PyCFunction
) _wrap_Colour___eq__
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21386          { (char *)"Colour___ne__", (PyCFunction
) _wrap_Colour___ne__
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21387          { (char *)"Colour_Get", (PyCFunction
) _wrap_Colour_Get
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21388          { (char *)"Colour_GetRGB", (PyCFunction
) _wrap_Colour_GetRGB
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21389          { (char *)"Colour_swigregister", Colour_swigregister
, METH_VARARGS
, NULL
}, 
21390          { (char *)"new_Palette", (PyCFunction
) _wrap_new_Palette
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21391          { (char *)"delete_Palette", (PyCFunction
) _wrap_delete_Palette
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21392          { (char *)"Palette_GetPixel", (PyCFunction
) _wrap_Palette_GetPixel
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21393          { (char *)"Palette_GetRGB", (PyCFunction
) _wrap_Palette_GetRGB
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21394          { (char *)"Palette_GetColoursCount", (PyCFunction
) _wrap_Palette_GetColoursCount
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21395          { (char *)"Palette_Ok", (PyCFunction
) _wrap_Palette_Ok
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21396          { (char *)"Palette_swigregister", Palette_swigregister
, METH_VARARGS
, NULL
}, 
21397          { (char *)"new_Pen", (PyCFunction
) _wrap_new_Pen
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21398          { (char *)"delete_Pen", (PyCFunction
) _wrap_delete_Pen
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21399          { (char *)"Pen_GetCap", (PyCFunction
) _wrap_Pen_GetCap
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21400          { (char *)"Pen_GetColour", (PyCFunction
) _wrap_Pen_GetColour
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21401          { (char *)"Pen_GetJoin", (PyCFunction
) _wrap_Pen_GetJoin
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21402          { (char *)"Pen_GetStyle", (PyCFunction
) _wrap_Pen_GetStyle
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21403          { (char *)"Pen_GetWidth", (PyCFunction
) _wrap_Pen_GetWidth
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21404          { (char *)"Pen_Ok", (PyCFunction
) _wrap_Pen_Ok
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21405          { (char *)"Pen_SetCap", (PyCFunction
) _wrap_Pen_SetCap
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21406          { (char *)"Pen_SetColour", (PyCFunction
) _wrap_Pen_SetColour
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21407          { (char *)"Pen_SetJoin", (PyCFunction
) _wrap_Pen_SetJoin
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21408          { (char *)"Pen_SetStyle", (PyCFunction
) _wrap_Pen_SetStyle
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21409          { (char *)"Pen_SetWidth", (PyCFunction
) _wrap_Pen_SetWidth
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21410          { (char *)"Pen_SetDashes", (PyCFunction
) _wrap_Pen_SetDashes
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21411          { (char *)"Pen_GetDashes", (PyCFunction
) _wrap_Pen_GetDashes
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21412          { (char *)"Pen__SetDashes", (PyCFunction
) _wrap_Pen__SetDashes
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21413          { (char *)"Pen_GetDashCount", (PyCFunction
) _wrap_Pen_GetDashCount
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21414          { (char *)"Pen___eq__", (PyCFunction
) _wrap_Pen___eq__
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21415          { (char *)"Pen___ne__", (PyCFunction
) _wrap_Pen___ne__
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21416          { (char *)"Pen_swigregister", Pen_swigregister
, METH_VARARGS
, NULL
}, 
21417          { (char *)"new_Brush", (PyCFunction
) _wrap_new_Brush
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21418          { (char *)"new_BrushFromBitmap", (PyCFunction
) _wrap_new_BrushFromBitmap
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21419          { (char *)"delete_Brush", (PyCFunction
) _wrap_delete_Brush
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21420          { (char *)"Brush_SetColour", (PyCFunction
) _wrap_Brush_SetColour
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21421          { (char *)"Brush_SetStyle", (PyCFunction
) _wrap_Brush_SetStyle
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21422          { (char *)"Brush_SetStipple", (PyCFunction
) _wrap_Brush_SetStipple
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21423          { (char *)"Brush_GetColour", (PyCFunction
) _wrap_Brush_GetColour
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21424          { (char *)"Brush_GetStyle", (PyCFunction
) _wrap_Brush_GetStyle
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21425          { (char *)"Brush_GetStipple", (PyCFunction
) _wrap_Brush_GetStipple
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21426          { (char *)"Brush_IsHatch", (PyCFunction
) _wrap_Brush_IsHatch
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21427          { (char *)"Brush_Ok", (PyCFunction
) _wrap_Brush_Ok
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21428          { (char *)"Brush_swigregister", Brush_swigregister
, METH_VARARGS
, NULL
}, 
21429          { (char *)"new_Bitmap", (PyCFunction
) _wrap_new_Bitmap
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21430          { (char *)"delete_Bitmap", (PyCFunction
) _wrap_delete_Bitmap
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21431          { (char *)"new_EmptyBitmap", (PyCFunction
) _wrap_new_EmptyBitmap
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21432          { (char *)"new_BitmapFromIcon", (PyCFunction
) _wrap_new_BitmapFromIcon
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21433          { (char *)"new_BitmapFromImage", (PyCFunction
) _wrap_new_BitmapFromImage
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21434          { (char *)"new_BitmapFromXPMData", (PyCFunction
) _wrap_new_BitmapFromXPMData
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21435          { (char *)"new_BitmapFromBits", (PyCFunction
) _wrap_new_BitmapFromBits
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21436          { (char *)"Bitmap_Ok", (PyCFunction
) _wrap_Bitmap_Ok
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21437          { (char *)"Bitmap_GetWidth", (PyCFunction
) _wrap_Bitmap_GetWidth
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21438          { (char *)"Bitmap_GetHeight", (PyCFunction
) _wrap_Bitmap_GetHeight
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21439          { (char *)"Bitmap_GetDepth", (PyCFunction
) _wrap_Bitmap_GetDepth
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21440          { (char *)"Bitmap_GetSize", (PyCFunction
) _wrap_Bitmap_GetSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21441          { (char *)"Bitmap_ConvertToImage", (PyCFunction
) _wrap_Bitmap_ConvertToImage
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21442          { (char *)"Bitmap_GetMask", (PyCFunction
) _wrap_Bitmap_GetMask
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21443          { (char *)"Bitmap_SetMask", (PyCFunction
) _wrap_Bitmap_SetMask
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21444          { (char *)"Bitmap_SetMaskColour", (PyCFunction
) _wrap_Bitmap_SetMaskColour
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21445          { (char *)"Bitmap_GetSubBitmap", (PyCFunction
) _wrap_Bitmap_GetSubBitmap
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21446          { (char *)"Bitmap_SaveFile", (PyCFunction
) _wrap_Bitmap_SaveFile
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21447          { (char *)"Bitmap_LoadFile", (PyCFunction
) _wrap_Bitmap_LoadFile
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21448          { (char *)"Bitmap_GetPalette", (PyCFunction
) _wrap_Bitmap_GetPalette
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21449          { (char *)"Bitmap_CopyFromIcon", (PyCFunction
) _wrap_Bitmap_CopyFromIcon
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21450          { (char *)"Bitmap_SetHeight", (PyCFunction
) _wrap_Bitmap_SetHeight
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21451          { (char *)"Bitmap_SetWidth", (PyCFunction
) _wrap_Bitmap_SetWidth
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21452          { (char *)"Bitmap_SetDepth", (PyCFunction
) _wrap_Bitmap_SetDepth
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21453          { (char *)"Bitmap_SetSize", (PyCFunction
) _wrap_Bitmap_SetSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21454          { (char *)"Bitmap___eq__", (PyCFunction
) _wrap_Bitmap___eq__
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21455          { (char *)"Bitmap___ne__", (PyCFunction
) _wrap_Bitmap___ne__
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21456          { (char *)"Bitmap_swigregister", Bitmap_swigregister
, METH_VARARGS
, NULL
}, 
21457          { (char *)"new_Mask", (PyCFunction
) _wrap_new_Mask
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21458          { (char *)"Mask_swigregister", Mask_swigregister
, METH_VARARGS
, NULL
}, 
21459          { (char *)"new_Icon", (PyCFunction
) _wrap_new_Icon
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21460          { (char *)"delete_Icon", (PyCFunction
) _wrap_delete_Icon
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21461          { (char *)"new_EmptyIcon", (PyCFunction
) _wrap_new_EmptyIcon
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21462          { (char *)"new_IconFromLocation", (PyCFunction
) _wrap_new_IconFromLocation
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21463          { (char *)"new_IconFromBitmap", (PyCFunction
) _wrap_new_IconFromBitmap
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21464          { (char *)"new_IconFromXPMData", (PyCFunction
) _wrap_new_IconFromXPMData
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21465          { (char *)"Icon_LoadFile", (PyCFunction
) _wrap_Icon_LoadFile
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21466          { (char *)"Icon_Ok", (PyCFunction
) _wrap_Icon_Ok
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21467          { (char *)"Icon_GetWidth", (PyCFunction
) _wrap_Icon_GetWidth
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21468          { (char *)"Icon_GetHeight", (PyCFunction
) _wrap_Icon_GetHeight
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21469          { (char *)"Icon_GetDepth", (PyCFunction
) _wrap_Icon_GetDepth
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21470          { (char *)"Icon_SetWidth", (PyCFunction
) _wrap_Icon_SetWidth
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21471          { (char *)"Icon_SetHeight", (PyCFunction
) _wrap_Icon_SetHeight
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21472          { (char *)"Icon_SetDepth", (PyCFunction
) _wrap_Icon_SetDepth
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21473          { (char *)"Icon_CopyFromBitmap", (PyCFunction
) _wrap_Icon_CopyFromBitmap
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21474          { (char *)"Icon_swigregister", Icon_swigregister
, METH_VARARGS
, NULL
}, 
21475          { (char *)"new_IconLocation", (PyCFunction
) _wrap_new_IconLocation
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21476          { (char *)"delete_IconLocation", (PyCFunction
) _wrap_delete_IconLocation
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21477          { (char *)"IconLocation_IsOk", (PyCFunction
) _wrap_IconLocation_IsOk
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21478          { (char *)"IconLocation_SetFileName", (PyCFunction
) _wrap_IconLocation_SetFileName
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21479          { (char *)"IconLocation_GetFileName", (PyCFunction
) _wrap_IconLocation_GetFileName
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21480          { (char *)"IconLocation_SetIndex", (PyCFunction
) _wrap_IconLocation_SetIndex
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21481          { (char *)"IconLocation_GetIndex", (PyCFunction
) _wrap_IconLocation_GetIndex
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21482          { (char *)"IconLocation_swigregister", IconLocation_swigregister
, METH_VARARGS
, NULL
}, 
21483          { (char *)"new_IconBundle", (PyCFunction
) _wrap_new_IconBundle
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21484          { (char *)"new_IconBundleFromFile", (PyCFunction
) _wrap_new_IconBundleFromFile
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21485          { (char *)"new_IconBundleFromIcon", (PyCFunction
) _wrap_new_IconBundleFromIcon
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21486          { (char *)"delete_IconBundle", (PyCFunction
) _wrap_delete_IconBundle
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21487          { (char *)"IconBundle_AddIcon", (PyCFunction
) _wrap_IconBundle_AddIcon
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21488          { (char *)"IconBundle_AddIconFromFile", (PyCFunction
) _wrap_IconBundle_AddIconFromFile
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21489          { (char *)"IconBundle_GetIcon", (PyCFunction
) _wrap_IconBundle_GetIcon
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21490          { (char *)"IconBundle_swigregister", IconBundle_swigregister
, METH_VARARGS
, NULL
}, 
21491          { (char *)"new_Cursor", (PyCFunction
) _wrap_new_Cursor
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21492          { (char *)"delete_Cursor", (PyCFunction
) _wrap_delete_Cursor
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21493          { (char *)"new_StockCursor", (PyCFunction
) _wrap_new_StockCursor
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21494          { (char *)"new_CursorFromImage", (PyCFunction
) _wrap_new_CursorFromImage
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21495          { (char *)"Cursor_Ok", (PyCFunction
) _wrap_Cursor_Ok
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21496          { (char *)"Cursor_swigregister", Cursor_swigregister
, METH_VARARGS
, NULL
}, 
21497          { (char *)"new_Region", (PyCFunction
) _wrap_new_Region
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21498          { (char *)"new_RegionFromBitmap", (PyCFunction
) _wrap_new_RegionFromBitmap
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21499          { (char *)"new_RegionFromBitmapColour", (PyCFunction
) _wrap_new_RegionFromBitmapColour
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21500          { (char *)"new_RegionFromPoints", (PyCFunction
) _wrap_new_RegionFromPoints
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21501          { (char *)"delete_Region", (PyCFunction
) _wrap_delete_Region
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21502          { (char *)"Region_Clear", (PyCFunction
) _wrap_Region_Clear
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21503          { (char *)"Region_Offset", (PyCFunction
) _wrap_Region_Offset
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21504          { (char *)"Region_Contains", (PyCFunction
) _wrap_Region_Contains
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21505          { (char *)"Region_ContainsPoint", (PyCFunction
) _wrap_Region_ContainsPoint
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21506          { (char *)"Region_ContainsRect", (PyCFunction
) _wrap_Region_ContainsRect
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21507          { (char *)"Region_ContainsRectDim", (PyCFunction
) _wrap_Region_ContainsRectDim
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21508          { (char *)"Region_GetBox", (PyCFunction
) _wrap_Region_GetBox
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21509          { (char *)"Region_Intersect", (PyCFunction
) _wrap_Region_Intersect
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21510          { (char *)"Region_IntersectRect", (PyCFunction
) _wrap_Region_IntersectRect
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21511          { (char *)"Region_IntersectRegion", (PyCFunction
) _wrap_Region_IntersectRegion
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21512          { (char *)"Region_IsEmpty", (PyCFunction
) _wrap_Region_IsEmpty
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21513          { (char *)"Region_Union", (PyCFunction
) _wrap_Region_Union
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21514          { (char *)"Region_UnionRect", (PyCFunction
) _wrap_Region_UnionRect
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21515          { (char *)"Region_UnionRegion", (PyCFunction
) _wrap_Region_UnionRegion
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21516          { (char *)"Region_Subtract", (PyCFunction
) _wrap_Region_Subtract
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21517          { (char *)"Region_SubtractRect", (PyCFunction
) _wrap_Region_SubtractRect
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21518          { (char *)"Region_SubtractRegion", (PyCFunction
) _wrap_Region_SubtractRegion
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21519          { (char *)"Region_Xor", (PyCFunction
) _wrap_Region_Xor
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21520          { (char *)"Region_XorRect", (PyCFunction
) _wrap_Region_XorRect
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21521          { (char *)"Region_XorRegion", (PyCFunction
) _wrap_Region_XorRegion
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21522          { (char *)"Region_ConvertToBitmap", (PyCFunction
) _wrap_Region_ConvertToBitmap
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21523          { (char *)"Region_UnionBitmap", (PyCFunction
) _wrap_Region_UnionBitmap
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21524          { (char *)"Region_UnionBitmapColour", (PyCFunction
) _wrap_Region_UnionBitmapColour
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21525          { (char *)"Region_swigregister", Region_swigregister
, METH_VARARGS
, NULL
}, 
21526          { (char *)"new_RegionIterator", (PyCFunction
) _wrap_new_RegionIterator
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21527          { (char *)"delete_RegionIterator", (PyCFunction
) _wrap_delete_RegionIterator
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21528          { (char *)"RegionIterator_GetX", (PyCFunction
) _wrap_RegionIterator_GetX
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21529          { (char *)"RegionIterator_GetY", (PyCFunction
) _wrap_RegionIterator_GetY
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21530          { (char *)"RegionIterator_GetW", (PyCFunction
) _wrap_RegionIterator_GetW
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21531          { (char *)"RegionIterator_GetWidth", (PyCFunction
) _wrap_RegionIterator_GetWidth
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21532          { (char *)"RegionIterator_GetH", (PyCFunction
) _wrap_RegionIterator_GetH
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21533          { (char *)"RegionIterator_GetHeight", (PyCFunction
) _wrap_RegionIterator_GetHeight
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21534          { (char *)"RegionIterator_GetRect", (PyCFunction
) _wrap_RegionIterator_GetRect
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21535          { (char *)"RegionIterator_HaveRects", (PyCFunction
) _wrap_RegionIterator_HaveRects
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21536          { (char *)"RegionIterator_Reset", (PyCFunction
) _wrap_RegionIterator_Reset
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21537          { (char *)"RegionIterator_Next", (PyCFunction
) _wrap_RegionIterator_Next
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21538          { (char *)"RegionIterator___nonzero__", (PyCFunction
) _wrap_RegionIterator___nonzero__
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21539          { (char *)"RegionIterator_swigregister", RegionIterator_swigregister
, METH_VARARGS
, NULL
}, 
21540          { (char *)"new_NativeFontInfo", (PyCFunction
) _wrap_new_NativeFontInfo
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21541          { (char *)"delete_NativeFontInfo", (PyCFunction
) _wrap_delete_NativeFontInfo
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21542          { (char *)"NativeFontInfo_Init", (PyCFunction
) _wrap_NativeFontInfo_Init
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21543          { (char *)"NativeFontInfo_InitFromFont", (PyCFunction
) _wrap_NativeFontInfo_InitFromFont
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21544          { (char *)"NativeFontInfo_GetPointSize", (PyCFunction
) _wrap_NativeFontInfo_GetPointSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21545          { (char *)"NativeFontInfo_GetStyle", (PyCFunction
) _wrap_NativeFontInfo_GetStyle
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21546          { (char *)"NativeFontInfo_GetWeight", (PyCFunction
) _wrap_NativeFontInfo_GetWeight
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21547          { (char *)"NativeFontInfo_GetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_GetUnderlined
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21548          { (char *)"NativeFontInfo_GetFaceName", (PyCFunction
) _wrap_NativeFontInfo_GetFaceName
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21549          { (char *)"NativeFontInfo_GetFamily", (PyCFunction
) _wrap_NativeFontInfo_GetFamily
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21550          { (char *)"NativeFontInfo_GetEncoding", (PyCFunction
) _wrap_NativeFontInfo_GetEncoding
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21551          { (char *)"NativeFontInfo_SetPointSize", (PyCFunction
) _wrap_NativeFontInfo_SetPointSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21552          { (char *)"NativeFontInfo_SetStyle", (PyCFunction
) _wrap_NativeFontInfo_SetStyle
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21553          { (char *)"NativeFontInfo_SetWeight", (PyCFunction
) _wrap_NativeFontInfo_SetWeight
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21554          { (char *)"NativeFontInfo_SetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_SetUnderlined
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21555          { (char *)"NativeFontInfo_SetFaceName", (PyCFunction
) _wrap_NativeFontInfo_SetFaceName
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21556          { (char *)"NativeFontInfo_SetFamily", (PyCFunction
) _wrap_NativeFontInfo_SetFamily
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21557          { (char *)"NativeFontInfo_SetEncoding", (PyCFunction
) _wrap_NativeFontInfo_SetEncoding
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21558          { (char *)"NativeFontInfo_FromString", (PyCFunction
) _wrap_NativeFontInfo_FromString
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21559          { (char *)"NativeFontInfo_ToString", (PyCFunction
) _wrap_NativeFontInfo_ToString
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21560          { (char *)"NativeFontInfo___str__", (PyCFunction
) _wrap_NativeFontInfo___str__
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21561          { (char *)"NativeFontInfo_FromUserString", (PyCFunction
) _wrap_NativeFontInfo_FromUserString
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21562          { (char *)"NativeFontInfo_ToUserString", (PyCFunction
) _wrap_NativeFontInfo_ToUserString
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21563          { (char *)"NativeFontInfo_swigregister", NativeFontInfo_swigregister
, METH_VARARGS
, NULL
}, 
21564          { (char *)"NativeEncodingInfo_facename_set", (PyCFunction
) _wrap_NativeEncodingInfo_facename_set
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21565          { (char *)"NativeEncodingInfo_facename_get", (PyCFunction
) _wrap_NativeEncodingInfo_facename_get
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21566          { (char *)"NativeEncodingInfo_encoding_set", (PyCFunction
) _wrap_NativeEncodingInfo_encoding_set
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21567          { (char *)"NativeEncodingInfo_encoding_get", (PyCFunction
) _wrap_NativeEncodingInfo_encoding_get
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21568          { (char *)"new_NativeEncodingInfo", (PyCFunction
) _wrap_new_NativeEncodingInfo
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21569          { (char *)"delete_NativeEncodingInfo", (PyCFunction
) _wrap_delete_NativeEncodingInfo
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21570          { (char *)"NativeEncodingInfo_FromString", (PyCFunction
) _wrap_NativeEncodingInfo_FromString
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21571          { (char *)"NativeEncodingInfo_ToString", (PyCFunction
) _wrap_NativeEncodingInfo_ToString
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21572          { (char *)"NativeEncodingInfo_swigregister", NativeEncodingInfo_swigregister
, METH_VARARGS
, NULL
}, 
21573          { (char *)"GetNativeFontEncoding", (PyCFunction
) _wrap_GetNativeFontEncoding
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21574          { (char *)"TestFontEncoding", (PyCFunction
) _wrap_TestFontEncoding
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21575          { (char *)"new_FontMapper", (PyCFunction
) _wrap_new_FontMapper
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21576          { (char *)"delete_FontMapper", (PyCFunction
) _wrap_delete_FontMapper
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21577          { (char *)"FontMapper_Get", (PyCFunction
) _wrap_FontMapper_Get
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21578          { (char *)"FontMapper_Set", (PyCFunction
) _wrap_FontMapper_Set
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21579          { (char *)"FontMapper_CharsetToEncoding", (PyCFunction
) _wrap_FontMapper_CharsetToEncoding
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21580          { (char *)"FontMapper_GetSupportedEncodingsCount", (PyCFunction
) _wrap_FontMapper_GetSupportedEncodingsCount
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21581          { (char *)"FontMapper_GetEncoding", (PyCFunction
) _wrap_FontMapper_GetEncoding
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21582          { (char *)"FontMapper_GetEncodingName", (PyCFunction
) _wrap_FontMapper_GetEncodingName
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21583          { (char *)"FontMapper_GetEncodingDescription", (PyCFunction
) _wrap_FontMapper_GetEncodingDescription
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21584          { (char *)"FontMapper_GetEncodingFromName", (PyCFunction
) _wrap_FontMapper_GetEncodingFromName
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21585          { (char *)"FontMapper_SetConfigPath", (PyCFunction
) _wrap_FontMapper_SetConfigPath
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21586          { (char *)"FontMapper_GetDefaultConfigPath", (PyCFunction
) _wrap_FontMapper_GetDefaultConfigPath
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21587          { (char *)"FontMapper_GetAltForEncoding", (PyCFunction
) _wrap_FontMapper_GetAltForEncoding
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21588          { (char *)"FontMapper_IsEncodingAvailable", (PyCFunction
) _wrap_FontMapper_IsEncodingAvailable
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21589          { (char *)"FontMapper_SetDialogParent", (PyCFunction
) _wrap_FontMapper_SetDialogParent
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21590          { (char *)"FontMapper_SetDialogTitle", (PyCFunction
) _wrap_FontMapper_SetDialogTitle
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21591          { (char *)"FontMapper_swigregister", FontMapper_swigregister
, METH_VARARGS
, NULL
}, 
21592          { (char *)"new_Font", (PyCFunction
) _wrap_new_Font
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21593          { (char *)"delete_Font", (PyCFunction
) _wrap_delete_Font
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21594          { (char *)"new_FontFromNativeInfo", (PyCFunction
) _wrap_new_FontFromNativeInfo
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21595          { (char *)"new_FontFromNativeInfoString", (PyCFunction
) _wrap_new_FontFromNativeInfoString
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21596          { (char *)"new_FFont", (PyCFunction
) _wrap_new_FFont
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21597          { (char *)"new_FontFromPixelSize", (PyCFunction
) _wrap_new_FontFromPixelSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21598          { (char *)"new_FFontFromPixelSize", (PyCFunction
) _wrap_new_FFontFromPixelSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21599          { (char *)"Font_Ok", (PyCFunction
) _wrap_Font_Ok
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21600          { (char *)"Font___eq__", (PyCFunction
) _wrap_Font___eq__
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21601          { (char *)"Font___ne__", (PyCFunction
) _wrap_Font___ne__
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21602          { (char *)"Font_GetPointSize", (PyCFunction
) _wrap_Font_GetPointSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21603          { (char *)"Font_GetPixelSize", (PyCFunction
) _wrap_Font_GetPixelSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21604          { (char *)"Font_IsUsingSizeInPixels", (PyCFunction
) _wrap_Font_IsUsingSizeInPixels
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21605          { (char *)"Font_GetFamily", (PyCFunction
) _wrap_Font_GetFamily
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21606          { (char *)"Font_GetStyle", (PyCFunction
) _wrap_Font_GetStyle
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21607          { (char *)"Font_GetWeight", (PyCFunction
) _wrap_Font_GetWeight
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21608          { (char *)"Font_GetUnderlined", (PyCFunction
) _wrap_Font_GetUnderlined
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21609          { (char *)"Font_GetFaceName", (PyCFunction
) _wrap_Font_GetFaceName
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21610          { (char *)"Font_GetEncoding", (PyCFunction
) _wrap_Font_GetEncoding
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21611          { (char *)"Font_GetNativeFontInfo", (PyCFunction
) _wrap_Font_GetNativeFontInfo
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21612          { (char *)"Font_IsFixedWidth", (PyCFunction
) _wrap_Font_IsFixedWidth
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21613          { (char *)"Font_GetNativeFontInfoDesc", (PyCFunction
) _wrap_Font_GetNativeFontInfoDesc
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21614          { (char *)"Font_GetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_GetNativeFontInfoUserDesc
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21615          { (char *)"Font_SetPointSize", (PyCFunction
) _wrap_Font_SetPointSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21616          { (char *)"Font_SetPixelSize", (PyCFunction
) _wrap_Font_SetPixelSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21617          { (char *)"Font_SetFamily", (PyCFunction
) _wrap_Font_SetFamily
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21618          { (char *)"Font_SetStyle", (PyCFunction
) _wrap_Font_SetStyle
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21619          { (char *)"Font_SetWeight", (PyCFunction
) _wrap_Font_SetWeight
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21620          { (char *)"Font_SetFaceName", (PyCFunction
) _wrap_Font_SetFaceName
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21621          { (char *)"Font_SetUnderlined", (PyCFunction
) _wrap_Font_SetUnderlined
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21622          { (char *)"Font_SetEncoding", (PyCFunction
) _wrap_Font_SetEncoding
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21623          { (char *)"Font_SetNativeFontInfo", (PyCFunction
) _wrap_Font_SetNativeFontInfo
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21624          { (char *)"Font_SetNativeFontInfoFromString", (PyCFunction
) _wrap_Font_SetNativeFontInfoFromString
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21625          { (char *)"Font_SetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_SetNativeFontInfoUserDesc
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21626          { (char *)"Font_GetFamilyString", (PyCFunction
) _wrap_Font_GetFamilyString
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21627          { (char *)"Font_GetStyleString", (PyCFunction
) _wrap_Font_GetStyleString
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21628          { (char *)"Font_GetWeightString", (PyCFunction
) _wrap_Font_GetWeightString
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21629          { (char *)"Font_SetNoAntiAliasing", (PyCFunction
) _wrap_Font_SetNoAntiAliasing
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21630          { (char *)"Font_GetNoAntiAliasing", (PyCFunction
) _wrap_Font_GetNoAntiAliasing
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21631          { (char *)"Font_GetDefaultEncoding", (PyCFunction
) _wrap_Font_GetDefaultEncoding
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21632          { (char *)"Font_SetDefaultEncoding", (PyCFunction
) _wrap_Font_SetDefaultEncoding
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21633          { (char *)"Font_swigregister", Font_swigregister
, METH_VARARGS
, NULL
}, 
21634          { (char *)"new_FontEnumerator", (PyCFunction
) _wrap_new_FontEnumerator
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21635          { (char *)"delete_FontEnumerator", (PyCFunction
) _wrap_delete_FontEnumerator
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21636          { (char *)"FontEnumerator__setCallbackInfo", (PyCFunction
) _wrap_FontEnumerator__setCallbackInfo
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21637          { (char *)"FontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_FontEnumerator_EnumerateFacenames
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21638          { (char *)"FontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_FontEnumerator_EnumerateEncodings
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21639          { (char *)"FontEnumerator_GetEncodings", (PyCFunction
) _wrap_FontEnumerator_GetEncodings
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21640          { (char *)"FontEnumerator_GetFacenames", (PyCFunction
) _wrap_FontEnumerator_GetFacenames
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21641          { (char *)"FontEnumerator_swigregister", FontEnumerator_swigregister
, METH_VARARGS
, NULL
}, 
21642          { (char *)"LanguageInfo_Language_set", (PyCFunction
) _wrap_LanguageInfo_Language_set
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21643          { (char *)"LanguageInfo_Language_get", (PyCFunction
) _wrap_LanguageInfo_Language_get
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21644          { (char *)"LanguageInfo_CanonicalName_set", (PyCFunction
) _wrap_LanguageInfo_CanonicalName_set
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21645          { (char *)"LanguageInfo_CanonicalName_get", (PyCFunction
) _wrap_LanguageInfo_CanonicalName_get
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21646          { (char *)"LanguageInfo_Description_set", (PyCFunction
) _wrap_LanguageInfo_Description_set
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21647          { (char *)"LanguageInfo_Description_get", (PyCFunction
) _wrap_LanguageInfo_Description_get
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21648          { (char *)"LanguageInfo_swigregister", LanguageInfo_swigregister
, METH_VARARGS
, NULL
}, 
21649          { (char *)"new_Locale", (PyCFunction
) _wrap_new_Locale
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21650          { (char *)"delete_Locale", (PyCFunction
) _wrap_delete_Locale
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21651          { (char *)"Locale_Init1", (PyCFunction
) _wrap_Locale_Init1
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21652          { (char *)"Locale_Init2", (PyCFunction
) _wrap_Locale_Init2
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21653          { (char *)"Locale_GetSystemLanguage", (PyCFunction
) _wrap_Locale_GetSystemLanguage
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21654          { (char *)"Locale_GetSystemEncoding", (PyCFunction
) _wrap_Locale_GetSystemEncoding
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21655          { (char *)"Locale_GetSystemEncodingName", (PyCFunction
) _wrap_Locale_GetSystemEncodingName
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21656          { (char *)"Locale_IsOk", (PyCFunction
) _wrap_Locale_IsOk
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21657          { (char *)"Locale_GetLocale", (PyCFunction
) _wrap_Locale_GetLocale
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21658          { (char *)"Locale_GetLanguage", (PyCFunction
) _wrap_Locale_GetLanguage
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21659          { (char *)"Locale_GetSysName", (PyCFunction
) _wrap_Locale_GetSysName
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21660          { (char *)"Locale_GetCanonicalName", (PyCFunction
) _wrap_Locale_GetCanonicalName
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21661          { (char *)"Locale_AddCatalogLookupPathPrefix", (PyCFunction
) _wrap_Locale_AddCatalogLookupPathPrefix
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21662          { (char *)"Locale_AddCatalog", (PyCFunction
) _wrap_Locale_AddCatalog
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21663          { (char *)"Locale_IsLoaded", (PyCFunction
) _wrap_Locale_IsLoaded
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21664          { (char *)"Locale_GetLanguageInfo", (PyCFunction
) _wrap_Locale_GetLanguageInfo
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21665          { (char *)"Locale_GetLanguageName", (PyCFunction
) _wrap_Locale_GetLanguageName
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21666          { (char *)"Locale_FindLanguageInfo", (PyCFunction
) _wrap_Locale_FindLanguageInfo
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21667          { (char *)"Locale_AddLanguage", (PyCFunction
) _wrap_Locale_AddLanguage
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21668          { (char *)"Locale_GetString", (PyCFunction
) _wrap_Locale_GetString
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21669          { (char *)"Locale_GetName", (PyCFunction
) _wrap_Locale_GetName
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21670          { (char *)"Locale_swigregister", Locale_swigregister
, METH_VARARGS
, NULL
}, 
21671          { (char *)"GetLocale", (PyCFunction
) _wrap_GetLocale
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21672          { (char *)"GetTranslation", _wrap_GetTranslation
, METH_VARARGS
, NULL
}, 
21673          { (char *)"new_EncodingConverter", (PyCFunction
) _wrap_new_EncodingConverter
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21674          { (char *)"delete_EncodingConverter", (PyCFunction
) _wrap_delete_EncodingConverter
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21675          { (char *)"EncodingConverter_Init", (PyCFunction
) _wrap_EncodingConverter_Init
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21676          { (char *)"EncodingConverter_Convert", (PyCFunction
) _wrap_EncodingConverter_Convert
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21677          { (char *)"EncodingConverter_GetPlatformEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetPlatformEquivalents
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21678          { (char *)"EncodingConverter_GetAllEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetAllEquivalents
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21679          { (char *)"EncodingConverter_CanConvert", (PyCFunction
) _wrap_EncodingConverter_CanConvert
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21680          { (char *)"EncodingConverter_swigregister", EncodingConverter_swigregister
, METH_VARARGS
, NULL
}, 
21681          { (char *)"delete_DC", (PyCFunction
) _wrap_delete_DC
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21682          { (char *)"DC_BeginDrawing", (PyCFunction
) _wrap_DC_BeginDrawing
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21683          { (char *)"DC_EndDrawing", (PyCFunction
) _wrap_DC_EndDrawing
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21684          { (char *)"DC_FloodFill", (PyCFunction
) _wrap_DC_FloodFill
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21685          { (char *)"DC_FloodFillPoint", (PyCFunction
) _wrap_DC_FloodFillPoint
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21686          { (char *)"DC_GetPixel", (PyCFunction
) _wrap_DC_GetPixel
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21687          { (char *)"DC_GetPixelPoint", (PyCFunction
) _wrap_DC_GetPixelPoint
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21688          { (char *)"DC_DrawLine", (PyCFunction
) _wrap_DC_DrawLine
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21689          { (char *)"DC_DrawLinePoint", (PyCFunction
) _wrap_DC_DrawLinePoint
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21690          { (char *)"DC_CrossHair", (PyCFunction
) _wrap_DC_CrossHair
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21691          { (char *)"DC_CrossHairPoint", (PyCFunction
) _wrap_DC_CrossHairPoint
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21692          { (char *)"DC_DrawArc", (PyCFunction
) _wrap_DC_DrawArc
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21693          { (char *)"DC_DrawArcPoint", (PyCFunction
) _wrap_DC_DrawArcPoint
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21694          { (char *)"DC_DrawCheckMark", (PyCFunction
) _wrap_DC_DrawCheckMark
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21695          { (char *)"DC_DrawCheckMarkRect", (PyCFunction
) _wrap_DC_DrawCheckMarkRect
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21696          { (char *)"DC_DrawEllipticArc", (PyCFunction
) _wrap_DC_DrawEllipticArc
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21697          { (char *)"DC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_DC_DrawEllipticArcPointSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21698          { (char *)"DC_DrawPoint", (PyCFunction
) _wrap_DC_DrawPoint
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21699          { (char *)"DC_DrawPointPoint", (PyCFunction
) _wrap_DC_DrawPointPoint
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21700          { (char *)"DC_DrawRectangle", (PyCFunction
) _wrap_DC_DrawRectangle
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21701          { (char *)"DC_DrawRectangleRect", (PyCFunction
) _wrap_DC_DrawRectangleRect
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21702          { (char *)"DC_DrawRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRectanglePointSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21703          { (char *)"DC_DrawRoundedRectangle", (PyCFunction
) _wrap_DC_DrawRoundedRectangle
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21704          { (char *)"DC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_DC_DrawRoundedRectangleRect
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21705          { (char *)"DC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRoundedRectanglePointSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21706          { (char *)"DC_DrawCircle", (PyCFunction
) _wrap_DC_DrawCircle
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21707          { (char *)"DC_DrawCirclePoint", (PyCFunction
) _wrap_DC_DrawCirclePoint
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21708          { (char *)"DC_DrawEllipse", (PyCFunction
) _wrap_DC_DrawEllipse
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21709          { (char *)"DC_DrawEllipseRect", (PyCFunction
) _wrap_DC_DrawEllipseRect
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21710          { (char *)"DC_DrawEllipsePointSize", (PyCFunction
) _wrap_DC_DrawEllipsePointSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21711          { (char *)"DC_DrawIcon", (PyCFunction
) _wrap_DC_DrawIcon
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21712          { (char *)"DC_DrawIconPoint", (PyCFunction
) _wrap_DC_DrawIconPoint
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21713          { (char *)"DC_DrawBitmap", (PyCFunction
) _wrap_DC_DrawBitmap
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21714          { (char *)"DC_DrawBitmapPoint", (PyCFunction
) _wrap_DC_DrawBitmapPoint
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21715          { (char *)"DC_DrawText", (PyCFunction
) _wrap_DC_DrawText
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21716          { (char *)"DC_DrawTextPoint", (PyCFunction
) _wrap_DC_DrawTextPoint
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21717          { (char *)"DC_DrawRotatedText", (PyCFunction
) _wrap_DC_DrawRotatedText
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21718          { (char *)"DC_DrawRotatedTextPoint", (PyCFunction
) _wrap_DC_DrawRotatedTextPoint
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21719          { (char *)"DC_Blit", (PyCFunction
) _wrap_DC_Blit
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21720          { (char *)"DC_BlitPointSize", (PyCFunction
) _wrap_DC_BlitPointSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21721          { (char *)"DC_SetClippingRegion", (PyCFunction
) _wrap_DC_SetClippingRegion
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21722          { (char *)"DC_SetClippingRegionPointSize", (PyCFunction
) _wrap_DC_SetClippingRegionPointSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21723          { (char *)"DC_SetClippingRegionAsRegion", (PyCFunction
) _wrap_DC_SetClippingRegionAsRegion
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21724          { (char *)"DC_SetClippingRect", (PyCFunction
) _wrap_DC_SetClippingRect
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21725          { (char *)"DC_DrawLines", (PyCFunction
) _wrap_DC_DrawLines
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21726          { (char *)"DC_DrawPolygon", (PyCFunction
) _wrap_DC_DrawPolygon
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21727          { (char *)"DC_DrawLabel", (PyCFunction
) _wrap_DC_DrawLabel
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21728          { (char *)"DC_DrawImageLabel", (PyCFunction
) _wrap_DC_DrawImageLabel
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21729          { (char *)"DC_DrawSpline", (PyCFunction
) _wrap_DC_DrawSpline
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21730          { (char *)"DC_Clear", (PyCFunction
) _wrap_DC_Clear
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21731          { (char *)"DC_StartDoc", (PyCFunction
) _wrap_DC_StartDoc
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21732          { (char *)"DC_EndDoc", (PyCFunction
) _wrap_DC_EndDoc
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21733          { (char *)"DC_StartPage", (PyCFunction
) _wrap_DC_StartPage
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21734          { (char *)"DC_EndPage", (PyCFunction
) _wrap_DC_EndPage
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21735          { (char *)"DC_SetFont", (PyCFunction
) _wrap_DC_SetFont
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21736          { (char *)"DC_SetPen", (PyCFunction
) _wrap_DC_SetPen
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21737          { (char *)"DC_SetBrush", (PyCFunction
) _wrap_DC_SetBrush
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21738          { (char *)"DC_SetBackground", (PyCFunction
) _wrap_DC_SetBackground
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21739          { (char *)"DC_SetBackgroundMode", (PyCFunction
) _wrap_DC_SetBackgroundMode
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21740          { (char *)"DC_SetPalette", (PyCFunction
) _wrap_DC_SetPalette
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21741          { (char *)"DC_DestroyClippingRegion", (PyCFunction
) _wrap_DC_DestroyClippingRegion
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21742          { (char *)"DC_GetClippingBox", (PyCFunction
) _wrap_DC_GetClippingBox
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21743          { (char *)"DC_GetClippingRect", (PyCFunction
) _wrap_DC_GetClippingRect
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21744          { (char *)"DC_GetCharHeight", (PyCFunction
) _wrap_DC_GetCharHeight
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21745          { (char *)"DC_GetCharWidth", (PyCFunction
) _wrap_DC_GetCharWidth
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21746          { (char *)"DC_GetTextExtent", (PyCFunction
) _wrap_DC_GetTextExtent
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21747          { (char *)"DC_GetFullTextExtent", (PyCFunction
) _wrap_DC_GetFullTextExtent
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21748          { (char *)"DC_GetMultiLineTextExtent", (PyCFunction
) _wrap_DC_GetMultiLineTextExtent
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21749          { (char *)"DC_GetPartialTextExtents", (PyCFunction
) _wrap_DC_GetPartialTextExtents
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21750          { (char *)"DC_GetSize", (PyCFunction
) _wrap_DC_GetSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21751          { (char *)"DC_GetSizeTuple", (PyCFunction
) _wrap_DC_GetSizeTuple
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21752          { (char *)"DC_GetSizeMM", (PyCFunction
) _wrap_DC_GetSizeMM
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21753          { (char *)"DC_GetSizeMMTuple", (PyCFunction
) _wrap_DC_GetSizeMMTuple
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21754          { (char *)"DC_DeviceToLogicalX", (PyCFunction
) _wrap_DC_DeviceToLogicalX
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21755          { (char *)"DC_DeviceToLogicalY", (PyCFunction
) _wrap_DC_DeviceToLogicalY
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21756          { (char *)"DC_DeviceToLogicalXRel", (PyCFunction
) _wrap_DC_DeviceToLogicalXRel
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21757          { (char *)"DC_DeviceToLogicalYRel", (PyCFunction
) _wrap_DC_DeviceToLogicalYRel
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21758          { (char *)"DC_LogicalToDeviceX", (PyCFunction
) _wrap_DC_LogicalToDeviceX
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21759          { (char *)"DC_LogicalToDeviceY", (PyCFunction
) _wrap_DC_LogicalToDeviceY
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21760          { (char *)"DC_LogicalToDeviceXRel", (PyCFunction
) _wrap_DC_LogicalToDeviceXRel
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21761          { (char *)"DC_LogicalToDeviceYRel", (PyCFunction
) _wrap_DC_LogicalToDeviceYRel
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21762          { (char *)"DC_CanDrawBitmap", (PyCFunction
) _wrap_DC_CanDrawBitmap
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21763          { (char *)"DC_CanGetTextExtent", (PyCFunction
) _wrap_DC_CanGetTextExtent
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21764          { (char *)"DC_GetDepth", (PyCFunction
) _wrap_DC_GetDepth
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21765          { (char *)"DC_GetPPI", (PyCFunction
) _wrap_DC_GetPPI
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21766          { (char *)"DC_Ok", (PyCFunction
) _wrap_DC_Ok
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21767          { (char *)"DC_GetBackgroundMode", (PyCFunction
) _wrap_DC_GetBackgroundMode
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21768          { (char *)"DC_GetBackground", (PyCFunction
) _wrap_DC_GetBackground
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21769          { (char *)"DC_GetBrush", (PyCFunction
) _wrap_DC_GetBrush
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21770          { (char *)"DC_GetFont", (PyCFunction
) _wrap_DC_GetFont
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21771          { (char *)"DC_GetPen", (PyCFunction
) _wrap_DC_GetPen
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21772          { (char *)"DC_GetTextBackground", (PyCFunction
) _wrap_DC_GetTextBackground
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21773          { (char *)"DC_GetTextForeground", (PyCFunction
) _wrap_DC_GetTextForeground
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21774          { (char *)"DC_SetTextForeground", (PyCFunction
) _wrap_DC_SetTextForeground
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21775          { (char *)"DC_SetTextBackground", (PyCFunction
) _wrap_DC_SetTextBackground
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21776          { (char *)"DC_GetMapMode", (PyCFunction
) _wrap_DC_GetMapMode
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21777          { (char *)"DC_SetMapMode", (PyCFunction
) _wrap_DC_SetMapMode
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21778          { (char *)"DC_GetUserScale", (PyCFunction
) _wrap_DC_GetUserScale
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21779          { (char *)"DC_SetUserScale", (PyCFunction
) _wrap_DC_SetUserScale
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21780          { (char *)"DC_GetLogicalScale", (PyCFunction
) _wrap_DC_GetLogicalScale
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21781          { (char *)"DC_SetLogicalScale", (PyCFunction
) _wrap_DC_SetLogicalScale
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21782          { (char *)"DC_GetLogicalOrigin", (PyCFunction
) _wrap_DC_GetLogicalOrigin
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21783          { (char *)"DC_GetLogicalOriginTuple", (PyCFunction
) _wrap_DC_GetLogicalOriginTuple
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21784          { (char *)"DC_SetLogicalOrigin", (PyCFunction
) _wrap_DC_SetLogicalOrigin
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21785          { (char *)"DC_SetLogicalOriginPoint", (PyCFunction
) _wrap_DC_SetLogicalOriginPoint
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21786          { (char *)"DC_GetDeviceOrigin", (PyCFunction
) _wrap_DC_GetDeviceOrigin
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21787          { (char *)"DC_GetDeviceOriginTuple", (PyCFunction
) _wrap_DC_GetDeviceOriginTuple
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21788          { (char *)"DC_SetDeviceOrigin", (PyCFunction
) _wrap_DC_SetDeviceOrigin
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21789          { (char *)"DC_SetDeviceOriginPoint", (PyCFunction
) _wrap_DC_SetDeviceOriginPoint
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21790          { (char *)"DC_SetAxisOrientation", (PyCFunction
) _wrap_DC_SetAxisOrientation
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21791          { (char *)"DC_GetLogicalFunction", (PyCFunction
) _wrap_DC_GetLogicalFunction
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21792          { (char *)"DC_SetLogicalFunction", (PyCFunction
) _wrap_DC_SetLogicalFunction
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21793          { (char *)"DC_ComputeScaleAndOrigin", (PyCFunction
) _wrap_DC_ComputeScaleAndOrigin
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21794          { (char *)"DC_CalcBoundingBox", (PyCFunction
) _wrap_DC_CalcBoundingBox
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21795          { (char *)"DC_CalcBoundingBoxPoint", (PyCFunction
) _wrap_DC_CalcBoundingBoxPoint
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21796          { (char *)"DC_ResetBoundingBox", (PyCFunction
) _wrap_DC_ResetBoundingBox
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21797          { (char *)"DC_MinX", (PyCFunction
) _wrap_DC_MinX
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21798          { (char *)"DC_MaxX", (PyCFunction
) _wrap_DC_MaxX
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21799          { (char *)"DC_MinY", (PyCFunction
) _wrap_DC_MinY
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21800          { (char *)"DC_MaxY", (PyCFunction
) _wrap_DC_MaxY
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21801          { (char *)"DC_GetBoundingBox", (PyCFunction
) _wrap_DC_GetBoundingBox
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21802          { (char *)"DC__DrawPointList", (PyCFunction
) _wrap_DC__DrawPointList
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21803          { (char *)"DC__DrawLineList", (PyCFunction
) _wrap_DC__DrawLineList
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21804          { (char *)"DC__DrawRectangleList", (PyCFunction
) _wrap_DC__DrawRectangleList
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21805          { (char *)"DC__DrawEllipseList", (PyCFunction
) _wrap_DC__DrawEllipseList
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21806          { (char *)"DC__DrawPolygonList", (PyCFunction
) _wrap_DC__DrawPolygonList
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21807          { (char *)"DC__DrawTextList", (PyCFunction
) _wrap_DC__DrawTextList
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21808          { (char *)"DC_swigregister", DC_swigregister
, METH_VARARGS
, NULL
}, 
21809          { (char *)"new_MemoryDC", (PyCFunction
) _wrap_new_MemoryDC
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21810          { (char *)"new_MemoryDCFromDC", (PyCFunction
) _wrap_new_MemoryDCFromDC
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21811          { (char *)"MemoryDC_SelectObject", (PyCFunction
) _wrap_MemoryDC_SelectObject
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21812          { (char *)"MemoryDC_swigregister", MemoryDC_swigregister
, METH_VARARGS
, NULL
}, 
21813          { (char *)"new_BufferedDC", _wrap_new_BufferedDC
, METH_VARARGS
, NULL
}, 
21814          { (char *)"delete_BufferedDC", (PyCFunction
) _wrap_delete_BufferedDC
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21815          { (char *)"BufferedDC_UnMask", (PyCFunction
) _wrap_BufferedDC_UnMask
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21816          { (char *)"BufferedDC_swigregister", BufferedDC_swigregister
, METH_VARARGS
, NULL
}, 
21817          { (char *)"new_BufferedPaintDC", (PyCFunction
) _wrap_new_BufferedPaintDC
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21818          { (char *)"BufferedPaintDC_swigregister", BufferedPaintDC_swigregister
, METH_VARARGS
, NULL
}, 
21819          { (char *)"new_ScreenDC", (PyCFunction
) _wrap_new_ScreenDC
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21820          { (char *)"ScreenDC_StartDrawingOnTopWin", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTopWin
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21821          { (char *)"ScreenDC_StartDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTop
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21822          { (char *)"ScreenDC_EndDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_EndDrawingOnTop
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21823          { (char *)"ScreenDC_swigregister", ScreenDC_swigregister
, METH_VARARGS
, NULL
}, 
21824          { (char *)"new_ClientDC", (PyCFunction
) _wrap_new_ClientDC
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21825          { (char *)"ClientDC_swigregister", ClientDC_swigregister
, METH_VARARGS
, NULL
}, 
21826          { (char *)"new_PaintDC", (PyCFunction
) _wrap_new_PaintDC
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21827          { (char *)"PaintDC_swigregister", PaintDC_swigregister
, METH_VARARGS
, NULL
}, 
21828          { (char *)"new_WindowDC", (PyCFunction
) _wrap_new_WindowDC
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21829          { (char *)"WindowDC_swigregister", WindowDC_swigregister
, METH_VARARGS
, NULL
}, 
21830          { (char *)"new_MirrorDC", (PyCFunction
) _wrap_new_MirrorDC
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21831          { (char *)"MirrorDC_swigregister", MirrorDC_swigregister
, METH_VARARGS
, NULL
}, 
21832          { (char *)"new_PostScriptDC", (PyCFunction
) _wrap_new_PostScriptDC
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21833          { (char *)"PostScriptDC_GetPrintData", (PyCFunction
) _wrap_PostScriptDC_GetPrintData
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21834          { (char *)"PostScriptDC_SetPrintData", (PyCFunction
) _wrap_PostScriptDC_SetPrintData
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21835          { (char *)"PostScriptDC_SetResolution", (PyCFunction
) _wrap_PostScriptDC_SetResolution
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21836          { (char *)"PostScriptDC_GetResolution", (PyCFunction
) _wrap_PostScriptDC_GetResolution
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21837          { (char *)"PostScriptDC_swigregister", PostScriptDC_swigregister
, METH_VARARGS
, NULL
}, 
21838          { (char *)"new_MetaFile", (PyCFunction
) _wrap_new_MetaFile
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21839          { (char *)"MetaFile_swigregister", MetaFile_swigregister
, METH_VARARGS
, NULL
}, 
21840          { (char *)"new_MetaFileDC", (PyCFunction
) _wrap_new_MetaFileDC
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21841          { (char *)"MetaFileDC_swigregister", MetaFileDC_swigregister
, METH_VARARGS
, NULL
}, 
21842          { (char *)"new_PrinterDC", (PyCFunction
) _wrap_new_PrinterDC
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21843          { (char *)"PrinterDC_swigregister", PrinterDC_swigregister
, METH_VARARGS
, NULL
}, 
21844          { (char *)"new_ImageList", (PyCFunction
) _wrap_new_ImageList
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21845          { (char *)"delete_ImageList", (PyCFunction
) _wrap_delete_ImageList
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21846          { (char *)"ImageList_Add", (PyCFunction
) _wrap_ImageList_Add
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21847          { (char *)"ImageList_AddWithColourMask", (PyCFunction
) _wrap_ImageList_AddWithColourMask
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21848          { (char *)"ImageList_AddIcon", (PyCFunction
) _wrap_ImageList_AddIcon
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21849          { (char *)"ImageList_GetBitmap", (PyCFunction
) _wrap_ImageList_GetBitmap
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21850          { (char *)"ImageList_GetIcon", (PyCFunction
) _wrap_ImageList_GetIcon
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21851          { (char *)"ImageList_Replace", (PyCFunction
) _wrap_ImageList_Replace
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21852          { (char *)"ImageList_Draw", (PyCFunction
) _wrap_ImageList_Draw
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21853          { (char *)"ImageList_GetImageCount", (PyCFunction
) _wrap_ImageList_GetImageCount
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21854          { (char *)"ImageList_Remove", (PyCFunction
) _wrap_ImageList_Remove
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21855          { (char *)"ImageList_RemoveAll", (PyCFunction
) _wrap_ImageList_RemoveAll
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21856          { (char *)"ImageList_GetSize", (PyCFunction
) _wrap_ImageList_GetSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21857          { (char *)"ImageList_swigregister", ImageList_swigregister
, METH_VARARGS
, NULL
}, 
21858          { (char *)"PenList_AddPen", (PyCFunction
) _wrap_PenList_AddPen
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21859          { (char *)"PenList_FindOrCreatePen", (PyCFunction
) _wrap_PenList_FindOrCreatePen
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21860          { (char *)"PenList_RemovePen", (PyCFunction
) _wrap_PenList_RemovePen
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21861          { (char *)"PenList_GetCount", (PyCFunction
) _wrap_PenList_GetCount
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21862          { (char *)"PenList_swigregister", PenList_swigregister
, METH_VARARGS
, NULL
}, 
21863          { (char *)"BrushList_AddBrush", (PyCFunction
) _wrap_BrushList_AddBrush
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21864          { (char *)"BrushList_FindOrCreateBrush", (PyCFunction
) _wrap_BrushList_FindOrCreateBrush
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21865          { (char *)"BrushList_RemoveBrush", (PyCFunction
) _wrap_BrushList_RemoveBrush
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21866          { (char *)"BrushList_GetCount", (PyCFunction
) _wrap_BrushList_GetCount
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21867          { (char *)"BrushList_swigregister", BrushList_swigregister
, METH_VARARGS
, NULL
}, 
21868          { (char *)"new_ColourDatabase", (PyCFunction
) _wrap_new_ColourDatabase
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21869          { (char *)"delete_ColourDatabase", (PyCFunction
) _wrap_delete_ColourDatabase
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21870          { (char *)"ColourDatabase_Find", (PyCFunction
) _wrap_ColourDatabase_Find
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21871          { (char *)"ColourDatabase_FindName", (PyCFunction
) _wrap_ColourDatabase_FindName
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21872          { (char *)"ColourDatabase_AddColour", (PyCFunction
) _wrap_ColourDatabase_AddColour
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21873          { (char *)"ColourDatabase_Append", (PyCFunction
) _wrap_ColourDatabase_Append
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21874          { (char *)"ColourDatabase_swigregister", ColourDatabase_swigregister
, METH_VARARGS
, NULL
}, 
21875          { (char *)"FontList_AddFont", (PyCFunction
) _wrap_FontList_AddFont
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21876          { (char *)"FontList_FindOrCreateFont", (PyCFunction
) _wrap_FontList_FindOrCreateFont
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21877          { (char *)"FontList_RemoveFont", (PyCFunction
) _wrap_FontList_RemoveFont
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21878          { (char *)"FontList_GetCount", (PyCFunction
) _wrap_FontList_GetCount
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21879          { (char *)"FontList_swigregister", FontList_swigregister
, METH_VARARGS
, NULL
}, 
21880          { (char *)"new_Effects", (PyCFunction
) _wrap_new_Effects
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21881          { (char *)"Effects_GetHighlightColour", (PyCFunction
) _wrap_Effects_GetHighlightColour
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21882          { (char *)"Effects_GetLightShadow", (PyCFunction
) _wrap_Effects_GetLightShadow
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21883          { (char *)"Effects_GetFaceColour", (PyCFunction
) _wrap_Effects_GetFaceColour
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21884          { (char *)"Effects_GetMediumShadow", (PyCFunction
) _wrap_Effects_GetMediumShadow
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21885          { (char *)"Effects_GetDarkShadow", (PyCFunction
) _wrap_Effects_GetDarkShadow
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21886          { (char *)"Effects_SetHighlightColour", (PyCFunction
) _wrap_Effects_SetHighlightColour
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21887          { (char *)"Effects_SetLightShadow", (PyCFunction
) _wrap_Effects_SetLightShadow
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21888          { (char *)"Effects_SetFaceColour", (PyCFunction
) _wrap_Effects_SetFaceColour
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21889          { (char *)"Effects_SetMediumShadow", (PyCFunction
) _wrap_Effects_SetMediumShadow
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21890          { (char *)"Effects_SetDarkShadow", (PyCFunction
) _wrap_Effects_SetDarkShadow
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21891          { (char *)"Effects_Set", (PyCFunction
) _wrap_Effects_Set
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21892          { (char *)"Effects_DrawSunkenEdge", (PyCFunction
) _wrap_Effects_DrawSunkenEdge
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21893          { (char *)"Effects_TileBitmap", (PyCFunction
) _wrap_Effects_TileBitmap
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21894          { (char *)"Effects_swigregister", Effects_swigregister
, METH_VARARGS
, NULL
}, 
21895          { (char *)"new_SplitterRenderParams", (PyCFunction
) _wrap_new_SplitterRenderParams
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21896          { (char *)"delete_SplitterRenderParams", (PyCFunction
) _wrap_delete_SplitterRenderParams
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21897          { (char *)"SplitterRenderParams_widthSash_get", (PyCFunction
) _wrap_SplitterRenderParams_widthSash_get
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21898          { (char *)"SplitterRenderParams_border_get", (PyCFunction
) _wrap_SplitterRenderParams_border_get
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21899          { (char *)"SplitterRenderParams_isHotSensitive_get", (PyCFunction
) _wrap_SplitterRenderParams_isHotSensitive_get
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21900          { (char *)"SplitterRenderParams_swigregister", SplitterRenderParams_swigregister
, METH_VARARGS
, NULL
}, 
21901          { (char *)"new_RendererVersion", (PyCFunction
) _wrap_new_RendererVersion
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21902          { (char *)"delete_RendererVersion", (PyCFunction
) _wrap_delete_RendererVersion
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21903          { (char *)"RendererVersion_IsCompatible", (PyCFunction
) _wrap_RendererVersion_IsCompatible
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21904          { (char *)"RendererVersion_version_get", (PyCFunction
) _wrap_RendererVersion_version_get
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21905          { (char *)"RendererVersion_age_get", (PyCFunction
) _wrap_RendererVersion_age_get
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21906          { (char *)"RendererVersion_swigregister", RendererVersion_swigregister
, METH_VARARGS
, NULL
}, 
21907          { (char *)"RendererNative_DrawHeaderButton", (PyCFunction
) _wrap_RendererNative_DrawHeaderButton
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21908          { (char *)"RendererNative_DrawTreeItemButton", (PyCFunction
) _wrap_RendererNative_DrawTreeItemButton
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21909          { (char *)"RendererNative_DrawSplitterBorder", (PyCFunction
) _wrap_RendererNative_DrawSplitterBorder
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21910          { (char *)"RendererNative_DrawSplitterSash", (PyCFunction
) _wrap_RendererNative_DrawSplitterSash
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21911          { (char *)"RendererNative_DrawComboBoxDropButton", (PyCFunction
) _wrap_RendererNative_DrawComboBoxDropButton
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21912          { (char *)"RendererNative_DrawDropArrow", (PyCFunction
) _wrap_RendererNative_DrawDropArrow
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21913          { (char *)"RendererNative_GetSplitterParams", (PyCFunction
) _wrap_RendererNative_GetSplitterParams
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21914          { (char *)"RendererNative_Get", (PyCFunction
) _wrap_RendererNative_Get
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21915          { (char *)"RendererNative_GetGeneric", (PyCFunction
) _wrap_RendererNative_GetGeneric
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21916          { (char *)"RendererNative_GetDefault", (PyCFunction
) _wrap_RendererNative_GetDefault
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21917          { (char *)"RendererNative_Set", (PyCFunction
) _wrap_RendererNative_Set
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21918          { (char *)"RendererNative_GetVersion", (PyCFunction
) _wrap_RendererNative_GetVersion
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21919          { (char *)"RendererNative_swigregister", RendererNative_swigregister
, METH_VARARGS
, NULL
}, 
21920          { NULL
, NULL
, 0, NULL 
} 
21924 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */ 
21926 static void *_p_wxBufferedDCTo_p_wxMemoryDC(void *x
) { 
21927     return (void *)((wxMemoryDC 
*)  ((wxBufferedDC 
*) x
)); 
21929 static void *_p_wxBufferedPaintDCTo_p_wxMemoryDC(void *x
) { 
21930     return (void *)((wxMemoryDC 
*) (wxBufferedDC 
*) ((wxBufferedPaintDC 
*) x
)); 
21932 static void *_p_wxIconTo_p_wxGDIObject(void *x
) { 
21933     return (void *)((wxGDIObject 
*)  ((wxIcon 
*) x
)); 
21935 static void *_p_wxPaletteTo_p_wxGDIObject(void *x
) { 
21936     return (void *)((wxGDIObject 
*)  ((wxPalette 
*) x
)); 
21938 static void *_p_wxPenTo_p_wxGDIObject(void *x
) { 
21939     return (void *)((wxGDIObject 
*)  ((wxPen 
*) x
)); 
21941 static void *_p_wxFontTo_p_wxGDIObject(void *x
) { 
21942     return (void *)((wxGDIObject 
*)  ((wxFont 
*) x
)); 
21944 static void *_p_wxCursorTo_p_wxGDIObject(void *x
) { 
21945     return (void *)((wxGDIObject 
*)  ((wxCursor 
*) x
)); 
21947 static void *_p_wxBitmapTo_p_wxGDIObject(void *x
) { 
21948     return (void *)((wxGDIObject 
*)  ((wxBitmap 
*) x
)); 
21950 static void *_p_wxRegionTo_p_wxGDIObject(void *x
) { 
21951     return (void *)((wxGDIObject 
*)  ((wxRegion 
*) x
)); 
21953 static void *_p_wxBrushTo_p_wxGDIObject(void *x
) { 
21954     return (void *)((wxGDIObject 
*)  ((wxBrush 
*) x
)); 
21956 static void *_p_wxBufferedDCTo_p_wxDC(void *x
) { 
21957     return (void *)((wxDC 
*) (wxMemoryDC 
*) ((wxBufferedDC 
*) x
)); 
21959 static void *_p_wxScreenDCTo_p_wxDC(void *x
) { 
21960     return (void *)((wxDC 
*)  ((wxScreenDC 
*) x
)); 
21962 static void *_p_wxMirrorDCTo_p_wxDC(void *x
) { 
21963     return (void *)((wxDC 
*)  ((wxMirrorDC 
*) x
)); 
21965 static void *_p_wxMemoryDCTo_p_wxDC(void *x
) { 
21966     return (void *)((wxDC 
*)  ((wxMemoryDC 
*) x
)); 
21968 static void *_p_wxWindowDCTo_p_wxDC(void *x
) { 
21969     return (void *)((wxDC 
*)  ((wxWindowDC 
*) x
)); 
21971 static void *_p_wxMetaFileDCTo_p_wxDC(void *x
) { 
21972     return (void *)((wxDC 
*)  ((wxMetaFileDC 
*) x
)); 
21974 static void *_p_wxBufferedPaintDCTo_p_wxDC(void *x
) { 
21975     return (void *)((wxDC 
*) (wxMemoryDC 
*)(wxBufferedDC 
*) ((wxBufferedPaintDC 
*) x
)); 
21977 static void *_p_wxClientDCTo_p_wxDC(void *x
) { 
21978     return (void *)((wxDC 
*)  ((wxClientDC 
*) x
)); 
21980 static void *_p_wxPaintDCTo_p_wxDC(void *x
) { 
21981     return (void *)((wxDC 
*)  ((wxPaintDC 
*) x
)); 
21983 static void *_p_wxPostScriptDCTo_p_wxDC(void *x
) { 
21984     return (void *)((wxDC 
*)  ((wxPostScriptDC 
*) x
)); 
21986 static void *_p_wxPrinterDCTo_p_wxDC(void *x
) { 
21987     return (void *)((wxDC 
*)  ((wxPrinterDC 
*) x
)); 
21989 static void *_p_wxBufferedPaintDCTo_p_wxBufferedDC(void *x
) { 
21990     return (void *)((wxBufferedDC 
*)  ((wxBufferedPaintDC 
*) x
)); 
21992 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) { 
21993     return (void *)((wxObject 
*)  ((wxLayoutConstraints 
*) x
)); 
21995 static void *_p_wxPenTo_p_wxObject(void *x
) { 
21996     return (void *)((wxObject 
*) (wxGDIObject 
*) ((wxPen 
*) x
)); 
21998 static void *_p_wxRegionIteratorTo_p_wxObject(void *x
) { 
21999     return (void *)((wxObject 
*)  ((wxRegionIterator 
*) x
)); 
22001 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) { 
22002     return (void *)((wxObject 
*) (wxSizerItem 
*) ((wxGBSizerItem 
*) x
)); 
22004 static void *_p_wxSizerItemTo_p_wxObject(void *x
) { 
22005     return (void *)((wxObject 
*)  ((wxSizerItem 
*) x
)); 
22007 static void *_p_wxColourDatabaseTo_p_wxObject(void *x
) { 
22008     return (void *)((wxObject 
*)  ((wxColourDatabase 
*) x
)); 
22010 static void *_p_wxScrollEventTo_p_wxObject(void *x
) { 
22011     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxScrollEvent 
*) x
)); 
22013 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) { 
22014     return (void *)((wxObject 
*)  ((wxIndividualLayoutConstraint 
*) x
)); 
22016 static void *_p_wxIconTo_p_wxObject(void *x
) { 
22017     return (void *)((wxObject 
*) (wxGDIObject 
*) ((wxIcon 
*) x
)); 
22019 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) { 
22020     return (void *)((wxObject 
*) (wxSizer 
*)(wxBoxSizer 
*) ((wxStaticBoxSizer 
*) x
)); 
22022 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) { 
22023     return (void *)((wxObject 
*) (wxSizer 
*) ((wxBoxSizer 
*) x
)); 
22025 static void *_p_wxSizerTo_p_wxObject(void *x
) { 
22026     return (void *)((wxObject 
*)  ((wxSizer 
*) x
)); 
22028 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) { 
22029     return (void *)((wxObject 
*) (wxSizer 
*)(wxGridSizer 
*)(wxFlexGridSizer 
*) ((wxGridBagSizer 
*) x
)); 
22031 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) { 
22032     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxUpdateUIEvent 
*) x
)); 
22034 static void *_p_wxPenListTo_p_wxObject(void *x
) { 
22035     return (void *)((wxObject 
*)  ((wxPenList 
*) x
)); 
22037 static void *_p_wxEventTo_p_wxObject(void *x
) { 
22038     return (void *)((wxObject 
*)  ((wxEvent 
*) x
)); 
22040 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) { 
22041     return (void *)((wxObject 
*) (wxSizer 
*)(wxGridSizer 
*) ((wxFlexGridSizer 
*) x
)); 
22043 static void *_p_wxGridSizerTo_p_wxObject(void *x
) { 
22044     return (void *)((wxObject 
*) (wxSizer 
*) ((wxGridSizer 
*) x
)); 
22046 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) { 
22047     return (void *)((wxObject 
*) (wxEvent 
*) ((wxInitDialogEvent 
*) x
)); 
22049 static void *_p_wxPaintEventTo_p_wxObject(void *x
) { 
22050     return (void *)((wxObject 
*) (wxEvent 
*) ((wxPaintEvent 
*) x
)); 
22052 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) { 
22053     return (void *)((wxObject 
*) (wxEvent 
*) ((wxNcPaintEvent 
*) x
)); 
22055 static void *_p_wxDCTo_p_wxObject(void *x
) { 
22056     return (void *)((wxObject 
*)  ((wxDC 
*) x
)); 
22058 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) { 
22059     return (void *)((wxObject 
*) (wxEvent 
*) ((wxPaletteChangedEvent 
*) x
)); 
22061 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) { 
22062     return (void *)((wxObject 
*) (wxEvent 
*) ((wxDisplayChangedEvent 
*) x
)); 
22064 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) { 
22065     return (void *)((wxObject 
*) (wxEvent 
*) ((wxMouseCaptureChangedEvent 
*) x
)); 
22067 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) { 
22068     return (void *)((wxObject 
*) (wxEvent 
*) ((wxSysColourChangedEvent 
*) x
)); 
22070 static void *_p_wxControlTo_p_wxObject(void *x
) { 
22071     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*) ((wxControl 
*) x
)); 
22073 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) { 
22074     return (void *)((wxObject 
*) (wxEvent 
*) ((wxSetCursorEvent 
*) x
)); 
22076 static void *_p_wxClientDCTo_p_wxObject(void *x
) { 
22077     return (void *)((wxObject 
*) (wxDC 
*) ((wxClientDC 
*) x
)); 
22079 static void *_p_wxFSFileTo_p_wxObject(void *x
) { 
22080     return (void *)((wxObject 
*)  ((wxFSFile 
*) x
)); 
22082 static void *_p_wxMemoryDCTo_p_wxObject(void *x
) { 
22083     return (void *)((wxObject 
*) (wxDC 
*) ((wxMemoryDC 
*) x
)); 
22085 static void *_p_wxRegionTo_p_wxObject(void *x
) { 
22086     return (void *)((wxObject 
*) (wxGDIObject 
*) ((wxRegion 
*) x
)); 
22088 static void *_p_wxPySizerTo_p_wxObject(void *x
) { 
22089     return (void *)((wxObject 
*) (wxSizer 
*) ((wxPySizer 
*) x
)); 
22091 static void *_p_wxWindowDCTo_p_wxObject(void *x
) { 
22092     return (void *)((wxObject 
*) (wxDC 
*) ((wxWindowDC 
*) x
)); 
22094 static void *_p_wxGDIObjectTo_p_wxObject(void *x
) { 
22095     return (void *)((wxObject 
*)  ((wxGDIObject 
*) x
)); 
22097 static void *_p_wxEffectsTo_p_wxObject(void *x
) { 
22098     return (void *)((wxObject 
*)  ((wxEffects 
*) x
)); 
22100 static void *_p_wxPyEventTo_p_wxObject(void *x
) { 
22101     return (void *)((wxObject 
*) (wxEvent 
*) ((wxPyEvent 
*) x
)); 
22103 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) { 
22104     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxNotifyEvent 
*) x
)); 
22106 static void *_p_wxPostScriptDCTo_p_wxObject(void *x
) { 
22107     return (void *)((wxObject 
*) (wxDC 
*) ((wxPostScriptDC 
*) x
)); 
22109 static void *_p_wxShowEventTo_p_wxObject(void *x
) { 
22110     return (void *)((wxObject 
*) (wxEvent 
*) ((wxShowEvent 
*) x
)); 
22112 static void *_p_wxMenuItemTo_p_wxObject(void *x
) { 
22113     return (void *)((wxObject 
*)  ((wxMenuItem 
*) x
)); 
22115 static void *_p_wxDateEventTo_p_wxObject(void *x
) { 
22116     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxDateEvent 
*) x
)); 
22118 static void *_p_wxIdleEventTo_p_wxObject(void *x
) { 
22119     return (void *)((wxObject 
*) (wxEvent 
*) ((wxIdleEvent 
*) x
)); 
22121 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) { 
22122     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxWindowCreateEvent 
*) x
)); 
22124 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) { 
22125     return (void *)((wxObject 
*) (wxEvent 
*) ((wxQueryNewPaletteEvent 
*) x
)); 
22127 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) { 
22128     return (void *)((wxObject 
*) (wxEvent 
*) ((wxMaximizeEvent 
*) x
)); 
22130 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) { 
22131     return (void *)((wxObject 
*) (wxEvent 
*) ((wxIconizeEvent 
*) x
)); 
22133 static void *_p_wxSizeEventTo_p_wxObject(void *x
) { 
22134     return (void *)((wxObject 
*) (wxEvent 
*) ((wxSizeEvent 
*) x
)); 
22136 static void *_p_wxMoveEventTo_p_wxObject(void *x
) { 
22137     return (void *)((wxObject 
*) (wxEvent 
*) ((wxMoveEvent 
*) x
)); 
22139 static void *_p_wxActivateEventTo_p_wxObject(void *x
) { 
22140     return (void *)((wxObject 
*) (wxEvent 
*) ((wxActivateEvent 
*) x
)); 
22142 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) { 
22143     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxPNMHandler 
*) x
)); 
22145 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) { 
22146     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxJPEGHandler 
*) x
)); 
22148 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) { 
22149     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxPCXHandler 
*) x
)); 
22151 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) { 
22152     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxGIFHandler 
*) x
)); 
22154 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) { 
22155     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxPNGHandler 
*) x
)); 
22157 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) { 
22158     return (void *)((wxObject 
*) (wxImageHandler 
*)(wxBMPHandler 
*)(wxICOHandler 
*)(wxCURHandler 
*) ((wxANIHandler 
*) x
)); 
22160 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) { 
22161     return (void *)((wxObject 
*) (wxImageHandler 
*)(wxBMPHandler 
*)(wxICOHandler 
*) ((wxCURHandler 
*) x
)); 
22163 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) { 
22164     return (void *)((wxObject 
*) (wxImageHandler 
*)(wxBMPHandler 
*) ((wxICOHandler 
*) x
)); 
22166 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) { 
22167     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxBMPHandler 
*) x
)); 
22169 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) { 
22170     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxPyImageHandler 
*) x
)); 
22172 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) { 
22173     return (void *)((wxObject 
*)  ((wxImageHandler 
*) x
)); 
22175 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) { 
22176     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxXPMHandler 
*) x
)); 
22178 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) { 
22179     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxTIFFHandler 
*) x
)); 
22181 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) { 
22182     return (void *)((wxObject 
*)  ((wxEvtHandler 
*) x
)); 
22184 static void *_p_wxBufferedPaintDCTo_p_wxObject(void *x
) { 
22185     return (void *)((wxObject 
*) (wxDC 
*)(wxMemoryDC 
*)(wxBufferedDC 
*) ((wxBufferedPaintDC 
*) x
)); 
22187 static void *_p_wxPaintDCTo_p_wxObject(void *x
) { 
22188     return (void *)((wxObject 
*) (wxDC 
*) ((wxPaintDC 
*) x
)); 
22190 static void *_p_wxPrinterDCTo_p_wxObject(void *x
) { 
22191     return (void *)((wxObject 
*) (wxDC 
*) ((wxPrinterDC 
*) x
)); 
22193 static void *_p_wxScreenDCTo_p_wxObject(void *x
) { 
22194     return (void *)((wxObject 
*) (wxDC 
*) ((wxScreenDC 
*) x
)); 
22196 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) { 
22197     return (void *)((wxObject 
*) (wxSizer 
*)(wxBoxSizer 
*) ((wxStdDialogButtonSizer 
*) x
)); 
22199 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) { 
22200     return (void *)((wxObject 
*)  ((wxAcceleratorTable 
*) x
)); 
22202 static void *_p_wxImageTo_p_wxObject(void *x
) { 
22203     return (void *)((wxObject 
*)  ((wxImage 
*) x
)); 
22205 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) { 
22206     return (void *)((wxObject 
*) (wxEvent 
*) ((wxScrollWinEvent 
*) x
)); 
22208 static void *_p_wxPaletteTo_p_wxObject(void *x
) { 
22209     return (void *)((wxObject 
*) (wxGDIObject 
*) ((wxPalette 
*) x
)); 
22211 static void *_p_wxBufferedDCTo_p_wxObject(void *x
) { 
22212     return (void *)((wxObject 
*) (wxDC 
*)(wxMemoryDC 
*) ((wxBufferedDC 
*) x
)); 
22214 static void *_p_wxImageListTo_p_wxObject(void *x
) { 
22215     return (void *)((wxObject 
*)  ((wxImageList 
*) x
)); 
22217 static void *_p_wxCursorTo_p_wxObject(void *x
) { 
22218     return (void *)((wxObject 
*) (wxGDIObject 
*) ((wxCursor 
*) x
)); 
22220 static void *_p_wxEncodingConverterTo_p_wxObject(void *x
) { 
22221     return (void *)((wxObject 
*)  ((wxEncodingConverter 
*) x
)); 
22223 static void *_p_wxMirrorDCTo_p_wxObject(void *x
) { 
22224     return (void *)((wxObject 
*) (wxDC 
*) ((wxMirrorDC 
*) x
)); 
22226 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) { 
22227     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxWindowDestroyEvent 
*) x
)); 
22229 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) { 
22230     return (void *)((wxObject 
*) (wxEvent 
*) ((wxNavigationKeyEvent 
*) x
)); 
22232 static void *_p_wxKeyEventTo_p_wxObject(void *x
) { 
22233     return (void *)((wxObject 
*) (wxEvent 
*) ((wxKeyEvent 
*) x
)); 
22235 static void *_p_wxWindowTo_p_wxObject(void *x
) { 
22236     return (void *)((wxObject 
*) (wxEvtHandler 
*) ((wxWindow 
*) x
)); 
22238 static void *_p_wxMenuTo_p_wxObject(void *x
) { 
22239     return (void *)((wxObject 
*) (wxEvtHandler 
*) ((wxMenu 
*) x
)); 
22241 static void *_p_wxMenuBarTo_p_wxObject(void *x
) { 
22242     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*) ((wxMenuBar 
*) x
)); 
22244 static void *_p_wxMetaFileDCTo_p_wxObject(void *x
) { 
22245     return (void *)((wxObject 
*) (wxDC 
*) ((wxMetaFileDC 
*) x
)); 
22247 static void *_p_wxBrushListTo_p_wxObject(void *x
) { 
22248     return (void *)((wxObject 
*)  ((wxBrushList 
*) x
)); 
22250 static void *_p_wxFileSystemTo_p_wxObject(void *x
) { 
22251     return (void *)((wxObject 
*)  ((wxFileSystem 
*) x
)); 
22253 static void *_p_wxBitmapTo_p_wxObject(void *x
) { 
22254     return (void *)((wxObject 
*) (wxGDIObject 
*) ((wxBitmap 
*) x
)); 
22256 static void *_p_wxMaskTo_p_wxObject(void *x
) { 
22257     return (void *)((wxObject 
*)  ((wxMask 
*) x
)); 
22259 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) { 
22260     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxContextMenuEvent 
*) x
)); 
22262 static void *_p_wxMenuEventTo_p_wxObject(void *x
) { 
22263     return (void *)((wxObject 
*) (wxEvent 
*) ((wxMenuEvent 
*) x
)); 
22265 static void *_p_wxPyAppTo_p_wxObject(void *x
) { 
22266     return (void *)((wxObject 
*) (wxEvtHandler 
*) ((wxPyApp 
*) x
)); 
22268 static void *_p_wxCloseEventTo_p_wxObject(void *x
) { 
22269     return (void *)((wxObject 
*) (wxEvent 
*) ((wxCloseEvent 
*) x
)); 
22271 static void *_p_wxMouseEventTo_p_wxObject(void *x
) { 
22272     return (void *)((wxObject 
*) (wxEvent 
*) ((wxMouseEvent 
*) x
)); 
22274 static void *_p_wxEraseEventTo_p_wxObject(void *x
) { 
22275     return (void *)((wxObject 
*) (wxEvent 
*) ((wxEraseEvent 
*) x
)); 
22277 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) { 
22278     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxPyCommandEvent 
*) x
)); 
22280 static void *_p_wxCommandEventTo_p_wxObject(void *x
) { 
22281     return (void *)((wxObject 
*) (wxEvent 
*) ((wxCommandEvent 
*) x
)); 
22283 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) { 
22284     return (void *)((wxObject 
*) (wxEvent 
*) ((wxDropFilesEvent 
*) x
)); 
22286 static void *_p_wxFocusEventTo_p_wxObject(void *x
) { 
22287     return (void *)((wxObject 
*) (wxEvent 
*) ((wxFocusEvent 
*) x
)); 
22289 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) { 
22290     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxChildFocusEvent 
*) x
)); 
22292 static void *_p_wxFontTo_p_wxObject(void *x
) { 
22293     return (void *)((wxObject 
*) (wxGDIObject 
*) ((wxFont 
*) x
)); 
22295 static void *_p_wxBrushTo_p_wxObject(void *x
) { 
22296     return (void *)((wxObject 
*) (wxGDIObject 
*) ((wxBrush 
*) x
)); 
22298 static void *_p_wxMetaFileTo_p_wxObject(void *x
) { 
22299     return (void *)((wxObject 
*)  ((wxMetaFile 
*) x
)); 
22301 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) { 
22302     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxControl 
*) ((wxControlWithItems 
*) x
)); 
22304 static void *_p_wxColourTo_p_wxObject(void *x
) { 
22305     return (void *)((wxObject 
*)  ((wxColour 
*) x
)); 
22307 static void *_p_wxFontListTo_p_wxObject(void *x
) { 
22308     return (void *)((wxObject 
*)  ((wxFontList 
*) x
)); 
22310 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) { 
22311     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxValidator 
*) ((wxPyValidator 
*) x
)); 
22313 static void *_p_wxValidatorTo_p_wxObject(void *x
) { 
22314     return (void *)((wxObject 
*) (wxEvtHandler 
*) ((wxValidator 
*) x
)); 
22316 static void *_p_wxControlTo_p_wxWindow(void *x
) { 
22317     return (void *)((wxWindow 
*)  ((wxControl 
*) x
)); 
22319 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) { 
22320     return (void *)((wxWindow 
*) (wxControl 
*) ((wxControlWithItems 
*) x
)); 
22322 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) { 
22323     return (void *)((wxWindow 
*)  ((wxMenuBar 
*) x
)); 
22325 static swig_type_info _swigt__p_wxPostScriptDC
[] = {{"_p_wxPostScriptDC", 0, "wxPostScriptDC *", 0, 0, 0, 0},{"_p_wxPostScriptDC", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
22326 static swig_type_info _swigt__p_wxBrush
[] = {{"_p_wxBrush", 0, "wxBrush *", 0, 0, 0, 0},{"_p_wxBrush", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
22327 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}}; 
22328 static swig_type_info _swigt__p_wxDC
[] = {{"_p_wxDC", 0, "wxDC *", 0, 0, 0, 0},{"_p_wxBufferedDC", _p_wxBufferedDCTo_p_wxDC
, 0, 0, 0, 0, 0},{"_p_wxScreenDC", _p_wxScreenDCTo_p_wxDC
, 0, 0, 0, 0, 0},{"_p_wxMirrorDC", _p_wxMirrorDCTo_p_wxDC
, 0, 0, 0, 0, 0},{"_p_wxMemoryDC", _p_wxMemoryDCTo_p_wxDC
, 0, 0, 0, 0, 0},{"_p_wxWindowDC", _p_wxWindowDCTo_p_wxDC
, 0, 0, 0, 0, 0},{"_p_wxDC", 0, 0, 0, 0, 0, 0},{"_p_wxMetaFileDC", _p_wxMetaFileDCTo_p_wxDC
, 0, 0, 0, 0, 0},{"_p_wxBufferedPaintDC", _p_wxBufferedPaintDCTo_p_wxDC
, 0, 0, 0, 0, 0},{"_p_wxClientDC", _p_wxClientDCTo_p_wxDC
, 0, 0, 0, 0, 0},{"_p_wxPaintDC", _p_wxPaintDCTo_p_wxDC
, 0, 0, 0, 0, 0},{"_p_wxPostScriptDC", _p_wxPostScriptDCTo_p_wxDC
, 0, 0, 0, 0, 0},{"_p_wxPrinterDC", _p_wxPrinterDCTo_p_wxDC
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
22329 static swig_type_info _swigt__p_wxMirrorDC
[] = {{"_p_wxMirrorDC", 0, "wxMirrorDC *", 0, 0, 0, 0},{"_p_wxMirrorDC", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
22330 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}}; 
22331 static swig_type_info _swigt__p_wxRendererVersion
[] = {{"_p_wxRendererVersion", 0, "wxRendererVersion *", 0, 0, 0, 0},{"_p_wxRendererVersion", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
22332 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}}; 
22333 static swig_type_info _swigt__p_wxPyFontEnumerator
[] = {{"_p_wxPyFontEnumerator", 0, "wxPyFontEnumerator *", 0, 0, 0, 0},{"_p_wxPyFontEnumerator", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
22334 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}}; 
22335 static swig_type_info _swigt__p_wxIconLocation
[] = {{"_p_wxIconLocation", 0, "wxIconLocation *", 0, 0, 0, 0},{"_p_wxIconLocation", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
22336 static swig_type_info _swigt__p_wxImage
[] = {{"_p_wxImage", 0, "wxImage *", 0, 0, 0, 0},{"_p_wxImage", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
22337 static swig_type_info _swigt__p_wxMetaFileDC
[] = {{"_p_wxMetaFileDC", 0, "wxMetaFileDC *", 0, 0, 0, 0},{"_p_wxMetaFileDC", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
22338 static swig_type_info _swigt__p_wxMask
[] = {{"_p_wxMask", 0, "wxMask *", 0, 0, 0, 0},{"_p_wxMask", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
22339 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}}; 
22340 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}}; 
22341 static swig_type_info _swigt__p_wxWindow
[] = {{"_p_wxWindow", 0, "wxWindow *", 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxWindow", 0, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
22342 static swig_type_info _swigt__p_double
[] = {{"_p_double", 0, "double *", 0, 0, 0, 0},{"_p_double", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
22343 static swig_type_info _swigt__p_wxMemoryDC
[] = {{"_p_wxMemoryDC", 0, "wxMemoryDC *", 0, 0, 0, 0},{"_p_wxBufferedDC", _p_wxBufferedDCTo_p_wxMemoryDC
, 0, 0, 0, 0, 0},{"_p_wxMemoryDC", 0, 0, 0, 0, 0, 0},{"_p_wxBufferedPaintDC", _p_wxBufferedPaintDCTo_p_wxMemoryDC
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
22344 static swig_type_info _swigt__p_wxFontMapper
[] = {{"_p_wxFontMapper", 0, "wxFontMapper *", 0, 0, 0, 0},{"_p_wxFontMapper", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
22345 static swig_type_info _swigt__p_wxEffects
[] = {{"_p_wxEffects", 0, "wxEffects *", 0, 0, 0, 0},{"_p_wxEffects", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
22346 static swig_type_info _swigt__p_wxNativeEncodingInfo
[] = {{"_p_wxNativeEncodingInfo", 0, "wxNativeEncodingInfo *", 0, 0, 0, 0},{"_p_wxNativeEncodingInfo", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
22347 static swig_type_info _swigt__p_wxPalette
[] = {{"_p_wxPalette", 0, "wxPalette *", 0, 0, 0, 0},{"_p_wxPalette", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
22348 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}}; 
22349 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_wxRegionIterator", _p_wxRegionIteratorTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPen", _p_wxPenTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxColourDatabase", _p_wxColourDatabaseTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizer", _p_wxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPenList", _p_wxPenListTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEvent", _p_wxEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMask", _p_wxMaskTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFont", _p_wxFontTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxClientDC", _p_wxClientDCTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMemoryDC", _p_wxMemoryDCTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxRegion", _p_wxRegionTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDC", _p_wxDCTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIcon", _p_wxIconTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindowDC", _p_wxWindowDCTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGDIObject", _p_wxGDIObjectTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEffects", _p_wxEffectsTo_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_wxPostScriptDC", _p_wxPostScriptDCTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDateEvent", _p_wxDateEventTo_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_wxSizeEvent", _p_wxSizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyImageHandler", _p_wxPyImageHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_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_wxPaintDC", _p_wxPaintDCTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBufferedPaintDC", _p_wxBufferedPaintDCTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPrinterDC", _p_wxPrinterDCTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxScreenDC", _p_wxScreenDCTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxStdDialogButtonSizer", _p_wxStdDialogButtonSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxImage", _p_wxImageTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBufferedDC", _p_wxBufferedDCTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPalette", _p_wxPaletteTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxImageList", _p_wxImageListTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCursor", _p_wxCursorTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxObject", 0, 0, 0, 0, 0, 0},{"_p_wxMirrorDC", _p_wxMirrorDCTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEncodingConverter", _p_wxEncodingConverterTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMetaFileDC", _p_wxMetaFileDCTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBrushList", _p_wxBrushListTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBitmap", _p_wxBitmapTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBrush", _p_wxBrushTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMetaFile", _p_wxMetaFileTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxColour", _p_wxColourTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFontList", _p_wxFontListTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
22350 static swig_type_info _swigt__p_wxRegionIterator
[] = {{"_p_wxRegionIterator", 0, "wxRegionIterator *", 0, 0, 0, 0},{"_p_wxRegionIterator", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
22351 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}}; 
22352 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}}; 
22353 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}}; 
22354 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}}; 
22355 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}}; 
22356 static swig_type_info _swigt__p_wxPrinterDC
[] = {{"_p_wxPrinterDC", 0, "wxPrinterDC *", 0, 0, 0, 0},{"_p_wxPrinterDC", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
22357 static swig_type_info _swigt__p_wxIconBundle
[] = {{"_p_wxIconBundle", 0, "wxIconBundle *", 0, 0, 0, 0},{"_p_wxIconBundle", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
22358 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}}; 
22359 static swig_type_info _swigt__p_wxDash
[] = {{"_p_wxDash", 0, "wxDash *", 0, 0, 0, 0},{"_p_wxDash", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
22360 static swig_type_info _swigt__p_wxScreenDC
[] = {{"_p_wxScreenDC", 0, "wxScreenDC *", 0, 0, 0, 0},{"_p_wxScreenDC", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
22361 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}}; 
22362 static swig_type_info _swigt__p_wxClientDC
[] = {{"_p_wxClientDC", 0, "wxClientDC *", 0, 0, 0, 0},{"_p_wxClientDC", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
22363 static swig_type_info _swigt__p_wxBufferedDC
[] = {{"_p_wxBufferedDC", 0, "wxBufferedDC *", 0, 0, 0, 0},{"_p_wxBufferedDC", 0, 0, 0, 0, 0, 0},{"_p_wxBufferedPaintDC", _p_wxBufferedPaintDCTo_p_wxBufferedDC
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
22364 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}}; 
22365 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}}; 
22366 static swig_type_info _swigt__p_wxGDIObject
[] = {{"_p_wxGDIObject", 0, "wxGDIObject *", 0, 0, 0, 0},{"_p_wxIcon", _p_wxIconTo_p_wxGDIObject
, 0, 0, 0, 0, 0},{"_p_wxPen", _p_wxPenTo_p_wxGDIObject
, 0, 0, 0, 0, 0},{"_p_wxFont", _p_wxFontTo_p_wxGDIObject
, 0, 0, 0, 0, 0},{"_p_wxPalette", _p_wxPaletteTo_p_wxGDIObject
, 0, 0, 0, 0, 0},{"_p_wxGDIObject", 0, 0, 0, 0, 0, 0},{"_p_wxCursor", _p_wxCursorTo_p_wxGDIObject
, 0, 0, 0, 0, 0},{"_p_wxBitmap", _p_wxBitmapTo_p_wxGDIObject
, 0, 0, 0, 0, 0},{"_p_wxRegion", _p_wxRegionTo_p_wxGDIObject
, 0, 0, 0, 0, 0},{"_p_wxBrush", _p_wxBrushTo_p_wxGDIObject
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
22367 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}}; 
22368 static swig_type_info _swigt__p_wxLocale
[] = {{"_p_wxLocale", 0, "wxLocale *", 0, 0, 0, 0},{"_p_wxLocale", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
22369 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}}; 
22370 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}}; 
22371 static swig_type_info _swigt__p_wxRegion
[] = {{"_p_wxRegion", 0, "wxRegion *", 0, 0, 0, 0},{"_p_wxRegion", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
22372 static swig_type_info _swigt__p_wxLanguageInfo
[] = {{"_p_wxLanguageInfo", 0, "wxLanguageInfo *", 0, 0, 0, 0},{"_p_wxLanguageInfo", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
22373 static swig_type_info _swigt__p_wxWindowDC
[] = {{"_p_wxWindowDC", 0, "wxWindowDC *", 0, 0, 0, 0},{"_p_wxWindowDC", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
22374 static swig_type_info _swigt__p_wxPrintData
[] = {{"_p_wxPrintData", 0, "wxPrintData *", 0, 0, 0, 0},{"_p_wxPrintData", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
22375 static swig_type_info _swigt__p_wxBrushList
[] = {{"_p_wxBrushList", 0, "wxBrushList *", 0, 0, 0, 0},{"_p_wxBrushList", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
22376 static swig_type_info _swigt__p_wxFontList
[] = {{"_p_wxFontList", 0, "wxFontList *", 0, 0, 0, 0},{"_p_wxFontList", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
22377 static swig_type_info _swigt__p_wxPen
[] = {{"_p_wxPen", 0, "wxPen *", 0, 0, 0, 0},{"_p_wxPen", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
22378 static swig_type_info _swigt__p_wxBufferedPaintDC
[] = {{"_p_wxBufferedPaintDC", 0, "wxBufferedPaintDC *", 0, 0, 0, 0},{"_p_wxBufferedPaintDC", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
22379 static swig_type_info _swigt__p_wxPaintDC
[] = {{"_p_wxPaintDC", 0, "wxPaintDC *", 0, 0, 0, 0},{"_p_wxPaintDC", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
22380 static swig_type_info _swigt__p_wxPenList
[] = {{"_p_wxPenList", 0, "wxPenList *", 0, 0, 0, 0},{"_p_wxPenList", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
22381 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}}; 
22382 static swig_type_info _swigt__p_wxMetaFile
[] = {{"_p_wxMetaFile", 0, "wxMetaFile *", 0, 0, 0, 0},{"_p_wxMetaFile", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
22383 static swig_type_info _swigt__p_wxRendererNative
[] = {{"_p_wxRendererNative", 0, "wxRendererNative *", 0, 0, 0, 0},{"_p_wxRendererNative", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
22384 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}}; 
22385 static swig_type_info _swigt__p_wxNativeFontInfo
[] = {{"_p_wxNativeFontInfo", 0, "wxNativeFontInfo *", 0, 0, 0, 0},{"_p_wxNativeFontInfo", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
22386 static swig_type_info _swigt__p_wxEncodingConverter
[] = {{"_p_wxEncodingConverter", 0, "wxEncodingConverter *", 0, 0, 0, 0},{"_p_wxEncodingConverter", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
22387 static swig_type_info _swigt__p_wxSplitterRenderParams
[] = {{"_p_wxSplitterRenderParams", 0, "wxSplitterRenderParams *", 0, 0, 0, 0},{"_p_wxSplitterRenderParams", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
22388 static swig_type_info _swigt__p_wxColourDatabase
[] = {{"_p_wxColourDatabase", 0, "wxColourDatabase *", 0, 0, 0, 0},{"_p_wxColourDatabase", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
22390 static swig_type_info 
*swig_types_initial
[] = { 
22391 _swigt__p_wxPostScriptDC
,  
22393 _swigt__p_wxColour
,  
22395 _swigt__p_wxMirrorDC
,  
22396 _swigt__p_form_ops_t
,  
22397 _swigt__p_wxRendererVersion
,  
22398 _swigt__p_wxDuplexMode
,  
22399 _swigt__p_wxPyFontEnumerator
,  
22401 _swigt__p_wxIconLocation
,  
22403 _swigt__p_wxMetaFileDC
,  
22407 _swigt__p_wxWindow
,  
22409 _swigt__p_wxMemoryDC
,  
22410 _swigt__p_wxFontMapper
,  
22411 _swigt__p_wxEffects
,  
22412 _swigt__p_wxNativeEncodingInfo
,  
22413 _swigt__p_wxPalette
,  
22414 _swigt__p_wxBitmap
,  
22415 _swigt__p_wxObject
,  
22416 _swigt__p_wxRegionIterator
,  
22418 _swigt__p_wxPaperSize
,  
22419 _swigt__p_wxString
,  
22420 _swigt__unsigned_int
,  
22421 _swigt__p_unsigned_int
,  
22422 _swigt__p_wxPrinterDC
,  
22423 _swigt__p_wxIconBundle
,  
22426 _swigt__p_wxScreenDC
,  
22427 _swigt__p_wxCursor
,  
22428 _swigt__p_wxClientDC
,  
22429 _swigt__p_wxBufferedDC
,  
22430 _swigt__p_wxImageList
,  
22431 _swigt__p_unsigned_char
,  
22432 _swigt__p_wxGDIObject
,  
22434 _swigt__p_wxLocale
,  
22436 _swigt__std__ptrdiff_t
,  
22437 _swigt__p_wxRegion
,  
22438 _swigt__p_wxLanguageInfo
,  
22439 _swigt__p_wxWindowDC
,  
22440 _swigt__p_wxPrintData
,  
22441 _swigt__p_wxBrushList
,  
22442 _swigt__p_wxFontList
,  
22444 _swigt__p_wxBufferedPaintDC
,  
22445 _swigt__p_wxPaintDC
,  
22446 _swigt__p_wxPenList
,  
22448 _swigt__p_wxMetaFile
,  
22449 _swigt__p_wxRendererNative
,  
22450 _swigt__p_unsigned_long
,  
22451 _swigt__p_wxNativeFontInfo
,  
22452 _swigt__p_wxEncodingConverter
,  
22453 _swigt__p_wxSplitterRenderParams
,  
22454 _swigt__p_wxColourDatabase
,  
22459 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */ 
22461 static swig_const_info swig_const_table
[] = { 
22462 {0, 0, 0, 0.0, 0, 0}}; 
22473     /* Python-specific SWIG API */ 
22474 #define SWIG_newvarlink()                             SWIG_Python_newvarlink() 
22475 #define SWIG_addvarlink(p, name, get_attr, set_attr)  SWIG_Python_addvarlink(p, name, get_attr, set_attr) 
22476 #define SWIG_InstallConstants(d, constants)           SWIG_Python_InstallConstants(d, constants) 
22478     /* ----------------------------------------------------------------------------- 
22479      * global variable support code. 
22480      * ----------------------------------------------------------------------------- */ 
22482     typedef struct swig_globalvar 
{ 
22483         char       *name
;                  /* Name of global variable */ 
22484         PyObject 
*(*get_attr
)();           /* Return the current value */ 
22485         int       (*set_attr
)(PyObject 
*); /* Set the value */ 
22486         struct swig_globalvar 
*next
; 
22489     typedef struct swig_varlinkobject 
{ 
22491         swig_globalvar 
*vars
; 
22492     } swig_varlinkobject
; 
22495     swig_varlink_repr(swig_varlinkobject 
*v
) { 
22497         return PyString_FromString("<Swig global variables>"); 
22501     swig_varlink_print(swig_varlinkobject 
*v
, FILE *fp
, int flags
) { 
22502         swig_globalvar  
*var
; 
22504         fprintf(fp
,"Swig global variables { "); 
22505         for (var 
= v
->vars
; var
; var
=var
->next
) { 
22506             fprintf(fp
,"%s", var
->name
); 
22507             if (var
->next
) fprintf(fp
,", "); 
22509         fprintf(fp
," }\n"); 
22514     swig_varlink_getattr(swig_varlinkobject 
*v
, char *n
) { 
22515         swig_globalvar 
*var 
= v
->vars
; 
22517             if (strcmp(var
->name
,n
) == 0) { 
22518                 return (*var
->get_attr
)(); 
22522         PyErr_SetString(PyExc_NameError
,"Unknown C global variable"); 
22527     swig_varlink_setattr(swig_varlinkobject 
*v
, char *n
, PyObject 
*p
) { 
22528         swig_globalvar 
*var 
= v
->vars
; 
22530             if (strcmp(var
->name
,n
) == 0) { 
22531                 return (*var
->set_attr
)(p
); 
22535         PyErr_SetString(PyExc_NameError
,"Unknown C global variable"); 
22539     static PyTypeObject varlinktype 
= { 
22540         PyObject_HEAD_INIT(0)               
22541         0,                                  /* Number of items in variable part (ob_size) */ 
22542         (char *)"swigvarlink",              /* Type name (tp_name) */ 
22543         sizeof(swig_varlinkobject
),         /* Basic size (tp_basicsize) */ 
22544         0,                                  /* Itemsize (tp_itemsize) */ 
22545         0,                                  /* Deallocator (tp_dealloc) */  
22546         (printfunc
) swig_varlink_print
,     /* Print (tp_print) */ 
22547         (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */ 
22548         (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */ 
22549         0,                                  /* tp_compare */ 
22550         (reprfunc
) swig_varlink_repr
,       /* tp_repr */ 
22551         0,                                  /* tp_as_number */ 
22552         0,                                  /* tp_as_sequence */ 
22553         0,                                  /* tp_as_mapping */ 
22557         0,                                  /* tp_getattro */ 
22558         0,                                  /* tp_setattro */ 
22559         0,                                  /* tp_as_buffer */ 
22562 #if PY_VERSION_HEX >= 0x02000000 
22563         0,                                  /* tp_traverse */ 
22566 #if PY_VERSION_HEX >= 0x02010000 
22567         0,                                  /* tp_richcompare */ 
22568         0,                                  /* tp_weaklistoffset */ 
22570 #if PY_VERSION_HEX >= 0x02020000 
22571         0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */ 
22573 #if PY_VERSION_HEX >= 0x02030000 
22576 #ifdef COUNT_ALLOCS 
22577         0,0,0,0                             /* tp_alloc -> tp_next */ 
22581     /* Create a variable linking object for use later */ 
22583     SWIG_Python_newvarlink(void) { 
22584         swig_varlinkobject 
*result 
= 0; 
22585         result 
= PyMem_NEW(swig_varlinkobject
,1); 
22586         varlinktype
.ob_type 
= &PyType_Type
;    /* Patch varlinktype into a PyType */ 
22587         result
->ob_type 
= &varlinktype
; 
22589         result
->ob_refcnt 
= 0; 
22590         Py_XINCREF((PyObject 
*) result
); 
22591         return ((PyObject
*) result
); 
22595     SWIG_Python_addvarlink(PyObject 
*p
, char *name
, PyObject 
*(*get_attr
)(void), int (*set_attr
)(PyObject 
*p
)) { 
22596         swig_varlinkobject 
*v
; 
22597         swig_globalvar 
*gv
; 
22598         v
= (swig_varlinkobject 
*) p
; 
22599         gv 
= (swig_globalvar 
*) malloc(sizeof(swig_globalvar
)); 
22600         gv
->name 
= (char *) malloc(strlen(name
)+1); 
22601         strcpy(gv
->name
,name
); 
22602         gv
->get_attr 
= get_attr
; 
22603         gv
->set_attr 
= set_attr
; 
22604         gv
->next 
= v
->vars
; 
22608     /* ----------------------------------------------------------------------------- 
22609      * constants/methods manipulation 
22610      * ----------------------------------------------------------------------------- */ 
22612     /* Install Constants */ 
22614     SWIG_Python_InstallConstants(PyObject 
*d
, swig_const_info constants
[]) { 
22617         for (i 
= 0; constants
[i
].type
; i
++) { 
22618             switch(constants
[i
].type
) { 
22620                 obj 
= PyInt_FromLong(constants
[i
].lvalue
); 
22622                 case SWIG_PY_FLOAT
: 
22623                 obj 
= PyFloat_FromDouble(constants
[i
].dvalue
); 
22625                 case SWIG_PY_STRING
: 
22626                 if (constants
[i
].pvalue
) { 
22627                     obj 
= PyString_FromString((char *) constants
[i
].pvalue
); 
22629                     Py_INCREF(Py_None
); 
22633                 case SWIG_PY_POINTER
: 
22634                 obj 
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0); 
22636                 case SWIG_PY_BINARY
: 
22637                 obj 
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
)); 
22644                 PyDict_SetItemString(d
,constants
[i
].name
,obj
); 
22650     /* -----------------------------------------------------------------------------*/ 
22651     /* Fix SwigMethods to carry the callback ptrs when needed */ 
22652     /* -----------------------------------------------------------------------------*/ 
22655     SWIG_Python_FixMethods(PyMethodDef 
*methods
, 
22656     swig_const_info 
*const_table
, 
22657     swig_type_info 
**types
, 
22658     swig_type_info 
**types_initial
) { 
22660         for (i 
= 0; methods
[i
].ml_name
; ++i
) { 
22661             char *c 
= methods
[i
].ml_doc
; 
22662             if (c 
&& (c 
= strstr(c
, "swig_ptr: "))) { 
22664                 swig_const_info 
*ci 
= 0; 
22665                 char *name 
= c 
+ 10; 
22666                 for (j 
= 0; const_table
[j
].type
; j
++) { 
22667                     if (strncmp(const_table
[j
].name
, name
,  
22668                     strlen(const_table
[j
].name
)) == 0) { 
22669                         ci 
= &(const_table
[j
]); 
22674                     size_t shift 
= (ci
->ptype
) - types
; 
22675                     swig_type_info 
*ty 
= types_initial
[shift
]; 
22676                     size_t ldoc 
= (c 
- methods
[i
].ml_doc
); 
22677                     size_t lptr 
= strlen(ty
->name
)+2*sizeof(void*)+2; 
22678                     char *ndoc 
= (char*)malloc(ldoc 
+ lptr 
+ 10); 
22680                     void *ptr 
= (ci
->type 
== SWIG_PY_POINTER
) ? ci
->pvalue
: (void *)(ci
->lvalue
); 
22681                     strncpy(buff
, methods
[i
].ml_doc
, ldoc
); 
22683                     strncpy(buff
, "swig_ptr: ", 10); 
22685                     SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
); 
22686                     methods
[i
].ml_doc 
= ndoc
; 
22692     /* -----------------------------------------------------------------------------* 
22693      *  Initialize type list 
22694      * -----------------------------------------------------------------------------*/ 
22696 #if PY_MAJOR_VERSION < 2 
22697     /* PyModule_AddObject function was introduced in Python 2.0.  The following function 
22698     is copied out of Python/modsupport.c in python version 2.3.4 */ 
22700     PyModule_AddObject(PyObject 
*m
, char *name
, PyObject 
*o
) 
22703         if (!PyModule_Check(m
)) { 
22704             PyErr_SetString(PyExc_TypeError
, 
22705             "PyModule_AddObject() needs module as first arg"); 
22709             PyErr_SetString(PyExc_TypeError
, 
22710             "PyModule_AddObject() needs non-NULL value"); 
22714         dict 
= PyModule_GetDict(m
); 
22715         if (dict 
== NULL
) { 
22716             /* Internal error -- modules must have a dict! */ 
22717             PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__", 
22718             PyModule_GetName(m
)); 
22721         if (PyDict_SetItemString(dict
, name
, o
)) 
22728     static swig_type_info 
** 
22729     SWIG_Python_SetTypeListHandle(swig_type_info 
**type_list_handle
) { 
22730         static PyMethodDef swig_empty_runtime_method_table
[] = { 
22732                 NULL
, NULL
, 0, NULL
 
22736         PyObject 
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
, 
22737         swig_empty_runtime_method_table
); 
22738         PyObject 
*pointer 
= PyCObject_FromVoidPtr((void *) type_list_handle
, NULL
); 
22739         if (pointer 
&& module) { 
22740             PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
); 
22742         return type_list_handle
; 
22745     static swig_type_info 
** 
22746     SWIG_Python_LookupTypePointer(swig_type_info 
**type_list_handle
) { 
22747         swig_type_info 
**type_pointer
; 
22749         /* first check if module already created */ 
22750         type_pointer 
= SWIG_Python_GetTypeListHandle(); 
22751         if (type_pointer
) { 
22752             return type_pointer
; 
22754             /* create a new module and variable */ 
22755             return SWIG_Python_SetTypeListHandle(type_list_handle
); 
22763 /* -----------------------------------------------------------------------------* 
22764  *  Partial Init method 
22765  * -----------------------------------------------------------------------------*/ 
22767 #ifdef SWIG_LINK_RUNTIME 
22771 SWIGEXPORT(void *) SWIG_ReturnGlobalTypeList(void *); 
22777 SWIGEXPORT(void) SWIG_init(void) { 
22778     static PyObject 
*SWIG_globals 
= 0;  
22779     static int       typeinit 
= 0; 
22782     if (!SWIG_globals
) SWIG_globals 
= SWIG_newvarlink(); 
22784     /* Fix SwigMethods to carry the callback ptrs when needed */ 
22785     SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_types_initial
); 
22787     m 
= Py_InitModule((char *) SWIG_name
, SwigMethods
); 
22788     d 
= PyModule_GetDict(m
); 
22791 #ifdef SWIG_LINK_RUNTIME 
22792         swig_type_list_handle 
= (swig_type_info 
**) SWIG_ReturnGlobalTypeList(swig_type_list_handle
); 
22794 #  ifndef SWIG_STATIC_RUNTIME 
22795         swig_type_list_handle 
= SWIG_Python_LookupTypePointer(swig_type_list_handle
); 
22798         for (i 
= 0; swig_types_initial
[i
]; i
++) { 
22799             swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]); 
22803     SWIG_InstallConstants(d
,swig_const_table
); 
22806         PyDict_SetItemString(d
,"OutRegion", SWIG_From_int((int)(wxOutRegion
)));  
22809         PyDict_SetItemString(d
,"PartRegion", SWIG_From_int((int)(wxPartRegion
)));  
22812         PyDict_SetItemString(d
,"InRegion", SWIG_From_int((int)(wxInRegion
)));  
22815         PyDict_SetItemString(d
,"FONTFAMILY_DEFAULT", SWIG_From_int((int)(wxFONTFAMILY_DEFAULT
)));  
22818         PyDict_SetItemString(d
,"FONTFAMILY_DECORATIVE", SWIG_From_int((int)(wxFONTFAMILY_DECORATIVE
)));  
22821         PyDict_SetItemString(d
,"FONTFAMILY_ROMAN", SWIG_From_int((int)(wxFONTFAMILY_ROMAN
)));  
22824         PyDict_SetItemString(d
,"FONTFAMILY_SCRIPT", SWIG_From_int((int)(wxFONTFAMILY_SCRIPT
)));  
22827         PyDict_SetItemString(d
,"FONTFAMILY_SWISS", SWIG_From_int((int)(wxFONTFAMILY_SWISS
)));  
22830         PyDict_SetItemString(d
,"FONTFAMILY_MODERN", SWIG_From_int((int)(wxFONTFAMILY_MODERN
)));  
22833         PyDict_SetItemString(d
,"FONTFAMILY_TELETYPE", SWIG_From_int((int)(wxFONTFAMILY_TELETYPE
)));  
22836         PyDict_SetItemString(d
,"FONTFAMILY_MAX", SWIG_From_int((int)(wxFONTFAMILY_MAX
)));  
22839         PyDict_SetItemString(d
,"FONTFAMILY_UNKNOWN", SWIG_From_int((int)(wxFONTFAMILY_UNKNOWN
)));  
22842         PyDict_SetItemString(d
,"FONTSTYLE_NORMAL", SWIG_From_int((int)(wxFONTSTYLE_NORMAL
)));  
22845         PyDict_SetItemString(d
,"FONTSTYLE_ITALIC", SWIG_From_int((int)(wxFONTSTYLE_ITALIC
)));  
22848         PyDict_SetItemString(d
,"FONTSTYLE_SLANT", SWIG_From_int((int)(wxFONTSTYLE_SLANT
)));  
22851         PyDict_SetItemString(d
,"FONTSTYLE_MAX", SWIG_From_int((int)(wxFONTSTYLE_MAX
)));  
22854         PyDict_SetItemString(d
,"FONTWEIGHT_NORMAL", SWIG_From_int((int)(wxFONTWEIGHT_NORMAL
)));  
22857         PyDict_SetItemString(d
,"FONTWEIGHT_LIGHT", SWIG_From_int((int)(wxFONTWEIGHT_LIGHT
)));  
22860         PyDict_SetItemString(d
,"FONTWEIGHT_BOLD", SWIG_From_int((int)(wxFONTWEIGHT_BOLD
)));  
22863         PyDict_SetItemString(d
,"FONTWEIGHT_MAX", SWIG_From_int((int)(wxFONTWEIGHT_MAX
)));  
22866         PyDict_SetItemString(d
,"FONTFLAG_DEFAULT", SWIG_From_int((int)(wxFONTFLAG_DEFAULT
)));  
22869         PyDict_SetItemString(d
,"FONTFLAG_ITALIC", SWIG_From_int((int)(wxFONTFLAG_ITALIC
)));  
22872         PyDict_SetItemString(d
,"FONTFLAG_SLANT", SWIG_From_int((int)(wxFONTFLAG_SLANT
)));  
22875         PyDict_SetItemString(d
,"FONTFLAG_LIGHT", SWIG_From_int((int)(wxFONTFLAG_LIGHT
)));  
22878         PyDict_SetItemString(d
,"FONTFLAG_BOLD", SWIG_From_int((int)(wxFONTFLAG_BOLD
)));  
22881         PyDict_SetItemString(d
,"FONTFLAG_ANTIALIASED", SWIG_From_int((int)(wxFONTFLAG_ANTIALIASED
)));  
22884         PyDict_SetItemString(d
,"FONTFLAG_NOT_ANTIALIASED", SWIG_From_int((int)(wxFONTFLAG_NOT_ANTIALIASED
)));  
22887         PyDict_SetItemString(d
,"FONTFLAG_UNDERLINED", SWIG_From_int((int)(wxFONTFLAG_UNDERLINED
)));  
22890         PyDict_SetItemString(d
,"FONTFLAG_STRIKETHROUGH", SWIG_From_int((int)(wxFONTFLAG_STRIKETHROUGH
)));  
22893         PyDict_SetItemString(d
,"FONTFLAG_MASK", SWIG_From_int((int)(wxFONTFLAG_MASK
)));  
22896         PyDict_SetItemString(d
,"FONTENCODING_SYSTEM", SWIG_From_int((int)(wxFONTENCODING_SYSTEM
)));  
22899         PyDict_SetItemString(d
,"FONTENCODING_DEFAULT", SWIG_From_int((int)(wxFONTENCODING_DEFAULT
)));  
22902         PyDict_SetItemString(d
,"FONTENCODING_ISO8859_1", SWIG_From_int((int)(wxFONTENCODING_ISO8859_1
)));  
22905         PyDict_SetItemString(d
,"FONTENCODING_ISO8859_2", SWIG_From_int((int)(wxFONTENCODING_ISO8859_2
)));  
22908         PyDict_SetItemString(d
,"FONTENCODING_ISO8859_3", SWIG_From_int((int)(wxFONTENCODING_ISO8859_3
)));  
22911         PyDict_SetItemString(d
,"FONTENCODING_ISO8859_4", SWIG_From_int((int)(wxFONTENCODING_ISO8859_4
)));  
22914         PyDict_SetItemString(d
,"FONTENCODING_ISO8859_5", SWIG_From_int((int)(wxFONTENCODING_ISO8859_5
)));  
22917         PyDict_SetItemString(d
,"FONTENCODING_ISO8859_6", SWIG_From_int((int)(wxFONTENCODING_ISO8859_6
)));  
22920         PyDict_SetItemString(d
,"FONTENCODING_ISO8859_7", SWIG_From_int((int)(wxFONTENCODING_ISO8859_7
)));  
22923         PyDict_SetItemString(d
,"FONTENCODING_ISO8859_8", SWIG_From_int((int)(wxFONTENCODING_ISO8859_8
)));  
22926         PyDict_SetItemString(d
,"FONTENCODING_ISO8859_9", SWIG_From_int((int)(wxFONTENCODING_ISO8859_9
)));  
22929         PyDict_SetItemString(d
,"FONTENCODING_ISO8859_10", SWIG_From_int((int)(wxFONTENCODING_ISO8859_10
)));  
22932         PyDict_SetItemString(d
,"FONTENCODING_ISO8859_11", SWIG_From_int((int)(wxFONTENCODING_ISO8859_11
)));  
22935         PyDict_SetItemString(d
,"FONTENCODING_ISO8859_12", SWIG_From_int((int)(wxFONTENCODING_ISO8859_12
)));  
22938         PyDict_SetItemString(d
,"FONTENCODING_ISO8859_13", SWIG_From_int((int)(wxFONTENCODING_ISO8859_13
)));  
22941         PyDict_SetItemString(d
,"FONTENCODING_ISO8859_14", SWIG_From_int((int)(wxFONTENCODING_ISO8859_14
)));  
22944         PyDict_SetItemString(d
,"FONTENCODING_ISO8859_15", SWIG_From_int((int)(wxFONTENCODING_ISO8859_15
)));  
22947         PyDict_SetItemString(d
,"FONTENCODING_ISO8859_MAX", SWIG_From_int((int)(wxFONTENCODING_ISO8859_MAX
)));  
22950         PyDict_SetItemString(d
,"FONTENCODING_KOI8", SWIG_From_int((int)(wxFONTENCODING_KOI8
)));  
22953         PyDict_SetItemString(d
,"FONTENCODING_KOI8_U", SWIG_From_int((int)(wxFONTENCODING_KOI8_U
)));  
22956         PyDict_SetItemString(d
,"FONTENCODING_ALTERNATIVE", SWIG_From_int((int)(wxFONTENCODING_ALTERNATIVE
)));  
22959         PyDict_SetItemString(d
,"FONTENCODING_BULGARIAN", SWIG_From_int((int)(wxFONTENCODING_BULGARIAN
)));  
22962         PyDict_SetItemString(d
,"FONTENCODING_CP437", SWIG_From_int((int)(wxFONTENCODING_CP437
)));  
22965         PyDict_SetItemString(d
,"FONTENCODING_CP850", SWIG_From_int((int)(wxFONTENCODING_CP850
)));  
22968         PyDict_SetItemString(d
,"FONTENCODING_CP852", SWIG_From_int((int)(wxFONTENCODING_CP852
)));  
22971         PyDict_SetItemString(d
,"FONTENCODING_CP855", SWIG_From_int((int)(wxFONTENCODING_CP855
)));  
22974         PyDict_SetItemString(d
,"FONTENCODING_CP866", SWIG_From_int((int)(wxFONTENCODING_CP866
)));  
22977         PyDict_SetItemString(d
,"FONTENCODING_CP874", SWIG_From_int((int)(wxFONTENCODING_CP874
)));  
22980         PyDict_SetItemString(d
,"FONTENCODING_CP932", SWIG_From_int((int)(wxFONTENCODING_CP932
)));  
22983         PyDict_SetItemString(d
,"FONTENCODING_CP936", SWIG_From_int((int)(wxFONTENCODING_CP936
)));  
22986         PyDict_SetItemString(d
,"FONTENCODING_CP949", SWIG_From_int((int)(wxFONTENCODING_CP949
)));  
22989         PyDict_SetItemString(d
,"FONTENCODING_CP950", SWIG_From_int((int)(wxFONTENCODING_CP950
)));  
22992         PyDict_SetItemString(d
,"FONTENCODING_CP1250", SWIG_From_int((int)(wxFONTENCODING_CP1250
)));  
22995         PyDict_SetItemString(d
,"FONTENCODING_CP1251", SWIG_From_int((int)(wxFONTENCODING_CP1251
)));  
22998         PyDict_SetItemString(d
,"FONTENCODING_CP1252", SWIG_From_int((int)(wxFONTENCODING_CP1252
)));  
23001         PyDict_SetItemString(d
,"FONTENCODING_CP1253", SWIG_From_int((int)(wxFONTENCODING_CP1253
)));  
23004         PyDict_SetItemString(d
,"FONTENCODING_CP1254", SWIG_From_int((int)(wxFONTENCODING_CP1254
)));  
23007         PyDict_SetItemString(d
,"FONTENCODING_CP1255", SWIG_From_int((int)(wxFONTENCODING_CP1255
)));  
23010         PyDict_SetItemString(d
,"FONTENCODING_CP1256", SWIG_From_int((int)(wxFONTENCODING_CP1256
)));  
23013         PyDict_SetItemString(d
,"FONTENCODING_CP1257", SWIG_From_int((int)(wxFONTENCODING_CP1257
)));  
23016         PyDict_SetItemString(d
,"FONTENCODING_CP12_MAX", SWIG_From_int((int)(wxFONTENCODING_CP12_MAX
)));  
23019         PyDict_SetItemString(d
,"FONTENCODING_UTF7", SWIG_From_int((int)(wxFONTENCODING_UTF7
)));  
23022         PyDict_SetItemString(d
,"FONTENCODING_UTF8", SWIG_From_int((int)(wxFONTENCODING_UTF8
)));  
23025         PyDict_SetItemString(d
,"FONTENCODING_EUC_JP", SWIG_From_int((int)(wxFONTENCODING_EUC_JP
)));  
23028         PyDict_SetItemString(d
,"FONTENCODING_UTF16BE", SWIG_From_int((int)(wxFONTENCODING_UTF16BE
)));  
23031         PyDict_SetItemString(d
,"FONTENCODING_UTF16LE", SWIG_From_int((int)(wxFONTENCODING_UTF16LE
)));  
23034         PyDict_SetItemString(d
,"FONTENCODING_UTF32BE", SWIG_From_int((int)(wxFONTENCODING_UTF32BE
)));  
23037         PyDict_SetItemString(d
,"FONTENCODING_UTF32LE", SWIG_From_int((int)(wxFONTENCODING_UTF32LE
)));  
23040         PyDict_SetItemString(d
,"FONTENCODING_MACROMAN", SWIG_From_int((int)(wxFONTENCODING_MACROMAN
)));  
23043         PyDict_SetItemString(d
,"FONTENCODING_MACJAPANESE", SWIG_From_int((int)(wxFONTENCODING_MACJAPANESE
)));  
23046         PyDict_SetItemString(d
,"FONTENCODING_MACCHINESETRAD", SWIG_From_int((int)(wxFONTENCODING_MACCHINESETRAD
)));  
23049         PyDict_SetItemString(d
,"FONTENCODING_MACKOREAN", SWIG_From_int((int)(wxFONTENCODING_MACKOREAN
)));  
23052         PyDict_SetItemString(d
,"FONTENCODING_MACARABIC", SWIG_From_int((int)(wxFONTENCODING_MACARABIC
)));  
23055         PyDict_SetItemString(d
,"FONTENCODING_MACHEBREW", SWIG_From_int((int)(wxFONTENCODING_MACHEBREW
)));  
23058         PyDict_SetItemString(d
,"FONTENCODING_MACGREEK", SWIG_From_int((int)(wxFONTENCODING_MACGREEK
)));  
23061         PyDict_SetItemString(d
,"FONTENCODING_MACCYRILLIC", SWIG_From_int((int)(wxFONTENCODING_MACCYRILLIC
)));  
23064         PyDict_SetItemString(d
,"FONTENCODING_MACDEVANAGARI", SWIG_From_int((int)(wxFONTENCODING_MACDEVANAGARI
)));  
23067         PyDict_SetItemString(d
,"FONTENCODING_MACGURMUKHI", SWIG_From_int((int)(wxFONTENCODING_MACGURMUKHI
)));  
23070         PyDict_SetItemString(d
,"FONTENCODING_MACGUJARATI", SWIG_From_int((int)(wxFONTENCODING_MACGUJARATI
)));  
23073         PyDict_SetItemString(d
,"FONTENCODING_MACORIYA", SWIG_From_int((int)(wxFONTENCODING_MACORIYA
)));  
23076         PyDict_SetItemString(d
,"FONTENCODING_MACBENGALI", SWIG_From_int((int)(wxFONTENCODING_MACBENGALI
)));  
23079         PyDict_SetItemString(d
,"FONTENCODING_MACTAMIL", SWIG_From_int((int)(wxFONTENCODING_MACTAMIL
)));  
23082         PyDict_SetItemString(d
,"FONTENCODING_MACTELUGU", SWIG_From_int((int)(wxFONTENCODING_MACTELUGU
)));  
23085         PyDict_SetItemString(d
,"FONTENCODING_MACKANNADA", SWIG_From_int((int)(wxFONTENCODING_MACKANNADA
)));  
23088         PyDict_SetItemString(d
,"FONTENCODING_MACMALAJALAM", SWIG_From_int((int)(wxFONTENCODING_MACMALAJALAM
)));  
23091         PyDict_SetItemString(d
,"FONTENCODING_MACSINHALESE", SWIG_From_int((int)(wxFONTENCODING_MACSINHALESE
)));  
23094         PyDict_SetItemString(d
,"FONTENCODING_MACBURMESE", SWIG_From_int((int)(wxFONTENCODING_MACBURMESE
)));  
23097         PyDict_SetItemString(d
,"FONTENCODING_MACKHMER", SWIG_From_int((int)(wxFONTENCODING_MACKHMER
)));  
23100         PyDict_SetItemString(d
,"FONTENCODING_MACTHAI", SWIG_From_int((int)(wxFONTENCODING_MACTHAI
)));  
23103         PyDict_SetItemString(d
,"FONTENCODING_MACLAOTIAN", SWIG_From_int((int)(wxFONTENCODING_MACLAOTIAN
)));  
23106         PyDict_SetItemString(d
,"FONTENCODING_MACGEORGIAN", SWIG_From_int((int)(wxFONTENCODING_MACGEORGIAN
)));  
23109         PyDict_SetItemString(d
,"FONTENCODING_MACARMENIAN", SWIG_From_int((int)(wxFONTENCODING_MACARMENIAN
)));  
23112         PyDict_SetItemString(d
,"FONTENCODING_MACCHINESESIMP", SWIG_From_int((int)(wxFONTENCODING_MACCHINESESIMP
)));  
23115         PyDict_SetItemString(d
,"FONTENCODING_MACTIBETAN", SWIG_From_int((int)(wxFONTENCODING_MACTIBETAN
)));  
23118         PyDict_SetItemString(d
,"FONTENCODING_MACMONGOLIAN", SWIG_From_int((int)(wxFONTENCODING_MACMONGOLIAN
)));  
23121         PyDict_SetItemString(d
,"FONTENCODING_MACETHIOPIC", SWIG_From_int((int)(wxFONTENCODING_MACETHIOPIC
)));  
23124         PyDict_SetItemString(d
,"FONTENCODING_MACCENTRALEUR", SWIG_From_int((int)(wxFONTENCODING_MACCENTRALEUR
)));  
23127         PyDict_SetItemString(d
,"FONTENCODING_MACVIATNAMESE", SWIG_From_int((int)(wxFONTENCODING_MACVIATNAMESE
)));  
23130         PyDict_SetItemString(d
,"FONTENCODING_MACARABICEXT", SWIG_From_int((int)(wxFONTENCODING_MACARABICEXT
)));  
23133         PyDict_SetItemString(d
,"FONTENCODING_MACSYMBOL", SWIG_From_int((int)(wxFONTENCODING_MACSYMBOL
)));  
23136         PyDict_SetItemString(d
,"FONTENCODING_MACDINGBATS", SWIG_From_int((int)(wxFONTENCODING_MACDINGBATS
)));  
23139         PyDict_SetItemString(d
,"FONTENCODING_MACTURKISH", SWIG_From_int((int)(wxFONTENCODING_MACTURKISH
)));  
23142         PyDict_SetItemString(d
,"FONTENCODING_MACCROATIAN", SWIG_From_int((int)(wxFONTENCODING_MACCROATIAN
)));  
23145         PyDict_SetItemString(d
,"FONTENCODING_MACICELANDIC", SWIG_From_int((int)(wxFONTENCODING_MACICELANDIC
)));  
23148         PyDict_SetItemString(d
,"FONTENCODING_MACROMANIAN", SWIG_From_int((int)(wxFONTENCODING_MACROMANIAN
)));  
23151         PyDict_SetItemString(d
,"FONTENCODING_MACCELTIC", SWIG_From_int((int)(wxFONTENCODING_MACCELTIC
)));  
23154         PyDict_SetItemString(d
,"FONTENCODING_MACGAELIC", SWIG_From_int((int)(wxFONTENCODING_MACGAELIC
)));  
23157         PyDict_SetItemString(d
,"FONTENCODING_MACKEYBOARD", SWIG_From_int((int)(wxFONTENCODING_MACKEYBOARD
)));  
23160         PyDict_SetItemString(d
,"FONTENCODING_MACMIN", SWIG_From_int((int)(wxFONTENCODING_MACMIN
)));  
23163         PyDict_SetItemString(d
,"FONTENCODING_MACMAX", SWIG_From_int((int)(wxFONTENCODING_MACMAX
)));  
23166         PyDict_SetItemString(d
,"FONTENCODING_MAX", SWIG_From_int((int)(wxFONTENCODING_MAX
)));  
23169         PyDict_SetItemString(d
,"FONTENCODING_UTF16", SWIG_From_int((int)(wxFONTENCODING_UTF16
)));  
23172         PyDict_SetItemString(d
,"FONTENCODING_UTF32", SWIG_From_int((int)(wxFONTENCODING_UTF32
)));  
23175         PyDict_SetItemString(d
,"FONTENCODING_UNICODE", SWIG_From_int((int)(wxFONTENCODING_UNICODE
)));  
23178         PyDict_SetItemString(d
,"FONTENCODING_GB2312", SWIG_From_int((int)(wxFONTENCODING_GB2312
)));  
23181         PyDict_SetItemString(d
,"FONTENCODING_BIG5", SWIG_From_int((int)(wxFONTENCODING_BIG5
)));  
23184         PyDict_SetItemString(d
,"FONTENCODING_SHIFT_JIS", SWIG_From_int((int)(wxFONTENCODING_SHIFT_JIS
)));  
23187     wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator"); 
23190         PyDict_SetItemString(d
,"LANGUAGE_DEFAULT", SWIG_From_int((int)(wxLANGUAGE_DEFAULT
)));  
23193         PyDict_SetItemString(d
,"LANGUAGE_UNKNOWN", SWIG_From_int((int)(wxLANGUAGE_UNKNOWN
)));  
23196         PyDict_SetItemString(d
,"LANGUAGE_ABKHAZIAN", SWIG_From_int((int)(wxLANGUAGE_ABKHAZIAN
)));  
23199         PyDict_SetItemString(d
,"LANGUAGE_AFAR", SWIG_From_int((int)(wxLANGUAGE_AFAR
)));  
23202         PyDict_SetItemString(d
,"LANGUAGE_AFRIKAANS", SWIG_From_int((int)(wxLANGUAGE_AFRIKAANS
)));  
23205         PyDict_SetItemString(d
,"LANGUAGE_ALBANIAN", SWIG_From_int((int)(wxLANGUAGE_ALBANIAN
)));  
23208         PyDict_SetItemString(d
,"LANGUAGE_AMHARIC", SWIG_From_int((int)(wxLANGUAGE_AMHARIC
)));  
23211         PyDict_SetItemString(d
,"LANGUAGE_ARABIC", SWIG_From_int((int)(wxLANGUAGE_ARABIC
)));  
23214         PyDict_SetItemString(d
,"LANGUAGE_ARABIC_ALGERIA", SWIG_From_int((int)(wxLANGUAGE_ARABIC_ALGERIA
)));  
23217         PyDict_SetItemString(d
,"LANGUAGE_ARABIC_BAHRAIN", SWIG_From_int((int)(wxLANGUAGE_ARABIC_BAHRAIN
)));  
23220         PyDict_SetItemString(d
,"LANGUAGE_ARABIC_EGYPT", SWIG_From_int((int)(wxLANGUAGE_ARABIC_EGYPT
)));  
23223         PyDict_SetItemString(d
,"LANGUAGE_ARABIC_IRAQ", SWIG_From_int((int)(wxLANGUAGE_ARABIC_IRAQ
)));  
23226         PyDict_SetItemString(d
,"LANGUAGE_ARABIC_JORDAN", SWIG_From_int((int)(wxLANGUAGE_ARABIC_JORDAN
)));  
23229         PyDict_SetItemString(d
,"LANGUAGE_ARABIC_KUWAIT", SWIG_From_int((int)(wxLANGUAGE_ARABIC_KUWAIT
)));  
23232         PyDict_SetItemString(d
,"LANGUAGE_ARABIC_LEBANON", SWIG_From_int((int)(wxLANGUAGE_ARABIC_LEBANON
)));  
23235         PyDict_SetItemString(d
,"LANGUAGE_ARABIC_LIBYA", SWIG_From_int((int)(wxLANGUAGE_ARABIC_LIBYA
)));  
23238         PyDict_SetItemString(d
,"LANGUAGE_ARABIC_MOROCCO", SWIG_From_int((int)(wxLANGUAGE_ARABIC_MOROCCO
)));  
23241         PyDict_SetItemString(d
,"LANGUAGE_ARABIC_OMAN", SWIG_From_int((int)(wxLANGUAGE_ARABIC_OMAN
)));  
23244         PyDict_SetItemString(d
,"LANGUAGE_ARABIC_QATAR", SWIG_From_int((int)(wxLANGUAGE_ARABIC_QATAR
)));  
23247         PyDict_SetItemString(d
,"LANGUAGE_ARABIC_SAUDI_ARABIA", SWIG_From_int((int)(wxLANGUAGE_ARABIC_SAUDI_ARABIA
)));  
23250         PyDict_SetItemString(d
,"LANGUAGE_ARABIC_SUDAN", SWIG_From_int((int)(wxLANGUAGE_ARABIC_SUDAN
)));  
23253         PyDict_SetItemString(d
,"LANGUAGE_ARABIC_SYRIA", SWIG_From_int((int)(wxLANGUAGE_ARABIC_SYRIA
)));  
23256         PyDict_SetItemString(d
,"LANGUAGE_ARABIC_TUNISIA", SWIG_From_int((int)(wxLANGUAGE_ARABIC_TUNISIA
)));  
23259         PyDict_SetItemString(d
,"LANGUAGE_ARABIC_UAE", SWIG_From_int((int)(wxLANGUAGE_ARABIC_UAE
)));  
23262         PyDict_SetItemString(d
,"LANGUAGE_ARABIC_YEMEN", SWIG_From_int((int)(wxLANGUAGE_ARABIC_YEMEN
)));  
23265         PyDict_SetItemString(d
,"LANGUAGE_ARMENIAN", SWIG_From_int((int)(wxLANGUAGE_ARMENIAN
)));  
23268         PyDict_SetItemString(d
,"LANGUAGE_ASSAMESE", SWIG_From_int((int)(wxLANGUAGE_ASSAMESE
)));  
23271         PyDict_SetItemString(d
,"LANGUAGE_AYMARA", SWIG_From_int((int)(wxLANGUAGE_AYMARA
)));  
23274         PyDict_SetItemString(d
,"LANGUAGE_AZERI", SWIG_From_int((int)(wxLANGUAGE_AZERI
)));  
23277         PyDict_SetItemString(d
,"LANGUAGE_AZERI_CYRILLIC", SWIG_From_int((int)(wxLANGUAGE_AZERI_CYRILLIC
)));  
23280         PyDict_SetItemString(d
,"LANGUAGE_AZERI_LATIN", SWIG_From_int((int)(wxLANGUAGE_AZERI_LATIN
)));  
23283         PyDict_SetItemString(d
,"LANGUAGE_BASHKIR", SWIG_From_int((int)(wxLANGUAGE_BASHKIR
)));  
23286         PyDict_SetItemString(d
,"LANGUAGE_BASQUE", SWIG_From_int((int)(wxLANGUAGE_BASQUE
)));  
23289         PyDict_SetItemString(d
,"LANGUAGE_BELARUSIAN", SWIG_From_int((int)(wxLANGUAGE_BELARUSIAN
)));  
23292         PyDict_SetItemString(d
,"LANGUAGE_BENGALI", SWIG_From_int((int)(wxLANGUAGE_BENGALI
)));  
23295         PyDict_SetItemString(d
,"LANGUAGE_BHUTANI", SWIG_From_int((int)(wxLANGUAGE_BHUTANI
)));  
23298         PyDict_SetItemString(d
,"LANGUAGE_BIHARI", SWIG_From_int((int)(wxLANGUAGE_BIHARI
)));  
23301         PyDict_SetItemString(d
,"LANGUAGE_BISLAMA", SWIG_From_int((int)(wxLANGUAGE_BISLAMA
)));  
23304         PyDict_SetItemString(d
,"LANGUAGE_BRETON", SWIG_From_int((int)(wxLANGUAGE_BRETON
)));  
23307         PyDict_SetItemString(d
,"LANGUAGE_BULGARIAN", SWIG_From_int((int)(wxLANGUAGE_BULGARIAN
)));  
23310         PyDict_SetItemString(d
,"LANGUAGE_BURMESE", SWIG_From_int((int)(wxLANGUAGE_BURMESE
)));  
23313         PyDict_SetItemString(d
,"LANGUAGE_CAMBODIAN", SWIG_From_int((int)(wxLANGUAGE_CAMBODIAN
)));  
23316         PyDict_SetItemString(d
,"LANGUAGE_CATALAN", SWIG_From_int((int)(wxLANGUAGE_CATALAN
)));  
23319         PyDict_SetItemString(d
,"LANGUAGE_CHINESE", SWIG_From_int((int)(wxLANGUAGE_CHINESE
)));  
23322         PyDict_SetItemString(d
,"LANGUAGE_CHINESE_SIMPLIFIED", SWIG_From_int((int)(wxLANGUAGE_CHINESE_SIMPLIFIED
)));  
23325         PyDict_SetItemString(d
,"LANGUAGE_CHINESE_TRADITIONAL", SWIG_From_int((int)(wxLANGUAGE_CHINESE_TRADITIONAL
)));  
23328         PyDict_SetItemString(d
,"LANGUAGE_CHINESE_HONGKONG", SWIG_From_int((int)(wxLANGUAGE_CHINESE_HONGKONG
)));  
23331         PyDict_SetItemString(d
,"LANGUAGE_CHINESE_MACAU", SWIG_From_int((int)(wxLANGUAGE_CHINESE_MACAU
)));  
23334         PyDict_SetItemString(d
,"LANGUAGE_CHINESE_SINGAPORE", SWIG_From_int((int)(wxLANGUAGE_CHINESE_SINGAPORE
)));  
23337         PyDict_SetItemString(d
,"LANGUAGE_CHINESE_TAIWAN", SWIG_From_int((int)(wxLANGUAGE_CHINESE_TAIWAN
)));  
23340         PyDict_SetItemString(d
,"LANGUAGE_CORSICAN", SWIG_From_int((int)(wxLANGUAGE_CORSICAN
)));  
23343         PyDict_SetItemString(d
,"LANGUAGE_CROATIAN", SWIG_From_int((int)(wxLANGUAGE_CROATIAN
)));  
23346         PyDict_SetItemString(d
,"LANGUAGE_CZECH", SWIG_From_int((int)(wxLANGUAGE_CZECH
)));  
23349         PyDict_SetItemString(d
,"LANGUAGE_DANISH", SWIG_From_int((int)(wxLANGUAGE_DANISH
)));  
23352         PyDict_SetItemString(d
,"LANGUAGE_DUTCH", SWIG_From_int((int)(wxLANGUAGE_DUTCH
)));  
23355         PyDict_SetItemString(d
,"LANGUAGE_DUTCH_BELGIAN", SWIG_From_int((int)(wxLANGUAGE_DUTCH_BELGIAN
)));  
23358         PyDict_SetItemString(d
,"LANGUAGE_ENGLISH", SWIG_From_int((int)(wxLANGUAGE_ENGLISH
)));  
23361         PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_UK", SWIG_From_int((int)(wxLANGUAGE_ENGLISH_UK
)));  
23364         PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_US", SWIG_From_int((int)(wxLANGUAGE_ENGLISH_US
)));  
23367         PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_AUSTRALIA", SWIG_From_int((int)(wxLANGUAGE_ENGLISH_AUSTRALIA
)));  
23370         PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_BELIZE", SWIG_From_int((int)(wxLANGUAGE_ENGLISH_BELIZE
)));  
23373         PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_BOTSWANA", SWIG_From_int((int)(wxLANGUAGE_ENGLISH_BOTSWANA
)));  
23376         PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_CANADA", SWIG_From_int((int)(wxLANGUAGE_ENGLISH_CANADA
)));  
23379         PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_CARIBBEAN", SWIG_From_int((int)(wxLANGUAGE_ENGLISH_CARIBBEAN
)));  
23382         PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_DENMARK", SWIG_From_int((int)(wxLANGUAGE_ENGLISH_DENMARK
)));  
23385         PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_EIRE", SWIG_From_int((int)(wxLANGUAGE_ENGLISH_EIRE
)));  
23388         PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_JAMAICA", SWIG_From_int((int)(wxLANGUAGE_ENGLISH_JAMAICA
)));  
23391         PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_NEW_ZEALAND", SWIG_From_int((int)(wxLANGUAGE_ENGLISH_NEW_ZEALAND
)));  
23394         PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_PHILIPPINES", SWIG_From_int((int)(wxLANGUAGE_ENGLISH_PHILIPPINES
)));  
23397         PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_SOUTH_AFRICA", SWIG_From_int((int)(wxLANGUAGE_ENGLISH_SOUTH_AFRICA
)));  
23400         PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_TRINIDAD", SWIG_From_int((int)(wxLANGUAGE_ENGLISH_TRINIDAD
)));  
23403         PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_ZIMBABWE", SWIG_From_int((int)(wxLANGUAGE_ENGLISH_ZIMBABWE
)));  
23406         PyDict_SetItemString(d
,"LANGUAGE_ESPERANTO", SWIG_From_int((int)(wxLANGUAGE_ESPERANTO
)));  
23409         PyDict_SetItemString(d
,"LANGUAGE_ESTONIAN", SWIG_From_int((int)(wxLANGUAGE_ESTONIAN
)));  
23412         PyDict_SetItemString(d
,"LANGUAGE_FAEROESE", SWIG_From_int((int)(wxLANGUAGE_FAEROESE
)));  
23415         PyDict_SetItemString(d
,"LANGUAGE_FARSI", SWIG_From_int((int)(wxLANGUAGE_FARSI
)));  
23418         PyDict_SetItemString(d
,"LANGUAGE_FIJI", SWIG_From_int((int)(wxLANGUAGE_FIJI
)));  
23421         PyDict_SetItemString(d
,"LANGUAGE_FINNISH", SWIG_From_int((int)(wxLANGUAGE_FINNISH
)));  
23424         PyDict_SetItemString(d
,"LANGUAGE_FRENCH", SWIG_From_int((int)(wxLANGUAGE_FRENCH
)));  
23427         PyDict_SetItemString(d
,"LANGUAGE_FRENCH_BELGIAN", SWIG_From_int((int)(wxLANGUAGE_FRENCH_BELGIAN
)));  
23430         PyDict_SetItemString(d
,"LANGUAGE_FRENCH_CANADIAN", SWIG_From_int((int)(wxLANGUAGE_FRENCH_CANADIAN
)));  
23433         PyDict_SetItemString(d
,"LANGUAGE_FRENCH_LUXEMBOURG", SWIG_From_int((int)(wxLANGUAGE_FRENCH_LUXEMBOURG
)));  
23436         PyDict_SetItemString(d
,"LANGUAGE_FRENCH_MONACO", SWIG_From_int((int)(wxLANGUAGE_FRENCH_MONACO
)));  
23439         PyDict_SetItemString(d
,"LANGUAGE_FRENCH_SWISS", SWIG_From_int((int)(wxLANGUAGE_FRENCH_SWISS
)));  
23442         PyDict_SetItemString(d
,"LANGUAGE_FRISIAN", SWIG_From_int((int)(wxLANGUAGE_FRISIAN
)));  
23445         PyDict_SetItemString(d
,"LANGUAGE_GALICIAN", SWIG_From_int((int)(wxLANGUAGE_GALICIAN
)));  
23448         PyDict_SetItemString(d
,"LANGUAGE_GEORGIAN", SWIG_From_int((int)(wxLANGUAGE_GEORGIAN
)));  
23451         PyDict_SetItemString(d
,"LANGUAGE_GERMAN", SWIG_From_int((int)(wxLANGUAGE_GERMAN
)));  
23454         PyDict_SetItemString(d
,"LANGUAGE_GERMAN_AUSTRIAN", SWIG_From_int((int)(wxLANGUAGE_GERMAN_AUSTRIAN
)));  
23457         PyDict_SetItemString(d
,"LANGUAGE_GERMAN_BELGIUM", SWIG_From_int((int)(wxLANGUAGE_GERMAN_BELGIUM
)));  
23460         PyDict_SetItemString(d
,"LANGUAGE_GERMAN_LIECHTENSTEIN", SWIG_From_int((int)(wxLANGUAGE_GERMAN_LIECHTENSTEIN
)));  
23463         PyDict_SetItemString(d
,"LANGUAGE_GERMAN_LUXEMBOURG", SWIG_From_int((int)(wxLANGUAGE_GERMAN_LUXEMBOURG
)));  
23466         PyDict_SetItemString(d
,"LANGUAGE_GERMAN_SWISS", SWIG_From_int((int)(wxLANGUAGE_GERMAN_SWISS
)));  
23469         PyDict_SetItemString(d
,"LANGUAGE_GREEK", SWIG_From_int((int)(wxLANGUAGE_GREEK
)));  
23472         PyDict_SetItemString(d
,"LANGUAGE_GREENLANDIC", SWIG_From_int((int)(wxLANGUAGE_GREENLANDIC
)));  
23475         PyDict_SetItemString(d
,"LANGUAGE_GUARANI", SWIG_From_int((int)(wxLANGUAGE_GUARANI
)));  
23478         PyDict_SetItemString(d
,"LANGUAGE_GUJARATI", SWIG_From_int((int)(wxLANGUAGE_GUJARATI
)));  
23481         PyDict_SetItemString(d
,"LANGUAGE_HAUSA", SWIG_From_int((int)(wxLANGUAGE_HAUSA
)));  
23484         PyDict_SetItemString(d
,"LANGUAGE_HEBREW", SWIG_From_int((int)(wxLANGUAGE_HEBREW
)));  
23487         PyDict_SetItemString(d
,"LANGUAGE_HINDI", SWIG_From_int((int)(wxLANGUAGE_HINDI
)));  
23490         PyDict_SetItemString(d
,"LANGUAGE_HUNGARIAN", SWIG_From_int((int)(wxLANGUAGE_HUNGARIAN
)));  
23493         PyDict_SetItemString(d
,"LANGUAGE_ICELANDIC", SWIG_From_int((int)(wxLANGUAGE_ICELANDIC
)));  
23496         PyDict_SetItemString(d
,"LANGUAGE_INDONESIAN", SWIG_From_int((int)(wxLANGUAGE_INDONESIAN
)));  
23499         PyDict_SetItemString(d
,"LANGUAGE_INTERLINGUA", SWIG_From_int((int)(wxLANGUAGE_INTERLINGUA
)));  
23502         PyDict_SetItemString(d
,"LANGUAGE_INTERLINGUE", SWIG_From_int((int)(wxLANGUAGE_INTERLINGUE
)));  
23505         PyDict_SetItemString(d
,"LANGUAGE_INUKTITUT", SWIG_From_int((int)(wxLANGUAGE_INUKTITUT
)));  
23508         PyDict_SetItemString(d
,"LANGUAGE_INUPIAK", SWIG_From_int((int)(wxLANGUAGE_INUPIAK
)));  
23511         PyDict_SetItemString(d
,"LANGUAGE_IRISH", SWIG_From_int((int)(wxLANGUAGE_IRISH
)));  
23514         PyDict_SetItemString(d
,"LANGUAGE_ITALIAN", SWIG_From_int((int)(wxLANGUAGE_ITALIAN
)));  
23517         PyDict_SetItemString(d
,"LANGUAGE_ITALIAN_SWISS", SWIG_From_int((int)(wxLANGUAGE_ITALIAN_SWISS
)));  
23520         PyDict_SetItemString(d
,"LANGUAGE_JAPANESE", SWIG_From_int((int)(wxLANGUAGE_JAPANESE
)));  
23523         PyDict_SetItemString(d
,"LANGUAGE_JAVANESE", SWIG_From_int((int)(wxLANGUAGE_JAVANESE
)));  
23526         PyDict_SetItemString(d
,"LANGUAGE_KANNADA", SWIG_From_int((int)(wxLANGUAGE_KANNADA
)));  
23529         PyDict_SetItemString(d
,"LANGUAGE_KASHMIRI", SWIG_From_int((int)(wxLANGUAGE_KASHMIRI
)));  
23532         PyDict_SetItemString(d
,"LANGUAGE_KASHMIRI_INDIA", SWIG_From_int((int)(wxLANGUAGE_KASHMIRI_INDIA
)));  
23535         PyDict_SetItemString(d
,"LANGUAGE_KAZAKH", SWIG_From_int((int)(wxLANGUAGE_KAZAKH
)));  
23538         PyDict_SetItemString(d
,"LANGUAGE_KERNEWEK", SWIG_From_int((int)(wxLANGUAGE_KERNEWEK
)));  
23541         PyDict_SetItemString(d
,"LANGUAGE_KINYARWANDA", SWIG_From_int((int)(wxLANGUAGE_KINYARWANDA
)));  
23544         PyDict_SetItemString(d
,"LANGUAGE_KIRGHIZ", SWIG_From_int((int)(wxLANGUAGE_KIRGHIZ
)));  
23547         PyDict_SetItemString(d
,"LANGUAGE_KIRUNDI", SWIG_From_int((int)(wxLANGUAGE_KIRUNDI
)));  
23550         PyDict_SetItemString(d
,"LANGUAGE_KONKANI", SWIG_From_int((int)(wxLANGUAGE_KONKANI
)));  
23553         PyDict_SetItemString(d
,"LANGUAGE_KOREAN", SWIG_From_int((int)(wxLANGUAGE_KOREAN
)));  
23556         PyDict_SetItemString(d
,"LANGUAGE_KURDISH", SWIG_From_int((int)(wxLANGUAGE_KURDISH
)));  
23559         PyDict_SetItemString(d
,"LANGUAGE_LAOTHIAN", SWIG_From_int((int)(wxLANGUAGE_LAOTHIAN
)));  
23562         PyDict_SetItemString(d
,"LANGUAGE_LATIN", SWIG_From_int((int)(wxLANGUAGE_LATIN
)));  
23565         PyDict_SetItemString(d
,"LANGUAGE_LATVIAN", SWIG_From_int((int)(wxLANGUAGE_LATVIAN
)));  
23568         PyDict_SetItemString(d
,"LANGUAGE_LINGALA", SWIG_From_int((int)(wxLANGUAGE_LINGALA
)));  
23571         PyDict_SetItemString(d
,"LANGUAGE_LITHUANIAN", SWIG_From_int((int)(wxLANGUAGE_LITHUANIAN
)));  
23574         PyDict_SetItemString(d
,"LANGUAGE_MACEDONIAN", SWIG_From_int((int)(wxLANGUAGE_MACEDONIAN
)));  
23577         PyDict_SetItemString(d
,"LANGUAGE_MALAGASY", SWIG_From_int((int)(wxLANGUAGE_MALAGASY
)));  
23580         PyDict_SetItemString(d
,"LANGUAGE_MALAY", SWIG_From_int((int)(wxLANGUAGE_MALAY
)));  
23583         PyDict_SetItemString(d
,"LANGUAGE_MALAYALAM", SWIG_From_int((int)(wxLANGUAGE_MALAYALAM
)));  
23586         PyDict_SetItemString(d
,"LANGUAGE_MALAY_BRUNEI_DARUSSALAM", SWIG_From_int((int)(wxLANGUAGE_MALAY_BRUNEI_DARUSSALAM
)));  
23589         PyDict_SetItemString(d
,"LANGUAGE_MALAY_MALAYSIA", SWIG_From_int((int)(wxLANGUAGE_MALAY_MALAYSIA
)));  
23592         PyDict_SetItemString(d
,"LANGUAGE_MALTESE", SWIG_From_int((int)(wxLANGUAGE_MALTESE
)));  
23595         PyDict_SetItemString(d
,"LANGUAGE_MANIPURI", SWIG_From_int((int)(wxLANGUAGE_MANIPURI
)));  
23598         PyDict_SetItemString(d
,"LANGUAGE_MAORI", SWIG_From_int((int)(wxLANGUAGE_MAORI
)));  
23601         PyDict_SetItemString(d
,"LANGUAGE_MARATHI", SWIG_From_int((int)(wxLANGUAGE_MARATHI
)));  
23604         PyDict_SetItemString(d
,"LANGUAGE_MOLDAVIAN", SWIG_From_int((int)(wxLANGUAGE_MOLDAVIAN
)));  
23607         PyDict_SetItemString(d
,"LANGUAGE_MONGOLIAN", SWIG_From_int((int)(wxLANGUAGE_MONGOLIAN
)));  
23610         PyDict_SetItemString(d
,"LANGUAGE_NAURU", SWIG_From_int((int)(wxLANGUAGE_NAURU
)));  
23613         PyDict_SetItemString(d
,"LANGUAGE_NEPALI", SWIG_From_int((int)(wxLANGUAGE_NEPALI
)));  
23616         PyDict_SetItemString(d
,"LANGUAGE_NEPALI_INDIA", SWIG_From_int((int)(wxLANGUAGE_NEPALI_INDIA
)));  
23619         PyDict_SetItemString(d
,"LANGUAGE_NORWEGIAN_BOKMAL", SWIG_From_int((int)(wxLANGUAGE_NORWEGIAN_BOKMAL
)));  
23622         PyDict_SetItemString(d
,"LANGUAGE_NORWEGIAN_NYNORSK", SWIG_From_int((int)(wxLANGUAGE_NORWEGIAN_NYNORSK
)));  
23625         PyDict_SetItemString(d
,"LANGUAGE_OCCITAN", SWIG_From_int((int)(wxLANGUAGE_OCCITAN
)));  
23628         PyDict_SetItemString(d
,"LANGUAGE_ORIYA", SWIG_From_int((int)(wxLANGUAGE_ORIYA
)));  
23631         PyDict_SetItemString(d
,"LANGUAGE_OROMO", SWIG_From_int((int)(wxLANGUAGE_OROMO
)));  
23634         PyDict_SetItemString(d
,"LANGUAGE_PASHTO", SWIG_From_int((int)(wxLANGUAGE_PASHTO
)));  
23637         PyDict_SetItemString(d
,"LANGUAGE_POLISH", SWIG_From_int((int)(wxLANGUAGE_POLISH
)));  
23640         PyDict_SetItemString(d
,"LANGUAGE_PORTUGUESE", SWIG_From_int((int)(wxLANGUAGE_PORTUGUESE
)));  
23643         PyDict_SetItemString(d
,"LANGUAGE_PORTUGUESE_BRAZILIAN", SWIG_From_int((int)(wxLANGUAGE_PORTUGUESE_BRAZILIAN
)));  
23646         PyDict_SetItemString(d
,"LANGUAGE_PUNJABI", SWIG_From_int((int)(wxLANGUAGE_PUNJABI
)));  
23649         PyDict_SetItemString(d
,"LANGUAGE_QUECHUA", SWIG_From_int((int)(wxLANGUAGE_QUECHUA
)));  
23652         PyDict_SetItemString(d
,"LANGUAGE_RHAETO_ROMANCE", SWIG_From_int((int)(wxLANGUAGE_RHAETO_ROMANCE
)));  
23655         PyDict_SetItemString(d
,"LANGUAGE_ROMANIAN", SWIG_From_int((int)(wxLANGUAGE_ROMANIAN
)));  
23658         PyDict_SetItemString(d
,"LANGUAGE_RUSSIAN", SWIG_From_int((int)(wxLANGUAGE_RUSSIAN
)));  
23661         PyDict_SetItemString(d
,"LANGUAGE_RUSSIAN_UKRAINE", SWIG_From_int((int)(wxLANGUAGE_RUSSIAN_UKRAINE
)));  
23664         PyDict_SetItemString(d
,"LANGUAGE_SAMOAN", SWIG_From_int((int)(wxLANGUAGE_SAMOAN
)));  
23667         PyDict_SetItemString(d
,"LANGUAGE_SANGHO", SWIG_From_int((int)(wxLANGUAGE_SANGHO
)));  
23670         PyDict_SetItemString(d
,"LANGUAGE_SANSKRIT", SWIG_From_int((int)(wxLANGUAGE_SANSKRIT
)));  
23673         PyDict_SetItemString(d
,"LANGUAGE_SCOTS_GAELIC", SWIG_From_int((int)(wxLANGUAGE_SCOTS_GAELIC
)));  
23676         PyDict_SetItemString(d
,"LANGUAGE_SERBIAN", SWIG_From_int((int)(wxLANGUAGE_SERBIAN
)));  
23679         PyDict_SetItemString(d
,"LANGUAGE_SERBIAN_CYRILLIC", SWIG_From_int((int)(wxLANGUAGE_SERBIAN_CYRILLIC
)));  
23682         PyDict_SetItemString(d
,"LANGUAGE_SERBIAN_LATIN", SWIG_From_int((int)(wxLANGUAGE_SERBIAN_LATIN
)));  
23685         PyDict_SetItemString(d
,"LANGUAGE_SERBO_CROATIAN", SWIG_From_int((int)(wxLANGUAGE_SERBO_CROATIAN
)));  
23688         PyDict_SetItemString(d
,"LANGUAGE_SESOTHO", SWIG_From_int((int)(wxLANGUAGE_SESOTHO
)));  
23691         PyDict_SetItemString(d
,"LANGUAGE_SETSWANA", SWIG_From_int((int)(wxLANGUAGE_SETSWANA
)));  
23694         PyDict_SetItemString(d
,"LANGUAGE_SHONA", SWIG_From_int((int)(wxLANGUAGE_SHONA
)));  
23697         PyDict_SetItemString(d
,"LANGUAGE_SINDHI", SWIG_From_int((int)(wxLANGUAGE_SINDHI
)));  
23700         PyDict_SetItemString(d
,"LANGUAGE_SINHALESE", SWIG_From_int((int)(wxLANGUAGE_SINHALESE
)));  
23703         PyDict_SetItemString(d
,"LANGUAGE_SISWATI", SWIG_From_int((int)(wxLANGUAGE_SISWATI
)));  
23706         PyDict_SetItemString(d
,"LANGUAGE_SLOVAK", SWIG_From_int((int)(wxLANGUAGE_SLOVAK
)));  
23709         PyDict_SetItemString(d
,"LANGUAGE_SLOVENIAN", SWIG_From_int((int)(wxLANGUAGE_SLOVENIAN
)));  
23712         PyDict_SetItemString(d
,"LANGUAGE_SOMALI", SWIG_From_int((int)(wxLANGUAGE_SOMALI
)));  
23715         PyDict_SetItemString(d
,"LANGUAGE_SPANISH", SWIG_From_int((int)(wxLANGUAGE_SPANISH
)));  
23718         PyDict_SetItemString(d
,"LANGUAGE_SPANISH_ARGENTINA", SWIG_From_int((int)(wxLANGUAGE_SPANISH_ARGENTINA
)));  
23721         PyDict_SetItemString(d
,"LANGUAGE_SPANISH_BOLIVIA", SWIG_From_int((int)(wxLANGUAGE_SPANISH_BOLIVIA
)));  
23724         PyDict_SetItemString(d
,"LANGUAGE_SPANISH_CHILE", SWIG_From_int((int)(wxLANGUAGE_SPANISH_CHILE
)));  
23727         PyDict_SetItemString(d
,"LANGUAGE_SPANISH_COLOMBIA", SWIG_From_int((int)(wxLANGUAGE_SPANISH_COLOMBIA
)));  
23730         PyDict_SetItemString(d
,"LANGUAGE_SPANISH_COSTA_RICA", SWIG_From_int((int)(wxLANGUAGE_SPANISH_COSTA_RICA
)));  
23733         PyDict_SetItemString(d
,"LANGUAGE_SPANISH_DOMINICAN_REPUBLIC", SWIG_From_int((int)(wxLANGUAGE_SPANISH_DOMINICAN_REPUBLIC
)));  
23736         PyDict_SetItemString(d
,"LANGUAGE_SPANISH_ECUADOR", SWIG_From_int((int)(wxLANGUAGE_SPANISH_ECUADOR
)));  
23739         PyDict_SetItemString(d
,"LANGUAGE_SPANISH_EL_SALVADOR", SWIG_From_int((int)(wxLANGUAGE_SPANISH_EL_SALVADOR
)));  
23742         PyDict_SetItemString(d
,"LANGUAGE_SPANISH_GUATEMALA", SWIG_From_int((int)(wxLANGUAGE_SPANISH_GUATEMALA
)));  
23745         PyDict_SetItemString(d
,"LANGUAGE_SPANISH_HONDURAS", SWIG_From_int((int)(wxLANGUAGE_SPANISH_HONDURAS
)));  
23748         PyDict_SetItemString(d
,"LANGUAGE_SPANISH_MEXICAN", SWIG_From_int((int)(wxLANGUAGE_SPANISH_MEXICAN
)));  
23751         PyDict_SetItemString(d
,"LANGUAGE_SPANISH_MODERN", SWIG_From_int((int)(wxLANGUAGE_SPANISH_MODERN
)));  
23754         PyDict_SetItemString(d
,"LANGUAGE_SPANISH_NICARAGUA", SWIG_From_int((int)(wxLANGUAGE_SPANISH_NICARAGUA
)));  
23757         PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PANAMA", SWIG_From_int((int)(wxLANGUAGE_SPANISH_PANAMA
)));  
23760         PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PARAGUAY", SWIG_From_int((int)(wxLANGUAGE_SPANISH_PARAGUAY
)));  
23763         PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PERU", SWIG_From_int((int)(wxLANGUAGE_SPANISH_PERU
)));  
23766         PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PUERTO_RICO", SWIG_From_int((int)(wxLANGUAGE_SPANISH_PUERTO_RICO
)));  
23769         PyDict_SetItemString(d
,"LANGUAGE_SPANISH_URUGUAY", SWIG_From_int((int)(wxLANGUAGE_SPANISH_URUGUAY
)));  
23772         PyDict_SetItemString(d
,"LANGUAGE_SPANISH_US", SWIG_From_int((int)(wxLANGUAGE_SPANISH_US
)));  
23775         PyDict_SetItemString(d
,"LANGUAGE_SPANISH_VENEZUELA", SWIG_From_int((int)(wxLANGUAGE_SPANISH_VENEZUELA
)));  
23778         PyDict_SetItemString(d
,"LANGUAGE_SUNDANESE", SWIG_From_int((int)(wxLANGUAGE_SUNDANESE
)));  
23781         PyDict_SetItemString(d
,"LANGUAGE_SWAHILI", SWIG_From_int((int)(wxLANGUAGE_SWAHILI
)));  
23784         PyDict_SetItemString(d
,"LANGUAGE_SWEDISH", SWIG_From_int((int)(wxLANGUAGE_SWEDISH
)));  
23787         PyDict_SetItemString(d
,"LANGUAGE_SWEDISH_FINLAND", SWIG_From_int((int)(wxLANGUAGE_SWEDISH_FINLAND
)));  
23790         PyDict_SetItemString(d
,"LANGUAGE_TAGALOG", SWIG_From_int((int)(wxLANGUAGE_TAGALOG
)));  
23793         PyDict_SetItemString(d
,"LANGUAGE_TAJIK", SWIG_From_int((int)(wxLANGUAGE_TAJIK
)));  
23796         PyDict_SetItemString(d
,"LANGUAGE_TAMIL", SWIG_From_int((int)(wxLANGUAGE_TAMIL
)));  
23799         PyDict_SetItemString(d
,"LANGUAGE_TATAR", SWIG_From_int((int)(wxLANGUAGE_TATAR
)));  
23802         PyDict_SetItemString(d
,"LANGUAGE_TELUGU", SWIG_From_int((int)(wxLANGUAGE_TELUGU
)));  
23805         PyDict_SetItemString(d
,"LANGUAGE_THAI", SWIG_From_int((int)(wxLANGUAGE_THAI
)));  
23808         PyDict_SetItemString(d
,"LANGUAGE_TIBETAN", SWIG_From_int((int)(wxLANGUAGE_TIBETAN
)));  
23811         PyDict_SetItemString(d
,"LANGUAGE_TIGRINYA", SWIG_From_int((int)(wxLANGUAGE_TIGRINYA
)));  
23814         PyDict_SetItemString(d
,"LANGUAGE_TONGA", SWIG_From_int((int)(wxLANGUAGE_TONGA
)));  
23817         PyDict_SetItemString(d
,"LANGUAGE_TSONGA", SWIG_From_int((int)(wxLANGUAGE_TSONGA
)));  
23820         PyDict_SetItemString(d
,"LANGUAGE_TURKISH", SWIG_From_int((int)(wxLANGUAGE_TURKISH
)));  
23823         PyDict_SetItemString(d
,"LANGUAGE_TURKMEN", SWIG_From_int((int)(wxLANGUAGE_TURKMEN
)));  
23826         PyDict_SetItemString(d
,"LANGUAGE_TWI", SWIG_From_int((int)(wxLANGUAGE_TWI
)));  
23829         PyDict_SetItemString(d
,"LANGUAGE_UIGHUR", SWIG_From_int((int)(wxLANGUAGE_UIGHUR
)));  
23832         PyDict_SetItemString(d
,"LANGUAGE_UKRAINIAN", SWIG_From_int((int)(wxLANGUAGE_UKRAINIAN
)));  
23835         PyDict_SetItemString(d
,"LANGUAGE_URDU", SWIG_From_int((int)(wxLANGUAGE_URDU
)));  
23838         PyDict_SetItemString(d
,"LANGUAGE_URDU_INDIA", SWIG_From_int((int)(wxLANGUAGE_URDU_INDIA
)));  
23841         PyDict_SetItemString(d
,"LANGUAGE_URDU_PAKISTAN", SWIG_From_int((int)(wxLANGUAGE_URDU_PAKISTAN
)));  
23844         PyDict_SetItemString(d
,"LANGUAGE_UZBEK", SWIG_From_int((int)(wxLANGUAGE_UZBEK
)));  
23847         PyDict_SetItemString(d
,"LANGUAGE_UZBEK_CYRILLIC", SWIG_From_int((int)(wxLANGUAGE_UZBEK_CYRILLIC
)));  
23850         PyDict_SetItemString(d
,"LANGUAGE_UZBEK_LATIN", SWIG_From_int((int)(wxLANGUAGE_UZBEK_LATIN
)));  
23853         PyDict_SetItemString(d
,"LANGUAGE_VIETNAMESE", SWIG_From_int((int)(wxLANGUAGE_VIETNAMESE
)));  
23856         PyDict_SetItemString(d
,"LANGUAGE_VOLAPUK", SWIG_From_int((int)(wxLANGUAGE_VOLAPUK
)));  
23859         PyDict_SetItemString(d
,"LANGUAGE_WELSH", SWIG_From_int((int)(wxLANGUAGE_WELSH
)));  
23862         PyDict_SetItemString(d
,"LANGUAGE_WOLOF", SWIG_From_int((int)(wxLANGUAGE_WOLOF
)));  
23865         PyDict_SetItemString(d
,"LANGUAGE_XHOSA", SWIG_From_int((int)(wxLANGUAGE_XHOSA
)));  
23868         PyDict_SetItemString(d
,"LANGUAGE_YIDDISH", SWIG_From_int((int)(wxLANGUAGE_YIDDISH
)));  
23871         PyDict_SetItemString(d
,"LANGUAGE_YORUBA", SWIG_From_int((int)(wxLANGUAGE_YORUBA
)));  
23874         PyDict_SetItemString(d
,"LANGUAGE_ZHUANG", SWIG_From_int((int)(wxLANGUAGE_ZHUANG
)));  
23877         PyDict_SetItemString(d
,"LANGUAGE_ZULU", SWIG_From_int((int)(wxLANGUAGE_ZULU
)));  
23880         PyDict_SetItemString(d
,"LANGUAGE_USER_DEFINED", SWIG_From_int((int)(wxLANGUAGE_USER_DEFINED
)));  
23883         PyDict_SetItemString(d
,"LOCALE_CAT_NUMBER", SWIG_From_int((int)(wxLOCALE_CAT_NUMBER
)));  
23886         PyDict_SetItemString(d
,"LOCALE_CAT_DATE", SWIG_From_int((int)(wxLOCALE_CAT_DATE
)));  
23889         PyDict_SetItemString(d
,"LOCALE_CAT_MONEY", SWIG_From_int((int)(wxLOCALE_CAT_MONEY
)));  
23892         PyDict_SetItemString(d
,"LOCALE_CAT_MAX", SWIG_From_int((int)(wxLOCALE_CAT_MAX
)));  
23895         PyDict_SetItemString(d
,"LOCALE_THOUSANDS_SEP", SWIG_From_int((int)(wxLOCALE_THOUSANDS_SEP
)));  
23898         PyDict_SetItemString(d
,"LOCALE_DECIMAL_POINT", SWIG_From_int((int)(wxLOCALE_DECIMAL_POINT
)));  
23901         PyDict_SetItemString(d
,"LOCALE_LOAD_DEFAULT", SWIG_From_int((int)(wxLOCALE_LOAD_DEFAULT
)));  
23904         PyDict_SetItemString(d
,"LOCALE_CONV_ENCODING", SWIG_From_int((int)(wxLOCALE_CONV_ENCODING
)));  
23907         PyDict_SetItemString(d
,"CONVERT_STRICT", SWIG_From_int((int)(wxCONVERT_STRICT
)));  
23910         PyDict_SetItemString(d
,"CONVERT_SUBSTITUTE", SWIG_From_int((int)(wxCONVERT_SUBSTITUTE
)));  
23913         PyDict_SetItemString(d
,"PLATFORM_CURRENT", SWIG_From_int((int)(wxPLATFORM_CURRENT
)));  
23916         PyDict_SetItemString(d
,"PLATFORM_UNIX", SWIG_From_int((int)(wxPLATFORM_UNIX
)));  
23919         PyDict_SetItemString(d
,"PLATFORM_WINDOWS", SWIG_From_int((int)(wxPLATFORM_WINDOWS
)));  
23922         PyDict_SetItemString(d
,"PLATFORM_OS2", SWIG_From_int((int)(wxPLATFORM_OS2
)));  
23925         PyDict_SetItemString(d
,"PLATFORM_MAC", SWIG_From_int((int)(wxPLATFORM_MAC
)));  
23928         PyDict_SetItemString(d
,"BUFFER_VIRTUAL_AREA", SWIG_From_int((int)(wxBUFFER_VIRTUAL_AREA
)));  
23931         PyDict_SetItemString(d
,"BUFFER_CLIENT_AREA", SWIG_From_int((int)(wxBUFFER_CLIENT_AREA
)));  
23934         PyDict_SetItemString(d
,"IMAGELIST_DRAW_NORMAL", SWIG_From_int((int)(wxIMAGELIST_DRAW_NORMAL
)));  
23937         PyDict_SetItemString(d
,"IMAGELIST_DRAW_TRANSPARENT", SWIG_From_int((int)(wxIMAGELIST_DRAW_TRANSPARENT
)));  
23940         PyDict_SetItemString(d
,"IMAGELIST_DRAW_SELECTED", SWIG_From_int((int)(wxIMAGELIST_DRAW_SELECTED
)));  
23943         PyDict_SetItemString(d
,"IMAGELIST_DRAW_FOCUSED", SWIG_From_int((int)(wxIMAGELIST_DRAW_FOCUSED
)));  
23946         PyDict_SetItemString(d
,"IMAGE_LIST_NORMAL", SWIG_From_int((int)(wxIMAGE_LIST_NORMAL
)));  
23949         PyDict_SetItemString(d
,"IMAGE_LIST_SMALL", SWIG_From_int((int)(wxIMAGE_LIST_SMALL
)));  
23952         PyDict_SetItemString(d
,"IMAGE_LIST_STATE", SWIG_From_int((int)(wxIMAGE_LIST_STATE
)));  
23954     PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
); 
23955     SWIG_addvarlink(SWIG_globals
,(char*)"NORMAL_FONT",_wrap_NORMAL_FONT_get
, _wrap_NORMAL_FONT_set
); 
23956     SWIG_addvarlink(SWIG_globals
,(char*)"SMALL_FONT",_wrap_SMALL_FONT_get
, _wrap_SMALL_FONT_set
); 
23957     SWIG_addvarlink(SWIG_globals
,(char*)"ITALIC_FONT",_wrap_ITALIC_FONT_get
, _wrap_ITALIC_FONT_set
); 
23958     SWIG_addvarlink(SWIG_globals
,(char*)"SWISS_FONT",_wrap_SWISS_FONT_get
, _wrap_SWISS_FONT_set
); 
23959     SWIG_addvarlink(SWIG_globals
,(char*)"RED_PEN",_wrap_RED_PEN_get
, _wrap_RED_PEN_set
); 
23960     SWIG_addvarlink(SWIG_globals
,(char*)"CYAN_PEN",_wrap_CYAN_PEN_get
, _wrap_CYAN_PEN_set
); 
23961     SWIG_addvarlink(SWIG_globals
,(char*)"GREEN_PEN",_wrap_GREEN_PEN_get
, _wrap_GREEN_PEN_set
); 
23962     SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_PEN",_wrap_BLACK_PEN_get
, _wrap_BLACK_PEN_set
); 
23963     SWIG_addvarlink(SWIG_globals
,(char*)"WHITE_PEN",_wrap_WHITE_PEN_get
, _wrap_WHITE_PEN_set
); 
23964     SWIG_addvarlink(SWIG_globals
,(char*)"TRANSPARENT_PEN",_wrap_TRANSPARENT_PEN_get
, _wrap_TRANSPARENT_PEN_set
); 
23965     SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_DASHED_PEN",_wrap_BLACK_DASHED_PEN_get
, _wrap_BLACK_DASHED_PEN_set
); 
23966     SWIG_addvarlink(SWIG_globals
,(char*)"GREY_PEN",_wrap_GREY_PEN_get
, _wrap_GREY_PEN_set
); 
23967     SWIG_addvarlink(SWIG_globals
,(char*)"MEDIUM_GREY_PEN",_wrap_MEDIUM_GREY_PEN_get
, _wrap_MEDIUM_GREY_PEN_set
); 
23968     SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY_PEN",_wrap_LIGHT_GREY_PEN_get
, _wrap_LIGHT_GREY_PEN_set
); 
23969     SWIG_addvarlink(SWIG_globals
,(char*)"BLUE_BRUSH",_wrap_BLUE_BRUSH_get
, _wrap_BLUE_BRUSH_set
); 
23970     SWIG_addvarlink(SWIG_globals
,(char*)"GREEN_BRUSH",_wrap_GREEN_BRUSH_get
, _wrap_GREEN_BRUSH_set
); 
23971     SWIG_addvarlink(SWIG_globals
,(char*)"WHITE_BRUSH",_wrap_WHITE_BRUSH_get
, _wrap_WHITE_BRUSH_set
); 
23972     SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_BRUSH",_wrap_BLACK_BRUSH_get
, _wrap_BLACK_BRUSH_set
); 
23973     SWIG_addvarlink(SWIG_globals
,(char*)"TRANSPARENT_BRUSH",_wrap_TRANSPARENT_BRUSH_get
, _wrap_TRANSPARENT_BRUSH_set
); 
23974     SWIG_addvarlink(SWIG_globals
,(char*)"CYAN_BRUSH",_wrap_CYAN_BRUSH_get
, _wrap_CYAN_BRUSH_set
); 
23975     SWIG_addvarlink(SWIG_globals
,(char*)"RED_BRUSH",_wrap_RED_BRUSH_get
, _wrap_RED_BRUSH_set
); 
23976     SWIG_addvarlink(SWIG_globals
,(char*)"GREY_BRUSH",_wrap_GREY_BRUSH_get
, _wrap_GREY_BRUSH_set
); 
23977     SWIG_addvarlink(SWIG_globals
,(char*)"MEDIUM_GREY_BRUSH",_wrap_MEDIUM_GREY_BRUSH_get
, _wrap_MEDIUM_GREY_BRUSH_set
); 
23978     SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY_BRUSH",_wrap_LIGHT_GREY_BRUSH_get
, _wrap_LIGHT_GREY_BRUSH_set
); 
23979     SWIG_addvarlink(SWIG_globals
,(char*)"BLACK",_wrap_BLACK_get
, _wrap_BLACK_set
); 
23980     SWIG_addvarlink(SWIG_globals
,(char*)"WHITE",_wrap_WHITE_get
, _wrap_WHITE_set
); 
23981     SWIG_addvarlink(SWIG_globals
,(char*)"RED",_wrap_RED_get
, _wrap_RED_set
); 
23982     SWIG_addvarlink(SWIG_globals
,(char*)"BLUE",_wrap_BLUE_get
, _wrap_BLUE_set
); 
23983     SWIG_addvarlink(SWIG_globals
,(char*)"GREEN",_wrap_GREEN_get
, _wrap_GREEN_set
); 
23984     SWIG_addvarlink(SWIG_globals
,(char*)"CYAN",_wrap_CYAN_get
, _wrap_CYAN_set
); 
23985     SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY",_wrap_LIGHT_GREY_get
, _wrap_LIGHT_GREY_set
); 
23986     SWIG_addvarlink(SWIG_globals
,(char*)"STANDARD_CURSOR",_wrap_STANDARD_CURSOR_get
, _wrap_STANDARD_CURSOR_set
); 
23987     SWIG_addvarlink(SWIG_globals
,(char*)"HOURGLASS_CURSOR",_wrap_HOURGLASS_CURSOR_get
, _wrap_HOURGLASS_CURSOR_set
); 
23988     SWIG_addvarlink(SWIG_globals
,(char*)"CROSS_CURSOR",_wrap_CROSS_CURSOR_get
, _wrap_CROSS_CURSOR_set
); 
23989     SWIG_addvarlink(SWIG_globals
,(char*)"NullBitmap",_wrap_NullBitmap_get
, _wrap_NullBitmap_set
); 
23990     SWIG_addvarlink(SWIG_globals
,(char*)"NullIcon",_wrap_NullIcon_get
, _wrap_NullIcon_set
); 
23991     SWIG_addvarlink(SWIG_globals
,(char*)"NullCursor",_wrap_NullCursor_get
, _wrap_NullCursor_set
); 
23992     SWIG_addvarlink(SWIG_globals
,(char*)"NullPen",_wrap_NullPen_get
, _wrap_NullPen_set
); 
23993     SWIG_addvarlink(SWIG_globals
,(char*)"NullBrush",_wrap_NullBrush_get
, _wrap_NullBrush_set
); 
23994     SWIG_addvarlink(SWIG_globals
,(char*)"NullPalette",_wrap_NullPalette_get
, _wrap_NullPalette_set
); 
23995     SWIG_addvarlink(SWIG_globals
,(char*)"NullFont",_wrap_NullFont_get
, _wrap_NullFont_set
); 
23996     SWIG_addvarlink(SWIG_globals
,(char*)"NullColour",_wrap_NullColour_get
, _wrap_NullColour_set
); 
23997     SWIG_addvarlink(SWIG_globals
,(char*)"TheFontList",_wrap_TheFontList_get
, _wrap_TheFontList_set
); 
23998     SWIG_addvarlink(SWIG_globals
,(char*)"ThePenList",_wrap_ThePenList_get
, _wrap_ThePenList_set
); 
23999     SWIG_addvarlink(SWIG_globals
,(char*)"TheBrushList",_wrap_TheBrushList_get
, _wrap_TheBrushList_set
); 
24000     SWIG_addvarlink(SWIG_globals
,(char*)"TheColourDatabase",_wrap_TheColourDatabase_get
, _wrap_TheColourDatabase_set
); 
24002         PyDict_SetItemString(d
,"CONTROL_DISABLED", SWIG_From_int((int)(wxCONTROL_DISABLED
)));  
24005         PyDict_SetItemString(d
,"CONTROL_FOCUSED", SWIG_From_int((int)(wxCONTROL_FOCUSED
)));  
24008         PyDict_SetItemString(d
,"CONTROL_PRESSED", SWIG_From_int((int)(wxCONTROL_PRESSED
)));  
24011         PyDict_SetItemString(d
,"CONTROL_ISDEFAULT", SWIG_From_int((int)(wxCONTROL_ISDEFAULT
)));  
24014         PyDict_SetItemString(d
,"CONTROL_ISSUBMENU", SWIG_From_int((int)(wxCONTROL_ISSUBMENU
)));  
24017         PyDict_SetItemString(d
,"CONTROL_EXPANDED", SWIG_From_int((int)(wxCONTROL_EXPANDED
)));  
24020         PyDict_SetItemString(d
,"CONTROL_CURRENT", SWIG_From_int((int)(wxCONTROL_CURRENT
)));  
24023         PyDict_SetItemString(d
,"CONTROL_SELECTED", SWIG_From_int((int)(wxCONTROL_SELECTED
)));  
24026         PyDict_SetItemString(d
,"CONTROL_CHECKED", SWIG_From_int((int)(wxCONTROL_CHECKED
)));  
24029         PyDict_SetItemString(d
,"CONTROL_CHECKABLE", SWIG_From_int((int)(wxCONTROL_CHECKABLE
)));  
24032         PyDict_SetItemString(d
,"CONTROL_UNDETERMINED", SWIG_From_int((int)(wxCONTROL_UNDETERMINED
)));  
24035         PyDict_SetItemString(d
,"CONTROL_FLAGS_MASK", SWIG_From_int((int)(wxCONTROL_FLAGS_MASK
)));  
24038         PyDict_SetItemString(d
,"CONTROL_DIRTY", SWIG_From_int((int)(wxCONTROL_DIRTY
)));  
24041         PyDict_SetItemString(d
,"RendererVersion_Current_Version", SWIG_From_int((int)(wxRendererVersion::Current_Version
)));  
24044         PyDict_SetItemString(d
,"RendererVersion_Current_Age", SWIG_From_int((int)(wxRendererVersion::Current_Age
)));  
24047     // Work around a chicken/egg problem in drawlist.cpp 
24048     wxPyDrawList_SetAPIPtr();