1 /* ---------------------------------------------------------------------------- 
   2  * This file was automatically generated by SWIG (http://www.swig.org). 
   5  * This file is not intended to be easily readable and contains a number of  
   6  * coding conventions designed to improve portability and efficiency. Do not make 
   7  * changes to this file unless you know what you are doing--modify the SWIG  
   8  * interface file instead.  
   9  * ----------------------------------------------------------------------------- */ 
  14 template<class T
> class SwigValueWrapper 
{ 
  17     SwigValueWrapper() : tt(0) { } 
  18     SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { } 
  19     SwigValueWrapper(const T
& t
) : tt(new T(t
)) { } 
  20     ~SwigValueWrapper() { delete tt
; }  
  21     SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt 
= new T(t
); return *this; } 
  22     operator T
&() const { return *tt
; } 
  23     T 
*operator&() { return tt
; } 
  25     SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
); 
  30 #ifndef SWIG_TEMPLATE_DISAMBIGUATOR 
  31 #  if defined(__SUNPRO_CC)  
  32 #    define SWIG_TEMPLATE_DISAMBIGUATOR template 
  34 #    define SWIG_TEMPLATE_DISAMBIGUATOR  
  41 /*********************************************************************** 
  44  *     This file contains generic CAPI SWIG runtime support for pointer 
  47  ************************************************************************/ 
  49 /* This should only be incremented when either the layout of swig_type_info changes, 
  50    or for whatever reason, the runtime changes incompatibly */ 
  51 #define SWIG_RUNTIME_VERSION "1" 
  53 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */ 
  54 #ifdef SWIG_TYPE_TABLE 
  55 #define SWIG_QUOTE_STRING(x) #x 
  56 #define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x) 
  57 #define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE) 
  59 #define SWIG_TYPE_TABLE_NAME 
  65 #if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__)) 
  66 #  define SWIGINLINE inline 
  73   You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for 
  74   creating a static or dynamic library from the swig runtime code. 
  75   In 99.9% of the cases, swig just needs to declare them as 'static'. 
  77   But only do this if is strictly necessary, ie, if you have problems 
  78   with your compiler or so. 
  81 #define SWIGRUNTIME static 
  83 #ifndef SWIGRUNTIMEINLINE 
  84 #define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE 
  91 typedef void *(*swig_converter_func
)(void *); 
  92 typedef struct swig_type_info 
*(*swig_dycast_func
)(void **); 
  94 typedef struct swig_type_info 
{ 
  96   swig_converter_func     converter
; 
  99   swig_dycast_func        dcast
; 
 100   struct swig_type_info  
*next
; 
 101   struct swig_type_info  
*prev
; 
 105   Compare two type names skipping the space characters, therefore 
 106   "char*" == "char *" and "Class<int>" == "Class<int >", etc. 
 108   Return 0 when the two name types are equivalent, as in 
 109   strncmp, but skipping ' '. 
 112 SWIG_TypeNameComp(const char *f1
, const char *l1
, 
 113                   const char *f2
, const char *l2
) { 
 114   for (;(f1 
!= l1
) && (f2 
!= l2
); ++f1
, ++f2
) { 
 115     while ((*f1 
== ' ') && (f1 
!= l1
)) ++f1
; 
 116     while ((*f2 
== ' ') && (f2 
!= l2
)) ++f2
; 
 117     if (*f1 
!= *f2
) return *f1 
- *f2
; 
 119   return (l1 
- f1
) - (l2 
- f2
); 
 123   Check type equivalence in a name list like <name1>|<name2>|... 
 126 SWIG_TypeEquiv(const char *nb
, const char *tb
) { 
 128   const char* te 
= tb 
+ strlen(tb
); 
 130   while (!equiv 
&& *ne
) { 
 131     for (nb 
= ne
; *ne
; ++ne
) { 
 132       if (*ne 
== '|') break; 
 134     equiv 
= SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0; 
 141   Register a type mapping with the type-checking 
 143 SWIGRUNTIME swig_type_info 
* 
 144 SWIG_TypeRegisterTL(swig_type_info 
**tl
, swig_type_info 
*ti
) { 
 145   swig_type_info 
*tc
, *head
, *ret
, *next
; 
 146   /* Check to see if this type has already been registered */ 
 149     /* check simple type equivalence */ 
 150     int typeequiv 
= (strcmp(tc
->name
, ti
->name
) == 0);    
 151     /* check full type equivalence, resolving typedefs */ 
 153       /* only if tc is not a typedef (no '|' on it) */ 
 154       if (tc
->str 
&& ti
->str 
&& !strstr(tc
->str
,"|")) { 
 155         typeequiv 
= SWIG_TypeEquiv(ti
->str
,tc
->str
); 
 159       /* Already exists in the table.  Just add additional types to the list */ 
 160       if (ti
->clientdata
) tc
->clientdata 
= ti
->clientdata
; 
 174   /* Build linked lists */ 
 178   /* Patch up the rest of the links */ 
 185   if (next
) next
->prev 
= head
; 
 194 SWIGRUNTIME swig_type_info 
* 
 195 SWIG_TypeCheck(const char *c
, swig_type_info 
*ty
) { 
 197   if (!ty
) return 0;        /* Void pointer */ 
 198   s 
= ty
->next
;             /* First element always just a name */ 
 200     if (strcmp(s
->name
,c
) == 0) { 
 201       if (s 
== ty
->next
) return s
; 
 202       /* Move s to the top of the linked list */ 
 203       s
->prev
->next 
= s
->next
; 
 205         s
->next
->prev 
= s
->prev
; 
 207       /* Insert s as second element in the list */ 
 209       if (ty
->next
) ty
->next
->prev 
= s
; 
 215   } while (s 
&& (s 
!= ty
->next
)); 
 220   Cast a pointer up an inheritance hierarchy 
 222 SWIGRUNTIMEINLINE 
void * 
 223 SWIG_TypeCast(swig_type_info 
*ty
, void *ptr
) { 
 224   return ((!ty
) || (!ty
->converter
)) ? ptr 
: (*ty
->converter
)(ptr
); 
 228    Dynamic pointer casting. Down an inheritance hierarchy 
 230 SWIGRUNTIME swig_type_info 
* 
 231 SWIG_TypeDynamicCast(swig_type_info 
*ty
, void **ptr
) { 
 232   swig_type_info 
*lastty 
= ty
; 
 233   if (!ty 
|| !ty
->dcast
) return ty
; 
 234   while (ty 
&& (ty
->dcast
)) { 
 235     ty 
= (*ty
->dcast
)(ptr
); 
 242   Return the name associated with this type 
 244 SWIGRUNTIMEINLINE 
const char * 
 245 SWIG_TypeName(const swig_type_info 
*ty
) { 
 250   Return the pretty name associated with this type, 
 251   that is an unmangled type name in a form presentable to the user. 
 253 SWIGRUNTIME 
const char * 
 254 SWIG_TypePrettyName(const swig_type_info 
*type
) { 
 255   /* The "str" field contains the equivalent pretty names of the 
 256      type, separated by vertical-bar characters.  We choose 
 257      to print the last name, as it is often (?) the most 
 259   if (type
->str 
!= NULL
) { 
 260     const char *last_name 
= type
->str
; 
 262     for (s 
= type
->str
; *s
; s
++) 
 263       if (*s 
== '|') last_name 
= s
+1; 
 271   Search for a swig_type_info structure 
 273 SWIGRUNTIME swig_type_info 
* 
 274 SWIG_TypeQueryTL(swig_type_info 
*tl
, const char *name
) { 
 275   swig_type_info 
*ty 
= tl
; 
 277     if (ty
->str 
&& (SWIG_TypeEquiv(ty
->str
,name
))) return ty
; 
 278     if (ty
->name 
&& (strcmp(name
,ty
->name
) == 0)) return ty
; 
 285    Set the clientdata field for a type 
 288 SWIG_TypeClientDataTL(swig_type_info 
*tl
, swig_type_info 
*ti
, void *clientdata
) { 
 289   swig_type_info 
*tc
, *equiv
; 
 290   if (ti
->clientdata
) return; 
 291   /* if (ti->clientdata == clientdata) return; */ 
 292   ti
->clientdata 
= clientdata
; 
 295     if (!equiv
->converter
) { 
 298         if ((strcmp(tc
->name
, equiv
->name
) == 0)) 
 299           SWIG_TypeClientDataTL(tl
,tc
,clientdata
); 
 308    Pack binary data into a string 
 311 SWIG_PackData(char *c
, void *ptr
, size_t sz
) { 
 312   static char hex
[17] = "0123456789abcdef"; 
 313   unsigned char *u 
= (unsigned char *) ptr
; 
 314   const unsigned char *eu 
=  u 
+ sz
; 
 315   register unsigned char uu
; 
 316   for (; u 
!= eu
; ++u
) { 
 318     *(c
++) = hex
[(uu 
& 0xf0) >> 4]; 
 319     *(c
++) = hex
[uu 
& 0xf]; 
 325    Unpack binary data from a string 
 327 SWIGRUNTIME 
const char * 
 328 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) { 
 329   register unsigned char *u 
= (unsigned char *) ptr
; 
 330   register const unsigned char *eu 
=  u 
+ sz
; 
 331   for (; u 
!= eu
; ++u
) { 
 332     register int d 
= *(c
++); 
 333     register unsigned char uu 
= 0; 
 334     if ((d 
>= '0') && (d 
<= '9')) 
 335       uu 
= ((d 
- '0') << 4); 
 336     else if ((d 
>= 'a') && (d 
<= 'f')) 
 337       uu 
= ((d 
- ('a'-10)) << 4); 
 341     if ((d 
>= '0') && (d 
<= '9')) 
 343     else if ((d 
>= 'a') && (d 
<= 'f')) 
 344       uu 
|= (d 
- ('a'-10)); 
 353   This function will propagate the clientdata field of type to any new 
 354   swig_type_info structures that have been added into the list of 
 355   equivalent types.  It is like calling SWIG_TypeClientData(type, 
 356   clientdata) a second time. 
 359 SWIG_PropagateClientDataTL(swig_type_info 
*tl
, swig_type_info 
*type
) { 
 360   swig_type_info 
*equiv 
= type
->next
; 
 362   if (!type
->clientdata
) return; 
 364     if (!equiv
->converter
) { 
 367         if ((strcmp(tc
->name
, equiv
->name
) == 0) && !tc
->clientdata
) 
 368           SWIG_TypeClientDataTL(tl
,tc
, type
->clientdata
); 
 377    Pack 'void *' into a string buffer. 
 380 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) { 
 382   if ((2*sizeof(void *) + 2) > bsz
) return 0; 
 384   r 
= SWIG_PackData(r
,&ptr
,sizeof(void *)); 
 385   if (strlen(name
) + 1 > (bsz 
- (r 
- buff
))) return 0; 
 390 SWIGRUNTIME 
const char * 
 391 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) { 
 393     if (strcmp(c
,"NULL") == 0) { 
 400   return SWIG_UnpackData(++c
,ptr
,sizeof(void *)); 
 404 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) { 
 406   size_t lname 
= (name 
? strlen(name
) : 0); 
 407   if ((2*sz 
+ 2 + lname
) > bsz
) return 0; 
 409   r 
= SWIG_PackData(r
,ptr
,sz
); 
 411     strncpy(r
,name
,lname
+1); 
 418 SWIGRUNTIME 
const char * 
 419 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) { 
 421     if (strcmp(c
,"NULL") == 0) { 
 428   return SWIG_UnpackData(++c
,ptr
,sz
); 
 435 /*********************************************************************** 
 438  *     This file contains generic SWIG runtime support for pointer 
 439  *     type checking as well as a few commonly used macros to control 
 442  * Author : David Beazley (beazley@cs.uchicago.edu) 
 444  * Copyright (c) 1999-2000, The University of Chicago 
 446  * This file may be freely redistributed without license or fee provided 
 447  * this copyright message remains intact. 
 448  ************************************************************************/ 
 451 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__) 
 452 #  if !defined(STATIC_LINKED) 
 453 #    define SWIGEXPORT(a) __declspec(dllexport) a 
 455 #    define SWIGEXPORT(a) a 
 458 #  define SWIGEXPORT(a) a 
 466 /*************************************************************************/ 
 469 /* The static type info list */ 
 471 static swig_type_info 
*swig_type_list 
= 0; 
 472 static swig_type_info 
**swig_type_list_handle 
= &swig_type_list
; 
 475 /* Register a type mapping with the type-checking */ 
 476 static swig_type_info 
* 
 477 SWIG_TypeRegister(swig_type_info 
*ti
) { 
 478   return SWIG_TypeRegisterTL(swig_type_list_handle
, ti
); 
 481 /* Search for a swig_type_info structure */ 
 482 static swig_type_info 
* 
 483 SWIG_TypeQuery(const char *name
) { 
 484   return SWIG_TypeQueryTL(*swig_type_list_handle
, name
); 
 487 /* Set the clientdata field for a type */ 
 489 SWIG_TypeClientData(swig_type_info 
*ti
, void *clientdata
) { 
 490   SWIG_TypeClientDataTL(*swig_type_list_handle
, ti
, clientdata
); 
 493 /* This function will propagate the clientdata field of type to 
 494 * any new swig_type_info structures that have been added into the list 
 495 * of equivalent types.  It is like calling 
 496 * SWIG_TypeClientData(type, clientdata) a second time. 
 499 SWIG_PropagateClientData(swig_type_info 
*type
) { 
 500   SWIG_PropagateClientDataTL(*swig_type_list_handle
, type
); 
 507 /* ----------------------------------------------------------------------------- 
 508  * SWIG API. Portion that goes into the runtime 
 509  * ----------------------------------------------------------------------------- */ 
 515 /* ----------------------------------------------------------------------------- 
 516  * for internal method declarations 
 517  * ----------------------------------------------------------------------------- */ 
 520 #define SWIGINTERN static  
 523 #ifndef SWIGINTERNSHORT 
 525 #define SWIGINTERNSHORT static inline  
 527 #define SWIGINTERNSHORT static  
 528 #endif /* __cplusplus */ 
 533   Exception handling in wrappers 
 535 #define SWIG_fail                goto fail 
 536 #define SWIG_arg_fail(arg)       SWIG_Python_ArgFail(arg) 
 537 #define SWIG_append_errmsg(msg)   SWIG_Python_AddErrMesg(msg,0) 
 538 #define SWIG_preppend_errmsg(msg) SWIG_Python_AddErrMesg(msg,1) 
 539 #define SWIG_type_error(type,obj) SWIG_Python_TypeError(type,obj) 
 540 #define SWIG_null_ref(type)       SWIG_Python_NullRef(type) 
 545 #define SWIG_contract_assert(expr, msg) \ 
 546  if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else 
 548 /* ----------------------------------------------------------------------------- 
 549  * Constant declarations 
 550  * ----------------------------------------------------------------------------- */ 
 553 #define SWIG_PY_INT     1 
 554 #define SWIG_PY_FLOAT   2 
 555 #define SWIG_PY_STRING  3 
 556 #define SWIG_PY_POINTER 4 
 557 #define SWIG_PY_BINARY  5 
 559 /* Constant information structure */ 
 560 typedef struct swig_const_info 
{ 
 566     swig_type_info 
**ptype
; 
 570 /* ----------------------------------------------------------------------------- 
 571  * Alloc. memory flags 
 572  * ----------------------------------------------------------------------------- */ 
 573 #define SWIG_OLDOBJ  1 
 574 #define SWIG_NEWOBJ  SWIG_OLDOBJ + 1 
 575 #define SWIG_PYSTR   SWIG_NEWOBJ + 1 
 582 /*********************************************************************** 
 585  *     This file contains the runtime support for Python modules 
 586  *     and includes code for managing global variables and pointer 
 589  * Author : David Beazley (beazley@cs.uchicago.edu) 
 590  ************************************************************************/ 
 592 /* Common SWIG API */ 
 593 #define SWIG_ConvertPtr(obj, pp, type, flags)    SWIG_Python_ConvertPtr(obj, pp, type, flags) 
 594 #define SWIG_NewPointerObj(p, type, flags)       SWIG_Python_NewPointerObj(p, type, flags) 
 595 #define SWIG_MustGetPtr(p, type, argnum, flags)  SWIG_Python_MustGetPtr(p, type, argnum, flags) 
 598 /* Python-specific SWIG API */ 
 599 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags)   SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags) 
 600 #define SWIG_NewPackedObj(ptr, sz, type)              SWIG_Python_NewPackedObj(ptr, sz, type) 
 603 /* ----------------------------------------------------------------------------- 
 604  * Pointer declarations 
 605  * ----------------------------------------------------------------------------- */ 
 607   Use SWIG_NO_COBJECT_TYPES to force the use of strings to represent 
 608   C/C++ pointers in the python side. Very useful for debugging, but 
 611 #if !defined(SWIG_NO_COBJECT_TYPES) && !defined(SWIG_COBJECT_TYPES) 
 612 #  define SWIG_COBJECT_TYPES 
 615 /* Flags for pointer conversion */ 
 616 #define SWIG_POINTER_EXCEPTION     0x1 
 617 #define SWIG_POINTER_DISOWN        0x2 
 624 /* ----------------------------------------------------------------------------- 
 625  * Create a new pointer string  
 626  * ----------------------------------------------------------------------------- */ 
 628 #ifndef SWIG_BUFFER_SIZE 
 629 #define SWIG_BUFFER_SIZE 1024 
 632 #if defined(SWIG_COBJECT_TYPES) 
 633 #if !defined(SWIG_COBJECT_PYTHON) 
 634 /* ----------------------------------------------------------------------------- 
 635  * Implements a simple Swig Object type, and use it instead of PyCObject 
 636  * ----------------------------------------------------------------------------- */ 
 644 /* Declarations for objects of type PySwigObject */ 
 647 PySwigObject_print(PySwigObject 
*v
, FILE *fp
, int flags
) 
 649   char result
[SWIG_BUFFER_SIZE
]; 
 650   if (SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
))) { 
 651     fputs("<Swig Object at ", fp
); fputs(result
, fp
); fputs(">", fp
); 
 658 SWIGRUNTIME PyObject 
* 
 659 PySwigObject_repr(PySwigObject 
*v
) 
 661   char result
[SWIG_BUFFER_SIZE
]; 
 662   return SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
)) ? 
 663     PyString_FromFormat("<Swig Object at %s>", result
) : 0; 
 666 SWIGRUNTIME PyObject 
* 
 667 PySwigObject_str(PySwigObject 
*v
) 
 669   char result
[SWIG_BUFFER_SIZE
]; 
 670   return SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
)) ? 
 671     PyString_FromString(result
) : 0; 
 674 SWIGRUNTIME PyObject 
* 
 675 PySwigObject_long(PySwigObject 
*v
) 
 677   return PyLong_FromUnsignedLong((unsigned long) v
->ptr
); 
 680 SWIGRUNTIME PyObject 
* 
 681 PySwigObject_oct(PySwigObject 
*v
) 
 684   unsigned long x 
= (unsigned long)v
->ptr
; 
 688     PyOS_snprintf(buf
, sizeof(buf
), "0%lo", x
); 
 689   return PyString_FromString(buf
); 
 692 SWIGRUNTIME PyObject 
* 
 693 PySwigObject_hex(PySwigObject 
*v
) 
 696   PyOS_snprintf(buf
, sizeof(buf
), "0x%lx", (unsigned long)v
->ptr
); 
 697   return PyString_FromString(buf
); 
 701 PySwigObject_compare(PySwigObject 
*v
, PySwigObject 
*w
) 
 703   int c 
= strcmp(v
->desc
, w
->desc
); 
 709     return (i 
< j
) ? -1 : (i 
> j
) ? 1 : 0; 
 714 PySwigObject_dealloc(PySwigObject 
*self
) 
 719 SWIGRUNTIME PyTypeObject
* 
 720 PySwigObject_GetType() { 
 721   static char PySwigObject_Type__doc__
[] =  
 722     "Swig object carries a C/C++ instance pointer"; 
 724   static PyNumberMethods PySwigObject_as_number 
= { 
 725     (binaryfunc
)0, /*nb_add*/ 
 726     (binaryfunc
)0, /*nb_subtract*/ 
 727     (binaryfunc
)0, /*nb_multiply*/ 
 728     (binaryfunc
)0, /*nb_divide*/ 
 729     (binaryfunc
)0, /*nb_remainder*/ 
 730     (binaryfunc
)0, /*nb_divmod*/ 
 731     (ternaryfunc
)0,/*nb_power*/ 
 732     (unaryfunc
)0,  /*nb_negative*/ 
 733     (unaryfunc
)0,  /*nb_positive*/ 
 734     (unaryfunc
)0,  /*nb_absolute*/ 
 735     (inquiry
)0,    /*nb_nonzero*/ 
 742     (coercion
)0,   /*nb_coerce*/ 
 743     (unaryfunc
)PySwigObject_long
, /*nb_int*/ 
 744     (unaryfunc
)PySwigObject_long
, /*nb_long*/ 
 745     (unaryfunc
)0,                 /*nb_float*/ 
 746     (unaryfunc
)PySwigObject_oct
,  /*nb_oct*/ 
 747     (unaryfunc
)PySwigObject_hex
,  /*nb_hex*/ 
 748 #if PY_VERSION_HEX >= 0x02000000 
 749     0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */  
 753   static int type_init 
= 0;   
 754   static PyTypeObject PySwigObject_Type
; 
 758     PyObject_HEAD_INIT(&PyType_Type
) 
 760     "PySwigObject",                     /*tp_name*/ 
 761     sizeof(PySwigObject
),               /*tp_basicsize*/ 
 764     (destructor
)PySwigObject_dealloc
,   /*tp_dealloc*/ 
 765     (printfunc
)PySwigObject_print
,      /*tp_print*/ 
 766     (getattrfunc
)0,                     /*tp_getattr*/ 
 767     (setattrfunc
)0,                     /*tp_setattr*/ 
 768     (cmpfunc
)PySwigObject_compare
,      /*tp_compare*/ 
 769     (reprfunc
)PySwigObject_repr
,        /*tp_repr*/ 
 770     &PySwigObject_as_number
,            /*tp_as_number*/ 
 771     0,                                  /*tp_as_sequence*/ 
 773     (hashfunc
)0,                        /*tp_hash*/ 
 774     (ternaryfunc
)0,                     /*tp_call*/ 
 775     (reprfunc
)PySwigObject_str
,         /*tp_str*/ 
 776     /* Space for future expansion */ 
 778     PySwigObject_Type__doc__
,           /* Documentation string */ 
 779 #if PY_VERSION_HEX >= 0x02000000 
 783 #if PY_VERSION_HEX >= 0x02010000 
 784     0,                                  /* tp_richcompare */ 
 785     0,                                  /* tp_weaklistoffset */ 
 787 #if PY_VERSION_HEX >= 0x02020000 
 788     0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */ 
 790 #if PY_VERSION_HEX >= 0x02030000 
 794     0,0,0,0                             /* tp_alloc -> tp_next */ 
 798     PySwigObject_Type 
= tmp
; 
 802   return &PySwigObject_Type
; 
 805 SWIGRUNTIME PyObject 
* 
 806 PySwigObject_FromVoidPtrAndDesc(void *ptr
, const char *desc
) 
 808   PySwigObject 
*self 
= PyObject_NEW(PySwigObject
, PySwigObject_GetType()); 
 809   if (self 
== NULL
) return NULL
; 
 812   return (PyObject 
*)self
; 
 815 SWIGRUNTIMEINLINE 
void * 
 816 PySwigObject_AsVoidPtr(PyObject 
*self
) 
 818   return ((PySwigObject 
*)self
)->ptr
; 
 821 SWIGRUNTIMEINLINE 
const char * 
 822 PySwigObject_GetDesc(PyObject 
*self
) 
 824   return ((PySwigObject 
*)self
)->desc
; 
 827 SWIGRUNTIMEINLINE 
int 
 828 PySwigObject_Check(PyObject 
*op
) { 
 829   return ((op
)->ob_type 
== PySwigObject_GetType())  
 830     || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0); 
 833 /* ----------------------------------------------------------------------------- 
 834  * Implements a simple Swig Packed type, and use it instead of string 
 835  * ----------------------------------------------------------------------------- */ 
 845 PySwigPacked_print(PySwigPacked 
*v
, FILE *fp
, int flags
) 
 847   char result
[SWIG_BUFFER_SIZE
]; 
 848   fputs("<Swig Packed ", fp
);  
 849   if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) { 
 858 SWIGRUNTIME PyObject 
* 
 859 PySwigPacked_repr(PySwigPacked 
*v
) 
 861   char result
[SWIG_BUFFER_SIZE
]; 
 862   if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) { 
 863     return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->desc
); 
 865     return PyString_FromFormat("<Swig Packed %s>", v
->desc
); 
 869 SWIGRUNTIME PyObject 
* 
 870 PySwigPacked_str(PySwigPacked 
*v
) 
 872   char result
[SWIG_BUFFER_SIZE
]; 
 873   if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){ 
 874     return PyString_FromFormat("%s%s", result
, v
->desc
); 
 876     return PyString_FromFormat("%s", v
->desc
); 
 881 PySwigPacked_compare(PySwigPacked 
*v
, PySwigPacked 
*w
) 
 883   int c 
= strcmp(v
->desc
, w
->desc
); 
 889     int s 
= (i 
< j
) ? -1 : (i 
> j
) ? 1 : 0; 
 890     return s 
? s 
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
); 
 895 PySwigPacked_dealloc(PySwigPacked 
*self
) 
 901 SWIGRUNTIME PyTypeObject
* 
 902 PySwigPacked_GetType() { 
 903   static char PySwigPacked_Type__doc__
[] =  
 904     "Swig object carries a C/C++ instance pointer"; 
 905   static int type_init 
= 0; 
 907   static PyTypeObject PySwigPacked_Type
; 
 910     PyObject_HEAD_INIT(&PyType_Type
) 
 912     "PySwigPacked",                     /*tp_name*/ 
 913     sizeof(PySwigPacked
),               /*tp_basicsize*/ 
 916     (destructor
)PySwigPacked_dealloc
,   /*tp_dealloc*/ 
 917     (printfunc
)PySwigPacked_print
,      /*tp_print*/ 
 918     (getattrfunc
)0,                     /*tp_getattr*/ 
 919     (setattrfunc
)0,                     /*tp_setattr*/ 
 920     (cmpfunc
)PySwigPacked_compare
,      /*tp_compare*/ 
 921     (reprfunc
)PySwigPacked_repr
,        /*tp_repr*/ 
 923     0,                                  /*tp_as_sequence*/ 
 925     (hashfunc
)0,                        /*tp_hash*/ 
 926     (ternaryfunc
)0,                     /*tp_call*/ 
 927     (reprfunc
)PySwigPacked_str
,         /*tp_str*/ 
 928     /* Space for future expansion */ 
 930     PySwigPacked_Type__doc__
,           /* Documentation string */ 
 931 #if PY_VERSION_HEX >= 0x02000000 
 935 #if PY_VERSION_HEX >= 0x02010000 
 936     0,                                  /* tp_richcompare */ 
 937     0,                                  /* tp_weaklistoffset */ 
 939 #if PY_VERSION_HEX >= 0x02020000          
 940     0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */ 
 942 #if PY_VERSION_HEX >= 0x02030000 
 946     0,0,0,0                             /* tp_alloc -> tp_next */ 
 950     PySwigPacked_Type 
= tmp
; 
 956   return &PySwigPacked_Type
; 
 959 SWIGRUNTIME PyObject 
* 
 960 PySwigPacked_FromDataAndDesc(void *ptr
, size_t size
, const char *desc
) 
 962   PySwigPacked 
*self 
= PyObject_NEW(PySwigPacked
, PySwigPacked_GetType()); 
 966     void *pack 
= malloc(size
); 
 967     memcpy(pack
, ptr
, size
); 
 971     return (PyObject 
*) self
; 
 975 SWIGRUNTIMEINLINE 
const char * 
 976 PySwigPacked_UnpackData(PyObject 
*obj
, void *ptr
, size_t size
) 
 978   PySwigPacked 
*self 
= (PySwigPacked 
*)obj
; 
 979   if (self
->size 
!= size
) return 0; 
 980   memcpy(ptr
, self
->pack
, size
); 
 984 SWIGRUNTIMEINLINE 
const char * 
 985 PySwigPacked_GetDesc(PyObject 
*self
) 
 987   return ((PySwigPacked 
*)self
)->desc
; 
 990 SWIGRUNTIMEINLINE 
int 
 991 PySwigPacked_Check(PyObject 
*op
) { 
 992   return ((op
)->ob_type 
== PySwigPacked_GetType())  
 993     || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0); 
 997 /* ----------------------------------------------------------------------------- 
 998  * Use the old Python PyCObject instead of PySwigObject 
 999  * ----------------------------------------------------------------------------- */ 
1001 #define PySwigObject_GetDesc(obj)                  PyCObject_GetDesc(obj) 
1002 #define PySwigObject_Check(obj)            PyCObject_Check(obj) 
1003 #define PySwigObject_AsVoidPtr(obj)        PyCObject_AsVoidPtr(obj) 
1004 #define PySwigObject_FromVoidPtrAndDesc(p, d)  PyCObject_FromVoidPtrAndDesc(p, d, NULL) 
1010 /* ----------------------------------------------------------------------------- 
1011  * errors manipulation 
1012  * ----------------------------------------------------------------------------- */ 
1015 SWIG_Python_TypeError(const char *type
, PyObject 
*obj
) 
1018 #if defined(SWIG_COBJECT_TYPES) 
1019     if (PySwigObject_Check(obj
)) { 
1020       const char *otype 
= (const char *) PySwigObject_GetDesc(obj
); 
1022         PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received", 
1029       const char *otype 
= (obj 
? obj
->ob_type
->tp_name 
: 0);  
1031         PyObject 
*str 
= PyObject_Str(obj
); 
1032         const char *cstr 
= str 
? PyString_AsString(str
) : 0; 
1034           PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received", 
1037           PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received", 
1044     PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
); 
1046     PyErr_Format(PyExc_TypeError
, "unexpected type is received"); 
1050 SWIGRUNTIMEINLINE 
void 
1051 SWIG_Python_NullRef(const char *type
) 
1054     PyErr_Format(PyExc_TypeError
, "null reference of type '%s' was received",type
); 
1056     PyErr_Format(PyExc_TypeError
, "null reference was received"); 
1061 SWIG_Python_AddErrMesg(const char* mesg
, int infront
) 
1063   if (PyErr_Occurred()) { 
1065     PyObject 
*value 
= 0; 
1066     PyObject 
*traceback 
= 0; 
1067     PyErr_Fetch(&type
, &value
, &traceback
); 
1069       PyObject 
*old_str 
= PyObject_Str(value
); 
1073         PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
)); 
1075         PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
); 
1086 SWIG_Python_ArgFail(int argnum
) 
1088   if (PyErr_Occurred()) { 
1089     /* add information about failing argument */ 
1091     sprintf(mesg
, "argument number %d:", argnum
); 
1092     return SWIG_Python_AddErrMesg(mesg
, 1); 
1099 /* ----------------------------------------------------------------------------- 
1100  * pointers/data manipulation 
1101  * ----------------------------------------------------------------------------- */ 
1103 /* Convert a pointer value */ 
1105 SWIG_Python_ConvertPtr(PyObject 
*obj
, void **ptr
, swig_type_info 
*ty
, int flags
) { 
1108   static PyObject 
*SWIG_this 
= 0; 
1110   PyObject  
*pyobj 
= 0; 
1114   if (obj 
== Py_None
) { 
1119 #ifdef SWIG_COBJECT_TYPES 
1120   if (!(PySwigObject_Check(obj
))) { 
1122       SWIG_this 
= PyString_FromString("this"); 
1124     obj 
= PyObject_GetAttr(obj
,SWIG_this
); 
1126     if (!obj
) goto type_error
; 
1127     if (!PySwigObject_Check(obj
)) { 
1132   vptr 
= PySwigObject_AsVoidPtr(obj
); 
1133   c 
= (const char *) PySwigObject_GetDesc(obj
); 
1134   if (newref
) { Py_DECREF(obj
); } 
1137   if (!(PyString_Check(obj
))) { 
1139       SWIG_this 
= PyString_FromString("this"); 
1141     obj 
= PyObject_GetAttr(obj
,SWIG_this
); 
1143     if (!obj
) goto type_error
; 
1144     if (!PyString_Check(obj
)) { 
1149   c 
= PyString_AS_STRING(obj
); 
1150   /* Pointer values must start with leading underscore */ 
1151   c 
= SWIG_UnpackVoidPtr(c
, &vptr
, ty
->name
); 
1152   if (newref
) { Py_DECREF(obj
); } 
1153   if (!c
) goto type_error
; 
1159     tc 
= SWIG_TypeCheck(c
,ty
); 
1160     if (!tc
) goto type_error
; 
1161     *ptr 
= SWIG_TypeCast(tc
,vptr
); 
1166   if ((pyobj
) && (flags 
& SWIG_POINTER_DISOWN
)) { 
1167     PyObject_SetAttrString(pyobj
,(char*)"thisown",Py_False
); 
1173   if (pyobj 
&& !obj
) {     
1175     if (PyCFunction_Check(obj
)) { 
1176       /* here we get the method pointer for callbacks */ 
1177       char *doc 
= (((PyCFunctionObject 
*)obj
) -> m_ml 
-> ml_doc
); 
1178       c 
= doc 
? strstr(doc
, "swig_ptr: ") : 0; 
1180         c 
= SWIG_UnpackVoidPtr(c 
+ 10, &vptr
, ty
->name
); 
1181         if (!c
) goto type_error
; 
1186   if (flags 
& SWIG_POINTER_EXCEPTION
) { 
1188       SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
); 
1190       SWIG_Python_TypeError("C/C++ pointer", obj
); 
1196 /* Convert a pointer value, signal an exception on a type mismatch */ 
1198 SWIG_Python_MustGetPtr(PyObject 
*obj
, swig_type_info 
*ty
, int argnum
, int flags
) { 
1200   if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) { 
1202     if (flags 
& SWIG_POINTER_EXCEPTION
) { 
1203       SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
); 
1204       SWIG_Python_ArgFail(argnum
); 
1210 /* Convert a packed value value */ 
1212 SWIG_Python_ConvertPacked(PyObject 
*obj
, void *ptr
, size_t sz
, swig_type_info 
*ty
, int flags
) { 
1216 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON) 
1217   c 
= PySwigPacked_UnpackData(obj
, ptr
, sz
); 
1219   if ((!obj
) || (!PyString_Check(obj
))) goto type_error
; 
1220   c 
= PyString_AS_STRING(obj
); 
1221   /* Pointer values must start with leading underscore */ 
1222   c 
= SWIG_UnpackDataName(c
, ptr
, sz
, ty
->name
); 
1224   if (!c
) goto type_error
; 
1226     tc 
= SWIG_TypeCheck(c
,ty
); 
1227     if (!tc
) goto type_error
; 
1233   if (flags 
& SWIG_POINTER_EXCEPTION
) { 
1235       SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
); 
1237       SWIG_Python_TypeError("C/C++ packed data", obj
); 
1243 /* Create a new array object */ 
1244 SWIGRUNTIME PyObject 
* 
1245 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info 
*type
, int own
) { 
1251 #ifdef SWIG_COBJECT_TYPES 
1252   robj 
= PySwigObject_FromVoidPtrAndDesc((void *) ptr
, (char *)type
->name
); 
1255     char result
[SWIG_BUFFER_SIZE
]; 
1256     robj 
= SWIG_PackVoidPtr(result
, ptr
, type
->name
, sizeof(result
)) ? 
1257       PyString_FromString(result
) : 0; 
1260   if (!robj 
|| (robj 
== Py_None
)) return robj
; 
1261   if (type
->clientdata
) { 
1263     PyObject 
*args 
= Py_BuildValue((char*)"(O)", robj
); 
1265     inst 
= PyObject_CallObject((PyObject 
*) type
->clientdata
, args
); 
1269         PyObject_SetAttrString(inst
,(char*)"thisown",Py_True
); 
1277 SWIGRUNTIME PyObject 
* 
1278 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info 
*type
) { 
1284 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON) 
1285   robj 
= PySwigPacked_FromDataAndDesc((void *) ptr
, sz
, (char *)type
->name
); 
1288     char result
[SWIG_BUFFER_SIZE
]; 
1289     robj 
= SWIG_PackDataName(result
, ptr
, sz
, type
->name
, sizeof(result
)) ? 
1290       PyString_FromString(result
) : 0; 
1296 /* -----------------------------------------------------------------------------* 
1298  * -----------------------------------------------------------------------------*/ 
1300 #ifdef SWIG_LINK_RUNTIME 
1301 void *SWIG_ReturnGlobalTypeList(void *); 
1304 SWIGRUNTIME swig_type_info 
** 
1305 SWIG_Python_GetTypeListHandle() { 
1306   static void *type_pointer 
= (void *)0; 
1307   /* first check if module already created */ 
1308   if (!type_pointer
) { 
1309 #ifdef SWIG_LINK_RUNTIME 
1310     type_pointer 
= SWIG_ReturnGlobalTypeList((void *)0); 
1312     type_pointer 
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
, 
1313                                     (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
); 
1314     if (PyErr_Occurred()) { 
1316       type_pointer 
= (void *)0; 
1320   return (swig_type_info 
**) type_pointer
; 
1324   Search for a swig_type_info structure 
1326 SWIGRUNTIMEINLINE swig_type_info 
* 
1327 SWIG_Python_GetTypeList() { 
1328   swig_type_info 
**tlh 
= SWIG_Python_GetTypeListHandle(); 
1329   return tlh 
? *tlh 
: (swig_type_info
*)0; 
1332 #define SWIG_Runtime_GetTypeList SWIG_Python_GetTypeList  
1339 /* -------- TYPES TABLE (BEGIN) -------- */ 
1341 #define  SWIGTYPE_p_wxPostScriptDC swig_types[0]  
1342 #define  SWIGTYPE_p_wxBrush swig_types[1]  
1343 #define  SWIGTYPE_p_wxColour swig_types[2]  
1344 #define  SWIGTYPE_p_wxDC swig_types[3]  
1345 #define  SWIGTYPE_p_wxMirrorDC swig_types[4]  
1346 #define  SWIGTYPE_p_form_ops_t swig_types[5]  
1347 #define  SWIGTYPE_p_wxDuplexMode swig_types[6]  
1348 #define  SWIGTYPE_p_wxPyFontEnumerator swig_types[7]  
1349 #define  SWIGTYPE_p_char swig_types[8]  
1350 #define  SWIGTYPE_p_wxIconLocation swig_types[9]  
1351 #define  SWIGTYPE_p_wxImage swig_types[10]  
1352 #define  SWIGTYPE_p_wxMetaFileDC swig_types[11]  
1353 #define  SWIGTYPE_p_wxMask swig_types[12]  
1354 #define  SWIGTYPE_p_wxSize swig_types[13]  
1355 #define  SWIGTYPE_p_wxFont swig_types[14]  
1356 #define  SWIGTYPE_p_wxWindow swig_types[15]  
1357 #define  SWIGTYPE_p_double swig_types[16]  
1358 #define  SWIGTYPE_p_wxMemoryDC swig_types[17]  
1359 #define  SWIGTYPE_p_wxFontMapper swig_types[18]  
1360 #define  SWIGTYPE_p_wxEffects swig_types[19]  
1361 #define  SWIGTYPE_p_wxNativeEncodingInfo swig_types[20]  
1362 #define  SWIGTYPE_p_wxPalette swig_types[21]  
1363 #define  SWIGTYPE_p_wxBitmap swig_types[22]  
1364 #define  SWIGTYPE_p_wxObject swig_types[23]  
1365 #define  SWIGTYPE_p_wxRegionIterator swig_types[24]  
1366 #define  SWIGTYPE_p_wxRect swig_types[25]  
1367 #define  SWIGTYPE_p_wxPaperSize swig_types[26]  
1368 #define  SWIGTYPE_p_wxString swig_types[27]  
1369 #define  SWIGTYPE_unsigned_int swig_types[28]  
1370 #define  SWIGTYPE_p_unsigned_int swig_types[29]  
1371 #define  SWIGTYPE_p_wxPrinterDC swig_types[30]  
1372 #define  SWIGTYPE_p_wxIconBundle swig_types[31]  
1373 #define  SWIGTYPE_p_wxPoint swig_types[32]  
1374 #define  SWIGTYPE_p_wxDash swig_types[33]  
1375 #define  SWIGTYPE_p_wxScreenDC swig_types[34]  
1376 #define  SWIGTYPE_p_wxCursor swig_types[35]  
1377 #define  SWIGTYPE_p_wxClientDC swig_types[36]  
1378 #define  SWIGTYPE_p_wxBufferedDC swig_types[37]  
1379 #define  SWIGTYPE_p_wxImageList swig_types[38]  
1380 #define  SWIGTYPE_p_unsigned_char swig_types[39]  
1381 #define  SWIGTYPE_p_wxGDIObject swig_types[40]  
1382 #define  SWIGTYPE_p_wxIcon swig_types[41]  
1383 #define  SWIGTYPE_p_wxLocale swig_types[42]  
1384 #define  SWIGTYPE_ptrdiff_t swig_types[43]  
1385 #define  SWIGTYPE_std__ptrdiff_t swig_types[44]  
1386 #define  SWIGTYPE_p_wxRegion swig_types[45]  
1387 #define  SWIGTYPE_p_wxConfigBase swig_types[46]  
1388 #define  SWIGTYPE_p_wxLanguageInfo swig_types[47]  
1389 #define  SWIGTYPE_p_wxWindowDC swig_types[48]  
1390 #define  SWIGTYPE_p_wxPrintData swig_types[49]  
1391 #define  SWIGTYPE_p_wxBrushList swig_types[50]  
1392 #define  SWIGTYPE_p_wxFontList swig_types[51]  
1393 #define  SWIGTYPE_p_wxPen swig_types[52]  
1394 #define  SWIGTYPE_p_wxBufferedPaintDC swig_types[53]  
1395 #define  SWIGTYPE_p_wxPaintDC swig_types[54]  
1396 #define  SWIGTYPE_p_wxPenList swig_types[55]  
1397 #define  SWIGTYPE_p_int swig_types[56]  
1398 #define  SWIGTYPE_p_wxMetaFile swig_types[57]  
1399 #define  SWIGTYPE_p_unsigned_long swig_types[58]  
1400 #define  SWIGTYPE_p_wxNativeFontInfo swig_types[59]  
1401 #define  SWIGTYPE_p_wxEncodingConverter swig_types[60]  
1402 #define  SWIGTYPE_p_wxColourDatabase swig_types[61]  
1403 static swig_type_info 
*swig_types
[63]; 
1405 /* -------- TYPES TABLE (END) -------- */ 
1408 /*----------------------------------------------- 
1409               @(target):= _gdi_.so 
1410   ------------------------------------------------*/ 
1411 #define SWIG_init    init_gdi_ 
1413 #define SWIG_name    "_gdi_" 
1415 #include "wx/wxPython/wxPython.h" 
1416 #include "wx/wxPython/pyclasses.h" 
1419  static const wxString 
wxPyEmptyString(wxEmptyString
);  
1425   SWIG_CheckLongInRange(long value
, long min_value
, long max_value
, 
1428   if (value 
< min_value
) { 
1430       PyErr_Format(PyExc_OverflowError
,  
1431                    "value %ld is less than '%s' minimum %ld",  
1432                    value
, errmsg
, min_value
); 
1435   } else if (value 
> max_value
) { 
1437       PyErr_Format(PyExc_OverflowError
, 
1438                    "value %ld is greater than '%s' maximum %ld",  
1439                    value
, errmsg
, max_value
); 
1448 SWIG_AsVal_long(PyObject
* obj
, long* val
) 
1450     if (PyNumber_Check(obj
)) { 
1451         if (val
) *val 
= PyInt_AsLong(obj
); 
1455         SWIG_type_error("number", obj
); 
1461 #if INT_MAX != LONG_MAX 
1463   SWIG_AsVal_int(PyObject 
*obj
, int *val
) 
1465   const char* errmsg 
= val 
? "int" : (char*)0; 
1467   if (SWIG_AsVal_long(obj
, &v
)) { 
1468     if (SWIG_CheckLongInRange(v
, INT_MIN
,INT_MAX
, errmsg
)) { 
1469       if (val
) *val 
= (int)(v
); 
1478     SWIG_type_error(errmsg
, obj
); 
1484   SWIG_AsVal_int(PyObject 
*obj
, int *val
) 
1486   return SWIG_AsVal_long(obj
,(long*)val
); 
1492   SWIG_AsVal_bool(PyObject 
*obj
, bool *val
) 
1494   if (obj 
== Py_True
) { 
1495     if (val
) *val 
= true; 
1498   if (obj 
== Py_False
) { 
1499     if (val
) *val 
= false; 
1503   if (SWIG_AsVal_int(obj
, &res
)) {     
1504     if (val
) *val 
= res 
? true : false; 
1510     SWIG_type_error("bool", obj
); 
1516 SWIGINTERNSHORT 
bool 
1517 SWIG_As_bool(PyObject
* obj
) 
1520   if (!SWIG_AsVal_bool(obj
, &v
)) { 
1522       this is needed to make valgrind/purify happier.  
1524     memset((void*)&v
, 0, sizeof(bool)); 
1531 SWIG_Check_bool(PyObject
* obj
) 
1533   return SWIG_AsVal_bool(obj
, (bool*)0); 
1538 SWIG_AsVal_unsigned_SS_long(PyObject
* obj
, unsigned long* val
) 
1541     if (SWIG_AsVal_long(obj
, &v
) && v 
< 0) { 
1542         SWIG_type_error("unsigned number", obj
); 
1545         *val 
= (unsigned long)v
; 
1551   SWIG_CheckUnsignedLongInRange(unsigned long value
, 
1552                                 unsigned long max_value
, 
1555   if (value 
> max_value
) { 
1557       PyErr_Format(PyExc_OverflowError
, 
1558                    "value %lu is greater than '%s' minimum %lu", 
1559                    value
, errmsg
, max_value
); 
1568   SWIG_AsVal_unsigned_SS_char(PyObject 
*obj
, unsigned char *val
) 
1570   const char* errmsg 
= val 
? "unsigned char" : (char*)0; 
1572   if (SWIG_AsVal_unsigned_SS_long(obj
, &v
)) { 
1573     if (SWIG_CheckUnsignedLongInRange(v
, UCHAR_MAX
,errmsg
)) { 
1574       if (val
) *val 
= (unsigned char)(v
); 
1583     SWIG_type_error(errmsg
, obj
); 
1589 SWIGINTERNSHORT 
unsigned char 
1590 SWIG_As_unsigned_SS_char(PyObject
* obj
) 
1593   if (!SWIG_AsVal_unsigned_SS_char(obj
, &v
)) { 
1595       this is needed to make valgrind/purify happier.  
1597     memset((void*)&v
, 0, sizeof(unsigned char)); 
1604 SWIG_Check_unsigned_SS_char(PyObject
* obj
) 
1606   return SWIG_AsVal_unsigned_SS_char(obj
, (unsigned char*)0); 
1610 SWIGINTERNSHORT 
unsigned long 
1611 SWIG_As_unsigned_SS_long(PyObject
* obj
) 
1614   if (!SWIG_AsVal_unsigned_SS_long(obj
, &v
)) { 
1616       this is needed to make valgrind/purify happier.  
1618     memset((void*)&v
, 0, sizeof(unsigned long)); 
1625 SWIG_Check_unsigned_SS_long(PyObject
* obj
) 
1627   return SWIG_AsVal_unsigned_SS_long(obj
, (unsigned long*)0); 
1631   /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/ 
1632 #define SWIG_From_unsigned_SS_char PyInt_FromLong 
1636   /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/ 
1637 #define SWIG_From_long PyInt_FromLong 
1640 static PyObject 
*wxColour_Get(wxColour 
*self
){ 
1641             PyObject
* rv 
= PyTuple_New(3); 
1647                 green 
= self
->Green(); 
1648                 blue 
=  self
->Blue(); 
1650             PyTuple_SetItem(rv
, 0, PyInt_FromLong(red
)); 
1651             PyTuple_SetItem(rv
, 1, PyInt_FromLong(green
)); 
1652             PyTuple_SetItem(rv
, 2, PyInt_FromLong(blue
)); 
1655 static unsigned long wxColour_GetRGB(wxColour 
*self
){ 
1656             return self
->Red() | (self
->Green() << 8) | (self
->Blue() << 16); 
1659 SWIGINTERNSHORT PyObject
*  
1660   SWIG_From_unsigned_SS_long(unsigned long value
) 
1662   return (value 
> LONG_MAX
) ? 
1663     PyLong_FromUnsignedLong(value
)  
1664     : PyInt_FromLong((long)(value
));  
1669 SWIG_As_int(PyObject
* obj
) 
1672   if (!SWIG_AsVal_int(obj
, &v
)) { 
1674       this is needed to make valgrind/purify happier.  
1676     memset((void*)&v
, 0, sizeof(int)); 
1683 SWIG_Check_int(PyObject
* obj
) 
1685   return SWIG_AsVal_int(obj
, (int*)0); 
1689   /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/ 
1690 #define SWIG_From_int PyInt_FromLong 
1694   static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) { 
1700     } else if (target 
== Py_None
) {   
1704         if (!PyTuple_Check(target
)) { 
1706             target 
= PyTuple_New(1); 
1707             PyTuple_SetItem(target
, 0, o2
); 
1709         o3 
= PyTuple_New(1);             
1710         PyTuple_SetItem(o3
, 0, o
);       
1713         target 
= PySequence_Concat(o2
, o3
);  
1721 static PyObject 
*wxPen_GetDashes(wxPen 
*self
){ 
1723             int count 
= self
->GetDashes(&dashes
); 
1724             wxPyBlock_t blocked 
= wxPyBeginBlockThreads(); 
1725             PyObject
* retval 
= PyList_New(0); 
1726             for (int x
=0; x
<count
; x
++) { 
1727                 PyObject
* pyint 
= PyInt_FromLong(dashes
[x
]); 
1728                 PyList_Append(retval
, pyint
); 
1731             wxPyEndBlockThreads(blocked
); 
1734 static void wxPen__SetDashes(wxPen 
*self
,PyObject 
*_self
,PyObject 
*pyDashes
){ 
1735             wxPyBlock_t blocked 
= wxPyBeginBlockThreads(); 
1736             int size 
= PyList_Size(pyDashes
); 
1737             wxDash
* dashes 
= (wxDash
*)byte_LIST_helper(pyDashes
); 
1739             // black magic warning!  The array of wxDashes needs to exist as 
1740             // long as the pen does because wxPen does not copy the array.  So 
1741             // stick a copy in a Python string object and attach it to _self, 
1742             // and then call SetDashes with a pointer to that array.  Then 
1743             // when the Python pen object is destroyed the array will be 
1745             PyObject
* strDashes 
= PyString_FromStringAndSize((char*)dashes
, size
*sizeof(wxDash
)); 
1746             PyObject_SetAttrString(_self
, "_dashes", strDashes
); 
1748             self
->SetDashes(size
, (wxDash
*)PyString_AS_STRING(strDashes
)); 
1750             Py_DECREF(strDashes
); 
1751             wxPyEndBlockThreads(blocked
); 
1753 static bool wxPen___eq__(wxPen 
*self
,wxPen 
const *other
){ return other 
? (*self 
== *other
) : false; } 
1754 static bool wxPen___ne__(wxPen 
*self
,wxPen 
const *other
){ return other 
? (*self 
!= *other
) : true;  } 
1756 #include <wx/image.h> 
1758     static char** ConvertListOfStrings(PyObject
* listOfStrings
) { 
1759         char**    cArray 
= NULL
; 
1762         if (!PyList_Check(listOfStrings
)) { 
1763             PyErr_SetString(PyExc_TypeError
, "Expected a list of strings."); 
1766         count 
= PyList_Size(listOfStrings
); 
1767         cArray 
= new char*[count
]; 
1769         for(int x
=0; x
<count
; x
++) { 
1770             // TODO: Need some validation and error checking here 
1771             cArray
[x
] = PyString_AsString(PyList_GET_ITEM(listOfStrings
, x
)); 
1777 static wxBitmap 
*new_wxBitmap(PyObject 
*listOfStrings
){ 
1778             char**    cArray 
= NULL
; 
1781             cArray 
= ConvertListOfStrings(listOfStrings
); 
1784             bmp 
= new wxBitmap(cArray
); 
1788 static wxBitmap 
*new_wxBitmap(PyObject 
*bits
,int width
,int height
,int depth
=1){ 
1791             PyString_AsStringAndSize(bits
, &buf
, &length
); 
1792             return new wxBitmap(buf
, width
, height
, depth
); 
1795 SWIGINTERNSHORT 
long 
1796 SWIG_As_long(PyObject
* obj
) 
1799   if (!SWIG_AsVal_long(obj
, &v
)) { 
1801       this is needed to make valgrind/purify happier.  
1803     memset((void*)&v
, 0, sizeof(long)); 
1810 SWIG_Check_long(PyObject
* obj
) 
1812   return SWIG_AsVal_long(obj
, (long*)0); 
1815 static void wxBitmap_SetHandle(wxBitmap 
*self
,long handle
){ self
->SetHandle((WXHANDLE
)handle
); } 
1816 static wxSize 
wxBitmap_GetSize(wxBitmap 
*self
){ 
1817             wxSize 
size(self
->GetWidth(), self
->GetHeight()); 
1820 static void wxBitmap_SetMaskColour(wxBitmap 
*self
,wxColour 
const &colour
){ 
1821             wxMask 
*mask 
= new wxMask(*self
, colour
); 
1822             self
->SetMask(mask
); 
1824 static void wxBitmap_SetSize(wxBitmap 
*self
,wxSize 
const &size
){ 
1825             self
->SetWidth(size
.x
); 
1826             self
->SetHeight(size
.y
); 
1828 static bool wxBitmap___eq__(wxBitmap 
*self
,wxBitmap 
const *other
){ return other 
? (*self 
== *other
) : false; } 
1829 static bool wxBitmap___ne__(wxBitmap 
*self
,wxBitmap 
const *other
){ return other 
? (*self 
!= *other
) : true;  } 
1830 static wxMask 
*new_wxMask(wxBitmap 
const &bitmap
,wxColour 
const &colour
=wxNullColour
){ 
1832                 return new wxMask(bitmap
, *wxBLACK
); 
1834                 return new wxMask(bitmap
, colour
); 
1837 #include <wx/iconbndl.h> 
1839 static wxIcon 
*new_wxIcon(wxBitmap 
const &bmp
){ 
1840             wxIcon
* icon 
= new wxIcon(); 
1841             icon
->CopyFromBitmap(bmp
); 
1844 static wxIcon 
*new_wxIcon(PyObject 
*listOfStrings
){ 
1845             char**  cArray 
= NULL
; 
1848             cArray 
= ConvertListOfStrings(listOfStrings
); 
1851             icon 
= new wxIcon(cArray
); 
1855 static void wxIcon_SetHandle(wxIcon 
*self
,long handle
){ self
->SetHandle((WXHANDLE
)handle
); } 
1856 static wxIconLocation 
*new_wxIconLocation(wxString 
const *filename
=&wxPyEmptyString
,int num
=0){ 
1858             return new wxIconLocation(*filename
, num
); 
1863 static void wxIconLocation_SetIndex(wxIconLocation 
*self
,int num
){ 
1865             self
->SetIndex(num
); 
1870 static int wxIconLocation_GetIndex(wxIconLocation 
*self
){ 
1872             return self
->GetIndex(); 
1877 static wxCursor 
*new_wxCursor(wxString 
const &cursorName
,long type
,int hotSpotX
=0,int hotSpotY
=0){ 
1879             wxImage 
img(cursorName
, type
); 
1880             img
.SetOption(wxIMAGE_OPTION_CUR_HOTSPOT_X
, hotSpotX
); 
1881             img
.SetOption(wxIMAGE_OPTION_CUR_HOTSPOT_Y
, hotSpotY
); 
1882             return new wxCursor(img
); 
1884             return new wxCursor(cursorName
, type
, hotSpotX
, hotSpotY
); 
1887 static void wxCursor_SetHandle(wxCursor 
*self
,long handle
){ self
->SetHandle((WXHANDLE
)handle
); } 
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         { wxPyRaiseNotImplemented(); return NULL
; } 
1908     bool wxTestFontEncoding(const wxNativeEncodingInfo
& info
) 
1909         { wxPyRaiseNotImplemented(); return false; } 
1911 static PyObject 
*wxFontMapper_GetAltForEncoding(wxFontMapper 
*self
,wxFontEncoding encoding
,wxString 
const &facename
=wxPyEmptyString
,bool interactive
=true){ 
1912             wxFontEncoding alt_enc
; 
1913             if (self
->GetAltForEncoding(encoding
, &alt_enc
, facename
, interactive
)) 
1914                 return PyInt_FromLong(alt_enc
); 
1920 static wxFont 
*new_wxFont(wxString 
const &info
){ 
1921             wxNativeFontInfo nfi
; 
1922             nfi
.FromString(info
); 
1923             return new wxFont(nfi
); 
1925 static wxFont 
*new_wxFont(int pointSize
,wxFontFamily family
,int flags
=wxFONTFLAG_DEFAULT
,wxString 
const &face
=wxPyEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){ 
1926             return wxFont::New(pointSize
, family
, flags
, face
, encoding
); 
1928 static wxFont 
*new_wxFont(wxSize 
const &pixelSize
,int family
,int style
,int weight
,bool underlined
=false,wxString 
const &face
=wxEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){ 
1929             return wxFontBase::New(pixelSize
, family
, 
1930                                    style
, weight
, underlined
, 
1933 static bool wxFont___eq__(wxFont 
*self
,wxFont 
const *other
){ return other 
? (*self 
== *other
) : false; } 
1934 static bool wxFont___ne__(wxFont 
*self
,wxFont 
const *other
){ return other 
? (*self 
!= *other
) : true;  } 
1936 class wxPyFontEnumerator 
: public wxFontEnumerator 
{ 
1938     wxPyFontEnumerator() {} 
1939     ~wxPyFontEnumerator() {} 
1941     DEC_PYCALLBACK_BOOL_STRING(OnFacename
); 
1942     DEC_PYCALLBACK_BOOL_STRINGSTRING(OnFontEncoding
); 
1947 IMP_PYCALLBACK_BOOL_STRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFacename
); 
1948 IMP_PYCALLBACK_BOOL_STRINGSTRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFontEncoding
); 
1951 static PyObject 
*wxPyFontEnumerator_GetEncodings(wxPyFontEnumerator 
*self
){ 
1952             wxArrayString
* arr 
= self
->GetEncodings(); 
1954                 return wxArrayString2PyList_helper(*arr
); 
1956                 return PyList_New(0); 
1958 static PyObject 
*wxPyFontEnumerator_GetFacenames(wxPyFontEnumerator 
*self
){ 
1959             wxArrayString
* arr 
= self
->GetFacenames(); 
1961                 return wxArrayString2PyList_helper(*arr
); 
1963                 return PyList_New(0); 
1968 static wxLocale 
*new_wxLocale(int language
=-1,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){ 
1971                 loc 
= new wxLocale(); 
1973                 loc 
= new wxLocale(language
, flags
); 
1974             // Python before 2.4 needs to have LC_NUMERIC set to "C" in order 
1975             // for the floating point conversions and such to work right. 
1976 #if PY_VERSION_HEX < 0x02040000 
1977             setlocale(LC_NUMERIC
, "C"); 
1981 static bool wxLocale_Init1(wxLocale 
*self
,wxString 
const &szName
,wxString 
const &szShort
=wxPyEmptyString
,wxString 
const &szLocale
=wxPyEmptyString
,bool bLoadDefault
=true,bool bConvertEncoding
=false){ 
1982             bool rc 
= self
->Init(szName
, szShort
, szLocale
, bLoadDefault
, bConvertEncoding
); 
1983             // Python before 2.4 needs to have LC_NUMERIC set to "C" in order 
1984             // for the floating point conversions and such to work right. 
1985 #if PY_VERSION_HEX < 0x02040000 
1986             setlocale(LC_NUMERIC
, "C"); 
1990 static bool wxLocale_Init2(wxLocale 
*self
,int language
=wxLANGUAGE_DEFAULT
,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){ 
1991             bool rc 
= self
->Init(language
, flags
); 
1992             // Python before 2.4 needs to have LC_NUMERIC set to "C" in order 
1993             // for the floating point conversions and such to work right. 
1994 #if PY_VERSION_HEX < 0x02040000 
1995             setlocale(LC_NUMERIC
, "C"); 
2000 #include "wx/wxPython/pydrawxxx.h" 
2002 static wxColour 
wxDC_GetPixel(wxDC 
*self
,int x
,int y
){ 
2004             self
->GetPixel(x
, y
, &col
); 
2007 static wxColour 
wxDC_GetPixelPoint(wxDC 
*self
,wxPoint 
const &pt
){ 
2009             self
->GetPixel(pt
, &col
); 
2014 SWIG_AsVal_double(PyObject 
*obj
, double* val
) 
2016     if (PyNumber_Check(obj
)) { 
2017         if (val
) *val 
= PyFloat_AsDouble(obj
); 
2021         SWIG_type_error("number", obj
); 
2027 SWIGINTERNSHORT 
double 
2028 SWIG_As_double(PyObject
* obj
) 
2031   if (!SWIG_AsVal_double(obj
, &v
)) { 
2033       this is needed to make valgrind/purify happier.  
2035     memset((void*)&v
, 0, sizeof(double)); 
2042 SWIG_Check_double(PyObject
* obj
) 
2044   return SWIG_AsVal_double(obj
, (double*)0); 
2047 static wxRect 
wxDC_DrawImageLabel(wxDC 
*self
,wxString 
const &text
,wxBitmap 
const &image
,wxRect 
const &rect
,int alignment
=wxALIGN_LEFT
|wxALIGN_TOP
,int indexAccel
=-1){ 
2049             self
->DrawLabel(text
, image
, rect
, alignment
, indexAccel
, &rv
); 
2053 static wxRect 
wxDC_GetClippingRect(wxDC 
*self
){ 
2055             self
->GetClippingBox(rect
); 
2058 static wxArrayInt 
wxDC_GetPartialTextExtents(wxDC 
*self
,wxString 
const &text
){ 
2060             self
->GetPartialTextExtents(text
, widths
); 
2064   /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/ 
2065 #define SWIG_From_double PyFloat_FromDouble 
2069 static void wxDC_SetLogicalOriginPoint(wxDC 
*self
,wxPoint 
const &point
){ 
2070             self
->SetLogicalOrigin(point
.x
, point
.y
); 
2072 static void wxDC_SetDeviceOriginPoint(wxDC 
*self
,wxPoint 
const &point
){ 
2073             self
->SetDeviceOrigin(point
.x
, point
.y
); 
2075 static void wxDC_CalcBoundingBoxPoint(wxDC 
*self
,wxPoint 
const &point
){ 
2076             self
->CalcBoundingBox(point
.x
, point
.y
); 
2078 static PyObject 
*wxDC__DrawPointList(wxDC 
*self
,PyObject 
*pyCoords
,PyObject 
*pyPens
,PyObject 
*pyBrushes
){ 
2079             return wxPyDrawXXXList(*self
, wxPyDrawXXXPoint
, pyCoords
, pyPens
, pyBrushes
); 
2081 static PyObject 
*wxDC__DrawLineList(wxDC 
*self
,PyObject 
*pyCoords
,PyObject 
*pyPens
,PyObject 
*pyBrushes
){ 
2082             return wxPyDrawXXXList(*self
, wxPyDrawXXXLine
, pyCoords
, pyPens
, pyBrushes
); 
2084 static PyObject 
*wxDC__DrawRectangleList(wxDC 
*self
,PyObject 
*pyCoords
,PyObject 
*pyPens
,PyObject 
*pyBrushes
){ 
2085             return wxPyDrawXXXList(*self
, wxPyDrawXXXRectangle
, pyCoords
, pyPens
, pyBrushes
); 
2087 static PyObject 
*wxDC__DrawEllipseList(wxDC 
*self
,PyObject 
*pyCoords
,PyObject 
*pyPens
,PyObject 
*pyBrushes
){ 
2088             return wxPyDrawXXXList(*self
, wxPyDrawXXXEllipse
, pyCoords
, pyPens
, pyBrushes
); 
2090 static PyObject 
*wxDC__DrawPolygonList(wxDC 
*self
,PyObject 
*pyCoords
,PyObject 
*pyPens
,PyObject 
*pyBrushes
){ 
2091             return wxPyDrawXXXList(*self
, wxPyDrawXXXPolygon
, pyCoords
, pyPens
, pyBrushes
); 
2093 static PyObject 
*wxDC__DrawTextList(wxDC 
*self
,PyObject 
*textList
,PyObject 
*pyPoints
,PyObject 
*foregroundList
,PyObject 
*backgroundList
){ 
2094             return wxPyDrawTextList(*self
, textList
, pyPoints
, foregroundList
, backgroundList
); 
2097 static void wxDC_GetBoundingBox(wxDC
* dc
, int* x1
, int* y1
, int* x2
, int* y2
) { 
2105 #include <wx/dcbuffer.h> 
2108 #include <wx/dcps.h> 
2111 #include <wx/metafile.h> 
2115 static void wxColourDatabase_Append(wxColourDatabase 
*self
,wxString 
const &name
,int red
,int green
,int blue
){ 
2116             self
->AddColour(name
, wxColour(red
, green
, blue
)); 
2119 #include <wx/effects.h> 
2124 static PyObject 
*_wrap_new_GDIObject(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2125     PyObject 
*resultobj
; 
2126     wxGDIObject 
*result
; 
2131     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GDIObject",kwnames
)) goto fail
; 
2133         if (!wxPyCheckForApp()) SWIG_fail
; 
2134         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2135         result 
= (wxGDIObject 
*)new wxGDIObject(); 
2137         wxPyEndAllowThreads(__tstate
); 
2138         if (PyErr_Occurred()) SWIG_fail
; 
2140     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGDIObject
, 1); 
2147 static PyObject 
*_wrap_delete_GDIObject(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2148     PyObject 
*resultobj
; 
2149     wxGDIObject 
*arg1 
= (wxGDIObject 
*) 0 ; 
2150     PyObject 
* obj0 
= 0 ; 
2152         (char *) "self", NULL 
 
2155     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_GDIObject",kwnames
,&obj0
)) goto fail
; 
2156     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_EXCEPTION 
| 0); 
2157     if (SWIG_arg_fail(1)) SWIG_fail
; 
2159         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2162         wxPyEndAllowThreads(__tstate
); 
2163         if (PyErr_Occurred()) SWIG_fail
; 
2165     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
2172 static PyObject 
*_wrap_GDIObject_GetVisible(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2173     PyObject 
*resultobj
; 
2174     wxGDIObject 
*arg1 
= (wxGDIObject 
*) 0 ; 
2176     PyObject 
* obj0 
= 0 ; 
2178         (char *) "self", NULL 
 
2181     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GDIObject_GetVisible",kwnames
,&obj0
)) goto fail
; 
2182     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_EXCEPTION 
| 0); 
2183     if (SWIG_arg_fail(1)) SWIG_fail
; 
2185         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2186         result 
= (bool)(arg1
)->GetVisible(); 
2188         wxPyEndAllowThreads(__tstate
); 
2189         if (PyErr_Occurred()) SWIG_fail
; 
2192         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
2200 static PyObject 
*_wrap_GDIObject_SetVisible(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2201     PyObject 
*resultobj
; 
2202     wxGDIObject 
*arg1 
= (wxGDIObject 
*) 0 ; 
2204     PyObject 
* obj0 
= 0 ; 
2205     PyObject 
* obj1 
= 0 ; 
2207         (char *) "self",(char *) "visible", NULL 
 
2210     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GDIObject_SetVisible",kwnames
,&obj0
,&obj1
)) goto fail
; 
2211     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_EXCEPTION 
| 0); 
2212     if (SWIG_arg_fail(1)) SWIG_fail
; 
2214         arg2 
= (bool)(SWIG_As_bool(obj1
));  
2215         if (SWIG_arg_fail(2)) SWIG_fail
; 
2218         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2219         (arg1
)->SetVisible(arg2
); 
2221         wxPyEndAllowThreads(__tstate
); 
2222         if (PyErr_Occurred()) SWIG_fail
; 
2224     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
2231 static PyObject 
*_wrap_GDIObject_IsNull(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2232     PyObject 
*resultobj
; 
2233     wxGDIObject 
*arg1 
= (wxGDIObject 
*) 0 ; 
2235     PyObject 
* obj0 
= 0 ; 
2237         (char *) "self", NULL 
 
2240     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GDIObject_IsNull",kwnames
,&obj0
)) goto fail
; 
2241     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_EXCEPTION 
| 0); 
2242     if (SWIG_arg_fail(1)) SWIG_fail
; 
2244         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2245         result 
= (bool)(arg1
)->IsNull(); 
2247         wxPyEndAllowThreads(__tstate
); 
2248         if (PyErr_Occurred()) SWIG_fail
; 
2251         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
2259 static PyObject 
* GDIObject_swigregister(PyObject 
*, PyObject 
*args
) { 
2261     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
2262     SWIG_TypeClientData(SWIGTYPE_p_wxGDIObject
, obj
); 
2264     return Py_BuildValue((char *)""); 
2266 static PyObject 
*_wrap_new_Colour(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2267     PyObject 
*resultobj
; 
2268     byte arg1 
= (byte
) 0 ; 
2269     byte arg2 
= (byte
) 0 ; 
2270     byte arg3 
= (byte
) 0 ; 
2272     PyObject 
* obj0 
= 0 ; 
2273     PyObject 
* obj1 
= 0 ; 
2274     PyObject 
* obj2 
= 0 ; 
2276         (char *) "red",(char *) "green",(char *) "blue", NULL 
 
2279     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_Colour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
2282             arg1 
= (byte
)(SWIG_As_unsigned_SS_char(obj0
));  
2283             if (SWIG_arg_fail(1)) SWIG_fail
; 
2288             arg2 
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));  
2289             if (SWIG_arg_fail(2)) SWIG_fail
; 
2294             arg3 
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));  
2295             if (SWIG_arg_fail(3)) SWIG_fail
; 
2299         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2300         result 
= (wxColour 
*)new wxColour(arg1
,arg2
,arg3
); 
2302         wxPyEndAllowThreads(__tstate
); 
2303         if (PyErr_Occurred()) SWIG_fail
; 
2305     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 1); 
2312 static PyObject 
*_wrap_new_NamedColour(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2313     PyObject 
*resultobj
; 
2314     wxString 
*arg1 
= 0 ; 
2316     bool temp1 
= false ; 
2317     PyObject 
* obj0 
= 0 ; 
2319         (char *) "colorName", NULL 
 
2322     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NamedColour",kwnames
,&obj0
)) goto fail
; 
2324         arg1 
= wxString_in_helper(obj0
); 
2325         if (arg1 
== NULL
) SWIG_fail
; 
2329         if (!wxPyCheckForApp()) SWIG_fail
; 
2330         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2331         result 
= (wxColour 
*)new wxColour((wxString 
const &)*arg1
); 
2333         wxPyEndAllowThreads(__tstate
); 
2334         if (PyErr_Occurred()) SWIG_fail
; 
2336     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 1); 
2351 static PyObject 
*_wrap_new_ColourRGB(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2352     PyObject 
*resultobj
; 
2353     unsigned long arg1 
; 
2355     PyObject 
* obj0 
= 0 ; 
2357         (char *) "colRGB", NULL 
 
2360     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ColourRGB",kwnames
,&obj0
)) goto fail
; 
2362         arg1 
= (unsigned long)(SWIG_As_unsigned_SS_long(obj0
));  
2363         if (SWIG_arg_fail(1)) SWIG_fail
; 
2366         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2367         result 
= (wxColour 
*)new wxColour(arg1
); 
2369         wxPyEndAllowThreads(__tstate
); 
2370         if (PyErr_Occurred()) SWIG_fail
; 
2372     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 1); 
2379 static PyObject 
*_wrap_delete_Colour(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2380     PyObject 
*resultobj
; 
2381     wxColour 
*arg1 
= (wxColour 
*) 0 ; 
2382     PyObject 
* obj0 
= 0 ; 
2384         (char *) "self", NULL 
 
2387     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Colour",kwnames
,&obj0
)) goto fail
; 
2388     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION 
| 0); 
2389     if (SWIG_arg_fail(1)) SWIG_fail
; 
2391         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2394         wxPyEndAllowThreads(__tstate
); 
2395         if (PyErr_Occurred()) SWIG_fail
; 
2397     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
2404 static PyObject 
*_wrap_Colour_Red(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2405     PyObject 
*resultobj
; 
2406     wxColour 
*arg1 
= (wxColour 
*) 0 ; 
2408     PyObject 
* obj0 
= 0 ; 
2410         (char *) "self", NULL 
 
2413     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Red",kwnames
,&obj0
)) goto fail
; 
2414     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION 
| 0); 
2415     if (SWIG_arg_fail(1)) SWIG_fail
; 
2417         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2418         result 
= (byte
)(arg1
)->Red(); 
2420         wxPyEndAllowThreads(__tstate
); 
2421         if (PyErr_Occurred()) SWIG_fail
; 
2424         resultobj 
= SWIG_From_unsigned_SS_char((unsigned char)(result
));  
2432 static PyObject 
*_wrap_Colour_Green(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2433     PyObject 
*resultobj
; 
2434     wxColour 
*arg1 
= (wxColour 
*) 0 ; 
2436     PyObject 
* obj0 
= 0 ; 
2438         (char *) "self", NULL 
 
2441     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Green",kwnames
,&obj0
)) goto fail
; 
2442     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION 
| 0); 
2443     if (SWIG_arg_fail(1)) SWIG_fail
; 
2445         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2446         result 
= (byte
)(arg1
)->Green(); 
2448         wxPyEndAllowThreads(__tstate
); 
2449         if (PyErr_Occurred()) SWIG_fail
; 
2452         resultobj 
= SWIG_From_unsigned_SS_char((unsigned char)(result
));  
2460 static PyObject 
*_wrap_Colour_Blue(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2461     PyObject 
*resultobj
; 
2462     wxColour 
*arg1 
= (wxColour 
*) 0 ; 
2464     PyObject 
* obj0 
= 0 ; 
2466         (char *) "self", NULL 
 
2469     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Blue",kwnames
,&obj0
)) goto fail
; 
2470     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION 
| 0); 
2471     if (SWIG_arg_fail(1)) SWIG_fail
; 
2473         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2474         result 
= (byte
)(arg1
)->Blue(); 
2476         wxPyEndAllowThreads(__tstate
); 
2477         if (PyErr_Occurred()) SWIG_fail
; 
2480         resultobj 
= SWIG_From_unsigned_SS_char((unsigned char)(result
));  
2488 static PyObject 
*_wrap_Colour_Ok(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2489     PyObject 
*resultobj
; 
2490     wxColour 
*arg1 
= (wxColour 
*) 0 ; 
2492     PyObject 
* obj0 
= 0 ; 
2494         (char *) "self", NULL 
 
2497     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Ok",kwnames
,&obj0
)) goto fail
; 
2498     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION 
| 0); 
2499     if (SWIG_arg_fail(1)) SWIG_fail
; 
2501         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2502         result 
= (bool)(arg1
)->Ok(); 
2504         wxPyEndAllowThreads(__tstate
); 
2505         if (PyErr_Occurred()) SWIG_fail
; 
2508         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
2516 static PyObject 
*_wrap_Colour_Set(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2517     PyObject 
*resultobj
; 
2518     wxColour 
*arg1 
= (wxColour 
*) 0 ; 
2522     PyObject 
* obj0 
= 0 ; 
2523     PyObject 
* obj1 
= 0 ; 
2524     PyObject 
* obj2 
= 0 ; 
2525     PyObject 
* obj3 
= 0 ; 
2527         (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL 
 
2530     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Colour_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
2531     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION 
| 0); 
2532     if (SWIG_arg_fail(1)) SWIG_fail
; 
2534         arg2 
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));  
2535         if (SWIG_arg_fail(2)) SWIG_fail
; 
2538         arg3 
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));  
2539         if (SWIG_arg_fail(3)) SWIG_fail
; 
2542         arg4 
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));  
2543         if (SWIG_arg_fail(4)) SWIG_fail
; 
2546         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2547         (arg1
)->Set(arg2
,arg3
,arg4
); 
2549         wxPyEndAllowThreads(__tstate
); 
2550         if (PyErr_Occurred()) SWIG_fail
; 
2552     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
2559 static PyObject 
*_wrap_Colour_SetRGB(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2560     PyObject 
*resultobj
; 
2561     wxColour 
*arg1 
= (wxColour 
*) 0 ; 
2562     unsigned long arg2 
; 
2563     PyObject 
* obj0 
= 0 ; 
2564     PyObject 
* obj1 
= 0 ; 
2566         (char *) "self",(char *) "colRGB", NULL 
 
2569     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetRGB",kwnames
,&obj0
,&obj1
)) goto fail
; 
2570     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION 
| 0); 
2571     if (SWIG_arg_fail(1)) SWIG_fail
; 
2573         arg2 
= (unsigned long)(SWIG_As_unsigned_SS_long(obj1
));  
2574         if (SWIG_arg_fail(2)) SWIG_fail
; 
2577         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2580         wxPyEndAllowThreads(__tstate
); 
2581         if (PyErr_Occurred()) SWIG_fail
; 
2583     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
2590 static PyObject 
*_wrap_Colour_SetFromName(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2591     PyObject 
*resultobj
; 
2592     wxColour 
*arg1 
= (wxColour 
*) 0 ; 
2593     wxString 
*arg2 
= 0 ; 
2594     bool temp2 
= false ; 
2595     PyObject 
* obj0 
= 0 ; 
2596     PyObject 
* obj1 
= 0 ; 
2598         (char *) "self",(char *) "colourName", NULL 
 
2601     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetFromName",kwnames
,&obj0
,&obj1
)) goto fail
; 
2602     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION 
| 0); 
2603     if (SWIG_arg_fail(1)) SWIG_fail
; 
2605         arg2 
= wxString_in_helper(obj1
); 
2606         if (arg2 
== NULL
) SWIG_fail
; 
2610         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2611         (arg1
)->InitFromName((wxString 
const &)*arg2
); 
2613         wxPyEndAllowThreads(__tstate
); 
2614         if (PyErr_Occurred()) SWIG_fail
; 
2616     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
2631 static PyObject 
*_wrap_Colour_GetPixel(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2632     PyObject 
*resultobj
; 
2633     wxColour 
*arg1 
= (wxColour 
*) 0 ; 
2635     PyObject 
* obj0 
= 0 ; 
2637         (char *) "self", NULL 
 
2640     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_GetPixel",kwnames
,&obj0
)) goto fail
; 
2641     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION 
| 0); 
2642     if (SWIG_arg_fail(1)) SWIG_fail
; 
2644         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2645         result 
= (long)((wxColour 
const *)arg1
)->GetPixel(); 
2647         wxPyEndAllowThreads(__tstate
); 
2648         if (PyErr_Occurred()) SWIG_fail
; 
2651         resultobj 
= SWIG_From_long((long)(result
));  
2659 static PyObject 
*_wrap_Colour___eq__(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2660     PyObject 
*resultobj
; 
2661     wxColour 
*arg1 
= (wxColour 
*) 0 ; 
2662     wxColour 
*arg2 
= 0 ; 
2665     PyObject 
* obj0 
= 0 ; 
2666     PyObject 
* obj1 
= 0 ; 
2668         (char *) "self",(char *) "colour", NULL 
 
2671     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___eq__",kwnames
,&obj0
,&obj1
)) goto fail
; 
2672     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION 
| 0); 
2673     if (SWIG_arg_fail(1)) SWIG_fail
; 
2676         if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
2679         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2680         result 
= (bool)((wxColour 
const *)arg1
)->operator ==((wxColour 
const &)*arg2
); 
2682         wxPyEndAllowThreads(__tstate
); 
2683         if (PyErr_Occurred()) SWIG_fail
; 
2686         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
2694 static PyObject 
*_wrap_Colour___ne__(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2695     PyObject 
*resultobj
; 
2696     wxColour 
*arg1 
= (wxColour 
*) 0 ; 
2697     wxColour 
*arg2 
= 0 ; 
2700     PyObject 
* obj0 
= 0 ; 
2701     PyObject 
* obj1 
= 0 ; 
2703         (char *) "self",(char *) "colour", NULL 
 
2706     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___ne__",kwnames
,&obj0
,&obj1
)) goto fail
; 
2707     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION 
| 0); 
2708     if (SWIG_arg_fail(1)) SWIG_fail
; 
2711         if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
2714         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2715         result 
= (bool)((wxColour 
const *)arg1
)->operator !=((wxColour 
const &)*arg2
); 
2717         wxPyEndAllowThreads(__tstate
); 
2718         if (PyErr_Occurred()) SWIG_fail
; 
2721         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
2729 static PyObject 
*_wrap_Colour_Get(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2730     PyObject 
*resultobj
; 
2731     wxColour 
*arg1 
= (wxColour 
*) 0 ; 
2733     PyObject 
* obj0 
= 0 ; 
2735         (char *) "self", NULL 
 
2738     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Get",kwnames
,&obj0
)) goto fail
; 
2739     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION 
| 0); 
2740     if (SWIG_arg_fail(1)) SWIG_fail
; 
2742         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2743         result 
= (PyObject 
*)wxColour_Get(arg1
); 
2745         wxPyEndAllowThreads(__tstate
); 
2746         if (PyErr_Occurred()) SWIG_fail
; 
2755 static PyObject 
*_wrap_Colour_GetRGB(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2756     PyObject 
*resultobj
; 
2757     wxColour 
*arg1 
= (wxColour 
*) 0 ; 
2758     unsigned long result
; 
2759     PyObject 
* obj0 
= 0 ; 
2761         (char *) "self", NULL 
 
2764     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_GetRGB",kwnames
,&obj0
)) goto fail
; 
2765     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION 
| 0); 
2766     if (SWIG_arg_fail(1)) SWIG_fail
; 
2768         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2769         result 
= (unsigned long)wxColour_GetRGB(arg1
); 
2771         wxPyEndAllowThreads(__tstate
); 
2772         if (PyErr_Occurred()) SWIG_fail
; 
2775         resultobj 
= SWIG_From_unsigned_SS_long((unsigned long)(result
));  
2783 static PyObject 
* Colour_swigregister(PyObject 
*, PyObject 
*args
) { 
2785     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
2786     SWIG_TypeClientData(SWIGTYPE_p_wxColour
, obj
); 
2788     return Py_BuildValue((char *)""); 
2790 static PyObject 
*_wrap_new_Palette(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2791     PyObject 
*resultobj
; 
2793     unsigned char *arg2 
= (unsigned char *) 0 ; 
2794     unsigned char *arg3 
= (unsigned char *) 0 ; 
2795     unsigned char *arg4 
= (unsigned char *) 0 ; 
2797     PyObject 
* obj0 
= 0 ; 
2798     PyObject 
* obj1 
= 0 ; 
2799     PyObject 
* obj2 
= 0 ; 
2800     PyObject 
* obj3 
= 0 ; 
2802         (char *) "n",(char *) "red",(char *) "green",(char *) "blue", NULL 
 
2805     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_Palette",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
2807         arg1 
= (int)(SWIG_As_int(obj0
));  
2808         if (SWIG_arg_fail(1)) SWIG_fail
; 
2810     SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_unsigned_char
, SWIG_POINTER_EXCEPTION 
| 0); 
2811     if (SWIG_arg_fail(2)) SWIG_fail
; 
2812     SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_unsigned_char
, SWIG_POINTER_EXCEPTION 
| 0); 
2813     if (SWIG_arg_fail(3)) SWIG_fail
; 
2814     SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_unsigned_char
, SWIG_POINTER_EXCEPTION 
| 0); 
2815     if (SWIG_arg_fail(4)) SWIG_fail
; 
2817         if (!wxPyCheckForApp()) SWIG_fail
; 
2818         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2819         result 
= (wxPalette 
*)new wxPalette(arg1
,(unsigned char const *)arg2
,(unsigned char const *)arg3
,(unsigned char const *)arg4
); 
2821         wxPyEndAllowThreads(__tstate
); 
2822         if (PyErr_Occurred()) SWIG_fail
; 
2824     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPalette
, 1); 
2831 static PyObject 
*_wrap_delete_Palette(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2832     PyObject 
*resultobj
; 
2833     wxPalette 
*arg1 
= (wxPalette 
*) 0 ; 
2834     PyObject 
* obj0 
= 0 ; 
2836         (char *) "self", NULL 
 
2839     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Palette",kwnames
,&obj0
)) goto fail
; 
2840     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPalette
, SWIG_POINTER_EXCEPTION 
| 0); 
2841     if (SWIG_arg_fail(1)) SWIG_fail
; 
2843         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2846         wxPyEndAllowThreads(__tstate
); 
2847         if (PyErr_Occurred()) SWIG_fail
; 
2849     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
2856 static PyObject 
*_wrap_Palette_GetPixel(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2857     PyObject 
*resultobj
; 
2858     wxPalette 
*arg1 
= (wxPalette 
*) 0 ; 
2863     PyObject 
* obj0 
= 0 ; 
2864     PyObject 
* obj1 
= 0 ; 
2865     PyObject 
* obj2 
= 0 ; 
2866     PyObject 
* obj3 
= 0 ; 
2868         (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL 
 
2871     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Palette_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
2872     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPalette
, SWIG_POINTER_EXCEPTION 
| 0); 
2873     if (SWIG_arg_fail(1)) SWIG_fail
; 
2875         arg2 
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));  
2876         if (SWIG_arg_fail(2)) SWIG_fail
; 
2879         arg3 
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));  
2880         if (SWIG_arg_fail(3)) SWIG_fail
; 
2883         arg4 
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));  
2884         if (SWIG_arg_fail(4)) SWIG_fail
; 
2887         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2888         result 
= (int)(arg1
)->GetPixel(arg2
,arg3
,arg4
); 
2890         wxPyEndAllowThreads(__tstate
); 
2891         if (PyErr_Occurred()) SWIG_fail
; 
2894         resultobj 
= SWIG_From_int((int)(result
));  
2902 static PyObject 
*_wrap_Palette_GetRGB(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2903     PyObject 
*resultobj
; 
2904     wxPalette 
*arg1 
= (wxPalette 
*) 0 ; 
2906     byte 
*arg3 
= (byte 
*) 0 ; 
2907     byte 
*arg4 
= (byte 
*) 0 ; 
2908     byte 
*arg5 
= (byte 
*) 0 ; 
2916     PyObject 
* obj0 
= 0 ; 
2917     PyObject 
* obj1 
= 0 ; 
2919         (char *) "self",(char *) "pixel", NULL 
 
2922     arg3 
= &temp3
; res3 
= SWIG_NEWOBJ
; 
2923     arg4 
= &temp4
; res4 
= SWIG_NEWOBJ
; 
2924     arg5 
= &temp5
; res5 
= SWIG_NEWOBJ
; 
2925     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Palette_GetRGB",kwnames
,&obj0
,&obj1
)) goto fail
; 
2926     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPalette
, SWIG_POINTER_EXCEPTION 
| 0); 
2927     if (SWIG_arg_fail(1)) SWIG_fail
; 
2929         arg2 
= (int)(SWIG_As_int(obj1
));  
2930         if (SWIG_arg_fail(2)) SWIG_fail
; 
2933         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2934         result 
= (bool)(arg1
)->GetRGB(arg2
,arg3
,arg4
,arg5
); 
2936         wxPyEndAllowThreads(__tstate
); 
2937         if (PyErr_Occurred()) SWIG_fail
; 
2940         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
2942     resultobj 
= t_output_helper(resultobj
, ((res3 
== SWIG_NEWOBJ
) ? 
2943     SWIG_From_unsigned_SS_char((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, 0))); 
2944     resultobj 
= t_output_helper(resultobj
, ((res4 
== SWIG_NEWOBJ
) ? 
2945     SWIG_From_unsigned_SS_char((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, 0))); 
2946     resultobj 
= t_output_helper(resultobj
, ((res5 
== SWIG_NEWOBJ
) ? 
2947     SWIG_From_unsigned_SS_char((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_unsigned_char
, 0))); 
2954 static PyObject 
*_wrap_Palette_GetColoursCount(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2955     PyObject 
*resultobj
; 
2956     wxPalette 
*arg1 
= (wxPalette 
*) 0 ; 
2958     PyObject 
* obj0 
= 0 ; 
2960         (char *) "self", NULL 
 
2963     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Palette_GetColoursCount",kwnames
,&obj0
)) goto fail
; 
2964     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPalette
, SWIG_POINTER_EXCEPTION 
| 0); 
2965     if (SWIG_arg_fail(1)) SWIG_fail
; 
2967         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2968         result 
= (int)((wxPalette 
const *)arg1
)->GetColoursCount(); 
2970         wxPyEndAllowThreads(__tstate
); 
2971         if (PyErr_Occurred()) SWIG_fail
; 
2974         resultobj 
= SWIG_From_int((int)(result
));  
2982 static PyObject 
*_wrap_Palette_Ok(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2983     PyObject 
*resultobj
; 
2984     wxPalette 
*arg1 
= (wxPalette 
*) 0 ; 
2986     PyObject 
* obj0 
= 0 ; 
2988         (char *) "self", NULL 
 
2991     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Palette_Ok",kwnames
,&obj0
)) goto fail
; 
2992     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPalette
, SWIG_POINTER_EXCEPTION 
| 0); 
2993     if (SWIG_arg_fail(1)) SWIG_fail
; 
2995         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2996         result 
= (bool)(arg1
)->Ok(); 
2998         wxPyEndAllowThreads(__tstate
); 
2999         if (PyErr_Occurred()) SWIG_fail
; 
3002         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
3010 static PyObject 
* Palette_swigregister(PyObject 
*, PyObject 
*args
) { 
3012     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
3013     SWIG_TypeClientData(SWIGTYPE_p_wxPalette
, obj
); 
3015     return Py_BuildValue((char *)""); 
3017 static PyObject 
*_wrap_new_Pen(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3018     PyObject 
*resultobj
; 
3019     wxColour 
*arg1 
= 0 ; 
3020     int arg2 
= (int) 1 ; 
3021     int arg3 
= (int) wxSOLID 
; 
3024     PyObject 
* obj0 
= 0 ; 
3025     PyObject 
* obj1 
= 0 ; 
3026     PyObject 
* obj2 
= 0 ; 
3028         (char *) "colour",(char *) "width",(char *) "style", NULL 
 
3031     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Pen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
3034         if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
; 
3038             arg2 
= (int)(SWIG_As_int(obj1
));  
3039             if (SWIG_arg_fail(2)) SWIG_fail
; 
3044             arg3 
= (int)(SWIG_As_int(obj2
));  
3045             if (SWIG_arg_fail(3)) SWIG_fail
; 
3049         if (!wxPyCheckForApp()) SWIG_fail
; 
3050         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3051         result 
= (wxPen 
*)new wxPen(*arg1
,arg2
,arg3
); 
3053         wxPyEndAllowThreads(__tstate
); 
3054         if (PyErr_Occurred()) SWIG_fail
; 
3056     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPen
, 1); 
3063 static PyObject 
*_wrap_delete_Pen(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3064     PyObject 
*resultobj
; 
3065     wxPen 
*arg1 
= (wxPen 
*) 0 ; 
3066     PyObject 
* obj0 
= 0 ; 
3068         (char *) "self", NULL 
 
3071     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Pen",kwnames
,&obj0
)) goto fail
; 
3072     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION 
| 0); 
3073     if (SWIG_arg_fail(1)) SWIG_fail
; 
3075         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3078         wxPyEndAllowThreads(__tstate
); 
3079         if (PyErr_Occurred()) SWIG_fail
; 
3081     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
3088 static PyObject 
*_wrap_Pen_GetCap(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3089     PyObject 
*resultobj
; 
3090     wxPen 
*arg1 
= (wxPen 
*) 0 ; 
3092     PyObject 
* obj0 
= 0 ; 
3094         (char *) "self", NULL 
 
3097     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetCap",kwnames
,&obj0
)) goto fail
; 
3098     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION 
| 0); 
3099     if (SWIG_arg_fail(1)) SWIG_fail
; 
3101         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3102         result 
= (int)(arg1
)->GetCap(); 
3104         wxPyEndAllowThreads(__tstate
); 
3105         if (PyErr_Occurred()) SWIG_fail
; 
3108         resultobj 
= SWIG_From_int((int)(result
));  
3116 static PyObject 
*_wrap_Pen_GetColour(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3117     PyObject 
*resultobj
; 
3118     wxPen 
*arg1 
= (wxPen 
*) 0 ; 
3120     PyObject 
* obj0 
= 0 ; 
3122         (char *) "self", NULL 
 
3125     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetColour",kwnames
,&obj0
)) goto fail
; 
3126     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION 
| 0); 
3127     if (SWIG_arg_fail(1)) SWIG_fail
; 
3129         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3130         result 
= (arg1
)->GetColour(); 
3132         wxPyEndAllowThreads(__tstate
); 
3133         if (PyErr_Occurred()) SWIG_fail
; 
3136         wxColour 
* resultptr
; 
3137         resultptr 
= new wxColour((wxColour 
&)(result
)); 
3138         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1); 
3146 static PyObject 
*_wrap_Pen_GetJoin(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3147     PyObject 
*resultobj
; 
3148     wxPen 
*arg1 
= (wxPen 
*) 0 ; 
3150     PyObject 
* obj0 
= 0 ; 
3152         (char *) "self", NULL 
 
3155     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetJoin",kwnames
,&obj0
)) goto fail
; 
3156     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION 
| 0); 
3157     if (SWIG_arg_fail(1)) SWIG_fail
; 
3159         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3160         result 
= (int)(arg1
)->GetJoin(); 
3162         wxPyEndAllowThreads(__tstate
); 
3163         if (PyErr_Occurred()) SWIG_fail
; 
3166         resultobj 
= SWIG_From_int((int)(result
));  
3174 static PyObject 
*_wrap_Pen_GetStyle(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3175     PyObject 
*resultobj
; 
3176     wxPen 
*arg1 
= (wxPen 
*) 0 ; 
3178     PyObject 
* obj0 
= 0 ; 
3180         (char *) "self", NULL 
 
3183     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetStyle",kwnames
,&obj0
)) goto fail
; 
3184     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION 
| 0); 
3185     if (SWIG_arg_fail(1)) SWIG_fail
; 
3187         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3188         result 
= (int)(arg1
)->GetStyle(); 
3190         wxPyEndAllowThreads(__tstate
); 
3191         if (PyErr_Occurred()) SWIG_fail
; 
3194         resultobj 
= SWIG_From_int((int)(result
));  
3202 static PyObject 
*_wrap_Pen_GetWidth(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3203     PyObject 
*resultobj
; 
3204     wxPen 
*arg1 
= (wxPen 
*) 0 ; 
3206     PyObject 
* obj0 
= 0 ; 
3208         (char *) "self", NULL 
 
3211     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetWidth",kwnames
,&obj0
)) goto fail
; 
3212     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION 
| 0); 
3213     if (SWIG_arg_fail(1)) SWIG_fail
; 
3215         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3216         result 
= (int)(arg1
)->GetWidth(); 
3218         wxPyEndAllowThreads(__tstate
); 
3219         if (PyErr_Occurred()) SWIG_fail
; 
3222         resultobj 
= SWIG_From_int((int)(result
));  
3230 static PyObject 
*_wrap_Pen_Ok(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3231     PyObject 
*resultobj
; 
3232     wxPen 
*arg1 
= (wxPen 
*) 0 ; 
3234     PyObject 
* obj0 
= 0 ; 
3236         (char *) "self", NULL 
 
3239     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_Ok",kwnames
,&obj0
)) goto fail
; 
3240     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION 
| 0); 
3241     if (SWIG_arg_fail(1)) SWIG_fail
; 
3243         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3244         result 
= (bool)(arg1
)->Ok(); 
3246         wxPyEndAllowThreads(__tstate
); 
3247         if (PyErr_Occurred()) SWIG_fail
; 
3250         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
3258 static PyObject 
*_wrap_Pen_SetCap(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3259     PyObject 
*resultobj
; 
3260     wxPen 
*arg1 
= (wxPen 
*) 0 ; 
3262     PyObject 
* obj0 
= 0 ; 
3263     PyObject 
* obj1 
= 0 ; 
3265         (char *) "self",(char *) "cap_style", NULL 
 
3268     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetCap",kwnames
,&obj0
,&obj1
)) goto fail
; 
3269     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION 
| 0); 
3270     if (SWIG_arg_fail(1)) SWIG_fail
; 
3272         arg2 
= (int)(SWIG_As_int(obj1
));  
3273         if (SWIG_arg_fail(2)) SWIG_fail
; 
3276         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3277         (arg1
)->SetCap(arg2
); 
3279         wxPyEndAllowThreads(__tstate
); 
3280         if (PyErr_Occurred()) SWIG_fail
; 
3282     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
3289 static PyObject 
*_wrap_Pen_SetColour(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3290     PyObject 
*resultobj
; 
3291     wxPen 
*arg1 
= (wxPen 
*) 0 ; 
3292     wxColour 
*arg2 
= 0 ; 
3294     PyObject 
* obj0 
= 0 ; 
3295     PyObject 
* obj1 
= 0 ; 
3297         (char *) "self",(char *) "colour", NULL 
 
3300     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
; 
3301     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION 
| 0); 
3302     if (SWIG_arg_fail(1)) SWIG_fail
; 
3305         if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
3308         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3309         (arg1
)->SetColour(*arg2
); 
3311         wxPyEndAllowThreads(__tstate
); 
3312         if (PyErr_Occurred()) SWIG_fail
; 
3314     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
3321 static PyObject 
*_wrap_Pen_SetJoin(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3322     PyObject 
*resultobj
; 
3323     wxPen 
*arg1 
= (wxPen 
*) 0 ; 
3325     PyObject 
* obj0 
= 0 ; 
3326     PyObject 
* obj1 
= 0 ; 
3328         (char *) "self",(char *) "join_style", NULL 
 
3331     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetJoin",kwnames
,&obj0
,&obj1
)) goto fail
; 
3332     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION 
| 0); 
3333     if (SWIG_arg_fail(1)) SWIG_fail
; 
3335         arg2 
= (int)(SWIG_As_int(obj1
));  
3336         if (SWIG_arg_fail(2)) SWIG_fail
; 
3339         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3340         (arg1
)->SetJoin(arg2
); 
3342         wxPyEndAllowThreads(__tstate
); 
3343         if (PyErr_Occurred()) SWIG_fail
; 
3345     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
3352 static PyObject 
*_wrap_Pen_SetStyle(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3353     PyObject 
*resultobj
; 
3354     wxPen 
*arg1 
= (wxPen 
*) 0 ; 
3356     PyObject 
* obj0 
= 0 ; 
3357     PyObject 
* obj1 
= 0 ; 
3359         (char *) "self",(char *) "style", NULL 
 
3362     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
; 
3363     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION 
| 0); 
3364     if (SWIG_arg_fail(1)) SWIG_fail
; 
3366         arg2 
= (int)(SWIG_As_int(obj1
));  
3367         if (SWIG_arg_fail(2)) SWIG_fail
; 
3370         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3371         (arg1
)->SetStyle(arg2
); 
3373         wxPyEndAllowThreads(__tstate
); 
3374         if (PyErr_Occurred()) SWIG_fail
; 
3376     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
3383 static PyObject 
*_wrap_Pen_SetWidth(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3384     PyObject 
*resultobj
; 
3385     wxPen 
*arg1 
= (wxPen 
*) 0 ; 
3387     PyObject 
* obj0 
= 0 ; 
3388     PyObject 
* obj1 
= 0 ; 
3390         (char *) "self",(char *) "width", NULL 
 
3393     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
; 
3394     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION 
| 0); 
3395     if (SWIG_arg_fail(1)) SWIG_fail
; 
3397         arg2 
= (int)(SWIG_As_int(obj1
));  
3398         if (SWIG_arg_fail(2)) SWIG_fail
; 
3401         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3402         (arg1
)->SetWidth(arg2
); 
3404         wxPyEndAllowThreads(__tstate
); 
3405         if (PyErr_Occurred()) SWIG_fail
; 
3407     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
3414 static PyObject 
*_wrap_Pen_SetDashes(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3415     PyObject 
*resultobj
; 
3416     wxPen 
*arg1 
= (wxPen 
*) 0 ; 
3418     wxDash 
*arg3 
= (wxDash 
*) 0 ; 
3419     PyObject 
* obj0 
= 0 ; 
3420     PyObject 
* obj1 
= 0 ; 
3422         (char *) "self",(char *) "dashes", NULL 
 
3425     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetDashes",kwnames
,&obj0
,&obj1
)) goto fail
; 
3426     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION 
| 0); 
3427     if (SWIG_arg_fail(1)) SWIG_fail
; 
3429         arg2 
= PyList_Size(obj1
); 
3430         arg3 
= (wxDash
*)byte_LIST_helper(obj1
); 
3431         if (arg3 
== NULL
) SWIG_fail
; 
3434         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3435         (arg1
)->SetDashes(arg2
,arg3
); 
3437         wxPyEndAllowThreads(__tstate
); 
3438         if (PyErr_Occurred()) SWIG_fail
; 
3440     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
3442         if (arg3
) delete [] arg3
; 
3447         if (arg3
) delete [] arg3
; 
3453 static PyObject 
*_wrap_Pen_GetDashes(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3454     PyObject 
*resultobj
; 
3455     wxPen 
*arg1 
= (wxPen 
*) 0 ; 
3457     PyObject 
* obj0 
= 0 ; 
3459         (char *) "self", NULL 
 
3462     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetDashes",kwnames
,&obj0
)) goto fail
; 
3463     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION 
| 0); 
3464     if (SWIG_arg_fail(1)) SWIG_fail
; 
3466         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3467         result 
= (PyObject 
*)wxPen_GetDashes(arg1
); 
3469         wxPyEndAllowThreads(__tstate
); 
3470         if (PyErr_Occurred()) SWIG_fail
; 
3479 static PyObject 
*_wrap_Pen__SetDashes(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3480     PyObject 
*resultobj
; 
3481     wxPen 
*arg1 
= (wxPen 
*) 0 ; 
3482     PyObject 
*arg2 
= (PyObject 
*) 0 ; 
3483     PyObject 
*arg3 
= (PyObject 
*) 0 ; 
3484     PyObject 
* obj0 
= 0 ; 
3485     PyObject 
* obj1 
= 0 ; 
3486     PyObject 
* obj2 
= 0 ; 
3488         (char *) "self",(char *) "_self",(char *) "pyDashes", NULL 
 
3491     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Pen__SetDashes",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
3492     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION 
| 0); 
3493     if (SWIG_arg_fail(1)) SWIG_fail
; 
3497         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3498         wxPen__SetDashes(arg1
,arg2
,arg3
); 
3500         wxPyEndAllowThreads(__tstate
); 
3501         if (PyErr_Occurred()) SWIG_fail
; 
3503     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
3510 static PyObject 
*_wrap_Pen_GetDashCount(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3511     PyObject 
*resultobj
; 
3512     wxPen 
*arg1 
= (wxPen 
*) 0 ; 
3514     PyObject 
* obj0 
= 0 ; 
3516         (char *) "self", NULL 
 
3519     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetDashCount",kwnames
,&obj0
)) goto fail
; 
3520     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION 
| 0); 
3521     if (SWIG_arg_fail(1)) SWIG_fail
; 
3523         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3524         result 
= (int)((wxPen 
const *)arg1
)->GetDashCount(); 
3526         wxPyEndAllowThreads(__tstate
); 
3527         if (PyErr_Occurred()) SWIG_fail
; 
3530         resultobj 
= SWIG_From_int((int)(result
));  
3538 static PyObject 
*_wrap_Pen_GetStipple(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3539     PyObject 
*resultobj
; 
3540     wxPen 
*arg1 
= (wxPen 
*) 0 ; 
3542     PyObject 
* obj0 
= 0 ; 
3544         (char *) "self", NULL 
 
3547     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetStipple",kwnames
,&obj0
)) goto fail
; 
3548     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION 
| 0); 
3549     if (SWIG_arg_fail(1)) SWIG_fail
; 
3551         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3552         result 
= (wxBitmap 
*)(arg1
)->GetStipple(); 
3554         wxPyEndAllowThreads(__tstate
); 
3555         if (PyErr_Occurred()) SWIG_fail
; 
3557     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 0); 
3564 static PyObject 
*_wrap_Pen_SetStipple(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3565     PyObject 
*resultobj
; 
3566     wxPen 
*arg1 
= (wxPen 
*) 0 ; 
3567     wxBitmap 
*arg2 
= 0 ; 
3568     PyObject 
* obj0 
= 0 ; 
3569     PyObject 
* obj1 
= 0 ; 
3571         (char *) "self",(char *) "stipple", NULL 
 
3574     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStipple",kwnames
,&obj0
,&obj1
)) goto fail
; 
3575     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION 
| 0); 
3576     if (SWIG_arg_fail(1)) SWIG_fail
; 
3578         SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION 
| 0); 
3579         if (SWIG_arg_fail(2)) SWIG_fail
; 
3581             SWIG_null_ref("wxBitmap"); 
3583         if (SWIG_arg_fail(2)) SWIG_fail
; 
3586         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3587         (arg1
)->SetStipple(*arg2
); 
3589         wxPyEndAllowThreads(__tstate
); 
3590         if (PyErr_Occurred()) SWIG_fail
; 
3592     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
3599 static PyObject 
*_wrap_Pen___eq__(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3600     PyObject 
*resultobj
; 
3601     wxPen 
*arg1 
= (wxPen 
*) 0 ; 
3602     wxPen 
*arg2 
= (wxPen 
*) 0 ; 
3604     PyObject 
* obj0 
= 0 ; 
3605     PyObject 
* obj1 
= 0 ; 
3607         (char *) "self",(char *) "other", NULL 
 
3610     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___eq__",kwnames
,&obj0
,&obj1
)) goto fail
; 
3611     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION 
| 0); 
3612     if (SWIG_arg_fail(1)) SWIG_fail
; 
3613     SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION 
| 0); 
3614     if (SWIG_arg_fail(2)) SWIG_fail
; 
3616         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3617         result 
= (bool)wxPen___eq__(arg1
,(wxPen 
const *)arg2
); 
3619         wxPyEndAllowThreads(__tstate
); 
3620         if (PyErr_Occurred()) SWIG_fail
; 
3623         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
3631 static PyObject 
*_wrap_Pen___ne__(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3632     PyObject 
*resultobj
; 
3633     wxPen 
*arg1 
= (wxPen 
*) 0 ; 
3634     wxPen 
*arg2 
= (wxPen 
*) 0 ; 
3636     PyObject 
* obj0 
= 0 ; 
3637     PyObject 
* obj1 
= 0 ; 
3639         (char *) "self",(char *) "other", NULL 
 
3642     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___ne__",kwnames
,&obj0
,&obj1
)) goto fail
; 
3643     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION 
| 0); 
3644     if (SWIG_arg_fail(1)) SWIG_fail
; 
3645     SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION 
| 0); 
3646     if (SWIG_arg_fail(2)) SWIG_fail
; 
3648         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3649         result 
= (bool)wxPen___ne__(arg1
,(wxPen 
const *)arg2
); 
3651         wxPyEndAllowThreads(__tstate
); 
3652         if (PyErr_Occurred()) SWIG_fail
; 
3655         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
3663 static PyObject 
* Pen_swigregister(PyObject 
*, PyObject 
*args
) { 
3665     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
3666     SWIG_TypeClientData(SWIGTYPE_p_wxPen
, obj
); 
3668     return Py_BuildValue((char *)""); 
3670 static PyObject 
*_wrap_new_Brush(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3671     PyObject 
*resultobj
; 
3672     wxColour 
*arg1 
= 0 ; 
3673     int arg2 
= (int) wxSOLID 
; 
3676     PyObject 
* obj0 
= 0 ; 
3677     PyObject 
* obj1 
= 0 ; 
3679         (char *) "colour",(char *) "style", NULL 
 
3682     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Brush",kwnames
,&obj0
,&obj1
)) goto fail
; 
3685         if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
; 
3689             arg2 
= (int)(SWIG_As_int(obj1
));  
3690             if (SWIG_arg_fail(2)) SWIG_fail
; 
3694         if (!wxPyCheckForApp()) SWIG_fail
; 
3695         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3696         result 
= (wxBrush 
*)new wxBrush((wxColour 
const &)*arg1
,arg2
); 
3698         wxPyEndAllowThreads(__tstate
); 
3699         if (PyErr_Occurred()) SWIG_fail
; 
3701     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBrush
, 1); 
3708 static PyObject 
*_wrap_delete_Brush(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3709     PyObject 
*resultobj
; 
3710     wxBrush 
*arg1 
= (wxBrush 
*) 0 ; 
3711     PyObject 
* obj0 
= 0 ; 
3713         (char *) "self", NULL 
 
3716     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Brush",kwnames
,&obj0
)) goto fail
; 
3717     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBrush
, SWIG_POINTER_EXCEPTION 
| 0); 
3718     if (SWIG_arg_fail(1)) SWIG_fail
; 
3720         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3723         wxPyEndAllowThreads(__tstate
); 
3724         if (PyErr_Occurred()) SWIG_fail
; 
3726     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
3733 static PyObject 
*_wrap_Brush_SetColour(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3734     PyObject 
*resultobj
; 
3735     wxBrush 
*arg1 
= (wxBrush 
*) 0 ; 
3736     wxColour 
*arg2 
= 0 ; 
3738     PyObject 
* obj0 
= 0 ; 
3739     PyObject 
* obj1 
= 0 ; 
3741         (char *) "self",(char *) "col", NULL 
 
3744     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
; 
3745     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBrush
, SWIG_POINTER_EXCEPTION 
| 0); 
3746     if (SWIG_arg_fail(1)) SWIG_fail
; 
3749         if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
3752         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3753         (arg1
)->SetColour((wxColour 
const &)*arg2
); 
3755         wxPyEndAllowThreads(__tstate
); 
3756         if (PyErr_Occurred()) SWIG_fail
; 
3758     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
3765 static PyObject 
*_wrap_Brush_SetStyle(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3766     PyObject 
*resultobj
; 
3767     wxBrush 
*arg1 
= (wxBrush 
*) 0 ; 
3769     PyObject 
* obj0 
= 0 ; 
3770     PyObject 
* obj1 
= 0 ; 
3772         (char *) "self",(char *) "style", NULL 
 
3775     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
; 
3776     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBrush
, SWIG_POINTER_EXCEPTION 
| 0); 
3777     if (SWIG_arg_fail(1)) SWIG_fail
; 
3779         arg2 
= (int)(SWIG_As_int(obj1
));  
3780         if (SWIG_arg_fail(2)) SWIG_fail
; 
3783         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3784         (arg1
)->SetStyle(arg2
); 
3786         wxPyEndAllowThreads(__tstate
); 
3787         if (PyErr_Occurred()) SWIG_fail
; 
3789     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
3796 static PyObject 
*_wrap_Brush_SetStipple(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3797     PyObject 
*resultobj
; 
3798     wxBrush 
*arg1 
= (wxBrush 
*) 0 ; 
3799     wxBitmap 
*arg2 
= 0 ; 
3800     PyObject 
* obj0 
= 0 ; 
3801     PyObject 
* obj1 
= 0 ; 
3803         (char *) "self",(char *) "stipple", NULL 
 
3806     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStipple",kwnames
,&obj0
,&obj1
)) goto fail
; 
3807     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBrush
, SWIG_POINTER_EXCEPTION 
| 0); 
3808     if (SWIG_arg_fail(1)) SWIG_fail
; 
3810         SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION 
| 0); 
3811         if (SWIG_arg_fail(2)) SWIG_fail
; 
3813             SWIG_null_ref("wxBitmap"); 
3815         if (SWIG_arg_fail(2)) SWIG_fail
; 
3818         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3819         (arg1
)->SetStipple((wxBitmap 
const &)*arg2
); 
3821         wxPyEndAllowThreads(__tstate
); 
3822         if (PyErr_Occurred()) SWIG_fail
; 
3824     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
3831 static PyObject 
*_wrap_Brush_GetColour(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3832     PyObject 
*resultobj
; 
3833     wxBrush 
*arg1 
= (wxBrush 
*) 0 ; 
3835     PyObject 
* obj0 
= 0 ; 
3837         (char *) "self", NULL 
 
3840     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetColour",kwnames
,&obj0
)) goto fail
; 
3841     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBrush
, SWIG_POINTER_EXCEPTION 
| 0); 
3842     if (SWIG_arg_fail(1)) SWIG_fail
; 
3844         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3845         result 
= ((wxBrush 
const *)arg1
)->GetColour(); 
3847         wxPyEndAllowThreads(__tstate
); 
3848         if (PyErr_Occurred()) SWIG_fail
; 
3851         wxColour 
* resultptr
; 
3852         resultptr 
= new wxColour((wxColour 
&)(result
)); 
3853         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1); 
3861 static PyObject 
*_wrap_Brush_GetStyle(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3862     PyObject 
*resultobj
; 
3863     wxBrush 
*arg1 
= (wxBrush 
*) 0 ; 
3865     PyObject 
* obj0 
= 0 ; 
3867         (char *) "self", NULL 
 
3870     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetStyle",kwnames
,&obj0
)) goto fail
; 
3871     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBrush
, SWIG_POINTER_EXCEPTION 
| 0); 
3872     if (SWIG_arg_fail(1)) SWIG_fail
; 
3874         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3875         result 
= (int)((wxBrush 
const *)arg1
)->GetStyle(); 
3877         wxPyEndAllowThreads(__tstate
); 
3878         if (PyErr_Occurred()) SWIG_fail
; 
3881         resultobj 
= SWIG_From_int((int)(result
));  
3889 static PyObject 
*_wrap_Brush_GetStipple(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3890     PyObject 
*resultobj
; 
3891     wxBrush 
*arg1 
= (wxBrush 
*) 0 ; 
3893     PyObject 
* obj0 
= 0 ; 
3895         (char *) "self", NULL 
 
3898     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetStipple",kwnames
,&obj0
)) goto fail
; 
3899     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBrush
, SWIG_POINTER_EXCEPTION 
| 0); 
3900     if (SWIG_arg_fail(1)) SWIG_fail
; 
3902         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3903         result 
= (wxBitmap 
*)((wxBrush 
const *)arg1
)->GetStipple(); 
3905         wxPyEndAllowThreads(__tstate
); 
3906         if (PyErr_Occurred()) SWIG_fail
; 
3908     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 0); 
3915 static PyObject 
*_wrap_Brush_IsHatch(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3916     PyObject 
*resultobj
; 
3917     wxBrush 
*arg1 
= (wxBrush 
*) 0 ; 
3919     PyObject 
* obj0 
= 0 ; 
3921         (char *) "self", NULL 
 
3924     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_IsHatch",kwnames
,&obj0
)) goto fail
; 
3925     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBrush
, SWIG_POINTER_EXCEPTION 
| 0); 
3926     if (SWIG_arg_fail(1)) SWIG_fail
; 
3928         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3929         result 
= (bool)((wxBrush 
const *)arg1
)->IsHatch(); 
3931         wxPyEndAllowThreads(__tstate
); 
3932         if (PyErr_Occurred()) SWIG_fail
; 
3935         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
3943 static PyObject 
*_wrap_Brush_Ok(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3944     PyObject 
*resultobj
; 
3945     wxBrush 
*arg1 
= (wxBrush 
*) 0 ; 
3947     PyObject 
* obj0 
= 0 ; 
3949         (char *) "self", NULL 
 
3952     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_Ok",kwnames
,&obj0
)) goto fail
; 
3953     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBrush
, SWIG_POINTER_EXCEPTION 
| 0); 
3954     if (SWIG_arg_fail(1)) SWIG_fail
; 
3956         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3957         result 
= (bool)(arg1
)->Ok(); 
3959         wxPyEndAllowThreads(__tstate
); 
3960         if (PyErr_Occurred()) SWIG_fail
; 
3963         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
3971 static PyObject 
* Brush_swigregister(PyObject 
*, PyObject 
*args
) { 
3973     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
3974     SWIG_TypeClientData(SWIGTYPE_p_wxBrush
, obj
); 
3976     return Py_BuildValue((char *)""); 
3978 static PyObject 
*_wrap_new_Bitmap(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3979     PyObject 
*resultobj
; 
3980     wxString 
*arg1 
= 0 ; 
3981     wxBitmapType arg2 
= (wxBitmapType
) wxBITMAP_TYPE_ANY 
; 
3983     bool temp1 
= false ; 
3984     PyObject 
* obj0 
= 0 ; 
3985     PyObject 
* obj1 
= 0 ; 
3987         (char *) "name",(char *) "type", NULL 
 
3990     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Bitmap",kwnames
,&obj0
,&obj1
)) goto fail
; 
3992         arg1 
= wxString_in_helper(obj0
); 
3993         if (arg1 
== NULL
) SWIG_fail
; 
3998             arg2 
= (wxBitmapType
)(SWIG_As_int(obj1
));  
3999             if (SWIG_arg_fail(2)) SWIG_fail
; 
4003         if (!wxPyCheckForApp()) SWIG_fail
; 
4004         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4005         result 
= (wxBitmap 
*)new wxBitmap((wxString 
const &)*arg1
,(wxBitmapType 
)arg2
); 
4007         wxPyEndAllowThreads(__tstate
); 
4008         if (PyErr_Occurred()) SWIG_fail
; 
4010     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1); 
4025 static PyObject 
*_wrap_delete_Bitmap(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4026     PyObject 
*resultobj
; 
4027     wxBitmap 
*arg1 
= (wxBitmap 
*) 0 ; 
4028     PyObject 
* obj0 
= 0 ; 
4030         (char *) "self", NULL 
 
4033     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Bitmap",kwnames
,&obj0
)) goto fail
; 
4034     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION 
| 0); 
4035     if (SWIG_arg_fail(1)) SWIG_fail
; 
4037         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4040         wxPyEndAllowThreads(__tstate
); 
4041         if (PyErr_Occurred()) SWIG_fail
; 
4043     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
4050 static PyObject 
*_wrap_new_EmptyBitmap(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4051     PyObject 
*resultobj
; 
4054     int arg3 
= (int) -1 ; 
4056     PyObject 
* obj0 
= 0 ; 
4057     PyObject 
* obj1 
= 0 ; 
4058     PyObject 
* obj2 
= 0 ; 
4060         (char *) "width",(char *) "height",(char *) "depth", NULL 
 
4063     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_EmptyBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
4065         arg1 
= (int)(SWIG_As_int(obj0
));  
4066         if (SWIG_arg_fail(1)) SWIG_fail
; 
4069         arg2 
= (int)(SWIG_As_int(obj1
));  
4070         if (SWIG_arg_fail(2)) SWIG_fail
; 
4074             arg3 
= (int)(SWIG_As_int(obj2
));  
4075             if (SWIG_arg_fail(3)) SWIG_fail
; 
4079         if (!wxPyCheckForApp()) SWIG_fail
; 
4080         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4081         result 
= (wxBitmap 
*)new wxBitmap(arg1
,arg2
,arg3
); 
4083         wxPyEndAllowThreads(__tstate
); 
4084         if (PyErr_Occurred()) SWIG_fail
; 
4086     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1); 
4093 static PyObject 
*_wrap_new_BitmapFromIcon(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4094     PyObject 
*resultobj
; 
4097     PyObject 
* obj0 
= 0 ; 
4099         (char *) "icon", NULL 
 
4102     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromIcon",kwnames
,&obj0
)) goto fail
; 
4104         SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION 
| 0); 
4105         if (SWIG_arg_fail(1)) SWIG_fail
; 
4107             SWIG_null_ref("wxIcon"); 
4109         if (SWIG_arg_fail(1)) SWIG_fail
; 
4112         if (!wxPyCheckForApp()) SWIG_fail
; 
4113         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4114         result 
= (wxBitmap 
*)new wxBitmap((wxIcon 
const &)*arg1
); 
4116         wxPyEndAllowThreads(__tstate
); 
4117         if (PyErr_Occurred()) SWIG_fail
; 
4119     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1); 
4126 static PyObject 
*_wrap_new_BitmapFromImage(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4127     PyObject 
*resultobj
; 
4129     int arg2 
= (int) -1 ; 
4131     PyObject 
* obj0 
= 0 ; 
4132     PyObject 
* obj1 
= 0 ; 
4134         (char *) "image",(char *) "depth", NULL 
 
4137     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BitmapFromImage",kwnames
,&obj0
,&obj1
)) goto fail
; 
4139         SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION 
| 0); 
4140         if (SWIG_arg_fail(1)) SWIG_fail
; 
4142             SWIG_null_ref("wxImage"); 
4144         if (SWIG_arg_fail(1)) SWIG_fail
; 
4148             arg2 
= (int)(SWIG_As_int(obj1
));  
4149             if (SWIG_arg_fail(2)) SWIG_fail
; 
4153         if (!wxPyCheckForApp()) SWIG_fail
; 
4154         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4155         result 
= (wxBitmap 
*)new wxBitmap((wxImage 
const &)*arg1
,arg2
); 
4157         wxPyEndAllowThreads(__tstate
); 
4158         if (PyErr_Occurred()) SWIG_fail
; 
4160     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1); 
4167 static PyObject 
*_wrap_new_BitmapFromXPMData(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4168     PyObject 
*resultobj
; 
4169     PyObject 
*arg1 
= (PyObject 
*) 0 ; 
4171     PyObject 
* obj0 
= 0 ; 
4173         (char *) "listOfStrings", NULL 
 
4176     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromXPMData",kwnames
,&obj0
)) goto fail
; 
4179         if (!wxPyCheckForApp()) SWIG_fail
; 
4180         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4181         result 
= (wxBitmap 
*)new_wxBitmap(arg1
); 
4183         wxPyEndAllowThreads(__tstate
); 
4184         if (PyErr_Occurred()) SWIG_fail
; 
4186     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1); 
4193 static PyObject 
*_wrap_new_BitmapFromBits(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4194     PyObject 
*resultobj
; 
4195     PyObject 
*arg1 
= (PyObject 
*) 0 ; 
4198     int arg4 
= (int) 1 ; 
4200     PyObject 
* obj0 
= 0 ; 
4201     PyObject 
* obj1 
= 0 ; 
4202     PyObject 
* obj2 
= 0 ; 
4203     PyObject 
* obj3 
= 0 ; 
4205         (char *) "bits",(char *) "width",(char *) "height",(char *) "depth", NULL 
 
4208     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_BitmapFromBits",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
4211         arg2 
= (int)(SWIG_As_int(obj1
));  
4212         if (SWIG_arg_fail(2)) SWIG_fail
; 
4215         arg3 
= (int)(SWIG_As_int(obj2
));  
4216         if (SWIG_arg_fail(3)) SWIG_fail
; 
4220             arg4 
= (int)(SWIG_As_int(obj3
));  
4221             if (SWIG_arg_fail(4)) SWIG_fail
; 
4225         if (!wxPyCheckForApp()) SWIG_fail
; 
4226         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4227         result 
= (wxBitmap 
*)new_wxBitmap(arg1
,arg2
,arg3
,arg4
); 
4229         wxPyEndAllowThreads(__tstate
); 
4230         if (PyErr_Occurred()) SWIG_fail
; 
4232     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1); 
4239 static PyObject 
*_wrap_Bitmap_GetHandle(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4240     PyObject 
*resultobj
; 
4241     wxBitmap 
*arg1 
= (wxBitmap 
*) 0 ; 
4243     PyObject 
* obj0 
= 0 ; 
4245         (char *) "self", NULL 
 
4248     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetHandle",kwnames
,&obj0
)) goto fail
; 
4249     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION 
| 0); 
4250     if (SWIG_arg_fail(1)) SWIG_fail
; 
4252         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4253         result 
= (long)(arg1
)->GetHandle(); 
4255         wxPyEndAllowThreads(__tstate
); 
4256         if (PyErr_Occurred()) SWIG_fail
; 
4259         resultobj 
= SWIG_From_long((long)(result
));  
4267 static PyObject 
*_wrap_Bitmap_SetHandle(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4268     PyObject 
*resultobj
; 
4269     wxBitmap 
*arg1 
= (wxBitmap 
*) 0 ; 
4271     PyObject 
* obj0 
= 0 ; 
4272     PyObject 
* obj1 
= 0 ; 
4274         (char *) "self",(char *) "handle", NULL 
 
4277     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHandle",kwnames
,&obj0
,&obj1
)) goto fail
; 
4278     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION 
| 0); 
4279     if (SWIG_arg_fail(1)) SWIG_fail
; 
4281         arg2 
= (long)(SWIG_As_long(obj1
));  
4282         if (SWIG_arg_fail(2)) SWIG_fail
; 
4285         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4286         wxBitmap_SetHandle(arg1
,arg2
); 
4288         wxPyEndAllowThreads(__tstate
); 
4289         if (PyErr_Occurred()) SWIG_fail
; 
4291     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
4298 static PyObject 
*_wrap_Bitmap_Ok(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4299     PyObject 
*resultobj
; 
4300     wxBitmap 
*arg1 
= (wxBitmap 
*) 0 ; 
4302     PyObject 
* obj0 
= 0 ; 
4304         (char *) "self", NULL 
 
4307     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_Ok",kwnames
,&obj0
)) goto fail
; 
4308     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION 
| 0); 
4309     if (SWIG_arg_fail(1)) SWIG_fail
; 
4311         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4312         result 
= (bool)(arg1
)->Ok(); 
4314         wxPyEndAllowThreads(__tstate
); 
4315         if (PyErr_Occurred()) SWIG_fail
; 
4318         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
4326 static PyObject 
*_wrap_Bitmap_GetWidth(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4327     PyObject 
*resultobj
; 
4328     wxBitmap 
*arg1 
= (wxBitmap 
*) 0 ; 
4330     PyObject 
* obj0 
= 0 ; 
4332         (char *) "self", NULL 
 
4335     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetWidth",kwnames
,&obj0
)) goto fail
; 
4336     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION 
| 0); 
4337     if (SWIG_arg_fail(1)) SWIG_fail
; 
4339         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4340         result 
= (int)(arg1
)->GetWidth(); 
4342         wxPyEndAllowThreads(__tstate
); 
4343         if (PyErr_Occurred()) SWIG_fail
; 
4346         resultobj 
= SWIG_From_int((int)(result
));  
4354 static PyObject 
*_wrap_Bitmap_GetHeight(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4355     PyObject 
*resultobj
; 
4356     wxBitmap 
*arg1 
= (wxBitmap 
*) 0 ; 
4358     PyObject 
* obj0 
= 0 ; 
4360         (char *) "self", NULL 
 
4363     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetHeight",kwnames
,&obj0
)) goto fail
; 
4364     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION 
| 0); 
4365     if (SWIG_arg_fail(1)) SWIG_fail
; 
4367         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4368         result 
= (int)(arg1
)->GetHeight(); 
4370         wxPyEndAllowThreads(__tstate
); 
4371         if (PyErr_Occurred()) SWIG_fail
; 
4374         resultobj 
= SWIG_From_int((int)(result
));  
4382 static PyObject 
*_wrap_Bitmap_GetDepth(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4383     PyObject 
*resultobj
; 
4384     wxBitmap 
*arg1 
= (wxBitmap 
*) 0 ; 
4386     PyObject 
* obj0 
= 0 ; 
4388         (char *) "self", NULL 
 
4391     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetDepth",kwnames
,&obj0
)) goto fail
; 
4392     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION 
| 0); 
4393     if (SWIG_arg_fail(1)) SWIG_fail
; 
4395         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4396         result 
= (int)(arg1
)->GetDepth(); 
4398         wxPyEndAllowThreads(__tstate
); 
4399         if (PyErr_Occurred()) SWIG_fail
; 
4402         resultobj 
= SWIG_From_int((int)(result
));  
4410 static PyObject 
*_wrap_Bitmap_GetSize(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4411     PyObject 
*resultobj
; 
4412     wxBitmap 
*arg1 
= (wxBitmap 
*) 0 ; 
4414     PyObject 
* obj0 
= 0 ; 
4416         (char *) "self", NULL 
 
4419     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetSize",kwnames
,&obj0
)) goto fail
; 
4420     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION 
| 0); 
4421     if (SWIG_arg_fail(1)) SWIG_fail
; 
4423         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4424         result 
= wxBitmap_GetSize(arg1
); 
4426         wxPyEndAllowThreads(__tstate
); 
4427         if (PyErr_Occurred()) SWIG_fail
; 
4431         resultptr 
= new wxSize((wxSize 
&)(result
)); 
4432         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1); 
4440 static PyObject 
*_wrap_Bitmap_ConvertToImage(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4441     PyObject 
*resultobj
; 
4442     wxBitmap 
*arg1 
= (wxBitmap 
*) 0 ; 
4443     SwigValueWrapper
<wxImage 
> result
; 
4444     PyObject 
* obj0 
= 0 ; 
4446         (char *) "self", NULL 
 
4449     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_ConvertToImage",kwnames
,&obj0
)) goto fail
; 
4450     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION 
| 0); 
4451     if (SWIG_arg_fail(1)) SWIG_fail
; 
4453         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4454         result 
= ((wxBitmap 
const *)arg1
)->ConvertToImage(); 
4456         wxPyEndAllowThreads(__tstate
); 
4457         if (PyErr_Occurred()) SWIG_fail
; 
4460         wxImage 
* resultptr
; 
4461         resultptr 
= new wxImage((wxImage 
&)(result
)); 
4462         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1); 
4470 static PyObject 
*_wrap_Bitmap_GetMask(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4471     PyObject 
*resultobj
; 
4472     wxBitmap 
*arg1 
= (wxBitmap 
*) 0 ; 
4474     PyObject 
* obj0 
= 0 ; 
4476         (char *) "self", NULL 
 
4479     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetMask",kwnames
,&obj0
)) goto fail
; 
4480     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION 
| 0); 
4481     if (SWIG_arg_fail(1)) SWIG_fail
; 
4483         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4484         result 
= (wxMask 
*)((wxBitmap 
const *)arg1
)->GetMask(); 
4486         wxPyEndAllowThreads(__tstate
); 
4487         if (PyErr_Occurred()) SWIG_fail
; 
4489     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMask
, 0); 
4496 static PyObject 
*_wrap_Bitmap_SetMask(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4497     PyObject 
*resultobj
; 
4498     wxBitmap 
*arg1 
= (wxBitmap 
*) 0 ; 
4499     wxMask 
*arg2 
= (wxMask 
*) 0 ; 
4500     PyObject 
* obj0 
= 0 ; 
4501     PyObject 
* obj1 
= 0 ; 
4503         (char *) "self",(char *) "mask", NULL 
 
4506     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
; 
4507     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION 
| 0); 
4508     if (SWIG_arg_fail(1)) SWIG_fail
; 
4509     SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMask
, SWIG_POINTER_EXCEPTION 
| 0); 
4510     if (SWIG_arg_fail(2)) SWIG_fail
; 
4512         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4513         (arg1
)->SetMask(arg2
); 
4515         wxPyEndAllowThreads(__tstate
); 
4516         if (PyErr_Occurred()) SWIG_fail
; 
4518     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
4525 static PyObject 
*_wrap_Bitmap_SetMaskColour(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4526     PyObject 
*resultobj
; 
4527     wxBitmap 
*arg1 
= (wxBitmap 
*) 0 ; 
4528     wxColour 
*arg2 
= 0 ; 
4530     PyObject 
* obj0 
= 0 ; 
4531     PyObject 
* obj1 
= 0 ; 
4533         (char *) "self",(char *) "colour", NULL 
 
4536     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMaskColour",kwnames
,&obj0
,&obj1
)) goto fail
; 
4537     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION 
| 0); 
4538     if (SWIG_arg_fail(1)) SWIG_fail
; 
4541         if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
4544         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4545         wxBitmap_SetMaskColour(arg1
,(wxColour 
const &)*arg2
); 
4547         wxPyEndAllowThreads(__tstate
); 
4548         if (PyErr_Occurred()) SWIG_fail
; 
4550     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
4557 static PyObject 
*_wrap_Bitmap_GetSubBitmap(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4558     PyObject 
*resultobj
; 
4559     wxBitmap 
*arg1 
= (wxBitmap 
*) 0 ; 
4561     SwigValueWrapper
<wxBitmap 
> result
; 
4563     PyObject 
* obj0 
= 0 ; 
4564     PyObject 
* obj1 
= 0 ; 
4566         (char *) "self",(char *) "rect", NULL 
 
4569     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_GetSubBitmap",kwnames
,&obj0
,&obj1
)) goto fail
; 
4570     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION 
| 0); 
4571     if (SWIG_arg_fail(1)) SWIG_fail
; 
4574         if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
; 
4577         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4578         result 
= ((wxBitmap 
const *)arg1
)->GetSubBitmap((wxRect 
const &)*arg2
); 
4580         wxPyEndAllowThreads(__tstate
); 
4581         if (PyErr_Occurred()) SWIG_fail
; 
4584         wxBitmap 
* resultptr
; 
4585         resultptr 
= new wxBitmap((wxBitmap 
&)(result
)); 
4586         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1); 
4594 static PyObject 
*_wrap_Bitmap_SaveFile(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4595     PyObject 
*resultobj
; 
4596     wxBitmap 
*arg1 
= (wxBitmap 
*) 0 ; 
4597     wxString 
*arg2 
= 0 ; 
4599     wxPalette 
*arg4 
= (wxPalette 
*) NULL 
; 
4601     bool temp2 
= false ; 
4602     PyObject 
* obj0 
= 0 ; 
4603     PyObject 
* obj1 
= 0 ; 
4604     PyObject 
* obj2 
= 0 ; 
4605     PyObject 
* obj3 
= 0 ; 
4607         (char *) "self",(char *) "name",(char *) "type",(char *) "palette", NULL 
 
4610     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Bitmap_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
4611     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION 
| 0); 
4612     if (SWIG_arg_fail(1)) SWIG_fail
; 
4614         arg2 
= wxString_in_helper(obj1
); 
4615         if (arg2 
== NULL
) SWIG_fail
; 
4619         arg3 
= (wxBitmapType
)(SWIG_As_int(obj2
));  
4620         if (SWIG_arg_fail(3)) SWIG_fail
; 
4623         SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxPalette
, SWIG_POINTER_EXCEPTION 
| 0); 
4624         if (SWIG_arg_fail(4)) SWIG_fail
; 
4627         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4628         result 
= (bool)(arg1
)->SaveFile((wxString 
const &)*arg2
,(wxBitmapType 
)arg3
,arg4
); 
4630         wxPyEndAllowThreads(__tstate
); 
4631         if (PyErr_Occurred()) SWIG_fail
; 
4634         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
4650 static PyObject 
*_wrap_Bitmap_LoadFile(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4651     PyObject 
*resultobj
; 
4652     wxBitmap 
*arg1 
= (wxBitmap 
*) 0 ; 
4653     wxString 
*arg2 
= 0 ; 
4656     bool temp2 
= false ; 
4657     PyObject 
* obj0 
= 0 ; 
4658     PyObject 
* obj1 
= 0 ; 
4659     PyObject 
* obj2 
= 0 ; 
4661         (char *) "self",(char *) "name",(char *) "type", NULL 
 
4664     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Bitmap_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
4665     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION 
| 0); 
4666     if (SWIG_arg_fail(1)) SWIG_fail
; 
4668         arg2 
= wxString_in_helper(obj1
); 
4669         if (arg2 
== NULL
) SWIG_fail
; 
4673         arg3 
= (wxBitmapType
)(SWIG_As_int(obj2
));  
4674         if (SWIG_arg_fail(3)) SWIG_fail
; 
4677         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4678         result 
= (bool)(arg1
)->LoadFile((wxString 
const &)*arg2
,(wxBitmapType 
)arg3
); 
4680         wxPyEndAllowThreads(__tstate
); 
4681         if (PyErr_Occurred()) SWIG_fail
; 
4684         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
4700 static PyObject 
*_wrap_Bitmap_GetPalette(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4701     PyObject 
*resultobj
; 
4702     wxBitmap 
*arg1 
= (wxBitmap 
*) 0 ; 
4704     PyObject 
* obj0 
= 0 ; 
4706         (char *) "self", NULL 
 
4709     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetPalette",kwnames
,&obj0
)) goto fail
; 
4710     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION 
| 0); 
4711     if (SWIG_arg_fail(1)) SWIG_fail
; 
4713         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4714         result 
= (wxPalette 
*)((wxBitmap 
const *)arg1
)->GetPalette(); 
4716         wxPyEndAllowThreads(__tstate
); 
4717         if (PyErr_Occurred()) SWIG_fail
; 
4719     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPalette
, 0); 
4726 static PyObject 
*_wrap_Bitmap_SetPalette(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4727     PyObject 
*resultobj
; 
4728     wxBitmap 
*arg1 
= (wxBitmap 
*) 0 ; 
4729     wxPalette 
*arg2 
= 0 ; 
4730     PyObject 
* obj0 
= 0 ; 
4731     PyObject 
* obj1 
= 0 ; 
4733         (char *) "self",(char *) "palette", NULL 
 
4736     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetPalette",kwnames
,&obj0
,&obj1
)) goto fail
; 
4737     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION 
| 0); 
4738     if (SWIG_arg_fail(1)) SWIG_fail
; 
4740         SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPalette
, SWIG_POINTER_EXCEPTION 
| 0); 
4741         if (SWIG_arg_fail(2)) SWIG_fail
; 
4743             SWIG_null_ref("wxPalette"); 
4745         if (SWIG_arg_fail(2)) SWIG_fail
; 
4748         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4749         (arg1
)->SetPalette((wxPalette 
const &)*arg2
); 
4751         wxPyEndAllowThreads(__tstate
); 
4752         if (PyErr_Occurred()) SWIG_fail
; 
4754     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
4761 static PyObject 
*_wrap_Bitmap_CopyFromIcon(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4762     PyObject 
*resultobj
; 
4763     wxBitmap 
*arg1 
= (wxBitmap 
*) 0 ; 
4766     PyObject 
* obj0 
= 0 ; 
4767     PyObject 
* obj1 
= 0 ; 
4769         (char *) "self",(char *) "icon", NULL 
 
4772     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromIcon",kwnames
,&obj0
,&obj1
)) goto fail
; 
4773     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION 
| 0); 
4774     if (SWIG_arg_fail(1)) SWIG_fail
; 
4776         SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION 
| 0); 
4777         if (SWIG_arg_fail(2)) SWIG_fail
; 
4779             SWIG_null_ref("wxIcon"); 
4781         if (SWIG_arg_fail(2)) SWIG_fail
; 
4784         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4785         result 
= (bool)(arg1
)->CopyFromIcon((wxIcon 
const &)*arg2
); 
4787         wxPyEndAllowThreads(__tstate
); 
4788         if (PyErr_Occurred()) SWIG_fail
; 
4791         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
4799 static PyObject 
*_wrap_Bitmap_SetHeight(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4800     PyObject 
*resultobj
; 
4801     wxBitmap 
*arg1 
= (wxBitmap 
*) 0 ; 
4803     PyObject 
* obj0 
= 0 ; 
4804     PyObject 
* obj1 
= 0 ; 
4806         (char *) "self",(char *) "height", NULL 
 
4809     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
; 
4810     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION 
| 0); 
4811     if (SWIG_arg_fail(1)) SWIG_fail
; 
4813         arg2 
= (int)(SWIG_As_int(obj1
));  
4814         if (SWIG_arg_fail(2)) SWIG_fail
; 
4817         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4818         (arg1
)->SetHeight(arg2
); 
4820         wxPyEndAllowThreads(__tstate
); 
4821         if (PyErr_Occurred()) SWIG_fail
; 
4823     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
4830 static PyObject 
*_wrap_Bitmap_SetWidth(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4831     PyObject 
*resultobj
; 
4832     wxBitmap 
*arg1 
= (wxBitmap 
*) 0 ; 
4834     PyObject 
* obj0 
= 0 ; 
4835     PyObject 
* obj1 
= 0 ; 
4837         (char *) "self",(char *) "width", NULL 
 
4840     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
; 
4841     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION 
| 0); 
4842     if (SWIG_arg_fail(1)) SWIG_fail
; 
4844         arg2 
= (int)(SWIG_As_int(obj1
));  
4845         if (SWIG_arg_fail(2)) SWIG_fail
; 
4848         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4849         (arg1
)->SetWidth(arg2
); 
4851         wxPyEndAllowThreads(__tstate
); 
4852         if (PyErr_Occurred()) SWIG_fail
; 
4854     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
4861 static PyObject 
*_wrap_Bitmap_SetDepth(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4862     PyObject 
*resultobj
; 
4863     wxBitmap 
*arg1 
= (wxBitmap 
*) 0 ; 
4865     PyObject 
* obj0 
= 0 ; 
4866     PyObject 
* obj1 
= 0 ; 
4868         (char *) "self",(char *) "depth", NULL 
 
4871     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetDepth",kwnames
,&obj0
,&obj1
)) goto fail
; 
4872     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION 
| 0); 
4873     if (SWIG_arg_fail(1)) SWIG_fail
; 
4875         arg2 
= (int)(SWIG_As_int(obj1
));  
4876         if (SWIG_arg_fail(2)) SWIG_fail
; 
4879         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4880         (arg1
)->SetDepth(arg2
); 
4882         wxPyEndAllowThreads(__tstate
); 
4883         if (PyErr_Occurred()) SWIG_fail
; 
4885     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
4892 static PyObject 
*_wrap_Bitmap_SetSize(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4893     PyObject 
*resultobj
; 
4894     wxBitmap 
*arg1 
= (wxBitmap 
*) 0 ; 
4897     PyObject 
* obj0 
= 0 ; 
4898     PyObject 
* obj1 
= 0 ; 
4900         (char *) "self",(char *) "size", NULL 
 
4903     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
; 
4904     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION 
| 0); 
4905     if (SWIG_arg_fail(1)) SWIG_fail
; 
4908         if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
; 
4911         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4912         wxBitmap_SetSize(arg1
,(wxSize 
const &)*arg2
); 
4914         wxPyEndAllowThreads(__tstate
); 
4915         if (PyErr_Occurred()) SWIG_fail
; 
4917     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
4924 static PyObject 
*_wrap_Bitmap_CopyFromCursor(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4925     PyObject 
*resultobj
; 
4926     wxBitmap 
*arg1 
= (wxBitmap 
*) 0 ; 
4927     wxCursor 
*arg2 
= 0 ; 
4929     PyObject 
* obj0 
= 0 ; 
4930     PyObject 
* obj1 
= 0 ; 
4932         (char *) "self",(char *) "cursor", NULL 
 
4935     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromCursor",kwnames
,&obj0
,&obj1
)) goto fail
; 
4936     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION 
| 0); 
4937     if (SWIG_arg_fail(1)) SWIG_fail
; 
4939         SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION 
| 0); 
4940         if (SWIG_arg_fail(2)) SWIG_fail
; 
4942             SWIG_null_ref("wxCursor"); 
4944         if (SWIG_arg_fail(2)) SWIG_fail
; 
4947         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4948         result 
= (bool)(arg1
)->CopyFromCursor((wxCursor 
const &)*arg2
); 
4950         wxPyEndAllowThreads(__tstate
); 
4951         if (PyErr_Occurred()) SWIG_fail
; 
4954         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
4962 static PyObject 
*_wrap_Bitmap_GetQuality(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4963     PyObject 
*resultobj
; 
4964     wxBitmap 
*arg1 
= (wxBitmap 
*) 0 ; 
4966     PyObject 
* obj0 
= 0 ; 
4968         (char *) "self", NULL 
 
4971     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetQuality",kwnames
,&obj0
)) goto fail
; 
4972     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION 
| 0); 
4973     if (SWIG_arg_fail(1)) SWIG_fail
; 
4975         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4976         result 
= (int)(arg1
)->GetQuality(); 
4978         wxPyEndAllowThreads(__tstate
); 
4979         if (PyErr_Occurred()) SWIG_fail
; 
4982         resultobj 
= SWIG_From_int((int)(result
));  
4990 static PyObject 
*_wrap_Bitmap_SetQuality(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
4991     PyObject 
*resultobj
; 
4992     wxBitmap 
*arg1 
= (wxBitmap 
*) 0 ; 
4994     PyObject 
* obj0 
= 0 ; 
4995     PyObject 
* obj1 
= 0 ; 
4997         (char *) "self",(char *) "q", NULL 
 
5000     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetQuality",kwnames
,&obj0
,&obj1
)) goto fail
; 
5001     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION 
| 0); 
5002     if (SWIG_arg_fail(1)) SWIG_fail
; 
5004         arg2 
= (int)(SWIG_As_int(obj1
));  
5005         if (SWIG_arg_fail(2)) SWIG_fail
; 
5008         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5009         (arg1
)->SetQuality(arg2
); 
5011         wxPyEndAllowThreads(__tstate
); 
5012         if (PyErr_Occurred()) SWIG_fail
; 
5014     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
5021 static PyObject 
*_wrap_Bitmap___eq__(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5022     PyObject 
*resultobj
; 
5023     wxBitmap 
*arg1 
= (wxBitmap 
*) 0 ; 
5024     wxBitmap 
*arg2 
= (wxBitmap 
*) 0 ; 
5026     PyObject 
* obj0 
= 0 ; 
5027     PyObject 
* obj1 
= 0 ; 
5029         (char *) "self",(char *) "other", NULL 
 
5032     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___eq__",kwnames
,&obj0
,&obj1
)) goto fail
; 
5033     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION 
| 0); 
5034     if (SWIG_arg_fail(1)) SWIG_fail
; 
5035     SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION 
| 0); 
5036     if (SWIG_arg_fail(2)) SWIG_fail
; 
5038         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5039         result 
= (bool)wxBitmap___eq__(arg1
,(wxBitmap 
const *)arg2
); 
5041         wxPyEndAllowThreads(__tstate
); 
5042         if (PyErr_Occurred()) SWIG_fail
; 
5045         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
5053 static PyObject 
*_wrap_Bitmap___ne__(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5054     PyObject 
*resultobj
; 
5055     wxBitmap 
*arg1 
= (wxBitmap 
*) 0 ; 
5056     wxBitmap 
*arg2 
= (wxBitmap 
*) 0 ; 
5058     PyObject 
* obj0 
= 0 ; 
5059     PyObject 
* obj1 
= 0 ; 
5061         (char *) "self",(char *) "other", NULL 
 
5064     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___ne__",kwnames
,&obj0
,&obj1
)) goto fail
; 
5065     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION 
| 0); 
5066     if (SWIG_arg_fail(1)) SWIG_fail
; 
5067     SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION 
| 0); 
5068     if (SWIG_arg_fail(2)) SWIG_fail
; 
5070         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5071         result 
= (bool)wxBitmap___ne__(arg1
,(wxBitmap 
const *)arg2
); 
5073         wxPyEndAllowThreads(__tstate
); 
5074         if (PyErr_Occurred()) SWIG_fail
; 
5077         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
5085 static PyObject 
* Bitmap_swigregister(PyObject 
*, PyObject 
*args
) { 
5087     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
5088     SWIG_TypeClientData(SWIGTYPE_p_wxBitmap
, obj
); 
5090     return Py_BuildValue((char *)""); 
5092 static PyObject 
*_wrap_new_Mask(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5093     PyObject 
*resultobj
; 
5094     wxBitmap 
*arg1 
= 0 ; 
5095     wxColour 
const &arg2_defvalue 
= wxNullColour 
; 
5096     wxColour 
*arg2 
= (wxColour 
*) &arg2_defvalue 
; 
5099     PyObject 
* obj0 
= 0 ; 
5100     PyObject 
* obj1 
= 0 ; 
5102         (char *) "bitmap",(char *) "colour", NULL 
 
5105     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Mask",kwnames
,&obj0
,&obj1
)) goto fail
; 
5107         SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION 
| 0); 
5108         if (SWIG_arg_fail(1)) SWIG_fail
; 
5110             SWIG_null_ref("wxBitmap"); 
5112         if (SWIG_arg_fail(1)) SWIG_fail
; 
5117             if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
5121         if (!wxPyCheckForApp()) SWIG_fail
; 
5122         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5123         result 
= (wxMask 
*)new_wxMask((wxBitmap 
const &)*arg1
,(wxColour 
const &)*arg2
); 
5125         wxPyEndAllowThreads(__tstate
); 
5126         if (PyErr_Occurred()) SWIG_fail
; 
5128     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMask
, 1); 
5135 static PyObject 
* Mask_swigregister(PyObject 
*, PyObject 
*args
) { 
5137     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
5138     SWIG_TypeClientData(SWIGTYPE_p_wxMask
, obj
); 
5140     return Py_BuildValue((char *)""); 
5142 static PyObject 
*_wrap_new_Icon(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5143     PyObject 
*resultobj
; 
5144     wxString 
*arg1 
= 0 ; 
5146     int arg3 
= (int) -1 ; 
5147     int arg4 
= (int) -1 ; 
5149     bool temp1 
= false ; 
5150     PyObject 
* obj0 
= 0 ; 
5151     PyObject 
* obj1 
= 0 ; 
5152     PyObject 
* obj2 
= 0 ; 
5153     PyObject 
* obj3 
= 0 ; 
5155         (char *) "name",(char *) "type",(char *) "desiredWidth",(char *) "desiredHeight", NULL 
 
5158     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Icon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
5160         arg1 
= wxString_in_helper(obj0
); 
5161         if (arg1 
== NULL
) SWIG_fail
; 
5165         arg2 
= (wxBitmapType
)(SWIG_As_int(obj1
));  
5166         if (SWIG_arg_fail(2)) SWIG_fail
; 
5170             arg3 
= (int)(SWIG_As_int(obj2
));  
5171             if (SWIG_arg_fail(3)) SWIG_fail
; 
5176             arg4 
= (int)(SWIG_As_int(obj3
));  
5177             if (SWIG_arg_fail(4)) SWIG_fail
; 
5181         if (!wxPyCheckForApp()) SWIG_fail
; 
5182         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5183         result 
= (wxIcon 
*)new wxIcon((wxString 
const &)*arg1
,(wxBitmapType 
)arg2
,arg3
,arg4
); 
5185         wxPyEndAllowThreads(__tstate
); 
5186         if (PyErr_Occurred()) SWIG_fail
; 
5188     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1); 
5203 static PyObject 
*_wrap_delete_Icon(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5204     PyObject 
*resultobj
; 
5205     wxIcon 
*arg1 
= (wxIcon 
*) 0 ; 
5206     PyObject 
* obj0 
= 0 ; 
5208         (char *) "self", NULL 
 
5211     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Icon",kwnames
,&obj0
)) goto fail
; 
5212     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION 
| 0); 
5213     if (SWIG_arg_fail(1)) SWIG_fail
; 
5215         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5218         wxPyEndAllowThreads(__tstate
); 
5219         if (PyErr_Occurred()) SWIG_fail
; 
5221     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
5228 static PyObject 
*_wrap_new_EmptyIcon(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5229     PyObject 
*resultobj
; 
5235     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EmptyIcon",kwnames
)) goto fail
; 
5237         if (!wxPyCheckForApp()) SWIG_fail
; 
5238         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5239         result 
= (wxIcon 
*)new wxIcon(); 
5241         wxPyEndAllowThreads(__tstate
); 
5242         if (PyErr_Occurred()) SWIG_fail
; 
5244     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1); 
5251 static PyObject 
*_wrap_new_IconFromLocation(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5252     PyObject 
*resultobj
; 
5253     wxIconLocation 
*arg1 
= 0 ; 
5255     PyObject 
* obj0 
= 0 ; 
5257         (char *) "loc", NULL 
 
5260     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromLocation",kwnames
,&obj0
)) goto fail
; 
5262         SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_EXCEPTION 
| 0); 
5263         if (SWIG_arg_fail(1)) SWIG_fail
; 
5265             SWIG_null_ref("wxIconLocation"); 
5267         if (SWIG_arg_fail(1)) SWIG_fail
; 
5270         if (!wxPyCheckForApp()) SWIG_fail
; 
5271         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5272         result 
= (wxIcon 
*)new wxIcon((wxIconLocation 
const &)*arg1
); 
5274         wxPyEndAllowThreads(__tstate
); 
5275         if (PyErr_Occurred()) SWIG_fail
; 
5277     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1); 
5284 static PyObject 
*_wrap_new_IconFromBitmap(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5285     PyObject 
*resultobj
; 
5286     wxBitmap 
*arg1 
= 0 ; 
5288     PyObject 
* obj0 
= 0 ; 
5290         (char *) "bmp", NULL 
 
5293     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromBitmap",kwnames
,&obj0
)) goto fail
; 
5295         SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION 
| 0); 
5296         if (SWIG_arg_fail(1)) SWIG_fail
; 
5298             SWIG_null_ref("wxBitmap"); 
5300         if (SWIG_arg_fail(1)) SWIG_fail
; 
5303         if (!wxPyCheckForApp()) SWIG_fail
; 
5304         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5305         result 
= (wxIcon 
*)new_wxIcon((wxBitmap 
const &)*arg1
); 
5307         wxPyEndAllowThreads(__tstate
); 
5308         if (PyErr_Occurred()) SWIG_fail
; 
5310     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1); 
5317 static PyObject 
*_wrap_new_IconFromXPMData(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5318     PyObject 
*resultobj
; 
5319     PyObject 
*arg1 
= (PyObject 
*) 0 ; 
5321     PyObject 
* obj0 
= 0 ; 
5323         (char *) "listOfStrings", NULL 
 
5326     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromXPMData",kwnames
,&obj0
)) goto fail
; 
5329         if (!wxPyCheckForApp()) SWIG_fail
; 
5330         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5331         result 
= (wxIcon 
*)new_wxIcon(arg1
); 
5333         wxPyEndAllowThreads(__tstate
); 
5334         if (PyErr_Occurred()) SWIG_fail
; 
5336     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1); 
5343 static PyObject 
*_wrap_Icon_LoadFile(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5344     PyObject 
*resultobj
; 
5345     wxIcon 
*arg1 
= (wxIcon 
*) 0 ; 
5346     wxString 
*arg2 
= 0 ; 
5349     bool temp2 
= false ; 
5350     PyObject 
* obj0 
= 0 ; 
5351     PyObject 
* obj1 
= 0 ; 
5352     PyObject 
* obj2 
= 0 ; 
5354         (char *) "self",(char *) "name",(char *) "type", NULL 
 
5357     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Icon_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
5358     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION 
| 0); 
5359     if (SWIG_arg_fail(1)) SWIG_fail
; 
5361         arg2 
= wxString_in_helper(obj1
); 
5362         if (arg2 
== NULL
) SWIG_fail
; 
5366         arg3 
= (wxBitmapType
)(SWIG_As_int(obj2
));  
5367         if (SWIG_arg_fail(3)) SWIG_fail
; 
5370         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5371         result 
= (bool)(arg1
)->LoadFile((wxString 
const &)*arg2
,(wxBitmapType 
)arg3
); 
5373         wxPyEndAllowThreads(__tstate
); 
5374         if (PyErr_Occurred()) SWIG_fail
; 
5377         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
5393 static PyObject 
*_wrap_Icon_GetHandle(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5394     PyObject 
*resultobj
; 
5395     wxIcon 
*arg1 
= (wxIcon 
*) 0 ; 
5397     PyObject 
* obj0 
= 0 ; 
5399         (char *) "self", NULL 
 
5402     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetHandle",kwnames
,&obj0
)) goto fail
; 
5403     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION 
| 0); 
5404     if (SWIG_arg_fail(1)) SWIG_fail
; 
5406         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5407         result 
= (long)(arg1
)->GetHandle(); 
5409         wxPyEndAllowThreads(__tstate
); 
5410         if (PyErr_Occurred()) SWIG_fail
; 
5413         resultobj 
= SWIG_From_long((long)(result
));  
5421 static PyObject 
*_wrap_Icon_SetHandle(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5422     PyObject 
*resultobj
; 
5423     wxIcon 
*arg1 
= (wxIcon 
*) 0 ; 
5425     PyObject 
* obj0 
= 0 ; 
5426     PyObject 
* obj1 
= 0 ; 
5428         (char *) "self",(char *) "handle", NULL 
 
5431     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHandle",kwnames
,&obj0
,&obj1
)) goto fail
; 
5432     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION 
| 0); 
5433     if (SWIG_arg_fail(1)) SWIG_fail
; 
5435         arg2 
= (long)(SWIG_As_long(obj1
));  
5436         if (SWIG_arg_fail(2)) SWIG_fail
; 
5439         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5440         wxIcon_SetHandle(arg1
,arg2
); 
5442         wxPyEndAllowThreads(__tstate
); 
5443         if (PyErr_Occurred()) SWIG_fail
; 
5445     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
5452 static PyObject 
*_wrap_Icon_Ok(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5453     PyObject 
*resultobj
; 
5454     wxIcon 
*arg1 
= (wxIcon 
*) 0 ; 
5456     PyObject 
* obj0 
= 0 ; 
5458         (char *) "self", NULL 
 
5461     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_Ok",kwnames
,&obj0
)) goto fail
; 
5462     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION 
| 0); 
5463     if (SWIG_arg_fail(1)) SWIG_fail
; 
5465         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5466         result 
= (bool)(arg1
)->Ok(); 
5468         wxPyEndAllowThreads(__tstate
); 
5469         if (PyErr_Occurred()) SWIG_fail
; 
5472         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
5480 static PyObject 
*_wrap_Icon_GetWidth(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5481     PyObject 
*resultobj
; 
5482     wxIcon 
*arg1 
= (wxIcon 
*) 0 ; 
5484     PyObject 
* obj0 
= 0 ; 
5486         (char *) "self", NULL 
 
5489     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetWidth",kwnames
,&obj0
)) goto fail
; 
5490     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION 
| 0); 
5491     if (SWIG_arg_fail(1)) SWIG_fail
; 
5493         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5494         result 
= (int)(arg1
)->GetWidth(); 
5496         wxPyEndAllowThreads(__tstate
); 
5497         if (PyErr_Occurred()) SWIG_fail
; 
5500         resultobj 
= SWIG_From_int((int)(result
));  
5508 static PyObject 
*_wrap_Icon_GetHeight(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5509     PyObject 
*resultobj
; 
5510     wxIcon 
*arg1 
= (wxIcon 
*) 0 ; 
5512     PyObject 
* obj0 
= 0 ; 
5514         (char *) "self", NULL 
 
5517     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetHeight",kwnames
,&obj0
)) goto fail
; 
5518     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION 
| 0); 
5519     if (SWIG_arg_fail(1)) SWIG_fail
; 
5521         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5522         result 
= (int)(arg1
)->GetHeight(); 
5524         wxPyEndAllowThreads(__tstate
); 
5525         if (PyErr_Occurred()) SWIG_fail
; 
5528         resultobj 
= SWIG_From_int((int)(result
));  
5536 static PyObject 
*_wrap_Icon_GetDepth(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5537     PyObject 
*resultobj
; 
5538     wxIcon 
*arg1 
= (wxIcon 
*) 0 ; 
5540     PyObject 
* obj0 
= 0 ; 
5542         (char *) "self", NULL 
 
5545     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetDepth",kwnames
,&obj0
)) goto fail
; 
5546     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION 
| 0); 
5547     if (SWIG_arg_fail(1)) SWIG_fail
; 
5549         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5550         result 
= (int)(arg1
)->GetDepth(); 
5552         wxPyEndAllowThreads(__tstate
); 
5553         if (PyErr_Occurred()) SWIG_fail
; 
5556         resultobj 
= SWIG_From_int((int)(result
));  
5564 static PyObject 
*_wrap_Icon_SetWidth(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5565     PyObject 
*resultobj
; 
5566     wxIcon 
*arg1 
= (wxIcon 
*) 0 ; 
5568     PyObject 
* obj0 
= 0 ; 
5569     PyObject 
* obj1 
= 0 ; 
5571         (char *) "self",(char *) "w", NULL 
 
5574     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
; 
5575     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION 
| 0); 
5576     if (SWIG_arg_fail(1)) SWIG_fail
; 
5578         arg2 
= (int)(SWIG_As_int(obj1
));  
5579         if (SWIG_arg_fail(2)) SWIG_fail
; 
5582         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5583         (arg1
)->SetWidth(arg2
); 
5585         wxPyEndAllowThreads(__tstate
); 
5586         if (PyErr_Occurred()) SWIG_fail
; 
5588     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
5595 static PyObject 
*_wrap_Icon_SetHeight(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5596     PyObject 
*resultobj
; 
5597     wxIcon 
*arg1 
= (wxIcon 
*) 0 ; 
5599     PyObject 
* obj0 
= 0 ; 
5600     PyObject 
* obj1 
= 0 ; 
5602         (char *) "self",(char *) "h", NULL 
 
5605     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
; 
5606     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION 
| 0); 
5607     if (SWIG_arg_fail(1)) SWIG_fail
; 
5609         arg2 
= (int)(SWIG_As_int(obj1
));  
5610         if (SWIG_arg_fail(2)) SWIG_fail
; 
5613         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5614         (arg1
)->SetHeight(arg2
); 
5616         wxPyEndAllowThreads(__tstate
); 
5617         if (PyErr_Occurred()) SWIG_fail
; 
5619     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
5626 static PyObject 
*_wrap_Icon_SetDepth(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5627     PyObject 
*resultobj
; 
5628     wxIcon 
*arg1 
= (wxIcon 
*) 0 ; 
5630     PyObject 
* obj0 
= 0 ; 
5631     PyObject 
* obj1 
= 0 ; 
5633         (char *) "self",(char *) "d", NULL 
 
5636     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetDepth",kwnames
,&obj0
,&obj1
)) goto fail
; 
5637     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION 
| 0); 
5638     if (SWIG_arg_fail(1)) SWIG_fail
; 
5640         arg2 
= (int)(SWIG_As_int(obj1
));  
5641         if (SWIG_arg_fail(2)) SWIG_fail
; 
5644         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5645         (arg1
)->SetDepth(arg2
); 
5647         wxPyEndAllowThreads(__tstate
); 
5648         if (PyErr_Occurred()) SWIG_fail
; 
5650     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
5657 static PyObject 
*_wrap_Icon_SetSize(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5658     PyObject 
*resultobj
; 
5659     wxIcon 
*arg1 
= (wxIcon 
*) 0 ; 
5662     PyObject 
* obj0 
= 0 ; 
5663     PyObject 
* obj1 
= 0 ; 
5665         (char *) "self",(char *) "size", NULL 
 
5668     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
; 
5669     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION 
| 0); 
5670     if (SWIG_arg_fail(1)) SWIG_fail
; 
5673         if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
; 
5676         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5677         (arg1
)->SetSize((wxSize 
const &)*arg2
); 
5679         wxPyEndAllowThreads(__tstate
); 
5680         if (PyErr_Occurred()) SWIG_fail
; 
5682     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
5689 static PyObject 
*_wrap_Icon_CopyFromBitmap(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5690     PyObject 
*resultobj
; 
5691     wxIcon 
*arg1 
= (wxIcon 
*) 0 ; 
5692     wxBitmap 
*arg2 
= 0 ; 
5693     PyObject 
* obj0 
= 0 ; 
5694     PyObject 
* obj1 
= 0 ; 
5696         (char *) "self",(char *) "bmp", NULL 
 
5699     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_CopyFromBitmap",kwnames
,&obj0
,&obj1
)) goto fail
; 
5700     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION 
| 0); 
5701     if (SWIG_arg_fail(1)) SWIG_fail
; 
5703         SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION 
| 0); 
5704         if (SWIG_arg_fail(2)) SWIG_fail
; 
5706             SWIG_null_ref("wxBitmap"); 
5708         if (SWIG_arg_fail(2)) SWIG_fail
; 
5711         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5712         (arg1
)->CopyFromBitmap((wxBitmap 
const &)*arg2
); 
5714         wxPyEndAllowThreads(__tstate
); 
5715         if (PyErr_Occurred()) SWIG_fail
; 
5717     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
5724 static PyObject 
* Icon_swigregister(PyObject 
*, PyObject 
*args
) { 
5726     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
5727     SWIG_TypeClientData(SWIGTYPE_p_wxIcon
, obj
); 
5729     return Py_BuildValue((char *)""); 
5731 static PyObject 
*_wrap_new_IconLocation(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5732     PyObject 
*resultobj
; 
5733     wxString 
*arg1 
= (wxString 
*) &wxPyEmptyString 
; 
5734     int arg2 
= (int) 0 ; 
5735     wxIconLocation 
*result
; 
5736     bool temp1 
= false ; 
5737     PyObject 
* obj0 
= 0 ; 
5738     PyObject 
* obj1 
= 0 ; 
5740         (char *) "filename",(char *) "num", NULL 
 
5743     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconLocation",kwnames
,&obj0
,&obj1
)) goto fail
; 
5746             arg1 
= wxString_in_helper(obj0
); 
5747             if (arg1 
== NULL
) SWIG_fail
; 
5753             arg2 
= (int)(SWIG_As_int(obj1
));  
5754             if (SWIG_arg_fail(2)) SWIG_fail
; 
5758         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5759         result 
= (wxIconLocation 
*)new_wxIconLocation((wxString 
const *)arg1
,arg2
); 
5761         wxPyEndAllowThreads(__tstate
); 
5762         if (PyErr_Occurred()) SWIG_fail
; 
5764     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconLocation
, 1); 
5779 static PyObject 
*_wrap_delete_IconLocation(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5780     PyObject 
*resultobj
; 
5781     wxIconLocation 
*arg1 
= (wxIconLocation 
*) 0 ; 
5782     PyObject 
* obj0 
= 0 ; 
5784         (char *) "self", NULL 
 
5787     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_IconLocation",kwnames
,&obj0
)) goto fail
; 
5788     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_EXCEPTION 
| 0); 
5789     if (SWIG_arg_fail(1)) SWIG_fail
; 
5791         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5794         wxPyEndAllowThreads(__tstate
); 
5795         if (PyErr_Occurred()) SWIG_fail
; 
5797     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
5804 static PyObject 
*_wrap_IconLocation_IsOk(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5805     PyObject 
*resultobj
; 
5806     wxIconLocation 
*arg1 
= (wxIconLocation 
*) 0 ; 
5808     PyObject 
* obj0 
= 0 ; 
5810         (char *) "self", NULL 
 
5813     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_IsOk",kwnames
,&obj0
)) goto fail
; 
5814     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_EXCEPTION 
| 0); 
5815     if (SWIG_arg_fail(1)) SWIG_fail
; 
5817         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5818         result 
= (bool)((wxIconLocation 
const *)arg1
)->IsOk(); 
5820         wxPyEndAllowThreads(__tstate
); 
5821         if (PyErr_Occurred()) SWIG_fail
; 
5824         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
5832 static PyObject 
*_wrap_IconLocation_SetFileName(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5833     PyObject 
*resultobj
; 
5834     wxIconLocation 
*arg1 
= (wxIconLocation 
*) 0 ; 
5835     wxString 
*arg2 
= 0 ; 
5836     bool temp2 
= false ; 
5837     PyObject 
* obj0 
= 0 ; 
5838     PyObject 
* obj1 
= 0 ; 
5840         (char *) "self",(char *) "filename", NULL 
 
5843     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetFileName",kwnames
,&obj0
,&obj1
)) goto fail
; 
5844     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_EXCEPTION 
| 0); 
5845     if (SWIG_arg_fail(1)) SWIG_fail
; 
5847         arg2 
= wxString_in_helper(obj1
); 
5848         if (arg2 
== NULL
) SWIG_fail
; 
5852         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5853         (arg1
)->SetFileName((wxString 
const &)*arg2
); 
5855         wxPyEndAllowThreads(__tstate
); 
5856         if (PyErr_Occurred()) SWIG_fail
; 
5858     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
5873 static PyObject 
*_wrap_IconLocation_GetFileName(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5874     PyObject 
*resultobj
; 
5875     wxIconLocation 
*arg1 
= (wxIconLocation 
*) 0 ; 
5877     PyObject 
* obj0 
= 0 ; 
5879         (char *) "self", NULL 
 
5882     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_GetFileName",kwnames
,&obj0
)) goto fail
; 
5883     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_EXCEPTION 
| 0); 
5884     if (SWIG_arg_fail(1)) SWIG_fail
; 
5886         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5888             wxString 
const &_result_ref 
= ((wxIconLocation 
const *)arg1
)->GetFileName(); 
5889             result 
= (wxString 
*) &_result_ref
; 
5892         wxPyEndAllowThreads(__tstate
); 
5893         if (PyErr_Occurred()) SWIG_fail
; 
5897         resultobj 
= PyUnicode_FromWideChar(result
->c_str(), result
->Len()); 
5899         resultobj 
= PyString_FromStringAndSize(result
->c_str(), result
->Len()); 
5908 static PyObject 
*_wrap_IconLocation_SetIndex(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5909     PyObject 
*resultobj
; 
5910     wxIconLocation 
*arg1 
= (wxIconLocation 
*) 0 ; 
5912     PyObject 
* obj0 
= 0 ; 
5913     PyObject 
* obj1 
= 0 ; 
5915         (char *) "self",(char *) "num", NULL 
 
5918     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetIndex",kwnames
,&obj0
,&obj1
)) goto fail
; 
5919     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_EXCEPTION 
| 0); 
5920     if (SWIG_arg_fail(1)) SWIG_fail
; 
5922         arg2 
= (int)(SWIG_As_int(obj1
));  
5923         if (SWIG_arg_fail(2)) SWIG_fail
; 
5926         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5927         wxIconLocation_SetIndex(arg1
,arg2
); 
5929         wxPyEndAllowThreads(__tstate
); 
5930         if (PyErr_Occurred()) SWIG_fail
; 
5932     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
5939 static PyObject 
*_wrap_IconLocation_GetIndex(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5940     PyObject 
*resultobj
; 
5941     wxIconLocation 
*arg1 
= (wxIconLocation 
*) 0 ; 
5943     PyObject 
* obj0 
= 0 ; 
5945         (char *) "self", NULL 
 
5948     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_GetIndex",kwnames
,&obj0
)) goto fail
; 
5949     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_EXCEPTION 
| 0); 
5950     if (SWIG_arg_fail(1)) SWIG_fail
; 
5952         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5953         result 
= (int)wxIconLocation_GetIndex(arg1
); 
5955         wxPyEndAllowThreads(__tstate
); 
5956         if (PyErr_Occurred()) SWIG_fail
; 
5959         resultobj 
= SWIG_From_int((int)(result
));  
5967 static PyObject 
* IconLocation_swigregister(PyObject 
*, PyObject 
*args
) { 
5969     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
5970     SWIG_TypeClientData(SWIGTYPE_p_wxIconLocation
, obj
); 
5972     return Py_BuildValue((char *)""); 
5974 static PyObject 
*_wrap_new_IconBundle(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5975     PyObject 
*resultobj
; 
5976     wxIconBundle 
*result
; 
5981     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_IconBundle",kwnames
)) goto fail
; 
5983         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5984         result 
= (wxIconBundle 
*)new wxIconBundle(); 
5986         wxPyEndAllowThreads(__tstate
); 
5987         if (PyErr_Occurred()) SWIG_fail
; 
5989     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconBundle
, 1); 
5996 static PyObject 
*_wrap_new_IconBundleFromFile(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
5997     PyObject 
*resultobj
; 
5998     wxString 
*arg1 
= 0 ; 
6000     wxIconBundle 
*result
; 
6001     bool temp1 
= false ; 
6002     PyObject 
* obj0 
= 0 ; 
6003     PyObject 
* obj1 
= 0 ; 
6005         (char *) "file",(char *) "type", NULL 
 
6008     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_IconBundleFromFile",kwnames
,&obj0
,&obj1
)) goto fail
; 
6010         arg1 
= wxString_in_helper(obj0
); 
6011         if (arg1 
== NULL
) SWIG_fail
; 
6015         arg2 
= (long)(SWIG_As_long(obj1
));  
6016         if (SWIG_arg_fail(2)) SWIG_fail
; 
6019         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6020         result 
= (wxIconBundle 
*)new wxIconBundle((wxString 
const &)*arg1
,arg2
); 
6022         wxPyEndAllowThreads(__tstate
); 
6023         if (PyErr_Occurred()) SWIG_fail
; 
6025     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconBundle
, 1); 
6040 static PyObject 
*_wrap_new_IconBundleFromIcon(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6041     PyObject 
*resultobj
; 
6043     wxIconBundle 
*result
; 
6044     PyObject 
* obj0 
= 0 ; 
6046         (char *) "icon", NULL 
 
6049     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconBundleFromIcon",kwnames
,&obj0
)) goto fail
; 
6051         SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION 
| 0); 
6052         if (SWIG_arg_fail(1)) SWIG_fail
; 
6054             SWIG_null_ref("wxIcon"); 
6056         if (SWIG_arg_fail(1)) SWIG_fail
; 
6059         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6060         result 
= (wxIconBundle 
*)new wxIconBundle((wxIcon 
const &)*arg1
); 
6062         wxPyEndAllowThreads(__tstate
); 
6063         if (PyErr_Occurred()) SWIG_fail
; 
6065     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconBundle
, 1); 
6072 static PyObject 
*_wrap_delete_IconBundle(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6073     PyObject 
*resultobj
; 
6074     wxIconBundle 
*arg1 
= (wxIconBundle 
*) 0 ; 
6075     PyObject 
* obj0 
= 0 ; 
6077         (char *) "self", NULL 
 
6080     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_IconBundle",kwnames
,&obj0
)) goto fail
; 
6081     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_EXCEPTION 
| 0); 
6082     if (SWIG_arg_fail(1)) SWIG_fail
; 
6084         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6087         wxPyEndAllowThreads(__tstate
); 
6088         if (PyErr_Occurred()) SWIG_fail
; 
6090     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
6097 static PyObject 
*_wrap_IconBundle_AddIcon(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6098     PyObject 
*resultobj
; 
6099     wxIconBundle 
*arg1 
= (wxIconBundle 
*) 0 ; 
6101     PyObject 
* obj0 
= 0 ; 
6102     PyObject 
* obj1 
= 0 ; 
6104         (char *) "self",(char *) "icon", NULL 
 
6107     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_AddIcon",kwnames
,&obj0
,&obj1
)) goto fail
; 
6108     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_EXCEPTION 
| 0); 
6109     if (SWIG_arg_fail(1)) SWIG_fail
; 
6111         SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION 
| 0); 
6112         if (SWIG_arg_fail(2)) SWIG_fail
; 
6114             SWIG_null_ref("wxIcon"); 
6116         if (SWIG_arg_fail(2)) SWIG_fail
; 
6119         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6120         (arg1
)->AddIcon((wxIcon 
const &)*arg2
); 
6122         wxPyEndAllowThreads(__tstate
); 
6123         if (PyErr_Occurred()) SWIG_fail
; 
6125     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
6132 static PyObject 
*_wrap_IconBundle_AddIconFromFile(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6133     PyObject 
*resultobj
; 
6134     wxIconBundle 
*arg1 
= (wxIconBundle 
*) 0 ; 
6135     wxString 
*arg2 
= 0 ; 
6137     bool temp2 
= false ; 
6138     PyObject 
* obj0 
= 0 ; 
6139     PyObject 
* obj1 
= 0 ; 
6140     PyObject 
* obj2 
= 0 ; 
6142         (char *) "self",(char *) "file",(char *) "type", NULL 
 
6145     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IconBundle_AddIconFromFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
6146     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_EXCEPTION 
| 0); 
6147     if (SWIG_arg_fail(1)) SWIG_fail
; 
6149         arg2 
= wxString_in_helper(obj1
); 
6150         if (arg2 
== NULL
) SWIG_fail
; 
6154         arg3 
= (long)(SWIG_As_long(obj2
));  
6155         if (SWIG_arg_fail(3)) SWIG_fail
; 
6158         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6159         (arg1
)->AddIcon((wxString 
const &)*arg2
,arg3
); 
6161         wxPyEndAllowThreads(__tstate
); 
6162         if (PyErr_Occurred()) SWIG_fail
; 
6164     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
6179 static PyObject 
*_wrap_IconBundle_GetIcon(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6180     PyObject 
*resultobj
; 
6181     wxIconBundle 
*arg1 
= (wxIconBundle 
*) 0 ; 
6185     PyObject 
* obj0 
= 0 ; 
6186     PyObject 
* obj1 
= 0 ; 
6188         (char *) "self",(char *) "size", NULL 
 
6191     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_GetIcon",kwnames
,&obj0
,&obj1
)) goto fail
; 
6192     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_EXCEPTION 
| 0); 
6193     if (SWIG_arg_fail(1)) SWIG_fail
; 
6196         if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
; 
6199         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6201             wxIcon 
const &_result_ref 
= ((wxIconBundle 
const *)arg1
)->GetIcon((wxSize 
const &)*arg2
); 
6202             result 
= (wxIcon 
*) &_result_ref
; 
6205         wxPyEndAllowThreads(__tstate
); 
6206         if (PyErr_Occurred()) SWIG_fail
; 
6209         wxIcon
* resultptr 
= new wxIcon(*result
); 
6210         resultobj 
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxIcon
, 1); 
6218 static PyObject 
* IconBundle_swigregister(PyObject 
*, PyObject 
*args
) { 
6220     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
6221     SWIG_TypeClientData(SWIGTYPE_p_wxIconBundle
, obj
); 
6223     return Py_BuildValue((char *)""); 
6225 static PyObject 
*_wrap_new_Cursor(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6226     PyObject 
*resultobj
; 
6227     wxString 
*arg1 
= 0 ; 
6229     int arg3 
= (int) 0 ; 
6230     int arg4 
= (int) 0 ; 
6232     bool temp1 
= false ; 
6233     PyObject 
* obj0 
= 0 ; 
6234     PyObject 
* obj1 
= 0 ; 
6235     PyObject 
* obj2 
= 0 ; 
6236     PyObject 
* obj3 
= 0 ; 
6238         (char *) "cursorName",(char *) "type",(char *) "hotSpotX",(char *) "hotSpotY", NULL 
 
6241     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Cursor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
6243         arg1 
= wxString_in_helper(obj0
); 
6244         if (arg1 
== NULL
) SWIG_fail
; 
6248         arg2 
= (long)(SWIG_As_long(obj1
));  
6249         if (SWIG_arg_fail(2)) SWIG_fail
; 
6253             arg3 
= (int)(SWIG_As_int(obj2
));  
6254             if (SWIG_arg_fail(3)) SWIG_fail
; 
6259             arg4 
= (int)(SWIG_As_int(obj3
));  
6260             if (SWIG_arg_fail(4)) SWIG_fail
; 
6264         if (!wxPyCheckForApp()) SWIG_fail
; 
6265         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6266         result 
= (wxCursor 
*)new_wxCursor((wxString 
const &)*arg1
,arg2
,arg3
,arg4
); 
6268         wxPyEndAllowThreads(__tstate
); 
6269         if (PyErr_Occurred()) SWIG_fail
; 
6271     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCursor
, 1); 
6286 static PyObject 
*_wrap_delete_Cursor(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6287     PyObject 
*resultobj
; 
6288     wxCursor 
*arg1 
= (wxCursor 
*) 0 ; 
6289     PyObject 
* obj0 
= 0 ; 
6291         (char *) "self", NULL 
 
6294     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Cursor",kwnames
,&obj0
)) goto fail
; 
6295     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION 
| 0); 
6296     if (SWIG_arg_fail(1)) SWIG_fail
; 
6298         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6301         wxPyEndAllowThreads(__tstate
); 
6302         if (PyErr_Occurred()) SWIG_fail
; 
6304     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
6311 static PyObject 
*_wrap_new_StockCursor(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6312     PyObject 
*resultobj
; 
6315     PyObject 
* obj0 
= 0 ; 
6320     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_StockCursor",kwnames
,&obj0
)) goto fail
; 
6322         arg1 
= (int)(SWIG_As_int(obj0
));  
6323         if (SWIG_arg_fail(1)) SWIG_fail
; 
6326         if (!wxPyCheckForApp()) SWIG_fail
; 
6327         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6328         result 
= (wxCursor 
*)new wxCursor(arg1
); 
6330         wxPyEndAllowThreads(__tstate
); 
6331         if (PyErr_Occurred()) SWIG_fail
; 
6333     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCursor
, 1); 
6340 static PyObject 
*_wrap_new_CursorFromImage(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6341     PyObject 
*resultobj
; 
6344     PyObject 
* obj0 
= 0 ; 
6346         (char *) "image", NULL 
 
6349     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CursorFromImage",kwnames
,&obj0
)) goto fail
; 
6351         SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION 
| 0); 
6352         if (SWIG_arg_fail(1)) SWIG_fail
; 
6354             SWIG_null_ref("wxImage"); 
6356         if (SWIG_arg_fail(1)) SWIG_fail
; 
6359         if (!wxPyCheckForApp()) SWIG_fail
; 
6360         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6361         result 
= (wxCursor 
*)new wxCursor((wxImage 
const &)*arg1
); 
6363         wxPyEndAllowThreads(__tstate
); 
6364         if (PyErr_Occurred()) SWIG_fail
; 
6366     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCursor
, 1); 
6373 static PyObject 
*_wrap_Cursor_GetHandle(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6374     PyObject 
*resultobj
; 
6375     wxCursor 
*arg1 
= (wxCursor 
*) 0 ; 
6377     PyObject 
* obj0 
= 0 ; 
6379         (char *) "self", NULL 
 
6382     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Cursor_GetHandle",kwnames
,&obj0
)) goto fail
; 
6383     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION 
| 0); 
6384     if (SWIG_arg_fail(1)) SWIG_fail
; 
6386         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6387         result 
= (long)(arg1
)->GetHandle(); 
6389         wxPyEndAllowThreads(__tstate
); 
6390         if (PyErr_Occurred()) SWIG_fail
; 
6393         resultobj 
= SWIG_From_long((long)(result
));  
6401 static PyObject 
*_wrap_Cursor_SetHandle(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6402     PyObject 
*resultobj
; 
6403     wxCursor 
*arg1 
= (wxCursor 
*) 0 ; 
6405     PyObject 
* obj0 
= 0 ; 
6406     PyObject 
* obj1 
= 0 ; 
6408         (char *) "self",(char *) "handle", NULL 
 
6411     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetHandle",kwnames
,&obj0
,&obj1
)) goto fail
; 
6412     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION 
| 0); 
6413     if (SWIG_arg_fail(1)) SWIG_fail
; 
6415         arg2 
= (long)(SWIG_As_long(obj1
));  
6416         if (SWIG_arg_fail(2)) SWIG_fail
; 
6419         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6420         wxCursor_SetHandle(arg1
,arg2
); 
6422         wxPyEndAllowThreads(__tstate
); 
6423         if (PyErr_Occurred()) SWIG_fail
; 
6425     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
6432 static PyObject 
*_wrap_Cursor_Ok(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6433     PyObject 
*resultobj
; 
6434     wxCursor 
*arg1 
= (wxCursor 
*) 0 ; 
6436     PyObject 
* obj0 
= 0 ; 
6438         (char *) "self", NULL 
 
6441     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Cursor_Ok",kwnames
,&obj0
)) goto fail
; 
6442     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION 
| 0); 
6443     if (SWIG_arg_fail(1)) SWIG_fail
; 
6445         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6446         result 
= (bool)(arg1
)->Ok(); 
6448         wxPyEndAllowThreads(__tstate
); 
6449         if (PyErr_Occurred()) SWIG_fail
; 
6452         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
6460 static PyObject 
*_wrap_Cursor_GetWidth(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6461     PyObject 
*resultobj
; 
6462     wxCursor 
*arg1 
= (wxCursor 
*) 0 ; 
6464     PyObject 
* obj0 
= 0 ; 
6466         (char *) "self", NULL 
 
6469     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Cursor_GetWidth",kwnames
,&obj0
)) goto fail
; 
6470     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION 
| 0); 
6471     if (SWIG_arg_fail(1)) SWIG_fail
; 
6473         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6474         result 
= (int)(arg1
)->GetWidth(); 
6476         wxPyEndAllowThreads(__tstate
); 
6477         if (PyErr_Occurred()) SWIG_fail
; 
6480         resultobj 
= SWIG_From_int((int)(result
));  
6488 static PyObject 
*_wrap_Cursor_GetHeight(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6489     PyObject 
*resultobj
; 
6490     wxCursor 
*arg1 
= (wxCursor 
*) 0 ; 
6492     PyObject 
* obj0 
= 0 ; 
6494         (char *) "self", NULL 
 
6497     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Cursor_GetHeight",kwnames
,&obj0
)) goto fail
; 
6498     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION 
| 0); 
6499     if (SWIG_arg_fail(1)) SWIG_fail
; 
6501         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6502         result 
= (int)(arg1
)->GetHeight(); 
6504         wxPyEndAllowThreads(__tstate
); 
6505         if (PyErr_Occurred()) SWIG_fail
; 
6508         resultobj 
= SWIG_From_int((int)(result
));  
6516 static PyObject 
*_wrap_Cursor_GetDepth(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6517     PyObject 
*resultobj
; 
6518     wxCursor 
*arg1 
= (wxCursor 
*) 0 ; 
6520     PyObject 
* obj0 
= 0 ; 
6522         (char *) "self", NULL 
 
6525     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Cursor_GetDepth",kwnames
,&obj0
)) goto fail
; 
6526     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION 
| 0); 
6527     if (SWIG_arg_fail(1)) SWIG_fail
; 
6529         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6530         result 
= (int)(arg1
)->GetDepth(); 
6532         wxPyEndAllowThreads(__tstate
); 
6533         if (PyErr_Occurred()) SWIG_fail
; 
6536         resultobj 
= SWIG_From_int((int)(result
));  
6544 static PyObject 
*_wrap_Cursor_SetWidth(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6545     PyObject 
*resultobj
; 
6546     wxCursor 
*arg1 
= (wxCursor 
*) 0 ; 
6548     PyObject 
* obj0 
= 0 ; 
6549     PyObject 
* obj1 
= 0 ; 
6551         (char *) "self",(char *) "w", NULL 
 
6554     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
; 
6555     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION 
| 0); 
6556     if (SWIG_arg_fail(1)) SWIG_fail
; 
6558         arg2 
= (int)(SWIG_As_int(obj1
));  
6559         if (SWIG_arg_fail(2)) SWIG_fail
; 
6562         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6563         (arg1
)->SetWidth(arg2
); 
6565         wxPyEndAllowThreads(__tstate
); 
6566         if (PyErr_Occurred()) SWIG_fail
; 
6568     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
6575 static PyObject 
*_wrap_Cursor_SetHeight(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6576     PyObject 
*resultobj
; 
6577     wxCursor 
*arg1 
= (wxCursor 
*) 0 ; 
6579     PyObject 
* obj0 
= 0 ; 
6580     PyObject 
* obj1 
= 0 ; 
6582         (char *) "self",(char *) "h", NULL 
 
6585     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
; 
6586     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION 
| 0); 
6587     if (SWIG_arg_fail(1)) SWIG_fail
; 
6589         arg2 
= (int)(SWIG_As_int(obj1
));  
6590         if (SWIG_arg_fail(2)) SWIG_fail
; 
6593         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6594         (arg1
)->SetHeight(arg2
); 
6596         wxPyEndAllowThreads(__tstate
); 
6597         if (PyErr_Occurred()) SWIG_fail
; 
6599     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
6606 static PyObject 
*_wrap_Cursor_SetDepth(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6607     PyObject 
*resultobj
; 
6608     wxCursor 
*arg1 
= (wxCursor 
*) 0 ; 
6610     PyObject 
* obj0 
= 0 ; 
6611     PyObject 
* obj1 
= 0 ; 
6613         (char *) "self",(char *) "d", NULL 
 
6616     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetDepth",kwnames
,&obj0
,&obj1
)) goto fail
; 
6617     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION 
| 0); 
6618     if (SWIG_arg_fail(1)) SWIG_fail
; 
6620         arg2 
= (int)(SWIG_As_int(obj1
));  
6621         if (SWIG_arg_fail(2)) SWIG_fail
; 
6624         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6625         (arg1
)->SetDepth(arg2
); 
6627         wxPyEndAllowThreads(__tstate
); 
6628         if (PyErr_Occurred()) SWIG_fail
; 
6630     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
6637 static PyObject 
*_wrap_Cursor_SetSize(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6638     PyObject 
*resultobj
; 
6639     wxCursor 
*arg1 
= (wxCursor 
*) 0 ; 
6642     PyObject 
* obj0 
= 0 ; 
6643     PyObject 
* obj1 
= 0 ; 
6645         (char *) "self",(char *) "size", NULL 
 
6648     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
; 
6649     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION 
| 0); 
6650     if (SWIG_arg_fail(1)) SWIG_fail
; 
6653         if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
; 
6656         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6657         (arg1
)->SetSize((wxSize 
const &)*arg2
); 
6659         wxPyEndAllowThreads(__tstate
); 
6660         if (PyErr_Occurred()) SWIG_fail
; 
6662     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
6669 static PyObject 
* Cursor_swigregister(PyObject 
*, PyObject 
*args
) { 
6671     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
6672     SWIG_TypeClientData(SWIGTYPE_p_wxCursor
, obj
); 
6674     return Py_BuildValue((char *)""); 
6676 static PyObject 
*_wrap_new_Region(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6677     PyObject 
*resultobj
; 
6678     int arg1 
= (int) 0 ; 
6679     int arg2 
= (int) 0 ; 
6680     int arg3 
= (int) 0 ; 
6681     int arg4 
= (int) 0 ; 
6683     PyObject 
* obj0 
= 0 ; 
6684     PyObject 
* obj1 
= 0 ; 
6685     PyObject 
* obj2 
= 0 ; 
6686     PyObject 
* obj3 
= 0 ; 
6688         (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL 
 
6691     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Region",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
6694             arg1 
= (int)(SWIG_As_int(obj0
));  
6695             if (SWIG_arg_fail(1)) SWIG_fail
; 
6700             arg2 
= (int)(SWIG_As_int(obj1
));  
6701             if (SWIG_arg_fail(2)) SWIG_fail
; 
6706             arg3 
= (int)(SWIG_As_int(obj2
));  
6707             if (SWIG_arg_fail(3)) SWIG_fail
; 
6712             arg4 
= (int)(SWIG_As_int(obj3
));  
6713             if (SWIG_arg_fail(4)) SWIG_fail
; 
6717         if (!wxPyCheckForApp()) SWIG_fail
; 
6718         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6719         result 
= (wxRegion 
*)new wxRegion(arg1
,arg2
,arg3
,arg4
); 
6721         wxPyEndAllowThreads(__tstate
); 
6722         if (PyErr_Occurred()) SWIG_fail
; 
6724     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1); 
6731 static PyObject 
*_wrap_new_RegionFromBitmap(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6732     PyObject 
*resultobj
; 
6733     wxBitmap 
*arg1 
= 0 ; 
6735     PyObject 
* obj0 
= 0 ; 
6737         (char *) "bmp", NULL 
 
6740     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionFromBitmap",kwnames
,&obj0
)) goto fail
; 
6742         SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION 
| 0); 
6743         if (SWIG_arg_fail(1)) SWIG_fail
; 
6745             SWIG_null_ref("wxBitmap"); 
6747         if (SWIG_arg_fail(1)) SWIG_fail
; 
6750         if (!wxPyCheckForApp()) SWIG_fail
; 
6751         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6752         result 
= (wxRegion 
*)new wxRegion((wxBitmap 
const &)*arg1
); 
6754         wxPyEndAllowThreads(__tstate
); 
6755         if (PyErr_Occurred()) SWIG_fail
; 
6757     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1); 
6764 static PyObject 
*_wrap_new_RegionFromBitmapColour(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6765     PyObject 
*resultobj
; 
6766     wxBitmap 
*arg1 
= 0 ; 
6767     wxColour 
*arg2 
= 0 ; 
6768     int arg3 
= (int) 0 ; 
6771     PyObject 
* obj0 
= 0 ; 
6772     PyObject 
* obj1 
= 0 ; 
6773     PyObject 
* obj2 
= 0 ; 
6775         (char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL 
 
6778     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_RegionFromBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
6780         SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION 
| 0); 
6781         if (SWIG_arg_fail(1)) SWIG_fail
; 
6783             SWIG_null_ref("wxBitmap"); 
6785         if (SWIG_arg_fail(1)) SWIG_fail
; 
6789         if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
6793             arg3 
= (int)(SWIG_As_int(obj2
));  
6794             if (SWIG_arg_fail(3)) SWIG_fail
; 
6798         if (!wxPyCheckForApp()) SWIG_fail
; 
6799         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6800         result 
= (wxRegion 
*)new wxRegion((wxBitmap 
const &)*arg1
,(wxColour 
const &)*arg2
,arg3
); 
6802         wxPyEndAllowThreads(__tstate
); 
6803         if (PyErr_Occurred()) SWIG_fail
; 
6805     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1); 
6812 static PyObject 
*_wrap_new_RegionFromPoints(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6813     PyObject 
*resultobj
; 
6815     wxPoint 
*arg2 
= (wxPoint 
*) 0 ; 
6816     int arg3 
= (int) wxWINDING_RULE 
; 
6818     PyObject 
* obj0 
= 0 ; 
6819     PyObject 
* obj1 
= 0 ; 
6821         (char *) "points",(char *) "fillStyle", NULL 
 
6824     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_RegionFromPoints",kwnames
,&obj0
,&obj1
)) goto fail
; 
6826         arg2 
= wxPoint_LIST_helper(obj0
, &arg1
); 
6827         if (arg2 
== NULL
) SWIG_fail
; 
6831             arg3 
= (int)(SWIG_As_int(obj1
));  
6832             if (SWIG_arg_fail(3)) SWIG_fail
; 
6836         if (!wxPyCheckForApp()) SWIG_fail
; 
6837         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6838         result 
= (wxRegion 
*)new wxRegion(arg1
,arg2
,arg3
); 
6840         wxPyEndAllowThreads(__tstate
); 
6841         if (PyErr_Occurred()) SWIG_fail
; 
6843     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1); 
6845         if (arg2
) delete [] arg2
; 
6850         if (arg2
) delete [] arg2
; 
6856 static PyObject 
*_wrap_delete_Region(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6857     PyObject 
*resultobj
; 
6858     wxRegion 
*arg1 
= (wxRegion 
*) 0 ; 
6859     PyObject 
* obj0 
= 0 ; 
6861         (char *) "self", NULL 
 
6864     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Region",kwnames
,&obj0
)) goto fail
; 
6865     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION 
| 0); 
6866     if (SWIG_arg_fail(1)) SWIG_fail
; 
6868         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6871         wxPyEndAllowThreads(__tstate
); 
6872         if (PyErr_Occurred()) SWIG_fail
; 
6874     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
6881 static PyObject 
*_wrap_Region_Clear(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6882     PyObject 
*resultobj
; 
6883     wxRegion 
*arg1 
= (wxRegion 
*) 0 ; 
6884     PyObject 
* obj0 
= 0 ; 
6886         (char *) "self", NULL 
 
6889     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_Clear",kwnames
,&obj0
)) goto fail
; 
6890     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION 
| 0); 
6891     if (SWIG_arg_fail(1)) SWIG_fail
; 
6893         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6896         wxPyEndAllowThreads(__tstate
); 
6897         if (PyErr_Occurred()) SWIG_fail
; 
6899     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
6906 static PyObject 
*_wrap_Region_Offset(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6907     PyObject 
*resultobj
; 
6908     wxRegion 
*arg1 
= (wxRegion 
*) 0 ; 
6912     PyObject 
* obj0 
= 0 ; 
6913     PyObject 
* obj1 
= 0 ; 
6914     PyObject 
* obj2 
= 0 ; 
6916         (char *) "self",(char *) "x",(char *) "y", NULL 
 
6919     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Offset",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
6920     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION 
| 0); 
6921     if (SWIG_arg_fail(1)) SWIG_fail
; 
6923         arg2 
= (int)(SWIG_As_int(obj1
));  
6924         if (SWIG_arg_fail(2)) SWIG_fail
; 
6927         arg3 
= (int)(SWIG_As_int(obj2
));  
6928         if (SWIG_arg_fail(3)) SWIG_fail
; 
6931         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6932         result 
= (bool)(arg1
)->Offset(arg2
,arg3
); 
6934         wxPyEndAllowThreads(__tstate
); 
6935         if (PyErr_Occurred()) SWIG_fail
; 
6938         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
6946 static PyObject 
*_wrap_Region_Contains(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6947     PyObject 
*resultobj
; 
6948     wxRegion 
*arg1 
= (wxRegion 
*) 0 ; 
6951     wxRegionContain result
; 
6952     PyObject 
* obj0 
= 0 ; 
6953     PyObject 
* obj1 
= 0 ; 
6954     PyObject 
* obj2 
= 0 ; 
6956         (char *) "self",(char *) "x",(char *) "y", NULL 
 
6959     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Contains",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
6960     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION 
| 0); 
6961     if (SWIG_arg_fail(1)) SWIG_fail
; 
6963         arg2 
= (int)(SWIG_As_int(obj1
));  
6964         if (SWIG_arg_fail(2)) SWIG_fail
; 
6967         arg3 
= (int)(SWIG_As_int(obj2
));  
6968         if (SWIG_arg_fail(3)) SWIG_fail
; 
6971         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6972         result 
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
); 
6974         wxPyEndAllowThreads(__tstate
); 
6975         if (PyErr_Occurred()) SWIG_fail
; 
6977     resultobj 
= SWIG_From_int((result
)); 
6984 static PyObject 
*_wrap_Region_ContainsPoint(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
6985     PyObject 
*resultobj
; 
6986     wxRegion 
*arg1 
= (wxRegion 
*) 0 ; 
6988     wxRegionContain result
; 
6990     PyObject 
* obj0 
= 0 ; 
6991     PyObject 
* obj1 
= 0 ; 
6993         (char *) "self",(char *) "pt", NULL 
 
6996     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsPoint",kwnames
,&obj0
,&obj1
)) goto fail
; 
6997     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION 
| 0); 
6998     if (SWIG_arg_fail(1)) SWIG_fail
; 
7001         if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
7004         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7005         result 
= (wxRegionContain
)(arg1
)->Contains((wxPoint 
const &)*arg2
); 
7007         wxPyEndAllowThreads(__tstate
); 
7008         if (PyErr_Occurred()) SWIG_fail
; 
7010     resultobj 
= SWIG_From_int((result
)); 
7017 static PyObject 
*_wrap_Region_ContainsRect(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7018     PyObject 
*resultobj
; 
7019     wxRegion 
*arg1 
= (wxRegion 
*) 0 ; 
7021     wxRegionContain result
; 
7023     PyObject 
* obj0 
= 0 ; 
7024     PyObject 
* obj1 
= 0 ; 
7026         (char *) "self",(char *) "rect", NULL 
 
7029     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsRect",kwnames
,&obj0
,&obj1
)) goto fail
; 
7030     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION 
| 0); 
7031     if (SWIG_arg_fail(1)) SWIG_fail
; 
7034         if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
; 
7037         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7038         result 
= (wxRegionContain
)(arg1
)->Contains((wxRect 
const &)*arg2
); 
7040         wxPyEndAllowThreads(__tstate
); 
7041         if (PyErr_Occurred()) SWIG_fail
; 
7043     resultobj 
= SWIG_From_int((result
)); 
7050 static PyObject 
*_wrap_Region_ContainsRectDim(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7051     PyObject 
*resultobj
; 
7052     wxRegion 
*arg1 
= (wxRegion 
*) 0 ; 
7057     wxRegionContain result
; 
7058     PyObject 
* obj0 
= 0 ; 
7059     PyObject 
* obj1 
= 0 ; 
7060     PyObject 
* obj2 
= 0 ; 
7061     PyObject 
* obj3 
= 0 ; 
7062     PyObject 
* obj4 
= 0 ; 
7064         (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL 
 
7067     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_ContainsRectDim",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
; 
7068     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION 
| 0); 
7069     if (SWIG_arg_fail(1)) SWIG_fail
; 
7071         arg2 
= (int)(SWIG_As_int(obj1
));  
7072         if (SWIG_arg_fail(2)) SWIG_fail
; 
7075         arg3 
= (int)(SWIG_As_int(obj2
));  
7076         if (SWIG_arg_fail(3)) SWIG_fail
; 
7079         arg4 
= (int)(SWIG_As_int(obj3
));  
7080         if (SWIG_arg_fail(4)) SWIG_fail
; 
7083         arg5 
= (int)(SWIG_As_int(obj4
));  
7084         if (SWIG_arg_fail(5)) SWIG_fail
; 
7087         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7088         result 
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
,arg4
,arg5
); 
7090         wxPyEndAllowThreads(__tstate
); 
7091         if (PyErr_Occurred()) SWIG_fail
; 
7093     resultobj 
= SWIG_From_int((result
)); 
7100 static PyObject 
*_wrap_Region_GetBox(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7101     PyObject 
*resultobj
; 
7102     wxRegion 
*arg1 
= (wxRegion 
*) 0 ; 
7104     PyObject 
* obj0 
= 0 ; 
7106         (char *) "self", NULL 
 
7109     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_GetBox",kwnames
,&obj0
)) goto fail
; 
7110     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION 
| 0); 
7111     if (SWIG_arg_fail(1)) SWIG_fail
; 
7113         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7114         result 
= (arg1
)->GetBox(); 
7116         wxPyEndAllowThreads(__tstate
); 
7117         if (PyErr_Occurred()) SWIG_fail
; 
7121         resultptr 
= new wxRect((wxRect 
&)(result
)); 
7122         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1); 
7130 static PyObject 
*_wrap_Region_Intersect(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7131     PyObject 
*resultobj
; 
7132     wxRegion 
*arg1 
= (wxRegion 
*) 0 ; 
7138     PyObject 
* obj0 
= 0 ; 
7139     PyObject 
* obj1 
= 0 ; 
7140     PyObject 
* obj2 
= 0 ; 
7141     PyObject 
* obj3 
= 0 ; 
7142     PyObject 
* obj4 
= 0 ; 
7144         (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL 
 
7147     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Intersect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
; 
7148     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION 
| 0); 
7149     if (SWIG_arg_fail(1)) SWIG_fail
; 
7151         arg2 
= (int)(SWIG_As_int(obj1
));  
7152         if (SWIG_arg_fail(2)) SWIG_fail
; 
7155         arg3 
= (int)(SWIG_As_int(obj2
));  
7156         if (SWIG_arg_fail(3)) SWIG_fail
; 
7159         arg4 
= (int)(SWIG_As_int(obj3
));  
7160         if (SWIG_arg_fail(4)) SWIG_fail
; 
7163         arg5 
= (int)(SWIG_As_int(obj4
));  
7164         if (SWIG_arg_fail(5)) SWIG_fail
; 
7167         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7168         result 
= (bool)(arg1
)->Intersect(arg2
,arg3
,arg4
,arg5
); 
7170         wxPyEndAllowThreads(__tstate
); 
7171         if (PyErr_Occurred()) SWIG_fail
; 
7174         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
7182 static PyObject 
*_wrap_Region_IntersectRect(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7183     PyObject 
*resultobj
; 
7184     wxRegion 
*arg1 
= (wxRegion 
*) 0 ; 
7188     PyObject 
* obj0 
= 0 ; 
7189     PyObject 
* obj1 
= 0 ; 
7191         (char *) "self",(char *) "rect", NULL 
 
7194     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRect",kwnames
,&obj0
,&obj1
)) goto fail
; 
7195     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION 
| 0); 
7196     if (SWIG_arg_fail(1)) SWIG_fail
; 
7199         if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
; 
7202         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7203         result 
= (bool)(arg1
)->Intersect((wxRect 
const &)*arg2
); 
7205         wxPyEndAllowThreads(__tstate
); 
7206         if (PyErr_Occurred()) SWIG_fail
; 
7209         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
7217 static PyObject 
*_wrap_Region_IntersectRegion(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7218     PyObject 
*resultobj
; 
7219     wxRegion 
*arg1 
= (wxRegion 
*) 0 ; 
7220     wxRegion 
*arg2 
= 0 ; 
7222     PyObject 
* obj0 
= 0 ; 
7223     PyObject 
* obj1 
= 0 ; 
7225         (char *) "self",(char *) "region", NULL 
 
7228     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRegion",kwnames
,&obj0
,&obj1
)) goto fail
; 
7229     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION 
| 0); 
7230     if (SWIG_arg_fail(1)) SWIG_fail
; 
7232         SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION 
| 0); 
7233         if (SWIG_arg_fail(2)) SWIG_fail
; 
7235             SWIG_null_ref("wxRegion"); 
7237         if (SWIG_arg_fail(2)) SWIG_fail
; 
7240         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7241         result 
= (bool)(arg1
)->Intersect((wxRegion 
const &)*arg2
); 
7243         wxPyEndAllowThreads(__tstate
); 
7244         if (PyErr_Occurred()) SWIG_fail
; 
7247         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
7255 static PyObject 
*_wrap_Region_IsEmpty(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7256     PyObject 
*resultobj
; 
7257     wxRegion 
*arg1 
= (wxRegion 
*) 0 ; 
7259     PyObject 
* obj0 
= 0 ; 
7261         (char *) "self", NULL 
 
7264     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_IsEmpty",kwnames
,&obj0
)) goto fail
; 
7265     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION 
| 0); 
7266     if (SWIG_arg_fail(1)) SWIG_fail
; 
7268         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7269         result 
= (bool)(arg1
)->IsEmpty(); 
7271         wxPyEndAllowThreads(__tstate
); 
7272         if (PyErr_Occurred()) SWIG_fail
; 
7275         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
7283 static PyObject 
*_wrap_Region_Union(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7284     PyObject 
*resultobj
; 
7285     wxRegion 
*arg1 
= (wxRegion 
*) 0 ; 
7291     PyObject 
* obj0 
= 0 ; 
7292     PyObject 
* obj1 
= 0 ; 
7293     PyObject 
* obj2 
= 0 ; 
7294     PyObject 
* obj3 
= 0 ; 
7295     PyObject 
* obj4 
= 0 ; 
7297         (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL 
 
7300     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Union",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
; 
7301     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION 
| 0); 
7302     if (SWIG_arg_fail(1)) SWIG_fail
; 
7304         arg2 
= (int)(SWIG_As_int(obj1
));  
7305         if (SWIG_arg_fail(2)) SWIG_fail
; 
7308         arg3 
= (int)(SWIG_As_int(obj2
));  
7309         if (SWIG_arg_fail(3)) SWIG_fail
; 
7312         arg4 
= (int)(SWIG_As_int(obj3
));  
7313         if (SWIG_arg_fail(4)) SWIG_fail
; 
7316         arg5 
= (int)(SWIG_As_int(obj4
));  
7317         if (SWIG_arg_fail(5)) SWIG_fail
; 
7320         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7321         result 
= (bool)(arg1
)->Union(arg2
,arg3
,arg4
,arg5
); 
7323         wxPyEndAllowThreads(__tstate
); 
7324         if (PyErr_Occurred()) SWIG_fail
; 
7327         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
7335 static PyObject 
*_wrap_Region_UnionRect(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7336     PyObject 
*resultobj
; 
7337     wxRegion 
*arg1 
= (wxRegion 
*) 0 ; 
7341     PyObject 
* obj0 
= 0 ; 
7342     PyObject 
* obj1 
= 0 ; 
7344         (char *) "self",(char *) "rect", NULL 
 
7347     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRect",kwnames
,&obj0
,&obj1
)) goto fail
; 
7348     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION 
| 0); 
7349     if (SWIG_arg_fail(1)) SWIG_fail
; 
7352         if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
; 
7355         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7356         result 
= (bool)(arg1
)->Union((wxRect 
const &)*arg2
); 
7358         wxPyEndAllowThreads(__tstate
); 
7359         if (PyErr_Occurred()) SWIG_fail
; 
7362         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
7370 static PyObject 
*_wrap_Region_UnionRegion(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7371     PyObject 
*resultobj
; 
7372     wxRegion 
*arg1 
= (wxRegion 
*) 0 ; 
7373     wxRegion 
*arg2 
= 0 ; 
7375     PyObject 
* obj0 
= 0 ; 
7376     PyObject 
* obj1 
= 0 ; 
7378         (char *) "self",(char *) "region", NULL 
 
7381     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRegion",kwnames
,&obj0
,&obj1
)) goto fail
; 
7382     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION 
| 0); 
7383     if (SWIG_arg_fail(1)) SWIG_fail
; 
7385         SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION 
| 0); 
7386         if (SWIG_arg_fail(2)) SWIG_fail
; 
7388             SWIG_null_ref("wxRegion"); 
7390         if (SWIG_arg_fail(2)) SWIG_fail
; 
7393         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7394         result 
= (bool)(arg1
)->Union((wxRegion 
const &)*arg2
); 
7396         wxPyEndAllowThreads(__tstate
); 
7397         if (PyErr_Occurred()) SWIG_fail
; 
7400         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
7408 static PyObject 
*_wrap_Region_Subtract(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7409     PyObject 
*resultobj
; 
7410     wxRegion 
*arg1 
= (wxRegion 
*) 0 ; 
7416     PyObject 
* obj0 
= 0 ; 
7417     PyObject 
* obj1 
= 0 ; 
7418     PyObject 
* obj2 
= 0 ; 
7419     PyObject 
* obj3 
= 0 ; 
7420     PyObject 
* obj4 
= 0 ; 
7422         (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL 
 
7425     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Subtract",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
; 
7426     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION 
| 0); 
7427     if (SWIG_arg_fail(1)) SWIG_fail
; 
7429         arg2 
= (int)(SWIG_As_int(obj1
));  
7430         if (SWIG_arg_fail(2)) SWIG_fail
; 
7433         arg3 
= (int)(SWIG_As_int(obj2
));  
7434         if (SWIG_arg_fail(3)) SWIG_fail
; 
7437         arg4 
= (int)(SWIG_As_int(obj3
));  
7438         if (SWIG_arg_fail(4)) SWIG_fail
; 
7441         arg5 
= (int)(SWIG_As_int(obj4
));  
7442         if (SWIG_arg_fail(5)) SWIG_fail
; 
7445         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7446         result 
= (bool)(arg1
)->Subtract(arg2
,arg3
,arg4
,arg5
); 
7448         wxPyEndAllowThreads(__tstate
); 
7449         if (PyErr_Occurred()) SWIG_fail
; 
7452         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
7460 static PyObject 
*_wrap_Region_SubtractRect(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7461     PyObject 
*resultobj
; 
7462     wxRegion 
*arg1 
= (wxRegion 
*) 0 ; 
7466     PyObject 
* obj0 
= 0 ; 
7467     PyObject 
* obj1 
= 0 ; 
7469         (char *) "self",(char *) "rect", NULL 
 
7472     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRect",kwnames
,&obj0
,&obj1
)) goto fail
; 
7473     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION 
| 0); 
7474     if (SWIG_arg_fail(1)) SWIG_fail
; 
7477         if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
; 
7480         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7481         result 
= (bool)(arg1
)->Subtract((wxRect 
const &)*arg2
); 
7483         wxPyEndAllowThreads(__tstate
); 
7484         if (PyErr_Occurred()) SWIG_fail
; 
7487         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
7495 static PyObject 
*_wrap_Region_SubtractRegion(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7496     PyObject 
*resultobj
; 
7497     wxRegion 
*arg1 
= (wxRegion 
*) 0 ; 
7498     wxRegion 
*arg2 
= 0 ; 
7500     PyObject 
* obj0 
= 0 ; 
7501     PyObject 
* obj1 
= 0 ; 
7503         (char *) "self",(char *) "region", NULL 
 
7506     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRegion",kwnames
,&obj0
,&obj1
)) goto fail
; 
7507     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION 
| 0); 
7508     if (SWIG_arg_fail(1)) SWIG_fail
; 
7510         SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION 
| 0); 
7511         if (SWIG_arg_fail(2)) SWIG_fail
; 
7513             SWIG_null_ref("wxRegion"); 
7515         if (SWIG_arg_fail(2)) SWIG_fail
; 
7518         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7519         result 
= (bool)(arg1
)->Subtract((wxRegion 
const &)*arg2
); 
7521         wxPyEndAllowThreads(__tstate
); 
7522         if (PyErr_Occurred()) SWIG_fail
; 
7525         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
7533 static PyObject 
*_wrap_Region_Xor(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7534     PyObject 
*resultobj
; 
7535     wxRegion 
*arg1 
= (wxRegion 
*) 0 ; 
7541     PyObject 
* obj0 
= 0 ; 
7542     PyObject 
* obj1 
= 0 ; 
7543     PyObject 
* obj2 
= 0 ; 
7544     PyObject 
* obj3 
= 0 ; 
7545     PyObject 
* obj4 
= 0 ; 
7547         (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL 
 
7550     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Xor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
; 
7551     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION 
| 0); 
7552     if (SWIG_arg_fail(1)) SWIG_fail
; 
7554         arg2 
= (int)(SWIG_As_int(obj1
));  
7555         if (SWIG_arg_fail(2)) SWIG_fail
; 
7558         arg3 
= (int)(SWIG_As_int(obj2
));  
7559         if (SWIG_arg_fail(3)) SWIG_fail
; 
7562         arg4 
= (int)(SWIG_As_int(obj3
));  
7563         if (SWIG_arg_fail(4)) SWIG_fail
; 
7566         arg5 
= (int)(SWIG_As_int(obj4
));  
7567         if (SWIG_arg_fail(5)) SWIG_fail
; 
7570         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7571         result 
= (bool)(arg1
)->Xor(arg2
,arg3
,arg4
,arg5
); 
7573         wxPyEndAllowThreads(__tstate
); 
7574         if (PyErr_Occurred()) SWIG_fail
; 
7577         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
7585 static PyObject 
*_wrap_Region_XorRect(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7586     PyObject 
*resultobj
; 
7587     wxRegion 
*arg1 
= (wxRegion 
*) 0 ; 
7591     PyObject 
* obj0 
= 0 ; 
7592     PyObject 
* obj1 
= 0 ; 
7594         (char *) "self",(char *) "rect", NULL 
 
7597     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRect",kwnames
,&obj0
,&obj1
)) goto fail
; 
7598     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION 
| 0); 
7599     if (SWIG_arg_fail(1)) SWIG_fail
; 
7602         if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
; 
7605         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7606         result 
= (bool)(arg1
)->Xor((wxRect 
const &)*arg2
); 
7608         wxPyEndAllowThreads(__tstate
); 
7609         if (PyErr_Occurred()) SWIG_fail
; 
7612         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
7620 static PyObject 
*_wrap_Region_XorRegion(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7621     PyObject 
*resultobj
; 
7622     wxRegion 
*arg1 
= (wxRegion 
*) 0 ; 
7623     wxRegion 
*arg2 
= 0 ; 
7625     PyObject 
* obj0 
= 0 ; 
7626     PyObject 
* obj1 
= 0 ; 
7628         (char *) "self",(char *) "region", NULL 
 
7631     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRegion",kwnames
,&obj0
,&obj1
)) goto fail
; 
7632     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION 
| 0); 
7633     if (SWIG_arg_fail(1)) SWIG_fail
; 
7635         SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION 
| 0); 
7636         if (SWIG_arg_fail(2)) SWIG_fail
; 
7638             SWIG_null_ref("wxRegion"); 
7640         if (SWIG_arg_fail(2)) SWIG_fail
; 
7643         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7644         result 
= (bool)(arg1
)->Xor((wxRegion 
const &)*arg2
); 
7646         wxPyEndAllowThreads(__tstate
); 
7647         if (PyErr_Occurred()) SWIG_fail
; 
7650         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
7658 static PyObject 
*_wrap_Region_ConvertToBitmap(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7659     PyObject 
*resultobj
; 
7660     wxRegion 
*arg1 
= (wxRegion 
*) 0 ; 
7661     SwigValueWrapper
<wxBitmap 
> result
; 
7662     PyObject 
* obj0 
= 0 ; 
7664         (char *) "self", NULL 
 
7667     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_ConvertToBitmap",kwnames
,&obj0
)) goto fail
; 
7668     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION 
| 0); 
7669     if (SWIG_arg_fail(1)) SWIG_fail
; 
7671         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7672         result 
= (arg1
)->ConvertToBitmap(); 
7674         wxPyEndAllowThreads(__tstate
); 
7675         if (PyErr_Occurred()) SWIG_fail
; 
7678         wxBitmap 
* resultptr
; 
7679         resultptr 
= new wxBitmap((wxBitmap 
&)(result
)); 
7680         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1); 
7688 static PyObject 
*_wrap_Region_UnionBitmap(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7689     PyObject 
*resultobj
; 
7690     wxRegion 
*arg1 
= (wxRegion 
*) 0 ; 
7691     wxBitmap 
*arg2 
= 0 ; 
7693     PyObject 
* obj0 
= 0 ; 
7694     PyObject 
* obj1 
= 0 ; 
7696         (char *) "self",(char *) "bmp", NULL 
 
7699     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionBitmap",kwnames
,&obj0
,&obj1
)) goto fail
; 
7700     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION 
| 0); 
7701     if (SWIG_arg_fail(1)) SWIG_fail
; 
7703         SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION 
| 0); 
7704         if (SWIG_arg_fail(2)) SWIG_fail
; 
7706             SWIG_null_ref("wxBitmap"); 
7708         if (SWIG_arg_fail(2)) SWIG_fail
; 
7711         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7712         result 
= (bool)(arg1
)->Union((wxBitmap 
const &)*arg2
); 
7714         wxPyEndAllowThreads(__tstate
); 
7715         if (PyErr_Occurred()) SWIG_fail
; 
7718         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
7726 static PyObject 
*_wrap_Region_UnionBitmapColour(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7727     PyObject 
*resultobj
; 
7728     wxRegion 
*arg1 
= (wxRegion 
*) 0 ; 
7729     wxBitmap 
*arg2 
= 0 ; 
7730     wxColour 
*arg3 
= 0 ; 
7731     int arg4 
= (int) 0 ; 
7734     PyObject 
* obj0 
= 0 ; 
7735     PyObject 
* obj1 
= 0 ; 
7736     PyObject 
* obj2 
= 0 ; 
7737     PyObject 
* obj3 
= 0 ; 
7739         (char *) "self",(char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL 
 
7742     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Region_UnionBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
7743     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION 
| 0); 
7744     if (SWIG_arg_fail(1)) SWIG_fail
; 
7746         SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION 
| 0); 
7747         if (SWIG_arg_fail(2)) SWIG_fail
; 
7749             SWIG_null_ref("wxBitmap"); 
7751         if (SWIG_arg_fail(2)) SWIG_fail
; 
7755         if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
; 
7759             arg4 
= (int)(SWIG_As_int(obj3
));  
7760             if (SWIG_arg_fail(4)) SWIG_fail
; 
7764         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7765         result 
= (bool)(arg1
)->Union((wxBitmap 
const &)*arg2
,(wxColour 
const &)*arg3
,arg4
); 
7767         wxPyEndAllowThreads(__tstate
); 
7768         if (PyErr_Occurred()) SWIG_fail
; 
7771         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
7779 static PyObject 
* Region_swigregister(PyObject 
*, PyObject 
*args
) { 
7781     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
7782     SWIG_TypeClientData(SWIGTYPE_p_wxRegion
, obj
); 
7784     return Py_BuildValue((char *)""); 
7786 static PyObject 
*_wrap_new_RegionIterator(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7787     PyObject 
*resultobj
; 
7788     wxRegion 
*arg1 
= 0 ; 
7789     wxRegionIterator 
*result
; 
7790     PyObject 
* obj0 
= 0 ; 
7792         (char *) "region", NULL 
 
7795     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionIterator",kwnames
,&obj0
)) goto fail
; 
7797         SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION 
| 0); 
7798         if (SWIG_arg_fail(1)) SWIG_fail
; 
7800             SWIG_null_ref("wxRegion"); 
7802         if (SWIG_arg_fail(1)) SWIG_fail
; 
7805         if (!wxPyCheckForApp()) SWIG_fail
; 
7806         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7807         result 
= (wxRegionIterator 
*)new wxRegionIterator((wxRegion 
const &)*arg1
); 
7809         wxPyEndAllowThreads(__tstate
); 
7810         if (PyErr_Occurred()) SWIG_fail
; 
7812     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegionIterator
, 1); 
7819 static PyObject 
*_wrap_delete_RegionIterator(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7820     PyObject 
*resultobj
; 
7821     wxRegionIterator 
*arg1 
= (wxRegionIterator 
*) 0 ; 
7822     PyObject 
* obj0 
= 0 ; 
7824         (char *) "self", NULL 
 
7827     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_RegionIterator",kwnames
,&obj0
)) goto fail
; 
7828     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_EXCEPTION 
| 0); 
7829     if (SWIG_arg_fail(1)) SWIG_fail
; 
7831         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7834         wxPyEndAllowThreads(__tstate
); 
7835         if (PyErr_Occurred()) SWIG_fail
; 
7837     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
7844 static PyObject 
*_wrap_RegionIterator_GetX(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7845     PyObject 
*resultobj
; 
7846     wxRegionIterator 
*arg1 
= (wxRegionIterator 
*) 0 ; 
7848     PyObject 
* obj0 
= 0 ; 
7850         (char *) "self", NULL 
 
7853     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetX",kwnames
,&obj0
)) goto fail
; 
7854     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_EXCEPTION 
| 0); 
7855     if (SWIG_arg_fail(1)) SWIG_fail
; 
7857         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7858         result 
= (int)(arg1
)->GetX(); 
7860         wxPyEndAllowThreads(__tstate
); 
7861         if (PyErr_Occurred()) SWIG_fail
; 
7864         resultobj 
= SWIG_From_int((int)(result
));  
7872 static PyObject 
*_wrap_RegionIterator_GetY(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7873     PyObject 
*resultobj
; 
7874     wxRegionIterator 
*arg1 
= (wxRegionIterator 
*) 0 ; 
7876     PyObject 
* obj0 
= 0 ; 
7878         (char *) "self", NULL 
 
7881     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetY",kwnames
,&obj0
)) goto fail
; 
7882     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_EXCEPTION 
| 0); 
7883     if (SWIG_arg_fail(1)) SWIG_fail
; 
7885         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7886         result 
= (int)(arg1
)->GetY(); 
7888         wxPyEndAllowThreads(__tstate
); 
7889         if (PyErr_Occurred()) SWIG_fail
; 
7892         resultobj 
= SWIG_From_int((int)(result
));  
7900 static PyObject 
*_wrap_RegionIterator_GetW(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7901     PyObject 
*resultobj
; 
7902     wxRegionIterator 
*arg1 
= (wxRegionIterator 
*) 0 ; 
7904     PyObject 
* obj0 
= 0 ; 
7906         (char *) "self", NULL 
 
7909     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetW",kwnames
,&obj0
)) goto fail
; 
7910     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_EXCEPTION 
| 0); 
7911     if (SWIG_arg_fail(1)) SWIG_fail
; 
7913         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7914         result 
= (int)(arg1
)->GetW(); 
7916         wxPyEndAllowThreads(__tstate
); 
7917         if (PyErr_Occurred()) SWIG_fail
; 
7920         resultobj 
= SWIG_From_int((int)(result
));  
7928 static PyObject 
*_wrap_RegionIterator_GetWidth(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7929     PyObject 
*resultobj
; 
7930     wxRegionIterator 
*arg1 
= (wxRegionIterator 
*) 0 ; 
7932     PyObject 
* obj0 
= 0 ; 
7934         (char *) "self", NULL 
 
7937     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetWidth",kwnames
,&obj0
)) goto fail
; 
7938     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_EXCEPTION 
| 0); 
7939     if (SWIG_arg_fail(1)) SWIG_fail
; 
7941         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7942         result 
= (int)(arg1
)->GetWidth(); 
7944         wxPyEndAllowThreads(__tstate
); 
7945         if (PyErr_Occurred()) SWIG_fail
; 
7948         resultobj 
= SWIG_From_int((int)(result
));  
7956 static PyObject 
*_wrap_RegionIterator_GetH(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7957     PyObject 
*resultobj
; 
7958     wxRegionIterator 
*arg1 
= (wxRegionIterator 
*) 0 ; 
7960     PyObject 
* obj0 
= 0 ; 
7962         (char *) "self", NULL 
 
7965     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetH",kwnames
,&obj0
)) goto fail
; 
7966     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_EXCEPTION 
| 0); 
7967     if (SWIG_arg_fail(1)) SWIG_fail
; 
7969         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7970         result 
= (int)(arg1
)->GetH(); 
7972         wxPyEndAllowThreads(__tstate
); 
7973         if (PyErr_Occurred()) SWIG_fail
; 
7976         resultobj 
= SWIG_From_int((int)(result
));  
7984 static PyObject 
*_wrap_RegionIterator_GetHeight(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
7985     PyObject 
*resultobj
; 
7986     wxRegionIterator 
*arg1 
= (wxRegionIterator 
*) 0 ; 
7988     PyObject 
* obj0 
= 0 ; 
7990         (char *) "self", NULL 
 
7993     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetHeight",kwnames
,&obj0
)) goto fail
; 
7994     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_EXCEPTION 
| 0); 
7995     if (SWIG_arg_fail(1)) SWIG_fail
; 
7997         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7998         result 
= (int)(arg1
)->GetHeight(); 
8000         wxPyEndAllowThreads(__tstate
); 
8001         if (PyErr_Occurred()) SWIG_fail
; 
8004         resultobj 
= SWIG_From_int((int)(result
));  
8012 static PyObject 
*_wrap_RegionIterator_GetRect(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
8013     PyObject 
*resultobj
; 
8014     wxRegionIterator 
*arg1 
= (wxRegionIterator 
*) 0 ; 
8016     PyObject 
* obj0 
= 0 ; 
8018         (char *) "self", NULL 
 
8021     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetRect",kwnames
,&obj0
)) goto fail
; 
8022     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_EXCEPTION 
| 0); 
8023     if (SWIG_arg_fail(1)) SWIG_fail
; 
8025         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8026         result 
= (arg1
)->GetRect(); 
8028         wxPyEndAllowThreads(__tstate
); 
8029         if (PyErr_Occurred()) SWIG_fail
; 
8033         resultptr 
= new wxRect((wxRect 
&)(result
)); 
8034         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1); 
8042 static PyObject 
*_wrap_RegionIterator_HaveRects(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
8043     PyObject 
*resultobj
; 
8044     wxRegionIterator 
*arg1 
= (wxRegionIterator 
*) 0 ; 
8046     PyObject 
* obj0 
= 0 ; 
8048         (char *) "self", NULL 
 
8051     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_HaveRects",kwnames
,&obj0
)) goto fail
; 
8052     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_EXCEPTION 
| 0); 
8053     if (SWIG_arg_fail(1)) SWIG_fail
; 
8055         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8056         result 
= (bool)(arg1
)->HaveRects(); 
8058         wxPyEndAllowThreads(__tstate
); 
8059         if (PyErr_Occurred()) SWIG_fail
; 
8062         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
8070 static PyObject 
*_wrap_RegionIterator_Reset(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
8071     PyObject 
*resultobj
; 
8072     wxRegionIterator 
*arg1 
= (wxRegionIterator 
*) 0 ; 
8073     PyObject 
* obj0 
= 0 ; 
8075         (char *) "self", NULL 
 
8078     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_Reset",kwnames
,&obj0
)) goto fail
; 
8079     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_EXCEPTION 
| 0); 
8080     if (SWIG_arg_fail(1)) SWIG_fail
; 
8082         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8085         wxPyEndAllowThreads(__tstate
); 
8086         if (PyErr_Occurred()) SWIG_fail
; 
8088     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
8095 static PyObject 
*_wrap_RegionIterator_Next(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
8096     PyObject 
*resultobj
; 
8097     wxRegionIterator 
*arg1 
= (wxRegionIterator 
*) 0 ; 
8098     PyObject 
* obj0 
= 0 ; 
8100         (char *) "self", NULL 
 
8103     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_Next",kwnames
,&obj0
)) goto fail
; 
8104     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_EXCEPTION 
| 0); 
8105     if (SWIG_arg_fail(1)) SWIG_fail
; 
8107         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8108         wxRegionIterator_Next(arg1
); 
8110         wxPyEndAllowThreads(__tstate
); 
8111         if (PyErr_Occurred()) SWIG_fail
; 
8113     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
8120 static PyObject 
*_wrap_RegionIterator___nonzero__(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
8121     PyObject 
*resultobj
; 
8122     wxRegionIterator 
*arg1 
= (wxRegionIterator 
*) 0 ; 
8124     PyObject 
* obj0 
= 0 ; 
8126         (char *) "self", NULL 
 
8129     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator___nonzero__",kwnames
,&obj0
)) goto fail
; 
8130     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_EXCEPTION 
| 0); 
8131     if (SWIG_arg_fail(1)) SWIG_fail
; 
8133         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8134         result 
= (bool)wxRegionIterator___nonzero__(arg1
); 
8136         wxPyEndAllowThreads(__tstate
); 
8137         if (PyErr_Occurred()) SWIG_fail
; 
8140         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
8148 static PyObject 
* RegionIterator_swigregister(PyObject 
*, PyObject 
*args
) { 
8150     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
8151     SWIG_TypeClientData(SWIGTYPE_p_wxRegionIterator
, obj
); 
8153     return Py_BuildValue((char *)""); 
8155 static PyObject 
*_wrap_new_NativeFontInfo(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
8156     PyObject 
*resultobj
; 
8157     wxNativeFontInfo 
*result
; 
8162     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NativeFontInfo",kwnames
)) goto fail
; 
8164         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8165         result 
= (wxNativeFontInfo 
*)new wxNativeFontInfo(); 
8167         wxPyEndAllowThreads(__tstate
); 
8168         if (PyErr_Occurred()) SWIG_fail
; 
8170     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeFontInfo
, 1); 
8177 static PyObject 
*_wrap_delete_NativeFontInfo(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
8178     PyObject 
*resultobj
; 
8179     wxNativeFontInfo 
*arg1 
= (wxNativeFontInfo 
*) 0 ; 
8180     PyObject 
* obj0 
= 0 ; 
8182         (char *) "self", NULL 
 
8185     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_NativeFontInfo",kwnames
,&obj0
)) goto fail
; 
8186     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION 
| 0); 
8187     if (SWIG_arg_fail(1)) SWIG_fail
; 
8189         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8192         wxPyEndAllowThreads(__tstate
); 
8193         if (PyErr_Occurred()) SWIG_fail
; 
8195     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
8202 static PyObject 
*_wrap_NativeFontInfo_Init(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
8203     PyObject 
*resultobj
; 
8204     wxNativeFontInfo 
*arg1 
= (wxNativeFontInfo 
*) 0 ; 
8205     PyObject 
* obj0 
= 0 ; 
8207         (char *) "self", NULL 
 
8210     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_Init",kwnames
,&obj0
)) goto fail
; 
8211     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION 
| 0); 
8212     if (SWIG_arg_fail(1)) SWIG_fail
; 
8214         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8217         wxPyEndAllowThreads(__tstate
); 
8218         if (PyErr_Occurred()) SWIG_fail
; 
8220     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
8227 static PyObject 
*_wrap_NativeFontInfo_InitFromFont(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
8228     PyObject 
*resultobj
; 
8229     wxNativeFontInfo 
*arg1 
= (wxNativeFontInfo 
*) 0 ; 
8231     PyObject 
* obj0 
= 0 ; 
8232     PyObject 
* obj1 
= 0 ; 
8234         (char *) "self",(char *) "font", NULL 
 
8237     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_InitFromFont",kwnames
,&obj0
,&obj1
)) goto fail
; 
8238     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION 
| 0); 
8239     if (SWIG_arg_fail(1)) SWIG_fail
; 
8241         SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION 
| 0); 
8242         if (SWIG_arg_fail(2)) SWIG_fail
; 
8244             SWIG_null_ref("wxFont"); 
8246         if (SWIG_arg_fail(2)) SWIG_fail
; 
8249         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8250         (arg1
)->InitFromFont((wxFont 
const &)*arg2
); 
8252         wxPyEndAllowThreads(__tstate
); 
8253         if (PyErr_Occurred()) SWIG_fail
; 
8255     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
8262 static PyObject 
*_wrap_NativeFontInfo_GetPointSize(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
8263     PyObject 
*resultobj
; 
8264     wxNativeFontInfo 
*arg1 
= (wxNativeFontInfo 
*) 0 ; 
8266     PyObject 
* obj0 
= 0 ; 
8268         (char *) "self", NULL 
 
8271     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetPointSize",kwnames
,&obj0
)) goto fail
; 
8272     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION 
| 0); 
8273     if (SWIG_arg_fail(1)) SWIG_fail
; 
8275         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8276         result 
= (int)((wxNativeFontInfo 
const *)arg1
)->GetPointSize(); 
8278         wxPyEndAllowThreads(__tstate
); 
8279         if (PyErr_Occurred()) SWIG_fail
; 
8282         resultobj 
= SWIG_From_int((int)(result
));  
8290 static PyObject 
*_wrap_NativeFontInfo_GetPixelSize(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
8291     PyObject 
*resultobj
; 
8292     wxNativeFontInfo 
*arg1 
= (wxNativeFontInfo 
*) 0 ; 
8294     PyObject 
* obj0 
= 0 ; 
8296         (char *) "self", NULL 
 
8299     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetPixelSize",kwnames
,&obj0
)) goto fail
; 
8300     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION 
| 0); 
8301     if (SWIG_arg_fail(1)) SWIG_fail
; 
8303         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8304         result 
= ((wxNativeFontInfo 
const *)arg1
)->GetPixelSize(); 
8306         wxPyEndAllowThreads(__tstate
); 
8307         if (PyErr_Occurred()) SWIG_fail
; 
8311         resultptr 
= new wxSize((wxSize 
&)(result
)); 
8312         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1); 
8320 static PyObject 
*_wrap_NativeFontInfo_GetStyle(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
8321     PyObject 
*resultobj
; 
8322     wxNativeFontInfo 
*arg1 
= (wxNativeFontInfo 
*) 0 ; 
8324     PyObject 
* obj0 
= 0 ; 
8326         (char *) "self", NULL 
 
8329     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetStyle",kwnames
,&obj0
)) goto fail
; 
8330     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION 
| 0); 
8331     if (SWIG_arg_fail(1)) SWIG_fail
; 
8333         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8334         result 
= (wxFontStyle
)((wxNativeFontInfo 
const *)arg1
)->GetStyle(); 
8336         wxPyEndAllowThreads(__tstate
); 
8337         if (PyErr_Occurred()) SWIG_fail
; 
8339     resultobj 
= SWIG_From_int((result
)); 
8346 static PyObject 
*_wrap_NativeFontInfo_GetWeight(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
8347     PyObject 
*resultobj
; 
8348     wxNativeFontInfo 
*arg1 
= (wxNativeFontInfo 
*) 0 ; 
8349     wxFontWeight result
; 
8350     PyObject 
* obj0 
= 0 ; 
8352         (char *) "self", NULL 
 
8355     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetWeight",kwnames
,&obj0
)) goto fail
; 
8356     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION 
| 0); 
8357     if (SWIG_arg_fail(1)) SWIG_fail
; 
8359         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8360         result 
= (wxFontWeight
)((wxNativeFontInfo 
const *)arg1
)->GetWeight(); 
8362         wxPyEndAllowThreads(__tstate
); 
8363         if (PyErr_Occurred()) SWIG_fail
; 
8365     resultobj 
= SWIG_From_int((result
)); 
8372 static PyObject 
*_wrap_NativeFontInfo_GetUnderlined(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
8373     PyObject 
*resultobj
; 
8374     wxNativeFontInfo 
*arg1 
= (wxNativeFontInfo 
*) 0 ; 
8376     PyObject 
* obj0 
= 0 ; 
8378         (char *) "self", NULL 
 
8381     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetUnderlined",kwnames
,&obj0
)) goto fail
; 
8382     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION 
| 0); 
8383     if (SWIG_arg_fail(1)) SWIG_fail
; 
8385         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8386         result 
= (bool)((wxNativeFontInfo 
const *)arg1
)->GetUnderlined(); 
8388         wxPyEndAllowThreads(__tstate
); 
8389         if (PyErr_Occurred()) SWIG_fail
; 
8392         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
8400 static PyObject 
*_wrap_NativeFontInfo_GetFaceName(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
8401     PyObject 
*resultobj
; 
8402     wxNativeFontInfo 
*arg1 
= (wxNativeFontInfo 
*) 0 ; 
8404     PyObject 
* obj0 
= 0 ; 
8406         (char *) "self", NULL 
 
8409     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetFaceName",kwnames
,&obj0
)) goto fail
; 
8410     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION 
| 0); 
8411     if (SWIG_arg_fail(1)) SWIG_fail
; 
8413         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8414         result 
= ((wxNativeFontInfo 
const *)arg1
)->GetFaceName(); 
8416         wxPyEndAllowThreads(__tstate
); 
8417         if (PyErr_Occurred()) SWIG_fail
; 
8421         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
8423         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
8432 static PyObject 
*_wrap_NativeFontInfo_GetFamily(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
8433     PyObject 
*resultobj
; 
8434     wxNativeFontInfo 
*arg1 
= (wxNativeFontInfo 
*) 0 ; 
8435     wxFontFamily result
; 
8436     PyObject 
* obj0 
= 0 ; 
8438         (char *) "self", NULL 
 
8441     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetFamily",kwnames
,&obj0
)) goto fail
; 
8442     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION 
| 0); 
8443     if (SWIG_arg_fail(1)) SWIG_fail
; 
8445         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8446         result 
= (wxFontFamily
)((wxNativeFontInfo 
const *)arg1
)->GetFamily(); 
8448         wxPyEndAllowThreads(__tstate
); 
8449         if (PyErr_Occurred()) SWIG_fail
; 
8451     resultobj 
= SWIG_From_int((result
)); 
8458 static PyObject 
*_wrap_NativeFontInfo_GetEncoding(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
8459     PyObject 
*resultobj
; 
8460     wxNativeFontInfo 
*arg1 
= (wxNativeFontInfo 
*) 0 ; 
8461     wxFontEncoding result
; 
8462     PyObject 
* obj0 
= 0 ; 
8464         (char *) "self", NULL 
 
8467     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetEncoding",kwnames
,&obj0
)) goto fail
; 
8468     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION 
| 0); 
8469     if (SWIG_arg_fail(1)) SWIG_fail
; 
8471         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8472         result 
= (wxFontEncoding
)((wxNativeFontInfo 
const *)arg1
)->GetEncoding(); 
8474         wxPyEndAllowThreads(__tstate
); 
8475         if (PyErr_Occurred()) SWIG_fail
; 
8477     resultobj 
= SWIG_From_int((result
)); 
8484 static PyObject 
*_wrap_NativeFontInfo_SetPointSize(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
8485     PyObject 
*resultobj
; 
8486     wxNativeFontInfo 
*arg1 
= (wxNativeFontInfo 
*) 0 ; 
8488     PyObject 
* obj0 
= 0 ; 
8489     PyObject 
* obj1 
= 0 ; 
8491         (char *) "self",(char *) "pointsize", NULL 
 
8494     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetPointSize",kwnames
,&obj0
,&obj1
)) goto fail
; 
8495     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION 
| 0); 
8496     if (SWIG_arg_fail(1)) SWIG_fail
; 
8498         arg2 
= (int)(SWIG_As_int(obj1
));  
8499         if (SWIG_arg_fail(2)) SWIG_fail
; 
8502         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8503         (arg1
)->SetPointSize(arg2
); 
8505         wxPyEndAllowThreads(__tstate
); 
8506         if (PyErr_Occurred()) SWIG_fail
; 
8508     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
8515 static PyObject 
*_wrap_NativeFontInfo_SetPixelSize(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
8516     PyObject 
*resultobj
; 
8517     wxNativeFontInfo 
*arg1 
= (wxNativeFontInfo 
*) 0 ; 
8520     PyObject 
* obj0 
= 0 ; 
8521     PyObject 
* obj1 
= 0 ; 
8523         (char *) "self",(char *) "pixelSize", NULL 
 
8526     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetPixelSize",kwnames
,&obj0
,&obj1
)) goto fail
; 
8527     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION 
| 0); 
8528     if (SWIG_arg_fail(1)) SWIG_fail
; 
8531         if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
; 
8534         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8535         (arg1
)->SetPixelSize((wxSize 
const &)*arg2
); 
8537         wxPyEndAllowThreads(__tstate
); 
8538         if (PyErr_Occurred()) SWIG_fail
; 
8540     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
8547 static PyObject 
*_wrap_NativeFontInfo_SetStyle(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
8548     PyObject 
*resultobj
; 
8549     wxNativeFontInfo 
*arg1 
= (wxNativeFontInfo 
*) 0 ; 
8551     PyObject 
* obj0 
= 0 ; 
8552     PyObject 
* obj1 
= 0 ; 
8554         (char *) "self",(char *) "style", NULL 
 
8557     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
; 
8558     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION 
| 0); 
8559     if (SWIG_arg_fail(1)) SWIG_fail
; 
8561         arg2 
= (wxFontStyle
)(SWIG_As_int(obj1
));  
8562         if (SWIG_arg_fail(2)) SWIG_fail
; 
8565         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8566         (arg1
)->SetStyle((wxFontStyle 
)arg2
); 
8568         wxPyEndAllowThreads(__tstate
); 
8569         if (PyErr_Occurred()) SWIG_fail
; 
8571     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
8578 static PyObject 
*_wrap_NativeFontInfo_SetWeight(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
8579     PyObject 
*resultobj
; 
8580     wxNativeFontInfo 
*arg1 
= (wxNativeFontInfo 
*) 0 ; 
8582     PyObject 
* obj0 
= 0 ; 
8583     PyObject 
* obj1 
= 0 ; 
8585         (char *) "self",(char *) "weight", NULL 
 
8588     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetWeight",kwnames
,&obj0
,&obj1
)) goto fail
; 
8589     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION 
| 0); 
8590     if (SWIG_arg_fail(1)) SWIG_fail
; 
8592         arg2 
= (wxFontWeight
)(SWIG_As_int(obj1
));  
8593         if (SWIG_arg_fail(2)) SWIG_fail
; 
8596         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8597         (arg1
)->SetWeight((wxFontWeight 
)arg2
); 
8599         wxPyEndAllowThreads(__tstate
); 
8600         if (PyErr_Occurred()) SWIG_fail
; 
8602     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
8609 static PyObject 
*_wrap_NativeFontInfo_SetUnderlined(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
8610     PyObject 
*resultobj
; 
8611     wxNativeFontInfo 
*arg1 
= (wxNativeFontInfo 
*) 0 ; 
8613     PyObject 
* obj0 
= 0 ; 
8614     PyObject 
* obj1 
= 0 ; 
8616         (char *) "self",(char *) "underlined", NULL 
 
8619     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetUnderlined",kwnames
,&obj0
,&obj1
)) goto fail
; 
8620     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION 
| 0); 
8621     if (SWIG_arg_fail(1)) SWIG_fail
; 
8623         arg2 
= (bool)(SWIG_As_bool(obj1
));  
8624         if (SWIG_arg_fail(2)) SWIG_fail
; 
8627         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8628         (arg1
)->SetUnderlined(arg2
); 
8630         wxPyEndAllowThreads(__tstate
); 
8631         if (PyErr_Occurred()) SWIG_fail
; 
8633     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
8640 static PyObject 
*_wrap_NativeFontInfo_SetFaceName(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
8641     PyObject 
*resultobj
; 
8642     wxNativeFontInfo 
*arg1 
= (wxNativeFontInfo 
*) 0 ; 
8644     PyObject 
* obj0 
= 0 ; 
8645     PyObject 
* obj1 
= 0 ; 
8647         (char *) "self",(char *) "facename", NULL 
 
8650     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFaceName",kwnames
,&obj0
,&obj1
)) goto fail
; 
8651     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION 
| 0); 
8652     if (SWIG_arg_fail(1)) SWIG_fail
; 
8654         wxString
* sptr 
= wxString_in_helper(obj1
); 
8655         if (sptr 
== NULL
) SWIG_fail
; 
8660         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8661         (arg1
)->SetFaceName(arg2
); 
8663         wxPyEndAllowThreads(__tstate
); 
8664         if (PyErr_Occurred()) SWIG_fail
; 
8666     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
8673 static PyObject 
*_wrap_NativeFontInfo_SetFamily(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
8674     PyObject 
*resultobj
; 
8675     wxNativeFontInfo 
*arg1 
= (wxNativeFontInfo 
*) 0 ; 
8677     PyObject 
* obj0 
= 0 ; 
8678     PyObject 
* obj1 
= 0 ; 
8680         (char *) "self",(char *) "family", NULL 
 
8683     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFamily",kwnames
,&obj0
,&obj1
)) goto fail
; 
8684     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION 
| 0); 
8685     if (SWIG_arg_fail(1)) SWIG_fail
; 
8687         arg2 
= (wxFontFamily
)(SWIG_As_int(obj1
));  
8688         if (SWIG_arg_fail(2)) SWIG_fail
; 
8691         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8692         (arg1
)->SetFamily((wxFontFamily 
)arg2
); 
8694         wxPyEndAllowThreads(__tstate
); 
8695         if (PyErr_Occurred()) SWIG_fail
; 
8697     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
8704 static PyObject 
*_wrap_NativeFontInfo_SetEncoding(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
8705     PyObject 
*resultobj
; 
8706     wxNativeFontInfo 
*arg1 
= (wxNativeFontInfo 
*) 0 ; 
8707     wxFontEncoding arg2 
; 
8708     PyObject 
* obj0 
= 0 ; 
8709     PyObject 
* obj1 
= 0 ; 
8711         (char *) "self",(char *) "encoding", NULL 
 
8714     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetEncoding",kwnames
,&obj0
,&obj1
)) goto fail
; 
8715     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION 
| 0); 
8716     if (SWIG_arg_fail(1)) SWIG_fail
; 
8718         arg2 
= (wxFontEncoding
)(SWIG_As_int(obj1
));  
8719         if (SWIG_arg_fail(2)) SWIG_fail
; 
8722         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8723         (arg1
)->SetEncoding((wxFontEncoding 
)arg2
); 
8725         wxPyEndAllowThreads(__tstate
); 
8726         if (PyErr_Occurred()) SWIG_fail
; 
8728     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
8735 static PyObject 
*_wrap_NativeFontInfo_FromString(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
8736     PyObject 
*resultobj
; 
8737     wxNativeFontInfo 
*arg1 
= (wxNativeFontInfo 
*) 0 ; 
8738     wxString 
*arg2 
= 0 ; 
8740     bool temp2 
= false ; 
8741     PyObject 
* obj0 
= 0 ; 
8742     PyObject 
* obj1 
= 0 ; 
8744         (char *) "self",(char *) "s", NULL 
 
8747     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromString",kwnames
,&obj0
,&obj1
)) goto fail
; 
8748     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION 
| 0); 
8749     if (SWIG_arg_fail(1)) SWIG_fail
; 
8751         arg2 
= wxString_in_helper(obj1
); 
8752         if (arg2 
== NULL
) SWIG_fail
; 
8756         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8757         result 
= (bool)(arg1
)->FromString((wxString 
const &)*arg2
); 
8759         wxPyEndAllowThreads(__tstate
); 
8760         if (PyErr_Occurred()) SWIG_fail
; 
8763         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
8779 static PyObject 
*_wrap_NativeFontInfo_ToString(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
8780     PyObject 
*resultobj
; 
8781     wxNativeFontInfo 
*arg1 
= (wxNativeFontInfo 
*) 0 ; 
8783     PyObject 
* obj0 
= 0 ; 
8785         (char *) "self", NULL 
 
8788     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_ToString",kwnames
,&obj0
)) goto fail
; 
8789     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION 
| 0); 
8790     if (SWIG_arg_fail(1)) SWIG_fail
; 
8792         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8793         result 
= ((wxNativeFontInfo 
const *)arg1
)->ToString(); 
8795         wxPyEndAllowThreads(__tstate
); 
8796         if (PyErr_Occurred()) SWIG_fail
; 
8800         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
8802         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
8811 static PyObject 
*_wrap_NativeFontInfo___str__(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
8812     PyObject 
*resultobj
; 
8813     wxNativeFontInfo 
*arg1 
= (wxNativeFontInfo 
*) 0 ; 
8815     PyObject 
* obj0 
= 0 ; 
8817         (char *) "self", NULL 
 
8820     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo___str__",kwnames
,&obj0
)) goto fail
; 
8821     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION 
| 0); 
8822     if (SWIG_arg_fail(1)) SWIG_fail
; 
8824         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8825         result 
= wxNativeFontInfo___str__(arg1
); 
8827         wxPyEndAllowThreads(__tstate
); 
8828         if (PyErr_Occurred()) SWIG_fail
; 
8832         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
8834         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
8843 static PyObject 
*_wrap_NativeFontInfo_FromUserString(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
8844     PyObject 
*resultobj
; 
8845     wxNativeFontInfo 
*arg1 
= (wxNativeFontInfo 
*) 0 ; 
8846     wxString 
*arg2 
= 0 ; 
8848     bool temp2 
= false ; 
8849     PyObject 
* obj0 
= 0 ; 
8850     PyObject 
* obj1 
= 0 ; 
8852         (char *) "self",(char *) "s", NULL 
 
8855     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromUserString",kwnames
,&obj0
,&obj1
)) goto fail
; 
8856     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION 
| 0); 
8857     if (SWIG_arg_fail(1)) SWIG_fail
; 
8859         arg2 
= wxString_in_helper(obj1
); 
8860         if (arg2 
== NULL
) SWIG_fail
; 
8864         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8865         result 
= (bool)(arg1
)->FromUserString((wxString 
const &)*arg2
); 
8867         wxPyEndAllowThreads(__tstate
); 
8868         if (PyErr_Occurred()) SWIG_fail
; 
8871         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
8887 static PyObject 
*_wrap_NativeFontInfo_ToUserString(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
8888     PyObject 
*resultobj
; 
8889     wxNativeFontInfo 
*arg1 
= (wxNativeFontInfo 
*) 0 ; 
8891     PyObject 
* obj0 
= 0 ; 
8893         (char *) "self", NULL 
 
8896     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_ToUserString",kwnames
,&obj0
)) goto fail
; 
8897     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION 
| 0); 
8898     if (SWIG_arg_fail(1)) SWIG_fail
; 
8900         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8901         result 
= ((wxNativeFontInfo 
const *)arg1
)->ToUserString(); 
8903         wxPyEndAllowThreads(__tstate
); 
8904         if (PyErr_Occurred()) SWIG_fail
; 
8908         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
8910         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
8919 static PyObject 
* NativeFontInfo_swigregister(PyObject 
*, PyObject 
*args
) { 
8921     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
8922     SWIG_TypeClientData(SWIGTYPE_p_wxNativeFontInfo
, obj
); 
8924     return Py_BuildValue((char *)""); 
8926 static PyObject 
*_wrap_NativeEncodingInfo_facename_set(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
8927     PyObject 
*resultobj
; 
8928     wxNativeEncodingInfo 
*arg1 
= (wxNativeEncodingInfo 
*) 0 ; 
8929     wxString 
*arg2 
= (wxString 
*) 0 ; 
8930     bool temp2 
= false ; 
8931     PyObject 
* obj0 
= 0 ; 
8932     PyObject 
* obj1 
= 0 ; 
8934         (char *) "self",(char *) "facename", NULL 
 
8937     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_facename_set",kwnames
,&obj0
,&obj1
)) goto fail
; 
8938     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_EXCEPTION 
| 0); 
8939     if (SWIG_arg_fail(1)) SWIG_fail
; 
8941         arg2 
= wxString_in_helper(obj1
); 
8942         if (arg2 
== NULL
) SWIG_fail
; 
8945     if (arg1
) (arg1
)->facename 
= *arg2
; 
8947     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
8962 static PyObject 
*_wrap_NativeEncodingInfo_facename_get(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
8963     PyObject 
*resultobj
; 
8964     wxNativeEncodingInfo 
*arg1 
= (wxNativeEncodingInfo 
*) 0 ; 
8966     PyObject 
* obj0 
= 0 ; 
8968         (char *) "self", NULL 
 
8971     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_facename_get",kwnames
,&obj0
)) goto fail
; 
8972     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_EXCEPTION 
| 0); 
8973     if (SWIG_arg_fail(1)) SWIG_fail
; 
8974     result 
= (wxString 
*)& ((arg1
)->facename
); 
8978         resultobj 
= PyUnicode_FromWideChar(result
->c_str(), result
->Len()); 
8980         resultobj 
= PyString_FromStringAndSize(result
->c_str(), result
->Len()); 
8989 static PyObject 
*_wrap_NativeEncodingInfo_encoding_set(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
8990     PyObject 
*resultobj
; 
8991     wxNativeEncodingInfo 
*arg1 
= (wxNativeEncodingInfo 
*) 0 ; 
8992     wxFontEncoding arg2 
; 
8993     PyObject 
* obj0 
= 0 ; 
8994     PyObject 
* obj1 
= 0 ; 
8996         (char *) "self",(char *) "encoding", NULL 
 
8999     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_encoding_set",kwnames
,&obj0
,&obj1
)) goto fail
; 
9000     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_EXCEPTION 
| 0); 
9001     if (SWIG_arg_fail(1)) SWIG_fail
; 
9003         arg2 
= (wxFontEncoding
)(SWIG_As_int(obj1
));  
9004         if (SWIG_arg_fail(2)) SWIG_fail
; 
9006     if (arg1
) (arg1
)->encoding 
= (wxFontEncoding 
)arg2
; 
9008     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
9015 static PyObject 
*_wrap_NativeEncodingInfo_encoding_get(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9016     PyObject 
*resultobj
; 
9017     wxNativeEncodingInfo 
*arg1 
= (wxNativeEncodingInfo 
*) 0 ; 
9018     wxFontEncoding result
; 
9019     PyObject 
* obj0 
= 0 ; 
9021         (char *) "self", NULL 
 
9024     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_encoding_get",kwnames
,&obj0
)) goto fail
; 
9025     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_EXCEPTION 
| 0); 
9026     if (SWIG_arg_fail(1)) SWIG_fail
; 
9027     result 
= (wxFontEncoding
) ((arg1
)->encoding
); 
9029     resultobj 
= SWIG_From_int((result
)); 
9036 static PyObject 
*_wrap_new_NativeEncodingInfo(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9037     PyObject 
*resultobj
; 
9038     wxNativeEncodingInfo 
*result
; 
9043     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NativeEncodingInfo",kwnames
)) goto fail
; 
9045         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9046         result 
= (wxNativeEncodingInfo 
*)new wxNativeEncodingInfo(); 
9048         wxPyEndAllowThreads(__tstate
); 
9049         if (PyErr_Occurred()) SWIG_fail
; 
9051     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 1); 
9058 static PyObject 
*_wrap_delete_NativeEncodingInfo(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9059     PyObject 
*resultobj
; 
9060     wxNativeEncodingInfo 
*arg1 
= (wxNativeEncodingInfo 
*) 0 ; 
9061     PyObject 
* obj0 
= 0 ; 
9063         (char *) "self", NULL 
 
9066     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_NativeEncodingInfo",kwnames
,&obj0
)) goto fail
; 
9067     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_EXCEPTION 
| 0); 
9068     if (SWIG_arg_fail(1)) SWIG_fail
; 
9070         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9073         wxPyEndAllowThreads(__tstate
); 
9074         if (PyErr_Occurred()) SWIG_fail
; 
9076     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
9083 static PyObject 
*_wrap_NativeEncodingInfo_FromString(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9084     PyObject 
*resultobj
; 
9085     wxNativeEncodingInfo 
*arg1 
= (wxNativeEncodingInfo 
*) 0 ; 
9086     wxString 
*arg2 
= 0 ; 
9088     bool temp2 
= false ; 
9089     PyObject 
* obj0 
= 0 ; 
9090     PyObject 
* obj1 
= 0 ; 
9092         (char *) "self",(char *) "s", NULL 
 
9095     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_FromString",kwnames
,&obj0
,&obj1
)) goto fail
; 
9096     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_EXCEPTION 
| 0); 
9097     if (SWIG_arg_fail(1)) SWIG_fail
; 
9099         arg2 
= wxString_in_helper(obj1
); 
9100         if (arg2 
== NULL
) SWIG_fail
; 
9104         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9105         result 
= (bool)(arg1
)->FromString((wxString 
const &)*arg2
); 
9107         wxPyEndAllowThreads(__tstate
); 
9108         if (PyErr_Occurred()) SWIG_fail
; 
9111         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
9127 static PyObject 
*_wrap_NativeEncodingInfo_ToString(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9128     PyObject 
*resultobj
; 
9129     wxNativeEncodingInfo 
*arg1 
= (wxNativeEncodingInfo 
*) 0 ; 
9131     PyObject 
* obj0 
= 0 ; 
9133         (char *) "self", NULL 
 
9136     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_ToString",kwnames
,&obj0
)) goto fail
; 
9137     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_EXCEPTION 
| 0); 
9138     if (SWIG_arg_fail(1)) SWIG_fail
; 
9140         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9141         result 
= ((wxNativeEncodingInfo 
const *)arg1
)->ToString(); 
9143         wxPyEndAllowThreads(__tstate
); 
9144         if (PyErr_Occurred()) SWIG_fail
; 
9148         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
9150         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
9159 static PyObject 
* NativeEncodingInfo_swigregister(PyObject 
*, PyObject 
*args
) { 
9161     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
9162     SWIG_TypeClientData(SWIGTYPE_p_wxNativeEncodingInfo
, obj
); 
9164     return Py_BuildValue((char *)""); 
9166 static PyObject 
*_wrap_GetNativeFontEncoding(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9167     PyObject 
*resultobj
; 
9168     wxFontEncoding arg1 
; 
9169     wxNativeEncodingInfo 
*result
; 
9170     PyObject 
* obj0 
= 0 ; 
9172         (char *) "encoding", NULL 
 
9175     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetNativeFontEncoding",kwnames
,&obj0
)) goto fail
; 
9177         arg1 
= (wxFontEncoding
)(SWIG_As_int(obj0
));  
9178         if (SWIG_arg_fail(1)) SWIG_fail
; 
9181         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9182         result 
= (wxNativeEncodingInfo 
*)wxGetNativeFontEncoding((wxFontEncoding 
)arg1
); 
9184         wxPyEndAllowThreads(__tstate
); 
9185         if (PyErr_Occurred()) SWIG_fail
; 
9187     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 0); 
9194 static PyObject 
*_wrap_TestFontEncoding(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9195     PyObject 
*resultobj
; 
9196     wxNativeEncodingInfo 
*arg1 
= 0 ; 
9198     PyObject 
* obj0 
= 0 ; 
9200         (char *) "info", NULL 
 
9203     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TestFontEncoding",kwnames
,&obj0
)) goto fail
; 
9205         SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_EXCEPTION 
| 0); 
9206         if (SWIG_arg_fail(1)) SWIG_fail
; 
9208             SWIG_null_ref("wxNativeEncodingInfo"); 
9210         if (SWIG_arg_fail(1)) SWIG_fail
; 
9213         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9214         result 
= (bool)wxTestFontEncoding((wxNativeEncodingInfo 
const &)*arg1
); 
9216         wxPyEndAllowThreads(__tstate
); 
9217         if (PyErr_Occurred()) SWIG_fail
; 
9220         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
9228 static PyObject 
*_wrap_new_FontMapper(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9229     PyObject 
*resultobj
; 
9230     wxFontMapper 
*result
; 
9235     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontMapper",kwnames
)) goto fail
; 
9237         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9238         result 
= (wxFontMapper 
*)new wxFontMapper(); 
9240         wxPyEndAllowThreads(__tstate
); 
9241         if (PyErr_Occurred()) SWIG_fail
; 
9243     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontMapper
, 1); 
9250 static PyObject 
*_wrap_delete_FontMapper(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9251     PyObject 
*resultobj
; 
9252     wxFontMapper 
*arg1 
= (wxFontMapper 
*) 0 ; 
9253     PyObject 
* obj0 
= 0 ; 
9255         (char *) "self", NULL 
 
9258     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontMapper",kwnames
,&obj0
)) goto fail
; 
9259     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_EXCEPTION 
| 0); 
9260     if (SWIG_arg_fail(1)) SWIG_fail
; 
9262         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9265         wxPyEndAllowThreads(__tstate
); 
9266         if (PyErr_Occurred()) SWIG_fail
; 
9268     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
9275 static PyObject 
*_wrap_FontMapper_Get(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9276     PyObject 
*resultobj
; 
9277     wxFontMapper 
*result
; 
9282     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_Get",kwnames
)) goto fail
; 
9284         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9285         result 
= (wxFontMapper 
*)wxFontMapper::Get(); 
9287         wxPyEndAllowThreads(__tstate
); 
9288         if (PyErr_Occurred()) SWIG_fail
; 
9290     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontMapper
, 0); 
9297 static PyObject 
*_wrap_FontMapper_Set(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9298     PyObject 
*resultobj
; 
9299     wxFontMapper 
*arg1 
= (wxFontMapper 
*) 0 ; 
9300     wxFontMapper 
*result
; 
9301     PyObject 
* obj0 
= 0 ; 
9303         (char *) "mapper", NULL 
 
9306     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_Set",kwnames
,&obj0
)) goto fail
; 
9307     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_EXCEPTION 
| 0); 
9308     if (SWIG_arg_fail(1)) SWIG_fail
; 
9310         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9311         result 
= (wxFontMapper 
*)wxFontMapper::Set(arg1
); 
9313         wxPyEndAllowThreads(__tstate
); 
9314         if (PyErr_Occurred()) SWIG_fail
; 
9316     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontMapper
, 0); 
9323 static PyObject 
*_wrap_FontMapper_CharsetToEncoding(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9324     PyObject 
*resultobj
; 
9325     wxFontMapper 
*arg1 
= (wxFontMapper 
*) 0 ; 
9326     wxString 
*arg2 
= 0 ; 
9327     bool arg3 
= (bool) true ; 
9328     wxFontEncoding result
; 
9329     bool temp2 
= false ; 
9330     PyObject 
* obj0 
= 0 ; 
9331     PyObject 
* obj1 
= 0 ; 
9332     PyObject 
* obj2 
= 0 ; 
9334         (char *) "self",(char *) "charset",(char *) "interactive", NULL 
 
9337     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_CharsetToEncoding",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
9338     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_EXCEPTION 
| 0); 
9339     if (SWIG_arg_fail(1)) SWIG_fail
; 
9341         arg2 
= wxString_in_helper(obj1
); 
9342         if (arg2 
== NULL
) SWIG_fail
; 
9347             arg3 
= (bool)(SWIG_As_bool(obj2
));  
9348             if (SWIG_arg_fail(3)) SWIG_fail
; 
9352         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9353         result 
= (wxFontEncoding
)(arg1
)->CharsetToEncoding((wxString 
const &)*arg2
,arg3
); 
9355         wxPyEndAllowThreads(__tstate
); 
9356         if (PyErr_Occurred()) SWIG_fail
; 
9358     resultobj 
= SWIG_From_int((result
)); 
9373 static PyObject 
*_wrap_FontMapper_GetSupportedEncodingsCount(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9374     PyObject 
*resultobj
; 
9380     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_GetSupportedEncodingsCount",kwnames
)) goto fail
; 
9382         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9383         result 
= (size_t)wxFontMapper::GetSupportedEncodingsCount(); 
9385         wxPyEndAllowThreads(__tstate
); 
9386         if (PyErr_Occurred()) SWIG_fail
; 
9389         resultobj 
= SWIG_From_unsigned_SS_long((unsigned long)(result
));  
9397 static PyObject 
*_wrap_FontMapper_GetEncoding(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9398     PyObject 
*resultobj
; 
9400     wxFontEncoding result
; 
9401     PyObject 
* obj0 
= 0 ; 
9406     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncoding",kwnames
,&obj0
)) goto fail
; 
9408         arg1 
= (size_t)(SWIG_As_unsigned_SS_long(obj0
));  
9409         if (SWIG_arg_fail(1)) SWIG_fail
; 
9412         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9413         result 
= (wxFontEncoding
)wxFontMapper::GetEncoding(arg1
); 
9415         wxPyEndAllowThreads(__tstate
); 
9416         if (PyErr_Occurred()) SWIG_fail
; 
9418     resultobj 
= SWIG_From_int((result
)); 
9425 static PyObject 
*_wrap_FontMapper_GetEncodingName(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9426     PyObject 
*resultobj
; 
9427     wxFontEncoding arg1 
; 
9429     PyObject 
* obj0 
= 0 ; 
9431         (char *) "encoding", NULL 
 
9434     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingName",kwnames
,&obj0
)) goto fail
; 
9436         arg1 
= (wxFontEncoding
)(SWIG_As_int(obj0
));  
9437         if (SWIG_arg_fail(1)) SWIG_fail
; 
9440         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9441         result 
= wxFontMapper::GetEncodingName((wxFontEncoding 
)arg1
); 
9443         wxPyEndAllowThreads(__tstate
); 
9444         if (PyErr_Occurred()) SWIG_fail
; 
9448         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
9450         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
9459 static PyObject 
*_wrap_FontMapper_GetEncodingDescription(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9460     PyObject 
*resultobj
; 
9461     wxFontEncoding arg1 
; 
9463     PyObject 
* obj0 
= 0 ; 
9465         (char *) "encoding", NULL 
 
9468     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingDescription",kwnames
,&obj0
)) goto fail
; 
9470         arg1 
= (wxFontEncoding
)(SWIG_As_int(obj0
));  
9471         if (SWIG_arg_fail(1)) SWIG_fail
; 
9474         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9475         result 
= wxFontMapper::GetEncodingDescription((wxFontEncoding 
)arg1
); 
9477         wxPyEndAllowThreads(__tstate
); 
9478         if (PyErr_Occurred()) SWIG_fail
; 
9482         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
9484         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
9493 static PyObject 
*_wrap_FontMapper_GetEncodingFromName(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9494     PyObject 
*resultobj
; 
9495     wxString 
*arg1 
= 0 ; 
9496     wxFontEncoding result
; 
9497     bool temp1 
= false ; 
9498     PyObject 
* obj0 
= 0 ; 
9500         (char *) "name", NULL 
 
9503     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingFromName",kwnames
,&obj0
)) goto fail
; 
9505         arg1 
= wxString_in_helper(obj0
); 
9506         if (arg1 
== NULL
) SWIG_fail
; 
9510         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9511         result 
= (wxFontEncoding
)wxFontMapper::GetEncodingFromName((wxString 
const &)*arg1
); 
9513         wxPyEndAllowThreads(__tstate
); 
9514         if (PyErr_Occurred()) SWIG_fail
; 
9516     resultobj 
= SWIG_From_int((result
)); 
9531 static PyObject 
*_wrap_FontMapper_SetConfig(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9532     PyObject 
*resultobj
; 
9533     wxFontMapper 
*arg1 
= (wxFontMapper 
*) 0 ; 
9534     wxConfigBase 
*arg2 
= (wxConfigBase 
*) 0 ; 
9535     PyObject 
* obj0 
= 0 ; 
9536     PyObject 
* obj1 
= 0 ; 
9538         (char *) "self",(char *) "config", NULL 
 
9541     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfig",kwnames
,&obj0
,&obj1
)) goto fail
; 
9542     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_EXCEPTION 
| 0); 
9543     if (SWIG_arg_fail(1)) SWIG_fail
; 
9544     SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION 
| 0); 
9545     if (SWIG_arg_fail(2)) SWIG_fail
; 
9547         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9548         (arg1
)->SetConfig(arg2
); 
9550         wxPyEndAllowThreads(__tstate
); 
9551         if (PyErr_Occurred()) SWIG_fail
; 
9553     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
9560 static PyObject 
*_wrap_FontMapper_SetConfigPath(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9561     PyObject 
*resultobj
; 
9562     wxFontMapper 
*arg1 
= (wxFontMapper 
*) 0 ; 
9563     wxString 
*arg2 
= 0 ; 
9564     bool temp2 
= false ; 
9565     PyObject 
* obj0 
= 0 ; 
9566     PyObject 
* obj1 
= 0 ; 
9568         (char *) "self",(char *) "prefix", NULL 
 
9571     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfigPath",kwnames
,&obj0
,&obj1
)) goto fail
; 
9572     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_EXCEPTION 
| 0); 
9573     if (SWIG_arg_fail(1)) SWIG_fail
; 
9575         arg2 
= wxString_in_helper(obj1
); 
9576         if (arg2 
== NULL
) SWIG_fail
; 
9580         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9581         (arg1
)->SetConfigPath((wxString 
const &)*arg2
); 
9583         wxPyEndAllowThreads(__tstate
); 
9584         if (PyErr_Occurred()) SWIG_fail
; 
9586     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
9601 static PyObject 
*_wrap_FontMapper_GetDefaultConfigPath(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9602     PyObject 
*resultobj
; 
9608     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_GetDefaultConfigPath",kwnames
)) goto fail
; 
9610         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9611         result 
= wxFontMapper::GetDefaultConfigPath(); 
9613         wxPyEndAllowThreads(__tstate
); 
9614         if (PyErr_Occurred()) SWIG_fail
; 
9618         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
9620         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
9629 static PyObject 
*_wrap_FontMapper_GetAltForEncoding(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9630     PyObject 
*resultobj
; 
9631     wxFontMapper 
*arg1 
= (wxFontMapper 
*) 0 ; 
9632     wxFontEncoding arg2 
; 
9633     wxString 
const &arg3_defvalue 
= wxPyEmptyString 
; 
9634     wxString 
*arg3 
= (wxString 
*) &arg3_defvalue 
; 
9635     bool arg4 
= (bool) true ; 
9637     bool temp3 
= false ; 
9638     PyObject 
* obj0 
= 0 ; 
9639     PyObject 
* obj1 
= 0 ; 
9640     PyObject 
* obj2 
= 0 ; 
9641     PyObject 
* obj3 
= 0 ; 
9643         (char *) "self",(char *) "encoding",(char *) "facename",(char *) "interactive", NULL 
 
9646     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:FontMapper_GetAltForEncoding",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
9647     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_EXCEPTION 
| 0); 
9648     if (SWIG_arg_fail(1)) SWIG_fail
; 
9650         arg2 
= (wxFontEncoding
)(SWIG_As_int(obj1
));  
9651         if (SWIG_arg_fail(2)) SWIG_fail
; 
9655             arg3 
= wxString_in_helper(obj2
); 
9656             if (arg3 
== NULL
) SWIG_fail
; 
9662             arg4 
= (bool)(SWIG_As_bool(obj3
));  
9663             if (SWIG_arg_fail(4)) SWIG_fail
; 
9667         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9668         result 
= (PyObject 
*)wxFontMapper_GetAltForEncoding(arg1
,(wxFontEncoding 
)arg2
,(wxString 
const &)*arg3
,arg4
); 
9670         wxPyEndAllowThreads(__tstate
); 
9671         if (PyErr_Occurred()) SWIG_fail
; 
9688 static PyObject 
*_wrap_FontMapper_IsEncodingAvailable(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9689     PyObject 
*resultobj
; 
9690     wxFontMapper 
*arg1 
= (wxFontMapper 
*) 0 ; 
9691     wxFontEncoding arg2 
; 
9692     wxString 
const &arg3_defvalue 
= wxPyEmptyString 
; 
9693     wxString 
*arg3 
= (wxString 
*) &arg3_defvalue 
; 
9695     bool temp3 
= false ; 
9696     PyObject 
* obj0 
= 0 ; 
9697     PyObject 
* obj1 
= 0 ; 
9698     PyObject 
* obj2 
= 0 ; 
9700         (char *) "self",(char *) "encoding",(char *) "facename", NULL 
 
9703     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_IsEncodingAvailable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
9704     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_EXCEPTION 
| 0); 
9705     if (SWIG_arg_fail(1)) SWIG_fail
; 
9707         arg2 
= (wxFontEncoding
)(SWIG_As_int(obj1
));  
9708         if (SWIG_arg_fail(2)) SWIG_fail
; 
9712             arg3 
= wxString_in_helper(obj2
); 
9713             if (arg3 
== NULL
) SWIG_fail
; 
9718         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9719         result 
= (bool)(arg1
)->IsEncodingAvailable((wxFontEncoding 
)arg2
,(wxString 
const &)*arg3
); 
9721         wxPyEndAllowThreads(__tstate
); 
9722         if (PyErr_Occurred()) SWIG_fail
; 
9725         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
9741 static PyObject 
*_wrap_FontMapper_SetDialogParent(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9742     PyObject 
*resultobj
; 
9743     wxFontMapper 
*arg1 
= (wxFontMapper 
*) 0 ; 
9744     wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
9745     PyObject 
* obj0 
= 0 ; 
9746     PyObject 
* obj1 
= 0 ; 
9748         (char *) "self",(char *) "parent", NULL 
 
9751     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogParent",kwnames
,&obj0
,&obj1
)) goto fail
; 
9752     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_EXCEPTION 
| 0); 
9753     if (SWIG_arg_fail(1)) SWIG_fail
; 
9754     SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
9755     if (SWIG_arg_fail(2)) SWIG_fail
; 
9757         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9758         (arg1
)->SetDialogParent(arg2
); 
9760         wxPyEndAllowThreads(__tstate
); 
9761         if (PyErr_Occurred()) SWIG_fail
; 
9763     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
9770 static PyObject 
*_wrap_FontMapper_SetDialogTitle(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9771     PyObject 
*resultobj
; 
9772     wxFontMapper 
*arg1 
= (wxFontMapper 
*) 0 ; 
9773     wxString 
*arg2 
= 0 ; 
9774     bool temp2 
= false ; 
9775     PyObject 
* obj0 
= 0 ; 
9776     PyObject 
* obj1 
= 0 ; 
9778         (char *) "self",(char *) "title", NULL 
 
9781     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogTitle",kwnames
,&obj0
,&obj1
)) goto fail
; 
9782     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_EXCEPTION 
| 0); 
9783     if (SWIG_arg_fail(1)) SWIG_fail
; 
9785         arg2 
= wxString_in_helper(obj1
); 
9786         if (arg2 
== NULL
) SWIG_fail
; 
9790         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9791         (arg1
)->SetDialogTitle((wxString 
const &)*arg2
); 
9793         wxPyEndAllowThreads(__tstate
); 
9794         if (PyErr_Occurred()) SWIG_fail
; 
9796     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
9811 static PyObject 
* FontMapper_swigregister(PyObject 
*, PyObject 
*args
) { 
9813     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
9814     SWIG_TypeClientData(SWIGTYPE_p_wxFontMapper
, obj
); 
9816     return Py_BuildValue((char *)""); 
9818 static PyObject 
*_wrap_new_Font(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9819     PyObject 
*resultobj
; 
9824     bool arg5 
= (bool) false ; 
9825     wxString 
const &arg6_defvalue 
= wxPyEmptyString 
; 
9826     wxString 
*arg6 
= (wxString 
*) &arg6_defvalue 
; 
9827     wxFontEncoding arg7 
= (wxFontEncoding
) wxFONTENCODING_DEFAULT 
; 
9829     bool temp6 
= false ; 
9830     PyObject 
* obj0 
= 0 ; 
9831     PyObject 
* obj1 
= 0 ; 
9832     PyObject 
* obj2 
= 0 ; 
9833     PyObject 
* obj3 
= 0 ; 
9834     PyObject 
* obj4 
= 0 ; 
9835     PyObject 
* obj5 
= 0 ; 
9836     PyObject 
* obj6 
= 0 ; 
9838         (char *) "pointSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "face",(char *) "encoding", NULL 
 
9841     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_Font",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
; 
9843         arg1 
= (int)(SWIG_As_int(obj0
));  
9844         if (SWIG_arg_fail(1)) SWIG_fail
; 
9847         arg2 
= (int)(SWIG_As_int(obj1
));  
9848         if (SWIG_arg_fail(2)) SWIG_fail
; 
9851         arg3 
= (int)(SWIG_As_int(obj2
));  
9852         if (SWIG_arg_fail(3)) SWIG_fail
; 
9855         arg4 
= (int)(SWIG_As_int(obj3
));  
9856         if (SWIG_arg_fail(4)) SWIG_fail
; 
9860             arg5 
= (bool)(SWIG_As_bool(obj4
));  
9861             if (SWIG_arg_fail(5)) SWIG_fail
; 
9866             arg6 
= wxString_in_helper(obj5
); 
9867             if (arg6 
== NULL
) SWIG_fail
; 
9873             arg7 
= (wxFontEncoding
)(SWIG_As_int(obj6
));  
9874             if (SWIG_arg_fail(7)) SWIG_fail
; 
9878         if (!wxPyCheckForApp()) SWIG_fail
; 
9879         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9880         result 
= (wxFont 
*)new wxFont(arg1
,arg2
,arg3
,arg4
,arg5
,(wxString 
const &)*arg6
,(wxFontEncoding 
)arg7
); 
9882         wxPyEndAllowThreads(__tstate
); 
9883         if (PyErr_Occurred()) SWIG_fail
; 
9885     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1); 
9900 static PyObject 
*_wrap_delete_Font(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9901     PyObject 
*resultobj
; 
9902     wxFont 
*arg1 
= (wxFont 
*) 0 ; 
9903     PyObject 
* obj0 
= 0 ; 
9905         (char *) "self", NULL 
 
9908     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Font",kwnames
,&obj0
)) goto fail
; 
9909     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION 
| 0); 
9910     if (SWIG_arg_fail(1)) SWIG_fail
; 
9912         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9915         wxPyEndAllowThreads(__tstate
); 
9916         if (PyErr_Occurred()) SWIG_fail
; 
9918     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
9925 static PyObject 
*_wrap_new_FontFromNativeInfo(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9926     PyObject 
*resultobj
; 
9927     wxNativeFontInfo 
*arg1 
= 0 ; 
9929     PyObject 
* obj0 
= 0 ; 
9931         (char *) "info", NULL 
 
9934     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfo",kwnames
,&obj0
)) goto fail
; 
9936         SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION 
| 0); 
9937         if (SWIG_arg_fail(1)) SWIG_fail
; 
9939             SWIG_null_ref("wxNativeFontInfo"); 
9941         if (SWIG_arg_fail(1)) SWIG_fail
; 
9944         if (!wxPyCheckForApp()) SWIG_fail
; 
9945         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9946         result 
= (wxFont 
*)new wxFont((wxNativeFontInfo 
const &)*arg1
); 
9948         wxPyEndAllowThreads(__tstate
); 
9949         if (PyErr_Occurred()) SWIG_fail
; 
9951     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1); 
9958 static PyObject 
*_wrap_new_FontFromNativeInfoString(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9959     PyObject 
*resultobj
; 
9960     wxString 
*arg1 
= 0 ; 
9962     bool temp1 
= false ; 
9963     PyObject 
* obj0 
= 0 ; 
9965         (char *) "info", NULL 
 
9968     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfoString",kwnames
,&obj0
)) goto fail
; 
9970         arg1 
= wxString_in_helper(obj0
); 
9971         if (arg1 
== NULL
) SWIG_fail
; 
9975         if (!wxPyCheckForApp()) SWIG_fail
; 
9976         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9977         result 
= (wxFont 
*)new_wxFont((wxString 
const &)*arg1
); 
9979         wxPyEndAllowThreads(__tstate
); 
9980         if (PyErr_Occurred()) SWIG_fail
; 
9982     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1); 
9997 static PyObject 
*_wrap_new_Font2(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
9998     PyObject 
*resultobj
; 
10000     wxFontFamily arg2 
; 
10001     int arg3 
= (int) wxFONTFLAG_DEFAULT 
; 
10002     wxString 
const &arg4_defvalue 
= wxPyEmptyString 
; 
10003     wxString 
*arg4 
= (wxString 
*) &arg4_defvalue 
; 
10004     wxFontEncoding arg5 
= (wxFontEncoding
) wxFONTENCODING_DEFAULT 
; 
10006     bool temp4 
= false ; 
10007     PyObject 
* obj0 
= 0 ; 
10008     PyObject 
* obj1 
= 0 ; 
10009     PyObject 
* obj2 
= 0 ; 
10010     PyObject 
* obj3 
= 0 ; 
10011     PyObject 
* obj4 
= 0 ; 
10012     char *kwnames
[] = { 
10013         (char *) "pointSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL 
 
10016     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_Font2",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
; 
10018         arg1 
= (int)(SWIG_As_int(obj0
));  
10019         if (SWIG_arg_fail(1)) SWIG_fail
; 
10022         arg2 
= (wxFontFamily
)(SWIG_As_int(obj1
));  
10023         if (SWIG_arg_fail(2)) SWIG_fail
; 
10027             arg3 
= (int)(SWIG_As_int(obj2
));  
10028             if (SWIG_arg_fail(3)) SWIG_fail
; 
10033             arg4 
= wxString_in_helper(obj3
); 
10034             if (arg4 
== NULL
) SWIG_fail
; 
10040             arg5 
= (wxFontEncoding
)(SWIG_As_int(obj4
));  
10041             if (SWIG_arg_fail(5)) SWIG_fail
; 
10045         if (!wxPyCheckForApp()) SWIG_fail
; 
10046         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10047         result 
= (wxFont 
*)new_wxFont(arg1
,(wxFontFamily 
)arg2
,arg3
,(wxString 
const &)*arg4
,(wxFontEncoding 
)arg5
); 
10049         wxPyEndAllowThreads(__tstate
); 
10050         if (PyErr_Occurred()) SWIG_fail
; 
10052     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1); 
10067 static PyObject 
*_wrap_new_FontFromPixelSize(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
10068     PyObject 
*resultobj
; 
10073     bool arg5 
= (bool) false ; 
10074     wxString 
const &arg6_defvalue 
= wxEmptyString 
; 
10075     wxString 
*arg6 
= (wxString 
*) &arg6_defvalue 
; 
10076     wxFontEncoding arg7 
= (wxFontEncoding
) wxFONTENCODING_DEFAULT 
; 
10079     bool temp6 
= false ; 
10080     PyObject 
* obj0 
= 0 ; 
10081     PyObject 
* obj1 
= 0 ; 
10082     PyObject 
* obj2 
= 0 ; 
10083     PyObject 
* obj3 
= 0 ; 
10084     PyObject 
* obj4 
= 0 ; 
10085     PyObject 
* obj5 
= 0 ; 
10086     PyObject 
* obj6 
= 0 ; 
10087     char *kwnames
[] = { 
10088         (char *) "pixelSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underlined",(char *) "face",(char *) "encoding", NULL 
 
10091     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_FontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
; 
10094         if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
; 
10097         arg2 
= (int)(SWIG_As_int(obj1
));  
10098         if (SWIG_arg_fail(2)) SWIG_fail
; 
10101         arg3 
= (int)(SWIG_As_int(obj2
));  
10102         if (SWIG_arg_fail(3)) SWIG_fail
; 
10105         arg4 
= (int)(SWIG_As_int(obj3
));  
10106         if (SWIG_arg_fail(4)) SWIG_fail
; 
10110             arg5 
= (bool)(SWIG_As_bool(obj4
));  
10111             if (SWIG_arg_fail(5)) SWIG_fail
; 
10116             arg6 
= wxString_in_helper(obj5
); 
10117             if (arg6 
== NULL
) SWIG_fail
; 
10123             arg7 
= (wxFontEncoding
)(SWIG_As_int(obj6
));  
10124             if (SWIG_arg_fail(7)) SWIG_fail
; 
10128         if (!wxPyCheckForApp()) SWIG_fail
; 
10129         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10130         result 
= (wxFont 
*)new_wxFont((wxSize 
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxString 
const &)*arg6
,(wxFontEncoding 
)arg7
); 
10132         wxPyEndAllowThreads(__tstate
); 
10133         if (PyErr_Occurred()) SWIG_fail
; 
10135     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1); 
10150 static PyObject 
*_wrap_Font_Ok(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
10151     PyObject 
*resultobj
; 
10152     wxFont 
*arg1 
= (wxFont 
*) 0 ; 
10154     PyObject 
* obj0 
= 0 ; 
10155     char *kwnames
[] = { 
10156         (char *) "self", NULL 
 
10159     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_Ok",kwnames
,&obj0
)) goto fail
; 
10160     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION 
| 0); 
10161     if (SWIG_arg_fail(1)) SWIG_fail
; 
10163         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10164         result 
= (bool)((wxFont 
const *)arg1
)->Ok(); 
10166         wxPyEndAllowThreads(__tstate
); 
10167         if (PyErr_Occurred()) SWIG_fail
; 
10170         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
10178 static PyObject 
*_wrap_Font___eq__(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
10179     PyObject 
*resultobj
; 
10180     wxFont 
*arg1 
= (wxFont 
*) 0 ; 
10181     wxFont 
*arg2 
= (wxFont 
*) 0 ; 
10183     PyObject 
* obj0 
= 0 ; 
10184     PyObject 
* obj1 
= 0 ; 
10185     char *kwnames
[] = { 
10186         (char *) "self",(char *) "other", NULL 
 
10189     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___eq__",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
; 
10192     SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION 
| 0); 
10193     if (SWIG_arg_fail(2)) SWIG_fail
; 
10195         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10196         result 
= (bool)wxFont___eq__(arg1
,(wxFont 
const *)arg2
); 
10198         wxPyEndAllowThreads(__tstate
); 
10199         if (PyErr_Occurred()) SWIG_fail
; 
10202         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
10210 static PyObject 
*_wrap_Font___ne__(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
10211     PyObject 
*resultobj
; 
10212     wxFont 
*arg1 
= (wxFont 
*) 0 ; 
10213     wxFont 
*arg2 
= (wxFont 
*) 0 ; 
10215     PyObject 
* obj0 
= 0 ; 
10216     PyObject 
* obj1 
= 0 ; 
10217     char *kwnames
[] = { 
10218         (char *) "self",(char *) "other", NULL 
 
10221     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___ne__",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
; 
10224     SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION 
| 0); 
10225     if (SWIG_arg_fail(2)) SWIG_fail
; 
10227         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10228         result 
= (bool)wxFont___ne__(arg1
,(wxFont 
const *)arg2
); 
10230         wxPyEndAllowThreads(__tstate
); 
10231         if (PyErr_Occurred()) SWIG_fail
; 
10234         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
10242 static PyObject 
*_wrap_Font_GetPointSize(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
10243     PyObject 
*resultobj
; 
10244     wxFont 
*arg1 
= (wxFont 
*) 0 ; 
10246     PyObject 
* obj0 
= 0 ; 
10247     char *kwnames
[] = { 
10248         (char *) "self", NULL 
 
10251     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetPointSize",kwnames
,&obj0
)) goto fail
; 
10252     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION 
| 0); 
10253     if (SWIG_arg_fail(1)) SWIG_fail
; 
10255         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10256         result 
= (int)((wxFont 
const *)arg1
)->GetPointSize(); 
10258         wxPyEndAllowThreads(__tstate
); 
10259         if (PyErr_Occurred()) SWIG_fail
; 
10262         resultobj 
= SWIG_From_int((int)(result
));  
10270 static PyObject 
*_wrap_Font_GetPixelSize(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
10271     PyObject 
*resultobj
; 
10272     wxFont 
*arg1 
= (wxFont 
*) 0 ; 
10274     PyObject 
* obj0 
= 0 ; 
10275     char *kwnames
[] = { 
10276         (char *) "self", NULL 
 
10279     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetPixelSize",kwnames
,&obj0
)) goto fail
; 
10280     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION 
| 0); 
10281     if (SWIG_arg_fail(1)) SWIG_fail
; 
10283         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10284         result 
= ((wxFont 
const *)arg1
)->GetPixelSize(); 
10286         wxPyEndAllowThreads(__tstate
); 
10287         if (PyErr_Occurred()) SWIG_fail
; 
10290         wxSize 
* resultptr
; 
10291         resultptr 
= new wxSize((wxSize 
&)(result
)); 
10292         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1); 
10300 static PyObject 
*_wrap_Font_IsUsingSizeInPixels(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
10301     PyObject 
*resultobj
; 
10302     wxFont 
*arg1 
= (wxFont 
*) 0 ; 
10304     PyObject 
* obj0 
= 0 ; 
10305     char *kwnames
[] = { 
10306         (char *) "self", NULL 
 
10309     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_IsUsingSizeInPixels",kwnames
,&obj0
)) goto fail
; 
10310     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION 
| 0); 
10311     if (SWIG_arg_fail(1)) SWIG_fail
; 
10313         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10314         result 
= (bool)((wxFont 
const *)arg1
)->IsUsingSizeInPixels(); 
10316         wxPyEndAllowThreads(__tstate
); 
10317         if (PyErr_Occurred()) SWIG_fail
; 
10320         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
10328 static PyObject 
*_wrap_Font_GetFamily(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
10329     PyObject 
*resultobj
; 
10330     wxFont 
*arg1 
= (wxFont 
*) 0 ; 
10332     PyObject 
* obj0 
= 0 ; 
10333     char *kwnames
[] = { 
10334         (char *) "self", NULL 
 
10337     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetFamily",kwnames
,&obj0
)) goto fail
; 
10338     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION 
| 0); 
10339     if (SWIG_arg_fail(1)) SWIG_fail
; 
10341         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10342         result 
= (int)((wxFont 
const *)arg1
)->GetFamily(); 
10344         wxPyEndAllowThreads(__tstate
); 
10345         if (PyErr_Occurred()) SWIG_fail
; 
10348         resultobj 
= SWIG_From_int((int)(result
));  
10356 static PyObject 
*_wrap_Font_GetStyle(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
10357     PyObject 
*resultobj
; 
10358     wxFont 
*arg1 
= (wxFont 
*) 0 ; 
10360     PyObject 
* obj0 
= 0 ; 
10361     char *kwnames
[] = { 
10362         (char *) "self", NULL 
 
10365     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetStyle",kwnames
,&obj0
)) goto fail
; 
10366     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION 
| 0); 
10367     if (SWIG_arg_fail(1)) SWIG_fail
; 
10369         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10370         result 
= (int)((wxFont 
const *)arg1
)->GetStyle(); 
10372         wxPyEndAllowThreads(__tstate
); 
10373         if (PyErr_Occurred()) SWIG_fail
; 
10376         resultobj 
= SWIG_From_int((int)(result
));  
10384 static PyObject 
*_wrap_Font_GetWeight(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
10385     PyObject 
*resultobj
; 
10386     wxFont 
*arg1 
= (wxFont 
*) 0 ; 
10388     PyObject 
* obj0 
= 0 ; 
10389     char *kwnames
[] = { 
10390         (char *) "self", NULL 
 
10393     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetWeight",kwnames
,&obj0
)) goto fail
; 
10394     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION 
| 0); 
10395     if (SWIG_arg_fail(1)) SWIG_fail
; 
10397         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10398         result 
= (int)((wxFont 
const *)arg1
)->GetWeight(); 
10400         wxPyEndAllowThreads(__tstate
); 
10401         if (PyErr_Occurred()) SWIG_fail
; 
10404         resultobj 
= SWIG_From_int((int)(result
));  
10412 static PyObject 
*_wrap_Font_GetUnderlined(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
10413     PyObject 
*resultobj
; 
10414     wxFont 
*arg1 
= (wxFont 
*) 0 ; 
10416     PyObject 
* obj0 
= 0 ; 
10417     char *kwnames
[] = { 
10418         (char *) "self", NULL 
 
10421     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetUnderlined",kwnames
,&obj0
)) goto fail
; 
10422     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION 
| 0); 
10423     if (SWIG_arg_fail(1)) SWIG_fail
; 
10425         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10426         result 
= (bool)((wxFont 
const *)arg1
)->GetUnderlined(); 
10428         wxPyEndAllowThreads(__tstate
); 
10429         if (PyErr_Occurred()) SWIG_fail
; 
10432         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
10440 static PyObject 
*_wrap_Font_GetFaceName(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
10441     PyObject 
*resultobj
; 
10442     wxFont 
*arg1 
= (wxFont 
*) 0 ; 
10444     PyObject 
* obj0 
= 0 ; 
10445     char *kwnames
[] = { 
10446         (char *) "self", NULL 
 
10449     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetFaceName",kwnames
,&obj0
)) goto fail
; 
10450     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION 
| 0); 
10451     if (SWIG_arg_fail(1)) SWIG_fail
; 
10453         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10454         result 
= ((wxFont 
const *)arg1
)->GetFaceName(); 
10456         wxPyEndAllowThreads(__tstate
); 
10457         if (PyErr_Occurred()) SWIG_fail
; 
10461         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
10463         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
10472 static PyObject 
*_wrap_Font_GetEncoding(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
10473     PyObject 
*resultobj
; 
10474     wxFont 
*arg1 
= (wxFont 
*) 0 ; 
10475     wxFontEncoding result
; 
10476     PyObject 
* obj0 
= 0 ; 
10477     char *kwnames
[] = { 
10478         (char *) "self", NULL 
 
10481     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetEncoding",kwnames
,&obj0
)) goto fail
; 
10482     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION 
| 0); 
10483     if (SWIG_arg_fail(1)) SWIG_fail
; 
10485         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10486         result 
= (wxFontEncoding
)((wxFont 
const *)arg1
)->GetEncoding(); 
10488         wxPyEndAllowThreads(__tstate
); 
10489         if (PyErr_Occurred()) SWIG_fail
; 
10491     resultobj 
= SWIG_From_int((result
)); 
10498 static PyObject 
*_wrap_Font_GetNativeFontInfo(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
10499     PyObject 
*resultobj
; 
10500     wxFont 
*arg1 
= (wxFont 
*) 0 ; 
10501     wxNativeFontInfo 
*result
; 
10502     PyObject 
* obj0 
= 0 ; 
10503     char *kwnames
[] = { 
10504         (char *) "self", NULL 
 
10507     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfo",kwnames
,&obj0
)) goto fail
; 
10508     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION 
| 0); 
10509     if (SWIG_arg_fail(1)) SWIG_fail
; 
10511         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10512         result 
= (wxNativeFontInfo 
*)((wxFont 
const *)arg1
)->GetNativeFontInfo(); 
10514         wxPyEndAllowThreads(__tstate
); 
10515         if (PyErr_Occurred()) SWIG_fail
; 
10517     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeFontInfo
, 0); 
10524 static PyObject 
*_wrap_Font_IsFixedWidth(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
10525     PyObject 
*resultobj
; 
10526     wxFont 
*arg1 
= (wxFont 
*) 0 ; 
10528     PyObject 
* obj0 
= 0 ; 
10529     char *kwnames
[] = { 
10530         (char *) "self", NULL 
 
10533     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_IsFixedWidth",kwnames
,&obj0
)) goto fail
; 
10534     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION 
| 0); 
10535     if (SWIG_arg_fail(1)) SWIG_fail
; 
10537         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10538         result 
= (bool)((wxFont 
const *)arg1
)->IsFixedWidth(); 
10540         wxPyEndAllowThreads(__tstate
); 
10541         if (PyErr_Occurred()) SWIG_fail
; 
10544         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
10552 static PyObject 
*_wrap_Font_GetNativeFontInfoDesc(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
10553     PyObject 
*resultobj
; 
10554     wxFont 
*arg1 
= (wxFont 
*) 0 ; 
10556     PyObject 
* obj0 
= 0 ; 
10557     char *kwnames
[] = { 
10558         (char *) "self", NULL 
 
10561     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfoDesc",kwnames
,&obj0
)) goto fail
; 
10562     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION 
| 0); 
10563     if (SWIG_arg_fail(1)) SWIG_fail
; 
10565         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10566         result 
= ((wxFont 
const *)arg1
)->GetNativeFontInfoDesc(); 
10568         wxPyEndAllowThreads(__tstate
); 
10569         if (PyErr_Occurred()) SWIG_fail
; 
10573         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
10575         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
10584 static PyObject 
*_wrap_Font_GetNativeFontInfoUserDesc(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
10585     PyObject 
*resultobj
; 
10586     wxFont 
*arg1 
= (wxFont 
*) 0 ; 
10588     PyObject 
* obj0 
= 0 ; 
10589     char *kwnames
[] = { 
10590         (char *) "self", NULL 
 
10593     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfoUserDesc",kwnames
,&obj0
)) goto fail
; 
10594     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION 
| 0); 
10595     if (SWIG_arg_fail(1)) SWIG_fail
; 
10597         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10598         result 
= ((wxFont 
const *)arg1
)->GetNativeFontInfoUserDesc(); 
10600         wxPyEndAllowThreads(__tstate
); 
10601         if (PyErr_Occurred()) SWIG_fail
; 
10605         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
10607         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
10616 static PyObject 
*_wrap_Font_SetPointSize(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
10617     PyObject 
*resultobj
; 
10618     wxFont 
*arg1 
= (wxFont 
*) 0 ; 
10620     PyObject 
* obj0 
= 0 ; 
10621     PyObject 
* obj1 
= 0 ; 
10622     char *kwnames
[] = { 
10623         (char *) "self",(char *) "pointSize", NULL 
 
10626     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPointSize",kwnames
,&obj0
,&obj1
)) goto fail
; 
10627     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION 
| 0); 
10628     if (SWIG_arg_fail(1)) SWIG_fail
; 
10630         arg2 
= (int)(SWIG_As_int(obj1
));  
10631         if (SWIG_arg_fail(2)) SWIG_fail
; 
10634         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10635         (arg1
)->SetPointSize(arg2
); 
10637         wxPyEndAllowThreads(__tstate
); 
10638         if (PyErr_Occurred()) SWIG_fail
; 
10640     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
10647 static PyObject 
*_wrap_Font_SetPixelSize(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
10648     PyObject 
*resultobj
; 
10649     wxFont 
*arg1 
= (wxFont 
*) 0 ; 
10652     PyObject 
* obj0 
= 0 ; 
10653     PyObject 
* obj1 
= 0 ; 
10654     char *kwnames
[] = { 
10655         (char *) "self",(char *) "pixelSize", NULL 
 
10658     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPixelSize",kwnames
,&obj0
,&obj1
)) goto fail
; 
10659     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION 
| 0); 
10660     if (SWIG_arg_fail(1)) SWIG_fail
; 
10663         if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
; 
10666         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10667         (arg1
)->SetPixelSize((wxSize 
const &)*arg2
); 
10669         wxPyEndAllowThreads(__tstate
); 
10670         if (PyErr_Occurred()) SWIG_fail
; 
10672     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
10679 static PyObject 
*_wrap_Font_SetFamily(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
10680     PyObject 
*resultobj
; 
10681     wxFont 
*arg1 
= (wxFont 
*) 0 ; 
10683     PyObject 
* obj0 
= 0 ; 
10684     PyObject 
* obj1 
= 0 ; 
10685     char *kwnames
[] = { 
10686         (char *) "self",(char *) "family", NULL 
 
10689     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFamily",kwnames
,&obj0
,&obj1
)) goto fail
; 
10690     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION 
| 0); 
10691     if (SWIG_arg_fail(1)) SWIG_fail
; 
10693         arg2 
= (int)(SWIG_As_int(obj1
));  
10694         if (SWIG_arg_fail(2)) SWIG_fail
; 
10697         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10698         (arg1
)->SetFamily(arg2
); 
10700         wxPyEndAllowThreads(__tstate
); 
10701         if (PyErr_Occurred()) SWIG_fail
; 
10703     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
10710 static PyObject 
*_wrap_Font_SetStyle(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
10711     PyObject 
*resultobj
; 
10712     wxFont 
*arg1 
= (wxFont 
*) 0 ; 
10714     PyObject 
* obj0 
= 0 ; 
10715     PyObject 
* obj1 
= 0 ; 
10716     char *kwnames
[] = { 
10717         (char *) "self",(char *) "style", NULL 
 
10720     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
; 
10721     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION 
| 0); 
10722     if (SWIG_arg_fail(1)) SWIG_fail
; 
10724         arg2 
= (int)(SWIG_As_int(obj1
));  
10725         if (SWIG_arg_fail(2)) SWIG_fail
; 
10728         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10729         (arg1
)->SetStyle(arg2
); 
10731         wxPyEndAllowThreads(__tstate
); 
10732         if (PyErr_Occurred()) SWIG_fail
; 
10734     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
10741 static PyObject 
*_wrap_Font_SetWeight(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
10742     PyObject 
*resultobj
; 
10743     wxFont 
*arg1 
= (wxFont 
*) 0 ; 
10745     PyObject 
* obj0 
= 0 ; 
10746     PyObject 
* obj1 
= 0 ; 
10747     char *kwnames
[] = { 
10748         (char *) "self",(char *) "weight", NULL 
 
10751     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetWeight",kwnames
,&obj0
,&obj1
)) goto fail
; 
10752     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION 
| 0); 
10753     if (SWIG_arg_fail(1)) SWIG_fail
; 
10755         arg2 
= (int)(SWIG_As_int(obj1
));  
10756         if (SWIG_arg_fail(2)) SWIG_fail
; 
10759         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10760         (arg1
)->SetWeight(arg2
); 
10762         wxPyEndAllowThreads(__tstate
); 
10763         if (PyErr_Occurred()) SWIG_fail
; 
10765     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
10772 static PyObject 
*_wrap_Font_SetFaceName(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
10773     PyObject 
*resultobj
; 
10774     wxFont 
*arg1 
= (wxFont 
*) 0 ; 
10775     wxString 
*arg2 
= 0 ; 
10776     bool temp2 
= false ; 
10777     PyObject 
* obj0 
= 0 ; 
10778     PyObject 
* obj1 
= 0 ; 
10779     char *kwnames
[] = { 
10780         (char *) "self",(char *) "faceName", NULL 
 
10783     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFaceName",kwnames
,&obj0
,&obj1
)) goto fail
; 
10784     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION 
| 0); 
10785     if (SWIG_arg_fail(1)) SWIG_fail
; 
10787         arg2 
= wxString_in_helper(obj1
); 
10788         if (arg2 
== NULL
) SWIG_fail
; 
10792         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10793         (arg1
)->SetFaceName((wxString 
const &)*arg2
); 
10795         wxPyEndAllowThreads(__tstate
); 
10796         if (PyErr_Occurred()) SWIG_fail
; 
10798     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
10813 static PyObject 
*_wrap_Font_SetUnderlined(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
10814     PyObject 
*resultobj
; 
10815     wxFont 
*arg1 
= (wxFont 
*) 0 ; 
10817     PyObject 
* obj0 
= 0 ; 
10818     PyObject 
* obj1 
= 0 ; 
10819     char *kwnames
[] = { 
10820         (char *) "self",(char *) "underlined", NULL 
 
10823     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetUnderlined",kwnames
,&obj0
,&obj1
)) goto fail
; 
10824     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION 
| 0); 
10825     if (SWIG_arg_fail(1)) SWIG_fail
; 
10827         arg2 
= (bool)(SWIG_As_bool(obj1
));  
10828         if (SWIG_arg_fail(2)) SWIG_fail
; 
10831         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10832         (arg1
)->SetUnderlined(arg2
); 
10834         wxPyEndAllowThreads(__tstate
); 
10835         if (PyErr_Occurred()) SWIG_fail
; 
10837     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
10844 static PyObject 
*_wrap_Font_SetEncoding(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
10845     PyObject 
*resultobj
; 
10846     wxFont 
*arg1 
= (wxFont 
*) 0 ; 
10847     wxFontEncoding arg2 
; 
10848     PyObject 
* obj0 
= 0 ; 
10849     PyObject 
* obj1 
= 0 ; 
10850     char *kwnames
[] = { 
10851         (char *) "self",(char *) "encoding", NULL 
 
10854     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetEncoding",kwnames
,&obj0
,&obj1
)) goto fail
; 
10855     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION 
| 0); 
10856     if (SWIG_arg_fail(1)) SWIG_fail
; 
10858         arg2 
= (wxFontEncoding
)(SWIG_As_int(obj1
));  
10859         if (SWIG_arg_fail(2)) SWIG_fail
; 
10862         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10863         (arg1
)->SetEncoding((wxFontEncoding 
)arg2
); 
10865         wxPyEndAllowThreads(__tstate
); 
10866         if (PyErr_Occurred()) SWIG_fail
; 
10868     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
10875 static PyObject 
*_wrap_Font_SetNativeFontInfo(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
10876     PyObject 
*resultobj
; 
10877     wxFont 
*arg1 
= (wxFont 
*) 0 ; 
10878     wxNativeFontInfo 
*arg2 
= 0 ; 
10879     PyObject 
* obj0 
= 0 ; 
10880     PyObject 
* obj1 
= 0 ; 
10881     char *kwnames
[] = { 
10882         (char *) "self",(char *) "info", NULL 
 
10885     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfo",kwnames
,&obj0
,&obj1
)) goto fail
; 
10886     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION 
| 0); 
10887     if (SWIG_arg_fail(1)) SWIG_fail
; 
10889         SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION 
| 0); 
10890         if (SWIG_arg_fail(2)) SWIG_fail
; 
10891         if (arg2 
== NULL
) { 
10892             SWIG_null_ref("wxNativeFontInfo"); 
10894         if (SWIG_arg_fail(2)) SWIG_fail
; 
10897         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10898         (arg1
)->SetNativeFontInfo((wxNativeFontInfo 
const &)*arg2
); 
10900         wxPyEndAllowThreads(__tstate
); 
10901         if (PyErr_Occurred()) SWIG_fail
; 
10903     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
10910 static PyObject 
*_wrap_Font_SetNativeFontInfoFromString(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
10911     PyObject 
*resultobj
; 
10912     wxFont 
*arg1 
= (wxFont 
*) 0 ; 
10913     wxString 
*arg2 
= 0 ; 
10914     bool temp2 
= false ; 
10915     PyObject 
* obj0 
= 0 ; 
10916     PyObject 
* obj1 
= 0 ; 
10917     char *kwnames
[] = { 
10918         (char *) "self",(char *) "info", NULL 
 
10921     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoFromString",kwnames
,&obj0
,&obj1
)) goto fail
; 
10922     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION 
| 0); 
10923     if (SWIG_arg_fail(1)) SWIG_fail
; 
10925         arg2 
= wxString_in_helper(obj1
); 
10926         if (arg2 
== NULL
) SWIG_fail
; 
10930         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10931         (arg1
)->SetNativeFontInfo((wxString 
const &)*arg2
); 
10933         wxPyEndAllowThreads(__tstate
); 
10934         if (PyErr_Occurred()) SWIG_fail
; 
10936     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
10951 static PyObject 
*_wrap_Font_SetNativeFontInfoUserDesc(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
10952     PyObject 
*resultobj
; 
10953     wxFont 
*arg1 
= (wxFont 
*) 0 ; 
10954     wxString 
*arg2 
= 0 ; 
10955     bool temp2 
= false ; 
10956     PyObject 
* obj0 
= 0 ; 
10957     PyObject 
* obj1 
= 0 ; 
10958     char *kwnames
[] = { 
10959         (char *) "self",(char *) "info", NULL 
 
10962     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoUserDesc",kwnames
,&obj0
,&obj1
)) goto fail
; 
10963     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION 
| 0); 
10964     if (SWIG_arg_fail(1)) SWIG_fail
; 
10966         arg2 
= wxString_in_helper(obj1
); 
10967         if (arg2 
== NULL
) SWIG_fail
; 
10971         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10972         (arg1
)->SetNativeFontInfoUserDesc((wxString 
const &)*arg2
); 
10974         wxPyEndAllowThreads(__tstate
); 
10975         if (PyErr_Occurred()) SWIG_fail
; 
10977     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
10992 static PyObject 
*_wrap_Font_GetFamilyString(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
10993     PyObject 
*resultobj
; 
10994     wxFont 
*arg1 
= (wxFont 
*) 0 ; 
10996     PyObject 
* obj0 
= 0 ; 
10997     char *kwnames
[] = { 
10998         (char *) "self", NULL 
 
11001     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetFamilyString",kwnames
,&obj0
)) goto fail
; 
11002     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION 
| 0); 
11003     if (SWIG_arg_fail(1)) SWIG_fail
; 
11005         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11006         result 
= ((wxFont 
const *)arg1
)->GetFamilyString(); 
11008         wxPyEndAllowThreads(__tstate
); 
11009         if (PyErr_Occurred()) SWIG_fail
; 
11013         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
11015         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
11024 static PyObject 
*_wrap_Font_GetStyleString(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
11025     PyObject 
*resultobj
; 
11026     wxFont 
*arg1 
= (wxFont 
*) 0 ; 
11028     PyObject 
* obj0 
= 0 ; 
11029     char *kwnames
[] = { 
11030         (char *) "self", NULL 
 
11033     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetStyleString",kwnames
,&obj0
)) goto fail
; 
11034     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION 
| 0); 
11035     if (SWIG_arg_fail(1)) SWIG_fail
; 
11037         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11038         result 
= ((wxFont 
const *)arg1
)->GetStyleString(); 
11040         wxPyEndAllowThreads(__tstate
); 
11041         if (PyErr_Occurred()) SWIG_fail
; 
11045         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
11047         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
11056 static PyObject 
*_wrap_Font_GetWeightString(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
11057     PyObject 
*resultobj
; 
11058     wxFont 
*arg1 
= (wxFont 
*) 0 ; 
11060     PyObject 
* obj0 
= 0 ; 
11061     char *kwnames
[] = { 
11062         (char *) "self", NULL 
 
11065     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetWeightString",kwnames
,&obj0
)) goto fail
; 
11066     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION 
| 0); 
11067     if (SWIG_arg_fail(1)) SWIG_fail
; 
11069         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11070         result 
= ((wxFont 
const *)arg1
)->GetWeightString(); 
11072         wxPyEndAllowThreads(__tstate
); 
11073         if (PyErr_Occurred()) SWIG_fail
; 
11077         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
11079         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
11088 static PyObject 
*_wrap_Font_SetNoAntiAliasing(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
11089     PyObject 
*resultobj
; 
11090     wxFont 
*arg1 
= (wxFont 
*) 0 ; 
11091     bool arg2 
= (bool) true ; 
11092     PyObject 
* obj0 
= 0 ; 
11093     PyObject 
* obj1 
= 0 ; 
11094     char *kwnames
[] = { 
11095         (char *) "self",(char *) "no", NULL 
 
11098     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Font_SetNoAntiAliasing",kwnames
,&obj0
,&obj1
)) goto fail
; 
11099     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION 
| 0); 
11100     if (SWIG_arg_fail(1)) SWIG_fail
; 
11103             arg2 
= (bool)(SWIG_As_bool(obj1
));  
11104             if (SWIG_arg_fail(2)) SWIG_fail
; 
11108         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11109         (arg1
)->SetNoAntiAliasing(arg2
); 
11111         wxPyEndAllowThreads(__tstate
); 
11112         if (PyErr_Occurred()) SWIG_fail
; 
11114     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
11121 static PyObject 
*_wrap_Font_GetNoAntiAliasing(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
11122     PyObject 
*resultobj
; 
11123     wxFont 
*arg1 
= (wxFont 
*) 0 ; 
11125     PyObject 
* obj0 
= 0 ; 
11126     char *kwnames
[] = { 
11127         (char *) "self", NULL 
 
11130     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNoAntiAliasing",kwnames
,&obj0
)) goto fail
; 
11131     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION 
| 0); 
11132     if (SWIG_arg_fail(1)) SWIG_fail
; 
11134         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11135         result 
= (bool)((wxFont 
const *)arg1
)->GetNoAntiAliasing(); 
11137         wxPyEndAllowThreads(__tstate
); 
11138         if (PyErr_Occurred()) SWIG_fail
; 
11141         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
11149 static PyObject 
*_wrap_Font_GetDefaultEncoding(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
11150     PyObject 
*resultobj
; 
11151     wxFontEncoding result
; 
11152     char *kwnames
[] = { 
11156     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Font_GetDefaultEncoding",kwnames
)) goto fail
; 
11158         if (!wxPyCheckForApp()) SWIG_fail
; 
11159         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11160         result 
= (wxFontEncoding
)wxFont::GetDefaultEncoding(); 
11162         wxPyEndAllowThreads(__tstate
); 
11163         if (PyErr_Occurred()) SWIG_fail
; 
11165     resultobj 
= SWIG_From_int((result
)); 
11172 static PyObject 
*_wrap_Font_SetDefaultEncoding(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
11173     PyObject 
*resultobj
; 
11174     wxFontEncoding arg1 
; 
11175     PyObject 
* obj0 
= 0 ; 
11176     char *kwnames
[] = { 
11177         (char *) "encoding", NULL 
 
11180     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_SetDefaultEncoding",kwnames
,&obj0
)) goto fail
; 
11182         arg1 
= (wxFontEncoding
)(SWIG_As_int(obj0
));  
11183         if (SWIG_arg_fail(1)) SWIG_fail
; 
11186         if (!wxPyCheckForApp()) SWIG_fail
; 
11187         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11188         wxFont::SetDefaultEncoding((wxFontEncoding 
)arg1
); 
11190         wxPyEndAllowThreads(__tstate
); 
11191         if (PyErr_Occurred()) SWIG_fail
; 
11193     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
11200 static PyObject 
* Font_swigregister(PyObject 
*, PyObject 
*args
) { 
11202     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
11203     SWIG_TypeClientData(SWIGTYPE_p_wxFont
, obj
); 
11205     return Py_BuildValue((char *)""); 
11207 static PyObject 
*_wrap_new_FontEnumerator(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
11208     PyObject 
*resultobj
; 
11209     wxPyFontEnumerator 
*result
; 
11210     char *kwnames
[] = { 
11214     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontEnumerator",kwnames
)) goto fail
; 
11216         if (!wxPyCheckForApp()) SWIG_fail
; 
11217         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11218         result 
= (wxPyFontEnumerator 
*)new wxPyFontEnumerator(); 
11220         wxPyEndAllowThreads(__tstate
); 
11221         if (PyErr_Occurred()) SWIG_fail
; 
11223     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFontEnumerator
, 1); 
11230 static PyObject 
*_wrap_delete_FontEnumerator(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
11231     PyObject 
*resultobj
; 
11232     wxPyFontEnumerator 
*arg1 
= (wxPyFontEnumerator 
*) 0 ; 
11233     PyObject 
* obj0 
= 0 ; 
11234     char *kwnames
[] = { 
11235         (char *) "self", NULL 
 
11238     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontEnumerator",kwnames
,&obj0
)) goto fail
; 
11239     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_EXCEPTION 
| 0); 
11240     if (SWIG_arg_fail(1)) SWIG_fail
; 
11242         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11245         wxPyEndAllowThreads(__tstate
); 
11246         if (PyErr_Occurred()) SWIG_fail
; 
11248     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
11255 static PyObject 
*_wrap_FontEnumerator__setCallbackInfo(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
11256     PyObject 
*resultobj
; 
11257     wxPyFontEnumerator 
*arg1 
= (wxPyFontEnumerator 
*) 0 ; 
11258     PyObject 
*arg2 
= (PyObject 
*) 0 ; 
11259     PyObject 
*arg3 
= (PyObject 
*) 0 ; 
11261     PyObject 
* obj0 
= 0 ; 
11262     PyObject 
* obj1 
= 0 ; 
11263     PyObject 
* obj2 
= 0 ; 
11264     PyObject 
* obj3 
= 0 ; 
11265     char *kwnames
[] = { 
11266         (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL 
 
11269     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FontEnumerator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
11270     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_EXCEPTION 
| 0); 
11271     if (SWIG_arg_fail(1)) SWIG_fail
; 
11275         arg4 
= (bool)(SWIG_As_bool(obj3
));  
11276         if (SWIG_arg_fail(4)) SWIG_fail
; 
11279         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11280         (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
); 
11282         wxPyEndAllowThreads(__tstate
); 
11283         if (PyErr_Occurred()) SWIG_fail
; 
11285     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
11292 static PyObject 
*_wrap_FontEnumerator_EnumerateFacenames(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
11293     PyObject 
*resultobj
; 
11294     wxPyFontEnumerator 
*arg1 
= (wxPyFontEnumerator 
*) 0 ; 
11295     wxFontEncoding arg2 
= (wxFontEncoding
) wxFONTENCODING_SYSTEM 
; 
11296     bool arg3 
= (bool) false ; 
11298     PyObject 
* obj0 
= 0 ; 
11299     PyObject 
* obj1 
= 0 ; 
11300     PyObject 
* obj2 
= 0 ; 
11301     char *kwnames
[] = { 
11302         (char *) "self",(char *) "encoding",(char *) "fixedWidthOnly", NULL 
 
11305     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FontEnumerator_EnumerateFacenames",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
11306     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_EXCEPTION 
| 0); 
11307     if (SWIG_arg_fail(1)) SWIG_fail
; 
11310             arg2 
= (wxFontEncoding
)(SWIG_As_int(obj1
));  
11311             if (SWIG_arg_fail(2)) SWIG_fail
; 
11316             arg3 
= (bool)(SWIG_As_bool(obj2
));  
11317             if (SWIG_arg_fail(3)) SWIG_fail
; 
11321         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11322         result 
= (bool)(arg1
)->EnumerateFacenames((wxFontEncoding 
)arg2
,arg3
); 
11324         wxPyEndAllowThreads(__tstate
); 
11325         if (PyErr_Occurred()) SWIG_fail
; 
11328         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
11336 static PyObject 
*_wrap_FontEnumerator_EnumerateEncodings(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
11337     PyObject 
*resultobj
; 
11338     wxPyFontEnumerator 
*arg1 
= (wxPyFontEnumerator 
*) 0 ; 
11339     wxString 
const &arg2_defvalue 
= wxPyEmptyString 
; 
11340     wxString 
*arg2 
= (wxString 
*) &arg2_defvalue 
; 
11342     bool temp2 
= false ; 
11343     PyObject 
* obj0 
= 0 ; 
11344     PyObject 
* obj1 
= 0 ; 
11345     char *kwnames
[] = { 
11346         (char *) "self",(char *) "facename", NULL 
 
11349     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FontEnumerator_EnumerateEncodings",kwnames
,&obj0
,&obj1
)) goto fail
; 
11350     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_EXCEPTION 
| 0); 
11351     if (SWIG_arg_fail(1)) SWIG_fail
; 
11354             arg2 
= wxString_in_helper(obj1
); 
11355             if (arg2 
== NULL
) SWIG_fail
; 
11360         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11361         result 
= (bool)(arg1
)->EnumerateEncodings((wxString 
const &)*arg2
); 
11363         wxPyEndAllowThreads(__tstate
); 
11364         if (PyErr_Occurred()) SWIG_fail
; 
11367         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
11383 static PyObject 
*_wrap_FontEnumerator_GetEncodings(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
11384     PyObject 
*resultobj
; 
11385     wxPyFontEnumerator 
*arg1 
= (wxPyFontEnumerator 
*) 0 ; 
11387     PyObject 
* obj0 
= 0 ; 
11388     char *kwnames
[] = { 
11389         (char *) "self", NULL 
 
11392     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_GetEncodings",kwnames
,&obj0
)) goto fail
; 
11393     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_EXCEPTION 
| 0); 
11394     if (SWIG_arg_fail(1)) SWIG_fail
; 
11396         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11397         result 
= (PyObject 
*)wxPyFontEnumerator_GetEncodings(arg1
); 
11399         wxPyEndAllowThreads(__tstate
); 
11400         if (PyErr_Occurred()) SWIG_fail
; 
11402     resultobj 
= result
; 
11409 static PyObject 
*_wrap_FontEnumerator_GetFacenames(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
11410     PyObject 
*resultobj
; 
11411     wxPyFontEnumerator 
*arg1 
= (wxPyFontEnumerator 
*) 0 ; 
11413     PyObject 
* obj0 
= 0 ; 
11414     char *kwnames
[] = { 
11415         (char *) "self", NULL 
 
11418     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_GetFacenames",kwnames
,&obj0
)) goto fail
; 
11419     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_EXCEPTION 
| 0); 
11420     if (SWIG_arg_fail(1)) SWIG_fail
; 
11422         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11423         result 
= (PyObject 
*)wxPyFontEnumerator_GetFacenames(arg1
); 
11425         wxPyEndAllowThreads(__tstate
); 
11426         if (PyErr_Occurred()) SWIG_fail
; 
11428     resultobj 
= result
; 
11435 static PyObject 
* FontEnumerator_swigregister(PyObject 
*, PyObject 
*args
) { 
11437     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
11438     SWIG_TypeClientData(SWIGTYPE_p_wxPyFontEnumerator
, obj
); 
11440     return Py_BuildValue((char *)""); 
11442 static PyObject 
*_wrap_LanguageInfo_Language_set(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
11443     PyObject 
*resultobj
; 
11444     wxLanguageInfo 
*arg1 
= (wxLanguageInfo 
*) 0 ; 
11446     PyObject 
* obj0 
= 0 ; 
11447     PyObject 
* obj1 
= 0 ; 
11448     char *kwnames
[] = { 
11449         (char *) "self",(char *) "Language", NULL 
 
11452     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LanguageInfo_Language_set",kwnames
,&obj0
,&obj1
)) goto fail
; 
11453     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLanguageInfo
, SWIG_POINTER_EXCEPTION 
| 0); 
11454     if (SWIG_arg_fail(1)) SWIG_fail
; 
11456         arg2 
= (int)(SWIG_As_int(obj1
));  
11457         if (SWIG_arg_fail(2)) SWIG_fail
; 
11459     if (arg1
) (arg1
)->Language 
= arg2
; 
11461     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
11468 static PyObject 
*_wrap_LanguageInfo_Language_get(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
11469     PyObject 
*resultobj
; 
11470     wxLanguageInfo 
*arg1 
= (wxLanguageInfo 
*) 0 ; 
11472     PyObject 
* obj0 
= 0 ; 
11473     char *kwnames
[] = { 
11474         (char *) "self", NULL 
 
11477     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_Language_get",kwnames
,&obj0
)) goto fail
; 
11478     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLanguageInfo
, SWIG_POINTER_EXCEPTION 
| 0); 
11479     if (SWIG_arg_fail(1)) SWIG_fail
; 
11480     result 
= (int) ((arg1
)->Language
); 
11483         resultobj 
= SWIG_From_int((int)(result
));  
11491 static PyObject 
*_wrap_LanguageInfo_CanonicalName_set(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
11492     PyObject 
*resultobj
; 
11493     wxLanguageInfo 
*arg1 
= (wxLanguageInfo 
*) 0 ; 
11494     wxString 
*arg2 
= (wxString 
*) 0 ; 
11495     bool temp2 
= false ; 
11496     PyObject 
* obj0 
= 0 ; 
11497     PyObject 
* obj1 
= 0 ; 
11498     char *kwnames
[] = { 
11499         (char *) "self",(char *) "CanonicalName", NULL 
 
11502     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LanguageInfo_CanonicalName_set",kwnames
,&obj0
,&obj1
)) goto fail
; 
11503     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLanguageInfo
, SWIG_POINTER_EXCEPTION 
| 0); 
11504     if (SWIG_arg_fail(1)) SWIG_fail
; 
11506         arg2 
= wxString_in_helper(obj1
); 
11507         if (arg2 
== NULL
) SWIG_fail
; 
11510     if (arg1
) (arg1
)->CanonicalName 
= *arg2
; 
11512     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
11527 static PyObject 
*_wrap_LanguageInfo_CanonicalName_get(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
11528     PyObject 
*resultobj
; 
11529     wxLanguageInfo 
*arg1 
= (wxLanguageInfo 
*) 0 ; 
11531     PyObject 
* obj0 
= 0 ; 
11532     char *kwnames
[] = { 
11533         (char *) "self", NULL 
 
11536     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_CanonicalName_get",kwnames
,&obj0
)) goto fail
; 
11537     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLanguageInfo
, SWIG_POINTER_EXCEPTION 
| 0); 
11538     if (SWIG_arg_fail(1)) SWIG_fail
; 
11539     result 
= (wxString 
*)& ((arg1
)->CanonicalName
); 
11543         resultobj 
= PyUnicode_FromWideChar(result
->c_str(), result
->Len()); 
11545         resultobj 
= PyString_FromStringAndSize(result
->c_str(), result
->Len()); 
11554 static PyObject 
*_wrap_LanguageInfo_Description_set(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
11555     PyObject 
*resultobj
; 
11556     wxLanguageInfo 
*arg1 
= (wxLanguageInfo 
*) 0 ; 
11557     wxString 
*arg2 
= (wxString 
*) 0 ; 
11558     bool temp2 
= false ; 
11559     PyObject 
* obj0 
= 0 ; 
11560     PyObject 
* obj1 
= 0 ; 
11561     char *kwnames
[] = { 
11562         (char *) "self",(char *) "Description", NULL 
 
11565     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LanguageInfo_Description_set",kwnames
,&obj0
,&obj1
)) goto fail
; 
11566     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLanguageInfo
, SWIG_POINTER_EXCEPTION 
| 0); 
11567     if (SWIG_arg_fail(1)) SWIG_fail
; 
11569         arg2 
= wxString_in_helper(obj1
); 
11570         if (arg2 
== NULL
) SWIG_fail
; 
11573     if (arg1
) (arg1
)->Description 
= *arg2
; 
11575     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
11590 static PyObject 
*_wrap_LanguageInfo_Description_get(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
11591     PyObject 
*resultobj
; 
11592     wxLanguageInfo 
*arg1 
= (wxLanguageInfo 
*) 0 ; 
11594     PyObject 
* obj0 
= 0 ; 
11595     char *kwnames
[] = { 
11596         (char *) "self", NULL 
 
11599     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_Description_get",kwnames
,&obj0
)) goto fail
; 
11600     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLanguageInfo
, SWIG_POINTER_EXCEPTION 
| 0); 
11601     if (SWIG_arg_fail(1)) SWIG_fail
; 
11602     result 
= (wxString 
*)& ((arg1
)->Description
); 
11606         resultobj 
= PyUnicode_FromWideChar(result
->c_str(), result
->Len()); 
11608         resultobj 
= PyString_FromStringAndSize(result
->c_str(), result
->Len()); 
11617 static PyObject 
* LanguageInfo_swigregister(PyObject 
*, PyObject 
*args
) { 
11619     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
11620     SWIG_TypeClientData(SWIGTYPE_p_wxLanguageInfo
, obj
); 
11622     return Py_BuildValue((char *)""); 
11624 static PyObject 
*_wrap_new_Locale(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
11625     PyObject 
*resultobj
; 
11626     int arg1 
= (int) -1 ; 
11627     int arg2 
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING 
; 
11629     PyObject 
* obj0 
= 0 ; 
11630     PyObject 
* obj1 
= 0 ; 
11631     char *kwnames
[] = { 
11632         (char *) "language",(char *) "flags", NULL 
 
11635     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Locale",kwnames
,&obj0
,&obj1
)) goto fail
; 
11638             arg1 
= (int)(SWIG_As_int(obj0
));  
11639             if (SWIG_arg_fail(1)) SWIG_fail
; 
11644             arg2 
= (int)(SWIG_As_int(obj1
));  
11645             if (SWIG_arg_fail(2)) SWIG_fail
; 
11649         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11650         result 
= (wxLocale 
*)new_wxLocale(arg1
,arg2
); 
11652         wxPyEndAllowThreads(__tstate
); 
11653         if (PyErr_Occurred()) SWIG_fail
; 
11655     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLocale
, 1); 
11662 static PyObject 
*_wrap_delete_Locale(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
11663     PyObject 
*resultobj
; 
11664     wxLocale 
*arg1 
= (wxLocale 
*) 0 ; 
11665     PyObject 
* obj0 
= 0 ; 
11666     char *kwnames
[] = { 
11667         (char *) "self", NULL 
 
11670     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Locale",kwnames
,&obj0
)) goto fail
; 
11671     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLocale
, SWIG_POINTER_EXCEPTION 
| 0); 
11672     if (SWIG_arg_fail(1)) SWIG_fail
; 
11674         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11677         wxPyEndAllowThreads(__tstate
); 
11678         if (PyErr_Occurred()) SWIG_fail
; 
11680     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
11687 static PyObject 
*_wrap_Locale_Init1(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
11688     PyObject 
*resultobj
; 
11689     wxLocale 
*arg1 
= (wxLocale 
*) 0 ; 
11690     wxString 
*arg2 
= 0 ; 
11691     wxString 
const &arg3_defvalue 
= wxPyEmptyString 
; 
11692     wxString 
*arg3 
= (wxString 
*) &arg3_defvalue 
; 
11693     wxString 
const &arg4_defvalue 
= wxPyEmptyString 
; 
11694     wxString 
*arg4 
= (wxString 
*) &arg4_defvalue 
; 
11695     bool arg5 
= (bool) true ; 
11696     bool arg6 
= (bool) false ; 
11698     bool temp2 
= false ; 
11699     bool temp3 
= false ; 
11700     bool temp4 
= false ; 
11701     PyObject 
* obj0 
= 0 ; 
11702     PyObject 
* obj1 
= 0 ; 
11703     PyObject 
* obj2 
= 0 ; 
11704     PyObject 
* obj3 
= 0 ; 
11705     PyObject 
* obj4 
= 0 ; 
11706     PyObject 
* obj5 
= 0 ; 
11707     char *kwnames
[] = { 
11708         (char *) "self",(char *) "szName",(char *) "szShort",(char *) "szLocale",(char *) "bLoadDefault",(char *) "bConvertEncoding", NULL 
 
11711     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Locale_Init1",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
; 
11712     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLocale
, SWIG_POINTER_EXCEPTION 
| 0); 
11713     if (SWIG_arg_fail(1)) SWIG_fail
; 
11715         arg2 
= wxString_in_helper(obj1
); 
11716         if (arg2 
== NULL
) SWIG_fail
; 
11721             arg3 
= wxString_in_helper(obj2
); 
11722             if (arg3 
== NULL
) SWIG_fail
; 
11728             arg4 
= wxString_in_helper(obj3
); 
11729             if (arg4 
== NULL
) SWIG_fail
; 
11735             arg5 
= (bool)(SWIG_As_bool(obj4
));  
11736             if (SWIG_arg_fail(5)) SWIG_fail
; 
11741             arg6 
= (bool)(SWIG_As_bool(obj5
));  
11742             if (SWIG_arg_fail(6)) SWIG_fail
; 
11746         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11747         result 
= (bool)wxLocale_Init1(arg1
,(wxString 
const &)*arg2
,(wxString 
const &)*arg3
,(wxString 
const &)*arg4
,arg5
,arg6
); 
11749         wxPyEndAllowThreads(__tstate
); 
11750         if (PyErr_Occurred()) SWIG_fail
; 
11753         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
11785 static PyObject 
*_wrap_Locale_Init2(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
11786     PyObject 
*resultobj
; 
11787     wxLocale 
*arg1 
= (wxLocale 
*) 0 ; 
11788     int arg2 
= (int) wxLANGUAGE_DEFAULT 
; 
11789     int arg3 
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING 
; 
11791     PyObject 
* obj0 
= 0 ; 
11792     PyObject 
* obj1 
= 0 ; 
11793     PyObject 
* obj2 
= 0 ; 
11794     char *kwnames
[] = { 
11795         (char *) "self",(char *) "language",(char *) "flags", NULL 
 
11798     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Locale_Init2",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
11799     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLocale
, SWIG_POINTER_EXCEPTION 
| 0); 
11800     if (SWIG_arg_fail(1)) SWIG_fail
; 
11803             arg2 
= (int)(SWIG_As_int(obj1
));  
11804             if (SWIG_arg_fail(2)) SWIG_fail
; 
11809             arg3 
= (int)(SWIG_As_int(obj2
));  
11810             if (SWIG_arg_fail(3)) SWIG_fail
; 
11814         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11815         result 
= (bool)wxLocale_Init2(arg1
,arg2
,arg3
); 
11817         wxPyEndAllowThreads(__tstate
); 
11818         if (PyErr_Occurred()) SWIG_fail
; 
11821         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
11829 static PyObject 
*_wrap_Locale_GetSystemLanguage(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
11830     PyObject 
*resultobj
; 
11832     char *kwnames
[] = { 
11836     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemLanguage",kwnames
)) goto fail
; 
11838         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11839         result 
= (int)wxLocale::GetSystemLanguage(); 
11841         wxPyEndAllowThreads(__tstate
); 
11842         if (PyErr_Occurred()) SWIG_fail
; 
11845         resultobj 
= SWIG_From_int((int)(result
));  
11853 static PyObject 
*_wrap_Locale_GetSystemEncoding(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
11854     PyObject 
*resultobj
; 
11855     wxFontEncoding result
; 
11856     char *kwnames
[] = { 
11860     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemEncoding",kwnames
)) goto fail
; 
11862         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11863         result 
= (wxFontEncoding
)wxLocale::GetSystemEncoding(); 
11865         wxPyEndAllowThreads(__tstate
); 
11866         if (PyErr_Occurred()) SWIG_fail
; 
11868     resultobj 
= SWIG_From_int((result
)); 
11875 static PyObject 
*_wrap_Locale_GetSystemEncodingName(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
11876     PyObject 
*resultobj
; 
11878     char *kwnames
[] = { 
11882     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemEncodingName",kwnames
)) goto fail
; 
11884         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11885         result 
= wxLocale::GetSystemEncodingName(); 
11887         wxPyEndAllowThreads(__tstate
); 
11888         if (PyErr_Occurred()) SWIG_fail
; 
11892         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
11894         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
11903 static PyObject 
*_wrap_Locale_IsOk(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
11904     PyObject 
*resultobj
; 
11905     wxLocale 
*arg1 
= (wxLocale 
*) 0 ; 
11907     PyObject 
* obj0 
= 0 ; 
11908     char *kwnames
[] = { 
11909         (char *) "self", NULL 
 
11912     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_IsOk",kwnames
,&obj0
)) goto fail
; 
11913     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLocale
, SWIG_POINTER_EXCEPTION 
| 0); 
11914     if (SWIG_arg_fail(1)) SWIG_fail
; 
11916         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11917         result 
= (bool)((wxLocale 
const *)arg1
)->IsOk(); 
11919         wxPyEndAllowThreads(__tstate
); 
11920         if (PyErr_Occurred()) SWIG_fail
; 
11923         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
11931 static PyObject 
*_wrap_Locale_GetLocale(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
11932     PyObject 
*resultobj
; 
11933     wxLocale 
*arg1 
= (wxLocale 
*) 0 ; 
11935     PyObject 
* obj0 
= 0 ; 
11936     char *kwnames
[] = { 
11937         (char *) "self", NULL 
 
11940     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLocale",kwnames
,&obj0
)) goto fail
; 
11941     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLocale
, SWIG_POINTER_EXCEPTION 
| 0); 
11942     if (SWIG_arg_fail(1)) SWIG_fail
; 
11944         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11945         result 
= ((wxLocale 
const *)arg1
)->GetLocale(); 
11947         wxPyEndAllowThreads(__tstate
); 
11948         if (PyErr_Occurred()) SWIG_fail
; 
11952         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
11954         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
11963 static PyObject 
*_wrap_Locale_GetLanguage(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
11964     PyObject 
*resultobj
; 
11965     wxLocale 
*arg1 
= (wxLocale 
*) 0 ; 
11967     PyObject 
* obj0 
= 0 ; 
11968     char *kwnames
[] = { 
11969         (char *) "self", NULL 
 
11972     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguage",kwnames
,&obj0
)) goto fail
; 
11973     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLocale
, SWIG_POINTER_EXCEPTION 
| 0); 
11974     if (SWIG_arg_fail(1)) SWIG_fail
; 
11976         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11977         result 
= (int)((wxLocale 
const *)arg1
)->GetLanguage(); 
11979         wxPyEndAllowThreads(__tstate
); 
11980         if (PyErr_Occurred()) SWIG_fail
; 
11983         resultobj 
= SWIG_From_int((int)(result
));  
11991 static PyObject 
*_wrap_Locale_GetSysName(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
11992     PyObject 
*resultobj
; 
11993     wxLocale 
*arg1 
= (wxLocale 
*) 0 ; 
11995     PyObject 
* obj0 
= 0 ; 
11996     char *kwnames
[] = { 
11997         (char *) "self", NULL 
 
12000     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetSysName",kwnames
,&obj0
)) goto fail
; 
12001     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLocale
, SWIG_POINTER_EXCEPTION 
| 0); 
12002     if (SWIG_arg_fail(1)) SWIG_fail
; 
12004         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12005         result 
= ((wxLocale 
const *)arg1
)->GetSysName(); 
12007         wxPyEndAllowThreads(__tstate
); 
12008         if (PyErr_Occurred()) SWIG_fail
; 
12012         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
12014         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
12023 static PyObject 
*_wrap_Locale_GetCanonicalName(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
12024     PyObject 
*resultobj
; 
12025     wxLocale 
*arg1 
= (wxLocale 
*) 0 ; 
12027     PyObject 
* obj0 
= 0 ; 
12028     char *kwnames
[] = { 
12029         (char *) "self", NULL 
 
12032     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetCanonicalName",kwnames
,&obj0
)) goto fail
; 
12033     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLocale
, SWIG_POINTER_EXCEPTION 
| 0); 
12034     if (SWIG_arg_fail(1)) SWIG_fail
; 
12036         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12037         result 
= ((wxLocale 
const *)arg1
)->GetCanonicalName(); 
12039         wxPyEndAllowThreads(__tstate
); 
12040         if (PyErr_Occurred()) SWIG_fail
; 
12044         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
12046         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
12055 static PyObject 
*_wrap_Locale_AddCatalogLookupPathPrefix(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
12056     PyObject 
*resultobj
; 
12057     wxString 
*arg1 
= 0 ; 
12058     bool temp1 
= false ; 
12059     PyObject 
* obj0 
= 0 ; 
12060     char *kwnames
[] = { 
12061         (char *) "prefix", NULL 
 
12064     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddCatalogLookupPathPrefix",kwnames
,&obj0
)) goto fail
; 
12066         arg1 
= wxString_in_helper(obj0
); 
12067         if (arg1 
== NULL
) SWIG_fail
; 
12071         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12072         wxLocale::AddCatalogLookupPathPrefix((wxString 
const &)*arg1
); 
12074         wxPyEndAllowThreads(__tstate
); 
12075         if (PyErr_Occurred()) SWIG_fail
; 
12077     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
12092 static PyObject 
*_wrap_Locale_AddCatalog(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
12093     PyObject 
*resultobj
; 
12094     wxLocale 
*arg1 
= (wxLocale 
*) 0 ; 
12095     wxString 
*arg2 
= 0 ; 
12097     bool temp2 
= false ; 
12098     PyObject 
* obj0 
= 0 ; 
12099     PyObject 
* obj1 
= 0 ; 
12100     char *kwnames
[] = { 
12101         (char *) "self",(char *) "szDomain", NULL 
 
12104     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_AddCatalog",kwnames
,&obj0
,&obj1
)) goto fail
; 
12105     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLocale
, SWIG_POINTER_EXCEPTION 
| 0); 
12106     if (SWIG_arg_fail(1)) SWIG_fail
; 
12108         arg2 
= wxString_in_helper(obj1
); 
12109         if (arg2 
== NULL
) SWIG_fail
; 
12113         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12114         result 
= (bool)(arg1
)->AddCatalog((wxString 
const &)*arg2
); 
12116         wxPyEndAllowThreads(__tstate
); 
12117         if (PyErr_Occurred()) SWIG_fail
; 
12120         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
12136 static PyObject 
*_wrap_Locale_IsLoaded(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
12137     PyObject 
*resultobj
; 
12138     wxLocale 
*arg1 
= (wxLocale 
*) 0 ; 
12139     wxString 
*arg2 
= 0 ; 
12141     bool temp2 
= false ; 
12142     PyObject 
* obj0 
= 0 ; 
12143     PyObject 
* obj1 
= 0 ; 
12144     char *kwnames
[] = { 
12145         (char *) "self",(char *) "szDomain", NULL 
 
12148     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_IsLoaded",kwnames
,&obj0
,&obj1
)) goto fail
; 
12149     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLocale
, SWIG_POINTER_EXCEPTION 
| 0); 
12150     if (SWIG_arg_fail(1)) SWIG_fail
; 
12152         arg2 
= wxString_in_helper(obj1
); 
12153         if (arg2 
== NULL
) SWIG_fail
; 
12157         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12158         result 
= (bool)((wxLocale 
const *)arg1
)->IsLoaded((wxString 
const &)*arg2
); 
12160         wxPyEndAllowThreads(__tstate
); 
12161         if (PyErr_Occurred()) SWIG_fail
; 
12164         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
12180 static PyObject 
*_wrap_Locale_GetLanguageInfo(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
12181     PyObject 
*resultobj
; 
12183     wxLanguageInfo 
*result
; 
12184     PyObject 
* obj0 
= 0 ; 
12185     char *kwnames
[] = { 
12186         (char *) "lang", NULL 
 
12189     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageInfo",kwnames
,&obj0
)) goto fail
; 
12191         arg1 
= (int)(SWIG_As_int(obj0
));  
12192         if (SWIG_arg_fail(1)) SWIG_fail
; 
12195         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12196         result 
= (wxLanguageInfo 
*)wxLocale::GetLanguageInfo(arg1
); 
12198         wxPyEndAllowThreads(__tstate
); 
12199         if (PyErr_Occurred()) SWIG_fail
; 
12201     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLanguageInfo
, 0); 
12208 static PyObject 
*_wrap_Locale_GetLanguageName(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
12209     PyObject 
*resultobj
; 
12212     PyObject 
* obj0 
= 0 ; 
12213     char *kwnames
[] = { 
12214         (char *) "lang", NULL 
 
12217     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageName",kwnames
,&obj0
)) goto fail
; 
12219         arg1 
= (int)(SWIG_As_int(obj0
));  
12220         if (SWIG_arg_fail(1)) SWIG_fail
; 
12223         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12224         result 
= wxLocale::GetLanguageName(arg1
); 
12226         wxPyEndAllowThreads(__tstate
); 
12227         if (PyErr_Occurred()) SWIG_fail
; 
12231         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
12233         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
12242 static PyObject 
*_wrap_Locale_FindLanguageInfo(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
12243     PyObject 
*resultobj
; 
12244     wxString 
*arg1 
= 0 ; 
12245     wxLanguageInfo 
*result
; 
12246     bool temp1 
= false ; 
12247     PyObject 
* obj0 
= 0 ; 
12248     char *kwnames
[] = { 
12249         (char *) "locale", NULL 
 
12252     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_FindLanguageInfo",kwnames
,&obj0
)) goto fail
; 
12254         arg1 
= wxString_in_helper(obj0
); 
12255         if (arg1 
== NULL
) SWIG_fail
; 
12259         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12260         result 
= (wxLanguageInfo 
*)wxLocale::FindLanguageInfo((wxString 
const &)*arg1
); 
12262         wxPyEndAllowThreads(__tstate
); 
12263         if (PyErr_Occurred()) SWIG_fail
; 
12265     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLanguageInfo
, 0); 
12280 static PyObject 
*_wrap_Locale_AddLanguage(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
12281     PyObject 
*resultobj
; 
12282     wxLanguageInfo 
*arg1 
= 0 ; 
12283     PyObject 
* obj0 
= 0 ; 
12284     char *kwnames
[] = { 
12285         (char *) "info", NULL 
 
12288     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddLanguage",kwnames
,&obj0
)) goto fail
; 
12290         SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLanguageInfo
, SWIG_POINTER_EXCEPTION 
| 0); 
12291         if (SWIG_arg_fail(1)) SWIG_fail
; 
12292         if (arg1 
== NULL
) { 
12293             SWIG_null_ref("wxLanguageInfo"); 
12295         if (SWIG_arg_fail(1)) SWIG_fail
; 
12298         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12299         wxLocale::AddLanguage((wxLanguageInfo 
const &)*arg1
); 
12301         wxPyEndAllowThreads(__tstate
); 
12302         if (PyErr_Occurred()) SWIG_fail
; 
12304     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
12311 static PyObject 
*_wrap_Locale_GetString(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
12312     PyObject 
*resultobj
; 
12313     wxLocale 
*arg1 
= (wxLocale 
*) 0 ; 
12314     wxString 
*arg2 
= 0 ; 
12315     wxString 
const &arg3_defvalue 
= wxPyEmptyString 
; 
12316     wxString 
*arg3 
= (wxString 
*) &arg3_defvalue 
; 
12318     bool temp2 
= false ; 
12319     bool temp3 
= false ; 
12320     PyObject 
* obj0 
= 0 ; 
12321     PyObject 
* obj1 
= 0 ; 
12322     PyObject 
* obj2 
= 0 ; 
12323     char *kwnames
[] = { 
12324         (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL 
 
12327     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Locale_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
12328     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLocale
, SWIG_POINTER_EXCEPTION 
| 0); 
12329     if (SWIG_arg_fail(1)) SWIG_fail
; 
12331         arg2 
= wxString_in_helper(obj1
); 
12332         if (arg2 
== NULL
) SWIG_fail
; 
12337             arg3 
= wxString_in_helper(obj2
); 
12338             if (arg3 
== NULL
) SWIG_fail
; 
12343         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12344         result 
= ((wxLocale 
const *)arg1
)->GetString((wxString 
const &)*arg2
,(wxString 
const &)*arg3
); 
12346         wxPyEndAllowThreads(__tstate
); 
12347         if (PyErr_Occurred()) SWIG_fail
; 
12351         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
12353         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
12378 static PyObject 
*_wrap_Locale_GetName(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
12379     PyObject 
*resultobj
; 
12380     wxLocale 
*arg1 
= (wxLocale 
*) 0 ; 
12382     PyObject 
* obj0 
= 0 ; 
12383     char *kwnames
[] = { 
12384         (char *) "self", NULL 
 
12387     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetName",kwnames
,&obj0
)) goto fail
; 
12388     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLocale
, SWIG_POINTER_EXCEPTION 
| 0); 
12389     if (SWIG_arg_fail(1)) SWIG_fail
; 
12391         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12393             wxString 
const &_result_ref 
= ((wxLocale 
const *)arg1
)->GetName(); 
12394             result 
= (wxString 
*) &_result_ref
; 
12397         wxPyEndAllowThreads(__tstate
); 
12398         if (PyErr_Occurred()) SWIG_fail
; 
12402         resultobj 
= PyUnicode_FromWideChar(result
->c_str(), result
->Len()); 
12404         resultobj 
= PyString_FromStringAndSize(result
->c_str(), result
->Len()); 
12413 static PyObject 
* Locale_swigregister(PyObject 
*, PyObject 
*args
) { 
12415     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
12416     SWIG_TypeClientData(SWIGTYPE_p_wxLocale
, obj
); 
12418     return Py_BuildValue((char *)""); 
12420 static PyObject 
*_wrap_GetLocale(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
12421     PyObject 
*resultobj
; 
12423     char *kwnames
[] = { 
12427     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocale",kwnames
)) goto fail
; 
12429         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12430         result 
= (wxLocale 
*)wxGetLocale(); 
12432         wxPyEndAllowThreads(__tstate
); 
12433         if (PyErr_Occurred()) SWIG_fail
; 
12435     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLocale
, 0); 
12442 static PyObject 
*_wrap_GetTranslation__SWIG_0(PyObject 
*, PyObject 
*args
) { 
12443     PyObject 
*resultobj
; 
12444     wxString 
*arg1 
= 0 ; 
12446     bool temp1 
= false ; 
12447     PyObject 
* obj0 
= 0 ; 
12449     if(!PyArg_ParseTuple(args
,(char *)"O:GetTranslation",&obj0
)) goto fail
; 
12451         arg1 
= wxString_in_helper(obj0
); 
12452         if (arg1 
== NULL
) SWIG_fail
; 
12456         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12457         result 
= wxGetTranslation((wxString 
const &)*arg1
); 
12459         wxPyEndAllowThreads(__tstate
); 
12460         if (PyErr_Occurred()) SWIG_fail
; 
12464         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
12466         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
12483 static PyObject 
*_wrap_GetTranslation__SWIG_1(PyObject 
*, PyObject 
*args
) { 
12484     PyObject 
*resultobj
; 
12485     wxString 
*arg1 
= 0 ; 
12486     wxString 
*arg2 
= 0 ; 
12489     bool temp1 
= false ; 
12490     bool temp2 
= false ; 
12491     PyObject 
* obj0 
= 0 ; 
12492     PyObject 
* obj1 
= 0 ; 
12493     PyObject 
* obj2 
= 0 ; 
12495     if(!PyArg_ParseTuple(args
,(char *)"OOO:GetTranslation",&obj0
,&obj1
,&obj2
)) goto fail
; 
12497         arg1 
= wxString_in_helper(obj0
); 
12498         if (arg1 
== NULL
) SWIG_fail
; 
12502         arg2 
= wxString_in_helper(obj1
); 
12503         if (arg2 
== NULL
) SWIG_fail
; 
12507         arg3 
= (size_t)(SWIG_As_unsigned_SS_long(obj2
));  
12508         if (SWIG_arg_fail(3)) SWIG_fail
; 
12511         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12512         result 
= wxGetTranslation((wxString 
const &)*arg1
,(wxString 
const &)*arg2
,arg3
); 
12514         wxPyEndAllowThreads(__tstate
); 
12515         if (PyErr_Occurred()) SWIG_fail
; 
12519         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
12521         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
12546 static PyObject 
*_wrap_GetTranslation(PyObject 
*self
, PyObject 
*args
) { 
12551     argc 
= PyObject_Length(args
); 
12552     for (ii 
= 0; (ii 
< argc
) && (ii 
< 3); ii
++) { 
12553         argv
[ii
] = PyTuple_GetItem(args
,ii
); 
12558             _v 
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]); 
12561             return _wrap_GetTranslation__SWIG_0(self
,args
); 
12567             _v 
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]); 
12571                 _v 
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]); 
12574                 _v 
= SWIG_Check_unsigned_SS_long(argv
[2]); 
12576                     return _wrap_GetTranslation__SWIG_1(self
,args
); 
12582     PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'GetTranslation'"); 
12587 static PyObject 
*_wrap_new_EncodingConverter(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
12588     PyObject 
*resultobj
; 
12589     wxEncodingConverter 
*result
; 
12590     char *kwnames
[] = { 
12594     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EncodingConverter",kwnames
)) goto fail
; 
12596         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12597         result 
= (wxEncodingConverter 
*)new wxEncodingConverter(); 
12599         wxPyEndAllowThreads(__tstate
); 
12600         if (PyErr_Occurred()) SWIG_fail
; 
12602     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEncodingConverter
, 1); 
12609 static PyObject 
*_wrap_delete_EncodingConverter(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
12610     PyObject 
*resultobj
; 
12611     wxEncodingConverter 
*arg1 
= (wxEncodingConverter 
*) 0 ; 
12612     PyObject 
* obj0 
= 0 ; 
12613     char *kwnames
[] = { 
12614         (char *) "self", NULL 
 
12617     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_EncodingConverter",kwnames
,&obj0
)) goto fail
; 
12618     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_EXCEPTION 
| 0); 
12619     if (SWIG_arg_fail(1)) SWIG_fail
; 
12621         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12624         wxPyEndAllowThreads(__tstate
); 
12625         if (PyErr_Occurred()) SWIG_fail
; 
12627     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
12634 static PyObject 
*_wrap_EncodingConverter_Init(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
12635     PyObject 
*resultobj
; 
12636     wxEncodingConverter 
*arg1 
= (wxEncodingConverter 
*) 0 ; 
12637     wxFontEncoding arg2 
; 
12638     wxFontEncoding arg3 
; 
12639     int arg4 
= (int) wxCONVERT_STRICT 
; 
12641     PyObject 
* obj0 
= 0 ; 
12642     PyObject 
* obj1 
= 0 ; 
12643     PyObject 
* obj2 
= 0 ; 
12644     PyObject 
* obj3 
= 0 ; 
12645     char *kwnames
[] = { 
12646         (char *) "self",(char *) "input_enc",(char *) "output_enc",(char *) "method", NULL 
 
12649     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:EncodingConverter_Init",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
12650     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_EXCEPTION 
| 0); 
12651     if (SWIG_arg_fail(1)) SWIG_fail
; 
12653         arg2 
= (wxFontEncoding
)(SWIG_As_int(obj1
));  
12654         if (SWIG_arg_fail(2)) SWIG_fail
; 
12657         arg3 
= (wxFontEncoding
)(SWIG_As_int(obj2
));  
12658         if (SWIG_arg_fail(3)) SWIG_fail
; 
12662             arg4 
= (int)(SWIG_As_int(obj3
));  
12663             if (SWIG_arg_fail(4)) SWIG_fail
; 
12667         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12668         result 
= (bool)(arg1
)->Init((wxFontEncoding 
)arg2
,(wxFontEncoding 
)arg3
,arg4
); 
12670         wxPyEndAllowThreads(__tstate
); 
12671         if (PyErr_Occurred()) SWIG_fail
; 
12674         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
12682 static PyObject 
*_wrap_EncodingConverter_Convert(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
12683     PyObject 
*resultobj
; 
12684     wxEncodingConverter 
*arg1 
= (wxEncodingConverter 
*) 0 ; 
12685     wxString 
*arg2 
= 0 ; 
12687     bool temp2 
= false ; 
12688     PyObject 
* obj0 
= 0 ; 
12689     PyObject 
* obj1 
= 0 ; 
12690     char *kwnames
[] = { 
12691         (char *) "self",(char *) "input", NULL 
 
12694     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_Convert",kwnames
,&obj0
,&obj1
)) goto fail
; 
12695     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_EXCEPTION 
| 0); 
12696     if (SWIG_arg_fail(1)) SWIG_fail
; 
12698         arg2 
= wxString_in_helper(obj1
); 
12699         if (arg2 
== NULL
) SWIG_fail
; 
12703         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12704         result 
= (arg1
)->Convert((wxString 
const &)*arg2
); 
12706         wxPyEndAllowThreads(__tstate
); 
12707         if (PyErr_Occurred()) SWIG_fail
; 
12711         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
12713         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
12730 static PyObject 
*_wrap_EncodingConverter_GetPlatformEquivalents(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
12731     PyObject 
*resultobj
; 
12732     wxFontEncoding arg1 
; 
12733     int arg2 
= (int) wxPLATFORM_CURRENT 
; 
12734     wxFontEncodingArray result
; 
12735     PyObject 
* obj0 
= 0 ; 
12736     PyObject 
* obj1 
= 0 ; 
12737     char *kwnames
[] = { 
12738         (char *) "enc",(char *) "platform", NULL 
 
12741     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EncodingConverter_GetPlatformEquivalents",kwnames
,&obj0
,&obj1
)) goto fail
; 
12743         arg1 
= (wxFontEncoding
)(SWIG_As_int(obj0
));  
12744         if (SWIG_arg_fail(1)) SWIG_fail
; 
12748             arg2 
= (int)(SWIG_As_int(obj1
));  
12749             if (SWIG_arg_fail(2)) SWIG_fail
; 
12753         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12754         result 
= wxEncodingConverter::GetPlatformEquivalents((wxFontEncoding 
)arg1
,arg2
); 
12756         wxPyEndAllowThreads(__tstate
); 
12757         if (PyErr_Occurred()) SWIG_fail
; 
12760         resultobj 
= PyList_New(0); 
12761         for (size_t i
=0; i 
< (&result
)->GetCount(); i
++) { 
12762             PyObject
* number 
= PyInt_FromLong((&result
)->Item(i
)); 
12763             PyList_Append(resultobj
, number
); 
12773 static PyObject 
*_wrap_EncodingConverter_GetAllEquivalents(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
12774     PyObject 
*resultobj
; 
12775     wxFontEncoding arg1 
; 
12776     wxFontEncodingArray result
; 
12777     PyObject 
* obj0 
= 0 ; 
12778     char *kwnames
[] = { 
12779         (char *) "enc", NULL 
 
12782     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EncodingConverter_GetAllEquivalents",kwnames
,&obj0
)) goto fail
; 
12784         arg1 
= (wxFontEncoding
)(SWIG_As_int(obj0
));  
12785         if (SWIG_arg_fail(1)) SWIG_fail
; 
12788         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12789         result 
= wxEncodingConverter::GetAllEquivalents((wxFontEncoding 
)arg1
); 
12791         wxPyEndAllowThreads(__tstate
); 
12792         if (PyErr_Occurred()) SWIG_fail
; 
12795         resultobj 
= PyList_New(0); 
12796         for (size_t i
=0; i 
< (&result
)->GetCount(); i
++) { 
12797             PyObject
* number 
= PyInt_FromLong((&result
)->Item(i
)); 
12798             PyList_Append(resultobj
, number
); 
12808 static PyObject 
*_wrap_EncodingConverter_CanConvert(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
12809     PyObject 
*resultobj
; 
12810     wxFontEncoding arg1 
; 
12811     wxFontEncoding arg2 
; 
12813     PyObject 
* obj0 
= 0 ; 
12814     PyObject 
* obj1 
= 0 ; 
12815     char *kwnames
[] = { 
12816         (char *) "encIn",(char *) "encOut", NULL 
 
12819     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_CanConvert",kwnames
,&obj0
,&obj1
)) goto fail
; 
12821         arg1 
= (wxFontEncoding
)(SWIG_As_int(obj0
));  
12822         if (SWIG_arg_fail(1)) SWIG_fail
; 
12825         arg2 
= (wxFontEncoding
)(SWIG_As_int(obj1
));  
12826         if (SWIG_arg_fail(2)) SWIG_fail
; 
12829         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12830         result 
= (bool)wxEncodingConverter::CanConvert((wxFontEncoding 
)arg1
,(wxFontEncoding 
)arg2
); 
12832         wxPyEndAllowThreads(__tstate
); 
12833         if (PyErr_Occurred()) SWIG_fail
; 
12836         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
12844 static PyObject 
* EncodingConverter_swigregister(PyObject 
*, PyObject 
*args
) { 
12846     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
12847     SWIG_TypeClientData(SWIGTYPE_p_wxEncodingConverter
, obj
); 
12849     return Py_BuildValue((char *)""); 
12851 static PyObject 
*_wrap_delete_DC(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
12852     PyObject 
*resultobj
; 
12853     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
12854     PyObject 
* obj0 
= 0 ; 
12855     char *kwnames
[] = { 
12856         (char *) "self", NULL 
 
12859     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DC",kwnames
,&obj0
)) goto fail
; 
12860     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
12861     if (SWIG_arg_fail(1)) SWIG_fail
; 
12863         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12866         wxPyEndAllowThreads(__tstate
); 
12867         if (PyErr_Occurred()) SWIG_fail
; 
12869     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
12876 static PyObject 
*_wrap_DC_BeginDrawing(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
12877     PyObject 
*resultobj
; 
12878     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
12879     PyObject 
* obj0 
= 0 ; 
12880     char *kwnames
[] = { 
12881         (char *) "self", NULL 
 
12884     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_BeginDrawing",kwnames
,&obj0
)) goto fail
; 
12885     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
12886     if (SWIG_arg_fail(1)) SWIG_fail
; 
12888         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12889         (arg1
)->BeginDrawing(); 
12891         wxPyEndAllowThreads(__tstate
); 
12892         if (PyErr_Occurred()) SWIG_fail
; 
12894     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
12901 static PyObject 
*_wrap_DC_EndDrawing(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
12902     PyObject 
*resultobj
; 
12903     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
12904     PyObject 
* obj0 
= 0 ; 
12905     char *kwnames
[] = { 
12906         (char *) "self", NULL 
 
12909     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_EndDrawing",kwnames
,&obj0
)) goto fail
; 
12910     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
12911     if (SWIG_arg_fail(1)) SWIG_fail
; 
12913         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12914         (arg1
)->EndDrawing(); 
12916         wxPyEndAllowThreads(__tstate
); 
12917         if (PyErr_Occurred()) SWIG_fail
; 
12919     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
12926 static PyObject 
*_wrap_DC_FloodFill(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
12927     PyObject 
*resultobj
; 
12928     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
12931     wxColour 
*arg4 
= 0 ; 
12932     int arg5 
= (int) wxFLOOD_SURFACE 
; 
12935     PyObject 
* obj0 
= 0 ; 
12936     PyObject 
* obj1 
= 0 ; 
12937     PyObject 
* obj2 
= 0 ; 
12938     PyObject 
* obj3 
= 0 ; 
12939     PyObject 
* obj4 
= 0 ; 
12940     char *kwnames
[] = { 
12941         (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL 
 
12944     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
; 
12945     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
12946     if (SWIG_arg_fail(1)) SWIG_fail
; 
12948         arg2 
= (int)(SWIG_As_int(obj1
));  
12949         if (SWIG_arg_fail(2)) SWIG_fail
; 
12952         arg3 
= (int)(SWIG_As_int(obj2
));  
12953         if (SWIG_arg_fail(3)) SWIG_fail
; 
12957         if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
; 
12961             arg5 
= (int)(SWIG_As_int(obj4
));  
12962             if (SWIG_arg_fail(5)) SWIG_fail
; 
12966         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12967         result 
= (bool)(arg1
)->FloodFill(arg2
,arg3
,(wxColour 
const &)*arg4
,arg5
); 
12969         wxPyEndAllowThreads(__tstate
); 
12970         if (PyErr_Occurred()) SWIG_fail
; 
12973         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
12981 static PyObject 
*_wrap_DC_FloodFillPoint(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
12982     PyObject 
*resultobj
; 
12983     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
12984     wxPoint 
*arg2 
= 0 ; 
12985     wxColour 
*arg3 
= 0 ; 
12986     int arg4 
= (int) wxFLOOD_SURFACE 
; 
12990     PyObject 
* obj0 
= 0 ; 
12991     PyObject 
* obj1 
= 0 ; 
12992     PyObject 
* obj2 
= 0 ; 
12993     PyObject 
* obj3 
= 0 ; 
12994     char *kwnames
[] = { 
12995         (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL 
 
12998     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
12999     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
13000     if (SWIG_arg_fail(1)) SWIG_fail
; 
13003         if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
13007         if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
; 
13011             arg4 
= (int)(SWIG_As_int(obj3
));  
13012             if (SWIG_arg_fail(4)) SWIG_fail
; 
13016         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13017         result 
= (bool)(arg1
)->FloodFill((wxPoint 
const &)*arg2
,(wxColour 
const &)*arg3
,arg4
); 
13019         wxPyEndAllowThreads(__tstate
); 
13020         if (PyErr_Occurred()) SWIG_fail
; 
13023         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
13031 static PyObject 
*_wrap_DC_GetPixel(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
13032     PyObject 
*resultobj
; 
13033     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
13037     PyObject 
* obj0 
= 0 ; 
13038     PyObject 
* obj1 
= 0 ; 
13039     PyObject 
* obj2 
= 0 ; 
13040     char *kwnames
[] = { 
13041         (char *) "self",(char *) "x",(char *) "y", NULL 
 
13044     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
13045     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
13046     if (SWIG_arg_fail(1)) SWIG_fail
; 
13048         arg2 
= (int)(SWIG_As_int(obj1
));  
13049         if (SWIG_arg_fail(2)) SWIG_fail
; 
13052         arg3 
= (int)(SWIG_As_int(obj2
));  
13053         if (SWIG_arg_fail(3)) SWIG_fail
; 
13056         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13057         result 
= wxDC_GetPixel(arg1
,arg2
,arg3
); 
13059         wxPyEndAllowThreads(__tstate
); 
13060         if (PyErr_Occurred()) SWIG_fail
; 
13063         wxColour 
* resultptr
; 
13064         resultptr 
= new wxColour((wxColour 
&)(result
)); 
13065         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1); 
13073 static PyObject 
*_wrap_DC_GetPixelPoint(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
13074     PyObject 
*resultobj
; 
13075     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
13076     wxPoint 
*arg2 
= 0 ; 
13079     PyObject 
* obj0 
= 0 ; 
13080     PyObject 
* obj1 
= 0 ; 
13081     char *kwnames
[] = { 
13082         (char *) "self",(char *) "pt", NULL 
 
13085     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPixelPoint",kwnames
,&obj0
,&obj1
)) goto fail
; 
13086     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
13087     if (SWIG_arg_fail(1)) SWIG_fail
; 
13090         if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
13093         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13094         result 
= wxDC_GetPixelPoint(arg1
,(wxPoint 
const &)*arg2
); 
13096         wxPyEndAllowThreads(__tstate
); 
13097         if (PyErr_Occurred()) SWIG_fail
; 
13100         wxColour 
* resultptr
; 
13101         resultptr 
= new wxColour((wxColour 
&)(result
)); 
13102         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1); 
13110 static PyObject 
*_wrap_DC_DrawLine(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
13111     PyObject 
*resultobj
; 
13112     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
13117     PyObject 
* obj0 
= 0 ; 
13118     PyObject 
* obj1 
= 0 ; 
13119     PyObject 
* obj2 
= 0 ; 
13120     PyObject 
* obj3 
= 0 ; 
13121     PyObject 
* obj4 
= 0 ; 
13122     char *kwnames
[] = { 
13123         (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL 
 
13126     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
; 
13127     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
13128     if (SWIG_arg_fail(1)) SWIG_fail
; 
13130         arg2 
= (int)(SWIG_As_int(obj1
));  
13131         if (SWIG_arg_fail(2)) SWIG_fail
; 
13134         arg3 
= (int)(SWIG_As_int(obj2
));  
13135         if (SWIG_arg_fail(3)) SWIG_fail
; 
13138         arg4 
= (int)(SWIG_As_int(obj3
));  
13139         if (SWIG_arg_fail(4)) SWIG_fail
; 
13142         arg5 
= (int)(SWIG_As_int(obj4
));  
13143         if (SWIG_arg_fail(5)) SWIG_fail
; 
13146         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13147         (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
); 
13149         wxPyEndAllowThreads(__tstate
); 
13150         if (PyErr_Occurred()) SWIG_fail
; 
13152     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
13159 static PyObject 
*_wrap_DC_DrawLinePoint(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
13160     PyObject 
*resultobj
; 
13161     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
13162     wxPoint 
*arg2 
= 0 ; 
13163     wxPoint 
*arg3 
= 0 ; 
13166     PyObject 
* obj0 
= 0 ; 
13167     PyObject 
* obj1 
= 0 ; 
13168     PyObject 
* obj2 
= 0 ; 
13169     char *kwnames
[] = { 
13170         (char *) "self",(char *) "pt1",(char *) "pt2", NULL 
 
13173     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
13174     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
13175     if (SWIG_arg_fail(1)) SWIG_fail
; 
13178         if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
13182         if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
; 
13185         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13186         (arg1
)->DrawLine((wxPoint 
const &)*arg2
,(wxPoint 
const &)*arg3
); 
13188         wxPyEndAllowThreads(__tstate
); 
13189         if (PyErr_Occurred()) SWIG_fail
; 
13191     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
13198 static PyObject 
*_wrap_DC_CrossHair(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
13199     PyObject 
*resultobj
; 
13200     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
13203     PyObject 
* obj0 
= 0 ; 
13204     PyObject 
* obj1 
= 0 ; 
13205     PyObject 
* obj2 
= 0 ; 
13206     char *kwnames
[] = { 
13207         (char *) "self",(char *) "x",(char *) "y", NULL 
 
13210     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
13211     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
13212     if (SWIG_arg_fail(1)) SWIG_fail
; 
13214         arg2 
= (int)(SWIG_As_int(obj1
));  
13215         if (SWIG_arg_fail(2)) SWIG_fail
; 
13218         arg3 
= (int)(SWIG_As_int(obj2
));  
13219         if (SWIG_arg_fail(3)) SWIG_fail
; 
13222         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13223         (arg1
)->CrossHair(arg2
,arg3
); 
13225         wxPyEndAllowThreads(__tstate
); 
13226         if (PyErr_Occurred()) SWIG_fail
; 
13228     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
13235 static PyObject 
*_wrap_DC_CrossHairPoint(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
13236     PyObject 
*resultobj
; 
13237     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
13238     wxPoint 
*arg2 
= 0 ; 
13240     PyObject 
* obj0 
= 0 ; 
13241     PyObject 
* obj1 
= 0 ; 
13242     char *kwnames
[] = { 
13243         (char *) "self",(char *) "pt", NULL 
 
13246     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) goto fail
; 
13247     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
13248     if (SWIG_arg_fail(1)) SWIG_fail
; 
13251         if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
13254         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13255         (arg1
)->CrossHair((wxPoint 
const &)*arg2
); 
13257         wxPyEndAllowThreads(__tstate
); 
13258         if (PyErr_Occurred()) SWIG_fail
; 
13260     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
13267 static PyObject 
*_wrap_DC_DrawArc(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
13268     PyObject 
*resultobj
; 
13269     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
13276     PyObject 
* obj0 
= 0 ; 
13277     PyObject 
* obj1 
= 0 ; 
13278     PyObject 
* obj2 
= 0 ; 
13279     PyObject 
* obj3 
= 0 ; 
13280     PyObject 
* obj4 
= 0 ; 
13281     PyObject 
* obj5 
= 0 ; 
13282     PyObject 
* obj6 
= 0 ; 
13283     char *kwnames
[] = { 
13284         (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL 
 
13287     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
; 
13288     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
13289     if (SWIG_arg_fail(1)) SWIG_fail
; 
13291         arg2 
= (int)(SWIG_As_int(obj1
));  
13292         if (SWIG_arg_fail(2)) SWIG_fail
; 
13295         arg3 
= (int)(SWIG_As_int(obj2
));  
13296         if (SWIG_arg_fail(3)) SWIG_fail
; 
13299         arg4 
= (int)(SWIG_As_int(obj3
));  
13300         if (SWIG_arg_fail(4)) SWIG_fail
; 
13303         arg5 
= (int)(SWIG_As_int(obj4
));  
13304         if (SWIG_arg_fail(5)) SWIG_fail
; 
13307         arg6 
= (int)(SWIG_As_int(obj5
));  
13308         if (SWIG_arg_fail(6)) SWIG_fail
; 
13311         arg7 
= (int)(SWIG_As_int(obj6
));  
13312         if (SWIG_arg_fail(7)) SWIG_fail
; 
13315         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13316         (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
); 
13318         wxPyEndAllowThreads(__tstate
); 
13319         if (PyErr_Occurred()) SWIG_fail
; 
13321     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
13328 static PyObject 
*_wrap_DC_DrawArcPoint(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
13329     PyObject 
*resultobj
; 
13330     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
13331     wxPoint 
*arg2 
= 0 ; 
13332     wxPoint 
*arg3 
= 0 ; 
13333     wxPoint 
*arg4 
= 0 ; 
13337     PyObject 
* obj0 
= 0 ; 
13338     PyObject 
* obj1 
= 0 ; 
13339     PyObject 
* obj2 
= 0 ; 
13340     PyObject 
* obj3 
= 0 ; 
13341     char *kwnames
[] = { 
13342         (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL 
 
13345     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
13346     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
13347     if (SWIG_arg_fail(1)) SWIG_fail
; 
13350         if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
13354         if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
; 
13358         if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
; 
13361         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13362         (arg1
)->DrawArc((wxPoint 
const &)*arg2
,(wxPoint 
const &)*arg3
,(wxPoint 
const &)*arg4
); 
13364         wxPyEndAllowThreads(__tstate
); 
13365         if (PyErr_Occurred()) SWIG_fail
; 
13367     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
13374 static PyObject 
*_wrap_DC_DrawCheckMark(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
13375     PyObject 
*resultobj
; 
13376     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
13381     PyObject 
* obj0 
= 0 ; 
13382     PyObject 
* obj1 
= 0 ; 
13383     PyObject 
* obj2 
= 0 ; 
13384     PyObject 
* obj3 
= 0 ; 
13385     PyObject 
* obj4 
= 0 ; 
13386     char *kwnames
[] = { 
13387         (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL 
 
13390     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
; 
13391     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
13392     if (SWIG_arg_fail(1)) SWIG_fail
; 
13394         arg2 
= (int)(SWIG_As_int(obj1
));  
13395         if (SWIG_arg_fail(2)) SWIG_fail
; 
13398         arg3 
= (int)(SWIG_As_int(obj2
));  
13399         if (SWIG_arg_fail(3)) SWIG_fail
; 
13402         arg4 
= (int)(SWIG_As_int(obj3
));  
13403         if (SWIG_arg_fail(4)) SWIG_fail
; 
13406         arg5 
= (int)(SWIG_As_int(obj4
));  
13407         if (SWIG_arg_fail(5)) SWIG_fail
; 
13410         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13411         (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
); 
13413         wxPyEndAllowThreads(__tstate
); 
13414         if (PyErr_Occurred()) SWIG_fail
; 
13416     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
13423 static PyObject 
*_wrap_DC_DrawCheckMarkRect(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
13424     PyObject 
*resultobj
; 
13425     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
13428     PyObject 
* obj0 
= 0 ; 
13429     PyObject 
* obj1 
= 0 ; 
13430     char *kwnames
[] = { 
13431         (char *) "self",(char *) "rect", NULL 
 
13434     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) goto fail
; 
13435     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
13436     if (SWIG_arg_fail(1)) SWIG_fail
; 
13439         if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
; 
13442         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13443         (arg1
)->DrawCheckMark((wxRect 
const &)*arg2
); 
13445         wxPyEndAllowThreads(__tstate
); 
13446         if (PyErr_Occurred()) SWIG_fail
; 
13448     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
13455 static PyObject 
*_wrap_DC_DrawEllipticArc(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
13456     PyObject 
*resultobj
; 
13457     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
13464     PyObject 
* obj0 
= 0 ; 
13465     PyObject 
* obj1 
= 0 ; 
13466     PyObject 
* obj2 
= 0 ; 
13467     PyObject 
* obj3 
= 0 ; 
13468     PyObject 
* obj4 
= 0 ; 
13469     PyObject 
* obj5 
= 0 ; 
13470     PyObject 
* obj6 
= 0 ; 
13471     char *kwnames
[] = { 
13472         (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL 
 
13475     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
; 
13476     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
13477     if (SWIG_arg_fail(1)) SWIG_fail
; 
13479         arg2 
= (int)(SWIG_As_int(obj1
));  
13480         if (SWIG_arg_fail(2)) SWIG_fail
; 
13483         arg3 
= (int)(SWIG_As_int(obj2
));  
13484         if (SWIG_arg_fail(3)) SWIG_fail
; 
13487         arg4 
= (int)(SWIG_As_int(obj3
));  
13488         if (SWIG_arg_fail(4)) SWIG_fail
; 
13491         arg5 
= (int)(SWIG_As_int(obj4
));  
13492         if (SWIG_arg_fail(5)) SWIG_fail
; 
13495         arg6 
= (double)(SWIG_As_double(obj5
));  
13496         if (SWIG_arg_fail(6)) SWIG_fail
; 
13499         arg7 
= (double)(SWIG_As_double(obj6
));  
13500         if (SWIG_arg_fail(7)) SWIG_fail
; 
13503         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13504         (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
); 
13506         wxPyEndAllowThreads(__tstate
); 
13507         if (PyErr_Occurred()) SWIG_fail
; 
13509     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
13516 static PyObject 
*_wrap_DC_DrawEllipticArcPointSize(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
13517     PyObject 
*resultobj
; 
13518     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
13519     wxPoint 
*arg2 
= 0 ; 
13525     PyObject 
* obj0 
= 0 ; 
13526     PyObject 
* obj1 
= 0 ; 
13527     PyObject 
* obj2 
= 0 ; 
13528     PyObject 
* obj3 
= 0 ; 
13529     PyObject 
* obj4 
= 0 ; 
13530     char *kwnames
[] = { 
13531         (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL 
 
13534     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
; 
13535     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
13536     if (SWIG_arg_fail(1)) SWIG_fail
; 
13539         if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
13543         if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
; 
13546         arg4 
= (double)(SWIG_As_double(obj3
));  
13547         if (SWIG_arg_fail(4)) SWIG_fail
; 
13550         arg5 
= (double)(SWIG_As_double(obj4
));  
13551         if (SWIG_arg_fail(5)) SWIG_fail
; 
13554         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13555         (arg1
)->DrawEllipticArc((wxPoint 
const &)*arg2
,(wxSize 
const &)*arg3
,arg4
,arg5
); 
13557         wxPyEndAllowThreads(__tstate
); 
13558         if (PyErr_Occurred()) SWIG_fail
; 
13560     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
13567 static PyObject 
*_wrap_DC_DrawPoint(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
13568     PyObject 
*resultobj
; 
13569     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
13572     PyObject 
* obj0 
= 0 ; 
13573     PyObject 
* obj1 
= 0 ; 
13574     PyObject 
* obj2 
= 0 ; 
13575     char *kwnames
[] = { 
13576         (char *) "self",(char *) "x",(char *) "y", NULL 
 
13579     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
13580     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
13581     if (SWIG_arg_fail(1)) SWIG_fail
; 
13583         arg2 
= (int)(SWIG_As_int(obj1
));  
13584         if (SWIG_arg_fail(2)) SWIG_fail
; 
13587         arg3 
= (int)(SWIG_As_int(obj2
));  
13588         if (SWIG_arg_fail(3)) SWIG_fail
; 
13591         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13592         (arg1
)->DrawPoint(arg2
,arg3
); 
13594         wxPyEndAllowThreads(__tstate
); 
13595         if (PyErr_Occurred()) SWIG_fail
; 
13597     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
13604 static PyObject 
*_wrap_DC_DrawPointPoint(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
13605     PyObject 
*resultobj
; 
13606     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
13607     wxPoint 
*arg2 
= 0 ; 
13609     PyObject 
* obj0 
= 0 ; 
13610     PyObject 
* obj1 
= 0 ; 
13611     char *kwnames
[] = { 
13612         (char *) "self",(char *) "pt", NULL 
 
13615     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) goto fail
; 
13616     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
13617     if (SWIG_arg_fail(1)) SWIG_fail
; 
13620         if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
13623         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13624         (arg1
)->DrawPoint((wxPoint 
const &)*arg2
); 
13626         wxPyEndAllowThreads(__tstate
); 
13627         if (PyErr_Occurred()) SWIG_fail
; 
13629     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
13636 static PyObject 
*_wrap_DC_DrawRectangle(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
13637     PyObject 
*resultobj
; 
13638     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
13643     PyObject 
* obj0 
= 0 ; 
13644     PyObject 
* obj1 
= 0 ; 
13645     PyObject 
* obj2 
= 0 ; 
13646     PyObject 
* obj3 
= 0 ; 
13647     PyObject 
* obj4 
= 0 ; 
13648     char *kwnames
[] = { 
13649         (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL 
 
13652     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
; 
13653     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
13654     if (SWIG_arg_fail(1)) SWIG_fail
; 
13656         arg2 
= (int)(SWIG_As_int(obj1
));  
13657         if (SWIG_arg_fail(2)) SWIG_fail
; 
13660         arg3 
= (int)(SWIG_As_int(obj2
));  
13661         if (SWIG_arg_fail(3)) SWIG_fail
; 
13664         arg4 
= (int)(SWIG_As_int(obj3
));  
13665         if (SWIG_arg_fail(4)) SWIG_fail
; 
13668         arg5 
= (int)(SWIG_As_int(obj4
));  
13669         if (SWIG_arg_fail(5)) SWIG_fail
; 
13672         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13673         (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
); 
13675         wxPyEndAllowThreads(__tstate
); 
13676         if (PyErr_Occurred()) SWIG_fail
; 
13678     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
13685 static PyObject 
*_wrap_DC_DrawRectangleRect(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
13686     PyObject 
*resultobj
; 
13687     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
13690     PyObject 
* obj0 
= 0 ; 
13691     PyObject 
* obj1 
= 0 ; 
13692     char *kwnames
[] = { 
13693         (char *) "self",(char *) "rect", NULL 
 
13696     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) goto fail
; 
13697     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
13698     if (SWIG_arg_fail(1)) SWIG_fail
; 
13701         if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
; 
13704         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13705         (arg1
)->DrawRectangle((wxRect 
const &)*arg2
); 
13707         wxPyEndAllowThreads(__tstate
); 
13708         if (PyErr_Occurred()) SWIG_fail
; 
13710     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
13717 static PyObject 
*_wrap_DC_DrawRectanglePointSize(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
13718     PyObject 
*resultobj
; 
13719     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
13720     wxPoint 
*arg2 
= 0 ; 
13724     PyObject 
* obj0 
= 0 ; 
13725     PyObject 
* obj1 
= 0 ; 
13726     PyObject 
* obj2 
= 0 ; 
13727     char *kwnames
[] = { 
13728         (char *) "self",(char *) "pt",(char *) "sz", NULL 
 
13731     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
13732     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
13733     if (SWIG_arg_fail(1)) SWIG_fail
; 
13736         if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
13740         if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
; 
13743         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13744         (arg1
)->DrawRectangle((wxPoint 
const &)*arg2
,(wxSize 
const &)*arg3
); 
13746         wxPyEndAllowThreads(__tstate
); 
13747         if (PyErr_Occurred()) SWIG_fail
; 
13749     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
13756 static PyObject 
*_wrap_DC_DrawRoundedRectangle(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
13757     PyObject 
*resultobj
; 
13758     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
13764     PyObject 
* obj0 
= 0 ; 
13765     PyObject 
* obj1 
= 0 ; 
13766     PyObject 
* obj2 
= 0 ; 
13767     PyObject 
* obj3 
= 0 ; 
13768     PyObject 
* obj4 
= 0 ; 
13769     PyObject 
* obj5 
= 0 ; 
13770     char *kwnames
[] = { 
13771         (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL 
 
13774     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:DC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
; 
13775     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
13776     if (SWIG_arg_fail(1)) SWIG_fail
; 
13778         arg2 
= (int)(SWIG_As_int(obj1
));  
13779         if (SWIG_arg_fail(2)) SWIG_fail
; 
13782         arg3 
= (int)(SWIG_As_int(obj2
));  
13783         if (SWIG_arg_fail(3)) SWIG_fail
; 
13786         arg4 
= (int)(SWIG_As_int(obj3
));  
13787         if (SWIG_arg_fail(4)) SWIG_fail
; 
13790         arg5 
= (int)(SWIG_As_int(obj4
));  
13791         if (SWIG_arg_fail(5)) SWIG_fail
; 
13794         arg6 
= (double)(SWIG_As_double(obj5
));  
13795         if (SWIG_arg_fail(6)) SWIG_fail
; 
13798         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13799         (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
); 
13801         wxPyEndAllowThreads(__tstate
); 
13802         if (PyErr_Occurred()) SWIG_fail
; 
13804     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
13811 static PyObject 
*_wrap_DC_DrawRoundedRectangleRect(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
13812     PyObject 
*resultobj
; 
13813     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
13817     PyObject 
* obj0 
= 0 ; 
13818     PyObject 
* obj1 
= 0 ; 
13819     PyObject 
* obj2 
= 0 ; 
13820     char *kwnames
[] = { 
13821         (char *) "self",(char *) "r",(char *) "radius", NULL 
 
13824     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
13825     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
13826     if (SWIG_arg_fail(1)) SWIG_fail
; 
13829         if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
; 
13832         arg3 
= (double)(SWIG_As_double(obj2
));  
13833         if (SWIG_arg_fail(3)) SWIG_fail
; 
13836         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13837         (arg1
)->DrawRoundedRectangle((wxRect 
const &)*arg2
,arg3
); 
13839         wxPyEndAllowThreads(__tstate
); 
13840         if (PyErr_Occurred()) SWIG_fail
; 
13842     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
13849 static PyObject 
*_wrap_DC_DrawRoundedRectanglePointSize(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
13850     PyObject 
*resultobj
; 
13851     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
13852     wxPoint 
*arg2 
= 0 ; 
13857     PyObject 
* obj0 
= 0 ; 
13858     PyObject 
* obj1 
= 0 ; 
13859     PyObject 
* obj2 
= 0 ; 
13860     PyObject 
* obj3 
= 0 ; 
13861     char *kwnames
[] = { 
13862         (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL 
 
13865     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
13866     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
13867     if (SWIG_arg_fail(1)) SWIG_fail
; 
13870         if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
13874         if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
; 
13877         arg4 
= (double)(SWIG_As_double(obj3
));  
13878         if (SWIG_arg_fail(4)) SWIG_fail
; 
13881         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13882         (arg1
)->DrawRoundedRectangle((wxPoint 
const &)*arg2
,(wxSize 
const &)*arg3
,arg4
); 
13884         wxPyEndAllowThreads(__tstate
); 
13885         if (PyErr_Occurred()) SWIG_fail
; 
13887     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
13894 static PyObject 
*_wrap_DC_DrawCircle(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
13895     PyObject 
*resultobj
; 
13896     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
13900     PyObject 
* obj0 
= 0 ; 
13901     PyObject 
* obj1 
= 0 ; 
13902     PyObject 
* obj2 
= 0 ; 
13903     PyObject 
* obj3 
= 0 ; 
13904     char *kwnames
[] = { 
13905         (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL 
 
13908     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
13909     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
13910     if (SWIG_arg_fail(1)) SWIG_fail
; 
13912         arg2 
= (int)(SWIG_As_int(obj1
));  
13913         if (SWIG_arg_fail(2)) SWIG_fail
; 
13916         arg3 
= (int)(SWIG_As_int(obj2
));  
13917         if (SWIG_arg_fail(3)) SWIG_fail
; 
13920         arg4 
= (int)(SWIG_As_int(obj3
));  
13921         if (SWIG_arg_fail(4)) SWIG_fail
; 
13924         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13925         (arg1
)->DrawCircle(arg2
,arg3
,arg4
); 
13927         wxPyEndAllowThreads(__tstate
); 
13928         if (PyErr_Occurred()) SWIG_fail
; 
13930     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
13937 static PyObject 
*_wrap_DC_DrawCirclePoint(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
13938     PyObject 
*resultobj
; 
13939     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
13940     wxPoint 
*arg2 
= 0 ; 
13943     PyObject 
* obj0 
= 0 ; 
13944     PyObject 
* obj1 
= 0 ; 
13945     PyObject 
* obj2 
= 0 ; 
13946     char *kwnames
[] = { 
13947         (char *) "self",(char *) "pt",(char *) "radius", NULL 
 
13950     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
13951     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
13952     if (SWIG_arg_fail(1)) SWIG_fail
; 
13955         if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
13958         arg3 
= (int)(SWIG_As_int(obj2
));  
13959         if (SWIG_arg_fail(3)) SWIG_fail
; 
13962         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13963         (arg1
)->DrawCircle((wxPoint 
const &)*arg2
,arg3
); 
13965         wxPyEndAllowThreads(__tstate
); 
13966         if (PyErr_Occurred()) SWIG_fail
; 
13968     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
13975 static PyObject 
*_wrap_DC_DrawEllipse(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
13976     PyObject 
*resultobj
; 
13977     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
13982     PyObject 
* obj0 
= 0 ; 
13983     PyObject 
* obj1 
= 0 ; 
13984     PyObject 
* obj2 
= 0 ; 
13985     PyObject 
* obj3 
= 0 ; 
13986     PyObject 
* obj4 
= 0 ; 
13987     char *kwnames
[] = { 
13988         (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL 
 
13991     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
; 
13992     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
13993     if (SWIG_arg_fail(1)) SWIG_fail
; 
13995         arg2 
= (int)(SWIG_As_int(obj1
));  
13996         if (SWIG_arg_fail(2)) SWIG_fail
; 
13999         arg3 
= (int)(SWIG_As_int(obj2
));  
14000         if (SWIG_arg_fail(3)) SWIG_fail
; 
14003         arg4 
= (int)(SWIG_As_int(obj3
));  
14004         if (SWIG_arg_fail(4)) SWIG_fail
; 
14007         arg5 
= (int)(SWIG_As_int(obj4
));  
14008         if (SWIG_arg_fail(5)) SWIG_fail
; 
14011         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14012         (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
); 
14014         wxPyEndAllowThreads(__tstate
); 
14015         if (PyErr_Occurred()) SWIG_fail
; 
14017     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
14024 static PyObject 
*_wrap_DC_DrawEllipseRect(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
14025     PyObject 
*resultobj
; 
14026     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
14029     PyObject 
* obj0 
= 0 ; 
14030     PyObject 
* obj1 
= 0 ; 
14031     char *kwnames
[] = { 
14032         (char *) "self",(char *) "rect", NULL 
 
14035     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) goto fail
; 
14036     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
14037     if (SWIG_arg_fail(1)) SWIG_fail
; 
14040         if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
; 
14043         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14044         (arg1
)->DrawEllipse((wxRect 
const &)*arg2
); 
14046         wxPyEndAllowThreads(__tstate
); 
14047         if (PyErr_Occurred()) SWIG_fail
; 
14049     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
14056 static PyObject 
*_wrap_DC_DrawEllipsePointSize(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
14057     PyObject 
*resultobj
; 
14058     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
14059     wxPoint 
*arg2 
= 0 ; 
14063     PyObject 
* obj0 
= 0 ; 
14064     PyObject 
* obj1 
= 0 ; 
14065     PyObject 
* obj2 
= 0 ; 
14066     char *kwnames
[] = { 
14067         (char *) "self",(char *) "pt",(char *) "sz", NULL 
 
14070     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
14071     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
14072     if (SWIG_arg_fail(1)) SWIG_fail
; 
14075         if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
14079         if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
; 
14082         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14083         (arg1
)->DrawEllipse((wxPoint 
const &)*arg2
,(wxSize 
const &)*arg3
); 
14085         wxPyEndAllowThreads(__tstate
); 
14086         if (PyErr_Occurred()) SWIG_fail
; 
14088     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
14095 static PyObject 
*_wrap_DC_DrawIcon(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
14096     PyObject 
*resultobj
; 
14097     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
14101     PyObject 
* obj0 
= 0 ; 
14102     PyObject 
* obj1 
= 0 ; 
14103     PyObject 
* obj2 
= 0 ; 
14104     PyObject 
* obj3 
= 0 ; 
14105     char *kwnames
[] = { 
14106         (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL 
 
14109     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
14110     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
14111     if (SWIG_arg_fail(1)) SWIG_fail
; 
14113         SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION 
| 0); 
14114         if (SWIG_arg_fail(2)) SWIG_fail
; 
14115         if (arg2 
== NULL
) { 
14116             SWIG_null_ref("wxIcon"); 
14118         if (SWIG_arg_fail(2)) SWIG_fail
; 
14121         arg3 
= (int)(SWIG_As_int(obj2
));  
14122         if (SWIG_arg_fail(3)) SWIG_fail
; 
14125         arg4 
= (int)(SWIG_As_int(obj3
));  
14126         if (SWIG_arg_fail(4)) SWIG_fail
; 
14129         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14130         (arg1
)->DrawIcon((wxIcon 
const &)*arg2
,arg3
,arg4
); 
14132         wxPyEndAllowThreads(__tstate
); 
14133         if (PyErr_Occurred()) SWIG_fail
; 
14135     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
14142 static PyObject 
*_wrap_DC_DrawIconPoint(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
14143     PyObject 
*resultobj
; 
14144     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
14146     wxPoint 
*arg3 
= 0 ; 
14148     PyObject 
* obj0 
= 0 ; 
14149     PyObject 
* obj1 
= 0 ; 
14150     PyObject 
* obj2 
= 0 ; 
14151     char *kwnames
[] = { 
14152         (char *) "self",(char *) "icon",(char *) "pt", NULL 
 
14155     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
14156     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
14157     if (SWIG_arg_fail(1)) SWIG_fail
; 
14159         SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION 
| 0); 
14160         if (SWIG_arg_fail(2)) SWIG_fail
; 
14161         if (arg2 
== NULL
) { 
14162             SWIG_null_ref("wxIcon"); 
14164         if (SWIG_arg_fail(2)) SWIG_fail
; 
14168         if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
; 
14171         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14172         (arg1
)->DrawIcon((wxIcon 
const &)*arg2
,(wxPoint 
const &)*arg3
); 
14174         wxPyEndAllowThreads(__tstate
); 
14175         if (PyErr_Occurred()) SWIG_fail
; 
14177     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
14184 static PyObject 
*_wrap_DC_DrawBitmap(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
14185     PyObject 
*resultobj
; 
14186     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
14187     wxBitmap 
*arg2 
= 0 ; 
14190     bool arg5 
= (bool) false ; 
14191     PyObject 
* obj0 
= 0 ; 
14192     PyObject 
* obj1 
= 0 ; 
14193     PyObject 
* obj2 
= 0 ; 
14194     PyObject 
* obj3 
= 0 ; 
14195     PyObject 
* obj4 
= 0 ; 
14196     char *kwnames
[] = { 
14197         (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL 
 
14200     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
; 
14201     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
14202     if (SWIG_arg_fail(1)) SWIG_fail
; 
14204         SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION 
| 0); 
14205         if (SWIG_arg_fail(2)) SWIG_fail
; 
14206         if (arg2 
== NULL
) { 
14207             SWIG_null_ref("wxBitmap"); 
14209         if (SWIG_arg_fail(2)) SWIG_fail
; 
14212         arg3 
= (int)(SWIG_As_int(obj2
));  
14213         if (SWIG_arg_fail(3)) SWIG_fail
; 
14216         arg4 
= (int)(SWIG_As_int(obj3
));  
14217         if (SWIG_arg_fail(4)) SWIG_fail
; 
14221             arg5 
= (bool)(SWIG_As_bool(obj4
));  
14222             if (SWIG_arg_fail(5)) SWIG_fail
; 
14226         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14227         (arg1
)->DrawBitmap((wxBitmap 
const &)*arg2
,arg3
,arg4
,arg5
); 
14229         wxPyEndAllowThreads(__tstate
); 
14230         if (PyErr_Occurred()) SWIG_fail
; 
14232     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
14239 static PyObject 
*_wrap_DC_DrawBitmapPoint(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
14240     PyObject 
*resultobj
; 
14241     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
14242     wxBitmap 
*arg2 
= 0 ; 
14243     wxPoint 
*arg3 
= 0 ; 
14244     bool arg4 
= (bool) false ; 
14246     PyObject 
* obj0 
= 0 ; 
14247     PyObject 
* obj1 
= 0 ; 
14248     PyObject 
* obj2 
= 0 ; 
14249     PyObject 
* obj3 
= 0 ; 
14250     char *kwnames
[] = { 
14251         (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL 
 
14254     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
14255     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
14256     if (SWIG_arg_fail(1)) SWIG_fail
; 
14258         SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION 
| 0); 
14259         if (SWIG_arg_fail(2)) SWIG_fail
; 
14260         if (arg2 
== NULL
) { 
14261             SWIG_null_ref("wxBitmap"); 
14263         if (SWIG_arg_fail(2)) SWIG_fail
; 
14267         if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
; 
14271             arg4 
= (bool)(SWIG_As_bool(obj3
));  
14272             if (SWIG_arg_fail(4)) SWIG_fail
; 
14276         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14277         (arg1
)->DrawBitmap((wxBitmap 
const &)*arg2
,(wxPoint 
const &)*arg3
,arg4
); 
14279         wxPyEndAllowThreads(__tstate
); 
14280         if (PyErr_Occurred()) SWIG_fail
; 
14282     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
14289 static PyObject 
*_wrap_DC_DrawText(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
14290     PyObject 
*resultobj
; 
14291     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
14292     wxString 
*arg2 
= 0 ; 
14295     bool temp2 
= false ; 
14296     PyObject 
* obj0 
= 0 ; 
14297     PyObject 
* obj1 
= 0 ; 
14298     PyObject 
* obj2 
= 0 ; 
14299     PyObject 
* obj3 
= 0 ; 
14300     char *kwnames
[] = { 
14301         (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL 
 
14304     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
14305     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
14306     if (SWIG_arg_fail(1)) SWIG_fail
; 
14308         arg2 
= wxString_in_helper(obj1
); 
14309         if (arg2 
== NULL
) SWIG_fail
; 
14313         arg3 
= (int)(SWIG_As_int(obj2
));  
14314         if (SWIG_arg_fail(3)) SWIG_fail
; 
14317         arg4 
= (int)(SWIG_As_int(obj3
));  
14318         if (SWIG_arg_fail(4)) SWIG_fail
; 
14321         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14322         (arg1
)->DrawText((wxString 
const &)*arg2
,arg3
,arg4
); 
14324         wxPyEndAllowThreads(__tstate
); 
14325         if (PyErr_Occurred()) SWIG_fail
; 
14327     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
14342 static PyObject 
*_wrap_DC_DrawTextPoint(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
14343     PyObject 
*resultobj
; 
14344     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
14345     wxString 
*arg2 
= 0 ; 
14346     wxPoint 
*arg3 
= 0 ; 
14347     bool temp2 
= false ; 
14349     PyObject 
* obj0 
= 0 ; 
14350     PyObject 
* obj1 
= 0 ; 
14351     PyObject 
* obj2 
= 0 ; 
14352     char *kwnames
[] = { 
14353         (char *) "self",(char *) "text",(char *) "pt", NULL 
 
14356     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
14357     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
14358     if (SWIG_arg_fail(1)) SWIG_fail
; 
14360         arg2 
= wxString_in_helper(obj1
); 
14361         if (arg2 
== NULL
) SWIG_fail
; 
14366         if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
; 
14369         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14370         (arg1
)->DrawText((wxString 
const &)*arg2
,(wxPoint 
const &)*arg3
); 
14372         wxPyEndAllowThreads(__tstate
); 
14373         if (PyErr_Occurred()) SWIG_fail
; 
14375     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
14390 static PyObject 
*_wrap_DC_DrawRotatedText(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
14391     PyObject 
*resultobj
; 
14392     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
14393     wxString 
*arg2 
= 0 ; 
14397     bool temp2 
= false ; 
14398     PyObject 
* obj0 
= 0 ; 
14399     PyObject 
* obj1 
= 0 ; 
14400     PyObject 
* obj2 
= 0 ; 
14401     PyObject 
* obj3 
= 0 ; 
14402     PyObject 
* obj4 
= 0 ; 
14403     char *kwnames
[] = { 
14404         (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL 
 
14407     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
; 
14408     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
14409     if (SWIG_arg_fail(1)) SWIG_fail
; 
14411         arg2 
= wxString_in_helper(obj1
); 
14412         if (arg2 
== NULL
) SWIG_fail
; 
14416         arg3 
= (int)(SWIG_As_int(obj2
));  
14417         if (SWIG_arg_fail(3)) SWIG_fail
; 
14420         arg4 
= (int)(SWIG_As_int(obj3
));  
14421         if (SWIG_arg_fail(4)) SWIG_fail
; 
14424         arg5 
= (double)(SWIG_As_double(obj4
));  
14425         if (SWIG_arg_fail(5)) SWIG_fail
; 
14428         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14429         (arg1
)->DrawRotatedText((wxString 
const &)*arg2
,arg3
,arg4
,arg5
); 
14431         wxPyEndAllowThreads(__tstate
); 
14432         if (PyErr_Occurred()) SWIG_fail
; 
14434     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
14449 static PyObject 
*_wrap_DC_DrawRotatedTextPoint(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
14450     PyObject 
*resultobj
; 
14451     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
14452     wxString 
*arg2 
= 0 ; 
14453     wxPoint 
*arg3 
= 0 ; 
14455     bool temp2 
= false ; 
14457     PyObject 
* obj0 
= 0 ; 
14458     PyObject 
* obj1 
= 0 ; 
14459     PyObject 
* obj2 
= 0 ; 
14460     PyObject 
* obj3 
= 0 ; 
14461     char *kwnames
[] = { 
14462         (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL 
 
14465     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
14466     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
14467     if (SWIG_arg_fail(1)) SWIG_fail
; 
14469         arg2 
= wxString_in_helper(obj1
); 
14470         if (arg2 
== NULL
) SWIG_fail
; 
14475         if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
; 
14478         arg4 
= (double)(SWIG_As_double(obj3
));  
14479         if (SWIG_arg_fail(4)) SWIG_fail
; 
14482         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14483         (arg1
)->DrawRotatedText((wxString 
const &)*arg2
,(wxPoint 
const &)*arg3
,arg4
); 
14485         wxPyEndAllowThreads(__tstate
); 
14486         if (PyErr_Occurred()) SWIG_fail
; 
14488     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
14503 static PyObject 
*_wrap_DC_Blit(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
14504     PyObject 
*resultobj
; 
14505     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
14510     wxDC 
*arg6 
= (wxDC 
*) 0 ; 
14513     int arg9 
= (int) wxCOPY 
; 
14514     bool arg10 
= (bool) false ; 
14515     int arg11 
= (int) -1 ; 
14516     int arg12 
= (int) -1 ; 
14518     PyObject 
* obj0 
= 0 ; 
14519     PyObject 
* obj1 
= 0 ; 
14520     PyObject 
* obj2 
= 0 ; 
14521     PyObject 
* obj3 
= 0 ; 
14522     PyObject 
* obj4 
= 0 ; 
14523     PyObject 
* obj5 
= 0 ; 
14524     PyObject 
* obj6 
= 0 ; 
14525     PyObject 
* obj7 
= 0 ; 
14526     PyObject 
* obj8 
= 0 ; 
14527     PyObject 
* obj9 
= 0 ; 
14528     PyObject 
* obj10 
= 0 ; 
14529     PyObject 
* obj11 
= 0 ; 
14530     char *kwnames
[] = { 
14531         (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 
 
14534     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
; 
14535     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
14536     if (SWIG_arg_fail(1)) SWIG_fail
; 
14538         arg2 
= (int)(SWIG_As_int(obj1
));  
14539         if (SWIG_arg_fail(2)) SWIG_fail
; 
14542         arg3 
= (int)(SWIG_As_int(obj2
));  
14543         if (SWIG_arg_fail(3)) SWIG_fail
; 
14546         arg4 
= (int)(SWIG_As_int(obj3
));  
14547         if (SWIG_arg_fail(4)) SWIG_fail
; 
14550         arg5 
= (int)(SWIG_As_int(obj4
));  
14551         if (SWIG_arg_fail(5)) SWIG_fail
; 
14553     SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
14554     if (SWIG_arg_fail(6)) SWIG_fail
; 
14556         arg7 
= (int)(SWIG_As_int(obj6
));  
14557         if (SWIG_arg_fail(7)) SWIG_fail
; 
14560         arg8 
= (int)(SWIG_As_int(obj7
));  
14561         if (SWIG_arg_fail(8)) SWIG_fail
; 
14565             arg9 
= (int)(SWIG_As_int(obj8
));  
14566             if (SWIG_arg_fail(9)) SWIG_fail
; 
14571             arg10 
= (bool)(SWIG_As_bool(obj9
));  
14572             if (SWIG_arg_fail(10)) SWIG_fail
; 
14577             arg11 
= (int)(SWIG_As_int(obj10
));  
14578             if (SWIG_arg_fail(11)) SWIG_fail
; 
14583             arg12 
= (int)(SWIG_As_int(obj11
));  
14584             if (SWIG_arg_fail(12)) SWIG_fail
; 
14588         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14589         result 
= (bool)(arg1
)->Blit(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
,arg11
,arg12
); 
14591         wxPyEndAllowThreads(__tstate
); 
14592         if (PyErr_Occurred()) SWIG_fail
; 
14595         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
14603 static PyObject 
*_wrap_DC_BlitPointSize(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
14604     PyObject 
*resultobj
; 
14605     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
14606     wxPoint 
*arg2 
= 0 ; 
14608     wxDC 
*arg4 
= (wxDC 
*) 0 ; 
14609     wxPoint 
*arg5 
= 0 ; 
14610     int arg6 
= (int) wxCOPY 
; 
14611     bool arg7 
= (bool) false ; 
14612     wxPoint 
const &arg8_defvalue 
= wxDefaultPosition 
; 
14613     wxPoint 
*arg8 
= (wxPoint 
*) &arg8_defvalue 
; 
14619     PyObject 
* obj0 
= 0 ; 
14620     PyObject 
* obj1 
= 0 ; 
14621     PyObject 
* obj2 
= 0 ; 
14622     PyObject 
* obj3 
= 0 ; 
14623     PyObject 
* obj4 
= 0 ; 
14624     PyObject 
* obj5 
= 0 ; 
14625     PyObject 
* obj6 
= 0 ; 
14626     PyObject 
* obj7 
= 0 ; 
14627     char *kwnames
[] = { 
14628         (char *) "self",(char *) "destPt",(char *) "sz",(char *) "source",(char *) "srcPt",(char *) "rop",(char *) "useMask",(char *) "srcPtMask", NULL 
 
14631     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:DC_BlitPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
; 
14632     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
14633     if (SWIG_arg_fail(1)) SWIG_fail
; 
14636         if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
14640         if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
; 
14642     SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
14643     if (SWIG_arg_fail(4)) SWIG_fail
; 
14646         if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
; 
14650             arg6 
= (int)(SWIG_As_int(obj5
));  
14651             if (SWIG_arg_fail(6)) SWIG_fail
; 
14656             arg7 
= (bool)(SWIG_As_bool(obj6
));  
14657             if (SWIG_arg_fail(7)) SWIG_fail
; 
14663             if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
; 
14667         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14668         result 
= (bool)(arg1
)->Blit((wxPoint 
const &)*arg2
,(wxSize 
const &)*arg3
,arg4
,(wxPoint 
const &)*arg5
,arg6
,arg7
,(wxPoint 
const &)*arg8
); 
14670         wxPyEndAllowThreads(__tstate
); 
14671         if (PyErr_Occurred()) SWIG_fail
; 
14674         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
14682 static PyObject 
*_wrap_DC_SetClippingRegion(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
14683     PyObject 
*resultobj
; 
14684     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
14689     PyObject 
* obj0 
= 0 ; 
14690     PyObject 
* obj1 
= 0 ; 
14691     PyObject 
* obj2 
= 0 ; 
14692     PyObject 
* obj3 
= 0 ; 
14693     PyObject 
* obj4 
= 0 ; 
14694     char *kwnames
[] = { 
14695         (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL 
 
14698     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_SetClippingRegion",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
; 
14699     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
14700     if (SWIG_arg_fail(1)) SWIG_fail
; 
14702         arg2 
= (int)(SWIG_As_int(obj1
));  
14703         if (SWIG_arg_fail(2)) SWIG_fail
; 
14706         arg3 
= (int)(SWIG_As_int(obj2
));  
14707         if (SWIG_arg_fail(3)) SWIG_fail
; 
14710         arg4 
= (int)(SWIG_As_int(obj3
));  
14711         if (SWIG_arg_fail(4)) SWIG_fail
; 
14714         arg5 
= (int)(SWIG_As_int(obj4
));  
14715         if (SWIG_arg_fail(5)) SWIG_fail
; 
14718         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14719         (arg1
)->SetClippingRegion(arg2
,arg3
,arg4
,arg5
); 
14721         wxPyEndAllowThreads(__tstate
); 
14722         if (PyErr_Occurred()) SWIG_fail
; 
14724     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
14731 static PyObject 
*_wrap_DC_SetClippingRegionPointSize(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
14732     PyObject 
*resultobj
; 
14733     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
14734     wxPoint 
*arg2 
= 0 ; 
14738     PyObject 
* obj0 
= 0 ; 
14739     PyObject 
* obj1 
= 0 ; 
14740     PyObject 
* obj2 
= 0 ; 
14741     char *kwnames
[] = { 
14742         (char *) "self",(char *) "pt",(char *) "sz", NULL 
 
14745     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetClippingRegionPointSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
14746     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
14747     if (SWIG_arg_fail(1)) SWIG_fail
; 
14750         if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
14754         if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
; 
14757         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14758         (arg1
)->SetClippingRegion((wxPoint 
const &)*arg2
,(wxSize 
const &)*arg3
); 
14760         wxPyEndAllowThreads(__tstate
); 
14761         if (PyErr_Occurred()) SWIG_fail
; 
14763     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
14770 static PyObject 
*_wrap_DC_SetClippingRegionAsRegion(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
14771     PyObject 
*resultobj
; 
14772     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
14773     wxRegion 
*arg2 
= 0 ; 
14774     PyObject 
* obj0 
= 0 ; 
14775     PyObject 
* obj1 
= 0 ; 
14776     char *kwnames
[] = { 
14777         (char *) "self",(char *) "region", NULL 
 
14780     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRegionAsRegion",kwnames
,&obj0
,&obj1
)) goto fail
; 
14781     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
14782     if (SWIG_arg_fail(1)) SWIG_fail
; 
14784         SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION 
| 0); 
14785         if (SWIG_arg_fail(2)) SWIG_fail
; 
14786         if (arg2 
== NULL
) { 
14787             SWIG_null_ref("wxRegion"); 
14789         if (SWIG_arg_fail(2)) SWIG_fail
; 
14792         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14793         (arg1
)->SetClippingRegion((wxRegion 
const &)*arg2
); 
14795         wxPyEndAllowThreads(__tstate
); 
14796         if (PyErr_Occurred()) SWIG_fail
; 
14798     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
14805 static PyObject 
*_wrap_DC_SetClippingRect(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
14806     PyObject 
*resultobj
; 
14807     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
14810     PyObject 
* obj0 
= 0 ; 
14811     PyObject 
* obj1 
= 0 ; 
14812     char *kwnames
[] = { 
14813         (char *) "self",(char *) "rect", NULL 
 
14816     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRect",kwnames
,&obj0
,&obj1
)) goto fail
; 
14817     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
14818     if (SWIG_arg_fail(1)) SWIG_fail
; 
14821         if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
; 
14824         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14825         (arg1
)->SetClippingRegion((wxRect 
const &)*arg2
); 
14827         wxPyEndAllowThreads(__tstate
); 
14828         if (PyErr_Occurred()) SWIG_fail
; 
14830     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
14837 static PyObject 
*_wrap_DC_DrawLines(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
14838     PyObject 
*resultobj
; 
14839     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
14841     wxPoint 
*arg3 
= (wxPoint 
*) 0 ; 
14842     int arg4 
= (int) 0 ; 
14843     int arg5 
= (int) 0 ; 
14844     PyObject 
* obj0 
= 0 ; 
14845     PyObject 
* obj1 
= 0 ; 
14846     PyObject 
* obj2 
= 0 ; 
14847     PyObject 
* obj3 
= 0 ; 
14848     char *kwnames
[] = { 
14849         (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL 
 
14852     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
14853     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
14854     if (SWIG_arg_fail(1)) SWIG_fail
; 
14856         arg3 
= wxPoint_LIST_helper(obj1
, &arg2
); 
14857         if (arg3 
== NULL
) SWIG_fail
; 
14861             arg4 
= (int)(SWIG_As_int(obj2
));  
14862             if (SWIG_arg_fail(4)) SWIG_fail
; 
14867             arg5 
= (int)(SWIG_As_int(obj3
));  
14868             if (SWIG_arg_fail(5)) SWIG_fail
; 
14872         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14873         (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
); 
14875         wxPyEndAllowThreads(__tstate
); 
14876         if (PyErr_Occurred()) SWIG_fail
; 
14878     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
14880         if (arg3
) delete [] arg3
; 
14885         if (arg3
) delete [] arg3
; 
14891 static PyObject 
*_wrap_DC_DrawPolygon(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
14892     PyObject 
*resultobj
; 
14893     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
14895     wxPoint 
*arg3 
= (wxPoint 
*) 0 ; 
14896     int arg4 
= (int) 0 ; 
14897     int arg5 
= (int) 0 ; 
14898     int arg6 
= (int) wxODDEVEN_RULE 
; 
14899     PyObject 
* obj0 
= 0 ; 
14900     PyObject 
* obj1 
= 0 ; 
14901     PyObject 
* obj2 
= 0 ; 
14902     PyObject 
* obj3 
= 0 ; 
14903     PyObject 
* obj4 
= 0 ; 
14904     char *kwnames
[] = { 
14905         (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL 
 
14908     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
; 
14909     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
14910     if (SWIG_arg_fail(1)) SWIG_fail
; 
14912         arg3 
= wxPoint_LIST_helper(obj1
, &arg2
); 
14913         if (arg3 
== NULL
) SWIG_fail
; 
14917             arg4 
= (int)(SWIG_As_int(obj2
));  
14918             if (SWIG_arg_fail(4)) SWIG_fail
; 
14923             arg5 
= (int)(SWIG_As_int(obj3
));  
14924             if (SWIG_arg_fail(5)) SWIG_fail
; 
14929             arg6 
= (int)(SWIG_As_int(obj4
));  
14930             if (SWIG_arg_fail(6)) SWIG_fail
; 
14934         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14935         (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
); 
14937         wxPyEndAllowThreads(__tstate
); 
14938         if (PyErr_Occurred()) SWIG_fail
; 
14940     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
14942         if (arg3
) delete [] arg3
; 
14947         if (arg3
) delete [] arg3
; 
14953 static PyObject 
*_wrap_DC_DrawLabel(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
14954     PyObject 
*resultobj
; 
14955     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
14956     wxString 
*arg2 
= 0 ; 
14958     int arg4 
= (int) wxALIGN_LEFT
|wxALIGN_TOP 
; 
14959     int arg5 
= (int) -1 ; 
14960     bool temp2 
= false ; 
14962     PyObject 
* obj0 
= 0 ; 
14963     PyObject 
* obj1 
= 0 ; 
14964     PyObject 
* obj2 
= 0 ; 
14965     PyObject 
* obj3 
= 0 ; 
14966     PyObject 
* obj4 
= 0 ; 
14967     char *kwnames
[] = { 
14968         (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL 
 
14971     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) 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         arg2 
= wxString_in_helper(obj1
); 
14976         if (arg2 
== NULL
) SWIG_fail
; 
14981         if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
; 
14985             arg4 
= (int)(SWIG_As_int(obj3
));  
14986             if (SWIG_arg_fail(4)) SWIG_fail
; 
14991             arg5 
= (int)(SWIG_As_int(obj4
));  
14992             if (SWIG_arg_fail(5)) SWIG_fail
; 
14996         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14997         (arg1
)->DrawLabel((wxString 
const &)*arg2
,(wxRect 
const &)*arg3
,arg4
,arg5
); 
14999         wxPyEndAllowThreads(__tstate
); 
15000         if (PyErr_Occurred()) SWIG_fail
; 
15002     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
15017 static PyObject 
*_wrap_DC_DrawImageLabel(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
15018     PyObject 
*resultobj
; 
15019     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
15020     wxString 
*arg2 
= 0 ; 
15021     wxBitmap 
*arg3 
= 0 ; 
15023     int arg5 
= (int) wxALIGN_LEFT
|wxALIGN_TOP 
; 
15024     int arg6 
= (int) -1 ; 
15026     bool temp2 
= false ; 
15028     PyObject 
* obj0 
= 0 ; 
15029     PyObject 
* obj1 
= 0 ; 
15030     PyObject 
* obj2 
= 0 ; 
15031     PyObject 
* obj3 
= 0 ; 
15032     PyObject 
* obj4 
= 0 ; 
15033     PyObject 
* obj5 
= 0 ; 
15034     char *kwnames
[] = { 
15035         (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL 
 
15038     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:DC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
; 
15039     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
15040     if (SWIG_arg_fail(1)) SWIG_fail
; 
15042         arg2 
= wxString_in_helper(obj1
); 
15043         if (arg2 
== NULL
) SWIG_fail
; 
15047         SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION 
| 0); 
15048         if (SWIG_arg_fail(3)) SWIG_fail
; 
15049         if (arg3 
== NULL
) { 
15050             SWIG_null_ref("wxBitmap"); 
15052         if (SWIG_arg_fail(3)) SWIG_fail
; 
15056         if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
; 
15060             arg5 
= (int)(SWIG_As_int(obj4
));  
15061             if (SWIG_arg_fail(5)) SWIG_fail
; 
15066             arg6 
= (int)(SWIG_As_int(obj5
));  
15067             if (SWIG_arg_fail(6)) SWIG_fail
; 
15071         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15072         result 
= wxDC_DrawImageLabel(arg1
,(wxString 
const &)*arg2
,(wxBitmap 
const &)*arg3
,(wxRect 
const &)*arg4
,arg5
,arg6
); 
15074         wxPyEndAllowThreads(__tstate
); 
15075         if (PyErr_Occurred()) SWIG_fail
; 
15078         wxRect 
* resultptr
; 
15079         resultptr 
= new wxRect((wxRect 
&)(result
)); 
15080         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1); 
15096 static PyObject 
*_wrap_DC_DrawSpline(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
15097     PyObject 
*resultobj
; 
15098     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
15100     wxPoint 
*arg3 
= (wxPoint 
*) 0 ; 
15101     PyObject 
* obj0 
= 0 ; 
15102     PyObject 
* obj1 
= 0 ; 
15103     char *kwnames
[] = { 
15104         (char *) "self",(char *) "points", NULL 
 
15107     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawSpline",kwnames
,&obj0
,&obj1
)) goto fail
; 
15108     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
15109     if (SWIG_arg_fail(1)) SWIG_fail
; 
15111         arg3 
= wxPoint_LIST_helper(obj1
, &arg2
); 
15112         if (arg3 
== NULL
) SWIG_fail
; 
15115         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15116         (arg1
)->DrawSpline(arg2
,arg3
); 
15118         wxPyEndAllowThreads(__tstate
); 
15119         if (PyErr_Occurred()) SWIG_fail
; 
15121     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
15123         if (arg3
) delete [] arg3
; 
15128         if (arg3
) delete [] arg3
; 
15134 static PyObject 
*_wrap_DC_Clear(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
15135     PyObject 
*resultobj
; 
15136     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
15137     PyObject 
* obj0 
= 0 ; 
15138     char *kwnames
[] = { 
15139         (char *) "self", NULL 
 
15142     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_Clear",kwnames
,&obj0
)) goto fail
; 
15143     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
15144     if (SWIG_arg_fail(1)) SWIG_fail
; 
15146         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15149         wxPyEndAllowThreads(__tstate
); 
15150         if (PyErr_Occurred()) SWIG_fail
; 
15152     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
15159 static PyObject 
*_wrap_DC_StartDoc(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
15160     PyObject 
*resultobj
; 
15161     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
15162     wxString 
*arg2 
= 0 ; 
15164     bool temp2 
= false ; 
15165     PyObject 
* obj0 
= 0 ; 
15166     PyObject 
* obj1 
= 0 ; 
15167     char *kwnames
[] = { 
15168         (char *) "self",(char *) "message", NULL 
 
15171     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_StartDoc",kwnames
,&obj0
,&obj1
)) goto fail
; 
15172     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
15173     if (SWIG_arg_fail(1)) SWIG_fail
; 
15175         arg2 
= wxString_in_helper(obj1
); 
15176         if (arg2 
== NULL
) SWIG_fail
; 
15180         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15181         result 
= (bool)(arg1
)->StartDoc((wxString 
const &)*arg2
); 
15183         wxPyEndAllowThreads(__tstate
); 
15184         if (PyErr_Occurred()) SWIG_fail
; 
15187         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
15203 static PyObject 
*_wrap_DC_EndDoc(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
15204     PyObject 
*resultobj
; 
15205     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
15206     PyObject 
* obj0 
= 0 ; 
15207     char *kwnames
[] = { 
15208         (char *) "self", NULL 
 
15211     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_EndDoc",kwnames
,&obj0
)) goto fail
; 
15212     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
15213     if (SWIG_arg_fail(1)) SWIG_fail
; 
15215         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15218         wxPyEndAllowThreads(__tstate
); 
15219         if (PyErr_Occurred()) SWIG_fail
; 
15221     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
15228 static PyObject 
*_wrap_DC_StartPage(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
15229     PyObject 
*resultobj
; 
15230     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
15231     PyObject 
* obj0 
= 0 ; 
15232     char *kwnames
[] = { 
15233         (char *) "self", NULL 
 
15236     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_StartPage",kwnames
,&obj0
)) goto fail
; 
15237     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
15238     if (SWIG_arg_fail(1)) SWIG_fail
; 
15240         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15241         (arg1
)->StartPage(); 
15243         wxPyEndAllowThreads(__tstate
); 
15244         if (PyErr_Occurred()) SWIG_fail
; 
15246     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
15253 static PyObject 
*_wrap_DC_EndPage(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
15254     PyObject 
*resultobj
; 
15255     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
15256     PyObject 
* obj0 
= 0 ; 
15257     char *kwnames
[] = { 
15258         (char *) "self", NULL 
 
15261     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_EndPage",kwnames
,&obj0
)) goto fail
; 
15262     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
15263     if (SWIG_arg_fail(1)) SWIG_fail
; 
15265         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15268         wxPyEndAllowThreads(__tstate
); 
15269         if (PyErr_Occurred()) SWIG_fail
; 
15271     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
15278 static PyObject 
*_wrap_DC_SetFont(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
15279     PyObject 
*resultobj
; 
15280     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
15282     PyObject 
* obj0 
= 0 ; 
15283     PyObject 
* obj1 
= 0 ; 
15284     char *kwnames
[] = { 
15285         (char *) "self",(char *) "font", NULL 
 
15288     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
; 
15289     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
15290     if (SWIG_arg_fail(1)) SWIG_fail
; 
15292         SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION 
| 0); 
15293         if (SWIG_arg_fail(2)) SWIG_fail
; 
15294         if (arg2 
== NULL
) { 
15295             SWIG_null_ref("wxFont"); 
15297         if (SWIG_arg_fail(2)) SWIG_fail
; 
15300         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15301         (arg1
)->SetFont((wxFont 
const &)*arg2
); 
15303         wxPyEndAllowThreads(__tstate
); 
15304         if (PyErr_Occurred()) SWIG_fail
; 
15306     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
15313 static PyObject 
*_wrap_DC_SetPen(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
15314     PyObject 
*resultobj
; 
15315     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
15317     PyObject 
* obj0 
= 0 ; 
15318     PyObject 
* obj1 
= 0 ; 
15319     char *kwnames
[] = { 
15320         (char *) "self",(char *) "pen", NULL 
 
15323     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPen",kwnames
,&obj0
,&obj1
)) goto fail
; 
15324     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
15325     if (SWIG_arg_fail(1)) SWIG_fail
; 
15327         SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION 
| 0); 
15328         if (SWIG_arg_fail(2)) SWIG_fail
; 
15329         if (arg2 
== NULL
) { 
15330             SWIG_null_ref("wxPen"); 
15332         if (SWIG_arg_fail(2)) SWIG_fail
; 
15335         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15336         (arg1
)->SetPen((wxPen 
const &)*arg2
); 
15338         wxPyEndAllowThreads(__tstate
); 
15339         if (PyErr_Occurred()) SWIG_fail
; 
15341     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
15348 static PyObject 
*_wrap_DC_SetBrush(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
15349     PyObject 
*resultobj
; 
15350     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
15351     wxBrush 
*arg2 
= 0 ; 
15352     PyObject 
* obj0 
= 0 ; 
15353     PyObject 
* obj1 
= 0 ; 
15354     char *kwnames
[] = { 
15355         (char *) "self",(char *) "brush", NULL 
 
15358     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBrush",kwnames
,&obj0
,&obj1
)) goto fail
; 
15359     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
15360     if (SWIG_arg_fail(1)) SWIG_fail
; 
15362         SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBrush
, SWIG_POINTER_EXCEPTION 
| 0); 
15363         if (SWIG_arg_fail(2)) SWIG_fail
; 
15364         if (arg2 
== NULL
) { 
15365             SWIG_null_ref("wxBrush"); 
15367         if (SWIG_arg_fail(2)) SWIG_fail
; 
15370         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15371         (arg1
)->SetBrush((wxBrush 
const &)*arg2
); 
15373         wxPyEndAllowThreads(__tstate
); 
15374         if (PyErr_Occurred()) SWIG_fail
; 
15376     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
15383 static PyObject 
*_wrap_DC_SetBackground(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
15384     PyObject 
*resultobj
; 
15385     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
15386     wxBrush 
*arg2 
= 0 ; 
15387     PyObject 
* obj0 
= 0 ; 
15388     PyObject 
* obj1 
= 0 ; 
15389     char *kwnames
[] = { 
15390         (char *) "self",(char *) "brush", NULL 
 
15393     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackground",kwnames
,&obj0
,&obj1
)) goto fail
; 
15394     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
15395     if (SWIG_arg_fail(1)) SWIG_fail
; 
15397         SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBrush
, SWIG_POINTER_EXCEPTION 
| 0); 
15398         if (SWIG_arg_fail(2)) SWIG_fail
; 
15399         if (arg2 
== NULL
) { 
15400             SWIG_null_ref("wxBrush"); 
15402         if (SWIG_arg_fail(2)) SWIG_fail
; 
15405         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15406         (arg1
)->SetBackground((wxBrush 
const &)*arg2
); 
15408         wxPyEndAllowThreads(__tstate
); 
15409         if (PyErr_Occurred()) SWIG_fail
; 
15411     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
15418 static PyObject 
*_wrap_DC_SetBackgroundMode(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
15419     PyObject 
*resultobj
; 
15420     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
15422     PyObject 
* obj0 
= 0 ; 
15423     PyObject 
* obj1 
= 0 ; 
15424     char *kwnames
[] = { 
15425         (char *) "self",(char *) "mode", NULL 
 
15428     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) goto fail
; 
15429     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
15430     if (SWIG_arg_fail(1)) SWIG_fail
; 
15432         arg2 
= (int)(SWIG_As_int(obj1
));  
15433         if (SWIG_arg_fail(2)) SWIG_fail
; 
15436         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15437         (arg1
)->SetBackgroundMode(arg2
); 
15439         wxPyEndAllowThreads(__tstate
); 
15440         if (PyErr_Occurred()) SWIG_fail
; 
15442     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
15449 static PyObject 
*_wrap_DC_SetPalette(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
15450     PyObject 
*resultobj
; 
15451     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
15452     wxPalette 
*arg2 
= 0 ; 
15453     PyObject 
* obj0 
= 0 ; 
15454     PyObject 
* obj1 
= 0 ; 
15455     char *kwnames
[] = { 
15456         (char *) "self",(char *) "palette", NULL 
 
15459     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPalette",kwnames
,&obj0
,&obj1
)) goto fail
; 
15460     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
15461     if (SWIG_arg_fail(1)) SWIG_fail
; 
15463         SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPalette
, SWIG_POINTER_EXCEPTION 
| 0); 
15464         if (SWIG_arg_fail(2)) SWIG_fail
; 
15465         if (arg2 
== NULL
) { 
15466             SWIG_null_ref("wxPalette"); 
15468         if (SWIG_arg_fail(2)) SWIG_fail
; 
15471         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15472         (arg1
)->SetPalette((wxPalette 
const &)*arg2
); 
15474         wxPyEndAllowThreads(__tstate
); 
15475         if (PyErr_Occurred()) SWIG_fail
; 
15477     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
15484 static PyObject 
*_wrap_DC_DestroyClippingRegion(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
15485     PyObject 
*resultobj
; 
15486     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
15487     PyObject 
* obj0 
= 0 ; 
15488     char *kwnames
[] = { 
15489         (char *) "self", NULL 
 
15492     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_DestroyClippingRegion",kwnames
,&obj0
)) goto fail
; 
15493     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
15494     if (SWIG_arg_fail(1)) SWIG_fail
; 
15496         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15497         (arg1
)->DestroyClippingRegion(); 
15499         wxPyEndAllowThreads(__tstate
); 
15500         if (PyErr_Occurred()) SWIG_fail
; 
15502     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
15509 static PyObject 
*_wrap_DC_GetClippingBox(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
15510     PyObject 
*resultobj
; 
15511     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
15512     int *arg2 
= (int *) 0 ; 
15513     int *arg3 
= (int *) 0 ; 
15514     int *arg4 
= (int *) 0 ; 
15515     int *arg5 
= (int *) 0 ; 
15524     PyObject 
* obj0 
= 0 ; 
15525     char *kwnames
[] = { 
15526         (char *) "self", NULL 
 
15529     arg2 
= &temp2
; res2 
= SWIG_NEWOBJ
; 
15530     arg3 
= &temp3
; res3 
= SWIG_NEWOBJ
; 
15531     arg4 
= &temp4
; res4 
= SWIG_NEWOBJ
; 
15532     arg5 
= &temp5
; res5 
= SWIG_NEWOBJ
; 
15533     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetClippingBox",kwnames
,&obj0
)) goto fail
; 
15534     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
15535     if (SWIG_arg_fail(1)) SWIG_fail
; 
15537         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15538         ((wxDC 
const *)arg1
)->GetClippingBox(arg2
,arg3
,arg4
,arg5
); 
15540         wxPyEndAllowThreads(__tstate
); 
15541         if (PyErr_Occurred()) SWIG_fail
; 
15543     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
15544     resultobj 
= t_output_helper(resultobj
, ((res2 
== SWIG_NEWOBJ
) ? 
15545     SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0))); 
15546     resultobj 
= t_output_helper(resultobj
, ((res3 
== SWIG_NEWOBJ
) ? 
15547     SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0))); 
15548     resultobj 
= t_output_helper(resultobj
, ((res4 
== SWIG_NEWOBJ
) ? 
15549     SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0))); 
15550     resultobj 
= t_output_helper(resultobj
, ((res5 
== SWIG_NEWOBJ
) ? 
15551     SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0))); 
15558 static PyObject 
*_wrap_DC_GetClippingRect(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
15559     PyObject 
*resultobj
; 
15560     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
15562     PyObject 
* obj0 
= 0 ; 
15563     char *kwnames
[] = { 
15564         (char *) "self", NULL 
 
15567     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetClippingRect",kwnames
,&obj0
)) goto fail
; 
15568     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
15569     if (SWIG_arg_fail(1)) SWIG_fail
; 
15571         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15572         result 
= wxDC_GetClippingRect(arg1
); 
15574         wxPyEndAllowThreads(__tstate
); 
15575         if (PyErr_Occurred()) SWIG_fail
; 
15578         wxRect 
* resultptr
; 
15579         resultptr 
= new wxRect((wxRect 
&)(result
)); 
15580         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1); 
15588 static PyObject 
*_wrap_DC_GetCharHeight(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
15589     PyObject 
*resultobj
; 
15590     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
15592     PyObject 
* obj0 
= 0 ; 
15593     char *kwnames
[] = { 
15594         (char *) "self", NULL 
 
15597     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetCharHeight",kwnames
,&obj0
)) goto fail
; 
15598     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
15599     if (SWIG_arg_fail(1)) SWIG_fail
; 
15601         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15602         result 
= (int)((wxDC 
const *)arg1
)->GetCharHeight(); 
15604         wxPyEndAllowThreads(__tstate
); 
15605         if (PyErr_Occurred()) SWIG_fail
; 
15608         resultobj 
= SWIG_From_int((int)(result
));  
15616 static PyObject 
*_wrap_DC_GetCharWidth(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
15617     PyObject 
*resultobj
; 
15618     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
15620     PyObject 
* obj0 
= 0 ; 
15621     char *kwnames
[] = { 
15622         (char *) "self", NULL 
 
15625     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetCharWidth",kwnames
,&obj0
)) goto fail
; 
15626     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
15627     if (SWIG_arg_fail(1)) SWIG_fail
; 
15629         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15630         result 
= (int)((wxDC 
const *)arg1
)->GetCharWidth(); 
15632         wxPyEndAllowThreads(__tstate
); 
15633         if (PyErr_Occurred()) SWIG_fail
; 
15636         resultobj 
= SWIG_From_int((int)(result
));  
15644 static PyObject 
*_wrap_DC_GetTextExtent(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
15645     PyObject 
*resultobj
; 
15646     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
15647     wxString 
*arg2 
= 0 ; 
15648     int *arg3 
= (int *) 0 ; 
15649     int *arg4 
= (int *) 0 ; 
15650     bool temp2 
= false ; 
15655     PyObject 
* obj0 
= 0 ; 
15656     PyObject 
* obj1 
= 0 ; 
15657     char *kwnames
[] = { 
15658         (char *) "self",(char *) "string", NULL 
 
15661     arg3 
= &temp3
; res3 
= SWIG_NEWOBJ
; 
15662     arg4 
= &temp4
; res4 
= SWIG_NEWOBJ
; 
15663     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetTextExtent",kwnames
,&obj0
,&obj1
)) goto fail
; 
15664     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
15665     if (SWIG_arg_fail(1)) SWIG_fail
; 
15667         arg2 
= wxString_in_helper(obj1
); 
15668         if (arg2 
== NULL
) SWIG_fail
; 
15672         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15673         (arg1
)->GetTextExtent((wxString 
const &)*arg2
,arg3
,arg4
); 
15675         wxPyEndAllowThreads(__tstate
); 
15676         if (PyErr_Occurred()) SWIG_fail
; 
15678     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
15679     resultobj 
= t_output_helper(resultobj
, ((res3 
== SWIG_NEWOBJ
) ? 
15680     SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0))); 
15681     resultobj 
= t_output_helper(resultobj
, ((res4 
== SWIG_NEWOBJ
) ? 
15682     SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0))); 
15697 static PyObject 
*_wrap_DC_GetFullTextExtent(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
15698     PyObject 
*resultobj
; 
15699     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
15700     wxString 
*arg2 
= 0 ; 
15701     int *arg3 
= (int *) 0 ; 
15702     int *arg4 
= (int *) 0 ; 
15703     int *arg5 
= (int *) 0 ; 
15704     int *arg6 
= (int *) 0 ; 
15705     wxFont 
*arg7 
= (wxFont 
*) NULL 
; 
15706     bool temp2 
= false ; 
15715     PyObject 
* obj0 
= 0 ; 
15716     PyObject 
* obj1 
= 0 ; 
15717     PyObject 
* obj2 
= 0 ; 
15718     char *kwnames
[] = { 
15719         (char *) "self",(char *) "string",(char *) "font", NULL 
 
15722     arg3 
= &temp3
; res3 
= SWIG_NEWOBJ
; 
15723     arg4 
= &temp4
; res4 
= SWIG_NEWOBJ
; 
15724     arg5 
= &temp5
; res5 
= SWIG_NEWOBJ
; 
15725     arg6 
= &temp6
; res6 
= SWIG_NEWOBJ
; 
15726     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
15727     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
15728     if (SWIG_arg_fail(1)) SWIG_fail
; 
15730         arg2 
= wxString_in_helper(obj1
); 
15731         if (arg2 
== NULL
) SWIG_fail
; 
15735         SWIG_Python_ConvertPtr(obj2
, (void **)&arg7
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION 
| 0); 
15736         if (SWIG_arg_fail(7)) SWIG_fail
; 
15739         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15740         (arg1
)->GetTextExtent((wxString 
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
); 
15742         wxPyEndAllowThreads(__tstate
); 
15743         if (PyErr_Occurred()) SWIG_fail
; 
15745     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
15746     resultobj 
= t_output_helper(resultobj
, ((res3 
== SWIG_NEWOBJ
) ? 
15747     SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0))); 
15748     resultobj 
= t_output_helper(resultobj
, ((res4 
== SWIG_NEWOBJ
) ? 
15749     SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0))); 
15750     resultobj 
= t_output_helper(resultobj
, ((res5 
== SWIG_NEWOBJ
) ? 
15751     SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0))); 
15752     resultobj 
= t_output_helper(resultobj
, ((res6 
== SWIG_NEWOBJ
) ? 
15753     SWIG_From_int((*arg6
)) : SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_int
, 0))); 
15768 static PyObject 
*_wrap_DC_GetMultiLineTextExtent(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
15769     PyObject 
*resultobj
; 
15770     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
15771     wxString 
*arg2 
= 0 ; 
15772     int *arg3 
= (int *) 0 ; 
15773     int *arg4 
= (int *) 0 ; 
15774     int *arg5 
= (int *) 0 ; 
15775     wxFont 
*arg6 
= (wxFont 
*) NULL 
; 
15776     bool temp2 
= false ; 
15783     PyObject 
* obj0 
= 0 ; 
15784     PyObject 
* obj1 
= 0 ; 
15785     PyObject 
* obj2 
= 0 ; 
15786     char *kwnames
[] = { 
15787         (char *) "self",(char *) "text",(char *) "font", NULL 
 
15790     arg3 
= &temp3
; res3 
= SWIG_NEWOBJ
; 
15791     arg4 
= &temp4
; res4 
= SWIG_NEWOBJ
; 
15792     arg5 
= &temp5
; res5 
= SWIG_NEWOBJ
; 
15793     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetMultiLineTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
15794     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
15795     if (SWIG_arg_fail(1)) SWIG_fail
; 
15797         arg2 
= wxString_in_helper(obj1
); 
15798         if (arg2 
== NULL
) SWIG_fail
; 
15802         SWIG_Python_ConvertPtr(obj2
, (void **)&arg6
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION 
| 0); 
15803         if (SWIG_arg_fail(6)) SWIG_fail
; 
15806         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15807         (arg1
)->GetMultiLineTextExtent((wxString 
const &)*arg2
,arg3
,arg4
,arg5
,arg6
); 
15809         wxPyEndAllowThreads(__tstate
); 
15810         if (PyErr_Occurred()) SWIG_fail
; 
15812     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
15813     resultobj 
= t_output_helper(resultobj
, ((res3 
== SWIG_NEWOBJ
) ? 
15814     SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0))); 
15815     resultobj 
= t_output_helper(resultobj
, ((res4 
== SWIG_NEWOBJ
) ? 
15816     SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0))); 
15817     resultobj 
= t_output_helper(resultobj
, ((res5 
== SWIG_NEWOBJ
) ? 
15818     SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0))); 
15833 static PyObject 
*_wrap_DC_GetPartialTextExtents(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
15834     PyObject 
*resultobj
; 
15835     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
15836     wxString 
*arg2 
= 0 ; 
15838     bool temp2 
= false ; 
15839     PyObject 
* obj0 
= 0 ; 
15840     PyObject 
* obj1 
= 0 ; 
15841     char *kwnames
[] = { 
15842         (char *) "self",(char *) "text", NULL 
 
15845     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) goto fail
; 
15846     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
15847     if (SWIG_arg_fail(1)) SWIG_fail
; 
15849         arg2 
= wxString_in_helper(obj1
); 
15850         if (arg2 
== NULL
) SWIG_fail
; 
15854         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15855         result 
= wxDC_GetPartialTextExtents(arg1
,(wxString 
const &)*arg2
); 
15857         wxPyEndAllowThreads(__tstate
); 
15858         if (PyErr_Occurred()) SWIG_fail
; 
15861         resultobj 
= PyList_New(0); 
15863         for (idx 
= 0; idx 
< (&result
)->GetCount(); idx 
+= 1) { 
15864             PyObject
* val 
= PyInt_FromLong( (&result
)->Item(idx
) ); 
15865             PyList_Append(resultobj
, val
); 
15883 static PyObject 
*_wrap_DC_GetSize(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
15884     PyObject 
*resultobj
; 
15885     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
15887     PyObject 
* obj0 
= 0 ; 
15888     char *kwnames
[] = { 
15889         (char *) "self", NULL 
 
15892     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSize",kwnames
,&obj0
)) goto fail
; 
15893     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
15894     if (SWIG_arg_fail(1)) SWIG_fail
; 
15896         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15897         result 
= (arg1
)->GetSize(); 
15899         wxPyEndAllowThreads(__tstate
); 
15900         if (PyErr_Occurred()) SWIG_fail
; 
15903         wxSize 
* resultptr
; 
15904         resultptr 
= new wxSize((wxSize 
&)(result
)); 
15905         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1); 
15913 static PyObject 
*_wrap_DC_GetSizeTuple(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
15914     PyObject 
*resultobj
; 
15915     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
15916     int *arg2 
= (int *) 0 ; 
15917     int *arg3 
= (int *) 0 ; 
15922     PyObject 
* obj0 
= 0 ; 
15923     char *kwnames
[] = { 
15924         (char *) "self", NULL 
 
15927     arg2 
= &temp2
; res2 
= SWIG_NEWOBJ
; 
15928     arg3 
= &temp3
; res3 
= SWIG_NEWOBJ
; 
15929     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeTuple",kwnames
,&obj0
)) goto fail
; 
15930     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
15931     if (SWIG_arg_fail(1)) SWIG_fail
; 
15933         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15934         (arg1
)->GetSize(arg2
,arg3
); 
15936         wxPyEndAllowThreads(__tstate
); 
15937         if (PyErr_Occurred()) SWIG_fail
; 
15939     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
15940     resultobj 
= t_output_helper(resultobj
, ((res2 
== SWIG_NEWOBJ
) ? 
15941     SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0))); 
15942     resultobj 
= t_output_helper(resultobj
, ((res3 
== SWIG_NEWOBJ
) ? 
15943     SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0))); 
15950 static PyObject 
*_wrap_DC_GetSizeMM(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
15951     PyObject 
*resultobj
; 
15952     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
15954     PyObject 
* obj0 
= 0 ; 
15955     char *kwnames
[] = { 
15956         (char *) "self", NULL 
 
15959     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeMM",kwnames
,&obj0
)) goto fail
; 
15960     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
15961     if (SWIG_arg_fail(1)) SWIG_fail
; 
15963         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15964         result 
= ((wxDC 
const *)arg1
)->GetSizeMM(); 
15966         wxPyEndAllowThreads(__tstate
); 
15967         if (PyErr_Occurred()) SWIG_fail
; 
15970         wxSize 
* resultptr
; 
15971         resultptr 
= new wxSize((wxSize 
&)(result
)); 
15972         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1); 
15980 static PyObject 
*_wrap_DC_GetSizeMMTuple(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
15981     PyObject 
*resultobj
; 
15982     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
15983     int *arg2 
= (int *) 0 ; 
15984     int *arg3 
= (int *) 0 ; 
15989     PyObject 
* obj0 
= 0 ; 
15990     char *kwnames
[] = { 
15991         (char *) "self", NULL 
 
15994     arg2 
= &temp2
; res2 
= SWIG_NEWOBJ
; 
15995     arg3 
= &temp3
; res3 
= SWIG_NEWOBJ
; 
15996     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeMMTuple",kwnames
,&obj0
)) goto fail
; 
15997     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
15998     if (SWIG_arg_fail(1)) SWIG_fail
; 
16000         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16001         ((wxDC 
const *)arg1
)->GetSizeMM(arg2
,arg3
); 
16003         wxPyEndAllowThreads(__tstate
); 
16004         if (PyErr_Occurred()) SWIG_fail
; 
16006     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
16007     resultobj 
= t_output_helper(resultobj
, ((res2 
== SWIG_NEWOBJ
) ? 
16008     SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0))); 
16009     resultobj 
= t_output_helper(resultobj
, ((res3 
== SWIG_NEWOBJ
) ? 
16010     SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0))); 
16017 static PyObject 
*_wrap_DC_DeviceToLogicalX(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16018     PyObject 
*resultobj
; 
16019     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
16022     PyObject 
* obj0 
= 0 ; 
16023     PyObject 
* obj1 
= 0 ; 
16024     char *kwnames
[] = { 
16025         (char *) "self",(char *) "x", NULL 
 
16028     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalX",kwnames
,&obj0
,&obj1
)) goto fail
; 
16029     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
16030     if (SWIG_arg_fail(1)) SWIG_fail
; 
16032         arg2 
= (int)(SWIG_As_int(obj1
));  
16033         if (SWIG_arg_fail(2)) SWIG_fail
; 
16036         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16037         result 
= (int)((wxDC 
const *)arg1
)->DeviceToLogicalX(arg2
); 
16039         wxPyEndAllowThreads(__tstate
); 
16040         if (PyErr_Occurred()) SWIG_fail
; 
16043         resultobj 
= SWIG_From_int((int)(result
));  
16051 static PyObject 
*_wrap_DC_DeviceToLogicalY(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16052     PyObject 
*resultobj
; 
16053     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
16056     PyObject 
* obj0 
= 0 ; 
16057     PyObject 
* obj1 
= 0 ; 
16058     char *kwnames
[] = { 
16059         (char *) "self",(char *) "y", NULL 
 
16062     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalY",kwnames
,&obj0
,&obj1
)) goto fail
; 
16063     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
16064     if (SWIG_arg_fail(1)) SWIG_fail
; 
16066         arg2 
= (int)(SWIG_As_int(obj1
));  
16067         if (SWIG_arg_fail(2)) SWIG_fail
; 
16070         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16071         result 
= (int)((wxDC 
const *)arg1
)->DeviceToLogicalY(arg2
); 
16073         wxPyEndAllowThreads(__tstate
); 
16074         if (PyErr_Occurred()) SWIG_fail
; 
16077         resultobj 
= SWIG_From_int((int)(result
));  
16085 static PyObject 
*_wrap_DC_DeviceToLogicalXRel(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16086     PyObject 
*resultobj
; 
16087     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
16090     PyObject 
* obj0 
= 0 ; 
16091     PyObject 
* obj1 
= 0 ; 
16092     char *kwnames
[] = { 
16093         (char *) "self",(char *) "x", NULL 
 
16096     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalXRel",kwnames
,&obj0
,&obj1
)) goto fail
; 
16097     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
16098     if (SWIG_arg_fail(1)) SWIG_fail
; 
16100         arg2 
= (int)(SWIG_As_int(obj1
));  
16101         if (SWIG_arg_fail(2)) SWIG_fail
; 
16104         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16105         result 
= (int)((wxDC 
const *)arg1
)->DeviceToLogicalXRel(arg2
); 
16107         wxPyEndAllowThreads(__tstate
); 
16108         if (PyErr_Occurred()) SWIG_fail
; 
16111         resultobj 
= SWIG_From_int((int)(result
));  
16119 static PyObject 
*_wrap_DC_DeviceToLogicalYRel(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16120     PyObject 
*resultobj
; 
16121     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
16124     PyObject 
* obj0 
= 0 ; 
16125     PyObject 
* obj1 
= 0 ; 
16126     char *kwnames
[] = { 
16127         (char *) "self",(char *) "y", NULL 
 
16130     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalYRel",kwnames
,&obj0
,&obj1
)) goto fail
; 
16131     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
16132     if (SWIG_arg_fail(1)) SWIG_fail
; 
16134         arg2 
= (int)(SWIG_As_int(obj1
));  
16135         if (SWIG_arg_fail(2)) SWIG_fail
; 
16138         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16139         result 
= (int)((wxDC 
const *)arg1
)->DeviceToLogicalYRel(arg2
); 
16141         wxPyEndAllowThreads(__tstate
); 
16142         if (PyErr_Occurred()) SWIG_fail
; 
16145         resultobj 
= SWIG_From_int((int)(result
));  
16153 static PyObject 
*_wrap_DC_LogicalToDeviceX(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16154     PyObject 
*resultobj
; 
16155     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
16158     PyObject 
* obj0 
= 0 ; 
16159     PyObject 
* obj1 
= 0 ; 
16160     char *kwnames
[] = { 
16161         (char *) "self",(char *) "x", NULL 
 
16164     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceX",kwnames
,&obj0
,&obj1
)) goto fail
; 
16165     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
16166     if (SWIG_arg_fail(1)) SWIG_fail
; 
16168         arg2 
= (int)(SWIG_As_int(obj1
));  
16169         if (SWIG_arg_fail(2)) SWIG_fail
; 
16172         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16173         result 
= (int)((wxDC 
const *)arg1
)->LogicalToDeviceX(arg2
); 
16175         wxPyEndAllowThreads(__tstate
); 
16176         if (PyErr_Occurred()) SWIG_fail
; 
16179         resultobj 
= SWIG_From_int((int)(result
));  
16187 static PyObject 
*_wrap_DC_LogicalToDeviceY(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16188     PyObject 
*resultobj
; 
16189     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
16192     PyObject 
* obj0 
= 0 ; 
16193     PyObject 
* obj1 
= 0 ; 
16194     char *kwnames
[] = { 
16195         (char *) "self",(char *) "y", NULL 
 
16198     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceY",kwnames
,&obj0
,&obj1
)) goto fail
; 
16199     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
16200     if (SWIG_arg_fail(1)) SWIG_fail
; 
16202         arg2 
= (int)(SWIG_As_int(obj1
));  
16203         if (SWIG_arg_fail(2)) SWIG_fail
; 
16206         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16207         result 
= (int)((wxDC 
const *)arg1
)->LogicalToDeviceY(arg2
); 
16209         wxPyEndAllowThreads(__tstate
); 
16210         if (PyErr_Occurred()) SWIG_fail
; 
16213         resultobj 
= SWIG_From_int((int)(result
));  
16221 static PyObject 
*_wrap_DC_LogicalToDeviceXRel(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16222     PyObject 
*resultobj
; 
16223     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
16226     PyObject 
* obj0 
= 0 ; 
16227     PyObject 
* obj1 
= 0 ; 
16228     char *kwnames
[] = { 
16229         (char *) "self",(char *) "x", NULL 
 
16232     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceXRel",kwnames
,&obj0
,&obj1
)) goto fail
; 
16233     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
16234     if (SWIG_arg_fail(1)) SWIG_fail
; 
16236         arg2 
= (int)(SWIG_As_int(obj1
));  
16237         if (SWIG_arg_fail(2)) SWIG_fail
; 
16240         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16241         result 
= (int)((wxDC 
const *)arg1
)->LogicalToDeviceXRel(arg2
); 
16243         wxPyEndAllowThreads(__tstate
); 
16244         if (PyErr_Occurred()) SWIG_fail
; 
16247         resultobj 
= SWIG_From_int((int)(result
));  
16255 static PyObject 
*_wrap_DC_LogicalToDeviceYRel(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16256     PyObject 
*resultobj
; 
16257     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
16260     PyObject 
* obj0 
= 0 ; 
16261     PyObject 
* obj1 
= 0 ; 
16262     char *kwnames
[] = { 
16263         (char *) "self",(char *) "y", NULL 
 
16266     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceYRel",kwnames
,&obj0
,&obj1
)) goto fail
; 
16267     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
16268     if (SWIG_arg_fail(1)) SWIG_fail
; 
16270         arg2 
= (int)(SWIG_As_int(obj1
));  
16271         if (SWIG_arg_fail(2)) SWIG_fail
; 
16274         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16275         result 
= (int)((wxDC 
const *)arg1
)->LogicalToDeviceYRel(arg2
); 
16277         wxPyEndAllowThreads(__tstate
); 
16278         if (PyErr_Occurred()) SWIG_fail
; 
16281         resultobj 
= SWIG_From_int((int)(result
));  
16289 static PyObject 
*_wrap_DC_CanDrawBitmap(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16290     PyObject 
*resultobj
; 
16291     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
16293     PyObject 
* obj0 
= 0 ; 
16294     char *kwnames
[] = { 
16295         (char *) "self", NULL 
 
16298     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_CanDrawBitmap",kwnames
,&obj0
)) goto fail
; 
16299     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
16300     if (SWIG_arg_fail(1)) SWIG_fail
; 
16302         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16303         result 
= (bool)((wxDC 
const *)arg1
)->CanDrawBitmap(); 
16305         wxPyEndAllowThreads(__tstate
); 
16306         if (PyErr_Occurred()) SWIG_fail
; 
16309         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
16317 static PyObject 
*_wrap_DC_CanGetTextExtent(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16318     PyObject 
*resultobj
; 
16319     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
16321     PyObject 
* obj0 
= 0 ; 
16322     char *kwnames
[] = { 
16323         (char *) "self", NULL 
 
16326     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_CanGetTextExtent",kwnames
,&obj0
)) goto fail
; 
16327     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
16328     if (SWIG_arg_fail(1)) SWIG_fail
; 
16330         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16331         result 
= (bool)((wxDC 
const *)arg1
)->CanGetTextExtent(); 
16333         wxPyEndAllowThreads(__tstate
); 
16334         if (PyErr_Occurred()) SWIG_fail
; 
16337         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
16345 static PyObject 
*_wrap_DC_GetDepth(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16346     PyObject 
*resultobj
; 
16347     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
16349     PyObject 
* obj0 
= 0 ; 
16350     char *kwnames
[] = { 
16351         (char *) "self", NULL 
 
16354     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetDepth",kwnames
,&obj0
)) goto fail
; 
16355     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
16356     if (SWIG_arg_fail(1)) SWIG_fail
; 
16358         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16359         result 
= (int)((wxDC 
const *)arg1
)->GetDepth(); 
16361         wxPyEndAllowThreads(__tstate
); 
16362         if (PyErr_Occurred()) SWIG_fail
; 
16365         resultobj 
= SWIG_From_int((int)(result
));  
16373 static PyObject 
*_wrap_DC_GetPPI(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16374     PyObject 
*resultobj
; 
16375     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
16377     PyObject 
* obj0 
= 0 ; 
16378     char *kwnames
[] = { 
16379         (char *) "self", NULL 
 
16382     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetPPI",kwnames
,&obj0
)) goto fail
; 
16383     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
16384     if (SWIG_arg_fail(1)) SWIG_fail
; 
16386         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16387         result 
= ((wxDC 
const *)arg1
)->GetPPI(); 
16389         wxPyEndAllowThreads(__tstate
); 
16390         if (PyErr_Occurred()) SWIG_fail
; 
16393         wxSize 
* resultptr
; 
16394         resultptr 
= new wxSize((wxSize 
&)(result
)); 
16395         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1); 
16403 static PyObject 
*_wrap_DC_Ok(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16404     PyObject 
*resultobj
; 
16405     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
16407     PyObject 
* obj0 
= 0 ; 
16408     char *kwnames
[] = { 
16409         (char *) "self", NULL 
 
16412     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_Ok",kwnames
,&obj0
)) goto fail
; 
16413     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
16414     if (SWIG_arg_fail(1)) SWIG_fail
; 
16416         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16417         result 
= (bool)((wxDC 
const *)arg1
)->Ok(); 
16419         wxPyEndAllowThreads(__tstate
); 
16420         if (PyErr_Occurred()) SWIG_fail
; 
16423         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
16431 static PyObject 
*_wrap_DC_GetBackgroundMode(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16432     PyObject 
*resultobj
; 
16433     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
16435     PyObject 
* obj0 
= 0 ; 
16436     char *kwnames
[] = { 
16437         (char *) "self", NULL 
 
16440     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBackgroundMode",kwnames
,&obj0
)) goto fail
; 
16441     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
16442     if (SWIG_arg_fail(1)) SWIG_fail
; 
16444         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16445         result 
= (int)((wxDC 
const *)arg1
)->GetBackgroundMode(); 
16447         wxPyEndAllowThreads(__tstate
); 
16448         if (PyErr_Occurred()) SWIG_fail
; 
16451         resultobj 
= SWIG_From_int((int)(result
));  
16459 static PyObject 
*_wrap_DC_GetBackground(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16460     PyObject 
*resultobj
; 
16461     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
16463     PyObject 
* obj0 
= 0 ; 
16464     char *kwnames
[] = { 
16465         (char *) "self", NULL 
 
16468     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBackground",kwnames
,&obj0
)) goto fail
; 
16469     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
16470     if (SWIG_arg_fail(1)) SWIG_fail
; 
16472         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16474             wxBrush 
const &_result_ref 
= ((wxDC 
const *)arg1
)->GetBackground(); 
16475             result 
= (wxBrush 
*) &_result_ref
; 
16478         wxPyEndAllowThreads(__tstate
); 
16479         if (PyErr_Occurred()) SWIG_fail
; 
16482         wxBrush
* resultptr 
= new wxBrush(*result
); 
16483         resultobj 
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1); 
16491 static PyObject 
*_wrap_DC_GetBrush(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16492     PyObject 
*resultobj
; 
16493     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
16495     PyObject 
* obj0 
= 0 ; 
16496     char *kwnames
[] = { 
16497         (char *) "self", NULL 
 
16500     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBrush",kwnames
,&obj0
)) goto fail
; 
16501     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
16502     if (SWIG_arg_fail(1)) SWIG_fail
; 
16504         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16506             wxBrush 
const &_result_ref 
= ((wxDC 
const *)arg1
)->GetBrush(); 
16507             result 
= (wxBrush 
*) &_result_ref
; 
16510         wxPyEndAllowThreads(__tstate
); 
16511         if (PyErr_Occurred()) SWIG_fail
; 
16514         wxBrush
* resultptr 
= new wxBrush(*result
); 
16515         resultobj 
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1); 
16523 static PyObject 
*_wrap_DC_GetFont(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16524     PyObject 
*resultobj
; 
16525     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
16527     PyObject 
* obj0 
= 0 ; 
16528     char *kwnames
[] = { 
16529         (char *) "self", NULL 
 
16532     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetFont",kwnames
,&obj0
)) goto fail
; 
16533     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
16534     if (SWIG_arg_fail(1)) SWIG_fail
; 
16536         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16538             wxFont 
const &_result_ref 
= ((wxDC 
const *)arg1
)->GetFont(); 
16539             result 
= (wxFont 
*) &_result_ref
; 
16542         wxPyEndAllowThreads(__tstate
); 
16543         if (PyErr_Occurred()) SWIG_fail
; 
16546         wxFont
* resultptr 
= new wxFont(*result
); 
16547         resultobj 
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1); 
16555 static PyObject 
*_wrap_DC_GetPen(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16556     PyObject 
*resultobj
; 
16557     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
16559     PyObject 
* obj0 
= 0 ; 
16560     char *kwnames
[] = { 
16561         (char *) "self", NULL 
 
16564     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetPen",kwnames
,&obj0
)) goto fail
; 
16565     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
16566     if (SWIG_arg_fail(1)) SWIG_fail
; 
16568         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16570             wxPen 
const &_result_ref 
= ((wxDC 
const *)arg1
)->GetPen(); 
16571             result 
= (wxPen 
*) &_result_ref
; 
16574         wxPyEndAllowThreads(__tstate
); 
16575         if (PyErr_Occurred()) SWIG_fail
; 
16578         wxPen
* resultptr 
= new wxPen(*result
); 
16579         resultobj 
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxPen
, 1); 
16587 static PyObject 
*_wrap_DC_GetTextBackground(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16588     PyObject 
*resultobj
; 
16589     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
16591     PyObject 
* obj0 
= 0 ; 
16592     char *kwnames
[] = { 
16593         (char *) "self", NULL 
 
16596     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetTextBackground",kwnames
,&obj0
)) goto fail
; 
16597     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
16598     if (SWIG_arg_fail(1)) SWIG_fail
; 
16600         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16602             wxColour 
const &_result_ref 
= ((wxDC 
const *)arg1
)->GetTextBackground(); 
16603             result 
= (wxColour 
*) &_result_ref
; 
16606         wxPyEndAllowThreads(__tstate
); 
16607         if (PyErr_Occurred()) SWIG_fail
; 
16609     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0); 
16616 static PyObject 
*_wrap_DC_GetTextForeground(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16617     PyObject 
*resultobj
; 
16618     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
16620     PyObject 
* obj0 
= 0 ; 
16621     char *kwnames
[] = { 
16622         (char *) "self", NULL 
 
16625     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetTextForeground",kwnames
,&obj0
)) goto fail
; 
16626     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
16627     if (SWIG_arg_fail(1)) SWIG_fail
; 
16629         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16631             wxColour 
const &_result_ref 
= ((wxDC 
const *)arg1
)->GetTextForeground(); 
16632             result 
= (wxColour 
*) &_result_ref
; 
16635         wxPyEndAllowThreads(__tstate
); 
16636         if (PyErr_Occurred()) SWIG_fail
; 
16638     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0); 
16645 static PyObject 
*_wrap_DC_SetTextForeground(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16646     PyObject 
*resultobj
; 
16647     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
16648     wxColour 
*arg2 
= 0 ; 
16650     PyObject 
* obj0 
= 0 ; 
16651     PyObject 
* obj1 
= 0 ; 
16652     char *kwnames
[] = { 
16653         (char *) "self",(char *) "colour", NULL 
 
16656     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextForeground",kwnames
,&obj0
,&obj1
)) goto fail
; 
16657     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
16658     if (SWIG_arg_fail(1)) SWIG_fail
; 
16661         if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
16664         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16665         (arg1
)->SetTextForeground((wxColour 
const &)*arg2
); 
16667         wxPyEndAllowThreads(__tstate
); 
16668         if (PyErr_Occurred()) SWIG_fail
; 
16670     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
16677 static PyObject 
*_wrap_DC_SetTextBackground(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16678     PyObject 
*resultobj
; 
16679     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
16680     wxColour 
*arg2 
= 0 ; 
16682     PyObject 
* obj0 
= 0 ; 
16683     PyObject 
* obj1 
= 0 ; 
16684     char *kwnames
[] = { 
16685         (char *) "self",(char *) "colour", NULL 
 
16688     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextBackground",kwnames
,&obj0
,&obj1
)) goto fail
; 
16689     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
16690     if (SWIG_arg_fail(1)) SWIG_fail
; 
16693         if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
16696         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16697         (arg1
)->SetTextBackground((wxColour 
const &)*arg2
); 
16699         wxPyEndAllowThreads(__tstate
); 
16700         if (PyErr_Occurred()) SWIG_fail
; 
16702     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
16709 static PyObject 
*_wrap_DC_GetMapMode(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16710     PyObject 
*resultobj
; 
16711     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
16713     PyObject 
* obj0 
= 0 ; 
16714     char *kwnames
[] = { 
16715         (char *) "self", NULL 
 
16718     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetMapMode",kwnames
,&obj0
)) goto fail
; 
16719     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
16720     if (SWIG_arg_fail(1)) SWIG_fail
; 
16722         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16723         result 
= (int)((wxDC 
const *)arg1
)->GetMapMode(); 
16725         wxPyEndAllowThreads(__tstate
); 
16726         if (PyErr_Occurred()) SWIG_fail
; 
16729         resultobj 
= SWIG_From_int((int)(result
));  
16737 static PyObject 
*_wrap_DC_SetMapMode(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16738     PyObject 
*resultobj
; 
16739     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
16741     PyObject 
* obj0 
= 0 ; 
16742     PyObject 
* obj1 
= 0 ; 
16743     char *kwnames
[] = { 
16744         (char *) "self",(char *) "mode", NULL 
 
16747     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetMapMode",kwnames
,&obj0
,&obj1
)) goto fail
; 
16748     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
16749     if (SWIG_arg_fail(1)) SWIG_fail
; 
16751         arg2 
= (int)(SWIG_As_int(obj1
));  
16752         if (SWIG_arg_fail(2)) SWIG_fail
; 
16755         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16756         (arg1
)->SetMapMode(arg2
); 
16758         wxPyEndAllowThreads(__tstate
); 
16759         if (PyErr_Occurred()) SWIG_fail
; 
16761     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
16768 static PyObject 
*_wrap_DC_GetUserScale(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16769     PyObject 
*resultobj
; 
16770     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
16771     double *arg2 
= (double *) 0 ; 
16772     double *arg3 
= (double *) 0 ; 
16777     PyObject 
* obj0 
= 0 ; 
16778     char *kwnames
[] = { 
16779         (char *) "self", NULL 
 
16782     arg2 
= &temp2
; res2 
= SWIG_NEWOBJ
; 
16783     arg3 
= &temp3
; res3 
= SWIG_NEWOBJ
; 
16784     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetUserScale",kwnames
,&obj0
)) goto fail
; 
16785     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
16786     if (SWIG_arg_fail(1)) SWIG_fail
; 
16788         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16789         ((wxDC 
const *)arg1
)->GetUserScale(arg2
,arg3
); 
16791         wxPyEndAllowThreads(__tstate
); 
16792         if (PyErr_Occurred()) SWIG_fail
; 
16794     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
16795     resultobj 
= t_output_helper(resultobj
, ((res2 
== SWIG_NEWOBJ
) ? 
16796     SWIG_From_double((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, 0))); 
16797     resultobj 
= t_output_helper(resultobj
, ((res3 
== SWIG_NEWOBJ
) ? 
16798     SWIG_From_double((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, 0))); 
16805 static PyObject 
*_wrap_DC_SetUserScale(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16806     PyObject 
*resultobj
; 
16807     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
16810     PyObject 
* obj0 
= 0 ; 
16811     PyObject 
* obj1 
= 0 ; 
16812     PyObject 
* obj2 
= 0 ; 
16813     char *kwnames
[] = { 
16814         (char *) "self",(char *) "x",(char *) "y", NULL 
 
16817     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetUserScale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
16818     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
16819     if (SWIG_arg_fail(1)) SWIG_fail
; 
16821         arg2 
= (double)(SWIG_As_double(obj1
));  
16822         if (SWIG_arg_fail(2)) SWIG_fail
; 
16825         arg3 
= (double)(SWIG_As_double(obj2
));  
16826         if (SWIG_arg_fail(3)) SWIG_fail
; 
16829         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16830         (arg1
)->SetUserScale(arg2
,arg3
); 
16832         wxPyEndAllowThreads(__tstate
); 
16833         if (PyErr_Occurred()) SWIG_fail
; 
16835     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
16842 static PyObject 
*_wrap_DC_GetLogicalScale(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16843     PyObject 
*resultobj
; 
16844     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
16845     double *arg2 
= (double *) 0 ; 
16846     double *arg3 
= (double *) 0 ; 
16851     PyObject 
* obj0 
= 0 ; 
16852     char *kwnames
[] = { 
16853         (char *) "self", NULL 
 
16856     arg2 
= &temp2
; res2 
= SWIG_NEWOBJ
; 
16857     arg3 
= &temp3
; res3 
= SWIG_NEWOBJ
; 
16858     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalScale",kwnames
,&obj0
)) goto fail
; 
16859     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
16860     if (SWIG_arg_fail(1)) SWIG_fail
; 
16862         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16863         (arg1
)->GetLogicalScale(arg2
,arg3
); 
16865         wxPyEndAllowThreads(__tstate
); 
16866         if (PyErr_Occurred()) SWIG_fail
; 
16868     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
16869     resultobj 
= t_output_helper(resultobj
, ((res2 
== SWIG_NEWOBJ
) ? 
16870     SWIG_From_double((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, 0))); 
16871     resultobj 
= t_output_helper(resultobj
, ((res3 
== SWIG_NEWOBJ
) ? 
16872     SWIG_From_double((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, 0))); 
16879 static PyObject 
*_wrap_DC_SetLogicalScale(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16880     PyObject 
*resultobj
; 
16881     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
16884     PyObject 
* obj0 
= 0 ; 
16885     PyObject 
* obj1 
= 0 ; 
16886     PyObject 
* obj2 
= 0 ; 
16887     char *kwnames
[] = { 
16888         (char *) "self",(char *) "x",(char *) "y", NULL 
 
16891     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalScale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
16892     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
16893     if (SWIG_arg_fail(1)) SWIG_fail
; 
16895         arg2 
= (double)(SWIG_As_double(obj1
));  
16896         if (SWIG_arg_fail(2)) SWIG_fail
; 
16899         arg3 
= (double)(SWIG_As_double(obj2
));  
16900         if (SWIG_arg_fail(3)) SWIG_fail
; 
16903         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16904         (arg1
)->SetLogicalScale(arg2
,arg3
); 
16906         wxPyEndAllowThreads(__tstate
); 
16907         if (PyErr_Occurred()) SWIG_fail
; 
16909     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
16916 static PyObject 
*_wrap_DC_GetLogicalOrigin(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16917     PyObject 
*resultobj
; 
16918     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
16920     PyObject 
* obj0 
= 0 ; 
16921     char *kwnames
[] = { 
16922         (char *) "self", NULL 
 
16925     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalOrigin",kwnames
,&obj0
)) goto fail
; 
16926     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
16927     if (SWIG_arg_fail(1)) SWIG_fail
; 
16929         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16930         result 
= ((wxDC 
const *)arg1
)->GetLogicalOrigin(); 
16932         wxPyEndAllowThreads(__tstate
); 
16933         if (PyErr_Occurred()) SWIG_fail
; 
16936         wxPoint 
* resultptr
; 
16937         resultptr 
= new wxPoint((wxPoint 
&)(result
)); 
16938         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1); 
16946 static PyObject 
*_wrap_DC_GetLogicalOriginTuple(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16947     PyObject 
*resultobj
; 
16948     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
16949     int *arg2 
= (int *) 0 ; 
16950     int *arg3 
= (int *) 0 ; 
16955     PyObject 
* obj0 
= 0 ; 
16956     char *kwnames
[] = { 
16957         (char *) "self", NULL 
 
16960     arg2 
= &temp2
; res2 
= SWIG_NEWOBJ
; 
16961     arg3 
= &temp3
; res3 
= SWIG_NEWOBJ
; 
16962     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalOriginTuple",kwnames
,&obj0
)) goto fail
; 
16963     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
16964     if (SWIG_arg_fail(1)) SWIG_fail
; 
16966         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16967         ((wxDC 
const *)arg1
)->GetLogicalOrigin(arg2
,arg3
); 
16969         wxPyEndAllowThreads(__tstate
); 
16970         if (PyErr_Occurred()) SWIG_fail
; 
16972     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
16973     resultobj 
= t_output_helper(resultobj
, ((res2 
== SWIG_NEWOBJ
) ? 
16974     SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0))); 
16975     resultobj 
= t_output_helper(resultobj
, ((res3 
== SWIG_NEWOBJ
) ? 
16976     SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0))); 
16983 static PyObject 
*_wrap_DC_SetLogicalOrigin(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
16984     PyObject 
*resultobj
; 
16985     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
16988     PyObject 
* obj0 
= 0 ; 
16989     PyObject 
* obj1 
= 0 ; 
16990     PyObject 
* obj2 
= 0 ; 
16991     char *kwnames
[] = { 
16992         (char *) "self",(char *) "x",(char *) "y", NULL 
 
16995     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
16996     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
16997     if (SWIG_arg_fail(1)) SWIG_fail
; 
16999         arg2 
= (int)(SWIG_As_int(obj1
));  
17000         if (SWIG_arg_fail(2)) SWIG_fail
; 
17003         arg3 
= (int)(SWIG_As_int(obj2
));  
17004         if (SWIG_arg_fail(3)) SWIG_fail
; 
17007         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17008         (arg1
)->SetLogicalOrigin(arg2
,arg3
); 
17010         wxPyEndAllowThreads(__tstate
); 
17011         if (PyErr_Occurred()) SWIG_fail
; 
17013     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
17020 static PyObject 
*_wrap_DC_SetLogicalOriginPoint(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
17021     PyObject 
*resultobj
; 
17022     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
17023     wxPoint 
*arg2 
= 0 ; 
17025     PyObject 
* obj0 
= 0 ; 
17026     PyObject 
* obj1 
= 0 ; 
17027     char *kwnames
[] = { 
17028         (char *) "self",(char *) "point", NULL 
 
17031     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalOriginPoint",kwnames
,&obj0
,&obj1
)) goto fail
; 
17032     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
17033     if (SWIG_arg_fail(1)) SWIG_fail
; 
17036         if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
17039         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17040         wxDC_SetLogicalOriginPoint(arg1
,(wxPoint 
const &)*arg2
); 
17042         wxPyEndAllowThreads(__tstate
); 
17043         if (PyErr_Occurred()) SWIG_fail
; 
17045     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
17052 static PyObject 
*_wrap_DC_GetDeviceOrigin(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
17053     PyObject 
*resultobj
; 
17054     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
17056     PyObject 
* obj0 
= 0 ; 
17057     char *kwnames
[] = { 
17058         (char *) "self", NULL 
 
17061     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetDeviceOrigin",kwnames
,&obj0
)) goto fail
; 
17062     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
17063     if (SWIG_arg_fail(1)) SWIG_fail
; 
17065         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17066         result 
= ((wxDC 
const *)arg1
)->GetDeviceOrigin(); 
17068         wxPyEndAllowThreads(__tstate
); 
17069         if (PyErr_Occurred()) SWIG_fail
; 
17072         wxPoint 
* resultptr
; 
17073         resultptr 
= new wxPoint((wxPoint 
&)(result
)); 
17074         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1); 
17082 static PyObject 
*_wrap_DC_GetDeviceOriginTuple(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
17083     PyObject 
*resultobj
; 
17084     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
17085     int *arg2 
= (int *) 0 ; 
17086     int *arg3 
= (int *) 0 ; 
17091     PyObject 
* obj0 
= 0 ; 
17092     char *kwnames
[] = { 
17093         (char *) "self", NULL 
 
17096     arg2 
= &temp2
; res2 
= SWIG_NEWOBJ
; 
17097     arg3 
= &temp3
; res3 
= SWIG_NEWOBJ
; 
17098     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetDeviceOriginTuple",kwnames
,&obj0
)) goto fail
; 
17099     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
17100     if (SWIG_arg_fail(1)) SWIG_fail
; 
17102         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17103         ((wxDC 
const *)arg1
)->GetDeviceOrigin(arg2
,arg3
); 
17105         wxPyEndAllowThreads(__tstate
); 
17106         if (PyErr_Occurred()) SWIG_fail
; 
17108     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
17109     resultobj 
= t_output_helper(resultobj
, ((res2 
== SWIG_NEWOBJ
) ? 
17110     SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0))); 
17111     resultobj 
= t_output_helper(resultobj
, ((res3 
== SWIG_NEWOBJ
) ? 
17112     SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0))); 
17119 static PyObject 
*_wrap_DC_SetDeviceOrigin(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
17120     PyObject 
*resultobj
; 
17121     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
17124     PyObject 
* obj0 
= 0 ; 
17125     PyObject 
* obj1 
= 0 ; 
17126     PyObject 
* obj2 
= 0 ; 
17127     char *kwnames
[] = { 
17128         (char *) "self",(char *) "x",(char *) "y", NULL 
 
17131     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetDeviceOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
17132     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
17133     if (SWIG_arg_fail(1)) SWIG_fail
; 
17135         arg2 
= (int)(SWIG_As_int(obj1
));  
17136         if (SWIG_arg_fail(2)) SWIG_fail
; 
17139         arg3 
= (int)(SWIG_As_int(obj2
));  
17140         if (SWIG_arg_fail(3)) SWIG_fail
; 
17143         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17144         (arg1
)->SetDeviceOrigin(arg2
,arg3
); 
17146         wxPyEndAllowThreads(__tstate
); 
17147         if (PyErr_Occurred()) SWIG_fail
; 
17149     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
17156 static PyObject 
*_wrap_DC_SetDeviceOriginPoint(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
17157     PyObject 
*resultobj
; 
17158     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
17159     wxPoint 
*arg2 
= 0 ; 
17161     PyObject 
* obj0 
= 0 ; 
17162     PyObject 
* obj1 
= 0 ; 
17163     char *kwnames
[] = { 
17164         (char *) "self",(char *) "point", NULL 
 
17167     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetDeviceOriginPoint",kwnames
,&obj0
,&obj1
)) goto fail
; 
17168     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
17169     if (SWIG_arg_fail(1)) SWIG_fail
; 
17172         if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
17175         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17176         wxDC_SetDeviceOriginPoint(arg1
,(wxPoint 
const &)*arg2
); 
17178         wxPyEndAllowThreads(__tstate
); 
17179         if (PyErr_Occurred()) SWIG_fail
; 
17181     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
17188 static PyObject 
*_wrap_DC_SetAxisOrientation(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
17189     PyObject 
*resultobj
; 
17190     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
17193     PyObject 
* obj0 
= 0 ; 
17194     PyObject 
* obj1 
= 0 ; 
17195     PyObject 
* obj2 
= 0 ; 
17196     char *kwnames
[] = { 
17197         (char *) "self",(char *) "xLeftRight",(char *) "yBottomUp", NULL 
 
17200     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetAxisOrientation",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
17201     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
17202     if (SWIG_arg_fail(1)) SWIG_fail
; 
17204         arg2 
= (bool)(SWIG_As_bool(obj1
));  
17205         if (SWIG_arg_fail(2)) SWIG_fail
; 
17208         arg3 
= (bool)(SWIG_As_bool(obj2
));  
17209         if (SWIG_arg_fail(3)) SWIG_fail
; 
17212         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17213         (arg1
)->SetAxisOrientation(arg2
,arg3
); 
17215         wxPyEndAllowThreads(__tstate
); 
17216         if (PyErr_Occurred()) SWIG_fail
; 
17218     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
17225 static PyObject 
*_wrap_DC_GetLogicalFunction(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
17226     PyObject 
*resultobj
; 
17227     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
17229     PyObject 
* obj0 
= 0 ; 
17230     char *kwnames
[] = { 
17231         (char *) "self", NULL 
 
17234     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalFunction",kwnames
,&obj0
)) goto fail
; 
17235     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
17236     if (SWIG_arg_fail(1)) SWIG_fail
; 
17238         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17239         result 
= (int)((wxDC 
const *)arg1
)->GetLogicalFunction(); 
17241         wxPyEndAllowThreads(__tstate
); 
17242         if (PyErr_Occurred()) SWIG_fail
; 
17245         resultobj 
= SWIG_From_int((int)(result
));  
17253 static PyObject 
*_wrap_DC_SetLogicalFunction(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
17254     PyObject 
*resultobj
; 
17255     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
17257     PyObject 
* obj0 
= 0 ; 
17258     PyObject 
* obj1 
= 0 ; 
17259     char *kwnames
[] = { 
17260         (char *) "self",(char *) "function", NULL 
 
17263     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) goto fail
; 
17264     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
17265     if (SWIG_arg_fail(1)) SWIG_fail
; 
17267         arg2 
= (int)(SWIG_As_int(obj1
));  
17268         if (SWIG_arg_fail(2)) SWIG_fail
; 
17271         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17272         (arg1
)->SetLogicalFunction(arg2
); 
17274         wxPyEndAllowThreads(__tstate
); 
17275         if (PyErr_Occurred()) SWIG_fail
; 
17277     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
17284 static PyObject 
*_wrap_DC_ComputeScaleAndOrigin(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
17285     PyObject 
*resultobj
; 
17286     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
17287     PyObject 
* obj0 
= 0 ; 
17288     char *kwnames
[] = { 
17289         (char *) "self", NULL 
 
17292     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_ComputeScaleAndOrigin",kwnames
,&obj0
)) goto fail
; 
17293     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
17294     if (SWIG_arg_fail(1)) SWIG_fail
; 
17296         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17297         (arg1
)->ComputeScaleAndOrigin(); 
17299         wxPyEndAllowThreads(__tstate
); 
17300         if (PyErr_Occurred()) SWIG_fail
; 
17302     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
17309 static PyObject 
*_wrap_DC_CalcBoundingBox(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
17310     PyObject 
*resultobj
; 
17311     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
17314     PyObject 
* obj0 
= 0 ; 
17315     PyObject 
* obj1 
= 0 ; 
17316     PyObject 
* obj2 
= 0 ; 
17317     char *kwnames
[] = { 
17318         (char *) "self",(char *) "x",(char *) "y", NULL 
 
17321     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CalcBoundingBox",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
17322     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
17323     if (SWIG_arg_fail(1)) SWIG_fail
; 
17325         arg2 
= (int)(SWIG_As_int(obj1
));  
17326         if (SWIG_arg_fail(2)) SWIG_fail
; 
17329         arg3 
= (int)(SWIG_As_int(obj2
));  
17330         if (SWIG_arg_fail(3)) SWIG_fail
; 
17333         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17334         (arg1
)->CalcBoundingBox(arg2
,arg3
); 
17336         wxPyEndAllowThreads(__tstate
); 
17337         if (PyErr_Occurred()) SWIG_fail
; 
17339     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
17346 static PyObject 
*_wrap_DC_CalcBoundingBoxPoint(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
17347     PyObject 
*resultobj
; 
17348     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
17349     wxPoint 
*arg2 
= 0 ; 
17351     PyObject 
* obj0 
= 0 ; 
17352     PyObject 
* obj1 
= 0 ; 
17353     char *kwnames
[] = { 
17354         (char *) "self",(char *) "point", NULL 
 
17357     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CalcBoundingBoxPoint",kwnames
,&obj0
,&obj1
)) goto fail
; 
17358     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
17359     if (SWIG_arg_fail(1)) SWIG_fail
; 
17362         if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
17365         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17366         wxDC_CalcBoundingBoxPoint(arg1
,(wxPoint 
const &)*arg2
); 
17368         wxPyEndAllowThreads(__tstate
); 
17369         if (PyErr_Occurred()) SWIG_fail
; 
17371     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
17378 static PyObject 
*_wrap_DC_ResetBoundingBox(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
17379     PyObject 
*resultobj
; 
17380     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
17381     PyObject 
* obj0 
= 0 ; 
17382     char *kwnames
[] = { 
17383         (char *) "self", NULL 
 
17386     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_ResetBoundingBox",kwnames
,&obj0
)) goto fail
; 
17387     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
17388     if (SWIG_arg_fail(1)) SWIG_fail
; 
17390         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17391         (arg1
)->ResetBoundingBox(); 
17393         wxPyEndAllowThreads(__tstate
); 
17394         if (PyErr_Occurred()) SWIG_fail
; 
17396     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
17403 static PyObject 
*_wrap_DC_MinX(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
17404     PyObject 
*resultobj
; 
17405     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
17407     PyObject 
* obj0 
= 0 ; 
17408     char *kwnames
[] = { 
17409         (char *) "self", NULL 
 
17412     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MinX",kwnames
,&obj0
)) goto fail
; 
17413     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
17414     if (SWIG_arg_fail(1)) SWIG_fail
; 
17416         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17417         result 
= (int)((wxDC 
const *)arg1
)->MinX(); 
17419         wxPyEndAllowThreads(__tstate
); 
17420         if (PyErr_Occurred()) SWIG_fail
; 
17423         resultobj 
= SWIG_From_int((int)(result
));  
17431 static PyObject 
*_wrap_DC_MaxX(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
17432     PyObject 
*resultobj
; 
17433     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
17435     PyObject 
* obj0 
= 0 ; 
17436     char *kwnames
[] = { 
17437         (char *) "self", NULL 
 
17440     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MaxX",kwnames
,&obj0
)) goto fail
; 
17441     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
17442     if (SWIG_arg_fail(1)) SWIG_fail
; 
17444         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17445         result 
= (int)((wxDC 
const *)arg1
)->MaxX(); 
17447         wxPyEndAllowThreads(__tstate
); 
17448         if (PyErr_Occurred()) SWIG_fail
; 
17451         resultobj 
= SWIG_From_int((int)(result
));  
17459 static PyObject 
*_wrap_DC_MinY(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
17460     PyObject 
*resultobj
; 
17461     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
17463     PyObject 
* obj0 
= 0 ; 
17464     char *kwnames
[] = { 
17465         (char *) "self", NULL 
 
17468     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MinY",kwnames
,&obj0
)) goto fail
; 
17469     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
17470     if (SWIG_arg_fail(1)) SWIG_fail
; 
17472         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17473         result 
= (int)((wxDC 
const *)arg1
)->MinY(); 
17475         wxPyEndAllowThreads(__tstate
); 
17476         if (PyErr_Occurred()) SWIG_fail
; 
17479         resultobj 
= SWIG_From_int((int)(result
));  
17487 static PyObject 
*_wrap_DC_MaxY(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
17488     PyObject 
*resultobj
; 
17489     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
17491     PyObject 
* obj0 
= 0 ; 
17492     char *kwnames
[] = { 
17493         (char *) "self", NULL 
 
17496     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MaxY",kwnames
,&obj0
)) goto fail
; 
17497     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
17498     if (SWIG_arg_fail(1)) SWIG_fail
; 
17500         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17501         result 
= (int)((wxDC 
const *)arg1
)->MaxY(); 
17503         wxPyEndAllowThreads(__tstate
); 
17504         if (PyErr_Occurred()) SWIG_fail
; 
17507         resultobj 
= SWIG_From_int((int)(result
));  
17515 static PyObject 
*_wrap_DC_GetBoundingBox(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
17516     PyObject 
*resultobj
; 
17517     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
17518     int *arg2 
= (int *) 0 ; 
17519     int *arg3 
= (int *) 0 ; 
17520     int *arg4 
= (int *) 0 ; 
17521     int *arg5 
= (int *) 0 ; 
17530     PyObject 
* obj0 
= 0 ; 
17531     char *kwnames
[] = { 
17532         (char *) "self", NULL 
 
17535     arg2 
= &temp2
; res2 
= SWIG_NEWOBJ
; 
17536     arg3 
= &temp3
; res3 
= SWIG_NEWOBJ
; 
17537     arg4 
= &temp4
; res4 
= SWIG_NEWOBJ
; 
17538     arg5 
= &temp5
; res5 
= SWIG_NEWOBJ
; 
17539     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBoundingBox",kwnames
,&obj0
)) goto fail
; 
17540     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
17541     if (SWIG_arg_fail(1)) SWIG_fail
; 
17543         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17544         wxDC_GetBoundingBox(arg1
,arg2
,arg3
,arg4
,arg5
); 
17546         wxPyEndAllowThreads(__tstate
); 
17547         if (PyErr_Occurred()) SWIG_fail
; 
17549     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
17550     resultobj 
= t_output_helper(resultobj
, ((res2 
== SWIG_NEWOBJ
) ? 
17551     SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0))); 
17552     resultobj 
= t_output_helper(resultobj
, ((res3 
== SWIG_NEWOBJ
) ? 
17553     SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0))); 
17554     resultobj 
= t_output_helper(resultobj
, ((res4 
== SWIG_NEWOBJ
) ? 
17555     SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0))); 
17556     resultobj 
= t_output_helper(resultobj
, ((res5 
== SWIG_NEWOBJ
) ? 
17557     SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0))); 
17564 static PyObject 
*_wrap_DC_GetHDC(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
17565     PyObject 
*resultobj
; 
17566     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
17568     PyObject 
* obj0 
= 0 ; 
17569     char *kwnames
[] = { 
17570         (char *) "self", NULL 
 
17573     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetHDC",kwnames
,&obj0
)) goto fail
; 
17574     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
17575     if (SWIG_arg_fail(1)) SWIG_fail
; 
17577         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17578         result 
= (long)(arg1
)->GetHDC(); 
17580         wxPyEndAllowThreads(__tstate
); 
17581         if (PyErr_Occurred()) SWIG_fail
; 
17584         resultobj 
= SWIG_From_long((long)(result
));  
17592 static PyObject 
*_wrap_DC__DrawPointList(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
17593     PyObject 
*resultobj
; 
17594     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
17595     PyObject 
*arg2 
= (PyObject 
*) 0 ; 
17596     PyObject 
*arg3 
= (PyObject 
*) 0 ; 
17597     PyObject 
*arg4 
= (PyObject 
*) 0 ; 
17599     PyObject 
* obj0 
= 0 ; 
17600     PyObject 
* obj1 
= 0 ; 
17601     PyObject 
* obj2 
= 0 ; 
17602     PyObject 
* obj3 
= 0 ; 
17603     char *kwnames
[] = { 
17604         (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL 
 
17607     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPointList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
17608     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
17609     if (SWIG_arg_fail(1)) SWIG_fail
; 
17614         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17615         result 
= (PyObject 
*)wxDC__DrawPointList(arg1
,arg2
,arg3
,arg4
); 
17617         wxPyEndAllowThreads(__tstate
); 
17618         if (PyErr_Occurred()) SWIG_fail
; 
17620     resultobj 
= result
; 
17627 static PyObject 
*_wrap_DC__DrawLineList(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
17628     PyObject 
*resultobj
; 
17629     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
17630     PyObject 
*arg2 
= (PyObject 
*) 0 ; 
17631     PyObject 
*arg3 
= (PyObject 
*) 0 ; 
17632     PyObject 
*arg4 
= (PyObject 
*) 0 ; 
17634     PyObject 
* obj0 
= 0 ; 
17635     PyObject 
* obj1 
= 0 ; 
17636     PyObject 
* obj2 
= 0 ; 
17637     PyObject 
* obj3 
= 0 ; 
17638     char *kwnames
[] = { 
17639         (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL 
 
17642     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawLineList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
17643     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
17644     if (SWIG_arg_fail(1)) SWIG_fail
; 
17649         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17650         result 
= (PyObject 
*)wxDC__DrawLineList(arg1
,arg2
,arg3
,arg4
); 
17652         wxPyEndAllowThreads(__tstate
); 
17653         if (PyErr_Occurred()) SWIG_fail
; 
17655     resultobj 
= result
; 
17662 static PyObject 
*_wrap_DC__DrawRectangleList(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
17663     PyObject 
*resultobj
; 
17664     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
17665     PyObject 
*arg2 
= (PyObject 
*) 0 ; 
17666     PyObject 
*arg3 
= (PyObject 
*) 0 ; 
17667     PyObject 
*arg4 
= (PyObject 
*) 0 ; 
17669     PyObject 
* obj0 
= 0 ; 
17670     PyObject 
* obj1 
= 0 ; 
17671     PyObject 
* obj2 
= 0 ; 
17672     PyObject 
* obj3 
= 0 ; 
17673     char *kwnames
[] = { 
17674         (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL 
 
17677     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawRectangleList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
17678     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
17679     if (SWIG_arg_fail(1)) SWIG_fail
; 
17684         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17685         result 
= (PyObject 
*)wxDC__DrawRectangleList(arg1
,arg2
,arg3
,arg4
); 
17687         wxPyEndAllowThreads(__tstate
); 
17688         if (PyErr_Occurred()) SWIG_fail
; 
17690     resultobj 
= result
; 
17697 static PyObject 
*_wrap_DC__DrawEllipseList(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
17698     PyObject 
*resultobj
; 
17699     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
17700     PyObject 
*arg2 
= (PyObject 
*) 0 ; 
17701     PyObject 
*arg3 
= (PyObject 
*) 0 ; 
17702     PyObject 
*arg4 
= (PyObject 
*) 0 ; 
17704     PyObject 
* obj0 
= 0 ; 
17705     PyObject 
* obj1 
= 0 ; 
17706     PyObject 
* obj2 
= 0 ; 
17707     PyObject 
* obj3 
= 0 ; 
17708     char *kwnames
[] = { 
17709         (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL 
 
17712     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawEllipseList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
17713     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
17714     if (SWIG_arg_fail(1)) SWIG_fail
; 
17719         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17720         result 
= (PyObject 
*)wxDC__DrawEllipseList(arg1
,arg2
,arg3
,arg4
); 
17722         wxPyEndAllowThreads(__tstate
); 
17723         if (PyErr_Occurred()) SWIG_fail
; 
17725     resultobj 
= result
; 
17732 static PyObject 
*_wrap_DC__DrawPolygonList(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
17733     PyObject 
*resultobj
; 
17734     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
17735     PyObject 
*arg2 
= (PyObject 
*) 0 ; 
17736     PyObject 
*arg3 
= (PyObject 
*) 0 ; 
17737     PyObject 
*arg4 
= (PyObject 
*) 0 ; 
17739     PyObject 
* obj0 
= 0 ; 
17740     PyObject 
* obj1 
= 0 ; 
17741     PyObject 
* obj2 
= 0 ; 
17742     PyObject 
* obj3 
= 0 ; 
17743     char *kwnames
[] = { 
17744         (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL 
 
17747     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPolygonList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
17748     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
17749     if (SWIG_arg_fail(1)) SWIG_fail
; 
17754         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17755         result 
= (PyObject 
*)wxDC__DrawPolygonList(arg1
,arg2
,arg3
,arg4
); 
17757         wxPyEndAllowThreads(__tstate
); 
17758         if (PyErr_Occurred()) SWIG_fail
; 
17760     resultobj 
= result
; 
17767 static PyObject 
*_wrap_DC__DrawTextList(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
17768     PyObject 
*resultobj
; 
17769     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
17770     PyObject 
*arg2 
= (PyObject 
*) 0 ; 
17771     PyObject 
*arg3 
= (PyObject 
*) 0 ; 
17772     PyObject 
*arg4 
= (PyObject 
*) 0 ; 
17773     PyObject 
*arg5 
= (PyObject 
*) 0 ; 
17775     PyObject 
* obj0 
= 0 ; 
17776     PyObject 
* obj1 
= 0 ; 
17777     PyObject 
* obj2 
= 0 ; 
17778     PyObject 
* obj3 
= 0 ; 
17779     PyObject 
* obj4 
= 0 ; 
17780     char *kwnames
[] = { 
17781         (char *) "self",(char *) "textList",(char *) "pyPoints",(char *) "foregroundList",(char *) "backgroundList", NULL 
 
17784     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC__DrawTextList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
; 
17785     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
17786     if (SWIG_arg_fail(1)) SWIG_fail
; 
17792         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17793         result 
= (PyObject 
*)wxDC__DrawTextList(arg1
,arg2
,arg3
,arg4
,arg5
); 
17795         wxPyEndAllowThreads(__tstate
); 
17796         if (PyErr_Occurred()) SWIG_fail
; 
17798     resultobj 
= result
; 
17805 static PyObject 
* DC_swigregister(PyObject 
*, PyObject 
*args
) { 
17807     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
17808     SWIG_TypeClientData(SWIGTYPE_p_wxDC
, obj
); 
17810     return Py_BuildValue((char *)""); 
17812 static PyObject 
*_wrap_new_MemoryDC(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
17813     PyObject 
*resultobj
; 
17814     wxMemoryDC 
*result
; 
17815     char *kwnames
[] = { 
17819     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MemoryDC",kwnames
)) goto fail
; 
17821         if (!wxPyCheckForApp()) SWIG_fail
; 
17822         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17823         result 
= (wxMemoryDC 
*)new wxMemoryDC(); 
17825         wxPyEndAllowThreads(__tstate
); 
17826         if (PyErr_Occurred()) SWIG_fail
; 
17828     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMemoryDC
, 1); 
17835 static PyObject 
*_wrap_new_MemoryDCFromDC(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
17836     PyObject 
*resultobj
; 
17837     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
17838     wxMemoryDC 
*result
; 
17839     PyObject 
* obj0 
= 0 ; 
17840     char *kwnames
[] = { 
17841         (char *) "oldDC", NULL 
 
17844     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_MemoryDCFromDC",kwnames
,&obj0
)) goto fail
; 
17845     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
17846     if (SWIG_arg_fail(1)) SWIG_fail
; 
17848         if (!wxPyCheckForApp()) SWIG_fail
; 
17849         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17850         result 
= (wxMemoryDC 
*)new wxMemoryDC(arg1
); 
17852         wxPyEndAllowThreads(__tstate
); 
17853         if (PyErr_Occurred()) SWIG_fail
; 
17855     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMemoryDC
, 1); 
17862 static PyObject 
*_wrap_MemoryDC_SelectObject(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
17863     PyObject 
*resultobj
; 
17864     wxMemoryDC 
*arg1 
= (wxMemoryDC 
*) 0 ; 
17865     wxBitmap 
*arg2 
= 0 ; 
17866     PyObject 
* obj0 
= 0 ; 
17867     PyObject 
* obj1 
= 0 ; 
17868     char *kwnames
[] = { 
17869         (char *) "self",(char *) "bitmap", NULL 
 
17872     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObject",kwnames
,&obj0
,&obj1
)) goto fail
; 
17873     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_EXCEPTION 
| 0); 
17874     if (SWIG_arg_fail(1)) SWIG_fail
; 
17876         SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION 
| 0); 
17877         if (SWIG_arg_fail(2)) SWIG_fail
; 
17878         if (arg2 
== NULL
) { 
17879             SWIG_null_ref("wxBitmap"); 
17881         if (SWIG_arg_fail(2)) SWIG_fail
; 
17884         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17885         (arg1
)->SelectObject((wxBitmap 
const &)*arg2
); 
17887         wxPyEndAllowThreads(__tstate
); 
17888         if (PyErr_Occurred()) SWIG_fail
; 
17890     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
17897 static PyObject 
* MemoryDC_swigregister(PyObject 
*, PyObject 
*args
) { 
17899     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
17900     SWIG_TypeClientData(SWIGTYPE_p_wxMemoryDC
, obj
); 
17902     return Py_BuildValue((char *)""); 
17904 static PyObject 
*_wrap_new_BufferedDC__SWIG_0(PyObject 
*, PyObject 
*args
) { 
17905     PyObject 
*resultobj
; 
17906     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
17907     wxBitmap 
const &arg2_defvalue 
= wxNullBitmap 
; 
17908     wxBitmap 
*arg2 
= (wxBitmap 
*) &arg2_defvalue 
; 
17909     int arg3 
= (int) wxBUFFER_CLIENT_AREA 
; 
17910     wxBufferedDC 
*result
; 
17911     PyObject 
* obj0 
= 0 ; 
17912     PyObject 
* obj1 
= 0 ; 
17913     PyObject 
* obj2 
= 0 ; 
17915     if(!PyArg_ParseTuple(args
,(char *)"O|OO:new_BufferedDC",&obj0
,&obj1
,&obj2
)) goto fail
; 
17916     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
17917     if (SWIG_arg_fail(1)) SWIG_fail
; 
17920             SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION 
| 0); 
17921             if (SWIG_arg_fail(2)) SWIG_fail
; 
17922             if (arg2 
== NULL
) { 
17923                 SWIG_null_ref("wxBitmap"); 
17925             if (SWIG_arg_fail(2)) SWIG_fail
; 
17930             arg3 
= (int)(SWIG_As_int(obj2
));  
17931             if (SWIG_arg_fail(3)) SWIG_fail
; 
17935         if (!wxPyCheckForApp()) SWIG_fail
; 
17936         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17937         result 
= (wxBufferedDC 
*)new wxBufferedDC(arg1
,(wxBitmap 
const &)*arg2
,arg3
); 
17939         wxPyEndAllowThreads(__tstate
); 
17940         if (PyErr_Occurred()) SWIG_fail
; 
17942     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBufferedDC
, 1); 
17949 static PyObject 
*_wrap_new_BufferedDC__SWIG_1(PyObject 
*, PyObject 
*args
) { 
17950     PyObject 
*resultobj
; 
17951     wxDC 
*arg1 
= (wxDC 
*) 0 ; 
17953     int arg3 
= (int) wxBUFFER_CLIENT_AREA 
; 
17954     wxBufferedDC 
*result
; 
17956     PyObject 
* obj0 
= 0 ; 
17957     PyObject 
* obj1 
= 0 ; 
17958     PyObject 
* obj2 
= 0 ; 
17960     if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_BufferedDC",&obj0
,&obj1
,&obj2
)) goto fail
; 
17961     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
17962     if (SWIG_arg_fail(1)) SWIG_fail
; 
17965         if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
; 
17969             arg3 
= (int)(SWIG_As_int(obj2
));  
17970             if (SWIG_arg_fail(3)) SWIG_fail
; 
17974         if (!wxPyCheckForApp()) SWIG_fail
; 
17975         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17976         result 
= (wxBufferedDC 
*)new wxBufferedDC(arg1
,(wxSize 
const &)*arg2
,arg3
); 
17978         wxPyEndAllowThreads(__tstate
); 
17979         if (PyErr_Occurred()) SWIG_fail
; 
17981     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBufferedDC
, 1); 
17988 static PyObject 
*_wrap_new_BufferedDC(PyObject 
*self
, PyObject 
*args
) { 
17993     argc 
= PyObject_Length(args
); 
17994     for (ii 
= 0; (ii 
< argc
) && (ii 
< 3); ii
++) { 
17995         argv
[ii
] = PyTuple_GetItem(args
,ii
); 
17997     if ((argc 
>= 1) && (argc 
<= 3)) { 
18001             if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDC
, 0) == -1) { 
18010                 return _wrap_new_BufferedDC__SWIG_0(self
,args
); 
18014                 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxBitmap
, 0) == -1) { 
18023                     return _wrap_new_BufferedDC__SWIG_0(self
,args
); 
18025                 _v 
= SWIG_Check_int(argv
[2]); 
18027                     return _wrap_new_BufferedDC__SWIG_0(self
,args
); 
18032     if ((argc 
>= 2) && (argc 
<= 3)) { 
18036             if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDC
, 0) == -1) { 
18045                 _v 
= wxPySimple_typecheck(argv
[1], wxT("wxSize"), 2); 
18049                     return _wrap_new_BufferedDC__SWIG_1(self
,args
); 
18051                 _v 
= SWIG_Check_int(argv
[2]); 
18053                     return _wrap_new_BufferedDC__SWIG_1(self
,args
); 
18059     PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'new_BufferedDC'"); 
18064 static PyObject 
*_wrap_delete_BufferedDC(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
18065     PyObject 
*resultobj
; 
18066     wxBufferedDC 
*arg1 
= (wxBufferedDC 
*) 0 ; 
18067     PyObject 
* obj0 
= 0 ; 
18068     char *kwnames
[] = { 
18069         (char *) "self", NULL 
 
18072     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BufferedDC",kwnames
,&obj0
)) goto fail
; 
18073     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_EXCEPTION 
| 0); 
18074     if (SWIG_arg_fail(1)) SWIG_fail
; 
18076         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18079         wxPyEndAllowThreads(__tstate
); 
18080         if (PyErr_Occurred()) SWIG_fail
; 
18082     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
18089 static PyObject 
*_wrap_BufferedDC_UnMask(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
18090     PyObject 
*resultobj
; 
18091     wxBufferedDC 
*arg1 
= (wxBufferedDC 
*) 0 ; 
18092     PyObject 
* obj0 
= 0 ; 
18093     char *kwnames
[] = { 
18094         (char *) "self", NULL 
 
18097     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BufferedDC_UnMask",kwnames
,&obj0
)) goto fail
; 
18098     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_EXCEPTION 
| 0); 
18099     if (SWIG_arg_fail(1)) SWIG_fail
; 
18101         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18104         wxPyEndAllowThreads(__tstate
); 
18105         if (PyErr_Occurred()) SWIG_fail
; 
18107     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
18114 static PyObject 
* BufferedDC_swigregister(PyObject 
*, PyObject 
*args
) { 
18116     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
18117     SWIG_TypeClientData(SWIGTYPE_p_wxBufferedDC
, obj
); 
18119     return Py_BuildValue((char *)""); 
18121 static PyObject 
*_wrap_new_BufferedPaintDC(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
18122     PyObject 
*resultobj
; 
18123     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
18124     wxBitmap 
const &arg2_defvalue 
= wxNullBitmap 
; 
18125     wxBitmap 
*arg2 
= (wxBitmap 
*) &arg2_defvalue 
; 
18126     int arg3 
= (int) wxBUFFER_CLIENT_AREA 
; 
18127     wxBufferedPaintDC 
*result
; 
18128     PyObject 
* obj0 
= 0 ; 
18129     PyObject 
* obj1 
= 0 ; 
18130     PyObject 
* obj2 
= 0 ; 
18131     char *kwnames
[] = { 
18132         (char *) "window",(char *) "buffer",(char *) "style", NULL 
 
18135     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_BufferedPaintDC",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
18136     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
18137     if (SWIG_arg_fail(1)) SWIG_fail
; 
18140             SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION 
| 0); 
18141             if (SWIG_arg_fail(2)) SWIG_fail
; 
18142             if (arg2 
== NULL
) { 
18143                 SWIG_null_ref("wxBitmap"); 
18145             if (SWIG_arg_fail(2)) SWIG_fail
; 
18150             arg3 
= (int)(SWIG_As_int(obj2
));  
18151             if (SWIG_arg_fail(3)) SWIG_fail
; 
18155         if (!wxPyCheckForApp()) SWIG_fail
; 
18156         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18157         result 
= (wxBufferedPaintDC 
*)new wxBufferedPaintDC(arg1
,(wxBitmap 
const &)*arg2
,arg3
); 
18159         wxPyEndAllowThreads(__tstate
); 
18160         if (PyErr_Occurred()) SWIG_fail
; 
18162     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBufferedPaintDC
, 1); 
18169 static PyObject 
* BufferedPaintDC_swigregister(PyObject 
*, PyObject 
*args
) { 
18171     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
18172     SWIG_TypeClientData(SWIGTYPE_p_wxBufferedPaintDC
, obj
); 
18174     return Py_BuildValue((char *)""); 
18176 static PyObject 
*_wrap_new_ScreenDC(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
18177     PyObject 
*resultobj
; 
18178     wxScreenDC 
*result
; 
18179     char *kwnames
[] = { 
18183     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ScreenDC",kwnames
)) goto fail
; 
18185         if (!wxPyCheckForApp()) SWIG_fail
; 
18186         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18187         result 
= (wxScreenDC 
*)new wxScreenDC(); 
18189         wxPyEndAllowThreads(__tstate
); 
18190         if (PyErr_Occurred()) SWIG_fail
; 
18192     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScreenDC
, 1); 
18199 static PyObject 
*_wrap_ScreenDC_StartDrawingOnTopWin(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
18200     PyObject 
*resultobj
; 
18201     wxScreenDC 
*arg1 
= (wxScreenDC 
*) 0 ; 
18202     wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
18204     PyObject 
* obj0 
= 0 ; 
18205     PyObject 
* obj1 
= 0 ; 
18206     char *kwnames
[] = { 
18207         (char *) "self",(char *) "window", NULL 
 
18210     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScreenDC_StartDrawingOnTopWin",kwnames
,&obj0
,&obj1
)) goto fail
; 
18211     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScreenDC
, SWIG_POINTER_EXCEPTION 
| 0); 
18212     if (SWIG_arg_fail(1)) SWIG_fail
; 
18213     SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
18214     if (SWIG_arg_fail(2)) SWIG_fail
; 
18216         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18217         result 
= (bool)(arg1
)->StartDrawingOnTop(arg2
); 
18219         wxPyEndAllowThreads(__tstate
); 
18220         if (PyErr_Occurred()) SWIG_fail
; 
18223         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
18231 static PyObject 
*_wrap_ScreenDC_StartDrawingOnTop(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
18232     PyObject 
*resultobj
; 
18233     wxScreenDC 
*arg1 
= (wxScreenDC 
*) 0 ; 
18234     wxRect 
*arg2 
= (wxRect 
*) NULL 
; 
18236     PyObject 
* obj0 
= 0 ; 
18237     PyObject 
* obj1 
= 0 ; 
18238     char *kwnames
[] = { 
18239         (char *) "self",(char *) "rect", NULL 
 
18242     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ScreenDC_StartDrawingOnTop",kwnames
,&obj0
,&obj1
)) goto fail
; 
18243     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScreenDC
, SWIG_POINTER_EXCEPTION 
| 0); 
18244     if (SWIG_arg_fail(1)) SWIG_fail
; 
18246         SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION 
| 0); 
18247         if (SWIG_arg_fail(2)) SWIG_fail
; 
18250         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18251         result 
= (bool)(arg1
)->StartDrawingOnTop(arg2
); 
18253         wxPyEndAllowThreads(__tstate
); 
18254         if (PyErr_Occurred()) SWIG_fail
; 
18257         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
18265 static PyObject 
*_wrap_ScreenDC_EndDrawingOnTop(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
18266     PyObject 
*resultobj
; 
18267     wxScreenDC 
*arg1 
= (wxScreenDC 
*) 0 ; 
18269     PyObject 
* obj0 
= 0 ; 
18270     char *kwnames
[] = { 
18271         (char *) "self", NULL 
 
18274     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScreenDC_EndDrawingOnTop",kwnames
,&obj0
)) goto fail
; 
18275     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScreenDC
, SWIG_POINTER_EXCEPTION 
| 0); 
18276     if (SWIG_arg_fail(1)) SWIG_fail
; 
18278         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18279         result 
= (bool)(arg1
)->EndDrawingOnTop(); 
18281         wxPyEndAllowThreads(__tstate
); 
18282         if (PyErr_Occurred()) SWIG_fail
; 
18285         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
18293 static PyObject 
* ScreenDC_swigregister(PyObject 
*, PyObject 
*args
) { 
18295     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
18296     SWIG_TypeClientData(SWIGTYPE_p_wxScreenDC
, obj
); 
18298     return Py_BuildValue((char *)""); 
18300 static PyObject 
*_wrap_new_ClientDC(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
18301     PyObject 
*resultobj
; 
18302     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
18303     wxClientDC 
*result
; 
18304     PyObject 
* obj0 
= 0 ; 
18305     char *kwnames
[] = { 
18306         (char *) "win", NULL 
 
18309     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ClientDC",kwnames
,&obj0
)) goto fail
; 
18310     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
18311     if (SWIG_arg_fail(1)) SWIG_fail
; 
18313         if (!wxPyCheckForApp()) SWIG_fail
; 
18314         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18315         result 
= (wxClientDC 
*)new wxClientDC(arg1
); 
18317         wxPyEndAllowThreads(__tstate
); 
18318         if (PyErr_Occurred()) SWIG_fail
; 
18320     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClientDC
, 1); 
18327 static PyObject 
* ClientDC_swigregister(PyObject 
*, PyObject 
*args
) { 
18329     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
18330     SWIG_TypeClientData(SWIGTYPE_p_wxClientDC
, obj
); 
18332     return Py_BuildValue((char *)""); 
18334 static PyObject 
*_wrap_new_PaintDC(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
18335     PyObject 
*resultobj
; 
18336     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
18338     PyObject 
* obj0 
= 0 ; 
18339     char *kwnames
[] = { 
18340         (char *) "win", NULL 
 
18343     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PaintDC",kwnames
,&obj0
)) goto fail
; 
18344     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
18345     if (SWIG_arg_fail(1)) SWIG_fail
; 
18347         if (!wxPyCheckForApp()) SWIG_fail
; 
18348         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18349         result 
= (wxPaintDC 
*)new wxPaintDC(arg1
); 
18351         wxPyEndAllowThreads(__tstate
); 
18352         if (PyErr_Occurred()) SWIG_fail
; 
18354     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaintDC
, 1); 
18361 static PyObject 
* PaintDC_swigregister(PyObject 
*, PyObject 
*args
) { 
18363     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
18364     SWIG_TypeClientData(SWIGTYPE_p_wxPaintDC
, obj
); 
18366     return Py_BuildValue((char *)""); 
18368 static PyObject 
*_wrap_new_WindowDC(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
18369     PyObject 
*resultobj
; 
18370     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
18371     wxWindowDC 
*result
; 
18372     PyObject 
* obj0 
= 0 ; 
18373     char *kwnames
[] = { 
18374         (char *) "win", NULL 
 
18377     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_WindowDC",kwnames
,&obj0
)) goto fail
; 
18378     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION 
| 0); 
18379     if (SWIG_arg_fail(1)) SWIG_fail
; 
18381         if (!wxPyCheckForApp()) SWIG_fail
; 
18382         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18383         result 
= (wxWindowDC 
*)new wxWindowDC(arg1
); 
18385         wxPyEndAllowThreads(__tstate
); 
18386         if (PyErr_Occurred()) SWIG_fail
; 
18388     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDC
, 1); 
18395 static PyObject 
* WindowDC_swigregister(PyObject 
*, PyObject 
*args
) { 
18397     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
18398     SWIG_TypeClientData(SWIGTYPE_p_wxWindowDC
, obj
); 
18400     return Py_BuildValue((char *)""); 
18402 static PyObject 
*_wrap_new_MirrorDC(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
18403     PyObject 
*resultobj
; 
18406     wxMirrorDC 
*result
; 
18407     PyObject 
* obj0 
= 0 ; 
18408     PyObject 
* obj1 
= 0 ; 
18409     char *kwnames
[] = { 
18410         (char *) "dc",(char *) "mirror", NULL 
 
18413     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_MirrorDC",kwnames
,&obj0
,&obj1
)) goto fail
; 
18415         SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
18416         if (SWIG_arg_fail(1)) SWIG_fail
; 
18417         if (arg1 
== NULL
) { 
18418             SWIG_null_ref("wxDC"); 
18420         if (SWIG_arg_fail(1)) SWIG_fail
; 
18423         arg2 
= (bool)(SWIG_As_bool(obj1
));  
18424         if (SWIG_arg_fail(2)) SWIG_fail
; 
18427         if (!wxPyCheckForApp()) SWIG_fail
; 
18428         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18429         result 
= (wxMirrorDC 
*)new wxMirrorDC(*arg1
,arg2
); 
18431         wxPyEndAllowThreads(__tstate
); 
18432         if (PyErr_Occurred()) SWIG_fail
; 
18434     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMirrorDC
, 1); 
18441 static PyObject 
* MirrorDC_swigregister(PyObject 
*, PyObject 
*args
) { 
18443     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
18444     SWIG_TypeClientData(SWIGTYPE_p_wxMirrorDC
, obj
); 
18446     return Py_BuildValue((char *)""); 
18448 static PyObject 
*_wrap_new_PostScriptDC(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
18449     PyObject 
*resultobj
; 
18450     wxPrintData 
*arg1 
= 0 ; 
18451     wxPostScriptDC 
*result
; 
18452     PyObject 
* obj0 
= 0 ; 
18453     char *kwnames
[] = { 
18454         (char *) "printData", NULL 
 
18457     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PostScriptDC",kwnames
,&obj0
)) goto fail
; 
18459         SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION 
| 0); 
18460         if (SWIG_arg_fail(1)) SWIG_fail
; 
18461         if (arg1 
== NULL
) { 
18462             SWIG_null_ref("wxPrintData"); 
18464         if (SWIG_arg_fail(1)) SWIG_fail
; 
18467         if (!wxPyCheckForApp()) SWIG_fail
; 
18468         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18469         result 
= (wxPostScriptDC 
*)new wxPostScriptDC((wxPrintData 
const &)*arg1
); 
18471         wxPyEndAllowThreads(__tstate
); 
18472         if (PyErr_Occurred()) SWIG_fail
; 
18474     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPostScriptDC
, 1); 
18481 static PyObject 
*_wrap_PostScriptDC_GetPrintData(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
18482     PyObject 
*resultobj
; 
18483     wxPostScriptDC 
*arg1 
= (wxPostScriptDC 
*) 0 ; 
18484     wxPrintData 
*result
; 
18485     PyObject 
* obj0 
= 0 ; 
18486     char *kwnames
[] = { 
18487         (char *) "self", NULL 
 
18490     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_GetPrintData",kwnames
,&obj0
)) goto fail
; 
18491     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPostScriptDC
, SWIG_POINTER_EXCEPTION 
| 0); 
18492     if (SWIG_arg_fail(1)) SWIG_fail
; 
18494         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18496             wxPrintData 
&_result_ref 
= (arg1
)->GetPrintData(); 
18497             result 
= (wxPrintData 
*) &_result_ref
; 
18500         wxPyEndAllowThreads(__tstate
); 
18501         if (PyErr_Occurred()) SWIG_fail
; 
18503     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0); 
18510 static PyObject 
*_wrap_PostScriptDC_SetPrintData(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
18511     PyObject 
*resultobj
; 
18512     wxPostScriptDC 
*arg1 
= (wxPostScriptDC 
*) 0 ; 
18513     wxPrintData 
*arg2 
= 0 ; 
18514     PyObject 
* obj0 
= 0 ; 
18515     PyObject 
* obj1 
= 0 ; 
18516     char *kwnames
[] = { 
18517         (char *) "self",(char *) "data", NULL 
 
18520     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostScriptDC_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
; 
18521     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPostScriptDC
, SWIG_POINTER_EXCEPTION 
| 0); 
18522     if (SWIG_arg_fail(1)) SWIG_fail
; 
18524         SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION 
| 0); 
18525         if (SWIG_arg_fail(2)) SWIG_fail
; 
18526         if (arg2 
== NULL
) { 
18527             SWIG_null_ref("wxPrintData"); 
18529         if (SWIG_arg_fail(2)) SWIG_fail
; 
18532         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18533         (arg1
)->SetPrintData((wxPrintData 
const &)*arg2
); 
18535         wxPyEndAllowThreads(__tstate
); 
18536         if (PyErr_Occurred()) SWIG_fail
; 
18538     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
18545 static PyObject 
*_wrap_PostScriptDC_SetResolution(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
18546     PyObject 
*resultobj
; 
18548     PyObject 
* obj0 
= 0 ; 
18549     char *kwnames
[] = { 
18550         (char *) "ppi", NULL 
 
18553     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_SetResolution",kwnames
,&obj0
)) goto fail
; 
18555         arg1 
= (int)(SWIG_As_int(obj0
));  
18556         if (SWIG_arg_fail(1)) SWIG_fail
; 
18559         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18560         wxPostScriptDC::SetResolution(arg1
); 
18562         wxPyEndAllowThreads(__tstate
); 
18563         if (PyErr_Occurred()) SWIG_fail
; 
18565     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
18572 static PyObject 
*_wrap_PostScriptDC_GetResolution(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
18573     PyObject 
*resultobj
; 
18575     char *kwnames
[] = { 
18579     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PostScriptDC_GetResolution",kwnames
)) goto fail
; 
18581         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18582         result 
= (int)wxPostScriptDC::GetResolution(); 
18584         wxPyEndAllowThreads(__tstate
); 
18585         if (PyErr_Occurred()) SWIG_fail
; 
18588         resultobj 
= SWIG_From_int((int)(result
));  
18596 static PyObject 
* PostScriptDC_swigregister(PyObject 
*, PyObject 
*args
) { 
18598     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
18599     SWIG_TypeClientData(SWIGTYPE_p_wxPostScriptDC
, obj
); 
18601     return Py_BuildValue((char *)""); 
18603 static PyObject 
*_wrap_new_MetaFile(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
18604     PyObject 
*resultobj
; 
18605     wxString 
const &arg1_defvalue 
= wxPyEmptyString 
; 
18606     wxString 
*arg1 
= (wxString 
*) &arg1_defvalue 
; 
18607     wxMetaFile 
*result
; 
18608     bool temp1 
= false ; 
18609     PyObject 
* obj0 
= 0 ; 
18610     char *kwnames
[] = { 
18611         (char *) "filename", NULL 
 
18614     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MetaFile",kwnames
,&obj0
)) goto fail
; 
18617             arg1 
= wxString_in_helper(obj0
); 
18618             if (arg1 
== NULL
) SWIG_fail
; 
18623         if (!wxPyCheckForApp()) SWIG_fail
; 
18624         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18625         result 
= (wxMetaFile 
*)new wxMetaFile((wxString 
const &)*arg1
); 
18627         wxPyEndAllowThreads(__tstate
); 
18628         if (PyErr_Occurred()) SWIG_fail
; 
18630     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetaFile
, 1); 
18645 static PyObject 
*_wrap_delete_MetaFile(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
18646     PyObject 
*resultobj
; 
18647     wxMetaFile 
*arg1 
= (wxMetaFile 
*) 0 ; 
18648     PyObject 
* obj0 
= 0 ; 
18649     char *kwnames
[] = { 
18650         (char *) "self", NULL 
 
18653     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MetaFile",kwnames
,&obj0
)) goto fail
; 
18654     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_EXCEPTION 
| 0); 
18655     if (SWIG_arg_fail(1)) SWIG_fail
; 
18657         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18660         wxPyEndAllowThreads(__tstate
); 
18661         if (PyErr_Occurred()) SWIG_fail
; 
18663     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
18670 static PyObject 
*_wrap_MetaFile_Ok(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
18671     PyObject 
*resultobj
; 
18672     wxMetaFile 
*arg1 
= (wxMetaFile 
*) 0 ; 
18674     PyObject 
* obj0 
= 0 ; 
18675     char *kwnames
[] = { 
18676         (char *) "self", NULL 
 
18679     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFile_Ok",kwnames
,&obj0
)) goto fail
; 
18680     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_EXCEPTION 
| 0); 
18681     if (SWIG_arg_fail(1)) SWIG_fail
; 
18683         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18684         result 
= (bool)(arg1
)->Ok(); 
18686         wxPyEndAllowThreads(__tstate
); 
18687         if (PyErr_Occurred()) SWIG_fail
; 
18690         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
18698 static PyObject 
*_wrap_MetaFile_SetClipboard(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
18699     PyObject 
*resultobj
; 
18700     wxMetaFile 
*arg1 
= (wxMetaFile 
*) 0 ; 
18701     int arg2 
= (int) 0 ; 
18702     int arg3 
= (int) 0 ; 
18704     PyObject 
* obj0 
= 0 ; 
18705     PyObject 
* obj1 
= 0 ; 
18706     PyObject 
* obj2 
= 0 ; 
18707     char *kwnames
[] = { 
18708         (char *) "self",(char *) "width",(char *) "height", NULL 
 
18711     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MetaFile_SetClipboard",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
18712     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_EXCEPTION 
| 0); 
18713     if (SWIG_arg_fail(1)) SWIG_fail
; 
18716             arg2 
= (int)(SWIG_As_int(obj1
));  
18717             if (SWIG_arg_fail(2)) SWIG_fail
; 
18722             arg3 
= (int)(SWIG_As_int(obj2
));  
18723             if (SWIG_arg_fail(3)) SWIG_fail
; 
18727         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18728         result 
= (bool)(arg1
)->SetClipboard(arg2
,arg3
); 
18730         wxPyEndAllowThreads(__tstate
); 
18731         if (PyErr_Occurred()) SWIG_fail
; 
18734         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
18742 static PyObject 
*_wrap_MetaFile_GetSize(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
18743     PyObject 
*resultobj
; 
18744     wxMetaFile 
*arg1 
= (wxMetaFile 
*) 0 ; 
18746     PyObject 
* obj0 
= 0 ; 
18747     char *kwnames
[] = { 
18748         (char *) "self", NULL 
 
18751     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFile_GetSize",kwnames
,&obj0
)) goto fail
; 
18752     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_EXCEPTION 
| 0); 
18753     if (SWIG_arg_fail(1)) SWIG_fail
; 
18755         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18756         result 
= (arg1
)->GetSize(); 
18758         wxPyEndAllowThreads(__tstate
); 
18759         if (PyErr_Occurred()) SWIG_fail
; 
18762         wxSize 
* resultptr
; 
18763         resultptr 
= new wxSize((wxSize 
&)(result
)); 
18764         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1); 
18772 static PyObject 
*_wrap_MetaFile_GetWidth(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
18773     PyObject 
*resultobj
; 
18774     wxMetaFile 
*arg1 
= (wxMetaFile 
*) 0 ; 
18776     PyObject 
* obj0 
= 0 ; 
18777     char *kwnames
[] = { 
18778         (char *) "self", NULL 
 
18781     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFile_GetWidth",kwnames
,&obj0
)) goto fail
; 
18782     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_EXCEPTION 
| 0); 
18783     if (SWIG_arg_fail(1)) SWIG_fail
; 
18785         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18786         result 
= (int)(arg1
)->GetWidth(); 
18788         wxPyEndAllowThreads(__tstate
); 
18789         if (PyErr_Occurred()) SWIG_fail
; 
18792         resultobj 
= SWIG_From_int((int)(result
));  
18800 static PyObject 
*_wrap_MetaFile_GetHeight(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
18801     PyObject 
*resultobj
; 
18802     wxMetaFile 
*arg1 
= (wxMetaFile 
*) 0 ; 
18804     PyObject 
* obj0 
= 0 ; 
18805     char *kwnames
[] = { 
18806         (char *) "self", NULL 
 
18809     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFile_GetHeight",kwnames
,&obj0
)) goto fail
; 
18810     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_EXCEPTION 
| 0); 
18811     if (SWIG_arg_fail(1)) SWIG_fail
; 
18813         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18814         result 
= (int)(arg1
)->GetHeight(); 
18816         wxPyEndAllowThreads(__tstate
); 
18817         if (PyErr_Occurred()) SWIG_fail
; 
18820         resultobj 
= SWIG_From_int((int)(result
));  
18828 static PyObject 
*_wrap_MetaFile_GetFileName(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
18829     PyObject 
*resultobj
; 
18830     wxMetaFile 
*arg1 
= (wxMetaFile 
*) 0 ; 
18832     PyObject 
* obj0 
= 0 ; 
18833     char *kwnames
[] = { 
18834         (char *) "self", NULL 
 
18837     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFile_GetFileName",kwnames
,&obj0
)) goto fail
; 
18838     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_EXCEPTION 
| 0); 
18839     if (SWIG_arg_fail(1)) SWIG_fail
; 
18841         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18843             wxString 
const &_result_ref 
= ((wxMetaFile 
const *)arg1
)->GetFileName(); 
18844             result 
= (wxString 
*) &_result_ref
; 
18847         wxPyEndAllowThreads(__tstate
); 
18848         if (PyErr_Occurred()) SWIG_fail
; 
18852         resultobj 
= PyUnicode_FromWideChar(result
->c_str(), result
->Len()); 
18854         resultobj 
= PyString_FromStringAndSize(result
->c_str(), result
->Len()); 
18863 static PyObject 
* MetaFile_swigregister(PyObject 
*, PyObject 
*args
) { 
18865     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
18866     SWIG_TypeClientData(SWIGTYPE_p_wxMetaFile
, obj
); 
18868     return Py_BuildValue((char *)""); 
18870 static PyObject 
*_wrap_new_MetaFileDC(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
18871     PyObject 
*resultobj
; 
18872     wxString 
const &arg1_defvalue 
= wxPyEmptyString 
; 
18873     wxString 
*arg1 
= (wxString 
*) &arg1_defvalue 
; 
18874     int arg2 
= (int) 0 ; 
18875     int arg3 
= (int) 0 ; 
18876     wxString 
const &arg4_defvalue 
= wxPyEmptyString 
; 
18877     wxString 
*arg4 
= (wxString 
*) &arg4_defvalue 
; 
18878     wxMetaFileDC 
*result
; 
18879     bool temp1 
= false ; 
18880     bool temp4 
= false ; 
18881     PyObject 
* obj0 
= 0 ; 
18882     PyObject 
* obj1 
= 0 ; 
18883     PyObject 
* obj2 
= 0 ; 
18884     PyObject 
* obj3 
= 0 ; 
18885     char *kwnames
[] = { 
18886         (char *) "filename",(char *) "width",(char *) "height",(char *) "description", NULL 
 
18889     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_MetaFileDC",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
18892             arg1 
= wxString_in_helper(obj0
); 
18893             if (arg1 
== NULL
) SWIG_fail
; 
18899             arg2 
= (int)(SWIG_As_int(obj1
));  
18900             if (SWIG_arg_fail(2)) SWIG_fail
; 
18905             arg3 
= (int)(SWIG_As_int(obj2
));  
18906             if (SWIG_arg_fail(3)) SWIG_fail
; 
18911             arg4 
= wxString_in_helper(obj3
); 
18912             if (arg4 
== NULL
) SWIG_fail
; 
18917         if (!wxPyCheckForApp()) SWIG_fail
; 
18918         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18919         result 
= (wxMetaFileDC 
*)new wxMetaFileDC((wxString 
const &)*arg1
,arg2
,arg3
,(wxString 
const &)*arg4
); 
18921         wxPyEndAllowThreads(__tstate
); 
18922         if (PyErr_Occurred()) SWIG_fail
; 
18924     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetaFileDC
, 1); 
18947 static PyObject 
*_wrap_MetaFileDC_Close(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
18948     PyObject 
*resultobj
; 
18949     wxMetaFileDC 
*arg1 
= (wxMetaFileDC 
*) 0 ; 
18950     wxMetaFile 
*result
; 
18951     PyObject 
* obj0 
= 0 ; 
18952     char *kwnames
[] = { 
18953         (char *) "self", NULL 
 
18956     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFileDC_Close",kwnames
,&obj0
)) goto fail
; 
18957     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMetaFileDC
, SWIG_POINTER_EXCEPTION 
| 0); 
18958     if (SWIG_arg_fail(1)) SWIG_fail
; 
18960         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18961         result 
= (wxMetaFile 
*)(arg1
)->Close(); 
18963         wxPyEndAllowThreads(__tstate
); 
18964         if (PyErr_Occurred()) SWIG_fail
; 
18966     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetaFile
, 0); 
18973 static PyObject 
* MetaFileDC_swigregister(PyObject 
*, PyObject 
*args
) { 
18975     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
18976     SWIG_TypeClientData(SWIGTYPE_p_wxMetaFileDC
, obj
); 
18978     return Py_BuildValue((char *)""); 
18980 static PyObject 
*_wrap_new_PrinterDC(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
18981     PyObject 
*resultobj
; 
18982     wxPrintData 
*arg1 
= 0 ; 
18983     wxPrinterDC 
*result
; 
18984     PyObject 
* obj0 
= 0 ; 
18985     char *kwnames
[] = { 
18986         (char *) "printData", NULL 
 
18989     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PrinterDC",kwnames
,&obj0
)) goto fail
; 
18991         SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION 
| 0); 
18992         if (SWIG_arg_fail(1)) SWIG_fail
; 
18993         if (arg1 
== NULL
) { 
18994             SWIG_null_ref("wxPrintData"); 
18996         if (SWIG_arg_fail(1)) SWIG_fail
; 
18999         if (!wxPyCheckForApp()) SWIG_fail
; 
19000         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19001         result 
= (wxPrinterDC 
*)new wxPrinterDC((wxPrintData 
const &)*arg1
); 
19003         wxPyEndAllowThreads(__tstate
); 
19004         if (PyErr_Occurred()) SWIG_fail
; 
19006     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrinterDC
, 1); 
19013 static PyObject 
* PrinterDC_swigregister(PyObject 
*, PyObject 
*args
) { 
19015     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
19016     SWIG_TypeClientData(SWIGTYPE_p_wxPrinterDC
, obj
); 
19018     return Py_BuildValue((char *)""); 
19020 static PyObject 
*_wrap_new_ImageList(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
19021     PyObject 
*resultobj
; 
19024     int arg3 
= (int) true ; 
19025     int arg4 
= (int) 1 ; 
19026     wxImageList 
*result
; 
19027     PyObject 
* obj0 
= 0 ; 
19028     PyObject 
* obj1 
= 0 ; 
19029     PyObject 
* obj2 
= 0 ; 
19030     PyObject 
* obj3 
= 0 ; 
19031     char *kwnames
[] = { 
19032         (char *) "width",(char *) "height",(char *) "mask",(char *) "initialCount", NULL 
 
19035     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_ImageList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
19037         arg1 
= (int)(SWIG_As_int(obj0
));  
19038         if (SWIG_arg_fail(1)) SWIG_fail
; 
19041         arg2 
= (int)(SWIG_As_int(obj1
));  
19042         if (SWIG_arg_fail(2)) SWIG_fail
; 
19046             arg3 
= (int)(SWIG_As_int(obj2
));  
19047             if (SWIG_arg_fail(3)) SWIG_fail
; 
19052             arg4 
= (int)(SWIG_As_int(obj3
));  
19053             if (SWIG_arg_fail(4)) SWIG_fail
; 
19057         if (!wxPyCheckForApp()) SWIG_fail
; 
19058         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19059         result 
= (wxImageList 
*)new wxImageList(arg1
,arg2
,arg3
,arg4
); 
19061         wxPyEndAllowThreads(__tstate
); 
19062         if (PyErr_Occurred()) SWIG_fail
; 
19065         resultobj 
= wxPyMake_wxObject(result
, 1);  
19073 static PyObject 
*_wrap_delete_ImageList(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
19074     PyObject 
*resultobj
; 
19075     wxImageList 
*arg1 
= (wxImageList 
*) 0 ; 
19076     PyObject 
* obj0 
= 0 ; 
19077     char *kwnames
[] = { 
19078         (char *) "self", NULL 
 
19081     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ImageList",kwnames
,&obj0
)) goto fail
; 
19082     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION 
| 0); 
19083     if (SWIG_arg_fail(1)) SWIG_fail
; 
19085         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19088         wxPyEndAllowThreads(__tstate
); 
19089         if (PyErr_Occurred()) SWIG_fail
; 
19091     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
19098 static PyObject 
*_wrap_ImageList_Add(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
19099     PyObject 
*resultobj
; 
19100     wxImageList 
*arg1 
= (wxImageList 
*) 0 ; 
19101     wxBitmap 
*arg2 
= 0 ; 
19102     wxBitmap 
const &arg3_defvalue 
= wxNullBitmap 
; 
19103     wxBitmap 
*arg3 
= (wxBitmap 
*) &arg3_defvalue 
; 
19105     PyObject 
* obj0 
= 0 ; 
19106     PyObject 
* obj1 
= 0 ; 
19107     PyObject 
* obj2 
= 0 ; 
19108     char *kwnames
[] = { 
19109         (char *) "self",(char *) "bitmap",(char *) "mask", NULL 
 
19112     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ImageList_Add",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
19113     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION 
| 0); 
19114     if (SWIG_arg_fail(1)) SWIG_fail
; 
19116         SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION 
| 0); 
19117         if (SWIG_arg_fail(2)) SWIG_fail
; 
19118         if (arg2 
== NULL
) { 
19119             SWIG_null_ref("wxBitmap"); 
19121         if (SWIG_arg_fail(2)) SWIG_fail
; 
19125             SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION 
| 0); 
19126             if (SWIG_arg_fail(3)) SWIG_fail
; 
19127             if (arg3 
== NULL
) { 
19128                 SWIG_null_ref("wxBitmap"); 
19130             if (SWIG_arg_fail(3)) SWIG_fail
; 
19134         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19135         result 
= (int)(arg1
)->Add((wxBitmap 
const &)*arg2
,(wxBitmap 
const &)*arg3
); 
19137         wxPyEndAllowThreads(__tstate
); 
19138         if (PyErr_Occurred()) SWIG_fail
; 
19141         resultobj 
= SWIG_From_int((int)(result
));  
19149 static PyObject 
*_wrap_ImageList_AddWithColourMask(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
19150     PyObject 
*resultobj
; 
19151     wxImageList 
*arg1 
= (wxImageList 
*) 0 ; 
19152     wxBitmap 
*arg2 
= 0 ; 
19153     wxColour 
*arg3 
= 0 ; 
19156     PyObject 
* obj0 
= 0 ; 
19157     PyObject 
* obj1 
= 0 ; 
19158     PyObject 
* obj2 
= 0 ; 
19159     char *kwnames
[] = { 
19160         (char *) "self",(char *) "bitmap",(char *) "maskColour", NULL 
 
19163     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_AddWithColourMask",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
19164     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION 
| 0); 
19165     if (SWIG_arg_fail(1)) SWIG_fail
; 
19167         SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION 
| 0); 
19168         if (SWIG_arg_fail(2)) SWIG_fail
; 
19169         if (arg2 
== NULL
) { 
19170             SWIG_null_ref("wxBitmap"); 
19172         if (SWIG_arg_fail(2)) SWIG_fail
; 
19176         if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
; 
19179         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19180         result 
= (int)(arg1
)->Add((wxBitmap 
const &)*arg2
,(wxColour 
const &)*arg3
); 
19182         wxPyEndAllowThreads(__tstate
); 
19183         if (PyErr_Occurred()) SWIG_fail
; 
19186         resultobj 
= SWIG_From_int((int)(result
));  
19194 static PyObject 
*_wrap_ImageList_AddIcon(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
19195     PyObject 
*resultobj
; 
19196     wxImageList 
*arg1 
= (wxImageList 
*) 0 ; 
19199     PyObject 
* obj0 
= 0 ; 
19200     PyObject 
* obj1 
= 0 ; 
19201     char *kwnames
[] = { 
19202         (char *) "self",(char *) "icon", NULL 
 
19205     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_AddIcon",kwnames
,&obj0
,&obj1
)) goto fail
; 
19206     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION 
| 0); 
19207     if (SWIG_arg_fail(1)) SWIG_fail
; 
19209         SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION 
| 0); 
19210         if (SWIG_arg_fail(2)) SWIG_fail
; 
19211         if (arg2 
== NULL
) { 
19212             SWIG_null_ref("wxIcon"); 
19214         if (SWIG_arg_fail(2)) SWIG_fail
; 
19217         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19218         result 
= (int)(arg1
)->Add((wxIcon 
const &)*arg2
); 
19220         wxPyEndAllowThreads(__tstate
); 
19221         if (PyErr_Occurred()) SWIG_fail
; 
19224         resultobj 
= SWIG_From_int((int)(result
));  
19232 static PyObject 
*_wrap_ImageList_GetBitmap(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
19233     PyObject 
*resultobj
; 
19234     wxImageList 
*arg1 
= (wxImageList 
*) 0 ; 
19236     SwigValueWrapper
<wxBitmap 
> result
; 
19237     PyObject 
* obj0 
= 0 ; 
19238     PyObject 
* obj1 
= 0 ; 
19239     char *kwnames
[] = { 
19240         (char *) "self",(char *) "index", NULL 
 
19243     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
; 
19244     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION 
| 0); 
19245     if (SWIG_arg_fail(1)) SWIG_fail
; 
19247         arg2 
= (int)(SWIG_As_int(obj1
));  
19248         if (SWIG_arg_fail(2)) SWIG_fail
; 
19251         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19252         result 
= ((wxImageList 
const *)arg1
)->GetBitmap(arg2
); 
19254         wxPyEndAllowThreads(__tstate
); 
19255         if (PyErr_Occurred()) SWIG_fail
; 
19258         wxBitmap 
* resultptr
; 
19259         resultptr 
= new wxBitmap((wxBitmap 
&)(result
)); 
19260         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1); 
19268 static PyObject 
*_wrap_ImageList_GetIcon(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
19269     PyObject 
*resultobj
; 
19270     wxImageList 
*arg1 
= (wxImageList 
*) 0 ; 
19273     PyObject 
* obj0 
= 0 ; 
19274     PyObject 
* obj1 
= 0 ; 
19275     char *kwnames
[] = { 
19276         (char *) "self",(char *) "index", NULL 
 
19279     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetIcon",kwnames
,&obj0
,&obj1
)) goto fail
; 
19280     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION 
| 0); 
19281     if (SWIG_arg_fail(1)) SWIG_fail
; 
19283         arg2 
= (int)(SWIG_As_int(obj1
));  
19284         if (SWIG_arg_fail(2)) SWIG_fail
; 
19287         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19288         result 
= ((wxImageList 
const *)arg1
)->GetIcon(arg2
); 
19290         wxPyEndAllowThreads(__tstate
); 
19291         if (PyErr_Occurred()) SWIG_fail
; 
19294         wxIcon 
* resultptr
; 
19295         resultptr 
= new wxIcon((wxIcon 
&)(result
)); 
19296         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxIcon
, 1); 
19304 static PyObject 
*_wrap_ImageList_Replace(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
19305     PyObject 
*resultobj
; 
19306     wxImageList 
*arg1 
= (wxImageList 
*) 0 ; 
19308     wxBitmap 
*arg3 
= 0 ; 
19309     wxBitmap 
const &arg4_defvalue 
= wxNullBitmap 
; 
19310     wxBitmap 
*arg4 
= (wxBitmap 
*) &arg4_defvalue 
; 
19312     PyObject 
* obj0 
= 0 ; 
19313     PyObject 
* obj1 
= 0 ; 
19314     PyObject 
* obj2 
= 0 ; 
19315     PyObject 
* obj3 
= 0 ; 
19316     char *kwnames
[] = { 
19317         (char *) "self",(char *) "index",(char *) "bitmap",(char *) "mask", NULL 
 
19320     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ImageList_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
19321     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION 
| 0); 
19322     if (SWIG_arg_fail(1)) SWIG_fail
; 
19324         arg2 
= (int)(SWIG_As_int(obj1
));  
19325         if (SWIG_arg_fail(2)) SWIG_fail
; 
19328         SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION 
| 0); 
19329         if (SWIG_arg_fail(3)) SWIG_fail
; 
19330         if (arg3 
== NULL
) { 
19331             SWIG_null_ref("wxBitmap"); 
19333         if (SWIG_arg_fail(3)) SWIG_fail
; 
19337             SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION 
| 0); 
19338             if (SWIG_arg_fail(4)) SWIG_fail
; 
19339             if (arg4 
== NULL
) { 
19340                 SWIG_null_ref("wxBitmap"); 
19342             if (SWIG_arg_fail(4)) SWIG_fail
; 
19346         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19347         result 
= (bool)(arg1
)->Replace(arg2
,(wxBitmap 
const &)*arg3
,(wxBitmap 
const &)*arg4
); 
19349         wxPyEndAllowThreads(__tstate
); 
19350         if (PyErr_Occurred()) SWIG_fail
; 
19353         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
19361 static PyObject 
*_wrap_ImageList_Draw(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
19362     PyObject 
*resultobj
; 
19363     wxImageList 
*arg1 
= (wxImageList 
*) 0 ; 
19368     int arg6 
= (int) wxIMAGELIST_DRAW_NORMAL 
; 
19369     bool arg7 
= (bool) (bool)false ; 
19371     PyObject 
* obj0 
= 0 ; 
19372     PyObject 
* obj1 
= 0 ; 
19373     PyObject 
* obj2 
= 0 ; 
19374     PyObject 
* obj3 
= 0 ; 
19375     PyObject 
* obj4 
= 0 ; 
19376     PyObject 
* obj5 
= 0 ; 
19377     PyObject 
* obj6 
= 0 ; 
19378     char *kwnames
[] = { 
19379         (char *) "self",(char *) "index",(char *) "dc",(char *) "x",(char *) "x",(char *) "flags",(char *) "solidBackground", NULL 
 
19382     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:ImageList_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
; 
19383     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION 
| 0); 
19384     if (SWIG_arg_fail(1)) SWIG_fail
; 
19386         arg2 
= (int)(SWIG_As_int(obj1
));  
19387         if (SWIG_arg_fail(2)) SWIG_fail
; 
19390         SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
19391         if (SWIG_arg_fail(3)) SWIG_fail
; 
19392         if (arg3 
== NULL
) { 
19393             SWIG_null_ref("wxDC"); 
19395         if (SWIG_arg_fail(3)) SWIG_fail
; 
19398         arg4 
= (int)(SWIG_As_int(obj3
));  
19399         if (SWIG_arg_fail(4)) SWIG_fail
; 
19402         arg5 
= (int)(SWIG_As_int(obj4
));  
19403         if (SWIG_arg_fail(5)) SWIG_fail
; 
19407             arg6 
= (int)(SWIG_As_int(obj5
));  
19408             if (SWIG_arg_fail(6)) SWIG_fail
; 
19413             arg7 
= (bool const)(SWIG_As_bool(obj6
));  
19414             if (SWIG_arg_fail(7)) SWIG_fail
; 
19418         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19419         result 
= (bool)(arg1
)->Draw(arg2
,*arg3
,arg4
,arg5
,arg6
,arg7
); 
19421         wxPyEndAllowThreads(__tstate
); 
19422         if (PyErr_Occurred()) SWIG_fail
; 
19425         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
19433 static PyObject 
*_wrap_ImageList_GetImageCount(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
19434     PyObject 
*resultobj
; 
19435     wxImageList 
*arg1 
= (wxImageList 
*) 0 ; 
19437     PyObject 
* obj0 
= 0 ; 
19438     char *kwnames
[] = { 
19439         (char *) "self", NULL 
 
19442     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageList_GetImageCount",kwnames
,&obj0
)) goto fail
; 
19443     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION 
| 0); 
19444     if (SWIG_arg_fail(1)) SWIG_fail
; 
19446         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19447         result 
= (int)(arg1
)->GetImageCount(); 
19449         wxPyEndAllowThreads(__tstate
); 
19450         if (PyErr_Occurred()) SWIG_fail
; 
19453         resultobj 
= SWIG_From_int((int)(result
));  
19461 static PyObject 
*_wrap_ImageList_Remove(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
19462     PyObject 
*resultobj
; 
19463     wxImageList 
*arg1 
= (wxImageList 
*) 0 ; 
19466     PyObject 
* obj0 
= 0 ; 
19467     PyObject 
* obj1 
= 0 ; 
19468     char *kwnames
[] = { 
19469         (char *) "self",(char *) "index", NULL 
 
19472     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_Remove",kwnames
,&obj0
,&obj1
)) goto fail
; 
19473     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION 
| 0); 
19474     if (SWIG_arg_fail(1)) SWIG_fail
; 
19476         arg2 
= (int)(SWIG_As_int(obj1
));  
19477         if (SWIG_arg_fail(2)) SWIG_fail
; 
19480         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19481         result 
= (bool)(arg1
)->Remove(arg2
); 
19483         wxPyEndAllowThreads(__tstate
); 
19484         if (PyErr_Occurred()) SWIG_fail
; 
19487         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
19495 static PyObject 
*_wrap_ImageList_RemoveAll(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
19496     PyObject 
*resultobj
; 
19497     wxImageList 
*arg1 
= (wxImageList 
*) 0 ; 
19499     PyObject 
* obj0 
= 0 ; 
19500     char *kwnames
[] = { 
19501         (char *) "self", NULL 
 
19504     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageList_RemoveAll",kwnames
,&obj0
)) goto fail
; 
19505     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION 
| 0); 
19506     if (SWIG_arg_fail(1)) SWIG_fail
; 
19508         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19509         result 
= (bool)(arg1
)->RemoveAll(); 
19511         wxPyEndAllowThreads(__tstate
); 
19512         if (PyErr_Occurred()) SWIG_fail
; 
19515         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
19523 static PyObject 
*_wrap_ImageList_GetSize(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
19524     PyObject 
*resultobj
; 
19525     wxImageList 
*arg1 
= (wxImageList 
*) 0 ; 
19533     PyObject 
* obj0 
= 0 ; 
19534     PyObject 
* obj1 
= 0 ; 
19535     char *kwnames
[] = { 
19536         (char *) "self",(char *) "index", NULL 
 
19539     arg3 
= &temp3
; res3 
= SWIG_NEWOBJ
; 
19540     arg4 
= &temp4
; res4 
= SWIG_NEWOBJ
; 
19541     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetSize",kwnames
,&obj0
,&obj1
)) goto fail
; 
19542     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION 
| 0); 
19543     if (SWIG_arg_fail(1)) SWIG_fail
; 
19545         arg2 
= (int)(SWIG_As_int(obj1
));  
19546         if (SWIG_arg_fail(2)) SWIG_fail
; 
19549         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19550         (arg1
)->GetSize(arg2
,*arg3
,*arg4
); 
19552         wxPyEndAllowThreads(__tstate
); 
19553         if (PyErr_Occurred()) SWIG_fail
; 
19555     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
19556     resultobj 
= t_output_helper(resultobj
, ((res3 
== SWIG_NEWOBJ
) ? 
19557     SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0))); 
19558     resultobj 
= t_output_helper(resultobj
, ((res4 
== SWIG_NEWOBJ
) ? 
19559     SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0))); 
19566 static PyObject 
* ImageList_swigregister(PyObject 
*, PyObject 
*args
) { 
19568     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
19569     SWIG_TypeClientData(SWIGTYPE_p_wxImageList
, obj
); 
19571     return Py_BuildValue((char *)""); 
19573 static int _wrap_NORMAL_FONT_set(PyObject 
*) { 
19574     PyErr_SetString(PyExc_TypeError
,"Variable NORMAL_FONT is read-only."); 
19579 static PyObject 
*_wrap_NORMAL_FONT_get(void) { 
19582     pyobj 
= SWIG_NewPointerObj((void *)(wxNORMAL_FONT
), SWIGTYPE_p_wxFont
, 0); 
19587 static int _wrap_SMALL_FONT_set(PyObject 
*) { 
19588     PyErr_SetString(PyExc_TypeError
,"Variable SMALL_FONT is read-only."); 
19593 static PyObject 
*_wrap_SMALL_FONT_get(void) { 
19596     pyobj 
= SWIG_NewPointerObj((void *)(wxSMALL_FONT
), SWIGTYPE_p_wxFont
, 0); 
19601 static int _wrap_ITALIC_FONT_set(PyObject 
*) { 
19602     PyErr_SetString(PyExc_TypeError
,"Variable ITALIC_FONT is read-only."); 
19607 static PyObject 
*_wrap_ITALIC_FONT_get(void) { 
19610     pyobj 
= SWIG_NewPointerObj((void *)(wxITALIC_FONT
), SWIGTYPE_p_wxFont
, 0); 
19615 static int _wrap_SWISS_FONT_set(PyObject 
*) { 
19616     PyErr_SetString(PyExc_TypeError
,"Variable SWISS_FONT is read-only."); 
19621 static PyObject 
*_wrap_SWISS_FONT_get(void) { 
19624     pyobj 
= SWIG_NewPointerObj((void *)(wxSWISS_FONT
), SWIGTYPE_p_wxFont
, 0); 
19629 static int _wrap_RED_PEN_set(PyObject 
*) { 
19630     PyErr_SetString(PyExc_TypeError
,"Variable RED_PEN is read-only."); 
19635 static PyObject 
*_wrap_RED_PEN_get(void) { 
19638     pyobj 
= SWIG_NewPointerObj((void *)(wxRED_PEN
), SWIGTYPE_p_wxPen
, 0); 
19643 static int _wrap_CYAN_PEN_set(PyObject 
*) { 
19644     PyErr_SetString(PyExc_TypeError
,"Variable CYAN_PEN is read-only."); 
19649 static PyObject 
*_wrap_CYAN_PEN_get(void) { 
19652     pyobj 
= SWIG_NewPointerObj((void *)(wxCYAN_PEN
), SWIGTYPE_p_wxPen
, 0); 
19657 static int _wrap_GREEN_PEN_set(PyObject 
*) { 
19658     PyErr_SetString(PyExc_TypeError
,"Variable GREEN_PEN is read-only."); 
19663 static PyObject 
*_wrap_GREEN_PEN_get(void) { 
19666     pyobj 
= SWIG_NewPointerObj((void *)(wxGREEN_PEN
), SWIGTYPE_p_wxPen
, 0); 
19671 static int _wrap_BLACK_PEN_set(PyObject 
*) { 
19672     PyErr_SetString(PyExc_TypeError
,"Variable BLACK_PEN is read-only."); 
19677 static PyObject 
*_wrap_BLACK_PEN_get(void) { 
19680     pyobj 
= SWIG_NewPointerObj((void *)(wxBLACK_PEN
), SWIGTYPE_p_wxPen
, 0); 
19685 static int _wrap_WHITE_PEN_set(PyObject 
*) { 
19686     PyErr_SetString(PyExc_TypeError
,"Variable WHITE_PEN is read-only."); 
19691 static PyObject 
*_wrap_WHITE_PEN_get(void) { 
19694     pyobj 
= SWIG_NewPointerObj((void *)(wxWHITE_PEN
), SWIGTYPE_p_wxPen
, 0); 
19699 static int _wrap_TRANSPARENT_PEN_set(PyObject 
*) { 
19700     PyErr_SetString(PyExc_TypeError
,"Variable TRANSPARENT_PEN is read-only."); 
19705 static PyObject 
*_wrap_TRANSPARENT_PEN_get(void) { 
19708     pyobj 
= SWIG_NewPointerObj((void *)(wxTRANSPARENT_PEN
), SWIGTYPE_p_wxPen
, 0); 
19713 static int _wrap_BLACK_DASHED_PEN_set(PyObject 
*) { 
19714     PyErr_SetString(PyExc_TypeError
,"Variable BLACK_DASHED_PEN is read-only."); 
19719 static PyObject 
*_wrap_BLACK_DASHED_PEN_get(void) { 
19722     pyobj 
= SWIG_NewPointerObj((void *)(wxBLACK_DASHED_PEN
), SWIGTYPE_p_wxPen
, 0); 
19727 static int _wrap_GREY_PEN_set(PyObject 
*) { 
19728     PyErr_SetString(PyExc_TypeError
,"Variable GREY_PEN is read-only."); 
19733 static PyObject 
*_wrap_GREY_PEN_get(void) { 
19736     pyobj 
= SWIG_NewPointerObj((void *)(wxGREY_PEN
), SWIGTYPE_p_wxPen
, 0); 
19741 static int _wrap_MEDIUM_GREY_PEN_set(PyObject 
*) { 
19742     PyErr_SetString(PyExc_TypeError
,"Variable MEDIUM_GREY_PEN is read-only."); 
19747 static PyObject 
*_wrap_MEDIUM_GREY_PEN_get(void) { 
19750     pyobj 
= SWIG_NewPointerObj((void *)(wxMEDIUM_GREY_PEN
), SWIGTYPE_p_wxPen
, 0); 
19755 static int _wrap_LIGHT_GREY_PEN_set(PyObject 
*) { 
19756     PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY_PEN is read-only."); 
19761 static PyObject 
*_wrap_LIGHT_GREY_PEN_get(void) { 
19764     pyobj 
= SWIG_NewPointerObj((void *)(wxLIGHT_GREY_PEN
), SWIGTYPE_p_wxPen
, 0); 
19769 static int _wrap_BLUE_BRUSH_set(PyObject 
*) { 
19770     PyErr_SetString(PyExc_TypeError
,"Variable BLUE_BRUSH is read-only."); 
19775 static PyObject 
*_wrap_BLUE_BRUSH_get(void) { 
19778     pyobj 
= SWIG_NewPointerObj((void *)(wxBLUE_BRUSH
), SWIGTYPE_p_wxBrush
, 0); 
19783 static int _wrap_GREEN_BRUSH_set(PyObject 
*) { 
19784     PyErr_SetString(PyExc_TypeError
,"Variable GREEN_BRUSH is read-only."); 
19789 static PyObject 
*_wrap_GREEN_BRUSH_get(void) { 
19792     pyobj 
= SWIG_NewPointerObj((void *)(wxGREEN_BRUSH
), SWIGTYPE_p_wxBrush
, 0); 
19797 static int _wrap_WHITE_BRUSH_set(PyObject 
*) { 
19798     PyErr_SetString(PyExc_TypeError
,"Variable WHITE_BRUSH is read-only."); 
19803 static PyObject 
*_wrap_WHITE_BRUSH_get(void) { 
19806     pyobj 
= SWIG_NewPointerObj((void *)(wxWHITE_BRUSH
), SWIGTYPE_p_wxBrush
, 0); 
19811 static int _wrap_BLACK_BRUSH_set(PyObject 
*) { 
19812     PyErr_SetString(PyExc_TypeError
,"Variable BLACK_BRUSH is read-only."); 
19817 static PyObject 
*_wrap_BLACK_BRUSH_get(void) { 
19820     pyobj 
= SWIG_NewPointerObj((void *)(wxBLACK_BRUSH
), SWIGTYPE_p_wxBrush
, 0); 
19825 static int _wrap_TRANSPARENT_BRUSH_set(PyObject 
*) { 
19826     PyErr_SetString(PyExc_TypeError
,"Variable TRANSPARENT_BRUSH is read-only."); 
19831 static PyObject 
*_wrap_TRANSPARENT_BRUSH_get(void) { 
19834     pyobj 
= SWIG_NewPointerObj((void *)(wxTRANSPARENT_BRUSH
), SWIGTYPE_p_wxBrush
, 0); 
19839 static int _wrap_CYAN_BRUSH_set(PyObject 
*) { 
19840     PyErr_SetString(PyExc_TypeError
,"Variable CYAN_BRUSH is read-only."); 
19845 static PyObject 
*_wrap_CYAN_BRUSH_get(void) { 
19848     pyobj 
= SWIG_NewPointerObj((void *)(wxCYAN_BRUSH
), SWIGTYPE_p_wxBrush
, 0); 
19853 static int _wrap_RED_BRUSH_set(PyObject 
*) { 
19854     PyErr_SetString(PyExc_TypeError
,"Variable RED_BRUSH is read-only."); 
19859 static PyObject 
*_wrap_RED_BRUSH_get(void) { 
19862     pyobj 
= SWIG_NewPointerObj((void *)(wxRED_BRUSH
), SWIGTYPE_p_wxBrush
, 0); 
19867 static int _wrap_GREY_BRUSH_set(PyObject 
*) { 
19868     PyErr_SetString(PyExc_TypeError
,"Variable GREY_BRUSH is read-only."); 
19873 static PyObject 
*_wrap_GREY_BRUSH_get(void) { 
19876     pyobj 
= SWIG_NewPointerObj((void *)(wxGREY_BRUSH
), SWIGTYPE_p_wxBrush
, 0); 
19881 static int _wrap_MEDIUM_GREY_BRUSH_set(PyObject 
*) { 
19882     PyErr_SetString(PyExc_TypeError
,"Variable MEDIUM_GREY_BRUSH is read-only."); 
19887 static PyObject 
*_wrap_MEDIUM_GREY_BRUSH_get(void) { 
19890     pyobj 
= SWIG_NewPointerObj((void *)(wxMEDIUM_GREY_BRUSH
), SWIGTYPE_p_wxBrush
, 0); 
19895 static int _wrap_LIGHT_GREY_BRUSH_set(PyObject 
*) { 
19896     PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY_BRUSH is read-only."); 
19901 static PyObject 
*_wrap_LIGHT_GREY_BRUSH_get(void) { 
19904     pyobj 
= SWIG_NewPointerObj((void *)(wxLIGHT_GREY_BRUSH
), SWIGTYPE_p_wxBrush
, 0); 
19909 static int _wrap_BLACK_set(PyObject 
*) { 
19910     PyErr_SetString(PyExc_TypeError
,"Variable BLACK is read-only."); 
19915 static PyObject 
*_wrap_BLACK_get(void) { 
19918     pyobj 
= SWIG_NewPointerObj((void *)(wxBLACK
), SWIGTYPE_p_wxColour
, 0); 
19923 static int _wrap_WHITE_set(PyObject 
*) { 
19924     PyErr_SetString(PyExc_TypeError
,"Variable WHITE is read-only."); 
19929 static PyObject 
*_wrap_WHITE_get(void) { 
19932     pyobj 
= SWIG_NewPointerObj((void *)(wxWHITE
), SWIGTYPE_p_wxColour
, 0); 
19937 static int _wrap_RED_set(PyObject 
*) { 
19938     PyErr_SetString(PyExc_TypeError
,"Variable RED is read-only."); 
19943 static PyObject 
*_wrap_RED_get(void) { 
19946     pyobj 
= SWIG_NewPointerObj((void *)(wxRED
), SWIGTYPE_p_wxColour
, 0); 
19951 static int _wrap_BLUE_set(PyObject 
*) { 
19952     PyErr_SetString(PyExc_TypeError
,"Variable BLUE is read-only."); 
19957 static PyObject 
*_wrap_BLUE_get(void) { 
19960     pyobj 
= SWIG_NewPointerObj((void *)(wxBLUE
), SWIGTYPE_p_wxColour
, 0); 
19965 static int _wrap_GREEN_set(PyObject 
*) { 
19966     PyErr_SetString(PyExc_TypeError
,"Variable GREEN is read-only."); 
19971 static PyObject 
*_wrap_GREEN_get(void) { 
19974     pyobj 
= SWIG_NewPointerObj((void *)(wxGREEN
), SWIGTYPE_p_wxColour
, 0); 
19979 static int _wrap_CYAN_set(PyObject 
*) { 
19980     PyErr_SetString(PyExc_TypeError
,"Variable CYAN is read-only."); 
19985 static PyObject 
*_wrap_CYAN_get(void) { 
19988     pyobj 
= SWIG_NewPointerObj((void *)(wxCYAN
), SWIGTYPE_p_wxColour
, 0); 
19993 static int _wrap_LIGHT_GREY_set(PyObject 
*) { 
19994     PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY is read-only."); 
19999 static PyObject 
*_wrap_LIGHT_GREY_get(void) { 
20002     pyobj 
= SWIG_NewPointerObj((void *)(wxLIGHT_GREY
), SWIGTYPE_p_wxColour
, 0); 
20007 static int _wrap_STANDARD_CURSOR_set(PyObject 
*) { 
20008     PyErr_SetString(PyExc_TypeError
,"Variable STANDARD_CURSOR is read-only."); 
20013 static PyObject 
*_wrap_STANDARD_CURSOR_get(void) { 
20016     pyobj 
= SWIG_NewPointerObj((void *)(wxSTANDARD_CURSOR
), SWIGTYPE_p_wxCursor
, 0); 
20021 static int _wrap_HOURGLASS_CURSOR_set(PyObject 
*) { 
20022     PyErr_SetString(PyExc_TypeError
,"Variable HOURGLASS_CURSOR is read-only."); 
20027 static PyObject 
*_wrap_HOURGLASS_CURSOR_get(void) { 
20030     pyobj 
= SWIG_NewPointerObj((void *)(wxHOURGLASS_CURSOR
), SWIGTYPE_p_wxCursor
, 0); 
20035 static int _wrap_CROSS_CURSOR_set(PyObject 
*) { 
20036     PyErr_SetString(PyExc_TypeError
,"Variable CROSS_CURSOR is read-only."); 
20041 static PyObject 
*_wrap_CROSS_CURSOR_get(void) { 
20044     pyobj 
= SWIG_NewPointerObj((void *)(wxCROSS_CURSOR
), SWIGTYPE_p_wxCursor
, 0); 
20049 static int _wrap_NullBitmap_set(PyObject 
*) { 
20050     PyErr_SetString(PyExc_TypeError
,"Variable NullBitmap is read-only."); 
20055 static PyObject 
*_wrap_NullBitmap_get(void) { 
20058     pyobj 
= SWIG_NewPointerObj((void *)(&wxNullBitmap
), SWIGTYPE_p_wxBitmap
, 0); 
20063 static int _wrap_NullIcon_set(PyObject 
*) { 
20064     PyErr_SetString(PyExc_TypeError
,"Variable NullIcon is read-only."); 
20069 static PyObject 
*_wrap_NullIcon_get(void) { 
20072     pyobj 
= SWIG_NewPointerObj((void *)(&wxNullIcon
), SWIGTYPE_p_wxIcon
, 0); 
20077 static int _wrap_NullCursor_set(PyObject 
*) { 
20078     PyErr_SetString(PyExc_TypeError
,"Variable NullCursor is read-only."); 
20083 static PyObject 
*_wrap_NullCursor_get(void) { 
20086     pyobj 
= SWIG_NewPointerObj((void *)(&wxNullCursor
), SWIGTYPE_p_wxCursor
, 0); 
20091 static int _wrap_NullPen_set(PyObject 
*) { 
20092     PyErr_SetString(PyExc_TypeError
,"Variable NullPen is read-only."); 
20097 static PyObject 
*_wrap_NullPen_get(void) { 
20100     pyobj 
= SWIG_NewPointerObj((void *)(&wxNullPen
), SWIGTYPE_p_wxPen
, 0); 
20105 static int _wrap_NullBrush_set(PyObject 
*) { 
20106     PyErr_SetString(PyExc_TypeError
,"Variable NullBrush is read-only."); 
20111 static PyObject 
*_wrap_NullBrush_get(void) { 
20114     pyobj 
= SWIG_NewPointerObj((void *)(&wxNullBrush
), SWIGTYPE_p_wxBrush
, 0); 
20119 static int _wrap_NullPalette_set(PyObject 
*) { 
20120     PyErr_SetString(PyExc_TypeError
,"Variable NullPalette is read-only."); 
20125 static PyObject 
*_wrap_NullPalette_get(void) { 
20128     pyobj 
= SWIG_NewPointerObj((void *)(&wxNullPalette
), SWIGTYPE_p_wxPalette
, 0); 
20133 static int _wrap_NullFont_set(PyObject 
*) { 
20134     PyErr_SetString(PyExc_TypeError
,"Variable NullFont is read-only."); 
20139 static PyObject 
*_wrap_NullFont_get(void) { 
20142     pyobj 
= SWIG_NewPointerObj((void *)(&wxNullFont
), SWIGTYPE_p_wxFont
, 0); 
20147 static int _wrap_NullColour_set(PyObject 
*) { 
20148     PyErr_SetString(PyExc_TypeError
,"Variable NullColour is read-only."); 
20153 static PyObject 
*_wrap_NullColour_get(void) { 
20156     pyobj 
= SWIG_NewPointerObj((void *)(&wxNullColour
), SWIGTYPE_p_wxColour
, 0); 
20161 static PyObject 
*_wrap_PenList_AddPen(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
20162     PyObject 
*resultobj
; 
20163     wxPenList 
*arg1 
= (wxPenList 
*) 0 ; 
20164     wxPen 
*arg2 
= (wxPen 
*) 0 ; 
20165     PyObject 
* obj0 
= 0 ; 
20166     PyObject 
* obj1 
= 0 ; 
20167     char *kwnames
[] = { 
20168         (char *) "self",(char *) "pen", NULL 
 
20171     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_AddPen",kwnames
,&obj0
,&obj1
)) goto fail
; 
20172     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPenList
, SWIG_POINTER_EXCEPTION 
| 0); 
20173     if (SWIG_arg_fail(1)) SWIG_fail
; 
20174     SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION 
| 0); 
20175     if (SWIG_arg_fail(2)) SWIG_fail
; 
20177         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20178         (arg1
)->AddPen(arg2
); 
20180         wxPyEndAllowThreads(__tstate
); 
20181         if (PyErr_Occurred()) SWIG_fail
; 
20183     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
20190 static PyObject 
*_wrap_PenList_FindOrCreatePen(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
20191     PyObject 
*resultobj
; 
20192     wxPenList 
*arg1 
= (wxPenList 
*) 0 ; 
20193     wxColour 
*arg2 
= 0 ; 
20198     PyObject 
* obj0 
= 0 ; 
20199     PyObject 
* obj1 
= 0 ; 
20200     PyObject 
* obj2 
= 0 ; 
20201     PyObject 
* obj3 
= 0 ; 
20202     char *kwnames
[] = { 
20203         (char *) "self",(char *) "colour",(char *) "width",(char *) "style", NULL 
 
20206     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PenList_FindOrCreatePen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
20207     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPenList
, SWIG_POINTER_EXCEPTION 
| 0); 
20208     if (SWIG_arg_fail(1)) SWIG_fail
; 
20211         if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
20214         arg3 
= (int)(SWIG_As_int(obj2
));  
20215         if (SWIG_arg_fail(3)) SWIG_fail
; 
20218         arg4 
= (int)(SWIG_As_int(obj3
));  
20219         if (SWIG_arg_fail(4)) SWIG_fail
; 
20222         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20223         result 
= (wxPen 
*)(arg1
)->FindOrCreatePen((wxColour 
const &)*arg2
,arg3
,arg4
); 
20225         wxPyEndAllowThreads(__tstate
); 
20226         if (PyErr_Occurred()) SWIG_fail
; 
20228     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPen
, 0); 
20235 static PyObject 
*_wrap_PenList_RemovePen(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
20236     PyObject 
*resultobj
; 
20237     wxPenList 
*arg1 
= (wxPenList 
*) 0 ; 
20238     wxPen 
*arg2 
= (wxPen 
*) 0 ; 
20239     PyObject 
* obj0 
= 0 ; 
20240     PyObject 
* obj1 
= 0 ; 
20241     char *kwnames
[] = { 
20242         (char *) "self",(char *) "pen", NULL 
 
20245     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_RemovePen",kwnames
,&obj0
,&obj1
)) goto fail
; 
20246     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPenList
, SWIG_POINTER_EXCEPTION 
| 0); 
20247     if (SWIG_arg_fail(1)) SWIG_fail
; 
20248     SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION 
| 0); 
20249     if (SWIG_arg_fail(2)) SWIG_fail
; 
20251         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20252         (arg1
)->RemovePen(arg2
); 
20254         wxPyEndAllowThreads(__tstate
); 
20255         if (PyErr_Occurred()) SWIG_fail
; 
20257     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
20264 static PyObject 
*_wrap_PenList_GetCount(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
20265     PyObject 
*resultobj
; 
20266     wxPenList 
*arg1 
= (wxPenList 
*) 0 ; 
20268     PyObject 
* obj0 
= 0 ; 
20269     char *kwnames
[] = { 
20270         (char *) "self", NULL 
 
20273     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PenList_GetCount",kwnames
,&obj0
)) goto fail
; 
20274     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPenList
, SWIG_POINTER_EXCEPTION 
| 0); 
20275     if (SWIG_arg_fail(1)) SWIG_fail
; 
20277         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20278         result 
= (int)(arg1
)->GetCount(); 
20280         wxPyEndAllowThreads(__tstate
); 
20281         if (PyErr_Occurred()) SWIG_fail
; 
20284         resultobj 
= SWIG_From_int((int)(result
));  
20292 static PyObject 
* PenList_swigregister(PyObject 
*, PyObject 
*args
) { 
20294     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
20295     SWIG_TypeClientData(SWIGTYPE_p_wxPenList
, obj
); 
20297     return Py_BuildValue((char *)""); 
20299 static PyObject 
*_wrap_BrushList_AddBrush(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
20300     PyObject 
*resultobj
; 
20301     wxBrushList 
*arg1 
= (wxBrushList 
*) 0 ; 
20302     wxBrush 
*arg2 
= (wxBrush 
*) 0 ; 
20303     PyObject 
* obj0 
= 0 ; 
20304     PyObject 
* obj1 
= 0 ; 
20305     char *kwnames
[] = { 
20306         (char *) "self",(char *) "brush", NULL 
 
20309     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_AddBrush",kwnames
,&obj0
,&obj1
)) goto fail
; 
20310     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBrushList
, SWIG_POINTER_EXCEPTION 
| 0); 
20311     if (SWIG_arg_fail(1)) SWIG_fail
; 
20312     SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBrush
, SWIG_POINTER_EXCEPTION 
| 0); 
20313     if (SWIG_arg_fail(2)) SWIG_fail
; 
20315         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20316         (arg1
)->AddBrush(arg2
); 
20318         wxPyEndAllowThreads(__tstate
); 
20319         if (PyErr_Occurred()) SWIG_fail
; 
20321     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
20328 static PyObject 
*_wrap_BrushList_FindOrCreateBrush(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
20329     PyObject 
*resultobj
; 
20330     wxBrushList 
*arg1 
= (wxBrushList 
*) 0 ; 
20331     wxColour 
*arg2 
= 0 ; 
20332     int arg3 
= (int) wxSOLID 
; 
20335     PyObject 
* obj0 
= 0 ; 
20336     PyObject 
* obj1 
= 0 ; 
20337     PyObject 
* obj2 
= 0 ; 
20338     char *kwnames
[] = { 
20339         (char *) "self",(char *) "colour",(char *) "style", NULL 
 
20342     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:BrushList_FindOrCreateBrush",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
20343     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBrushList
, SWIG_POINTER_EXCEPTION 
| 0); 
20344     if (SWIG_arg_fail(1)) SWIG_fail
; 
20347         if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
20351             arg3 
= (int)(SWIG_As_int(obj2
));  
20352             if (SWIG_arg_fail(3)) SWIG_fail
; 
20356         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20357         result 
= (wxBrush 
*)(arg1
)->FindOrCreateBrush((wxColour 
const &)*arg2
,arg3
); 
20359         wxPyEndAllowThreads(__tstate
); 
20360         if (PyErr_Occurred()) SWIG_fail
; 
20362     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBrush
, 0); 
20369 static PyObject 
*_wrap_BrushList_RemoveBrush(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
20370     PyObject 
*resultobj
; 
20371     wxBrushList 
*arg1 
= (wxBrushList 
*) 0 ; 
20372     wxBrush 
*arg2 
= (wxBrush 
*) 0 ; 
20373     PyObject 
* obj0 
= 0 ; 
20374     PyObject 
* obj1 
= 0 ; 
20375     char *kwnames
[] = { 
20376         (char *) "self",(char *) "brush", NULL 
 
20379     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_RemoveBrush",kwnames
,&obj0
,&obj1
)) goto fail
; 
20380     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBrushList
, SWIG_POINTER_EXCEPTION 
| 0); 
20381     if (SWIG_arg_fail(1)) SWIG_fail
; 
20382     SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBrush
, SWIG_POINTER_EXCEPTION 
| 0); 
20383     if (SWIG_arg_fail(2)) SWIG_fail
; 
20385         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20386         (arg1
)->RemoveBrush(arg2
); 
20388         wxPyEndAllowThreads(__tstate
); 
20389         if (PyErr_Occurred()) SWIG_fail
; 
20391     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
20398 static PyObject 
*_wrap_BrushList_GetCount(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
20399     PyObject 
*resultobj
; 
20400     wxBrushList 
*arg1 
= (wxBrushList 
*) 0 ; 
20402     PyObject 
* obj0 
= 0 ; 
20403     char *kwnames
[] = { 
20404         (char *) "self", NULL 
 
20407     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BrushList_GetCount",kwnames
,&obj0
)) goto fail
; 
20408     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBrushList
, SWIG_POINTER_EXCEPTION 
| 0); 
20409     if (SWIG_arg_fail(1)) SWIG_fail
; 
20411         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20412         result 
= (int)(arg1
)->GetCount(); 
20414         wxPyEndAllowThreads(__tstate
); 
20415         if (PyErr_Occurred()) SWIG_fail
; 
20418         resultobj 
= SWIG_From_int((int)(result
));  
20426 static PyObject 
* BrushList_swigregister(PyObject 
*, PyObject 
*args
) { 
20428     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
20429     SWIG_TypeClientData(SWIGTYPE_p_wxBrushList
, obj
); 
20431     return Py_BuildValue((char *)""); 
20433 static PyObject 
*_wrap_new_ColourDatabase(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
20434     PyObject 
*resultobj
; 
20435     wxColourDatabase 
*result
; 
20436     char *kwnames
[] = { 
20440     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ColourDatabase",kwnames
)) goto fail
; 
20442         if (!wxPyCheckForApp()) SWIG_fail
; 
20443         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20444         result 
= (wxColourDatabase 
*)new wxColourDatabase(); 
20446         wxPyEndAllowThreads(__tstate
); 
20447         if (PyErr_Occurred()) SWIG_fail
; 
20449     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourDatabase
, 1); 
20456 static PyObject 
*_wrap_delete_ColourDatabase(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
20457     PyObject 
*resultobj
; 
20458     wxColourDatabase 
*arg1 
= (wxColourDatabase 
*) 0 ; 
20459     PyObject 
* obj0 
= 0 ; 
20460     char *kwnames
[] = { 
20461         (char *) "self", NULL 
 
20464     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ColourDatabase",kwnames
,&obj0
)) goto fail
; 
20465     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_EXCEPTION 
| 0); 
20466     if (SWIG_arg_fail(1)) SWIG_fail
; 
20468         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20471         wxPyEndAllowThreads(__tstate
); 
20472         if (PyErr_Occurred()) SWIG_fail
; 
20474     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
20481 static PyObject 
*_wrap_ColourDatabase_Find(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
20482     PyObject 
*resultobj
; 
20483     wxColourDatabase 
*arg1 
= (wxColourDatabase 
*) 0 ; 
20484     wxString 
*arg2 
= 0 ; 
20486     bool temp2 
= false ; 
20487     PyObject 
* obj0 
= 0 ; 
20488     PyObject 
* obj1 
= 0 ; 
20489     char *kwnames
[] = { 
20490         (char *) "self",(char *) "name", NULL 
 
20493     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_Find",kwnames
,&obj0
,&obj1
)) goto fail
; 
20494     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_EXCEPTION 
| 0); 
20495     if (SWIG_arg_fail(1)) SWIG_fail
; 
20497         arg2 
= wxString_in_helper(obj1
); 
20498         if (arg2 
== NULL
) SWIG_fail
; 
20502         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20503         result 
= ((wxColourDatabase 
const *)arg1
)->Find((wxString 
const &)*arg2
); 
20505         wxPyEndAllowThreads(__tstate
); 
20506         if (PyErr_Occurred()) SWIG_fail
; 
20509         wxColour 
* resultptr
; 
20510         resultptr 
= new wxColour((wxColour 
&)(result
)); 
20511         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1); 
20527 static PyObject 
*_wrap_ColourDatabase_FindName(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
20528     PyObject 
*resultobj
; 
20529     wxColourDatabase 
*arg1 
= (wxColourDatabase 
*) 0 ; 
20530     wxColour 
*arg2 
= 0 ; 
20533     PyObject 
* obj0 
= 0 ; 
20534     PyObject 
* obj1 
= 0 ; 
20535     char *kwnames
[] = { 
20536         (char *) "self",(char *) "colour", NULL 
 
20539     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_FindName",kwnames
,&obj0
,&obj1
)) goto fail
; 
20540     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_EXCEPTION 
| 0); 
20541     if (SWIG_arg_fail(1)) SWIG_fail
; 
20544         if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
20547         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20548         result 
= ((wxColourDatabase 
const *)arg1
)->FindName((wxColour 
const &)*arg2
); 
20550         wxPyEndAllowThreads(__tstate
); 
20551         if (PyErr_Occurred()) SWIG_fail
; 
20555         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
20557         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
20566 static PyObject 
*_wrap_ColourDatabase_AddColour(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
20567     PyObject 
*resultobj
; 
20568     wxColourDatabase 
*arg1 
= (wxColourDatabase 
*) 0 ; 
20569     wxString 
*arg2 
= 0 ; 
20570     wxColour 
*arg3 
= 0 ; 
20571     bool temp2 
= false ; 
20573     PyObject 
* obj0 
= 0 ; 
20574     PyObject 
* obj1 
= 0 ; 
20575     PyObject 
* obj2 
= 0 ; 
20576     char *kwnames
[] = { 
20577         (char *) "self",(char *) "name",(char *) "colour", NULL 
 
20580     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourDatabase_AddColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
20581     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_EXCEPTION 
| 0); 
20582     if (SWIG_arg_fail(1)) SWIG_fail
; 
20584         arg2 
= wxString_in_helper(obj1
); 
20585         if (arg2 
== NULL
) SWIG_fail
; 
20590         if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
; 
20593         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20594         (arg1
)->AddColour((wxString 
const &)*arg2
,(wxColour 
const &)*arg3
); 
20596         wxPyEndAllowThreads(__tstate
); 
20597         if (PyErr_Occurred()) SWIG_fail
; 
20599     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
20614 static PyObject 
*_wrap_ColourDatabase_Append(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
20615     PyObject 
*resultobj
; 
20616     wxColourDatabase 
*arg1 
= (wxColourDatabase 
*) 0 ; 
20617     wxString 
*arg2 
= 0 ; 
20621     bool temp2 
= false ; 
20622     PyObject 
* obj0 
= 0 ; 
20623     PyObject 
* obj1 
= 0 ; 
20624     PyObject 
* obj2 
= 0 ; 
20625     PyObject 
* obj3 
= 0 ; 
20626     PyObject 
* obj4 
= 0 ; 
20627     char *kwnames
[] = { 
20628         (char *) "self",(char *) "name",(char *) "red",(char *) "green",(char *) "blue", NULL 
 
20631     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:ColourDatabase_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
; 
20632     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_EXCEPTION 
| 0); 
20633     if (SWIG_arg_fail(1)) SWIG_fail
; 
20635         arg2 
= wxString_in_helper(obj1
); 
20636         if (arg2 
== NULL
) SWIG_fail
; 
20640         arg3 
= (int)(SWIG_As_int(obj2
));  
20641         if (SWIG_arg_fail(3)) SWIG_fail
; 
20644         arg4 
= (int)(SWIG_As_int(obj3
));  
20645         if (SWIG_arg_fail(4)) SWIG_fail
; 
20648         arg5 
= (int)(SWIG_As_int(obj4
));  
20649         if (SWIG_arg_fail(5)) SWIG_fail
; 
20652         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20653         wxColourDatabase_Append(arg1
,(wxString 
const &)*arg2
,arg3
,arg4
,arg5
); 
20655         wxPyEndAllowThreads(__tstate
); 
20656         if (PyErr_Occurred()) SWIG_fail
; 
20658     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
20673 static PyObject 
* ColourDatabase_swigregister(PyObject 
*, PyObject 
*args
) { 
20675     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
20676     SWIG_TypeClientData(SWIGTYPE_p_wxColourDatabase
, obj
); 
20678     return Py_BuildValue((char *)""); 
20680 static PyObject 
*_wrap_FontList_AddFont(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
20681     PyObject 
*resultobj
; 
20682     wxFontList 
*arg1 
= (wxFontList 
*) 0 ; 
20683     wxFont 
*arg2 
= (wxFont 
*) 0 ; 
20684     PyObject 
* obj0 
= 0 ; 
20685     PyObject 
* obj1 
= 0 ; 
20686     char *kwnames
[] = { 
20687         (char *) "self",(char *) "font", NULL 
 
20690     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_AddFont",kwnames
,&obj0
,&obj1
)) goto fail
; 
20691     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontList
, SWIG_POINTER_EXCEPTION 
| 0); 
20692     if (SWIG_arg_fail(1)) SWIG_fail
; 
20693     SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION 
| 0); 
20694     if (SWIG_arg_fail(2)) SWIG_fail
; 
20696         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20697         (arg1
)->AddFont(arg2
); 
20699         wxPyEndAllowThreads(__tstate
); 
20700         if (PyErr_Occurred()) SWIG_fail
; 
20702     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
20709 static PyObject 
*_wrap_FontList_FindOrCreateFont(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
20710     PyObject 
*resultobj
; 
20711     wxFontList 
*arg1 
= (wxFontList 
*) 0 ; 
20716     bool arg6 
= (bool) false ; 
20717     wxString 
const &arg7_defvalue 
= wxPyEmptyString 
; 
20718     wxString 
*arg7 
= (wxString 
*) &arg7_defvalue 
; 
20719     wxFontEncoding arg8 
= (wxFontEncoding
) wxFONTENCODING_DEFAULT 
; 
20721     bool temp7 
= false ; 
20722     PyObject 
* obj0 
= 0 ; 
20723     PyObject 
* obj1 
= 0 ; 
20724     PyObject 
* obj2 
= 0 ; 
20725     PyObject 
* obj3 
= 0 ; 
20726     PyObject 
* obj4 
= 0 ; 
20727     PyObject 
* obj5 
= 0 ; 
20728     PyObject 
* obj6 
= 0 ; 
20729     PyObject 
* obj7 
= 0 ; 
20730     char *kwnames
[] = { 
20731         (char *) "self",(char *) "point_size",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "facename",(char *) "encoding", NULL 
 
20734     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:FontList_FindOrCreateFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
; 
20735     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontList
, SWIG_POINTER_EXCEPTION 
| 0); 
20736     if (SWIG_arg_fail(1)) SWIG_fail
; 
20738         arg2 
= (int)(SWIG_As_int(obj1
));  
20739         if (SWIG_arg_fail(2)) SWIG_fail
; 
20742         arg3 
= (int)(SWIG_As_int(obj2
));  
20743         if (SWIG_arg_fail(3)) SWIG_fail
; 
20746         arg4 
= (int)(SWIG_As_int(obj3
));  
20747         if (SWIG_arg_fail(4)) SWIG_fail
; 
20750         arg5 
= (int)(SWIG_As_int(obj4
));  
20751         if (SWIG_arg_fail(5)) SWIG_fail
; 
20755             arg6 
= (bool)(SWIG_As_bool(obj5
));  
20756             if (SWIG_arg_fail(6)) SWIG_fail
; 
20761             arg7 
= wxString_in_helper(obj6
); 
20762             if (arg7 
== NULL
) SWIG_fail
; 
20768             arg8 
= (wxFontEncoding
)(SWIG_As_int(obj7
));  
20769             if (SWIG_arg_fail(8)) SWIG_fail
; 
20773         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20774         result 
= (wxFont 
*)(arg1
)->FindOrCreateFont(arg2
,arg3
,arg4
,arg5
,arg6
,(wxString 
const &)*arg7
,(wxFontEncoding 
)arg8
); 
20776         wxPyEndAllowThreads(__tstate
); 
20777         if (PyErr_Occurred()) SWIG_fail
; 
20779     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 0); 
20794 static PyObject 
*_wrap_FontList_RemoveFont(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
20795     PyObject 
*resultobj
; 
20796     wxFontList 
*arg1 
= (wxFontList 
*) 0 ; 
20797     wxFont 
*arg2 
= (wxFont 
*) 0 ; 
20798     PyObject 
* obj0 
= 0 ; 
20799     PyObject 
* obj1 
= 0 ; 
20800     char *kwnames
[] = { 
20801         (char *) "self",(char *) "font", NULL 
 
20804     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_RemoveFont",kwnames
,&obj0
,&obj1
)) goto fail
; 
20805     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontList
, SWIG_POINTER_EXCEPTION 
| 0); 
20806     if (SWIG_arg_fail(1)) SWIG_fail
; 
20807     SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION 
| 0); 
20808     if (SWIG_arg_fail(2)) SWIG_fail
; 
20810         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20811         (arg1
)->RemoveFont(arg2
); 
20813         wxPyEndAllowThreads(__tstate
); 
20814         if (PyErr_Occurred()) SWIG_fail
; 
20816     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
20823 static PyObject 
*_wrap_FontList_GetCount(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
20824     PyObject 
*resultobj
; 
20825     wxFontList 
*arg1 
= (wxFontList 
*) 0 ; 
20827     PyObject 
* obj0 
= 0 ; 
20828     char *kwnames
[] = { 
20829         (char *) "self", NULL 
 
20832     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontList_GetCount",kwnames
,&obj0
)) goto fail
; 
20833     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontList
, SWIG_POINTER_EXCEPTION 
| 0); 
20834     if (SWIG_arg_fail(1)) SWIG_fail
; 
20836         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20837         result 
= (int)(arg1
)->GetCount(); 
20839         wxPyEndAllowThreads(__tstate
); 
20840         if (PyErr_Occurred()) SWIG_fail
; 
20843         resultobj 
= SWIG_From_int((int)(result
));  
20851 static PyObject 
* FontList_swigregister(PyObject 
*, PyObject 
*args
) { 
20853     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
20854     SWIG_TypeClientData(SWIGTYPE_p_wxFontList
, obj
); 
20856     return Py_BuildValue((char *)""); 
20858 static int _wrap_TheFontList_set(PyObject 
*) { 
20859     PyErr_SetString(PyExc_TypeError
,"Variable TheFontList is read-only."); 
20864 static PyObject 
*_wrap_TheFontList_get(void) { 
20867     pyobj 
= SWIG_NewPointerObj((void *)(wxTheFontList
), SWIGTYPE_p_wxFontList
, 0); 
20872 static int _wrap_ThePenList_set(PyObject 
*) { 
20873     PyErr_SetString(PyExc_TypeError
,"Variable ThePenList is read-only."); 
20878 static PyObject 
*_wrap_ThePenList_get(void) { 
20881     pyobj 
= SWIG_NewPointerObj((void *)(wxThePenList
), SWIGTYPE_p_wxPenList
, 0); 
20886 static int _wrap_TheBrushList_set(PyObject 
*) { 
20887     PyErr_SetString(PyExc_TypeError
,"Variable TheBrushList is read-only."); 
20892 static PyObject 
*_wrap_TheBrushList_get(void) { 
20895     pyobj 
= SWIG_NewPointerObj((void *)(wxTheBrushList
), SWIGTYPE_p_wxBrushList
, 0); 
20900 static int _wrap_TheColourDatabase_set(PyObject 
*) { 
20901     PyErr_SetString(PyExc_TypeError
,"Variable TheColourDatabase is read-only."); 
20906 static PyObject 
*_wrap_TheColourDatabase_get(void) { 
20909     pyobj 
= SWIG_NewPointerObj((void *)(wxTheColourDatabase
), SWIGTYPE_p_wxColourDatabase
, 0); 
20914 static PyObject 
*_wrap_new_Effects(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
20915     PyObject 
*resultobj
; 
20917     char *kwnames
[] = { 
20921     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Effects",kwnames
)) goto fail
; 
20923         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20924         result 
= (wxEffects 
*)new wxEffects(); 
20926         wxPyEndAllowThreads(__tstate
); 
20927         if (PyErr_Occurred()) SWIG_fail
; 
20929     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEffects
, 1); 
20936 static PyObject 
*_wrap_Effects_GetHighlightColour(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
20937     PyObject 
*resultobj
; 
20938     wxEffects 
*arg1 
= (wxEffects 
*) 0 ; 
20940     PyObject 
* obj0 
= 0 ; 
20941     char *kwnames
[] = { 
20942         (char *) "self", NULL 
 
20945     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetHighlightColour",kwnames
,&obj0
)) goto fail
; 
20946     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEffects
, SWIG_POINTER_EXCEPTION 
| 0); 
20947     if (SWIG_arg_fail(1)) SWIG_fail
; 
20949         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20950         result 
= ((wxEffects 
const *)arg1
)->GetHighlightColour(); 
20952         wxPyEndAllowThreads(__tstate
); 
20953         if (PyErr_Occurred()) SWIG_fail
; 
20956         wxColour 
* resultptr
; 
20957         resultptr 
= new wxColour((wxColour 
&)(result
)); 
20958         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1); 
20966 static PyObject 
*_wrap_Effects_GetLightShadow(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
20967     PyObject 
*resultobj
; 
20968     wxEffects 
*arg1 
= (wxEffects 
*) 0 ; 
20970     PyObject 
* obj0 
= 0 ; 
20971     char *kwnames
[] = { 
20972         (char *) "self", NULL 
 
20975     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetLightShadow",kwnames
,&obj0
)) goto fail
; 
20976     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEffects
, SWIG_POINTER_EXCEPTION 
| 0); 
20977     if (SWIG_arg_fail(1)) SWIG_fail
; 
20979         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20980         result 
= ((wxEffects 
const *)arg1
)->GetLightShadow(); 
20982         wxPyEndAllowThreads(__tstate
); 
20983         if (PyErr_Occurred()) SWIG_fail
; 
20986         wxColour 
* resultptr
; 
20987         resultptr 
= new wxColour((wxColour 
&)(result
)); 
20988         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1); 
20996 static PyObject 
*_wrap_Effects_GetFaceColour(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
20997     PyObject 
*resultobj
; 
20998     wxEffects 
*arg1 
= (wxEffects 
*) 0 ; 
21000     PyObject 
* obj0 
= 0 ; 
21001     char *kwnames
[] = { 
21002         (char *) "self", NULL 
 
21005     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetFaceColour",kwnames
,&obj0
)) goto fail
; 
21006     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEffects
, SWIG_POINTER_EXCEPTION 
| 0); 
21007     if (SWIG_arg_fail(1)) SWIG_fail
; 
21009         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21010         result 
= ((wxEffects 
const *)arg1
)->GetFaceColour(); 
21012         wxPyEndAllowThreads(__tstate
); 
21013         if (PyErr_Occurred()) SWIG_fail
; 
21016         wxColour 
* resultptr
; 
21017         resultptr 
= new wxColour((wxColour 
&)(result
)); 
21018         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1); 
21026 static PyObject 
*_wrap_Effects_GetMediumShadow(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
21027     PyObject 
*resultobj
; 
21028     wxEffects 
*arg1 
= (wxEffects 
*) 0 ; 
21030     PyObject 
* obj0 
= 0 ; 
21031     char *kwnames
[] = { 
21032         (char *) "self", NULL 
 
21035     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetMediumShadow",kwnames
,&obj0
)) goto fail
; 
21036     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEffects
, SWIG_POINTER_EXCEPTION 
| 0); 
21037     if (SWIG_arg_fail(1)) SWIG_fail
; 
21039         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21040         result 
= ((wxEffects 
const *)arg1
)->GetMediumShadow(); 
21042         wxPyEndAllowThreads(__tstate
); 
21043         if (PyErr_Occurred()) SWIG_fail
; 
21046         wxColour 
* resultptr
; 
21047         resultptr 
= new wxColour((wxColour 
&)(result
)); 
21048         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1); 
21056 static PyObject 
*_wrap_Effects_GetDarkShadow(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
21057     PyObject 
*resultobj
; 
21058     wxEffects 
*arg1 
= (wxEffects 
*) 0 ; 
21060     PyObject 
* obj0 
= 0 ; 
21061     char *kwnames
[] = { 
21062         (char *) "self", NULL 
 
21065     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetDarkShadow",kwnames
,&obj0
)) goto fail
; 
21066     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEffects
, SWIG_POINTER_EXCEPTION 
| 0); 
21067     if (SWIG_arg_fail(1)) SWIG_fail
; 
21069         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21070         result 
= ((wxEffects 
const *)arg1
)->GetDarkShadow(); 
21072         wxPyEndAllowThreads(__tstate
); 
21073         if (PyErr_Occurred()) SWIG_fail
; 
21076         wxColour 
* resultptr
; 
21077         resultptr 
= new wxColour((wxColour 
&)(result
)); 
21078         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1); 
21086 static PyObject 
*_wrap_Effects_SetHighlightColour(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
21087     PyObject 
*resultobj
; 
21088     wxEffects 
*arg1 
= (wxEffects 
*) 0 ; 
21089     wxColour 
*arg2 
= 0 ; 
21091     PyObject 
* obj0 
= 0 ; 
21092     PyObject 
* obj1 
= 0 ; 
21093     char *kwnames
[] = { 
21094         (char *) "self",(char *) "c", NULL 
 
21097     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetHighlightColour",kwnames
,&obj0
,&obj1
)) goto fail
; 
21098     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEffects
, SWIG_POINTER_EXCEPTION 
| 0); 
21099     if (SWIG_arg_fail(1)) SWIG_fail
; 
21102         if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
21105         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21106         (arg1
)->SetHighlightColour((wxColour 
const &)*arg2
); 
21108         wxPyEndAllowThreads(__tstate
); 
21109         if (PyErr_Occurred()) SWIG_fail
; 
21111     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
21118 static PyObject 
*_wrap_Effects_SetLightShadow(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
21119     PyObject 
*resultobj
; 
21120     wxEffects 
*arg1 
= (wxEffects 
*) 0 ; 
21121     wxColour 
*arg2 
= 0 ; 
21123     PyObject 
* obj0 
= 0 ; 
21124     PyObject 
* obj1 
= 0 ; 
21125     char *kwnames
[] = { 
21126         (char *) "self",(char *) "c", NULL 
 
21129     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetLightShadow",kwnames
,&obj0
,&obj1
)) goto fail
; 
21130     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEffects
, SWIG_POINTER_EXCEPTION 
| 0); 
21131     if (SWIG_arg_fail(1)) SWIG_fail
; 
21134         if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
21137         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21138         (arg1
)->SetLightShadow((wxColour 
const &)*arg2
); 
21140         wxPyEndAllowThreads(__tstate
); 
21141         if (PyErr_Occurred()) SWIG_fail
; 
21143     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
21150 static PyObject 
*_wrap_Effects_SetFaceColour(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
21151     PyObject 
*resultobj
; 
21152     wxEffects 
*arg1 
= (wxEffects 
*) 0 ; 
21153     wxColour 
*arg2 
= 0 ; 
21155     PyObject 
* obj0 
= 0 ; 
21156     PyObject 
* obj1 
= 0 ; 
21157     char *kwnames
[] = { 
21158         (char *) "self",(char *) "c", NULL 
 
21161     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetFaceColour",kwnames
,&obj0
,&obj1
)) goto fail
; 
21162     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEffects
, SWIG_POINTER_EXCEPTION 
| 0); 
21163     if (SWIG_arg_fail(1)) SWIG_fail
; 
21166         if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
21169         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21170         (arg1
)->SetFaceColour((wxColour 
const &)*arg2
); 
21172         wxPyEndAllowThreads(__tstate
); 
21173         if (PyErr_Occurred()) SWIG_fail
; 
21175     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
21182 static PyObject 
*_wrap_Effects_SetMediumShadow(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
21183     PyObject 
*resultobj
; 
21184     wxEffects 
*arg1 
= (wxEffects 
*) 0 ; 
21185     wxColour 
*arg2 
= 0 ; 
21187     PyObject 
* obj0 
= 0 ; 
21188     PyObject 
* obj1 
= 0 ; 
21189     char *kwnames
[] = { 
21190         (char *) "self",(char *) "c", NULL 
 
21193     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetMediumShadow",kwnames
,&obj0
,&obj1
)) goto fail
; 
21194     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEffects
, SWIG_POINTER_EXCEPTION 
| 0); 
21195     if (SWIG_arg_fail(1)) SWIG_fail
; 
21198         if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
21201         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21202         (arg1
)->SetMediumShadow((wxColour 
const &)*arg2
); 
21204         wxPyEndAllowThreads(__tstate
); 
21205         if (PyErr_Occurred()) SWIG_fail
; 
21207     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
21214 static PyObject 
*_wrap_Effects_SetDarkShadow(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
21215     PyObject 
*resultobj
; 
21216     wxEffects 
*arg1 
= (wxEffects 
*) 0 ; 
21217     wxColour 
*arg2 
= 0 ; 
21219     PyObject 
* obj0 
= 0 ; 
21220     PyObject 
* obj1 
= 0 ; 
21221     char *kwnames
[] = { 
21222         (char *) "self",(char *) "c", NULL 
 
21225     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetDarkShadow",kwnames
,&obj0
,&obj1
)) goto fail
; 
21226     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEffects
, SWIG_POINTER_EXCEPTION 
| 0); 
21227     if (SWIG_arg_fail(1)) SWIG_fail
; 
21230         if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
21233         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21234         (arg1
)->SetDarkShadow((wxColour 
const &)*arg2
); 
21236         wxPyEndAllowThreads(__tstate
); 
21237         if (PyErr_Occurred()) SWIG_fail
; 
21239     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
21246 static PyObject 
*_wrap_Effects_Set(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
21247     PyObject 
*resultobj
; 
21248     wxEffects 
*arg1 
= (wxEffects 
*) 0 ; 
21249     wxColour 
*arg2 
= 0 ; 
21250     wxColour 
*arg3 
= 0 ; 
21251     wxColour 
*arg4 
= 0 ; 
21252     wxColour 
*arg5 
= 0 ; 
21253     wxColour 
*arg6 
= 0 ; 
21259     PyObject 
* obj0 
= 0 ; 
21260     PyObject 
* obj1 
= 0 ; 
21261     PyObject 
* obj2 
= 0 ; 
21262     PyObject 
* obj3 
= 0 ; 
21263     PyObject 
* obj4 
= 0 ; 
21264     PyObject 
* obj5 
= 0 ; 
21265     char *kwnames
[] = { 
21266         (char *) "self",(char *) "highlightColour",(char *) "lightShadow",(char *) "faceColour",(char *) "mediumShadow",(char *) "darkShadow", NULL 
 
21269     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Effects_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
; 
21270     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEffects
, SWIG_POINTER_EXCEPTION 
| 0); 
21271     if (SWIG_arg_fail(1)) SWIG_fail
; 
21274         if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
21278         if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
; 
21282         if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
; 
21286         if ( ! wxColour_helper(obj4
, &arg5
)) SWIG_fail
; 
21290         if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
; 
21293         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21294         (arg1
)->Set((wxColour 
const &)*arg2
,(wxColour 
const &)*arg3
,(wxColour 
const &)*arg4
,(wxColour 
const &)*arg5
,(wxColour 
const &)*arg6
); 
21296         wxPyEndAllowThreads(__tstate
); 
21297         if (PyErr_Occurred()) SWIG_fail
; 
21299     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
21306 static PyObject 
*_wrap_Effects_DrawSunkenEdge(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
21307     PyObject 
*resultobj
; 
21308     wxEffects 
*arg1 
= (wxEffects 
*) 0 ; 
21311     int arg4 
= (int) 1 ; 
21313     PyObject 
* obj0 
= 0 ; 
21314     PyObject 
* obj1 
= 0 ; 
21315     PyObject 
* obj2 
= 0 ; 
21316     PyObject 
* obj3 
= 0 ; 
21317     char *kwnames
[] = { 
21318         (char *) "self",(char *) "dc",(char *) "rect",(char *) "borderSize", NULL 
 
21321     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Effects_DrawSunkenEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
21322     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEffects
, SWIG_POINTER_EXCEPTION 
| 0); 
21323     if (SWIG_arg_fail(1)) SWIG_fail
; 
21325         SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
21326         if (SWIG_arg_fail(2)) SWIG_fail
; 
21327         if (arg2 
== NULL
) { 
21328             SWIG_null_ref("wxDC"); 
21330         if (SWIG_arg_fail(2)) SWIG_fail
; 
21334         if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
; 
21338             arg4 
= (int)(SWIG_As_int(obj3
));  
21339             if (SWIG_arg_fail(4)) SWIG_fail
; 
21343         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21344         (arg1
)->DrawSunkenEdge(*arg2
,(wxRect 
const &)*arg3
,arg4
); 
21346         wxPyEndAllowThreads(__tstate
); 
21347         if (PyErr_Occurred()) SWIG_fail
; 
21349     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
21356 static PyObject 
*_wrap_Effects_TileBitmap(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
21357     PyObject 
*resultobj
; 
21358     wxEffects 
*arg1 
= (wxEffects 
*) 0 ; 
21361     wxBitmap 
*arg4 
= 0 ; 
21364     PyObject 
* obj0 
= 0 ; 
21365     PyObject 
* obj1 
= 0 ; 
21366     PyObject 
* obj2 
= 0 ; 
21367     PyObject 
* obj3 
= 0 ; 
21368     char *kwnames
[] = { 
21369         (char *) "self",(char *) "rect",(char *) "dc",(char *) "bitmap", NULL 
 
21372     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Effects_TileBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
; 
21373     SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEffects
, SWIG_POINTER_EXCEPTION 
| 0); 
21374     if (SWIG_arg_fail(1)) SWIG_fail
; 
21377         if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
; 
21380         SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION 
| 0); 
21381         if (SWIG_arg_fail(3)) SWIG_fail
; 
21382         if (arg3 
== NULL
) { 
21383             SWIG_null_ref("wxDC"); 
21385         if (SWIG_arg_fail(3)) SWIG_fail
; 
21388         SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION 
| 0); 
21389         if (SWIG_arg_fail(4)) SWIG_fail
; 
21390         if (arg4 
== NULL
) { 
21391             SWIG_null_ref("wxBitmap"); 
21393         if (SWIG_arg_fail(4)) SWIG_fail
; 
21396         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21397         result 
= (bool)(arg1
)->TileBitmap((wxRect 
const &)*arg2
,*arg3
,*arg4
); 
21399         wxPyEndAllowThreads(__tstate
); 
21400         if (PyErr_Occurred()) SWIG_fail
; 
21403         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
21411 static PyObject 
* Effects_swigregister(PyObject 
*, PyObject 
*args
) { 
21413     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
21414     SWIG_TypeClientData(SWIGTYPE_p_wxEffects
, obj
); 
21416     return Py_BuildValue((char *)""); 
21418 static PyMethodDef SwigMethods
[] = { 
21419          { (char *)"new_GDIObject", (PyCFunction
) _wrap_new_GDIObject
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21420          { (char *)"delete_GDIObject", (PyCFunction
) _wrap_delete_GDIObject
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21421          { (char *)"GDIObject_GetVisible", (PyCFunction
) _wrap_GDIObject_GetVisible
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21422          { (char *)"GDIObject_SetVisible", (PyCFunction
) _wrap_GDIObject_SetVisible
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21423          { (char *)"GDIObject_IsNull", (PyCFunction
) _wrap_GDIObject_IsNull
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21424          { (char *)"GDIObject_swigregister", GDIObject_swigregister
, METH_VARARGS
, NULL
}, 
21425          { (char *)"new_Colour", (PyCFunction
) _wrap_new_Colour
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21426          { (char *)"new_NamedColour", (PyCFunction
) _wrap_new_NamedColour
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21427          { (char *)"new_ColourRGB", (PyCFunction
) _wrap_new_ColourRGB
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21428          { (char *)"delete_Colour", (PyCFunction
) _wrap_delete_Colour
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21429          { (char *)"Colour_Red", (PyCFunction
) _wrap_Colour_Red
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21430          { (char *)"Colour_Green", (PyCFunction
) _wrap_Colour_Green
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21431          { (char *)"Colour_Blue", (PyCFunction
) _wrap_Colour_Blue
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21432          { (char *)"Colour_Ok", (PyCFunction
) _wrap_Colour_Ok
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21433          { (char *)"Colour_Set", (PyCFunction
) _wrap_Colour_Set
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21434          { (char *)"Colour_SetRGB", (PyCFunction
) _wrap_Colour_SetRGB
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21435          { (char *)"Colour_SetFromName", (PyCFunction
) _wrap_Colour_SetFromName
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21436          { (char *)"Colour_GetPixel", (PyCFunction
) _wrap_Colour_GetPixel
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21437          { (char *)"Colour___eq__", (PyCFunction
) _wrap_Colour___eq__
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21438          { (char *)"Colour___ne__", (PyCFunction
) _wrap_Colour___ne__
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21439          { (char *)"Colour_Get", (PyCFunction
) _wrap_Colour_Get
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21440          { (char *)"Colour_GetRGB", (PyCFunction
) _wrap_Colour_GetRGB
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21441          { (char *)"Colour_swigregister", Colour_swigregister
, METH_VARARGS
, NULL
}, 
21442          { (char *)"new_Palette", (PyCFunction
) _wrap_new_Palette
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21443          { (char *)"delete_Palette", (PyCFunction
) _wrap_delete_Palette
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21444          { (char *)"Palette_GetPixel", (PyCFunction
) _wrap_Palette_GetPixel
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21445          { (char *)"Palette_GetRGB", (PyCFunction
) _wrap_Palette_GetRGB
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21446          { (char *)"Palette_GetColoursCount", (PyCFunction
) _wrap_Palette_GetColoursCount
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21447          { (char *)"Palette_Ok", (PyCFunction
) _wrap_Palette_Ok
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21448          { (char *)"Palette_swigregister", Palette_swigregister
, METH_VARARGS
, NULL
}, 
21449          { (char *)"new_Pen", (PyCFunction
) _wrap_new_Pen
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21450          { (char *)"delete_Pen", (PyCFunction
) _wrap_delete_Pen
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21451          { (char *)"Pen_GetCap", (PyCFunction
) _wrap_Pen_GetCap
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21452          { (char *)"Pen_GetColour", (PyCFunction
) _wrap_Pen_GetColour
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21453          { (char *)"Pen_GetJoin", (PyCFunction
) _wrap_Pen_GetJoin
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21454          { (char *)"Pen_GetStyle", (PyCFunction
) _wrap_Pen_GetStyle
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21455          { (char *)"Pen_GetWidth", (PyCFunction
) _wrap_Pen_GetWidth
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21456          { (char *)"Pen_Ok", (PyCFunction
) _wrap_Pen_Ok
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21457          { (char *)"Pen_SetCap", (PyCFunction
) _wrap_Pen_SetCap
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21458          { (char *)"Pen_SetColour", (PyCFunction
) _wrap_Pen_SetColour
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21459          { (char *)"Pen_SetJoin", (PyCFunction
) _wrap_Pen_SetJoin
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21460          { (char *)"Pen_SetStyle", (PyCFunction
) _wrap_Pen_SetStyle
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21461          { (char *)"Pen_SetWidth", (PyCFunction
) _wrap_Pen_SetWidth
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21462          { (char *)"Pen_SetDashes", (PyCFunction
) _wrap_Pen_SetDashes
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21463          { (char *)"Pen_GetDashes", (PyCFunction
) _wrap_Pen_GetDashes
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21464          { (char *)"Pen__SetDashes", (PyCFunction
) _wrap_Pen__SetDashes
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21465          { (char *)"Pen_GetDashCount", (PyCFunction
) _wrap_Pen_GetDashCount
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21466          { (char *)"Pen_GetStipple", (PyCFunction
) _wrap_Pen_GetStipple
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21467          { (char *)"Pen_SetStipple", (PyCFunction
) _wrap_Pen_SetStipple
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21468          { (char *)"Pen___eq__", (PyCFunction
) _wrap_Pen___eq__
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21469          { (char *)"Pen___ne__", (PyCFunction
) _wrap_Pen___ne__
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21470          { (char *)"Pen_swigregister", Pen_swigregister
, METH_VARARGS
, NULL
}, 
21471          { (char *)"new_Brush", (PyCFunction
) _wrap_new_Brush
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21472          { (char *)"delete_Brush", (PyCFunction
) _wrap_delete_Brush
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21473          { (char *)"Brush_SetColour", (PyCFunction
) _wrap_Brush_SetColour
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21474          { (char *)"Brush_SetStyle", (PyCFunction
) _wrap_Brush_SetStyle
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21475          { (char *)"Brush_SetStipple", (PyCFunction
) _wrap_Brush_SetStipple
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21476          { (char *)"Brush_GetColour", (PyCFunction
) _wrap_Brush_GetColour
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21477          { (char *)"Brush_GetStyle", (PyCFunction
) _wrap_Brush_GetStyle
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21478          { (char *)"Brush_GetStipple", (PyCFunction
) _wrap_Brush_GetStipple
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21479          { (char *)"Brush_IsHatch", (PyCFunction
) _wrap_Brush_IsHatch
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21480          { (char *)"Brush_Ok", (PyCFunction
) _wrap_Brush_Ok
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21481          { (char *)"Brush_swigregister", Brush_swigregister
, METH_VARARGS
, NULL
}, 
21482          { (char *)"new_Bitmap", (PyCFunction
) _wrap_new_Bitmap
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21483          { (char *)"delete_Bitmap", (PyCFunction
) _wrap_delete_Bitmap
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21484          { (char *)"new_EmptyBitmap", (PyCFunction
) _wrap_new_EmptyBitmap
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21485          { (char *)"new_BitmapFromIcon", (PyCFunction
) _wrap_new_BitmapFromIcon
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21486          { (char *)"new_BitmapFromImage", (PyCFunction
) _wrap_new_BitmapFromImage
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21487          { (char *)"new_BitmapFromXPMData", (PyCFunction
) _wrap_new_BitmapFromXPMData
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21488          { (char *)"new_BitmapFromBits", (PyCFunction
) _wrap_new_BitmapFromBits
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21489          { (char *)"Bitmap_GetHandle", (PyCFunction
) _wrap_Bitmap_GetHandle
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21490          { (char *)"Bitmap_SetHandle", (PyCFunction
) _wrap_Bitmap_SetHandle
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21491          { (char *)"Bitmap_Ok", (PyCFunction
) _wrap_Bitmap_Ok
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21492          { (char *)"Bitmap_GetWidth", (PyCFunction
) _wrap_Bitmap_GetWidth
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21493          { (char *)"Bitmap_GetHeight", (PyCFunction
) _wrap_Bitmap_GetHeight
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21494          { (char *)"Bitmap_GetDepth", (PyCFunction
) _wrap_Bitmap_GetDepth
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21495          { (char *)"Bitmap_GetSize", (PyCFunction
) _wrap_Bitmap_GetSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21496          { (char *)"Bitmap_ConvertToImage", (PyCFunction
) _wrap_Bitmap_ConvertToImage
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21497          { (char *)"Bitmap_GetMask", (PyCFunction
) _wrap_Bitmap_GetMask
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21498          { (char *)"Bitmap_SetMask", (PyCFunction
) _wrap_Bitmap_SetMask
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21499          { (char *)"Bitmap_SetMaskColour", (PyCFunction
) _wrap_Bitmap_SetMaskColour
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21500          { (char *)"Bitmap_GetSubBitmap", (PyCFunction
) _wrap_Bitmap_GetSubBitmap
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21501          { (char *)"Bitmap_SaveFile", (PyCFunction
) _wrap_Bitmap_SaveFile
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21502          { (char *)"Bitmap_LoadFile", (PyCFunction
) _wrap_Bitmap_LoadFile
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21503          { (char *)"Bitmap_GetPalette", (PyCFunction
) _wrap_Bitmap_GetPalette
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21504          { (char *)"Bitmap_SetPalette", (PyCFunction
) _wrap_Bitmap_SetPalette
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21505          { (char *)"Bitmap_CopyFromIcon", (PyCFunction
) _wrap_Bitmap_CopyFromIcon
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21506          { (char *)"Bitmap_SetHeight", (PyCFunction
) _wrap_Bitmap_SetHeight
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21507          { (char *)"Bitmap_SetWidth", (PyCFunction
) _wrap_Bitmap_SetWidth
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21508          { (char *)"Bitmap_SetDepth", (PyCFunction
) _wrap_Bitmap_SetDepth
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21509          { (char *)"Bitmap_SetSize", (PyCFunction
) _wrap_Bitmap_SetSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21510          { (char *)"Bitmap_CopyFromCursor", (PyCFunction
) _wrap_Bitmap_CopyFromCursor
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21511          { (char *)"Bitmap_GetQuality", (PyCFunction
) _wrap_Bitmap_GetQuality
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21512          { (char *)"Bitmap_SetQuality", (PyCFunction
) _wrap_Bitmap_SetQuality
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21513          { (char *)"Bitmap___eq__", (PyCFunction
) _wrap_Bitmap___eq__
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21514          { (char *)"Bitmap___ne__", (PyCFunction
) _wrap_Bitmap___ne__
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21515          { (char *)"Bitmap_swigregister", Bitmap_swigregister
, METH_VARARGS
, NULL
}, 
21516          { (char *)"new_Mask", (PyCFunction
) _wrap_new_Mask
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21517          { (char *)"Mask_swigregister", Mask_swigregister
, METH_VARARGS
, NULL
}, 
21518          { (char *)"new_Icon", (PyCFunction
) _wrap_new_Icon
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21519          { (char *)"delete_Icon", (PyCFunction
) _wrap_delete_Icon
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21520          { (char *)"new_EmptyIcon", (PyCFunction
) _wrap_new_EmptyIcon
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21521          { (char *)"new_IconFromLocation", (PyCFunction
) _wrap_new_IconFromLocation
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21522          { (char *)"new_IconFromBitmap", (PyCFunction
) _wrap_new_IconFromBitmap
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21523          { (char *)"new_IconFromXPMData", (PyCFunction
) _wrap_new_IconFromXPMData
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21524          { (char *)"Icon_LoadFile", (PyCFunction
) _wrap_Icon_LoadFile
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21525          { (char *)"Icon_GetHandle", (PyCFunction
) _wrap_Icon_GetHandle
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21526          { (char *)"Icon_SetHandle", (PyCFunction
) _wrap_Icon_SetHandle
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21527          { (char *)"Icon_Ok", (PyCFunction
) _wrap_Icon_Ok
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21528          { (char *)"Icon_GetWidth", (PyCFunction
) _wrap_Icon_GetWidth
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21529          { (char *)"Icon_GetHeight", (PyCFunction
) _wrap_Icon_GetHeight
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21530          { (char *)"Icon_GetDepth", (PyCFunction
) _wrap_Icon_GetDepth
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21531          { (char *)"Icon_SetWidth", (PyCFunction
) _wrap_Icon_SetWidth
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21532          { (char *)"Icon_SetHeight", (PyCFunction
) _wrap_Icon_SetHeight
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21533          { (char *)"Icon_SetDepth", (PyCFunction
) _wrap_Icon_SetDepth
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21534          { (char *)"Icon_SetSize", (PyCFunction
) _wrap_Icon_SetSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21535          { (char *)"Icon_CopyFromBitmap", (PyCFunction
) _wrap_Icon_CopyFromBitmap
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21536          { (char *)"Icon_swigregister", Icon_swigregister
, METH_VARARGS
, NULL
}, 
21537          { (char *)"new_IconLocation", (PyCFunction
) _wrap_new_IconLocation
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21538          { (char *)"delete_IconLocation", (PyCFunction
) _wrap_delete_IconLocation
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21539          { (char *)"IconLocation_IsOk", (PyCFunction
) _wrap_IconLocation_IsOk
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21540          { (char *)"IconLocation_SetFileName", (PyCFunction
) _wrap_IconLocation_SetFileName
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21541          { (char *)"IconLocation_GetFileName", (PyCFunction
) _wrap_IconLocation_GetFileName
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21542          { (char *)"IconLocation_SetIndex", (PyCFunction
) _wrap_IconLocation_SetIndex
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21543          { (char *)"IconLocation_GetIndex", (PyCFunction
) _wrap_IconLocation_GetIndex
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21544          { (char *)"IconLocation_swigregister", IconLocation_swigregister
, METH_VARARGS
, NULL
}, 
21545          { (char *)"new_IconBundle", (PyCFunction
) _wrap_new_IconBundle
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21546          { (char *)"new_IconBundleFromFile", (PyCFunction
) _wrap_new_IconBundleFromFile
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21547          { (char *)"new_IconBundleFromIcon", (PyCFunction
) _wrap_new_IconBundleFromIcon
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21548          { (char *)"delete_IconBundle", (PyCFunction
) _wrap_delete_IconBundle
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21549          { (char *)"IconBundle_AddIcon", (PyCFunction
) _wrap_IconBundle_AddIcon
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21550          { (char *)"IconBundle_AddIconFromFile", (PyCFunction
) _wrap_IconBundle_AddIconFromFile
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21551          { (char *)"IconBundle_GetIcon", (PyCFunction
) _wrap_IconBundle_GetIcon
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21552          { (char *)"IconBundle_swigregister", IconBundle_swigregister
, METH_VARARGS
, NULL
}, 
21553          { (char *)"new_Cursor", (PyCFunction
) _wrap_new_Cursor
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21554          { (char *)"delete_Cursor", (PyCFunction
) _wrap_delete_Cursor
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21555          { (char *)"new_StockCursor", (PyCFunction
) _wrap_new_StockCursor
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21556          { (char *)"new_CursorFromImage", (PyCFunction
) _wrap_new_CursorFromImage
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21557          { (char *)"Cursor_GetHandle", (PyCFunction
) _wrap_Cursor_GetHandle
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21558          { (char *)"Cursor_SetHandle", (PyCFunction
) _wrap_Cursor_SetHandle
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21559          { (char *)"Cursor_Ok", (PyCFunction
) _wrap_Cursor_Ok
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21560          { (char *)"Cursor_GetWidth", (PyCFunction
) _wrap_Cursor_GetWidth
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21561          { (char *)"Cursor_GetHeight", (PyCFunction
) _wrap_Cursor_GetHeight
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21562          { (char *)"Cursor_GetDepth", (PyCFunction
) _wrap_Cursor_GetDepth
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21563          { (char *)"Cursor_SetWidth", (PyCFunction
) _wrap_Cursor_SetWidth
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21564          { (char *)"Cursor_SetHeight", (PyCFunction
) _wrap_Cursor_SetHeight
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21565          { (char *)"Cursor_SetDepth", (PyCFunction
) _wrap_Cursor_SetDepth
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21566          { (char *)"Cursor_SetSize", (PyCFunction
) _wrap_Cursor_SetSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21567          { (char *)"Cursor_swigregister", Cursor_swigregister
, METH_VARARGS
, NULL
}, 
21568          { (char *)"new_Region", (PyCFunction
) _wrap_new_Region
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21569          { (char *)"new_RegionFromBitmap", (PyCFunction
) _wrap_new_RegionFromBitmap
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21570          { (char *)"new_RegionFromBitmapColour", (PyCFunction
) _wrap_new_RegionFromBitmapColour
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21571          { (char *)"new_RegionFromPoints", (PyCFunction
) _wrap_new_RegionFromPoints
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21572          { (char *)"delete_Region", (PyCFunction
) _wrap_delete_Region
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21573          { (char *)"Region_Clear", (PyCFunction
) _wrap_Region_Clear
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21574          { (char *)"Region_Offset", (PyCFunction
) _wrap_Region_Offset
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21575          { (char *)"Region_Contains", (PyCFunction
) _wrap_Region_Contains
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21576          { (char *)"Region_ContainsPoint", (PyCFunction
) _wrap_Region_ContainsPoint
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21577          { (char *)"Region_ContainsRect", (PyCFunction
) _wrap_Region_ContainsRect
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21578          { (char *)"Region_ContainsRectDim", (PyCFunction
) _wrap_Region_ContainsRectDim
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21579          { (char *)"Region_GetBox", (PyCFunction
) _wrap_Region_GetBox
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21580          { (char *)"Region_Intersect", (PyCFunction
) _wrap_Region_Intersect
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21581          { (char *)"Region_IntersectRect", (PyCFunction
) _wrap_Region_IntersectRect
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21582          { (char *)"Region_IntersectRegion", (PyCFunction
) _wrap_Region_IntersectRegion
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21583          { (char *)"Region_IsEmpty", (PyCFunction
) _wrap_Region_IsEmpty
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21584          { (char *)"Region_Union", (PyCFunction
) _wrap_Region_Union
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21585          { (char *)"Region_UnionRect", (PyCFunction
) _wrap_Region_UnionRect
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21586          { (char *)"Region_UnionRegion", (PyCFunction
) _wrap_Region_UnionRegion
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21587          { (char *)"Region_Subtract", (PyCFunction
) _wrap_Region_Subtract
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21588          { (char *)"Region_SubtractRect", (PyCFunction
) _wrap_Region_SubtractRect
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21589          { (char *)"Region_SubtractRegion", (PyCFunction
) _wrap_Region_SubtractRegion
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21590          { (char *)"Region_Xor", (PyCFunction
) _wrap_Region_Xor
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21591          { (char *)"Region_XorRect", (PyCFunction
) _wrap_Region_XorRect
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21592          { (char *)"Region_XorRegion", (PyCFunction
) _wrap_Region_XorRegion
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21593          { (char *)"Region_ConvertToBitmap", (PyCFunction
) _wrap_Region_ConvertToBitmap
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21594          { (char *)"Region_UnionBitmap", (PyCFunction
) _wrap_Region_UnionBitmap
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21595          { (char *)"Region_UnionBitmapColour", (PyCFunction
) _wrap_Region_UnionBitmapColour
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21596          { (char *)"Region_swigregister", Region_swigregister
, METH_VARARGS
, NULL
}, 
21597          { (char *)"new_RegionIterator", (PyCFunction
) _wrap_new_RegionIterator
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21598          { (char *)"delete_RegionIterator", (PyCFunction
) _wrap_delete_RegionIterator
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21599          { (char *)"RegionIterator_GetX", (PyCFunction
) _wrap_RegionIterator_GetX
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21600          { (char *)"RegionIterator_GetY", (PyCFunction
) _wrap_RegionIterator_GetY
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21601          { (char *)"RegionIterator_GetW", (PyCFunction
) _wrap_RegionIterator_GetW
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21602          { (char *)"RegionIterator_GetWidth", (PyCFunction
) _wrap_RegionIterator_GetWidth
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21603          { (char *)"RegionIterator_GetH", (PyCFunction
) _wrap_RegionIterator_GetH
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21604          { (char *)"RegionIterator_GetHeight", (PyCFunction
) _wrap_RegionIterator_GetHeight
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21605          { (char *)"RegionIterator_GetRect", (PyCFunction
) _wrap_RegionIterator_GetRect
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21606          { (char *)"RegionIterator_HaveRects", (PyCFunction
) _wrap_RegionIterator_HaveRects
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21607          { (char *)"RegionIterator_Reset", (PyCFunction
) _wrap_RegionIterator_Reset
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21608          { (char *)"RegionIterator_Next", (PyCFunction
) _wrap_RegionIterator_Next
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21609          { (char *)"RegionIterator___nonzero__", (PyCFunction
) _wrap_RegionIterator___nonzero__
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21610          { (char *)"RegionIterator_swigregister", RegionIterator_swigregister
, METH_VARARGS
, NULL
}, 
21611          { (char *)"new_NativeFontInfo", (PyCFunction
) _wrap_new_NativeFontInfo
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21612          { (char *)"delete_NativeFontInfo", (PyCFunction
) _wrap_delete_NativeFontInfo
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21613          { (char *)"NativeFontInfo_Init", (PyCFunction
) _wrap_NativeFontInfo_Init
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21614          { (char *)"NativeFontInfo_InitFromFont", (PyCFunction
) _wrap_NativeFontInfo_InitFromFont
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21615          { (char *)"NativeFontInfo_GetPointSize", (PyCFunction
) _wrap_NativeFontInfo_GetPointSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21616          { (char *)"NativeFontInfo_GetPixelSize", (PyCFunction
) _wrap_NativeFontInfo_GetPixelSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21617          { (char *)"NativeFontInfo_GetStyle", (PyCFunction
) _wrap_NativeFontInfo_GetStyle
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21618          { (char *)"NativeFontInfo_GetWeight", (PyCFunction
) _wrap_NativeFontInfo_GetWeight
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21619          { (char *)"NativeFontInfo_GetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_GetUnderlined
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21620          { (char *)"NativeFontInfo_GetFaceName", (PyCFunction
) _wrap_NativeFontInfo_GetFaceName
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21621          { (char *)"NativeFontInfo_GetFamily", (PyCFunction
) _wrap_NativeFontInfo_GetFamily
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21622          { (char *)"NativeFontInfo_GetEncoding", (PyCFunction
) _wrap_NativeFontInfo_GetEncoding
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21623          { (char *)"NativeFontInfo_SetPointSize", (PyCFunction
) _wrap_NativeFontInfo_SetPointSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21624          { (char *)"NativeFontInfo_SetPixelSize", (PyCFunction
) _wrap_NativeFontInfo_SetPixelSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21625          { (char *)"NativeFontInfo_SetStyle", (PyCFunction
) _wrap_NativeFontInfo_SetStyle
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21626          { (char *)"NativeFontInfo_SetWeight", (PyCFunction
) _wrap_NativeFontInfo_SetWeight
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21627          { (char *)"NativeFontInfo_SetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_SetUnderlined
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21628          { (char *)"NativeFontInfo_SetFaceName", (PyCFunction
) _wrap_NativeFontInfo_SetFaceName
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21629          { (char *)"NativeFontInfo_SetFamily", (PyCFunction
) _wrap_NativeFontInfo_SetFamily
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21630          { (char *)"NativeFontInfo_SetEncoding", (PyCFunction
) _wrap_NativeFontInfo_SetEncoding
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21631          { (char *)"NativeFontInfo_FromString", (PyCFunction
) _wrap_NativeFontInfo_FromString
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21632          { (char *)"NativeFontInfo_ToString", (PyCFunction
) _wrap_NativeFontInfo_ToString
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21633          { (char *)"NativeFontInfo___str__", (PyCFunction
) _wrap_NativeFontInfo___str__
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21634          { (char *)"NativeFontInfo_FromUserString", (PyCFunction
) _wrap_NativeFontInfo_FromUserString
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21635          { (char *)"NativeFontInfo_ToUserString", (PyCFunction
) _wrap_NativeFontInfo_ToUserString
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21636          { (char *)"NativeFontInfo_swigregister", NativeFontInfo_swigregister
, METH_VARARGS
, NULL
}, 
21637          { (char *)"NativeEncodingInfo_facename_set", (PyCFunction
) _wrap_NativeEncodingInfo_facename_set
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21638          { (char *)"NativeEncodingInfo_facename_get", (PyCFunction
) _wrap_NativeEncodingInfo_facename_get
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21639          { (char *)"NativeEncodingInfo_encoding_set", (PyCFunction
) _wrap_NativeEncodingInfo_encoding_set
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21640          { (char *)"NativeEncodingInfo_encoding_get", (PyCFunction
) _wrap_NativeEncodingInfo_encoding_get
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21641          { (char *)"new_NativeEncodingInfo", (PyCFunction
) _wrap_new_NativeEncodingInfo
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21642          { (char *)"delete_NativeEncodingInfo", (PyCFunction
) _wrap_delete_NativeEncodingInfo
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21643          { (char *)"NativeEncodingInfo_FromString", (PyCFunction
) _wrap_NativeEncodingInfo_FromString
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21644          { (char *)"NativeEncodingInfo_ToString", (PyCFunction
) _wrap_NativeEncodingInfo_ToString
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21645          { (char *)"NativeEncodingInfo_swigregister", NativeEncodingInfo_swigregister
, METH_VARARGS
, NULL
}, 
21646          { (char *)"GetNativeFontEncoding", (PyCFunction
) _wrap_GetNativeFontEncoding
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21647          { (char *)"TestFontEncoding", (PyCFunction
) _wrap_TestFontEncoding
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21648          { (char *)"new_FontMapper", (PyCFunction
) _wrap_new_FontMapper
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21649          { (char *)"delete_FontMapper", (PyCFunction
) _wrap_delete_FontMapper
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21650          { (char *)"FontMapper_Get", (PyCFunction
) _wrap_FontMapper_Get
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21651          { (char *)"FontMapper_Set", (PyCFunction
) _wrap_FontMapper_Set
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21652          { (char *)"FontMapper_CharsetToEncoding", (PyCFunction
) _wrap_FontMapper_CharsetToEncoding
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21653          { (char *)"FontMapper_GetSupportedEncodingsCount", (PyCFunction
) _wrap_FontMapper_GetSupportedEncodingsCount
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21654          { (char *)"FontMapper_GetEncoding", (PyCFunction
) _wrap_FontMapper_GetEncoding
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21655          { (char *)"FontMapper_GetEncodingName", (PyCFunction
) _wrap_FontMapper_GetEncodingName
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21656          { (char *)"FontMapper_GetEncodingDescription", (PyCFunction
) _wrap_FontMapper_GetEncodingDescription
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21657          { (char *)"FontMapper_GetEncodingFromName", (PyCFunction
) _wrap_FontMapper_GetEncodingFromName
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21658          { (char *)"FontMapper_SetConfig", (PyCFunction
) _wrap_FontMapper_SetConfig
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21659          { (char *)"FontMapper_SetConfigPath", (PyCFunction
) _wrap_FontMapper_SetConfigPath
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21660          { (char *)"FontMapper_GetDefaultConfigPath", (PyCFunction
) _wrap_FontMapper_GetDefaultConfigPath
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21661          { (char *)"FontMapper_GetAltForEncoding", (PyCFunction
) _wrap_FontMapper_GetAltForEncoding
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21662          { (char *)"FontMapper_IsEncodingAvailable", (PyCFunction
) _wrap_FontMapper_IsEncodingAvailable
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21663          { (char *)"FontMapper_SetDialogParent", (PyCFunction
) _wrap_FontMapper_SetDialogParent
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21664          { (char *)"FontMapper_SetDialogTitle", (PyCFunction
) _wrap_FontMapper_SetDialogTitle
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21665          { (char *)"FontMapper_swigregister", FontMapper_swigregister
, METH_VARARGS
, NULL
}, 
21666          { (char *)"new_Font", (PyCFunction
) _wrap_new_Font
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21667          { (char *)"delete_Font", (PyCFunction
) _wrap_delete_Font
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21668          { (char *)"new_FontFromNativeInfo", (PyCFunction
) _wrap_new_FontFromNativeInfo
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21669          { (char *)"new_FontFromNativeInfoString", (PyCFunction
) _wrap_new_FontFromNativeInfoString
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21670          { (char *)"new_Font2", (PyCFunction
) _wrap_new_Font2
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21671          { (char *)"new_FontFromPixelSize", (PyCFunction
) _wrap_new_FontFromPixelSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21672          { (char *)"Font_Ok", (PyCFunction
) _wrap_Font_Ok
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21673          { (char *)"Font___eq__", (PyCFunction
) _wrap_Font___eq__
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21674          { (char *)"Font___ne__", (PyCFunction
) _wrap_Font___ne__
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21675          { (char *)"Font_GetPointSize", (PyCFunction
) _wrap_Font_GetPointSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21676          { (char *)"Font_GetPixelSize", (PyCFunction
) _wrap_Font_GetPixelSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21677          { (char *)"Font_IsUsingSizeInPixels", (PyCFunction
) _wrap_Font_IsUsingSizeInPixels
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21678          { (char *)"Font_GetFamily", (PyCFunction
) _wrap_Font_GetFamily
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21679          { (char *)"Font_GetStyle", (PyCFunction
) _wrap_Font_GetStyle
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21680          { (char *)"Font_GetWeight", (PyCFunction
) _wrap_Font_GetWeight
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21681          { (char *)"Font_GetUnderlined", (PyCFunction
) _wrap_Font_GetUnderlined
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21682          { (char *)"Font_GetFaceName", (PyCFunction
) _wrap_Font_GetFaceName
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21683          { (char *)"Font_GetEncoding", (PyCFunction
) _wrap_Font_GetEncoding
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21684          { (char *)"Font_GetNativeFontInfo", (PyCFunction
) _wrap_Font_GetNativeFontInfo
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21685          { (char *)"Font_IsFixedWidth", (PyCFunction
) _wrap_Font_IsFixedWidth
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21686          { (char *)"Font_GetNativeFontInfoDesc", (PyCFunction
) _wrap_Font_GetNativeFontInfoDesc
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21687          { (char *)"Font_GetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_GetNativeFontInfoUserDesc
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21688          { (char *)"Font_SetPointSize", (PyCFunction
) _wrap_Font_SetPointSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21689          { (char *)"Font_SetPixelSize", (PyCFunction
) _wrap_Font_SetPixelSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21690          { (char *)"Font_SetFamily", (PyCFunction
) _wrap_Font_SetFamily
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21691          { (char *)"Font_SetStyle", (PyCFunction
) _wrap_Font_SetStyle
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21692          { (char *)"Font_SetWeight", (PyCFunction
) _wrap_Font_SetWeight
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21693          { (char *)"Font_SetFaceName", (PyCFunction
) _wrap_Font_SetFaceName
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21694          { (char *)"Font_SetUnderlined", (PyCFunction
) _wrap_Font_SetUnderlined
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21695          { (char *)"Font_SetEncoding", (PyCFunction
) _wrap_Font_SetEncoding
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21696          { (char *)"Font_SetNativeFontInfo", (PyCFunction
) _wrap_Font_SetNativeFontInfo
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21697          { (char *)"Font_SetNativeFontInfoFromString", (PyCFunction
) _wrap_Font_SetNativeFontInfoFromString
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21698          { (char *)"Font_SetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_SetNativeFontInfoUserDesc
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21699          { (char *)"Font_GetFamilyString", (PyCFunction
) _wrap_Font_GetFamilyString
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21700          { (char *)"Font_GetStyleString", (PyCFunction
) _wrap_Font_GetStyleString
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21701          { (char *)"Font_GetWeightString", (PyCFunction
) _wrap_Font_GetWeightString
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21702          { (char *)"Font_SetNoAntiAliasing", (PyCFunction
) _wrap_Font_SetNoAntiAliasing
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21703          { (char *)"Font_GetNoAntiAliasing", (PyCFunction
) _wrap_Font_GetNoAntiAliasing
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21704          { (char *)"Font_GetDefaultEncoding", (PyCFunction
) _wrap_Font_GetDefaultEncoding
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21705          { (char *)"Font_SetDefaultEncoding", (PyCFunction
) _wrap_Font_SetDefaultEncoding
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21706          { (char *)"Font_swigregister", Font_swigregister
, METH_VARARGS
, NULL
}, 
21707          { (char *)"new_FontEnumerator", (PyCFunction
) _wrap_new_FontEnumerator
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21708          { (char *)"delete_FontEnumerator", (PyCFunction
) _wrap_delete_FontEnumerator
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21709          { (char *)"FontEnumerator__setCallbackInfo", (PyCFunction
) _wrap_FontEnumerator__setCallbackInfo
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21710          { (char *)"FontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_FontEnumerator_EnumerateFacenames
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21711          { (char *)"FontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_FontEnumerator_EnumerateEncodings
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21712          { (char *)"FontEnumerator_GetEncodings", (PyCFunction
) _wrap_FontEnumerator_GetEncodings
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21713          { (char *)"FontEnumerator_GetFacenames", (PyCFunction
) _wrap_FontEnumerator_GetFacenames
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21714          { (char *)"FontEnumerator_swigregister", FontEnumerator_swigregister
, METH_VARARGS
, NULL
}, 
21715          { (char *)"LanguageInfo_Language_set", (PyCFunction
) _wrap_LanguageInfo_Language_set
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21716          { (char *)"LanguageInfo_Language_get", (PyCFunction
) _wrap_LanguageInfo_Language_get
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21717          { (char *)"LanguageInfo_CanonicalName_set", (PyCFunction
) _wrap_LanguageInfo_CanonicalName_set
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21718          { (char *)"LanguageInfo_CanonicalName_get", (PyCFunction
) _wrap_LanguageInfo_CanonicalName_get
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21719          { (char *)"LanguageInfo_Description_set", (PyCFunction
) _wrap_LanguageInfo_Description_set
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21720          { (char *)"LanguageInfo_Description_get", (PyCFunction
) _wrap_LanguageInfo_Description_get
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21721          { (char *)"LanguageInfo_swigregister", LanguageInfo_swigregister
, METH_VARARGS
, NULL
}, 
21722          { (char *)"new_Locale", (PyCFunction
) _wrap_new_Locale
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21723          { (char *)"delete_Locale", (PyCFunction
) _wrap_delete_Locale
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21724          { (char *)"Locale_Init1", (PyCFunction
) _wrap_Locale_Init1
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21725          { (char *)"Locale_Init2", (PyCFunction
) _wrap_Locale_Init2
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21726          { (char *)"Locale_GetSystemLanguage", (PyCFunction
) _wrap_Locale_GetSystemLanguage
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21727          { (char *)"Locale_GetSystemEncoding", (PyCFunction
) _wrap_Locale_GetSystemEncoding
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21728          { (char *)"Locale_GetSystemEncodingName", (PyCFunction
) _wrap_Locale_GetSystemEncodingName
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21729          { (char *)"Locale_IsOk", (PyCFunction
) _wrap_Locale_IsOk
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21730          { (char *)"Locale_GetLocale", (PyCFunction
) _wrap_Locale_GetLocale
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21731          { (char *)"Locale_GetLanguage", (PyCFunction
) _wrap_Locale_GetLanguage
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21732          { (char *)"Locale_GetSysName", (PyCFunction
) _wrap_Locale_GetSysName
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21733          { (char *)"Locale_GetCanonicalName", (PyCFunction
) _wrap_Locale_GetCanonicalName
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21734          { (char *)"Locale_AddCatalogLookupPathPrefix", (PyCFunction
) _wrap_Locale_AddCatalogLookupPathPrefix
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21735          { (char *)"Locale_AddCatalog", (PyCFunction
) _wrap_Locale_AddCatalog
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21736          { (char *)"Locale_IsLoaded", (PyCFunction
) _wrap_Locale_IsLoaded
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21737          { (char *)"Locale_GetLanguageInfo", (PyCFunction
) _wrap_Locale_GetLanguageInfo
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21738          { (char *)"Locale_GetLanguageName", (PyCFunction
) _wrap_Locale_GetLanguageName
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21739          { (char *)"Locale_FindLanguageInfo", (PyCFunction
) _wrap_Locale_FindLanguageInfo
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21740          { (char *)"Locale_AddLanguage", (PyCFunction
) _wrap_Locale_AddLanguage
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21741          { (char *)"Locale_GetString", (PyCFunction
) _wrap_Locale_GetString
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21742          { (char *)"Locale_GetName", (PyCFunction
) _wrap_Locale_GetName
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21743          { (char *)"Locale_swigregister", Locale_swigregister
, METH_VARARGS
, NULL
}, 
21744          { (char *)"GetLocale", (PyCFunction
) _wrap_GetLocale
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21745          { (char *)"GetTranslation", _wrap_GetTranslation
, METH_VARARGS
, NULL
}, 
21746          { (char *)"new_EncodingConverter", (PyCFunction
) _wrap_new_EncodingConverter
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21747          { (char *)"delete_EncodingConverter", (PyCFunction
) _wrap_delete_EncodingConverter
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21748          { (char *)"EncodingConverter_Init", (PyCFunction
) _wrap_EncodingConverter_Init
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21749          { (char *)"EncodingConverter_Convert", (PyCFunction
) _wrap_EncodingConverter_Convert
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21750          { (char *)"EncodingConverter_GetPlatformEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetPlatformEquivalents
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21751          { (char *)"EncodingConverter_GetAllEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetAllEquivalents
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21752          { (char *)"EncodingConverter_CanConvert", (PyCFunction
) _wrap_EncodingConverter_CanConvert
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21753          { (char *)"EncodingConverter_swigregister", EncodingConverter_swigregister
, METH_VARARGS
, NULL
}, 
21754          { (char *)"delete_DC", (PyCFunction
) _wrap_delete_DC
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21755          { (char *)"DC_BeginDrawing", (PyCFunction
) _wrap_DC_BeginDrawing
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21756          { (char *)"DC_EndDrawing", (PyCFunction
) _wrap_DC_EndDrawing
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21757          { (char *)"DC_FloodFill", (PyCFunction
) _wrap_DC_FloodFill
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21758          { (char *)"DC_FloodFillPoint", (PyCFunction
) _wrap_DC_FloodFillPoint
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21759          { (char *)"DC_GetPixel", (PyCFunction
) _wrap_DC_GetPixel
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21760          { (char *)"DC_GetPixelPoint", (PyCFunction
) _wrap_DC_GetPixelPoint
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21761          { (char *)"DC_DrawLine", (PyCFunction
) _wrap_DC_DrawLine
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21762          { (char *)"DC_DrawLinePoint", (PyCFunction
) _wrap_DC_DrawLinePoint
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21763          { (char *)"DC_CrossHair", (PyCFunction
) _wrap_DC_CrossHair
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21764          { (char *)"DC_CrossHairPoint", (PyCFunction
) _wrap_DC_CrossHairPoint
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21765          { (char *)"DC_DrawArc", (PyCFunction
) _wrap_DC_DrawArc
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21766          { (char *)"DC_DrawArcPoint", (PyCFunction
) _wrap_DC_DrawArcPoint
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21767          { (char *)"DC_DrawCheckMark", (PyCFunction
) _wrap_DC_DrawCheckMark
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21768          { (char *)"DC_DrawCheckMarkRect", (PyCFunction
) _wrap_DC_DrawCheckMarkRect
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21769          { (char *)"DC_DrawEllipticArc", (PyCFunction
) _wrap_DC_DrawEllipticArc
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21770          { (char *)"DC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_DC_DrawEllipticArcPointSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21771          { (char *)"DC_DrawPoint", (PyCFunction
) _wrap_DC_DrawPoint
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21772          { (char *)"DC_DrawPointPoint", (PyCFunction
) _wrap_DC_DrawPointPoint
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21773          { (char *)"DC_DrawRectangle", (PyCFunction
) _wrap_DC_DrawRectangle
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21774          { (char *)"DC_DrawRectangleRect", (PyCFunction
) _wrap_DC_DrawRectangleRect
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21775          { (char *)"DC_DrawRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRectanglePointSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21776          { (char *)"DC_DrawRoundedRectangle", (PyCFunction
) _wrap_DC_DrawRoundedRectangle
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21777          { (char *)"DC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_DC_DrawRoundedRectangleRect
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21778          { (char *)"DC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRoundedRectanglePointSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21779          { (char *)"DC_DrawCircle", (PyCFunction
) _wrap_DC_DrawCircle
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21780          { (char *)"DC_DrawCirclePoint", (PyCFunction
) _wrap_DC_DrawCirclePoint
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21781          { (char *)"DC_DrawEllipse", (PyCFunction
) _wrap_DC_DrawEllipse
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21782          { (char *)"DC_DrawEllipseRect", (PyCFunction
) _wrap_DC_DrawEllipseRect
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21783          { (char *)"DC_DrawEllipsePointSize", (PyCFunction
) _wrap_DC_DrawEllipsePointSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21784          { (char *)"DC_DrawIcon", (PyCFunction
) _wrap_DC_DrawIcon
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21785          { (char *)"DC_DrawIconPoint", (PyCFunction
) _wrap_DC_DrawIconPoint
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21786          { (char *)"DC_DrawBitmap", (PyCFunction
) _wrap_DC_DrawBitmap
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21787          { (char *)"DC_DrawBitmapPoint", (PyCFunction
) _wrap_DC_DrawBitmapPoint
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21788          { (char *)"DC_DrawText", (PyCFunction
) _wrap_DC_DrawText
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21789          { (char *)"DC_DrawTextPoint", (PyCFunction
) _wrap_DC_DrawTextPoint
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21790          { (char *)"DC_DrawRotatedText", (PyCFunction
) _wrap_DC_DrawRotatedText
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21791          { (char *)"DC_DrawRotatedTextPoint", (PyCFunction
) _wrap_DC_DrawRotatedTextPoint
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21792          { (char *)"DC_Blit", (PyCFunction
) _wrap_DC_Blit
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21793          { (char *)"DC_BlitPointSize", (PyCFunction
) _wrap_DC_BlitPointSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21794          { (char *)"DC_SetClippingRegion", (PyCFunction
) _wrap_DC_SetClippingRegion
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21795          { (char *)"DC_SetClippingRegionPointSize", (PyCFunction
) _wrap_DC_SetClippingRegionPointSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21796          { (char *)"DC_SetClippingRegionAsRegion", (PyCFunction
) _wrap_DC_SetClippingRegionAsRegion
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21797          { (char *)"DC_SetClippingRect", (PyCFunction
) _wrap_DC_SetClippingRect
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21798          { (char *)"DC_DrawLines", (PyCFunction
) _wrap_DC_DrawLines
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21799          { (char *)"DC_DrawPolygon", (PyCFunction
) _wrap_DC_DrawPolygon
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21800          { (char *)"DC_DrawLabel", (PyCFunction
) _wrap_DC_DrawLabel
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21801          { (char *)"DC_DrawImageLabel", (PyCFunction
) _wrap_DC_DrawImageLabel
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21802          { (char *)"DC_DrawSpline", (PyCFunction
) _wrap_DC_DrawSpline
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21803          { (char *)"DC_Clear", (PyCFunction
) _wrap_DC_Clear
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21804          { (char *)"DC_StartDoc", (PyCFunction
) _wrap_DC_StartDoc
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21805          { (char *)"DC_EndDoc", (PyCFunction
) _wrap_DC_EndDoc
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21806          { (char *)"DC_StartPage", (PyCFunction
) _wrap_DC_StartPage
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21807          { (char *)"DC_EndPage", (PyCFunction
) _wrap_DC_EndPage
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21808          { (char *)"DC_SetFont", (PyCFunction
) _wrap_DC_SetFont
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21809          { (char *)"DC_SetPen", (PyCFunction
) _wrap_DC_SetPen
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21810          { (char *)"DC_SetBrush", (PyCFunction
) _wrap_DC_SetBrush
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21811          { (char *)"DC_SetBackground", (PyCFunction
) _wrap_DC_SetBackground
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21812          { (char *)"DC_SetBackgroundMode", (PyCFunction
) _wrap_DC_SetBackgroundMode
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21813          { (char *)"DC_SetPalette", (PyCFunction
) _wrap_DC_SetPalette
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21814          { (char *)"DC_DestroyClippingRegion", (PyCFunction
) _wrap_DC_DestroyClippingRegion
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21815          { (char *)"DC_GetClippingBox", (PyCFunction
) _wrap_DC_GetClippingBox
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21816          { (char *)"DC_GetClippingRect", (PyCFunction
) _wrap_DC_GetClippingRect
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21817          { (char *)"DC_GetCharHeight", (PyCFunction
) _wrap_DC_GetCharHeight
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21818          { (char *)"DC_GetCharWidth", (PyCFunction
) _wrap_DC_GetCharWidth
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21819          { (char *)"DC_GetTextExtent", (PyCFunction
) _wrap_DC_GetTextExtent
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21820          { (char *)"DC_GetFullTextExtent", (PyCFunction
) _wrap_DC_GetFullTextExtent
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21821          { (char *)"DC_GetMultiLineTextExtent", (PyCFunction
) _wrap_DC_GetMultiLineTextExtent
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21822          { (char *)"DC_GetPartialTextExtents", (PyCFunction
) _wrap_DC_GetPartialTextExtents
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21823          { (char *)"DC_GetSize", (PyCFunction
) _wrap_DC_GetSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21824          { (char *)"DC_GetSizeTuple", (PyCFunction
) _wrap_DC_GetSizeTuple
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21825          { (char *)"DC_GetSizeMM", (PyCFunction
) _wrap_DC_GetSizeMM
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21826          { (char *)"DC_GetSizeMMTuple", (PyCFunction
) _wrap_DC_GetSizeMMTuple
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21827          { (char *)"DC_DeviceToLogicalX", (PyCFunction
) _wrap_DC_DeviceToLogicalX
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21828          { (char *)"DC_DeviceToLogicalY", (PyCFunction
) _wrap_DC_DeviceToLogicalY
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21829          { (char *)"DC_DeviceToLogicalXRel", (PyCFunction
) _wrap_DC_DeviceToLogicalXRel
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21830          { (char *)"DC_DeviceToLogicalYRel", (PyCFunction
) _wrap_DC_DeviceToLogicalYRel
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21831          { (char *)"DC_LogicalToDeviceX", (PyCFunction
) _wrap_DC_LogicalToDeviceX
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21832          { (char *)"DC_LogicalToDeviceY", (PyCFunction
) _wrap_DC_LogicalToDeviceY
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21833          { (char *)"DC_LogicalToDeviceXRel", (PyCFunction
) _wrap_DC_LogicalToDeviceXRel
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21834          { (char *)"DC_LogicalToDeviceYRel", (PyCFunction
) _wrap_DC_LogicalToDeviceYRel
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21835          { (char *)"DC_CanDrawBitmap", (PyCFunction
) _wrap_DC_CanDrawBitmap
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21836          { (char *)"DC_CanGetTextExtent", (PyCFunction
) _wrap_DC_CanGetTextExtent
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21837          { (char *)"DC_GetDepth", (PyCFunction
) _wrap_DC_GetDepth
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21838          { (char *)"DC_GetPPI", (PyCFunction
) _wrap_DC_GetPPI
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21839          { (char *)"DC_Ok", (PyCFunction
) _wrap_DC_Ok
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21840          { (char *)"DC_GetBackgroundMode", (PyCFunction
) _wrap_DC_GetBackgroundMode
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21841          { (char *)"DC_GetBackground", (PyCFunction
) _wrap_DC_GetBackground
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21842          { (char *)"DC_GetBrush", (PyCFunction
) _wrap_DC_GetBrush
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21843          { (char *)"DC_GetFont", (PyCFunction
) _wrap_DC_GetFont
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21844          { (char *)"DC_GetPen", (PyCFunction
) _wrap_DC_GetPen
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21845          { (char *)"DC_GetTextBackground", (PyCFunction
) _wrap_DC_GetTextBackground
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21846          { (char *)"DC_GetTextForeground", (PyCFunction
) _wrap_DC_GetTextForeground
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21847          { (char *)"DC_SetTextForeground", (PyCFunction
) _wrap_DC_SetTextForeground
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21848          { (char *)"DC_SetTextBackground", (PyCFunction
) _wrap_DC_SetTextBackground
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21849          { (char *)"DC_GetMapMode", (PyCFunction
) _wrap_DC_GetMapMode
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21850          { (char *)"DC_SetMapMode", (PyCFunction
) _wrap_DC_SetMapMode
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21851          { (char *)"DC_GetUserScale", (PyCFunction
) _wrap_DC_GetUserScale
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21852          { (char *)"DC_SetUserScale", (PyCFunction
) _wrap_DC_SetUserScale
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21853          { (char *)"DC_GetLogicalScale", (PyCFunction
) _wrap_DC_GetLogicalScale
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21854          { (char *)"DC_SetLogicalScale", (PyCFunction
) _wrap_DC_SetLogicalScale
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21855          { (char *)"DC_GetLogicalOrigin", (PyCFunction
) _wrap_DC_GetLogicalOrigin
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21856          { (char *)"DC_GetLogicalOriginTuple", (PyCFunction
) _wrap_DC_GetLogicalOriginTuple
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21857          { (char *)"DC_SetLogicalOrigin", (PyCFunction
) _wrap_DC_SetLogicalOrigin
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21858          { (char *)"DC_SetLogicalOriginPoint", (PyCFunction
) _wrap_DC_SetLogicalOriginPoint
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21859          { (char *)"DC_GetDeviceOrigin", (PyCFunction
) _wrap_DC_GetDeviceOrigin
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21860          { (char *)"DC_GetDeviceOriginTuple", (PyCFunction
) _wrap_DC_GetDeviceOriginTuple
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21861          { (char *)"DC_SetDeviceOrigin", (PyCFunction
) _wrap_DC_SetDeviceOrigin
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21862          { (char *)"DC_SetDeviceOriginPoint", (PyCFunction
) _wrap_DC_SetDeviceOriginPoint
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21863          { (char *)"DC_SetAxisOrientation", (PyCFunction
) _wrap_DC_SetAxisOrientation
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21864          { (char *)"DC_GetLogicalFunction", (PyCFunction
) _wrap_DC_GetLogicalFunction
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21865          { (char *)"DC_SetLogicalFunction", (PyCFunction
) _wrap_DC_SetLogicalFunction
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21866          { (char *)"DC_ComputeScaleAndOrigin", (PyCFunction
) _wrap_DC_ComputeScaleAndOrigin
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21867          { (char *)"DC_CalcBoundingBox", (PyCFunction
) _wrap_DC_CalcBoundingBox
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21868          { (char *)"DC_CalcBoundingBoxPoint", (PyCFunction
) _wrap_DC_CalcBoundingBoxPoint
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21869          { (char *)"DC_ResetBoundingBox", (PyCFunction
) _wrap_DC_ResetBoundingBox
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21870          { (char *)"DC_MinX", (PyCFunction
) _wrap_DC_MinX
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21871          { (char *)"DC_MaxX", (PyCFunction
) _wrap_DC_MaxX
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21872          { (char *)"DC_MinY", (PyCFunction
) _wrap_DC_MinY
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21873          { (char *)"DC_MaxY", (PyCFunction
) _wrap_DC_MaxY
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21874          { (char *)"DC_GetBoundingBox", (PyCFunction
) _wrap_DC_GetBoundingBox
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21875          { (char *)"DC_GetHDC", (PyCFunction
) _wrap_DC_GetHDC
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21876          { (char *)"DC__DrawPointList", (PyCFunction
) _wrap_DC__DrawPointList
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21877          { (char *)"DC__DrawLineList", (PyCFunction
) _wrap_DC__DrawLineList
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21878          { (char *)"DC__DrawRectangleList", (PyCFunction
) _wrap_DC__DrawRectangleList
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21879          { (char *)"DC__DrawEllipseList", (PyCFunction
) _wrap_DC__DrawEllipseList
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21880          { (char *)"DC__DrawPolygonList", (PyCFunction
) _wrap_DC__DrawPolygonList
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21881          { (char *)"DC__DrawTextList", (PyCFunction
) _wrap_DC__DrawTextList
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21882          { (char *)"DC_swigregister", DC_swigregister
, METH_VARARGS
, NULL
}, 
21883          { (char *)"new_MemoryDC", (PyCFunction
) _wrap_new_MemoryDC
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21884          { (char *)"new_MemoryDCFromDC", (PyCFunction
) _wrap_new_MemoryDCFromDC
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21885          { (char *)"MemoryDC_SelectObject", (PyCFunction
) _wrap_MemoryDC_SelectObject
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21886          { (char *)"MemoryDC_swigregister", MemoryDC_swigregister
, METH_VARARGS
, NULL
}, 
21887          { (char *)"new_BufferedDC", _wrap_new_BufferedDC
, METH_VARARGS
, NULL
}, 
21888          { (char *)"delete_BufferedDC", (PyCFunction
) _wrap_delete_BufferedDC
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21889          { (char *)"BufferedDC_UnMask", (PyCFunction
) _wrap_BufferedDC_UnMask
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21890          { (char *)"BufferedDC_swigregister", BufferedDC_swigregister
, METH_VARARGS
, NULL
}, 
21891          { (char *)"new_BufferedPaintDC", (PyCFunction
) _wrap_new_BufferedPaintDC
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21892          { (char *)"BufferedPaintDC_swigregister", BufferedPaintDC_swigregister
, METH_VARARGS
, NULL
}, 
21893          { (char *)"new_ScreenDC", (PyCFunction
) _wrap_new_ScreenDC
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21894          { (char *)"ScreenDC_StartDrawingOnTopWin", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTopWin
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21895          { (char *)"ScreenDC_StartDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTop
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21896          { (char *)"ScreenDC_EndDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_EndDrawingOnTop
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21897          { (char *)"ScreenDC_swigregister", ScreenDC_swigregister
, METH_VARARGS
, NULL
}, 
21898          { (char *)"new_ClientDC", (PyCFunction
) _wrap_new_ClientDC
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21899          { (char *)"ClientDC_swigregister", ClientDC_swigregister
, METH_VARARGS
, NULL
}, 
21900          { (char *)"new_PaintDC", (PyCFunction
) _wrap_new_PaintDC
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21901          { (char *)"PaintDC_swigregister", PaintDC_swigregister
, METH_VARARGS
, NULL
}, 
21902          { (char *)"new_WindowDC", (PyCFunction
) _wrap_new_WindowDC
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21903          { (char *)"WindowDC_swigregister", WindowDC_swigregister
, METH_VARARGS
, NULL
}, 
21904          { (char *)"new_MirrorDC", (PyCFunction
) _wrap_new_MirrorDC
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21905          { (char *)"MirrorDC_swigregister", MirrorDC_swigregister
, METH_VARARGS
, NULL
}, 
21906          { (char *)"new_PostScriptDC", (PyCFunction
) _wrap_new_PostScriptDC
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21907          { (char *)"PostScriptDC_GetPrintData", (PyCFunction
) _wrap_PostScriptDC_GetPrintData
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21908          { (char *)"PostScriptDC_SetPrintData", (PyCFunction
) _wrap_PostScriptDC_SetPrintData
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21909          { (char *)"PostScriptDC_SetResolution", (PyCFunction
) _wrap_PostScriptDC_SetResolution
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21910          { (char *)"PostScriptDC_GetResolution", (PyCFunction
) _wrap_PostScriptDC_GetResolution
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21911          { (char *)"PostScriptDC_swigregister", PostScriptDC_swigregister
, METH_VARARGS
, NULL
}, 
21912          { (char *)"new_MetaFile", (PyCFunction
) _wrap_new_MetaFile
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21913          { (char *)"delete_MetaFile", (PyCFunction
) _wrap_delete_MetaFile
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21914          { (char *)"MetaFile_Ok", (PyCFunction
) _wrap_MetaFile_Ok
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21915          { (char *)"MetaFile_SetClipboard", (PyCFunction
) _wrap_MetaFile_SetClipboard
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21916          { (char *)"MetaFile_GetSize", (PyCFunction
) _wrap_MetaFile_GetSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21917          { (char *)"MetaFile_GetWidth", (PyCFunction
) _wrap_MetaFile_GetWidth
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21918          { (char *)"MetaFile_GetHeight", (PyCFunction
) _wrap_MetaFile_GetHeight
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21919          { (char *)"MetaFile_GetFileName", (PyCFunction
) _wrap_MetaFile_GetFileName
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21920          { (char *)"MetaFile_swigregister", MetaFile_swigregister
, METH_VARARGS
, NULL
}, 
21921          { (char *)"new_MetaFileDC", (PyCFunction
) _wrap_new_MetaFileDC
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21922          { (char *)"MetaFileDC_Close", (PyCFunction
) _wrap_MetaFileDC_Close
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21923          { (char *)"MetaFileDC_swigregister", MetaFileDC_swigregister
, METH_VARARGS
, NULL
}, 
21924          { (char *)"new_PrinterDC", (PyCFunction
) _wrap_new_PrinterDC
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21925          { (char *)"PrinterDC_swigregister", PrinterDC_swigregister
, METH_VARARGS
, NULL
}, 
21926          { (char *)"new_ImageList", (PyCFunction
) _wrap_new_ImageList
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21927          { (char *)"delete_ImageList", (PyCFunction
) _wrap_delete_ImageList
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21928          { (char *)"ImageList_Add", (PyCFunction
) _wrap_ImageList_Add
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21929          { (char *)"ImageList_AddWithColourMask", (PyCFunction
) _wrap_ImageList_AddWithColourMask
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21930          { (char *)"ImageList_AddIcon", (PyCFunction
) _wrap_ImageList_AddIcon
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21931          { (char *)"ImageList_GetBitmap", (PyCFunction
) _wrap_ImageList_GetBitmap
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21932          { (char *)"ImageList_GetIcon", (PyCFunction
) _wrap_ImageList_GetIcon
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21933          { (char *)"ImageList_Replace", (PyCFunction
) _wrap_ImageList_Replace
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21934          { (char *)"ImageList_Draw", (PyCFunction
) _wrap_ImageList_Draw
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21935          { (char *)"ImageList_GetImageCount", (PyCFunction
) _wrap_ImageList_GetImageCount
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21936          { (char *)"ImageList_Remove", (PyCFunction
) _wrap_ImageList_Remove
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21937          { (char *)"ImageList_RemoveAll", (PyCFunction
) _wrap_ImageList_RemoveAll
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21938          { (char *)"ImageList_GetSize", (PyCFunction
) _wrap_ImageList_GetSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21939          { (char *)"ImageList_swigregister", ImageList_swigregister
, METH_VARARGS
, NULL
}, 
21940          { (char *)"PenList_AddPen", (PyCFunction
) _wrap_PenList_AddPen
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21941          { (char *)"PenList_FindOrCreatePen", (PyCFunction
) _wrap_PenList_FindOrCreatePen
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21942          { (char *)"PenList_RemovePen", (PyCFunction
) _wrap_PenList_RemovePen
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21943          { (char *)"PenList_GetCount", (PyCFunction
) _wrap_PenList_GetCount
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21944          { (char *)"PenList_swigregister", PenList_swigregister
, METH_VARARGS
, NULL
}, 
21945          { (char *)"BrushList_AddBrush", (PyCFunction
) _wrap_BrushList_AddBrush
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21946          { (char *)"BrushList_FindOrCreateBrush", (PyCFunction
) _wrap_BrushList_FindOrCreateBrush
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21947          { (char *)"BrushList_RemoveBrush", (PyCFunction
) _wrap_BrushList_RemoveBrush
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21948          { (char *)"BrushList_GetCount", (PyCFunction
) _wrap_BrushList_GetCount
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21949          { (char *)"BrushList_swigregister", BrushList_swigregister
, METH_VARARGS
, NULL
}, 
21950          { (char *)"new_ColourDatabase", (PyCFunction
) _wrap_new_ColourDatabase
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21951          { (char *)"delete_ColourDatabase", (PyCFunction
) _wrap_delete_ColourDatabase
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21952          { (char *)"ColourDatabase_Find", (PyCFunction
) _wrap_ColourDatabase_Find
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21953          { (char *)"ColourDatabase_FindName", (PyCFunction
) _wrap_ColourDatabase_FindName
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21954          { (char *)"ColourDatabase_AddColour", (PyCFunction
) _wrap_ColourDatabase_AddColour
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21955          { (char *)"ColourDatabase_Append", (PyCFunction
) _wrap_ColourDatabase_Append
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21956          { (char *)"ColourDatabase_swigregister", ColourDatabase_swigregister
, METH_VARARGS
, NULL
}, 
21957          { (char *)"FontList_AddFont", (PyCFunction
) _wrap_FontList_AddFont
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21958          { (char *)"FontList_FindOrCreateFont", (PyCFunction
) _wrap_FontList_FindOrCreateFont
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21959          { (char *)"FontList_RemoveFont", (PyCFunction
) _wrap_FontList_RemoveFont
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21960          { (char *)"FontList_GetCount", (PyCFunction
) _wrap_FontList_GetCount
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21961          { (char *)"FontList_swigregister", FontList_swigregister
, METH_VARARGS
, NULL
}, 
21962          { (char *)"new_Effects", (PyCFunction
) _wrap_new_Effects
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21963          { (char *)"Effects_GetHighlightColour", (PyCFunction
) _wrap_Effects_GetHighlightColour
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21964          { (char *)"Effects_GetLightShadow", (PyCFunction
) _wrap_Effects_GetLightShadow
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21965          { (char *)"Effects_GetFaceColour", (PyCFunction
) _wrap_Effects_GetFaceColour
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21966          { (char *)"Effects_GetMediumShadow", (PyCFunction
) _wrap_Effects_GetMediumShadow
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21967          { (char *)"Effects_GetDarkShadow", (PyCFunction
) _wrap_Effects_GetDarkShadow
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21968          { (char *)"Effects_SetHighlightColour", (PyCFunction
) _wrap_Effects_SetHighlightColour
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21969          { (char *)"Effects_SetLightShadow", (PyCFunction
) _wrap_Effects_SetLightShadow
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21970          { (char *)"Effects_SetFaceColour", (PyCFunction
) _wrap_Effects_SetFaceColour
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21971          { (char *)"Effects_SetMediumShadow", (PyCFunction
) _wrap_Effects_SetMediumShadow
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21972          { (char *)"Effects_SetDarkShadow", (PyCFunction
) _wrap_Effects_SetDarkShadow
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21973          { (char *)"Effects_Set", (PyCFunction
) _wrap_Effects_Set
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21974          { (char *)"Effects_DrawSunkenEdge", (PyCFunction
) _wrap_Effects_DrawSunkenEdge
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21975          { (char *)"Effects_TileBitmap", (PyCFunction
) _wrap_Effects_TileBitmap
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
21976          { (char *)"Effects_swigregister", Effects_swigregister
, METH_VARARGS
, NULL
}, 
21977          { NULL
, NULL
, 0, NULL 
} 
21981 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */ 
21983 static void *_p_wxBufferedDCTo_p_wxMemoryDC(void *x
) { 
21984     return (void *)((wxMemoryDC 
*)  ((wxBufferedDC 
*) x
)); 
21986 static void *_p_wxBufferedPaintDCTo_p_wxMemoryDC(void *x
) { 
21987     return (void *)((wxMemoryDC 
*) (wxBufferedDC 
*) ((wxBufferedPaintDC 
*) x
)); 
21989 static void *_p_wxIconTo_p_wxGDIObject(void *x
) { 
21990     return (void *)((wxGDIObject 
*)  ((wxIcon 
*) x
)); 
21992 static void *_p_wxPaletteTo_p_wxGDIObject(void *x
) { 
21993     return (void *)((wxGDIObject 
*)  ((wxPalette 
*) x
)); 
21995 static void *_p_wxPenTo_p_wxGDIObject(void *x
) { 
21996     return (void *)((wxGDIObject 
*)  ((wxPen 
*) x
)); 
21998 static void *_p_wxFontTo_p_wxGDIObject(void *x
) { 
21999     return (void *)((wxGDIObject 
*)  ((wxFont 
*) x
)); 
22001 static void *_p_wxCursorTo_p_wxGDIObject(void *x
) { 
22002     return (void *)((wxGDIObject 
*)  ((wxCursor 
*) x
)); 
22004 static void *_p_wxBitmapTo_p_wxGDIObject(void *x
) { 
22005     return (void *)((wxGDIObject 
*)  ((wxBitmap 
*) x
)); 
22007 static void *_p_wxRegionTo_p_wxGDIObject(void *x
) { 
22008     return (void *)((wxGDIObject 
*)  ((wxRegion 
*) x
)); 
22010 static void *_p_wxBrushTo_p_wxGDIObject(void *x
) { 
22011     return (void *)((wxGDIObject 
*)  ((wxBrush 
*) x
)); 
22013 static void *_p_wxBufferedDCTo_p_wxDC(void *x
) { 
22014     return (void *)((wxDC 
*) (wxMemoryDC 
*) ((wxBufferedDC 
*) x
)); 
22016 static void *_p_wxScreenDCTo_p_wxDC(void *x
) { 
22017     return (void *)((wxDC 
*)  ((wxScreenDC 
*) x
)); 
22019 static void *_p_wxMirrorDCTo_p_wxDC(void *x
) { 
22020     return (void *)((wxDC 
*)  ((wxMirrorDC 
*) x
)); 
22022 static void *_p_wxMemoryDCTo_p_wxDC(void *x
) { 
22023     return (void *)((wxDC 
*)  ((wxMemoryDC 
*) x
)); 
22025 static void *_p_wxWindowDCTo_p_wxDC(void *x
) { 
22026     return (void *)((wxDC 
*)  ((wxWindowDC 
*) x
)); 
22028 static void *_p_wxMetaFileDCTo_p_wxDC(void *x
) { 
22029     return (void *)((wxDC 
*)  ((wxMetaFileDC 
*) x
)); 
22031 static void *_p_wxBufferedPaintDCTo_p_wxDC(void *x
) { 
22032     return (void *)((wxDC 
*) (wxMemoryDC 
*)(wxBufferedDC 
*) ((wxBufferedPaintDC 
*) x
)); 
22034 static void *_p_wxClientDCTo_p_wxDC(void *x
) { 
22035     return (void *)((wxDC 
*)  ((wxClientDC 
*) x
)); 
22037 static void *_p_wxPaintDCTo_p_wxDC(void *x
) { 
22038     return (void *)((wxDC 
*)  ((wxPaintDC 
*) x
)); 
22040 static void *_p_wxPostScriptDCTo_p_wxDC(void *x
) { 
22041     return (void *)((wxDC 
*)  ((wxPostScriptDC 
*) x
)); 
22043 static void *_p_wxPrinterDCTo_p_wxDC(void *x
) { 
22044     return (void *)((wxDC 
*)  ((wxPrinterDC 
*) x
)); 
22046 static void *_p_wxBufferedPaintDCTo_p_wxBufferedDC(void *x
) { 
22047     return (void *)((wxBufferedDC 
*)  ((wxBufferedPaintDC 
*) x
)); 
22049 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) { 
22050     return (void *)((wxObject 
*)  ((wxLayoutConstraints 
*) x
)); 
22052 static void *_p_wxPenTo_p_wxObject(void *x
) { 
22053     return (void *)((wxObject 
*) (wxGDIObject 
*) ((wxPen 
*) x
)); 
22055 static void *_p_wxRegionIteratorTo_p_wxObject(void *x
) { 
22056     return (void *)((wxObject 
*)  ((wxRegionIterator 
*) x
)); 
22058 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) { 
22059     return (void *)((wxObject 
*) (wxSizerItem 
*) ((wxGBSizerItem 
*) x
)); 
22061 static void *_p_wxSizerItemTo_p_wxObject(void *x
) { 
22062     return (void *)((wxObject 
*)  ((wxSizerItem 
*) x
)); 
22064 static void *_p_wxColourDatabaseTo_p_wxObject(void *x
) { 
22065     return (void *)((wxObject 
*)  ((wxColourDatabase 
*) x
)); 
22067 static void *_p_wxScrollEventTo_p_wxObject(void *x
) { 
22068     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxScrollEvent 
*) x
)); 
22070 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) { 
22071     return (void *)((wxObject 
*)  ((wxIndividualLayoutConstraint 
*) x
)); 
22073 static void *_p_wxIconTo_p_wxObject(void *x
) { 
22074     return (void *)((wxObject 
*) (wxGDIObject 
*) ((wxIcon 
*) x
)); 
22076 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) { 
22077     return (void *)((wxObject 
*) (wxSizer 
*)(wxBoxSizer 
*) ((wxStaticBoxSizer 
*) x
)); 
22079 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) { 
22080     return (void *)((wxObject 
*) (wxSizer 
*) ((wxBoxSizer 
*) x
)); 
22082 static void *_p_wxSizerTo_p_wxObject(void *x
) { 
22083     return (void *)((wxObject 
*)  ((wxSizer 
*) x
)); 
22085 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) { 
22086     return (void *)((wxObject 
*) (wxSizer 
*)(wxGridSizer 
*)(wxFlexGridSizer 
*) ((wxGridBagSizer 
*) x
)); 
22088 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) { 
22089     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxUpdateUIEvent 
*) x
)); 
22091 static void *_p_wxPenListTo_p_wxObject(void *x
) { 
22092     return (void *)((wxObject 
*)  ((wxPenList 
*) x
)); 
22094 static void *_p_wxEventTo_p_wxObject(void *x
) { 
22095     return (void *)((wxObject 
*)  ((wxEvent 
*) x
)); 
22097 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) { 
22098     return (void *)((wxObject 
*) (wxSizer 
*)(wxGridSizer 
*) ((wxFlexGridSizer 
*) x
)); 
22100 static void *_p_wxGridSizerTo_p_wxObject(void *x
) { 
22101     return (void *)((wxObject 
*) (wxSizer 
*) ((wxGridSizer 
*) x
)); 
22103 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) { 
22104     return (void *)((wxObject 
*) (wxEvent 
*) ((wxInitDialogEvent 
*) x
)); 
22106 static void *_p_wxPaintEventTo_p_wxObject(void *x
) { 
22107     return (void *)((wxObject 
*) (wxEvent 
*) ((wxPaintEvent 
*) x
)); 
22109 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) { 
22110     return (void *)((wxObject 
*) (wxEvent 
*) ((wxNcPaintEvent 
*) x
)); 
22112 static void *_p_wxDCTo_p_wxObject(void *x
) { 
22113     return (void *)((wxObject 
*)  ((wxDC 
*) x
)); 
22115 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) { 
22116     return (void *)((wxObject 
*) (wxEvent 
*) ((wxPaletteChangedEvent 
*) x
)); 
22118 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) { 
22119     return (void *)((wxObject 
*) (wxEvent 
*) ((wxDisplayChangedEvent 
*) x
)); 
22121 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) { 
22122     return (void *)((wxObject 
*) (wxEvent 
*) ((wxMouseCaptureChangedEvent 
*) x
)); 
22124 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) { 
22125     return (void *)((wxObject 
*) (wxEvent 
*) ((wxSysColourChangedEvent 
*) x
)); 
22127 static void *_p_wxControlTo_p_wxObject(void *x
) { 
22128     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*) ((wxControl 
*) x
)); 
22130 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) { 
22131     return (void *)((wxObject 
*) (wxEvent 
*) ((wxSetCursorEvent 
*) x
)); 
22133 static void *_p_wxClientDCTo_p_wxObject(void *x
) { 
22134     return (void *)((wxObject 
*) (wxDC 
*) ((wxClientDC 
*) x
)); 
22136 static void *_p_wxFSFileTo_p_wxObject(void *x
) { 
22137     return (void *)((wxObject 
*)  ((wxFSFile 
*) x
)); 
22139 static void *_p_wxMemoryDCTo_p_wxObject(void *x
) { 
22140     return (void *)((wxObject 
*) (wxDC 
*) ((wxMemoryDC 
*) x
)); 
22142 static void *_p_wxRegionTo_p_wxObject(void *x
) { 
22143     return (void *)((wxObject 
*) (wxGDIObject 
*) ((wxRegion 
*) x
)); 
22145 static void *_p_wxPySizerTo_p_wxObject(void *x
) { 
22146     return (void *)((wxObject 
*) (wxSizer 
*) ((wxPySizer 
*) x
)); 
22148 static void *_p_wxWindowDCTo_p_wxObject(void *x
) { 
22149     return (void *)((wxObject 
*) (wxDC 
*) ((wxWindowDC 
*) x
)); 
22151 static void *_p_wxGDIObjectTo_p_wxObject(void *x
) { 
22152     return (void *)((wxObject 
*)  ((wxGDIObject 
*) x
)); 
22154 static void *_p_wxEffectsTo_p_wxObject(void *x
) { 
22155     return (void *)((wxObject 
*)  ((wxEffects 
*) x
)); 
22157 static void *_p_wxPyEventTo_p_wxObject(void *x
) { 
22158     return (void *)((wxObject 
*) (wxEvent 
*) ((wxPyEvent 
*) x
)); 
22160 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) { 
22161     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxNotifyEvent 
*) x
)); 
22163 static void *_p_wxPostScriptDCTo_p_wxObject(void *x
) { 
22164     return (void *)((wxObject 
*) (wxDC 
*) ((wxPostScriptDC 
*) x
)); 
22166 static void *_p_wxShowEventTo_p_wxObject(void *x
) { 
22167     return (void *)((wxObject 
*) (wxEvent 
*) ((wxShowEvent 
*) x
)); 
22169 static void *_p_wxMenuItemTo_p_wxObject(void *x
) { 
22170     return (void *)((wxObject 
*)  ((wxMenuItem 
*) x
)); 
22172 static void *_p_wxDateEventTo_p_wxObject(void *x
) { 
22173     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxDateEvent 
*) x
)); 
22175 static void *_p_wxIdleEventTo_p_wxObject(void *x
) { 
22176     return (void *)((wxObject 
*) (wxEvent 
*) ((wxIdleEvent 
*) x
)); 
22178 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) { 
22179     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxWindowCreateEvent 
*) x
)); 
22181 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) { 
22182     return (void *)((wxObject 
*) (wxEvent 
*) ((wxQueryNewPaletteEvent 
*) x
)); 
22184 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) { 
22185     return (void *)((wxObject 
*) (wxEvent 
*) ((wxMaximizeEvent 
*) x
)); 
22187 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) { 
22188     return (void *)((wxObject 
*) (wxEvent 
*) ((wxIconizeEvent 
*) x
)); 
22190 static void *_p_wxSizeEventTo_p_wxObject(void *x
) { 
22191     return (void *)((wxObject 
*) (wxEvent 
*) ((wxSizeEvent 
*) x
)); 
22193 static void *_p_wxMoveEventTo_p_wxObject(void *x
) { 
22194     return (void *)((wxObject 
*) (wxEvent 
*) ((wxMoveEvent 
*) x
)); 
22196 static void *_p_wxActivateEventTo_p_wxObject(void *x
) { 
22197     return (void *)((wxObject 
*) (wxEvent 
*) ((wxActivateEvent 
*) x
)); 
22199 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) { 
22200     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxXPMHandler 
*) x
)); 
22202 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) { 
22203     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxPNMHandler 
*) x
)); 
22205 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) { 
22206     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxJPEGHandler 
*) x
)); 
22208 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) { 
22209     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxPCXHandler 
*) x
)); 
22211 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) { 
22212     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxGIFHandler 
*) x
)); 
22214 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) { 
22215     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxPNGHandler 
*) x
)); 
22217 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) { 
22218     return (void *)((wxObject 
*) (wxImageHandler 
*)(wxBMPHandler 
*)(wxICOHandler 
*)(wxCURHandler 
*) ((wxANIHandler 
*) x
)); 
22220 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) { 
22221     return (void *)((wxObject 
*) (wxImageHandler 
*)(wxBMPHandler 
*)(wxICOHandler 
*) ((wxCURHandler 
*) x
)); 
22223 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) { 
22224     return (void *)((wxObject 
*) (wxImageHandler 
*)(wxBMPHandler 
*) ((wxICOHandler 
*) x
)); 
22226 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) { 
22227     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxBMPHandler 
*) x
)); 
22229 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) { 
22230     return (void *)((wxObject 
*)  ((wxImageHandler 
*) x
)); 
22232 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) { 
22233     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxTIFFHandler 
*) x
)); 
22235 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) { 
22236     return (void *)((wxObject 
*)  ((wxEvtHandler 
*) x
)); 
22238 static void *_p_wxBufferedPaintDCTo_p_wxObject(void *x
) { 
22239     return (void *)((wxObject 
*) (wxDC 
*)(wxMemoryDC 
*)(wxBufferedDC 
*) ((wxBufferedPaintDC 
*) x
)); 
22241 static void *_p_wxPaintDCTo_p_wxObject(void *x
) { 
22242     return (void *)((wxObject 
*) (wxDC 
*) ((wxPaintDC 
*) x
)); 
22244 static void *_p_wxPrinterDCTo_p_wxObject(void *x
) { 
22245     return (void *)((wxObject 
*) (wxDC 
*) ((wxPrinterDC 
*) x
)); 
22247 static void *_p_wxScreenDCTo_p_wxObject(void *x
) { 
22248     return (void *)((wxObject 
*) (wxDC 
*) ((wxScreenDC 
*) x
)); 
22250 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) { 
22251     return (void *)((wxObject 
*) (wxSizer 
*)(wxBoxSizer 
*) ((wxStdDialogButtonSizer 
*) x
)); 
22253 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) { 
22254     return (void *)((wxObject 
*)  ((wxAcceleratorTable 
*) x
)); 
22256 static void *_p_wxImageTo_p_wxObject(void *x
) { 
22257     return (void *)((wxObject 
*)  ((wxImage 
*) x
)); 
22259 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) { 
22260     return (void *)((wxObject 
*) (wxEvent 
*) ((wxScrollWinEvent 
*) x
)); 
22262 static void *_p_wxPaletteTo_p_wxObject(void *x
) { 
22263     return (void *)((wxObject 
*) (wxGDIObject 
*) ((wxPalette 
*) x
)); 
22265 static void *_p_wxBufferedDCTo_p_wxObject(void *x
) { 
22266     return (void *)((wxObject 
*) (wxDC 
*)(wxMemoryDC 
*) ((wxBufferedDC 
*) x
)); 
22268 static void *_p_wxImageListTo_p_wxObject(void *x
) { 
22269     return (void *)((wxObject 
*)  ((wxImageList 
*) x
)); 
22271 static void *_p_wxCursorTo_p_wxObject(void *x
) { 
22272     return (void *)((wxObject 
*) (wxGDIObject 
*) ((wxCursor 
*) x
)); 
22274 static void *_p_wxEncodingConverterTo_p_wxObject(void *x
) { 
22275     return (void *)((wxObject 
*)  ((wxEncodingConverter 
*) x
)); 
22277 static void *_p_wxMirrorDCTo_p_wxObject(void *x
) { 
22278     return (void *)((wxObject 
*) (wxDC 
*) ((wxMirrorDC 
*) x
)); 
22280 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) { 
22281     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxWindowDestroyEvent 
*) x
)); 
22283 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) { 
22284     return (void *)((wxObject 
*) (wxEvent 
*) ((wxNavigationKeyEvent 
*) x
)); 
22286 static void *_p_wxKeyEventTo_p_wxObject(void *x
) { 
22287     return (void *)((wxObject 
*) (wxEvent 
*) ((wxKeyEvent 
*) x
)); 
22289 static void *_p_wxWindowTo_p_wxObject(void *x
) { 
22290     return (void *)((wxObject 
*) (wxEvtHandler 
*) ((wxWindow 
*) x
)); 
22292 static void *_p_wxMenuTo_p_wxObject(void *x
) { 
22293     return (void *)((wxObject 
*) (wxEvtHandler 
*) ((wxMenu 
*) x
)); 
22295 static void *_p_wxMenuBarTo_p_wxObject(void *x
) { 
22296     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*) ((wxMenuBar 
*) x
)); 
22298 static void *_p_wxMetaFileDCTo_p_wxObject(void *x
) { 
22299     return (void *)((wxObject 
*) (wxDC 
*) ((wxMetaFileDC 
*) x
)); 
22301 static void *_p_wxBrushListTo_p_wxObject(void *x
) { 
22302     return (void *)((wxObject 
*)  ((wxBrushList 
*) x
)); 
22304 static void *_p_wxFileSystemTo_p_wxObject(void *x
) { 
22305     return (void *)((wxObject 
*)  ((wxFileSystem 
*) x
)); 
22307 static void *_p_wxBitmapTo_p_wxObject(void *x
) { 
22308     return (void *)((wxObject 
*) (wxGDIObject 
*) ((wxBitmap 
*) x
)); 
22310 static void *_p_wxMaskTo_p_wxObject(void *x
) { 
22311     return (void *)((wxObject 
*)  ((wxMask 
*) x
)); 
22313 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) { 
22314     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxContextMenuEvent 
*) x
)); 
22316 static void *_p_wxMenuEventTo_p_wxObject(void *x
) { 
22317     return (void *)((wxObject 
*) (wxEvent 
*) ((wxMenuEvent 
*) x
)); 
22319 static void *_p_wxPyAppTo_p_wxObject(void *x
) { 
22320     return (void *)((wxObject 
*) (wxEvtHandler 
*) ((wxPyApp 
*) x
)); 
22322 static void *_p_wxCloseEventTo_p_wxObject(void *x
) { 
22323     return (void *)((wxObject 
*) (wxEvent 
*) ((wxCloseEvent 
*) x
)); 
22325 static void *_p_wxMouseEventTo_p_wxObject(void *x
) { 
22326     return (void *)((wxObject 
*) (wxEvent 
*) ((wxMouseEvent 
*) x
)); 
22328 static void *_p_wxEraseEventTo_p_wxObject(void *x
) { 
22329     return (void *)((wxObject 
*) (wxEvent 
*) ((wxEraseEvent 
*) x
)); 
22331 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) { 
22332     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxPyCommandEvent 
*) x
)); 
22334 static void *_p_wxCommandEventTo_p_wxObject(void *x
) { 
22335     return (void *)((wxObject 
*) (wxEvent 
*) ((wxCommandEvent 
*) x
)); 
22337 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) { 
22338     return (void *)((wxObject 
*) (wxEvent 
*) ((wxDropFilesEvent 
*) x
)); 
22340 static void *_p_wxFocusEventTo_p_wxObject(void *x
) { 
22341     return (void *)((wxObject 
*) (wxEvent 
*) ((wxFocusEvent 
*) x
)); 
22343 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) { 
22344     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxChildFocusEvent 
*) x
)); 
22346 static void *_p_wxFontTo_p_wxObject(void *x
) { 
22347     return (void *)((wxObject 
*) (wxGDIObject 
*) ((wxFont 
*) x
)); 
22349 static void *_p_wxBrushTo_p_wxObject(void *x
) { 
22350     return (void *)((wxObject 
*) (wxGDIObject 
*) ((wxBrush 
*) x
)); 
22352 static void *_p_wxMetaFileTo_p_wxObject(void *x
) { 
22353     return (void *)((wxObject 
*)  ((wxMetaFile 
*) x
)); 
22355 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) { 
22356     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxControl 
*) ((wxControlWithItems 
*) x
)); 
22358 static void *_p_wxColourTo_p_wxObject(void *x
) { 
22359     return (void *)((wxObject 
*)  ((wxColour 
*) x
)); 
22361 static void *_p_wxFontListTo_p_wxObject(void *x
) { 
22362     return (void *)((wxObject 
*)  ((wxFontList 
*) x
)); 
22364 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) { 
22365     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxValidator 
*) ((wxPyValidator 
*) x
)); 
22367 static void *_p_wxValidatorTo_p_wxObject(void *x
) { 
22368     return (void *)((wxObject 
*) (wxEvtHandler 
*) ((wxValidator 
*) x
)); 
22370 static void *_p_wxControlTo_p_wxWindow(void *x
) { 
22371     return (void *)((wxWindow 
*)  ((wxControl 
*) x
)); 
22373 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) { 
22374     return (void *)((wxWindow 
*) (wxControl 
*) ((wxControlWithItems 
*) x
)); 
22376 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) { 
22377     return (void *)((wxWindow 
*)  ((wxMenuBar 
*) x
)); 
22379 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}}; 
22380 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}}; 
22381 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}}; 
22382 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}}; 
22383 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}}; 
22384 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}}; 
22385 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}}; 
22386 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}}; 
22387 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}}; 
22388 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}}; 
22389 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}}; 
22390 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}}; 
22391 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}}; 
22392 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}}; 
22393 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}}; 
22394 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}}; 
22395 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}}; 
22396 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}}; 
22397 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}}; 
22398 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}}; 
22399 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}}; 
22400 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}}; 
22401 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}}; 
22402 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_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_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}}; 
22403 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}}; 
22404 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}}; 
22405 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}}; 
22406 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}}; 
22407 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}}; 
22408 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}}; 
22409 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}}; 
22410 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}}; 
22411 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}}; 
22412 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}}; 
22413 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}}; 
22414 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}}; 
22415 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}}; 
22416 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}}; 
22417 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}}; 
22418 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}}; 
22419 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}}; 
22420 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}}; 
22421 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}}; 
22422 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}}; 
22423 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}}; 
22424 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}}; 
22425 static swig_type_info _swigt__p_wxConfigBase
[] = {{"_p_wxConfigBase", 0, "wxConfigBase *", 0, 0, 0, 0},{"_p_wxConfigBase", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
22426 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}}; 
22427 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}}; 
22428 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}}; 
22429 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}}; 
22430 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}}; 
22431 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}}; 
22432 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}}; 
22433 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}}; 
22434 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}}; 
22435 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}}; 
22436 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}}; 
22437 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}}; 
22438 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}}; 
22439 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}}; 
22440 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}}; 
22442 static swig_type_info 
*swig_types_initial
[] = { 
22443 _swigt__p_wxPostScriptDC
,  
22445 _swigt__p_wxColour
,  
22447 _swigt__p_wxMirrorDC
,  
22448 _swigt__p_form_ops_t
,  
22449 _swigt__p_wxDuplexMode
,  
22450 _swigt__p_wxPyFontEnumerator
,  
22452 _swigt__p_wxIconLocation
,  
22454 _swigt__p_wxMetaFileDC
,  
22458 _swigt__p_wxWindow
,  
22460 _swigt__p_wxMemoryDC
,  
22461 _swigt__p_wxFontMapper
,  
22462 _swigt__p_wxEffects
,  
22463 _swigt__p_wxNativeEncodingInfo
,  
22464 _swigt__p_wxPalette
,  
22465 _swigt__p_wxBitmap
,  
22466 _swigt__p_wxObject
,  
22467 _swigt__p_wxRegionIterator
,  
22469 _swigt__p_wxPaperSize
,  
22470 _swigt__p_wxString
,  
22471 _swigt__unsigned_int
,  
22472 _swigt__p_unsigned_int
,  
22473 _swigt__p_wxPrinterDC
,  
22474 _swigt__p_wxIconBundle
,  
22477 _swigt__p_wxScreenDC
,  
22478 _swigt__p_wxCursor
,  
22479 _swigt__p_wxClientDC
,  
22480 _swigt__p_wxBufferedDC
,  
22481 _swigt__p_wxImageList
,  
22482 _swigt__p_unsigned_char
,  
22483 _swigt__p_wxGDIObject
,  
22485 _swigt__p_wxLocale
,  
22487 _swigt__std__ptrdiff_t
,  
22488 _swigt__p_wxRegion
,  
22489 _swigt__p_wxConfigBase
,  
22490 _swigt__p_wxLanguageInfo
,  
22491 _swigt__p_wxWindowDC
,  
22492 _swigt__p_wxPrintData
,  
22493 _swigt__p_wxBrushList
,  
22494 _swigt__p_wxFontList
,  
22496 _swigt__p_wxBufferedPaintDC
,  
22497 _swigt__p_wxPaintDC
,  
22498 _swigt__p_wxPenList
,  
22500 _swigt__p_wxMetaFile
,  
22501 _swigt__p_unsigned_long
,  
22502 _swigt__p_wxNativeFontInfo
,  
22503 _swigt__p_wxEncodingConverter
,  
22504 _swigt__p_wxColourDatabase
,  
22509 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */ 
22511 static swig_const_info swig_const_table
[] = { 
22512 {0, 0, 0, 0.0, 0, 0}}; 
22523     /* Python-specific SWIG API */ 
22524 #define SWIG_newvarlink()                             SWIG_Python_newvarlink() 
22525 #define SWIG_addvarlink(p, name, get_attr, set_attr)  SWIG_Python_addvarlink(p, name, get_attr, set_attr) 
22526 #define SWIG_InstallConstants(d, constants)           SWIG_Python_InstallConstants(d, constants) 
22528     /* ----------------------------------------------------------------------------- 
22529      * global variable support code. 
22530      * ----------------------------------------------------------------------------- */ 
22532     typedef struct swig_globalvar 
{ 
22533         char       *name
;                  /* Name of global variable */ 
22534         PyObject 
*(*get_attr
)();           /* Return the current value */ 
22535         int       (*set_attr
)(PyObject 
*); /* Set the value */ 
22536         struct swig_globalvar 
*next
; 
22539     typedef struct swig_varlinkobject 
{ 
22541         swig_globalvar 
*vars
; 
22542     } swig_varlinkobject
; 
22545     swig_varlink_repr(swig_varlinkobject 
*v
) { 
22547         return PyString_FromString("<Swig global variables>"); 
22551     swig_varlink_print(swig_varlinkobject 
*v
, FILE *fp
, int flags
) { 
22552         swig_globalvar  
*var
; 
22554         fprintf(fp
,"Swig global variables { "); 
22555         for (var 
= v
->vars
; var
; var
=var
->next
) { 
22556             fprintf(fp
,"%s", var
->name
); 
22557             if (var
->next
) fprintf(fp
,", "); 
22559         fprintf(fp
," }\n"); 
22564     swig_varlink_getattr(swig_varlinkobject 
*v
, char *n
) { 
22565         swig_globalvar 
*var 
= v
->vars
; 
22567             if (strcmp(var
->name
,n
) == 0) { 
22568                 return (*var
->get_attr
)(); 
22572         PyErr_SetString(PyExc_NameError
,"Unknown C global variable"); 
22577     swig_varlink_setattr(swig_varlinkobject 
*v
, char *n
, PyObject 
*p
) { 
22578         swig_globalvar 
*var 
= v
->vars
; 
22580             if (strcmp(var
->name
,n
) == 0) { 
22581                 return (*var
->set_attr
)(p
); 
22585         PyErr_SetString(PyExc_NameError
,"Unknown C global variable"); 
22589     static PyTypeObject varlinktype 
= { 
22590         PyObject_HEAD_INIT(0)               
22591         0,                                  /* Number of items in variable part (ob_size) */ 
22592         (char *)"swigvarlink",              /* Type name (tp_name) */ 
22593         sizeof(swig_varlinkobject
),         /* Basic size (tp_basicsize) */ 
22594         0,                                  /* Itemsize (tp_itemsize) */ 
22595         0,                                  /* Deallocator (tp_dealloc) */  
22596         (printfunc
) swig_varlink_print
,     /* Print (tp_print) */ 
22597         (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */ 
22598         (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */ 
22599         0,                                  /* tp_compare */ 
22600         (reprfunc
) swig_varlink_repr
,       /* tp_repr */ 
22601         0,                                  /* tp_as_number */ 
22602         0,                                  /* tp_as_sequence */ 
22603         0,                                  /* tp_as_mapping */ 
22607         0,                                  /* tp_getattro */ 
22608         0,                                  /* tp_setattro */ 
22609         0,                                  /* tp_as_buffer */ 
22612 #if PY_VERSION_HEX >= 0x02000000 
22613         0,                                  /* tp_traverse */ 
22616 #if PY_VERSION_HEX >= 0x02010000 
22617         0,                                  /* tp_richcompare */ 
22618         0,                                  /* tp_weaklistoffset */ 
22620 #if PY_VERSION_HEX >= 0x02020000 
22621         0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */ 
22623 #if PY_VERSION_HEX >= 0x02030000 
22626 #ifdef COUNT_ALLOCS 
22627         0,0,0,0                             /* tp_alloc -> tp_next */ 
22631     /* Create a variable linking object for use later */ 
22633     SWIG_Python_newvarlink(void) { 
22634         swig_varlinkobject 
*result 
= 0; 
22635         result 
= PyMem_NEW(swig_varlinkobject
,1); 
22636         varlinktype
.ob_type 
= &PyType_Type
;    /* Patch varlinktype into a PyType */ 
22637         result
->ob_type 
= &varlinktype
; 
22639         result
->ob_refcnt 
= 0; 
22640         Py_XINCREF((PyObject 
*) result
); 
22641         return ((PyObject
*) result
); 
22645     SWIG_Python_addvarlink(PyObject 
*p
, char *name
, PyObject 
*(*get_attr
)(void), int (*set_attr
)(PyObject 
*p
)) { 
22646         swig_varlinkobject 
*v
; 
22647         swig_globalvar 
*gv
; 
22648         v
= (swig_varlinkobject 
*) p
; 
22649         gv 
= (swig_globalvar 
*) malloc(sizeof(swig_globalvar
)); 
22650         gv
->name 
= (char *) malloc(strlen(name
)+1); 
22651         strcpy(gv
->name
,name
); 
22652         gv
->get_attr 
= get_attr
; 
22653         gv
->set_attr 
= set_attr
; 
22654         gv
->next 
= v
->vars
; 
22658     /* ----------------------------------------------------------------------------- 
22659      * constants/methods manipulation 
22660      * ----------------------------------------------------------------------------- */ 
22662     /* Install Constants */ 
22664     SWIG_Python_InstallConstants(PyObject 
*d
, swig_const_info constants
[]) { 
22667         for (i 
= 0; constants
[i
].type
; i
++) { 
22668             switch(constants
[i
].type
) { 
22670                 obj 
= PyInt_FromLong(constants
[i
].lvalue
); 
22672                 case SWIG_PY_FLOAT
: 
22673                 obj 
= PyFloat_FromDouble(constants
[i
].dvalue
); 
22675                 case SWIG_PY_STRING
: 
22676                 if (constants
[i
].pvalue
) { 
22677                     obj 
= PyString_FromString((char *) constants
[i
].pvalue
); 
22679                     Py_INCREF(Py_None
); 
22683                 case SWIG_PY_POINTER
: 
22684                 obj 
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0); 
22686                 case SWIG_PY_BINARY
: 
22687                 obj 
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
)); 
22694                 PyDict_SetItemString(d
,constants
[i
].name
,obj
); 
22700     /* -----------------------------------------------------------------------------*/ 
22701     /* Fix SwigMethods to carry the callback ptrs when needed */ 
22702     /* -----------------------------------------------------------------------------*/ 
22705     SWIG_Python_FixMethods(PyMethodDef 
*methods
, 
22706     swig_const_info 
*const_table
, 
22707     swig_type_info 
**types
, 
22708     swig_type_info 
**types_initial
) { 
22710         for (i 
= 0; methods
[i
].ml_name
; ++i
) { 
22711             char *c 
= methods
[i
].ml_doc
; 
22712             if (c 
&& (c 
= strstr(c
, "swig_ptr: "))) { 
22714                 swig_const_info 
*ci 
= 0; 
22715                 char *name 
= c 
+ 10; 
22716                 for (j 
= 0; const_table
[j
].type
; j
++) { 
22717                     if (strncmp(const_table
[j
].name
, name
,  
22718                     strlen(const_table
[j
].name
)) == 0) { 
22719                         ci 
= &(const_table
[j
]); 
22724                     size_t shift 
= (ci
->ptype
) - types
; 
22725                     swig_type_info 
*ty 
= types_initial
[shift
]; 
22726                     size_t ldoc 
= (c 
- methods
[i
].ml_doc
); 
22727                     size_t lptr 
= strlen(ty
->name
)+2*sizeof(void*)+2; 
22728                     char *ndoc 
= (char*)malloc(ldoc 
+ lptr 
+ 10); 
22730                     void *ptr 
= (ci
->type 
== SWIG_PY_POINTER
) ? ci
->pvalue
: (void *)(ci
->lvalue
); 
22731                     strncpy(buff
, methods
[i
].ml_doc
, ldoc
); 
22733                     strncpy(buff
, "swig_ptr: ", 10); 
22735                     SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
); 
22736                     methods
[i
].ml_doc 
= ndoc
; 
22742     /* -----------------------------------------------------------------------------* 
22743      *  Initialize type list 
22744      * -----------------------------------------------------------------------------*/ 
22746 #if PY_MAJOR_VERSION < 2 
22747     /* PyModule_AddObject function was introduced in Python 2.0.  The following function 
22748     is copied out of Python/modsupport.c in python version 2.3.4 */ 
22750     PyModule_AddObject(PyObject 
*m
, char *name
, PyObject 
*o
) 
22753         if (!PyModule_Check(m
)) { 
22754             PyErr_SetString(PyExc_TypeError
, 
22755             "PyModule_AddObject() needs module as first arg"); 
22759             PyErr_SetString(PyExc_TypeError
, 
22760             "PyModule_AddObject() needs non-NULL value"); 
22764         dict 
= PyModule_GetDict(m
); 
22765         if (dict 
== NULL
) { 
22766             /* Internal error -- modules must have a dict! */ 
22767             PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__", 
22768             PyModule_GetName(m
)); 
22771         if (PyDict_SetItemString(dict
, name
, o
)) 
22778     static swig_type_info 
** 
22779     SWIG_Python_SetTypeListHandle(swig_type_info 
**type_list_handle
) { 
22780         static PyMethodDef swig_empty_runtime_method_table
[] = { 
22782                 NULL
, NULL
, 0, NULL
 
22786         PyObject 
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
, 
22787         swig_empty_runtime_method_table
); 
22788         PyObject 
*pointer 
= PyCObject_FromVoidPtr((void *) type_list_handle
, NULL
); 
22789         if (pointer 
&& module) { 
22790             PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
); 
22792         return type_list_handle
; 
22795     static swig_type_info 
** 
22796     SWIG_Python_LookupTypePointer(swig_type_info 
**type_list_handle
) { 
22797         swig_type_info 
**type_pointer
; 
22799         /* first check if module already created */ 
22800         type_pointer 
= SWIG_Python_GetTypeListHandle(); 
22801         if (type_pointer
) { 
22802             return type_pointer
; 
22804             /* create a new module and variable */ 
22805             return SWIG_Python_SetTypeListHandle(type_list_handle
); 
22813 /* -----------------------------------------------------------------------------* 
22814  *  Partial Init method 
22815  * -----------------------------------------------------------------------------*/ 
22817 #ifdef SWIG_LINK_RUNTIME 
22821 SWIGEXPORT(void *) SWIG_ReturnGlobalTypeList(void *); 
22827 SWIGEXPORT(void) SWIG_init(void) { 
22828     static PyObject 
*SWIG_globals 
= 0;  
22829     static int       typeinit 
= 0; 
22832     if (!SWIG_globals
) SWIG_globals 
= SWIG_newvarlink(); 
22834     /* Fix SwigMethods to carry the callback ptrs when needed */ 
22835     SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_types_initial
); 
22837     m 
= Py_InitModule((char *) SWIG_name
, SwigMethods
); 
22838     d 
= PyModule_GetDict(m
); 
22841 #ifdef SWIG_LINK_RUNTIME 
22842         swig_type_list_handle 
= (swig_type_info 
**) SWIG_ReturnGlobalTypeList(swig_type_list_handle
); 
22844 #  ifndef SWIG_STATIC_RUNTIME 
22845         swig_type_list_handle 
= SWIG_Python_LookupTypePointer(swig_type_list_handle
); 
22848         for (i 
= 0; swig_types_initial
[i
]; i
++) { 
22849             swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]); 
22853     SWIG_InstallConstants(d
,swig_const_table
); 
22856         PyDict_SetItemString(d
,"OutRegion", SWIG_From_int((int)(wxOutRegion
)));  
22859         PyDict_SetItemString(d
,"PartRegion", SWIG_From_int((int)(wxPartRegion
)));  
22862         PyDict_SetItemString(d
,"InRegion", SWIG_From_int((int)(wxInRegion
)));  
22865         PyDict_SetItemString(d
,"FONTFAMILY_DEFAULT", SWIG_From_int((int)(wxFONTFAMILY_DEFAULT
)));  
22868         PyDict_SetItemString(d
,"FONTFAMILY_DECORATIVE", SWIG_From_int((int)(wxFONTFAMILY_DECORATIVE
)));  
22871         PyDict_SetItemString(d
,"FONTFAMILY_ROMAN", SWIG_From_int((int)(wxFONTFAMILY_ROMAN
)));  
22874         PyDict_SetItemString(d
,"FONTFAMILY_SCRIPT", SWIG_From_int((int)(wxFONTFAMILY_SCRIPT
)));  
22877         PyDict_SetItemString(d
,"FONTFAMILY_SWISS", SWIG_From_int((int)(wxFONTFAMILY_SWISS
)));  
22880         PyDict_SetItemString(d
,"FONTFAMILY_MODERN", SWIG_From_int((int)(wxFONTFAMILY_MODERN
)));  
22883         PyDict_SetItemString(d
,"FONTFAMILY_TELETYPE", SWIG_From_int((int)(wxFONTFAMILY_TELETYPE
)));  
22886         PyDict_SetItemString(d
,"FONTFAMILY_MAX", SWIG_From_int((int)(wxFONTFAMILY_MAX
)));  
22889         PyDict_SetItemString(d
,"FONTFAMILY_UNKNOWN", SWIG_From_int((int)(wxFONTFAMILY_UNKNOWN
)));  
22892         PyDict_SetItemString(d
,"FONTSTYLE_NORMAL", SWIG_From_int((int)(wxFONTSTYLE_NORMAL
)));  
22895         PyDict_SetItemString(d
,"FONTSTYLE_ITALIC", SWIG_From_int((int)(wxFONTSTYLE_ITALIC
)));  
22898         PyDict_SetItemString(d
,"FONTSTYLE_SLANT", SWIG_From_int((int)(wxFONTSTYLE_SLANT
)));  
22901         PyDict_SetItemString(d
,"FONTSTYLE_MAX", SWIG_From_int((int)(wxFONTSTYLE_MAX
)));  
22904         PyDict_SetItemString(d
,"FONTWEIGHT_NORMAL", SWIG_From_int((int)(wxFONTWEIGHT_NORMAL
)));  
22907         PyDict_SetItemString(d
,"FONTWEIGHT_LIGHT", SWIG_From_int((int)(wxFONTWEIGHT_LIGHT
)));  
22910         PyDict_SetItemString(d
,"FONTWEIGHT_BOLD", SWIG_From_int((int)(wxFONTWEIGHT_BOLD
)));  
22913         PyDict_SetItemString(d
,"FONTWEIGHT_MAX", SWIG_From_int((int)(wxFONTWEIGHT_MAX
)));  
22916         PyDict_SetItemString(d
,"FONTFLAG_DEFAULT", SWIG_From_int((int)(wxFONTFLAG_DEFAULT
)));  
22919         PyDict_SetItemString(d
,"FONTFLAG_ITALIC", SWIG_From_int((int)(wxFONTFLAG_ITALIC
)));  
22922         PyDict_SetItemString(d
,"FONTFLAG_SLANT", SWIG_From_int((int)(wxFONTFLAG_SLANT
)));  
22925         PyDict_SetItemString(d
,"FONTFLAG_LIGHT", SWIG_From_int((int)(wxFONTFLAG_LIGHT
)));  
22928         PyDict_SetItemString(d
,"FONTFLAG_BOLD", SWIG_From_int((int)(wxFONTFLAG_BOLD
)));  
22931         PyDict_SetItemString(d
,"FONTFLAG_ANTIALIASED", SWIG_From_int((int)(wxFONTFLAG_ANTIALIASED
)));  
22934         PyDict_SetItemString(d
,"FONTFLAG_NOT_ANTIALIASED", SWIG_From_int((int)(wxFONTFLAG_NOT_ANTIALIASED
)));  
22937         PyDict_SetItemString(d
,"FONTFLAG_UNDERLINED", SWIG_From_int((int)(wxFONTFLAG_UNDERLINED
)));  
22940         PyDict_SetItemString(d
,"FONTFLAG_STRIKETHROUGH", SWIG_From_int((int)(wxFONTFLAG_STRIKETHROUGH
)));  
22943         PyDict_SetItemString(d
,"FONTFLAG_MASK", SWIG_From_int((int)(wxFONTFLAG_MASK
)));  
22946         PyDict_SetItemString(d
,"FONTENCODING_SYSTEM", SWIG_From_int((int)(wxFONTENCODING_SYSTEM
)));  
22949         PyDict_SetItemString(d
,"FONTENCODING_DEFAULT", SWIG_From_int((int)(wxFONTENCODING_DEFAULT
)));  
22952         PyDict_SetItemString(d
,"FONTENCODING_ISO8859_1", SWIG_From_int((int)(wxFONTENCODING_ISO8859_1
)));  
22955         PyDict_SetItemString(d
,"FONTENCODING_ISO8859_2", SWIG_From_int((int)(wxFONTENCODING_ISO8859_2
)));  
22958         PyDict_SetItemString(d
,"FONTENCODING_ISO8859_3", SWIG_From_int((int)(wxFONTENCODING_ISO8859_3
)));  
22961         PyDict_SetItemString(d
,"FONTENCODING_ISO8859_4", SWIG_From_int((int)(wxFONTENCODING_ISO8859_4
)));  
22964         PyDict_SetItemString(d
,"FONTENCODING_ISO8859_5", SWIG_From_int((int)(wxFONTENCODING_ISO8859_5
)));  
22967         PyDict_SetItemString(d
,"FONTENCODING_ISO8859_6", SWIG_From_int((int)(wxFONTENCODING_ISO8859_6
)));  
22970         PyDict_SetItemString(d
,"FONTENCODING_ISO8859_7", SWIG_From_int((int)(wxFONTENCODING_ISO8859_7
)));  
22973         PyDict_SetItemString(d
,"FONTENCODING_ISO8859_8", SWIG_From_int((int)(wxFONTENCODING_ISO8859_8
)));  
22976         PyDict_SetItemString(d
,"FONTENCODING_ISO8859_9", SWIG_From_int((int)(wxFONTENCODING_ISO8859_9
)));  
22979         PyDict_SetItemString(d
,"FONTENCODING_ISO8859_10", SWIG_From_int((int)(wxFONTENCODING_ISO8859_10
)));  
22982         PyDict_SetItemString(d
,"FONTENCODING_ISO8859_11", SWIG_From_int((int)(wxFONTENCODING_ISO8859_11
)));  
22985         PyDict_SetItemString(d
,"FONTENCODING_ISO8859_12", SWIG_From_int((int)(wxFONTENCODING_ISO8859_12
)));  
22988         PyDict_SetItemString(d
,"FONTENCODING_ISO8859_13", SWIG_From_int((int)(wxFONTENCODING_ISO8859_13
)));  
22991         PyDict_SetItemString(d
,"FONTENCODING_ISO8859_14", SWIG_From_int((int)(wxFONTENCODING_ISO8859_14
)));  
22994         PyDict_SetItemString(d
,"FONTENCODING_ISO8859_15", SWIG_From_int((int)(wxFONTENCODING_ISO8859_15
)));  
22997         PyDict_SetItemString(d
,"FONTENCODING_ISO8859_MAX", SWIG_From_int((int)(wxFONTENCODING_ISO8859_MAX
)));  
23000         PyDict_SetItemString(d
,"FONTENCODING_KOI8", SWIG_From_int((int)(wxFONTENCODING_KOI8
)));  
23003         PyDict_SetItemString(d
,"FONTENCODING_KOI8_U", SWIG_From_int((int)(wxFONTENCODING_KOI8_U
)));  
23006         PyDict_SetItemString(d
,"FONTENCODING_ALTERNATIVE", SWIG_From_int((int)(wxFONTENCODING_ALTERNATIVE
)));  
23009         PyDict_SetItemString(d
,"FONTENCODING_BULGARIAN", SWIG_From_int((int)(wxFONTENCODING_BULGARIAN
)));  
23012         PyDict_SetItemString(d
,"FONTENCODING_CP437", SWIG_From_int((int)(wxFONTENCODING_CP437
)));  
23015         PyDict_SetItemString(d
,"FONTENCODING_CP850", SWIG_From_int((int)(wxFONTENCODING_CP850
)));  
23018         PyDict_SetItemString(d
,"FONTENCODING_CP852", SWIG_From_int((int)(wxFONTENCODING_CP852
)));  
23021         PyDict_SetItemString(d
,"FONTENCODING_CP855", SWIG_From_int((int)(wxFONTENCODING_CP855
)));  
23024         PyDict_SetItemString(d
,"FONTENCODING_CP866", SWIG_From_int((int)(wxFONTENCODING_CP866
)));  
23027         PyDict_SetItemString(d
,"FONTENCODING_CP874", SWIG_From_int((int)(wxFONTENCODING_CP874
)));  
23030         PyDict_SetItemString(d
,"FONTENCODING_CP932", SWIG_From_int((int)(wxFONTENCODING_CP932
)));  
23033         PyDict_SetItemString(d
,"FONTENCODING_CP936", SWIG_From_int((int)(wxFONTENCODING_CP936
)));  
23036         PyDict_SetItemString(d
,"FONTENCODING_CP949", SWIG_From_int((int)(wxFONTENCODING_CP949
)));  
23039         PyDict_SetItemString(d
,"FONTENCODING_CP950", SWIG_From_int((int)(wxFONTENCODING_CP950
)));  
23042         PyDict_SetItemString(d
,"FONTENCODING_CP1250", SWIG_From_int((int)(wxFONTENCODING_CP1250
)));  
23045         PyDict_SetItemString(d
,"FONTENCODING_CP1251", SWIG_From_int((int)(wxFONTENCODING_CP1251
)));  
23048         PyDict_SetItemString(d
,"FONTENCODING_CP1252", SWIG_From_int((int)(wxFONTENCODING_CP1252
)));  
23051         PyDict_SetItemString(d
,"FONTENCODING_CP1253", SWIG_From_int((int)(wxFONTENCODING_CP1253
)));  
23054         PyDict_SetItemString(d
,"FONTENCODING_CP1254", SWIG_From_int((int)(wxFONTENCODING_CP1254
)));  
23057         PyDict_SetItemString(d
,"FONTENCODING_CP1255", SWIG_From_int((int)(wxFONTENCODING_CP1255
)));  
23060         PyDict_SetItemString(d
,"FONTENCODING_CP1256", SWIG_From_int((int)(wxFONTENCODING_CP1256
)));  
23063         PyDict_SetItemString(d
,"FONTENCODING_CP1257", SWIG_From_int((int)(wxFONTENCODING_CP1257
)));  
23066         PyDict_SetItemString(d
,"FONTENCODING_CP12_MAX", SWIG_From_int((int)(wxFONTENCODING_CP12_MAX
)));  
23069         PyDict_SetItemString(d
,"FONTENCODING_UTF7", SWIG_From_int((int)(wxFONTENCODING_UTF7
)));  
23072         PyDict_SetItemString(d
,"FONTENCODING_UTF8", SWIG_From_int((int)(wxFONTENCODING_UTF8
)));  
23075         PyDict_SetItemString(d
,"FONTENCODING_EUC_JP", SWIG_From_int((int)(wxFONTENCODING_EUC_JP
)));  
23078         PyDict_SetItemString(d
,"FONTENCODING_UTF16BE", SWIG_From_int((int)(wxFONTENCODING_UTF16BE
)));  
23081         PyDict_SetItemString(d
,"FONTENCODING_UTF16LE", SWIG_From_int((int)(wxFONTENCODING_UTF16LE
)));  
23084         PyDict_SetItemString(d
,"FONTENCODING_UTF32BE", SWIG_From_int((int)(wxFONTENCODING_UTF32BE
)));  
23087         PyDict_SetItemString(d
,"FONTENCODING_UTF32LE", SWIG_From_int((int)(wxFONTENCODING_UTF32LE
)));  
23090         PyDict_SetItemString(d
,"FONTENCODING_MACROMAN", SWIG_From_int((int)(wxFONTENCODING_MACROMAN
)));  
23093         PyDict_SetItemString(d
,"FONTENCODING_MACJAPANESE", SWIG_From_int((int)(wxFONTENCODING_MACJAPANESE
)));  
23096         PyDict_SetItemString(d
,"FONTENCODING_MACCHINESETRAD", SWIG_From_int((int)(wxFONTENCODING_MACCHINESETRAD
)));  
23099         PyDict_SetItemString(d
,"FONTENCODING_MACKOREAN", SWIG_From_int((int)(wxFONTENCODING_MACKOREAN
)));  
23102         PyDict_SetItemString(d
,"FONTENCODING_MACARABIC", SWIG_From_int((int)(wxFONTENCODING_MACARABIC
)));  
23105         PyDict_SetItemString(d
,"FONTENCODING_MACHEBREW", SWIG_From_int((int)(wxFONTENCODING_MACHEBREW
)));  
23108         PyDict_SetItemString(d
,"FONTENCODING_MACGREEK", SWIG_From_int((int)(wxFONTENCODING_MACGREEK
)));  
23111         PyDict_SetItemString(d
,"FONTENCODING_MACCYRILLIC", SWIG_From_int((int)(wxFONTENCODING_MACCYRILLIC
)));  
23114         PyDict_SetItemString(d
,"FONTENCODING_MACDEVANAGARI", SWIG_From_int((int)(wxFONTENCODING_MACDEVANAGARI
)));  
23117         PyDict_SetItemString(d
,"FONTENCODING_MACGURMUKHI", SWIG_From_int((int)(wxFONTENCODING_MACGURMUKHI
)));  
23120         PyDict_SetItemString(d
,"FONTENCODING_MACGUJARATI", SWIG_From_int((int)(wxFONTENCODING_MACGUJARATI
)));  
23123         PyDict_SetItemString(d
,"FONTENCODING_MACORIYA", SWIG_From_int((int)(wxFONTENCODING_MACORIYA
)));  
23126         PyDict_SetItemString(d
,"FONTENCODING_MACBENGALI", SWIG_From_int((int)(wxFONTENCODING_MACBENGALI
)));  
23129         PyDict_SetItemString(d
,"FONTENCODING_MACTAMIL", SWIG_From_int((int)(wxFONTENCODING_MACTAMIL
)));  
23132         PyDict_SetItemString(d
,"FONTENCODING_MACTELUGU", SWIG_From_int((int)(wxFONTENCODING_MACTELUGU
)));  
23135         PyDict_SetItemString(d
,"FONTENCODING_MACKANNADA", SWIG_From_int((int)(wxFONTENCODING_MACKANNADA
)));  
23138         PyDict_SetItemString(d
,"FONTENCODING_MACMALAJALAM", SWIG_From_int((int)(wxFONTENCODING_MACMALAJALAM
)));  
23141         PyDict_SetItemString(d
,"FONTENCODING_MACSINHALESE", SWIG_From_int((int)(wxFONTENCODING_MACSINHALESE
)));  
23144         PyDict_SetItemString(d
,"FONTENCODING_MACBURMESE", SWIG_From_int((int)(wxFONTENCODING_MACBURMESE
)));  
23147         PyDict_SetItemString(d
,"FONTENCODING_MACKHMER", SWIG_From_int((int)(wxFONTENCODING_MACKHMER
)));  
23150         PyDict_SetItemString(d
,"FONTENCODING_MACTHAI", SWIG_From_int((int)(wxFONTENCODING_MACTHAI
)));  
23153         PyDict_SetItemString(d
,"FONTENCODING_MACLAOTIAN", SWIG_From_int((int)(wxFONTENCODING_MACLAOTIAN
)));  
23156         PyDict_SetItemString(d
,"FONTENCODING_MACGEORGIAN", SWIG_From_int((int)(wxFONTENCODING_MACGEORGIAN
)));  
23159         PyDict_SetItemString(d
,"FONTENCODING_MACARMENIAN", SWIG_From_int((int)(wxFONTENCODING_MACARMENIAN
)));  
23162         PyDict_SetItemString(d
,"FONTENCODING_MACCHINESESIMP", SWIG_From_int((int)(wxFONTENCODING_MACCHINESESIMP
)));  
23165         PyDict_SetItemString(d
,"FONTENCODING_MACTIBETAN", SWIG_From_int((int)(wxFONTENCODING_MACTIBETAN
)));  
23168         PyDict_SetItemString(d
,"FONTENCODING_MACMONGOLIAN", SWIG_From_int((int)(wxFONTENCODING_MACMONGOLIAN
)));  
23171         PyDict_SetItemString(d
,"FONTENCODING_MACETHIOPIC", SWIG_From_int((int)(wxFONTENCODING_MACETHIOPIC
)));  
23174         PyDict_SetItemString(d
,"FONTENCODING_MACCENTRALEUR", SWIG_From_int((int)(wxFONTENCODING_MACCENTRALEUR
)));  
23177         PyDict_SetItemString(d
,"FONTENCODING_MACVIATNAMESE", SWIG_From_int((int)(wxFONTENCODING_MACVIATNAMESE
)));  
23180         PyDict_SetItemString(d
,"FONTENCODING_MACARABICEXT", SWIG_From_int((int)(wxFONTENCODING_MACARABICEXT
)));  
23183         PyDict_SetItemString(d
,"FONTENCODING_MACSYMBOL", SWIG_From_int((int)(wxFONTENCODING_MACSYMBOL
)));  
23186         PyDict_SetItemString(d
,"FONTENCODING_MACDINGBATS", SWIG_From_int((int)(wxFONTENCODING_MACDINGBATS
)));  
23189         PyDict_SetItemString(d
,"FONTENCODING_MACTURKISH", SWIG_From_int((int)(wxFONTENCODING_MACTURKISH
)));  
23192         PyDict_SetItemString(d
,"FONTENCODING_MACCROATIAN", SWIG_From_int((int)(wxFONTENCODING_MACCROATIAN
)));  
23195         PyDict_SetItemString(d
,"FONTENCODING_MACICELANDIC", SWIG_From_int((int)(wxFONTENCODING_MACICELANDIC
)));  
23198         PyDict_SetItemString(d
,"FONTENCODING_MACROMANIAN", SWIG_From_int((int)(wxFONTENCODING_MACROMANIAN
)));  
23201         PyDict_SetItemString(d
,"FONTENCODING_MACCELTIC", SWIG_From_int((int)(wxFONTENCODING_MACCELTIC
)));  
23204         PyDict_SetItemString(d
,"FONTENCODING_MACGAELIC", SWIG_From_int((int)(wxFONTENCODING_MACGAELIC
)));  
23207         PyDict_SetItemString(d
,"FONTENCODING_MACKEYBOARD", SWIG_From_int((int)(wxFONTENCODING_MACKEYBOARD
)));  
23210         PyDict_SetItemString(d
,"FONTENCODING_MACMIN", SWIG_From_int((int)(wxFONTENCODING_MACMIN
)));  
23213         PyDict_SetItemString(d
,"FONTENCODING_MACMAX", SWIG_From_int((int)(wxFONTENCODING_MACMAX
)));  
23216         PyDict_SetItemString(d
,"FONTENCODING_MAX", SWIG_From_int((int)(wxFONTENCODING_MAX
)));  
23219         PyDict_SetItemString(d
,"FONTENCODING_UTF16", SWIG_From_int((int)(wxFONTENCODING_UTF16
)));  
23222         PyDict_SetItemString(d
,"FONTENCODING_UTF32", SWIG_From_int((int)(wxFONTENCODING_UTF32
)));  
23225         PyDict_SetItemString(d
,"FONTENCODING_UNICODE", SWIG_From_int((int)(wxFONTENCODING_UNICODE
)));  
23228         PyDict_SetItemString(d
,"FONTENCODING_GB2312", SWIG_From_int((int)(wxFONTENCODING_GB2312
)));  
23231         PyDict_SetItemString(d
,"FONTENCODING_BIG5", SWIG_From_int((int)(wxFONTENCODING_BIG5
)));  
23234         PyDict_SetItemString(d
,"FONTENCODING_SHIFT_JIS", SWIG_From_int((int)(wxFONTENCODING_SHIFT_JIS
)));  
23237     wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator"); 
23240         PyDict_SetItemString(d
,"LANGUAGE_DEFAULT", SWIG_From_int((int)(wxLANGUAGE_DEFAULT
)));  
23243         PyDict_SetItemString(d
,"LANGUAGE_UNKNOWN", SWIG_From_int((int)(wxLANGUAGE_UNKNOWN
)));  
23246         PyDict_SetItemString(d
,"LANGUAGE_ABKHAZIAN", SWIG_From_int((int)(wxLANGUAGE_ABKHAZIAN
)));  
23249         PyDict_SetItemString(d
,"LANGUAGE_AFAR", SWIG_From_int((int)(wxLANGUAGE_AFAR
)));  
23252         PyDict_SetItemString(d
,"LANGUAGE_AFRIKAANS", SWIG_From_int((int)(wxLANGUAGE_AFRIKAANS
)));  
23255         PyDict_SetItemString(d
,"LANGUAGE_ALBANIAN", SWIG_From_int((int)(wxLANGUAGE_ALBANIAN
)));  
23258         PyDict_SetItemString(d
,"LANGUAGE_AMHARIC", SWIG_From_int((int)(wxLANGUAGE_AMHARIC
)));  
23261         PyDict_SetItemString(d
,"LANGUAGE_ARABIC", SWIG_From_int((int)(wxLANGUAGE_ARABIC
)));  
23264         PyDict_SetItemString(d
,"LANGUAGE_ARABIC_ALGERIA", SWIG_From_int((int)(wxLANGUAGE_ARABIC_ALGERIA
)));  
23267         PyDict_SetItemString(d
,"LANGUAGE_ARABIC_BAHRAIN", SWIG_From_int((int)(wxLANGUAGE_ARABIC_BAHRAIN
)));  
23270         PyDict_SetItemString(d
,"LANGUAGE_ARABIC_EGYPT", SWIG_From_int((int)(wxLANGUAGE_ARABIC_EGYPT
)));  
23273         PyDict_SetItemString(d
,"LANGUAGE_ARABIC_IRAQ", SWIG_From_int((int)(wxLANGUAGE_ARABIC_IRAQ
)));  
23276         PyDict_SetItemString(d
,"LANGUAGE_ARABIC_JORDAN", SWIG_From_int((int)(wxLANGUAGE_ARABIC_JORDAN
)));  
23279         PyDict_SetItemString(d
,"LANGUAGE_ARABIC_KUWAIT", SWIG_From_int((int)(wxLANGUAGE_ARABIC_KUWAIT
)));  
23282         PyDict_SetItemString(d
,"LANGUAGE_ARABIC_LEBANON", SWIG_From_int((int)(wxLANGUAGE_ARABIC_LEBANON
)));  
23285         PyDict_SetItemString(d
,"LANGUAGE_ARABIC_LIBYA", SWIG_From_int((int)(wxLANGUAGE_ARABIC_LIBYA
)));  
23288         PyDict_SetItemString(d
,"LANGUAGE_ARABIC_MOROCCO", SWIG_From_int((int)(wxLANGUAGE_ARABIC_MOROCCO
)));  
23291         PyDict_SetItemString(d
,"LANGUAGE_ARABIC_OMAN", SWIG_From_int((int)(wxLANGUAGE_ARABIC_OMAN
)));  
23294         PyDict_SetItemString(d
,"LANGUAGE_ARABIC_QATAR", SWIG_From_int((int)(wxLANGUAGE_ARABIC_QATAR
)));  
23297         PyDict_SetItemString(d
,"LANGUAGE_ARABIC_SAUDI_ARABIA", SWIG_From_int((int)(wxLANGUAGE_ARABIC_SAUDI_ARABIA
)));  
23300         PyDict_SetItemString(d
,"LANGUAGE_ARABIC_SUDAN", SWIG_From_int((int)(wxLANGUAGE_ARABIC_SUDAN
)));  
23303         PyDict_SetItemString(d
,"LANGUAGE_ARABIC_SYRIA", SWIG_From_int((int)(wxLANGUAGE_ARABIC_SYRIA
)));  
23306         PyDict_SetItemString(d
,"LANGUAGE_ARABIC_TUNISIA", SWIG_From_int((int)(wxLANGUAGE_ARABIC_TUNISIA
)));  
23309         PyDict_SetItemString(d
,"LANGUAGE_ARABIC_UAE", SWIG_From_int((int)(wxLANGUAGE_ARABIC_UAE
)));  
23312         PyDict_SetItemString(d
,"LANGUAGE_ARABIC_YEMEN", SWIG_From_int((int)(wxLANGUAGE_ARABIC_YEMEN
)));  
23315         PyDict_SetItemString(d
,"LANGUAGE_ARMENIAN", SWIG_From_int((int)(wxLANGUAGE_ARMENIAN
)));  
23318         PyDict_SetItemString(d
,"LANGUAGE_ASSAMESE", SWIG_From_int((int)(wxLANGUAGE_ASSAMESE
)));  
23321         PyDict_SetItemString(d
,"LANGUAGE_AYMARA", SWIG_From_int((int)(wxLANGUAGE_AYMARA
)));  
23324         PyDict_SetItemString(d
,"LANGUAGE_AZERI", SWIG_From_int((int)(wxLANGUAGE_AZERI
)));  
23327         PyDict_SetItemString(d
,"LANGUAGE_AZERI_CYRILLIC", SWIG_From_int((int)(wxLANGUAGE_AZERI_CYRILLIC
)));  
23330         PyDict_SetItemString(d
,"LANGUAGE_AZERI_LATIN", SWIG_From_int((int)(wxLANGUAGE_AZERI_LATIN
)));  
23333         PyDict_SetItemString(d
,"LANGUAGE_BASHKIR", SWIG_From_int((int)(wxLANGUAGE_BASHKIR
)));  
23336         PyDict_SetItemString(d
,"LANGUAGE_BASQUE", SWIG_From_int((int)(wxLANGUAGE_BASQUE
)));  
23339         PyDict_SetItemString(d
,"LANGUAGE_BELARUSIAN", SWIG_From_int((int)(wxLANGUAGE_BELARUSIAN
)));  
23342         PyDict_SetItemString(d
,"LANGUAGE_BENGALI", SWIG_From_int((int)(wxLANGUAGE_BENGALI
)));  
23345         PyDict_SetItemString(d
,"LANGUAGE_BHUTANI", SWIG_From_int((int)(wxLANGUAGE_BHUTANI
)));  
23348         PyDict_SetItemString(d
,"LANGUAGE_BIHARI", SWIG_From_int((int)(wxLANGUAGE_BIHARI
)));  
23351         PyDict_SetItemString(d
,"LANGUAGE_BISLAMA", SWIG_From_int((int)(wxLANGUAGE_BISLAMA
)));  
23354         PyDict_SetItemString(d
,"LANGUAGE_BRETON", SWIG_From_int((int)(wxLANGUAGE_BRETON
)));  
23357         PyDict_SetItemString(d
,"LANGUAGE_BULGARIAN", SWIG_From_int((int)(wxLANGUAGE_BULGARIAN
)));  
23360         PyDict_SetItemString(d
,"LANGUAGE_BURMESE", SWIG_From_int((int)(wxLANGUAGE_BURMESE
)));  
23363         PyDict_SetItemString(d
,"LANGUAGE_CAMBODIAN", SWIG_From_int((int)(wxLANGUAGE_CAMBODIAN
)));  
23366         PyDict_SetItemString(d
,"LANGUAGE_CATALAN", SWIG_From_int((int)(wxLANGUAGE_CATALAN
)));  
23369         PyDict_SetItemString(d
,"LANGUAGE_CHINESE", SWIG_From_int((int)(wxLANGUAGE_CHINESE
)));  
23372         PyDict_SetItemString(d
,"LANGUAGE_CHINESE_SIMPLIFIED", SWIG_From_int((int)(wxLANGUAGE_CHINESE_SIMPLIFIED
)));  
23375         PyDict_SetItemString(d
,"LANGUAGE_CHINESE_TRADITIONAL", SWIG_From_int((int)(wxLANGUAGE_CHINESE_TRADITIONAL
)));  
23378         PyDict_SetItemString(d
,"LANGUAGE_CHINESE_HONGKONG", SWIG_From_int((int)(wxLANGUAGE_CHINESE_HONGKONG
)));  
23381         PyDict_SetItemString(d
,"LANGUAGE_CHINESE_MACAU", SWIG_From_int((int)(wxLANGUAGE_CHINESE_MACAU
)));  
23384         PyDict_SetItemString(d
,"LANGUAGE_CHINESE_SINGAPORE", SWIG_From_int((int)(wxLANGUAGE_CHINESE_SINGAPORE
)));  
23387         PyDict_SetItemString(d
,"LANGUAGE_CHINESE_TAIWAN", SWIG_From_int((int)(wxLANGUAGE_CHINESE_TAIWAN
)));  
23390         PyDict_SetItemString(d
,"LANGUAGE_CORSICAN", SWIG_From_int((int)(wxLANGUAGE_CORSICAN
)));  
23393         PyDict_SetItemString(d
,"LANGUAGE_CROATIAN", SWIG_From_int((int)(wxLANGUAGE_CROATIAN
)));  
23396         PyDict_SetItemString(d
,"LANGUAGE_CZECH", SWIG_From_int((int)(wxLANGUAGE_CZECH
)));  
23399         PyDict_SetItemString(d
,"LANGUAGE_DANISH", SWIG_From_int((int)(wxLANGUAGE_DANISH
)));  
23402         PyDict_SetItemString(d
,"LANGUAGE_DUTCH", SWIG_From_int((int)(wxLANGUAGE_DUTCH
)));  
23405         PyDict_SetItemString(d
,"LANGUAGE_DUTCH_BELGIAN", SWIG_From_int((int)(wxLANGUAGE_DUTCH_BELGIAN
)));  
23408         PyDict_SetItemString(d
,"LANGUAGE_ENGLISH", SWIG_From_int((int)(wxLANGUAGE_ENGLISH
)));  
23411         PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_UK", SWIG_From_int((int)(wxLANGUAGE_ENGLISH_UK
)));  
23414         PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_US", SWIG_From_int((int)(wxLANGUAGE_ENGLISH_US
)));  
23417         PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_AUSTRALIA", SWIG_From_int((int)(wxLANGUAGE_ENGLISH_AUSTRALIA
)));  
23420         PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_BELIZE", SWIG_From_int((int)(wxLANGUAGE_ENGLISH_BELIZE
)));  
23423         PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_BOTSWANA", SWIG_From_int((int)(wxLANGUAGE_ENGLISH_BOTSWANA
)));  
23426         PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_CANADA", SWIG_From_int((int)(wxLANGUAGE_ENGLISH_CANADA
)));  
23429         PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_CARIBBEAN", SWIG_From_int((int)(wxLANGUAGE_ENGLISH_CARIBBEAN
)));  
23432         PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_DENMARK", SWIG_From_int((int)(wxLANGUAGE_ENGLISH_DENMARK
)));  
23435         PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_EIRE", SWIG_From_int((int)(wxLANGUAGE_ENGLISH_EIRE
)));  
23438         PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_JAMAICA", SWIG_From_int((int)(wxLANGUAGE_ENGLISH_JAMAICA
)));  
23441         PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_NEW_ZEALAND", SWIG_From_int((int)(wxLANGUAGE_ENGLISH_NEW_ZEALAND
)));  
23444         PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_PHILIPPINES", SWIG_From_int((int)(wxLANGUAGE_ENGLISH_PHILIPPINES
)));  
23447         PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_SOUTH_AFRICA", SWIG_From_int((int)(wxLANGUAGE_ENGLISH_SOUTH_AFRICA
)));  
23450         PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_TRINIDAD", SWIG_From_int((int)(wxLANGUAGE_ENGLISH_TRINIDAD
)));  
23453         PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_ZIMBABWE", SWIG_From_int((int)(wxLANGUAGE_ENGLISH_ZIMBABWE
)));  
23456         PyDict_SetItemString(d
,"LANGUAGE_ESPERANTO", SWIG_From_int((int)(wxLANGUAGE_ESPERANTO
)));  
23459         PyDict_SetItemString(d
,"LANGUAGE_ESTONIAN", SWIG_From_int((int)(wxLANGUAGE_ESTONIAN
)));  
23462         PyDict_SetItemString(d
,"LANGUAGE_FAEROESE", SWIG_From_int((int)(wxLANGUAGE_FAEROESE
)));  
23465         PyDict_SetItemString(d
,"LANGUAGE_FARSI", SWIG_From_int((int)(wxLANGUAGE_FARSI
)));  
23468         PyDict_SetItemString(d
,"LANGUAGE_FIJI", SWIG_From_int((int)(wxLANGUAGE_FIJI
)));  
23471         PyDict_SetItemString(d
,"LANGUAGE_FINNISH", SWIG_From_int((int)(wxLANGUAGE_FINNISH
)));  
23474         PyDict_SetItemString(d
,"LANGUAGE_FRENCH", SWIG_From_int((int)(wxLANGUAGE_FRENCH
)));  
23477         PyDict_SetItemString(d
,"LANGUAGE_FRENCH_BELGIAN", SWIG_From_int((int)(wxLANGUAGE_FRENCH_BELGIAN
)));  
23480         PyDict_SetItemString(d
,"LANGUAGE_FRENCH_CANADIAN", SWIG_From_int((int)(wxLANGUAGE_FRENCH_CANADIAN
)));  
23483         PyDict_SetItemString(d
,"LANGUAGE_FRENCH_LUXEMBOURG", SWIG_From_int((int)(wxLANGUAGE_FRENCH_LUXEMBOURG
)));  
23486         PyDict_SetItemString(d
,"LANGUAGE_FRENCH_MONACO", SWIG_From_int((int)(wxLANGUAGE_FRENCH_MONACO
)));  
23489         PyDict_SetItemString(d
,"LANGUAGE_FRENCH_SWISS", SWIG_From_int((int)(wxLANGUAGE_FRENCH_SWISS
)));  
23492         PyDict_SetItemString(d
,"LANGUAGE_FRISIAN", SWIG_From_int((int)(wxLANGUAGE_FRISIAN
)));  
23495         PyDict_SetItemString(d
,"LANGUAGE_GALICIAN", SWIG_From_int((int)(wxLANGUAGE_GALICIAN
)));  
23498         PyDict_SetItemString(d
,"LANGUAGE_GEORGIAN", SWIG_From_int((int)(wxLANGUAGE_GEORGIAN
)));  
23501         PyDict_SetItemString(d
,"LANGUAGE_GERMAN", SWIG_From_int((int)(wxLANGUAGE_GERMAN
)));  
23504         PyDict_SetItemString(d
,"LANGUAGE_GERMAN_AUSTRIAN", SWIG_From_int((int)(wxLANGUAGE_GERMAN_AUSTRIAN
)));  
23507         PyDict_SetItemString(d
,"LANGUAGE_GERMAN_BELGIUM", SWIG_From_int((int)(wxLANGUAGE_GERMAN_BELGIUM
)));  
23510         PyDict_SetItemString(d
,"LANGUAGE_GERMAN_LIECHTENSTEIN", SWIG_From_int((int)(wxLANGUAGE_GERMAN_LIECHTENSTEIN
)));  
23513         PyDict_SetItemString(d
,"LANGUAGE_GERMAN_LUXEMBOURG", SWIG_From_int((int)(wxLANGUAGE_GERMAN_LUXEMBOURG
)));  
23516         PyDict_SetItemString(d
,"LANGUAGE_GERMAN_SWISS", SWIG_From_int((int)(wxLANGUAGE_GERMAN_SWISS
)));  
23519         PyDict_SetItemString(d
,"LANGUAGE_GREEK", SWIG_From_int((int)(wxLANGUAGE_GREEK
)));  
23522         PyDict_SetItemString(d
,"LANGUAGE_GREENLANDIC", SWIG_From_int((int)(wxLANGUAGE_GREENLANDIC
)));  
23525         PyDict_SetItemString(d
,"LANGUAGE_GUARANI", SWIG_From_int((int)(wxLANGUAGE_GUARANI
)));  
23528         PyDict_SetItemString(d
,"LANGUAGE_GUJARATI", SWIG_From_int((int)(wxLANGUAGE_GUJARATI
)));  
23531         PyDict_SetItemString(d
,"LANGUAGE_HAUSA", SWIG_From_int((int)(wxLANGUAGE_HAUSA
)));  
23534         PyDict_SetItemString(d
,"LANGUAGE_HEBREW", SWIG_From_int((int)(wxLANGUAGE_HEBREW
)));  
23537         PyDict_SetItemString(d
,"LANGUAGE_HINDI", SWIG_From_int((int)(wxLANGUAGE_HINDI
)));  
23540         PyDict_SetItemString(d
,"LANGUAGE_HUNGARIAN", SWIG_From_int((int)(wxLANGUAGE_HUNGARIAN
)));  
23543         PyDict_SetItemString(d
,"LANGUAGE_ICELANDIC", SWIG_From_int((int)(wxLANGUAGE_ICELANDIC
)));  
23546         PyDict_SetItemString(d
,"LANGUAGE_INDONESIAN", SWIG_From_int((int)(wxLANGUAGE_INDONESIAN
)));  
23549         PyDict_SetItemString(d
,"LANGUAGE_INTERLINGUA", SWIG_From_int((int)(wxLANGUAGE_INTERLINGUA
)));  
23552         PyDict_SetItemString(d
,"LANGUAGE_INTERLINGUE", SWIG_From_int((int)(wxLANGUAGE_INTERLINGUE
)));  
23555         PyDict_SetItemString(d
,"LANGUAGE_INUKTITUT", SWIG_From_int((int)(wxLANGUAGE_INUKTITUT
)));  
23558         PyDict_SetItemString(d
,"LANGUAGE_INUPIAK", SWIG_From_int((int)(wxLANGUAGE_INUPIAK
)));  
23561         PyDict_SetItemString(d
,"LANGUAGE_IRISH", SWIG_From_int((int)(wxLANGUAGE_IRISH
)));  
23564         PyDict_SetItemString(d
,"LANGUAGE_ITALIAN", SWIG_From_int((int)(wxLANGUAGE_ITALIAN
)));  
23567         PyDict_SetItemString(d
,"LANGUAGE_ITALIAN_SWISS", SWIG_From_int((int)(wxLANGUAGE_ITALIAN_SWISS
)));  
23570         PyDict_SetItemString(d
,"LANGUAGE_JAPANESE", SWIG_From_int((int)(wxLANGUAGE_JAPANESE
)));  
23573         PyDict_SetItemString(d
,"LANGUAGE_JAVANESE", SWIG_From_int((int)(wxLANGUAGE_JAVANESE
)));  
23576         PyDict_SetItemString(d
,"LANGUAGE_KANNADA", SWIG_From_int((int)(wxLANGUAGE_KANNADA
)));  
23579         PyDict_SetItemString(d
,"LANGUAGE_KASHMIRI", SWIG_From_int((int)(wxLANGUAGE_KASHMIRI
)));  
23582         PyDict_SetItemString(d
,"LANGUAGE_KASHMIRI_INDIA", SWIG_From_int((int)(wxLANGUAGE_KASHMIRI_INDIA
)));  
23585         PyDict_SetItemString(d
,"LANGUAGE_KAZAKH", SWIG_From_int((int)(wxLANGUAGE_KAZAKH
)));  
23588         PyDict_SetItemString(d
,"LANGUAGE_KERNEWEK", SWIG_From_int((int)(wxLANGUAGE_KERNEWEK
)));  
23591         PyDict_SetItemString(d
,"LANGUAGE_KINYARWANDA", SWIG_From_int((int)(wxLANGUAGE_KINYARWANDA
)));  
23594         PyDict_SetItemString(d
,"LANGUAGE_KIRGHIZ", SWIG_From_int((int)(wxLANGUAGE_KIRGHIZ
)));  
23597         PyDict_SetItemString(d
,"LANGUAGE_KIRUNDI", SWIG_From_int((int)(wxLANGUAGE_KIRUNDI
)));  
23600         PyDict_SetItemString(d
,"LANGUAGE_KONKANI", SWIG_From_int((int)(wxLANGUAGE_KONKANI
)));  
23603         PyDict_SetItemString(d
,"LANGUAGE_KOREAN", SWIG_From_int((int)(wxLANGUAGE_KOREAN
)));  
23606         PyDict_SetItemString(d
,"LANGUAGE_KURDISH", SWIG_From_int((int)(wxLANGUAGE_KURDISH
)));  
23609         PyDict_SetItemString(d
,"LANGUAGE_LAOTHIAN", SWIG_From_int((int)(wxLANGUAGE_LAOTHIAN
)));  
23612         PyDict_SetItemString(d
,"LANGUAGE_LATIN", SWIG_From_int((int)(wxLANGUAGE_LATIN
)));  
23615         PyDict_SetItemString(d
,"LANGUAGE_LATVIAN", SWIG_From_int((int)(wxLANGUAGE_LATVIAN
)));  
23618         PyDict_SetItemString(d
,"LANGUAGE_LINGALA", SWIG_From_int((int)(wxLANGUAGE_LINGALA
)));  
23621         PyDict_SetItemString(d
,"LANGUAGE_LITHUANIAN", SWIG_From_int((int)(wxLANGUAGE_LITHUANIAN
)));  
23624         PyDict_SetItemString(d
,"LANGUAGE_MACEDONIAN", SWIG_From_int((int)(wxLANGUAGE_MACEDONIAN
)));  
23627         PyDict_SetItemString(d
,"LANGUAGE_MALAGASY", SWIG_From_int((int)(wxLANGUAGE_MALAGASY
)));  
23630         PyDict_SetItemString(d
,"LANGUAGE_MALAY", SWIG_From_int((int)(wxLANGUAGE_MALAY
)));  
23633         PyDict_SetItemString(d
,"LANGUAGE_MALAYALAM", SWIG_From_int((int)(wxLANGUAGE_MALAYALAM
)));  
23636         PyDict_SetItemString(d
,"LANGUAGE_MALAY_BRUNEI_DARUSSALAM", SWIG_From_int((int)(wxLANGUAGE_MALAY_BRUNEI_DARUSSALAM
)));  
23639         PyDict_SetItemString(d
,"LANGUAGE_MALAY_MALAYSIA", SWIG_From_int((int)(wxLANGUAGE_MALAY_MALAYSIA
)));  
23642         PyDict_SetItemString(d
,"LANGUAGE_MALTESE", SWIG_From_int((int)(wxLANGUAGE_MALTESE
)));  
23645         PyDict_SetItemString(d
,"LANGUAGE_MANIPURI", SWIG_From_int((int)(wxLANGUAGE_MANIPURI
)));  
23648         PyDict_SetItemString(d
,"LANGUAGE_MAORI", SWIG_From_int((int)(wxLANGUAGE_MAORI
)));  
23651         PyDict_SetItemString(d
,"LANGUAGE_MARATHI", SWIG_From_int((int)(wxLANGUAGE_MARATHI
)));  
23654         PyDict_SetItemString(d
,"LANGUAGE_MOLDAVIAN", SWIG_From_int((int)(wxLANGUAGE_MOLDAVIAN
)));  
23657         PyDict_SetItemString(d
,"LANGUAGE_MONGOLIAN", SWIG_From_int((int)(wxLANGUAGE_MONGOLIAN
)));  
23660         PyDict_SetItemString(d
,"LANGUAGE_NAURU", SWIG_From_int((int)(wxLANGUAGE_NAURU
)));  
23663         PyDict_SetItemString(d
,"LANGUAGE_NEPALI", SWIG_From_int((int)(wxLANGUAGE_NEPALI
)));  
23666         PyDict_SetItemString(d
,"LANGUAGE_NEPALI_INDIA", SWIG_From_int((int)(wxLANGUAGE_NEPALI_INDIA
)));  
23669         PyDict_SetItemString(d
,"LANGUAGE_NORWEGIAN_BOKMAL", SWIG_From_int((int)(wxLANGUAGE_NORWEGIAN_BOKMAL
)));  
23672         PyDict_SetItemString(d
,"LANGUAGE_NORWEGIAN_NYNORSK", SWIG_From_int((int)(wxLANGUAGE_NORWEGIAN_NYNORSK
)));  
23675         PyDict_SetItemString(d
,"LANGUAGE_OCCITAN", SWIG_From_int((int)(wxLANGUAGE_OCCITAN
)));  
23678         PyDict_SetItemString(d
,"LANGUAGE_ORIYA", SWIG_From_int((int)(wxLANGUAGE_ORIYA
)));  
23681         PyDict_SetItemString(d
,"LANGUAGE_OROMO", SWIG_From_int((int)(wxLANGUAGE_OROMO
)));  
23684         PyDict_SetItemString(d
,"LANGUAGE_PASHTO", SWIG_From_int((int)(wxLANGUAGE_PASHTO
)));  
23687         PyDict_SetItemString(d
,"LANGUAGE_POLISH", SWIG_From_int((int)(wxLANGUAGE_POLISH
)));  
23690         PyDict_SetItemString(d
,"LANGUAGE_PORTUGUESE", SWIG_From_int((int)(wxLANGUAGE_PORTUGUESE
)));  
23693         PyDict_SetItemString(d
,"LANGUAGE_PORTUGUESE_BRAZILIAN", SWIG_From_int((int)(wxLANGUAGE_PORTUGUESE_BRAZILIAN
)));  
23696         PyDict_SetItemString(d
,"LANGUAGE_PUNJABI", SWIG_From_int((int)(wxLANGUAGE_PUNJABI
)));  
23699         PyDict_SetItemString(d
,"LANGUAGE_QUECHUA", SWIG_From_int((int)(wxLANGUAGE_QUECHUA
)));  
23702         PyDict_SetItemString(d
,"LANGUAGE_RHAETO_ROMANCE", SWIG_From_int((int)(wxLANGUAGE_RHAETO_ROMANCE
)));  
23705         PyDict_SetItemString(d
,"LANGUAGE_ROMANIAN", SWIG_From_int((int)(wxLANGUAGE_ROMANIAN
)));  
23708         PyDict_SetItemString(d
,"LANGUAGE_RUSSIAN", SWIG_From_int((int)(wxLANGUAGE_RUSSIAN
)));  
23711         PyDict_SetItemString(d
,"LANGUAGE_RUSSIAN_UKRAINE", SWIG_From_int((int)(wxLANGUAGE_RUSSIAN_UKRAINE
)));  
23714         PyDict_SetItemString(d
,"LANGUAGE_SAMOAN", SWIG_From_int((int)(wxLANGUAGE_SAMOAN
)));  
23717         PyDict_SetItemString(d
,"LANGUAGE_SANGHO", SWIG_From_int((int)(wxLANGUAGE_SANGHO
)));  
23720         PyDict_SetItemString(d
,"LANGUAGE_SANSKRIT", SWIG_From_int((int)(wxLANGUAGE_SANSKRIT
)));  
23723         PyDict_SetItemString(d
,"LANGUAGE_SCOTS_GAELIC", SWIG_From_int((int)(wxLANGUAGE_SCOTS_GAELIC
)));  
23726         PyDict_SetItemString(d
,"LANGUAGE_SERBIAN", SWIG_From_int((int)(wxLANGUAGE_SERBIAN
)));  
23729         PyDict_SetItemString(d
,"LANGUAGE_SERBIAN_CYRILLIC", SWIG_From_int((int)(wxLANGUAGE_SERBIAN_CYRILLIC
)));  
23732         PyDict_SetItemString(d
,"LANGUAGE_SERBIAN_LATIN", SWIG_From_int((int)(wxLANGUAGE_SERBIAN_LATIN
)));  
23735         PyDict_SetItemString(d
,"LANGUAGE_SERBO_CROATIAN", SWIG_From_int((int)(wxLANGUAGE_SERBO_CROATIAN
)));  
23738         PyDict_SetItemString(d
,"LANGUAGE_SESOTHO", SWIG_From_int((int)(wxLANGUAGE_SESOTHO
)));  
23741         PyDict_SetItemString(d
,"LANGUAGE_SETSWANA", SWIG_From_int((int)(wxLANGUAGE_SETSWANA
)));  
23744         PyDict_SetItemString(d
,"LANGUAGE_SHONA", SWIG_From_int((int)(wxLANGUAGE_SHONA
)));  
23747         PyDict_SetItemString(d
,"LANGUAGE_SINDHI", SWIG_From_int((int)(wxLANGUAGE_SINDHI
)));  
23750         PyDict_SetItemString(d
,"LANGUAGE_SINHALESE", SWIG_From_int((int)(wxLANGUAGE_SINHALESE
)));  
23753         PyDict_SetItemString(d
,"LANGUAGE_SISWATI", SWIG_From_int((int)(wxLANGUAGE_SISWATI
)));  
23756         PyDict_SetItemString(d
,"LANGUAGE_SLOVAK", SWIG_From_int((int)(wxLANGUAGE_SLOVAK
)));  
23759         PyDict_SetItemString(d
,"LANGUAGE_SLOVENIAN", SWIG_From_int((int)(wxLANGUAGE_SLOVENIAN
)));  
23762         PyDict_SetItemString(d
,"LANGUAGE_SOMALI", SWIG_From_int((int)(wxLANGUAGE_SOMALI
)));  
23765         PyDict_SetItemString(d
,"LANGUAGE_SPANISH", SWIG_From_int((int)(wxLANGUAGE_SPANISH
)));  
23768         PyDict_SetItemString(d
,"LANGUAGE_SPANISH_ARGENTINA", SWIG_From_int((int)(wxLANGUAGE_SPANISH_ARGENTINA
)));  
23771         PyDict_SetItemString(d
,"LANGUAGE_SPANISH_BOLIVIA", SWIG_From_int((int)(wxLANGUAGE_SPANISH_BOLIVIA
)));  
23774         PyDict_SetItemString(d
,"LANGUAGE_SPANISH_CHILE", SWIG_From_int((int)(wxLANGUAGE_SPANISH_CHILE
)));  
23777         PyDict_SetItemString(d
,"LANGUAGE_SPANISH_COLOMBIA", SWIG_From_int((int)(wxLANGUAGE_SPANISH_COLOMBIA
)));  
23780         PyDict_SetItemString(d
,"LANGUAGE_SPANISH_COSTA_RICA", SWIG_From_int((int)(wxLANGUAGE_SPANISH_COSTA_RICA
)));  
23783         PyDict_SetItemString(d
,"LANGUAGE_SPANISH_DOMINICAN_REPUBLIC", SWIG_From_int((int)(wxLANGUAGE_SPANISH_DOMINICAN_REPUBLIC
)));  
23786         PyDict_SetItemString(d
,"LANGUAGE_SPANISH_ECUADOR", SWIG_From_int((int)(wxLANGUAGE_SPANISH_ECUADOR
)));  
23789         PyDict_SetItemString(d
,"LANGUAGE_SPANISH_EL_SALVADOR", SWIG_From_int((int)(wxLANGUAGE_SPANISH_EL_SALVADOR
)));  
23792         PyDict_SetItemString(d
,"LANGUAGE_SPANISH_GUATEMALA", SWIG_From_int((int)(wxLANGUAGE_SPANISH_GUATEMALA
)));  
23795         PyDict_SetItemString(d
,"LANGUAGE_SPANISH_HONDURAS", SWIG_From_int((int)(wxLANGUAGE_SPANISH_HONDURAS
)));  
23798         PyDict_SetItemString(d
,"LANGUAGE_SPANISH_MEXICAN", SWIG_From_int((int)(wxLANGUAGE_SPANISH_MEXICAN
)));  
23801         PyDict_SetItemString(d
,"LANGUAGE_SPANISH_MODERN", SWIG_From_int((int)(wxLANGUAGE_SPANISH_MODERN
)));  
23804         PyDict_SetItemString(d
,"LANGUAGE_SPANISH_NICARAGUA", SWIG_From_int((int)(wxLANGUAGE_SPANISH_NICARAGUA
)));  
23807         PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PANAMA", SWIG_From_int((int)(wxLANGUAGE_SPANISH_PANAMA
)));  
23810         PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PARAGUAY", SWIG_From_int((int)(wxLANGUAGE_SPANISH_PARAGUAY
)));  
23813         PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PERU", SWIG_From_int((int)(wxLANGUAGE_SPANISH_PERU
)));  
23816         PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PUERTO_RICO", SWIG_From_int((int)(wxLANGUAGE_SPANISH_PUERTO_RICO
)));  
23819         PyDict_SetItemString(d
,"LANGUAGE_SPANISH_URUGUAY", SWIG_From_int((int)(wxLANGUAGE_SPANISH_URUGUAY
)));  
23822         PyDict_SetItemString(d
,"LANGUAGE_SPANISH_US", SWIG_From_int((int)(wxLANGUAGE_SPANISH_US
)));  
23825         PyDict_SetItemString(d
,"LANGUAGE_SPANISH_VENEZUELA", SWIG_From_int((int)(wxLANGUAGE_SPANISH_VENEZUELA
)));  
23828         PyDict_SetItemString(d
,"LANGUAGE_SUNDANESE", SWIG_From_int((int)(wxLANGUAGE_SUNDANESE
)));  
23831         PyDict_SetItemString(d
,"LANGUAGE_SWAHILI", SWIG_From_int((int)(wxLANGUAGE_SWAHILI
)));  
23834         PyDict_SetItemString(d
,"LANGUAGE_SWEDISH", SWIG_From_int((int)(wxLANGUAGE_SWEDISH
)));  
23837         PyDict_SetItemString(d
,"LANGUAGE_SWEDISH_FINLAND", SWIG_From_int((int)(wxLANGUAGE_SWEDISH_FINLAND
)));  
23840         PyDict_SetItemString(d
,"LANGUAGE_TAGALOG", SWIG_From_int((int)(wxLANGUAGE_TAGALOG
)));  
23843         PyDict_SetItemString(d
,"LANGUAGE_TAJIK", SWIG_From_int((int)(wxLANGUAGE_TAJIK
)));  
23846         PyDict_SetItemString(d
,"LANGUAGE_TAMIL", SWIG_From_int((int)(wxLANGUAGE_TAMIL
)));  
23849         PyDict_SetItemString(d
,"LANGUAGE_TATAR", SWIG_From_int((int)(wxLANGUAGE_TATAR
)));  
23852         PyDict_SetItemString(d
,"LANGUAGE_TELUGU", SWIG_From_int((int)(wxLANGUAGE_TELUGU
)));  
23855         PyDict_SetItemString(d
,"LANGUAGE_THAI", SWIG_From_int((int)(wxLANGUAGE_THAI
)));  
23858         PyDict_SetItemString(d
,"LANGUAGE_TIBETAN", SWIG_From_int((int)(wxLANGUAGE_TIBETAN
)));  
23861         PyDict_SetItemString(d
,"LANGUAGE_TIGRINYA", SWIG_From_int((int)(wxLANGUAGE_TIGRINYA
)));  
23864         PyDict_SetItemString(d
,"LANGUAGE_TONGA", SWIG_From_int((int)(wxLANGUAGE_TONGA
)));  
23867         PyDict_SetItemString(d
,"LANGUAGE_TSONGA", SWIG_From_int((int)(wxLANGUAGE_TSONGA
)));  
23870         PyDict_SetItemString(d
,"LANGUAGE_TURKISH", SWIG_From_int((int)(wxLANGUAGE_TURKISH
)));  
23873         PyDict_SetItemString(d
,"LANGUAGE_TURKMEN", SWIG_From_int((int)(wxLANGUAGE_TURKMEN
)));  
23876         PyDict_SetItemString(d
,"LANGUAGE_TWI", SWIG_From_int((int)(wxLANGUAGE_TWI
)));  
23879         PyDict_SetItemString(d
,"LANGUAGE_UIGHUR", SWIG_From_int((int)(wxLANGUAGE_UIGHUR
)));  
23882         PyDict_SetItemString(d
,"LANGUAGE_UKRAINIAN", SWIG_From_int((int)(wxLANGUAGE_UKRAINIAN
)));  
23885         PyDict_SetItemString(d
,"LANGUAGE_URDU", SWIG_From_int((int)(wxLANGUAGE_URDU
)));  
23888         PyDict_SetItemString(d
,"LANGUAGE_URDU_INDIA", SWIG_From_int((int)(wxLANGUAGE_URDU_INDIA
)));  
23891         PyDict_SetItemString(d
,"LANGUAGE_URDU_PAKISTAN", SWIG_From_int((int)(wxLANGUAGE_URDU_PAKISTAN
)));  
23894         PyDict_SetItemString(d
,"LANGUAGE_UZBEK", SWIG_From_int((int)(wxLANGUAGE_UZBEK
)));  
23897         PyDict_SetItemString(d
,"LANGUAGE_UZBEK_CYRILLIC", SWIG_From_int((int)(wxLANGUAGE_UZBEK_CYRILLIC
)));  
23900         PyDict_SetItemString(d
,"LANGUAGE_UZBEK_LATIN", SWIG_From_int((int)(wxLANGUAGE_UZBEK_LATIN
)));  
23903         PyDict_SetItemString(d
,"LANGUAGE_VIETNAMESE", SWIG_From_int((int)(wxLANGUAGE_VIETNAMESE
)));  
23906         PyDict_SetItemString(d
,"LANGUAGE_VOLAPUK", SWIG_From_int((int)(wxLANGUAGE_VOLAPUK
)));  
23909         PyDict_SetItemString(d
,"LANGUAGE_WELSH", SWIG_From_int((int)(wxLANGUAGE_WELSH
)));  
23912         PyDict_SetItemString(d
,"LANGUAGE_WOLOF", SWIG_From_int((int)(wxLANGUAGE_WOLOF
)));  
23915         PyDict_SetItemString(d
,"LANGUAGE_XHOSA", SWIG_From_int((int)(wxLANGUAGE_XHOSA
)));  
23918         PyDict_SetItemString(d
,"LANGUAGE_YIDDISH", SWIG_From_int((int)(wxLANGUAGE_YIDDISH
)));  
23921         PyDict_SetItemString(d
,"LANGUAGE_YORUBA", SWIG_From_int((int)(wxLANGUAGE_YORUBA
)));  
23924         PyDict_SetItemString(d
,"LANGUAGE_ZHUANG", SWIG_From_int((int)(wxLANGUAGE_ZHUANG
)));  
23927         PyDict_SetItemString(d
,"LANGUAGE_ZULU", SWIG_From_int((int)(wxLANGUAGE_ZULU
)));  
23930         PyDict_SetItemString(d
,"LANGUAGE_USER_DEFINED", SWIG_From_int((int)(wxLANGUAGE_USER_DEFINED
)));  
23933         PyDict_SetItemString(d
,"LOCALE_CAT_NUMBER", SWIG_From_int((int)(wxLOCALE_CAT_NUMBER
)));  
23936         PyDict_SetItemString(d
,"LOCALE_CAT_DATE", SWIG_From_int((int)(wxLOCALE_CAT_DATE
)));  
23939         PyDict_SetItemString(d
,"LOCALE_CAT_MONEY", SWIG_From_int((int)(wxLOCALE_CAT_MONEY
)));  
23942         PyDict_SetItemString(d
,"LOCALE_CAT_MAX", SWIG_From_int((int)(wxLOCALE_CAT_MAX
)));  
23945         PyDict_SetItemString(d
,"LOCALE_THOUSANDS_SEP", SWIG_From_int((int)(wxLOCALE_THOUSANDS_SEP
)));  
23948         PyDict_SetItemString(d
,"LOCALE_DECIMAL_POINT", SWIG_From_int((int)(wxLOCALE_DECIMAL_POINT
)));  
23951         PyDict_SetItemString(d
,"LOCALE_LOAD_DEFAULT", SWIG_From_int((int)(wxLOCALE_LOAD_DEFAULT
)));  
23954         PyDict_SetItemString(d
,"LOCALE_CONV_ENCODING", SWIG_From_int((int)(wxLOCALE_CONV_ENCODING
)));  
23957         PyDict_SetItemString(d
,"CONVERT_STRICT", SWIG_From_int((int)(wxCONVERT_STRICT
)));  
23960         PyDict_SetItemString(d
,"CONVERT_SUBSTITUTE", SWIG_From_int((int)(wxCONVERT_SUBSTITUTE
)));  
23963         PyDict_SetItemString(d
,"PLATFORM_CURRENT", SWIG_From_int((int)(wxPLATFORM_CURRENT
)));  
23966         PyDict_SetItemString(d
,"PLATFORM_UNIX", SWIG_From_int((int)(wxPLATFORM_UNIX
)));  
23969         PyDict_SetItemString(d
,"PLATFORM_WINDOWS", SWIG_From_int((int)(wxPLATFORM_WINDOWS
)));  
23972         PyDict_SetItemString(d
,"PLATFORM_OS2", SWIG_From_int((int)(wxPLATFORM_OS2
)));  
23975         PyDict_SetItemString(d
,"PLATFORM_MAC", SWIG_From_int((int)(wxPLATFORM_MAC
)));  
23978         PyDict_SetItemString(d
,"BUFFER_VIRTUAL_AREA", SWIG_From_int((int)(wxBUFFER_VIRTUAL_AREA
)));  
23981         PyDict_SetItemString(d
,"BUFFER_CLIENT_AREA", SWIG_From_int((int)(wxBUFFER_CLIENT_AREA
)));  
23984         PyDict_SetItemString(d
,"IMAGELIST_DRAW_NORMAL", SWIG_From_int((int)(wxIMAGELIST_DRAW_NORMAL
)));  
23987         PyDict_SetItemString(d
,"IMAGELIST_DRAW_TRANSPARENT", SWIG_From_int((int)(wxIMAGELIST_DRAW_TRANSPARENT
)));  
23990         PyDict_SetItemString(d
,"IMAGELIST_DRAW_SELECTED", SWIG_From_int((int)(wxIMAGELIST_DRAW_SELECTED
)));  
23993         PyDict_SetItemString(d
,"IMAGELIST_DRAW_FOCUSED", SWIG_From_int((int)(wxIMAGELIST_DRAW_FOCUSED
)));  
23996         PyDict_SetItemString(d
,"IMAGE_LIST_NORMAL", SWIG_From_int((int)(wxIMAGE_LIST_NORMAL
)));  
23999         PyDict_SetItemString(d
,"IMAGE_LIST_SMALL", SWIG_From_int((int)(wxIMAGE_LIST_SMALL
)));  
24002         PyDict_SetItemString(d
,"IMAGE_LIST_STATE", SWIG_From_int((int)(wxIMAGE_LIST_STATE
)));  
24004     PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
); 
24005     SWIG_addvarlink(SWIG_globals
,(char*)"NORMAL_FONT",_wrap_NORMAL_FONT_get
, _wrap_NORMAL_FONT_set
); 
24006     SWIG_addvarlink(SWIG_globals
,(char*)"SMALL_FONT",_wrap_SMALL_FONT_get
, _wrap_SMALL_FONT_set
); 
24007     SWIG_addvarlink(SWIG_globals
,(char*)"ITALIC_FONT",_wrap_ITALIC_FONT_get
, _wrap_ITALIC_FONT_set
); 
24008     SWIG_addvarlink(SWIG_globals
,(char*)"SWISS_FONT",_wrap_SWISS_FONT_get
, _wrap_SWISS_FONT_set
); 
24009     SWIG_addvarlink(SWIG_globals
,(char*)"RED_PEN",_wrap_RED_PEN_get
, _wrap_RED_PEN_set
); 
24010     SWIG_addvarlink(SWIG_globals
,(char*)"CYAN_PEN",_wrap_CYAN_PEN_get
, _wrap_CYAN_PEN_set
); 
24011     SWIG_addvarlink(SWIG_globals
,(char*)"GREEN_PEN",_wrap_GREEN_PEN_get
, _wrap_GREEN_PEN_set
); 
24012     SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_PEN",_wrap_BLACK_PEN_get
, _wrap_BLACK_PEN_set
); 
24013     SWIG_addvarlink(SWIG_globals
,(char*)"WHITE_PEN",_wrap_WHITE_PEN_get
, _wrap_WHITE_PEN_set
); 
24014     SWIG_addvarlink(SWIG_globals
,(char*)"TRANSPARENT_PEN",_wrap_TRANSPARENT_PEN_get
, _wrap_TRANSPARENT_PEN_set
); 
24015     SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_DASHED_PEN",_wrap_BLACK_DASHED_PEN_get
, _wrap_BLACK_DASHED_PEN_set
); 
24016     SWIG_addvarlink(SWIG_globals
,(char*)"GREY_PEN",_wrap_GREY_PEN_get
, _wrap_GREY_PEN_set
); 
24017     SWIG_addvarlink(SWIG_globals
,(char*)"MEDIUM_GREY_PEN",_wrap_MEDIUM_GREY_PEN_get
, _wrap_MEDIUM_GREY_PEN_set
); 
24018     SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY_PEN",_wrap_LIGHT_GREY_PEN_get
, _wrap_LIGHT_GREY_PEN_set
); 
24019     SWIG_addvarlink(SWIG_globals
,(char*)"BLUE_BRUSH",_wrap_BLUE_BRUSH_get
, _wrap_BLUE_BRUSH_set
); 
24020     SWIG_addvarlink(SWIG_globals
,(char*)"GREEN_BRUSH",_wrap_GREEN_BRUSH_get
, _wrap_GREEN_BRUSH_set
); 
24021     SWIG_addvarlink(SWIG_globals
,(char*)"WHITE_BRUSH",_wrap_WHITE_BRUSH_get
, _wrap_WHITE_BRUSH_set
); 
24022     SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_BRUSH",_wrap_BLACK_BRUSH_get
, _wrap_BLACK_BRUSH_set
); 
24023     SWIG_addvarlink(SWIG_globals
,(char*)"TRANSPARENT_BRUSH",_wrap_TRANSPARENT_BRUSH_get
, _wrap_TRANSPARENT_BRUSH_set
); 
24024     SWIG_addvarlink(SWIG_globals
,(char*)"CYAN_BRUSH",_wrap_CYAN_BRUSH_get
, _wrap_CYAN_BRUSH_set
); 
24025     SWIG_addvarlink(SWIG_globals
,(char*)"RED_BRUSH",_wrap_RED_BRUSH_get
, _wrap_RED_BRUSH_set
); 
24026     SWIG_addvarlink(SWIG_globals
,(char*)"GREY_BRUSH",_wrap_GREY_BRUSH_get
, _wrap_GREY_BRUSH_set
); 
24027     SWIG_addvarlink(SWIG_globals
,(char*)"MEDIUM_GREY_BRUSH",_wrap_MEDIUM_GREY_BRUSH_get
, _wrap_MEDIUM_GREY_BRUSH_set
); 
24028     SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY_BRUSH",_wrap_LIGHT_GREY_BRUSH_get
, _wrap_LIGHT_GREY_BRUSH_set
); 
24029     SWIG_addvarlink(SWIG_globals
,(char*)"BLACK",_wrap_BLACK_get
, _wrap_BLACK_set
); 
24030     SWIG_addvarlink(SWIG_globals
,(char*)"WHITE",_wrap_WHITE_get
, _wrap_WHITE_set
); 
24031     SWIG_addvarlink(SWIG_globals
,(char*)"RED",_wrap_RED_get
, _wrap_RED_set
); 
24032     SWIG_addvarlink(SWIG_globals
,(char*)"BLUE",_wrap_BLUE_get
, _wrap_BLUE_set
); 
24033     SWIG_addvarlink(SWIG_globals
,(char*)"GREEN",_wrap_GREEN_get
, _wrap_GREEN_set
); 
24034     SWIG_addvarlink(SWIG_globals
,(char*)"CYAN",_wrap_CYAN_get
, _wrap_CYAN_set
); 
24035     SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY",_wrap_LIGHT_GREY_get
, _wrap_LIGHT_GREY_set
); 
24036     SWIG_addvarlink(SWIG_globals
,(char*)"STANDARD_CURSOR",_wrap_STANDARD_CURSOR_get
, _wrap_STANDARD_CURSOR_set
); 
24037     SWIG_addvarlink(SWIG_globals
,(char*)"HOURGLASS_CURSOR",_wrap_HOURGLASS_CURSOR_get
, _wrap_HOURGLASS_CURSOR_set
); 
24038     SWIG_addvarlink(SWIG_globals
,(char*)"CROSS_CURSOR",_wrap_CROSS_CURSOR_get
, _wrap_CROSS_CURSOR_set
); 
24039     SWIG_addvarlink(SWIG_globals
,(char*)"NullBitmap",_wrap_NullBitmap_get
, _wrap_NullBitmap_set
); 
24040     SWIG_addvarlink(SWIG_globals
,(char*)"NullIcon",_wrap_NullIcon_get
, _wrap_NullIcon_set
); 
24041     SWIG_addvarlink(SWIG_globals
,(char*)"NullCursor",_wrap_NullCursor_get
, _wrap_NullCursor_set
); 
24042     SWIG_addvarlink(SWIG_globals
,(char*)"NullPen",_wrap_NullPen_get
, _wrap_NullPen_set
); 
24043     SWIG_addvarlink(SWIG_globals
,(char*)"NullBrush",_wrap_NullBrush_get
, _wrap_NullBrush_set
); 
24044     SWIG_addvarlink(SWIG_globals
,(char*)"NullPalette",_wrap_NullPalette_get
, _wrap_NullPalette_set
); 
24045     SWIG_addvarlink(SWIG_globals
,(char*)"NullFont",_wrap_NullFont_get
, _wrap_NullFont_set
); 
24046     SWIG_addvarlink(SWIG_globals
,(char*)"NullColour",_wrap_NullColour_get
, _wrap_NullColour_set
); 
24047     SWIG_addvarlink(SWIG_globals
,(char*)"TheFontList",_wrap_TheFontList_get
, _wrap_TheFontList_set
); 
24048     SWIG_addvarlink(SWIG_globals
,(char*)"ThePenList",_wrap_ThePenList_get
, _wrap_ThePenList_set
); 
24049     SWIG_addvarlink(SWIG_globals
,(char*)"TheBrushList",_wrap_TheBrushList_get
, _wrap_TheBrushList_set
); 
24050     SWIG_addvarlink(SWIG_globals
,(char*)"TheColourDatabase",_wrap_TheColourDatabase_get
, _wrap_TheColourDatabase_set
); 
24052     // Work around a chicken/egg problem in drawlist.cpp 
24053     wxPyDrawList_SetAPIPtr();