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  * ----------------------------------------------------------------------------- */ 
  12 #define SWIG_PYTHON_DIRECTOR_NO_VTABLE 
  15 template<class T
> class SwigValueWrapper 
{ 
  18     SwigValueWrapper() : tt(0) { } 
  19     SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { } 
  20     SwigValueWrapper(const T
& t
) : tt(new T(t
)) { } 
  21     ~SwigValueWrapper() { delete tt
; }  
  22     SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt 
= new T(t
); return *this; } 
  23     operator T
&() const { return *tt
; } 
  24     T 
*operator&() { return tt
; } 
  26     SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
); 
  30 /* ----------------------------------------------------------------------------- 
  31  *  This section contains generic SWIG labels for method/variable 
  32  *  declarations/attributes, and other compiler dependent labels. 
  33  * ----------------------------------------------------------------------------- */ 
  35 /* template workaround for compilers that cannot correctly implement the C++ standard */ 
  36 #ifndef SWIGTEMPLATEDISAMBIGUATOR 
  37 # if defined(__SUNPRO_CC) 
  38 #   if (__SUNPRO_CC <= 0x560) 
  39 #     define SWIGTEMPLATEDISAMBIGUATOR template 
  41 #     define SWIGTEMPLATEDISAMBIGUATOR  
  44 #   define SWIGTEMPLATEDISAMBIGUATOR  
  48 /* inline attribute */ 
  50 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__)) 
  51 #   define SWIGINLINE inline 
  57 /* attribute recognised by some compilers to avoid 'unused' warnings */ 
  59 # if defined(__GNUC__) 
  60 #   if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)) 
  61 #     define SWIGUNUSED __attribute__ ((__unused__))  
  66 #   define SWIGUNUSED __attribute__ ((__unused__))  
  72 #ifndef SWIGUNUSEDPARM 
  74 #   define SWIGUNUSEDPARM(p) 
  76 #   define SWIGUNUSEDPARM(p) p SWIGUNUSED  
  80 /* internal SWIG method */ 
  82 # define SWIGINTERN static SWIGUNUSED 
  85 /* internal inline SWIG method */ 
  86 #ifndef SWIGINTERNINLINE 
  87 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE 
  90 /* exporting methods */ 
  91 #if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4) 
  92 #  ifndef GCC_HASCLASSVISIBILITY 
  93 #    define GCC_HASCLASSVISIBILITY 
  98 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__) 
  99 #   if defined(STATIC_LINKED) 
 102 #     define SWIGEXPORT __declspec(dllexport) 
 105 #   if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY) 
 106 #     define SWIGEXPORT __attribute__ ((visibility("default"))) 
 113 /* calling conventions for Windows */ 
 115 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__) 
 116 #   define SWIGSTDCALL __stdcall 
 122 /* Deal with Microsoft's attempt at deprecating C standard runtime functions */ 
 123 #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER) 
 124 # define _CRT_SECURE_NO_DEPRECATE 
 128 /* Python.h has to appear first */ 
 131 /* ----------------------------------------------------------------------------- 
 134  * This file contains generic CAPI SWIG runtime support for pointer 
 136  * ----------------------------------------------------------------------------- */ 
 138 /* This should only be incremented when either the layout of swig_type_info changes, 
 139    or for whatever reason, the runtime changes incompatibly */ 
 140 #define SWIG_RUNTIME_VERSION "2" 
 142 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */ 
 143 #ifdef SWIG_TYPE_TABLE 
 144 # define SWIG_QUOTE_STRING(x) #x 
 145 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x) 
 146 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE) 
 148 # define SWIG_TYPE_TABLE_NAME 
 152   You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for 
 153   creating a static or dynamic library from the swig runtime code. 
 154   In 99.9% of the cases, swig just needs to declare them as 'static'. 
 156   But only do this if is strictly necessary, ie, if you have problems 
 157   with your compiler or so. 
 161 # define SWIGRUNTIME SWIGINTERN 
 164 #ifndef SWIGRUNTIMEINLINE 
 165 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE 
 168 /*  Generic buffer size */ 
 169 #ifndef SWIG_BUFFER_SIZE 
 170 # define SWIG_BUFFER_SIZE 1024 
 173 /* Flags for pointer conversions */ 
 174 #define SWIG_POINTER_DISOWN        0x1 
 176 /* Flags for new pointer objects */ 
 177 #define SWIG_POINTER_OWN           0x1 
 181    Flags/methods for returning states. 
 183    The swig conversion methods, as ConvertPtr, return and integer  
 184    that tells if the conversion was successful or not. And if not, 
 185    an error code can be returned (see swigerrors.swg for the codes). 
 187    Use the following macros/flags to set or process the returning 
 190    In old swig versions, you usually write code as: 
 192      if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) { 
 198    Now you can be more explicit as: 
 200     int res = SWIG_ConvertPtr(obj,vptr,ty.flags); 
 201     if (SWIG_IsOK(res)) { 
 207    that seems to be the same, but now you can also do 
 210     int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags); 
 211     if (SWIG_IsOK(res)) { 
 213       if (SWIG_IsNewObj(res) { 
 223    I.e., now SWIG_ConvertPtr can return new objects and you can 
 224    identify the case and take care of the deallocation. Of course that 
 225    requires also to SWIG_ConvertPtr to return new result values, as 
 227       int SWIG_ConvertPtr(obj, ptr,...) {          
 229           if (<need new object>) {                      
 230             *ptr = <ptr to new allocated object>;  
 233             *ptr = <ptr to old object>;         
 241    Of course, returning the plain '0(success)/-1(fail)' still works, but you can be 
 242    more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the 
 245    Finally, if the SWIG_CASTRANK_MODE is enabled, the result code 
 246    allows to return the 'cast rank', for example, if you have this 
 253       food(1)   // cast rank '1'  (1 -> 1.0) 
 254       fooi(1)   // cast rank '0' 
 256    just use the SWIG_AddCast()/SWIG_CheckState() 
 261 #define SWIG_ERROR                 (-1) 
 262 #define SWIG_IsOK(r)               (r >= 0) 
 263 #define SWIG_ArgError(r)           ((r != SWIG_ERROR) ? r : SWIG_TypeError)   
 265 /* The CastRankLimit says how many bits are used for the cast rank */ 
 266 #define SWIG_CASTRANKLIMIT         (1 << 8) 
 267 /* The NewMask denotes the object was created (using new/malloc) */ 
 268 #define SWIG_NEWOBJMASK            (SWIG_CASTRANKLIMIT  << 1) 
 269 /* The TmpMask is for in/out typemaps that use temporal objects */ 
 270 #define SWIG_TMPOBJMASK            (SWIG_NEWOBJMASK << 1) 
 271 /* Simple returning values */ 
 272 #define SWIG_BADOBJ                (SWIG_ERROR) 
 273 #define SWIG_OLDOBJ                (SWIG_OK) 
 274 #define SWIG_NEWOBJ                (SWIG_OK | SWIG_NEWOBJMASK) 
 275 #define SWIG_TMPOBJ                (SWIG_OK | SWIG_TMPOBJMASK) 
 276 /* Check, add and del mask methods */ 
 277 #define SWIG_AddNewMask(r)         (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r) 
 278 #define SWIG_DelNewMask(r)         (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r) 
 279 #define SWIG_IsNewObj(r)           (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK)) 
 280 #define SWIG_AddTmpMask(r)         (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r) 
 281 #define SWIG_DelTmpMask(r)         (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r) 
 282 #define SWIG_IsTmpObj(r)           (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK)) 
 286 #if defined(SWIG_CASTRANK_MODE) 
 287 #  ifndef SWIG_TypeRank 
 288 #    define SWIG_TypeRank             unsigned long 
 290 #  ifndef SWIG_MAXCASTRANK            /* Default cast allowed */ 
 291 #    define SWIG_MAXCASTRANK          (2) 
 293 #  define SWIG_CASTRANKMASK          ((SWIG_CASTRANKLIMIT) -1) 
 294 #  define SWIG_CastRank(r)           (r & SWIG_CASTRANKMASK) 
 295 SWIGINTERNINLINE 
int SWIG_AddCast(int r
) {  
 296   return SWIG_IsOK(r
) ? ((SWIG_CastRank(r
) < SWIG_MAXCASTRANK
) ? (r 
+ 1) : SWIG_ERROR
) : r
; 
 298 SWIGINTERNINLINE 
int SWIG_CheckState(int r
) {  
 299   return SWIG_IsOK(r
) ? SWIG_CastRank(r
) + 1 : 0;  
 301 #else /* no cast-rank mode */ 
 302 #  define SWIG_AddCast 
 303 #  define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0) 
 315 typedef void *(*swig_converter_func
)(void *); 
 316 typedef struct swig_type_info 
*(*swig_dycast_func
)(void **); 
 318 /* Structure to store inforomation on one type */ 
 319 typedef struct swig_type_info 
{ 
 320   const char             *name
;                 /* mangled name of this type */ 
 321   const char             *str
;                  /* human readable name of this type */ 
 322   swig_dycast_func        dcast
;                /* dynamic cast function down a hierarchy */ 
 323   struct swig_cast_info  
*cast
;                 /* linked list of types that can cast into this type */ 
 324   void                   *clientdata
;           /* language specific type data */ 
 325   int                    owndata
;               /* flag if the structure owns the clientdata */ 
 328 /* Structure to store a type and conversion function used for casting */ 
 329 typedef struct swig_cast_info 
{ 
 330   swig_type_info         
*type
;                 /* pointer to type that is equivalent to this type */ 
 331   swig_converter_func     converter
;            /* function to cast the void pointers */ 
 332   struct swig_cast_info  
*next
;                 /* pointer to next cast in linked list */ 
 333   struct swig_cast_info  
*prev
;                 /* pointer to the previous cast */ 
 336 /* Structure used to store module information 
 337  * Each module generates one structure like this, and the runtime collects 
 338  * all of these structures and stores them in a circularly linked list.*/ 
 339 typedef struct swig_module_info 
{ 
 340   swig_type_info         
**types
;               /* Array of pointers to swig_type_info structures that are in this module */ 
 341   size_t                 size
;                  /* Number of types in this module */ 
 342   struct swig_module_info 
*next
;                /* Pointer to next element in circularly linked list */ 
 343   swig_type_info         
**type_initial
;        /* Array of initially generated type structures */ 
 344   swig_cast_info         
**cast_initial
;        /* Array of initially generated casting structures */ 
 345   void                    *clientdata
;          /* Language specific module data */ 
 349   Compare two type names skipping the space characters, therefore 
 350   "char*" == "char *" and "Class<int>" == "Class<int >", etc. 
 352   Return 0 when the two name types are equivalent, as in 
 353   strncmp, but skipping ' '. 
 356 SWIG_TypeNameComp(const char *f1
, const char *l1
, 
 357                   const char *f2
, const char *l2
) { 
 358   for (;(f1 
!= l1
) && (f2 
!= l2
); ++f1
, ++f2
) { 
 359     while ((*f1 
== ' ') && (f1 
!= l1
)) ++f1
; 
 360     while ((*f2 
== ' ') && (f2 
!= l2
)) ++f2
; 
 361     if (*f1 
!= *f2
) return (*f1 
> *f2
) ? 1 : -1; 
 363   return (l1 
- f1
) - (l2 
- f2
); 
 367   Check type equivalence in a name list like <name1>|<name2>|... 
 368   Return 0 if not equal, 1 if equal 
 371 SWIG_TypeEquiv(const char *nb
, const char *tb
) { 
 373   const char* te 
= tb 
+ strlen(tb
); 
 375   while (!equiv 
&& *ne
) { 
 376     for (nb 
= ne
; *ne
; ++ne
) { 
 377       if (*ne 
== '|') break; 
 379     equiv 
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0; 
 386   Check type equivalence in a name list like <name1>|<name2>|... 
 387   Return 0 if equal, -1 if nb < tb, 1 if nb > tb 
 390 SWIG_TypeCompare(const char *nb
, const char *tb
) { 
 392   const char* te 
= tb 
+ strlen(tb
); 
 394   while (!equiv 
&& *ne
) { 
 395     for (nb 
= ne
; *ne
; ++ne
) { 
 396       if (*ne 
== '|') break; 
 398     equiv 
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0; 
 405 /* think of this as a c++ template<> or a scheme macro */ 
 406 #define SWIG_TypeCheck_Template(comparison, ty)         \ 
 408     swig_cast_info *iter = ty->cast;                    \ 
 411         if (iter == ty->cast) return iter;              \ 
 412         /* Move iter to the top of the linked list */   \ 
 413         iter->prev->next = iter->next;                  \ 
 415           iter->next->prev = iter->prev;                \ 
 416         iter->next = ty->cast;                          \ 
 418         if (ty->cast) ty->cast->prev = iter;            \ 
 430 SWIGRUNTIME swig_cast_info 
* 
 431 SWIG_TypeCheck(const char *c
, swig_type_info 
*ty
) { 
 432   SWIG_TypeCheck_Template(strcmp(iter
->type
->name
, c
) == 0, ty
); 
 435 /* Same as previous function, except strcmp is replaced with a pointer comparison */ 
 436 SWIGRUNTIME swig_cast_info 
* 
 437 SWIG_TypeCheckStruct(swig_type_info 
*from
, swig_type_info 
*into
) { 
 438   SWIG_TypeCheck_Template(iter
->type 
== from
, into
); 
 442   Cast a pointer up an inheritance hierarchy 
 444 SWIGRUNTIMEINLINE 
void * 
 445 SWIG_TypeCast(swig_cast_info 
*ty
, void *ptr
) { 
 446   return ((!ty
) || (!ty
->converter
)) ? ptr 
: (*ty
->converter
)(ptr
); 
 450    Dynamic pointer casting. Down an inheritance hierarchy 
 452 SWIGRUNTIME swig_type_info 
* 
 453 SWIG_TypeDynamicCast(swig_type_info 
*ty
, void **ptr
) { 
 454   swig_type_info 
*lastty 
= ty
; 
 455   if (!ty 
|| !ty
->dcast
) return ty
; 
 456   while (ty 
&& (ty
->dcast
)) { 
 457     ty 
= (*ty
->dcast
)(ptr
); 
 464   Return the name associated with this type 
 466 SWIGRUNTIMEINLINE 
const char * 
 467 SWIG_TypeName(const swig_type_info 
*ty
) { 
 472   Return the pretty name associated with this type, 
 473   that is an unmangled type name in a form presentable to the user. 
 475 SWIGRUNTIME 
const char * 
 476 SWIG_TypePrettyName(const swig_type_info 
*type
) { 
 477   /* The "str" field contains the equivalent pretty names of the 
 478      type, separated by vertical-bar characters.  We choose 
 479      to print the last name, as it is often (?) the most 
 481   if (!type
) return NULL
; 
 482   if (type
->str 
!= NULL
) { 
 483     const char *last_name 
= type
->str
; 
 485     for (s 
= type
->str
; *s
; s
++) 
 486       if (*s 
== '|') last_name 
= s
+1; 
 494    Set the clientdata field for a type 
 497 SWIG_TypeClientData(swig_type_info 
*ti
, void *clientdata
) { 
 498   swig_cast_info 
*cast 
= ti
->cast
; 
 499   /* if (ti->clientdata == clientdata) return; */ 
 500   ti
->clientdata 
= clientdata
; 
 503     if (!cast
->converter
) { 
 504       swig_type_info 
*tc 
= cast
->type
; 
 505       if (!tc
->clientdata
) { 
 506         SWIG_TypeClientData(tc
, clientdata
); 
 513 SWIG_TypeNewClientData(swig_type_info 
*ti
, void *clientdata
) { 
 514   SWIG_TypeClientData(ti
, clientdata
); 
 519   Search for a swig_type_info structure only by mangled name 
 520   Search is a O(log #types) 
 522   We start searching at module start, and finish searching when start == end.   
 523   Note: if start == end at the beginning of the function, we go all the way around 
 526 SWIGRUNTIME swig_type_info 
* 
 527 SWIG_MangledTypeQueryModule(swig_module_info 
*start
,  
 528                             swig_module_info 
*end
,  
 530   swig_module_info 
*iter 
= start
; 
 533       register size_t l 
= 0; 
 534       register size_t r 
= iter
->size 
- 1; 
 536         /* since l+r >= 0, we can (>> 1) instead (/ 2) */ 
 537         register size_t i 
= (l 
+ r
) >> 1;  
 538         const char *iname 
= iter
->types
[i
]->name
; 
 540           register int compare 
= strcmp(name
, iname
); 
 542             return iter
->types
[i
]; 
 543           } else if (compare 
< 0) { 
 549           } else if (compare 
> 0) { 
 553           break; /* should never happen */ 
 558   } while (iter 
!= end
); 
 563   Search for a swig_type_info structure for either a mangled name or a human readable name. 
 564   It first searches the mangled names of the types, which is a O(log #types) 
 565   If a type is not found it then searches the human readable names, which is O(#types). 
 567   We start searching at module start, and finish searching when start == end.   
 568   Note: if start == end at the beginning of the function, we go all the way around 
 571 SWIGRUNTIME swig_type_info 
* 
 572 SWIG_TypeQueryModule(swig_module_info 
*start
,  
 573                      swig_module_info 
*end
,  
 575   /* STEP 1: Search the name field using binary search */ 
 576   swig_type_info 
*ret 
= SWIG_MangledTypeQueryModule(start
, end
, name
); 
 580     /* STEP 2: If the type hasn't been found, do a complete search 
 581        of the str field (the human readable name) */ 
 582     swig_module_info 
*iter 
= start
; 
 584       register size_t i 
= 0; 
 585       for (; i 
< iter
->size
; ++i
) { 
 586         if (iter
->types
[i
]->str 
&& (SWIG_TypeEquiv(iter
->types
[i
]->str
, name
))) 
 587           return iter
->types
[i
]; 
 590     } while (iter 
!= end
); 
 593   /* neither found a match */ 
 598    Pack binary data into a string 
 601 SWIG_PackData(char *c
, void *ptr
, size_t sz
) { 
 602   static const char hex
[17] = "0123456789abcdef"; 
 603   register const unsigned char *u 
= (unsigned char *) ptr
; 
 604   register const unsigned char *eu 
=  u 
+ sz
; 
 605   for (; u 
!= eu
; ++u
) { 
 606     register unsigned char uu 
= *u
; 
 607     *(c
++) = hex
[(uu 
& 0xf0) >> 4]; 
 608     *(c
++) = hex
[uu 
& 0xf]; 
 614    Unpack binary data from a string 
 616 SWIGRUNTIME 
const char * 
 617 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) { 
 618   register unsigned char *u 
= (unsigned char *) ptr
; 
 619   register const unsigned char *eu 
= u 
+ sz
; 
 620   for (; u 
!= eu
; ++u
) { 
 621     register char d 
= *(c
++); 
 622     register unsigned char uu
; 
 623     if ((d 
>= '0') && (d 
<= '9')) 
 624       uu 
= ((d 
- '0') << 4); 
 625     else if ((d 
>= 'a') && (d 
<= 'f')) 
 626       uu 
= ((d 
- ('a'-10)) << 4); 
 630     if ((d 
>= '0') && (d 
<= '9')) 
 632     else if ((d 
>= 'a') && (d 
<= 'f')) 
 633       uu 
|= (d 
- ('a'-10)); 
 642    Pack 'void *' into a string buffer. 
 645 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) { 
 647   if ((2*sizeof(void *) + 2) > bsz
) return 0; 
 649   r 
= SWIG_PackData(r
,&ptr
,sizeof(void *)); 
 650   if (strlen(name
) + 1 > (bsz 
- (r 
- buff
))) return 0; 
 655 SWIGRUNTIME 
const char * 
 656 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) { 
 658     if (strcmp(c
,"NULL") == 0) { 
 665   return SWIG_UnpackData(++c
,ptr
,sizeof(void *)); 
 669 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) { 
 671   size_t lname 
= (name 
? strlen(name
) : 0); 
 672   if ((2*sz 
+ 2 + lname
) > bsz
) return 0; 
 674   r 
= SWIG_PackData(r
,ptr
,sz
); 
 676     strncpy(r
,name
,lname
+1); 
 683 SWIGRUNTIME 
const char * 
 684 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) { 
 686     if (strcmp(c
,"NULL") == 0) { 
 693   return SWIG_UnpackData(++c
,ptr
,sz
); 
 701 #define  SWIG_UnknownError         -1  
 702 #define  SWIG_IOError              -2  
 703 #define  SWIG_RuntimeError         -3  
 704 #define  SWIG_IndexError           -4  
 705 #define  SWIG_TypeError            -5  
 706 #define  SWIG_DivisionByZero       -6  
 707 #define  SWIG_OverflowError        -7  
 708 #define  SWIG_SyntaxError          -8  
 709 #define  SWIG_ValueError           -9  
 710 #define  SWIG_SystemError          -10 
 711 #define  SWIG_AttributeError       -11 
 712 #define  SWIG_MemoryError          -12  
 713 #define  SWIG_NullReferenceError   -13 
 717 /* Python.h has to appear first */ 
 720 /* Add PyOS_snprintf for old Pythons */ 
 721 #if PY_VERSION_HEX < 0x02020000 
 722 # if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM) 
 723 #  define PyOS_snprintf _snprintf 
 725 #  define PyOS_snprintf snprintf 
 729 /* A crude PyString_FromFormat implementation for old Pythons */ 
 730 #if PY_VERSION_HEX < 0x02020000 
 732 #ifndef SWIG_PYBUFFER_SIZE 
 733 # define SWIG_PYBUFFER_SIZE 1024 
 737 PyString_FromFormat(const char *fmt
, ...) { 
 739   char buf
[SWIG_PYBUFFER_SIZE 
* 2]; 
 742   res 
= vsnprintf(buf
, sizeof(buf
), fmt
, ap
); 
 744   return (res 
< 0 || res 
>= (int)sizeof(buf
)) ? 0 : PyString_FromString(buf
); 
 748 /* Add PyObject_Del for old Pythons */ 
 749 #if PY_VERSION_HEX < 0x01060000 
 750 # define PyObject_Del(op) PyMem_DEL((op)) 
 753 # define PyObject_DEL PyObject_Del 
 756 /* A crude PyExc_StopIteration exception for old Pythons */ 
 757 #if PY_VERSION_HEX < 0x02020000 
 758 # ifndef PyExc_StopIteration 
 759 #  define PyExc_StopIteration PyExc_RuntimeError 
 761 # ifndef PyObject_GenericGetAttr 
 762 #  define PyObject_GenericGetAttr 0 
 765 /* Py_NotImplemented is defined in 2.1 and up. */ 
 766 #if PY_VERSION_HEX < 0x02010000 
 767 # ifndef Py_NotImplemented 
 768 #  define Py_NotImplemented PyExc_RuntimeError 
 773 /* A crude PyString_AsStringAndSize implementation for old Pythons */ 
 774 #if PY_VERSION_HEX < 0x02010000 
 775 # ifndef PyString_AsStringAndSize 
 776 #  define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;} 
 780 /* PySequence_Size for old Pythons */ 
 781 #if PY_VERSION_HEX < 0x02000000 
 782 # ifndef PySequence_Size 
 783 #  define PySequence_Size PySequence_Length 
 788 /* PyBool_FromLong for old Pythons */ 
 789 #if PY_VERSION_HEX < 0x02030000 
 791 PyObject 
*PyBool_FromLong(long ok
) 
 793   PyObject 
*result 
= ok 
? Py_True 
: Py_False
; 
 800 /* ----------------------------------------------------------------------------- 
 802  * ----------------------------------------------------------------------------- */ 
 804 SWIGRUNTIME PyObject
* 
 805 SWIG_Python_ErrorType(int code
) { 
 808   case SWIG_MemoryError
: 
 809     type 
= PyExc_MemoryError
; 
 812     type 
= PyExc_IOError
; 
 814   case SWIG_RuntimeError
: 
 815     type 
= PyExc_RuntimeError
; 
 817   case SWIG_IndexError
: 
 818     type 
= PyExc_IndexError
; 
 821     type 
= PyExc_TypeError
; 
 823   case SWIG_DivisionByZero
: 
 824     type 
= PyExc_ZeroDivisionError
; 
 826   case SWIG_OverflowError
: 
 827     type 
= PyExc_OverflowError
; 
 829   case SWIG_SyntaxError
: 
 830     type 
= PyExc_SyntaxError
; 
 832   case SWIG_ValueError
: 
 833     type 
= PyExc_ValueError
; 
 835   case SWIG_SystemError
: 
 836     type 
= PyExc_SystemError
; 
 838   case SWIG_AttributeError
: 
 839     type 
= PyExc_AttributeError
; 
 842     type 
= PyExc_RuntimeError
; 
 849 SWIG_Python_AddErrorMsg(const char* mesg
) 
 853   PyObject 
*traceback 
= 0; 
 855   if (PyErr_Occurred()) PyErr_Fetch(&type
, &value
, &traceback
); 
 857     PyObject 
*old_str 
= PyObject_Str(value
); 
 860     PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
); 
 864     PyErr_Format(PyExc_RuntimeError
, mesg
); 
 870 #if defined(SWIG_PYTHON_NO_THREADS) 
 871 #  if defined(SWIG_PYTHON_THREADS) 
 872 #    undef SWIG_PYTHON_THREADS 
 875 #if defined(SWIG_PYTHON_THREADS) /* Threading support is enabled */ 
 876 #  if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL) 
 877 #    if (PY_VERSION_HEX >= 0x02030000) /* For 2.3 or later, use the PyGILState calls */ 
 878 #      define SWIG_PYTHON_USE_GIL 
 881 #  if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */ 
 882 #    ifndef SWIG_PYTHON_INITIALIZE_THREADS 
 883 #     define SWIG_PYTHON_INITIALIZE_THREADS  PyEval_InitThreads()  
 885 #    ifdef __cplusplus /* C++ code */ 
 886        class SWIG_Python_Thread_Block 
{ 
 888          PyGILState_STATE state
; 
 890          void end() { if (status
) { PyGILState_Release(state
); status 
= false;} } 
 891          SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {} 
 892          ~SWIG_Python_Thread_Block() { end(); } 
 894        class SWIG_Python_Thread_Allow 
{ 
 898          void end() { if (status
) { PyEval_RestoreThread(save
); status 
= false; }} 
 899          SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {} 
 900          ~SWIG_Python_Thread_Allow() { end(); } 
 902 #      define SWIG_PYTHON_THREAD_BEGIN_BLOCK   SWIG_Python_Thread_Block _swig_thread_block 
 903 #      define SWIG_PYTHON_THREAD_END_BLOCK     _swig_thread_block.end() 
 904 #      define SWIG_PYTHON_THREAD_BEGIN_ALLOW   SWIG_Python_Thread_Allow _swig_thread_allow 
 905 #      define SWIG_PYTHON_THREAD_END_ALLOW     _swig_thread_allow.end() 
 907 #      define SWIG_PYTHON_THREAD_BEGIN_BLOCK   PyGILState_STATE _swig_thread_block = PyGILState_Ensure() 
 908 #      define SWIG_PYTHON_THREAD_END_BLOCK     PyGILState_Release(_swig_thread_block) 
 909 #      define SWIG_PYTHON_THREAD_BEGIN_ALLOW   PyThreadState *_swig_thread_allow = PyEval_SaveThread() 
 910 #      define SWIG_PYTHON_THREAD_END_ALLOW     PyEval_RestoreThread(_swig_thread_allow) 
 912 #  else /* Old thread way, not implemented, user must provide it */ 
 913 #    if !defined(SWIG_PYTHON_INITIALIZE_THREADS) 
 914 #      define SWIG_PYTHON_INITIALIZE_THREADS 
 916 #    if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK) 
 917 #      define SWIG_PYTHON_THREAD_BEGIN_BLOCK 
 919 #    if !defined(SWIG_PYTHON_THREAD_END_BLOCK) 
 920 #      define SWIG_PYTHON_THREAD_END_BLOCK 
 922 #    if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW) 
 923 #      define SWIG_PYTHON_THREAD_BEGIN_ALLOW 
 925 #    if !defined(SWIG_PYTHON_THREAD_END_ALLOW) 
 926 #      define SWIG_PYTHON_THREAD_END_ALLOW 
 929 #else /* No thread support */ 
 930 #  define SWIG_PYTHON_INITIALIZE_THREADS 
 931 #  define SWIG_PYTHON_THREAD_BEGIN_BLOCK 
 932 #  define SWIG_PYTHON_THREAD_END_BLOCK 
 933 #  define SWIG_PYTHON_THREAD_BEGIN_ALLOW 
 934 #  define SWIG_PYTHON_THREAD_END_ALLOW 
 937 /* ----------------------------------------------------------------------------- 
 938  * Python API portion that goes into the runtime 
 939  * ----------------------------------------------------------------------------- */ 
 948 /* ----------------------------------------------------------------------------- 
 949  * Constant declarations 
 950  * ----------------------------------------------------------------------------- */ 
 953 #define SWIG_PY_POINTER 4 
 954 #define SWIG_PY_BINARY  5 
 956 /* Constant information structure */ 
 957 typedef struct swig_const_info 
{ 
 963   swig_type_info 
**ptype
; 
 974 /* ----------------------------------------------------------------------------- 
 975  * See the LICENSE file for information on copyright, usage and redistribution 
 976  * of SWIG, and the README file for authors - http://www.swig.org/release.html. 
 980  * This file contains the runtime support for Python modules 
 981  * and includes code for managing global variables and pointer 
 984  * ----------------------------------------------------------------------------- */ 
 986 /* Common SWIG API */ 
 988 #if PY_VERSION_HEX < 0x02050000 
 989 typedef int Py_ssize_t
; 
 992 /* for raw pointers */ 
 993 #define SWIG_Python_ConvertPtr(obj, pptr, type, flags)  SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0) 
 994 #define SWIG_ConvertPtr(obj, pptr, type, flags)         SWIG_Python_ConvertPtr(obj, pptr, type, flags) 
 995 #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own)  SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own) 
 996 #define SWIG_NewPointerObj(ptr, type, flags)            SWIG_Python_NewPointerObj(ptr, type, flags) 
 997 #define SWIG_CheckImplicit(ty)                          SWIG_Python_CheckImplicit(ty)  
 998 #define SWIG_AcquirePtr(ptr, src)                       SWIG_Python_AcquirePtr(ptr, src) 
 999 #define swig_owntype                                    int 
1001 /* for raw packed data */ 
1002 #define SWIG_ConvertPacked(obj, ptr, sz, ty)            SWIG_Python_ConvertPacked(obj, ptr, sz, ty) 
1003 #define SWIG_NewPackedObj(ptr, sz, type)                SWIG_Python_NewPackedObj(ptr, sz, type) 
1005 /* for class or struct pointers */ 
1006 #define SWIG_ConvertInstance(obj, pptr, type, flags)    SWIG_ConvertPtr(obj, pptr, type, flags) 
1007 #define SWIG_NewInstanceObj(ptr, type, flags)           SWIG_NewPointerObj(ptr, type, flags) 
1009 /* for C or C++ function pointers */ 
1010 #define SWIG_ConvertFunctionPtr(obj, pptr, type)        SWIG_Python_ConvertFunctionPtr(obj, pptr, type) 
1011 #define SWIG_NewFunctionPtrObj(ptr, type)               SWIG_Python_NewPointerObj(ptr, type, 0) 
1013 /* for C++ member pointers, ie, member methods */ 
1014 #define SWIG_ConvertMember(obj, ptr, sz, ty)            SWIG_Python_ConvertPacked(obj, ptr, sz, ty) 
1015 #define SWIG_NewMemberObj(ptr, sz, type)                SWIG_Python_NewPackedObj(ptr, sz, type) 
1020 #define SWIG_GetModule(clientdata)                      SWIG_Python_GetModule() 
1021 #define SWIG_SetModule(clientdata, pointer)             SWIG_Python_SetModule(pointer) 
1022 #define SWIG_NewClientData(obj)                         PySwigClientData_New(obj) 
1024 #define SWIG_SetErrorObj                                SWIG_Python_SetErrorObj                             
1025 #define SWIG_SetErrorMsg                                SWIG_Python_SetErrorMsg                             
1026 #define SWIG_ErrorType(code)                            SWIG_Python_ErrorType(code)                         
1027 #define SWIG_Error(code, msg)                           SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)  
1028 #define SWIG_fail                                       goto fail                                           
1031 /* Runtime API implementation */ 
1033 /* Error manipulation */ 
1036 SWIG_Python_SetErrorObj(PyObject 
*errtype
, PyObject 
*obj
) { 
1037   SWIG_PYTHON_THREAD_BEGIN_BLOCK
;  
1038   PyErr_SetObject(errtype
, obj
); 
1040   SWIG_PYTHON_THREAD_END_BLOCK
; 
1044 SWIG_Python_SetErrorMsg(PyObject 
*errtype
, const char *msg
) { 
1045   SWIG_PYTHON_THREAD_BEGIN_BLOCK
; 
1046   PyErr_SetString(errtype
, (char *) msg
); 
1047   SWIG_PYTHON_THREAD_END_BLOCK
; 
1050 #define SWIG_Python_Raise(obj, type, desc)  SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj) 
1052 /* Set a constant value */ 
1055 SWIG_Python_SetConstant(PyObject 
*d
, const char *name
, PyObject 
*obj
) {    
1056   PyDict_SetItemString(d
, (char*) name
, obj
); 
1060 /* Append a value to the result obj */ 
1062 SWIGINTERN PyObject
* 
1063 SWIG_Python_AppendOutput(PyObject
* result
, PyObject
* obj
) { 
1064 #if !defined(SWIG_PYTHON_OUTPUT_TUPLE) 
1067   } else if (result 
== Py_None
) { 
1071     if (!PyList_Check(result
)) { 
1072       PyObject 
*o2 
= result
; 
1073       result 
= PyList_New(1); 
1074       PyList_SetItem(result
, 0, o2
); 
1076     PyList_Append(result
,obj
); 
1085   } else if (result 
== Py_None
) { 
1089     if (!PyTuple_Check(result
)) { 
1091       result 
= PyTuple_New(1); 
1092       PyTuple_SET_ITEM(result
, 0, o2
); 
1094     o3 
= PyTuple_New(1); 
1095     PyTuple_SET_ITEM(o3
, 0, obj
); 
1097     result 
= PySequence_Concat(o2
, o3
); 
1105 /* Unpack the argument tuple */ 
1108 SWIG_Python_UnpackTuple(PyObject 
*args
, const char *name
, int min
, int max
, PyObject 
**objs
) 
1114       PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got none",  
1115                    name
, (min 
== max 
? "" : "at least "), min
); 
1119   if (!PyTuple_Check(args
)) { 
1120     PyErr_SetString(PyExc_SystemError
, "UnpackTuple() argument list is not a tuple"); 
1123     register int l 
= PyTuple_GET_SIZE(args
); 
1125       PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",  
1126                    name
, (min 
== max 
? "" : "at least "), min
, l
); 
1128     } else if (l 
> max
) { 
1129       PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",  
1130                    name
, (min 
== max 
? "" : "at most "), max
, l
); 
1134       for (i 
= 0; i 
< l
; ++i
) { 
1135         objs
[i
] = PyTuple_GET_ITEM(args
, i
); 
1137       for (; l 
< max
; ++l
) { 
1145 /* A functor is a function object with one single object argument */ 
1146 #if PY_VERSION_HEX >= 0x02020000 
1147 #define SWIG_Python_CallFunctor(functor, obj)           PyObject_CallFunctionObjArgs(functor, obj, NULL); 
1149 #define SWIG_Python_CallFunctor(functor, obj)           PyObject_CallFunction(functor, "O", obj); 
1153   Helper for static pointer initialization for both C and C++ code, for example 
1154   static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...); 
1157 #define SWIG_STATIC_POINTER(var)  var 
1159 #define SWIG_STATIC_POINTER(var)  var = 0; if (!var) var 
1162 /* ----------------------------------------------------------------------------- 
1163  * Pointer declarations 
1164  * ----------------------------------------------------------------------------- */ 
1166 /* Flags for new pointer objects */ 
1167 #define SWIG_POINTER_NOSHADOW       (SWIG_POINTER_OWN      << 1) 
1168 #define SWIG_POINTER_NEW            (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN) 
1170 #define SWIG_POINTER_IMPLICIT_CONV  (SWIG_POINTER_DISOWN   << 1) 
1179 /*  How to access Py_None */ 
1180 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__) 
1181 #  ifndef SWIG_PYTHON_NO_BUILD_NONE 
1182 #    ifndef SWIG_PYTHON_BUILD_NONE 
1183 #      define SWIG_PYTHON_BUILD_NONE 
1188 #ifdef SWIG_PYTHON_BUILD_NONE 
1191 #   define Py_None SWIG_Py_None() 
1193 SWIGRUNTIMEINLINE PyObject 
*  
1196   PyObject 
*none 
= Py_BuildValue(""); 
1200 SWIGRUNTIME PyObject 
*  
1203   static PyObject 
*SWIG_STATIC_POINTER(none
) = _SWIG_Py_None(); 
1208 /* The python void return value */ 
1210 SWIGRUNTIMEINLINE PyObject 
*  
1213   PyObject 
*none 
= Py_None
; 
1218 /* PySwigClientData */ 
1229 SWIGRUNTIMEINLINE 
int  
1230 SWIG_Python_CheckImplicit(swig_type_info 
*ty
) 
1232   PySwigClientData 
*data 
= (PySwigClientData 
*)ty
->clientdata
; 
1233   return data 
? data
->implicitconv 
: 0; 
1236 SWIGRUNTIMEINLINE PyObject 
* 
1237 SWIG_Python_ExceptionType(swig_type_info 
*desc
) { 
1238   PySwigClientData 
*data 
= desc 
? (PySwigClientData 
*) desc
->clientdata 
: 0; 
1239   PyObject 
*klass 
= data 
? data
->klass 
: 0; 
1240   return (klass 
? klass 
: PyExc_RuntimeError
); 
1244 SWIGRUNTIME PySwigClientData 
*  
1245 PySwigClientData_New(PyObject
* obj
) 
1250     PySwigClientData 
*data 
= (PySwigClientData 
*)malloc(sizeof(PySwigClientData
)); 
1251     /* the klass element */ 
1253     Py_INCREF(data
->klass
); 
1254     /* the newraw method and newargs arguments used to create a new raw instance */ 
1255     if (PyClass_Check(obj
)) { 
1257       data
->newargs 
= obj
; 
1260 #if (PY_VERSION_HEX < 0x02020000) 
1263       data
->newraw 
= PyObject_GetAttrString(data
->klass
, (char *)"__new__"); 
1266         Py_INCREF(data
->newraw
); 
1267         data
->newargs 
= PyTuple_New(1); 
1268         PyTuple_SetItem(data
->newargs
, 0, obj
); 
1270         data
->newargs 
= obj
; 
1272       Py_INCREF(data
->newargs
); 
1274     /* the destroy method, aka as the C++ delete method */ 
1275     data
->destroy 
= PyObject_GetAttrString(data
->klass
, (char *)"__swig_destroy__"); 
1276     if (PyErr_Occurred()) { 
1280     if (data
->destroy
) { 
1282       Py_INCREF(data
->destroy
); 
1283       flags 
= PyCFunction_GET_FLAGS(data
->destroy
); 
1285       data
->delargs 
= !(flags 
& (METH_O
)); 
1292     data
->implicitconv 
= 0; 
1298 PySwigClientData_Del(PySwigClientData
* data
) 
1300   Py_XDECREF(data
->newraw
); 
1301   Py_XDECREF(data
->newargs
); 
1302   Py_XDECREF(data
->destroy
); 
1305 /* =============== PySwigObject =====================*/ 
1315 SWIGRUNTIME PyObject 
* 
1316 PySwigObject_long(PySwigObject 
*v
) 
1318   return PyLong_FromVoidPtr(v
->ptr
); 
1321 SWIGRUNTIME PyObject 
* 
1322 PySwigObject_format(const char* fmt
, PySwigObject 
*v
) 
1324   PyObject 
*res 
= NULL
; 
1325   PyObject 
*args 
= PyTuple_New(1); 
1327     if (PyTuple_SetItem(args
, 0, PySwigObject_long(v
)) == 0) { 
1328       PyObject 
*ofmt 
= PyString_FromString(fmt
); 
1330         res 
= PyString_Format(ofmt
,args
); 
1339 SWIGRUNTIME PyObject 
* 
1340 PySwigObject_oct(PySwigObject 
*v
) 
1342   return PySwigObject_format("%o",v
); 
1345 SWIGRUNTIME PyObject 
* 
1346 PySwigObject_hex(PySwigObject 
*v
) 
1348   return PySwigObject_format("%x",v
); 
1351 SWIGRUNTIME PyObject 
* 
1353 PySwigObject_repr(PySwigObject 
*v
) 
1355 PySwigObject_repr(PySwigObject 
*v
, PyObject 
*args
) 
1358   const char *name 
= SWIG_TypePrettyName(v
->ty
); 
1359   PyObject 
*hex 
= PySwigObject_hex(v
);     
1360   PyObject 
*repr 
= PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name
, PyString_AsString(hex
)); 
1364     PyObject 
*nrep 
= PySwigObject_repr((PySwigObject 
*)v
->next
); 
1366     PyObject 
*nrep 
= PySwigObject_repr((PySwigObject 
*)v
->next
, args
); 
1368     PyString_ConcatAndDel(&repr
,nrep
); 
1374 PySwigObject_print(PySwigObject 
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) 
1377   PyObject 
*repr 
= PySwigObject_repr(v
); 
1379   PyObject 
*repr 
= PySwigObject_repr(v
, NULL
); 
1382     fputs(PyString_AsString(repr
), fp
); 
1390 SWIGRUNTIME PyObject 
* 
1391 PySwigObject_str(PySwigObject 
*v
) 
1393   char result
[SWIG_BUFFER_SIZE
]; 
1394   return SWIG_PackVoidPtr(result
, v
->ptr
, v
->ty
->name
, sizeof(result
)) ? 
1395     PyString_FromString(result
) : 0; 
1399 PySwigObject_compare(PySwigObject 
*v
, PySwigObject 
*w
) 
1403   return (i 
< j
) ? -1 : ((i 
> j
) ? 1 : 0); 
1406 SWIGRUNTIME PyTypeObject
* _PySwigObject_type(void); 
1408 SWIGRUNTIME PyTypeObject
* 
1409 PySwigObject_type(void) { 
1410   static PyTypeObject 
*SWIG_STATIC_POINTER(type
) = _PySwigObject_type(); 
1414 SWIGRUNTIMEINLINE 
int 
1415 PySwigObject_Check(PyObject 
*op
) { 
1416   return ((op
)->ob_type 
== PySwigObject_type()) 
1417     || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0); 
1420 SWIGRUNTIME PyObject 
* 
1421 PySwigObject_New(void *ptr
, swig_type_info 
*ty
, int own
); 
1424 PySwigObject_dealloc(PyObject 
*v
) 
1426   PySwigObject 
*sobj 
= (PySwigObject 
*) v
; 
1427   PyObject 
*next 
= sobj
->next
; 
1429     swig_type_info 
*ty 
= sobj
->ty
; 
1430     PySwigClientData 
*data 
= ty 
? (PySwigClientData 
*) ty
->clientdata 
: 0; 
1431     PyObject 
*destroy 
= data 
? data
->destroy 
: 0; 
1433       /* destroy is always a VARARGS method */ 
1435       if (data
->delargs
) { 
1436         /* we need to create a temporal object to carry the destroy operation */ 
1437         PyObject 
*tmp 
= PySwigObject_New(sobj
->ptr
, ty
, 0); 
1438         res 
= SWIG_Python_CallFunctor(destroy
, tmp
); 
1441         PyCFunction meth 
= PyCFunction_GET_FUNCTION(destroy
); 
1442         PyObject 
*mself 
= PyCFunction_GET_SELF(destroy
); 
1443         res 
= ((*meth
)(mself
, v
)); 
1447       const char *name 
= SWIG_TypePrettyName(ty
); 
1448 #if !defined(SWIG_PYTHON_SILENT_MEMLEAK) 
1449       printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name
); 
1457 SWIGRUNTIME PyObject
*  
1458 PySwigObject_append(PyObject
* v
, PyObject
* next
) 
1460   PySwigObject 
*sobj 
= (PySwigObject 
*) v
; 
1463   if (!PyArg_ParseTuple(next
,(char *)"O:append", &tmp
)) return NULL
; 
1466   if (!PySwigObject_Check(next
)) { 
1471   return SWIG_Py_Void(); 
1474 SWIGRUNTIME PyObject
*  
1476 PySwigObject_next(PyObject
* v
) 
1478 PySwigObject_next(PyObject
* v
, PyObject 
*SWIGUNUSEDPARM(args
)) 
1481   PySwigObject 
*sobj 
= (PySwigObject 
*) v
; 
1483     Py_INCREF(sobj
->next
); 
1486     return SWIG_Py_Void(); 
1490 SWIGINTERN PyObject
* 
1492 PySwigObject_disown(PyObject 
*v
) 
1494 PySwigObject_disown(PyObject
* v
, PyObject 
*SWIGUNUSEDPARM(args
)) 
1497   PySwigObject 
*sobj 
= (PySwigObject 
*)v
; 
1499   return SWIG_Py_Void(); 
1502 SWIGINTERN PyObject
* 
1504 PySwigObject_acquire(PyObject 
*v
) 
1506 PySwigObject_acquire(PyObject
* v
, PyObject 
*SWIGUNUSEDPARM(args
)) 
1509   PySwigObject 
*sobj 
= (PySwigObject 
*)v
; 
1510   sobj
->own 
= SWIG_POINTER_OWN
; 
1511   return SWIG_Py_Void(); 
1514 SWIGINTERN PyObject
* 
1515 PySwigObject_own(PyObject 
*v
, PyObject 
*args
) 
1518 #if (PY_VERSION_HEX < 0x02020000) 
1519   if (!PyArg_ParseTuple(args
,(char *)"|O:own",&val
)) 
1521   if (!PyArg_UnpackTuple(args
, (char *)"own", 0, 1, &val
))  
1528       PySwigObject 
*sobj 
= (PySwigObject 
*)v
; 
1529       PyObject 
*obj 
= PyBool_FromLong(sobj
->own
); 
1532         if (PyObject_IsTrue(val
)) { 
1533           PySwigObject_acquire(v
); 
1535           PySwigObject_disown(v
); 
1538         if (PyObject_IsTrue(val
)) { 
1539           PySwigObject_acquire(v
,args
); 
1541           PySwigObject_disown(v
,args
); 
1551 swigobject_methods
[] = { 
1552   {(char *)"disown",  (PyCFunction
)PySwigObject_disown
,  METH_NOARGS
,  (char *)"releases ownership of the pointer"}, 
1553   {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_NOARGS
,  (char *)"aquires ownership of the pointer"}, 
1554   {(char *)"own",     (PyCFunction
)PySwigObject_own
,     METH_VARARGS
, (char *)"returns/sets ownership of the pointer"}, 
1555   {(char *)"append",  (PyCFunction
)PySwigObject_append
,  METH_O
,       (char *)"appends another 'this' object"}, 
1556   {(char *)"next",    (PyCFunction
)PySwigObject_next
,    METH_NOARGS
,  (char *)"returns the next 'this' object"}, 
1557   {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
,    METH_NOARGS
,  (char *)"returns object representation"}, 
1562 swigobject_methods
[] = { 
1563   {(char *)"disown",  (PyCFunction
)PySwigObject_disown
,  METH_VARARGS
,  (char *)"releases ownership of the pointer"}, 
1564   {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_VARARGS
,  (char *)"aquires ownership of the pointer"}, 
1565   {(char *)"own",     (PyCFunction
)PySwigObject_own
,     METH_VARARGS
,  (char *)"returns/sets ownership of the pointer"}, 
1566   {(char *)"append",  (PyCFunction
)PySwigObject_append
,  METH_VARARGS
,  (char *)"appends another 'this' object"}, 
1567   {(char *)"next",    (PyCFunction
)PySwigObject_next
,    METH_VARARGS
,  (char *)"returns the next 'this' object"}, 
1568   {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
,   METH_VARARGS
,  (char *)"returns object representation"}, 
1573 #if PY_VERSION_HEX < 0x02020000 
1574 SWIGINTERN PyObject 
* 
1575 PySwigObject_getattr(PySwigObject 
*sobj
,char *name
) 
1577   return Py_FindMethod(swigobject_methods
, (PyObject 
*)sobj
, name
); 
1581 SWIGRUNTIME PyTypeObject
* 
1582 _PySwigObject_type(void) { 
1583   static char swigobject_doc
[] = "Swig object carries a C/C++ instance pointer"; 
1585   static PyNumberMethods PySwigObject_as_number 
= { 
1586     (binaryfunc
)0, /*nb_add*/ 
1587     (binaryfunc
)0, /*nb_subtract*/ 
1588     (binaryfunc
)0, /*nb_multiply*/ 
1589     (binaryfunc
)0, /*nb_divide*/ 
1590     (binaryfunc
)0, /*nb_remainder*/ 
1591     (binaryfunc
)0, /*nb_divmod*/ 
1592     (ternaryfunc
)0,/*nb_power*/ 
1593     (unaryfunc
)0,  /*nb_negative*/ 
1594     (unaryfunc
)0,  /*nb_positive*/ 
1595     (unaryfunc
)0,  /*nb_absolute*/ 
1596     (inquiry
)0,    /*nb_nonzero*/ 
1603     (coercion
)0,   /*nb_coerce*/ 
1604     (unaryfunc
)PySwigObject_long
, /*nb_int*/ 
1605     (unaryfunc
)PySwigObject_long
, /*nb_long*/ 
1606     (unaryfunc
)0,                 /*nb_float*/ 
1607     (unaryfunc
)PySwigObject_oct
,  /*nb_oct*/ 
1608     (unaryfunc
)PySwigObject_hex
,  /*nb_hex*/ 
1609 #if PY_VERSION_HEX >= 0x02020000 
1610     0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */  
1611 #elif PY_VERSION_HEX >= 0x02000000 
1612     0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */ 
1616   static PyTypeObject pyswigobject_type
;   
1617   static int type_init 
= 0; 
1619     const PyTypeObject tmp
 
1621         PyObject_HEAD_INIT(NULL
) 
1623         (char *)"PySwigObject",             /* tp_name */ 
1624         sizeof(PySwigObject
),               /* tp_basicsize */ 
1625         0,                                  /* tp_itemsize */ 
1626         (destructor
)PySwigObject_dealloc
,   /* tp_dealloc */ 
1627         (printfunc
)PySwigObject_print
,      /* tp_print */ 
1628 #if PY_VERSION_HEX < 0x02020000 
1629         (getattrfunc
)PySwigObject_getattr
,  /* tp_getattr */  
1631         (getattrfunc
)0,                     /* tp_getattr */  
1633         (setattrfunc
)0,                     /* tp_setattr */  
1634         (cmpfunc
)PySwigObject_compare
,      /* tp_compare */  
1635         (reprfunc
)PySwigObject_repr
,        /* tp_repr */     
1636         &PySwigObject_as_number
,            /* tp_as_number */ 
1637         0,                                  /* tp_as_sequence */ 
1638         0,                                  /* tp_as_mapping */ 
1639         (hashfunc
)0,                        /* tp_hash */ 
1640         (ternaryfunc
)0,                     /* tp_call */ 
1641         (reprfunc
)PySwigObject_str
,         /* tp_str */ 
1642         PyObject_GenericGetAttr
,            /* tp_getattro */ 
1643         0,                                  /* tp_setattro */ 
1644         0,                                  /* tp_as_buffer */ 
1645         Py_TPFLAGS_DEFAULT
,                 /* tp_flags */ 
1646         swigobject_doc
,                     /* tp_doc */         
1647         0,                                  /* tp_traverse */ 
1649         0,                                  /* tp_richcompare */ 
1650         0,                                  /* tp_weaklistoffset */ 
1651 #if PY_VERSION_HEX >= 0x02020000 
1653         0,                                  /* tp_iternext */ 
1654         swigobject_methods
,                 /* tp_methods */  
1659         0,                                  /* tp_descr_get */           
1660         0,                                  /* tp_descr_set */           
1661         0,                                  /* tp_dictoffset */          
1670         0,                                  /* tp_subclasses */ 
1671         0,                                  /* tp_weaklist */ 
1673 #if PY_VERSION_HEX >= 0x02030000 
1677         0,0,0,0                             /* tp_alloc -> tp_next */ 
1680     pyswigobject_type 
= tmp
; 
1681     pyswigobject_type
.ob_type 
= &PyType_Type
; 
1684   return &pyswigobject_type
; 
1687 SWIGRUNTIME PyObject 
* 
1688 PySwigObject_New(void *ptr
, swig_type_info 
*ty
, int own
) 
1690   PySwigObject 
*sobj 
= PyObject_NEW(PySwigObject
, PySwigObject_type()); 
1697   return (PyObject 
*)sobj
; 
1700 /* ----------------------------------------------------------------------------- 
1701  * Implements a simple Swig Packed type, and use it instead of string 
1702  * ----------------------------------------------------------------------------- */ 
1712 PySwigPacked_print(PySwigPacked 
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) 
1714   char result
[SWIG_BUFFER_SIZE
]; 
1715   fputs("<Swig Packed ", fp
);  
1716   if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) { 
1720   fputs(v
->ty
->name
,fp
);  
1725 SWIGRUNTIME PyObject 
* 
1726 PySwigPacked_repr(PySwigPacked 
*v
) 
1728   char result
[SWIG_BUFFER_SIZE
]; 
1729   if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) { 
1730     return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->ty
->name
); 
1732     return PyString_FromFormat("<Swig Packed %s>", v
->ty
->name
); 
1736 SWIGRUNTIME PyObject 
* 
1737 PySwigPacked_str(PySwigPacked 
*v
) 
1739   char result
[SWIG_BUFFER_SIZE
]; 
1740   if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){ 
1741     return PyString_FromFormat("%s%s", result
, v
->ty
->name
); 
1743     return PyString_FromString(v
->ty
->name
); 
1748 PySwigPacked_compare(PySwigPacked 
*v
, PySwigPacked 
*w
) 
1752   int s 
= (i 
< j
) ? -1 : ((i 
> j
) ? 1 : 0); 
1753   return s 
? s 
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
); 
1756 SWIGRUNTIME PyTypeObject
* _PySwigPacked_type(void); 
1758 SWIGRUNTIME PyTypeObject
* 
1759 PySwigPacked_type(void) { 
1760   static PyTypeObject 
*SWIG_STATIC_POINTER(type
) = _PySwigPacked_type(); 
1764 SWIGRUNTIMEINLINE 
int 
1765 PySwigPacked_Check(PyObject 
*op
) { 
1766   return ((op
)->ob_type 
== _PySwigPacked_type())  
1767     || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0); 
1771 PySwigPacked_dealloc(PyObject 
*v
) 
1773   if (PySwigPacked_Check(v
)) { 
1774     PySwigPacked 
*sobj 
= (PySwigPacked 
*) v
; 
1780 SWIGRUNTIME PyTypeObject
* 
1781 _PySwigPacked_type(void) { 
1782   static char swigpacked_doc
[] = "Swig object carries a C/C++ instance pointer"; 
1783   static PyTypeObject pyswigpacked_type
; 
1784   static int type_init 
= 0;   
1786     const PyTypeObject tmp
 
1788         PyObject_HEAD_INIT(NULL
) 
1790         (char *)"PySwigPacked",             /* tp_name */        
1791         sizeof(PySwigPacked
),               /* tp_basicsize */   
1792         0,                                  /* tp_itemsize */    
1793         (destructor
)PySwigPacked_dealloc
,   /* tp_dealloc */     
1794         (printfunc
)PySwigPacked_print
,      /* tp_print */       
1795         (getattrfunc
)0,                     /* tp_getattr */     
1796         (setattrfunc
)0,                     /* tp_setattr */     
1797         (cmpfunc
)PySwigPacked_compare
,      /* tp_compare */     
1798         (reprfunc
)PySwigPacked_repr
,        /* tp_repr */        
1799         0,                                  /* tp_as_number */   
1800         0,                                  /* tp_as_sequence */ 
1801         0,                                  /* tp_as_mapping */  
1802         (hashfunc
)0,                        /* tp_hash */        
1803         (ternaryfunc
)0,                     /* tp_call */        
1804         (reprfunc
)PySwigPacked_str
,         /* tp_str */         
1805         PyObject_GenericGetAttr
,            /* tp_getattro */ 
1806         0,                                  /* tp_setattro */ 
1807         0,                                  /* tp_as_buffer */ 
1808         Py_TPFLAGS_DEFAULT
,                 /* tp_flags */ 
1809         swigpacked_doc
,                     /* tp_doc */ 
1810         0,                                  /* tp_traverse */ 
1812         0,                                  /* tp_richcompare */ 
1813         0,                                  /* tp_weaklistoffset */ 
1814 #if PY_VERSION_HEX >= 0x02020000 
1816         0,                                  /* tp_iternext */ 
1822         0,                                  /* tp_descr_get */           
1823         0,                                  /* tp_descr_set */           
1824         0,                                  /* tp_dictoffset */          
1833         0,                                  /* tp_subclasses */ 
1834         0,                                  /* tp_weaklist */ 
1836 #if PY_VERSION_HEX >= 0x02030000 
1840         0,0,0,0                             /* tp_alloc -> tp_next */ 
1843     pyswigpacked_type 
= tmp
; 
1844     pyswigpacked_type
.ob_type 
= &PyType_Type
; 
1847   return &pyswigpacked_type
; 
1850 SWIGRUNTIME PyObject 
* 
1851 PySwigPacked_New(void *ptr
, size_t size
, swig_type_info 
*ty
) 
1853   PySwigPacked 
*sobj 
= PyObject_NEW(PySwigPacked
, PySwigPacked_type()); 
1855     void *pack 
= malloc(size
); 
1857       memcpy(pack
, ptr
, size
); 
1862       PyObject_DEL((PyObject 
*) sobj
); 
1866   return (PyObject 
*) sobj
; 
1869 SWIGRUNTIME swig_type_info 
* 
1870 PySwigPacked_UnpackData(PyObject 
*obj
, void *ptr
, size_t size
) 
1872   if (PySwigPacked_Check(obj
)) { 
1873     PySwigPacked 
*sobj 
= (PySwigPacked 
*)obj
; 
1874     if (sobj
->size 
!= size
) return 0; 
1875     memcpy(ptr
, sobj
->pack
, size
); 
1882 /* ----------------------------------------------------------------------------- 
1883  * pointers/data manipulation 
1884  * ----------------------------------------------------------------------------- */ 
1886 SWIGRUNTIMEINLINE PyObject 
* 
1889   return PyString_FromString("this"); 
1892 SWIGRUNTIME PyObject 
* 
1895   static PyObject 
*SWIG_STATIC_POINTER(swig_this
) = _SWIG_This(); 
1899 /* #define SWIG_PYTHON_SLOW_GETSET_THIS */ 
1901 SWIGRUNTIME PySwigObject 
* 
1902 SWIG_Python_GetSwigThis(PyObject 
*pyobj
)  
1904   if (PySwigObject_Check(pyobj
)) { 
1905     return (PySwigObject 
*) pyobj
; 
1908 #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000)) 
1909     if (PyInstance_Check(pyobj
)) { 
1910       obj 
= _PyInstance_Lookup(pyobj
, SWIG_This());       
1912       PyObject 
**dictptr 
= _PyObject_GetDictPtr(pyobj
); 
1913       if (dictptr 
!= NULL
) { 
1914         PyObject 
*dict 
= *dictptr
; 
1915         obj 
= dict 
? PyDict_GetItem(dict
, SWIG_This()) : 0; 
1917 #ifdef PyWeakref_CheckProxy 
1918         if (PyWeakref_CheckProxy(pyobj
)) { 
1919           PyObject 
*wobj 
= PyWeakref_GET_OBJECT(pyobj
); 
1920           return wobj 
? SWIG_Python_GetSwigThis(wobj
) : 0; 
1923         obj 
= PyObject_GetAttr(pyobj
,SWIG_This()); 
1927           if (PyErr_Occurred()) PyErr_Clear(); 
1933     obj 
= PyObject_GetAttr(pyobj
,SWIG_This()); 
1937       if (PyErr_Occurred()) PyErr_Clear(); 
1941     if (obj 
&& !PySwigObject_Check(obj
)) { 
1942       /* a PyObject is called 'this', try to get the 'real this' 
1943          PySwigObject from it */  
1944       return SWIG_Python_GetSwigThis(obj
); 
1946     return (PySwigObject 
*)obj
; 
1950 /* Acquire a pointer value */ 
1953 SWIG_Python_AcquirePtr(PyObject 
*obj
, int own
) { 
1955     PySwigObject 
*sobj 
= SWIG_Python_GetSwigThis(obj
); 
1957       int oldown 
= sobj
->own
; 
1965 /* Convert a pointer value */ 
1968 SWIG_Python_ConvertPtrAndOwn(PyObject 
*obj
, void **ptr
, swig_type_info 
*ty
, int flags
, int *own
) { 
1969   if (!obj
) return SWIG_ERROR
; 
1970   if (obj 
== Py_None
) { 
1974     PySwigObject 
*sobj 
= SWIG_Python_GetSwigThis(obj
); 
1976       void *vptr 
= sobj
->ptr
; 
1978         swig_type_info 
*to 
= sobj
->ty
; 
1980           /* no type cast needed */ 
1981           if (ptr
) *ptr 
= vptr
; 
1984           swig_cast_info 
*tc 
= SWIG_TypeCheck(to
->name
,ty
); 
1986             sobj 
= (PySwigObject 
*)sobj
->next
; 
1988             if (ptr
) *ptr 
= SWIG_TypeCast(tc
,vptr
); 
1993         if (ptr
) *ptr 
= vptr
; 
1998       if (own
) *own 
= sobj
->own
; 
1999       if (flags 
& SWIG_POINTER_DISOWN
) { 
2004       int res 
= SWIG_ERROR
; 
2005       if (flags 
& SWIG_POINTER_IMPLICIT_CONV
) { 
2006         PySwigClientData 
*data 
= ty 
? (PySwigClientData 
*) ty
->clientdata 
: 0; 
2007         if (data 
&& !data
->implicitconv
) { 
2008           PyObject 
*klass 
= data
->klass
; 
2011             data
->implicitconv 
= 1; /* avoid recursion and call 'explicit' constructors*/ 
2012             impconv 
= SWIG_Python_CallFunctor(klass
, obj
); 
2013             data
->implicitconv 
= 0; 
2014             if (PyErr_Occurred()) { 
2019               PySwigObject 
*iobj 
= SWIG_Python_GetSwigThis(impconv
); 
2022                 res 
= SWIG_Python_ConvertPtrAndOwn((PyObject
*)iobj
, &vptr
, ty
, 0, 0); 
2023                 if (SWIG_IsOK(res
)) { 
2026                     /* transfer the ownership to 'ptr' */ 
2028                     res 
= SWIG_AddCast(res
); 
2029                     res 
= SWIG_AddNewMask(res
); 
2031                     res 
= SWIG_AddCast(res
);                 
2045 /* Convert a function ptr value */ 
2048 SWIG_Python_ConvertFunctionPtr(PyObject 
*obj
, void **ptr
, swig_type_info 
*ty
) { 
2049   if (!PyCFunction_Check(obj
)) { 
2050     return SWIG_ConvertPtr(obj
, ptr
, ty
, 0); 
2054     /* here we get the method pointer for callbacks */ 
2055     const char *doc 
= (((PyCFunctionObject 
*)obj
) -> m_ml 
-> ml_doc
); 
2056     const char *desc 
= doc 
? strstr(doc
, "swig_ptr: ") : 0; 
2058       desc 
= ty 
? SWIG_UnpackVoidPtr(desc 
+ 10, &vptr
, ty
->name
) : 0; 
2059       if (!desc
) return SWIG_ERROR
; 
2062       swig_cast_info 
*tc 
= SWIG_TypeCheck(desc
,ty
); 
2063       if (!tc
) return SWIG_ERROR
; 
2064       *ptr 
= SWIG_TypeCast(tc
,vptr
); 
2072 /* Convert a packed value value */ 
2075 SWIG_Python_ConvertPacked(PyObject 
*obj
, void *ptr
, size_t sz
, swig_type_info 
*ty
) { 
2076   swig_type_info 
*to 
= PySwigPacked_UnpackData(obj
, ptr
, sz
); 
2077   if (!to
) return SWIG_ERROR
; 
2080       /* check type cast? */ 
2081       swig_cast_info 
*tc 
= SWIG_TypeCheck(to
->name
,ty
); 
2082       if (!tc
) return SWIG_ERROR
; 
2088 /* ----------------------------------------------------------------------------- 
2089  * Create a new pointer object 
2090  * ----------------------------------------------------------------------------- */ 
2093   Create a new instance object, whitout calling __init__, and set the 
2097 SWIGRUNTIME PyObject
*  
2098 SWIG_Python_NewShadowInstance(PySwigClientData 
*data
, PyObject 
*swig_this
) 
2100 #if (PY_VERSION_HEX >= 0x02020000) 
2102   PyObject 
*newraw 
= data
->newraw
; 
2104     inst 
= PyObject_Call(newraw
, data
->newargs
, NULL
); 
2106 #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS) 
2107       PyObject 
**dictptr 
= _PyObject_GetDictPtr(inst
); 
2108       if (dictptr 
!= NULL
) { 
2109         PyObject 
*dict 
= *dictptr
; 
2111           dict 
= PyDict_New(); 
2113           PyDict_SetItem(dict
, SWIG_This(), swig_this
); 
2117       PyObject 
*key 
= SWIG_This(); 
2118       PyObject_SetAttr(inst
, key
, swig_this
); 
2122     PyObject 
*dict 
= PyDict_New(); 
2123     PyDict_SetItem(dict
, SWIG_This(), swig_this
); 
2124     inst 
= PyInstance_NewRaw(data
->newargs
, dict
); 
2129 #if (PY_VERSION_HEX >= 0x02010000) 
2131   PyObject 
*dict 
= PyDict_New(); 
2132   PyDict_SetItem(dict
, SWIG_This(), swig_this
); 
2133   inst 
= PyInstance_NewRaw(data
->newargs
, dict
); 
2135   return (PyObject 
*) inst
; 
2137   PyInstanceObject 
*inst 
= PyObject_NEW(PyInstanceObject
, &PyInstance_Type
); 
2141   inst
->in_class 
= (PyClassObject 
*)data
->newargs
; 
2142   Py_INCREF(inst
->in_class
); 
2143   inst
->in_dict 
= PyDict_New(); 
2144   if (inst
->in_dict 
== NULL
) { 
2148 #ifdef Py_TPFLAGS_HAVE_WEAKREFS 
2149   inst
->in_weakreflist 
= NULL
; 
2151 #ifdef Py_TPFLAGS_GC 
2152   PyObject_GC_Init(inst
); 
2154   PyDict_SetItem(inst
->in_dict
, SWIG_This(), swig_this
); 
2155   return (PyObject 
*) inst
; 
2161 SWIG_Python_SetSwigThis(PyObject 
*inst
, PyObject 
*swig_this
) 
2164 #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS) 
2165  PyObject 
**dictptr 
= _PyObject_GetDictPtr(inst
); 
2166  if (dictptr 
!= NULL
) { 
2169      dict 
= PyDict_New(); 
2172    PyDict_SetItem(dict
, SWIG_This(), swig_this
); 
2176  dict 
= PyObject_GetAttrString(inst
, "__dict__"); 
2177  PyDict_SetItem(dict
, SWIG_This(), swig_this
); 
2182 SWIGINTERN PyObject 
* 
2183 SWIG_Python_InitShadowInstance(PyObject 
*args
) { 
2185   if (!SWIG_Python_UnpackTuple(args
,(char*)"swiginit", 2, 2, obj
)) { 
2188     PySwigObject 
*sthis 
= SWIG_Python_GetSwigThis(obj
[0]); 
2190       PySwigObject_append((PyObject
*) sthis
, obj
[1]); 
2192       SWIG_Python_SetSwigThis(obj
[0], obj
[1]); 
2194     return SWIG_Py_Void(); 
2198 /* Create a new pointer object */ 
2200 SWIGRUNTIME PyObject 
* 
2201 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info 
*type
, int flags
) { 
2203     return SWIG_Py_Void(); 
2205     int own 
= (flags 
& SWIG_POINTER_OWN
) ? SWIG_POINTER_OWN 
: 0; 
2206     PyObject 
*robj 
= PySwigObject_New(ptr
, type
, own
); 
2207     PySwigClientData 
*clientdata 
= type 
? (PySwigClientData 
*)(type
->clientdata
) : 0; 
2208     if (clientdata 
&& !(flags 
& SWIG_POINTER_NOSHADOW
)) { 
2209       PyObject 
*inst 
= SWIG_Python_NewShadowInstance(clientdata
, robj
); 
2219 /* Create a new packed object */ 
2221 SWIGRUNTIMEINLINE PyObject 
* 
2222 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info 
*type
) { 
2223   return ptr 
? PySwigPacked_New((void *) ptr
, sz
, type
) : SWIG_Py_Void(); 
2226 /* -----------------------------------------------------------------------------* 
2228  * -----------------------------------------------------------------------------*/ 
2230 #ifdef SWIG_LINK_RUNTIME 
2231 void *SWIG_ReturnGlobalTypeList(void *); 
2234 SWIGRUNTIME swig_module_info 
* 
2235 SWIG_Python_GetModule(void) { 
2236   static void *type_pointer 
= (void *)0; 
2237   /* first check if module already created */ 
2238   if (!type_pointer
) { 
2239 #ifdef SWIG_LINK_RUNTIME 
2240     type_pointer 
= SWIG_ReturnGlobalTypeList((void *)0); 
2242     type_pointer 
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
, 
2243                                     (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
); 
2244     if (PyErr_Occurred()) { 
2246       type_pointer 
= (void *)0; 
2250   return (swig_module_info 
*) type_pointer
; 
2253 #if PY_MAJOR_VERSION < 2 
2254 /* PyModule_AddObject function was introduced in Python 2.0.  The following function 
2255    is copied out of Python/modsupport.c in python version 2.3.4 */ 
2257 PyModule_AddObject(PyObject 
*m
, char *name
, PyObject 
*o
) 
2260   if (!PyModule_Check(m
)) { 
2261     PyErr_SetString(PyExc_TypeError
, 
2262                     "PyModule_AddObject() needs module as first arg"); 
2266     PyErr_SetString(PyExc_TypeError
, 
2267                     "PyModule_AddObject() needs non-NULL value"); 
2271   dict 
= PyModule_GetDict(m
); 
2273     /* Internal error -- modules must have a dict! */ 
2274     PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__", 
2275                  PyModule_GetName(m
)); 
2278   if (PyDict_SetItemString(dict
, name
, o
)) 
2286 SWIG_Python_DestroyModule(void *vptr
) 
2288   swig_module_info 
*swig_module 
= (swig_module_info 
*) vptr
; 
2289   swig_type_info 
**types 
= swig_module
->types
; 
2291   for (i 
=0; i 
< swig_module
->size
; ++i
) { 
2292     swig_type_info 
*ty 
= types
[i
]; 
2294       PySwigClientData 
*data 
= (PySwigClientData 
*) ty
->clientdata
; 
2295       if (data
) PySwigClientData_Del(data
); 
2298   Py_DECREF(SWIG_This()); 
2302 SWIG_Python_SetModule(swig_module_info 
*swig_module
) { 
2303   static PyMethodDef swig_empty_runtime_method_table
[] = { {NULL
, NULL
, 0, NULL
} };/* Sentinel */ 
2305   PyObject 
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
, 
2306                                    swig_empty_runtime_method_table
); 
2307   PyObject 
*pointer 
= PyCObject_FromVoidPtr((void *) swig_module
, SWIG_Python_DestroyModule
); 
2308   if (pointer 
&& module) { 
2309     PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
); 
2311     Py_XDECREF(pointer
); 
2315 /* The python cached type query */ 
2316 SWIGRUNTIME PyObject 
* 
2317 SWIG_Python_TypeCache() { 
2318   static PyObject 
*SWIG_STATIC_POINTER(cache
) = PyDict_New(); 
2322 SWIGRUNTIME swig_type_info 
* 
2323 SWIG_Python_TypeQuery(const char *type
) 
2325   PyObject 
*cache 
= SWIG_Python_TypeCache(); 
2326   PyObject 
*key 
= PyString_FromString(type
);  
2327   PyObject 
*obj 
= PyDict_GetItem(cache
, key
); 
2328   swig_type_info 
*descriptor
; 
2330     descriptor 
= (swig_type_info 
*) PyCObject_AsVoidPtr(obj
); 
2332     swig_module_info 
*swig_module 
= SWIG_Python_GetModule(); 
2333     descriptor 
= SWIG_TypeQueryModule(swig_module
, swig_module
, type
); 
2335       obj 
= PyCObject_FromVoidPtr(descriptor
, NULL
); 
2336       PyDict_SetItem(cache
, key
, obj
); 
2345    For backward compatibility only 
2347 #define SWIG_POINTER_EXCEPTION  0 
2348 #define SWIG_arg_fail(arg)      SWIG_Python_ArgFail(arg) 
2349 #define SWIG_MustGetPtr(p, type, argnum, flags)  SWIG_Python_MustGetPtr(p, type, argnum, flags) 
2352 SWIG_Python_AddErrMesg(const char* mesg
, int infront
) 
2354   if (PyErr_Occurred()) { 
2356     PyObject 
*value 
= 0; 
2357     PyObject 
*traceback 
= 0; 
2358     PyErr_Fetch(&type
, &value
, &traceback
); 
2360       PyObject 
*old_str 
= PyObject_Str(value
); 
2364         PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
)); 
2366         PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
); 
2377 SWIG_Python_ArgFail(int argnum
) 
2379   if (PyErr_Occurred()) { 
2380     /* add information about failing argument */ 
2382     PyOS_snprintf(mesg
, sizeof(mesg
), "argument number %d:", argnum
); 
2383     return SWIG_Python_AddErrMesg(mesg
, 1); 
2389 SWIGRUNTIMEINLINE 
const char * 
2390 PySwigObject_GetDesc(PyObject 
*self
) 
2392   PySwigObject 
*v 
= (PySwigObject 
*)self
; 
2393   swig_type_info 
*ty 
= v 
? v
->ty 
: 0; 
2394   return ty 
? ty
->str 
: (char*)""; 
2398 SWIG_Python_TypeError(const char *type
, PyObject 
*obj
) 
2401 #if defined(SWIG_COBJECT_TYPES) 
2402     if (obj 
&& PySwigObject_Check(obj
)) { 
2403       const char *otype 
= (const char *) PySwigObject_GetDesc(obj
); 
2405         PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received", 
2412       const char *otype 
= (obj 
? obj
->ob_type
->tp_name 
: 0);  
2414         PyObject 
*str 
= PyObject_Str(obj
); 
2415         const char *cstr 
= str 
? PyString_AsString(str
) : 0; 
2417           PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received", 
2420           PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received", 
2427     PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
); 
2429     PyErr_Format(PyExc_TypeError
, "unexpected type is received"); 
2434 /* Convert a pointer value, signal an exception on a type mismatch */ 
2436 SWIG_Python_MustGetPtr(PyObject 
*obj
, swig_type_info 
*ty
, int argnum
, int flags
) { 
2438   if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) { 
2440     if (flags 
& SWIG_POINTER_EXCEPTION
) { 
2441       SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
); 
2442       SWIG_Python_ArgFail(argnum
); 
2458 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)  
2460 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else  
2464 /* -------- TYPES TABLE (BEGIN) -------- */ 
2466 #define SWIGTYPE_p_char swig_types[0] 
2467 #define SWIGTYPE_p_double swig_types[1] 
2468 #define SWIGTYPE_p_form_ops_t swig_types[2] 
2469 #define SWIGTYPE_p_int swig_types[3] 
2470 #define SWIGTYPE_p_unsigned_char swig_types[4] 
2471 #define SWIGTYPE_p_unsigned_int swig_types[5] 
2472 #define SWIGTYPE_p_unsigned_long swig_types[6] 
2473 #define SWIGTYPE_p_wxANIHandler swig_types[7] 
2474 #define SWIGTYPE_p_wxAcceleratorTable swig_types[8] 
2475 #define SWIGTYPE_p_wxActivateEvent swig_types[9] 
2476 #define SWIGTYPE_p_wxBMPHandler swig_types[10] 
2477 #define SWIGTYPE_p_wxBitmap swig_types[11] 
2478 #define SWIGTYPE_p_wxBoxSizer swig_types[12] 
2479 #define SWIGTYPE_p_wxBrush swig_types[13] 
2480 #define SWIGTYPE_p_wxBrushList swig_types[14] 
2481 #define SWIGTYPE_p_wxBufferedDC swig_types[15] 
2482 #define SWIGTYPE_p_wxBufferedPaintDC swig_types[16] 
2483 #define SWIGTYPE_p_wxCURHandler swig_types[17] 
2484 #define SWIGTYPE_p_wxChildFocusEvent swig_types[18] 
2485 #define SWIGTYPE_p_wxClientDC swig_types[19] 
2486 #define SWIGTYPE_p_wxClipboardTextEvent swig_types[20] 
2487 #define SWIGTYPE_p_wxCloseEvent swig_types[21] 
2488 #define SWIGTYPE_p_wxColour swig_types[22] 
2489 #define SWIGTYPE_p_wxColourDatabase swig_types[23] 
2490 #define SWIGTYPE_p_wxCommandEvent swig_types[24] 
2491 #define SWIGTYPE_p_wxContextMenuEvent swig_types[25] 
2492 #define SWIGTYPE_p_wxControl swig_types[26] 
2493 #define SWIGTYPE_p_wxControlWithItems swig_types[27] 
2494 #define SWIGTYPE_p_wxCursor swig_types[28] 
2495 #define SWIGTYPE_p_wxDC swig_types[29] 
2496 #define SWIGTYPE_p_wxDash swig_types[30] 
2497 #define SWIGTYPE_p_wxDateEvent swig_types[31] 
2498 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[32] 
2499 #define SWIGTYPE_p_wxDropFilesEvent swig_types[33] 
2500 #define SWIGTYPE_p_wxDuplexMode swig_types[34] 
2501 #define SWIGTYPE_p_wxEffects swig_types[35] 
2502 #define SWIGTYPE_p_wxEncodingConverter swig_types[36] 
2503 #define SWIGTYPE_p_wxEraseEvent swig_types[37] 
2504 #define SWIGTYPE_p_wxEvent swig_types[38] 
2505 #define SWIGTYPE_p_wxEvtHandler swig_types[39] 
2506 #define SWIGTYPE_p_wxFSFile swig_types[40] 
2507 #define SWIGTYPE_p_wxFileSystem swig_types[41] 
2508 #define SWIGTYPE_p_wxFlexGridSizer swig_types[42] 
2509 #define SWIGTYPE_p_wxFocusEvent swig_types[43] 
2510 #define SWIGTYPE_p_wxFont swig_types[44] 
2511 #define SWIGTYPE_p_wxFontList swig_types[45] 
2512 #define SWIGTYPE_p_wxFontMapper swig_types[46] 
2513 #define SWIGTYPE_p_wxGBSizerItem swig_types[47] 
2514 #define SWIGTYPE_p_wxGDIObjListBase swig_types[48] 
2515 #define SWIGTYPE_p_wxGDIObject swig_types[49] 
2516 #define SWIGTYPE_p_wxGIFHandler swig_types[50] 
2517 #define SWIGTYPE_p_wxGridBagSizer swig_types[51] 
2518 #define SWIGTYPE_p_wxGridSizer swig_types[52] 
2519 #define SWIGTYPE_p_wxICOHandler swig_types[53] 
2520 #define SWIGTYPE_p_wxIcon swig_types[54] 
2521 #define SWIGTYPE_p_wxIconBundle swig_types[55] 
2522 #define SWIGTYPE_p_wxIconLocation swig_types[56] 
2523 #define SWIGTYPE_p_wxIconizeEvent swig_types[57] 
2524 #define SWIGTYPE_p_wxIdleEvent swig_types[58] 
2525 #define SWIGTYPE_p_wxImage swig_types[59] 
2526 #define SWIGTYPE_p_wxImageHandler swig_types[60] 
2527 #define SWIGTYPE_p_wxImageList swig_types[61] 
2528 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[62] 
2529 #define SWIGTYPE_p_wxInitDialogEvent swig_types[63] 
2530 #define SWIGTYPE_p_wxJPEGHandler swig_types[64] 
2531 #define SWIGTYPE_p_wxKeyEvent swig_types[65] 
2532 #define SWIGTYPE_p_wxLanguageInfo swig_types[66] 
2533 #define SWIGTYPE_p_wxLayoutConstraints swig_types[67] 
2534 #define SWIGTYPE_p_wxLocale swig_types[68] 
2535 #define SWIGTYPE_p_wxMask swig_types[69] 
2536 #define SWIGTYPE_p_wxMaximizeEvent swig_types[70] 
2537 #define SWIGTYPE_p_wxMemoryDC swig_types[71] 
2538 #define SWIGTYPE_p_wxMenu swig_types[72] 
2539 #define SWIGTYPE_p_wxMenuBar swig_types[73] 
2540 #define SWIGTYPE_p_wxMenuEvent swig_types[74] 
2541 #define SWIGTYPE_p_wxMenuItem swig_types[75] 
2542 #define SWIGTYPE_p_wxMetaFile swig_types[76] 
2543 #define SWIGTYPE_p_wxMetaFileDC swig_types[77] 
2544 #define SWIGTYPE_p_wxMirrorDC swig_types[78] 
2545 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[79] 
2546 #define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[80] 
2547 #define SWIGTYPE_p_wxMouseEvent swig_types[81] 
2548 #define SWIGTYPE_p_wxMoveEvent swig_types[82] 
2549 #define SWIGTYPE_p_wxNativeEncodingInfo swig_types[83] 
2550 #define SWIGTYPE_p_wxNativeFontInfo swig_types[84] 
2551 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[85] 
2552 #define SWIGTYPE_p_wxNcPaintEvent swig_types[86] 
2553 #define SWIGTYPE_p_wxNotifyEvent swig_types[87] 
2554 #define SWIGTYPE_p_wxObject swig_types[88] 
2555 #define SWIGTYPE_p_wxPCXHandler swig_types[89] 
2556 #define SWIGTYPE_p_wxPNGHandler swig_types[90] 
2557 #define SWIGTYPE_p_wxPNMHandler swig_types[91] 
2558 #define SWIGTYPE_p_wxPaintDC swig_types[92] 
2559 #define SWIGTYPE_p_wxPaintEvent swig_types[93] 
2560 #define SWIGTYPE_p_wxPalette swig_types[94] 
2561 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[95] 
2562 #define SWIGTYPE_p_wxPaperSize swig_types[96] 
2563 #define SWIGTYPE_p_wxPen swig_types[97] 
2564 #define SWIGTYPE_p_wxPenList swig_types[98] 
2565 #define SWIGTYPE_p_wxPoint swig_types[99] 
2566 #define SWIGTYPE_p_wxPostScriptDC swig_types[100] 
2567 #define SWIGTYPE_p_wxPrintData swig_types[101] 
2568 #define SWIGTYPE_p_wxPrinterDC swig_types[102] 
2569 #define SWIGTYPE_p_wxPseudoDC swig_types[103] 
2570 #define SWIGTYPE_p_wxPyApp swig_types[104] 
2571 #define SWIGTYPE_p_wxPyCommandEvent swig_types[105] 
2572 #define SWIGTYPE_p_wxPyEvent swig_types[106] 
2573 #define SWIGTYPE_p_wxPyFontEnumerator swig_types[107] 
2574 #define SWIGTYPE_p_wxPyImageHandler swig_types[108] 
2575 #define SWIGTYPE_p_wxPySizer swig_types[109] 
2576 #define SWIGTYPE_p_wxPyValidator swig_types[110] 
2577 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[111] 
2578 #define SWIGTYPE_p_wxRect swig_types[112] 
2579 #define SWIGTYPE_p_wxRegion swig_types[113] 
2580 #define SWIGTYPE_p_wxRegionIterator swig_types[114] 
2581 #define SWIGTYPE_p_wxRendererNative swig_types[115] 
2582 #define SWIGTYPE_p_wxRendererVersion swig_types[116] 
2583 #define SWIGTYPE_p_wxScreenDC swig_types[117] 
2584 #define SWIGTYPE_p_wxScrollEvent swig_types[118] 
2585 #define SWIGTYPE_p_wxScrollWinEvent swig_types[119] 
2586 #define SWIGTYPE_p_wxSetCursorEvent swig_types[120] 
2587 #define SWIGTYPE_p_wxShowEvent swig_types[121] 
2588 #define SWIGTYPE_p_wxSize swig_types[122] 
2589 #define SWIGTYPE_p_wxSizeEvent swig_types[123] 
2590 #define SWIGTYPE_p_wxSizer swig_types[124] 
2591 #define SWIGTYPE_p_wxSizerItem swig_types[125] 
2592 #define SWIGTYPE_p_wxSplitterRenderParams swig_types[126] 
2593 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[127] 
2594 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[128] 
2595 #define SWIGTYPE_p_wxStockGDI swig_types[129] 
2596 #define SWIGTYPE_p_wxString swig_types[130] 
2597 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[131] 
2598 #define SWIGTYPE_p_wxTIFFHandler swig_types[132] 
2599 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[133] 
2600 #define SWIGTYPE_p_wxValidator swig_types[134] 
2601 #define SWIGTYPE_p_wxWindow swig_types[135] 
2602 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[136] 
2603 #define SWIGTYPE_p_wxWindowDC swig_types[137] 
2604 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[138] 
2605 #define SWIGTYPE_p_wxXPMHandler swig_types[139] 
2606 static swig_type_info 
*swig_types
[141]; 
2607 static swig_module_info swig_module 
= {swig_types
, 140, 0, 0, 0, 0}; 
2608 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name) 
2609 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name) 
2611 /* -------- TYPES TABLE (END) -------- */ 
2613 #if (PY_VERSION_HEX <= 0x02000000) 
2614 # if !defined(SWIG_PYTHON_CLASSIC) 
2615 #  error "This python version requires to use swig with the '-classic' option" 
2618 #if (PY_VERSION_HEX <= 0x02020000) 
2619 # error "This python version requires to use swig with the '-nomodern' option" 
2621 #if (PY_VERSION_HEX <= 0x02020000) 
2622 # error "This python version requires to use swig with the '-nomodernargs' option" 
2625 # error "This python version requires to use swig with the '-nofastunpack' option" 
2628 /*----------------------------------------------- 
2629               @(target):= _gdi_.so 
2630   ------------------------------------------------*/ 
2631 #define SWIG_init    init_gdi_ 
2633 #define SWIG_name    "_gdi_" 
2635 #define SWIGVERSION 0x010329  
2638 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))  
2639 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))  
2642 #include <stdexcept> 
2646   class PyObject_ptr 
{ 
2651     PyObject_ptr() :_obj(0) 
2655     PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
) 
2660     PyObject_ptr(PyObject 
*obj
, bool initial_ref 
= true) :_obj(obj
) 
2662       if (initial_ref
) Py_XINCREF(_obj
); 
2665     PyObject_ptr 
& operator=(const PyObject_ptr
& item
)  
2667       Py_XINCREF(item
._obj
); 
2678     operator PyObject 
*() const 
2683     PyObject 
*operator->() const 
2692   struct PyObject_var 
: PyObject_ptr 
{ 
2693     PyObject_var(PyObject
* obj 
= 0) : PyObject_ptr(obj
, false) { } 
2695     PyObject_var 
& operator = (PyObject
* obj
) 
2705 #include "wx/wxPython/wxPython.h" 
2706 #include "wx/wxPython/pyclasses.h" 
2709  static const wxString 
wxPyEmptyString(wxEmptyString
);  
2711   #define SWIG_From_long   PyInt_FromLong  
2714 SWIGINTERNINLINE PyObject 
* 
2715 SWIG_From_int  (int value
) 
2717   return SWIG_From_long  (value
); 
2723 # define LLONG_MIN      LONG_LONG_MIN 
2726 # define LLONG_MAX      LONG_LONG_MAX 
2729 # define ULLONG_MAX     ULONG_LONG_MAX 
2734 SWIG_AsVal_long (PyObject
* obj
, long* val
) 
2736     if (PyNumber_Check(obj
)) { 
2737         if (val
) *val 
= PyInt_AsLong(obj
); 
2740     return SWIG_TypeError
; 
2745 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
) 
2748     if (SWIG_AsVal_long(obj
, &v
) && v 
< 0) { 
2749         return SWIG_TypeError
; 
2752         *val 
= (unsigned long)v
; 
2758 SWIG_AsVal_unsigned_SS_char (PyObject 
* obj
, unsigned char *val
) 
2761   int res 
= SWIG_AsVal_unsigned_SS_long (obj
, &v
); 
2762   if (SWIG_IsOK(res
)) { 
2763     if ((v 
> UCHAR_MAX
)) { 
2764       return SWIG_OverflowError
; 
2766       if (val
) *val 
= static_cast< unsigned char >(v
); 
2773 SWIGINTERNINLINE PyObject
*  
2774 SWIG_From_unsigned_SS_long  (unsigned long value
) 
2776   return (value 
> LONG_MAX
) ? 
2777     PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));  
2781 SWIGINTERNINLINE PyObject 
* 
2782 SWIG_From_unsigned_SS_char  (unsigned char value
) 
2784   return SWIG_From_unsigned_SS_long  (value
); 
2787 SWIGINTERN 
bool wxColour___eq__(wxColour 
*self
,PyObject 
*other
){ 
2788             wxColour  temp
, *obj 
= &temp
; 
2789             if ( other 
== Py_None 
) return false; 
2790             if ( ! wxColour_helper(other
, &obj
) ) { 
2794             return self
->operator==(*obj
); 
2796 SWIGINTERN 
bool wxColour___ne__(wxColour 
*self
,PyObject 
*other
){ 
2797             wxColour  temp
, *obj 
= &temp
; 
2798             if ( other 
== Py_None 
) return true; 
2799             if ( ! wxColour_helper(other
, &obj
)) { 
2803             return self
->operator!=(*obj
); 
2805 SWIGINTERN PyObject 
*wxColour_Get(wxColour 
*self
){ 
2806             PyObject
* rv 
= PyTuple_New(3); 
2812                 green 
= self
->Green(); 
2813                 blue 
=  self
->Blue(); 
2815             PyTuple_SetItem(rv
, 0, PyInt_FromLong(red
)); 
2816             PyTuple_SetItem(rv
, 1, PyInt_FromLong(green
)); 
2817             PyTuple_SetItem(rv
, 2, PyInt_FromLong(blue
)); 
2820 SWIGINTERN 
unsigned long wxColour_GetRGB(wxColour 
*self
){ 
2821             return self
->Red() | (self
->Green() << 8) | (self
->Blue() << 16); 
2825 SWIG_AsVal_int (PyObject 
* obj
, int *val
) 
2828   int res 
= SWIG_AsVal_long (obj
, &v
); 
2829   if (SWIG_IsOK(res
)) { 
2830     if ((v 
< INT_MIN 
|| v 
> INT_MAX
)) { 
2831       return SWIG_OverflowError
; 
2833       if (val
) *val 
= static_cast< int >(v
); 
2839 SWIGINTERN PyObject 
*wxPen_GetDashes(wxPen 
*self
){ 
2841             int count 
= self
->GetDashes(&dashes
); 
2842             wxPyBlock_t blocked 
= wxPyBeginBlockThreads(); 
2843             PyObject
* retval 
= PyList_New(0); 
2844             for (int x
=0; x
<count
; x
++) { 
2845                 PyObject
* pyint 
= PyInt_FromLong(dashes
[x
]); 
2846                 PyList_Append(retval
, pyint
); 
2849             wxPyEndBlockThreads(blocked
); 
2852 SWIGINTERN 
void wxPen__SetDashes(wxPen 
*self
,PyObject 
*_self
,PyObject 
*pyDashes
){ 
2853             wxPyBlock_t blocked 
= wxPyBeginBlockThreads(); 
2854             int size 
= PyList_Size(pyDashes
); 
2855             wxDash
* dashes 
= (wxDash
*)byte_LIST_helper(pyDashes
); 
2857             // black magic warning!  The array of wxDashes needs to exist as 
2858             // long as the pen does because wxPen does not copy the array.  So 
2859             // stick a copy in a Python string object and attach it to _self, 
2860             // and then call SetDashes with a pointer to that array.  Then 
2861             // when the Python pen object is destroyed the array will be 
2863             PyObject
* strDashes 
= PyString_FromStringAndSize((char*)dashes
, size
*sizeof(wxDash
)); 
2864             PyObject_SetAttrString(_self
, "_dashes", strDashes
); 
2866             self
->SetDashes(size
, (wxDash
*)PyString_AS_STRING(strDashes
)); 
2868             Py_DECREF(strDashes
); 
2869             wxPyEndBlockThreads(blocked
); 
2871 SWIGINTERN 
bool wxPen___eq__(wxPen 
*self
,wxPen 
const *other
){ return other 
? (*self 
== *other
) : false; } 
2872 SWIGINTERN 
bool wxPen___ne__(wxPen 
*self
,wxPen 
const *other
){ return other 
? (*self 
!= *other
) : true;  } 
2874 SWIGINTERNINLINE PyObject 
* 
2875 SWIG_From_short  (short value
) 
2877   return SWIG_From_long  (value
); 
2882 SWIG_AsVal_short (PyObject 
* obj
, short *val
) 
2885   int res 
= SWIG_AsVal_long (obj
, &v
); 
2886   if (SWIG_IsOK(res
)) { 
2887     if ((v 
< SHRT_MIN 
|| v 
> SHRT_MAX
)) { 
2888       return SWIG_OverflowError
; 
2890       if (val
) *val 
= static_cast< short >(v
); 
2897 #include <wx/image.h> 
2899     static char** ConvertListOfStrings(PyObject
* listOfStrings
) { 
2900         char**    cArray 
= NULL
; 
2903         if (!PyList_Check(listOfStrings
)) { 
2904             PyErr_SetString(PyExc_TypeError
, "Expected a list of strings."); 
2907         count 
= PyList_Size(listOfStrings
); 
2908         cArray 
= new char*[count
]; 
2910         for(int x
=0; x
<count
; x
++) { 
2911             // TODO: Need some validation and error checking here 
2912             cArray
[x
] = PyString_AsString(PyList_GET_ITEM(listOfStrings
, x
)); 
2918 SWIGINTERN wxBitmap 
*new_wxBitmap(PyObject 
*listOfStrings
){ 
2919             char**    cArray 
= NULL
; 
2922             cArray 
= ConvertListOfStrings(listOfStrings
); 
2925             bmp 
= new wxBitmap(cArray
); 
2929 SWIGINTERN wxBitmap 
*new_wxBitmap(PyObject 
*bits
,int width
,int height
,int depth
=1){ 
2932             PyString_AsStringAndSize(bits
, &buf
, &length
); 
2933             return new wxBitmap(buf
, width
, height
, depth
); 
2935 SWIGINTERN wxSize 
wxBitmap_GetSize(wxBitmap 
*self
){ 
2936             wxSize 
size(self
->GetWidth(), self
->GetHeight()); 
2939 SWIGINTERN 
void wxBitmap_SetMaskColour(wxBitmap 
*self
,wxColour 
const &colour
){ 
2940             wxMask 
*mask 
= new wxMask(*self
, colour
); 
2941             self
->SetMask(mask
); 
2943 SWIGINTERN 
void wxBitmap_SetSize(wxBitmap 
*self
,wxSize 
const &size
){ 
2944             self
->SetWidth(size
.x
); 
2945             self
->SetHeight(size
.y
); 
2947 SWIGINTERN 
bool wxBitmap___eq__(wxBitmap 
*self
,wxBitmap 
const *other
){ return other 
? (*self 
== *other
) : false; } 
2948 SWIGINTERN 
bool wxBitmap___ne__(wxBitmap 
*self
,wxBitmap 
const *other
){ return other 
? (*self 
!= *other
) : true;  } 
2949 SWIGINTERN wxMask 
*new_wxMask(wxBitmap 
const &bitmap
,wxColour 
const &colour
=wxNullColour
){ 
2951                 return new wxMask(bitmap
, *wxBLACK
); 
2953                 return new wxMask(bitmap
, colour
); 
2956 #include <wx/iconbndl.h> 
2958 SWIGINTERN wxIcon 
*new_wxIcon(wxBitmap 
const &bmp
){ 
2959             wxIcon
* icon 
= new wxIcon(); 
2960             icon
->CopyFromBitmap(bmp
); 
2963 SWIGINTERN wxIcon 
*new_wxIcon(PyObject 
*listOfStrings
){ 
2964             char**  cArray 
= NULL
; 
2967             cArray 
= ConvertListOfStrings(listOfStrings
); 
2970             icon 
= new wxIcon(cArray
); 
2974 SWIGINTERN wxIconLocation 
*new_wxIconLocation(wxString 
const *filename
=&wxPyEmptyString
,int num
=0){ 
2978             return new wxIconLocation(*filename
); 
2981 SWIGINTERN 
void wxIconLocation_SetIndex(wxIconLocation 
*self
,int num
){ 
2988 SWIGINTERN 
int wxIconLocation_GetIndex(wxIconLocation 
*self
){ 
2995 SWIGINTERN wxCursor 
*new_wxCursor(wxString 
const &cursorName
,long type
,int hotSpotX
=0,int hotSpotY
=0){ 
2997             wxImage 
img(cursorName
, type
); 
2998             img
.SetOption(wxIMAGE_OPTION_CUR_HOTSPOT_X
, hotSpotX
); 
2999             img
.SetOption(wxIMAGE_OPTION_CUR_HOTSPOT_Y
, hotSpotY
); 
3000             return new wxCursor(img
); 
3002             return new wxCursor(cursorName
, type
, hotSpotX
, hotSpotY
); 
3007 SWIGINTERN 
void wxRegionIterator_Next(wxRegionIterator 
*self
){ 
3010 SWIGINTERN 
bool wxRegionIterator___nonzero__(wxRegionIterator 
*self
){ 
3011             return self
->operator bool(); 
3014 #include <wx/fontutil.h> 
3015 #include <wx/fontmap.h> 
3016 #include <wx/fontenum.h> 
3020 SWIG_AsVal_bool (PyObject 
*obj
, bool *val
) 
3022   if (obj 
== Py_True
) { 
3023     if (val
) *val 
= true; 
3025   } else if (obj 
== Py_False
) { 
3026     if (val
) *val 
= false; 
3030     int res 
= SWIG_AddCast(SWIG_AsVal_long (obj
, val 
? &v 
: 0)); 
3031     if (SWIG_IsOK(res
) && val
) *val 
= v 
? true : false; 
3036 SWIGINTERN wxString 
wxNativeFontInfo___str__(wxNativeFontInfo 
*self
){ 
3037             return self
->ToString(); 
3040     wxNativeEncodingInfo
* wxGetNativeFontEncoding(wxFontEncoding encoding
) { 
3041         static wxNativeEncodingInfo info
; 
3042         if ( wxGetNativeFontEncoding(encoding
, &info
) ) 
3049 SWIGINTERNINLINE PyObject 
* 
3050 SWIG_From_size_t  (size_t value
) 
3052   return SWIG_From_unsigned_SS_long  (static_cast< unsigned long >(value
)); 
3056 SWIGINTERNINLINE 
int 
3057 SWIG_AsVal_size_t (PyObject 
* obj
, size_t *val
) 
3060   int res 
= SWIG_AsVal_unsigned_SS_long (obj
, val 
? &v 
: 0); 
3061   if (SWIG_IsOK(res
) && val
) *val 
= static_cast< size_t >(v
); 
3065 SWIGINTERN PyObject 
*wxFontMapper_GetAltForEncoding(wxFontMapper 
*self
,wxFontEncoding encoding
,wxString 
const &facename
=wxPyEmptyString
,bool interactive
=true){ 
3066             wxFontEncoding alt_enc
; 
3067             if (self
->GetAltForEncoding(encoding
, &alt_enc
, facename
, interactive
)) 
3068                 return PyInt_FromLong(alt_enc
); 
3074 SWIGINTERN wxFont 
*new_wxFont(wxString 
const &info
){ 
3075                 wxNativeFontInfo nfi
; 
3076                 nfi
.FromString(info
); 
3077                 return new wxFont(nfi
); 
3079 SWIGINTERN wxFont 
*new_wxFont(int pointSize
,wxFontFamily family
,int flags
=wxFONTFLAG_DEFAULT
,wxString 
const &face
=wxPyEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){ 
3080                 return wxFont::New(pointSize
, family
, flags
, face
, encoding
); 
3082 SWIGINTERN wxFont 
*new_wxFont(wxSize 
const &pixelSize
,int family
,int style
,int weight
,bool underlined
=false,wxString 
const &face
=wxEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){ 
3083                 return wxFontBase::New(pixelSize
, family
, 
3084                                        style
, weight
, underlined
, 
3087 SWIGINTERN wxFont 
*new_wxFont(wxSize 
const &pixelSize
,wxFontFamily family
,int flags
=wxFONTFLAG_DEFAULT
,wxString 
const &face
=wxEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){ 
3088                 return wxFontBase::New(pixelSize
, family
, flags
, face
, encoding
); 
3090 SWIGINTERN 
bool wxFont___eq__(wxFont 
*self
,wxFont 
const *other
){ return other 
? (*self 
== *other
) : false; } 
3091 SWIGINTERN 
bool wxFont___ne__(wxFont 
*self
,wxFont 
const *other
){ return other 
? (*self 
!= *other
) : true;  } 
3093 class wxPyFontEnumerator 
: public wxFontEnumerator 
{ 
3095     wxPyFontEnumerator() {} 
3096     ~wxPyFontEnumerator() {} 
3098     DEC_PYCALLBACK_BOOL_STRING(OnFacename
); 
3099     DEC_PYCALLBACK_BOOL_STRINGSTRING(OnFontEncoding
); 
3104 IMP_PYCALLBACK_BOOL_STRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFacename
); 
3105 IMP_PYCALLBACK_BOOL_STRINGSTRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFontEncoding
); 
3108 SWIGINTERN PyObject 
*wxPyFontEnumerator_GetEncodings(){ 
3110             wxArrayString arr 
= wxFontEnumerator::GetEncodings(); 
3111             wxPyBlock_t blocked 
= wxPyBeginBlockThreads();             
3112             ret 
= wxArrayString2PyList_helper(arr
); 
3113             wxPyEndBlockThreads(blocked
); 
3116 SWIGINTERN PyObject 
*wxPyFontEnumerator_GetFacenames(){ 
3118             wxArrayString arr 
= wxFontEnumerator::GetFacenames(); 
3119             wxPyBlock_t blocked 
= wxPyBeginBlockThreads();             
3120             ret 
= wxArrayString2PyList_helper(arr
); 
3121             wxPyEndBlockThreads(blocked
); 
3127 SWIGINTERN wxLocale 
*new_wxLocale(int language
=-1,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){ 
3130                 loc 
= new wxLocale(); 
3132                 loc 
= new wxLocale(language
, flags
); 
3133             // Python before 2.4 needs to have LC_NUMERIC set to "C" in order 
3134             // for the floating point conversions and such to work right. 
3135 #if PY_VERSION_HEX < 0x02040000 
3136             setlocale(LC_NUMERIC
, "C"); 
3140 SWIGINTERN 
bool wxLocale_Init1(wxLocale 
*self
,wxString 
const &szName
,wxString 
const &szShort
=wxPyEmptyString
,wxString 
const &szLocale
=wxPyEmptyString
,bool bLoadDefault
=true,bool bConvertEncoding
=false){ 
3141             bool rc 
= self
->Init(szName
, szShort
, szLocale
, bLoadDefault
, bConvertEncoding
); 
3142             // Python before 2.4 needs to have LC_NUMERIC set to "C" in order 
3143             // for the floating point conversions and such to work right. 
3144 #if PY_VERSION_HEX < 0x02040000 
3145             setlocale(LC_NUMERIC
, "C"); 
3149 SWIGINTERN 
bool wxLocale_Init2(wxLocale 
*self
,int language
=wxLANGUAGE_DEFAULT
,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){ 
3150             bool rc 
= self
->Init(language
, flags
); 
3151             // Python before 2.4 needs to have LC_NUMERIC set to "C" in order 
3152             // for the floating point conversions and such to work right. 
3153 #if PY_VERSION_HEX < 0x02040000 
3154             setlocale(LC_NUMERIC
, "C"); 
3159 #include "wx/wxPython/pydrawxxx.h" 
3161 SWIGINTERN wxColour 
wxDC_GetPixel(wxDC 
*self
,int x
,int y
){ 
3163             self
->GetPixel(x
, y
, &col
); 
3166 SWIGINTERN wxColour 
wxDC_GetPixelPoint(wxDC 
*self
,wxPoint 
const &pt
){ 
3168             self
->GetPixel(pt
, &col
); 
3173 SWIG_AsVal_double (PyObject 
*obj
, double* val
) 
3175     if (PyNumber_Check(obj
)) { 
3176         if (val
) *val 
= PyFloat_AsDouble(obj
); 
3179     return SWIG_TypeError
; 
3182 SWIGINTERN wxRect 
wxDC_DrawImageLabel(wxDC 
*self
,wxString 
const &text
,wxBitmap 
const &image
,wxRect 
const &rect
,int alignment
=wxALIGN_LEFT
|wxALIGN_TOP
,int indexAccel
=-1){ 
3184             self
->DrawLabel(text
, image
, rect
, alignment
, indexAccel
, &rv
); 
3187 SWIGINTERN wxRect 
wxDC_GetClippingRect(wxDC 
*self
){ 
3189             self
->GetClippingBox(rect
); 
3192 SWIGINTERN wxArrayInt 
wxDC_GetPartialTextExtents(wxDC 
*self
,wxString 
const &text
){ 
3194             self
->GetPartialTextExtents(text
, widths
); 
3198   #define SWIG_From_double   PyFloat_FromDouble  
3200 SWIGINTERN 
void wxDC_SetLogicalOriginPoint(wxDC 
*self
,wxPoint 
const &point
){ 
3201             self
->SetLogicalOrigin(point
.x
, point
.y
); 
3203 SWIGINTERN 
void wxDC_SetDeviceOriginPoint(wxDC 
*self
,wxPoint 
const &point
){ 
3204             self
->SetDeviceOrigin(point
.x
, point
.y
); 
3206 SWIGINTERN 
void wxDC_CalcBoundingBoxPoint(wxDC 
*self
,wxPoint 
const &point
){ 
3207             self
->CalcBoundingBox(point
.x
, point
.y
); 
3209 SWIGINTERN PyObject 
*wxDC__DrawPointList(wxDC 
*self
,PyObject 
*pyCoords
,PyObject 
*pyPens
,PyObject 
*pyBrushes
){ 
3210             return wxPyDrawXXXList(*self
, wxPyDrawXXXPoint
, pyCoords
, pyPens
, pyBrushes
); 
3212 SWIGINTERN PyObject 
*wxDC__DrawLineList(wxDC 
*self
,PyObject 
*pyCoords
,PyObject 
*pyPens
,PyObject 
*pyBrushes
){ 
3213             return wxPyDrawXXXList(*self
, wxPyDrawXXXLine
, pyCoords
, pyPens
, pyBrushes
); 
3215 SWIGINTERN PyObject 
*wxDC__DrawRectangleList(wxDC 
*self
,PyObject 
*pyCoords
,PyObject 
*pyPens
,PyObject 
*pyBrushes
){ 
3216             return wxPyDrawXXXList(*self
, wxPyDrawXXXRectangle
, pyCoords
, pyPens
, pyBrushes
); 
3218 SWIGINTERN PyObject 
*wxDC__DrawEllipseList(wxDC 
*self
,PyObject 
*pyCoords
,PyObject 
*pyPens
,PyObject 
*pyBrushes
){ 
3219             return wxPyDrawXXXList(*self
, wxPyDrawXXXEllipse
, pyCoords
, pyPens
, pyBrushes
); 
3221 SWIGINTERN PyObject 
*wxDC__DrawPolygonList(wxDC 
*self
,PyObject 
*pyCoords
,PyObject 
*pyPens
,PyObject 
*pyBrushes
){ 
3222             return wxPyDrawXXXList(*self
, wxPyDrawXXXPolygon
, pyCoords
, pyPens
, pyBrushes
); 
3224 SWIGINTERN PyObject 
*wxDC__DrawTextList(wxDC 
*self
,PyObject 
*textList
,PyObject 
*pyPoints
,PyObject 
*foregroundList
,PyObject 
*backgroundList
){ 
3225             return wxPyDrawTextList(*self
, textList
, pyPoints
, foregroundList
, backgroundList
); 
3228 static void wxDC_GetBoundingBox(wxDC
* dc
, int* x1
, int* y1
, int* x2
, int* y2
) { 
3236 #include <wx/dcbuffer.h> 
3239 #include <wx/dcps.h> 
3242 #include <wx/metafile.h> 
3246 SWIGINTERN 
void wxColourDatabase_Append(wxColourDatabase 
*self
,wxString 
const &name
,int red
,int green
,int blue
){ 
3247             self
->AddColour(name
, wxColour(red
, green
, blue
)); 
3250     wxFontList
* _wxPyInitTheFontList() { return wxTheFontList
; } 
3251     wxPenList
* _wxPyInitThePenList() { return wxThePenList
; } 
3252     wxBrushList
* _wxPyInitTheBrushList() { return wxTheBrushList
; } 
3253     wxColourDatabase
* _wxPyInitTheColourDatabase() { return wxTheColourDatabase
; } 
3256 #include <wx/effects.h> 
3259 #include "wx/renderer.h" 
3262 SWIGINTERNINLINE PyObject
* 
3263   SWIG_From_bool  (bool value
) 
3265   return PyBool_FromLong(value 
? 1 : 0); 
3269 #include "wx/wxPython/pseudodc.h" 
3271 SWIGINTERN wxRect 
wxPseudoDC_GetIdBounds(wxPseudoDC 
*self
,int id
){ 
3273             self
->GetIdBounds(id
, rect
); 
3279 SWIGINTERN PyObject 
*_wrap_new_GDIObject(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
3280   PyObject 
*resultobj 
= 0; 
3281   wxGDIObject 
*result 
= 0 ; 
3283   if (!SWIG_Python_UnpackTuple(args
,"new_GDIObject",0,0,0)) SWIG_fail
; 
3285     if (!wxPyCheckForApp()) SWIG_fail
; 
3286     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3287     result 
= (wxGDIObject 
*)new wxGDIObject(); 
3288     wxPyEndAllowThreads(__tstate
); 
3289     if (PyErr_Occurred()) SWIG_fail
; 
3291   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_NEW 
|  0 ); 
3298 SWIGINTERN PyObject 
*_wrap_delete_GDIObject(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
3299   PyObject 
*resultobj 
= 0; 
3300   wxGDIObject 
*arg1 
= (wxGDIObject 
*) 0 ; 
3303   PyObject 
*swig_obj
[1] ; 
3305   if (!args
) SWIG_fail
; 
3307   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_DISOWN 
|  0 ); 
3308   if (!SWIG_IsOK(res1
)) { 
3309     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GDIObject" "', expected argument " "1"" of type '" "wxGDIObject *""'");  
3311   arg1 
= reinterpret_cast< wxGDIObject 
* >(argp1
); 
3313     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3316     wxPyEndAllowThreads(__tstate
); 
3317     if (PyErr_Occurred()) SWIG_fail
; 
3319   resultobj 
= SWIG_Py_Void(); 
3326 SWIGINTERN PyObject 
*_wrap_GDIObject_IsNull(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
3327   PyObject 
*resultobj 
= 0; 
3328   wxGDIObject 
*arg1 
= (wxGDIObject 
*) 0 ; 
3332   PyObject 
*swig_obj
[1] ; 
3334   if (!args
) SWIG_fail
; 
3336   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObject
, 0 |  0 ); 
3337   if (!SWIG_IsOK(res1
)) { 
3338     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GDIObject_IsNull" "', expected argument " "1"" of type '" "wxGDIObject *""'");  
3340   arg1 
= reinterpret_cast< wxGDIObject 
* >(argp1
); 
3342     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3343     result 
= (bool)(arg1
)->IsNull(); 
3344     wxPyEndAllowThreads(__tstate
); 
3345     if (PyErr_Occurred()) SWIG_fail
; 
3348     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
3356 SWIGINTERN PyObject 
*GDIObject_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
3358   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
3359   SWIG_TypeNewClientData(SWIGTYPE_p_wxGDIObject
, SWIG_NewClientData(obj
)); 
3360   return SWIG_Py_Void(); 
3363 SWIGINTERN PyObject 
*GDIObject_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
3364   return SWIG_Python_InitShadowInstance(args
); 
3367 SWIGINTERN PyObject 
*_wrap_new_Colour(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
3368   PyObject 
*resultobj 
= 0; 
3369   byte arg1 
= (byte
) 0 ; 
3370   byte arg2 
= (byte
) 0 ; 
3371   byte arg3 
= (byte
) 0 ; 
3372   wxColour 
*result 
= 0 ; 
3373   unsigned char val1 
; 
3375   unsigned char val2 
; 
3377   unsigned char val3 
; 
3379   PyObject 
* obj0 
= 0 ; 
3380   PyObject 
* obj1 
= 0 ; 
3381   PyObject 
* obj2 
= 0 ; 
3382   char *  kwnames
[] = { 
3383     (char *) "red",(char *) "green",(char *) "blue", NULL 
 
3386   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_Colour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
3388     ecode1 
= SWIG_AsVal_unsigned_SS_char(obj0
, &val1
); 
3389     if (!SWIG_IsOK(ecode1
)) { 
3390       SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Colour" "', expected argument " "1"" of type '" "byte""'"); 
3392     arg1 
= static_cast< byte 
>(val1
); 
3395     ecode2 
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
); 
3396     if (!SWIG_IsOK(ecode2
)) { 
3397       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Colour" "', expected argument " "2"" of type '" "byte""'"); 
3399     arg2 
= static_cast< byte 
>(val2
); 
3402     ecode3 
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
); 
3403     if (!SWIG_IsOK(ecode3
)) { 
3404       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Colour" "', expected argument " "3"" of type '" "byte""'"); 
3406     arg3 
= static_cast< byte 
>(val3
); 
3409     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3410     result 
= (wxColour 
*)new wxColour(arg1
,arg2
,arg3
); 
3411     wxPyEndAllowThreads(__tstate
); 
3412     if (PyErr_Occurred()) SWIG_fail
; 
3414   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_NEW 
|  0 ); 
3421 SWIGINTERN PyObject 
*_wrap_new_NamedColour(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
3422   PyObject 
*resultobj 
= 0; 
3423   wxString 
*arg1 
= 0 ; 
3424   wxColour 
*result 
= 0 ; 
3425   bool temp1 
= false ; 
3426   PyObject 
* obj0 
= 0 ; 
3427   char *  kwnames
[] = { 
3428     (char *) "colorName", NULL 
 
3431   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NamedColour",kwnames
,&obj0
)) SWIG_fail
; 
3433     arg1 
= wxString_in_helper(obj0
); 
3434     if (arg1 
== NULL
) SWIG_fail
; 
3438     if (!wxPyCheckForApp()) SWIG_fail
; 
3439     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3440     result 
= (wxColour 
*)new wxColour((wxString 
const &)*arg1
); 
3441     wxPyEndAllowThreads(__tstate
); 
3442     if (PyErr_Occurred()) SWIG_fail
; 
3444   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN 
|  0 ); 
3459 SWIGINTERN PyObject 
*_wrap_new_ColourRGB(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
3460   PyObject 
*resultobj 
= 0; 
3461   unsigned long arg1 
; 
3462   wxColour 
*result 
= 0 ; 
3463   unsigned long val1 
; 
3465   PyObject 
* obj0 
= 0 ; 
3466   char *  kwnames
[] = { 
3467     (char *) "colRGB", NULL 
 
3470   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ColourRGB",kwnames
,&obj0
)) SWIG_fail
; 
3471   ecode1 
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
); 
3472   if (!SWIG_IsOK(ecode1
)) { 
3473     SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ColourRGB" "', expected argument " "1"" of type '" "unsigned long""'"); 
3475   arg1 
= static_cast< unsigned long >(val1
); 
3477     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3478     result 
= (wxColour 
*)new wxColour(arg1
); 
3479     wxPyEndAllowThreads(__tstate
); 
3480     if (PyErr_Occurred()) SWIG_fail
; 
3482   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN 
|  0 ); 
3489 SWIGINTERN PyObject 
*_wrap_delete_Colour(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
3490   PyObject 
*resultobj 
= 0; 
3491   wxColour 
*arg1 
= (wxColour 
*) 0 ; 
3494   PyObject 
*swig_obj
[1] ; 
3496   if (!args
) SWIG_fail
; 
3498   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, SWIG_POINTER_DISOWN 
|  0 ); 
3499   if (!SWIG_IsOK(res1
)) { 
3500     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Colour" "', expected argument " "1"" of type '" "wxColour *""'");  
3502   arg1 
= reinterpret_cast< wxColour 
* >(argp1
); 
3504     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3507     wxPyEndAllowThreads(__tstate
); 
3508     if (PyErr_Occurred()) SWIG_fail
; 
3510   resultobj 
= SWIG_Py_Void(); 
3517 SWIGINTERN PyObject 
*_wrap_Colour_Red(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
3518   PyObject 
*resultobj 
= 0; 
3519   wxColour 
*arg1 
= (wxColour 
*) 0 ; 
3523   PyObject 
*swig_obj
[1] ; 
3525   if (!args
) SWIG_fail
; 
3527   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 |  0 ); 
3528   if (!SWIG_IsOK(res1
)) { 
3529     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Red" "', expected argument " "1"" of type '" "wxColour *""'");  
3531   arg1 
= reinterpret_cast< wxColour 
* >(argp1
); 
3533     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3534     result 
= (byte
)(arg1
)->Red(); 
3535     wxPyEndAllowThreads(__tstate
); 
3536     if (PyErr_Occurred()) SWIG_fail
; 
3538   resultobj 
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
)); 
3545 SWIGINTERN PyObject 
*_wrap_Colour_Green(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
3546   PyObject 
*resultobj 
= 0; 
3547   wxColour 
*arg1 
= (wxColour 
*) 0 ; 
3551   PyObject 
*swig_obj
[1] ; 
3553   if (!args
) SWIG_fail
; 
3555   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 |  0 ); 
3556   if (!SWIG_IsOK(res1
)) { 
3557     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Green" "', expected argument " "1"" of type '" "wxColour *""'");  
3559   arg1 
= reinterpret_cast< wxColour 
* >(argp1
); 
3561     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3562     result 
= (byte
)(arg1
)->Green(); 
3563     wxPyEndAllowThreads(__tstate
); 
3564     if (PyErr_Occurred()) SWIG_fail
; 
3566   resultobj 
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
)); 
3573 SWIGINTERN PyObject 
*_wrap_Colour_Blue(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
3574   PyObject 
*resultobj 
= 0; 
3575   wxColour 
*arg1 
= (wxColour 
*) 0 ; 
3579   PyObject 
*swig_obj
[1] ; 
3581   if (!args
) SWIG_fail
; 
3583   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 |  0 ); 
3584   if (!SWIG_IsOK(res1
)) { 
3585     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Blue" "', expected argument " "1"" of type '" "wxColour *""'");  
3587   arg1 
= reinterpret_cast< wxColour 
* >(argp1
); 
3589     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3590     result 
= (byte
)(arg1
)->Blue(); 
3591     wxPyEndAllowThreads(__tstate
); 
3592     if (PyErr_Occurred()) SWIG_fail
; 
3594   resultobj 
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
)); 
3601 SWIGINTERN PyObject 
*_wrap_Colour_Ok(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
3602   PyObject 
*resultobj 
= 0; 
3603   wxColour 
*arg1 
= (wxColour 
*) 0 ; 
3607   PyObject 
*swig_obj
[1] ; 
3609   if (!args
) SWIG_fail
; 
3611   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 |  0 ); 
3612   if (!SWIG_IsOK(res1
)) { 
3613     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Ok" "', expected argument " "1"" of type '" "wxColour *""'");  
3615   arg1 
= reinterpret_cast< wxColour 
* >(argp1
); 
3617     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3618     result 
= (bool)(arg1
)->Ok(); 
3619     wxPyEndAllowThreads(__tstate
); 
3620     if (PyErr_Occurred()) SWIG_fail
; 
3623     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
3631 SWIGINTERN PyObject 
*_wrap_Colour_Set(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
3632   PyObject 
*resultobj 
= 0; 
3633   wxColour 
*arg1 
= (wxColour 
*) 0 ; 
3639   unsigned char val2 
; 
3641   unsigned char val3 
; 
3643   unsigned char val4 
; 
3645   PyObject 
* obj0 
= 0 ; 
3646   PyObject 
* obj1 
= 0 ; 
3647   PyObject 
* obj2 
= 0 ; 
3648   PyObject 
* obj3 
= 0 ; 
3649   char *  kwnames
[] = { 
3650     (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL 
 
3653   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Colour_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
; 
3654   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 |  0 ); 
3655   if (!SWIG_IsOK(res1
)) { 
3656     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Set" "', expected argument " "1"" of type '" "wxColour *""'");  
3658   arg1 
= reinterpret_cast< wxColour 
* >(argp1
); 
3659   ecode2 
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
); 
3660   if (!SWIG_IsOK(ecode2
)) { 
3661     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_Set" "', expected argument " "2"" of type '" "byte""'"); 
3663   arg2 
= static_cast< byte 
>(val2
); 
3664   ecode3 
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
); 
3665   if (!SWIG_IsOK(ecode3
)) { 
3666     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Colour_Set" "', expected argument " "3"" of type '" "byte""'"); 
3668   arg3 
= static_cast< byte 
>(val3
); 
3669   ecode4 
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
); 
3670   if (!SWIG_IsOK(ecode4
)) { 
3671     SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Colour_Set" "', expected argument " "4"" of type '" "byte""'"); 
3673   arg4 
= static_cast< byte 
>(val4
); 
3675     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3676     (arg1
)->Set(arg2
,arg3
,arg4
); 
3677     wxPyEndAllowThreads(__tstate
); 
3678     if (PyErr_Occurred()) SWIG_fail
; 
3680   resultobj 
= SWIG_Py_Void(); 
3687 SWIGINTERN PyObject 
*_wrap_Colour_SetRGB(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
3688   PyObject 
*resultobj 
= 0; 
3689   wxColour 
*arg1 
= (wxColour 
*) 0 ; 
3690   unsigned long arg2 
; 
3693   unsigned long val2 
; 
3695   PyObject 
* obj0 
= 0 ; 
3696   PyObject 
* obj1 
= 0 ; 
3697   char *  kwnames
[] = { 
3698     (char *) "self",(char *) "colRGB", NULL 
 
3701   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetRGB",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
3702   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 |  0 ); 
3703   if (!SWIG_IsOK(res1
)) { 
3704     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_SetRGB" "', expected argument " "1"" of type '" "wxColour *""'");  
3706   arg1 
= reinterpret_cast< wxColour 
* >(argp1
); 
3707   ecode2 
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
); 
3708   if (!SWIG_IsOK(ecode2
)) { 
3709     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_SetRGB" "', expected argument " "2"" of type '" "unsigned long""'"); 
3711   arg2 
= static_cast< unsigned long >(val2
); 
3713     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3715     wxPyEndAllowThreads(__tstate
); 
3716     if (PyErr_Occurred()) SWIG_fail
; 
3718   resultobj 
= SWIG_Py_Void(); 
3725 SWIGINTERN PyObject 
*_wrap_Colour_SetFromName(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
3726   PyObject 
*resultobj 
= 0; 
3727   wxColour 
*arg1 
= (wxColour 
*) 0 ; 
3728   wxString 
*arg2 
= 0 ; 
3731   bool temp2 
= false ; 
3732   PyObject 
* obj0 
= 0 ; 
3733   PyObject 
* obj1 
= 0 ; 
3734   char *  kwnames
[] = { 
3735     (char *) "self",(char *) "colourName", NULL 
 
3738   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetFromName",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
3739   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 |  0 ); 
3740   if (!SWIG_IsOK(res1
)) { 
3741     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_SetFromName" "', expected argument " "1"" of type '" "wxColour *""'");  
3743   arg1 
= reinterpret_cast< wxColour 
* >(argp1
); 
3745     arg2 
= wxString_in_helper(obj1
); 
3746     if (arg2 
== NULL
) SWIG_fail
; 
3750     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3751     (arg1
)->InitFromName((wxString 
const &)*arg2
); 
3752     wxPyEndAllowThreads(__tstate
); 
3753     if (PyErr_Occurred()) SWIG_fail
; 
3755   resultobj 
= SWIG_Py_Void(); 
3770 SWIGINTERN PyObject 
*_wrap_Colour_GetAsString(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
3771   PyObject 
*resultobj 
= 0; 
3772   wxColour 
*arg1 
= (wxColour 
*) 0 ; 
3773   long arg2 
= (long) wxC2S_NAME
|wxC2S_CSS_SYNTAX 
; 
3779   PyObject 
* obj0 
= 0 ; 
3780   PyObject 
* obj1 
= 0 ; 
3781   char *  kwnames
[] = { 
3782     (char *) "self",(char *) "flags", NULL 
 
3785   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Colour_GetAsString",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
3786   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 |  0 ); 
3787   if (!SWIG_IsOK(res1
)) { 
3788     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetAsString" "', expected argument " "1"" of type '" "wxColour const *""'");  
3790   arg1 
= reinterpret_cast< wxColour 
* >(argp1
); 
3792     ecode2 
= SWIG_AsVal_long(obj1
, &val2
); 
3793     if (!SWIG_IsOK(ecode2
)) { 
3794       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_GetAsString" "', expected argument " "2"" of type '" "long""'"); 
3796     arg2 
= static_cast< long >(val2
); 
3799     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3800     result 
= ((wxColour 
const *)arg1
)->GetAsString(arg2
); 
3801     wxPyEndAllowThreads(__tstate
); 
3802     if (PyErr_Occurred()) SWIG_fail
; 
3806     resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
3808     resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
3817 SWIGINTERN PyObject 
*_wrap_Colour_GetPixel(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
3818   PyObject 
*resultobj 
= 0; 
3819   wxColour 
*arg1 
= (wxColour 
*) 0 ; 
3823   PyObject 
*swig_obj
[1] ; 
3825   if (!args
) SWIG_fail
; 
3827   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 |  0 ); 
3828   if (!SWIG_IsOK(res1
)) { 
3829     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetPixel" "', expected argument " "1"" of type '" "wxColour const *""'");  
3831   arg1 
= reinterpret_cast< wxColour 
* >(argp1
); 
3833     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3834     result 
= (long)((wxColour 
const *)arg1
)->GetPixel(); 
3835     wxPyEndAllowThreads(__tstate
); 
3836     if (PyErr_Occurred()) SWIG_fail
; 
3838   resultobj 
= SWIG_From_long(static_cast< long >(result
)); 
3845 SWIGINTERN PyObject 
*_wrap_Colour___eq__(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
3846   PyObject 
*resultobj 
= 0; 
3847   wxColour 
*arg1 
= (wxColour 
*) 0 ; 
3848   PyObject 
*arg2 
= (PyObject 
*) 0 ; 
3852   PyObject 
* obj0 
= 0 ; 
3853   PyObject 
* obj1 
= 0 ; 
3854   char *  kwnames
[] = { 
3855     (char *) "self",(char *) "other", NULL 
 
3858   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
3859   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 |  0 ); 
3860   if (!SWIG_IsOK(res1
)) { 
3861     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour___eq__" "', expected argument " "1"" of type '" "wxColour *""'");  
3863   arg1 
= reinterpret_cast< wxColour 
* >(argp1
); 
3866     result 
= (bool)wxColour___eq__(arg1
,arg2
); 
3867     if (PyErr_Occurred()) SWIG_fail
; 
3870     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
3878 SWIGINTERN PyObject 
*_wrap_Colour___ne__(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
3879   PyObject 
*resultobj 
= 0; 
3880   wxColour 
*arg1 
= (wxColour 
*) 0 ; 
3881   PyObject 
*arg2 
= (PyObject 
*) 0 ; 
3885   PyObject 
* obj0 
= 0 ; 
3886   PyObject 
* obj1 
= 0 ; 
3887   char *  kwnames
[] = { 
3888     (char *) "self",(char *) "other", NULL 
 
3891   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
3892   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 |  0 ); 
3893   if (!SWIG_IsOK(res1
)) { 
3894     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour___ne__" "', expected argument " "1"" of type '" "wxColour *""'");  
3896   arg1 
= reinterpret_cast< wxColour 
* >(argp1
); 
3899     result 
= (bool)wxColour___ne__(arg1
,arg2
); 
3900     if (PyErr_Occurred()) SWIG_fail
; 
3903     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
3911 SWIGINTERN PyObject 
*_wrap_Colour_Get(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
3912   PyObject 
*resultobj 
= 0; 
3913   wxColour 
*arg1 
= (wxColour 
*) 0 ; 
3914   PyObject 
*result 
= 0 ; 
3917   PyObject 
*swig_obj
[1] ; 
3919   if (!args
) SWIG_fail
; 
3921   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 |  0 ); 
3922   if (!SWIG_IsOK(res1
)) { 
3923     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Get" "', expected argument " "1"" of type '" "wxColour *""'");  
3925   arg1 
= reinterpret_cast< wxColour 
* >(argp1
); 
3927     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3928     result 
= (PyObject 
*)wxColour_Get(arg1
); 
3929     wxPyEndAllowThreads(__tstate
); 
3930     if (PyErr_Occurred()) SWIG_fail
; 
3939 SWIGINTERN PyObject 
*_wrap_Colour_GetRGB(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
3940   PyObject 
*resultobj 
= 0; 
3941   wxColour 
*arg1 
= (wxColour 
*) 0 ; 
3942   unsigned long result
; 
3945   PyObject 
*swig_obj
[1] ; 
3947   if (!args
) SWIG_fail
; 
3949   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 |  0 ); 
3950   if (!SWIG_IsOK(res1
)) { 
3951     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetRGB" "', expected argument " "1"" of type '" "wxColour *""'");  
3953   arg1 
= reinterpret_cast< wxColour 
* >(argp1
); 
3955     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3956     result 
= (unsigned long)wxColour_GetRGB(arg1
); 
3957     wxPyEndAllowThreads(__tstate
); 
3958     if (PyErr_Occurred()) SWIG_fail
; 
3960   resultobj 
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
)); 
3967 SWIGINTERN PyObject 
*Colour_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
3969   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
3970   SWIG_TypeNewClientData(SWIGTYPE_p_wxColour
, SWIG_NewClientData(obj
)); 
3971   return SWIG_Py_Void(); 
3974 SWIGINTERN PyObject 
*Colour_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
3975   return SWIG_Python_InitShadowInstance(args
); 
3978 SWIGINTERN PyObject 
*_wrap_new_Palette(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
3979   PyObject 
*resultobj 
= 0; 
3981   unsigned char *arg2 
= (unsigned char *) 0 ; 
3982   unsigned char *arg3 
= (unsigned char *) 0 ; 
3983   unsigned char *arg4 
= (unsigned char *) 0 ; 
3984   wxPalette 
*result 
= 0 ; 
3993   PyObject 
* obj0 
= 0 ; 
3994   PyObject 
* obj1 
= 0 ; 
3995   PyObject 
* obj2 
= 0 ; 
3996   PyObject 
* obj3 
= 0 ; 
3997   char *  kwnames
[] = { 
3998     (char *) "n",(char *) "red",(char *) "green",(char *) "blue", NULL 
 
4001   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_Palette",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
; 
4002   ecode1 
= SWIG_AsVal_int(obj0
, &val1
); 
4003   if (!SWIG_IsOK(ecode1
)) { 
4004     SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Palette" "', expected argument " "1"" of type '" "int""'"); 
4006   arg1 
= static_cast< int >(val1
); 
4007   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_unsigned_char
, 0 |  0 ); 
4008   if (!SWIG_IsOK(res2
)) { 
4009     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_Palette" "', expected argument " "2"" of type '" "unsigned char const *""'");  
4011   arg2 
= reinterpret_cast< unsigned char * >(argp2
); 
4012   res3 
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_unsigned_char
, 0 |  0 ); 
4013   if (!SWIG_IsOK(res3
)) { 
4014     SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_Palette" "', expected argument " "3"" of type '" "unsigned char const *""'");  
4016   arg3 
= reinterpret_cast< unsigned char * >(argp3
); 
4017   res4 
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_unsigned_char
, 0 |  0 ); 
4018   if (!SWIG_IsOK(res4
)) { 
4019     SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_Palette" "', expected argument " "4"" of type '" "unsigned char const *""'");  
4021   arg4 
= reinterpret_cast< unsigned char * >(argp4
); 
4023     if (!wxPyCheckForApp()) SWIG_fail
; 
4024     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4025     result 
= (wxPalette 
*)new wxPalette(arg1
,(unsigned char const *)arg2
,(unsigned char const *)arg3
,(unsigned char const *)arg4
); 
4026     wxPyEndAllowThreads(__tstate
); 
4027     if (PyErr_Occurred()) SWIG_fail
; 
4029   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPalette
, SWIG_POINTER_NEW 
|  0 ); 
4036 SWIGINTERN PyObject 
*_wrap_delete_Palette(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
4037   PyObject 
*resultobj 
= 0; 
4038   wxPalette 
*arg1 
= (wxPalette 
*) 0 ; 
4041   PyObject 
*swig_obj
[1] ; 
4043   if (!args
) SWIG_fail
; 
4045   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, SWIG_POINTER_DISOWN 
|  0 ); 
4046   if (!SWIG_IsOK(res1
)) { 
4047     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Palette" "', expected argument " "1"" of type '" "wxPalette *""'");  
4049   arg1 
= reinterpret_cast< wxPalette 
* >(argp1
); 
4051     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4054     wxPyEndAllowThreads(__tstate
); 
4055     if (PyErr_Occurred()) SWIG_fail
; 
4057   resultobj 
= SWIG_Py_Void(); 
4064 SWIGINTERN PyObject 
*_wrap_Palette_GetPixel(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
4065   PyObject 
*resultobj 
= 0; 
4066   wxPalette 
*arg1 
= (wxPalette 
*) 0 ; 
4073   unsigned char val2 
; 
4075   unsigned char val3 
; 
4077   unsigned char val4 
; 
4079   PyObject 
* obj0 
= 0 ; 
4080   PyObject 
* obj1 
= 0 ; 
4081   PyObject 
* obj2 
= 0 ; 
4082   PyObject 
* obj3 
= 0 ; 
4083   char *  kwnames
[] = { 
4084     (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL 
 
4087   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Palette_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
; 
4088   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPalette
, 0 |  0 ); 
4089   if (!SWIG_IsOK(res1
)) { 
4090     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetPixel" "', expected argument " "1"" of type '" "wxPalette *""'");  
4092   arg1 
= reinterpret_cast< wxPalette 
* >(argp1
); 
4093   ecode2 
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
); 
4094   if (!SWIG_IsOK(ecode2
)) { 
4095     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Palette_GetPixel" "', expected argument " "2"" of type '" "byte""'"); 
4097   arg2 
= static_cast< byte 
>(val2
); 
4098   ecode3 
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
); 
4099   if (!SWIG_IsOK(ecode3
)) { 
4100     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Palette_GetPixel" "', expected argument " "3"" of type '" "byte""'"); 
4102   arg3 
= static_cast< byte 
>(val3
); 
4103   ecode4 
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
); 
4104   if (!SWIG_IsOK(ecode4
)) { 
4105     SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Palette_GetPixel" "', expected argument " "4"" of type '" "byte""'"); 
4107   arg4 
= static_cast< byte 
>(val4
); 
4109     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4110     result 
= (int)(arg1
)->GetPixel(arg2
,arg3
,arg4
); 
4111     wxPyEndAllowThreads(__tstate
); 
4112     if (PyErr_Occurred()) SWIG_fail
; 
4114   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
4121 SWIGINTERN PyObject 
*_wrap_Palette_GetRGB(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
4122   PyObject 
*resultobj 
= 0; 
4123   wxPalette 
*arg1 
= (wxPalette 
*) 0 ; 
4125   byte 
*arg3 
= (byte 
*) 0 ; 
4126   byte 
*arg4 
= (byte 
*) 0 ; 
4127   byte 
*arg5 
= (byte 
*) 0 ; 
4134   int res3 
= SWIG_TMPOBJ 
; 
4136   int res4 
= SWIG_TMPOBJ 
; 
4138   int res5 
= SWIG_TMPOBJ 
; 
4139   PyObject 
* obj0 
= 0 ; 
4140   PyObject 
* obj1 
= 0 ; 
4141   char *  kwnames
[] = { 
4142     (char *) "self",(char *) "pixel", NULL 
 
4148   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Palette_GetRGB",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
4149   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPalette
, 0 |  0 ); 
4150   if (!SWIG_IsOK(res1
)) { 
4151     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetRGB" "', expected argument " "1"" of type '" "wxPalette *""'");  
4153   arg1 
= reinterpret_cast< wxPalette 
* >(argp1
); 
4154   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
4155   if (!SWIG_IsOK(ecode2
)) { 
4156     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Palette_GetRGB" "', expected argument " "2"" of type '" "int""'"); 
4158   arg2 
= static_cast< int >(val2
); 
4160     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4161     result 
= (bool)(arg1
)->GetRGB(arg2
,arg3
,arg4
,arg5
); 
4162     wxPyEndAllowThreads(__tstate
); 
4163     if (PyErr_Occurred()) SWIG_fail
; 
4166     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
4168   if (SWIG_IsTmpObj(res3
)) { 
4169     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg3
))); 
4171     int new_flags 
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
4172     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, new_flags
)); 
4174   if (SWIG_IsTmpObj(res4
)) { 
4175     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg4
))); 
4177     int new_flags 
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
4178     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, new_flags
)); 
4180   if (SWIG_IsTmpObj(res5
)) { 
4181     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg5
))); 
4183     int new_flags 
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
4184     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_unsigned_char
, new_flags
)); 
4192 SWIGINTERN PyObject 
*_wrap_Palette_GetColoursCount(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
4193   PyObject 
*resultobj 
= 0; 
4194   wxPalette 
*arg1 
= (wxPalette 
*) 0 ; 
4198   PyObject 
*swig_obj
[1] ; 
4200   if (!args
) SWIG_fail
; 
4202   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, 0 |  0 ); 
4203   if (!SWIG_IsOK(res1
)) { 
4204     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetColoursCount" "', expected argument " "1"" of type '" "wxPalette const *""'");  
4206   arg1 
= reinterpret_cast< wxPalette 
* >(argp1
); 
4208     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4209     result 
= (int)((wxPalette 
const *)arg1
)->GetColoursCount(); 
4210     wxPyEndAllowThreads(__tstate
); 
4211     if (PyErr_Occurred()) SWIG_fail
; 
4213   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
4220 SWIGINTERN PyObject 
*_wrap_Palette_Ok(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
4221   PyObject 
*resultobj 
= 0; 
4222   wxPalette 
*arg1 
= (wxPalette 
*) 0 ; 
4226   PyObject 
*swig_obj
[1] ; 
4228   if (!args
) SWIG_fail
; 
4230   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, 0 |  0 ); 
4231   if (!SWIG_IsOK(res1
)) { 
4232     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_Ok" "', expected argument " "1"" of type '" "wxPalette *""'");  
4234   arg1 
= reinterpret_cast< wxPalette 
* >(argp1
); 
4236     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4237     result 
= (bool)(arg1
)->Ok(); 
4238     wxPyEndAllowThreads(__tstate
); 
4239     if (PyErr_Occurred()) SWIG_fail
; 
4242     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
4250 SWIGINTERN PyObject 
*Palette_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
4252   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
4253   SWIG_TypeNewClientData(SWIGTYPE_p_wxPalette
, SWIG_NewClientData(obj
)); 
4254   return SWIG_Py_Void(); 
4257 SWIGINTERN PyObject 
*Palette_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
4258   return SWIG_Python_InitShadowInstance(args
); 
4261 SWIGINTERN PyObject 
*_wrap_new_Pen(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
4262   PyObject 
*resultobj 
= 0; 
4263   wxColour 
*arg1 
= 0 ; 
4264   int arg2 
= (int) 1 ; 
4265   int arg3 
= (int) wxSOLID 
; 
4272   PyObject 
* obj0 
= 0 ; 
4273   PyObject 
* obj1 
= 0 ; 
4274   PyObject 
* obj2 
= 0 ; 
4275   char *  kwnames
[] = { 
4276     (char *) "colour",(char *) "width",(char *) "style", NULL 
 
4279   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Pen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
4282     if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
; 
4285     ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
4286     if (!SWIG_IsOK(ecode2
)) { 
4287       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Pen" "', expected argument " "2"" of type '" "int""'"); 
4289     arg2 
= static_cast< int >(val2
); 
4292     ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
4293     if (!SWIG_IsOK(ecode3
)) { 
4294       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Pen" "', expected argument " "3"" of type '" "int""'"); 
4296     arg3 
= static_cast< int >(val3
); 
4299     if (!wxPyCheckForApp()) SWIG_fail
; 
4300     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4301     result 
= (wxPen 
*)new wxPen(*arg1
,arg2
,arg3
); 
4302     wxPyEndAllowThreads(__tstate
); 
4303     if (PyErr_Occurred()) SWIG_fail
; 
4305   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, SWIG_POINTER_NEW 
|  0 ); 
4312 SWIGINTERN PyObject 
*_wrap_delete_Pen(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
4313   PyObject 
*resultobj 
= 0; 
4314   wxPen 
*arg1 
= (wxPen 
*) 0 ; 
4317   PyObject 
*swig_obj
[1] ; 
4319   if (!args
) SWIG_fail
; 
4321   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, SWIG_POINTER_DISOWN 
|  0 ); 
4322   if (!SWIG_IsOK(res1
)) { 
4323     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Pen" "', expected argument " "1"" of type '" "wxPen *""'");  
4325   arg1 
= reinterpret_cast< wxPen 
* >(argp1
); 
4327     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4330     wxPyEndAllowThreads(__tstate
); 
4331     if (PyErr_Occurred()) SWIG_fail
; 
4333   resultobj 
= SWIG_Py_Void(); 
4340 SWIGINTERN PyObject 
*_wrap_Pen_GetCap(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
4341   PyObject 
*resultobj 
= 0; 
4342   wxPen 
*arg1 
= (wxPen 
*) 0 ; 
4346   PyObject 
*swig_obj
[1] ; 
4348   if (!args
) SWIG_fail
; 
4350   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 |  0 ); 
4351   if (!SWIG_IsOK(res1
)) { 
4352     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetCap" "', expected argument " "1"" of type '" "wxPen *""'");  
4354   arg1 
= reinterpret_cast< wxPen 
* >(argp1
); 
4356     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4357     result 
= (int)(arg1
)->GetCap(); 
4358     wxPyEndAllowThreads(__tstate
); 
4359     if (PyErr_Occurred()) SWIG_fail
; 
4361   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
4368 SWIGINTERN PyObject 
*_wrap_Pen_GetColour(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
4369   PyObject 
*resultobj 
= 0; 
4370   wxPen 
*arg1 
= (wxPen 
*) 0 ; 
4374   PyObject 
*swig_obj
[1] ; 
4376   if (!args
) SWIG_fail
; 
4378   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 |  0 ); 
4379   if (!SWIG_IsOK(res1
)) { 
4380     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetColour" "', expected argument " "1"" of type '" "wxPen *""'");  
4382   arg1 
= reinterpret_cast< wxPen 
* >(argp1
); 
4384     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4385     result 
= (arg1
)->GetColour(); 
4386     wxPyEndAllowThreads(__tstate
); 
4387     if (PyErr_Occurred()) SWIG_fail
; 
4389   resultobj 
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN 
|  0 ); 
4396 SWIGINTERN PyObject 
*_wrap_Pen_GetJoin(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
4397   PyObject 
*resultobj 
= 0; 
4398   wxPen 
*arg1 
= (wxPen 
*) 0 ; 
4402   PyObject 
*swig_obj
[1] ; 
4404   if (!args
) SWIG_fail
; 
4406   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 |  0 ); 
4407   if (!SWIG_IsOK(res1
)) { 
4408     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetJoin" "', expected argument " "1"" of type '" "wxPen *""'");  
4410   arg1 
= reinterpret_cast< wxPen 
* >(argp1
); 
4412     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4413     result 
= (int)(arg1
)->GetJoin(); 
4414     wxPyEndAllowThreads(__tstate
); 
4415     if (PyErr_Occurred()) SWIG_fail
; 
4417   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
4424 SWIGINTERN PyObject 
*_wrap_Pen_GetStyle(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
4425   PyObject 
*resultobj 
= 0; 
4426   wxPen 
*arg1 
= (wxPen 
*) 0 ; 
4430   PyObject 
*swig_obj
[1] ; 
4432   if (!args
) SWIG_fail
; 
4434   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 |  0 ); 
4435   if (!SWIG_IsOK(res1
)) { 
4436     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetStyle" "', expected argument " "1"" of type '" "wxPen *""'");  
4438   arg1 
= reinterpret_cast< wxPen 
* >(argp1
); 
4440     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4441     result 
= (int)(arg1
)->GetStyle(); 
4442     wxPyEndAllowThreads(__tstate
); 
4443     if (PyErr_Occurred()) SWIG_fail
; 
4445   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
4452 SWIGINTERN PyObject 
*_wrap_Pen_GetWidth(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
4453   PyObject 
*resultobj 
= 0; 
4454   wxPen 
*arg1 
= (wxPen 
*) 0 ; 
4458   PyObject 
*swig_obj
[1] ; 
4460   if (!args
) SWIG_fail
; 
4462   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 |  0 ); 
4463   if (!SWIG_IsOK(res1
)) { 
4464     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetWidth" "', expected argument " "1"" of type '" "wxPen *""'");  
4466   arg1 
= reinterpret_cast< wxPen 
* >(argp1
); 
4468     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4469     result 
= (int)(arg1
)->GetWidth(); 
4470     wxPyEndAllowThreads(__tstate
); 
4471     if (PyErr_Occurred()) SWIG_fail
; 
4473   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
4480 SWIGINTERN PyObject 
*_wrap_Pen_Ok(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
4481   PyObject 
*resultobj 
= 0; 
4482   wxPen 
*arg1 
= (wxPen 
*) 0 ; 
4486   PyObject 
*swig_obj
[1] ; 
4488   if (!args
) SWIG_fail
; 
4490   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 |  0 ); 
4491   if (!SWIG_IsOK(res1
)) { 
4492     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_Ok" "', expected argument " "1"" of type '" "wxPen *""'");  
4494   arg1 
= reinterpret_cast< wxPen 
* >(argp1
); 
4496     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4497     result 
= (bool)(arg1
)->Ok(); 
4498     wxPyEndAllowThreads(__tstate
); 
4499     if (PyErr_Occurred()) SWIG_fail
; 
4502     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
4510 SWIGINTERN PyObject 
*_wrap_Pen_SetCap(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
4511   PyObject 
*resultobj 
= 0; 
4512   wxPen 
*arg1 
= (wxPen 
*) 0 ; 
4518   PyObject 
* obj0 
= 0 ; 
4519   PyObject 
* obj1 
= 0 ; 
4520   char *  kwnames
[] = { 
4521     (char *) "self",(char *) "cap_style", NULL 
 
4524   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetCap",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
4525   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 |  0 ); 
4526   if (!SWIG_IsOK(res1
)) { 
4527     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetCap" "', expected argument " "1"" of type '" "wxPen *""'");  
4529   arg1 
= reinterpret_cast< wxPen 
* >(argp1
); 
4530   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
4531   if (!SWIG_IsOK(ecode2
)) { 
4532     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetCap" "', expected argument " "2"" of type '" "int""'"); 
4534   arg2 
= static_cast< int >(val2
); 
4536     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4537     (arg1
)->SetCap(arg2
); 
4538     wxPyEndAllowThreads(__tstate
); 
4539     if (PyErr_Occurred()) SWIG_fail
; 
4541   resultobj 
= SWIG_Py_Void(); 
4548 SWIGINTERN PyObject 
*_wrap_Pen_SetColour(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
4549   PyObject 
*resultobj 
= 0; 
4550   wxPen 
*arg1 
= (wxPen 
*) 0 ; 
4551   wxColour 
*arg2 
= 0 ; 
4555   PyObject 
* obj0 
= 0 ; 
4556   PyObject 
* obj1 
= 0 ; 
4557   char *  kwnames
[] = { 
4558     (char *) "self",(char *) "colour", NULL 
 
4561   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
4562   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 |  0 ); 
4563   if (!SWIG_IsOK(res1
)) { 
4564     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetColour" "', expected argument " "1"" of type '" "wxPen *""'");  
4566   arg1 
= reinterpret_cast< wxPen 
* >(argp1
); 
4569     if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
4572     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4573     (arg1
)->SetColour(*arg2
); 
4574     wxPyEndAllowThreads(__tstate
); 
4575     if (PyErr_Occurred()) SWIG_fail
; 
4577   resultobj 
= SWIG_Py_Void(); 
4584 SWIGINTERN PyObject 
*_wrap_Pen_SetJoin(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
4585   PyObject 
*resultobj 
= 0; 
4586   wxPen 
*arg1 
= (wxPen 
*) 0 ; 
4592   PyObject 
* obj0 
= 0 ; 
4593   PyObject 
* obj1 
= 0 ; 
4594   char *  kwnames
[] = { 
4595     (char *) "self",(char *) "join_style", NULL 
 
4598   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetJoin",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
4599   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 |  0 ); 
4600   if (!SWIG_IsOK(res1
)) { 
4601     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetJoin" "', expected argument " "1"" of type '" "wxPen *""'");  
4603   arg1 
= reinterpret_cast< wxPen 
* >(argp1
); 
4604   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
4605   if (!SWIG_IsOK(ecode2
)) { 
4606     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetJoin" "', expected argument " "2"" of type '" "int""'"); 
4608   arg2 
= static_cast< int >(val2
); 
4610     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4611     (arg1
)->SetJoin(arg2
); 
4612     wxPyEndAllowThreads(__tstate
); 
4613     if (PyErr_Occurred()) SWIG_fail
; 
4615   resultobj 
= SWIG_Py_Void(); 
4622 SWIGINTERN PyObject 
*_wrap_Pen_SetStyle(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
4623   PyObject 
*resultobj 
= 0; 
4624   wxPen 
*arg1 
= (wxPen 
*) 0 ; 
4630   PyObject 
* obj0 
= 0 ; 
4631   PyObject 
* obj1 
= 0 ; 
4632   char *  kwnames
[] = { 
4633     (char *) "self",(char *) "style", NULL 
 
4636   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
4637   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 |  0 ); 
4638   if (!SWIG_IsOK(res1
)) { 
4639     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetStyle" "', expected argument " "1"" of type '" "wxPen *""'");  
4641   arg1 
= reinterpret_cast< wxPen 
* >(argp1
); 
4642   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
4643   if (!SWIG_IsOK(ecode2
)) { 
4644     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetStyle" "', expected argument " "2"" of type '" "int""'"); 
4646   arg2 
= static_cast< int >(val2
); 
4648     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4649     (arg1
)->SetStyle(arg2
); 
4650     wxPyEndAllowThreads(__tstate
); 
4651     if (PyErr_Occurred()) SWIG_fail
; 
4653   resultobj 
= SWIG_Py_Void(); 
4660 SWIGINTERN PyObject 
*_wrap_Pen_SetWidth(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
4661   PyObject 
*resultobj 
= 0; 
4662   wxPen 
*arg1 
= (wxPen 
*) 0 ; 
4668   PyObject 
* obj0 
= 0 ; 
4669   PyObject 
* obj1 
= 0 ; 
4670   char *  kwnames
[] = { 
4671     (char *) "self",(char *) "width", NULL 
 
4674   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
4675   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 |  0 ); 
4676   if (!SWIG_IsOK(res1
)) { 
4677     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetWidth" "', expected argument " "1"" of type '" "wxPen *""'");  
4679   arg1 
= reinterpret_cast< wxPen 
* >(argp1
); 
4680   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
4681   if (!SWIG_IsOK(ecode2
)) { 
4682     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetWidth" "', expected argument " "2"" of type '" "int""'"); 
4684   arg2 
= static_cast< int >(val2
); 
4686     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4687     (arg1
)->SetWidth(arg2
); 
4688     wxPyEndAllowThreads(__tstate
); 
4689     if (PyErr_Occurred()) SWIG_fail
; 
4691   resultobj 
= SWIG_Py_Void(); 
4698 SWIGINTERN PyObject 
*_wrap_Pen_SetDashes(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
4699   PyObject 
*resultobj 
= 0; 
4700   wxPen 
*arg1 
= (wxPen 
*) 0 ; 
4702   wxDash 
*arg3 
= (wxDash 
*) 0 ; 
4705   PyObject 
* obj0 
= 0 ; 
4706   PyObject 
* obj1 
= 0 ; 
4707   char *  kwnames
[] = { 
4708     (char *) "self",(char *) "dashes", NULL 
 
4711   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetDashes",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
4712   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 |  0 ); 
4713   if (!SWIG_IsOK(res1
)) { 
4714     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetDashes" "', expected argument " "1"" of type '" "wxPen *""'");  
4716   arg1 
= reinterpret_cast< wxPen 
* >(argp1
); 
4718     arg2 
= PyList_Size(obj1
); 
4719     arg3 
= (wxDash
*)byte_LIST_helper(obj1
); 
4720     if (arg3 
== NULL
) SWIG_fail
; 
4723     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4724     (arg1
)->SetDashes(arg2
,arg3
); 
4725     wxPyEndAllowThreads(__tstate
); 
4726     if (PyErr_Occurred()) SWIG_fail
; 
4728   resultobj 
= SWIG_Py_Void(); 
4730     if (arg3
) delete [] arg3
; 
4735     if (arg3
) delete [] arg3
; 
4741 SWIGINTERN PyObject 
*_wrap_Pen_GetDashes(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
4742   PyObject 
*resultobj 
= 0; 
4743   wxPen 
*arg1 
= (wxPen 
*) 0 ; 
4744   PyObject 
*result 
= 0 ; 
4747   PyObject 
*swig_obj
[1] ; 
4749   if (!args
) SWIG_fail
; 
4751   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 |  0 ); 
4752   if (!SWIG_IsOK(res1
)) { 
4753     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetDashes" "', expected argument " "1"" of type '" "wxPen *""'");  
4755   arg1 
= reinterpret_cast< wxPen 
* >(argp1
); 
4757     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4758     result 
= (PyObject 
*)wxPen_GetDashes(arg1
); 
4759     wxPyEndAllowThreads(__tstate
); 
4760     if (PyErr_Occurred()) SWIG_fail
; 
4769 SWIGINTERN PyObject 
*_wrap_Pen__SetDashes(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
4770   PyObject 
*resultobj 
= 0; 
4771   wxPen 
*arg1 
= (wxPen 
*) 0 ; 
4772   PyObject 
*arg2 
= (PyObject 
*) 0 ; 
4773   PyObject 
*arg3 
= (PyObject 
*) 0 ; 
4776   PyObject 
* obj0 
= 0 ; 
4777   PyObject 
* obj1 
= 0 ; 
4778   PyObject 
* obj2 
= 0 ; 
4779   char *  kwnames
[] = { 
4780     (char *) "self",(char *) "_self",(char *) "pyDashes", NULL 
 
4783   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Pen__SetDashes",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
4784   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 |  0 ); 
4785   if (!SWIG_IsOK(res1
)) { 
4786     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen__SetDashes" "', expected argument " "1"" of type '" "wxPen *""'");  
4788   arg1 
= reinterpret_cast< wxPen 
* >(argp1
); 
4792     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4793     wxPen__SetDashes(arg1
,arg2
,arg3
); 
4794     wxPyEndAllowThreads(__tstate
); 
4795     if (PyErr_Occurred()) SWIG_fail
; 
4797   resultobj 
= SWIG_Py_Void(); 
4804 SWIGINTERN PyObject 
*_wrap_Pen___eq__(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
4805   PyObject 
*resultobj 
= 0; 
4806   wxPen 
*arg1 
= (wxPen 
*) 0 ; 
4807   wxPen 
*arg2 
= (wxPen 
*) 0 ; 
4813   PyObject 
* obj0 
= 0 ; 
4814   PyObject 
* obj1 
= 0 ; 
4815   char *  kwnames
[] = { 
4816     (char *) "self",(char *) "other", NULL 
 
4819   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
4820   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 |  0 ); 
4821   if (!SWIG_IsOK(res1
)) { 
4822     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen___eq__" "', expected argument " "1"" of type '" "wxPen *""'");  
4824   arg1 
= reinterpret_cast< wxPen 
* >(argp1
); 
4825   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 |  0 ); 
4826   if (!SWIG_IsOK(res2
)) { 
4827     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen___eq__" "', expected argument " "2"" of type '" "wxPen const *""'");  
4829   arg2 
= reinterpret_cast< wxPen 
* >(argp2
); 
4831     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4832     result 
= (bool)wxPen___eq__(arg1
,(wxPen 
const *)arg2
); 
4833     wxPyEndAllowThreads(__tstate
); 
4834     if (PyErr_Occurred()) SWIG_fail
; 
4837     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
4845 SWIGINTERN PyObject 
*_wrap_Pen___ne__(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
4846   PyObject 
*resultobj 
= 0; 
4847   wxPen 
*arg1 
= (wxPen 
*) 0 ; 
4848   wxPen 
*arg2 
= (wxPen 
*) 0 ; 
4854   PyObject 
* obj0 
= 0 ; 
4855   PyObject 
* obj1 
= 0 ; 
4856   char *  kwnames
[] = { 
4857     (char *) "self",(char *) "other", NULL 
 
4860   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
4861   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 |  0 ); 
4862   if (!SWIG_IsOK(res1
)) { 
4863     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen___ne__" "', expected argument " "1"" of type '" "wxPen *""'");  
4865   arg1 
= reinterpret_cast< wxPen 
* >(argp1
); 
4866   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 |  0 ); 
4867   if (!SWIG_IsOK(res2
)) { 
4868     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen___ne__" "', expected argument " "2"" of type '" "wxPen const *""'");  
4870   arg2 
= reinterpret_cast< wxPen 
* >(argp2
); 
4872     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4873     result 
= (bool)wxPen___ne__(arg1
,(wxPen 
const *)arg2
); 
4874     wxPyEndAllowThreads(__tstate
); 
4875     if (PyErr_Occurred()) SWIG_fail
; 
4878     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
4886 SWIGINTERN PyObject 
*Pen_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
4888   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
4889   SWIG_TypeNewClientData(SWIGTYPE_p_wxPen
, SWIG_NewClientData(obj
)); 
4890   return SWIG_Py_Void(); 
4893 SWIGINTERN PyObject 
*Pen_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
4894   return SWIG_Python_InitShadowInstance(args
); 
4897 SWIGINTERN PyObject 
*_wrap_new_Brush(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
4898   PyObject 
*resultobj 
= 0; 
4899   wxColour 
*arg1 
= 0 ; 
4900   int arg2 
= (int) wxSOLID 
; 
4901   wxBrush 
*result 
= 0 ; 
4905   PyObject 
* obj0 
= 0 ; 
4906   PyObject 
* obj1 
= 0 ; 
4907   char *  kwnames
[] = { 
4908     (char *) "colour",(char *) "style", NULL 
 
4911   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Brush",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
4914     if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
; 
4917     ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
4918     if (!SWIG_IsOK(ecode2
)) { 
4919       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Brush" "', expected argument " "2"" of type '" "int""'"); 
4921     arg2 
= static_cast< int >(val2
); 
4924     if (!wxPyCheckForApp()) SWIG_fail
; 
4925     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4926     result 
= (wxBrush 
*)new wxBrush((wxColour 
const &)*arg1
,arg2
); 
4927     wxPyEndAllowThreads(__tstate
); 
4928     if (PyErr_Occurred()) SWIG_fail
; 
4930   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, SWIG_POINTER_NEW 
|  0 ); 
4937 SWIGINTERN PyObject 
*_wrap_new_BrushFromBitmap(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
4938   PyObject 
*resultobj 
= 0; 
4939   wxBitmap 
*arg1 
= 0 ; 
4940   wxBrush 
*result 
= 0 ; 
4943   PyObject 
* obj0 
= 0 ; 
4944   char *  kwnames
[] = { 
4945     (char *) "stippleBitmap", NULL 
 
4948   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BrushFromBitmap",kwnames
,&obj0
)) SWIG_fail
; 
4949   res1 
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
,  0  | 0); 
4950   if (!SWIG_IsOK(res1
)) { 
4951     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BrushFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");  
4954     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BrushFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");  
4956   arg1 
= reinterpret_cast< wxBitmap 
* >(argp1
); 
4958     if (!wxPyCheckForApp()) SWIG_fail
; 
4959     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4960     result 
= (wxBrush 
*)new wxBrush((wxBitmap 
const &)*arg1
); 
4961     wxPyEndAllowThreads(__tstate
); 
4962     if (PyErr_Occurred()) SWIG_fail
; 
4964   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, SWIG_POINTER_OWN 
|  0 ); 
4971 SWIGINTERN PyObject 
*_wrap_delete_Brush(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
4972   PyObject 
*resultobj 
= 0; 
4973   wxBrush 
*arg1 
= (wxBrush 
*) 0 ; 
4976   PyObject 
*swig_obj
[1] ; 
4978   if (!args
) SWIG_fail
; 
4980   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, SWIG_POINTER_DISOWN 
|  0 ); 
4981   if (!SWIG_IsOK(res1
)) { 
4982     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Brush" "', expected argument " "1"" of type '" "wxBrush *""'");  
4984   arg1 
= reinterpret_cast< wxBrush 
* >(argp1
); 
4986     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4989     wxPyEndAllowThreads(__tstate
); 
4990     if (PyErr_Occurred()) SWIG_fail
; 
4992   resultobj 
= SWIG_Py_Void(); 
4999 SWIGINTERN PyObject 
*_wrap_Brush_SetColour(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
5000   PyObject 
*resultobj 
= 0; 
5001   wxBrush 
*arg1 
= (wxBrush 
*) 0 ; 
5002   wxColour 
*arg2 
= 0 ; 
5006   PyObject 
* obj0 
= 0 ; 
5007   PyObject 
* obj1 
= 0 ; 
5008   char *  kwnames
[] = { 
5009     (char *) "self",(char *) "col", NULL 
 
5012   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
5013   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 |  0 ); 
5014   if (!SWIG_IsOK(res1
)) { 
5015     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetColour" "', expected argument " "1"" of type '" "wxBrush *""'");  
5017   arg1 
= reinterpret_cast< wxBrush 
* >(argp1
); 
5020     if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
5023     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5024     (arg1
)->SetColour((wxColour 
const &)*arg2
); 
5025     wxPyEndAllowThreads(__tstate
); 
5026     if (PyErr_Occurred()) SWIG_fail
; 
5028   resultobj 
= SWIG_Py_Void(); 
5035 SWIGINTERN PyObject 
*_wrap_Brush_SetStyle(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
5036   PyObject 
*resultobj 
= 0; 
5037   wxBrush 
*arg1 
= (wxBrush 
*) 0 ; 
5043   PyObject 
* obj0 
= 0 ; 
5044   PyObject 
* obj1 
= 0 ; 
5045   char *  kwnames
[] = { 
5046     (char *) "self",(char *) "style", NULL 
 
5049   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
5050   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 |  0 ); 
5051   if (!SWIG_IsOK(res1
)) { 
5052     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetStyle" "', expected argument " "1"" of type '" "wxBrush *""'");  
5054   arg1 
= reinterpret_cast< wxBrush 
* >(argp1
); 
5055   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
5056   if (!SWIG_IsOK(ecode2
)) { 
5057     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Brush_SetStyle" "', expected argument " "2"" of type '" "int""'"); 
5059   arg2 
= static_cast< int >(val2
); 
5061     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5062     (arg1
)->SetStyle(arg2
); 
5063     wxPyEndAllowThreads(__tstate
); 
5064     if (PyErr_Occurred()) SWIG_fail
; 
5066   resultobj 
= SWIG_Py_Void(); 
5073 SWIGINTERN PyObject 
*_wrap_Brush_SetStipple(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
5074   PyObject 
*resultobj 
= 0; 
5075   wxBrush 
*arg1 
= (wxBrush 
*) 0 ; 
5076   wxBitmap 
*arg2 
= 0 ; 
5081   PyObject 
* obj0 
= 0 ; 
5082   PyObject 
* obj1 
= 0 ; 
5083   char *  kwnames
[] = { 
5084     (char *) "self",(char *) "stipple", NULL 
 
5087   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStipple",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
5088   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 |  0 ); 
5089   if (!SWIG_IsOK(res1
)) { 
5090     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetStipple" "', expected argument " "1"" of type '" "wxBrush *""'");  
5092   arg1 
= reinterpret_cast< wxBrush 
* >(argp1
); 
5093   res2 
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
,  0  | 0); 
5094   if (!SWIG_IsOK(res2
)) { 
5095     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Brush_SetStipple" "', expected argument " "2"" of type '" "wxBitmap const &""'");  
5098     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Brush_SetStipple" "', expected argument " "2"" of type '" "wxBitmap const &""'");  
5100   arg2 
= reinterpret_cast< wxBitmap 
* >(argp2
); 
5102     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5103     (arg1
)->SetStipple((wxBitmap 
const &)*arg2
); 
5104     wxPyEndAllowThreads(__tstate
); 
5105     if (PyErr_Occurred()) SWIG_fail
; 
5107   resultobj 
= SWIG_Py_Void(); 
5114 SWIGINTERN PyObject 
*_wrap_Brush_GetColour(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5115   PyObject 
*resultobj 
= 0; 
5116   wxBrush 
*arg1 
= (wxBrush 
*) 0 ; 
5120   PyObject 
*swig_obj
[1] ; 
5122   if (!args
) SWIG_fail
; 
5124   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 |  0 ); 
5125   if (!SWIG_IsOK(res1
)) { 
5126     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetColour" "', expected argument " "1"" of type '" "wxBrush const *""'");  
5128   arg1 
= reinterpret_cast< wxBrush 
* >(argp1
); 
5130     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5131     result 
= ((wxBrush 
const *)arg1
)->GetColour(); 
5132     wxPyEndAllowThreads(__tstate
); 
5133     if (PyErr_Occurred()) SWIG_fail
; 
5135   resultobj 
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN 
|  0 ); 
5142 SWIGINTERN PyObject 
*_wrap_Brush_GetStyle(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5143   PyObject 
*resultobj 
= 0; 
5144   wxBrush 
*arg1 
= (wxBrush 
*) 0 ; 
5148   PyObject 
*swig_obj
[1] ; 
5150   if (!args
) SWIG_fail
; 
5152   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 |  0 ); 
5153   if (!SWIG_IsOK(res1
)) { 
5154     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetStyle" "', expected argument " "1"" of type '" "wxBrush const *""'");  
5156   arg1 
= reinterpret_cast< wxBrush 
* >(argp1
); 
5158     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5159     result 
= (int)((wxBrush 
const *)arg1
)->GetStyle(); 
5160     wxPyEndAllowThreads(__tstate
); 
5161     if (PyErr_Occurred()) SWIG_fail
; 
5163   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
5170 SWIGINTERN PyObject 
*_wrap_Brush_GetStipple(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5171   PyObject 
*resultobj 
= 0; 
5172   wxBrush 
*arg1 
= (wxBrush 
*) 0 ; 
5173   wxBitmap 
*result 
= 0 ; 
5176   PyObject 
*swig_obj
[1] ; 
5178   if (!args
) SWIG_fail
; 
5180   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 |  0 ); 
5181   if (!SWIG_IsOK(res1
)) { 
5182     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetStipple" "', expected argument " "1"" of type '" "wxBrush const *""'");  
5184   arg1 
= reinterpret_cast< wxBrush 
* >(argp1
); 
5186     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5187     result 
= (wxBitmap 
*)((wxBrush 
const *)arg1
)->GetStipple(); 
5188     wxPyEndAllowThreads(__tstate
); 
5189     if (PyErr_Occurred()) SWIG_fail
; 
5191   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, 0 |  0 ); 
5198 SWIGINTERN PyObject 
*_wrap_Brush_IsHatch(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5199   PyObject 
*resultobj 
= 0; 
5200   wxBrush 
*arg1 
= (wxBrush 
*) 0 ; 
5204   PyObject 
*swig_obj
[1] ; 
5206   if (!args
) SWIG_fail
; 
5208   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 |  0 ); 
5209   if (!SWIG_IsOK(res1
)) { 
5210     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_IsHatch" "', expected argument " "1"" of type '" "wxBrush const *""'");  
5212   arg1 
= reinterpret_cast< wxBrush 
* >(argp1
); 
5214     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5215     result 
= (bool)((wxBrush 
const *)arg1
)->IsHatch(); 
5216     wxPyEndAllowThreads(__tstate
); 
5217     if (PyErr_Occurred()) SWIG_fail
; 
5220     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
5228 SWIGINTERN PyObject 
*_wrap_Brush_Ok(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5229   PyObject 
*resultobj 
= 0; 
5230   wxBrush 
*arg1 
= (wxBrush 
*) 0 ; 
5234   PyObject 
*swig_obj
[1] ; 
5236   if (!args
) SWIG_fail
; 
5238   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 |  0 ); 
5239   if (!SWIG_IsOK(res1
)) { 
5240     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_Ok" "', expected argument " "1"" of type '" "wxBrush *""'");  
5242   arg1 
= reinterpret_cast< wxBrush 
* >(argp1
); 
5244     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5245     result 
= (bool)(arg1
)->Ok(); 
5246     wxPyEndAllowThreads(__tstate
); 
5247     if (PyErr_Occurred()) SWIG_fail
; 
5250     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
5258 SWIGINTERN PyObject 
*_wrap_Brush_MacGetTheme(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5259   PyObject 
*resultobj 
= 0; 
5260   wxBrush 
*arg1 
= (wxBrush 
*) 0 ; 
5264   PyObject 
*swig_obj
[1] ; 
5266   if (!args
) SWIG_fail
; 
5268   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 |  0 ); 
5269   if (!SWIG_IsOK(res1
)) { 
5270     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_MacGetTheme" "', expected argument " "1"" of type '" "wxBrush *""'");  
5272   arg1 
= reinterpret_cast< wxBrush 
* >(argp1
); 
5274     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5275     result 
= (short)(arg1
)->MacGetTheme(); 
5276     wxPyEndAllowThreads(__tstate
); 
5277     if (PyErr_Occurred()) SWIG_fail
; 
5279   resultobj 
= SWIG_From_short(static_cast< short >(result
)); 
5286 SWIGINTERN PyObject 
*_wrap_Brush_MacSetTheme(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
5287   PyObject 
*resultobj 
= 0; 
5288   wxBrush 
*arg1 
= (wxBrush 
*) 0 ; 
5294   PyObject 
* obj0 
= 0 ; 
5295   PyObject 
* obj1 
= 0 ; 
5296   char *  kwnames
[] = { 
5297     (char *) "self",(char *) "macThemeBrush", NULL 
 
5300   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_MacSetTheme",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
5301   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 |  0 ); 
5302   if (!SWIG_IsOK(res1
)) { 
5303     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_MacSetTheme" "', expected argument " "1"" of type '" "wxBrush *""'");  
5305   arg1 
= reinterpret_cast< wxBrush 
* >(argp1
); 
5306   ecode2 
= SWIG_AsVal_short(obj1
, &val2
); 
5307   if (!SWIG_IsOK(ecode2
)) { 
5308     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Brush_MacSetTheme" "', expected argument " "2"" of type '" "short""'"); 
5310   arg2 
= static_cast< short >(val2
); 
5312     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5313     (arg1
)->MacSetTheme(arg2
); 
5314     wxPyEndAllowThreads(__tstate
); 
5315     if (PyErr_Occurred()) SWIG_fail
; 
5317   resultobj 
= SWIG_Py_Void(); 
5324 SWIGINTERN PyObject 
*Brush_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5326   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
5327   SWIG_TypeNewClientData(SWIGTYPE_p_wxBrush
, SWIG_NewClientData(obj
)); 
5328   return SWIG_Py_Void(); 
5331 SWIGINTERN PyObject 
*Brush_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5332   return SWIG_Python_InitShadowInstance(args
); 
5335 SWIGINTERN PyObject 
*_wrap_new_Bitmap(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
5336   PyObject 
*resultobj 
= 0; 
5337   wxString 
*arg1 
= 0 ; 
5338   wxBitmapType arg2 
= (wxBitmapType
) wxBITMAP_TYPE_ANY 
; 
5339   wxBitmap 
*result 
= 0 ; 
5340   bool temp1 
= false ; 
5343   PyObject 
* obj0 
= 0 ; 
5344   PyObject 
* obj1 
= 0 ; 
5345   char *  kwnames
[] = { 
5346     (char *) "name",(char *) "type", NULL 
 
5349   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Bitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
5351     arg1 
= wxString_in_helper(obj0
); 
5352     if (arg1 
== NULL
) SWIG_fail
; 
5356     ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
5357     if (!SWIG_IsOK(ecode2
)) { 
5358       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Bitmap" "', expected argument " "2"" of type '" "wxBitmapType""'"); 
5360     arg2 
= static_cast< wxBitmapType 
>(val2
); 
5363     if (!wxPyCheckForApp()) SWIG_fail
; 
5364     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5365     result 
= (wxBitmap 
*)new wxBitmap((wxString 
const &)*arg1
,arg2
); 
5366     wxPyEndAllowThreads(__tstate
); 
5367     if (PyErr_Occurred()) SWIG_fail
; 
5369   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_NEW 
|  0 ); 
5384 SWIGINTERN PyObject 
*_wrap_delete_Bitmap(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5385   PyObject 
*resultobj 
= 0; 
5386   wxBitmap 
*arg1 
= (wxBitmap 
*) 0 ; 
5389   PyObject 
*swig_obj
[1] ; 
5391   if (!args
) SWIG_fail
; 
5393   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, SWIG_POINTER_DISOWN 
|  0 ); 
5394   if (!SWIG_IsOK(res1
)) { 
5395     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Bitmap" "', expected argument " "1"" of type '" "wxBitmap *""'");  
5397   arg1 
= reinterpret_cast< wxBitmap 
* >(argp1
); 
5399     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5402     wxPyEndAllowThreads(__tstate
); 
5403     if (PyErr_Occurred()) SWIG_fail
; 
5405   resultobj 
= SWIG_Py_Void(); 
5412 SWIGINTERN PyObject 
*_wrap_new_EmptyBitmap(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
5413   PyObject 
*resultobj 
= 0; 
5416   int arg3 
= (int) -1 ; 
5417   wxBitmap 
*result 
= 0 ; 
5424   PyObject 
* obj0 
= 0 ; 
5425   PyObject 
* obj1 
= 0 ; 
5426   PyObject 
* obj2 
= 0 ; 
5427   char *  kwnames
[] = { 
5428     (char *) "width",(char *) "height",(char *) "depth", NULL 
 
5431   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_EmptyBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
5432   ecode1 
= SWIG_AsVal_int(obj0
, &val1
); 
5433   if (!SWIG_IsOK(ecode1
)) { 
5434     SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_EmptyBitmap" "', expected argument " "1"" of type '" "int""'"); 
5436   arg1 
= static_cast< int >(val1
); 
5437   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
5438   if (!SWIG_IsOK(ecode2
)) { 
5439     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_EmptyBitmap" "', expected argument " "2"" of type '" "int""'"); 
5441   arg2 
= static_cast< int >(val2
); 
5443     ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
5444     if (!SWIG_IsOK(ecode3
)) { 
5445       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_EmptyBitmap" "', expected argument " "3"" of type '" "int""'"); 
5447     arg3 
= static_cast< int >(val3
); 
5450     if (!wxPyCheckForApp()) SWIG_fail
; 
5451     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5452     result 
= (wxBitmap 
*)new wxBitmap(arg1
,arg2
,arg3
); 
5453     wxPyEndAllowThreads(__tstate
); 
5454     if (PyErr_Occurred()) SWIG_fail
; 
5456   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN 
|  0 ); 
5463 SWIGINTERN PyObject 
*_wrap_new_BitmapFromIcon(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
5464   PyObject 
*resultobj 
= 0; 
5466   wxBitmap 
*result 
= 0 ; 
5469   PyObject 
* obj0 
= 0 ; 
5470   char *  kwnames
[] = { 
5471     (char *) "icon", NULL 
 
5474   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromIcon",kwnames
,&obj0
)) SWIG_fail
; 
5475   res1 
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
,  0  | 0); 
5476   if (!SWIG_IsOK(res1
)) { 
5477     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");  
5480     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");  
5482   arg1 
= reinterpret_cast< wxIcon 
* >(argp1
); 
5484     if (!wxPyCheckForApp()) SWIG_fail
; 
5485     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5486     result 
= (wxBitmap 
*)new wxBitmap((wxIcon 
const &)*arg1
); 
5487     wxPyEndAllowThreads(__tstate
); 
5488     if (PyErr_Occurred()) SWIG_fail
; 
5490   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN 
|  0 ); 
5497 SWIGINTERN PyObject 
*_wrap_new_BitmapFromImage(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
5498   PyObject 
*resultobj 
= 0; 
5500   int arg2 
= (int) -1 ; 
5501   wxBitmap 
*result 
= 0 ; 
5506   PyObject 
* obj0 
= 0 ; 
5507   PyObject 
* obj1 
= 0 ; 
5508   char *  kwnames
[] = { 
5509     (char *) "image",(char *) "depth", NULL 
 
5512   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BitmapFromImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
5513   res1 
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage
,  0  | 0); 
5514   if (!SWIG_IsOK(res1
)) { 
5515     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");  
5518     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");  
5520   arg1 
= reinterpret_cast< wxImage 
* >(argp1
); 
5522     ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
5523     if (!SWIG_IsOK(ecode2
)) { 
5524       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapFromImage" "', expected argument " "2"" of type '" "int""'"); 
5526     arg2 
= static_cast< int >(val2
); 
5529     if (!wxPyCheckForApp()) SWIG_fail
; 
5530     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5531     result 
= (wxBitmap 
*)new wxBitmap((wxImage 
const &)*arg1
,arg2
); 
5532     wxPyEndAllowThreads(__tstate
); 
5533     if (PyErr_Occurred()) SWIG_fail
; 
5535   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN 
|  0 ); 
5542 SWIGINTERN PyObject 
*_wrap_new_BitmapFromXPMData(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
5543   PyObject 
*resultobj 
= 0; 
5544   PyObject 
*arg1 
= (PyObject 
*) 0 ; 
5545   wxBitmap 
*result 
= 0 ; 
5546   PyObject 
* obj0 
= 0 ; 
5547   char *  kwnames
[] = { 
5548     (char *) "listOfStrings", NULL 
 
5551   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromXPMData",kwnames
,&obj0
)) SWIG_fail
; 
5554     if (!wxPyCheckForApp()) SWIG_fail
; 
5555     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5556     result 
= (wxBitmap 
*)new_wxBitmap(arg1
); 
5557     wxPyEndAllowThreads(__tstate
); 
5558     if (PyErr_Occurred()) SWIG_fail
; 
5560   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN 
|  0 ); 
5567 SWIGINTERN PyObject 
*_wrap_new_BitmapFromBits(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
5568   PyObject 
*resultobj 
= 0; 
5569   PyObject 
*arg1 
= (PyObject 
*) 0 ; 
5572   int arg4 
= (int) 1 ; 
5573   wxBitmap 
*result 
= 0 ; 
5580   PyObject 
* obj0 
= 0 ; 
5581   PyObject 
* obj1 
= 0 ; 
5582   PyObject 
* obj2 
= 0 ; 
5583   PyObject 
* obj3 
= 0 ; 
5584   char *  kwnames
[] = { 
5585     (char *) "bits",(char *) "width",(char *) "height",(char *) "depth", NULL 
 
5588   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_BitmapFromBits",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
; 
5590   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
5591   if (!SWIG_IsOK(ecode2
)) { 
5592     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapFromBits" "', expected argument " "2"" of type '" "int""'"); 
5594   arg2 
= static_cast< int >(val2
); 
5595   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
5596   if (!SWIG_IsOK(ecode3
)) { 
5597     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BitmapFromBits" "', expected argument " "3"" of type '" "int""'"); 
5599   arg3 
= static_cast< int >(val3
); 
5601     ecode4 
= SWIG_AsVal_int(obj3
, &val4
); 
5602     if (!SWIG_IsOK(ecode4
)) { 
5603       SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_BitmapFromBits" "', expected argument " "4"" of type '" "int""'"); 
5605     arg4 
= static_cast< int >(val4
); 
5608     if (!wxPyCheckForApp()) SWIG_fail
; 
5609     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5610     result 
= (wxBitmap 
*)new_wxBitmap(arg1
,arg2
,arg3
,arg4
); 
5611     wxPyEndAllowThreads(__tstate
); 
5612     if (PyErr_Occurred()) SWIG_fail
; 
5614   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN 
|  0 ); 
5621 SWIGINTERN PyObject 
*_wrap_Bitmap_Ok(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5622   PyObject 
*resultobj 
= 0; 
5623   wxBitmap 
*arg1 
= (wxBitmap 
*) 0 ; 
5627   PyObject 
*swig_obj
[1] ; 
5629   if (!args
) SWIG_fail
; 
5631   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 |  0 ); 
5632   if (!SWIG_IsOK(res1
)) { 
5633     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_Ok" "', expected argument " "1"" of type '" "wxBitmap *""'");  
5635   arg1 
= reinterpret_cast< wxBitmap 
* >(argp1
); 
5637     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5638     result 
= (bool)(arg1
)->Ok(); 
5639     wxPyEndAllowThreads(__tstate
); 
5640     if (PyErr_Occurred()) SWIG_fail
; 
5643     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
5651 SWIGINTERN PyObject 
*_wrap_Bitmap_GetWidth(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5652   PyObject 
*resultobj 
= 0; 
5653   wxBitmap 
*arg1 
= (wxBitmap 
*) 0 ; 
5657   PyObject 
*swig_obj
[1] ; 
5659   if (!args
) SWIG_fail
; 
5661   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 |  0 ); 
5662   if (!SWIG_IsOK(res1
)) { 
5663     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetWidth" "', expected argument " "1"" of type '" "wxBitmap *""'");  
5665   arg1 
= reinterpret_cast< wxBitmap 
* >(argp1
); 
5667     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5668     result 
= (int)(arg1
)->GetWidth(); 
5669     wxPyEndAllowThreads(__tstate
); 
5670     if (PyErr_Occurred()) SWIG_fail
; 
5672   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
5679 SWIGINTERN PyObject 
*_wrap_Bitmap_GetHeight(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5680   PyObject 
*resultobj 
= 0; 
5681   wxBitmap 
*arg1 
= (wxBitmap 
*) 0 ; 
5685   PyObject 
*swig_obj
[1] ; 
5687   if (!args
) SWIG_fail
; 
5689   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 |  0 ); 
5690   if (!SWIG_IsOK(res1
)) { 
5691     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetHeight" "', expected argument " "1"" of type '" "wxBitmap *""'");  
5693   arg1 
= reinterpret_cast< wxBitmap 
* >(argp1
); 
5695     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5696     result 
= (int)(arg1
)->GetHeight(); 
5697     wxPyEndAllowThreads(__tstate
); 
5698     if (PyErr_Occurred()) SWIG_fail
; 
5700   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
5707 SWIGINTERN PyObject 
*_wrap_Bitmap_GetDepth(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5708   PyObject 
*resultobj 
= 0; 
5709   wxBitmap 
*arg1 
= (wxBitmap 
*) 0 ; 
5713   PyObject 
*swig_obj
[1] ; 
5715   if (!args
) SWIG_fail
; 
5717   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 |  0 ); 
5718   if (!SWIG_IsOK(res1
)) { 
5719     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetDepth" "', expected argument " "1"" of type '" "wxBitmap *""'");  
5721   arg1 
= reinterpret_cast< wxBitmap 
* >(argp1
); 
5723     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5724     result 
= (int)(arg1
)->GetDepth(); 
5725     wxPyEndAllowThreads(__tstate
); 
5726     if (PyErr_Occurred()) SWIG_fail
; 
5728   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
5735 SWIGINTERN PyObject 
*_wrap_Bitmap_GetSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5736   PyObject 
*resultobj 
= 0; 
5737   wxBitmap 
*arg1 
= (wxBitmap 
*) 0 ; 
5741   PyObject 
*swig_obj
[1] ; 
5743   if (!args
) SWIG_fail
; 
5745   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 |  0 ); 
5746   if (!SWIG_IsOK(res1
)) { 
5747     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetSize" "', expected argument " "1"" of type '" "wxBitmap *""'");  
5749   arg1 
= reinterpret_cast< wxBitmap 
* >(argp1
); 
5751     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5752     result 
= wxBitmap_GetSize(arg1
); 
5753     wxPyEndAllowThreads(__tstate
); 
5754     if (PyErr_Occurred()) SWIG_fail
; 
5756   resultobj 
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN 
|  0 ); 
5763 SWIGINTERN PyObject 
*_wrap_Bitmap_ConvertToImage(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5764   PyObject 
*resultobj 
= 0; 
5765   wxBitmap 
*arg1 
= (wxBitmap 
*) 0 ; 
5766   SwigValueWrapper
<wxImage 
> result
; 
5769   PyObject 
*swig_obj
[1] ; 
5771   if (!args
) SWIG_fail
; 
5773   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 |  0 ); 
5774   if (!SWIG_IsOK(res1
)) { 
5775     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_ConvertToImage" "', expected argument " "1"" of type '" "wxBitmap const *""'");  
5777   arg1 
= reinterpret_cast< wxBitmap 
* >(argp1
); 
5779     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5780     result 
= ((wxBitmap 
const *)arg1
)->ConvertToImage(); 
5781     wxPyEndAllowThreads(__tstate
); 
5782     if (PyErr_Occurred()) SWIG_fail
; 
5784   resultobj 
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN 
|  0 ); 
5791 SWIGINTERN PyObject 
*_wrap_Bitmap_GetMask(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5792   PyObject 
*resultobj 
= 0; 
5793   wxBitmap 
*arg1 
= (wxBitmap 
*) 0 ; 
5794   wxMask 
*result 
= 0 ; 
5797   PyObject 
*swig_obj
[1] ; 
5799   if (!args
) SWIG_fail
; 
5801   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 |  0 ); 
5802   if (!SWIG_IsOK(res1
)) { 
5803     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetMask" "', expected argument " "1"" of type '" "wxBitmap const *""'");  
5805   arg1 
= reinterpret_cast< wxBitmap 
* >(argp1
); 
5807     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5808     result 
= (wxMask 
*)((wxBitmap 
const *)arg1
)->GetMask(); 
5809     wxPyEndAllowThreads(__tstate
); 
5810     if (PyErr_Occurred()) SWIG_fail
; 
5812   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMask
, 0 |  0 ); 
5819 SWIGINTERN PyObject 
*_wrap_Bitmap_SetMask(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
5820   PyObject 
*resultobj 
= 0; 
5821   wxBitmap 
*arg1 
= (wxBitmap 
*) 0 ; 
5822   wxMask 
*arg2 
= (wxMask 
*) 0 ; 
5826   PyObject 
* obj0 
= 0 ; 
5827   PyObject 
* obj1 
= 0 ; 
5828   char *  kwnames
[] = { 
5829     (char *) "self",(char *) "mask", NULL 
 
5832   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
5833   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 |  0 ); 
5834   if (!SWIG_IsOK(res1
)) { 
5835     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetMask" "', expected argument " "1"" of type '" "wxBitmap *""'");  
5837   arg1 
= reinterpret_cast< wxBitmap 
* >(argp1
); 
5838   res2 
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxMask
, SWIG_POINTER_DISOWN 
|  0 ); 
5839   if (!SWIG_IsOK(res2
)) { 
5840     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_SetMask" "', expected argument " "2"" of type '" "wxMask *""'"); 
5843     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5844     (arg1
)->SetMask(arg2
); 
5845     wxPyEndAllowThreads(__tstate
); 
5846     if (PyErr_Occurred()) SWIG_fail
; 
5848   resultobj 
= SWIG_Py_Void(); 
5855 SWIGINTERN PyObject 
*_wrap_Bitmap_SetMaskColour(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
5856   PyObject 
*resultobj 
= 0; 
5857   wxBitmap 
*arg1 
= (wxBitmap 
*) 0 ; 
5858   wxColour 
*arg2 
= 0 ; 
5862   PyObject 
* obj0 
= 0 ; 
5863   PyObject 
* obj1 
= 0 ; 
5864   char *  kwnames
[] = { 
5865     (char *) "self",(char *) "colour", NULL 
 
5868   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMaskColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
5869   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 |  0 ); 
5870   if (!SWIG_IsOK(res1
)) { 
5871     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetMaskColour" "', expected argument " "1"" of type '" "wxBitmap *""'");  
5873   arg1 
= reinterpret_cast< wxBitmap 
* >(argp1
); 
5876     if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
5879     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5880     wxBitmap_SetMaskColour(arg1
,(wxColour 
const &)*arg2
); 
5881     wxPyEndAllowThreads(__tstate
); 
5882     if (PyErr_Occurred()) SWIG_fail
; 
5884   resultobj 
= SWIG_Py_Void(); 
5891 SWIGINTERN PyObject 
*_wrap_Bitmap_GetSubBitmap(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
5892   PyObject 
*resultobj 
= 0; 
5893   wxBitmap 
*arg1 
= (wxBitmap 
*) 0 ; 
5895   SwigValueWrapper
<wxBitmap 
> result
; 
5899   PyObject 
* obj0 
= 0 ; 
5900   PyObject 
* obj1 
= 0 ; 
5901   char *  kwnames
[] = { 
5902     (char *) "self",(char *) "rect", NULL 
 
5905   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_GetSubBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
5906   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 |  0 ); 
5907   if (!SWIG_IsOK(res1
)) { 
5908     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetSubBitmap" "', expected argument " "1"" of type '" "wxBitmap const *""'");  
5910   arg1 
= reinterpret_cast< wxBitmap 
* >(argp1
); 
5913     if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
; 
5916     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5917     result 
= ((wxBitmap 
const *)arg1
)->GetSubBitmap((wxRect 
const &)*arg2
); 
5918     wxPyEndAllowThreads(__tstate
); 
5919     if (PyErr_Occurred()) SWIG_fail
; 
5921   resultobj 
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN 
|  0 ); 
5928 SWIGINTERN PyObject 
*_wrap_Bitmap_SaveFile(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
5929   PyObject 
*resultobj 
= 0; 
5930   wxBitmap 
*arg1 
= (wxBitmap 
*) 0 ; 
5931   wxString 
*arg2 
= 0 ; 
5933   wxPalette 
*arg4 
= (wxPalette 
*) NULL 
; 
5937   bool temp2 
= false ; 
5942   PyObject 
* obj0 
= 0 ; 
5943   PyObject 
* obj1 
= 0 ; 
5944   PyObject 
* obj2 
= 0 ; 
5945   PyObject 
* obj3 
= 0 ; 
5946   char *  kwnames
[] = { 
5947     (char *) "self",(char *) "name",(char *) "type",(char *) "palette", NULL 
 
5950   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Bitmap_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
; 
5951   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 |  0 ); 
5952   if (!SWIG_IsOK(res1
)) { 
5953     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SaveFile" "', expected argument " "1"" of type '" "wxBitmap *""'");  
5955   arg1 
= reinterpret_cast< wxBitmap 
* >(argp1
); 
5957     arg2 
= wxString_in_helper(obj1
); 
5958     if (arg2 
== NULL
) SWIG_fail
; 
5961   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
5962   if (!SWIG_IsOK(ecode3
)) { 
5963     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Bitmap_SaveFile" "', expected argument " "3"" of type '" "wxBitmapType""'"); 
5965   arg3 
= static_cast< wxBitmapType 
>(val3
); 
5967     res4 
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxPalette
, 0 |  0 ); 
5968     if (!SWIG_IsOK(res4
)) { 
5969       SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Bitmap_SaveFile" "', expected argument " "4"" of type '" "wxPalette *""'");  
5971     arg4 
= reinterpret_cast< wxPalette 
* >(argp4
); 
5974     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5975     result 
= (bool)(arg1
)->SaveFile((wxString 
const &)*arg2
,arg3
,arg4
); 
5976     wxPyEndAllowThreads(__tstate
); 
5977     if (PyErr_Occurred()) SWIG_fail
; 
5980     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
5996 SWIGINTERN PyObject 
*_wrap_Bitmap_LoadFile(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
5997   PyObject 
*resultobj 
= 0; 
5998   wxBitmap 
*arg1 
= (wxBitmap 
*) 0 ; 
5999   wxString 
*arg2 
= 0 ; 
6004   bool temp2 
= false ; 
6007   PyObject 
* obj0 
= 0 ; 
6008   PyObject 
* obj1 
= 0 ; 
6009   PyObject 
* obj2 
= 0 ; 
6010   char *  kwnames
[] = { 
6011     (char *) "self",(char *) "name",(char *) "type", NULL 
 
6014   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Bitmap_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
6015   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 |  0 ); 
6016   if (!SWIG_IsOK(res1
)) { 
6017     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_LoadFile" "', expected argument " "1"" of type '" "wxBitmap *""'");  
6019   arg1 
= reinterpret_cast< wxBitmap 
* >(argp1
); 
6021     arg2 
= wxString_in_helper(obj1
); 
6022     if (arg2 
== NULL
) SWIG_fail
; 
6025   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
6026   if (!SWIG_IsOK(ecode3
)) { 
6027     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Bitmap_LoadFile" "', expected argument " "3"" of type '" "wxBitmapType""'"); 
6029   arg3 
= static_cast< wxBitmapType 
>(val3
); 
6031     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6032     result 
= (bool)(arg1
)->LoadFile((wxString 
const &)*arg2
,arg3
); 
6033     wxPyEndAllowThreads(__tstate
); 
6034     if (PyErr_Occurred()) SWIG_fail
; 
6037     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
6053 SWIGINTERN PyObject 
*_wrap_Bitmap_GetPalette(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
6054   PyObject 
*resultobj 
= 0; 
6055   wxBitmap 
*arg1 
= (wxBitmap 
*) 0 ; 
6056   wxPalette 
*result 
= 0 ; 
6059   PyObject 
*swig_obj
[1] ; 
6061   if (!args
) SWIG_fail
; 
6063   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 |  0 ); 
6064   if (!SWIG_IsOK(res1
)) { 
6065     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetPalette" "', expected argument " "1"" of type '" "wxBitmap const *""'");  
6067   arg1 
= reinterpret_cast< wxBitmap 
* >(argp1
); 
6069     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6070     result 
= (wxPalette 
*)((wxBitmap 
const *)arg1
)->GetPalette(); 
6071     wxPyEndAllowThreads(__tstate
); 
6072     if (PyErr_Occurred()) SWIG_fail
; 
6074   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPalette
, 0 |  0 ); 
6081 SWIGINTERN PyObject 
*_wrap_Bitmap_CopyFromIcon(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
6082   PyObject 
*resultobj 
= 0; 
6083   wxBitmap 
*arg1 
= (wxBitmap 
*) 0 ; 
6090   PyObject 
* obj0 
= 0 ; 
6091   PyObject 
* obj1 
= 0 ; 
6092   char *  kwnames
[] = { 
6093     (char *) "self",(char *) "icon", NULL 
 
6096   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
6097   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 |  0 ); 
6098   if (!SWIG_IsOK(res1
)) { 
6099     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_CopyFromIcon" "', expected argument " "1"" of type '" "wxBitmap *""'");  
6101   arg1 
= reinterpret_cast< wxBitmap 
* >(argp1
); 
6102   res2 
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
,  0  | 0); 
6103   if (!SWIG_IsOK(res2
)) { 
6104     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_CopyFromIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");  
6107     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Bitmap_CopyFromIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");  
6109   arg2 
= reinterpret_cast< wxIcon 
* >(argp2
); 
6111     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6112     result 
= (bool)(arg1
)->CopyFromIcon((wxIcon 
const &)*arg2
); 
6113     wxPyEndAllowThreads(__tstate
); 
6114     if (PyErr_Occurred()) SWIG_fail
; 
6117     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
6125 SWIGINTERN PyObject 
*_wrap_Bitmap_SetHeight(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
6126   PyObject 
*resultobj 
= 0; 
6127   wxBitmap 
*arg1 
= (wxBitmap 
*) 0 ; 
6133   PyObject 
* obj0 
= 0 ; 
6134   PyObject 
* obj1 
= 0 ; 
6135   char *  kwnames
[] = { 
6136     (char *) "self",(char *) "height", NULL 
 
6139   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
6140   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 |  0 ); 
6141   if (!SWIG_IsOK(res1
)) { 
6142     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetHeight" "', expected argument " "1"" of type '" "wxBitmap *""'");  
6144   arg1 
= reinterpret_cast< wxBitmap 
* >(argp1
); 
6145   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
6146   if (!SWIG_IsOK(ecode2
)) { 
6147     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetHeight" "', expected argument " "2"" of type '" "int""'"); 
6149   arg2 
= static_cast< int >(val2
); 
6151     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6152     (arg1
)->SetHeight(arg2
); 
6153     wxPyEndAllowThreads(__tstate
); 
6154     if (PyErr_Occurred()) SWIG_fail
; 
6156   resultobj 
= SWIG_Py_Void(); 
6163 SWIGINTERN PyObject 
*_wrap_Bitmap_SetWidth(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
6164   PyObject 
*resultobj 
= 0; 
6165   wxBitmap 
*arg1 
= (wxBitmap 
*) 0 ; 
6171   PyObject 
* obj0 
= 0 ; 
6172   PyObject 
* obj1 
= 0 ; 
6173   char *  kwnames
[] = { 
6174     (char *) "self",(char *) "width", NULL 
 
6177   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
6178   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 |  0 ); 
6179   if (!SWIG_IsOK(res1
)) { 
6180     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetWidth" "', expected argument " "1"" of type '" "wxBitmap *""'");  
6182   arg1 
= reinterpret_cast< wxBitmap 
* >(argp1
); 
6183   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
6184   if (!SWIG_IsOK(ecode2
)) { 
6185     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetWidth" "', expected argument " "2"" of type '" "int""'"); 
6187   arg2 
= static_cast< int >(val2
); 
6189     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6190     (arg1
)->SetWidth(arg2
); 
6191     wxPyEndAllowThreads(__tstate
); 
6192     if (PyErr_Occurred()) SWIG_fail
; 
6194   resultobj 
= SWIG_Py_Void(); 
6201 SWIGINTERN PyObject 
*_wrap_Bitmap_SetDepth(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
6202   PyObject 
*resultobj 
= 0; 
6203   wxBitmap 
*arg1 
= (wxBitmap 
*) 0 ; 
6209   PyObject 
* obj0 
= 0 ; 
6210   PyObject 
* obj1 
= 0 ; 
6211   char *  kwnames
[] = { 
6212     (char *) "self",(char *) "depth", NULL 
 
6215   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
6216   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 |  0 ); 
6217   if (!SWIG_IsOK(res1
)) { 
6218     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetDepth" "', expected argument " "1"" of type '" "wxBitmap *""'");  
6220   arg1 
= reinterpret_cast< wxBitmap 
* >(argp1
); 
6221   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
6222   if (!SWIG_IsOK(ecode2
)) { 
6223     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetDepth" "', expected argument " "2"" of type '" "int""'"); 
6225   arg2 
= static_cast< int >(val2
); 
6227     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6228     (arg1
)->SetDepth(arg2
); 
6229     wxPyEndAllowThreads(__tstate
); 
6230     if (PyErr_Occurred()) SWIG_fail
; 
6232   resultobj 
= SWIG_Py_Void(); 
6239 SWIGINTERN PyObject 
*_wrap_Bitmap_SetSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
6240   PyObject 
*resultobj 
= 0; 
6241   wxBitmap 
*arg1 
= (wxBitmap 
*) 0 ; 
6246   PyObject 
* obj0 
= 0 ; 
6247   PyObject 
* obj1 
= 0 ; 
6248   char *  kwnames
[] = { 
6249     (char *) "self",(char *) "size", NULL 
 
6252   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
6253   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 |  0 ); 
6254   if (!SWIG_IsOK(res1
)) { 
6255     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetSize" "', expected argument " "1"" of type '" "wxBitmap *""'");  
6257   arg1 
= reinterpret_cast< wxBitmap 
* >(argp1
); 
6260     if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
; 
6263     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6264     wxBitmap_SetSize(arg1
,(wxSize 
const &)*arg2
); 
6265     wxPyEndAllowThreads(__tstate
); 
6266     if (PyErr_Occurred()) SWIG_fail
; 
6268   resultobj 
= SWIG_Py_Void(); 
6275 SWIGINTERN PyObject 
*_wrap_Bitmap___eq__(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
6276   PyObject 
*resultobj 
= 0; 
6277   wxBitmap 
*arg1 
= (wxBitmap 
*) 0 ; 
6278   wxBitmap 
*arg2 
= (wxBitmap 
*) 0 ; 
6284   PyObject 
* obj0 
= 0 ; 
6285   PyObject 
* obj1 
= 0 ; 
6286   char *  kwnames
[] = { 
6287     (char *) "self",(char *) "other", NULL 
 
6290   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
6291   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 |  0 ); 
6292   if (!SWIG_IsOK(res1
)) { 
6293     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap___eq__" "', expected argument " "1"" of type '" "wxBitmap *""'");  
6295   arg1 
= reinterpret_cast< wxBitmap 
* >(argp1
); 
6296   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 |  0 ); 
6297   if (!SWIG_IsOK(res2
)) { 
6298     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap___eq__" "', expected argument " "2"" of type '" "wxBitmap const *""'");  
6300   arg2 
= reinterpret_cast< wxBitmap 
* >(argp2
); 
6302     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6303     result 
= (bool)wxBitmap___eq__(arg1
,(wxBitmap 
const *)arg2
); 
6304     wxPyEndAllowThreads(__tstate
); 
6305     if (PyErr_Occurred()) SWIG_fail
; 
6308     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
6316 SWIGINTERN PyObject 
*_wrap_Bitmap___ne__(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
6317   PyObject 
*resultobj 
= 0; 
6318   wxBitmap 
*arg1 
= (wxBitmap 
*) 0 ; 
6319   wxBitmap 
*arg2 
= (wxBitmap 
*) 0 ; 
6325   PyObject 
* obj0 
= 0 ; 
6326   PyObject 
* obj1 
= 0 ; 
6327   char *  kwnames
[] = { 
6328     (char *) "self",(char *) "other", NULL 
 
6331   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
6332   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 |  0 ); 
6333   if (!SWIG_IsOK(res1
)) { 
6334     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap___ne__" "', expected argument " "1"" of type '" "wxBitmap *""'");  
6336   arg1 
= reinterpret_cast< wxBitmap 
* >(argp1
); 
6337   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 |  0 ); 
6338   if (!SWIG_IsOK(res2
)) { 
6339     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap___ne__" "', expected argument " "2"" of type '" "wxBitmap const *""'");  
6341   arg2 
= reinterpret_cast< wxBitmap 
* >(argp2
); 
6343     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6344     result 
= (bool)wxBitmap___ne__(arg1
,(wxBitmap 
const *)arg2
); 
6345     wxPyEndAllowThreads(__tstate
); 
6346     if (PyErr_Occurred()) SWIG_fail
; 
6349     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
6357 SWIGINTERN PyObject 
*Bitmap_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
6359   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
6360   SWIG_TypeNewClientData(SWIGTYPE_p_wxBitmap
, SWIG_NewClientData(obj
)); 
6361   return SWIG_Py_Void(); 
6364 SWIGINTERN PyObject 
*Bitmap_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
6365   return SWIG_Python_InitShadowInstance(args
); 
6368 SWIGINTERN PyObject 
*_wrap_new_Mask(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
6369   PyObject 
*resultobj 
= 0; 
6370   wxBitmap 
*arg1 
= 0 ; 
6371   wxColour 
const &arg2_defvalue 
= wxNullColour 
; 
6372   wxColour 
*arg2 
= (wxColour 
*) &arg2_defvalue 
; 
6373   wxMask 
*result 
= 0 ; 
6377   PyObject 
* obj0 
= 0 ; 
6378   PyObject 
* obj1 
= 0 ; 
6379   char *  kwnames
[] = { 
6380     (char *) "bitmap",(char *) "colour", NULL 
 
6383   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Mask",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
6384   res1 
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
,  0  | 0); 
6385   if (!SWIG_IsOK(res1
)) { 
6386     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Mask" "', expected argument " "1"" of type '" "wxBitmap const &""'");  
6389     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Mask" "', expected argument " "1"" of type '" "wxBitmap const &""'");  
6391   arg1 
= reinterpret_cast< wxBitmap 
* >(argp1
); 
6395       if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
6399     if (!wxPyCheckForApp()) SWIG_fail
; 
6400     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6401     result 
= (wxMask 
*)new_wxMask((wxBitmap 
const &)*arg1
,(wxColour 
const &)*arg2
); 
6402     wxPyEndAllowThreads(__tstate
); 
6403     if (PyErr_Occurred()) SWIG_fail
; 
6405   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMask
, SWIG_POINTER_NEW 
|  0 ); 
6412 SWIGINTERN PyObject 
*_wrap_delete_Mask(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
6413   PyObject 
*resultobj 
= 0; 
6414   wxMask 
*arg1 
= (wxMask 
*) 0 ; 
6417   PyObject 
*swig_obj
[1] ; 
6419   if (!args
) SWIG_fail
; 
6421   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMask
, SWIG_POINTER_DISOWN 
|  0 ); 
6422   if (!SWIG_IsOK(res1
)) { 
6423     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Mask" "', expected argument " "1"" of type '" "wxMask *""'");  
6425   arg1 
= reinterpret_cast< wxMask 
* >(argp1
); 
6427     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6430     wxPyEndAllowThreads(__tstate
); 
6431     if (PyErr_Occurred()) SWIG_fail
; 
6433   resultobj 
= SWIG_Py_Void(); 
6440 SWIGINTERN PyObject 
*Mask_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
6442   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
6443   SWIG_TypeNewClientData(SWIGTYPE_p_wxMask
, SWIG_NewClientData(obj
)); 
6444   return SWIG_Py_Void(); 
6447 SWIGINTERN PyObject 
*Mask_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
6448   return SWIG_Python_InitShadowInstance(args
); 
6451 SWIGINTERN PyObject 
*_wrap_new_Icon(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
6452   PyObject 
*resultobj 
= 0; 
6453   wxString 
*arg1 
= 0 ; 
6455   int arg3 
= (int) -1 ; 
6456   int arg4 
= (int) -1 ; 
6457   wxIcon 
*result 
= 0 ; 
6458   bool temp1 
= false ; 
6465   PyObject 
* obj0 
= 0 ; 
6466   PyObject 
* obj1 
= 0 ; 
6467   PyObject 
* obj2 
= 0 ; 
6468   PyObject 
* obj3 
= 0 ; 
6469   char *  kwnames
[] = { 
6470     (char *) "name",(char *) "type",(char *) "desiredWidth",(char *) "desiredHeight", NULL 
 
6473   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Icon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
; 
6475     arg1 
= wxString_in_helper(obj0
); 
6476     if (arg1 
== NULL
) SWIG_fail
; 
6479   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
6480   if (!SWIG_IsOK(ecode2
)) { 
6481     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Icon" "', expected argument " "2"" of type '" "wxBitmapType""'"); 
6483   arg2 
= static_cast< wxBitmapType 
>(val2
); 
6485     ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
6486     if (!SWIG_IsOK(ecode3
)) { 
6487       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Icon" "', expected argument " "3"" of type '" "int""'"); 
6489     arg3 
= static_cast< int >(val3
); 
6492     ecode4 
= SWIG_AsVal_int(obj3
, &val4
); 
6493     if (!SWIG_IsOK(ecode4
)) { 
6494       SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Icon" "', expected argument " "4"" of type '" "int""'"); 
6496     arg4 
= static_cast< int >(val4
); 
6499     if (!wxPyCheckForApp()) SWIG_fail
; 
6500     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6501     result 
= (wxIcon 
*)new wxIcon((wxString 
const &)*arg1
,arg2
,arg3
,arg4
); 
6502     wxPyEndAllowThreads(__tstate
); 
6503     if (PyErr_Occurred()) SWIG_fail
; 
6505   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_NEW 
|  0 ); 
6520 SWIGINTERN PyObject 
*_wrap_delete_Icon(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
6521   PyObject 
*resultobj 
= 0; 
6522   wxIcon 
*arg1 
= (wxIcon 
*) 0 ; 
6525   PyObject 
*swig_obj
[1] ; 
6527   if (!args
) SWIG_fail
; 
6529   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, SWIG_POINTER_DISOWN 
|  0 ); 
6530   if (!SWIG_IsOK(res1
)) { 
6531     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Icon" "', expected argument " "1"" of type '" "wxIcon *""'");  
6533   arg1 
= reinterpret_cast< wxIcon 
* >(argp1
); 
6535     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6538     wxPyEndAllowThreads(__tstate
); 
6539     if (PyErr_Occurred()) SWIG_fail
; 
6541   resultobj 
= SWIG_Py_Void(); 
6548 SWIGINTERN PyObject 
*_wrap_new_EmptyIcon(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
6549   PyObject 
*resultobj 
= 0; 
6550   wxIcon 
*result 
= 0 ; 
6552   if (!SWIG_Python_UnpackTuple(args
,"new_EmptyIcon",0,0,0)) SWIG_fail
; 
6554     if (!wxPyCheckForApp()) SWIG_fail
; 
6555     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6556     result 
= (wxIcon 
*)new wxIcon(); 
6557     wxPyEndAllowThreads(__tstate
); 
6558     if (PyErr_Occurred()) SWIG_fail
; 
6560   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN 
|  0 ); 
6567 SWIGINTERN PyObject 
*_wrap_new_IconFromLocation(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
6568   PyObject 
*resultobj 
= 0; 
6569   wxIconLocation 
*arg1 
= 0 ; 
6570   wxIcon 
*result 
= 0 ; 
6573   PyObject 
* obj0 
= 0 ; 
6574   char *  kwnames
[] = { 
6575     (char *) "loc", NULL 
 
6578   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromLocation",kwnames
,&obj0
)) SWIG_fail
; 
6579   res1 
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIconLocation
,  0  | 0); 
6580   if (!SWIG_IsOK(res1
)) { 
6581     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconFromLocation" "', expected argument " "1"" of type '" "wxIconLocation const &""'");  
6584     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconFromLocation" "', expected argument " "1"" of type '" "wxIconLocation const &""'");  
6586   arg1 
= reinterpret_cast< wxIconLocation 
* >(argp1
); 
6588     if (!wxPyCheckForApp()) SWIG_fail
; 
6589     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6590     result 
= (wxIcon 
*)new wxIcon((wxIconLocation 
const &)*arg1
); 
6591     wxPyEndAllowThreads(__tstate
); 
6592     if (PyErr_Occurred()) SWIG_fail
; 
6594   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN 
|  0 ); 
6601 SWIGINTERN PyObject 
*_wrap_new_IconFromBitmap(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
6602   PyObject 
*resultobj 
= 0; 
6603   wxBitmap 
*arg1 
= 0 ; 
6604   wxIcon 
*result 
= 0 ; 
6607   PyObject 
* obj0 
= 0 ; 
6608   char *  kwnames
[] = { 
6609     (char *) "bmp", NULL 
 
6612   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromBitmap",kwnames
,&obj0
)) SWIG_fail
; 
6613   res1 
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
,  0  | 0); 
6614   if (!SWIG_IsOK(res1
)) { 
6615     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");  
6618     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");  
6620   arg1 
= reinterpret_cast< wxBitmap 
* >(argp1
); 
6622     if (!wxPyCheckForApp()) SWIG_fail
; 
6623     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6624     result 
= (wxIcon 
*)new_wxIcon((wxBitmap 
const &)*arg1
); 
6625     wxPyEndAllowThreads(__tstate
); 
6626     if (PyErr_Occurred()) SWIG_fail
; 
6628   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN 
|  0 ); 
6635 SWIGINTERN PyObject 
*_wrap_new_IconFromXPMData(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
6636   PyObject 
*resultobj 
= 0; 
6637   PyObject 
*arg1 
= (PyObject 
*) 0 ; 
6638   wxIcon 
*result 
= 0 ; 
6639   PyObject 
* obj0 
= 0 ; 
6640   char *  kwnames
[] = { 
6641     (char *) "listOfStrings", NULL 
 
6644   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromXPMData",kwnames
,&obj0
)) SWIG_fail
; 
6647     if (!wxPyCheckForApp()) SWIG_fail
; 
6648     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6649     result 
= (wxIcon 
*)new_wxIcon(arg1
); 
6650     wxPyEndAllowThreads(__tstate
); 
6651     if (PyErr_Occurred()) SWIG_fail
; 
6653   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN 
|  0 ); 
6660 SWIGINTERN PyObject 
*_wrap_Icon_Ok(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
6661   PyObject 
*resultobj 
= 0; 
6662   wxIcon 
*arg1 
= (wxIcon 
*) 0 ; 
6666   PyObject 
*swig_obj
[1] ; 
6668   if (!args
) SWIG_fail
; 
6670   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 |  0 ); 
6671   if (!SWIG_IsOK(res1
)) { 
6672     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_Ok" "', expected argument " "1"" of type '" "wxIcon *""'");  
6674   arg1 
= reinterpret_cast< wxIcon 
* >(argp1
); 
6676     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6677     result 
= (bool)(arg1
)->Ok(); 
6678     wxPyEndAllowThreads(__tstate
); 
6679     if (PyErr_Occurred()) SWIG_fail
; 
6682     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
6690 SWIGINTERN PyObject 
*_wrap_Icon_GetWidth(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
6691   PyObject 
*resultobj 
= 0; 
6692   wxIcon 
*arg1 
= (wxIcon 
*) 0 ; 
6696   PyObject 
*swig_obj
[1] ; 
6698   if (!args
) SWIG_fail
; 
6700   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 |  0 ); 
6701   if (!SWIG_IsOK(res1
)) { 
6702     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetWidth" "', expected argument " "1"" of type '" "wxIcon *""'");  
6704   arg1 
= reinterpret_cast< wxIcon 
* >(argp1
); 
6706     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6707     result 
= (int)(arg1
)->GetWidth(); 
6708     wxPyEndAllowThreads(__tstate
); 
6709     if (PyErr_Occurred()) SWIG_fail
; 
6711   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
6718 SWIGINTERN PyObject 
*_wrap_Icon_GetHeight(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
6719   PyObject 
*resultobj 
= 0; 
6720   wxIcon 
*arg1 
= (wxIcon 
*) 0 ; 
6724   PyObject 
*swig_obj
[1] ; 
6726   if (!args
) SWIG_fail
; 
6728   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 |  0 ); 
6729   if (!SWIG_IsOK(res1
)) { 
6730     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetHeight" "', expected argument " "1"" of type '" "wxIcon *""'");  
6732   arg1 
= reinterpret_cast< wxIcon 
* >(argp1
); 
6734     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6735     result 
= (int)(arg1
)->GetHeight(); 
6736     wxPyEndAllowThreads(__tstate
); 
6737     if (PyErr_Occurred()) SWIG_fail
; 
6739   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
6746 SWIGINTERN PyObject 
*_wrap_Icon_GetDepth(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
6747   PyObject 
*resultobj 
= 0; 
6748   wxIcon 
*arg1 
= (wxIcon 
*) 0 ; 
6752   PyObject 
*swig_obj
[1] ; 
6754   if (!args
) SWIG_fail
; 
6756   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 |  0 ); 
6757   if (!SWIG_IsOK(res1
)) { 
6758     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetDepth" "', expected argument " "1"" of type '" "wxIcon *""'");  
6760   arg1 
= reinterpret_cast< wxIcon 
* >(argp1
); 
6762     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6763     result 
= (int)(arg1
)->GetDepth(); 
6764     wxPyEndAllowThreads(__tstate
); 
6765     if (PyErr_Occurred()) SWIG_fail
; 
6767   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
6774 SWIGINTERN PyObject 
*_wrap_Icon_SetWidth(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
6775   PyObject 
*resultobj 
= 0; 
6776   wxIcon 
*arg1 
= (wxIcon 
*) 0 ; 
6782   PyObject 
* obj0 
= 0 ; 
6783   PyObject 
* obj1 
= 0 ; 
6784   char *  kwnames
[] = { 
6785     (char *) "self",(char *) "w", NULL 
 
6788   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
6789   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 |  0 ); 
6790   if (!SWIG_IsOK(res1
)) { 
6791     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetWidth" "', expected argument " "1"" of type '" "wxIcon *""'");  
6793   arg1 
= reinterpret_cast< wxIcon 
* >(argp1
); 
6794   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
6795   if (!SWIG_IsOK(ecode2
)) { 
6796     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetWidth" "', expected argument " "2"" of type '" "int""'"); 
6798   arg2 
= static_cast< int >(val2
); 
6800     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6801     (arg1
)->SetWidth(arg2
); 
6802     wxPyEndAllowThreads(__tstate
); 
6803     if (PyErr_Occurred()) SWIG_fail
; 
6805   resultobj 
= SWIG_Py_Void(); 
6812 SWIGINTERN PyObject 
*_wrap_Icon_SetHeight(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
6813   PyObject 
*resultobj 
= 0; 
6814   wxIcon 
*arg1 
= (wxIcon 
*) 0 ; 
6820   PyObject 
* obj0 
= 0 ; 
6821   PyObject 
* obj1 
= 0 ; 
6822   char *  kwnames
[] = { 
6823     (char *) "self",(char *) "h", NULL 
 
6826   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
6827   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 |  0 ); 
6828   if (!SWIG_IsOK(res1
)) { 
6829     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetHeight" "', expected argument " "1"" of type '" "wxIcon *""'");  
6831   arg1 
= reinterpret_cast< wxIcon 
* >(argp1
); 
6832   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
6833   if (!SWIG_IsOK(ecode2
)) { 
6834     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetHeight" "', expected argument " "2"" of type '" "int""'"); 
6836   arg2 
= static_cast< int >(val2
); 
6838     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6839     (arg1
)->SetHeight(arg2
); 
6840     wxPyEndAllowThreads(__tstate
); 
6841     if (PyErr_Occurred()) SWIG_fail
; 
6843   resultobj 
= SWIG_Py_Void(); 
6850 SWIGINTERN PyObject 
*_wrap_Icon_SetDepth(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
6851   PyObject 
*resultobj 
= 0; 
6852   wxIcon 
*arg1 
= (wxIcon 
*) 0 ; 
6858   PyObject 
* obj0 
= 0 ; 
6859   PyObject 
* obj1 
= 0 ; 
6860   char *  kwnames
[] = { 
6861     (char *) "self",(char *) "d", NULL 
 
6864   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
6865   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 |  0 ); 
6866   if (!SWIG_IsOK(res1
)) { 
6867     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetDepth" "', expected argument " "1"" of type '" "wxIcon *""'");  
6869   arg1 
= reinterpret_cast< wxIcon 
* >(argp1
); 
6870   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
6871   if (!SWIG_IsOK(ecode2
)) { 
6872     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetDepth" "', expected argument " "2"" of type '" "int""'"); 
6874   arg2 
= static_cast< int >(val2
); 
6876     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6877     (arg1
)->SetDepth(arg2
); 
6878     wxPyEndAllowThreads(__tstate
); 
6879     if (PyErr_Occurred()) SWIG_fail
; 
6881   resultobj 
= SWIG_Py_Void(); 
6888 SWIGINTERN PyObject 
*_wrap_Icon_CopyFromBitmap(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
6889   PyObject 
*resultobj 
= 0; 
6890   wxIcon 
*arg1 
= (wxIcon 
*) 0 ; 
6891   wxBitmap 
*arg2 
= 0 ; 
6896   PyObject 
* obj0 
= 0 ; 
6897   PyObject 
* obj1 
= 0 ; 
6898   char *  kwnames
[] = { 
6899     (char *) "self",(char *) "bmp", NULL 
 
6902   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_CopyFromBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
6903   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 |  0 ); 
6904   if (!SWIG_IsOK(res1
)) { 
6905     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_CopyFromBitmap" "', expected argument " "1"" of type '" "wxIcon *""'");  
6907   arg1 
= reinterpret_cast< wxIcon 
* >(argp1
); 
6908   res2 
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
,  0  | 0); 
6909   if (!SWIG_IsOK(res2
)) { 
6910     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Icon_CopyFromBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");  
6913     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Icon_CopyFromBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");  
6915   arg2 
= reinterpret_cast< wxBitmap 
* >(argp2
); 
6917     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6918     (arg1
)->CopyFromBitmap((wxBitmap 
const &)*arg2
); 
6919     wxPyEndAllowThreads(__tstate
); 
6920     if (PyErr_Occurred()) SWIG_fail
; 
6922   resultobj 
= SWIG_Py_Void(); 
6929 SWIGINTERN PyObject 
*Icon_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
6931   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
6932   SWIG_TypeNewClientData(SWIGTYPE_p_wxIcon
, SWIG_NewClientData(obj
)); 
6933   return SWIG_Py_Void(); 
6936 SWIGINTERN PyObject 
*Icon_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
6937   return SWIG_Python_InitShadowInstance(args
); 
6940 SWIGINTERN PyObject 
*_wrap_new_IconLocation(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
6941   PyObject 
*resultobj 
= 0; 
6942   wxString 
*arg1 
= (wxString 
*) &wxPyEmptyString 
; 
6943   int arg2 
= (int) 0 ; 
6944   wxIconLocation 
*result 
= 0 ; 
6945   bool temp1 
= false ; 
6948   PyObject 
* obj0 
= 0 ; 
6949   PyObject 
* obj1 
= 0 ; 
6950   char *  kwnames
[] = { 
6951     (char *) "filename",(char *) "num", NULL 
 
6954   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconLocation",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
6957       arg1 
= wxString_in_helper(obj0
); 
6958       if (arg1 
== NULL
) SWIG_fail
; 
6963     ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
6964     if (!SWIG_IsOK(ecode2
)) { 
6965       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_IconLocation" "', expected argument " "2"" of type '" "int""'"); 
6967     arg2 
= static_cast< int >(val2
); 
6970     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6971     result 
= (wxIconLocation 
*)new_wxIconLocation((wxString 
const *)arg1
,arg2
); 
6972     wxPyEndAllowThreads(__tstate
); 
6973     if (PyErr_Occurred()) SWIG_fail
; 
6975   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_NEW 
|  0 ); 
6990 SWIGINTERN PyObject 
*_wrap_delete_IconLocation(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
6991   PyObject 
*resultobj 
= 0; 
6992   wxIconLocation 
*arg1 
= (wxIconLocation 
*) 0 ; 
6995   PyObject 
*swig_obj
[1] ; 
6997   if (!args
) SWIG_fail
; 
6999   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_DISOWN 
|  0 ); 
7000   if (!SWIG_IsOK(res1
)) { 
7001     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_IconLocation" "', expected argument " "1"" of type '" "wxIconLocation *""'");  
7003   arg1 
= reinterpret_cast< wxIconLocation 
* >(argp1
); 
7005     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7008     wxPyEndAllowThreads(__tstate
); 
7009     if (PyErr_Occurred()) SWIG_fail
; 
7011   resultobj 
= SWIG_Py_Void(); 
7018 SWIGINTERN PyObject 
*_wrap_IconLocation_IsOk(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
7019   PyObject 
*resultobj 
= 0; 
7020   wxIconLocation 
*arg1 
= (wxIconLocation 
*) 0 ; 
7024   PyObject 
*swig_obj
[1] ; 
7026   if (!args
) SWIG_fail
; 
7028   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 |  0 ); 
7029   if (!SWIG_IsOK(res1
)) { 
7030     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_IsOk" "', expected argument " "1"" of type '" "wxIconLocation const *""'");  
7032   arg1 
= reinterpret_cast< wxIconLocation 
* >(argp1
); 
7034     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7035     result 
= (bool)((wxIconLocation 
const *)arg1
)->IsOk(); 
7036     wxPyEndAllowThreads(__tstate
); 
7037     if (PyErr_Occurred()) SWIG_fail
; 
7040     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
7048 SWIGINTERN PyObject 
*_wrap_IconLocation_SetFileName(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
7049   PyObject 
*resultobj 
= 0; 
7050   wxIconLocation 
*arg1 
= (wxIconLocation 
*) 0 ; 
7051   wxString 
*arg2 
= 0 ; 
7054   bool temp2 
= false ; 
7055   PyObject 
* obj0 
= 0 ; 
7056   PyObject 
* obj1 
= 0 ; 
7057   char *  kwnames
[] = { 
7058     (char *) "self",(char *) "filename", NULL 
 
7061   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetFileName",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
7062   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconLocation
, 0 |  0 ); 
7063   if (!SWIG_IsOK(res1
)) { 
7064     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_SetFileName" "', expected argument " "1"" of type '" "wxIconLocation *""'");  
7066   arg1 
= reinterpret_cast< wxIconLocation 
* >(argp1
); 
7068     arg2 
= wxString_in_helper(obj1
); 
7069     if (arg2 
== NULL
) SWIG_fail
; 
7073     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7074     (arg1
)->SetFileName((wxString 
const &)*arg2
); 
7075     wxPyEndAllowThreads(__tstate
); 
7076     if (PyErr_Occurred()) SWIG_fail
; 
7078   resultobj 
= SWIG_Py_Void(); 
7093 SWIGINTERN PyObject 
*_wrap_IconLocation_GetFileName(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
7094   PyObject 
*resultobj 
= 0; 
7095   wxIconLocation 
*arg1 
= (wxIconLocation 
*) 0 ; 
7096   wxString 
*result 
= 0 ; 
7099   PyObject 
*swig_obj
[1] ; 
7101   if (!args
) SWIG_fail
; 
7103   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 |  0 ); 
7104   if (!SWIG_IsOK(res1
)) { 
7105     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_GetFileName" "', expected argument " "1"" of type '" "wxIconLocation const *""'");  
7107   arg1 
= reinterpret_cast< wxIconLocation 
* >(argp1
); 
7109     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7111       wxString 
const &_result_ref 
= ((wxIconLocation 
const *)arg1
)->GetFileName(); 
7112       result 
= (wxString 
*) &_result_ref
; 
7114     wxPyEndAllowThreads(__tstate
); 
7115     if (PyErr_Occurred()) SWIG_fail
; 
7119     resultobj 
= PyUnicode_FromWideChar(result
->c_str(), result
->Len()); 
7121     resultobj 
= PyString_FromStringAndSize(result
->c_str(), result
->Len()); 
7130 SWIGINTERN PyObject 
*_wrap_IconLocation_SetIndex(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
7131   PyObject 
*resultobj 
= 0; 
7132   wxIconLocation 
*arg1 
= (wxIconLocation 
*) 0 ; 
7138   PyObject 
* obj0 
= 0 ; 
7139   PyObject 
* obj1 
= 0 ; 
7140   char *  kwnames
[] = { 
7141     (char *) "self",(char *) "num", NULL 
 
7144   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
7145   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconLocation
, 0 |  0 ); 
7146   if (!SWIG_IsOK(res1
)) { 
7147     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_SetIndex" "', expected argument " "1"" of type '" "wxIconLocation *""'");  
7149   arg1 
= reinterpret_cast< wxIconLocation 
* >(argp1
); 
7150   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
7151   if (!SWIG_IsOK(ecode2
)) { 
7152     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "IconLocation_SetIndex" "', expected argument " "2"" of type '" "int""'"); 
7154   arg2 
= static_cast< int >(val2
); 
7156     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7157     wxIconLocation_SetIndex(arg1
,arg2
); 
7158     wxPyEndAllowThreads(__tstate
); 
7159     if (PyErr_Occurred()) SWIG_fail
; 
7161   resultobj 
= SWIG_Py_Void(); 
7168 SWIGINTERN PyObject 
*_wrap_IconLocation_GetIndex(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
7169   PyObject 
*resultobj 
= 0; 
7170   wxIconLocation 
*arg1 
= (wxIconLocation 
*) 0 ; 
7174   PyObject 
*swig_obj
[1] ; 
7176   if (!args
) SWIG_fail
; 
7178   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 |  0 ); 
7179   if (!SWIG_IsOK(res1
)) { 
7180     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_GetIndex" "', expected argument " "1"" of type '" "wxIconLocation *""'");  
7182   arg1 
= reinterpret_cast< wxIconLocation 
* >(argp1
); 
7184     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7185     result 
= (int)wxIconLocation_GetIndex(arg1
); 
7186     wxPyEndAllowThreads(__tstate
); 
7187     if (PyErr_Occurred()) SWIG_fail
; 
7189   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
7196 SWIGINTERN PyObject 
*IconLocation_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
7198   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
7199   SWIG_TypeNewClientData(SWIGTYPE_p_wxIconLocation
, SWIG_NewClientData(obj
)); 
7200   return SWIG_Py_Void(); 
7203 SWIGINTERN PyObject 
*IconLocation_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
7204   return SWIG_Python_InitShadowInstance(args
); 
7207 SWIGINTERN PyObject 
*_wrap_new_IconBundle(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
7208   PyObject 
*resultobj 
= 0; 
7209   wxIconBundle 
*result 
= 0 ; 
7211   if (!SWIG_Python_UnpackTuple(args
,"new_IconBundle",0,0,0)) SWIG_fail
; 
7213     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7214     result 
= (wxIconBundle 
*)new wxIconBundle(); 
7215     wxPyEndAllowThreads(__tstate
); 
7216     if (PyErr_Occurred()) SWIG_fail
; 
7218   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_NEW 
|  0 ); 
7225 SWIGINTERN PyObject 
*_wrap_new_IconBundleFromFile(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
7226   PyObject 
*resultobj 
= 0; 
7227   wxString 
*arg1 
= 0 ; 
7229   wxIconBundle 
*result 
= 0 ; 
7230   bool temp1 
= false ; 
7233   PyObject 
* obj0 
= 0 ; 
7234   PyObject 
* obj1 
= 0 ; 
7235   char *  kwnames
[] = { 
7236     (char *) "file",(char *) "type", NULL 
 
7239   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_IconBundleFromFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
7241     arg1 
= wxString_in_helper(obj0
); 
7242     if (arg1 
== NULL
) SWIG_fail
; 
7245   ecode2 
= SWIG_AsVal_long(obj1
, &val2
); 
7246   if (!SWIG_IsOK(ecode2
)) { 
7247     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_IconBundleFromFile" "', expected argument " "2"" of type '" "long""'"); 
7249   arg2 
= static_cast< long >(val2
); 
7251     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7252     result 
= (wxIconBundle 
*)new wxIconBundle((wxString 
const &)*arg1
,arg2
); 
7253     wxPyEndAllowThreads(__tstate
); 
7254     if (PyErr_Occurred()) SWIG_fail
; 
7256   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_OWN 
|  0 ); 
7271 SWIGINTERN PyObject 
*_wrap_new_IconBundleFromIcon(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
7272   PyObject 
*resultobj 
= 0; 
7274   wxIconBundle 
*result 
= 0 ; 
7277   PyObject 
* obj0 
= 0 ; 
7278   char *  kwnames
[] = { 
7279     (char *) "icon", NULL 
 
7282   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconBundleFromIcon",kwnames
,&obj0
)) SWIG_fail
; 
7283   res1 
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
,  0  | 0); 
7284   if (!SWIG_IsOK(res1
)) { 
7285     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconBundleFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");  
7288     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconBundleFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");  
7290   arg1 
= reinterpret_cast< wxIcon 
* >(argp1
); 
7292     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7293     result 
= (wxIconBundle 
*)new wxIconBundle((wxIcon 
const &)*arg1
); 
7294     wxPyEndAllowThreads(__tstate
); 
7295     if (PyErr_Occurred()) SWIG_fail
; 
7297   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_OWN 
|  0 ); 
7304 SWIGINTERN PyObject 
*_wrap_delete_IconBundle(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
7305   PyObject 
*resultobj 
= 0; 
7306   wxIconBundle 
*arg1 
= (wxIconBundle 
*) 0 ; 
7309   PyObject 
*swig_obj
[1] ; 
7311   if (!args
) SWIG_fail
; 
7313   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_DISOWN 
|  0 ); 
7314   if (!SWIG_IsOK(res1
)) { 
7315     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_IconBundle" "', expected argument " "1"" of type '" "wxIconBundle *""'");  
7317   arg1 
= reinterpret_cast< wxIconBundle 
* >(argp1
); 
7319     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7322     wxPyEndAllowThreads(__tstate
); 
7323     if (PyErr_Occurred()) SWIG_fail
; 
7325   resultobj 
= SWIG_Py_Void(); 
7332 SWIGINTERN PyObject 
*_wrap_IconBundle_AddIcon(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
7333   PyObject 
*resultobj 
= 0; 
7334   wxIconBundle 
*arg1 
= (wxIconBundle 
*) 0 ; 
7340   PyObject 
* obj0 
= 0 ; 
7341   PyObject 
* obj1 
= 0 ; 
7342   char *  kwnames
[] = { 
7343     (char *) "self",(char *) "icon", NULL 
 
7346   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_AddIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
7347   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 |  0 ); 
7348   if (!SWIG_IsOK(res1
)) { 
7349     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_AddIcon" "', expected argument " "1"" of type '" "wxIconBundle *""'");  
7351   arg1 
= reinterpret_cast< wxIconBundle 
* >(argp1
); 
7352   res2 
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
,  0  | 0); 
7353   if (!SWIG_IsOK(res2
)) { 
7354     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "IconBundle_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");  
7357     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "IconBundle_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");  
7359   arg2 
= reinterpret_cast< wxIcon 
* >(argp2
); 
7361     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7362     (arg1
)->AddIcon((wxIcon 
const &)*arg2
); 
7363     wxPyEndAllowThreads(__tstate
); 
7364     if (PyErr_Occurred()) SWIG_fail
; 
7366   resultobj 
= SWIG_Py_Void(); 
7373 SWIGINTERN PyObject 
*_wrap_IconBundle_AddIconFromFile(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
7374   PyObject 
*resultobj 
= 0; 
7375   wxIconBundle 
*arg1 
= (wxIconBundle 
*) 0 ; 
7376   wxString 
*arg2 
= 0 ; 
7380   bool temp2 
= false ; 
7383   PyObject 
* obj0 
= 0 ; 
7384   PyObject 
* obj1 
= 0 ; 
7385   PyObject 
* obj2 
= 0 ; 
7386   char *  kwnames
[] = { 
7387     (char *) "self",(char *) "file",(char *) "type", NULL 
 
7390   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IconBundle_AddIconFromFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
7391   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 |  0 ); 
7392   if (!SWIG_IsOK(res1
)) { 
7393     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_AddIconFromFile" "', expected argument " "1"" of type '" "wxIconBundle *""'");  
7395   arg1 
= reinterpret_cast< wxIconBundle 
* >(argp1
); 
7397     arg2 
= wxString_in_helper(obj1
); 
7398     if (arg2 
== NULL
) SWIG_fail
; 
7401   ecode3 
= SWIG_AsVal_long(obj2
, &val3
); 
7402   if (!SWIG_IsOK(ecode3
)) { 
7403     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "IconBundle_AddIconFromFile" "', expected argument " "3"" of type '" "long""'"); 
7405   arg3 
= static_cast< long >(val3
); 
7407     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7408     (arg1
)->AddIcon((wxString 
const &)*arg2
,arg3
); 
7409     wxPyEndAllowThreads(__tstate
); 
7410     if (PyErr_Occurred()) SWIG_fail
; 
7412   resultobj 
= SWIG_Py_Void(); 
7427 SWIGINTERN PyObject 
*_wrap_IconBundle_GetIcon(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
7428   PyObject 
*resultobj 
= 0; 
7429   wxIconBundle 
*arg1 
= (wxIconBundle 
*) 0 ; 
7431   wxIcon 
*result 
= 0 ; 
7435   PyObject 
* obj0 
= 0 ; 
7436   PyObject 
* obj1 
= 0 ; 
7437   char *  kwnames
[] = { 
7438     (char *) "self",(char *) "size", NULL 
 
7441   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_GetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
7442   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 |  0 ); 
7443   if (!SWIG_IsOK(res1
)) { 
7444     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_GetIcon" "', expected argument " "1"" of type '" "wxIconBundle const *""'");  
7446   arg1 
= reinterpret_cast< wxIconBundle 
* >(argp1
); 
7449     if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
; 
7452     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7454       wxIcon 
const &_result_ref 
= ((wxIconBundle 
const *)arg1
)->GetIcon((wxSize 
const &)*arg2
); 
7455       result 
= (wxIcon 
*) &_result_ref
; 
7457     wxPyEndAllowThreads(__tstate
); 
7458     if (PyErr_Occurred()) SWIG_fail
; 
7461     wxIcon
* resultptr 
= new wxIcon(*result
); 
7462     resultobj 
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxIcon
, 1); 
7470 SWIGINTERN PyObject 
*IconBundle_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
7472   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
7473   SWIG_TypeNewClientData(SWIGTYPE_p_wxIconBundle
, SWIG_NewClientData(obj
)); 
7474   return SWIG_Py_Void(); 
7477 SWIGINTERN PyObject 
*IconBundle_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
7478   return SWIG_Python_InitShadowInstance(args
); 
7481 SWIGINTERN PyObject 
*_wrap_new_Cursor(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
7482   PyObject 
*resultobj 
= 0; 
7483   wxString 
*arg1 
= 0 ; 
7485   int arg3 
= (int) 0 ; 
7486   int arg4 
= (int) 0 ; 
7487   wxCursor 
*result 
= 0 ; 
7488   bool temp1 
= false ; 
7495   PyObject 
* obj0 
= 0 ; 
7496   PyObject 
* obj1 
= 0 ; 
7497   PyObject 
* obj2 
= 0 ; 
7498   PyObject 
* obj3 
= 0 ; 
7499   char *  kwnames
[] = { 
7500     (char *) "cursorName",(char *) "type",(char *) "hotSpotX",(char *) "hotSpotY", NULL 
 
7503   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Cursor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
; 
7505     arg1 
= wxString_in_helper(obj0
); 
7506     if (arg1 
== NULL
) SWIG_fail
; 
7509   ecode2 
= SWIG_AsVal_long(obj1
, &val2
); 
7510   if (!SWIG_IsOK(ecode2
)) { 
7511     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Cursor" "', expected argument " "2"" of type '" "long""'"); 
7513   arg2 
= static_cast< long >(val2
); 
7515     ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
7516     if (!SWIG_IsOK(ecode3
)) { 
7517       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Cursor" "', expected argument " "3"" of type '" "int""'"); 
7519     arg3 
= static_cast< int >(val3
); 
7522     ecode4 
= SWIG_AsVal_int(obj3
, &val4
); 
7523     if (!SWIG_IsOK(ecode4
)) { 
7524       SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Cursor" "', expected argument " "4"" of type '" "int""'"); 
7526     arg4 
= static_cast< int >(val4
); 
7529     if (!wxPyCheckForApp()) SWIG_fail
; 
7530     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7531     result 
= (wxCursor 
*)new_wxCursor((wxString 
const &)*arg1
,arg2
,arg3
,arg4
); 
7532     wxPyEndAllowThreads(__tstate
); 
7533     if (PyErr_Occurred()) SWIG_fail
; 
7535   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_NEW 
|  0 ); 
7550 SWIGINTERN PyObject 
*_wrap_delete_Cursor(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
7551   PyObject 
*resultobj 
= 0; 
7552   wxCursor 
*arg1 
= (wxCursor 
*) 0 ; 
7555   PyObject 
*swig_obj
[1] ; 
7557   if (!args
) SWIG_fail
; 
7559   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, SWIG_POINTER_DISOWN 
|  0 ); 
7560   if (!SWIG_IsOK(res1
)) { 
7561     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Cursor" "', expected argument " "1"" of type '" "wxCursor *""'");  
7563   arg1 
= reinterpret_cast< wxCursor 
* >(argp1
); 
7565     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7568     wxPyEndAllowThreads(__tstate
); 
7569     if (PyErr_Occurred()) SWIG_fail
; 
7571   resultobj 
= SWIG_Py_Void(); 
7578 SWIGINTERN PyObject 
*_wrap_new_StockCursor(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
7579   PyObject 
*resultobj 
= 0; 
7581   wxCursor 
*result 
= 0 ; 
7584   PyObject 
* obj0 
= 0 ; 
7585   char *  kwnames
[] = { 
7589   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_StockCursor",kwnames
,&obj0
)) SWIG_fail
; 
7590   ecode1 
= SWIG_AsVal_int(obj0
, &val1
); 
7591   if (!SWIG_IsOK(ecode1
)) { 
7592     SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_StockCursor" "', expected argument " "1"" of type '" "int""'"); 
7594   arg1 
= static_cast< int >(val1
); 
7596     if (!wxPyCheckForApp()) SWIG_fail
; 
7597     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7598     result 
= (wxCursor 
*)new wxCursor(arg1
); 
7599     wxPyEndAllowThreads(__tstate
); 
7600     if (PyErr_Occurred()) SWIG_fail
; 
7602   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN 
|  0 ); 
7609 SWIGINTERN PyObject 
*_wrap_new_CursorFromImage(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
7610   PyObject 
*resultobj 
= 0; 
7612   wxCursor 
*result 
= 0 ; 
7615   PyObject 
* obj0 
= 0 ; 
7616   char *  kwnames
[] = { 
7617     (char *) "image", NULL 
 
7620   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CursorFromImage",kwnames
,&obj0
)) SWIG_fail
; 
7621   res1 
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage
,  0  | 0); 
7622   if (!SWIG_IsOK(res1
)) { 
7623     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CursorFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");  
7626     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CursorFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");  
7628   arg1 
= reinterpret_cast< wxImage 
* >(argp1
); 
7630     if (!wxPyCheckForApp()) SWIG_fail
; 
7631     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7632     result 
= (wxCursor 
*)new wxCursor((wxImage 
const &)*arg1
); 
7633     wxPyEndAllowThreads(__tstate
); 
7634     if (PyErr_Occurred()) SWIG_fail
; 
7636   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN 
|  0 ); 
7643 SWIGINTERN PyObject 
*_wrap_Cursor_Ok(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
7644   PyObject 
*resultobj 
= 0; 
7645   wxCursor 
*arg1 
= (wxCursor 
*) 0 ; 
7649   PyObject 
*swig_obj
[1] ; 
7651   if (!args
) SWIG_fail
; 
7653   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 |  0 ); 
7654   if (!SWIG_IsOK(res1
)) { 
7655     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_Ok" "', expected argument " "1"" of type '" "wxCursor *""'");  
7657   arg1 
= reinterpret_cast< wxCursor 
* >(argp1
); 
7659     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7660     result 
= (bool)(arg1
)->Ok(); 
7661     wxPyEndAllowThreads(__tstate
); 
7662     if (PyErr_Occurred()) SWIG_fail
; 
7665     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
7673 SWIGINTERN PyObject 
*Cursor_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
7675   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
7676   SWIG_TypeNewClientData(SWIGTYPE_p_wxCursor
, SWIG_NewClientData(obj
)); 
7677   return SWIG_Py_Void(); 
7680 SWIGINTERN PyObject 
*Cursor_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
7681   return SWIG_Python_InitShadowInstance(args
); 
7684 SWIGINTERN PyObject 
*_wrap_new_Region(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
7685   PyObject 
*resultobj 
= 0; 
7686   int arg1 
= (int) 0 ; 
7687   int arg2 
= (int) 0 ; 
7688   int arg3 
= (int) 0 ; 
7689   int arg4 
= (int) 0 ; 
7690   wxRegion 
*result 
= 0 ; 
7699   PyObject 
* obj0 
= 0 ; 
7700   PyObject 
* obj1 
= 0 ; 
7701   PyObject 
* obj2 
= 0 ; 
7702   PyObject 
* obj3 
= 0 ; 
7703   char *  kwnames
[] = { 
7704     (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL 
 
7707   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Region",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
; 
7709     ecode1 
= SWIG_AsVal_int(obj0
, &val1
); 
7710     if (!SWIG_IsOK(ecode1
)) { 
7711       SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Region" "', expected argument " "1"" of type '" "int""'"); 
7713     arg1 
= static_cast< int >(val1
); 
7716     ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
7717     if (!SWIG_IsOK(ecode2
)) { 
7718       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Region" "', expected argument " "2"" of type '" "int""'"); 
7720     arg2 
= static_cast< int >(val2
); 
7723     ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
7724     if (!SWIG_IsOK(ecode3
)) { 
7725       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Region" "', expected argument " "3"" of type '" "int""'"); 
7727     arg3 
= static_cast< int >(val3
); 
7730     ecode4 
= SWIG_AsVal_int(obj3
, &val4
); 
7731     if (!SWIG_IsOK(ecode4
)) { 
7732       SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Region" "', expected argument " "4"" of type '" "int""'"); 
7734     arg4 
= static_cast< int >(val4
); 
7737     if (!wxPyCheckForApp()) SWIG_fail
; 
7738     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7739     result 
= (wxRegion 
*)new wxRegion(arg1
,arg2
,arg3
,arg4
); 
7740     wxPyEndAllowThreads(__tstate
); 
7741     if (PyErr_Occurred()) SWIG_fail
; 
7743   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_NEW 
|  0 ); 
7750 SWIGINTERN PyObject 
*_wrap_new_RegionFromBitmap(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
7751   PyObject 
*resultobj 
= 0; 
7752   wxBitmap 
*arg1 
= 0 ; 
7753   wxRegion 
*result 
= 0 ; 
7756   PyObject 
* obj0 
= 0 ; 
7757   char *  kwnames
[] = { 
7758     (char *) "bmp", NULL 
 
7761   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionFromBitmap",kwnames
,&obj0
)) SWIG_fail
; 
7762   res1 
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
,  0  | 0); 
7763   if (!SWIG_IsOK(res1
)) { 
7764     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");  
7767     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");  
7769   arg1 
= reinterpret_cast< wxBitmap 
* >(argp1
); 
7771     if (!wxPyCheckForApp()) SWIG_fail
; 
7772     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7773     result 
= (wxRegion 
*)new wxRegion((wxBitmap 
const &)*arg1
); 
7774     wxPyEndAllowThreads(__tstate
); 
7775     if (PyErr_Occurred()) SWIG_fail
; 
7777   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN 
|  0 ); 
7784 SWIGINTERN PyObject 
*_wrap_new_RegionFromBitmapColour(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
7785   PyObject 
*resultobj 
= 0; 
7786   wxBitmap 
*arg1 
= 0 ; 
7787   wxColour 
*arg2 
= 0 ; 
7788   int arg3 
= (int) 0 ; 
7789   wxRegion 
*result 
= 0 ; 
7795   PyObject 
* obj0 
= 0 ; 
7796   PyObject 
* obj1 
= 0 ; 
7797   PyObject 
* obj2 
= 0 ; 
7798   char *  kwnames
[] = { 
7799     (char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL 
 
7802   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_RegionFromBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
7803   res1 
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
,  0  | 0); 
7804   if (!SWIG_IsOK(res1
)) { 
7805     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionFromBitmapColour" "', expected argument " "1"" of type '" "wxBitmap const &""'");  
7808     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionFromBitmapColour" "', expected argument " "1"" of type '" "wxBitmap const &""'");  
7810   arg1 
= reinterpret_cast< wxBitmap 
* >(argp1
); 
7813     if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
7816     ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
7817     if (!SWIG_IsOK(ecode3
)) { 
7818       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_RegionFromBitmapColour" "', expected argument " "3"" of type '" "int""'"); 
7820     arg3 
= static_cast< int >(val3
); 
7823     if (!wxPyCheckForApp()) SWIG_fail
; 
7824     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7825     result 
= (wxRegion 
*)new wxRegion((wxBitmap 
const &)*arg1
,(wxColour 
const &)*arg2
,arg3
); 
7826     wxPyEndAllowThreads(__tstate
); 
7827     if (PyErr_Occurred()) SWIG_fail
; 
7829   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN 
|  0 ); 
7836 SWIGINTERN PyObject 
*_wrap_new_RegionFromPoints(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
7837   PyObject 
*resultobj 
= 0; 
7839   wxPoint 
*arg2 
= (wxPoint 
*) 0 ; 
7840   int arg3 
= (int) wxWINDING_RULE 
; 
7841   wxRegion 
*result 
= 0 ; 
7844   PyObject 
* obj0 
= 0 ; 
7845   PyObject 
* obj1 
= 0 ; 
7846   char *  kwnames
[] = { 
7847     (char *) "points",(char *) "fillStyle", NULL 
 
7850   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_RegionFromPoints",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
7852     arg2 
= wxPoint_LIST_helper(obj0
, &arg1
); 
7853     if (arg2 
== NULL
) SWIG_fail
; 
7856     ecode3 
= SWIG_AsVal_int(obj1
, &val3
); 
7857     if (!SWIG_IsOK(ecode3
)) { 
7858       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_RegionFromPoints" "', expected argument " "3"" of type '" "int""'"); 
7860     arg3 
= static_cast< int >(val3
); 
7863     if (!wxPyCheckForApp()) SWIG_fail
; 
7864     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7865     result 
= (wxRegion 
*)new wxRegion(arg1
,arg2
,arg3
); 
7866     wxPyEndAllowThreads(__tstate
); 
7867     if (PyErr_Occurred()) SWIG_fail
; 
7869   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN 
|  0 ); 
7871     if (arg2
) delete [] arg2
; 
7876     if (arg2
) delete [] arg2
; 
7882 SWIGINTERN PyObject 
*_wrap_delete_Region(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
7883   PyObject 
*resultobj 
= 0; 
7884   wxRegion 
*arg1 
= (wxRegion 
*) 0 ; 
7887   PyObject 
*swig_obj
[1] ; 
7889   if (!args
) SWIG_fail
; 
7891   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, SWIG_POINTER_DISOWN 
|  0 ); 
7892   if (!SWIG_IsOK(res1
)) { 
7893     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Region" "', expected argument " "1"" of type '" "wxRegion *""'");  
7895   arg1 
= reinterpret_cast< wxRegion 
* >(argp1
); 
7897     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7900     wxPyEndAllowThreads(__tstate
); 
7901     if (PyErr_Occurred()) SWIG_fail
; 
7903   resultobj 
= SWIG_Py_Void(); 
7910 SWIGINTERN PyObject 
*_wrap_Region_Clear(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
7911   PyObject 
*resultobj 
= 0; 
7912   wxRegion 
*arg1 
= (wxRegion 
*) 0 ; 
7915   PyObject 
*swig_obj
[1] ; 
7917   if (!args
) SWIG_fail
; 
7919   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 |  0 ); 
7920   if (!SWIG_IsOK(res1
)) { 
7921     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Clear" "', expected argument " "1"" of type '" "wxRegion *""'");  
7923   arg1 
= reinterpret_cast< wxRegion 
* >(argp1
); 
7925     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7927     wxPyEndAllowThreads(__tstate
); 
7928     if (PyErr_Occurred()) SWIG_fail
; 
7930   resultobj 
= SWIG_Py_Void(); 
7937 SWIGINTERN PyObject 
*_wrap_Region_Offset(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
7938   PyObject 
*resultobj 
= 0; 
7939   wxRegion 
*arg1 
= (wxRegion 
*) 0 ; 
7949   PyObject 
* obj0 
= 0 ; 
7950   PyObject 
* obj1 
= 0 ; 
7951   PyObject 
* obj2 
= 0 ; 
7952   char *  kwnames
[] = { 
7953     (char *) "self",(char *) "x",(char *) "y", NULL 
 
7956   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Offset",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
7957   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 |  0 ); 
7958   if (!SWIG_IsOK(res1
)) { 
7959     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Offset" "', expected argument " "1"" of type '" "wxRegion *""'");  
7961   arg1 
= reinterpret_cast< wxRegion 
* >(argp1
); 
7962   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
7963   if (!SWIG_IsOK(ecode2
)) { 
7964     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Offset" "', expected argument " "2"" of type '" "int""'"); 
7966   arg2 
= static_cast< int >(val2
); 
7967   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
7968   if (!SWIG_IsOK(ecode3
)) { 
7969     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Offset" "', expected argument " "3"" of type '" "int""'"); 
7971   arg3 
= static_cast< int >(val3
); 
7973     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7974     result 
= (bool)(arg1
)->Offset(arg2
,arg3
); 
7975     wxPyEndAllowThreads(__tstate
); 
7976     if (PyErr_Occurred()) SWIG_fail
; 
7979     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
7987 SWIGINTERN PyObject 
*_wrap_Region_Contains(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
7988   PyObject 
*resultobj 
= 0; 
7989   wxRegion 
*arg1 
= (wxRegion 
*) 0 ; 
7992   wxRegionContain result
; 
7999   PyObject 
* obj0 
= 0 ; 
8000   PyObject 
* obj1 
= 0 ; 
8001   PyObject 
* obj2 
= 0 ; 
8002   char *  kwnames
[] = { 
8003     (char *) "self",(char *) "x",(char *) "y", NULL 
 
8006   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Contains",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
8007   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 |  0 ); 
8008   if (!SWIG_IsOK(res1
)) { 
8009     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Contains" "', expected argument " "1"" of type '" "wxRegion *""'");  
8011   arg1 
= reinterpret_cast< wxRegion 
* >(argp1
); 
8012   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
8013   if (!SWIG_IsOK(ecode2
)) { 
8014     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Contains" "', expected argument " "2"" of type '" "int""'"); 
8016   arg2 
= static_cast< int >(val2
); 
8017   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
8018   if (!SWIG_IsOK(ecode3
)) { 
8019     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Contains" "', expected argument " "3"" of type '" "int""'"); 
8021   arg3 
= static_cast< int >(val3
); 
8023     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8024     result 
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
); 
8025     wxPyEndAllowThreads(__tstate
); 
8026     if (PyErr_Occurred()) SWIG_fail
; 
8028   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
8035 SWIGINTERN PyObject 
*_wrap_Region_ContainsPoint(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
8036   PyObject 
*resultobj 
= 0; 
8037   wxRegion 
*arg1 
= (wxRegion 
*) 0 ; 
8039   wxRegionContain result
; 
8043   PyObject 
* obj0 
= 0 ; 
8044   PyObject 
* obj1 
= 0 ; 
8045   char *  kwnames
[] = { 
8046     (char *) "self",(char *) "pt", NULL 
 
8049   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
8050   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 |  0 ); 
8051   if (!SWIG_IsOK(res1
)) { 
8052     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsPoint" "', expected argument " "1"" of type '" "wxRegion *""'");  
8054   arg1 
= reinterpret_cast< wxRegion 
* >(argp1
); 
8057     if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
8060     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8061     result 
= (wxRegionContain
)(arg1
)->Contains((wxPoint 
const &)*arg2
); 
8062     wxPyEndAllowThreads(__tstate
); 
8063     if (PyErr_Occurred()) SWIG_fail
; 
8065   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
8072 SWIGINTERN PyObject 
*_wrap_Region_ContainsRect(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
8073   PyObject 
*resultobj 
= 0; 
8074   wxRegion 
*arg1 
= (wxRegion 
*) 0 ; 
8076   wxRegionContain result
; 
8080   PyObject 
* obj0 
= 0 ; 
8081   PyObject 
* obj1 
= 0 ; 
8082   char *  kwnames
[] = { 
8083     (char *) "self",(char *) "rect", NULL 
 
8086   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
8087   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 |  0 ); 
8088   if (!SWIG_IsOK(res1
)) { 
8089     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsRect" "', expected argument " "1"" of type '" "wxRegion *""'");  
8091   arg1 
= reinterpret_cast< wxRegion 
* >(argp1
); 
8094     if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
; 
8097     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8098     result 
= (wxRegionContain
)(arg1
)->Contains((wxRect 
const &)*arg2
); 
8099     wxPyEndAllowThreads(__tstate
); 
8100     if (PyErr_Occurred()) SWIG_fail
; 
8102   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
8109 SWIGINTERN PyObject 
*_wrap_Region_ContainsRectDim(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
8110   PyObject 
*resultobj 
= 0; 
8111   wxRegion 
*arg1 
= (wxRegion 
*) 0 ; 
8116   wxRegionContain result
; 
8127   PyObject 
* obj0 
= 0 ; 
8128   PyObject 
* obj1 
= 0 ; 
8129   PyObject 
* obj2 
= 0 ; 
8130   PyObject 
* obj3 
= 0 ; 
8131   PyObject 
* obj4 
= 0 ; 
8132   char *  kwnames
[] = { 
8133     (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL 
 
8136   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_ContainsRectDim",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
; 
8137   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 |  0 ); 
8138   if (!SWIG_IsOK(res1
)) { 
8139     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsRectDim" "', expected argument " "1"" of type '" "wxRegion *""'");  
8141   arg1 
= reinterpret_cast< wxRegion 
* >(argp1
); 
8142   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
8143   if (!SWIG_IsOK(ecode2
)) { 
8144     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_ContainsRectDim" "', expected argument " "2"" of type '" "int""'"); 
8146   arg2 
= static_cast< int >(val2
); 
8147   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
8148   if (!SWIG_IsOK(ecode3
)) { 
8149     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_ContainsRectDim" "', expected argument " "3"" of type '" "int""'"); 
8151   arg3 
= static_cast< int >(val3
); 
8152   ecode4 
= SWIG_AsVal_int(obj3
, &val4
); 
8153   if (!SWIG_IsOK(ecode4
)) { 
8154     SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_ContainsRectDim" "', expected argument " "4"" of type '" "int""'"); 
8156   arg4 
= static_cast< int >(val4
); 
8157   ecode5 
= SWIG_AsVal_int(obj4
, &val5
); 
8158   if (!SWIG_IsOK(ecode5
)) { 
8159     SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_ContainsRectDim" "', expected argument " "5"" of type '" "int""'"); 
8161   arg5 
= static_cast< int >(val5
); 
8163     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8164     result 
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
,arg4
,arg5
); 
8165     wxPyEndAllowThreads(__tstate
); 
8166     if (PyErr_Occurred()) SWIG_fail
; 
8168   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
8175 SWIGINTERN PyObject 
*_wrap_Region_GetBox(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
8176   PyObject 
*resultobj 
= 0; 
8177   wxRegion 
*arg1 
= (wxRegion 
*) 0 ; 
8181   PyObject 
*swig_obj
[1] ; 
8183   if (!args
) SWIG_fail
; 
8185   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 |  0 ); 
8186   if (!SWIG_IsOK(res1
)) { 
8187     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_GetBox" "', expected argument " "1"" of type '" "wxRegion *""'");  
8189   arg1 
= reinterpret_cast< wxRegion 
* >(argp1
); 
8191     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8192     result 
= (arg1
)->GetBox(); 
8193     wxPyEndAllowThreads(__tstate
); 
8194     if (PyErr_Occurred()) SWIG_fail
; 
8196   resultobj 
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN 
|  0 ); 
8203 SWIGINTERN PyObject 
*_wrap_Region_Intersect(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
8204   PyObject 
*resultobj 
= 0; 
8205   wxRegion 
*arg1 
= (wxRegion 
*) 0 ; 
8221   PyObject 
* obj0 
= 0 ; 
8222   PyObject 
* obj1 
= 0 ; 
8223   PyObject 
* obj2 
= 0 ; 
8224   PyObject 
* obj3 
= 0 ; 
8225   PyObject 
* obj4 
= 0 ; 
8226   char *  kwnames
[] = { 
8227     (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL 
 
8230   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Intersect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
; 
8231   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 |  0 ); 
8232   if (!SWIG_IsOK(res1
)) { 
8233     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Intersect" "', expected argument " "1"" of type '" "wxRegion *""'");  
8235   arg1 
= reinterpret_cast< wxRegion 
* >(argp1
); 
8236   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
8237   if (!SWIG_IsOK(ecode2
)) { 
8238     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Intersect" "', expected argument " "2"" of type '" "int""'"); 
8240   arg2 
= static_cast< int >(val2
); 
8241   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
8242   if (!SWIG_IsOK(ecode3
)) { 
8243     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Intersect" "', expected argument " "3"" of type '" "int""'"); 
8245   arg3 
= static_cast< int >(val3
); 
8246   ecode4 
= SWIG_AsVal_int(obj3
, &val4
); 
8247   if (!SWIG_IsOK(ecode4
)) { 
8248     SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Intersect" "', expected argument " "4"" of type '" "int""'"); 
8250   arg4 
= static_cast< int >(val4
); 
8251   ecode5 
= SWIG_AsVal_int(obj4
, &val5
); 
8252   if (!SWIG_IsOK(ecode5
)) { 
8253     SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Intersect" "', expected argument " "5"" of type '" "int""'"); 
8255   arg5 
= static_cast< int >(val5
); 
8257     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8258     result 
= (bool)(arg1
)->Intersect(arg2
,arg3
,arg4
,arg5
); 
8259     wxPyEndAllowThreads(__tstate
); 
8260     if (PyErr_Occurred()) SWIG_fail
; 
8263     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
8271 SWIGINTERN PyObject 
*_wrap_Region_IntersectRect(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
8272   PyObject 
*resultobj 
= 0; 
8273   wxRegion 
*arg1 
= (wxRegion 
*) 0 ; 
8279   PyObject 
* obj0 
= 0 ; 
8280   PyObject 
* obj1 
= 0 ; 
8281   char *  kwnames
[] = { 
8282     (char *) "self",(char *) "rect", NULL 
 
8285   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
8286   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 |  0 ); 
8287   if (!SWIG_IsOK(res1
)) { 
8288     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IntersectRect" "', expected argument " "1"" of type '" "wxRegion *""'");  
8290   arg1 
= reinterpret_cast< wxRegion 
* >(argp1
); 
8293     if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
; 
8296     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8297     result 
= (bool)(arg1
)->Intersect((wxRect 
const &)*arg2
); 
8298     wxPyEndAllowThreads(__tstate
); 
8299     if (PyErr_Occurred()) SWIG_fail
; 
8302     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
8310 SWIGINTERN PyObject 
*_wrap_Region_IntersectRegion(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
8311   PyObject 
*resultobj 
= 0; 
8312   wxRegion 
*arg1 
= (wxRegion 
*) 0 ; 
8313   wxRegion 
*arg2 
= 0 ; 
8319   PyObject 
* obj0 
= 0 ; 
8320   PyObject 
* obj1 
= 0 ; 
8321   char *  kwnames
[] = { 
8322     (char *) "self",(char *) "region", NULL 
 
8325   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
8326   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 |  0 ); 
8327   if (!SWIG_IsOK(res1
)) { 
8328     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IntersectRegion" "', expected argument " "1"" of type '" "wxRegion *""'");  
8330   arg1 
= reinterpret_cast< wxRegion 
* >(argp1
); 
8331   res2 
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
,  0  | 0); 
8332   if (!SWIG_IsOK(res2
)) { 
8333     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_IntersectRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");  
8336     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_IntersectRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");  
8338   arg2 
= reinterpret_cast< wxRegion 
* >(argp2
); 
8340     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8341     result 
= (bool)(arg1
)->Intersect((wxRegion 
const &)*arg2
); 
8342     wxPyEndAllowThreads(__tstate
); 
8343     if (PyErr_Occurred()) SWIG_fail
; 
8346     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
8354 SWIGINTERN PyObject 
*_wrap_Region_IsEmpty(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
8355   PyObject 
*resultobj 
= 0; 
8356   wxRegion 
*arg1 
= (wxRegion 
*) 0 ; 
8360   PyObject 
*swig_obj
[1] ; 
8362   if (!args
) SWIG_fail
; 
8364   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 |  0 ); 
8365   if (!SWIG_IsOK(res1
)) { 
8366     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IsEmpty" "', expected argument " "1"" of type '" "wxRegion *""'");  
8368   arg1 
= reinterpret_cast< wxRegion 
* >(argp1
); 
8370     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8371     result 
= (bool)(arg1
)->IsEmpty(); 
8372     wxPyEndAllowThreads(__tstate
); 
8373     if (PyErr_Occurred()) SWIG_fail
; 
8376     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
8384 SWIGINTERN PyObject 
*_wrap_Region_Union(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
8385   PyObject 
*resultobj 
= 0; 
8386   wxRegion 
*arg1 
= (wxRegion 
*) 0 ; 
8402   PyObject 
* obj0 
= 0 ; 
8403   PyObject 
* obj1 
= 0 ; 
8404   PyObject 
* obj2 
= 0 ; 
8405   PyObject 
* obj3 
= 0 ; 
8406   PyObject 
* obj4 
= 0 ; 
8407   char *  kwnames
[] = { 
8408     (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL 
 
8411   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Union",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
; 
8412   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 |  0 ); 
8413   if (!SWIG_IsOK(res1
)) { 
8414     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Union" "', expected argument " "1"" of type '" "wxRegion *""'");  
8416   arg1 
= reinterpret_cast< wxRegion 
* >(argp1
); 
8417   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
8418   if (!SWIG_IsOK(ecode2
)) { 
8419     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Union" "', expected argument " "2"" of type '" "int""'"); 
8421   arg2 
= static_cast< int >(val2
); 
8422   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
8423   if (!SWIG_IsOK(ecode3
)) { 
8424     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Union" "', expected argument " "3"" of type '" "int""'"); 
8426   arg3 
= static_cast< int >(val3
); 
8427   ecode4 
= SWIG_AsVal_int(obj3
, &val4
); 
8428   if (!SWIG_IsOK(ecode4
)) { 
8429     SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Union" "', expected argument " "4"" of type '" "int""'"); 
8431   arg4 
= static_cast< int >(val4
); 
8432   ecode5 
= SWIG_AsVal_int(obj4
, &val5
); 
8433   if (!SWIG_IsOK(ecode5
)) { 
8434     SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Union" "', expected argument " "5"" of type '" "int""'"); 
8436   arg5 
= static_cast< int >(val5
); 
8438     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8439     result 
= (bool)(arg1
)->Union(arg2
,arg3
,arg4
,arg5
); 
8440     wxPyEndAllowThreads(__tstate
); 
8441     if (PyErr_Occurred()) SWIG_fail
; 
8444     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
8452 SWIGINTERN PyObject 
*_wrap_Region_UnionRect(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
8453   PyObject 
*resultobj 
= 0; 
8454   wxRegion 
*arg1 
= (wxRegion 
*) 0 ; 
8460   PyObject 
* obj0 
= 0 ; 
8461   PyObject 
* obj1 
= 0 ; 
8462   char *  kwnames
[] = { 
8463     (char *) "self",(char *) "rect", NULL 
 
8466   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
8467   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 |  0 ); 
8468   if (!SWIG_IsOK(res1
)) { 
8469     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionRect" "', expected argument " "1"" of type '" "wxRegion *""'");  
8471   arg1 
= reinterpret_cast< wxRegion 
* >(argp1
); 
8474     if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
; 
8477     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8478     result 
= (bool)(arg1
)->Union((wxRect 
const &)*arg2
); 
8479     wxPyEndAllowThreads(__tstate
); 
8480     if (PyErr_Occurred()) SWIG_fail
; 
8483     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
8491 SWIGINTERN PyObject 
*_wrap_Region_UnionRegion(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
8492   PyObject 
*resultobj 
= 0; 
8493   wxRegion 
*arg1 
= (wxRegion 
*) 0 ; 
8494   wxRegion 
*arg2 
= 0 ; 
8500   PyObject 
* obj0 
= 0 ; 
8501   PyObject 
* obj1 
= 0 ; 
8502   char *  kwnames
[] = { 
8503     (char *) "self",(char *) "region", NULL 
 
8506   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
8507   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 |  0 ); 
8508   if (!SWIG_IsOK(res1
)) { 
8509     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionRegion" "', expected argument " "1"" of type '" "wxRegion *""'");  
8511   arg1 
= reinterpret_cast< wxRegion 
* >(argp1
); 
8512   res2 
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
,  0  | 0); 
8513   if (!SWIG_IsOK(res2
)) { 
8514     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");  
8517     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");  
8519   arg2 
= reinterpret_cast< wxRegion 
* >(argp2
); 
8521     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8522     result 
= (bool)(arg1
)->Union((wxRegion 
const &)*arg2
); 
8523     wxPyEndAllowThreads(__tstate
); 
8524     if (PyErr_Occurred()) SWIG_fail
; 
8527     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
8535 SWIGINTERN PyObject 
*_wrap_Region_Subtract(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
8536   PyObject 
*resultobj 
= 0; 
8537   wxRegion 
*arg1 
= (wxRegion 
*) 0 ; 
8553   PyObject 
* obj0 
= 0 ; 
8554   PyObject 
* obj1 
= 0 ; 
8555   PyObject 
* obj2 
= 0 ; 
8556   PyObject 
* obj3 
= 0 ; 
8557   PyObject 
* obj4 
= 0 ; 
8558   char *  kwnames
[] = { 
8559     (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL 
 
8562   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Subtract",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
; 
8563   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 |  0 ); 
8564   if (!SWIG_IsOK(res1
)) { 
8565     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Subtract" "', expected argument " "1"" of type '" "wxRegion *""'");  
8567   arg1 
= reinterpret_cast< wxRegion 
* >(argp1
); 
8568   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
8569   if (!SWIG_IsOK(ecode2
)) { 
8570     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Subtract" "', expected argument " "2"" of type '" "int""'"); 
8572   arg2 
= static_cast< int >(val2
); 
8573   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
8574   if (!SWIG_IsOK(ecode3
)) { 
8575     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Subtract" "', expected argument " "3"" of type '" "int""'"); 
8577   arg3 
= static_cast< int >(val3
); 
8578   ecode4 
= SWIG_AsVal_int(obj3
, &val4
); 
8579   if (!SWIG_IsOK(ecode4
)) { 
8580     SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Subtract" "', expected argument " "4"" of type '" "int""'"); 
8582   arg4 
= static_cast< int >(val4
); 
8583   ecode5 
= SWIG_AsVal_int(obj4
, &val5
); 
8584   if (!SWIG_IsOK(ecode5
)) { 
8585     SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Subtract" "', expected argument " "5"" of type '" "int""'"); 
8587   arg5 
= static_cast< int >(val5
); 
8589     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8590     result 
= (bool)(arg1
)->Subtract(arg2
,arg3
,arg4
,arg5
); 
8591     wxPyEndAllowThreads(__tstate
); 
8592     if (PyErr_Occurred()) SWIG_fail
; 
8595     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
8603 SWIGINTERN PyObject 
*_wrap_Region_SubtractRect(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
8604   PyObject 
*resultobj 
= 0; 
8605   wxRegion 
*arg1 
= (wxRegion 
*) 0 ; 
8611   PyObject 
* obj0 
= 0 ; 
8612   PyObject 
* obj1 
= 0 ; 
8613   char *  kwnames
[] = { 
8614     (char *) "self",(char *) "rect", NULL 
 
8617   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
8618   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 |  0 ); 
8619   if (!SWIG_IsOK(res1
)) { 
8620     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_SubtractRect" "', expected argument " "1"" of type '" "wxRegion *""'");  
8622   arg1 
= reinterpret_cast< wxRegion 
* >(argp1
); 
8625     if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
; 
8628     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8629     result 
= (bool)(arg1
)->Subtract((wxRect 
const &)*arg2
); 
8630     wxPyEndAllowThreads(__tstate
); 
8631     if (PyErr_Occurred()) SWIG_fail
; 
8634     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
8642 SWIGINTERN PyObject 
*_wrap_Region_SubtractRegion(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
8643   PyObject 
*resultobj 
= 0; 
8644   wxRegion 
*arg1 
= (wxRegion 
*) 0 ; 
8645   wxRegion 
*arg2 
= 0 ; 
8651   PyObject 
* obj0 
= 0 ; 
8652   PyObject 
* obj1 
= 0 ; 
8653   char *  kwnames
[] = { 
8654     (char *) "self",(char *) "region", NULL 
 
8657   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
8658   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 |  0 ); 
8659   if (!SWIG_IsOK(res1
)) { 
8660     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_SubtractRegion" "', expected argument " "1"" of type '" "wxRegion *""'");  
8662   arg1 
= reinterpret_cast< wxRegion 
* >(argp1
); 
8663   res2 
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
,  0  | 0); 
8664   if (!SWIG_IsOK(res2
)) { 
8665     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_SubtractRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");  
8668     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_SubtractRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");  
8670   arg2 
= reinterpret_cast< wxRegion 
* >(argp2
); 
8672     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8673     result 
= (bool)(arg1
)->Subtract((wxRegion 
const &)*arg2
); 
8674     wxPyEndAllowThreads(__tstate
); 
8675     if (PyErr_Occurred()) SWIG_fail
; 
8678     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
8686 SWIGINTERN PyObject 
*_wrap_Region_Xor(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
8687   PyObject 
*resultobj 
= 0; 
8688   wxRegion 
*arg1 
= (wxRegion 
*) 0 ; 
8704   PyObject 
* obj0 
= 0 ; 
8705   PyObject 
* obj1 
= 0 ; 
8706   PyObject 
* obj2 
= 0 ; 
8707   PyObject 
* obj3 
= 0 ; 
8708   PyObject 
* obj4 
= 0 ; 
8709   char *  kwnames
[] = { 
8710     (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL 
 
8713   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Xor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
; 
8714   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 |  0 ); 
8715   if (!SWIG_IsOK(res1
)) { 
8716     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Xor" "', expected argument " "1"" of type '" "wxRegion *""'");  
8718   arg1 
= reinterpret_cast< wxRegion 
* >(argp1
); 
8719   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
8720   if (!SWIG_IsOK(ecode2
)) { 
8721     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Xor" "', expected argument " "2"" of type '" "int""'"); 
8723   arg2 
= static_cast< int >(val2
); 
8724   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
8725   if (!SWIG_IsOK(ecode3
)) { 
8726     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Xor" "', expected argument " "3"" of type '" "int""'"); 
8728   arg3 
= static_cast< int >(val3
); 
8729   ecode4 
= SWIG_AsVal_int(obj3
, &val4
); 
8730   if (!SWIG_IsOK(ecode4
)) { 
8731     SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Xor" "', expected argument " "4"" of type '" "int""'"); 
8733   arg4 
= static_cast< int >(val4
); 
8734   ecode5 
= SWIG_AsVal_int(obj4
, &val5
); 
8735   if (!SWIG_IsOK(ecode5
)) { 
8736     SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Xor" "', expected argument " "5"" of type '" "int""'"); 
8738   arg5 
= static_cast< int >(val5
); 
8740     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8741     result 
= (bool)(arg1
)->Xor(arg2
,arg3
,arg4
,arg5
); 
8742     wxPyEndAllowThreads(__tstate
); 
8743     if (PyErr_Occurred()) SWIG_fail
; 
8746     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
8754 SWIGINTERN PyObject 
*_wrap_Region_XorRect(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
8755   PyObject 
*resultobj 
= 0; 
8756   wxRegion 
*arg1 
= (wxRegion 
*) 0 ; 
8762   PyObject 
* obj0 
= 0 ; 
8763   PyObject 
* obj1 
= 0 ; 
8764   char *  kwnames
[] = { 
8765     (char *) "self",(char *) "rect", NULL 
 
8768   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
8769   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 |  0 ); 
8770   if (!SWIG_IsOK(res1
)) { 
8771     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_XorRect" "', expected argument " "1"" of type '" "wxRegion *""'");  
8773   arg1 
= reinterpret_cast< wxRegion 
* >(argp1
); 
8776     if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
; 
8779     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8780     result 
= (bool)(arg1
)->Xor((wxRect 
const &)*arg2
); 
8781     wxPyEndAllowThreads(__tstate
); 
8782     if (PyErr_Occurred()) SWIG_fail
; 
8785     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
8793 SWIGINTERN PyObject 
*_wrap_Region_XorRegion(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
8794   PyObject 
*resultobj 
= 0; 
8795   wxRegion 
*arg1 
= (wxRegion 
*) 0 ; 
8796   wxRegion 
*arg2 
= 0 ; 
8802   PyObject 
* obj0 
= 0 ; 
8803   PyObject 
* obj1 
= 0 ; 
8804   char *  kwnames
[] = { 
8805     (char *) "self",(char *) "region", NULL 
 
8808   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
8809   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 |  0 ); 
8810   if (!SWIG_IsOK(res1
)) { 
8811     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_XorRegion" "', expected argument " "1"" of type '" "wxRegion *""'");  
8813   arg1 
= reinterpret_cast< wxRegion 
* >(argp1
); 
8814   res2 
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
,  0  | 0); 
8815   if (!SWIG_IsOK(res2
)) { 
8816     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_XorRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");  
8819     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_XorRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");  
8821   arg2 
= reinterpret_cast< wxRegion 
* >(argp2
); 
8823     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8824     result 
= (bool)(arg1
)->Xor((wxRegion 
const &)*arg2
); 
8825     wxPyEndAllowThreads(__tstate
); 
8826     if (PyErr_Occurred()) SWIG_fail
; 
8829     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
8837 SWIGINTERN PyObject 
*_wrap_Region_ConvertToBitmap(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
8838   PyObject 
*resultobj 
= 0; 
8839   wxRegion 
*arg1 
= (wxRegion 
*) 0 ; 
8840   SwigValueWrapper
<wxBitmap 
> result
; 
8843   PyObject 
*swig_obj
[1] ; 
8845   if (!args
) SWIG_fail
; 
8847   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 |  0 ); 
8848   if (!SWIG_IsOK(res1
)) { 
8849     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ConvertToBitmap" "', expected argument " "1"" of type '" "wxRegion *""'");  
8851   arg1 
= reinterpret_cast< wxRegion 
* >(argp1
); 
8853     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8854     result 
= (arg1
)->ConvertToBitmap(); 
8855     wxPyEndAllowThreads(__tstate
); 
8856     if (PyErr_Occurred()) SWIG_fail
; 
8858   resultobj 
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN 
|  0 ); 
8865 SWIGINTERN PyObject 
*_wrap_Region_UnionBitmap(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
8866   PyObject 
*resultobj 
= 0; 
8867   wxRegion 
*arg1 
= (wxRegion 
*) 0 ; 
8868   wxBitmap 
*arg2 
= 0 ; 
8874   PyObject 
* obj0 
= 0 ; 
8875   PyObject 
* obj1 
= 0 ; 
8876   char *  kwnames
[] = { 
8877     (char *) "self",(char *) "bmp", NULL 
 
8880   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
8881   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 |  0 ); 
8882   if (!SWIG_IsOK(res1
)) { 
8883     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionBitmap" "', expected argument " "1"" of type '" "wxRegion *""'");  
8885   arg1 
= reinterpret_cast< wxRegion 
* >(argp1
); 
8886   res2 
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
,  0  | 0); 
8887   if (!SWIG_IsOK(res2
)) { 
8888     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");  
8891     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");  
8893   arg2 
= reinterpret_cast< wxBitmap 
* >(argp2
); 
8895     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8896     result 
= (bool)(arg1
)->Union((wxBitmap 
const &)*arg2
); 
8897     wxPyEndAllowThreads(__tstate
); 
8898     if (PyErr_Occurred()) SWIG_fail
; 
8901     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
8909 SWIGINTERN PyObject 
*_wrap_Region_UnionBitmapColour(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
8910   PyObject 
*resultobj 
= 0; 
8911   wxRegion 
*arg1 
= (wxRegion 
*) 0 ; 
8912   wxBitmap 
*arg2 
= 0 ; 
8913   wxColour 
*arg3 
= 0 ; 
8914   int arg4 
= (int) 0 ; 
8923   PyObject 
* obj0 
= 0 ; 
8924   PyObject 
* obj1 
= 0 ; 
8925   PyObject 
* obj2 
= 0 ; 
8926   PyObject 
* obj3 
= 0 ; 
8927   char *  kwnames
[] = { 
8928     (char *) "self",(char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL 
 
8931   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Region_UnionBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
; 
8932   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 |  0 ); 
8933   if (!SWIG_IsOK(res1
)) { 
8934     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionBitmapColour" "', expected argument " "1"" of type '" "wxRegion *""'");  
8936   arg1 
= reinterpret_cast< wxRegion 
* >(argp1
); 
8937   res2 
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
,  0  | 0); 
8938   if (!SWIG_IsOK(res2
)) { 
8939     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionBitmapColour" "', expected argument " "2"" of type '" "wxBitmap const &""'");  
8942     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionBitmapColour" "', expected argument " "2"" of type '" "wxBitmap const &""'");  
8944   arg2 
= reinterpret_cast< wxBitmap 
* >(argp2
); 
8947     if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
; 
8950     ecode4 
= SWIG_AsVal_int(obj3
, &val4
); 
8951     if (!SWIG_IsOK(ecode4
)) { 
8952       SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_UnionBitmapColour" "', expected argument " "4"" of type '" "int""'"); 
8954     arg4 
= static_cast< int >(val4
); 
8957     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8958     result 
= (bool)(arg1
)->Union((wxBitmap 
const &)*arg2
,(wxColour 
const &)*arg3
,arg4
); 
8959     wxPyEndAllowThreads(__tstate
); 
8960     if (PyErr_Occurred()) SWIG_fail
; 
8963     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
8971 SWIGINTERN PyObject 
*Region_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
8973   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
8974   SWIG_TypeNewClientData(SWIGTYPE_p_wxRegion
, SWIG_NewClientData(obj
)); 
8975   return SWIG_Py_Void(); 
8978 SWIGINTERN PyObject 
*Region_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
8979   return SWIG_Python_InitShadowInstance(args
); 
8982 SWIGINTERN PyObject 
*_wrap_new_RegionIterator(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
8983   PyObject 
*resultobj 
= 0; 
8984   wxRegion 
*arg1 
= 0 ; 
8985   wxRegionIterator 
*result 
= 0 ; 
8988   PyObject 
* obj0 
= 0 ; 
8989   char *  kwnames
[] = { 
8990     (char *) "region", NULL 
 
8993   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionIterator",kwnames
,&obj0
)) SWIG_fail
; 
8994   res1 
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxRegion
,  0  | 0); 
8995   if (!SWIG_IsOK(res1
)) { 
8996     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionIterator" "', expected argument " "1"" of type '" "wxRegion const &""'");  
8999     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionIterator" "', expected argument " "1"" of type '" "wxRegion const &""'");  
9001   arg1 
= reinterpret_cast< wxRegion 
* >(argp1
); 
9003     if (!wxPyCheckForApp()) SWIG_fail
; 
9004     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9005     result 
= (wxRegionIterator 
*)new wxRegionIterator((wxRegion 
const &)*arg1
); 
9006     wxPyEndAllowThreads(__tstate
); 
9007     if (PyErr_Occurred()) SWIG_fail
; 
9009   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_NEW 
|  0 ); 
9016 SWIGINTERN PyObject 
*_wrap_delete_RegionIterator(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
9017   PyObject 
*resultobj 
= 0; 
9018   wxRegionIterator 
*arg1 
= (wxRegionIterator 
*) 0 ; 
9021   PyObject 
*swig_obj
[1] ; 
9023   if (!args
) SWIG_fail
; 
9025   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_DISOWN 
|  0 ); 
9026   if (!SWIG_IsOK(res1
)) { 
9027     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RegionIterator" "', expected argument " "1"" of type '" "wxRegionIterator *""'");  
9029   arg1 
= reinterpret_cast< wxRegionIterator 
* >(argp1
); 
9031     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9034     wxPyEndAllowThreads(__tstate
); 
9035     if (PyErr_Occurred()) SWIG_fail
; 
9037   resultobj 
= SWIG_Py_Void(); 
9044 SWIGINTERN PyObject 
*_wrap_RegionIterator_GetX(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
9045   PyObject 
*resultobj 
= 0; 
9046   wxRegionIterator 
*arg1 
= (wxRegionIterator 
*) 0 ; 
9050   PyObject 
*swig_obj
[1] ; 
9052   if (!args
) SWIG_fail
; 
9054   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 |  0 ); 
9055   if (!SWIG_IsOK(res1
)) { 
9056     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetX" "', expected argument " "1"" of type '" "wxRegionIterator *""'");  
9058   arg1 
= reinterpret_cast< wxRegionIterator 
* >(argp1
); 
9060     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9061     result 
= (int)(arg1
)->GetX(); 
9062     wxPyEndAllowThreads(__tstate
); 
9063     if (PyErr_Occurred()) SWIG_fail
; 
9065   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
9072 SWIGINTERN PyObject 
*_wrap_RegionIterator_GetY(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
9073   PyObject 
*resultobj 
= 0; 
9074   wxRegionIterator 
*arg1 
= (wxRegionIterator 
*) 0 ; 
9078   PyObject 
*swig_obj
[1] ; 
9080   if (!args
) SWIG_fail
; 
9082   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 |  0 ); 
9083   if (!SWIG_IsOK(res1
)) { 
9084     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetY" "', expected argument " "1"" of type '" "wxRegionIterator *""'");  
9086   arg1 
= reinterpret_cast< wxRegionIterator 
* >(argp1
); 
9088     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9089     result 
= (int)(arg1
)->GetY(); 
9090     wxPyEndAllowThreads(__tstate
); 
9091     if (PyErr_Occurred()) SWIG_fail
; 
9093   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
9100 SWIGINTERN PyObject 
*_wrap_RegionIterator_GetW(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
9101   PyObject 
*resultobj 
= 0; 
9102   wxRegionIterator 
*arg1 
= (wxRegionIterator 
*) 0 ; 
9106   PyObject 
*swig_obj
[1] ; 
9108   if (!args
) SWIG_fail
; 
9110   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 |  0 ); 
9111   if (!SWIG_IsOK(res1
)) { 
9112     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetW" "', expected argument " "1"" of type '" "wxRegionIterator *""'");  
9114   arg1 
= reinterpret_cast< wxRegionIterator 
* >(argp1
); 
9116     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9117     result 
= (int)(arg1
)->GetW(); 
9118     wxPyEndAllowThreads(__tstate
); 
9119     if (PyErr_Occurred()) SWIG_fail
; 
9121   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
9128 SWIGINTERN PyObject 
*_wrap_RegionIterator_GetWidth(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
9129   PyObject 
*resultobj 
= 0; 
9130   wxRegionIterator 
*arg1 
= (wxRegionIterator 
*) 0 ; 
9134   PyObject 
*swig_obj
[1] ; 
9136   if (!args
) SWIG_fail
; 
9138   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 |  0 ); 
9139   if (!SWIG_IsOK(res1
)) { 
9140     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetWidth" "', expected argument " "1"" of type '" "wxRegionIterator *""'");  
9142   arg1 
= reinterpret_cast< wxRegionIterator 
* >(argp1
); 
9144     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9145     result 
= (int)(arg1
)->GetWidth(); 
9146     wxPyEndAllowThreads(__tstate
); 
9147     if (PyErr_Occurred()) SWIG_fail
; 
9149   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
9156 SWIGINTERN PyObject 
*_wrap_RegionIterator_GetH(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
9157   PyObject 
*resultobj 
= 0; 
9158   wxRegionIterator 
*arg1 
= (wxRegionIterator 
*) 0 ; 
9162   PyObject 
*swig_obj
[1] ; 
9164   if (!args
) SWIG_fail
; 
9166   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 |  0 ); 
9167   if (!SWIG_IsOK(res1
)) { 
9168     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetH" "', expected argument " "1"" of type '" "wxRegionIterator *""'");  
9170   arg1 
= reinterpret_cast< wxRegionIterator 
* >(argp1
); 
9172     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9173     result 
= (int)(arg1
)->GetH(); 
9174     wxPyEndAllowThreads(__tstate
); 
9175     if (PyErr_Occurred()) SWIG_fail
; 
9177   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
9184 SWIGINTERN PyObject 
*_wrap_RegionIterator_GetHeight(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
9185   PyObject 
*resultobj 
= 0; 
9186   wxRegionIterator 
*arg1 
= (wxRegionIterator 
*) 0 ; 
9190   PyObject 
*swig_obj
[1] ; 
9192   if (!args
) SWIG_fail
; 
9194   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 |  0 ); 
9195   if (!SWIG_IsOK(res1
)) { 
9196     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetHeight" "', expected argument " "1"" of type '" "wxRegionIterator *""'");  
9198   arg1 
= reinterpret_cast< wxRegionIterator 
* >(argp1
); 
9200     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9201     result 
= (int)(arg1
)->GetHeight(); 
9202     wxPyEndAllowThreads(__tstate
); 
9203     if (PyErr_Occurred()) SWIG_fail
; 
9205   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
9212 SWIGINTERN PyObject 
*_wrap_RegionIterator_GetRect(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
9213   PyObject 
*resultobj 
= 0; 
9214   wxRegionIterator 
*arg1 
= (wxRegionIterator 
*) 0 ; 
9218   PyObject 
*swig_obj
[1] ; 
9220   if (!args
) SWIG_fail
; 
9222   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 |  0 ); 
9223   if (!SWIG_IsOK(res1
)) { 
9224     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetRect" "', expected argument " "1"" of type '" "wxRegionIterator *""'");  
9226   arg1 
= reinterpret_cast< wxRegionIterator 
* >(argp1
); 
9228     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9229     result 
= (arg1
)->GetRect(); 
9230     wxPyEndAllowThreads(__tstate
); 
9231     if (PyErr_Occurred()) SWIG_fail
; 
9233   resultobj 
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN 
|  0 ); 
9240 SWIGINTERN PyObject 
*_wrap_RegionIterator_HaveRects(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
9241   PyObject 
*resultobj 
= 0; 
9242   wxRegionIterator 
*arg1 
= (wxRegionIterator 
*) 0 ; 
9246   PyObject 
*swig_obj
[1] ; 
9248   if (!args
) SWIG_fail
; 
9250   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 |  0 ); 
9251   if (!SWIG_IsOK(res1
)) { 
9252     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_HaveRects" "', expected argument " "1"" of type '" "wxRegionIterator *""'");  
9254   arg1 
= reinterpret_cast< wxRegionIterator 
* >(argp1
); 
9256     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9257     result 
= (bool)(arg1
)->HaveRects(); 
9258     wxPyEndAllowThreads(__tstate
); 
9259     if (PyErr_Occurred()) SWIG_fail
; 
9262     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
9270 SWIGINTERN PyObject 
*_wrap_RegionIterator_Reset(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
9271   PyObject 
*resultobj 
= 0; 
9272   wxRegionIterator 
*arg1 
= (wxRegionIterator 
*) 0 ; 
9275   PyObject 
*swig_obj
[1] ; 
9277   if (!args
) SWIG_fail
; 
9279   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 |  0 ); 
9280   if (!SWIG_IsOK(res1
)) { 
9281     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_Reset" "', expected argument " "1"" of type '" "wxRegionIterator *""'");  
9283   arg1 
= reinterpret_cast< wxRegionIterator 
* >(argp1
); 
9285     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9287     wxPyEndAllowThreads(__tstate
); 
9288     if (PyErr_Occurred()) SWIG_fail
; 
9290   resultobj 
= SWIG_Py_Void(); 
9297 SWIGINTERN PyObject 
*_wrap_RegionIterator_Next(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
9298   PyObject 
*resultobj 
= 0; 
9299   wxRegionIterator 
*arg1 
= (wxRegionIterator 
*) 0 ; 
9302   PyObject 
*swig_obj
[1] ; 
9304   if (!args
) SWIG_fail
; 
9306   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 |  0 ); 
9307   if (!SWIG_IsOK(res1
)) { 
9308     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_Next" "', expected argument " "1"" of type '" "wxRegionIterator *""'");  
9310   arg1 
= reinterpret_cast< wxRegionIterator 
* >(argp1
); 
9312     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9313     wxRegionIterator_Next(arg1
); 
9314     wxPyEndAllowThreads(__tstate
); 
9315     if (PyErr_Occurred()) SWIG_fail
; 
9317   resultobj 
= SWIG_Py_Void(); 
9324 SWIGINTERN PyObject 
*_wrap_RegionIterator___nonzero__(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
9325   PyObject 
*resultobj 
= 0; 
9326   wxRegionIterator 
*arg1 
= (wxRegionIterator 
*) 0 ; 
9330   PyObject 
*swig_obj
[1] ; 
9332   if (!args
) SWIG_fail
; 
9334   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 |  0 ); 
9335   if (!SWIG_IsOK(res1
)) { 
9336     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator___nonzero__" "', expected argument " "1"" of type '" "wxRegionIterator *""'");  
9338   arg1 
= reinterpret_cast< wxRegionIterator 
* >(argp1
); 
9340     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9341     result 
= (bool)wxRegionIterator___nonzero__(arg1
); 
9342     wxPyEndAllowThreads(__tstate
); 
9343     if (PyErr_Occurred()) SWIG_fail
; 
9346     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
9354 SWIGINTERN PyObject 
*RegionIterator_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
9356   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
9357   SWIG_TypeNewClientData(SWIGTYPE_p_wxRegionIterator
, SWIG_NewClientData(obj
)); 
9358   return SWIG_Py_Void(); 
9361 SWIGINTERN PyObject 
*RegionIterator_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
9362   return SWIG_Python_InitShadowInstance(args
); 
9365 SWIGINTERN PyObject 
*_wrap_new_NativeFontInfo(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
9366   PyObject 
*resultobj 
= 0; 
9367   wxNativeFontInfo 
*result 
= 0 ; 
9369   if (!SWIG_Python_UnpackTuple(args
,"new_NativeFontInfo",0,0,0)) SWIG_fail
; 
9371     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9372     result 
= (wxNativeFontInfo 
*)new wxNativeFontInfo(); 
9373     wxPyEndAllowThreads(__tstate
); 
9374     if (PyErr_Occurred()) SWIG_fail
; 
9376   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_NEW 
|  0 ); 
9383 SWIGINTERN PyObject 
*_wrap_delete_NativeFontInfo(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
9384   PyObject 
*resultobj 
= 0; 
9385   wxNativeFontInfo 
*arg1 
= (wxNativeFontInfo 
*) 0 ; 
9388   PyObject 
*swig_obj
[1] ; 
9390   if (!args
) SWIG_fail
; 
9392   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_DISOWN 
|  0 ); 
9393   if (!SWIG_IsOK(res1
)) { 
9394     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativeFontInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");  
9396   arg1 
= reinterpret_cast< wxNativeFontInfo 
* >(argp1
); 
9398     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9401     wxPyEndAllowThreads(__tstate
); 
9402     if (PyErr_Occurred()) SWIG_fail
; 
9404   resultobj 
= SWIG_Py_Void(); 
9411 SWIGINTERN PyObject 
*_wrap_NativeFontInfo_Init(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
9412   PyObject 
*resultobj 
= 0; 
9413   wxNativeFontInfo 
*arg1 
= (wxNativeFontInfo 
*) 0 ; 
9416   PyObject 
*swig_obj
[1] ; 
9418   if (!args
) SWIG_fail
; 
9420   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 |  0 ); 
9421   if (!SWIG_IsOK(res1
)) { 
9422     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_Init" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");  
9424   arg1 
= reinterpret_cast< wxNativeFontInfo 
* >(argp1
); 
9426     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9428     wxPyEndAllowThreads(__tstate
); 
9429     if (PyErr_Occurred()) SWIG_fail
; 
9431   resultobj 
= SWIG_Py_Void(); 
9438 SWIGINTERN PyObject 
*_wrap_NativeFontInfo_InitFromFont(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
9439   PyObject 
*resultobj 
= 0; 
9440   wxNativeFontInfo 
*arg1 
= (wxNativeFontInfo 
*) 0 ; 
9446   PyObject 
* obj0 
= 0 ; 
9447   PyObject 
* obj1 
= 0 ; 
9448   char *  kwnames
[] = { 
9449     (char *) "self",(char *) "font", NULL 
 
9452   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_InitFromFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
9453   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 |  0 ); 
9454   if (!SWIG_IsOK(res1
)) { 
9455     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");  
9457   arg1 
= reinterpret_cast< wxNativeFontInfo 
* >(argp1
); 
9458   res2 
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
,  0  | 0); 
9459   if (!SWIG_IsOK(res2
)) { 
9460     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "2"" of type '" "wxFont const &""'");  
9463     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "2"" of type '" "wxFont const &""'");  
9465   arg2 
= reinterpret_cast< wxFont 
* >(argp2
); 
9467     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9468     (arg1
)->InitFromFont((wxFont 
const &)*arg2
); 
9469     wxPyEndAllowThreads(__tstate
); 
9470     if (PyErr_Occurred()) SWIG_fail
; 
9472   resultobj 
= SWIG_Py_Void(); 
9479 SWIGINTERN PyObject 
*_wrap_NativeFontInfo_GetPointSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
9480   PyObject 
*resultobj 
= 0; 
9481   wxNativeFontInfo 
*arg1 
= (wxNativeFontInfo 
*) 0 ; 
9485   PyObject 
*swig_obj
[1] ; 
9487   if (!args
) SWIG_fail
; 
9489   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 |  0 ); 
9490   if (!SWIG_IsOK(res1
)) { 
9491     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetPointSize" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");  
9493   arg1 
= reinterpret_cast< wxNativeFontInfo 
* >(argp1
); 
9495     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9496     result 
= (int)((wxNativeFontInfo 
const *)arg1
)->GetPointSize(); 
9497     wxPyEndAllowThreads(__tstate
); 
9498     if (PyErr_Occurred()) SWIG_fail
; 
9500   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
9507 SWIGINTERN PyObject 
*_wrap_NativeFontInfo_GetStyle(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
9508   PyObject 
*resultobj 
= 0; 
9509   wxNativeFontInfo 
*arg1 
= (wxNativeFontInfo 
*) 0 ; 
9513   PyObject 
*swig_obj
[1] ; 
9515   if (!args
) SWIG_fail
; 
9517   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 |  0 ); 
9518   if (!SWIG_IsOK(res1
)) { 
9519     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetStyle" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");  
9521   arg1 
= reinterpret_cast< wxNativeFontInfo 
* >(argp1
); 
9523     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9524     result 
= (wxFontStyle
)((wxNativeFontInfo 
const *)arg1
)->GetStyle(); 
9525     wxPyEndAllowThreads(__tstate
); 
9526     if (PyErr_Occurred()) SWIG_fail
; 
9528   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
9535 SWIGINTERN PyObject 
*_wrap_NativeFontInfo_GetWeight(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
9536   PyObject 
*resultobj 
= 0; 
9537   wxNativeFontInfo 
*arg1 
= (wxNativeFontInfo 
*) 0 ; 
9538   wxFontWeight result
; 
9541   PyObject 
*swig_obj
[1] ; 
9543   if (!args
) SWIG_fail
; 
9545   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 |  0 ); 
9546   if (!SWIG_IsOK(res1
)) { 
9547     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetWeight" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");  
9549   arg1 
= reinterpret_cast< wxNativeFontInfo 
* >(argp1
); 
9551     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9552     result 
= (wxFontWeight
)((wxNativeFontInfo 
const *)arg1
)->GetWeight(); 
9553     wxPyEndAllowThreads(__tstate
); 
9554     if (PyErr_Occurred()) SWIG_fail
; 
9556   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
9563 SWIGINTERN PyObject 
*_wrap_NativeFontInfo_GetUnderlined(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
9564   PyObject 
*resultobj 
= 0; 
9565   wxNativeFontInfo 
*arg1 
= (wxNativeFontInfo 
*) 0 ; 
9569   PyObject 
*swig_obj
[1] ; 
9571   if (!args
) SWIG_fail
; 
9573   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 |  0 ); 
9574   if (!SWIG_IsOK(res1
)) { 
9575     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetUnderlined" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");  
9577   arg1 
= reinterpret_cast< wxNativeFontInfo 
* >(argp1
); 
9579     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9580     result 
= (bool)((wxNativeFontInfo 
const *)arg1
)->GetUnderlined(); 
9581     wxPyEndAllowThreads(__tstate
); 
9582     if (PyErr_Occurred()) SWIG_fail
; 
9585     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
9593 SWIGINTERN PyObject 
*_wrap_NativeFontInfo_GetFaceName(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
9594   PyObject 
*resultobj 
= 0; 
9595   wxNativeFontInfo 
*arg1 
= (wxNativeFontInfo 
*) 0 ; 
9599   PyObject 
*swig_obj
[1] ; 
9601   if (!args
) SWIG_fail
; 
9603   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 |  0 ); 
9604   if (!SWIG_IsOK(res1
)) { 
9605     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetFaceName" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");  
9607   arg1 
= reinterpret_cast< wxNativeFontInfo 
* >(argp1
); 
9609     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9610     result 
= ((wxNativeFontInfo 
const *)arg1
)->GetFaceName(); 
9611     wxPyEndAllowThreads(__tstate
); 
9612     if (PyErr_Occurred()) SWIG_fail
; 
9616     resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
9618     resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
9627 SWIGINTERN PyObject 
*_wrap_NativeFontInfo_GetFamily(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
9628   PyObject 
*resultobj 
= 0; 
9629   wxNativeFontInfo 
*arg1 
= (wxNativeFontInfo 
*) 0 ; 
9630   wxFontFamily result
; 
9633   PyObject 
*swig_obj
[1] ; 
9635   if (!args
) SWIG_fail
; 
9637   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 |  0 ); 
9638   if (!SWIG_IsOK(res1
)) { 
9639     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetFamily" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");  
9641   arg1 
= reinterpret_cast< wxNativeFontInfo 
* >(argp1
); 
9643     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9644     result 
= (wxFontFamily
)((wxNativeFontInfo 
const *)arg1
)->GetFamily(); 
9645     wxPyEndAllowThreads(__tstate
); 
9646     if (PyErr_Occurred()) SWIG_fail
; 
9648   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
9655 SWIGINTERN PyObject 
*_wrap_NativeFontInfo_GetEncoding(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
9656   PyObject 
*resultobj 
= 0; 
9657   wxNativeFontInfo 
*arg1 
= (wxNativeFontInfo 
*) 0 ; 
9658   wxFontEncoding result
; 
9661   PyObject 
*swig_obj
[1] ; 
9663   if (!args
) SWIG_fail
; 
9665   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 |  0 ); 
9666   if (!SWIG_IsOK(res1
)) { 
9667     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetEncoding" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");  
9669   arg1 
= reinterpret_cast< wxNativeFontInfo 
* >(argp1
); 
9671     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9672     result 
= (wxFontEncoding
)((wxNativeFontInfo 
const *)arg1
)->GetEncoding(); 
9673     wxPyEndAllowThreads(__tstate
); 
9674     if (PyErr_Occurred()) SWIG_fail
; 
9676   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
9683 SWIGINTERN PyObject 
*_wrap_NativeFontInfo_SetPointSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
9684   PyObject 
*resultobj 
= 0; 
9685   wxNativeFontInfo 
*arg1 
= (wxNativeFontInfo 
*) 0 ; 
9691   PyObject 
* obj0 
= 0 ; 
9692   PyObject 
* obj1 
= 0 ; 
9693   char *  kwnames
[] = { 
9694     (char *) "self",(char *) "pointsize", NULL 
 
9697   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
9698   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 |  0 ); 
9699   if (!SWIG_IsOK(res1
)) { 
9700     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetPointSize" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");  
9702   arg1 
= reinterpret_cast< wxNativeFontInfo 
* >(argp1
); 
9703   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
9704   if (!SWIG_IsOK(ecode2
)) { 
9705     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetPointSize" "', expected argument " "2"" of type '" "int""'"); 
9707   arg2 
= static_cast< int >(val2
); 
9709     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9710     (arg1
)->SetPointSize(arg2
); 
9711     wxPyEndAllowThreads(__tstate
); 
9712     if (PyErr_Occurred()) SWIG_fail
; 
9714   resultobj 
= SWIG_Py_Void(); 
9721 SWIGINTERN PyObject 
*_wrap_NativeFontInfo_SetStyle(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
9722   PyObject 
*resultobj 
= 0; 
9723   wxNativeFontInfo 
*arg1 
= (wxNativeFontInfo 
*) 0 ; 
9729   PyObject 
* obj0 
= 0 ; 
9730   PyObject 
* obj1 
= 0 ; 
9731   char *  kwnames
[] = { 
9732     (char *) "self",(char *) "style", NULL 
 
9735   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
9736   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 |  0 ); 
9737   if (!SWIG_IsOK(res1
)) { 
9738     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetStyle" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");  
9740   arg1 
= reinterpret_cast< wxNativeFontInfo 
* >(argp1
); 
9741   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
9742   if (!SWIG_IsOK(ecode2
)) { 
9743     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetStyle" "', expected argument " "2"" of type '" "wxFontStyle""'"); 
9745   arg2 
= static_cast< wxFontStyle 
>(val2
); 
9747     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9748     (arg1
)->SetStyle(arg2
); 
9749     wxPyEndAllowThreads(__tstate
); 
9750     if (PyErr_Occurred()) SWIG_fail
; 
9752   resultobj 
= SWIG_Py_Void(); 
9759 SWIGINTERN PyObject 
*_wrap_NativeFontInfo_SetWeight(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
9760   PyObject 
*resultobj 
= 0; 
9761   wxNativeFontInfo 
*arg1 
= (wxNativeFontInfo 
*) 0 ; 
9767   PyObject 
* obj0 
= 0 ; 
9768   PyObject 
* obj1 
= 0 ; 
9769   char *  kwnames
[] = { 
9770     (char *) "self",(char *) "weight", NULL 
 
9773   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetWeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
9774   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 |  0 ); 
9775   if (!SWIG_IsOK(res1
)) { 
9776     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetWeight" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");  
9778   arg1 
= reinterpret_cast< wxNativeFontInfo 
* >(argp1
); 
9779   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
9780   if (!SWIG_IsOK(ecode2
)) { 
9781     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetWeight" "', expected argument " "2"" of type '" "wxFontWeight""'"); 
9783   arg2 
= static_cast< wxFontWeight 
>(val2
); 
9785     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9786     (arg1
)->SetWeight(arg2
); 
9787     wxPyEndAllowThreads(__tstate
); 
9788     if (PyErr_Occurred()) SWIG_fail
; 
9790   resultobj 
= SWIG_Py_Void(); 
9797 SWIGINTERN PyObject 
*_wrap_NativeFontInfo_SetUnderlined(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
9798   PyObject 
*resultobj 
= 0; 
9799   wxNativeFontInfo 
*arg1 
= (wxNativeFontInfo 
*) 0 ; 
9805   PyObject 
* obj0 
= 0 ; 
9806   PyObject 
* obj1 
= 0 ; 
9807   char *  kwnames
[] = { 
9808     (char *) "self",(char *) "underlined", NULL 
 
9811   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetUnderlined",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
9812   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 |  0 ); 
9813   if (!SWIG_IsOK(res1
)) { 
9814     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetUnderlined" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");  
9816   arg1 
= reinterpret_cast< wxNativeFontInfo 
* >(argp1
); 
9817   ecode2 
= SWIG_AsVal_bool(obj1
, &val2
); 
9818   if (!SWIG_IsOK(ecode2
)) { 
9819     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetUnderlined" "', expected argument " "2"" of type '" "bool""'"); 
9821   arg2 
= static_cast< bool >(val2
); 
9823     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9824     (arg1
)->SetUnderlined(arg2
); 
9825     wxPyEndAllowThreads(__tstate
); 
9826     if (PyErr_Occurred()) SWIG_fail
; 
9828   resultobj 
= SWIG_Py_Void(); 
9835 SWIGINTERN PyObject 
*_wrap_NativeFontInfo_SetFaceName(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
9836   PyObject 
*resultobj 
= 0; 
9837   wxNativeFontInfo 
*arg1 
= (wxNativeFontInfo 
*) 0 ; 
9842   PyObject 
* obj0 
= 0 ; 
9843   PyObject 
* obj1 
= 0 ; 
9844   char *  kwnames
[] = { 
9845     (char *) "self",(char *) "facename", NULL 
 
9848   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFaceName",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
9849   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 |  0 ); 
9850   if (!SWIG_IsOK(res1
)) { 
9851     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetFaceName" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");  
9853   arg1 
= reinterpret_cast< wxNativeFontInfo 
* >(argp1
); 
9855     wxString
* sptr 
= wxString_in_helper(obj1
); 
9856     if (sptr 
== NULL
) SWIG_fail
; 
9861     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9862     result 
= (bool)(arg1
)->SetFaceName(arg2
); 
9863     wxPyEndAllowThreads(__tstate
); 
9864     if (PyErr_Occurred()) SWIG_fail
; 
9867     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
9875 SWIGINTERN PyObject 
*_wrap_NativeFontInfo_SetFamily(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
9876   PyObject 
*resultobj 
= 0; 
9877   wxNativeFontInfo 
*arg1 
= (wxNativeFontInfo 
*) 0 ; 
9883   PyObject 
* obj0 
= 0 ; 
9884   PyObject 
* obj1 
= 0 ; 
9885   char *  kwnames
[] = { 
9886     (char *) "self",(char *) "family", NULL 
 
9889   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFamily",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
9890   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 |  0 ); 
9891   if (!SWIG_IsOK(res1
)) { 
9892     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetFamily" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");  
9894   arg1 
= reinterpret_cast< wxNativeFontInfo 
* >(argp1
); 
9895   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
9896   if (!SWIG_IsOK(ecode2
)) { 
9897     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetFamily" "', expected argument " "2"" of type '" "wxFontFamily""'"); 
9899   arg2 
= static_cast< wxFontFamily 
>(val2
); 
9901     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9902     (arg1
)->SetFamily(arg2
); 
9903     wxPyEndAllowThreads(__tstate
); 
9904     if (PyErr_Occurred()) SWIG_fail
; 
9906   resultobj 
= SWIG_Py_Void(); 
9913 SWIGINTERN PyObject 
*_wrap_NativeFontInfo_SetEncoding(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
9914   PyObject 
*resultobj 
= 0; 
9915   wxNativeFontInfo 
*arg1 
= (wxNativeFontInfo 
*) 0 ; 
9916   wxFontEncoding arg2 
; 
9921   PyObject 
* obj0 
= 0 ; 
9922   PyObject 
* obj1 
= 0 ; 
9923   char *  kwnames
[] = { 
9924     (char *) "self",(char *) "encoding", NULL 
 
9927   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetEncoding",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
9928   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 |  0 ); 
9929   if (!SWIG_IsOK(res1
)) { 
9930     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetEncoding" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");  
9932   arg1 
= reinterpret_cast< wxNativeFontInfo 
* >(argp1
); 
9933   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
9934   if (!SWIG_IsOK(ecode2
)) { 
9935     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'"); 
9937   arg2 
= static_cast< wxFontEncoding 
>(val2
); 
9939     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9940     (arg1
)->SetEncoding(arg2
); 
9941     wxPyEndAllowThreads(__tstate
); 
9942     if (PyErr_Occurred()) SWIG_fail
; 
9944   resultobj 
= SWIG_Py_Void(); 
9951 SWIGINTERN PyObject 
*_wrap_NativeFontInfo_FromString(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
9952   PyObject 
*resultobj 
= 0; 
9953   wxNativeFontInfo 
*arg1 
= (wxNativeFontInfo 
*) 0 ; 
9954   wxString 
*arg2 
= 0 ; 
9958   bool temp2 
= false ; 
9959   PyObject 
* obj0 
= 0 ; 
9960   PyObject 
* obj1 
= 0 ; 
9961   char *  kwnames
[] = { 
9962     (char *) "self",(char *) "s", NULL 
 
9965   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
9966   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 |  0 ); 
9967   if (!SWIG_IsOK(res1
)) { 
9968     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_FromString" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");  
9970   arg1 
= reinterpret_cast< wxNativeFontInfo 
* >(argp1
); 
9972     arg2 
= wxString_in_helper(obj1
); 
9973     if (arg2 
== NULL
) SWIG_fail
; 
9977     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9978     result 
= (bool)(arg1
)->FromString((wxString 
const &)*arg2
); 
9979     wxPyEndAllowThreads(__tstate
); 
9980     if (PyErr_Occurred()) SWIG_fail
; 
9983     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
9999 SWIGINTERN PyObject 
*_wrap_NativeFontInfo_ToString(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
10000   PyObject 
*resultobj 
= 0; 
10001   wxNativeFontInfo 
*arg1 
= (wxNativeFontInfo 
*) 0 ; 
10005   PyObject 
*swig_obj
[1] ; 
10007   if (!args
) SWIG_fail
; 
10008   swig_obj
[0] = args
; 
10009   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 |  0 ); 
10010   if (!SWIG_IsOK(res1
)) { 
10011     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_ToString" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");  
10013   arg1 
= reinterpret_cast< wxNativeFontInfo 
* >(argp1
); 
10015     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10016     result 
= ((wxNativeFontInfo 
const *)arg1
)->ToString(); 
10017     wxPyEndAllowThreads(__tstate
); 
10018     if (PyErr_Occurred()) SWIG_fail
; 
10022     resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
10024     resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
10033 SWIGINTERN PyObject 
*_wrap_NativeFontInfo___str__(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
10034   PyObject 
*resultobj 
= 0; 
10035   wxNativeFontInfo 
*arg1 
= (wxNativeFontInfo 
*) 0 ; 
10039   PyObject 
*swig_obj
[1] ; 
10041   if (!args
) SWIG_fail
; 
10042   swig_obj
[0] = args
; 
10043   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 |  0 ); 
10044   if (!SWIG_IsOK(res1
)) { 
10045     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo___str__" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");  
10047   arg1 
= reinterpret_cast< wxNativeFontInfo 
* >(argp1
); 
10049     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10050     result 
= wxNativeFontInfo___str__(arg1
); 
10051     wxPyEndAllowThreads(__tstate
); 
10052     if (PyErr_Occurred()) SWIG_fail
; 
10056     resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
10058     resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
10067 SWIGINTERN PyObject 
*_wrap_NativeFontInfo_FromUserString(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
10068   PyObject 
*resultobj 
= 0; 
10069   wxNativeFontInfo 
*arg1 
= (wxNativeFontInfo 
*) 0 ; 
10070   wxString 
*arg2 
= 0 ; 
10074   bool temp2 
= false ; 
10075   PyObject 
* obj0 
= 0 ; 
10076   PyObject 
* obj1 
= 0 ; 
10077   char *  kwnames
[] = { 
10078     (char *) "self",(char *) "s", NULL 
 
10081   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromUserString",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
10082   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 |  0 ); 
10083   if (!SWIG_IsOK(res1
)) { 
10084     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_FromUserString" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");  
10086   arg1 
= reinterpret_cast< wxNativeFontInfo 
* >(argp1
); 
10088     arg2 
= wxString_in_helper(obj1
); 
10089     if (arg2 
== NULL
) SWIG_fail
; 
10093     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10094     result 
= (bool)(arg1
)->FromUserString((wxString 
const &)*arg2
); 
10095     wxPyEndAllowThreads(__tstate
); 
10096     if (PyErr_Occurred()) SWIG_fail
; 
10099     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
10115 SWIGINTERN PyObject 
*_wrap_NativeFontInfo_ToUserString(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
10116   PyObject 
*resultobj 
= 0; 
10117   wxNativeFontInfo 
*arg1 
= (wxNativeFontInfo 
*) 0 ; 
10121   PyObject 
*swig_obj
[1] ; 
10123   if (!args
) SWIG_fail
; 
10124   swig_obj
[0] = args
; 
10125   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 |  0 ); 
10126   if (!SWIG_IsOK(res1
)) { 
10127     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_ToUserString" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");  
10129   arg1 
= reinterpret_cast< wxNativeFontInfo 
* >(argp1
); 
10131     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10132     result 
= ((wxNativeFontInfo 
const *)arg1
)->ToUserString(); 
10133     wxPyEndAllowThreads(__tstate
); 
10134     if (PyErr_Occurred()) SWIG_fail
; 
10138     resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
10140     resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
10149 SWIGINTERN PyObject 
*NativeFontInfo_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
10151   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
10152   SWIG_TypeNewClientData(SWIGTYPE_p_wxNativeFontInfo
, SWIG_NewClientData(obj
)); 
10153   return SWIG_Py_Void(); 
10156 SWIGINTERN PyObject 
*NativeFontInfo_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
10157   return SWIG_Python_InitShadowInstance(args
); 
10160 SWIGINTERN PyObject 
*_wrap_NativeEncodingInfo_facename_set(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
10161   PyObject 
*resultobj 
= 0; 
10162   wxNativeEncodingInfo 
*arg1 
= (wxNativeEncodingInfo 
*) 0 ; 
10163   wxString 
*arg2 
= (wxString 
*) 0 ; 
10166   bool temp2 
= false ; 
10167   PyObject 
*swig_obj
[2] ; 
10169   if (!SWIG_Python_UnpackTuple(args
,"NativeEncodingInfo_facename_set",2,2,swig_obj
)) SWIG_fail
; 
10170   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 |  0 ); 
10171   if (!SWIG_IsOK(res1
)) { 
10172     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_facename_set" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");  
10174   arg1 
= reinterpret_cast< wxNativeEncodingInfo 
* >(argp1
); 
10176     arg2 
= wxString_in_helper(swig_obj
[1]); 
10177     if (arg2 
== NULL
) SWIG_fail
; 
10180   if (arg1
) (arg1
)->facename 
= *arg2
; 
10182   resultobj 
= SWIG_Py_Void(); 
10197 SWIGINTERN PyObject 
*_wrap_NativeEncodingInfo_facename_get(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
10198   PyObject 
*resultobj 
= 0; 
10199   wxNativeEncodingInfo 
*arg1 
= (wxNativeEncodingInfo 
*) 0 ; 
10200   wxString 
*result 
= 0 ; 
10203   PyObject 
*swig_obj
[1] ; 
10205   if (!args
) SWIG_fail
; 
10206   swig_obj
[0] = args
; 
10207   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 |  0 ); 
10208   if (!SWIG_IsOK(res1
)) { 
10209     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_facename_get" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");  
10211   arg1 
= reinterpret_cast< wxNativeEncodingInfo 
* >(argp1
); 
10212   result 
= (wxString 
*)& ((arg1
)->facename
); 
10215     resultobj 
= PyUnicode_FromWideChar(result
->c_str(), result
->Len()); 
10217     resultobj 
= PyString_FromStringAndSize(result
->c_str(), result
->Len()); 
10226 SWIGINTERN PyObject 
*_wrap_NativeEncodingInfo_encoding_set(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
10227   PyObject 
*resultobj 
= 0; 
10228   wxNativeEncodingInfo 
*arg1 
= (wxNativeEncodingInfo 
*) 0 ; 
10229   wxFontEncoding arg2 
; 
10234   PyObject 
*swig_obj
[2] ; 
10236   if (!SWIG_Python_UnpackTuple(args
,"NativeEncodingInfo_encoding_set",2,2,swig_obj
)) SWIG_fail
; 
10237   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 |  0 ); 
10238   if (!SWIG_IsOK(res1
)) { 
10239     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_encoding_set" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");  
10241   arg1 
= reinterpret_cast< wxNativeEncodingInfo 
* >(argp1
); 
10242   ecode2 
= SWIG_AsVal_int(swig_obj
[1], &val2
); 
10243   if (!SWIG_IsOK(ecode2
)) { 
10244     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeEncodingInfo_encoding_set" "', expected argument " "2"" of type '" "wxFontEncoding""'"); 
10246   arg2 
= static_cast< wxFontEncoding 
>(val2
); 
10247   if (arg1
) (arg1
)->encoding 
= arg2
; 
10249   resultobj 
= SWIG_Py_Void(); 
10256 SWIGINTERN PyObject 
*_wrap_NativeEncodingInfo_encoding_get(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
10257   PyObject 
*resultobj 
= 0; 
10258   wxNativeEncodingInfo 
*arg1 
= (wxNativeEncodingInfo 
*) 0 ; 
10259   wxFontEncoding result
; 
10262   PyObject 
*swig_obj
[1] ; 
10264   if (!args
) SWIG_fail
; 
10265   swig_obj
[0] = args
; 
10266   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 |  0 ); 
10267   if (!SWIG_IsOK(res1
)) { 
10268     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_encoding_get" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");  
10270   arg1 
= reinterpret_cast< wxNativeEncodingInfo 
* >(argp1
); 
10271   result 
= (wxFontEncoding
) ((arg1
)->encoding
); 
10272   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
10279 SWIGINTERN PyObject 
*_wrap_new_NativeEncodingInfo(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
10280   PyObject 
*resultobj 
= 0; 
10281   wxNativeEncodingInfo 
*result 
= 0 ; 
10283   if (!SWIG_Python_UnpackTuple(args
,"new_NativeEncodingInfo",0,0,0)) SWIG_fail
; 
10285     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10286     result 
= (wxNativeEncodingInfo 
*)new wxNativeEncodingInfo(); 
10287     wxPyEndAllowThreads(__tstate
); 
10288     if (PyErr_Occurred()) SWIG_fail
; 
10290   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_NEW 
|  0 ); 
10297 SWIGINTERN PyObject 
*_wrap_delete_NativeEncodingInfo(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
10298   PyObject 
*resultobj 
= 0; 
10299   wxNativeEncodingInfo 
*arg1 
= (wxNativeEncodingInfo 
*) 0 ; 
10302   PyObject 
*swig_obj
[1] ; 
10304   if (!args
) SWIG_fail
; 
10305   swig_obj
[0] = args
; 
10306   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_DISOWN 
|  0 ); 
10307   if (!SWIG_IsOK(res1
)) { 
10308     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativeEncodingInfo" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");  
10310   arg1 
= reinterpret_cast< wxNativeEncodingInfo 
* >(argp1
); 
10312     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10315     wxPyEndAllowThreads(__tstate
); 
10316     if (PyErr_Occurred()) SWIG_fail
; 
10318   resultobj 
= SWIG_Py_Void(); 
10325 SWIGINTERN PyObject 
*_wrap_NativeEncodingInfo_FromString(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
10326   PyObject 
*resultobj 
= 0; 
10327   wxNativeEncodingInfo 
*arg1 
= (wxNativeEncodingInfo 
*) 0 ; 
10328   wxString 
*arg2 
= 0 ; 
10332   bool temp2 
= false ; 
10333   PyObject 
* obj0 
= 0 ; 
10334   PyObject 
* obj1 
= 0 ; 
10335   char *  kwnames
[] = { 
10336     (char *) "self",(char *) "s", NULL 
 
10339   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_FromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
10340   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 |  0 ); 
10341   if (!SWIG_IsOK(res1
)) { 
10342     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_FromString" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");  
10344   arg1 
= reinterpret_cast< wxNativeEncodingInfo 
* >(argp1
); 
10346     arg2 
= wxString_in_helper(obj1
); 
10347     if (arg2 
== NULL
) SWIG_fail
; 
10351     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10352     result 
= (bool)(arg1
)->FromString((wxString 
const &)*arg2
); 
10353     wxPyEndAllowThreads(__tstate
); 
10354     if (PyErr_Occurred()) SWIG_fail
; 
10357     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
10373 SWIGINTERN PyObject 
*_wrap_NativeEncodingInfo_ToString(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
10374   PyObject 
*resultobj 
= 0; 
10375   wxNativeEncodingInfo 
*arg1 
= (wxNativeEncodingInfo 
*) 0 ; 
10379   PyObject 
*swig_obj
[1] ; 
10381   if (!args
) SWIG_fail
; 
10382   swig_obj
[0] = args
; 
10383   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 |  0 ); 
10384   if (!SWIG_IsOK(res1
)) { 
10385     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_ToString" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const *""'");  
10387   arg1 
= reinterpret_cast< wxNativeEncodingInfo 
* >(argp1
); 
10389     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10390     result 
= ((wxNativeEncodingInfo 
const *)arg1
)->ToString(); 
10391     wxPyEndAllowThreads(__tstate
); 
10392     if (PyErr_Occurred()) SWIG_fail
; 
10396     resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
10398     resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
10407 SWIGINTERN PyObject 
*NativeEncodingInfo_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
10409   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
10410   SWIG_TypeNewClientData(SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_NewClientData(obj
)); 
10411   return SWIG_Py_Void(); 
10414 SWIGINTERN PyObject 
*NativeEncodingInfo_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
10415   return SWIG_Python_InitShadowInstance(args
); 
10418 SWIGINTERN PyObject 
*_wrap_GetNativeFontEncoding(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
10419   PyObject 
*resultobj 
= 0; 
10420   wxFontEncoding arg1 
; 
10421   wxNativeEncodingInfo 
*result 
= 0 ; 
10424   PyObject 
* obj0 
= 0 ; 
10425   char *  kwnames
[] = { 
10426     (char *) "encoding", NULL 
 
10429   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetNativeFontEncoding",kwnames
,&obj0
)) SWIG_fail
; 
10430   ecode1 
= SWIG_AsVal_int(obj0
, &val1
); 
10431   if (!SWIG_IsOK(ecode1
)) { 
10432     SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "GetNativeFontEncoding" "', expected argument " "1"" of type '" "wxFontEncoding""'"); 
10434   arg1 
= static_cast< wxFontEncoding 
>(val1
); 
10436     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10437     result 
= (wxNativeEncodingInfo 
*)wxGetNativeFontEncoding(arg1
); 
10438     wxPyEndAllowThreads(__tstate
); 
10439     if (PyErr_Occurred()) SWIG_fail
; 
10441   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 0 |  0 ); 
10448 SWIGINTERN PyObject 
*_wrap_TestFontEncoding(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
10449   PyObject 
*resultobj 
= 0; 
10450   wxNativeEncodingInfo 
*arg1 
= 0 ; 
10454   PyObject 
* obj0 
= 0 ; 
10455   char *  kwnames
[] = { 
10456     (char *) "info", NULL 
 
10459   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TestFontEncoding",kwnames
,&obj0
)) SWIG_fail
; 
10460   res1 
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxNativeEncodingInfo
,  0  | 0); 
10461   if (!SWIG_IsOK(res1
)) { 
10462     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TestFontEncoding" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const &""'");  
10465     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TestFontEncoding" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const &""'");  
10467   arg1 
= reinterpret_cast< wxNativeEncodingInfo 
* >(argp1
); 
10469     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10470     result 
= (bool)wxTestFontEncoding((wxNativeEncodingInfo 
const &)*arg1
); 
10471     wxPyEndAllowThreads(__tstate
); 
10472     if (PyErr_Occurred()) SWIG_fail
; 
10475     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
10483 SWIGINTERN PyObject 
*_wrap_new_FontMapper(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
10484   PyObject 
*resultobj 
= 0; 
10485   wxFontMapper 
*result 
= 0 ; 
10487   if (!SWIG_Python_UnpackTuple(args
,"new_FontMapper",0,0,0)) SWIG_fail
; 
10489     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10490     result 
= (wxFontMapper 
*)new wxFontMapper(); 
10491     wxPyEndAllowThreads(__tstate
); 
10492     if (PyErr_Occurred()) SWIG_fail
; 
10494   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_NEW 
|  0 ); 
10501 SWIGINTERN PyObject 
*_wrap_delete_FontMapper(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
10502   PyObject 
*resultobj 
= 0; 
10503   wxFontMapper 
*arg1 
= (wxFontMapper 
*) 0 ; 
10506   PyObject 
*swig_obj
[1] ; 
10508   if (!args
) SWIG_fail
; 
10509   swig_obj
[0] = args
; 
10510   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_DISOWN 
|  0 ); 
10511   if (!SWIG_IsOK(res1
)) { 
10512     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontMapper" "', expected argument " "1"" of type '" "wxFontMapper *""'");  
10514   arg1 
= reinterpret_cast< wxFontMapper 
* >(argp1
); 
10516     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10519     wxPyEndAllowThreads(__tstate
); 
10520     if (PyErr_Occurred()) SWIG_fail
; 
10522   resultobj 
= SWIG_Py_Void(); 
10529 SWIGINTERN PyObject 
*_wrap_FontMapper_Get(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
10530   PyObject 
*resultobj 
= 0; 
10531   wxFontMapper 
*result 
= 0 ; 
10533   if (!SWIG_Python_UnpackTuple(args
,"FontMapper_Get",0,0,0)) SWIG_fail
; 
10535     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10536     result 
= (wxFontMapper 
*)wxFontMapper::Get(); 
10537     wxPyEndAllowThreads(__tstate
); 
10538     if (PyErr_Occurred()) SWIG_fail
; 
10540   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, 0 |  0 ); 
10547 SWIGINTERN PyObject 
*_wrap_FontMapper_Set(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
10548   PyObject 
*resultobj 
= 0; 
10549   wxFontMapper 
*arg1 
= (wxFontMapper 
*) 0 ; 
10550   wxFontMapper 
*result 
= 0 ; 
10553   PyObject 
* obj0 
= 0 ; 
10554   char *  kwnames
[] = { 
10555     (char *) "mapper", NULL 
 
10558   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_Set",kwnames
,&obj0
)) SWIG_fail
; 
10559   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 |  0 ); 
10560   if (!SWIG_IsOK(res1
)) { 
10561     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_Set" "', expected argument " "1"" of type '" "wxFontMapper *""'");  
10563   arg1 
= reinterpret_cast< wxFontMapper 
* >(argp1
); 
10565     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10566     result 
= (wxFontMapper 
*)wxFontMapper::Set(arg1
); 
10567     wxPyEndAllowThreads(__tstate
); 
10568     if (PyErr_Occurred()) SWIG_fail
; 
10570   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, 0 |  0 ); 
10577 SWIGINTERN PyObject 
*_wrap_FontMapper_CharsetToEncoding(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
10578   PyObject 
*resultobj 
= 0; 
10579   wxFontMapper 
*arg1 
= (wxFontMapper 
*) 0 ; 
10580   wxString 
*arg2 
= 0 ; 
10581   bool arg3 
= (bool) true ; 
10582   wxFontEncoding result
; 
10585   bool temp2 
= false ; 
10588   PyObject 
* obj0 
= 0 ; 
10589   PyObject 
* obj1 
= 0 ; 
10590   PyObject 
* obj2 
= 0 ; 
10591   char *  kwnames
[] = { 
10592     (char *) "self",(char *) "charset",(char *) "interactive", NULL 
 
10595   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_CharsetToEncoding",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
10596   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 |  0 ); 
10597   if (!SWIG_IsOK(res1
)) { 
10598     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_CharsetToEncoding" "', expected argument " "1"" of type '" "wxFontMapper *""'");  
10600   arg1 
= reinterpret_cast< wxFontMapper 
* >(argp1
); 
10602     arg2 
= wxString_in_helper(obj1
); 
10603     if (arg2 
== NULL
) SWIG_fail
; 
10607     ecode3 
= SWIG_AsVal_bool(obj2
, &val3
); 
10608     if (!SWIG_IsOK(ecode3
)) { 
10609       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontMapper_CharsetToEncoding" "', expected argument " "3"" of type '" "bool""'"); 
10611     arg3 
= static_cast< bool >(val3
); 
10614     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10615     result 
= (wxFontEncoding
)(arg1
)->CharsetToEncoding((wxString 
const &)*arg2
,arg3
); 
10616     wxPyEndAllowThreads(__tstate
); 
10617     if (PyErr_Occurred()) SWIG_fail
; 
10619   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
10634 SWIGINTERN PyObject 
*_wrap_FontMapper_GetSupportedEncodingsCount(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
10635   PyObject 
*resultobj 
= 0; 
10638   if (!SWIG_Python_UnpackTuple(args
,"FontMapper_GetSupportedEncodingsCount",0,0,0)) SWIG_fail
; 
10640     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10641     result 
= (size_t)wxFontMapper::GetSupportedEncodingsCount(); 
10642     wxPyEndAllowThreads(__tstate
); 
10643     if (PyErr_Occurred()) SWIG_fail
; 
10645   resultobj 
= SWIG_From_size_t(static_cast< size_t >(result
)); 
10652 SWIGINTERN PyObject 
*_wrap_FontMapper_GetEncoding(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
10653   PyObject 
*resultobj 
= 0; 
10655   wxFontEncoding result
; 
10658   PyObject 
* obj0 
= 0 ; 
10659   char *  kwnames
[] = { 
10663   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncoding",kwnames
,&obj0
)) SWIG_fail
; 
10664   ecode1 
= SWIG_AsVal_size_t(obj0
, &val1
); 
10665   if (!SWIG_IsOK(ecode1
)) { 
10666     SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncoding" "', expected argument " "1"" of type '" "size_t""'"); 
10668   arg1 
= static_cast< size_t >(val1
); 
10670     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10671     result 
= (wxFontEncoding
)wxFontMapper::GetEncoding(arg1
); 
10672     wxPyEndAllowThreads(__tstate
); 
10673     if (PyErr_Occurred()) SWIG_fail
; 
10675   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
10682 SWIGINTERN PyObject 
*_wrap_FontMapper_GetEncodingName(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
10683   PyObject 
*resultobj 
= 0; 
10684   wxFontEncoding arg1 
; 
10688   PyObject 
* obj0 
= 0 ; 
10689   char *  kwnames
[] = { 
10690     (char *) "encoding", NULL 
 
10693   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingName",kwnames
,&obj0
)) SWIG_fail
; 
10694   ecode1 
= SWIG_AsVal_int(obj0
, &val1
); 
10695   if (!SWIG_IsOK(ecode1
)) { 
10696     SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncodingName" "', expected argument " "1"" of type '" "wxFontEncoding""'"); 
10698   arg1 
= static_cast< wxFontEncoding 
>(val1
); 
10700     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10701     result 
= wxFontMapper::GetEncodingName(arg1
); 
10702     wxPyEndAllowThreads(__tstate
); 
10703     if (PyErr_Occurred()) SWIG_fail
; 
10707     resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
10709     resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
10718 SWIGINTERN PyObject 
*_wrap_FontMapper_GetEncodingDescription(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
10719   PyObject 
*resultobj 
= 0; 
10720   wxFontEncoding arg1 
; 
10724   PyObject 
* obj0 
= 0 ; 
10725   char *  kwnames
[] = { 
10726     (char *) "encoding", NULL 
 
10729   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingDescription",kwnames
,&obj0
)) SWIG_fail
; 
10730   ecode1 
= SWIG_AsVal_int(obj0
, &val1
); 
10731   if (!SWIG_IsOK(ecode1
)) { 
10732     SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncodingDescription" "', expected argument " "1"" of type '" "wxFontEncoding""'"); 
10734   arg1 
= static_cast< wxFontEncoding 
>(val1
); 
10736     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10737     result 
= wxFontMapper::GetEncodingDescription(arg1
); 
10738     wxPyEndAllowThreads(__tstate
); 
10739     if (PyErr_Occurred()) SWIG_fail
; 
10743     resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
10745     resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
10754 SWIGINTERN PyObject 
*_wrap_FontMapper_GetEncodingFromName(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
10755   PyObject 
*resultobj 
= 0; 
10756   wxString 
*arg1 
= 0 ; 
10757   wxFontEncoding result
; 
10758   bool temp1 
= false ; 
10759   PyObject 
* obj0 
= 0 ; 
10760   char *  kwnames
[] = { 
10761     (char *) "name", NULL 
 
10764   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingFromName",kwnames
,&obj0
)) SWIG_fail
; 
10766     arg1 
= wxString_in_helper(obj0
); 
10767     if (arg1 
== NULL
) SWIG_fail
; 
10771     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10772     result 
= (wxFontEncoding
)wxFontMapper::GetEncodingFromName((wxString 
const &)*arg1
); 
10773     wxPyEndAllowThreads(__tstate
); 
10774     if (PyErr_Occurred()) SWIG_fail
; 
10776   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
10791 SWIGINTERN PyObject 
*_wrap_FontMapper_SetConfigPath(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
10792   PyObject 
*resultobj 
= 0; 
10793   wxFontMapper 
*arg1 
= (wxFontMapper 
*) 0 ; 
10794   wxString 
*arg2 
= 0 ; 
10797   bool temp2 
= false ; 
10798   PyObject 
* obj0 
= 0 ; 
10799   PyObject 
* obj1 
= 0 ; 
10800   char *  kwnames
[] = { 
10801     (char *) "self",(char *) "prefix", NULL 
 
10804   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfigPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
10805   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 |  0 ); 
10806   if (!SWIG_IsOK(res1
)) { 
10807     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetConfigPath" "', expected argument " "1"" of type '" "wxFontMapper *""'");  
10809   arg1 
= reinterpret_cast< wxFontMapper 
* >(argp1
); 
10811     arg2 
= wxString_in_helper(obj1
); 
10812     if (arg2 
== NULL
) SWIG_fail
; 
10816     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10817     (arg1
)->SetConfigPath((wxString 
const &)*arg2
); 
10818     wxPyEndAllowThreads(__tstate
); 
10819     if (PyErr_Occurred()) SWIG_fail
; 
10821   resultobj 
= SWIG_Py_Void(); 
10836 SWIGINTERN PyObject 
*_wrap_FontMapper_GetDefaultConfigPath(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
10837   PyObject 
*resultobj 
= 0; 
10840   if (!SWIG_Python_UnpackTuple(args
,"FontMapper_GetDefaultConfigPath",0,0,0)) SWIG_fail
; 
10842     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10843     result 
= wxFontMapper::GetDefaultConfigPath(); 
10844     wxPyEndAllowThreads(__tstate
); 
10845     if (PyErr_Occurred()) SWIG_fail
; 
10849     resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
10851     resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
10860 SWIGINTERN PyObject 
*_wrap_FontMapper_GetAltForEncoding(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
10861   PyObject 
*resultobj 
= 0; 
10862   wxFontMapper 
*arg1 
= (wxFontMapper 
*) 0 ; 
10863   wxFontEncoding arg2 
; 
10864   wxString 
const &arg3_defvalue 
= wxPyEmptyString 
; 
10865   wxString 
*arg3 
= (wxString 
*) &arg3_defvalue 
; 
10866   bool arg4 
= (bool) true ; 
10867   PyObject 
*result 
= 0 ; 
10872   bool temp3 
= false ; 
10875   PyObject 
* obj0 
= 0 ; 
10876   PyObject 
* obj1 
= 0 ; 
10877   PyObject 
* obj2 
= 0 ; 
10878   PyObject 
* obj3 
= 0 ; 
10879   char *  kwnames
[] = { 
10880     (char *) "self",(char *) "encoding",(char *) "facename",(char *) "interactive", NULL 
 
10883   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:FontMapper_GetAltForEncoding",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
; 
10884   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 |  0 ); 
10885   if (!SWIG_IsOK(res1
)) { 
10886     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "1"" of type '" "wxFontMapper *""'");  
10888   arg1 
= reinterpret_cast< wxFontMapper 
* >(argp1
); 
10889   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
10890   if (!SWIG_IsOK(ecode2
)) { 
10891     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'"); 
10893   arg2 
= static_cast< wxFontEncoding 
>(val2
); 
10896       arg3 
= wxString_in_helper(obj2
); 
10897       if (arg3 
== NULL
) SWIG_fail
; 
10902     ecode4 
= SWIG_AsVal_bool(obj3
, &val4
); 
10903     if (!SWIG_IsOK(ecode4
)) { 
10904       SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "4"" of type '" "bool""'"); 
10906     arg4 
= static_cast< bool >(val4
); 
10909     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10910     result 
= (PyObject 
*)wxFontMapper_GetAltForEncoding(arg1
,arg2
,(wxString 
const &)*arg3
,arg4
); 
10911     wxPyEndAllowThreads(__tstate
); 
10912     if (PyErr_Occurred()) SWIG_fail
; 
10914   resultobj 
= result
; 
10929 SWIGINTERN PyObject 
*_wrap_FontMapper_IsEncodingAvailable(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
10930   PyObject 
*resultobj 
= 0; 
10931   wxFontMapper 
*arg1 
= (wxFontMapper 
*) 0 ; 
10932   wxFontEncoding arg2 
; 
10933   wxString 
const &arg3_defvalue 
= wxPyEmptyString 
; 
10934   wxString 
*arg3 
= (wxString 
*) &arg3_defvalue 
; 
10940   bool temp3 
= false ; 
10941   PyObject 
* obj0 
= 0 ; 
10942   PyObject 
* obj1 
= 0 ; 
10943   PyObject 
* obj2 
= 0 ; 
10944   char *  kwnames
[] = { 
10945     (char *) "self",(char *) "encoding",(char *) "facename", NULL 
 
10948   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_IsEncodingAvailable",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
10949   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 |  0 ); 
10950   if (!SWIG_IsOK(res1
)) { 
10951     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_IsEncodingAvailable" "', expected argument " "1"" of type '" "wxFontMapper *""'");  
10953   arg1 
= reinterpret_cast< wxFontMapper 
* >(argp1
); 
10954   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
10955   if (!SWIG_IsOK(ecode2
)) { 
10956     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontMapper_IsEncodingAvailable" "', expected argument " "2"" of type '" "wxFontEncoding""'"); 
10958   arg2 
= static_cast< wxFontEncoding 
>(val2
); 
10961       arg3 
= wxString_in_helper(obj2
); 
10962       if (arg3 
== NULL
) SWIG_fail
; 
10967     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10968     result 
= (bool)(arg1
)->IsEncodingAvailable(arg2
,(wxString 
const &)*arg3
); 
10969     wxPyEndAllowThreads(__tstate
); 
10970     if (PyErr_Occurred()) SWIG_fail
; 
10973     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
10989 SWIGINTERN PyObject 
*_wrap_FontMapper_SetDialogParent(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
10990   PyObject 
*resultobj 
= 0; 
10991   wxFontMapper 
*arg1 
= (wxFontMapper 
*) 0 ; 
10992   wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
10997   PyObject 
* obj0 
= 0 ; 
10998   PyObject 
* obj1 
= 0 ; 
10999   char *  kwnames
[] = { 
11000     (char *) "self",(char *) "parent", NULL 
 
11003   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
11004   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 |  0 ); 
11005   if (!SWIG_IsOK(res1
)) { 
11006     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetDialogParent" "', expected argument " "1"" of type '" "wxFontMapper *""'");  
11008   arg1 
= reinterpret_cast< wxFontMapper 
* >(argp1
); 
11009   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
11010   if (!SWIG_IsOK(res2
)) { 
11011     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontMapper_SetDialogParent" "', expected argument " "2"" of type '" "wxWindow *""'");  
11013   arg2 
= reinterpret_cast< wxWindow 
* >(argp2
); 
11015     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11016     (arg1
)->SetDialogParent(arg2
); 
11017     wxPyEndAllowThreads(__tstate
); 
11018     if (PyErr_Occurred()) SWIG_fail
; 
11020   resultobj 
= SWIG_Py_Void(); 
11027 SWIGINTERN PyObject 
*_wrap_FontMapper_SetDialogTitle(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
11028   PyObject 
*resultobj 
= 0; 
11029   wxFontMapper 
*arg1 
= (wxFontMapper 
*) 0 ; 
11030   wxString 
*arg2 
= 0 ; 
11033   bool temp2 
= false ; 
11034   PyObject 
* obj0 
= 0 ; 
11035   PyObject 
* obj1 
= 0 ; 
11036   char *  kwnames
[] = { 
11037     (char *) "self",(char *) "title", NULL 
 
11040   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogTitle",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
11041   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 |  0 ); 
11042   if (!SWIG_IsOK(res1
)) { 
11043     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetDialogTitle" "', expected argument " "1"" of type '" "wxFontMapper *""'");  
11045   arg1 
= reinterpret_cast< wxFontMapper 
* >(argp1
); 
11047     arg2 
= wxString_in_helper(obj1
); 
11048     if (arg2 
== NULL
) SWIG_fail
; 
11052     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11053     (arg1
)->SetDialogTitle((wxString 
const &)*arg2
); 
11054     wxPyEndAllowThreads(__tstate
); 
11055     if (PyErr_Occurred()) SWIG_fail
; 
11057   resultobj 
= SWIG_Py_Void(); 
11072 SWIGINTERN PyObject 
*FontMapper_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
11074   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
11075   SWIG_TypeNewClientData(SWIGTYPE_p_wxFontMapper
, SWIG_NewClientData(obj
)); 
11076   return SWIG_Py_Void(); 
11079 SWIGINTERN PyObject 
*FontMapper_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
11080   return SWIG_Python_InitShadowInstance(args
); 
11083 SWIGINTERN PyObject 
*_wrap_new_Font(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
11084   PyObject 
*resultobj 
= 0; 
11089   bool arg5 
= (bool) false ; 
11090   wxString 
const &arg6_defvalue 
= wxPyEmptyString 
; 
11091   wxString 
*arg6 
= (wxString 
*) &arg6_defvalue 
; 
11092   wxFontEncoding arg7 
= (wxFontEncoding
) wxFONTENCODING_DEFAULT 
; 
11093   wxFont 
*result 
= 0 ; 
11104   bool temp6 
= false ; 
11107   PyObject 
* obj0 
= 0 ; 
11108   PyObject 
* obj1 
= 0 ; 
11109   PyObject 
* obj2 
= 0 ; 
11110   PyObject 
* obj3 
= 0 ; 
11111   PyObject 
* obj4 
= 0 ; 
11112   PyObject 
* obj5 
= 0 ; 
11113   PyObject 
* obj6 
= 0 ; 
11114   char *  kwnames
[] = { 
11115     (char *) "pointSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "face",(char *) "encoding", NULL 
 
11118   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_Font",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
; 
11119   ecode1 
= SWIG_AsVal_int(obj0
, &val1
); 
11120   if (!SWIG_IsOK(ecode1
)) { 
11121     SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Font" "', expected argument " "1"" of type '" "int""'"); 
11123   arg1 
= static_cast< int >(val1
); 
11124   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
11125   if (!SWIG_IsOK(ecode2
)) { 
11126     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Font" "', expected argument " "2"" of type '" "int""'"); 
11128   arg2 
= static_cast< int >(val2
); 
11129   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
11130   if (!SWIG_IsOK(ecode3
)) { 
11131     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Font" "', expected argument " "3"" of type '" "int""'"); 
11133   arg3 
= static_cast< int >(val3
); 
11134   ecode4 
= SWIG_AsVal_int(obj3
, &val4
); 
11135   if (!SWIG_IsOK(ecode4
)) { 
11136     SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Font" "', expected argument " "4"" of type '" "int""'"); 
11138   arg4 
= static_cast< int >(val4
); 
11140     ecode5 
= SWIG_AsVal_bool(obj4
, &val5
); 
11141     if (!SWIG_IsOK(ecode5
)) { 
11142       SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Font" "', expected argument " "5"" of type '" "bool""'"); 
11144     arg5 
= static_cast< bool >(val5
); 
11148       arg6 
= wxString_in_helper(obj5
); 
11149       if (arg6 
== NULL
) SWIG_fail
; 
11154     ecode7 
= SWIG_AsVal_int(obj6
, &val7
); 
11155     if (!SWIG_IsOK(ecode7
)) { 
11156       SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_Font" "', expected argument " "7"" of type '" "wxFontEncoding""'"); 
11158     arg7 
= static_cast< wxFontEncoding 
>(val7
); 
11161     if (!wxPyCheckForApp()) SWIG_fail
; 
11162     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11163     result 
= (wxFont 
*)new wxFont(arg1
,arg2
,arg3
,arg4
,arg5
,(wxString 
const &)*arg6
,arg7
); 
11164     wxPyEndAllowThreads(__tstate
); 
11165     if (PyErr_Occurred()) SWIG_fail
; 
11167   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_NEW 
|  0 ); 
11182 SWIGINTERN PyObject 
*_wrap_delete_Font(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
11183   PyObject 
*resultobj 
= 0; 
11184   wxFont 
*arg1 
= (wxFont 
*) 0 ; 
11187   PyObject 
*swig_obj
[1] ; 
11189   if (!args
) SWIG_fail
; 
11190   swig_obj
[0] = args
; 
11191   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, SWIG_POINTER_DISOWN 
|  0 ); 
11192   if (!SWIG_IsOK(res1
)) { 
11193     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Font" "', expected argument " "1"" of type '" "wxFont *""'");  
11195   arg1 
= reinterpret_cast< wxFont 
* >(argp1
); 
11197     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11200     wxPyEndAllowThreads(__tstate
); 
11201     if (PyErr_Occurred()) SWIG_fail
; 
11203   resultobj 
= SWIG_Py_Void(); 
11210 SWIGINTERN PyObject 
*_wrap_new_FontFromNativeInfo(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
11211   PyObject 
*resultobj 
= 0; 
11212   wxNativeFontInfo 
*arg1 
= 0 ; 
11213   wxFont 
*result 
= 0 ; 
11216   PyObject 
* obj0 
= 0 ; 
11217   char *  kwnames
[] = { 
11218     (char *) "info", NULL 
 
11221   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfo",kwnames
,&obj0
)) SWIG_fail
; 
11222   res1 
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxNativeFontInfo
,  0  | 0); 
11223   if (!SWIG_IsOK(res1
)) { 
11224     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontFromNativeInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo const &""'");  
11227     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontFromNativeInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo const &""'");  
11229   arg1 
= reinterpret_cast< wxNativeFontInfo 
* >(argp1
); 
11231     if (!wxPyCheckForApp()) SWIG_fail
; 
11232     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11233     result 
= (wxFont 
*)new wxFont((wxNativeFontInfo 
const &)*arg1
); 
11234     wxPyEndAllowThreads(__tstate
); 
11235     if (PyErr_Occurred()) SWIG_fail
; 
11237   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN 
|  0 ); 
11244 SWIGINTERN PyObject 
*_wrap_new_FontFromNativeInfoString(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
11245   PyObject 
*resultobj 
= 0; 
11246   wxString 
*arg1 
= 0 ; 
11247   wxFont 
*result 
= 0 ; 
11248   bool temp1 
= false ; 
11249   PyObject 
* obj0 
= 0 ; 
11250   char *  kwnames
[] = { 
11251     (char *) "info", NULL 
 
11254   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfoString",kwnames
,&obj0
)) SWIG_fail
; 
11256     arg1 
= wxString_in_helper(obj0
); 
11257     if (arg1 
== NULL
) SWIG_fail
; 
11261     if (!wxPyCheckForApp()) SWIG_fail
; 
11262     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11263     result 
= (wxFont 
*)new_wxFont((wxString 
const &)*arg1
); 
11264     wxPyEndAllowThreads(__tstate
); 
11265     if (PyErr_Occurred()) SWIG_fail
; 
11267   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN 
|  0 ); 
11282 SWIGINTERN PyObject 
*_wrap_new_FFont(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
11283   PyObject 
*resultobj 
= 0; 
11285   wxFontFamily arg2 
; 
11286   int arg3 
= (int) wxFONTFLAG_DEFAULT 
; 
11287   wxString 
const &arg4_defvalue 
= wxPyEmptyString 
; 
11288   wxString 
*arg4 
= (wxString 
*) &arg4_defvalue 
; 
11289   wxFontEncoding arg5 
= (wxFontEncoding
) wxFONTENCODING_DEFAULT 
; 
11290   wxFont 
*result 
= 0 ; 
11297   bool temp4 
= false ; 
11300   PyObject 
* obj0 
= 0 ; 
11301   PyObject 
* obj1 
= 0 ; 
11302   PyObject 
* obj2 
= 0 ; 
11303   PyObject 
* obj3 
= 0 ; 
11304   PyObject 
* obj4 
= 0 ; 
11305   char *  kwnames
[] = { 
11306     (char *) "pointSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL 
 
11309   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
; 
11310   ecode1 
= SWIG_AsVal_int(obj0
, &val1
); 
11311   if (!SWIG_IsOK(ecode1
)) { 
11312     SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FFont" "', expected argument " "1"" of type '" "int""'"); 
11314   arg1 
= static_cast< int >(val1
); 
11315   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
11316   if (!SWIG_IsOK(ecode2
)) { 
11317     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FFont" "', expected argument " "2"" of type '" "wxFontFamily""'"); 
11319   arg2 
= static_cast< wxFontFamily 
>(val2
); 
11321     ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
11322     if (!SWIG_IsOK(ecode3
)) { 
11323       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FFont" "', expected argument " "3"" of type '" "int""'"); 
11325     arg3 
= static_cast< int >(val3
); 
11329       arg4 
= wxString_in_helper(obj3
); 
11330       if (arg4 
== NULL
) SWIG_fail
; 
11335     ecode5 
= SWIG_AsVal_int(obj4
, &val5
); 
11336     if (!SWIG_IsOK(ecode5
)) { 
11337       SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FFont" "', expected argument " "5"" of type '" "wxFontEncoding""'"); 
11339     arg5 
= static_cast< wxFontEncoding 
>(val5
); 
11342     if (!wxPyCheckForApp()) SWIG_fail
; 
11343     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11344     result 
= (wxFont 
*)new_wxFont(arg1
,arg2
,arg3
,(wxString 
const &)*arg4
,arg5
); 
11345     wxPyEndAllowThreads(__tstate
); 
11346     if (PyErr_Occurred()) SWIG_fail
; 
11348   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN 
|  0 ); 
11363 SWIGINTERN PyObject 
*_wrap_new_FontFromPixelSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
11364   PyObject 
*resultobj 
= 0; 
11369   bool arg5 
= (bool) false ; 
11370   wxString 
const &arg6_defvalue 
= wxEmptyString 
; 
11371   wxString 
*arg6 
= (wxString 
*) &arg6_defvalue 
; 
11372   wxFontEncoding arg7 
= (wxFontEncoding
) wxFONTENCODING_DEFAULT 
; 
11373   wxFont 
*result 
= 0 ; 
11383   bool temp6 
= false ; 
11386   PyObject 
* obj0 
= 0 ; 
11387   PyObject 
* obj1 
= 0 ; 
11388   PyObject 
* obj2 
= 0 ; 
11389   PyObject 
* obj3 
= 0 ; 
11390   PyObject 
* obj4 
= 0 ; 
11391   PyObject 
* obj5 
= 0 ; 
11392   PyObject 
* obj6 
= 0 ; 
11393   char *  kwnames
[] = { 
11394     (char *) "pixelSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underlined",(char *) "face",(char *) "encoding", NULL 
 
11397   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_FontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
; 
11400     if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
; 
11402   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
11403   if (!SWIG_IsOK(ecode2
)) { 
11404     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FontFromPixelSize" "', expected argument " "2"" of type '" "int""'"); 
11406   arg2 
= static_cast< int >(val2
); 
11407   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
11408   if (!SWIG_IsOK(ecode3
)) { 
11409     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FontFromPixelSize" "', expected argument " "3"" of type '" "int""'"); 
11411   arg3 
= static_cast< int >(val3
); 
11412   ecode4 
= SWIG_AsVal_int(obj3
, &val4
); 
11413   if (!SWIG_IsOK(ecode4
)) { 
11414     SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_FontFromPixelSize" "', expected argument " "4"" of type '" "int""'"); 
11416   arg4 
= static_cast< int >(val4
); 
11418     ecode5 
= SWIG_AsVal_bool(obj4
, &val5
); 
11419     if (!SWIG_IsOK(ecode5
)) { 
11420       SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FontFromPixelSize" "', expected argument " "5"" of type '" "bool""'"); 
11422     arg5 
= static_cast< bool >(val5
); 
11426       arg6 
= wxString_in_helper(obj5
); 
11427       if (arg6 
== NULL
) SWIG_fail
; 
11432     ecode7 
= SWIG_AsVal_int(obj6
, &val7
); 
11433     if (!SWIG_IsOK(ecode7
)) { 
11434       SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_FontFromPixelSize" "', expected argument " "7"" of type '" "wxFontEncoding""'"); 
11436     arg7 
= static_cast< wxFontEncoding 
>(val7
); 
11439     if (!wxPyCheckForApp()) SWIG_fail
; 
11440     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11441     result 
= (wxFont 
*)new_wxFont((wxSize 
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxString 
const &)*arg6
,arg7
); 
11442     wxPyEndAllowThreads(__tstate
); 
11443     if (PyErr_Occurred()) SWIG_fail
; 
11445   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN 
|  0 ); 
11460 SWIGINTERN PyObject 
*_wrap_new_FFontFromPixelSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
11461   PyObject 
*resultobj 
= 0; 
11463   wxFontFamily arg2 
; 
11464   int arg3 
= (int) wxFONTFLAG_DEFAULT 
; 
11465   wxString 
const &arg4_defvalue 
= wxEmptyString 
; 
11466   wxString 
*arg4 
= (wxString 
*) &arg4_defvalue 
; 
11467   wxFontEncoding arg5 
= (wxFontEncoding
) wxFONTENCODING_DEFAULT 
; 
11468   wxFont 
*result 
= 0 ; 
11474   bool temp4 
= false ; 
11477   PyObject 
* obj0 
= 0 ; 
11478   PyObject 
* obj1 
= 0 ; 
11479   PyObject 
* obj2 
= 0 ; 
11480   PyObject 
* obj3 
= 0 ; 
11481   PyObject 
* obj4 
= 0 ; 
11482   char *  kwnames
[] = { 
11483     (char *) "pixelSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL 
 
11486   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
; 
11489     if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
; 
11491   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
11492   if (!SWIG_IsOK(ecode2
)) { 
11493     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FFontFromPixelSize" "', expected argument " "2"" of type '" "wxFontFamily""'"); 
11495   arg2 
= static_cast< wxFontFamily 
>(val2
); 
11497     ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
11498     if (!SWIG_IsOK(ecode3
)) { 
11499       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FFontFromPixelSize" "', expected argument " "3"" of type '" "int""'"); 
11501     arg3 
= static_cast< int >(val3
); 
11505       arg4 
= wxString_in_helper(obj3
); 
11506       if (arg4 
== NULL
) SWIG_fail
; 
11511     ecode5 
= SWIG_AsVal_int(obj4
, &val5
); 
11512     if (!SWIG_IsOK(ecode5
)) { 
11513       SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FFontFromPixelSize" "', expected argument " "5"" of type '" "wxFontEncoding""'"); 
11515     arg5 
= static_cast< wxFontEncoding 
>(val5
); 
11518     if (!wxPyCheckForApp()) SWIG_fail
; 
11519     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11520     result 
= (wxFont 
*)new_wxFont((wxSize 
const &)*arg1
,arg2
,arg3
,(wxString 
const &)*arg4
,arg5
); 
11521     wxPyEndAllowThreads(__tstate
); 
11522     if (PyErr_Occurred()) SWIG_fail
; 
11524   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN 
|  0 ); 
11539 SWIGINTERN PyObject 
*_wrap_Font_Ok(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
11540   PyObject 
*resultobj 
= 0; 
11541   wxFont 
*arg1 
= (wxFont 
*) 0 ; 
11545   PyObject 
*swig_obj
[1] ; 
11547   if (!args
) SWIG_fail
; 
11548   swig_obj
[0] = args
; 
11549   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 |  0 ); 
11550   if (!SWIG_IsOK(res1
)) { 
11551     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_Ok" "', expected argument " "1"" of type '" "wxFont const *""'");  
11553   arg1 
= reinterpret_cast< wxFont 
* >(argp1
); 
11555     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11556     result 
= (bool)((wxFont 
const *)arg1
)->Ok(); 
11557     wxPyEndAllowThreads(__tstate
); 
11558     if (PyErr_Occurred()) SWIG_fail
; 
11561     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
11569 SWIGINTERN PyObject 
*_wrap_Font___eq__(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
11570   PyObject 
*resultobj 
= 0; 
11571   wxFont 
*arg1 
= (wxFont 
*) 0 ; 
11572   wxFont 
*arg2 
= (wxFont 
*) 0 ; 
11578   PyObject 
* obj0 
= 0 ; 
11579   PyObject 
* obj1 
= 0 ; 
11580   char *  kwnames
[] = { 
11581     (char *) "self",(char *) "other", NULL 
 
11584   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
11585   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 |  0 ); 
11586   if (!SWIG_IsOK(res1
)) { 
11587     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font___eq__" "', expected argument " "1"" of type '" "wxFont *""'");  
11589   arg1 
= reinterpret_cast< wxFont 
* >(argp1
); 
11590   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 |  0 ); 
11591   if (!SWIG_IsOK(res2
)) { 
11592     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font___eq__" "', expected argument " "2"" of type '" "wxFont const *""'");  
11594   arg2 
= reinterpret_cast< wxFont 
* >(argp2
); 
11596     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11597     result 
= (bool)wxFont___eq__(arg1
,(wxFont 
const *)arg2
); 
11598     wxPyEndAllowThreads(__tstate
); 
11599     if (PyErr_Occurred()) SWIG_fail
; 
11602     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
11610 SWIGINTERN PyObject 
*_wrap_Font___ne__(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
11611   PyObject 
*resultobj 
= 0; 
11612   wxFont 
*arg1 
= (wxFont 
*) 0 ; 
11613   wxFont 
*arg2 
= (wxFont 
*) 0 ; 
11619   PyObject 
* obj0 
= 0 ; 
11620   PyObject 
* obj1 
= 0 ; 
11621   char *  kwnames
[] = { 
11622     (char *) "self",(char *) "other", NULL 
 
11625   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
11626   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 |  0 ); 
11627   if (!SWIG_IsOK(res1
)) { 
11628     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font___ne__" "', expected argument " "1"" of type '" "wxFont *""'");  
11630   arg1 
= reinterpret_cast< wxFont 
* >(argp1
); 
11631   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 |  0 ); 
11632   if (!SWIG_IsOK(res2
)) { 
11633     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font___ne__" "', expected argument " "2"" of type '" "wxFont const *""'");  
11635   arg2 
= reinterpret_cast< wxFont 
* >(argp2
); 
11637     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11638     result 
= (bool)wxFont___ne__(arg1
,(wxFont 
const *)arg2
); 
11639     wxPyEndAllowThreads(__tstate
); 
11640     if (PyErr_Occurred()) SWIG_fail
; 
11643     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
11651 SWIGINTERN PyObject 
*_wrap_Font_GetPointSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
11652   PyObject 
*resultobj 
= 0; 
11653   wxFont 
*arg1 
= (wxFont 
*) 0 ; 
11657   PyObject 
*swig_obj
[1] ; 
11659   if (!args
) SWIG_fail
; 
11660   swig_obj
[0] = args
; 
11661   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 |  0 ); 
11662   if (!SWIG_IsOK(res1
)) { 
11663     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetPointSize" "', expected argument " "1"" of type '" "wxFont const *""'");  
11665   arg1 
= reinterpret_cast< wxFont 
* >(argp1
); 
11667     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11668     result 
= (int)((wxFont 
const *)arg1
)->GetPointSize(); 
11669     wxPyEndAllowThreads(__tstate
); 
11670     if (PyErr_Occurred()) SWIG_fail
; 
11672   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
11679 SWIGINTERN PyObject 
*_wrap_Font_GetPixelSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
11680   PyObject 
*resultobj 
= 0; 
11681   wxFont 
*arg1 
= (wxFont 
*) 0 ; 
11685   PyObject 
*swig_obj
[1] ; 
11687   if (!args
) SWIG_fail
; 
11688   swig_obj
[0] = args
; 
11689   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 |  0 ); 
11690   if (!SWIG_IsOK(res1
)) { 
11691     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetPixelSize" "', expected argument " "1"" of type '" "wxFont const *""'");  
11693   arg1 
= reinterpret_cast< wxFont 
* >(argp1
); 
11695     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11696     result 
= ((wxFont 
const *)arg1
)->GetPixelSize(); 
11697     wxPyEndAllowThreads(__tstate
); 
11698     if (PyErr_Occurred()) SWIG_fail
; 
11700   resultobj 
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN 
|  0 ); 
11707 SWIGINTERN PyObject 
*_wrap_Font_IsUsingSizeInPixels(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
11708   PyObject 
*resultobj 
= 0; 
11709   wxFont 
*arg1 
= (wxFont 
*) 0 ; 
11713   PyObject 
*swig_obj
[1] ; 
11715   if (!args
) SWIG_fail
; 
11716   swig_obj
[0] = args
; 
11717   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 |  0 ); 
11718   if (!SWIG_IsOK(res1
)) { 
11719     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsUsingSizeInPixels" "', expected argument " "1"" of type '" "wxFont const *""'");  
11721   arg1 
= reinterpret_cast< wxFont 
* >(argp1
); 
11723     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11724     result 
= (bool)((wxFont 
const *)arg1
)->IsUsingSizeInPixels(); 
11725     wxPyEndAllowThreads(__tstate
); 
11726     if (PyErr_Occurred()) SWIG_fail
; 
11729     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
11737 SWIGINTERN PyObject 
*_wrap_Font_GetFamily(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
11738   PyObject 
*resultobj 
= 0; 
11739   wxFont 
*arg1 
= (wxFont 
*) 0 ; 
11743   PyObject 
*swig_obj
[1] ; 
11745   if (!args
) SWIG_fail
; 
11746   swig_obj
[0] = args
; 
11747   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 |  0 ); 
11748   if (!SWIG_IsOK(res1
)) { 
11749     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFamily" "', expected argument " "1"" of type '" "wxFont const *""'");  
11751   arg1 
= reinterpret_cast< wxFont 
* >(argp1
); 
11753     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11754     result 
= (int)((wxFont 
const *)arg1
)->GetFamily(); 
11755     wxPyEndAllowThreads(__tstate
); 
11756     if (PyErr_Occurred()) SWIG_fail
; 
11758   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
11765 SWIGINTERN PyObject 
*_wrap_Font_GetStyle(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
11766   PyObject 
*resultobj 
= 0; 
11767   wxFont 
*arg1 
= (wxFont 
*) 0 ; 
11771   PyObject 
*swig_obj
[1] ; 
11773   if (!args
) SWIG_fail
; 
11774   swig_obj
[0] = args
; 
11775   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 |  0 ); 
11776   if (!SWIG_IsOK(res1
)) { 
11777     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetStyle" "', expected argument " "1"" of type '" "wxFont const *""'");  
11779   arg1 
= reinterpret_cast< wxFont 
* >(argp1
); 
11781     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11782     result 
= (int)((wxFont 
const *)arg1
)->GetStyle(); 
11783     wxPyEndAllowThreads(__tstate
); 
11784     if (PyErr_Occurred()) SWIG_fail
; 
11786   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
11793 SWIGINTERN PyObject 
*_wrap_Font_GetWeight(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
11794   PyObject 
*resultobj 
= 0; 
11795   wxFont 
*arg1 
= (wxFont 
*) 0 ; 
11799   PyObject 
*swig_obj
[1] ; 
11801   if (!args
) SWIG_fail
; 
11802   swig_obj
[0] = args
; 
11803   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 |  0 ); 
11804   if (!SWIG_IsOK(res1
)) { 
11805     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetWeight" "', expected argument " "1"" of type '" "wxFont const *""'");  
11807   arg1 
= reinterpret_cast< wxFont 
* >(argp1
); 
11809     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11810     result 
= (int)((wxFont 
const *)arg1
)->GetWeight(); 
11811     wxPyEndAllowThreads(__tstate
); 
11812     if (PyErr_Occurred()) SWIG_fail
; 
11814   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
11821 SWIGINTERN PyObject 
*_wrap_Font_GetUnderlined(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
11822   PyObject 
*resultobj 
= 0; 
11823   wxFont 
*arg1 
= (wxFont 
*) 0 ; 
11827   PyObject 
*swig_obj
[1] ; 
11829   if (!args
) SWIG_fail
; 
11830   swig_obj
[0] = args
; 
11831   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 |  0 ); 
11832   if (!SWIG_IsOK(res1
)) { 
11833     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetUnderlined" "', expected argument " "1"" of type '" "wxFont const *""'");  
11835   arg1 
= reinterpret_cast< wxFont 
* >(argp1
); 
11837     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11838     result 
= (bool)((wxFont 
const *)arg1
)->GetUnderlined(); 
11839     wxPyEndAllowThreads(__tstate
); 
11840     if (PyErr_Occurred()) SWIG_fail
; 
11843     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
11851 SWIGINTERN PyObject 
*_wrap_Font_GetFaceName(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
11852   PyObject 
*resultobj 
= 0; 
11853   wxFont 
*arg1 
= (wxFont 
*) 0 ; 
11857   PyObject 
*swig_obj
[1] ; 
11859   if (!args
) SWIG_fail
; 
11860   swig_obj
[0] = args
; 
11861   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 |  0 ); 
11862   if (!SWIG_IsOK(res1
)) { 
11863     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFaceName" "', expected argument " "1"" of type '" "wxFont const *""'");  
11865   arg1 
= reinterpret_cast< wxFont 
* >(argp1
); 
11867     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11868     result 
= ((wxFont 
const *)arg1
)->GetFaceName(); 
11869     wxPyEndAllowThreads(__tstate
); 
11870     if (PyErr_Occurred()) SWIG_fail
; 
11874     resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
11876     resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
11885 SWIGINTERN PyObject 
*_wrap_Font_GetEncoding(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
11886   PyObject 
*resultobj 
= 0; 
11887   wxFont 
*arg1 
= (wxFont 
*) 0 ; 
11888   wxFontEncoding result
; 
11891   PyObject 
*swig_obj
[1] ; 
11893   if (!args
) SWIG_fail
; 
11894   swig_obj
[0] = args
; 
11895   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 |  0 ); 
11896   if (!SWIG_IsOK(res1
)) { 
11897     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetEncoding" "', expected argument " "1"" of type '" "wxFont const *""'");  
11899   arg1 
= reinterpret_cast< wxFont 
* >(argp1
); 
11901     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11902     result 
= (wxFontEncoding
)((wxFont 
const *)arg1
)->GetEncoding(); 
11903     wxPyEndAllowThreads(__tstate
); 
11904     if (PyErr_Occurred()) SWIG_fail
; 
11906   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
11913 SWIGINTERN PyObject 
*_wrap_Font_GetNativeFontInfo(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
11914   PyObject 
*resultobj 
= 0; 
11915   wxFont 
*arg1 
= (wxFont 
*) 0 ; 
11916   wxNativeFontInfo 
*result 
= 0 ; 
11919   PyObject 
*swig_obj
[1] ; 
11921   if (!args
) SWIG_fail
; 
11922   swig_obj
[0] = args
; 
11923   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 |  0 ); 
11924   if (!SWIG_IsOK(res1
)) { 
11925     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfo" "', expected argument " "1"" of type '" "wxFont const *""'");  
11927   arg1 
= reinterpret_cast< wxFont 
* >(argp1
); 
11929     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11930     result 
= (wxNativeFontInfo 
*)((wxFont 
const *)arg1
)->GetNativeFontInfo(); 
11931     wxPyEndAllowThreads(__tstate
); 
11932     if (PyErr_Occurred()) SWIG_fail
; 
11934   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeFontInfo
, 0 |  0 ); 
11941 SWIGINTERN PyObject 
*_wrap_Font_IsFixedWidth(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
11942   PyObject 
*resultobj 
= 0; 
11943   wxFont 
*arg1 
= (wxFont 
*) 0 ; 
11947   PyObject 
*swig_obj
[1] ; 
11949   if (!args
) SWIG_fail
; 
11950   swig_obj
[0] = args
; 
11951   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 |  0 ); 
11952   if (!SWIG_IsOK(res1
)) { 
11953     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsFixedWidth" "', expected argument " "1"" of type '" "wxFont const *""'");  
11955   arg1 
= reinterpret_cast< wxFont 
* >(argp1
); 
11957     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11958     result 
= (bool)((wxFont 
const *)arg1
)->IsFixedWidth(); 
11959     wxPyEndAllowThreads(__tstate
); 
11960     if (PyErr_Occurred()) SWIG_fail
; 
11963     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
11971 SWIGINTERN PyObject 
*_wrap_Font_GetNativeFontInfoDesc(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
11972   PyObject 
*resultobj 
= 0; 
11973   wxFont 
*arg1 
= (wxFont 
*) 0 ; 
11977   PyObject 
*swig_obj
[1] ; 
11979   if (!args
) SWIG_fail
; 
11980   swig_obj
[0] = args
; 
11981   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 |  0 ); 
11982   if (!SWIG_IsOK(res1
)) { 
11983     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfoDesc" "', expected argument " "1"" of type '" "wxFont const *""'");  
11985   arg1 
= reinterpret_cast< wxFont 
* >(argp1
); 
11987     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11988     result 
= ((wxFont 
const *)arg1
)->GetNativeFontInfoDesc(); 
11989     wxPyEndAllowThreads(__tstate
); 
11990     if (PyErr_Occurred()) SWIG_fail
; 
11994     resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
11996     resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
12005 SWIGINTERN PyObject 
*_wrap_Font_GetNativeFontInfoUserDesc(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
12006   PyObject 
*resultobj 
= 0; 
12007   wxFont 
*arg1 
= (wxFont 
*) 0 ; 
12011   PyObject 
*swig_obj
[1] ; 
12013   if (!args
) SWIG_fail
; 
12014   swig_obj
[0] = args
; 
12015   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 |  0 ); 
12016   if (!SWIG_IsOK(res1
)) { 
12017     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfoUserDesc" "', expected argument " "1"" of type '" "wxFont const *""'");  
12019   arg1 
= reinterpret_cast< wxFont 
* >(argp1
); 
12021     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12022     result 
= ((wxFont 
const *)arg1
)->GetNativeFontInfoUserDesc(); 
12023     wxPyEndAllowThreads(__tstate
); 
12024     if (PyErr_Occurred()) SWIG_fail
; 
12028     resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
12030     resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
12039 SWIGINTERN PyObject 
*_wrap_Font_SetPointSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
12040   PyObject 
*resultobj 
= 0; 
12041   wxFont 
*arg1 
= (wxFont 
*) 0 ; 
12047   PyObject 
* obj0 
= 0 ; 
12048   PyObject 
* obj1 
= 0 ; 
12049   char *  kwnames
[] = { 
12050     (char *) "self",(char *) "pointSize", NULL 
 
12053   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
12054   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 |  0 ); 
12055   if (!SWIG_IsOK(res1
)) { 
12056     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetPointSize" "', expected argument " "1"" of type '" "wxFont *""'");  
12058   arg1 
= reinterpret_cast< wxFont 
* >(argp1
); 
12059   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
12060   if (!SWIG_IsOK(ecode2
)) { 
12061     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetPointSize" "', expected argument " "2"" of type '" "int""'"); 
12063   arg2 
= static_cast< int >(val2
); 
12065     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12066     (arg1
)->SetPointSize(arg2
); 
12067     wxPyEndAllowThreads(__tstate
); 
12068     if (PyErr_Occurred()) SWIG_fail
; 
12070   resultobj 
= SWIG_Py_Void(); 
12077 SWIGINTERN PyObject 
*_wrap_Font_SetPixelSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
12078   PyObject 
*resultobj 
= 0; 
12079   wxFont 
*arg1 
= (wxFont 
*) 0 ; 
12084   PyObject 
* obj0 
= 0 ; 
12085   PyObject 
* obj1 
= 0 ; 
12086   char *  kwnames
[] = { 
12087     (char *) "self",(char *) "pixelSize", NULL 
 
12090   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPixelSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
12091   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 |  0 ); 
12092   if (!SWIG_IsOK(res1
)) { 
12093     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetPixelSize" "', expected argument " "1"" of type '" "wxFont *""'");  
12095   arg1 
= reinterpret_cast< wxFont 
* >(argp1
); 
12098     if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
; 
12101     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12102     (arg1
)->SetPixelSize((wxSize 
const &)*arg2
); 
12103     wxPyEndAllowThreads(__tstate
); 
12104     if (PyErr_Occurred()) SWIG_fail
; 
12106   resultobj 
= SWIG_Py_Void(); 
12113 SWIGINTERN PyObject 
*_wrap_Font_SetFamily(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
12114   PyObject 
*resultobj 
= 0; 
12115   wxFont 
*arg1 
= (wxFont 
*) 0 ; 
12121   PyObject 
* obj0 
= 0 ; 
12122   PyObject 
* obj1 
= 0 ; 
12123   char *  kwnames
[] = { 
12124     (char *) "self",(char *) "family", NULL 
 
12127   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFamily",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
12128   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 |  0 ); 
12129   if (!SWIG_IsOK(res1
)) { 
12130     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetFamily" "', expected argument " "1"" of type '" "wxFont *""'");  
12132   arg1 
= reinterpret_cast< wxFont 
* >(argp1
); 
12133   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
12134   if (!SWIG_IsOK(ecode2
)) { 
12135     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetFamily" "', expected argument " "2"" of type '" "int""'"); 
12137   arg2 
= static_cast< int >(val2
); 
12139     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12140     (arg1
)->SetFamily(arg2
); 
12141     wxPyEndAllowThreads(__tstate
); 
12142     if (PyErr_Occurred()) SWIG_fail
; 
12144   resultobj 
= SWIG_Py_Void(); 
12151 SWIGINTERN PyObject 
*_wrap_Font_SetStyle(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
12152   PyObject 
*resultobj 
= 0; 
12153   wxFont 
*arg1 
= (wxFont 
*) 0 ; 
12159   PyObject 
* obj0 
= 0 ; 
12160   PyObject 
* obj1 
= 0 ; 
12161   char *  kwnames
[] = { 
12162     (char *) "self",(char *) "style", NULL 
 
12165   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
12166   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 |  0 ); 
12167   if (!SWIG_IsOK(res1
)) { 
12168     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetStyle" "', expected argument " "1"" of type '" "wxFont *""'");  
12170   arg1 
= reinterpret_cast< wxFont 
* >(argp1
); 
12171   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
12172   if (!SWIG_IsOK(ecode2
)) { 
12173     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetStyle" "', expected argument " "2"" of type '" "int""'"); 
12175   arg2 
= static_cast< int >(val2
); 
12177     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12178     (arg1
)->SetStyle(arg2
); 
12179     wxPyEndAllowThreads(__tstate
); 
12180     if (PyErr_Occurred()) SWIG_fail
; 
12182   resultobj 
= SWIG_Py_Void(); 
12189 SWIGINTERN PyObject 
*_wrap_Font_SetWeight(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
12190   PyObject 
*resultobj 
= 0; 
12191   wxFont 
*arg1 
= (wxFont 
*) 0 ; 
12197   PyObject 
* obj0 
= 0 ; 
12198   PyObject 
* obj1 
= 0 ; 
12199   char *  kwnames
[] = { 
12200     (char *) "self",(char *) "weight", NULL 
 
12203   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetWeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
12204   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 |  0 ); 
12205   if (!SWIG_IsOK(res1
)) { 
12206     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetWeight" "', expected argument " "1"" of type '" "wxFont *""'");  
12208   arg1 
= reinterpret_cast< wxFont 
* >(argp1
); 
12209   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
12210   if (!SWIG_IsOK(ecode2
)) { 
12211     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetWeight" "', expected argument " "2"" of type '" "int""'"); 
12213   arg2 
= static_cast< int >(val2
); 
12215     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12216     (arg1
)->SetWeight(arg2
); 
12217     wxPyEndAllowThreads(__tstate
); 
12218     if (PyErr_Occurred()) SWIG_fail
; 
12220   resultobj 
= SWIG_Py_Void(); 
12227 SWIGINTERN PyObject 
*_wrap_Font_SetFaceName(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
12228   PyObject 
*resultobj 
= 0; 
12229   wxFont 
*arg1 
= (wxFont 
*) 0 ; 
12230   wxString 
*arg2 
= 0 ; 
12234   bool temp2 
= false ; 
12235   PyObject 
* obj0 
= 0 ; 
12236   PyObject 
* obj1 
= 0 ; 
12237   char *  kwnames
[] = { 
12238     (char *) "self",(char *) "faceName", NULL 
 
12241   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFaceName",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
12242   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 |  0 ); 
12243   if (!SWIG_IsOK(res1
)) { 
12244     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetFaceName" "', expected argument " "1"" of type '" "wxFont *""'");  
12246   arg1 
= reinterpret_cast< wxFont 
* >(argp1
); 
12248     arg2 
= wxString_in_helper(obj1
); 
12249     if (arg2 
== NULL
) SWIG_fail
; 
12253     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12254     result 
= (bool)(arg1
)->SetFaceName((wxString 
const &)*arg2
); 
12255     wxPyEndAllowThreads(__tstate
); 
12256     if (PyErr_Occurred()) SWIG_fail
; 
12259     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
12275 SWIGINTERN PyObject 
*_wrap_Font_SetUnderlined(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
12276   PyObject 
*resultobj 
= 0; 
12277   wxFont 
*arg1 
= (wxFont 
*) 0 ; 
12283   PyObject 
* obj0 
= 0 ; 
12284   PyObject 
* obj1 
= 0 ; 
12285   char *  kwnames
[] = { 
12286     (char *) "self",(char *) "underlined", NULL 
 
12289   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetUnderlined",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
12290   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 |  0 ); 
12291   if (!SWIG_IsOK(res1
)) { 
12292     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetUnderlined" "', expected argument " "1"" of type '" "wxFont *""'");  
12294   arg1 
= reinterpret_cast< wxFont 
* >(argp1
); 
12295   ecode2 
= SWIG_AsVal_bool(obj1
, &val2
); 
12296   if (!SWIG_IsOK(ecode2
)) { 
12297     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetUnderlined" "', expected argument " "2"" of type '" "bool""'"); 
12299   arg2 
= static_cast< bool >(val2
); 
12301     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12302     (arg1
)->SetUnderlined(arg2
); 
12303     wxPyEndAllowThreads(__tstate
); 
12304     if (PyErr_Occurred()) SWIG_fail
; 
12306   resultobj 
= SWIG_Py_Void(); 
12313 SWIGINTERN PyObject 
*_wrap_Font_SetEncoding(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
12314   PyObject 
*resultobj 
= 0; 
12315   wxFont 
*arg1 
= (wxFont 
*) 0 ; 
12316   wxFontEncoding arg2 
; 
12321   PyObject 
* obj0 
= 0 ; 
12322   PyObject 
* obj1 
= 0 ; 
12323   char *  kwnames
[] = { 
12324     (char *) "self",(char *) "encoding", NULL 
 
12327   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetEncoding",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
12328   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 |  0 ); 
12329   if (!SWIG_IsOK(res1
)) { 
12330     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetEncoding" "', expected argument " "1"" of type '" "wxFont *""'");  
12332   arg1 
= reinterpret_cast< wxFont 
* >(argp1
); 
12333   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
12334   if (!SWIG_IsOK(ecode2
)) { 
12335     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'"); 
12337   arg2 
= static_cast< wxFontEncoding 
>(val2
); 
12339     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12340     (arg1
)->SetEncoding(arg2
); 
12341     wxPyEndAllowThreads(__tstate
); 
12342     if (PyErr_Occurred()) SWIG_fail
; 
12344   resultobj 
= SWIG_Py_Void(); 
12351 SWIGINTERN PyObject 
*_wrap_Font_SetNativeFontInfo(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
12352   PyObject 
*resultobj 
= 0; 
12353   wxFont 
*arg1 
= (wxFont 
*) 0 ; 
12354   wxNativeFontInfo 
*arg2 
= 0 ; 
12359   PyObject 
* obj0 
= 0 ; 
12360   PyObject 
* obj1 
= 0 ; 
12361   char *  kwnames
[] = { 
12362     (char *) "self",(char *) "info", NULL 
 
12365   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfo",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
12366   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 |  0 ); 
12367   if (!SWIG_IsOK(res1
)) { 
12368     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfo" "', expected argument " "1"" of type '" "wxFont *""'");  
12370   arg1 
= reinterpret_cast< wxFont 
* >(argp1
); 
12371   res2 
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativeFontInfo
,  0  | 0); 
12372   if (!SWIG_IsOK(res2
)) { 
12373     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font_SetNativeFontInfo" "', expected argument " "2"" of type '" "wxNativeFontInfo const &""'");  
12376     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Font_SetNativeFontInfo" "', expected argument " "2"" of type '" "wxNativeFontInfo const &""'");  
12378   arg2 
= reinterpret_cast< wxNativeFontInfo 
* >(argp2
); 
12380     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12381     (arg1
)->SetNativeFontInfo((wxNativeFontInfo 
const &)*arg2
); 
12382     wxPyEndAllowThreads(__tstate
); 
12383     if (PyErr_Occurred()) SWIG_fail
; 
12385   resultobj 
= SWIG_Py_Void(); 
12392 SWIGINTERN PyObject 
*_wrap_Font_SetNativeFontInfoFromString(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
12393   PyObject 
*resultobj 
= 0; 
12394   wxFont 
*arg1 
= (wxFont 
*) 0 ; 
12395   wxString 
*arg2 
= 0 ; 
12399   bool temp2 
= false ; 
12400   PyObject 
* obj0 
= 0 ; 
12401   PyObject 
* obj1 
= 0 ; 
12402   char *  kwnames
[] = { 
12403     (char *) "self",(char *) "info", NULL 
 
12406   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoFromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
12407   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 |  0 ); 
12408   if (!SWIG_IsOK(res1
)) { 
12409     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfoFromString" "', expected argument " "1"" of type '" "wxFont *""'");  
12411   arg1 
= reinterpret_cast< wxFont 
* >(argp1
); 
12413     arg2 
= wxString_in_helper(obj1
); 
12414     if (arg2 
== NULL
) SWIG_fail
; 
12418     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12419     result 
= (bool)(arg1
)->SetNativeFontInfo((wxString 
const &)*arg2
); 
12420     wxPyEndAllowThreads(__tstate
); 
12421     if (PyErr_Occurred()) SWIG_fail
; 
12424     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
12440 SWIGINTERN PyObject 
*_wrap_Font_SetNativeFontInfoUserDesc(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
12441   PyObject 
*resultobj 
= 0; 
12442   wxFont 
*arg1 
= (wxFont 
*) 0 ; 
12443   wxString 
*arg2 
= 0 ; 
12447   bool temp2 
= false ; 
12448   PyObject 
* obj0 
= 0 ; 
12449   PyObject 
* obj1 
= 0 ; 
12450   char *  kwnames
[] = { 
12451     (char *) "self",(char *) "info", NULL 
 
12454   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoUserDesc",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
12455   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 |  0 ); 
12456   if (!SWIG_IsOK(res1
)) { 
12457     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfoUserDesc" "', expected argument " "1"" of type '" "wxFont *""'");  
12459   arg1 
= reinterpret_cast< wxFont 
* >(argp1
); 
12461     arg2 
= wxString_in_helper(obj1
); 
12462     if (arg2 
== NULL
) SWIG_fail
; 
12466     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12467     result 
= (bool)(arg1
)->SetNativeFontInfoUserDesc((wxString 
const &)*arg2
); 
12468     wxPyEndAllowThreads(__tstate
); 
12469     if (PyErr_Occurred()) SWIG_fail
; 
12472     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
12488 SWIGINTERN PyObject 
*_wrap_Font_GetFamilyString(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
12489   PyObject 
*resultobj 
= 0; 
12490   wxFont 
*arg1 
= (wxFont 
*) 0 ; 
12494   PyObject 
*swig_obj
[1] ; 
12496   if (!args
) SWIG_fail
; 
12497   swig_obj
[0] = args
; 
12498   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 |  0 ); 
12499   if (!SWIG_IsOK(res1
)) { 
12500     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFamilyString" "', expected argument " "1"" of type '" "wxFont const *""'");  
12502   arg1 
= reinterpret_cast< wxFont 
* >(argp1
); 
12504     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12505     result 
= ((wxFont 
const *)arg1
)->GetFamilyString(); 
12506     wxPyEndAllowThreads(__tstate
); 
12507     if (PyErr_Occurred()) SWIG_fail
; 
12511     resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
12513     resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
12522 SWIGINTERN PyObject 
*_wrap_Font_GetStyleString(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
12523   PyObject 
*resultobj 
= 0; 
12524   wxFont 
*arg1 
= (wxFont 
*) 0 ; 
12528   PyObject 
*swig_obj
[1] ; 
12530   if (!args
) SWIG_fail
; 
12531   swig_obj
[0] = args
; 
12532   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 |  0 ); 
12533   if (!SWIG_IsOK(res1
)) { 
12534     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetStyleString" "', expected argument " "1"" of type '" "wxFont const *""'");  
12536   arg1 
= reinterpret_cast< wxFont 
* >(argp1
); 
12538     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12539     result 
= ((wxFont 
const *)arg1
)->GetStyleString(); 
12540     wxPyEndAllowThreads(__tstate
); 
12541     if (PyErr_Occurred()) SWIG_fail
; 
12545     resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
12547     resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
12556 SWIGINTERN PyObject 
*_wrap_Font_GetWeightString(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
12557   PyObject 
*resultobj 
= 0; 
12558   wxFont 
*arg1 
= (wxFont 
*) 0 ; 
12562   PyObject 
*swig_obj
[1] ; 
12564   if (!args
) SWIG_fail
; 
12565   swig_obj
[0] = args
; 
12566   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 |  0 ); 
12567   if (!SWIG_IsOK(res1
)) { 
12568     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetWeightString" "', expected argument " "1"" of type '" "wxFont const *""'");  
12570   arg1 
= reinterpret_cast< wxFont 
* >(argp1
); 
12572     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12573     result 
= ((wxFont 
const *)arg1
)->GetWeightString(); 
12574     wxPyEndAllowThreads(__tstate
); 
12575     if (PyErr_Occurred()) SWIG_fail
; 
12579     resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
12581     resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
12590 SWIGINTERN PyObject 
*_wrap_Font_SetNoAntiAliasing(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
12591   PyObject 
*resultobj 
= 0; 
12592   wxFont 
*arg1 
= (wxFont 
*) 0 ; 
12593   bool arg2 
= (bool) true ; 
12598   PyObject 
* obj0 
= 0 ; 
12599   PyObject 
* obj1 
= 0 ; 
12600   char *  kwnames
[] = { 
12601     (char *) "self",(char *) "no", NULL 
 
12604   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Font_SetNoAntiAliasing",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
12605   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 |  0 ); 
12606   if (!SWIG_IsOK(res1
)) { 
12607     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNoAntiAliasing" "', expected argument " "1"" of type '" "wxFont *""'");  
12609   arg1 
= reinterpret_cast< wxFont 
* >(argp1
); 
12611     ecode2 
= SWIG_AsVal_bool(obj1
, &val2
); 
12612     if (!SWIG_IsOK(ecode2
)) { 
12613       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetNoAntiAliasing" "', expected argument " "2"" of type '" "bool""'"); 
12615     arg2 
= static_cast< bool >(val2
); 
12618     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12619     (arg1
)->SetNoAntiAliasing(arg2
); 
12620     wxPyEndAllowThreads(__tstate
); 
12621     if (PyErr_Occurred()) SWIG_fail
; 
12623   resultobj 
= SWIG_Py_Void(); 
12630 SWIGINTERN PyObject 
*_wrap_Font_GetNoAntiAliasing(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
12631   PyObject 
*resultobj 
= 0; 
12632   wxFont 
*arg1 
= (wxFont 
*) 0 ; 
12636   PyObject 
*swig_obj
[1] ; 
12638   if (!args
) SWIG_fail
; 
12639   swig_obj
[0] = args
; 
12640   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 |  0 ); 
12641   if (!SWIG_IsOK(res1
)) { 
12642     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNoAntiAliasing" "', expected argument " "1"" of type '" "wxFont const *""'");  
12644   arg1 
= reinterpret_cast< wxFont 
* >(argp1
); 
12646     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12647     result 
= (bool)((wxFont 
const *)arg1
)->GetNoAntiAliasing(); 
12648     wxPyEndAllowThreads(__tstate
); 
12649     if (PyErr_Occurred()) SWIG_fail
; 
12652     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
12660 SWIGINTERN PyObject 
*_wrap_Font_GetDefaultEncoding(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
12661   PyObject 
*resultobj 
= 0; 
12662   wxFontEncoding result
; 
12664   if (!SWIG_Python_UnpackTuple(args
,"Font_GetDefaultEncoding",0,0,0)) SWIG_fail
; 
12666     if (!wxPyCheckForApp()) SWIG_fail
; 
12667     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12668     result 
= (wxFontEncoding
)wxFont::GetDefaultEncoding(); 
12669     wxPyEndAllowThreads(__tstate
); 
12670     if (PyErr_Occurred()) SWIG_fail
; 
12672   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
12679 SWIGINTERN PyObject 
*_wrap_Font_SetDefaultEncoding(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
12680   PyObject 
*resultobj 
= 0; 
12681   wxFontEncoding arg1 
; 
12684   PyObject 
* obj0 
= 0 ; 
12685   char *  kwnames
[] = { 
12686     (char *) "encoding", NULL 
 
12689   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_SetDefaultEncoding",kwnames
,&obj0
)) SWIG_fail
; 
12690   ecode1 
= SWIG_AsVal_int(obj0
, &val1
); 
12691   if (!SWIG_IsOK(ecode1
)) { 
12692     SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Font_SetDefaultEncoding" "', expected argument " "1"" of type '" "wxFontEncoding""'"); 
12694   arg1 
= static_cast< wxFontEncoding 
>(val1
); 
12696     if (!wxPyCheckForApp()) SWIG_fail
; 
12697     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12698     wxFont::SetDefaultEncoding(arg1
); 
12699     wxPyEndAllowThreads(__tstate
); 
12700     if (PyErr_Occurred()) SWIG_fail
; 
12702   resultobj 
= SWIG_Py_Void(); 
12709 SWIGINTERN PyObject 
*Font_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
12711   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
12712   SWIG_TypeNewClientData(SWIGTYPE_p_wxFont
, SWIG_NewClientData(obj
)); 
12713   return SWIG_Py_Void(); 
12716 SWIGINTERN PyObject 
*Font_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
12717   return SWIG_Python_InitShadowInstance(args
); 
12720 SWIGINTERN PyObject 
*_wrap_new_FontEnumerator(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
12721   PyObject 
*resultobj 
= 0; 
12722   wxPyFontEnumerator 
*result 
= 0 ; 
12724   if (!SWIG_Python_UnpackTuple(args
,"new_FontEnumerator",0,0,0)) SWIG_fail
; 
12726     if (!wxPyCheckForApp()) SWIG_fail
; 
12727     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12728     result 
= (wxPyFontEnumerator 
*)new wxPyFontEnumerator(); 
12729     wxPyEndAllowThreads(__tstate
); 
12730     if (PyErr_Occurred()) SWIG_fail
; 
12732   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_NEW 
|  0 ); 
12739 SWIGINTERN PyObject 
*_wrap_delete_FontEnumerator(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
12740   PyObject 
*resultobj 
= 0; 
12741   wxPyFontEnumerator 
*arg1 
= (wxPyFontEnumerator 
*) 0 ; 
12744   PyObject 
*swig_obj
[1] ; 
12746   if (!args
) SWIG_fail
; 
12747   swig_obj
[0] = args
; 
12748   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_DISOWN 
|  0 ); 
12749   if (!SWIG_IsOK(res1
)) { 
12750     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontEnumerator" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");  
12752   arg1 
= reinterpret_cast< wxPyFontEnumerator 
* >(argp1
); 
12754     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12757     wxPyEndAllowThreads(__tstate
); 
12758     if (PyErr_Occurred()) SWIG_fail
; 
12760   resultobj 
= SWIG_Py_Void(); 
12767 SWIGINTERN PyObject 
*_wrap_FontEnumerator__setCallbackInfo(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
12768   PyObject 
*resultobj 
= 0; 
12769   wxPyFontEnumerator 
*arg1 
= (wxPyFontEnumerator 
*) 0 ; 
12770   PyObject 
*arg2 
= (PyObject 
*) 0 ; 
12771   PyObject 
*arg3 
= (PyObject 
*) 0 ; 
12777   PyObject 
* obj0 
= 0 ; 
12778   PyObject 
* obj1 
= 0 ; 
12779   PyObject 
* obj2 
= 0 ; 
12780   PyObject 
* obj3 
= 0 ; 
12781   char *  kwnames
[] = { 
12782     (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL 
 
12785   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FontEnumerator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
; 
12786   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 |  0 ); 
12787   if (!SWIG_IsOK(res1
)) { 
12788     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");  
12790   arg1 
= reinterpret_cast< wxPyFontEnumerator 
* >(argp1
); 
12793   ecode4 
= SWIG_AsVal_bool(obj3
, &val4
); 
12794   if (!SWIG_IsOK(ecode4
)) { 
12795     SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontEnumerator__setCallbackInfo" "', expected argument " "4"" of type '" "bool""'"); 
12797   arg4 
= static_cast< bool >(val4
); 
12799     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12800     (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
); 
12801     wxPyEndAllowThreads(__tstate
); 
12802     if (PyErr_Occurred()) SWIG_fail
; 
12804   resultobj 
= SWIG_Py_Void(); 
12811 SWIGINTERN PyObject 
*_wrap_FontEnumerator_EnumerateFacenames(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
12812   PyObject 
*resultobj 
= 0; 
12813   wxPyFontEnumerator 
*arg1 
= (wxPyFontEnumerator 
*) 0 ; 
12814   wxFontEncoding arg2 
= (wxFontEncoding
) wxFONTENCODING_SYSTEM 
; 
12815   bool arg3 
= (bool) false ; 
12823   PyObject 
* obj0 
= 0 ; 
12824   PyObject 
* obj1 
= 0 ; 
12825   PyObject 
* obj2 
= 0 ; 
12826   char *  kwnames
[] = { 
12827     (char *) "self",(char *) "encoding",(char *) "fixedWidthOnly", NULL 
 
12830   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FontEnumerator_EnumerateFacenames",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
12831   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 |  0 ); 
12832   if (!SWIG_IsOK(res1
)) { 
12833     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");  
12835   arg1 
= reinterpret_cast< wxPyFontEnumerator 
* >(argp1
); 
12837     ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
12838     if (!SWIG_IsOK(ecode2
)) { 
12839       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "2"" of type '" "wxFontEncoding""'"); 
12841     arg2 
= static_cast< wxFontEncoding 
>(val2
); 
12844     ecode3 
= SWIG_AsVal_bool(obj2
, &val3
); 
12845     if (!SWIG_IsOK(ecode3
)) { 
12846       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "3"" of type '" "bool""'"); 
12848     arg3 
= static_cast< bool >(val3
); 
12851     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12852     result 
= (bool)(arg1
)->EnumerateFacenames(arg2
,arg3
); 
12853     wxPyEndAllowThreads(__tstate
); 
12854     if (PyErr_Occurred()) SWIG_fail
; 
12857     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
12865 SWIGINTERN PyObject 
*_wrap_FontEnumerator_EnumerateEncodings(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
12866   PyObject 
*resultobj 
= 0; 
12867   wxPyFontEnumerator 
*arg1 
= (wxPyFontEnumerator 
*) 0 ; 
12868   wxString 
const &arg2_defvalue 
= wxPyEmptyString 
; 
12869   wxString 
*arg2 
= (wxString 
*) &arg2_defvalue 
; 
12873   bool temp2 
= false ; 
12874   PyObject 
* obj0 
= 0 ; 
12875   PyObject 
* obj1 
= 0 ; 
12876   char *  kwnames
[] = { 
12877     (char *) "self",(char *) "facename", NULL 
 
12880   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FontEnumerator_EnumerateEncodings",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
12881   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 |  0 ); 
12882   if (!SWIG_IsOK(res1
)) { 
12883     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_EnumerateEncodings" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");  
12885   arg1 
= reinterpret_cast< wxPyFontEnumerator 
* >(argp1
); 
12888       arg2 
= wxString_in_helper(obj1
); 
12889       if (arg2 
== NULL
) SWIG_fail
; 
12894     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12895     result 
= (bool)(arg1
)->EnumerateEncodings((wxString 
const &)*arg2
); 
12896     wxPyEndAllowThreads(__tstate
); 
12897     if (PyErr_Occurred()) SWIG_fail
; 
12900     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
12916 SWIGINTERN PyObject 
*_wrap_FontEnumerator_GetEncodings(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
12917   PyObject 
*resultobj 
= 0; 
12918   PyObject 
*result 
= 0 ; 
12920   if (!SWIG_Python_UnpackTuple(args
,"FontEnumerator_GetEncodings",0,0,0)) SWIG_fail
; 
12922     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12923     result 
= (PyObject 
*)wxPyFontEnumerator_GetEncodings(); 
12924     wxPyEndAllowThreads(__tstate
); 
12925     if (PyErr_Occurred()) SWIG_fail
; 
12927   resultobj 
= result
; 
12934 SWIGINTERN PyObject 
*_wrap_FontEnumerator_GetFacenames(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
12935   PyObject 
*resultobj 
= 0; 
12936   PyObject 
*result 
= 0 ; 
12938   if (!SWIG_Python_UnpackTuple(args
,"FontEnumerator_GetFacenames",0,0,0)) SWIG_fail
; 
12940     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12941     result 
= (PyObject 
*)wxPyFontEnumerator_GetFacenames(); 
12942     wxPyEndAllowThreads(__tstate
); 
12943     if (PyErr_Occurred()) SWIG_fail
; 
12945   resultobj 
= result
; 
12952 SWIGINTERN PyObject 
*_wrap_FontEnumerator_IsValidFacename(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
12953   PyObject 
*resultobj 
= 0; 
12954   wxString 
*arg1 
= 0 ; 
12956   bool temp1 
= false ; 
12957   PyObject 
* obj0 
= 0 ; 
12958   char *  kwnames
[] = { 
12959     (char *) "str", NULL 
 
12962   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_IsValidFacename",kwnames
,&obj0
)) SWIG_fail
; 
12964     arg1 
= wxString_in_helper(obj0
); 
12965     if (arg1 
== NULL
) SWIG_fail
; 
12969     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12970     result 
= (bool)wxPyFontEnumerator::IsValidFacename((wxString 
const &)*arg1
); 
12971     wxPyEndAllowThreads(__tstate
); 
12972     if (PyErr_Occurred()) SWIG_fail
; 
12975     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
12991 SWIGINTERN PyObject 
*FontEnumerator_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
12993   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
12994   SWIG_TypeNewClientData(SWIGTYPE_p_wxPyFontEnumerator
, SWIG_NewClientData(obj
)); 
12995   return SWIG_Py_Void(); 
12998 SWIGINTERN PyObject 
*FontEnumerator_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
12999   return SWIG_Python_InitShadowInstance(args
); 
13002 SWIGINTERN PyObject 
*_wrap_LanguageInfo_Language_set(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
13003   PyObject 
*resultobj 
= 0; 
13004   wxLanguageInfo 
*arg1 
= (wxLanguageInfo 
*) 0 ; 
13010   PyObject 
*swig_obj
[2] ; 
13012   if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_Language_set",2,2,swig_obj
)) SWIG_fail
; 
13013   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 |  0 ); 
13014   if (!SWIG_IsOK(res1
)) { 
13015     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Language_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");  
13017   arg1 
= reinterpret_cast< wxLanguageInfo 
* >(argp1
); 
13018   ecode2 
= SWIG_AsVal_int(swig_obj
[1], &val2
); 
13019   if (!SWIG_IsOK(ecode2
)) { 
13020     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "LanguageInfo_Language_set" "', expected argument " "2"" of type '" "int""'"); 
13022   arg2 
= static_cast< int >(val2
); 
13023   if (arg1
) (arg1
)->Language 
= arg2
; 
13025   resultobj 
= SWIG_Py_Void(); 
13032 SWIGINTERN PyObject 
*_wrap_LanguageInfo_Language_get(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
13033   PyObject 
*resultobj 
= 0; 
13034   wxLanguageInfo 
*arg1 
= (wxLanguageInfo 
*) 0 ; 
13038   PyObject 
*swig_obj
[1] ; 
13040   if (!args
) SWIG_fail
; 
13041   swig_obj
[0] = args
; 
13042   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 |  0 ); 
13043   if (!SWIG_IsOK(res1
)) { 
13044     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Language_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");  
13046   arg1 
= reinterpret_cast< wxLanguageInfo 
* >(argp1
); 
13047   result 
= (int) ((arg1
)->Language
); 
13048   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
13055 SWIGINTERN PyObject 
*_wrap_LanguageInfo_CanonicalName_set(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
13056   PyObject 
*resultobj 
= 0; 
13057   wxLanguageInfo 
*arg1 
= (wxLanguageInfo 
*) 0 ; 
13058   wxString 
*arg2 
= (wxString 
*) 0 ; 
13061   bool temp2 
= false ; 
13062   PyObject 
*swig_obj
[2] ; 
13064   if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_CanonicalName_set",2,2,swig_obj
)) SWIG_fail
; 
13065   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 |  0 ); 
13066   if (!SWIG_IsOK(res1
)) { 
13067     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_CanonicalName_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");  
13069   arg1 
= reinterpret_cast< wxLanguageInfo 
* >(argp1
); 
13071     arg2 
= wxString_in_helper(swig_obj
[1]); 
13072     if (arg2 
== NULL
) SWIG_fail
; 
13075   if (arg1
) (arg1
)->CanonicalName 
= *arg2
; 
13077   resultobj 
= SWIG_Py_Void(); 
13092 SWIGINTERN PyObject 
*_wrap_LanguageInfo_CanonicalName_get(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
13093   PyObject 
*resultobj 
= 0; 
13094   wxLanguageInfo 
*arg1 
= (wxLanguageInfo 
*) 0 ; 
13095   wxString 
*result 
= 0 ; 
13098   PyObject 
*swig_obj
[1] ; 
13100   if (!args
) SWIG_fail
; 
13101   swig_obj
[0] = args
; 
13102   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 |  0 ); 
13103   if (!SWIG_IsOK(res1
)) { 
13104     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_CanonicalName_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");  
13106   arg1 
= reinterpret_cast< wxLanguageInfo 
* >(argp1
); 
13107   result 
= (wxString 
*)& ((arg1
)->CanonicalName
); 
13110     resultobj 
= PyUnicode_FromWideChar(result
->c_str(), result
->Len()); 
13112     resultobj 
= PyString_FromStringAndSize(result
->c_str(), result
->Len()); 
13121 SWIGINTERN PyObject 
*_wrap_LanguageInfo_Description_set(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
13122   PyObject 
*resultobj 
= 0; 
13123   wxLanguageInfo 
*arg1 
= (wxLanguageInfo 
*) 0 ; 
13124   wxString 
*arg2 
= (wxString 
*) 0 ; 
13127   bool temp2 
= false ; 
13128   PyObject 
*swig_obj
[2] ; 
13130   if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_Description_set",2,2,swig_obj
)) SWIG_fail
; 
13131   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 |  0 ); 
13132   if (!SWIG_IsOK(res1
)) { 
13133     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Description_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");  
13135   arg1 
= reinterpret_cast< wxLanguageInfo 
* >(argp1
); 
13137     arg2 
= wxString_in_helper(swig_obj
[1]); 
13138     if (arg2 
== NULL
) SWIG_fail
; 
13141   if (arg1
) (arg1
)->Description 
= *arg2
; 
13143   resultobj 
= SWIG_Py_Void(); 
13158 SWIGINTERN PyObject 
*_wrap_LanguageInfo_Description_get(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
13159   PyObject 
*resultobj 
= 0; 
13160   wxLanguageInfo 
*arg1 
= (wxLanguageInfo 
*) 0 ; 
13161   wxString 
*result 
= 0 ; 
13164   PyObject 
*swig_obj
[1] ; 
13166   if (!args
) SWIG_fail
; 
13167   swig_obj
[0] = args
; 
13168   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 |  0 ); 
13169   if (!SWIG_IsOK(res1
)) { 
13170     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Description_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");  
13172   arg1 
= reinterpret_cast< wxLanguageInfo 
* >(argp1
); 
13173   result 
= (wxString 
*)& ((arg1
)->Description
); 
13176     resultobj 
= PyUnicode_FromWideChar(result
->c_str(), result
->Len()); 
13178     resultobj 
= PyString_FromStringAndSize(result
->c_str(), result
->Len()); 
13187 SWIGINTERN PyObject 
*LanguageInfo_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
13189   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
13190   SWIG_TypeNewClientData(SWIGTYPE_p_wxLanguageInfo
, SWIG_NewClientData(obj
)); 
13191   return SWIG_Py_Void(); 
13194 SWIGINTERN PyObject 
*_wrap_new_Locale(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
13195   PyObject 
*resultobj 
= 0; 
13196   int arg1 
= (int) -1 ; 
13197   int arg2 
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING 
; 
13198   wxLocale 
*result 
= 0 ; 
13203   PyObject 
* obj0 
= 0 ; 
13204   PyObject 
* obj1 
= 0 ; 
13205   char *  kwnames
[] = { 
13206     (char *) "language",(char *) "flags", NULL 
 
13209   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Locale",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
13211     ecode1 
= SWIG_AsVal_int(obj0
, &val1
); 
13212     if (!SWIG_IsOK(ecode1
)) { 
13213       SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Locale" "', expected argument " "1"" of type '" "int""'"); 
13215     arg1 
= static_cast< int >(val1
); 
13218     ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
13219     if (!SWIG_IsOK(ecode2
)) { 
13220       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Locale" "', expected argument " "2"" of type '" "int""'"); 
13222     arg2 
= static_cast< int >(val2
); 
13225     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13226     result 
= (wxLocale 
*)new_wxLocale(arg1
,arg2
); 
13227     wxPyEndAllowThreads(__tstate
); 
13228     if (PyErr_Occurred()) SWIG_fail
; 
13230   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLocale
, SWIG_POINTER_NEW 
|  0 ); 
13237 SWIGINTERN PyObject 
*_wrap_delete_Locale(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
13238   PyObject 
*resultobj 
= 0; 
13239   wxLocale 
*arg1 
= (wxLocale 
*) 0 ; 
13242   PyObject 
*swig_obj
[1] ; 
13244   if (!args
) SWIG_fail
; 
13245   swig_obj
[0] = args
; 
13246   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, SWIG_POINTER_DISOWN 
|  0 ); 
13247   if (!SWIG_IsOK(res1
)) { 
13248     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Locale" "', expected argument " "1"" of type '" "wxLocale *""'");  
13250   arg1 
= reinterpret_cast< wxLocale 
* >(argp1
); 
13252     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13255     wxPyEndAllowThreads(__tstate
); 
13256     if (PyErr_Occurred()) SWIG_fail
; 
13258   resultobj 
= SWIG_Py_Void(); 
13265 SWIGINTERN PyObject 
*_wrap_Locale_Init1(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
13266   PyObject 
*resultobj 
= 0; 
13267   wxLocale 
*arg1 
= (wxLocale 
*) 0 ; 
13268   wxString 
*arg2 
= 0 ; 
13269   wxString 
const &arg3_defvalue 
= wxPyEmptyString 
; 
13270   wxString 
*arg3 
= (wxString 
*) &arg3_defvalue 
; 
13271   wxString 
const &arg4_defvalue 
= wxPyEmptyString 
; 
13272   wxString 
*arg4 
= (wxString 
*) &arg4_defvalue 
; 
13273   bool arg5 
= (bool) true ; 
13274   bool arg6 
= (bool) false ; 
13278   bool temp2 
= false ; 
13279   bool temp3 
= false ; 
13280   bool temp4 
= false ; 
13285   PyObject 
* obj0 
= 0 ; 
13286   PyObject 
* obj1 
= 0 ; 
13287   PyObject 
* obj2 
= 0 ; 
13288   PyObject 
* obj3 
= 0 ; 
13289   PyObject 
* obj4 
= 0 ; 
13290   PyObject 
* obj5 
= 0 ; 
13291   char *  kwnames
[] = { 
13292     (char *) "self",(char *) "szName",(char *) "szShort",(char *) "szLocale",(char *) "bLoadDefault",(char *) "bConvertEncoding", NULL 
 
13295   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Locale_Init1",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
; 
13296   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 |  0 ); 
13297   if (!SWIG_IsOK(res1
)) { 
13298     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_Init1" "', expected argument " "1"" of type '" "wxLocale *""'");  
13300   arg1 
= reinterpret_cast< wxLocale 
* >(argp1
); 
13302     arg2 
= wxString_in_helper(obj1
); 
13303     if (arg2 
== NULL
) SWIG_fail
; 
13308       arg3 
= wxString_in_helper(obj2
); 
13309       if (arg3 
== NULL
) SWIG_fail
; 
13315       arg4 
= wxString_in_helper(obj3
); 
13316       if (arg4 
== NULL
) SWIG_fail
; 
13321     ecode5 
= SWIG_AsVal_bool(obj4
, &val5
); 
13322     if (!SWIG_IsOK(ecode5
)) { 
13323       SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Locale_Init1" "', expected argument " "5"" of type '" "bool""'"); 
13325     arg5 
= static_cast< bool >(val5
); 
13328     ecode6 
= SWIG_AsVal_bool(obj5
, &val6
); 
13329     if (!SWIG_IsOK(ecode6
)) { 
13330       SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Locale_Init1" "', expected argument " "6"" of type '" "bool""'"); 
13332     arg6 
= static_cast< bool >(val6
); 
13335     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13336     result 
= (bool)wxLocale_Init1(arg1
,(wxString 
const &)*arg2
,(wxString 
const &)*arg3
,(wxString 
const &)*arg4
,arg5
,arg6
); 
13337     wxPyEndAllowThreads(__tstate
); 
13338     if (PyErr_Occurred()) SWIG_fail
; 
13341     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
13373 SWIGINTERN PyObject 
*_wrap_Locale_Init2(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
13374   PyObject 
*resultobj 
= 0; 
13375   wxLocale 
*arg1 
= (wxLocale 
*) 0 ; 
13376   int arg2 
= (int) wxLANGUAGE_DEFAULT 
; 
13377   int arg3 
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING 
; 
13385   PyObject 
* obj0 
= 0 ; 
13386   PyObject 
* obj1 
= 0 ; 
13387   PyObject 
* obj2 
= 0 ; 
13388   char *  kwnames
[] = { 
13389     (char *) "self",(char *) "language",(char *) "flags", NULL 
 
13392   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Locale_Init2",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
13393   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 |  0 ); 
13394   if (!SWIG_IsOK(res1
)) { 
13395     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_Init2" "', expected argument " "1"" of type '" "wxLocale *""'");  
13397   arg1 
= reinterpret_cast< wxLocale 
* >(argp1
); 
13399     ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
13400     if (!SWIG_IsOK(ecode2
)) { 
13401       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Locale_Init2" "', expected argument " "2"" of type '" "int""'"); 
13403     arg2 
= static_cast< int >(val2
); 
13406     ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
13407     if (!SWIG_IsOK(ecode3
)) { 
13408       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Locale_Init2" "', expected argument " "3"" of type '" "int""'"); 
13410     arg3 
= static_cast< int >(val3
); 
13413     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13414     result 
= (bool)wxLocale_Init2(arg1
,arg2
,arg3
); 
13415     wxPyEndAllowThreads(__tstate
); 
13416     if (PyErr_Occurred()) SWIG_fail
; 
13419     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
13427 SWIGINTERN PyObject 
*_wrap_Locale_GetSystemLanguage(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
13428   PyObject 
*resultobj 
= 0; 
13431   if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemLanguage",0,0,0)) SWIG_fail
; 
13433     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13434     result 
= (int)wxLocale::GetSystemLanguage(); 
13435     wxPyEndAllowThreads(__tstate
); 
13436     if (PyErr_Occurred()) SWIG_fail
; 
13438   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
13445 SWIGINTERN PyObject 
*_wrap_Locale_GetSystemEncoding(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
13446   PyObject 
*resultobj 
= 0; 
13447   wxFontEncoding result
; 
13449   if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemEncoding",0,0,0)) SWIG_fail
; 
13451     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13452     result 
= (wxFontEncoding
)wxLocale::GetSystemEncoding(); 
13453     wxPyEndAllowThreads(__tstate
); 
13454     if (PyErr_Occurred()) SWIG_fail
; 
13456   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
13463 SWIGINTERN PyObject 
*_wrap_Locale_GetSystemEncodingName(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
13464   PyObject 
*resultobj 
= 0; 
13467   if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemEncodingName",0,0,0)) SWIG_fail
; 
13469     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13470     result 
= wxLocale::GetSystemEncodingName(); 
13471     wxPyEndAllowThreads(__tstate
); 
13472     if (PyErr_Occurred()) SWIG_fail
; 
13476     resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
13478     resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
13487 SWIGINTERN PyObject 
*_wrap_Locale_IsOk(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
13488   PyObject 
*resultobj 
= 0; 
13489   wxLocale 
*arg1 
= (wxLocale 
*) 0 ; 
13493   PyObject 
*swig_obj
[1] ; 
13495   if (!args
) SWIG_fail
; 
13496   swig_obj
[0] = args
; 
13497   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 |  0 ); 
13498   if (!SWIG_IsOK(res1
)) { 
13499     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_IsOk" "', expected argument " "1"" of type '" "wxLocale const *""'");  
13501   arg1 
= reinterpret_cast< wxLocale 
* >(argp1
); 
13503     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13504     result 
= (bool)((wxLocale 
const *)arg1
)->IsOk(); 
13505     wxPyEndAllowThreads(__tstate
); 
13506     if (PyErr_Occurred()) SWIG_fail
; 
13509     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
13517 SWIGINTERN PyObject 
*_wrap_Locale_GetLocale(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
13518   PyObject 
*resultobj 
= 0; 
13519   wxLocale 
*arg1 
= (wxLocale 
*) 0 ; 
13523   PyObject 
*swig_obj
[1] ; 
13525   if (!args
) SWIG_fail
; 
13526   swig_obj
[0] = args
; 
13527   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 |  0 ); 
13528   if (!SWIG_IsOK(res1
)) { 
13529     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetLocale" "', expected argument " "1"" of type '" "wxLocale const *""'");  
13531   arg1 
= reinterpret_cast< wxLocale 
* >(argp1
); 
13533     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13534     result 
= ((wxLocale 
const *)arg1
)->GetLocale(); 
13535     wxPyEndAllowThreads(__tstate
); 
13536     if (PyErr_Occurred()) SWIG_fail
; 
13540     resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
13542     resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
13551 SWIGINTERN PyObject 
*_wrap_Locale_GetLanguage(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
13552   PyObject 
*resultobj 
= 0; 
13553   wxLocale 
*arg1 
= (wxLocale 
*) 0 ; 
13557   PyObject 
*swig_obj
[1] ; 
13559   if (!args
) SWIG_fail
; 
13560   swig_obj
[0] = args
; 
13561   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 |  0 ); 
13562   if (!SWIG_IsOK(res1
)) { 
13563     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetLanguage" "', expected argument " "1"" of type '" "wxLocale const *""'");  
13565   arg1 
= reinterpret_cast< wxLocale 
* >(argp1
); 
13567     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13568     result 
= (int)((wxLocale 
const *)arg1
)->GetLanguage(); 
13569     wxPyEndAllowThreads(__tstate
); 
13570     if (PyErr_Occurred()) SWIG_fail
; 
13572   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
13579 SWIGINTERN PyObject 
*_wrap_Locale_GetSysName(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
13580   PyObject 
*resultobj 
= 0; 
13581   wxLocale 
*arg1 
= (wxLocale 
*) 0 ; 
13585   PyObject 
*swig_obj
[1] ; 
13587   if (!args
) SWIG_fail
; 
13588   swig_obj
[0] = args
; 
13589   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 |  0 ); 
13590   if (!SWIG_IsOK(res1
)) { 
13591     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetSysName" "', expected argument " "1"" of type '" "wxLocale const *""'");  
13593   arg1 
= reinterpret_cast< wxLocale 
* >(argp1
); 
13595     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13596     result 
= ((wxLocale 
const *)arg1
)->GetSysName(); 
13597     wxPyEndAllowThreads(__tstate
); 
13598     if (PyErr_Occurred()) SWIG_fail
; 
13602     resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
13604     resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
13613 SWIGINTERN PyObject 
*_wrap_Locale_GetCanonicalName(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
13614   PyObject 
*resultobj 
= 0; 
13615   wxLocale 
*arg1 
= (wxLocale 
*) 0 ; 
13619   PyObject 
*swig_obj
[1] ; 
13621   if (!args
) SWIG_fail
; 
13622   swig_obj
[0] = args
; 
13623   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 |  0 ); 
13624   if (!SWIG_IsOK(res1
)) { 
13625     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetCanonicalName" "', expected argument " "1"" of type '" "wxLocale const *""'");  
13627   arg1 
= reinterpret_cast< wxLocale 
* >(argp1
); 
13629     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13630     result 
= ((wxLocale 
const *)arg1
)->GetCanonicalName(); 
13631     wxPyEndAllowThreads(__tstate
); 
13632     if (PyErr_Occurred()) SWIG_fail
; 
13636     resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
13638     resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
13647 SWIGINTERN PyObject 
*_wrap_Locale_AddCatalogLookupPathPrefix(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
13648   PyObject 
*resultobj 
= 0; 
13649   wxString 
*arg1 
= 0 ; 
13650   bool temp1 
= false ; 
13651   PyObject 
* obj0 
= 0 ; 
13652   char *  kwnames
[] = { 
13653     (char *) "prefix", NULL 
 
13656   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddCatalogLookupPathPrefix",kwnames
,&obj0
)) SWIG_fail
; 
13658     arg1 
= wxString_in_helper(obj0
); 
13659     if (arg1 
== NULL
) SWIG_fail
; 
13663     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13664     wxLocale::AddCatalogLookupPathPrefix((wxString 
const &)*arg1
); 
13665     wxPyEndAllowThreads(__tstate
); 
13666     if (PyErr_Occurred()) SWIG_fail
; 
13668   resultobj 
= SWIG_Py_Void(); 
13683 SWIGINTERN PyObject 
*_wrap_Locale_AddCatalog(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
13684   PyObject 
*resultobj 
= 0; 
13685   wxLocale 
*arg1 
= (wxLocale 
*) 0 ; 
13686   wxString 
*arg2 
= 0 ; 
13690   bool temp2 
= false ; 
13691   PyObject 
* obj0 
= 0 ; 
13692   PyObject 
* obj1 
= 0 ; 
13693   char *  kwnames
[] = { 
13694     (char *) "self",(char *) "szDomain", NULL 
 
13697   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_AddCatalog",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
13698   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 |  0 ); 
13699   if (!SWIG_IsOK(res1
)) { 
13700     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_AddCatalog" "', expected argument " "1"" of type '" "wxLocale *""'");  
13702   arg1 
= reinterpret_cast< wxLocale 
* >(argp1
); 
13704     arg2 
= wxString_in_helper(obj1
); 
13705     if (arg2 
== NULL
) SWIG_fail
; 
13709     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13710     result 
= (bool)(arg1
)->AddCatalog((wxString 
const &)*arg2
); 
13711     wxPyEndAllowThreads(__tstate
); 
13712     if (PyErr_Occurred()) SWIG_fail
; 
13715     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
13731 SWIGINTERN PyObject 
*_wrap_Locale_IsLoaded(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
13732   PyObject 
*resultobj 
= 0; 
13733   wxLocale 
*arg1 
= (wxLocale 
*) 0 ; 
13734   wxString 
*arg2 
= 0 ; 
13738   bool temp2 
= false ; 
13739   PyObject 
* obj0 
= 0 ; 
13740   PyObject 
* obj1 
= 0 ; 
13741   char *  kwnames
[] = { 
13742     (char *) "self",(char *) "szDomain", NULL 
 
13745   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_IsLoaded",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
13746   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 |  0 ); 
13747   if (!SWIG_IsOK(res1
)) { 
13748     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_IsLoaded" "', expected argument " "1"" of type '" "wxLocale const *""'");  
13750   arg1 
= reinterpret_cast< wxLocale 
* >(argp1
); 
13752     arg2 
= wxString_in_helper(obj1
); 
13753     if (arg2 
== NULL
) SWIG_fail
; 
13757     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13758     result 
= (bool)((wxLocale 
const *)arg1
)->IsLoaded((wxString 
const &)*arg2
); 
13759     wxPyEndAllowThreads(__tstate
); 
13760     if (PyErr_Occurred()) SWIG_fail
; 
13763     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
13779 SWIGINTERN PyObject 
*_wrap_Locale_GetLanguageInfo(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
13780   PyObject 
*resultobj 
= 0; 
13782   wxLanguageInfo 
*result 
= 0 ; 
13785   PyObject 
* obj0 
= 0 ; 
13786   char *  kwnames
[] = { 
13787     (char *) "lang", NULL 
 
13790   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageInfo",kwnames
,&obj0
)) SWIG_fail
; 
13791   ecode1 
= SWIG_AsVal_int(obj0
, &val1
); 
13792   if (!SWIG_IsOK(ecode1
)) { 
13793     SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_GetLanguageInfo" "', expected argument " "1"" of type '" "int""'"); 
13795   arg1 
= static_cast< int >(val1
); 
13797     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13798     result 
= (wxLanguageInfo 
*)wxLocale::GetLanguageInfo(arg1
); 
13799     wxPyEndAllowThreads(__tstate
); 
13800     if (PyErr_Occurred()) SWIG_fail
; 
13802   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLanguageInfo
, 0 |  0 ); 
13809 SWIGINTERN PyObject 
*_wrap_Locale_GetLanguageName(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
13810   PyObject 
*resultobj 
= 0; 
13815   PyObject 
* obj0 
= 0 ; 
13816   char *  kwnames
[] = { 
13817     (char *) "lang", NULL 
 
13820   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageName",kwnames
,&obj0
)) SWIG_fail
; 
13821   ecode1 
= SWIG_AsVal_int(obj0
, &val1
); 
13822   if (!SWIG_IsOK(ecode1
)) { 
13823     SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_GetLanguageName" "', expected argument " "1"" of type '" "int""'"); 
13825   arg1 
= static_cast< int >(val1
); 
13827     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13828     result 
= wxLocale::GetLanguageName(arg1
); 
13829     wxPyEndAllowThreads(__tstate
); 
13830     if (PyErr_Occurred()) SWIG_fail
; 
13834     resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
13836     resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
13845 SWIGINTERN PyObject 
*_wrap_Locale_FindLanguageInfo(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
13846   PyObject 
*resultobj 
= 0; 
13847   wxString 
*arg1 
= 0 ; 
13848   wxLanguageInfo 
*result 
= 0 ; 
13849   bool temp1 
= false ; 
13850   PyObject 
* obj0 
= 0 ; 
13851   char *  kwnames
[] = { 
13852     (char *) "locale", NULL 
 
13855   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_FindLanguageInfo",kwnames
,&obj0
)) SWIG_fail
; 
13857     arg1 
= wxString_in_helper(obj0
); 
13858     if (arg1 
== NULL
) SWIG_fail
; 
13862     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13863     result 
= (wxLanguageInfo 
*)wxLocale::FindLanguageInfo((wxString 
const &)*arg1
); 
13864     wxPyEndAllowThreads(__tstate
); 
13865     if (PyErr_Occurred()) SWIG_fail
; 
13867   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLanguageInfo
, 0 |  0 ); 
13882 SWIGINTERN PyObject 
*_wrap_Locale_AddLanguage(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
13883   PyObject 
*resultobj 
= 0; 
13884   wxLanguageInfo 
*arg1 
= 0 ; 
13887   PyObject 
* obj0 
= 0 ; 
13888   char *  kwnames
[] = { 
13889     (char *) "info", NULL 
 
13892   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddLanguage",kwnames
,&obj0
)) SWIG_fail
; 
13893   res1 
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxLanguageInfo
,  0  | 0); 
13894   if (!SWIG_IsOK(res1
)) { 
13895     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_AddLanguage" "', expected argument " "1"" of type '" "wxLanguageInfo const &""'");  
13898     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Locale_AddLanguage" "', expected argument " "1"" of type '" "wxLanguageInfo const &""'");  
13900   arg1 
= reinterpret_cast< wxLanguageInfo 
* >(argp1
); 
13902     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13903     wxLocale::AddLanguage((wxLanguageInfo 
const &)*arg1
); 
13904     wxPyEndAllowThreads(__tstate
); 
13905     if (PyErr_Occurred()) SWIG_fail
; 
13907   resultobj 
= SWIG_Py_Void(); 
13914 SWIGINTERN PyObject 
*_wrap_Locale_GetString(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
13915   PyObject 
*resultobj 
= 0; 
13916   wxLocale 
*arg1 
= (wxLocale 
*) 0 ; 
13917   wxString 
*arg2 
= 0 ; 
13918   wxString 
const &arg3_defvalue 
= wxPyEmptyString 
; 
13919   wxString 
*arg3 
= (wxString 
*) &arg3_defvalue 
; 
13923   bool temp2 
= false ; 
13924   bool temp3 
= false ; 
13925   PyObject 
* obj0 
= 0 ; 
13926   PyObject 
* obj1 
= 0 ; 
13927   PyObject 
* obj2 
= 0 ; 
13928   char *  kwnames
[] = { 
13929     (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL 
 
13932   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Locale_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
13933   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 |  0 ); 
13934   if (!SWIG_IsOK(res1
)) { 
13935     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetString" "', expected argument " "1"" of type '" "wxLocale const *""'");  
13937   arg1 
= reinterpret_cast< wxLocale 
* >(argp1
); 
13939     arg2 
= wxString_in_helper(obj1
); 
13940     if (arg2 
== NULL
) SWIG_fail
; 
13945       arg3 
= wxString_in_helper(obj2
); 
13946       if (arg3 
== NULL
) SWIG_fail
; 
13951     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13952     result 
= ((wxLocale 
const *)arg1
)->GetString((wxString 
const &)*arg2
,(wxString 
const &)*arg3
); 
13953     wxPyEndAllowThreads(__tstate
); 
13954     if (PyErr_Occurred()) SWIG_fail
; 
13958     resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
13960     resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
13985 SWIGINTERN PyObject 
*_wrap_Locale_GetName(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
13986   PyObject 
*resultobj 
= 0; 
13987   wxLocale 
*arg1 
= (wxLocale 
*) 0 ; 
13988   wxString 
*result 
= 0 ; 
13991   PyObject 
*swig_obj
[1] ; 
13993   if (!args
) SWIG_fail
; 
13994   swig_obj
[0] = args
; 
13995   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 |  0 ); 
13996   if (!SWIG_IsOK(res1
)) { 
13997     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetName" "', expected argument " "1"" of type '" "wxLocale const *""'");  
13999   arg1 
= reinterpret_cast< wxLocale 
* >(argp1
); 
14001     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14003       wxString 
const &_result_ref 
= ((wxLocale 
const *)arg1
)->GetName(); 
14004       result 
= (wxString 
*) &_result_ref
; 
14006     wxPyEndAllowThreads(__tstate
); 
14007     if (PyErr_Occurred()) SWIG_fail
; 
14011     resultobj 
= PyUnicode_FromWideChar(result
->c_str(), result
->Len()); 
14013     resultobj 
= PyString_FromStringAndSize(result
->c_str(), result
->Len()); 
14022 SWIGINTERN PyObject 
*Locale_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
14024   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
14025   SWIG_TypeNewClientData(SWIGTYPE_p_wxLocale
, SWIG_NewClientData(obj
)); 
14026   return SWIG_Py_Void(); 
14029 SWIGINTERN PyObject 
*Locale_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
14030   return SWIG_Python_InitShadowInstance(args
); 
14033 SWIGINTERN PyObject 
*_wrap_GetLocale(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
14034   PyObject 
*resultobj 
= 0; 
14035   wxLocale 
*result 
= 0 ; 
14037   if (!SWIG_Python_UnpackTuple(args
,"GetLocale",0,0,0)) SWIG_fail
; 
14039     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14040     result 
= (wxLocale 
*)wxGetLocale(); 
14041     wxPyEndAllowThreads(__tstate
); 
14042     if (PyErr_Occurred()) SWIG_fail
; 
14044   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLocale
, 0 |  0 ); 
14051 SWIGINTERN PyObject 
*_wrap_GetTranslation__SWIG_0(PyObject 
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject 
**swig_obj
) { 
14052   PyObject 
*resultobj 
= 0; 
14053   wxString 
*arg1 
= 0 ; 
14055   bool temp1 
= false ; 
14057   if ((nobjs 
< 1) || (nobjs 
> 1)) SWIG_fail
; 
14059     arg1 
= wxString_in_helper(swig_obj
[0]); 
14060     if (arg1 
== NULL
) SWIG_fail
; 
14064     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14065     result 
= wxGetTranslation((wxString 
const &)*arg1
); 
14066     wxPyEndAllowThreads(__tstate
); 
14067     if (PyErr_Occurred()) SWIG_fail
; 
14071     resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
14073     resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
14090 SWIGINTERN PyObject 
*_wrap_GetTranslation__SWIG_1(PyObject 
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject 
**swig_obj
) { 
14091   PyObject 
*resultobj 
= 0; 
14092   wxString 
*arg1 
= 0 ; 
14093   wxString 
*arg2 
= 0 ; 
14096   bool temp1 
= false ; 
14097   bool temp2 
= false ; 
14101   if ((nobjs 
< 3) || (nobjs 
> 3)) SWIG_fail
; 
14103     arg1 
= wxString_in_helper(swig_obj
[0]); 
14104     if (arg1 
== NULL
) SWIG_fail
; 
14108     arg2 
= wxString_in_helper(swig_obj
[1]); 
14109     if (arg2 
== NULL
) SWIG_fail
; 
14112   ecode3 
= SWIG_AsVal_size_t(swig_obj
[2], &val3
); 
14113   if (!SWIG_IsOK(ecode3
)) { 
14114     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GetTranslation" "', expected argument " "3"" of type '" "size_t""'"); 
14116   arg3 
= static_cast< size_t >(val3
); 
14118     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14119     result 
= wxGetTranslation((wxString 
const &)*arg1
,(wxString 
const &)*arg2
,arg3
); 
14120     wxPyEndAllowThreads(__tstate
); 
14121     if (PyErr_Occurred()) SWIG_fail
; 
14125     resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
14127     resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
14152 SWIGINTERN PyObject 
*_wrap_GetTranslation(PyObject 
*self
, PyObject 
*args
) { 
14156   if (!(argc 
= SWIG_Python_UnpackTuple(args
,"GetTranslation",0,3,argv
))) SWIG_fail
; 
14159     return _wrap_GetTranslation__SWIG_0(self
, argc
, argv
); 
14162     return _wrap_GetTranslation__SWIG_1(self
, argc
, argv
); 
14166   SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GetTranslation'"); 
14171 SWIGINTERN PyObject 
*_wrap_new_EncodingConverter(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
14172   PyObject 
*resultobj 
= 0; 
14173   wxEncodingConverter 
*result 
= 0 ; 
14175   if (!SWIG_Python_UnpackTuple(args
,"new_EncodingConverter",0,0,0)) SWIG_fail
; 
14177     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14178     result 
= (wxEncodingConverter 
*)new wxEncodingConverter(); 
14179     wxPyEndAllowThreads(__tstate
); 
14180     if (PyErr_Occurred()) SWIG_fail
; 
14182   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_NEW 
|  0 ); 
14189 SWIGINTERN PyObject 
*_wrap_delete_EncodingConverter(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
14190   PyObject 
*resultobj 
= 0; 
14191   wxEncodingConverter 
*arg1 
= (wxEncodingConverter 
*) 0 ; 
14194   PyObject 
*swig_obj
[1] ; 
14196   if (!args
) SWIG_fail
; 
14197   swig_obj
[0] = args
; 
14198   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_DISOWN 
|  0 ); 
14199   if (!SWIG_IsOK(res1
)) { 
14200     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_EncodingConverter" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");  
14202   arg1 
= reinterpret_cast< wxEncodingConverter 
* >(argp1
); 
14204     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14207     wxPyEndAllowThreads(__tstate
); 
14208     if (PyErr_Occurred()) SWIG_fail
; 
14210   resultobj 
= SWIG_Py_Void(); 
14217 SWIGINTERN PyObject 
*_wrap_EncodingConverter_Init(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
14218   PyObject 
*resultobj 
= 0; 
14219   wxEncodingConverter 
*arg1 
= (wxEncodingConverter 
*) 0 ; 
14220   wxFontEncoding arg2 
; 
14221   wxFontEncoding arg3 
; 
14222   int arg4 
= (int) wxCONVERT_STRICT 
; 
14232   PyObject 
* obj0 
= 0 ; 
14233   PyObject 
* obj1 
= 0 ; 
14234   PyObject 
* obj2 
= 0 ; 
14235   PyObject 
* obj3 
= 0 ; 
14236   char *  kwnames
[] = { 
14237     (char *) "self",(char *) "input_enc",(char *) "output_enc",(char *) "method", NULL 
 
14240   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:EncodingConverter_Init",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
; 
14241   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEncodingConverter
, 0 |  0 ); 
14242   if (!SWIG_IsOK(res1
)) { 
14243     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EncodingConverter_Init" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");  
14245   arg1 
= reinterpret_cast< wxEncodingConverter 
* >(argp1
); 
14246   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
14247   if (!SWIG_IsOK(ecode2
)) { 
14248     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_Init" "', expected argument " "2"" of type '" "wxFontEncoding""'"); 
14250   arg2 
= static_cast< wxFontEncoding 
>(val2
); 
14251   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
14252   if (!SWIG_IsOK(ecode3
)) { 
14253     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "EncodingConverter_Init" "', expected argument " "3"" of type '" "wxFontEncoding""'"); 
14255   arg3 
= static_cast< wxFontEncoding 
>(val3
); 
14257     ecode4 
= SWIG_AsVal_int(obj3
, &val4
); 
14258     if (!SWIG_IsOK(ecode4
)) { 
14259       SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "EncodingConverter_Init" "', expected argument " "4"" of type '" "int""'"); 
14261     arg4 
= static_cast< int >(val4
); 
14264     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14265     result 
= (bool)(arg1
)->Init(arg2
,arg3
,arg4
); 
14266     wxPyEndAllowThreads(__tstate
); 
14267     if (PyErr_Occurred()) SWIG_fail
; 
14270     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
14278 SWIGINTERN PyObject 
*_wrap_EncodingConverter_Convert(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
14279   PyObject 
*resultobj 
= 0; 
14280   wxEncodingConverter 
*arg1 
= (wxEncodingConverter 
*) 0 ; 
14281   wxString 
*arg2 
= 0 ; 
14285   bool temp2 
= false ; 
14286   PyObject 
* obj0 
= 0 ; 
14287   PyObject 
* obj1 
= 0 ; 
14288   char *  kwnames
[] = { 
14289     (char *) "self",(char *) "input", NULL 
 
14292   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_Convert",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
14293   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEncodingConverter
, 0 |  0 ); 
14294   if (!SWIG_IsOK(res1
)) { 
14295     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EncodingConverter_Convert" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");  
14297   arg1 
= reinterpret_cast< wxEncodingConverter 
* >(argp1
); 
14299     arg2 
= wxString_in_helper(obj1
); 
14300     if (arg2 
== NULL
) SWIG_fail
; 
14304     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14305     result 
= (arg1
)->Convert((wxString 
const &)*arg2
); 
14306     wxPyEndAllowThreads(__tstate
); 
14307     if (PyErr_Occurred()) SWIG_fail
; 
14311     resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
14313     resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
14330 SWIGINTERN PyObject 
*_wrap_EncodingConverter_GetPlatformEquivalents(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
14331   PyObject 
*resultobj 
= 0; 
14332   wxFontEncoding arg1 
; 
14333   int arg2 
= (int) wxPLATFORM_CURRENT 
; 
14334   wxFontEncodingArray result
; 
14339   PyObject 
* obj0 
= 0 ; 
14340   PyObject 
* obj1 
= 0 ; 
14341   char *  kwnames
[] = { 
14342     (char *) "enc",(char *) "platform", NULL 
 
14345   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EncodingConverter_GetPlatformEquivalents",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
14346   ecode1 
= SWIG_AsVal_int(obj0
, &val1
); 
14347   if (!SWIG_IsOK(ecode1
)) { 
14348     SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_GetPlatformEquivalents" "', expected argument " "1"" of type '" "wxFontEncoding""'"); 
14350   arg1 
= static_cast< wxFontEncoding 
>(val1
); 
14352     ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
14353     if (!SWIG_IsOK(ecode2
)) { 
14354       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_GetPlatformEquivalents" "', expected argument " "2"" of type '" "int""'"); 
14356     arg2 
= static_cast< int >(val2
); 
14359     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14360     result 
= wxEncodingConverter::GetPlatformEquivalents(arg1
,arg2
); 
14361     wxPyEndAllowThreads(__tstate
); 
14362     if (PyErr_Occurred()) SWIG_fail
; 
14365     resultobj 
= PyList_New(0); 
14366     for (size_t i
=0; i 
< (&result
)->GetCount(); i
++) { 
14367       PyObject
* number 
= PyInt_FromLong((&result
)->Item(i
)); 
14368       PyList_Append(resultobj
, number
); 
14378 SWIGINTERN PyObject 
*_wrap_EncodingConverter_GetAllEquivalents(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
14379   PyObject 
*resultobj 
= 0; 
14380   wxFontEncoding arg1 
; 
14381   wxFontEncodingArray result
; 
14384   PyObject 
* obj0 
= 0 ; 
14385   char *  kwnames
[] = { 
14386     (char *) "enc", NULL 
 
14389   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EncodingConverter_GetAllEquivalents",kwnames
,&obj0
)) SWIG_fail
; 
14390   ecode1 
= SWIG_AsVal_int(obj0
, &val1
); 
14391   if (!SWIG_IsOK(ecode1
)) { 
14392     SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_GetAllEquivalents" "', expected argument " "1"" of type '" "wxFontEncoding""'"); 
14394   arg1 
= static_cast< wxFontEncoding 
>(val1
); 
14396     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14397     result 
= wxEncodingConverter::GetAllEquivalents(arg1
); 
14398     wxPyEndAllowThreads(__tstate
); 
14399     if (PyErr_Occurred()) SWIG_fail
; 
14402     resultobj 
= PyList_New(0); 
14403     for (size_t i
=0; i 
< (&result
)->GetCount(); i
++) { 
14404       PyObject
* number 
= PyInt_FromLong((&result
)->Item(i
)); 
14405       PyList_Append(resultobj
, number
); 
14415 SWIGINTERN PyObject 
*_wrap_EncodingConverter_CanConvert(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
14416   PyObject 
*resultobj 
= 0; 
14417   wxFontEncoding arg1 
; 
14418   wxFontEncoding arg2 
; 
14424   PyObject 
* obj0 
= 0 ; 
14425   PyObject 
* obj1 
= 0 ; 
14426   char *  kwnames
[] = { 
14427     (char *) "encIn",(char *) "encOut", NULL 
 
14430   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_CanConvert",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
14431   ecode1 
= SWIG_AsVal_int(obj0
, &val1
); 
14432   if (!SWIG_IsOK(ecode1
)) { 
14433     SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_CanConvert" "', expected argument " "1"" of type '" "wxFontEncoding""'"); 
14435   arg1 
= static_cast< wxFontEncoding 
>(val1
); 
14436   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
14437   if (!SWIG_IsOK(ecode2
)) { 
14438     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_CanConvert" "', expected argument " "2"" of type '" "wxFontEncoding""'"); 
14440   arg2 
= static_cast< wxFontEncoding 
>(val2
); 
14442     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14443     result 
= (bool)wxEncodingConverter::CanConvert(arg1
,arg2
); 
14444     wxPyEndAllowThreads(__tstate
); 
14445     if (PyErr_Occurred()) SWIG_fail
; 
14448     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
14456 SWIGINTERN PyObject 
*EncodingConverter_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
14458   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
14459   SWIG_TypeNewClientData(SWIGTYPE_p_wxEncodingConverter
, SWIG_NewClientData(obj
)); 
14460   return SWIG_Py_Void(); 
14463 SWIGINTERN PyObject 
*EncodingConverter_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
14464   return SWIG_Python_InitShadowInstance(args
); 
14467 SWIGINTERN PyObject 
*_wrap_delete_DC(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
14468   PyObject 
*resultobj 
= 0; 
14469   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
14472   PyObject 
*swig_obj
[1] ; 
14474   if (!args
) SWIG_fail
; 
14475   swig_obj
[0] = args
; 
14476   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, SWIG_POINTER_DISOWN 
|  0 ); 
14477   if (!SWIG_IsOK(res1
)) { 
14478     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DC" "', expected argument " "1"" of type '" "wxDC *""'");  
14480   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
14482     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14485     wxPyEndAllowThreads(__tstate
); 
14486     if (PyErr_Occurred()) SWIG_fail
; 
14488   resultobj 
= SWIG_Py_Void(); 
14495 SWIGINTERN PyObject 
*_wrap_DC_FloodFill(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
14496   PyObject 
*resultobj 
= 0; 
14497   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
14500   wxColour 
*arg4 
= 0 ; 
14501   int arg5 
= (int) wxFLOOD_SURFACE 
; 
14512   PyObject 
* obj0 
= 0 ; 
14513   PyObject 
* obj1 
= 0 ; 
14514   PyObject 
* obj2 
= 0 ; 
14515   PyObject 
* obj3 
= 0 ; 
14516   PyObject 
* obj4 
= 0 ; 
14517   char *  kwnames
[] = { 
14518     (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL 
 
14521   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
; 
14522   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
14523   if (!SWIG_IsOK(res1
)) { 
14524     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_FloodFill" "', expected argument " "1"" of type '" "wxDC *""'");  
14526   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
14527   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
14528   if (!SWIG_IsOK(ecode2
)) { 
14529     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_FloodFill" "', expected argument " "2"" of type '" "int""'"); 
14531   arg2 
= static_cast< int >(val2
); 
14532   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
14533   if (!SWIG_IsOK(ecode3
)) { 
14534     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_FloodFill" "', expected argument " "3"" of type '" "int""'"); 
14536   arg3 
= static_cast< int >(val3
); 
14539     if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
; 
14542     ecode5 
= SWIG_AsVal_int(obj4
, &val5
); 
14543     if (!SWIG_IsOK(ecode5
)) { 
14544       SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_FloodFill" "', expected argument " "5"" of type '" "int""'"); 
14546     arg5 
= static_cast< int >(val5
); 
14549     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14550     result 
= (bool)(arg1
)->FloodFill(arg2
,arg3
,(wxColour 
const &)*arg4
,arg5
); 
14551     wxPyEndAllowThreads(__tstate
); 
14552     if (PyErr_Occurred()) SWIG_fail
; 
14555     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
14563 SWIGINTERN PyObject 
*_wrap_DC_FloodFillPoint(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
14564   PyObject 
*resultobj 
= 0; 
14565   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
14566   wxPoint 
*arg2 
= 0 ; 
14567   wxColour 
*arg3 
= 0 ; 
14568   int arg4 
= (int) wxFLOOD_SURFACE 
; 
14576   PyObject 
* obj0 
= 0 ; 
14577   PyObject 
* obj1 
= 0 ; 
14578   PyObject 
* obj2 
= 0 ; 
14579   PyObject 
* obj3 
= 0 ; 
14580   char *  kwnames
[] = { 
14581     (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL 
 
14584   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
; 
14585   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
14586   if (!SWIG_IsOK(res1
)) { 
14587     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_FloodFillPoint" "', expected argument " "1"" of type '" "wxDC *""'");  
14589   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
14592     if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
14596     if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
; 
14599     ecode4 
= SWIG_AsVal_int(obj3
, &val4
); 
14600     if (!SWIG_IsOK(ecode4
)) { 
14601       SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_FloodFillPoint" "', expected argument " "4"" of type '" "int""'"); 
14603     arg4 
= static_cast< int >(val4
); 
14606     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14607     result 
= (bool)(arg1
)->FloodFill((wxPoint 
const &)*arg2
,(wxColour 
const &)*arg3
,arg4
); 
14608     wxPyEndAllowThreads(__tstate
); 
14609     if (PyErr_Occurred()) SWIG_fail
; 
14612     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
14620 SWIGINTERN PyObject 
*_wrap_DC_GradientFillConcentric(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
14621   PyObject 
*resultobj 
= 0; 
14622   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
14624   wxColour 
*arg3 
= 0 ; 
14625   wxColour 
*arg4 
= 0 ; 
14626   wxPoint 
*arg5 
= 0 ; 
14633   PyObject 
* obj0 
= 0 ; 
14634   PyObject 
* obj1 
= 0 ; 
14635   PyObject 
* obj2 
= 0 ; 
14636   PyObject 
* obj3 
= 0 ; 
14637   PyObject 
* obj4 
= 0 ; 
14638   char *  kwnames
[] = { 
14639     (char *) "self",(char *) "rect",(char *) "initialColour",(char *) "destColour",(char *) "circleCenter", NULL 
 
14642   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_GradientFillConcentric",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
; 
14643   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
14644   if (!SWIG_IsOK(res1
)) { 
14645     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GradientFillConcentric" "', expected argument " "1"" of type '" "wxDC *""'");  
14647   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
14650     if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
; 
14654     if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
; 
14658     if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
; 
14662     if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
; 
14665     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14666     (arg1
)->GradientFillConcentric((wxRect 
const &)*arg2
,(wxColour 
const &)*arg3
,(wxColour 
const &)*arg4
,(wxPoint 
const &)*arg5
); 
14667     wxPyEndAllowThreads(__tstate
); 
14668     if (PyErr_Occurred()) SWIG_fail
; 
14670   resultobj 
= SWIG_Py_Void(); 
14677 SWIGINTERN PyObject 
*_wrap_DC_GradientFillLinear(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
14678   PyObject 
*resultobj 
= 0; 
14679   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
14681   wxColour 
*arg3 
= 0 ; 
14682   wxColour 
*arg4 
= 0 ; 
14683   wxDirection arg5 
= (wxDirection
) wxEAST 
; 
14691   PyObject 
* obj0 
= 0 ; 
14692   PyObject 
* obj1 
= 0 ; 
14693   PyObject 
* obj2 
= 0 ; 
14694   PyObject 
* obj3 
= 0 ; 
14695   PyObject 
* obj4 
= 0 ; 
14696   char *  kwnames
[] = { 
14697     (char *) "self",(char *) "rect",(char *) "initialColour",(char *) "destColour",(char *) "nDirection", NULL 
 
14700   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_GradientFillLinear",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
; 
14701   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
14702   if (!SWIG_IsOK(res1
)) { 
14703     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GradientFillLinear" "', expected argument " "1"" of type '" "wxDC *""'");  
14705   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
14708     if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
; 
14712     if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
; 
14716     if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
; 
14719     ecode5 
= SWIG_AsVal_int(obj4
, &val5
); 
14720     if (!SWIG_IsOK(ecode5
)) { 
14721       SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_GradientFillLinear" "', expected argument " "5"" of type '" "wxDirection""'"); 
14723     arg5 
= static_cast< wxDirection 
>(val5
); 
14726     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14727     (arg1
)->GradientFillLinear((wxRect 
const &)*arg2
,(wxColour 
const &)*arg3
,(wxColour 
const &)*arg4
,arg5
); 
14728     wxPyEndAllowThreads(__tstate
); 
14729     if (PyErr_Occurred()) SWIG_fail
; 
14731   resultobj 
= SWIG_Py_Void(); 
14738 SWIGINTERN PyObject 
*_wrap_DC_GetPixel(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
14739   PyObject 
*resultobj 
= 0; 
14740   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
14750   PyObject 
* obj0 
= 0 ; 
14751   PyObject 
* obj1 
= 0 ; 
14752   PyObject 
* obj2 
= 0 ; 
14753   char *  kwnames
[] = { 
14754     (char *) "self",(char *) "x",(char *) "y", NULL 
 
14757   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
14758   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
14759   if (!SWIG_IsOK(res1
)) { 
14760     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPixel" "', expected argument " "1"" of type '" "wxDC *""'");  
14762   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
14763   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
14764   if (!SWIG_IsOK(ecode2
)) { 
14765     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_GetPixel" "', expected argument " "2"" of type '" "int""'"); 
14767   arg2 
= static_cast< int >(val2
); 
14768   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
14769   if (!SWIG_IsOK(ecode3
)) { 
14770     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_GetPixel" "', expected argument " "3"" of type '" "int""'"); 
14772   arg3 
= static_cast< int >(val3
); 
14774     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14775     result 
= wxDC_GetPixel(arg1
,arg2
,arg3
); 
14776     wxPyEndAllowThreads(__tstate
); 
14777     if (PyErr_Occurred()) SWIG_fail
; 
14779   resultobj 
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN 
|  0 ); 
14786 SWIGINTERN PyObject 
*_wrap_DC_GetPixelPoint(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
14787   PyObject 
*resultobj 
= 0; 
14788   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
14789   wxPoint 
*arg2 
= 0 ; 
14794   PyObject 
* obj0 
= 0 ; 
14795   PyObject 
* obj1 
= 0 ; 
14796   char *  kwnames
[] = { 
14797     (char *) "self",(char *) "pt", NULL 
 
14800   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPixelPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
14801   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
14802   if (!SWIG_IsOK(res1
)) { 
14803     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPixelPoint" "', expected argument " "1"" of type '" "wxDC *""'");  
14805   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
14808     if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
14811     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14812     result 
= wxDC_GetPixelPoint(arg1
,(wxPoint 
const &)*arg2
); 
14813     wxPyEndAllowThreads(__tstate
); 
14814     if (PyErr_Occurred()) SWIG_fail
; 
14816   resultobj 
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN 
|  0 ); 
14823 SWIGINTERN PyObject 
*_wrap_DC_DrawLine(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
14824   PyObject 
*resultobj 
= 0; 
14825   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
14840   PyObject 
* obj0 
= 0 ; 
14841   PyObject 
* obj1 
= 0 ; 
14842   PyObject 
* obj2 
= 0 ; 
14843   PyObject 
* obj3 
= 0 ; 
14844   PyObject 
* obj4 
= 0 ; 
14845   char *  kwnames
[] = { 
14846     (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL 
 
14849   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
; 
14850   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
14851   if (!SWIG_IsOK(res1
)) { 
14852     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLine" "', expected argument " "1"" of type '" "wxDC *""'");  
14854   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
14855   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
14856   if (!SWIG_IsOK(ecode2
)) { 
14857     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawLine" "', expected argument " "2"" of type '" "int""'"); 
14859   arg2 
= static_cast< int >(val2
); 
14860   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
14861   if (!SWIG_IsOK(ecode3
)) { 
14862     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawLine" "', expected argument " "3"" of type '" "int""'"); 
14864   arg3 
= static_cast< int >(val3
); 
14865   ecode4 
= SWIG_AsVal_int(obj3
, &val4
); 
14866   if (!SWIG_IsOK(ecode4
)) { 
14867     SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLine" "', expected argument " "4"" of type '" "int""'"); 
14869   arg4 
= static_cast< int >(val4
); 
14870   ecode5 
= SWIG_AsVal_int(obj4
, &val5
); 
14871   if (!SWIG_IsOK(ecode5
)) { 
14872     SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLine" "', expected argument " "5"" of type '" "int""'"); 
14874   arg5 
= static_cast< int >(val5
); 
14876     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14877     (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
); 
14878     wxPyEndAllowThreads(__tstate
); 
14879     if (PyErr_Occurred()) SWIG_fail
; 
14881   resultobj 
= SWIG_Py_Void(); 
14888 SWIGINTERN PyObject 
*_wrap_DC_DrawLinePoint(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
14889   PyObject 
*resultobj 
= 0; 
14890   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
14891   wxPoint 
*arg2 
= 0 ; 
14892   wxPoint 
*arg3 
= 0 ; 
14897   PyObject 
* obj0 
= 0 ; 
14898   PyObject 
* obj1 
= 0 ; 
14899   PyObject 
* obj2 
= 0 ; 
14900   char *  kwnames
[] = { 
14901     (char *) "self",(char *) "pt1",(char *) "pt2", NULL 
 
14904   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
14905   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
14906   if (!SWIG_IsOK(res1
)) { 
14907     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLinePoint" "', expected argument " "1"" of type '" "wxDC *""'");  
14909   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
14912     if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
14916     if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
; 
14919     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14920     (arg1
)->DrawLine((wxPoint 
const &)*arg2
,(wxPoint 
const &)*arg3
); 
14921     wxPyEndAllowThreads(__tstate
); 
14922     if (PyErr_Occurred()) SWIG_fail
; 
14924   resultobj 
= SWIG_Py_Void(); 
14931 SWIGINTERN PyObject 
*_wrap_DC_CrossHair(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
14932   PyObject 
*resultobj 
= 0; 
14933   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
14942   PyObject 
* obj0 
= 0 ; 
14943   PyObject 
* obj1 
= 0 ; 
14944   PyObject 
* obj2 
= 0 ; 
14945   char *  kwnames
[] = { 
14946     (char *) "self",(char *) "x",(char *) "y", NULL 
 
14949   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
14950   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
14951   if (!SWIG_IsOK(res1
)) { 
14952     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CrossHair" "', expected argument " "1"" of type '" "wxDC *""'");  
14954   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
14955   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
14956   if (!SWIG_IsOK(ecode2
)) { 
14957     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_CrossHair" "', expected argument " "2"" of type '" "int""'"); 
14959   arg2 
= static_cast< int >(val2
); 
14960   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
14961   if (!SWIG_IsOK(ecode3
)) { 
14962     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_CrossHair" "', expected argument " "3"" of type '" "int""'"); 
14964   arg3 
= static_cast< int >(val3
); 
14966     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14967     (arg1
)->CrossHair(arg2
,arg3
); 
14968     wxPyEndAllowThreads(__tstate
); 
14969     if (PyErr_Occurred()) SWIG_fail
; 
14971   resultobj 
= SWIG_Py_Void(); 
14978 SWIGINTERN PyObject 
*_wrap_DC_CrossHairPoint(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
14979   PyObject 
*resultobj 
= 0; 
14980   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
14981   wxPoint 
*arg2 
= 0 ; 
14985   PyObject 
* obj0 
= 0 ; 
14986   PyObject 
* obj1 
= 0 ; 
14987   char *  kwnames
[] = { 
14988     (char *) "self",(char *) "pt", NULL 
 
14991   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
14992   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
14993   if (!SWIG_IsOK(res1
)) { 
14994     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CrossHairPoint" "', expected argument " "1"" of type '" "wxDC *""'");  
14996   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
14999     if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
15002     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15003     (arg1
)->CrossHair((wxPoint 
const &)*arg2
); 
15004     wxPyEndAllowThreads(__tstate
); 
15005     if (PyErr_Occurred()) SWIG_fail
; 
15007   resultobj 
= SWIG_Py_Void(); 
15014 SWIGINTERN PyObject 
*_wrap_DC_DrawArc(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
15015   PyObject 
*resultobj 
= 0; 
15016   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
15037   PyObject 
* obj0 
= 0 ; 
15038   PyObject 
* obj1 
= 0 ; 
15039   PyObject 
* obj2 
= 0 ; 
15040   PyObject 
* obj3 
= 0 ; 
15041   PyObject 
* obj4 
= 0 ; 
15042   PyObject 
* obj5 
= 0 ; 
15043   PyObject 
* obj6 
= 0 ; 
15044   char *  kwnames
[] = { 
15045     (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL 
 
15048   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
; 
15049   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
15050   if (!SWIG_IsOK(res1
)) { 
15051     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawArc" "', expected argument " "1"" of type '" "wxDC *""'");  
15053   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
15054   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
15055   if (!SWIG_IsOK(ecode2
)) { 
15056     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawArc" "', expected argument " "2"" of type '" "int""'"); 
15058   arg2 
= static_cast< int >(val2
); 
15059   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
15060   if (!SWIG_IsOK(ecode3
)) { 
15061     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawArc" "', expected argument " "3"" of type '" "int""'"); 
15063   arg3 
= static_cast< int >(val3
); 
15064   ecode4 
= SWIG_AsVal_int(obj3
, &val4
); 
15065   if (!SWIG_IsOK(ecode4
)) { 
15066     SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawArc" "', expected argument " "4"" of type '" "int""'"); 
15068   arg4 
= static_cast< int >(val4
); 
15069   ecode5 
= SWIG_AsVal_int(obj4
, &val5
); 
15070   if (!SWIG_IsOK(ecode5
)) { 
15071     SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawArc" "', expected argument " "5"" of type '" "int""'"); 
15073   arg5 
= static_cast< int >(val5
); 
15074   ecode6 
= SWIG_AsVal_int(obj5
, &val6
); 
15075   if (!SWIG_IsOK(ecode6
)) { 
15076     SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawArc" "', expected argument " "6"" of type '" "int""'"); 
15078   arg6 
= static_cast< int >(val6
); 
15079   ecode7 
= SWIG_AsVal_int(obj6
, &val7
); 
15080   if (!SWIG_IsOK(ecode7
)) { 
15081     SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_DrawArc" "', expected argument " "7"" of type '" "int""'"); 
15083   arg7 
= static_cast< int >(val7
); 
15085     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15086     (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
); 
15087     wxPyEndAllowThreads(__tstate
); 
15088     if (PyErr_Occurred()) SWIG_fail
; 
15090   resultobj 
= SWIG_Py_Void(); 
15097 SWIGINTERN PyObject 
*_wrap_DC_DrawArcPoint(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
15098   PyObject 
*resultobj 
= 0; 
15099   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
15100   wxPoint 
*arg2 
= 0 ; 
15101   wxPoint 
*arg3 
= 0 ; 
15102   wxPoint 
*arg4 
= 0 ; 
15108   PyObject 
* obj0 
= 0 ; 
15109   PyObject 
* obj1 
= 0 ; 
15110   PyObject 
* obj2 
= 0 ; 
15111   PyObject 
* obj3 
= 0 ; 
15112   char *  kwnames
[] = { 
15113     (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL 
 
15116   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
; 
15117   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
15118   if (!SWIG_IsOK(res1
)) { 
15119     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawArcPoint" "', expected argument " "1"" of type '" "wxDC *""'");  
15121   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
15124     if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
15128     if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
; 
15132     if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
; 
15135     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15136     (arg1
)->DrawArc((wxPoint 
const &)*arg2
,(wxPoint 
const &)*arg3
,(wxPoint 
const &)*arg4
); 
15137     wxPyEndAllowThreads(__tstate
); 
15138     if (PyErr_Occurred()) SWIG_fail
; 
15140   resultobj 
= SWIG_Py_Void(); 
15147 SWIGINTERN PyObject 
*_wrap_DC_DrawCheckMark(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
15148   PyObject 
*resultobj 
= 0; 
15149   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
15164   PyObject 
* obj0 
= 0 ; 
15165   PyObject 
* obj1 
= 0 ; 
15166   PyObject 
* obj2 
= 0 ; 
15167   PyObject 
* obj3 
= 0 ; 
15168   PyObject 
* obj4 
= 0 ; 
15169   char *  kwnames
[] = { 
15170     (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL 
 
15173   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
; 
15174   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
15175   if (!SWIG_IsOK(res1
)) { 
15176     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCheckMark" "', expected argument " "1"" of type '" "wxDC *""'");  
15178   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
15179   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
15180   if (!SWIG_IsOK(ecode2
)) { 
15181     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawCheckMark" "', expected argument " "2"" of type '" "int""'"); 
15183   arg2 
= static_cast< int >(val2
); 
15184   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
15185   if (!SWIG_IsOK(ecode3
)) { 
15186     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCheckMark" "', expected argument " "3"" of type '" "int""'"); 
15188   arg3 
= static_cast< int >(val3
); 
15189   ecode4 
= SWIG_AsVal_int(obj3
, &val4
); 
15190   if (!SWIG_IsOK(ecode4
)) { 
15191     SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawCheckMark" "', expected argument " "4"" of type '" "int""'"); 
15193   arg4 
= static_cast< int >(val4
); 
15194   ecode5 
= SWIG_AsVal_int(obj4
, &val5
); 
15195   if (!SWIG_IsOK(ecode5
)) { 
15196     SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawCheckMark" "', expected argument " "5"" of type '" "int""'"); 
15198   arg5 
= static_cast< int >(val5
); 
15200     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15201     (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
); 
15202     wxPyEndAllowThreads(__tstate
); 
15203     if (PyErr_Occurred()) SWIG_fail
; 
15205   resultobj 
= SWIG_Py_Void(); 
15212 SWIGINTERN PyObject 
*_wrap_DC_DrawCheckMarkRect(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
15213   PyObject 
*resultobj 
= 0; 
15214   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
15219   PyObject 
* obj0 
= 0 ; 
15220   PyObject 
* obj1 
= 0 ; 
15221   char *  kwnames
[] = { 
15222     (char *) "self",(char *) "rect", NULL 
 
15225   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
15226   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
15227   if (!SWIG_IsOK(res1
)) { 
15228     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCheckMarkRect" "', expected argument " "1"" of type '" "wxDC *""'");  
15230   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
15233     if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
; 
15236     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15237     (arg1
)->DrawCheckMark((wxRect 
const &)*arg2
); 
15238     wxPyEndAllowThreads(__tstate
); 
15239     if (PyErr_Occurred()) SWIG_fail
; 
15241   resultobj 
= SWIG_Py_Void(); 
15248 SWIGINTERN PyObject 
*_wrap_DC_DrawEllipticArc(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
15249   PyObject 
*resultobj 
= 0; 
15250   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
15271   PyObject 
* obj0 
= 0 ; 
15272   PyObject 
* obj1 
= 0 ; 
15273   PyObject 
* obj2 
= 0 ; 
15274   PyObject 
* obj3 
= 0 ; 
15275   PyObject 
* obj4 
= 0 ; 
15276   PyObject 
* obj5 
= 0 ; 
15277   PyObject 
* obj6 
= 0 ; 
15278   char *  kwnames
[] = { 
15279     (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL 
 
15282   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
; 
15283   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
15284   if (!SWIG_IsOK(res1
)) { 
15285     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipticArc" "', expected argument " "1"" of type '" "wxDC *""'");  
15287   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
15288   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
15289   if (!SWIG_IsOK(ecode2
)) { 
15290     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawEllipticArc" "', expected argument " "2"" of type '" "int""'"); 
15292   arg2 
= static_cast< int >(val2
); 
15293   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
15294   if (!SWIG_IsOK(ecode3
)) { 
15295     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawEllipticArc" "', expected argument " "3"" of type '" "int""'"); 
15297   arg3 
= static_cast< int >(val3
); 
15298   ecode4 
= SWIG_AsVal_int(obj3
, &val4
); 
15299   if (!SWIG_IsOK(ecode4
)) { 
15300     SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipticArc" "', expected argument " "4"" of type '" "int""'"); 
15302   arg4 
= static_cast< int >(val4
); 
15303   ecode5 
= SWIG_AsVal_int(obj4
, &val5
); 
15304   if (!SWIG_IsOK(ecode5
)) { 
15305     SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipticArc" "', expected argument " "5"" of type '" "int""'"); 
15307   arg5 
= static_cast< int >(val5
); 
15308   ecode6 
= SWIG_AsVal_double(obj5
, &val6
); 
15309   if (!SWIG_IsOK(ecode6
)) { 
15310     SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawEllipticArc" "', expected argument " "6"" of type '" "double""'"); 
15312   arg6 
= static_cast< double >(val6
); 
15313   ecode7 
= SWIG_AsVal_double(obj6
, &val7
); 
15314   if (!SWIG_IsOK(ecode7
)) { 
15315     SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_DrawEllipticArc" "', expected argument " "7"" of type '" "double""'"); 
15317   arg7 
= static_cast< double >(val7
); 
15319     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15320     (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
); 
15321     wxPyEndAllowThreads(__tstate
); 
15322     if (PyErr_Occurred()) SWIG_fail
; 
15324   resultobj 
= SWIG_Py_Void(); 
15331 SWIGINTERN PyObject 
*_wrap_DC_DrawEllipticArcPointSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
15332   PyObject 
*resultobj 
= 0; 
15333   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
15334   wxPoint 
*arg2 
= 0 ; 
15346   PyObject 
* obj0 
= 0 ; 
15347   PyObject 
* obj1 
= 0 ; 
15348   PyObject 
* obj2 
= 0 ; 
15349   PyObject 
* obj3 
= 0 ; 
15350   PyObject 
* obj4 
= 0 ; 
15351   char *  kwnames
[] = { 
15352     (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL 
 
15355   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
; 
15356   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
15357   if (!SWIG_IsOK(res1
)) { 
15358     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "1"" of type '" "wxDC *""'");  
15360   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
15363     if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
15367     if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
; 
15369   ecode4 
= SWIG_AsVal_double(obj3
, &val4
); 
15370   if (!SWIG_IsOK(ecode4
)) { 
15371     SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "4"" of type '" "double""'"); 
15373   arg4 
= static_cast< double >(val4
); 
15374   ecode5 
= SWIG_AsVal_double(obj4
, &val5
); 
15375   if (!SWIG_IsOK(ecode5
)) { 
15376     SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "5"" of type '" "double""'"); 
15378   arg5 
= static_cast< double >(val5
); 
15380     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15381     (arg1
)->DrawEllipticArc((wxPoint 
const &)*arg2
,(wxSize 
const &)*arg3
,arg4
,arg5
); 
15382     wxPyEndAllowThreads(__tstate
); 
15383     if (PyErr_Occurred()) SWIG_fail
; 
15385   resultobj 
= SWIG_Py_Void(); 
15392 SWIGINTERN PyObject 
*_wrap_DC_DrawPoint(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
15393   PyObject 
*resultobj 
= 0; 
15394   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
15403   PyObject 
* obj0 
= 0 ; 
15404   PyObject 
* obj1 
= 0 ; 
15405   PyObject 
* obj2 
= 0 ; 
15406   char *  kwnames
[] = { 
15407     (char *) "self",(char *) "x",(char *) "y", NULL 
 
15410   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
15411   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
15412   if (!SWIG_IsOK(res1
)) { 
15413     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPoint" "', expected argument " "1"" of type '" "wxDC *""'");  
15415   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
15416   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
15417   if (!SWIG_IsOK(ecode2
)) { 
15418     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawPoint" "', expected argument " "2"" of type '" "int""'"); 
15420   arg2 
= static_cast< int >(val2
); 
15421   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
15422   if (!SWIG_IsOK(ecode3
)) { 
15423     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawPoint" "', expected argument " "3"" of type '" "int""'"); 
15425   arg3 
= static_cast< int >(val3
); 
15427     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15428     (arg1
)->DrawPoint(arg2
,arg3
); 
15429     wxPyEndAllowThreads(__tstate
); 
15430     if (PyErr_Occurred()) SWIG_fail
; 
15432   resultobj 
= SWIG_Py_Void(); 
15439 SWIGINTERN PyObject 
*_wrap_DC_DrawPointPoint(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
15440   PyObject 
*resultobj 
= 0; 
15441   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
15442   wxPoint 
*arg2 
= 0 ; 
15446   PyObject 
* obj0 
= 0 ; 
15447   PyObject 
* obj1 
= 0 ; 
15448   char *  kwnames
[] = { 
15449     (char *) "self",(char *) "pt", NULL 
 
15452   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
15453   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
15454   if (!SWIG_IsOK(res1
)) { 
15455     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPointPoint" "', expected argument " "1"" of type '" "wxDC *""'");  
15457   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
15460     if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
15463     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15464     (arg1
)->DrawPoint((wxPoint 
const &)*arg2
); 
15465     wxPyEndAllowThreads(__tstate
); 
15466     if (PyErr_Occurred()) SWIG_fail
; 
15468   resultobj 
= SWIG_Py_Void(); 
15475 SWIGINTERN PyObject 
*_wrap_DC_DrawRectangle(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
15476   PyObject 
*resultobj 
= 0; 
15477   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
15492   PyObject 
* obj0 
= 0 ; 
15493   PyObject 
* obj1 
= 0 ; 
15494   PyObject 
* obj2 
= 0 ; 
15495   PyObject 
* obj3 
= 0 ; 
15496   PyObject 
* obj4 
= 0 ; 
15497   char *  kwnames
[] = { 
15498     (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL 
 
15501   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
; 
15502   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
15503   if (!SWIG_IsOK(res1
)) { 
15504     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectangle" "', expected argument " "1"" of type '" "wxDC *""'");  
15506   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
15507   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
15508   if (!SWIG_IsOK(ecode2
)) { 
15509     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawRectangle" "', expected argument " "2"" of type '" "int""'"); 
15511   arg2 
= static_cast< int >(val2
); 
15512   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
15513   if (!SWIG_IsOK(ecode3
)) { 
15514     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRectangle" "', expected argument " "3"" of type '" "int""'"); 
15516   arg3 
= static_cast< int >(val3
); 
15517   ecode4 
= SWIG_AsVal_int(obj3
, &val4
); 
15518   if (!SWIG_IsOK(ecode4
)) { 
15519     SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRectangle" "', expected argument " "4"" of type '" "int""'"); 
15521   arg4 
= static_cast< int >(val4
); 
15522   ecode5 
= SWIG_AsVal_int(obj4
, &val5
); 
15523   if (!SWIG_IsOK(ecode5
)) { 
15524     SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRectangle" "', expected argument " "5"" of type '" "int""'"); 
15526   arg5 
= static_cast< int >(val5
); 
15528     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15529     (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
); 
15530     wxPyEndAllowThreads(__tstate
); 
15531     if (PyErr_Occurred()) SWIG_fail
; 
15533   resultobj 
= SWIG_Py_Void(); 
15540 SWIGINTERN PyObject 
*_wrap_DC_DrawRectangleRect(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
15541   PyObject 
*resultobj 
= 0; 
15542   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
15547   PyObject 
* obj0 
= 0 ; 
15548   PyObject 
* obj1 
= 0 ; 
15549   char *  kwnames
[] = { 
15550     (char *) "self",(char *) "rect", NULL 
 
15553   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
15554   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
15555   if (!SWIG_IsOK(res1
)) { 
15556     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectangleRect" "', expected argument " "1"" of type '" "wxDC *""'");  
15558   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
15561     if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
; 
15564     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15565     (arg1
)->DrawRectangle((wxRect 
const &)*arg2
); 
15566     wxPyEndAllowThreads(__tstate
); 
15567     if (PyErr_Occurred()) SWIG_fail
; 
15569   resultobj 
= SWIG_Py_Void(); 
15576 SWIGINTERN PyObject 
*_wrap_DC_DrawRectanglePointSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
15577   PyObject 
*resultobj 
= 0; 
15578   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
15579   wxPoint 
*arg2 
= 0 ; 
15585   PyObject 
* obj0 
= 0 ; 
15586   PyObject 
* obj1 
= 0 ; 
15587   PyObject 
* obj2 
= 0 ; 
15588   char *  kwnames
[] = { 
15589     (char *) "self",(char *) "pt",(char *) "sz", NULL 
 
15592   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
15593   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
15594   if (!SWIG_IsOK(res1
)) { 
15595     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectanglePointSize" "', expected argument " "1"" of type '" "wxDC *""'");  
15597   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
15600     if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
15604     if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
; 
15607     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15608     (arg1
)->DrawRectangle((wxPoint 
const &)*arg2
,(wxSize 
const &)*arg3
); 
15609     wxPyEndAllowThreads(__tstate
); 
15610     if (PyErr_Occurred()) SWIG_fail
; 
15612   resultobj 
= SWIG_Py_Void(); 
15619 SWIGINTERN PyObject 
*_wrap_DC_DrawRoundedRectangle(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
15620   PyObject 
*resultobj 
= 0; 
15621   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
15639   PyObject 
* obj0 
= 0 ; 
15640   PyObject 
* obj1 
= 0 ; 
15641   PyObject 
* obj2 
= 0 ; 
15642   PyObject 
* obj3 
= 0 ; 
15643   PyObject 
* obj4 
= 0 ; 
15644   PyObject 
* obj5 
= 0 ; 
15645   char *  kwnames
[] = { 
15646     (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL 
 
15649   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:DC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
; 
15650   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
15651   if (!SWIG_IsOK(res1
)) { 
15652     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxDC *""'");  
15654   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
15655   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
15656   if (!SWIG_IsOK(ecode2
)) { 
15657     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "2"" of type '" "int""'"); 
15659   arg2 
= static_cast< int >(val2
); 
15660   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
15661   if (!SWIG_IsOK(ecode3
)) { 
15662     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "3"" of type '" "int""'"); 
15664   arg3 
= static_cast< int >(val3
); 
15665   ecode4 
= SWIG_AsVal_int(obj3
, &val4
); 
15666   if (!SWIG_IsOK(ecode4
)) { 
15667     SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "4"" of type '" "int""'"); 
15669   arg4 
= static_cast< int >(val4
); 
15670   ecode5 
= SWIG_AsVal_int(obj4
, &val5
); 
15671   if (!SWIG_IsOK(ecode5
)) { 
15672     SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "5"" of type '" "int""'"); 
15674   arg5 
= static_cast< int >(val5
); 
15675   ecode6 
= SWIG_AsVal_double(obj5
, &val6
); 
15676   if (!SWIG_IsOK(ecode6
)) { 
15677     SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "6"" of type '" "double""'"); 
15679   arg6 
= static_cast< double >(val6
); 
15681     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15682     (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
); 
15683     wxPyEndAllowThreads(__tstate
); 
15684     if (PyErr_Occurred()) SWIG_fail
; 
15686   resultobj 
= SWIG_Py_Void(); 
15693 SWIGINTERN PyObject 
*_wrap_DC_DrawRoundedRectangleRect(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
15694   PyObject 
*resultobj 
= 0; 
15695   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
15703   PyObject 
* obj0 
= 0 ; 
15704   PyObject 
* obj1 
= 0 ; 
15705   PyObject 
* obj2 
= 0 ; 
15706   char *  kwnames
[] = { 
15707     (char *) "self",(char *) "r",(char *) "radius", NULL 
 
15710   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
15711   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
15712   if (!SWIG_IsOK(res1
)) { 
15713     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectangleRect" "', expected argument " "1"" of type '" "wxDC *""'");  
15715   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
15718     if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
; 
15720   ecode3 
= SWIG_AsVal_double(obj2
, &val3
); 
15721   if (!SWIG_IsOK(ecode3
)) { 
15722     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRoundedRectangleRect" "', expected argument " "3"" of type '" "double""'"); 
15724   arg3 
= static_cast< double >(val3
); 
15726     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15727     (arg1
)->DrawRoundedRectangle((wxRect 
const &)*arg2
,arg3
); 
15728     wxPyEndAllowThreads(__tstate
); 
15729     if (PyErr_Occurred()) SWIG_fail
; 
15731   resultobj 
= SWIG_Py_Void(); 
15738 SWIGINTERN PyObject 
*_wrap_DC_DrawRoundedRectanglePointSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
15739   PyObject 
*resultobj 
= 0; 
15740   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
15741   wxPoint 
*arg2 
= 0 ; 
15750   PyObject 
* obj0 
= 0 ; 
15751   PyObject 
* obj1 
= 0 ; 
15752   PyObject 
* obj2 
= 0 ; 
15753   PyObject 
* obj3 
= 0 ; 
15754   char *  kwnames
[] = { 
15755     (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL 
 
15758   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
; 
15759   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
15760   if (!SWIG_IsOK(res1
)) { 
15761     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectanglePointSize" "', expected argument " "1"" of type '" "wxDC *""'");  
15763   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
15766     if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
15770     if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
; 
15772   ecode4 
= SWIG_AsVal_double(obj3
, &val4
); 
15773   if (!SWIG_IsOK(ecode4
)) { 
15774     SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRoundedRectanglePointSize" "', expected argument " "4"" of type '" "double""'"); 
15776   arg4 
= static_cast< double >(val4
); 
15778     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15779     (arg1
)->DrawRoundedRectangle((wxPoint 
const &)*arg2
,(wxSize 
const &)*arg3
,arg4
); 
15780     wxPyEndAllowThreads(__tstate
); 
15781     if (PyErr_Occurred()) SWIG_fail
; 
15783   resultobj 
= SWIG_Py_Void(); 
15790 SWIGINTERN PyObject 
*_wrap_DC_DrawCircle(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
15791   PyObject 
*resultobj 
= 0; 
15792   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
15804   PyObject 
* obj0 
= 0 ; 
15805   PyObject 
* obj1 
= 0 ; 
15806   PyObject 
* obj2 
= 0 ; 
15807   PyObject 
* obj3 
= 0 ; 
15808   char *  kwnames
[] = { 
15809     (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL 
 
15812   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
; 
15813   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
15814   if (!SWIG_IsOK(res1
)) { 
15815     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCircle" "', expected argument " "1"" of type '" "wxDC *""'");  
15817   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
15818   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
15819   if (!SWIG_IsOK(ecode2
)) { 
15820     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawCircle" "', expected argument " "2"" of type '" "int""'"); 
15822   arg2 
= static_cast< int >(val2
); 
15823   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
15824   if (!SWIG_IsOK(ecode3
)) { 
15825     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCircle" "', expected argument " "3"" of type '" "int""'"); 
15827   arg3 
= static_cast< int >(val3
); 
15828   ecode4 
= SWIG_AsVal_int(obj3
, &val4
); 
15829   if (!SWIG_IsOK(ecode4
)) { 
15830     SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawCircle" "', expected argument " "4"" of type '" "int""'"); 
15832   arg4 
= static_cast< int >(val4
); 
15834     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15835     (arg1
)->DrawCircle(arg2
,arg3
,arg4
); 
15836     wxPyEndAllowThreads(__tstate
); 
15837     if (PyErr_Occurred()) SWIG_fail
; 
15839   resultobj 
= SWIG_Py_Void(); 
15846 SWIGINTERN PyObject 
*_wrap_DC_DrawCirclePoint(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
15847   PyObject 
*resultobj 
= 0; 
15848   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
15849   wxPoint 
*arg2 
= 0 ; 
15856   PyObject 
* obj0 
= 0 ; 
15857   PyObject 
* obj1 
= 0 ; 
15858   PyObject 
* obj2 
= 0 ; 
15859   char *  kwnames
[] = { 
15860     (char *) "self",(char *) "pt",(char *) "radius", NULL 
 
15863   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
15864   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
15865   if (!SWIG_IsOK(res1
)) { 
15866     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCirclePoint" "', expected argument " "1"" of type '" "wxDC *""'");  
15868   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
15871     if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
15873   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
15874   if (!SWIG_IsOK(ecode3
)) { 
15875     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCirclePoint" "', expected argument " "3"" of type '" "int""'"); 
15877   arg3 
= static_cast< int >(val3
); 
15879     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15880     (arg1
)->DrawCircle((wxPoint 
const &)*arg2
,arg3
); 
15881     wxPyEndAllowThreads(__tstate
); 
15882     if (PyErr_Occurred()) SWIG_fail
; 
15884   resultobj 
= SWIG_Py_Void(); 
15891 SWIGINTERN PyObject 
*_wrap_DC_DrawEllipse(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
15892   PyObject 
*resultobj 
= 0; 
15893   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
15908   PyObject 
* obj0 
= 0 ; 
15909   PyObject 
* obj1 
= 0 ; 
15910   PyObject 
* obj2 
= 0 ; 
15911   PyObject 
* obj3 
= 0 ; 
15912   PyObject 
* obj4 
= 0 ; 
15913   char *  kwnames
[] = { 
15914     (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL 
 
15917   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
; 
15918   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
15919   if (!SWIG_IsOK(res1
)) { 
15920     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipse" "', expected argument " "1"" of type '" "wxDC *""'");  
15922   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
15923   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
15924   if (!SWIG_IsOK(ecode2
)) { 
15925     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawEllipse" "', expected argument " "2"" of type '" "int""'"); 
15927   arg2 
= static_cast< int >(val2
); 
15928   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
15929   if (!SWIG_IsOK(ecode3
)) { 
15930     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawEllipse" "', expected argument " "3"" of type '" "int""'"); 
15932   arg3 
= static_cast< int >(val3
); 
15933   ecode4 
= SWIG_AsVal_int(obj3
, &val4
); 
15934   if (!SWIG_IsOK(ecode4
)) { 
15935     SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipse" "', expected argument " "4"" of type '" "int""'"); 
15937   arg4 
= static_cast< int >(val4
); 
15938   ecode5 
= SWIG_AsVal_int(obj4
, &val5
); 
15939   if (!SWIG_IsOK(ecode5
)) { 
15940     SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipse" "', expected argument " "5"" of type '" "int""'"); 
15942   arg5 
= static_cast< int >(val5
); 
15944     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15945     (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
); 
15946     wxPyEndAllowThreads(__tstate
); 
15947     if (PyErr_Occurred()) SWIG_fail
; 
15949   resultobj 
= SWIG_Py_Void(); 
15956 SWIGINTERN PyObject 
*_wrap_DC_DrawEllipseRect(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
15957   PyObject 
*resultobj 
= 0; 
15958   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
15963   PyObject 
* obj0 
= 0 ; 
15964   PyObject 
* obj1 
= 0 ; 
15965   char *  kwnames
[] = { 
15966     (char *) "self",(char *) "rect", NULL 
 
15969   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
15970   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
15971   if (!SWIG_IsOK(res1
)) { 
15972     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipseRect" "', expected argument " "1"" of type '" "wxDC *""'");  
15974   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
15977     if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
; 
15980     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15981     (arg1
)->DrawEllipse((wxRect 
const &)*arg2
); 
15982     wxPyEndAllowThreads(__tstate
); 
15983     if (PyErr_Occurred()) SWIG_fail
; 
15985   resultobj 
= SWIG_Py_Void(); 
15992 SWIGINTERN PyObject 
*_wrap_DC_DrawEllipsePointSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
15993   PyObject 
*resultobj 
= 0; 
15994   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
15995   wxPoint 
*arg2 
= 0 ; 
16001   PyObject 
* obj0 
= 0 ; 
16002   PyObject 
* obj1 
= 0 ; 
16003   PyObject 
* obj2 
= 0 ; 
16004   char *  kwnames
[] = { 
16005     (char *) "self",(char *) "pt",(char *) "sz", NULL 
 
16008   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
16009   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
16010   if (!SWIG_IsOK(res1
)) { 
16011     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipsePointSize" "', expected argument " "1"" of type '" "wxDC *""'");  
16013   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
16016     if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
16020     if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
; 
16023     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16024     (arg1
)->DrawEllipse((wxPoint 
const &)*arg2
,(wxSize 
const &)*arg3
); 
16025     wxPyEndAllowThreads(__tstate
); 
16026     if (PyErr_Occurred()) SWIG_fail
; 
16028   resultobj 
= SWIG_Py_Void(); 
16035 SWIGINTERN PyObject 
*_wrap_DC_DrawIcon(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
16036   PyObject 
*resultobj 
= 0; 
16037   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
16049   PyObject 
* obj0 
= 0 ; 
16050   PyObject 
* obj1 
= 0 ; 
16051   PyObject 
* obj2 
= 0 ; 
16052   PyObject 
* obj3 
= 0 ; 
16053   char *  kwnames
[] = { 
16054     (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL 
 
16057   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
; 
16058   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
16059   if (!SWIG_IsOK(res1
)) { 
16060     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawIcon" "', expected argument " "1"" of type '" "wxDC *""'");  
16062   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
16063   res2 
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
,  0  | 0); 
16064   if (!SWIG_IsOK(res2
)) { 
16065     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");  
16068     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");  
16070   arg2 
= reinterpret_cast< wxIcon 
* >(argp2
); 
16071   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
16072   if (!SWIG_IsOK(ecode3
)) { 
16073     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawIcon" "', expected argument " "3"" of type '" "int""'"); 
16075   arg3 
= static_cast< int >(val3
); 
16076   ecode4 
= SWIG_AsVal_int(obj3
, &val4
); 
16077   if (!SWIG_IsOK(ecode4
)) { 
16078     SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawIcon" "', expected argument " "4"" of type '" "int""'"); 
16080   arg4 
= static_cast< int >(val4
); 
16082     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16083     (arg1
)->DrawIcon((wxIcon 
const &)*arg2
,arg3
,arg4
); 
16084     wxPyEndAllowThreads(__tstate
); 
16085     if (PyErr_Occurred()) SWIG_fail
; 
16087   resultobj 
= SWIG_Py_Void(); 
16094 SWIGINTERN PyObject 
*_wrap_DC_DrawIconPoint(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
16095   PyObject 
*resultobj 
= 0; 
16096   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
16098   wxPoint 
*arg3 
= 0 ; 
16104   PyObject 
* obj0 
= 0 ; 
16105   PyObject 
* obj1 
= 0 ; 
16106   PyObject 
* obj2 
= 0 ; 
16107   char *  kwnames
[] = { 
16108     (char *) "self",(char *) "icon",(char *) "pt", NULL 
 
16111   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
16112   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
16113   if (!SWIG_IsOK(res1
)) { 
16114     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawIconPoint" "', expected argument " "1"" of type '" "wxDC *""'");  
16116   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
16117   res2 
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
,  0  | 0); 
16118   if (!SWIG_IsOK(res2
)) { 
16119     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");  
16122     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");  
16124   arg2 
= reinterpret_cast< wxIcon 
* >(argp2
); 
16127     if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
; 
16130     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16131     (arg1
)->DrawIcon((wxIcon 
const &)*arg2
,(wxPoint 
const &)*arg3
); 
16132     wxPyEndAllowThreads(__tstate
); 
16133     if (PyErr_Occurred()) SWIG_fail
; 
16135   resultobj 
= SWIG_Py_Void(); 
16142 SWIGINTERN PyObject 
*_wrap_DC_DrawBitmap(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
16143   PyObject 
*resultobj 
= 0; 
16144   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
16145   wxBitmap 
*arg2 
= 0 ; 
16148   bool arg5 
= (bool) false ; 
16159   PyObject 
* obj0 
= 0 ; 
16160   PyObject 
* obj1 
= 0 ; 
16161   PyObject 
* obj2 
= 0 ; 
16162   PyObject 
* obj3 
= 0 ; 
16163   PyObject 
* obj4 
= 0 ; 
16164   char *  kwnames
[] = { 
16165     (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL 
 
16168   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
; 
16169   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
16170   if (!SWIG_IsOK(res1
)) { 
16171     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawBitmap" "', expected argument " "1"" of type '" "wxDC *""'");  
16173   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
16174   res2 
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
,  0  | 0); 
16175   if (!SWIG_IsOK(res2
)) { 
16176     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");  
16179     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");  
16181   arg2 
= reinterpret_cast< wxBitmap 
* >(argp2
); 
16182   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
16183   if (!SWIG_IsOK(ecode3
)) { 
16184     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawBitmap" "', expected argument " "3"" of type '" "int""'"); 
16186   arg3 
= static_cast< int >(val3
); 
16187   ecode4 
= SWIG_AsVal_int(obj3
, &val4
); 
16188   if (!SWIG_IsOK(ecode4
)) { 
16189     SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawBitmap" "', expected argument " "4"" of type '" "int""'"); 
16191   arg4 
= static_cast< int >(val4
); 
16193     ecode5 
= SWIG_AsVal_bool(obj4
, &val5
); 
16194     if (!SWIG_IsOK(ecode5
)) { 
16195       SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawBitmap" "', expected argument " "5"" of type '" "bool""'"); 
16197     arg5 
= static_cast< bool >(val5
); 
16200     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16201     (arg1
)->DrawBitmap((wxBitmap 
const &)*arg2
,arg3
,arg4
,arg5
); 
16202     wxPyEndAllowThreads(__tstate
); 
16203     if (PyErr_Occurred()) SWIG_fail
; 
16205   resultobj 
= SWIG_Py_Void(); 
16212 SWIGINTERN PyObject 
*_wrap_DC_DrawBitmapPoint(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
16213   PyObject 
*resultobj 
= 0; 
16214   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
16215   wxBitmap 
*arg2 
= 0 ; 
16216   wxPoint 
*arg3 
= 0 ; 
16217   bool arg4 
= (bool) false ; 
16225   PyObject 
* obj0 
= 0 ; 
16226   PyObject 
* obj1 
= 0 ; 
16227   PyObject 
* obj2 
= 0 ; 
16228   PyObject 
* obj3 
= 0 ; 
16229   char *  kwnames
[] = { 
16230     (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL 
 
16233   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
; 
16234   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
16235   if (!SWIG_IsOK(res1
)) { 
16236     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "1"" of type '" "wxDC *""'");  
16238   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
16239   res2 
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
,  0  | 0); 
16240   if (!SWIG_IsOK(res2
)) { 
16241     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");  
16244     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");  
16246   arg2 
= reinterpret_cast< wxBitmap 
* >(argp2
); 
16249     if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
; 
16252     ecode4 
= SWIG_AsVal_bool(obj3
, &val4
); 
16253     if (!SWIG_IsOK(ecode4
)) { 
16254       SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "4"" of type '" "bool""'"); 
16256     arg4 
= static_cast< bool >(val4
); 
16259     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16260     (arg1
)->DrawBitmap((wxBitmap 
const &)*arg2
,(wxPoint 
const &)*arg3
,arg4
); 
16261     wxPyEndAllowThreads(__tstate
); 
16262     if (PyErr_Occurred()) SWIG_fail
; 
16264   resultobj 
= SWIG_Py_Void(); 
16271 SWIGINTERN PyObject 
*_wrap_DC_DrawText(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
16272   PyObject 
*resultobj 
= 0; 
16273   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
16274   wxString 
*arg2 
= 0 ; 
16279   bool temp2 
= false ; 
16284   PyObject 
* obj0 
= 0 ; 
16285   PyObject 
* obj1 
= 0 ; 
16286   PyObject 
* obj2 
= 0 ; 
16287   PyObject 
* obj3 
= 0 ; 
16288   char *  kwnames
[] = { 
16289     (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL 
 
16292   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
; 
16293   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
16294   if (!SWIG_IsOK(res1
)) { 
16295     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawText" "', expected argument " "1"" of type '" "wxDC *""'");  
16297   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
16299     arg2 
= wxString_in_helper(obj1
); 
16300     if (arg2 
== NULL
) SWIG_fail
; 
16303   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
16304   if (!SWIG_IsOK(ecode3
)) { 
16305     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawText" "', expected argument " "3"" of type '" "int""'"); 
16307   arg3 
= static_cast< int >(val3
); 
16308   ecode4 
= SWIG_AsVal_int(obj3
, &val4
); 
16309   if (!SWIG_IsOK(ecode4
)) { 
16310     SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawText" "', expected argument " "4"" of type '" "int""'"); 
16312   arg4 
= static_cast< int >(val4
); 
16314     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16315     (arg1
)->DrawText((wxString 
const &)*arg2
,arg3
,arg4
); 
16316     wxPyEndAllowThreads(__tstate
); 
16317     if (PyErr_Occurred()) SWIG_fail
; 
16319   resultobj 
= SWIG_Py_Void(); 
16334 SWIGINTERN PyObject 
*_wrap_DC_DrawTextPoint(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
16335   PyObject 
*resultobj 
= 0; 
16336   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
16337   wxString 
*arg2 
= 0 ; 
16338   wxPoint 
*arg3 
= 0 ; 
16341   bool temp2 
= false ; 
16343   PyObject 
* obj0 
= 0 ; 
16344   PyObject 
* obj1 
= 0 ; 
16345   PyObject 
* obj2 
= 0 ; 
16346   char *  kwnames
[] = { 
16347     (char *) "self",(char *) "text",(char *) "pt", NULL 
 
16350   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
16351   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
16352   if (!SWIG_IsOK(res1
)) { 
16353     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawTextPoint" "', expected argument " "1"" of type '" "wxDC *""'");  
16355   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
16357     arg2 
= wxString_in_helper(obj1
); 
16358     if (arg2 
== NULL
) SWIG_fail
; 
16363     if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
; 
16366     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16367     (arg1
)->DrawText((wxString 
const &)*arg2
,(wxPoint 
const &)*arg3
); 
16368     wxPyEndAllowThreads(__tstate
); 
16369     if (PyErr_Occurred()) SWIG_fail
; 
16371   resultobj 
= SWIG_Py_Void(); 
16386 SWIGINTERN PyObject 
*_wrap_DC_DrawRotatedText(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
16387   PyObject 
*resultobj 
= 0; 
16388   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
16389   wxString 
*arg2 
= 0 ; 
16395   bool temp2 
= false ; 
16402   PyObject 
* obj0 
= 0 ; 
16403   PyObject 
* obj1 
= 0 ; 
16404   PyObject 
* obj2 
= 0 ; 
16405   PyObject 
* obj3 
= 0 ; 
16406   PyObject 
* obj4 
= 0 ; 
16407   char *  kwnames
[] = { 
16408     (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL 
 
16411   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
; 
16412   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
16413   if (!SWIG_IsOK(res1
)) { 
16414     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRotatedText" "', expected argument " "1"" of type '" "wxDC *""'");  
16416   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
16418     arg2 
= wxString_in_helper(obj1
); 
16419     if (arg2 
== NULL
) SWIG_fail
; 
16422   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
16423   if (!SWIG_IsOK(ecode3
)) { 
16424     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRotatedText" "', expected argument " "3"" of type '" "int""'"); 
16426   arg3 
= static_cast< int >(val3
); 
16427   ecode4 
= SWIG_AsVal_int(obj3
, &val4
); 
16428   if (!SWIG_IsOK(ecode4
)) { 
16429     SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRotatedText" "', expected argument " "4"" of type '" "int""'"); 
16431   arg4 
= static_cast< int >(val4
); 
16432   ecode5 
= SWIG_AsVal_double(obj4
, &val5
); 
16433   if (!SWIG_IsOK(ecode5
)) { 
16434     SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRotatedText" "', expected argument " "5"" of type '" "double""'"); 
16436   arg5 
= static_cast< double >(val5
); 
16438     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16439     (arg1
)->DrawRotatedText((wxString 
const &)*arg2
,arg3
,arg4
,arg5
); 
16440     wxPyEndAllowThreads(__tstate
); 
16441     if (PyErr_Occurred()) SWIG_fail
; 
16443   resultobj 
= SWIG_Py_Void(); 
16458 SWIGINTERN PyObject 
*_wrap_DC_DrawRotatedTextPoint(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
16459   PyObject 
*resultobj 
= 0; 
16460   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
16461   wxString 
*arg2 
= 0 ; 
16462   wxPoint 
*arg3 
= 0 ; 
16466   bool temp2 
= false ; 
16470   PyObject 
* obj0 
= 0 ; 
16471   PyObject 
* obj1 
= 0 ; 
16472   PyObject 
* obj2 
= 0 ; 
16473   PyObject 
* obj3 
= 0 ; 
16474   char *  kwnames
[] = { 
16475     (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL 
 
16478   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
; 
16479   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
16480   if (!SWIG_IsOK(res1
)) { 
16481     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRotatedTextPoint" "', expected argument " "1"" of type '" "wxDC *""'");  
16483   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
16485     arg2 
= wxString_in_helper(obj1
); 
16486     if (arg2 
== NULL
) SWIG_fail
; 
16491     if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
; 
16493   ecode4 
= SWIG_AsVal_double(obj3
, &val4
); 
16494   if (!SWIG_IsOK(ecode4
)) { 
16495     SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRotatedTextPoint" "', expected argument " "4"" of type '" "double""'"); 
16497   arg4 
= static_cast< double >(val4
); 
16499     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16500     (arg1
)->DrawRotatedText((wxString 
const &)*arg2
,(wxPoint 
const &)*arg3
,arg4
); 
16501     wxPyEndAllowThreads(__tstate
); 
16502     if (PyErr_Occurred()) SWIG_fail
; 
16504   resultobj 
= SWIG_Py_Void(); 
16519 SWIGINTERN PyObject 
*_wrap_DC_Blit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
16520   PyObject 
*resultobj 
= 0; 
16521   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
16526   wxDC 
*arg6 
= (wxDC 
*) 0 ; 
16529   int arg9 
= (int) wxCOPY 
; 
16530   bool arg10 
= (bool) false ; 
16531   int arg11 
= (int) -1 ; 
16532   int arg12 
= (int) -1 ; 
16558   PyObject 
* obj0 
= 0 ; 
16559   PyObject 
* obj1 
= 0 ; 
16560   PyObject 
* obj2 
= 0 ; 
16561   PyObject 
* obj3 
= 0 ; 
16562   PyObject 
* obj4 
= 0 ; 
16563   PyObject 
* obj5 
= 0 ; 
16564   PyObject 
* obj6 
= 0 ; 
16565   PyObject 
* obj7 
= 0 ; 
16566   PyObject 
* obj8 
= 0 ; 
16567   PyObject 
* obj9 
= 0 ; 
16568   PyObject 
* obj10 
= 0 ; 
16569   PyObject 
* obj11 
= 0 ; 
16570   char *  kwnames
[] = { 
16571     (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 
 
16574   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOOO|OOOO:DC_Blit",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
,&obj11
)) SWIG_fail
; 
16575   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
16576   if (!SWIG_IsOK(res1
)) { 
16577     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Blit" "', expected argument " "1"" of type '" "wxDC *""'");  
16579   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
16580   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
16581   if (!SWIG_IsOK(ecode2
)) { 
16582     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_Blit" "', expected argument " "2"" of type '" "int""'"); 
16584   arg2 
= static_cast< int >(val2
); 
16585   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
16586   if (!SWIG_IsOK(ecode3
)) { 
16587     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_Blit" "', expected argument " "3"" of type '" "int""'"); 
16589   arg3 
= static_cast< int >(val3
); 
16590   ecode4 
= SWIG_AsVal_int(obj3
, &val4
); 
16591   if (!SWIG_IsOK(ecode4
)) { 
16592     SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_Blit" "', expected argument " "4"" of type '" "int""'"); 
16594   arg4 
= static_cast< int >(val4
); 
16595   ecode5 
= SWIG_AsVal_int(obj4
, &val5
); 
16596   if (!SWIG_IsOK(ecode5
)) { 
16597     SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_Blit" "', expected argument " "5"" of type '" "int""'"); 
16599   arg5 
= static_cast< int >(val5
); 
16600   res6 
= SWIG_ConvertPtr(obj5
, &argp6
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
16601   if (!SWIG_IsOK(res6
)) { 
16602     SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "DC_Blit" "', expected argument " "6"" of type '" "wxDC *""'");  
16604   arg6 
= reinterpret_cast< wxDC 
* >(argp6
); 
16605   ecode7 
= SWIG_AsVal_int(obj6
, &val7
); 
16606   if (!SWIG_IsOK(ecode7
)) { 
16607     SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_Blit" "', expected argument " "7"" of type '" "int""'"); 
16609   arg7 
= static_cast< int >(val7
); 
16610   ecode8 
= SWIG_AsVal_int(obj7
, &val8
); 
16611   if (!SWIG_IsOK(ecode8
)) { 
16612     SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "DC_Blit" "', expected argument " "8"" of type '" "int""'"); 
16614   arg8 
= static_cast< int >(val8
); 
16616     ecode9 
= SWIG_AsVal_int(obj8
, &val9
); 
16617     if (!SWIG_IsOK(ecode9
)) { 
16618       SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "DC_Blit" "', expected argument " "9"" of type '" "int""'"); 
16620     arg9 
= static_cast< int >(val9
); 
16623     ecode10 
= SWIG_AsVal_bool(obj9
, &val10
); 
16624     if (!SWIG_IsOK(ecode10
)) { 
16625       SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "DC_Blit" "', expected argument " "10"" of type '" "bool""'"); 
16627     arg10 
= static_cast< bool >(val10
); 
16630     ecode11 
= SWIG_AsVal_int(obj10
, &val11
); 
16631     if (!SWIG_IsOK(ecode11
)) { 
16632       SWIG_exception_fail(SWIG_ArgError(ecode11
), "in method '" "DC_Blit" "', expected argument " "11"" of type '" "int""'"); 
16634     arg11 
= static_cast< int >(val11
); 
16637     ecode12 
= SWIG_AsVal_int(obj11
, &val12
); 
16638     if (!SWIG_IsOK(ecode12
)) { 
16639       SWIG_exception_fail(SWIG_ArgError(ecode12
), "in method '" "DC_Blit" "', expected argument " "12"" of type '" "int""'"); 
16641     arg12 
= static_cast< int >(val12
); 
16644     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16645     result 
= (bool)(arg1
)->Blit(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
,arg11
,arg12
); 
16646     wxPyEndAllowThreads(__tstate
); 
16647     if (PyErr_Occurred()) SWIG_fail
; 
16650     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
16658 SWIGINTERN PyObject 
*_wrap_DC_BlitPointSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
16659   PyObject 
*resultobj 
= 0; 
16660   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
16661   wxPoint 
*arg2 
= 0 ; 
16663   wxDC 
*arg4 
= (wxDC 
*) 0 ; 
16664   wxPoint 
*arg5 
= 0 ; 
16665   int arg6 
= (int) wxCOPY 
; 
16666   bool arg7 
= (bool) false ; 
16667   wxPoint 
const &arg8_defvalue 
= wxDefaultPosition 
; 
16668   wxPoint 
*arg8 
= (wxPoint 
*) &arg8_defvalue 
; 
16682   PyObject 
* obj0 
= 0 ; 
16683   PyObject 
* obj1 
= 0 ; 
16684   PyObject 
* obj2 
= 0 ; 
16685   PyObject 
* obj3 
= 0 ; 
16686   PyObject 
* obj4 
= 0 ; 
16687   PyObject 
* obj5 
= 0 ; 
16688   PyObject 
* obj6 
= 0 ; 
16689   PyObject 
* obj7 
= 0 ; 
16690   char *  kwnames
[] = { 
16691     (char *) "self",(char *) "destPt",(char *) "sz",(char *) "source",(char *) "srcPt",(char *) "rop",(char *) "useMask",(char *) "srcPtMask", NULL 
 
16694   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:DC_BlitPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
; 
16695   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
16696   if (!SWIG_IsOK(res1
)) { 
16697     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_BlitPointSize" "', expected argument " "1"" of type '" "wxDC *""'");  
16699   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
16702     if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
16706     if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
; 
16708   res4 
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
16709   if (!SWIG_IsOK(res4
)) { 
16710     SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DC_BlitPointSize" "', expected argument " "4"" of type '" "wxDC *""'");  
16712   arg4 
= reinterpret_cast< wxDC 
* >(argp4
); 
16715     if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
; 
16718     ecode6 
= SWIG_AsVal_int(obj5
, &val6
); 
16719     if (!SWIG_IsOK(ecode6
)) { 
16720       SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_BlitPointSize" "', expected argument " "6"" of type '" "int""'"); 
16722     arg6 
= static_cast< int >(val6
); 
16725     ecode7 
= SWIG_AsVal_bool(obj6
, &val7
); 
16726     if (!SWIG_IsOK(ecode7
)) { 
16727       SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_BlitPointSize" "', expected argument " "7"" of type '" "bool""'"); 
16729     arg7 
= static_cast< bool >(val7
); 
16734       if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
; 
16738     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16739     result 
= (bool)(arg1
)->Blit((wxPoint 
const &)*arg2
,(wxSize 
const &)*arg3
,arg4
,(wxPoint 
const &)*arg5
,arg6
,arg7
,(wxPoint 
const &)*arg8
); 
16740     wxPyEndAllowThreads(__tstate
); 
16741     if (PyErr_Occurred()) SWIG_fail
; 
16744     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
16752 SWIGINTERN PyObject 
*_wrap_DC_SetClippingRegion(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
16753   PyObject 
*resultobj 
= 0; 
16754   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
16769   PyObject 
* obj0 
= 0 ; 
16770   PyObject 
* obj1 
= 0 ; 
16771   PyObject 
* obj2 
= 0 ; 
16772   PyObject 
* obj3 
= 0 ; 
16773   PyObject 
* obj4 
= 0 ; 
16774   char *  kwnames
[] = { 
16775     (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL 
 
16778   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_SetClippingRegion",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
; 
16779   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
16780   if (!SWIG_IsOK(res1
)) { 
16781     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegion" "', expected argument " "1"" of type '" "wxDC *""'");  
16783   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
16784   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
16785   if (!SWIG_IsOK(ecode2
)) { 
16786     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetClippingRegion" "', expected argument " "2"" of type '" "int""'"); 
16788   arg2 
= static_cast< int >(val2
); 
16789   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
16790   if (!SWIG_IsOK(ecode3
)) { 
16791     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetClippingRegion" "', expected argument " "3"" of type '" "int""'"); 
16793   arg3 
= static_cast< int >(val3
); 
16794   ecode4 
= SWIG_AsVal_int(obj3
, &val4
); 
16795   if (!SWIG_IsOK(ecode4
)) { 
16796     SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_SetClippingRegion" "', expected argument " "4"" of type '" "int""'"); 
16798   arg4 
= static_cast< int >(val4
); 
16799   ecode5 
= SWIG_AsVal_int(obj4
, &val5
); 
16800   if (!SWIG_IsOK(ecode5
)) { 
16801     SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_SetClippingRegion" "', expected argument " "5"" of type '" "int""'"); 
16803   arg5 
= static_cast< int >(val5
); 
16805     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16806     (arg1
)->SetClippingRegion(arg2
,arg3
,arg4
,arg5
); 
16807     wxPyEndAllowThreads(__tstate
); 
16808     if (PyErr_Occurred()) SWIG_fail
; 
16810   resultobj 
= SWIG_Py_Void(); 
16817 SWIGINTERN PyObject 
*_wrap_DC_SetClippingRegionPointSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
16818   PyObject 
*resultobj 
= 0; 
16819   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
16820   wxPoint 
*arg2 
= 0 ; 
16826   PyObject 
* obj0 
= 0 ; 
16827   PyObject 
* obj1 
= 0 ; 
16828   PyObject 
* obj2 
= 0 ; 
16829   char *  kwnames
[] = { 
16830     (char *) "self",(char *) "pt",(char *) "sz", NULL 
 
16833   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetClippingRegionPointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
16834   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
16835   if (!SWIG_IsOK(res1
)) { 
16836     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegionPointSize" "', expected argument " "1"" of type '" "wxDC *""'");  
16838   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
16841     if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
16845     if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
; 
16848     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16849     (arg1
)->SetClippingRegion((wxPoint 
const &)*arg2
,(wxSize 
const &)*arg3
); 
16850     wxPyEndAllowThreads(__tstate
); 
16851     if (PyErr_Occurred()) SWIG_fail
; 
16853   resultobj 
= SWIG_Py_Void(); 
16860 SWIGINTERN PyObject 
*_wrap_DC_SetClippingRegionAsRegion(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
16861   PyObject 
*resultobj 
= 0; 
16862   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
16863   wxRegion 
*arg2 
= 0 ; 
16868   PyObject 
* obj0 
= 0 ; 
16869   PyObject 
* obj1 
= 0 ; 
16870   char *  kwnames
[] = { 
16871     (char *) "self",(char *) "region", NULL 
 
16874   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRegionAsRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
16875   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
16876   if (!SWIG_IsOK(res1
)) { 
16877     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "1"" of type '" "wxDC *""'");  
16879   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
16880   res2 
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
,  0  | 0); 
16881   if (!SWIG_IsOK(res2
)) { 
16882     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");  
16885     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");  
16887   arg2 
= reinterpret_cast< wxRegion 
* >(argp2
); 
16889     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16890     (arg1
)->SetClippingRegion((wxRegion 
const &)*arg2
); 
16891     wxPyEndAllowThreads(__tstate
); 
16892     if (PyErr_Occurred()) SWIG_fail
; 
16894   resultobj 
= SWIG_Py_Void(); 
16901 SWIGINTERN PyObject 
*_wrap_DC_SetClippingRect(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
16902   PyObject 
*resultobj 
= 0; 
16903   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
16908   PyObject 
* obj0 
= 0 ; 
16909   PyObject 
* obj1 
= 0 ; 
16910   char *  kwnames
[] = { 
16911     (char *) "self",(char *) "rect", NULL 
 
16914   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
16915   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
16916   if (!SWIG_IsOK(res1
)) { 
16917     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRect" "', expected argument " "1"" of type '" "wxDC *""'");  
16919   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
16922     if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
; 
16925     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16926     (arg1
)->SetClippingRegion((wxRect 
const &)*arg2
); 
16927     wxPyEndAllowThreads(__tstate
); 
16928     if (PyErr_Occurred()) SWIG_fail
; 
16930   resultobj 
= SWIG_Py_Void(); 
16937 SWIGINTERN PyObject 
*_wrap_DC_DrawLines(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
16938   PyObject 
*resultobj 
= 0; 
16939   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
16941   wxPoint 
*arg3 
= (wxPoint 
*) 0 ; 
16942   int arg4 
= (int) 0 ; 
16943   int arg5 
= (int) 0 ; 
16950   PyObject 
* obj0 
= 0 ; 
16951   PyObject 
* obj1 
= 0 ; 
16952   PyObject 
* obj2 
= 0 ; 
16953   PyObject 
* obj3 
= 0 ; 
16954   char *  kwnames
[] = { 
16955     (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL 
 
16958   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
; 
16959   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
16960   if (!SWIG_IsOK(res1
)) { 
16961     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLines" "', expected argument " "1"" of type '" "wxDC *""'");  
16963   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
16965     arg3 
= wxPoint_LIST_helper(obj1
, &arg2
); 
16966     if (arg3 
== NULL
) SWIG_fail
; 
16969     ecode4 
= SWIG_AsVal_int(obj2
, &val4
); 
16970     if (!SWIG_IsOK(ecode4
)) { 
16971       SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLines" "', expected argument " "4"" of type '" "int""'"); 
16973     arg4 
= static_cast< int >(val4
); 
16976     ecode5 
= SWIG_AsVal_int(obj3
, &val5
); 
16977     if (!SWIG_IsOK(ecode5
)) { 
16978       SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLines" "', expected argument " "5"" of type '" "int""'"); 
16980     arg5 
= static_cast< int >(val5
); 
16983     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16984     (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
); 
16985     wxPyEndAllowThreads(__tstate
); 
16986     if (PyErr_Occurred()) SWIG_fail
; 
16988   resultobj 
= SWIG_Py_Void(); 
16990     if (arg3
) delete [] arg3
; 
16995     if (arg3
) delete [] arg3
; 
17001 SWIGINTERN PyObject 
*_wrap_DC_DrawPolygon(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
17002   PyObject 
*resultobj 
= 0; 
17003   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
17005   wxPoint 
*arg3 
= (wxPoint 
*) 0 ; 
17006   int arg4 
= (int) 0 ; 
17007   int arg5 
= (int) 0 ; 
17008   int arg6 
= (int) wxODDEVEN_RULE 
; 
17017   PyObject 
* obj0 
= 0 ; 
17018   PyObject 
* obj1 
= 0 ; 
17019   PyObject 
* obj2 
= 0 ; 
17020   PyObject 
* obj3 
= 0 ; 
17021   PyObject 
* obj4 
= 0 ; 
17022   char *  kwnames
[] = { 
17023     (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL 
 
17026   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
; 
17027   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
17028   if (!SWIG_IsOK(res1
)) { 
17029     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPolygon" "', expected argument " "1"" of type '" "wxDC *""'");  
17031   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
17033     arg3 
= wxPoint_LIST_helper(obj1
, &arg2
); 
17034     if (arg3 
== NULL
) SWIG_fail
; 
17037     ecode4 
= SWIG_AsVal_int(obj2
, &val4
); 
17038     if (!SWIG_IsOK(ecode4
)) { 
17039       SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawPolygon" "', expected argument " "4"" of type '" "int""'"); 
17041     arg4 
= static_cast< int >(val4
); 
17044     ecode5 
= SWIG_AsVal_int(obj3
, &val5
); 
17045     if (!SWIG_IsOK(ecode5
)) { 
17046       SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawPolygon" "', expected argument " "5"" of type '" "int""'"); 
17048     arg5 
= static_cast< int >(val5
); 
17051     ecode6 
= SWIG_AsVal_int(obj4
, &val6
); 
17052     if (!SWIG_IsOK(ecode6
)) { 
17053       SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawPolygon" "', expected argument " "6"" of type '" "int""'"); 
17055     arg6 
= static_cast< int >(val6
); 
17058     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17059     (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
); 
17060     wxPyEndAllowThreads(__tstate
); 
17061     if (PyErr_Occurred()) SWIG_fail
; 
17063   resultobj 
= SWIG_Py_Void(); 
17065     if (arg3
) delete [] arg3
; 
17070     if (arg3
) delete [] arg3
; 
17076 SWIGINTERN PyObject 
*_wrap_DC_DrawLabel(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
17077   PyObject 
*resultobj 
= 0; 
17078   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
17079   wxString 
*arg2 
= 0 ; 
17081   int arg4 
= (int) wxALIGN_LEFT
|wxALIGN_TOP 
; 
17082   int arg5 
= (int) -1 ; 
17085   bool temp2 
= false ; 
17091   PyObject 
* obj0 
= 0 ; 
17092   PyObject 
* obj1 
= 0 ; 
17093   PyObject 
* obj2 
= 0 ; 
17094   PyObject 
* obj3 
= 0 ; 
17095   PyObject 
* obj4 
= 0 ; 
17096   char *  kwnames
[] = { 
17097     (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL 
 
17100   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
; 
17101   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
17102   if (!SWIG_IsOK(res1
)) { 
17103     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLabel" "', expected argument " "1"" of type '" "wxDC *""'");  
17105   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
17107     arg2 
= wxString_in_helper(obj1
); 
17108     if (arg2 
== NULL
) SWIG_fail
; 
17113     if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
; 
17116     ecode4 
= SWIG_AsVal_int(obj3
, &val4
); 
17117     if (!SWIG_IsOK(ecode4
)) { 
17118       SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLabel" "', expected argument " "4"" of type '" "int""'"); 
17120     arg4 
= static_cast< int >(val4
); 
17123     ecode5 
= SWIG_AsVal_int(obj4
, &val5
); 
17124     if (!SWIG_IsOK(ecode5
)) { 
17125       SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLabel" "', expected argument " "5"" of type '" "int""'"); 
17127     arg5 
= static_cast< int >(val5
); 
17130     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17131     (arg1
)->DrawLabel((wxString 
const &)*arg2
,(wxRect 
const &)*arg3
,arg4
,arg5
); 
17132     wxPyEndAllowThreads(__tstate
); 
17133     if (PyErr_Occurred()) SWIG_fail
; 
17135   resultobj 
= SWIG_Py_Void(); 
17150 SWIGINTERN PyObject 
*_wrap_DC_DrawImageLabel(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
17151   PyObject 
*resultobj 
= 0; 
17152   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
17153   wxString 
*arg2 
= 0 ; 
17154   wxBitmap 
*arg3 
= 0 ; 
17156   int arg5 
= (int) wxALIGN_LEFT
|wxALIGN_TOP 
; 
17157   int arg6 
= (int) -1 ; 
17161   bool temp2 
= false ; 
17169   PyObject 
* obj0 
= 0 ; 
17170   PyObject 
* obj1 
= 0 ; 
17171   PyObject 
* obj2 
= 0 ; 
17172   PyObject 
* obj3 
= 0 ; 
17173   PyObject 
* obj4 
= 0 ; 
17174   PyObject 
* obj5 
= 0 ; 
17175   char *  kwnames
[] = { 
17176     (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL 
 
17179   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:DC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
; 
17180   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
17181   if (!SWIG_IsOK(res1
)) { 
17182     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawImageLabel" "', expected argument " "1"" of type '" "wxDC *""'");  
17184   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
17186     arg2 
= wxString_in_helper(obj1
); 
17187     if (arg2 
== NULL
) SWIG_fail
; 
17190   res3 
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
,  0  | 0); 
17191   if (!SWIG_IsOK(res3
)) { 
17192     SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");  
17195     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");  
17197   arg3 
= reinterpret_cast< wxBitmap 
* >(argp3
); 
17200     if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
; 
17203     ecode5 
= SWIG_AsVal_int(obj4
, &val5
); 
17204     if (!SWIG_IsOK(ecode5
)) { 
17205       SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawImageLabel" "', expected argument " "5"" of type '" "int""'"); 
17207     arg5 
= static_cast< int >(val5
); 
17210     ecode6 
= SWIG_AsVal_int(obj5
, &val6
); 
17211     if (!SWIG_IsOK(ecode6
)) { 
17212       SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawImageLabel" "', expected argument " "6"" of type '" "int""'"); 
17214     arg6 
= static_cast< int >(val6
); 
17217     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17218     result 
= wxDC_DrawImageLabel(arg1
,(wxString 
const &)*arg2
,(wxBitmap 
const &)*arg3
,(wxRect 
const &)*arg4
,arg5
,arg6
); 
17219     wxPyEndAllowThreads(__tstate
); 
17220     if (PyErr_Occurred()) SWIG_fail
; 
17222   resultobj 
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN 
|  0 ); 
17237 SWIGINTERN PyObject 
*_wrap_DC_DrawSpline(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
17238   PyObject 
*resultobj 
= 0; 
17239   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
17241   wxPoint 
*arg3 
= (wxPoint 
*) 0 ; 
17244   PyObject 
* obj0 
= 0 ; 
17245   PyObject 
* obj1 
= 0 ; 
17246   char *  kwnames
[] = { 
17247     (char *) "self",(char *) "points", NULL 
 
17250   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawSpline",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
17251   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
17252   if (!SWIG_IsOK(res1
)) { 
17253     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawSpline" "', expected argument " "1"" of type '" "wxDC *""'");  
17255   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
17257     arg3 
= wxPoint_LIST_helper(obj1
, &arg2
); 
17258     if (arg3 
== NULL
) SWIG_fail
; 
17261     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17262     (arg1
)->DrawSpline(arg2
,arg3
); 
17263     wxPyEndAllowThreads(__tstate
); 
17264     if (PyErr_Occurred()) SWIG_fail
; 
17266   resultobj 
= SWIG_Py_Void(); 
17268     if (arg3
) delete [] arg3
; 
17273     if (arg3
) delete [] arg3
; 
17279 SWIGINTERN PyObject 
*_wrap_DC_Clear(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
17280   PyObject 
*resultobj 
= 0; 
17281   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
17284   PyObject 
*swig_obj
[1] ; 
17286   if (!args
) SWIG_fail
; 
17287   swig_obj
[0] = args
; 
17288   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
17289   if (!SWIG_IsOK(res1
)) { 
17290     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Clear" "', expected argument " "1"" of type '" "wxDC *""'");  
17292   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
17294     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17296     wxPyEndAllowThreads(__tstate
); 
17297     if (PyErr_Occurred()) SWIG_fail
; 
17299   resultobj 
= SWIG_Py_Void(); 
17306 SWIGINTERN PyObject 
*_wrap_DC_StartDoc(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
17307   PyObject 
*resultobj 
= 0; 
17308   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
17309   wxString 
*arg2 
= 0 ; 
17313   bool temp2 
= false ; 
17314   PyObject 
* obj0 
= 0 ; 
17315   PyObject 
* obj1 
= 0 ; 
17316   char *  kwnames
[] = { 
17317     (char *) "self",(char *) "message", NULL 
 
17320   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_StartDoc",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
17321   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
17322   if (!SWIG_IsOK(res1
)) { 
17323     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StartDoc" "', expected argument " "1"" of type '" "wxDC *""'");  
17325   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
17327     arg2 
= wxString_in_helper(obj1
); 
17328     if (arg2 
== NULL
) SWIG_fail
; 
17332     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17333     result 
= (bool)(arg1
)->StartDoc((wxString 
const &)*arg2
); 
17334     wxPyEndAllowThreads(__tstate
); 
17335     if (PyErr_Occurred()) SWIG_fail
; 
17338     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
17354 SWIGINTERN PyObject 
*_wrap_DC_EndDoc(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
17355   PyObject 
*resultobj 
= 0; 
17356   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
17359   PyObject 
*swig_obj
[1] ; 
17361   if (!args
) SWIG_fail
; 
17362   swig_obj
[0] = args
; 
17363   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
17364   if (!SWIG_IsOK(res1
)) { 
17365     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_EndDoc" "', expected argument " "1"" of type '" "wxDC *""'");  
17367   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
17369     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17371     wxPyEndAllowThreads(__tstate
); 
17372     if (PyErr_Occurred()) SWIG_fail
; 
17374   resultobj 
= SWIG_Py_Void(); 
17381 SWIGINTERN PyObject 
*_wrap_DC_StartPage(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
17382   PyObject 
*resultobj 
= 0; 
17383   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
17386   PyObject 
*swig_obj
[1] ; 
17388   if (!args
) SWIG_fail
; 
17389   swig_obj
[0] = args
; 
17390   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
17391   if (!SWIG_IsOK(res1
)) { 
17392     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StartPage" "', expected argument " "1"" of type '" "wxDC *""'");  
17394   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
17396     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17397     (arg1
)->StartPage(); 
17398     wxPyEndAllowThreads(__tstate
); 
17399     if (PyErr_Occurred()) SWIG_fail
; 
17401   resultobj 
= SWIG_Py_Void(); 
17408 SWIGINTERN PyObject 
*_wrap_DC_EndPage(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
17409   PyObject 
*resultobj 
= 0; 
17410   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
17413   PyObject 
*swig_obj
[1] ; 
17415   if (!args
) SWIG_fail
; 
17416   swig_obj
[0] = args
; 
17417   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
17418   if (!SWIG_IsOK(res1
)) { 
17419     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_EndPage" "', expected argument " "1"" of type '" "wxDC *""'");  
17421   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
17423     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17425     wxPyEndAllowThreads(__tstate
); 
17426     if (PyErr_Occurred()) SWIG_fail
; 
17428   resultobj 
= SWIG_Py_Void(); 
17435 SWIGINTERN PyObject 
*_wrap_DC_SetFont(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
17436   PyObject 
*resultobj 
= 0; 
17437   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
17443   PyObject 
* obj0 
= 0 ; 
17444   PyObject 
* obj1 
= 0 ; 
17445   char *  kwnames
[] = { 
17446     (char *) "self",(char *) "font", NULL 
 
17449   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
17450   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
17451   if (!SWIG_IsOK(res1
)) { 
17452     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetFont" "', expected argument " "1"" of type '" "wxDC *""'");  
17454   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
17455   res2 
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
,  0  | 0); 
17456   if (!SWIG_IsOK(res2
)) { 
17457     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");  
17460     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");  
17462   arg2 
= reinterpret_cast< wxFont 
* >(argp2
); 
17464     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17465     (arg1
)->SetFont((wxFont 
const &)*arg2
); 
17466     wxPyEndAllowThreads(__tstate
); 
17467     if (PyErr_Occurred()) SWIG_fail
; 
17469   resultobj 
= SWIG_Py_Void(); 
17476 SWIGINTERN PyObject 
*_wrap_DC_SetPen(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
17477   PyObject 
*resultobj 
= 0; 
17478   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
17484   PyObject 
* obj0 
= 0 ; 
17485   PyObject 
* obj1 
= 0 ; 
17486   char *  kwnames
[] = { 
17487     (char *) "self",(char *) "pen", NULL 
 
17490   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
17491   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
17492   if (!SWIG_IsOK(res1
)) { 
17493     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetPen" "', expected argument " "1"" of type '" "wxDC *""'");  
17495   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
17496   res2 
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
,  0  | 0); 
17497   if (!SWIG_IsOK(res2
)) { 
17498     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");  
17501     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");  
17503   arg2 
= reinterpret_cast< wxPen 
* >(argp2
); 
17505     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17506     (arg1
)->SetPen((wxPen 
const &)*arg2
); 
17507     wxPyEndAllowThreads(__tstate
); 
17508     if (PyErr_Occurred()) SWIG_fail
; 
17510   resultobj 
= SWIG_Py_Void(); 
17517 SWIGINTERN PyObject 
*_wrap_DC_SetBrush(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
17518   PyObject 
*resultobj 
= 0; 
17519   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
17520   wxBrush 
*arg2 
= 0 ; 
17525   PyObject 
* obj0 
= 0 ; 
17526   PyObject 
* obj1 
= 0 ; 
17527   char *  kwnames
[] = { 
17528     (char *) "self",(char *) "brush", NULL 
 
17531   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
17532   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
17533   if (!SWIG_IsOK(res1
)) { 
17534     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBrush" "', expected argument " "1"" of type '" "wxDC *""'");  
17536   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
17537   res2 
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
,  0  | 0); 
17538   if (!SWIG_IsOK(res2
)) { 
17539     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");  
17542     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");  
17544   arg2 
= reinterpret_cast< wxBrush 
* >(argp2
); 
17546     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17547     (arg1
)->SetBrush((wxBrush 
const &)*arg2
); 
17548     wxPyEndAllowThreads(__tstate
); 
17549     if (PyErr_Occurred()) SWIG_fail
; 
17551   resultobj 
= SWIG_Py_Void(); 
17558 SWIGINTERN PyObject 
*_wrap_DC_SetBackground(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
17559   PyObject 
*resultobj 
= 0; 
17560   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
17561   wxBrush 
*arg2 
= 0 ; 
17566   PyObject 
* obj0 
= 0 ; 
17567   PyObject 
* obj1 
= 0 ; 
17568   char *  kwnames
[] = { 
17569     (char *) "self",(char *) "brush", NULL 
 
17572   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
17573   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
17574   if (!SWIG_IsOK(res1
)) { 
17575     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBackground" "', expected argument " "1"" of type '" "wxDC *""'");  
17577   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
17578   res2 
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
,  0  | 0); 
17579   if (!SWIG_IsOK(res2
)) { 
17580     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");  
17583     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");  
17585   arg2 
= reinterpret_cast< wxBrush 
* >(argp2
); 
17587     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17588     (arg1
)->SetBackground((wxBrush 
const &)*arg2
); 
17589     wxPyEndAllowThreads(__tstate
); 
17590     if (PyErr_Occurred()) SWIG_fail
; 
17592   resultobj 
= SWIG_Py_Void(); 
17599 SWIGINTERN PyObject 
*_wrap_DC_SetBackgroundMode(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
17600   PyObject 
*resultobj 
= 0; 
17601   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
17607   PyObject 
* obj0 
= 0 ; 
17608   PyObject 
* obj1 
= 0 ; 
17609   char *  kwnames
[] = { 
17610     (char *) "self",(char *) "mode", NULL 
 
17613   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
17614   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
17615   if (!SWIG_IsOK(res1
)) { 
17616     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBackgroundMode" "', expected argument " "1"" of type '" "wxDC *""'");  
17618   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
17619   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
17620   if (!SWIG_IsOK(ecode2
)) { 
17621     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetBackgroundMode" "', expected argument " "2"" of type '" "int""'"); 
17623   arg2 
= static_cast< int >(val2
); 
17625     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17626     (arg1
)->SetBackgroundMode(arg2
); 
17627     wxPyEndAllowThreads(__tstate
); 
17628     if (PyErr_Occurred()) SWIG_fail
; 
17630   resultobj 
= SWIG_Py_Void(); 
17637 SWIGINTERN PyObject 
*_wrap_DC_SetPalette(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
17638   PyObject 
*resultobj 
= 0; 
17639   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
17640   wxPalette 
*arg2 
= 0 ; 
17645   PyObject 
* obj0 
= 0 ; 
17646   PyObject 
* obj1 
= 0 ; 
17647   char *  kwnames
[] = { 
17648     (char *) "self",(char *) "palette", NULL 
 
17651   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
17652   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
17653   if (!SWIG_IsOK(res1
)) { 
17654     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetPalette" "', expected argument " "1"" of type '" "wxDC *""'");  
17656   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
17657   res2 
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
,  0  | 0); 
17658   if (!SWIG_IsOK(res2
)) { 
17659     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");  
17662     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");  
17664   arg2 
= reinterpret_cast< wxPalette 
* >(argp2
); 
17666     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17667     (arg1
)->SetPalette((wxPalette 
const &)*arg2
); 
17668     wxPyEndAllowThreads(__tstate
); 
17669     if (PyErr_Occurred()) SWIG_fail
; 
17671   resultobj 
= SWIG_Py_Void(); 
17678 SWIGINTERN PyObject 
*_wrap_DC_DestroyClippingRegion(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
17679   PyObject 
*resultobj 
= 0; 
17680   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
17683   PyObject 
*swig_obj
[1] ; 
17685   if (!args
) SWIG_fail
; 
17686   swig_obj
[0] = args
; 
17687   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
17688   if (!SWIG_IsOK(res1
)) { 
17689     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DestroyClippingRegion" "', expected argument " "1"" of type '" "wxDC *""'");  
17691   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
17693     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17694     (arg1
)->DestroyClippingRegion(); 
17695     wxPyEndAllowThreads(__tstate
); 
17696     if (PyErr_Occurred()) SWIG_fail
; 
17698   resultobj 
= SWIG_Py_Void(); 
17705 SWIGINTERN PyObject 
*_wrap_DC_GetClippingBox(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
17706   PyObject 
*resultobj 
= 0; 
17707   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
17708   int *arg2 
= (int *) 0 ; 
17709   int *arg3 
= (int *) 0 ; 
17710   int *arg4 
= (int *) 0 ; 
17711   int *arg5 
= (int *) 0 ; 
17715   int res2 
= SWIG_TMPOBJ 
; 
17717   int res3 
= SWIG_TMPOBJ 
; 
17719   int res4 
= SWIG_TMPOBJ 
; 
17721   int res5 
= SWIG_TMPOBJ 
; 
17722   PyObject 
*swig_obj
[1] ; 
17728   if (!args
) SWIG_fail
; 
17729   swig_obj
[0] = args
; 
17730   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
17731   if (!SWIG_IsOK(res1
)) { 
17732     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetClippingBox" "', expected argument " "1"" of type '" "wxDC const *""'");  
17734   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
17736     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17737     ((wxDC 
const *)arg1
)->GetClippingBox(arg2
,arg3
,arg4
,arg5
); 
17738     wxPyEndAllowThreads(__tstate
); 
17739     if (PyErr_Occurred()) SWIG_fail
; 
17741   resultobj 
= SWIG_Py_Void(); 
17742   if (SWIG_IsTmpObj(res2
)) { 
17743     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
))); 
17745     int new_flags 
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
17746     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
)); 
17748   if (SWIG_IsTmpObj(res3
)) { 
17749     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
))); 
17751     int new_flags 
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
17752     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
)); 
17754   if (SWIG_IsTmpObj(res4
)) { 
17755     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
))); 
17757     int new_flags 
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
17758     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
)); 
17760   if (SWIG_IsTmpObj(res5
)) { 
17761     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
))); 
17763     int new_flags 
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
17764     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
)); 
17772 SWIGINTERN PyObject 
*_wrap_DC_GetClippingRect(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
17773   PyObject 
*resultobj 
= 0; 
17774   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
17778   PyObject 
*swig_obj
[1] ; 
17780   if (!args
) SWIG_fail
; 
17781   swig_obj
[0] = args
; 
17782   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
17783   if (!SWIG_IsOK(res1
)) { 
17784     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetClippingRect" "', expected argument " "1"" of type '" "wxDC *""'");  
17786   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
17788     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17789     result 
= wxDC_GetClippingRect(arg1
); 
17790     wxPyEndAllowThreads(__tstate
); 
17791     if (PyErr_Occurred()) SWIG_fail
; 
17793   resultobj 
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN 
|  0 ); 
17800 SWIGINTERN PyObject 
*_wrap_DC_GetCharHeight(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
17801   PyObject 
*resultobj 
= 0; 
17802   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
17806   PyObject 
*swig_obj
[1] ; 
17808   if (!args
) SWIG_fail
; 
17809   swig_obj
[0] = args
; 
17810   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
17811   if (!SWIG_IsOK(res1
)) { 
17812     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetCharHeight" "', expected argument " "1"" of type '" "wxDC const *""'");  
17814   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
17816     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17817     result 
= (int)((wxDC 
const *)arg1
)->GetCharHeight(); 
17818     wxPyEndAllowThreads(__tstate
); 
17819     if (PyErr_Occurred()) SWIG_fail
; 
17821   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
17828 SWIGINTERN PyObject 
*_wrap_DC_GetCharWidth(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
17829   PyObject 
*resultobj 
= 0; 
17830   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
17834   PyObject 
*swig_obj
[1] ; 
17836   if (!args
) SWIG_fail
; 
17837   swig_obj
[0] = args
; 
17838   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
17839   if (!SWIG_IsOK(res1
)) { 
17840     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetCharWidth" "', expected argument " "1"" of type '" "wxDC const *""'");  
17842   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
17844     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17845     result 
= (int)((wxDC 
const *)arg1
)->GetCharWidth(); 
17846     wxPyEndAllowThreads(__tstate
); 
17847     if (PyErr_Occurred()) SWIG_fail
; 
17849   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
17856 SWIGINTERN PyObject 
*_wrap_DC_GetTextExtent(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
17857   PyObject 
*resultobj 
= 0; 
17858   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
17859   wxString 
*arg2 
= 0 ; 
17860   int *arg3 
= (int *) 0 ; 
17861   int *arg4 
= (int *) 0 ; 
17864   bool temp2 
= false ; 
17866   int res3 
= SWIG_TMPOBJ 
; 
17868   int res4 
= SWIG_TMPOBJ 
; 
17869   PyObject 
* obj0 
= 0 ; 
17870   PyObject 
* obj1 
= 0 ; 
17871   char *  kwnames
[] = { 
17872     (char *) "self",(char *) "string", NULL 
 
17877   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
17878   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
17879   if (!SWIG_IsOK(res1
)) { 
17880     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");  
17882   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
17884     arg2 
= wxString_in_helper(obj1
); 
17885     if (arg2 
== NULL
) SWIG_fail
; 
17889     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17890     (arg1
)->GetTextExtent((wxString 
const &)*arg2
,arg3
,arg4
); 
17891     wxPyEndAllowThreads(__tstate
); 
17892     if (PyErr_Occurred()) SWIG_fail
; 
17894   resultobj 
= SWIG_Py_Void(); 
17895   if (SWIG_IsTmpObj(res3
)) { 
17896     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
))); 
17898     int new_flags 
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
17899     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
)); 
17901   if (SWIG_IsTmpObj(res4
)) { 
17902     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
))); 
17904     int new_flags 
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
17905     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
)); 
17921 SWIGINTERN PyObject 
*_wrap_DC_GetFullTextExtent(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
17922   PyObject 
*resultobj 
= 0; 
17923   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
17924   wxString 
*arg2 
= 0 ; 
17925   int *arg3 
= (int *) 0 ; 
17926   int *arg4 
= (int *) 0 ; 
17927   int *arg5 
= (int *) 0 ; 
17928   int *arg6 
= (int *) 0 ; 
17929   wxFont 
*arg7 
= (wxFont 
*) NULL 
; 
17932   bool temp2 
= false ; 
17934   int res3 
= SWIG_TMPOBJ 
; 
17936   int res4 
= SWIG_TMPOBJ 
; 
17938   int res5 
= SWIG_TMPOBJ 
; 
17940   int res6 
= SWIG_TMPOBJ 
; 
17943   PyObject 
* obj0 
= 0 ; 
17944   PyObject 
* obj1 
= 0 ; 
17945   PyObject 
* obj2 
= 0 ; 
17946   char *  kwnames
[] = { 
17947     (char *) "self",(char *) "string",(char *) "font", NULL 
 
17954   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
17955   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
17956   if (!SWIG_IsOK(res1
)) { 
17957     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetFullTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");  
17959   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
17961     arg2 
= wxString_in_helper(obj1
); 
17962     if (arg2 
== NULL
) SWIG_fail
; 
17966     res7 
= SWIG_ConvertPtr(obj2
, &argp7
,SWIGTYPE_p_wxFont
, 0 |  0 ); 
17967     if (!SWIG_IsOK(res7
)) { 
17968       SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "DC_GetFullTextExtent" "', expected argument " "7"" of type '" "wxFont *""'");  
17970     arg7 
= reinterpret_cast< wxFont 
* >(argp7
); 
17973     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17974     (arg1
)->GetTextExtent((wxString 
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
); 
17975     wxPyEndAllowThreads(__tstate
); 
17976     if (PyErr_Occurred()) SWIG_fail
; 
17978   resultobj 
= SWIG_Py_Void(); 
17979   if (SWIG_IsTmpObj(res3
)) { 
17980     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
))); 
17982     int new_flags 
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
17983     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
)); 
17985   if (SWIG_IsTmpObj(res4
)) { 
17986     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
))); 
17988     int new_flags 
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
17989     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
)); 
17991   if (SWIG_IsTmpObj(res5
)) { 
17992     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
))); 
17994     int new_flags 
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
17995     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
)); 
17997   if (SWIG_IsTmpObj(res6
)) { 
17998     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg6
))); 
18000     int new_flags 
= SWIG_IsNewObj(res6
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
18001     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_int
, new_flags
)); 
18017 SWIGINTERN PyObject 
*_wrap_DC_GetMultiLineTextExtent(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
18018   PyObject 
*resultobj 
= 0; 
18019   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
18020   wxString 
*arg2 
= 0 ; 
18021   int *arg3 
= (int *) 0 ; 
18022   int *arg4 
= (int *) 0 ; 
18023   int *arg5 
= (int *) 0 ; 
18024   wxFont 
*arg6 
= (wxFont 
*) NULL 
; 
18027   bool temp2 
= false ; 
18029   int res3 
= SWIG_TMPOBJ 
; 
18031   int res4 
= SWIG_TMPOBJ 
; 
18033   int res5 
= SWIG_TMPOBJ 
; 
18036   PyObject 
* obj0 
= 0 ; 
18037   PyObject 
* obj1 
= 0 ; 
18038   PyObject 
* obj2 
= 0 ; 
18039   char *  kwnames
[] = { 
18040     (char *) "self",(char *) "text",(char *) "font", NULL 
 
18046   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetMultiLineTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
18047   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
18048   if (!SWIG_IsOK(res1
)) { 
18049     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetMultiLineTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");  
18051   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
18053     arg2 
= wxString_in_helper(obj1
); 
18054     if (arg2 
== NULL
) SWIG_fail
; 
18058     res6 
= SWIG_ConvertPtr(obj2
, &argp6
,SWIGTYPE_p_wxFont
, 0 |  0 ); 
18059     if (!SWIG_IsOK(res6
)) { 
18060       SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "DC_GetMultiLineTextExtent" "', expected argument " "6"" of type '" "wxFont *""'");  
18062     arg6 
= reinterpret_cast< wxFont 
* >(argp6
); 
18065     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18066     (arg1
)->GetMultiLineTextExtent((wxString 
const &)*arg2
,arg3
,arg4
,arg5
,arg6
); 
18067     wxPyEndAllowThreads(__tstate
); 
18068     if (PyErr_Occurred()) SWIG_fail
; 
18070   resultobj 
= SWIG_Py_Void(); 
18071   if (SWIG_IsTmpObj(res3
)) { 
18072     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
))); 
18074     int new_flags 
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
18075     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
)); 
18077   if (SWIG_IsTmpObj(res4
)) { 
18078     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
))); 
18080     int new_flags 
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
18081     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
)); 
18083   if (SWIG_IsTmpObj(res5
)) { 
18084     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
))); 
18086     int new_flags 
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
18087     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
)); 
18103 SWIGINTERN PyObject 
*_wrap_DC_GetPartialTextExtents(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
18104   PyObject 
*resultobj 
= 0; 
18105   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
18106   wxString 
*arg2 
= 0 ; 
18110   bool temp2 
= false ; 
18111   PyObject 
* obj0 
= 0 ; 
18112   PyObject 
* obj1 
= 0 ; 
18113   char *  kwnames
[] = { 
18114     (char *) "self",(char *) "text", NULL 
 
18117   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
18118   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
18119   if (!SWIG_IsOK(res1
)) { 
18120     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPartialTextExtents" "', expected argument " "1"" of type '" "wxDC *""'");  
18122   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
18124     arg2 
= wxString_in_helper(obj1
); 
18125     if (arg2 
== NULL
) SWIG_fail
; 
18129     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18130     result 
= wxDC_GetPartialTextExtents(arg1
,(wxString 
const &)*arg2
); 
18131     wxPyEndAllowThreads(__tstate
); 
18132     if (PyErr_Occurred()) SWIG_fail
; 
18135     resultobj 
= PyList_New(0); 
18137     for (idx 
= 0; idx 
< (&result
)->GetCount(); idx 
+= 1) { 
18138       PyObject
* val 
= PyInt_FromLong( (&result
)->Item(idx
) ); 
18139       PyList_Append(resultobj
, val
); 
18157 SWIGINTERN PyObject 
*_wrap_DC_GetSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
18158   PyObject 
*resultobj 
= 0; 
18159   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
18163   PyObject 
*swig_obj
[1] ; 
18165   if (!args
) SWIG_fail
; 
18166   swig_obj
[0] = args
; 
18167   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
18168   if (!SWIG_IsOK(res1
)) { 
18169     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSize" "', expected argument " "1"" of type '" "wxDC *""'");  
18171   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
18173     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18174     result 
= (arg1
)->GetSize(); 
18175     wxPyEndAllowThreads(__tstate
); 
18176     if (PyErr_Occurred()) SWIG_fail
; 
18178   resultobj 
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN 
|  0 ); 
18185 SWIGINTERN PyObject 
*_wrap_DC_GetSizeTuple(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
18186   PyObject 
*resultobj 
= 0; 
18187   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
18188   int *arg2 
= (int *) 0 ; 
18189   int *arg3 
= (int *) 0 ; 
18193   int res2 
= SWIG_TMPOBJ 
; 
18195   int res3 
= SWIG_TMPOBJ 
; 
18196   PyObject 
*swig_obj
[1] ; 
18200   if (!args
) SWIG_fail
; 
18201   swig_obj
[0] = args
; 
18202   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
18203   if (!SWIG_IsOK(res1
)) { 
18204     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeTuple" "', expected argument " "1"" of type '" "wxDC *""'");  
18206   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
18208     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18209     (arg1
)->GetSize(arg2
,arg3
); 
18210     wxPyEndAllowThreads(__tstate
); 
18211     if (PyErr_Occurred()) SWIG_fail
; 
18213   resultobj 
= SWIG_Py_Void(); 
18214   if (SWIG_IsTmpObj(res2
)) { 
18215     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
))); 
18217     int new_flags 
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
18218     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
)); 
18220   if (SWIG_IsTmpObj(res3
)) { 
18221     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
))); 
18223     int new_flags 
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
18224     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
)); 
18232 SWIGINTERN PyObject 
*_wrap_DC_GetSizeMM(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
18233   PyObject 
*resultobj 
= 0; 
18234   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
18238   PyObject 
*swig_obj
[1] ; 
18240   if (!args
) SWIG_fail
; 
18241   swig_obj
[0] = args
; 
18242   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
18243   if (!SWIG_IsOK(res1
)) { 
18244     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeMM" "', expected argument " "1"" of type '" "wxDC const *""'");  
18246   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
18248     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18249     result 
= ((wxDC 
const *)arg1
)->GetSizeMM(); 
18250     wxPyEndAllowThreads(__tstate
); 
18251     if (PyErr_Occurred()) SWIG_fail
; 
18253   resultobj 
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN 
|  0 ); 
18260 SWIGINTERN PyObject 
*_wrap_DC_GetSizeMMTuple(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
18261   PyObject 
*resultobj 
= 0; 
18262   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
18263   int *arg2 
= (int *) 0 ; 
18264   int *arg3 
= (int *) 0 ; 
18268   int res2 
= SWIG_TMPOBJ 
; 
18270   int res3 
= SWIG_TMPOBJ 
; 
18271   PyObject 
*swig_obj
[1] ; 
18275   if (!args
) SWIG_fail
; 
18276   swig_obj
[0] = args
; 
18277   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
18278   if (!SWIG_IsOK(res1
)) { 
18279     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeMMTuple" "', expected argument " "1"" of type '" "wxDC const *""'");  
18281   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
18283     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18284     ((wxDC 
const *)arg1
)->GetSizeMM(arg2
,arg3
); 
18285     wxPyEndAllowThreads(__tstate
); 
18286     if (PyErr_Occurred()) SWIG_fail
; 
18288   resultobj 
= SWIG_Py_Void(); 
18289   if (SWIG_IsTmpObj(res2
)) { 
18290     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
))); 
18292     int new_flags 
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
18293     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
)); 
18295   if (SWIG_IsTmpObj(res3
)) { 
18296     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
))); 
18298     int new_flags 
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
18299     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
)); 
18307 SWIGINTERN PyObject 
*_wrap_DC_DeviceToLogicalX(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
18308   PyObject 
*resultobj 
= 0; 
18309   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
18316   PyObject 
* obj0 
= 0 ; 
18317   PyObject 
* obj1 
= 0 ; 
18318   char *  kwnames
[] = { 
18319     (char *) "self",(char *) "x", NULL 
 
18322   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalX",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
18323   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
18324   if (!SWIG_IsOK(res1
)) { 
18325     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalX" "', expected argument " "1"" of type '" "wxDC const *""'");  
18327   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
18328   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
18329   if (!SWIG_IsOK(ecode2
)) { 
18330     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalX" "', expected argument " "2"" of type '" "int""'"); 
18332   arg2 
= static_cast< int >(val2
); 
18334     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18335     result 
= (int)((wxDC 
const *)arg1
)->DeviceToLogicalX(arg2
); 
18336     wxPyEndAllowThreads(__tstate
); 
18337     if (PyErr_Occurred()) SWIG_fail
; 
18339   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
18346 SWIGINTERN PyObject 
*_wrap_DC_DeviceToLogicalY(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
18347   PyObject 
*resultobj 
= 0; 
18348   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
18355   PyObject 
* obj0 
= 0 ; 
18356   PyObject 
* obj1 
= 0 ; 
18357   char *  kwnames
[] = { 
18358     (char *) "self",(char *) "y", NULL 
 
18361   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalY",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
18362   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
18363   if (!SWIG_IsOK(res1
)) { 
18364     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalY" "', expected argument " "1"" of type '" "wxDC const *""'");  
18366   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
18367   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
18368   if (!SWIG_IsOK(ecode2
)) { 
18369     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalY" "', expected argument " "2"" of type '" "int""'"); 
18371   arg2 
= static_cast< int >(val2
); 
18373     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18374     result 
= (int)((wxDC 
const *)arg1
)->DeviceToLogicalY(arg2
); 
18375     wxPyEndAllowThreads(__tstate
); 
18376     if (PyErr_Occurred()) SWIG_fail
; 
18378   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
18385 SWIGINTERN PyObject 
*_wrap_DC_DeviceToLogicalXRel(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
18386   PyObject 
*resultobj 
= 0; 
18387   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
18394   PyObject 
* obj0 
= 0 ; 
18395   PyObject 
* obj1 
= 0 ; 
18396   char *  kwnames
[] = { 
18397     (char *) "self",(char *) "x", NULL 
 
18400   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalXRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
18401   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
18402   if (!SWIG_IsOK(res1
)) { 
18403     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalXRel" "', expected argument " "1"" of type '" "wxDC const *""'");  
18405   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
18406   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
18407   if (!SWIG_IsOK(ecode2
)) { 
18408     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalXRel" "', expected argument " "2"" of type '" "int""'"); 
18410   arg2 
= static_cast< int >(val2
); 
18412     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18413     result 
= (int)((wxDC 
const *)arg1
)->DeviceToLogicalXRel(arg2
); 
18414     wxPyEndAllowThreads(__tstate
); 
18415     if (PyErr_Occurred()) SWIG_fail
; 
18417   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
18424 SWIGINTERN PyObject 
*_wrap_DC_DeviceToLogicalYRel(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
18425   PyObject 
*resultobj 
= 0; 
18426   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
18433   PyObject 
* obj0 
= 0 ; 
18434   PyObject 
* obj1 
= 0 ; 
18435   char *  kwnames
[] = { 
18436     (char *) "self",(char *) "y", NULL 
 
18439   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalYRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
18440   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
18441   if (!SWIG_IsOK(res1
)) { 
18442     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalYRel" "', expected argument " "1"" of type '" "wxDC const *""'");  
18444   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
18445   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
18446   if (!SWIG_IsOK(ecode2
)) { 
18447     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalYRel" "', expected argument " "2"" of type '" "int""'"); 
18449   arg2 
= static_cast< int >(val2
); 
18451     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18452     result 
= (int)((wxDC 
const *)arg1
)->DeviceToLogicalYRel(arg2
); 
18453     wxPyEndAllowThreads(__tstate
); 
18454     if (PyErr_Occurred()) SWIG_fail
; 
18456   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
18463 SWIGINTERN PyObject 
*_wrap_DC_LogicalToDeviceX(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
18464   PyObject 
*resultobj 
= 0; 
18465   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
18472   PyObject 
* obj0 
= 0 ; 
18473   PyObject 
* obj1 
= 0 ; 
18474   char *  kwnames
[] = { 
18475     (char *) "self",(char *) "x", NULL 
 
18478   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceX",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
18479   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
18480   if (!SWIG_IsOK(res1
)) { 
18481     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceX" "', expected argument " "1"" of type '" "wxDC const *""'");  
18483   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
18484   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
18485   if (!SWIG_IsOK(ecode2
)) { 
18486     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceX" "', expected argument " "2"" of type '" "int""'"); 
18488   arg2 
= static_cast< int >(val2
); 
18490     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18491     result 
= (int)((wxDC 
const *)arg1
)->LogicalToDeviceX(arg2
); 
18492     wxPyEndAllowThreads(__tstate
); 
18493     if (PyErr_Occurred()) SWIG_fail
; 
18495   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
18502 SWIGINTERN PyObject 
*_wrap_DC_LogicalToDeviceY(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
18503   PyObject 
*resultobj 
= 0; 
18504   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
18511   PyObject 
* obj0 
= 0 ; 
18512   PyObject 
* obj1 
= 0 ; 
18513   char *  kwnames
[] = { 
18514     (char *) "self",(char *) "y", NULL 
 
18517   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceY",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
18518   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
18519   if (!SWIG_IsOK(res1
)) { 
18520     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceY" "', expected argument " "1"" of type '" "wxDC const *""'");  
18522   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
18523   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
18524   if (!SWIG_IsOK(ecode2
)) { 
18525     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceY" "', expected argument " "2"" of type '" "int""'"); 
18527   arg2 
= static_cast< int >(val2
); 
18529     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18530     result 
= (int)((wxDC 
const *)arg1
)->LogicalToDeviceY(arg2
); 
18531     wxPyEndAllowThreads(__tstate
); 
18532     if (PyErr_Occurred()) SWIG_fail
; 
18534   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
18541 SWIGINTERN PyObject 
*_wrap_DC_LogicalToDeviceXRel(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
18542   PyObject 
*resultobj 
= 0; 
18543   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
18550   PyObject 
* obj0 
= 0 ; 
18551   PyObject 
* obj1 
= 0 ; 
18552   char *  kwnames
[] = { 
18553     (char *) "self",(char *) "x", NULL 
 
18556   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceXRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
18557   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
18558   if (!SWIG_IsOK(res1
)) { 
18559     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceXRel" "', expected argument " "1"" of type '" "wxDC const *""'");  
18561   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
18562   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
18563   if (!SWIG_IsOK(ecode2
)) { 
18564     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceXRel" "', expected argument " "2"" of type '" "int""'"); 
18566   arg2 
= static_cast< int >(val2
); 
18568     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18569     result 
= (int)((wxDC 
const *)arg1
)->LogicalToDeviceXRel(arg2
); 
18570     wxPyEndAllowThreads(__tstate
); 
18571     if (PyErr_Occurred()) SWIG_fail
; 
18573   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
18580 SWIGINTERN PyObject 
*_wrap_DC_LogicalToDeviceYRel(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
18581   PyObject 
*resultobj 
= 0; 
18582   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
18589   PyObject 
* obj0 
= 0 ; 
18590   PyObject 
* obj1 
= 0 ; 
18591   char *  kwnames
[] = { 
18592     (char *) "self",(char *) "y", NULL 
 
18595   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceYRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
18596   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
18597   if (!SWIG_IsOK(res1
)) { 
18598     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceYRel" "', expected argument " "1"" of type '" "wxDC const *""'");  
18600   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
18601   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
18602   if (!SWIG_IsOK(ecode2
)) { 
18603     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceYRel" "', expected argument " "2"" of type '" "int""'"); 
18605   arg2 
= static_cast< int >(val2
); 
18607     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18608     result 
= (int)((wxDC 
const *)arg1
)->LogicalToDeviceYRel(arg2
); 
18609     wxPyEndAllowThreads(__tstate
); 
18610     if (PyErr_Occurred()) SWIG_fail
; 
18612   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
18619 SWIGINTERN PyObject 
*_wrap_DC_CanDrawBitmap(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
18620   PyObject 
*resultobj 
= 0; 
18621   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
18625   PyObject 
*swig_obj
[1] ; 
18627   if (!args
) SWIG_fail
; 
18628   swig_obj
[0] = args
; 
18629   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
18630   if (!SWIG_IsOK(res1
)) { 
18631     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CanDrawBitmap" "', expected argument " "1"" of type '" "wxDC const *""'");  
18633   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
18635     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18636     result 
= (bool)((wxDC 
const *)arg1
)->CanDrawBitmap(); 
18637     wxPyEndAllowThreads(__tstate
); 
18638     if (PyErr_Occurred()) SWIG_fail
; 
18641     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
18649 SWIGINTERN PyObject 
*_wrap_DC_CanGetTextExtent(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
18650   PyObject 
*resultobj 
= 0; 
18651   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
18655   PyObject 
*swig_obj
[1] ; 
18657   if (!args
) SWIG_fail
; 
18658   swig_obj
[0] = args
; 
18659   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
18660   if (!SWIG_IsOK(res1
)) { 
18661     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CanGetTextExtent" "', expected argument " "1"" of type '" "wxDC const *""'");  
18663   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
18665     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18666     result 
= (bool)((wxDC 
const *)arg1
)->CanGetTextExtent(); 
18667     wxPyEndAllowThreads(__tstate
); 
18668     if (PyErr_Occurred()) SWIG_fail
; 
18671     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
18679 SWIGINTERN PyObject 
*_wrap_DC_GetDepth(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
18680   PyObject 
*resultobj 
= 0; 
18681   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
18685   PyObject 
*swig_obj
[1] ; 
18687   if (!args
) SWIG_fail
; 
18688   swig_obj
[0] = args
; 
18689   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
18690   if (!SWIG_IsOK(res1
)) { 
18691     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDepth" "', expected argument " "1"" of type '" "wxDC const *""'");  
18693   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
18695     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18696     result 
= (int)((wxDC 
const *)arg1
)->GetDepth(); 
18697     wxPyEndAllowThreads(__tstate
); 
18698     if (PyErr_Occurred()) SWIG_fail
; 
18700   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
18707 SWIGINTERN PyObject 
*_wrap_DC_GetPPI(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
18708   PyObject 
*resultobj 
= 0; 
18709   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
18713   PyObject 
*swig_obj
[1] ; 
18715   if (!args
) SWIG_fail
; 
18716   swig_obj
[0] = args
; 
18717   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
18718   if (!SWIG_IsOK(res1
)) { 
18719     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPPI" "', expected argument " "1"" of type '" "wxDC const *""'");  
18721   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
18723     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18724     result 
= ((wxDC 
const *)arg1
)->GetPPI(); 
18725     wxPyEndAllowThreads(__tstate
); 
18726     if (PyErr_Occurred()) SWIG_fail
; 
18728   resultobj 
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN 
|  0 ); 
18735 SWIGINTERN PyObject 
*_wrap_DC_Ok(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
18736   PyObject 
*resultobj 
= 0; 
18737   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
18741   PyObject 
*swig_obj
[1] ; 
18743   if (!args
) SWIG_fail
; 
18744   swig_obj
[0] = args
; 
18745   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
18746   if (!SWIG_IsOK(res1
)) { 
18747     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Ok" "', expected argument " "1"" of type '" "wxDC const *""'");  
18749   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
18751     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18752     result 
= (bool)((wxDC 
const *)arg1
)->Ok(); 
18753     wxPyEndAllowThreads(__tstate
); 
18754     if (PyErr_Occurred()) SWIG_fail
; 
18757     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
18765 SWIGINTERN PyObject 
*_wrap_DC_GetBackgroundMode(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
18766   PyObject 
*resultobj 
= 0; 
18767   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
18771   PyObject 
*swig_obj
[1] ; 
18773   if (!args
) SWIG_fail
; 
18774   swig_obj
[0] = args
; 
18775   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
18776   if (!SWIG_IsOK(res1
)) { 
18777     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBackgroundMode" "', expected argument " "1"" of type '" "wxDC const *""'");  
18779   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
18781     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18782     result 
= (int)((wxDC 
const *)arg1
)->GetBackgroundMode(); 
18783     wxPyEndAllowThreads(__tstate
); 
18784     if (PyErr_Occurred()) SWIG_fail
; 
18786   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
18793 SWIGINTERN PyObject 
*_wrap_DC_GetBackground(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
18794   PyObject 
*resultobj 
= 0; 
18795   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
18796   wxBrush 
*result 
= 0 ; 
18799   PyObject 
*swig_obj
[1] ; 
18801   if (!args
) SWIG_fail
; 
18802   swig_obj
[0] = args
; 
18803   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
18804   if (!SWIG_IsOK(res1
)) { 
18805     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBackground" "', expected argument " "1"" of type '" "wxDC const *""'");  
18807   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
18809     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18811       wxBrush 
const &_result_ref 
= ((wxDC 
const *)arg1
)->GetBackground(); 
18812       result 
= (wxBrush 
*) &_result_ref
; 
18814     wxPyEndAllowThreads(__tstate
); 
18815     if (PyErr_Occurred()) SWIG_fail
; 
18818     wxBrush
* resultptr 
= new wxBrush(*result
); 
18819     resultobj 
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1); 
18827 SWIGINTERN PyObject 
*_wrap_DC_GetBrush(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
18828   PyObject 
*resultobj 
= 0; 
18829   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
18830   wxBrush 
*result 
= 0 ; 
18833   PyObject 
*swig_obj
[1] ; 
18835   if (!args
) SWIG_fail
; 
18836   swig_obj
[0] = args
; 
18837   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
18838   if (!SWIG_IsOK(res1
)) { 
18839     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBrush" "', expected argument " "1"" of type '" "wxDC const *""'");  
18841   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
18843     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18845       wxBrush 
const &_result_ref 
= ((wxDC 
const *)arg1
)->GetBrush(); 
18846       result 
= (wxBrush 
*) &_result_ref
; 
18848     wxPyEndAllowThreads(__tstate
); 
18849     if (PyErr_Occurred()) SWIG_fail
; 
18852     wxBrush
* resultptr 
= new wxBrush(*result
); 
18853     resultobj 
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1); 
18861 SWIGINTERN PyObject 
*_wrap_DC_GetFont(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
18862   PyObject 
*resultobj 
= 0; 
18863   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
18864   wxFont 
*result 
= 0 ; 
18867   PyObject 
*swig_obj
[1] ; 
18869   if (!args
) SWIG_fail
; 
18870   swig_obj
[0] = args
; 
18871   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
18872   if (!SWIG_IsOK(res1
)) { 
18873     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetFont" "', expected argument " "1"" of type '" "wxDC const *""'");  
18875   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
18877     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18879       wxFont 
const &_result_ref 
= ((wxDC 
const *)arg1
)->GetFont(); 
18880       result 
= (wxFont 
*) &_result_ref
; 
18882     wxPyEndAllowThreads(__tstate
); 
18883     if (PyErr_Occurred()) SWIG_fail
; 
18886     wxFont
* resultptr 
= new wxFont(*result
); 
18887     resultobj 
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1); 
18895 SWIGINTERN PyObject 
*_wrap_DC_GetPen(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
18896   PyObject 
*resultobj 
= 0; 
18897   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
18898   wxPen 
*result 
= 0 ; 
18901   PyObject 
*swig_obj
[1] ; 
18903   if (!args
) SWIG_fail
; 
18904   swig_obj
[0] = args
; 
18905   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
18906   if (!SWIG_IsOK(res1
)) { 
18907     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPen" "', expected argument " "1"" of type '" "wxDC const *""'");  
18909   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
18911     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18913       wxPen 
const &_result_ref 
= ((wxDC 
const *)arg1
)->GetPen(); 
18914       result 
= (wxPen 
*) &_result_ref
; 
18916     wxPyEndAllowThreads(__tstate
); 
18917     if (PyErr_Occurred()) SWIG_fail
; 
18920     wxPen
* resultptr 
= new wxPen(*result
); 
18921     resultobj 
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxPen
, 1); 
18929 SWIGINTERN PyObject 
*_wrap_DC_GetTextBackground(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
18930   PyObject 
*resultobj 
= 0; 
18931   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
18932   wxColour 
*result 
= 0 ; 
18935   PyObject 
*swig_obj
[1] ; 
18937   if (!args
) SWIG_fail
; 
18938   swig_obj
[0] = args
; 
18939   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
18940   if (!SWIG_IsOK(res1
)) { 
18941     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextBackground" "', expected argument " "1"" of type '" "wxDC const *""'");  
18943   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
18945     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18947       wxColour 
const &_result_ref 
= ((wxDC 
const *)arg1
)->GetTextBackground(); 
18948       result 
= (wxColour 
*) &_result_ref
; 
18950     wxPyEndAllowThreads(__tstate
); 
18951     if (PyErr_Occurred()) SWIG_fail
; 
18953   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 |  0 ); 
18960 SWIGINTERN PyObject 
*_wrap_DC_GetTextForeground(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
18961   PyObject 
*resultobj 
= 0; 
18962   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
18963   wxColour 
*result 
= 0 ; 
18966   PyObject 
*swig_obj
[1] ; 
18968   if (!args
) SWIG_fail
; 
18969   swig_obj
[0] = args
; 
18970   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
18971   if (!SWIG_IsOK(res1
)) { 
18972     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextForeground" "', expected argument " "1"" of type '" "wxDC const *""'");  
18974   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
18976     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18978       wxColour 
const &_result_ref 
= ((wxDC 
const *)arg1
)->GetTextForeground(); 
18979       result 
= (wxColour 
*) &_result_ref
; 
18981     wxPyEndAllowThreads(__tstate
); 
18982     if (PyErr_Occurred()) SWIG_fail
; 
18984   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 |  0 ); 
18991 SWIGINTERN PyObject 
*_wrap_DC_SetTextForeground(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
18992   PyObject 
*resultobj 
= 0; 
18993   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
18994   wxColour 
*arg2 
= 0 ; 
18998   PyObject 
* obj0 
= 0 ; 
18999   PyObject 
* obj1 
= 0 ; 
19000   char *  kwnames
[] = { 
19001     (char *) "self",(char *) "colour", NULL 
 
19004   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextForeground",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
19005   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
19006   if (!SWIG_IsOK(res1
)) { 
19007     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetTextForeground" "', expected argument " "1"" of type '" "wxDC *""'");  
19009   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
19012     if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
19015     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19016     (arg1
)->SetTextForeground((wxColour 
const &)*arg2
); 
19017     wxPyEndAllowThreads(__tstate
); 
19018     if (PyErr_Occurred()) SWIG_fail
; 
19020   resultobj 
= SWIG_Py_Void(); 
19027 SWIGINTERN PyObject 
*_wrap_DC_SetTextBackground(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
19028   PyObject 
*resultobj 
= 0; 
19029   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
19030   wxColour 
*arg2 
= 0 ; 
19034   PyObject 
* obj0 
= 0 ; 
19035   PyObject 
* obj1 
= 0 ; 
19036   char *  kwnames
[] = { 
19037     (char *) "self",(char *) "colour", NULL 
 
19040   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
19041   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
19042   if (!SWIG_IsOK(res1
)) { 
19043     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetTextBackground" "', expected argument " "1"" of type '" "wxDC *""'");  
19045   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
19048     if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
19051     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19052     (arg1
)->SetTextBackground((wxColour 
const &)*arg2
); 
19053     wxPyEndAllowThreads(__tstate
); 
19054     if (PyErr_Occurred()) SWIG_fail
; 
19056   resultobj 
= SWIG_Py_Void(); 
19063 SWIGINTERN PyObject 
*_wrap_DC_GetMapMode(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
19064   PyObject 
*resultobj 
= 0; 
19065   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
19069   PyObject 
*swig_obj
[1] ; 
19071   if (!args
) SWIG_fail
; 
19072   swig_obj
[0] = args
; 
19073   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
19074   if (!SWIG_IsOK(res1
)) { 
19075     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetMapMode" "', expected argument " "1"" of type '" "wxDC const *""'");  
19077   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
19079     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19080     result 
= (int)((wxDC 
const *)arg1
)->GetMapMode(); 
19081     wxPyEndAllowThreads(__tstate
); 
19082     if (PyErr_Occurred()) SWIG_fail
; 
19084   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
19091 SWIGINTERN PyObject 
*_wrap_DC_SetMapMode(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
19092   PyObject 
*resultobj 
= 0; 
19093   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
19099   PyObject 
* obj0 
= 0 ; 
19100   PyObject 
* obj1 
= 0 ; 
19101   char *  kwnames
[] = { 
19102     (char *) "self",(char *) "mode", NULL 
 
19105   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetMapMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
19106   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
19107   if (!SWIG_IsOK(res1
)) { 
19108     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetMapMode" "', expected argument " "1"" of type '" "wxDC *""'");  
19110   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
19111   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
19112   if (!SWIG_IsOK(ecode2
)) { 
19113     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetMapMode" "', expected argument " "2"" of type '" "int""'"); 
19115   arg2 
= static_cast< int >(val2
); 
19117     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19118     (arg1
)->SetMapMode(arg2
); 
19119     wxPyEndAllowThreads(__tstate
); 
19120     if (PyErr_Occurred()) SWIG_fail
; 
19122   resultobj 
= SWIG_Py_Void(); 
19129 SWIGINTERN PyObject 
*_wrap_DC_GetUserScale(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
19130   PyObject 
*resultobj 
= 0; 
19131   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
19132   double *arg2 
= (double *) 0 ; 
19133   double *arg3 
= (double *) 0 ; 
19137   int res2 
= SWIG_TMPOBJ 
; 
19139   int res3 
= SWIG_TMPOBJ 
; 
19140   PyObject 
*swig_obj
[1] ; 
19144   if (!args
) SWIG_fail
; 
19145   swig_obj
[0] = args
; 
19146   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
19147   if (!SWIG_IsOK(res1
)) { 
19148     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetUserScale" "', expected argument " "1"" of type '" "wxDC const *""'");  
19150   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
19152     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19153     ((wxDC 
const *)arg1
)->GetUserScale(arg2
,arg3
); 
19154     wxPyEndAllowThreads(__tstate
); 
19155     if (PyErr_Occurred()) SWIG_fail
; 
19157   resultobj 
= SWIG_Py_Void(); 
19158   if (SWIG_IsTmpObj(res2
)) { 
19159     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
))); 
19161     int new_flags 
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
19162     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
)); 
19164   if (SWIG_IsTmpObj(res3
)) { 
19165     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
))); 
19167     int new_flags 
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
19168     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
)); 
19176 SWIGINTERN PyObject 
*_wrap_DC_SetUserScale(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
19177   PyObject 
*resultobj 
= 0; 
19178   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
19187   PyObject 
* obj0 
= 0 ; 
19188   PyObject 
* obj1 
= 0 ; 
19189   PyObject 
* obj2 
= 0 ; 
19190   char *  kwnames
[] = { 
19191     (char *) "self",(char *) "x",(char *) "y", NULL 
 
19194   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetUserScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
19195   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
19196   if (!SWIG_IsOK(res1
)) { 
19197     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetUserScale" "', expected argument " "1"" of type '" "wxDC *""'");  
19199   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
19200   ecode2 
= SWIG_AsVal_double(obj1
, &val2
); 
19201   if (!SWIG_IsOK(ecode2
)) { 
19202     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetUserScale" "', expected argument " "2"" of type '" "double""'"); 
19204   arg2 
= static_cast< double >(val2
); 
19205   ecode3 
= SWIG_AsVal_double(obj2
, &val3
); 
19206   if (!SWIG_IsOK(ecode3
)) { 
19207     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetUserScale" "', expected argument " "3"" of type '" "double""'"); 
19209   arg3 
= static_cast< double >(val3
); 
19211     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19212     (arg1
)->SetUserScale(arg2
,arg3
); 
19213     wxPyEndAllowThreads(__tstate
); 
19214     if (PyErr_Occurred()) SWIG_fail
; 
19216   resultobj 
= SWIG_Py_Void(); 
19223 SWIGINTERN PyObject 
*_wrap_DC_GetLogicalScale(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
19224   PyObject 
*resultobj 
= 0; 
19225   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
19226   double *arg2 
= (double *) 0 ; 
19227   double *arg3 
= (double *) 0 ; 
19231   int res2 
= SWIG_TMPOBJ 
; 
19233   int res3 
= SWIG_TMPOBJ 
; 
19234   PyObject 
*swig_obj
[1] ; 
19238   if (!args
) SWIG_fail
; 
19239   swig_obj
[0] = args
; 
19240   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
19241   if (!SWIG_IsOK(res1
)) { 
19242     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalScale" "', expected argument " "1"" of type '" "wxDC *""'");  
19244   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
19246     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19247     (arg1
)->GetLogicalScale(arg2
,arg3
); 
19248     wxPyEndAllowThreads(__tstate
); 
19249     if (PyErr_Occurred()) SWIG_fail
; 
19251   resultobj 
= SWIG_Py_Void(); 
19252   if (SWIG_IsTmpObj(res2
)) { 
19253     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
))); 
19255     int new_flags 
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
19256     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
)); 
19258   if (SWIG_IsTmpObj(res3
)) { 
19259     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
))); 
19261     int new_flags 
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
19262     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
)); 
19270 SWIGINTERN PyObject 
*_wrap_DC_SetLogicalScale(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
19271   PyObject 
*resultobj 
= 0; 
19272   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
19281   PyObject 
* obj0 
= 0 ; 
19282   PyObject 
* obj1 
= 0 ; 
19283   PyObject 
* obj2 
= 0 ; 
19284   char *  kwnames
[] = { 
19285     (char *) "self",(char *) "x",(char *) "y", NULL 
 
19288   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
19289   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
19290   if (!SWIG_IsOK(res1
)) { 
19291     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalScale" "', expected argument " "1"" of type '" "wxDC *""'");  
19293   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
19294   ecode2 
= SWIG_AsVal_double(obj1
, &val2
); 
19295   if (!SWIG_IsOK(ecode2
)) { 
19296     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalScale" "', expected argument " "2"" of type '" "double""'"); 
19298   arg2 
= static_cast< double >(val2
); 
19299   ecode3 
= SWIG_AsVal_double(obj2
, &val3
); 
19300   if (!SWIG_IsOK(ecode3
)) { 
19301     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetLogicalScale" "', expected argument " "3"" of type '" "double""'"); 
19303   arg3 
= static_cast< double >(val3
); 
19305     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19306     (arg1
)->SetLogicalScale(arg2
,arg3
); 
19307     wxPyEndAllowThreads(__tstate
); 
19308     if (PyErr_Occurred()) SWIG_fail
; 
19310   resultobj 
= SWIG_Py_Void(); 
19317 SWIGINTERN PyObject 
*_wrap_DC_GetLogicalOrigin(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
19318   PyObject 
*resultobj 
= 0; 
19319   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
19323   PyObject 
*swig_obj
[1] ; 
19325   if (!args
) SWIG_fail
; 
19326   swig_obj
[0] = args
; 
19327   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
19328   if (!SWIG_IsOK(res1
)) { 
19329     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalOrigin" "', expected argument " "1"" of type '" "wxDC const *""'");  
19331   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
19333     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19334     result 
= ((wxDC 
const *)arg1
)->GetLogicalOrigin(); 
19335     wxPyEndAllowThreads(__tstate
); 
19336     if (PyErr_Occurred()) SWIG_fail
; 
19338   resultobj 
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN 
|  0 ); 
19345 SWIGINTERN PyObject 
*_wrap_DC_GetLogicalOriginTuple(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
19346   PyObject 
*resultobj 
= 0; 
19347   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
19348   int *arg2 
= (int *) 0 ; 
19349   int *arg3 
= (int *) 0 ; 
19353   int res2 
= SWIG_TMPOBJ 
; 
19355   int res3 
= SWIG_TMPOBJ 
; 
19356   PyObject 
*swig_obj
[1] ; 
19360   if (!args
) SWIG_fail
; 
19361   swig_obj
[0] = args
; 
19362   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
19363   if (!SWIG_IsOK(res1
)) { 
19364     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalOriginTuple" "', expected argument " "1"" of type '" "wxDC const *""'");  
19366   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
19368     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19369     ((wxDC 
const *)arg1
)->GetLogicalOrigin(arg2
,arg3
); 
19370     wxPyEndAllowThreads(__tstate
); 
19371     if (PyErr_Occurred()) SWIG_fail
; 
19373   resultobj 
= SWIG_Py_Void(); 
19374   if (SWIG_IsTmpObj(res2
)) { 
19375     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
))); 
19377     int new_flags 
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
19378     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
)); 
19380   if (SWIG_IsTmpObj(res3
)) { 
19381     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
))); 
19383     int new_flags 
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
19384     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
)); 
19392 SWIGINTERN PyObject 
*_wrap_DC_SetLogicalOrigin(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
19393   PyObject 
*resultobj 
= 0; 
19394   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
19403   PyObject 
* obj0 
= 0 ; 
19404   PyObject 
* obj1 
= 0 ; 
19405   PyObject 
* obj2 
= 0 ; 
19406   char *  kwnames
[] = { 
19407     (char *) "self",(char *) "x",(char *) "y", NULL 
 
19410   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
19411   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
19412   if (!SWIG_IsOK(res1
)) { 
19413     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "1"" of type '" "wxDC *""'");  
19415   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
19416   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
19417   if (!SWIG_IsOK(ecode2
)) { 
19418     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "2"" of type '" "int""'"); 
19420   arg2 
= static_cast< int >(val2
); 
19421   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
19422   if (!SWIG_IsOK(ecode3
)) { 
19423     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "3"" of type '" "int""'"); 
19425   arg3 
= static_cast< int >(val3
); 
19427     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19428     (arg1
)->SetLogicalOrigin(arg2
,arg3
); 
19429     wxPyEndAllowThreads(__tstate
); 
19430     if (PyErr_Occurred()) SWIG_fail
; 
19432   resultobj 
= SWIG_Py_Void(); 
19439 SWIGINTERN PyObject 
*_wrap_DC_SetLogicalOriginPoint(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
19440   PyObject 
*resultobj 
= 0; 
19441   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
19442   wxPoint 
*arg2 
= 0 ; 
19446   PyObject 
* obj0 
= 0 ; 
19447   PyObject 
* obj1 
= 0 ; 
19448   char *  kwnames
[] = { 
19449     (char *) "self",(char *) "point", NULL 
 
19452   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalOriginPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
19453   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
19454   if (!SWIG_IsOK(res1
)) { 
19455     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalOriginPoint" "', expected argument " "1"" of type '" "wxDC *""'");  
19457   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
19460     if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
19463     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19464     wxDC_SetLogicalOriginPoint(arg1
,(wxPoint 
const &)*arg2
); 
19465     wxPyEndAllowThreads(__tstate
); 
19466     if (PyErr_Occurred()) SWIG_fail
; 
19468   resultobj 
= SWIG_Py_Void(); 
19475 SWIGINTERN PyObject 
*_wrap_DC_GetDeviceOrigin(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
19476   PyObject 
*resultobj 
= 0; 
19477   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
19481   PyObject 
*swig_obj
[1] ; 
19483   if (!args
) SWIG_fail
; 
19484   swig_obj
[0] = args
; 
19485   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
19486   if (!SWIG_IsOK(res1
)) { 
19487     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDeviceOrigin" "', expected argument " "1"" of type '" "wxDC const *""'");  
19489   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
19491     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19492     result 
= ((wxDC 
const *)arg1
)->GetDeviceOrigin(); 
19493     wxPyEndAllowThreads(__tstate
); 
19494     if (PyErr_Occurred()) SWIG_fail
; 
19496   resultobj 
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN 
|  0 ); 
19503 SWIGINTERN PyObject 
*_wrap_DC_GetDeviceOriginTuple(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
19504   PyObject 
*resultobj 
= 0; 
19505   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
19506   int *arg2 
= (int *) 0 ; 
19507   int *arg3 
= (int *) 0 ; 
19511   int res2 
= SWIG_TMPOBJ 
; 
19513   int res3 
= SWIG_TMPOBJ 
; 
19514   PyObject 
*swig_obj
[1] ; 
19518   if (!args
) SWIG_fail
; 
19519   swig_obj
[0] = args
; 
19520   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
19521   if (!SWIG_IsOK(res1
)) { 
19522     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDeviceOriginTuple" "', expected argument " "1"" of type '" "wxDC const *""'");  
19524   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
19526     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19527     ((wxDC 
const *)arg1
)->GetDeviceOrigin(arg2
,arg3
); 
19528     wxPyEndAllowThreads(__tstate
); 
19529     if (PyErr_Occurred()) SWIG_fail
; 
19531   resultobj 
= SWIG_Py_Void(); 
19532   if (SWIG_IsTmpObj(res2
)) { 
19533     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
))); 
19535     int new_flags 
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
19536     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
)); 
19538   if (SWIG_IsTmpObj(res3
)) { 
19539     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
))); 
19541     int new_flags 
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
19542     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
)); 
19550 SWIGINTERN PyObject 
*_wrap_DC_SetDeviceOrigin(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
19551   PyObject 
*resultobj 
= 0; 
19552   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
19561   PyObject 
* obj0 
= 0 ; 
19562   PyObject 
* obj1 
= 0 ; 
19563   PyObject 
* obj2 
= 0 ; 
19564   char *  kwnames
[] = { 
19565     (char *) "self",(char *) "x",(char *) "y", NULL 
 
19568   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetDeviceOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
19569   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
19570   if (!SWIG_IsOK(res1
)) { 
19571     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "1"" of type '" "wxDC *""'");  
19573   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
19574   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
19575   if (!SWIG_IsOK(ecode2
)) { 
19576     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "2"" of type '" "int""'"); 
19578   arg2 
= static_cast< int >(val2
); 
19579   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
19580   if (!SWIG_IsOK(ecode3
)) { 
19581     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "3"" of type '" "int""'"); 
19583   arg3 
= static_cast< int >(val3
); 
19585     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19586     (arg1
)->SetDeviceOrigin(arg2
,arg3
); 
19587     wxPyEndAllowThreads(__tstate
); 
19588     if (PyErr_Occurred()) SWIG_fail
; 
19590   resultobj 
= SWIG_Py_Void(); 
19597 SWIGINTERN PyObject 
*_wrap_DC_SetDeviceOriginPoint(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
19598   PyObject 
*resultobj 
= 0; 
19599   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
19600   wxPoint 
*arg2 
= 0 ; 
19604   PyObject 
* obj0 
= 0 ; 
19605   PyObject 
* obj1 
= 0 ; 
19606   char *  kwnames
[] = { 
19607     (char *) "self",(char *) "point", NULL 
 
19610   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetDeviceOriginPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
19611   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
19612   if (!SWIG_IsOK(res1
)) { 
19613     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetDeviceOriginPoint" "', expected argument " "1"" of type '" "wxDC *""'");  
19615   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
19618     if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
19621     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19622     wxDC_SetDeviceOriginPoint(arg1
,(wxPoint 
const &)*arg2
); 
19623     wxPyEndAllowThreads(__tstate
); 
19624     if (PyErr_Occurred()) SWIG_fail
; 
19626   resultobj 
= SWIG_Py_Void(); 
19633 SWIGINTERN PyObject 
*_wrap_DC_SetAxisOrientation(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
19634   PyObject 
*resultobj 
= 0; 
19635   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
19644   PyObject 
* obj0 
= 0 ; 
19645   PyObject 
* obj1 
= 0 ; 
19646   PyObject 
* obj2 
= 0 ; 
19647   char *  kwnames
[] = { 
19648     (char *) "self",(char *) "xLeftRight",(char *) "yBottomUp", NULL 
 
19651   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetAxisOrientation",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
19652   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
19653   if (!SWIG_IsOK(res1
)) { 
19654     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetAxisOrientation" "', expected argument " "1"" of type '" "wxDC *""'");  
19656   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
19657   ecode2 
= SWIG_AsVal_bool(obj1
, &val2
); 
19658   if (!SWIG_IsOK(ecode2
)) { 
19659     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetAxisOrientation" "', expected argument " "2"" of type '" "bool""'"); 
19661   arg2 
= static_cast< bool >(val2
); 
19662   ecode3 
= SWIG_AsVal_bool(obj2
, &val3
); 
19663   if (!SWIG_IsOK(ecode3
)) { 
19664     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetAxisOrientation" "', expected argument " "3"" of type '" "bool""'"); 
19666   arg3 
= static_cast< bool >(val3
); 
19668     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19669     (arg1
)->SetAxisOrientation(arg2
,arg3
); 
19670     wxPyEndAllowThreads(__tstate
); 
19671     if (PyErr_Occurred()) SWIG_fail
; 
19673   resultobj 
= SWIG_Py_Void(); 
19680 SWIGINTERN PyObject 
*_wrap_DC_GetLogicalFunction(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
19681   PyObject 
*resultobj 
= 0; 
19682   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
19686   PyObject 
*swig_obj
[1] ; 
19688   if (!args
) SWIG_fail
; 
19689   swig_obj
[0] = args
; 
19690   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
19691   if (!SWIG_IsOK(res1
)) { 
19692     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalFunction" "', expected argument " "1"" of type '" "wxDC const *""'");  
19694   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
19696     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19697     result 
= (int)((wxDC 
const *)arg1
)->GetLogicalFunction(); 
19698     wxPyEndAllowThreads(__tstate
); 
19699     if (PyErr_Occurred()) SWIG_fail
; 
19701   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
19708 SWIGINTERN PyObject 
*_wrap_DC_SetLogicalFunction(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
19709   PyObject 
*resultobj 
= 0; 
19710   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
19716   PyObject 
* obj0 
= 0 ; 
19717   PyObject 
* obj1 
= 0 ; 
19718   char *  kwnames
[] = { 
19719     (char *) "self",(char *) "function", NULL 
 
19722   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
19723   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
19724   if (!SWIG_IsOK(res1
)) { 
19725     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalFunction" "', expected argument " "1"" of type '" "wxDC *""'");  
19727   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
19728   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
19729   if (!SWIG_IsOK(ecode2
)) { 
19730     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalFunction" "', expected argument " "2"" of type '" "int""'"); 
19732   arg2 
= static_cast< int >(val2
); 
19734     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19735     (arg1
)->SetLogicalFunction(arg2
); 
19736     wxPyEndAllowThreads(__tstate
); 
19737     if (PyErr_Occurred()) SWIG_fail
; 
19739   resultobj 
= SWIG_Py_Void(); 
19746 SWIGINTERN PyObject 
*_wrap_DC_ComputeScaleAndOrigin(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
19747   PyObject 
*resultobj 
= 0; 
19748   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
19751   PyObject 
*swig_obj
[1] ; 
19753   if (!args
) SWIG_fail
; 
19754   swig_obj
[0] = args
; 
19755   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
19756   if (!SWIG_IsOK(res1
)) { 
19757     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_ComputeScaleAndOrigin" "', expected argument " "1"" of type '" "wxDC *""'");  
19759   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
19761     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19762     (arg1
)->ComputeScaleAndOrigin(); 
19763     wxPyEndAllowThreads(__tstate
); 
19764     if (PyErr_Occurred()) SWIG_fail
; 
19766   resultobj 
= SWIG_Py_Void(); 
19773 SWIGINTERN PyObject 
*_wrap_DC_CalcBoundingBox(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
19774   PyObject 
*resultobj 
= 0; 
19775   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
19784   PyObject 
* obj0 
= 0 ; 
19785   PyObject 
* obj1 
= 0 ; 
19786   PyObject 
* obj2 
= 0 ; 
19787   char *  kwnames
[] = { 
19788     (char *) "self",(char *) "x",(char *) "y", NULL 
 
19791   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CalcBoundingBox",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
19792   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
19793   if (!SWIG_IsOK(res1
)) { 
19794     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CalcBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");  
19796   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
19797   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
19798   if (!SWIG_IsOK(ecode2
)) { 
19799     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_CalcBoundingBox" "', expected argument " "2"" of type '" "int""'"); 
19801   arg2 
= static_cast< int >(val2
); 
19802   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
19803   if (!SWIG_IsOK(ecode3
)) { 
19804     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_CalcBoundingBox" "', expected argument " "3"" of type '" "int""'"); 
19806   arg3 
= static_cast< int >(val3
); 
19808     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19809     (arg1
)->CalcBoundingBox(arg2
,arg3
); 
19810     wxPyEndAllowThreads(__tstate
); 
19811     if (PyErr_Occurred()) SWIG_fail
; 
19813   resultobj 
= SWIG_Py_Void(); 
19820 SWIGINTERN PyObject 
*_wrap_DC_CalcBoundingBoxPoint(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
19821   PyObject 
*resultobj 
= 0; 
19822   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
19823   wxPoint 
*arg2 
= 0 ; 
19827   PyObject 
* obj0 
= 0 ; 
19828   PyObject 
* obj1 
= 0 ; 
19829   char *  kwnames
[] = { 
19830     (char *) "self",(char *) "point", NULL 
 
19833   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CalcBoundingBoxPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
19834   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
19835   if (!SWIG_IsOK(res1
)) { 
19836     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CalcBoundingBoxPoint" "', expected argument " "1"" of type '" "wxDC *""'");  
19838   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
19841     if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
19844     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19845     wxDC_CalcBoundingBoxPoint(arg1
,(wxPoint 
const &)*arg2
); 
19846     wxPyEndAllowThreads(__tstate
); 
19847     if (PyErr_Occurred()) SWIG_fail
; 
19849   resultobj 
= SWIG_Py_Void(); 
19856 SWIGINTERN PyObject 
*_wrap_DC_ResetBoundingBox(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
19857   PyObject 
*resultobj 
= 0; 
19858   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
19861   PyObject 
*swig_obj
[1] ; 
19863   if (!args
) SWIG_fail
; 
19864   swig_obj
[0] = args
; 
19865   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
19866   if (!SWIG_IsOK(res1
)) { 
19867     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_ResetBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");  
19869   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
19871     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19872     (arg1
)->ResetBoundingBox(); 
19873     wxPyEndAllowThreads(__tstate
); 
19874     if (PyErr_Occurred()) SWIG_fail
; 
19876   resultobj 
= SWIG_Py_Void(); 
19883 SWIGINTERN PyObject 
*_wrap_DC_MinX(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
19884   PyObject 
*resultobj 
= 0; 
19885   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
19889   PyObject 
*swig_obj
[1] ; 
19891   if (!args
) SWIG_fail
; 
19892   swig_obj
[0] = args
; 
19893   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
19894   if (!SWIG_IsOK(res1
)) { 
19895     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MinX" "', expected argument " "1"" of type '" "wxDC const *""'");  
19897   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
19899     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19900     result 
= (int)((wxDC 
const *)arg1
)->MinX(); 
19901     wxPyEndAllowThreads(__tstate
); 
19902     if (PyErr_Occurred()) SWIG_fail
; 
19904   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
19911 SWIGINTERN PyObject 
*_wrap_DC_MaxX(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
19912   PyObject 
*resultobj 
= 0; 
19913   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
19917   PyObject 
*swig_obj
[1] ; 
19919   if (!args
) SWIG_fail
; 
19920   swig_obj
[0] = args
; 
19921   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
19922   if (!SWIG_IsOK(res1
)) { 
19923     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MaxX" "', expected argument " "1"" of type '" "wxDC const *""'");  
19925   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
19927     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19928     result 
= (int)((wxDC 
const *)arg1
)->MaxX(); 
19929     wxPyEndAllowThreads(__tstate
); 
19930     if (PyErr_Occurred()) SWIG_fail
; 
19932   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
19939 SWIGINTERN PyObject 
*_wrap_DC_MinY(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
19940   PyObject 
*resultobj 
= 0; 
19941   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
19945   PyObject 
*swig_obj
[1] ; 
19947   if (!args
) SWIG_fail
; 
19948   swig_obj
[0] = args
; 
19949   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
19950   if (!SWIG_IsOK(res1
)) { 
19951     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MinY" "', expected argument " "1"" of type '" "wxDC const *""'");  
19953   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
19955     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19956     result 
= (int)((wxDC 
const *)arg1
)->MinY(); 
19957     wxPyEndAllowThreads(__tstate
); 
19958     if (PyErr_Occurred()) SWIG_fail
; 
19960   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
19967 SWIGINTERN PyObject 
*_wrap_DC_MaxY(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
19968   PyObject 
*resultobj 
= 0; 
19969   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
19973   PyObject 
*swig_obj
[1] ; 
19975   if (!args
) SWIG_fail
; 
19976   swig_obj
[0] = args
; 
19977   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
19978   if (!SWIG_IsOK(res1
)) { 
19979     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MaxY" "', expected argument " "1"" of type '" "wxDC const *""'");  
19981   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
19983     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19984     result 
= (int)((wxDC 
const *)arg1
)->MaxY(); 
19985     wxPyEndAllowThreads(__tstate
); 
19986     if (PyErr_Occurred()) SWIG_fail
; 
19988   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
19995 SWIGINTERN PyObject 
*_wrap_DC_GetBoundingBox(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
19996   PyObject 
*resultobj 
= 0; 
19997   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
19998   int *arg2 
= (int *) 0 ; 
19999   int *arg3 
= (int *) 0 ; 
20000   int *arg4 
= (int *) 0 ; 
20001   int *arg5 
= (int *) 0 ; 
20005   int res2 
= SWIG_TMPOBJ 
; 
20007   int res3 
= SWIG_TMPOBJ 
; 
20009   int res4 
= SWIG_TMPOBJ 
; 
20011   int res5 
= SWIG_TMPOBJ 
; 
20012   PyObject 
*swig_obj
[1] ; 
20018   if (!args
) SWIG_fail
; 
20019   swig_obj
[0] = args
; 
20020   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
20021   if (!SWIG_IsOK(res1
)) { 
20022     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");  
20024   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
20026     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20027     wxDC_GetBoundingBox(arg1
,arg2
,arg3
,arg4
,arg5
); 
20028     wxPyEndAllowThreads(__tstate
); 
20029     if (PyErr_Occurred()) SWIG_fail
; 
20031   resultobj 
= SWIG_Py_Void(); 
20032   if (SWIG_IsTmpObj(res2
)) { 
20033     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
))); 
20035     int new_flags 
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
20036     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
)); 
20038   if (SWIG_IsTmpObj(res3
)) { 
20039     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
))); 
20041     int new_flags 
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
20042     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
)); 
20044   if (SWIG_IsTmpObj(res4
)) { 
20045     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
))); 
20047     int new_flags 
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
20048     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
)); 
20050   if (SWIG_IsTmpObj(res5
)) { 
20051     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
))); 
20053     int new_flags 
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
20054     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
)); 
20062 SWIGINTERN PyObject 
*_wrap_DC__DrawPointList(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
20063   PyObject 
*resultobj 
= 0; 
20064   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
20065   PyObject 
*arg2 
= (PyObject 
*) 0 ; 
20066   PyObject 
*arg3 
= (PyObject 
*) 0 ; 
20067   PyObject 
*arg4 
= (PyObject 
*) 0 ; 
20068   PyObject 
*result 
= 0 ; 
20071   PyObject 
* obj0 
= 0 ; 
20072   PyObject 
* obj1 
= 0 ; 
20073   PyObject 
* obj2 
= 0 ; 
20074   PyObject 
* obj3 
= 0 ; 
20075   char *  kwnames
[] = { 
20076     (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL 
 
20079   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPointList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
; 
20080   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
20081   if (!SWIG_IsOK(res1
)) { 
20082     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawPointList" "', expected argument " "1"" of type '" "wxDC *""'");  
20084   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
20089     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20090     result 
= (PyObject 
*)wxDC__DrawPointList(arg1
,arg2
,arg3
,arg4
); 
20091     wxPyEndAllowThreads(__tstate
); 
20092     if (PyErr_Occurred()) SWIG_fail
; 
20094   resultobj 
= result
; 
20101 SWIGINTERN PyObject 
*_wrap_DC__DrawLineList(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
20102   PyObject 
*resultobj 
= 0; 
20103   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
20104   PyObject 
*arg2 
= (PyObject 
*) 0 ; 
20105   PyObject 
*arg3 
= (PyObject 
*) 0 ; 
20106   PyObject 
*arg4 
= (PyObject 
*) 0 ; 
20107   PyObject 
*result 
= 0 ; 
20110   PyObject 
* obj0 
= 0 ; 
20111   PyObject 
* obj1 
= 0 ; 
20112   PyObject 
* obj2 
= 0 ; 
20113   PyObject 
* obj3 
= 0 ; 
20114   char *  kwnames
[] = { 
20115     (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL 
 
20118   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawLineList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
; 
20119   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
20120   if (!SWIG_IsOK(res1
)) { 
20121     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawLineList" "', expected argument " "1"" of type '" "wxDC *""'");  
20123   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
20128     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20129     result 
= (PyObject 
*)wxDC__DrawLineList(arg1
,arg2
,arg3
,arg4
); 
20130     wxPyEndAllowThreads(__tstate
); 
20131     if (PyErr_Occurred()) SWIG_fail
; 
20133   resultobj 
= result
; 
20140 SWIGINTERN PyObject 
*_wrap_DC__DrawRectangleList(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
20141   PyObject 
*resultobj 
= 0; 
20142   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
20143   PyObject 
*arg2 
= (PyObject 
*) 0 ; 
20144   PyObject 
*arg3 
= (PyObject 
*) 0 ; 
20145   PyObject 
*arg4 
= (PyObject 
*) 0 ; 
20146   PyObject 
*result 
= 0 ; 
20149   PyObject 
* obj0 
= 0 ; 
20150   PyObject 
* obj1 
= 0 ; 
20151   PyObject 
* obj2 
= 0 ; 
20152   PyObject 
* obj3 
= 0 ; 
20153   char *  kwnames
[] = { 
20154     (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL 
 
20157   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawRectangleList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
; 
20158   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
20159   if (!SWIG_IsOK(res1
)) { 
20160     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawRectangleList" "', expected argument " "1"" of type '" "wxDC *""'");  
20162   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
20167     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20168     result 
= (PyObject 
*)wxDC__DrawRectangleList(arg1
,arg2
,arg3
,arg4
); 
20169     wxPyEndAllowThreads(__tstate
); 
20170     if (PyErr_Occurred()) SWIG_fail
; 
20172   resultobj 
= result
; 
20179 SWIGINTERN PyObject 
*_wrap_DC__DrawEllipseList(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
20180   PyObject 
*resultobj 
= 0; 
20181   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
20182   PyObject 
*arg2 
= (PyObject 
*) 0 ; 
20183   PyObject 
*arg3 
= (PyObject 
*) 0 ; 
20184   PyObject 
*arg4 
= (PyObject 
*) 0 ; 
20185   PyObject 
*result 
= 0 ; 
20188   PyObject 
* obj0 
= 0 ; 
20189   PyObject 
* obj1 
= 0 ; 
20190   PyObject 
* obj2 
= 0 ; 
20191   PyObject 
* obj3 
= 0 ; 
20192   char *  kwnames
[] = { 
20193     (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL 
 
20196   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawEllipseList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
; 
20197   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
20198   if (!SWIG_IsOK(res1
)) { 
20199     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawEllipseList" "', expected argument " "1"" of type '" "wxDC *""'");  
20201   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
20206     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20207     result 
= (PyObject 
*)wxDC__DrawEllipseList(arg1
,arg2
,arg3
,arg4
); 
20208     wxPyEndAllowThreads(__tstate
); 
20209     if (PyErr_Occurred()) SWIG_fail
; 
20211   resultobj 
= result
; 
20218 SWIGINTERN PyObject 
*_wrap_DC__DrawPolygonList(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
20219   PyObject 
*resultobj 
= 0; 
20220   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
20221   PyObject 
*arg2 
= (PyObject 
*) 0 ; 
20222   PyObject 
*arg3 
= (PyObject 
*) 0 ; 
20223   PyObject 
*arg4 
= (PyObject 
*) 0 ; 
20224   PyObject 
*result 
= 0 ; 
20227   PyObject 
* obj0 
= 0 ; 
20228   PyObject 
* obj1 
= 0 ; 
20229   PyObject 
* obj2 
= 0 ; 
20230   PyObject 
* obj3 
= 0 ; 
20231   char *  kwnames
[] = { 
20232     (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL 
 
20235   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPolygonList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
; 
20236   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
20237   if (!SWIG_IsOK(res1
)) { 
20238     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawPolygonList" "', expected argument " "1"" of type '" "wxDC *""'");  
20240   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
20245     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20246     result 
= (PyObject 
*)wxDC__DrawPolygonList(arg1
,arg2
,arg3
,arg4
); 
20247     wxPyEndAllowThreads(__tstate
); 
20248     if (PyErr_Occurred()) SWIG_fail
; 
20250   resultobj 
= result
; 
20257 SWIGINTERN PyObject 
*_wrap_DC__DrawTextList(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
20258   PyObject 
*resultobj 
= 0; 
20259   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
20260   PyObject 
*arg2 
= (PyObject 
*) 0 ; 
20261   PyObject 
*arg3 
= (PyObject 
*) 0 ; 
20262   PyObject 
*arg4 
= (PyObject 
*) 0 ; 
20263   PyObject 
*arg5 
= (PyObject 
*) 0 ; 
20264   PyObject 
*result 
= 0 ; 
20267   PyObject 
* obj0 
= 0 ; 
20268   PyObject 
* obj1 
= 0 ; 
20269   PyObject 
* obj2 
= 0 ; 
20270   PyObject 
* obj3 
= 0 ; 
20271   PyObject 
* obj4 
= 0 ; 
20272   char *  kwnames
[] = { 
20273     (char *) "self",(char *) "textList",(char *) "pyPoints",(char *) "foregroundList",(char *) "backgroundList", NULL 
 
20276   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC__DrawTextList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
; 
20277   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
20278   if (!SWIG_IsOK(res1
)) { 
20279     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawTextList" "', expected argument " "1"" of type '" "wxDC *""'");  
20281   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
20287     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20288     result 
= (PyObject 
*)wxDC__DrawTextList(arg1
,arg2
,arg3
,arg4
,arg5
); 
20289     wxPyEndAllowThreads(__tstate
); 
20290     if (PyErr_Occurred()) SWIG_fail
; 
20292   resultobj 
= result
; 
20299 SWIGINTERN PyObject 
*DC_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
20301   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
20302   SWIG_TypeNewClientData(SWIGTYPE_p_wxDC
, SWIG_NewClientData(obj
)); 
20303   return SWIG_Py_Void(); 
20306 SWIGINTERN PyObject 
*_wrap_new_MemoryDC(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
20307   PyObject 
*resultobj 
= 0; 
20308   wxMemoryDC 
*result 
= 0 ; 
20310   if (!SWIG_Python_UnpackTuple(args
,"new_MemoryDC",0,0,0)) SWIG_fail
; 
20312     if (!wxPyCheckForApp()) SWIG_fail
; 
20313     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20314     result 
= (wxMemoryDC 
*)new wxMemoryDC(); 
20315     wxPyEndAllowThreads(__tstate
); 
20316     if (PyErr_Occurred()) SWIG_fail
; 
20318   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_NEW 
|  0 ); 
20325 SWIGINTERN PyObject 
*_wrap_new_MemoryDCFromDC(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
20326   PyObject 
*resultobj 
= 0; 
20327   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
20328   wxMemoryDC 
*result 
= 0 ; 
20331   PyObject 
* obj0 
= 0 ; 
20332   char *  kwnames
[] = { 
20333     (char *) "oldDC", NULL 
 
20336   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_MemoryDCFromDC",kwnames
,&obj0
)) SWIG_fail
; 
20337   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
20338   if (!SWIG_IsOK(res1
)) { 
20339     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MemoryDCFromDC" "', expected argument " "1"" of type '" "wxDC *""'");  
20341   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
20343     if (!wxPyCheckForApp()) SWIG_fail
; 
20344     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20345     result 
= (wxMemoryDC 
*)new wxMemoryDC(arg1
); 
20346     wxPyEndAllowThreads(__tstate
); 
20347     if (PyErr_Occurred()) SWIG_fail
; 
20349   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_OWN 
|  0 ); 
20356 SWIGINTERN PyObject 
*_wrap_MemoryDC_SelectObject(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
20357   PyObject 
*resultobj 
= 0; 
20358   wxMemoryDC 
*arg1 
= (wxMemoryDC 
*) 0 ; 
20359   wxBitmap 
*arg2 
= 0 ; 
20364   PyObject 
* obj0 
= 0 ; 
20365   PyObject 
* obj1 
= 0 ; 
20366   char *  kwnames
[] = { 
20367     (char *) "self",(char *) "bitmap", NULL 
 
20370   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObject",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
20371   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMemoryDC
, 0 |  0 ); 
20372   if (!SWIG_IsOK(res1
)) { 
20373     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MemoryDC_SelectObject" "', expected argument " "1"" of type '" "wxMemoryDC *""'");  
20375   arg1 
= reinterpret_cast< wxMemoryDC 
* >(argp1
); 
20376   res2 
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
,  0  | 0); 
20377   if (!SWIG_IsOK(res2
)) { 
20378     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MemoryDC_SelectObject" "', expected argument " "2"" of type '" "wxBitmap const &""'");  
20381     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MemoryDC_SelectObject" "', expected argument " "2"" of type '" "wxBitmap const &""'");  
20383   arg2 
= reinterpret_cast< wxBitmap 
* >(argp2
); 
20385     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20386     (arg1
)->SelectObject((wxBitmap 
const &)*arg2
); 
20387     wxPyEndAllowThreads(__tstate
); 
20388     if (PyErr_Occurred()) SWIG_fail
; 
20390   resultobj 
= SWIG_Py_Void(); 
20397 SWIGINTERN PyObject 
*MemoryDC_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
20399   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
20400   SWIG_TypeNewClientData(SWIGTYPE_p_wxMemoryDC
, SWIG_NewClientData(obj
)); 
20401   return SWIG_Py_Void(); 
20404 SWIGINTERN PyObject 
*MemoryDC_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
20405   return SWIG_Python_InitShadowInstance(args
); 
20408 SWIGINTERN PyObject 
*_wrap_new_BufferedDC__SWIG_0(PyObject 
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject 
**swig_obj
) { 
20409   PyObject 
*resultobj 
= 0; 
20410   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
20411   wxBitmap 
const &arg2_defvalue 
= wxNullBitmap 
; 
20412   wxBitmap 
*arg2 
= (wxBitmap 
*) &arg2_defvalue 
; 
20413   int arg3 
= (int) wxBUFFER_CLIENT_AREA 
; 
20414   wxBufferedDC 
*result 
= 0 ; 
20422   if ((nobjs 
< 1) || (nobjs 
> 3)) SWIG_fail
; 
20423   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
20424   if (!SWIG_IsOK(res1
)) { 
20425     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedDC" "', expected argument " "1"" of type '" "wxDC *""'");  
20427   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
20429     res2 
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxBitmap
,  0  | 0); 
20430     if (!SWIG_IsOK(res2
)) { 
20431       SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_BufferedDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");  
20434       SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BufferedDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");  
20436     arg2 
= reinterpret_cast< wxBitmap 
* >(argp2
); 
20439     ecode3 
= SWIG_AsVal_int(swig_obj
[2], &val3
); 
20440     if (!SWIG_IsOK(ecode3
)) { 
20441       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedDC" "', expected argument " "3"" of type '" "int""'"); 
20443     arg3 
= static_cast< int >(val3
); 
20446     if (!wxPyCheckForApp()) SWIG_fail
; 
20447     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20448     result 
= (wxBufferedDC 
*)new wxBufferedDC(arg1
,(wxBitmap 
const &)*arg2
,arg3
); 
20449     wxPyEndAllowThreads(__tstate
); 
20450     if (PyErr_Occurred()) SWIG_fail
; 
20452   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_NEW 
|  0 ); 
20459 SWIGINTERN PyObject 
*_wrap_new_BufferedDC__SWIG_1(PyObject 
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject 
**swig_obj
) { 
20460   PyObject 
*resultobj 
= 0; 
20461   wxDC 
*arg1 
= (wxDC 
*) 0 ; 
20463   int arg3 
= (int) wxBUFFER_CLIENT_AREA 
; 
20464   wxBufferedDC 
*result 
= 0 ; 
20471   if ((nobjs 
< 2) || (nobjs 
> 3)) SWIG_fail
; 
20472   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
20473   if (!SWIG_IsOK(res1
)) { 
20474     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedDC" "', expected argument " "1"" of type '" "wxDC *""'");  
20476   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
20479     if ( ! wxSize_helper(swig_obj
[1], &arg2
)) SWIG_fail
; 
20482     ecode3 
= SWIG_AsVal_int(swig_obj
[2], &val3
); 
20483     if (!SWIG_IsOK(ecode3
)) { 
20484       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedDC" "', expected argument " "3"" of type '" "int""'"); 
20486     arg3 
= static_cast< int >(val3
); 
20489     if (!wxPyCheckForApp()) SWIG_fail
; 
20490     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20491     result 
= (wxBufferedDC 
*)new wxBufferedDC(arg1
,(wxSize 
const &)*arg2
,arg3
); 
20492     wxPyEndAllowThreads(__tstate
); 
20493     if (PyErr_Occurred()) SWIG_fail
; 
20495   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_NEW 
|  0 ); 
20502 SWIGINTERN PyObject 
*_wrap_new_BufferedDC(PyObject 
*self
, PyObject 
*args
) { 
20506   if (!(argc 
= SWIG_Python_UnpackTuple(args
,"new_BufferedDC",0,3,argv
))) SWIG_fail
; 
20508   if ((argc 
>= 1) && (argc 
<= 3)) { 
20512         int res 
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxBitmap
, 0); 
20513         _v 
= SWIG_CheckState(res
); 
20515       if (!_v
) goto check_1
; 
20517     return _wrap_new_BufferedDC__SWIG_0(self
, argc
, argv
); 
20521   if ((argc 
>= 2) && (argc 
<= 3)) { 
20522     return _wrap_new_BufferedDC__SWIG_1(self
, argc
, argv
); 
20526   SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_BufferedDC'"); 
20531 SWIGINTERN PyObject 
*_wrap_delete_BufferedDC(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
20532   PyObject 
*resultobj 
= 0; 
20533   wxBufferedDC 
*arg1 
= (wxBufferedDC 
*) 0 ; 
20536   PyObject 
*swig_obj
[1] ; 
20538   if (!args
) SWIG_fail
; 
20539   swig_obj
[0] = args
; 
20540   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_DISOWN 
|  0 ); 
20541   if (!SWIG_IsOK(res1
)) { 
20542     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_BufferedDC" "', expected argument " "1"" of type '" "wxBufferedDC *""'");  
20544   arg1 
= reinterpret_cast< wxBufferedDC 
* >(argp1
); 
20546     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20549     wxPyEndAllowThreads(__tstate
); 
20550     if (PyErr_Occurred()) SWIG_fail
; 
20552   resultobj 
= SWIG_Py_Void(); 
20559 SWIGINTERN PyObject 
*_wrap_BufferedDC_UnMask(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
20560   PyObject 
*resultobj 
= 0; 
20561   wxBufferedDC 
*arg1 
= (wxBufferedDC 
*) 0 ; 
20564   PyObject 
*swig_obj
[1] ; 
20566   if (!args
) SWIG_fail
; 
20567   swig_obj
[0] = args
; 
20568   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, 0 |  0 ); 
20569   if (!SWIG_IsOK(res1
)) { 
20570     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BufferedDC_UnMask" "', expected argument " "1"" of type '" "wxBufferedDC *""'");  
20572   arg1 
= reinterpret_cast< wxBufferedDC 
* >(argp1
); 
20574     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20576     wxPyEndAllowThreads(__tstate
); 
20577     if (PyErr_Occurred()) SWIG_fail
; 
20579   resultobj 
= SWIG_Py_Void(); 
20586 SWIGINTERN PyObject 
*BufferedDC_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
20588   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
20589   SWIG_TypeNewClientData(SWIGTYPE_p_wxBufferedDC
, SWIG_NewClientData(obj
)); 
20590   return SWIG_Py_Void(); 
20593 SWIGINTERN PyObject 
*BufferedDC_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
20594   return SWIG_Python_InitShadowInstance(args
); 
20597 SWIGINTERN PyObject 
*_wrap_new_BufferedPaintDC(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
20598   PyObject 
*resultobj 
= 0; 
20599   wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
20600   wxBitmap 
const &arg2_defvalue 
= wxNullBitmap 
; 
20601   wxBitmap 
*arg2 
= (wxBitmap 
*) &arg2_defvalue 
; 
20602   int arg3 
= (int) wxBUFFER_CLIENT_AREA 
; 
20603   wxBufferedPaintDC 
*result 
= 0 ; 
20610   PyObject 
* obj0 
= 0 ; 
20611   PyObject 
* obj1 
= 0 ; 
20612   PyObject 
* obj2 
= 0 ; 
20613   char *  kwnames
[] = { 
20614     (char *) "window",(char *) "buffer",(char *) "style", NULL 
 
20617   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_BufferedPaintDC",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
20618   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
20619   if (!SWIG_IsOK(res1
)) { 
20620     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedPaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");  
20622   arg1 
= reinterpret_cast< wxWindow 
* >(argp1
); 
20624     res2 
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
,  0  | 0); 
20625     if (!SWIG_IsOK(res2
)) { 
20626       SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_BufferedPaintDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");  
20629       SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BufferedPaintDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");  
20631     arg2 
= reinterpret_cast< wxBitmap 
* >(argp2
); 
20634     ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
20635     if (!SWIG_IsOK(ecode3
)) { 
20636       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedPaintDC" "', expected argument " "3"" of type '" "int""'"); 
20638     arg3 
= static_cast< int >(val3
); 
20641     if (!wxPyCheckForApp()) SWIG_fail
; 
20642     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20643     result 
= (wxBufferedPaintDC 
*)new wxBufferedPaintDC(arg1
,(wxBitmap 
const &)*arg2
,arg3
); 
20644     wxPyEndAllowThreads(__tstate
); 
20645     if (PyErr_Occurred()) SWIG_fail
; 
20647   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedPaintDC
, SWIG_POINTER_NEW 
|  0 ); 
20654 SWIGINTERN PyObject 
*BufferedPaintDC_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
20656   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
20657   SWIG_TypeNewClientData(SWIGTYPE_p_wxBufferedPaintDC
, SWIG_NewClientData(obj
)); 
20658   return SWIG_Py_Void(); 
20661 SWIGINTERN PyObject 
*BufferedPaintDC_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
20662   return SWIG_Python_InitShadowInstance(args
); 
20665 SWIGINTERN PyObject 
*_wrap_new_ScreenDC(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
20666   PyObject 
*resultobj 
= 0; 
20667   wxScreenDC 
*result 
= 0 ; 
20669   if (!SWIG_Python_UnpackTuple(args
,"new_ScreenDC",0,0,0)) SWIG_fail
; 
20671     if (!wxPyCheckForApp()) SWIG_fail
; 
20672     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20673     result 
= (wxScreenDC 
*)new wxScreenDC(); 
20674     wxPyEndAllowThreads(__tstate
); 
20675     if (PyErr_Occurred()) SWIG_fail
; 
20677   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScreenDC
, SWIG_POINTER_NEW 
|  0 ); 
20684 SWIGINTERN PyObject 
*_wrap_ScreenDC_StartDrawingOnTopWin(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
20685   PyObject 
*resultobj 
= 0; 
20686   wxScreenDC 
*arg1 
= (wxScreenDC 
*) 0 ; 
20687   wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
20693   PyObject 
* obj0 
= 0 ; 
20694   PyObject 
* obj1 
= 0 ; 
20695   char *  kwnames
[] = { 
20696     (char *) "self",(char *) "window", NULL 
 
20699   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScreenDC_StartDrawingOnTopWin",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
20700   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScreenDC
, 0 |  0 ); 
20701   if (!SWIG_IsOK(res1
)) { 
20702     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_StartDrawingOnTopWin" "', expected argument " "1"" of type '" "wxScreenDC *""'");  
20704   arg1 
= reinterpret_cast< wxScreenDC 
* >(argp1
); 
20705   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
20706   if (!SWIG_IsOK(res2
)) { 
20707     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScreenDC_StartDrawingOnTopWin" "', expected argument " "2"" of type '" "wxWindow *""'");  
20709   arg2 
= reinterpret_cast< wxWindow 
* >(argp2
); 
20711     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20712     result 
= (bool)(arg1
)->StartDrawingOnTop(arg2
); 
20713     wxPyEndAllowThreads(__tstate
); 
20714     if (PyErr_Occurred()) SWIG_fail
; 
20717     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
20725 SWIGINTERN PyObject 
*_wrap_ScreenDC_StartDrawingOnTop(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
20726   PyObject 
*resultobj 
= 0; 
20727   wxScreenDC 
*arg1 
= (wxScreenDC 
*) 0 ; 
20728   wxRect 
*arg2 
= (wxRect 
*) NULL 
; 
20734   PyObject 
* obj0 
= 0 ; 
20735   PyObject 
* obj1 
= 0 ; 
20736   char *  kwnames
[] = { 
20737     (char *) "self",(char *) "rect", NULL 
 
20740   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ScreenDC_StartDrawingOnTop",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
20741   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScreenDC
, 0 |  0 ); 
20742   if (!SWIG_IsOK(res1
)) { 
20743     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_StartDrawingOnTop" "', expected argument " "1"" of type '" "wxScreenDC *""'");  
20745   arg1 
= reinterpret_cast< wxScreenDC 
* >(argp1
); 
20747     res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxRect
, 0 |  0 ); 
20748     if (!SWIG_IsOK(res2
)) { 
20749       SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScreenDC_StartDrawingOnTop" "', expected argument " "2"" of type '" "wxRect *""'");  
20751     arg2 
= reinterpret_cast< wxRect 
* >(argp2
); 
20754     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20755     result 
= (bool)(arg1
)->StartDrawingOnTop(arg2
); 
20756     wxPyEndAllowThreads(__tstate
); 
20757     if (PyErr_Occurred()) SWIG_fail
; 
20760     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
20768 SWIGINTERN PyObject 
*_wrap_ScreenDC_EndDrawingOnTop(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
20769   PyObject 
*resultobj 
= 0; 
20770   wxScreenDC 
*arg1 
= (wxScreenDC 
*) 0 ; 
20774   PyObject 
*swig_obj
[1] ; 
20776   if (!args
) SWIG_fail
; 
20777   swig_obj
[0] = args
; 
20778   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScreenDC
, 0 |  0 ); 
20779   if (!SWIG_IsOK(res1
)) { 
20780     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_EndDrawingOnTop" "', expected argument " "1"" of type '" "wxScreenDC *""'");  
20782   arg1 
= reinterpret_cast< wxScreenDC 
* >(argp1
); 
20784     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20785     result 
= (bool)(arg1
)->EndDrawingOnTop(); 
20786     wxPyEndAllowThreads(__tstate
); 
20787     if (PyErr_Occurred()) SWIG_fail
; 
20790     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
20798 SWIGINTERN PyObject 
*ScreenDC_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
20800   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
20801   SWIG_TypeNewClientData(SWIGTYPE_p_wxScreenDC
, SWIG_NewClientData(obj
)); 
20802   return SWIG_Py_Void(); 
20805 SWIGINTERN PyObject 
*ScreenDC_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
20806   return SWIG_Python_InitShadowInstance(args
); 
20809 SWIGINTERN PyObject 
*_wrap_new_ClientDC(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
20810   PyObject 
*resultobj 
= 0; 
20811   wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
20812   wxClientDC 
*result 
= 0 ; 
20815   PyObject 
* obj0 
= 0 ; 
20816   char *  kwnames
[] = { 
20817     (char *) "win", NULL 
 
20820   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ClientDC",kwnames
,&obj0
)) SWIG_fail
; 
20821   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
20822   if (!SWIG_IsOK(res1
)) { 
20823     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ClientDC" "', expected argument " "1"" of type '" "wxWindow *""'");  
20825   arg1 
= reinterpret_cast< wxWindow 
* >(argp1
); 
20827     if (!wxPyCheckForApp()) SWIG_fail
; 
20828     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20829     result 
= (wxClientDC 
*)new wxClientDC(arg1
); 
20830     wxPyEndAllowThreads(__tstate
); 
20831     if (PyErr_Occurred()) SWIG_fail
; 
20833   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxClientDC
, SWIG_POINTER_NEW 
|  0 ); 
20840 SWIGINTERN PyObject 
*ClientDC_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
20842   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
20843   SWIG_TypeNewClientData(SWIGTYPE_p_wxClientDC
, SWIG_NewClientData(obj
)); 
20844   return SWIG_Py_Void(); 
20847 SWIGINTERN PyObject 
*ClientDC_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
20848   return SWIG_Python_InitShadowInstance(args
); 
20851 SWIGINTERN PyObject 
*_wrap_new_PaintDC(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
20852   PyObject 
*resultobj 
= 0; 
20853   wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
20854   wxPaintDC 
*result 
= 0 ; 
20857   PyObject 
* obj0 
= 0 ; 
20858   char *  kwnames
[] = { 
20859     (char *) "win", NULL 
 
20862   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PaintDC",kwnames
,&obj0
)) SWIG_fail
; 
20863   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
20864   if (!SWIG_IsOK(res1
)) { 
20865     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");  
20867   arg1 
= reinterpret_cast< wxWindow 
* >(argp1
); 
20869     if (!wxPyCheckForApp()) SWIG_fail
; 
20870     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20871     result 
= (wxPaintDC 
*)new wxPaintDC(arg1
); 
20872     wxPyEndAllowThreads(__tstate
); 
20873     if (PyErr_Occurred()) SWIG_fail
; 
20875   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPaintDC
, SWIG_POINTER_NEW 
|  0 ); 
20882 SWIGINTERN PyObject 
*PaintDC_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
20884   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
20885   SWIG_TypeNewClientData(SWIGTYPE_p_wxPaintDC
, SWIG_NewClientData(obj
)); 
20886   return SWIG_Py_Void(); 
20889 SWIGINTERN PyObject 
*PaintDC_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
20890   return SWIG_Python_InitShadowInstance(args
); 
20893 SWIGINTERN PyObject 
*_wrap_new_WindowDC(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
20894   PyObject 
*resultobj 
= 0; 
20895   wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
20896   wxWindowDC 
*result 
= 0 ; 
20899   PyObject 
* obj0 
= 0 ; 
20900   char *  kwnames
[] = { 
20901     (char *) "win", NULL 
 
20904   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_WindowDC",kwnames
,&obj0
)) SWIG_fail
; 
20905   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
20906   if (!SWIG_IsOK(res1
)) { 
20907     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_WindowDC" "', expected argument " "1"" of type '" "wxWindow *""'");  
20909   arg1 
= reinterpret_cast< wxWindow 
* >(argp1
); 
20911     if (!wxPyCheckForApp()) SWIG_fail
; 
20912     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20913     result 
= (wxWindowDC 
*)new wxWindowDC(arg1
); 
20914     wxPyEndAllowThreads(__tstate
); 
20915     if (PyErr_Occurred()) SWIG_fail
; 
20917   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxWindowDC
, SWIG_POINTER_NEW 
|  0 ); 
20924 SWIGINTERN PyObject 
*WindowDC_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
20926   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
20927   SWIG_TypeNewClientData(SWIGTYPE_p_wxWindowDC
, SWIG_NewClientData(obj
)); 
20928   return SWIG_Py_Void(); 
20931 SWIGINTERN PyObject 
*WindowDC_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
20932   return SWIG_Python_InitShadowInstance(args
); 
20935 SWIGINTERN PyObject 
*_wrap_new_MirrorDC(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
20936   PyObject 
*resultobj 
= 0; 
20939   wxMirrorDC 
*result 
= 0 ; 
20944   PyObject 
* obj0 
= 0 ; 
20945   PyObject 
* obj1 
= 0 ; 
20946   char *  kwnames
[] = { 
20947     (char *) "dc",(char *) "mirror", NULL 
 
20950   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_MirrorDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
20951   res1 
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
,  0 ); 
20952   if (!SWIG_IsOK(res1
)) { 
20953     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MirrorDC" "', expected argument " "1"" of type '" "wxDC &""'");  
20956     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_MirrorDC" "', expected argument " "1"" of type '" "wxDC &""'");  
20958   arg1 
= reinterpret_cast< wxDC 
* >(argp1
); 
20959   ecode2 
= SWIG_AsVal_bool(obj1
, &val2
); 
20960   if (!SWIG_IsOK(ecode2
)) { 
20961     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MirrorDC" "', expected argument " "2"" of type '" "bool""'"); 
20963   arg2 
= static_cast< bool >(val2
); 
20965     if (!wxPyCheckForApp()) SWIG_fail
; 
20966     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20967     result 
= (wxMirrorDC 
*)new wxMirrorDC(*arg1
,arg2
); 
20968     wxPyEndAllowThreads(__tstate
); 
20969     if (PyErr_Occurred()) SWIG_fail
; 
20971   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMirrorDC
, SWIG_POINTER_NEW 
|  0 ); 
20978 SWIGINTERN PyObject 
*MirrorDC_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
20980   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
20981   SWIG_TypeNewClientData(SWIGTYPE_p_wxMirrorDC
, SWIG_NewClientData(obj
)); 
20982   return SWIG_Py_Void(); 
20985 SWIGINTERN PyObject 
*MirrorDC_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
20986   return SWIG_Python_InitShadowInstance(args
); 
20989 SWIGINTERN PyObject 
*_wrap_new_PostScriptDC(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
20990   PyObject 
*resultobj 
= 0; 
20991   wxPrintData 
*arg1 
= 0 ; 
20992   wxPostScriptDC 
*result 
= 0 ; 
20995   PyObject 
* obj0 
= 0 ; 
20996   char *  kwnames
[] = { 
20997     (char *) "printData", NULL 
 
21000   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PostScriptDC",kwnames
,&obj0
)) SWIG_fail
; 
21001   res1 
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPrintData
,  0  | 0); 
21002   if (!SWIG_IsOK(res1
)) { 
21003     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PostScriptDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");  
21006     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PostScriptDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");  
21008   arg1 
= reinterpret_cast< wxPrintData 
* >(argp1
); 
21010     if (!wxPyCheckForApp()) SWIG_fail
; 
21011     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21012     result 
= (wxPostScriptDC 
*)new wxPostScriptDC((wxPrintData 
const &)*arg1
); 
21013     wxPyEndAllowThreads(__tstate
); 
21014     if (PyErr_Occurred()) SWIG_fail
; 
21016   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPostScriptDC
, SWIG_POINTER_NEW 
|  0 ); 
21023 SWIGINTERN PyObject 
*_wrap_PostScriptDC_GetPrintData(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
21024   PyObject 
*resultobj 
= 0; 
21025   wxPostScriptDC 
*arg1 
= (wxPostScriptDC 
*) 0 ; 
21026   wxPrintData 
*result 
= 0 ; 
21029   PyObject 
*swig_obj
[1] ; 
21031   if (!args
) SWIG_fail
; 
21032   swig_obj
[0] = args
; 
21033   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPostScriptDC
, 0 |  0 ); 
21034   if (!SWIG_IsOK(res1
)) { 
21035     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PostScriptDC_GetPrintData" "', expected argument " "1"" of type '" "wxPostScriptDC *""'");  
21037   arg1 
= reinterpret_cast< wxPostScriptDC 
* >(argp1
); 
21039     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21041       wxPrintData 
&_result_ref 
= (arg1
)->GetPrintData(); 
21042       result 
= (wxPrintData 
*) &_result_ref
; 
21044     wxPyEndAllowThreads(__tstate
); 
21045     if (PyErr_Occurred()) SWIG_fail
; 
21047   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 |  0 ); 
21054 SWIGINTERN PyObject 
*_wrap_PostScriptDC_SetPrintData(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
21055   PyObject 
*resultobj 
= 0; 
21056   wxPostScriptDC 
*arg1 
= (wxPostScriptDC 
*) 0 ; 
21057   wxPrintData 
*arg2 
= 0 ; 
21062   PyObject 
* obj0 
= 0 ; 
21063   PyObject 
* obj1 
= 0 ; 
21064   char *  kwnames
[] = { 
21065     (char *) "self",(char *) "data", NULL 
 
21068   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostScriptDC_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
21069   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPostScriptDC
, 0 |  0 ); 
21070   if (!SWIG_IsOK(res1
)) { 
21071     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PostScriptDC_SetPrintData" "', expected argument " "1"" of type '" "wxPostScriptDC *""'");  
21073   arg1 
= reinterpret_cast< wxPostScriptDC 
* >(argp1
); 
21074   res2 
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
,  0  | 0); 
21075   if (!SWIG_IsOK(res2
)) { 
21076     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PostScriptDC_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");  
21079     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PostScriptDC_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");  
21081   arg2 
= reinterpret_cast< wxPrintData 
* >(argp2
); 
21083     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21084     (arg1
)->SetPrintData((wxPrintData 
const &)*arg2
); 
21085     wxPyEndAllowThreads(__tstate
); 
21086     if (PyErr_Occurred()) SWIG_fail
; 
21088   resultobj 
= SWIG_Py_Void(); 
21095 SWIGINTERN PyObject 
*_wrap_PostScriptDC_SetResolution(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
21096   PyObject 
*resultobj 
= 0; 
21100   PyObject 
* obj0 
= 0 ; 
21101   char *  kwnames
[] = { 
21102     (char *) "ppi", NULL 
 
21105   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_SetResolution",kwnames
,&obj0
)) SWIG_fail
; 
21106   ecode1 
= SWIG_AsVal_int(obj0
, &val1
); 
21107   if (!SWIG_IsOK(ecode1
)) { 
21108     SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "PostScriptDC_SetResolution" "', expected argument " "1"" of type '" "int""'"); 
21110   arg1 
= static_cast< int >(val1
); 
21112     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21113     wxPostScriptDC::SetResolution(arg1
); 
21114     wxPyEndAllowThreads(__tstate
); 
21115     if (PyErr_Occurred()) SWIG_fail
; 
21117   resultobj 
= SWIG_Py_Void(); 
21124 SWIGINTERN PyObject 
*_wrap_PostScriptDC_GetResolution(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
21125   PyObject 
*resultobj 
= 0; 
21128   if (!SWIG_Python_UnpackTuple(args
,"PostScriptDC_GetResolution",0,0,0)) SWIG_fail
; 
21130     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21131     result 
= (int)wxPostScriptDC::GetResolution(); 
21132     wxPyEndAllowThreads(__tstate
); 
21133     if (PyErr_Occurred()) SWIG_fail
; 
21135   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
21142 SWIGINTERN PyObject 
*PostScriptDC_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
21144   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
21145   SWIG_TypeNewClientData(SWIGTYPE_p_wxPostScriptDC
, SWIG_NewClientData(obj
)); 
21146   return SWIG_Py_Void(); 
21149 SWIGINTERN PyObject 
*PostScriptDC_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
21150   return SWIG_Python_InitShadowInstance(args
); 
21153 SWIGINTERN PyObject 
*_wrap_new_MetaFile(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
21154   PyObject 
*resultobj 
= 0; 
21155   wxString 
const &arg1_defvalue 
= wxPyEmptyString 
; 
21156   wxString 
*arg1 
= (wxString 
*) &arg1_defvalue 
; 
21157   wxMetaFile 
*result 
= 0 ; 
21158   bool temp1 
= false ; 
21159   PyObject 
* obj0 
= 0 ; 
21160   char *  kwnames
[] = { 
21161     (char *) "filename", NULL 
 
21164   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MetaFile",kwnames
,&obj0
)) SWIG_fail
; 
21167       arg1 
= wxString_in_helper(obj0
); 
21168       if (arg1 
== NULL
) SWIG_fail
; 
21173     if (!wxPyCheckForApp()) SWIG_fail
; 
21174     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21175     result 
= (wxMetaFile 
*)new wxMetaFile((wxString 
const &)*arg1
); 
21176     wxPyEndAllowThreads(__tstate
); 
21177     if (PyErr_Occurred()) SWIG_fail
; 
21179   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_NEW 
|  0 ); 
21194 SWIGINTERN PyObject 
*_wrap_delete_MetaFile(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
21195   PyObject 
*resultobj 
= 0; 
21196   wxMetaFile 
*arg1 
= (wxMetaFile 
*) 0 ; 
21199   PyObject 
*swig_obj
[1] ; 
21201   if (!args
) SWIG_fail
; 
21202   swig_obj
[0] = args
; 
21203   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_DISOWN 
|  0 ); 
21204   if (!SWIG_IsOK(res1
)) { 
21205     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_MetaFile" "', expected argument " "1"" of type '" "wxMetaFile *""'");  
21207   arg1 
= reinterpret_cast< wxMetaFile 
* >(argp1
); 
21209     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21212     wxPyEndAllowThreads(__tstate
); 
21213     if (PyErr_Occurred()) SWIG_fail
; 
21215   resultobj 
= SWIG_Py_Void(); 
21222 SWIGINTERN PyObject 
*_wrap_MetaFile_Ok(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
21223   PyObject 
*resultobj 
= 0; 
21224   wxMetaFile 
*arg1 
= (wxMetaFile 
*) 0 ; 
21228   PyObject 
*swig_obj
[1] ; 
21230   if (!args
) SWIG_fail
; 
21231   swig_obj
[0] = args
; 
21232   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 |  0 ); 
21233   if (!SWIG_IsOK(res1
)) { 
21234     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_Ok" "', expected argument " "1"" of type '" "wxMetaFile *""'");  
21236   arg1 
= reinterpret_cast< wxMetaFile 
* >(argp1
); 
21238     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21239     result 
= (bool)(arg1
)->Ok(); 
21240     wxPyEndAllowThreads(__tstate
); 
21241     if (PyErr_Occurred()) SWIG_fail
; 
21244     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
21252 SWIGINTERN PyObject 
*_wrap_MetaFile_SetClipboard(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
21253   PyObject 
*resultobj 
= 0; 
21254   wxMetaFile 
*arg1 
= (wxMetaFile 
*) 0 ; 
21255   int arg2 
= (int) 0 ; 
21256   int arg3 
= (int) 0 ; 
21264   PyObject 
* obj0 
= 0 ; 
21265   PyObject 
* obj1 
= 0 ; 
21266   PyObject 
* obj2 
= 0 ; 
21267   char *  kwnames
[] = { 
21268     (char *) "self",(char *) "width",(char *) "height", NULL 
 
21271   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MetaFile_SetClipboard",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
21272   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMetaFile
, 0 |  0 ); 
21273   if (!SWIG_IsOK(res1
)) { 
21274     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_SetClipboard" "', expected argument " "1"" of type '" "wxMetaFile *""'");  
21276   arg1 
= reinterpret_cast< wxMetaFile 
* >(argp1
); 
21278     ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
21279     if (!SWIG_IsOK(ecode2
)) { 
21280       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MetaFile_SetClipboard" "', expected argument " "2"" of type '" "int""'"); 
21282     arg2 
= static_cast< int >(val2
); 
21285     ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
21286     if (!SWIG_IsOK(ecode3
)) { 
21287       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MetaFile_SetClipboard" "', expected argument " "3"" of type '" "int""'"); 
21289     arg3 
= static_cast< int >(val3
); 
21292     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21293     result 
= (bool)(arg1
)->SetClipboard(arg2
,arg3
); 
21294     wxPyEndAllowThreads(__tstate
); 
21295     if (PyErr_Occurred()) SWIG_fail
; 
21298     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
21306 SWIGINTERN PyObject 
*_wrap_MetaFile_GetSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
21307   PyObject 
*resultobj 
= 0; 
21308   wxMetaFile 
*arg1 
= (wxMetaFile 
*) 0 ; 
21312   PyObject 
*swig_obj
[1] ; 
21314   if (!args
) SWIG_fail
; 
21315   swig_obj
[0] = args
; 
21316   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 |  0 ); 
21317   if (!SWIG_IsOK(res1
)) { 
21318     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetSize" "', expected argument " "1"" of type '" "wxMetaFile *""'");  
21320   arg1 
= reinterpret_cast< wxMetaFile 
* >(argp1
); 
21322     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21323     result 
= (arg1
)->GetSize(); 
21324     wxPyEndAllowThreads(__tstate
); 
21325     if (PyErr_Occurred()) SWIG_fail
; 
21327   resultobj 
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN 
|  0 ); 
21334 SWIGINTERN PyObject 
*_wrap_MetaFile_GetWidth(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
21335   PyObject 
*resultobj 
= 0; 
21336   wxMetaFile 
*arg1 
= (wxMetaFile 
*) 0 ; 
21340   PyObject 
*swig_obj
[1] ; 
21342   if (!args
) SWIG_fail
; 
21343   swig_obj
[0] = args
; 
21344   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 |  0 ); 
21345   if (!SWIG_IsOK(res1
)) { 
21346     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetWidth" "', expected argument " "1"" of type '" "wxMetaFile *""'");  
21348   arg1 
= reinterpret_cast< wxMetaFile 
* >(argp1
); 
21350     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21351     result 
= (int)(arg1
)->GetWidth(); 
21352     wxPyEndAllowThreads(__tstate
); 
21353     if (PyErr_Occurred()) SWIG_fail
; 
21355   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
21362 SWIGINTERN PyObject 
*_wrap_MetaFile_GetHeight(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
21363   PyObject 
*resultobj 
= 0; 
21364   wxMetaFile 
*arg1 
= (wxMetaFile 
*) 0 ; 
21368   PyObject 
*swig_obj
[1] ; 
21370   if (!args
) SWIG_fail
; 
21371   swig_obj
[0] = args
; 
21372   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 |  0 ); 
21373   if (!SWIG_IsOK(res1
)) { 
21374     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetHeight" "', expected argument " "1"" of type '" "wxMetaFile *""'");  
21376   arg1 
= reinterpret_cast< wxMetaFile 
* >(argp1
); 
21378     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21379     result 
= (int)(arg1
)->GetHeight(); 
21380     wxPyEndAllowThreads(__tstate
); 
21381     if (PyErr_Occurred()) SWIG_fail
; 
21383   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
21390 SWIGINTERN PyObject 
*MetaFile_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
21392   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
21393   SWIG_TypeNewClientData(SWIGTYPE_p_wxMetaFile
, SWIG_NewClientData(obj
)); 
21394   return SWIG_Py_Void(); 
21397 SWIGINTERN PyObject 
*MetaFile_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
21398   return SWIG_Python_InitShadowInstance(args
); 
21401 SWIGINTERN PyObject 
*_wrap_new_MetaFileDC(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
21402   PyObject 
*resultobj 
= 0; 
21403   wxString 
const &arg1_defvalue 
= wxPyEmptyString 
; 
21404   wxString 
*arg1 
= (wxString 
*) &arg1_defvalue 
; 
21405   int arg2 
= (int) 0 ; 
21406   int arg3 
= (int) 0 ; 
21407   wxString 
const &arg4_defvalue 
= wxPyEmptyString 
; 
21408   wxString 
*arg4 
= (wxString 
*) &arg4_defvalue 
; 
21409   wxMetaFileDC 
*result 
= 0 ; 
21410   bool temp1 
= false ; 
21415   bool temp4 
= false ; 
21416   PyObject 
* obj0 
= 0 ; 
21417   PyObject 
* obj1 
= 0 ; 
21418   PyObject 
* obj2 
= 0 ; 
21419   PyObject 
* obj3 
= 0 ; 
21420   char *  kwnames
[] = { 
21421     (char *) "filename",(char *) "width",(char *) "height",(char *) "description", NULL 
 
21424   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_MetaFileDC",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
; 
21427       arg1 
= wxString_in_helper(obj0
); 
21428       if (arg1 
== NULL
) SWIG_fail
; 
21433     ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
21434     if (!SWIG_IsOK(ecode2
)) { 
21435       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MetaFileDC" "', expected argument " "2"" of type '" "int""'"); 
21437     arg2 
= static_cast< int >(val2
); 
21440     ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
21441     if (!SWIG_IsOK(ecode3
)) { 
21442       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_MetaFileDC" "', expected argument " "3"" of type '" "int""'"); 
21444     arg3 
= static_cast< int >(val3
); 
21448       arg4 
= wxString_in_helper(obj3
); 
21449       if (arg4 
== NULL
) SWIG_fail
; 
21454     if (!wxPyCheckForApp()) SWIG_fail
; 
21455     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21456     result 
= (wxMetaFileDC 
*)new wxMetaFileDC((wxString 
const &)*arg1
,arg2
,arg3
,(wxString 
const &)*arg4
); 
21457     wxPyEndAllowThreads(__tstate
); 
21458     if (PyErr_Occurred()) SWIG_fail
; 
21460   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFileDC
, SWIG_POINTER_NEW 
|  0 ); 
21483 SWIGINTERN PyObject 
*_wrap_MetaFileDC_Close(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
21484   PyObject 
*resultobj 
= 0; 
21485   wxMetaFileDC 
*arg1 
= (wxMetaFileDC 
*) 0 ; 
21486   wxMetaFile 
*result 
= 0 ; 
21489   PyObject 
*swig_obj
[1] ; 
21491   if (!args
) SWIG_fail
; 
21492   swig_obj
[0] = args
; 
21493   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFileDC
, 0 |  0 ); 
21494   if (!SWIG_IsOK(res1
)) { 
21495     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFileDC_Close" "', expected argument " "1"" of type '" "wxMetaFileDC *""'");  
21497   arg1 
= reinterpret_cast< wxMetaFileDC 
* >(argp1
); 
21499     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21500     result 
= (wxMetaFile 
*)(arg1
)->Close(); 
21501     wxPyEndAllowThreads(__tstate
); 
21502     if (PyErr_Occurred()) SWIG_fail
; 
21504   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFile
, 0 |  0 ); 
21511 SWIGINTERN PyObject 
*MetaFileDC_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
21513   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
21514   SWIG_TypeNewClientData(SWIGTYPE_p_wxMetaFileDC
, SWIG_NewClientData(obj
)); 
21515   return SWIG_Py_Void(); 
21518 SWIGINTERN PyObject 
*MetaFileDC_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
21519   return SWIG_Python_InitShadowInstance(args
); 
21522 SWIGINTERN PyObject 
*_wrap_new_PrinterDC(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
21523   PyObject 
*resultobj 
= 0; 
21524   wxPrintData 
*arg1 
= 0 ; 
21525   wxPrinterDC 
*result 
= 0 ; 
21528   PyObject 
* obj0 
= 0 ; 
21529   char *  kwnames
[] = { 
21530     (char *) "printData", NULL 
 
21533   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PrinterDC",kwnames
,&obj0
)) SWIG_fail
; 
21534   res1 
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPrintData
,  0  | 0); 
21535   if (!SWIG_IsOK(res1
)) { 
21536     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrinterDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");  
21539     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrinterDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");  
21541   arg1 
= reinterpret_cast< wxPrintData 
* >(argp1
); 
21543     if (!wxPyCheckForApp()) SWIG_fail
; 
21544     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21545     result 
= (wxPrinterDC 
*)new wxPrinterDC((wxPrintData 
const &)*arg1
); 
21546     wxPyEndAllowThreads(__tstate
); 
21547     if (PyErr_Occurred()) SWIG_fail
; 
21549   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrinterDC
, SWIG_POINTER_NEW 
|  0 ); 
21556 SWIGINTERN PyObject 
*PrinterDC_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
21558   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
21559   SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinterDC
, SWIG_NewClientData(obj
)); 
21560   return SWIG_Py_Void(); 
21563 SWIGINTERN PyObject 
*PrinterDC_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
21564   return SWIG_Python_InitShadowInstance(args
); 
21567 SWIGINTERN PyObject 
*_wrap_new_ImageList(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
21568   PyObject 
*resultobj 
= 0; 
21571   int arg3 
= (int) true ; 
21572   int arg4 
= (int) 1 ; 
21573   wxImageList 
*result 
= 0 ; 
21582   PyObject 
* obj0 
= 0 ; 
21583   PyObject 
* obj1 
= 0 ; 
21584   PyObject 
* obj2 
= 0 ; 
21585   PyObject 
* obj3 
= 0 ; 
21586   char *  kwnames
[] = { 
21587     (char *) "width",(char *) "height",(char *) "mask",(char *) "initialCount", NULL 
 
21590   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_ImageList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
; 
21591   ecode1 
= SWIG_AsVal_int(obj0
, &val1
); 
21592   if (!SWIG_IsOK(ecode1
)) { 
21593     SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ImageList" "', expected argument " "1"" of type '" "int""'"); 
21595   arg1 
= static_cast< int >(val1
); 
21596   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
21597   if (!SWIG_IsOK(ecode2
)) { 
21598     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ImageList" "', expected argument " "2"" of type '" "int""'"); 
21600   arg2 
= static_cast< int >(val2
); 
21602     ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
21603     if (!SWIG_IsOK(ecode3
)) { 
21604       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ImageList" "', expected argument " "3"" of type '" "int""'"); 
21606     arg3 
= static_cast< int >(val3
); 
21609     ecode4 
= SWIG_AsVal_int(obj3
, &val4
); 
21610     if (!SWIG_IsOK(ecode4
)) { 
21611       SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ImageList" "', expected argument " "4"" of type '" "int""'"); 
21613     arg4 
= static_cast< int >(val4
); 
21616     if (!wxPyCheckForApp()) SWIG_fail
; 
21617     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21618     result 
= (wxImageList 
*)new wxImageList(arg1
,arg2
,arg3
,arg4
); 
21619     wxPyEndAllowThreads(__tstate
); 
21620     if (PyErr_Occurred()) SWIG_fail
; 
21623     resultobj 
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_NEW
);  
21631 SWIGINTERN PyObject 
*_wrap_delete_ImageList(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
21632   PyObject 
*resultobj 
= 0; 
21633   wxImageList 
*arg1 
= (wxImageList 
*) 0 ; 
21636   PyObject 
*swig_obj
[1] ; 
21638   if (!args
) SWIG_fail
; 
21639   swig_obj
[0] = args
; 
21640   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN 
|  0 ); 
21641   if (!SWIG_IsOK(res1
)) { 
21642     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ImageList" "', expected argument " "1"" of type '" "wxImageList *""'");  
21644   arg1 
= reinterpret_cast< wxImageList 
* >(argp1
); 
21646     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21649     wxPyEndAllowThreads(__tstate
); 
21650     if (PyErr_Occurred()) SWIG_fail
; 
21652   resultobj 
= SWIG_Py_Void(); 
21659 SWIGINTERN PyObject 
*_wrap_ImageList_Add(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
21660   PyObject 
*resultobj 
= 0; 
21661   wxImageList 
*arg1 
= (wxImageList 
*) 0 ; 
21662   wxBitmap 
*arg2 
= 0 ; 
21663   wxBitmap 
const &arg3_defvalue 
= wxNullBitmap 
; 
21664   wxBitmap 
*arg3 
= (wxBitmap 
*) &arg3_defvalue 
; 
21672   PyObject 
* obj0 
= 0 ; 
21673   PyObject 
* obj1 
= 0 ; 
21674   PyObject 
* obj2 
= 0 ; 
21675   char *  kwnames
[] = { 
21676     (char *) "self",(char *) "bitmap",(char *) "mask", NULL 
 
21679   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ImageList_Add",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
21680   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 |  0 ); 
21681   if (!SWIG_IsOK(res1
)) { 
21682     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Add" "', expected argument " "1"" of type '" "wxImageList *""'");  
21684   arg1 
= reinterpret_cast< wxImageList 
* >(argp1
); 
21685   res2 
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
,  0  | 0); 
21686   if (!SWIG_IsOK(res2
)) { 
21687     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_Add" "', expected argument " "2"" of type '" "wxBitmap const &""'");  
21690     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Add" "', expected argument " "2"" of type '" "wxBitmap const &""'");  
21692   arg2 
= reinterpret_cast< wxBitmap 
* >(argp2
); 
21694     res3 
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
,  0  | 0); 
21695     if (!SWIG_IsOK(res3
)) { 
21696       SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Add" "', expected argument " "3"" of type '" "wxBitmap const &""'");  
21699       SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Add" "', expected argument " "3"" of type '" "wxBitmap const &""'");  
21701     arg3 
= reinterpret_cast< wxBitmap 
* >(argp3
); 
21704     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21705     result 
= (int)(arg1
)->Add((wxBitmap 
const &)*arg2
,(wxBitmap 
const &)*arg3
); 
21706     wxPyEndAllowThreads(__tstate
); 
21707     if (PyErr_Occurred()) SWIG_fail
; 
21709   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
21716 SWIGINTERN PyObject 
*_wrap_ImageList_AddWithColourMask(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
21717   PyObject 
*resultobj 
= 0; 
21718   wxImageList 
*arg1 
= (wxImageList 
*) 0 ; 
21719   wxBitmap 
*arg2 
= 0 ; 
21720   wxColour 
*arg3 
= 0 ; 
21727   PyObject 
* obj0 
= 0 ; 
21728   PyObject 
* obj1 
= 0 ; 
21729   PyObject 
* obj2 
= 0 ; 
21730   char *  kwnames
[] = { 
21731     (char *) "self",(char *) "bitmap",(char *) "maskColour", NULL 
 
21734   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_AddWithColourMask",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
21735   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 |  0 ); 
21736   if (!SWIG_IsOK(res1
)) { 
21737     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_AddWithColourMask" "', expected argument " "1"" of type '" "wxImageList *""'");  
21739   arg1 
= reinterpret_cast< wxImageList 
* >(argp1
); 
21740   res2 
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
,  0  | 0); 
21741   if (!SWIG_IsOK(res2
)) { 
21742     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_AddWithColourMask" "', expected argument " "2"" of type '" "wxBitmap const &""'");  
21745     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_AddWithColourMask" "', expected argument " "2"" of type '" "wxBitmap const &""'");  
21747   arg2 
= reinterpret_cast< wxBitmap 
* >(argp2
); 
21750     if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
; 
21753     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21754     result 
= (int)(arg1
)->Add((wxBitmap 
const &)*arg2
,(wxColour 
const &)*arg3
); 
21755     wxPyEndAllowThreads(__tstate
); 
21756     if (PyErr_Occurred()) SWIG_fail
; 
21758   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
21765 SWIGINTERN PyObject 
*_wrap_ImageList_AddIcon(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
21766   PyObject 
*resultobj 
= 0; 
21767   wxImageList 
*arg1 
= (wxImageList 
*) 0 ; 
21774   PyObject 
* obj0 
= 0 ; 
21775   PyObject 
* obj1 
= 0 ; 
21776   char *  kwnames
[] = { 
21777     (char *) "self",(char *) "icon", NULL 
 
21780   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_AddIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
21781   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 |  0 ); 
21782   if (!SWIG_IsOK(res1
)) { 
21783     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_AddIcon" "', expected argument " "1"" of type '" "wxImageList *""'");  
21785   arg1 
= reinterpret_cast< wxImageList 
* >(argp1
); 
21786   res2 
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
,  0  | 0); 
21787   if (!SWIG_IsOK(res2
)) { 
21788     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");  
21791     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");  
21793   arg2 
= reinterpret_cast< wxIcon 
* >(argp2
); 
21795     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21796     result 
= (int)(arg1
)->Add((wxIcon 
const &)*arg2
); 
21797     wxPyEndAllowThreads(__tstate
); 
21798     if (PyErr_Occurred()) SWIG_fail
; 
21800   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
21807 SWIGINTERN PyObject 
*_wrap_ImageList_GetBitmap(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
21808   PyObject 
*resultobj 
= 0; 
21809   wxImageList 
*arg1 
= (wxImageList 
*) 0 ; 
21811   SwigValueWrapper
<wxBitmap 
> result
; 
21816   PyObject 
* obj0 
= 0 ; 
21817   PyObject 
* obj1 
= 0 ; 
21818   char *  kwnames
[] = { 
21819     (char *) "self",(char *) "index", NULL 
 
21822   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
21823   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 |  0 ); 
21824   if (!SWIG_IsOK(res1
)) { 
21825     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetBitmap" "', expected argument " "1"" of type '" "wxImageList const *""'");  
21827   arg1 
= reinterpret_cast< wxImageList 
* >(argp1
); 
21828   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
21829   if (!SWIG_IsOK(ecode2
)) { 
21830     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetBitmap" "', expected argument " "2"" of type '" "int""'"); 
21832   arg2 
= static_cast< int >(val2
); 
21834     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21835     result 
= ((wxImageList 
const *)arg1
)->GetBitmap(arg2
); 
21836     wxPyEndAllowThreads(__tstate
); 
21837     if (PyErr_Occurred()) SWIG_fail
; 
21839   resultobj 
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN 
|  0 ); 
21846 SWIGINTERN PyObject 
*_wrap_ImageList_GetIcon(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
21847   PyObject 
*resultobj 
= 0; 
21848   wxImageList 
*arg1 
= (wxImageList 
*) 0 ; 
21855   PyObject 
* obj0 
= 0 ; 
21856   PyObject 
* obj1 
= 0 ; 
21857   char *  kwnames
[] = { 
21858     (char *) "self",(char *) "index", NULL 
 
21861   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
21862   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 |  0 ); 
21863   if (!SWIG_IsOK(res1
)) { 
21864     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetIcon" "', expected argument " "1"" of type '" "wxImageList const *""'");  
21866   arg1 
= reinterpret_cast< wxImageList 
* >(argp1
); 
21867   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
21868   if (!SWIG_IsOK(ecode2
)) { 
21869     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetIcon" "', expected argument " "2"" of type '" "int""'"); 
21871   arg2 
= static_cast< int >(val2
); 
21873     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21874     result 
= ((wxImageList 
const *)arg1
)->GetIcon(arg2
); 
21875     wxPyEndAllowThreads(__tstate
); 
21876     if (PyErr_Occurred()) SWIG_fail
; 
21878   resultobj 
= SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon
& >(result
))), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN 
|  0 ); 
21885 SWIGINTERN PyObject 
*_wrap_ImageList_Replace(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
21886   PyObject 
*resultobj 
= 0; 
21887   wxImageList 
*arg1 
= (wxImageList 
*) 0 ; 
21889   wxBitmap 
*arg3 
= 0 ; 
21890   wxBitmap 
const &arg4_defvalue 
= wxNullBitmap 
; 
21891   wxBitmap 
*arg4 
= (wxBitmap 
*) &arg4_defvalue 
; 
21901   PyObject 
* obj0 
= 0 ; 
21902   PyObject 
* obj1 
= 0 ; 
21903   PyObject 
* obj2 
= 0 ; 
21904   PyObject 
* obj3 
= 0 ; 
21905   char *  kwnames
[] = { 
21906     (char *) "self",(char *) "index",(char *) "bitmap",(char *) "mask", NULL 
 
21909   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ImageList_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
; 
21910   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 |  0 ); 
21911   if (!SWIG_IsOK(res1
)) { 
21912     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Replace" "', expected argument " "1"" of type '" "wxImageList *""'");  
21914   arg1 
= reinterpret_cast< wxImageList 
* >(argp1
); 
21915   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
21916   if (!SWIG_IsOK(ecode2
)) { 
21917     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Replace" "', expected argument " "2"" of type '" "int""'"); 
21919   arg2 
= static_cast< int >(val2
); 
21920   res3 
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
,  0  | 0); 
21921   if (!SWIG_IsOK(res3
)) { 
21922     SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Replace" "', expected argument " "3"" of type '" "wxBitmap const &""'");  
21925     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Replace" "', expected argument " "3"" of type '" "wxBitmap const &""'");  
21927   arg3 
= reinterpret_cast< wxBitmap 
* >(argp3
); 
21929     res4 
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
,  0  | 0); 
21930     if (!SWIG_IsOK(res4
)) { 
21931       SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "ImageList_Replace" "', expected argument " "4"" of type '" "wxBitmap const &""'");  
21934       SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Replace" "', expected argument " "4"" of type '" "wxBitmap const &""'");  
21936     arg4 
= reinterpret_cast< wxBitmap 
* >(argp4
); 
21939     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21940     result 
= (bool)(arg1
)->Replace(arg2
,(wxBitmap 
const &)*arg3
,(wxBitmap 
const &)*arg4
); 
21941     wxPyEndAllowThreads(__tstate
); 
21942     if (PyErr_Occurred()) SWIG_fail
; 
21945     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
21953 SWIGINTERN PyObject 
*_wrap_ImageList_Draw(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
21954   PyObject 
*resultobj 
= 0; 
21955   wxImageList 
*arg1 
= (wxImageList 
*) 0 ; 
21960   int arg6 
= (int) wxIMAGELIST_DRAW_NORMAL 
; 
21961   bool arg7 
= (bool) (bool)false ; 
21977   PyObject 
* obj0 
= 0 ; 
21978   PyObject 
* obj1 
= 0 ; 
21979   PyObject 
* obj2 
= 0 ; 
21980   PyObject 
* obj3 
= 0 ; 
21981   PyObject 
* obj4 
= 0 ; 
21982   PyObject 
* obj5 
= 0 ; 
21983   PyObject 
* obj6 
= 0 ; 
21984   char *  kwnames
[] = { 
21985     (char *) "self",(char *) "index",(char *) "dc",(char *) "x",(char *) "x",(char *) "flags",(char *) "solidBackground", NULL 
 
21988   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:ImageList_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
; 
21989   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 |  0 ); 
21990   if (!SWIG_IsOK(res1
)) { 
21991     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Draw" "', expected argument " "1"" of type '" "wxImageList *""'");  
21993   arg1 
= reinterpret_cast< wxImageList 
* >(argp1
); 
21994   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
21995   if (!SWIG_IsOK(ecode2
)) { 
21996     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Draw" "', expected argument " "2"" of type '" "int""'"); 
21998   arg2 
= static_cast< int >(val2
); 
21999   res3 
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
,  0 ); 
22000   if (!SWIG_IsOK(res3
)) { 
22001     SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Draw" "', expected argument " "3"" of type '" "wxDC &""'");  
22004     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Draw" "', expected argument " "3"" of type '" "wxDC &""'");  
22006   arg3 
= reinterpret_cast< wxDC 
* >(argp3
); 
22007   ecode4 
= SWIG_AsVal_int(obj3
, &val4
); 
22008   if (!SWIG_IsOK(ecode4
)) { 
22009     SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ImageList_Draw" "', expected argument " "4"" of type '" "int""'"); 
22011   arg4 
= static_cast< int >(val4
); 
22012   ecode5 
= SWIG_AsVal_int(obj4
, &val5
); 
22013   if (!SWIG_IsOK(ecode5
)) { 
22014     SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ImageList_Draw" "', expected argument " "5"" of type '" "int""'"); 
22016   arg5 
= static_cast< int >(val5
); 
22018     ecode6 
= SWIG_AsVal_int(obj5
, &val6
); 
22019     if (!SWIG_IsOK(ecode6
)) { 
22020       SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ImageList_Draw" "', expected argument " "6"" of type '" "int""'"); 
22022     arg6 
= static_cast< int >(val6
); 
22025     ecode7 
= SWIG_AsVal_bool(obj6
, &val7
); 
22026     if (!SWIG_IsOK(ecode7
)) { 
22027       SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ImageList_Draw" "', expected argument " "7"" of type '" "bool""'"); 
22029     arg7 
= static_cast< bool >(val7
); 
22032     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22033     result 
= (bool)(arg1
)->Draw(arg2
,*arg3
,arg4
,arg5
,arg6
,arg7
); 
22034     wxPyEndAllowThreads(__tstate
); 
22035     if (PyErr_Occurred()) SWIG_fail
; 
22038     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
22046 SWIGINTERN PyObject 
*_wrap_ImageList_GetImageCount(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
22047   PyObject 
*resultobj 
= 0; 
22048   wxImageList 
*arg1 
= (wxImageList 
*) 0 ; 
22052   PyObject 
*swig_obj
[1] ; 
22054   if (!args
) SWIG_fail
; 
22055   swig_obj
[0] = args
; 
22056   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, 0 |  0 ); 
22057   if (!SWIG_IsOK(res1
)) { 
22058     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetImageCount" "', expected argument " "1"" of type '" "wxImageList *""'");  
22060   arg1 
= reinterpret_cast< wxImageList 
* >(argp1
); 
22062     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22063     result 
= (int)(arg1
)->GetImageCount(); 
22064     wxPyEndAllowThreads(__tstate
); 
22065     if (PyErr_Occurred()) SWIG_fail
; 
22067   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
22074 SWIGINTERN PyObject 
*_wrap_ImageList_Remove(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
22075   PyObject 
*resultobj 
= 0; 
22076   wxImageList 
*arg1 
= (wxImageList 
*) 0 ; 
22083   PyObject 
* obj0 
= 0 ; 
22084   PyObject 
* obj1 
= 0 ; 
22085   char *  kwnames
[] = { 
22086     (char *) "self",(char *) "index", NULL 
 
22089   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_Remove",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
22090   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 |  0 ); 
22091   if (!SWIG_IsOK(res1
)) { 
22092     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Remove" "', expected argument " "1"" of type '" "wxImageList *""'");  
22094   arg1 
= reinterpret_cast< wxImageList 
* >(argp1
); 
22095   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
22096   if (!SWIG_IsOK(ecode2
)) { 
22097     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Remove" "', expected argument " "2"" of type '" "int""'"); 
22099   arg2 
= static_cast< int >(val2
); 
22101     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22102     result 
= (bool)(arg1
)->Remove(arg2
); 
22103     wxPyEndAllowThreads(__tstate
); 
22104     if (PyErr_Occurred()) SWIG_fail
; 
22107     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
22115 SWIGINTERN PyObject 
*_wrap_ImageList_RemoveAll(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
22116   PyObject 
*resultobj 
= 0; 
22117   wxImageList 
*arg1 
= (wxImageList 
*) 0 ; 
22121   PyObject 
*swig_obj
[1] ; 
22123   if (!args
) SWIG_fail
; 
22124   swig_obj
[0] = args
; 
22125   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, 0 |  0 ); 
22126   if (!SWIG_IsOK(res1
)) { 
22127     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_RemoveAll" "', expected argument " "1"" of type '" "wxImageList *""'");  
22129   arg1 
= reinterpret_cast< wxImageList 
* >(argp1
); 
22131     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22132     result 
= (bool)(arg1
)->RemoveAll(); 
22133     wxPyEndAllowThreads(__tstate
); 
22134     if (PyErr_Occurred()) SWIG_fail
; 
22137     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
22145 SWIGINTERN PyObject 
*_wrap_ImageList_GetSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
22146   PyObject 
*resultobj 
= 0; 
22147   wxImageList 
*arg1 
= (wxImageList 
*) 0 ; 
22156   int res3 
= SWIG_TMPOBJ 
; 
22158   int res4 
= SWIG_TMPOBJ 
; 
22159   PyObject 
* obj0 
= 0 ; 
22160   PyObject 
* obj1 
= 0 ; 
22161   char *  kwnames
[] = { 
22162     (char *) "self",(char *) "index", NULL 
 
22167   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
22168   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 |  0 ); 
22169   if (!SWIG_IsOK(res1
)) { 
22170     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetSize" "', expected argument " "1"" of type '" "wxImageList *""'");  
22172   arg1 
= reinterpret_cast< wxImageList 
* >(argp1
); 
22173   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
22174   if (!SWIG_IsOK(ecode2
)) { 
22175     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetSize" "', expected argument " "2"" of type '" "int""'"); 
22177   arg2 
= static_cast< int >(val2
); 
22179     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22180     (arg1
)->GetSize(arg2
,*arg3
,*arg4
); 
22181     wxPyEndAllowThreads(__tstate
); 
22182     if (PyErr_Occurred()) SWIG_fail
; 
22184   resultobj 
= SWIG_Py_Void(); 
22185   if (SWIG_IsTmpObj(res3
)) { 
22186     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
))); 
22188     int new_flags 
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
22189     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
)); 
22191   if (SWIG_IsTmpObj(res4
)) { 
22192     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
))); 
22194     int new_flags 
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
22195     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
)); 
22203 SWIGINTERN PyObject 
*ImageList_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
22205   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
22206   SWIG_TypeNewClientData(SWIGTYPE_p_wxImageList
, SWIG_NewClientData(obj
)); 
22207   return SWIG_Py_Void(); 
22210 SWIGINTERN PyObject 
*ImageList_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
22211   return SWIG_Python_InitShadowInstance(args
); 
22214 SWIGINTERN PyObject 
*_wrap_new_StockGDI(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
22215   PyObject 
*resultobj 
= 0; 
22216   wxStockGDI 
*result 
= 0 ; 
22218   if (!SWIG_Python_UnpackTuple(args
,"new_StockGDI",0,0,0)) SWIG_fail
; 
22220     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22221     result 
= (wxStockGDI 
*)new wxStockGDI(); 
22222     wxPyEndAllowThreads(__tstate
); 
22223     if (PyErr_Occurred()) SWIG_fail
; 
22225   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStockGDI
, SWIG_POINTER_NEW 
|  0 ); 
22232 SWIGINTERN PyObject 
*_wrap_delete_StockGDI(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
22233   PyObject 
*resultobj 
= 0; 
22234   wxStockGDI 
*arg1 
= (wxStockGDI 
*) 0 ; 
22237   PyObject 
*swig_obj
[1] ; 
22239   if (!args
) SWIG_fail
; 
22240   swig_obj
[0] = args
; 
22241   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStockGDI
, SWIG_POINTER_DISOWN 
|  0 ); 
22242   if (!SWIG_IsOK(res1
)) { 
22243     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_StockGDI" "', expected argument " "1"" of type '" "wxStockGDI *""'");  
22245   arg1 
= reinterpret_cast< wxStockGDI 
* >(argp1
); 
22247     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22250     wxPyEndAllowThreads(__tstate
); 
22251     if (PyErr_Occurred()) SWIG_fail
; 
22253   resultobj 
= SWIG_Py_Void(); 
22260 SWIGINTERN PyObject 
*_wrap_StockGDI_DeleteAll(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
22261   PyObject 
*resultobj 
= 0; 
22263   if (!SWIG_Python_UnpackTuple(args
,"StockGDI_DeleteAll",0,0,0)) SWIG_fail
; 
22265     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22266     wxStockGDI::DeleteAll(); 
22267     wxPyEndAllowThreads(__tstate
); 
22268     if (PyErr_Occurred()) SWIG_fail
; 
22270   resultobj 
= SWIG_Py_Void(); 
22277 SWIGINTERN PyObject 
*_wrap_StockGDI_instance(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
22278   PyObject 
*resultobj 
= 0; 
22279   wxStockGDI 
*result 
= 0 ; 
22281   if (!SWIG_Python_UnpackTuple(args
,"StockGDI_instance",0,0,0)) SWIG_fail
; 
22283     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22285       wxStockGDI 
&_result_ref 
= wxStockGDI::instance(); 
22286       result 
= (wxStockGDI 
*) &_result_ref
; 
22288     wxPyEndAllowThreads(__tstate
); 
22289     if (PyErr_Occurred()) SWIG_fail
; 
22291   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStockGDI
, 0 |  0 ); 
22298 SWIGINTERN PyObject 
*_wrap_StockGDI_GetBrush(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
22299   PyObject 
*resultobj 
= 0; 
22300   wxStockGDI::Item arg1 
; 
22301   wxBrush 
*result 
= 0 ; 
22304   PyObject 
* obj0 
= 0 ; 
22305   char *  kwnames
[] = { 
22306     (char *) "item", NULL 
 
22309   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetBrush",kwnames
,&obj0
)) SWIG_fail
; 
22310   ecode1 
= SWIG_AsVal_int(obj0
, &val1
); 
22311   if (!SWIG_IsOK(ecode1
)) { 
22312     SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetBrush" "', expected argument " "1"" of type '" "wxStockGDI::Item""'"); 
22314   arg1 
= static_cast< wxStockGDI::Item 
>(val1
); 
22316     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22317     result 
= (wxBrush 
*)wxStockGDI::GetBrush(arg1
); 
22318     wxPyEndAllowThreads(__tstate
); 
22319     if (PyErr_Occurred()) SWIG_fail
; 
22321   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, 0 |  0 ); 
22328 SWIGINTERN PyObject 
*_wrap_StockGDI_GetColour(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
22329   PyObject 
*resultobj 
= 0; 
22330   wxStockGDI::Item arg1 
; 
22331   wxColour 
*result 
= 0 ; 
22334   PyObject 
* obj0 
= 0 ; 
22335   char *  kwnames
[] = { 
22336     (char *) "item", NULL 
 
22339   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetColour",kwnames
,&obj0
)) SWIG_fail
; 
22340   ecode1 
= SWIG_AsVal_int(obj0
, &val1
); 
22341   if (!SWIG_IsOK(ecode1
)) { 
22342     SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetColour" "', expected argument " "1"" of type '" "wxStockGDI::Item""'"); 
22344   arg1 
= static_cast< wxStockGDI::Item 
>(val1
); 
22346     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22347     result 
= (wxColour 
*)wxStockGDI::GetColour(arg1
); 
22348     wxPyEndAllowThreads(__tstate
); 
22349     if (PyErr_Occurred()) SWIG_fail
; 
22351   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 |  0 ); 
22358 SWIGINTERN PyObject 
*_wrap_StockGDI_GetCursor(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
22359   PyObject 
*resultobj 
= 0; 
22360   wxStockGDI::Item arg1 
; 
22361   wxCursor 
*result 
= 0 ; 
22364   PyObject 
* obj0 
= 0 ; 
22365   char *  kwnames
[] = { 
22366     (char *) "item", NULL 
 
22369   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetCursor",kwnames
,&obj0
)) SWIG_fail
; 
22370   ecode1 
= SWIG_AsVal_int(obj0
, &val1
); 
22371   if (!SWIG_IsOK(ecode1
)) { 
22372     SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetCursor" "', expected argument " "1"" of type '" "wxStockGDI::Item""'"); 
22374   arg1 
= static_cast< wxStockGDI::Item 
>(val1
); 
22376     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22377     result 
= (wxCursor 
*)wxStockGDI::GetCursor(arg1
); 
22378     wxPyEndAllowThreads(__tstate
); 
22379     if (PyErr_Occurred()) SWIG_fail
; 
22381   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, 0 |  0 ); 
22388 SWIGINTERN PyObject 
*_wrap_StockGDI_GetPen(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
22389   PyObject 
*resultobj 
= 0; 
22390   wxStockGDI::Item arg1 
; 
22391   wxPen 
*result 
= 0 ; 
22394   PyObject 
* obj0 
= 0 ; 
22395   char *  kwnames
[] = { 
22396     (char *) "item", NULL 
 
22399   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetPen",kwnames
,&obj0
)) SWIG_fail
; 
22400   ecode1 
= SWIG_AsVal_int(obj0
, &val1
); 
22401   if (!SWIG_IsOK(ecode1
)) { 
22402     SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetPen" "', expected argument " "1"" of type '" "wxStockGDI::Item""'"); 
22404   arg1 
= static_cast< wxStockGDI::Item 
>(val1
); 
22406     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22407     result 
= (wxPen 
*)wxStockGDI::GetPen(arg1
); 
22408     wxPyEndAllowThreads(__tstate
); 
22409     if (PyErr_Occurred()) SWIG_fail
; 
22411   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, 0 |  0 ); 
22418 SWIGINTERN PyObject 
*_wrap_StockGDI_GetFont(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
22419   PyObject 
*resultobj 
= 0; 
22420   wxStockGDI 
*arg1 
= (wxStockGDI 
*) 0 ; 
22421   wxStockGDI::Item arg2 
; 
22422   wxFont 
*result 
= 0 ; 
22427   PyObject 
* obj0 
= 0 ; 
22428   PyObject 
* obj1 
= 0 ; 
22429   char *  kwnames
[] = { 
22430     (char *) "self",(char *) "item", NULL 
 
22433   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StockGDI_GetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
22434   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStockGDI
, 0 |  0 ); 
22435   if (!SWIG_IsOK(res1
)) { 
22436     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StockGDI_GetFont" "', expected argument " "1"" of type '" "wxStockGDI *""'");  
22438   arg1 
= reinterpret_cast< wxStockGDI 
* >(argp1
); 
22439   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
22440   if (!SWIG_IsOK(ecode2
)) { 
22441     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StockGDI_GetFont" "', expected argument " "2"" of type '" "wxStockGDI::Item""'"); 
22443   arg2 
= static_cast< wxStockGDI::Item 
>(val2
); 
22445     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22446     result 
= (wxFont 
*)(arg1
)->GetFont(arg2
); 
22447     wxPyEndAllowThreads(__tstate
); 
22448     if (PyErr_Occurred()) SWIG_fail
; 
22450   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 |  0 ); 
22457 SWIGINTERN PyObject 
*StockGDI_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
22459   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
22460   SWIG_TypeNewClientData(SWIGTYPE_p_wxStockGDI
, SWIG_NewClientData(obj
)); 
22461   return SWIG_Py_Void(); 
22464 SWIGINTERN PyObject 
*StockGDI_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
22465   return SWIG_Python_InitShadowInstance(args
); 
22468 SWIGINTERN 
int NullBitmap_set(PyObject 
*) { 
22469   SWIG_Error(SWIG_AttributeError
,"Variable NullBitmap is read-only."); 
22474 SWIGINTERN PyObject 
*NullBitmap_get(void) { 
22475   PyObject 
*pyobj 
= 0; 
22477   pyobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullBitmap
), SWIGTYPE_p_wxBitmap
,  0 ); 
22482 SWIGINTERN 
int NullIcon_set(PyObject 
*) { 
22483   SWIG_Error(SWIG_AttributeError
,"Variable NullIcon is read-only."); 
22488 SWIGINTERN PyObject 
*NullIcon_get(void) { 
22489   PyObject 
*pyobj 
= 0; 
22491   pyobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullIcon
), SWIGTYPE_p_wxIcon
,  0 ); 
22496 SWIGINTERN 
int NullCursor_set(PyObject 
*) { 
22497   SWIG_Error(SWIG_AttributeError
,"Variable NullCursor is read-only."); 
22502 SWIGINTERN PyObject 
*NullCursor_get(void) { 
22503   PyObject 
*pyobj 
= 0; 
22505   pyobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullCursor
), SWIGTYPE_p_wxCursor
,  0 ); 
22510 SWIGINTERN 
int NullPen_set(PyObject 
*) { 
22511   SWIG_Error(SWIG_AttributeError
,"Variable NullPen is read-only."); 
22516 SWIGINTERN PyObject 
*NullPen_get(void) { 
22517   PyObject 
*pyobj 
= 0; 
22519   pyobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullPen
), SWIGTYPE_p_wxPen
,  0 ); 
22524 SWIGINTERN 
int NullBrush_set(PyObject 
*) { 
22525   SWIG_Error(SWIG_AttributeError
,"Variable NullBrush is read-only."); 
22530 SWIGINTERN PyObject 
*NullBrush_get(void) { 
22531   PyObject 
*pyobj 
= 0; 
22533   pyobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullBrush
), SWIGTYPE_p_wxBrush
,  0 ); 
22538 SWIGINTERN 
int NullPalette_set(PyObject 
*) { 
22539   SWIG_Error(SWIG_AttributeError
,"Variable NullPalette is read-only."); 
22544 SWIGINTERN PyObject 
*NullPalette_get(void) { 
22545   PyObject 
*pyobj 
= 0; 
22547   pyobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullPalette
), SWIGTYPE_p_wxPalette
,  0 ); 
22552 SWIGINTERN 
int NullFont_set(PyObject 
*) { 
22553   SWIG_Error(SWIG_AttributeError
,"Variable NullFont is read-only."); 
22558 SWIGINTERN PyObject 
*NullFont_get(void) { 
22559   PyObject 
*pyobj 
= 0; 
22561   pyobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullFont
), SWIGTYPE_p_wxFont
,  0 ); 
22566 SWIGINTERN 
int NullColour_set(PyObject 
*) { 
22567   SWIG_Error(SWIG_AttributeError
,"Variable NullColour is read-only."); 
22572 SWIGINTERN PyObject 
*NullColour_get(void) { 
22573   PyObject 
*pyobj 
= 0; 
22575   pyobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullColour
), SWIGTYPE_p_wxColour
,  0 ); 
22580 SWIGINTERN PyObject 
*_wrap_new_GDIObjListBase(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
22581   PyObject 
*resultobj 
= 0; 
22582   wxGDIObjListBase 
*result 
= 0 ; 
22584   if (!SWIG_Python_UnpackTuple(args
,"new_GDIObjListBase",0,0,0)) SWIG_fail
; 
22586     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22587     result 
= (wxGDIObjListBase 
*)new wxGDIObjListBase(); 
22588     wxPyEndAllowThreads(__tstate
); 
22589     if (PyErr_Occurred()) SWIG_fail
; 
22591   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGDIObjListBase
, SWIG_POINTER_NEW 
|  0 ); 
22598 SWIGINTERN PyObject 
*_wrap_delete_GDIObjListBase(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
22599   PyObject 
*resultobj 
= 0; 
22600   wxGDIObjListBase 
*arg1 
= (wxGDIObjListBase 
*) 0 ; 
22603   PyObject 
*swig_obj
[1] ; 
22605   if (!args
) SWIG_fail
; 
22606   swig_obj
[0] = args
; 
22607   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObjListBase
, SWIG_POINTER_DISOWN 
|  0 ); 
22608   if (!SWIG_IsOK(res1
)) { 
22609     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GDIObjListBase" "', expected argument " "1"" of type '" "wxGDIObjListBase *""'");  
22611   arg1 
= reinterpret_cast< wxGDIObjListBase 
* >(argp1
); 
22613     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22616     wxPyEndAllowThreads(__tstate
); 
22617     if (PyErr_Occurred()) SWIG_fail
; 
22619   resultobj 
= SWIG_Py_Void(); 
22626 SWIGINTERN PyObject 
*GDIObjListBase_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
22628   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
22629   SWIG_TypeNewClientData(SWIGTYPE_p_wxGDIObjListBase
, SWIG_NewClientData(obj
)); 
22630   return SWIG_Py_Void(); 
22633 SWIGINTERN PyObject 
*GDIObjListBase_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
22634   return SWIG_Python_InitShadowInstance(args
); 
22637 SWIGINTERN PyObject 
*_wrap_PenList_FindOrCreatePen(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
22638   PyObject 
*resultobj 
= 0; 
22639   wxPenList 
*arg1 
= (wxPenList 
*) 0 ; 
22640   wxColour 
*arg2 
= 0 ; 
22643   wxPen 
*result 
= 0 ; 
22651   PyObject 
* obj0 
= 0 ; 
22652   PyObject 
* obj1 
= 0 ; 
22653   PyObject 
* obj2 
= 0 ; 
22654   PyObject 
* obj3 
= 0 ; 
22655   char *  kwnames
[] = { 
22656     (char *) "self",(char *) "colour",(char *) "width",(char *) "style", NULL 
 
22659   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PenList_FindOrCreatePen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
; 
22660   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 |  0 ); 
22661   if (!SWIG_IsOK(res1
)) { 
22662     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "1"" of type '" "wxPenList *""'");  
22664   arg1 
= reinterpret_cast< wxPenList 
* >(argp1
); 
22667     if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
22669   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
22670   if (!SWIG_IsOK(ecode3
)) { 
22671     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "3"" of type '" "int""'"); 
22673   arg3 
= static_cast< int >(val3
); 
22674   ecode4 
= SWIG_AsVal_int(obj3
, &val4
); 
22675   if (!SWIG_IsOK(ecode4
)) { 
22676     SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "4"" of type '" "int""'"); 
22678   arg4 
= static_cast< int >(val4
); 
22680     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22681     result 
= (wxPen 
*)(arg1
)->FindOrCreatePen((wxColour 
const &)*arg2
,arg3
,arg4
); 
22682     wxPyEndAllowThreads(__tstate
); 
22683     if (PyErr_Occurred()) SWIG_fail
; 
22685   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, 0 |  0 ); 
22692 SWIGINTERN PyObject 
*_wrap_PenList_AddPen(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
22693   PyObject 
*resultobj 
= 0; 
22694   wxPenList 
*arg1 
= (wxPenList 
*) 0 ; 
22695   wxPen 
*arg2 
= (wxPen 
*) 0 ; 
22700   PyObject 
* obj0 
= 0 ; 
22701   PyObject 
* obj1 
= 0 ; 
22702   char *  kwnames
[] = { 
22703     (char *) "self",(char *) "pen", NULL 
 
22706   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_AddPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
22707   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 |  0 ); 
22708   if (!SWIG_IsOK(res1
)) { 
22709     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_AddPen" "', expected argument " "1"" of type '" "wxPenList *""'");  
22711   arg1 
= reinterpret_cast< wxPenList 
* >(argp1
); 
22712   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 |  0 ); 
22713   if (!SWIG_IsOK(res2
)) { 
22714     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PenList_AddPen" "', expected argument " "2"" of type '" "wxPen *""'");  
22716   arg2 
= reinterpret_cast< wxPen 
* >(argp2
); 
22718     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22719     (arg1
)->AddPen(arg2
); 
22720     wxPyEndAllowThreads(__tstate
); 
22721     if (PyErr_Occurred()) SWIG_fail
; 
22723   resultobj 
= SWIG_Py_Void(); 
22730 SWIGINTERN PyObject 
*_wrap_PenList_RemovePen(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
22731   PyObject 
*resultobj 
= 0; 
22732   wxPenList 
*arg1 
= (wxPenList 
*) 0 ; 
22733   wxPen 
*arg2 
= (wxPen 
*) 0 ; 
22738   PyObject 
* obj0 
= 0 ; 
22739   PyObject 
* obj1 
= 0 ; 
22740   char *  kwnames
[] = { 
22741     (char *) "self",(char *) "pen", NULL 
 
22744   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_RemovePen",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
22745   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 |  0 ); 
22746   if (!SWIG_IsOK(res1
)) { 
22747     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_RemovePen" "', expected argument " "1"" of type '" "wxPenList *""'");  
22749   arg1 
= reinterpret_cast< wxPenList 
* >(argp1
); 
22750   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 |  0 ); 
22751   if (!SWIG_IsOK(res2
)) { 
22752     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PenList_RemovePen" "', expected argument " "2"" of type '" "wxPen *""'");  
22754   arg2 
= reinterpret_cast< wxPen 
* >(argp2
); 
22756     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22757     (arg1
)->RemovePen(arg2
); 
22758     wxPyEndAllowThreads(__tstate
); 
22759     if (PyErr_Occurred()) SWIG_fail
; 
22761   resultobj 
= SWIG_Py_Void(); 
22768 SWIGINTERN PyObject 
*PenList_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
22770   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
22771   SWIG_TypeNewClientData(SWIGTYPE_p_wxPenList
, SWIG_NewClientData(obj
)); 
22772   return SWIG_Py_Void(); 
22775 SWIGINTERN PyObject 
*_wrap_BrushList_FindOrCreateBrush(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
22776   PyObject 
*resultobj 
= 0; 
22777   wxBrushList 
*arg1 
= (wxBrushList 
*) 0 ; 
22778   wxColour 
*arg2 
= 0 ; 
22779   int arg3 
= (int) wxSOLID 
; 
22780   wxBrush 
*result 
= 0 ; 
22786   PyObject 
* obj0 
= 0 ; 
22787   PyObject 
* obj1 
= 0 ; 
22788   PyObject 
* obj2 
= 0 ; 
22789   char *  kwnames
[] = { 
22790     (char *) "self",(char *) "colour",(char *) "style", NULL 
 
22793   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:BrushList_FindOrCreateBrush",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
22794   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 |  0 ); 
22795   if (!SWIG_IsOK(res1
)) { 
22796     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_FindOrCreateBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");  
22798   arg1 
= reinterpret_cast< wxBrushList 
* >(argp1
); 
22801     if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
22804     ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
22805     if (!SWIG_IsOK(ecode3
)) { 
22806       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BrushList_FindOrCreateBrush" "', expected argument " "3"" of type '" "int""'"); 
22808     arg3 
= static_cast< int >(val3
); 
22811     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22812     result 
= (wxBrush 
*)(arg1
)->FindOrCreateBrush((wxColour 
const &)*arg2
,arg3
); 
22813     wxPyEndAllowThreads(__tstate
); 
22814     if (PyErr_Occurred()) SWIG_fail
; 
22816   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, 0 |  0 ); 
22823 SWIGINTERN PyObject 
*_wrap_BrushList_AddBrush(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
22824   PyObject 
*resultobj 
= 0; 
22825   wxBrushList 
*arg1 
= (wxBrushList 
*) 0 ; 
22826   wxBrush 
*arg2 
= (wxBrush 
*) 0 ; 
22831   PyObject 
* obj0 
= 0 ; 
22832   PyObject 
* obj1 
= 0 ; 
22833   char *  kwnames
[] = { 
22834     (char *) "self",(char *) "brush", NULL 
 
22837   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_AddBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
22838   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 |  0 ); 
22839   if (!SWIG_IsOK(res1
)) { 
22840     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_AddBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");  
22842   arg1 
= reinterpret_cast< wxBrushList 
* >(argp1
); 
22843   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBrush
, 0 |  0 ); 
22844   if (!SWIG_IsOK(res2
)) { 
22845     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BrushList_AddBrush" "', expected argument " "2"" of type '" "wxBrush *""'");  
22847   arg2 
= reinterpret_cast< wxBrush 
* >(argp2
); 
22849     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22850     (arg1
)->AddBrush(arg2
); 
22851     wxPyEndAllowThreads(__tstate
); 
22852     if (PyErr_Occurred()) SWIG_fail
; 
22854   resultobj 
= SWIG_Py_Void(); 
22861 SWIGINTERN PyObject 
*_wrap_BrushList_RemoveBrush(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
22862   PyObject 
*resultobj 
= 0; 
22863   wxBrushList 
*arg1 
= (wxBrushList 
*) 0 ; 
22864   wxBrush 
*arg2 
= (wxBrush 
*) 0 ; 
22869   PyObject 
* obj0 
= 0 ; 
22870   PyObject 
* obj1 
= 0 ; 
22871   char *  kwnames
[] = { 
22872     (char *) "self",(char *) "brush", NULL 
 
22875   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_RemoveBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
22876   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 |  0 ); 
22877   if (!SWIG_IsOK(res1
)) { 
22878     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_RemoveBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");  
22880   arg1 
= reinterpret_cast< wxBrushList 
* >(argp1
); 
22881   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBrush
, 0 |  0 ); 
22882   if (!SWIG_IsOK(res2
)) { 
22883     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BrushList_RemoveBrush" "', expected argument " "2"" of type '" "wxBrush *""'");  
22885   arg2 
= reinterpret_cast< wxBrush 
* >(argp2
); 
22887     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22888     (arg1
)->RemoveBrush(arg2
); 
22889     wxPyEndAllowThreads(__tstate
); 
22890     if (PyErr_Occurred()) SWIG_fail
; 
22892   resultobj 
= SWIG_Py_Void(); 
22899 SWIGINTERN PyObject 
*BrushList_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
22901   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
22902   SWIG_TypeNewClientData(SWIGTYPE_p_wxBrushList
, SWIG_NewClientData(obj
)); 
22903   return SWIG_Py_Void(); 
22906 SWIGINTERN PyObject 
*_wrap_FontList_FindOrCreateFont(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
22907   PyObject 
*resultobj 
= 0; 
22908   wxFontList 
*arg1 
= (wxFontList 
*) 0 ; 
22913   bool arg6 
= (bool) false ; 
22914   wxString 
const &arg7_defvalue 
= wxPyEmptyString 
; 
22915   wxString 
*arg7 
= (wxString 
*) &arg7_defvalue 
; 
22916   wxFontEncoding arg8 
= (wxFontEncoding
) wxFONTENCODING_DEFAULT 
; 
22917   wxFont 
*result 
= 0 ; 
22930   bool temp7 
= false ; 
22933   PyObject 
* obj0 
= 0 ; 
22934   PyObject 
* obj1 
= 0 ; 
22935   PyObject 
* obj2 
= 0 ; 
22936   PyObject 
* obj3 
= 0 ; 
22937   PyObject 
* obj4 
= 0 ; 
22938   PyObject 
* obj5 
= 0 ; 
22939   PyObject 
* obj6 
= 0 ; 
22940   PyObject 
* obj7 
= 0 ; 
22941   char *  kwnames
[] = { 
22942     (char *) "self",(char *) "point_size",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "facename",(char *) "encoding", NULL 
 
22945   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:FontList_FindOrCreateFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
; 
22946   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 |  0 ); 
22947   if (!SWIG_IsOK(res1
)) { 
22948     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "1"" of type '" "wxFontList *""'");  
22950   arg1 
= reinterpret_cast< wxFontList 
* >(argp1
); 
22951   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
22952   if (!SWIG_IsOK(ecode2
)) { 
22953     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "2"" of type '" "int""'"); 
22955   arg2 
= static_cast< int >(val2
); 
22956   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
22957   if (!SWIG_IsOK(ecode3
)) { 
22958     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "3"" of type '" "int""'"); 
22960   arg3 
= static_cast< int >(val3
); 
22961   ecode4 
= SWIG_AsVal_int(obj3
, &val4
); 
22962   if (!SWIG_IsOK(ecode4
)) { 
22963     SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "4"" of type '" "int""'"); 
22965   arg4 
= static_cast< int >(val4
); 
22966   ecode5 
= SWIG_AsVal_int(obj4
, &val5
); 
22967   if (!SWIG_IsOK(ecode5
)) { 
22968     SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "5"" of type '" "int""'"); 
22970   arg5 
= static_cast< int >(val5
); 
22972     ecode6 
= SWIG_AsVal_bool(obj5
, &val6
); 
22973     if (!SWIG_IsOK(ecode6
)) { 
22974       SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "6"" of type '" "bool""'"); 
22976     arg6 
= static_cast< bool >(val6
); 
22980       arg7 
= wxString_in_helper(obj6
); 
22981       if (arg7 
== NULL
) SWIG_fail
; 
22986     ecode8 
= SWIG_AsVal_int(obj7
, &val8
); 
22987     if (!SWIG_IsOK(ecode8
)) { 
22988       SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "8"" of type '" "wxFontEncoding""'"); 
22990     arg8 
= static_cast< wxFontEncoding 
>(val8
); 
22993     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22994     result 
= (wxFont 
*)(arg1
)->FindOrCreateFont(arg2
,arg3
,arg4
,arg5
,arg6
,(wxString 
const &)*arg7
,arg8
); 
22995     wxPyEndAllowThreads(__tstate
); 
22996     if (PyErr_Occurred()) SWIG_fail
; 
22998   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 |  0 ); 
23013 SWIGINTERN PyObject 
*_wrap_FontList_AddFont(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
23014   PyObject 
*resultobj 
= 0; 
23015   wxFontList 
*arg1 
= (wxFontList 
*) 0 ; 
23016   wxFont 
*arg2 
= (wxFont 
*) 0 ; 
23021   PyObject 
* obj0 
= 0 ; 
23022   PyObject 
* obj1 
= 0 ; 
23023   char *  kwnames
[] = { 
23024     (char *) "self",(char *) "font", NULL 
 
23027   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_AddFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
23028   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 |  0 ); 
23029   if (!SWIG_IsOK(res1
)) { 
23030     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_AddFont" "', expected argument " "1"" of type '" "wxFontList *""'");  
23032   arg1 
= reinterpret_cast< wxFontList 
* >(argp1
); 
23033   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 |  0 ); 
23034   if (!SWIG_IsOK(res2
)) { 
23035     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontList_AddFont" "', expected argument " "2"" of type '" "wxFont *""'");  
23037   arg2 
= reinterpret_cast< wxFont 
* >(argp2
); 
23039     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23040     (arg1
)->AddFont(arg2
); 
23041     wxPyEndAllowThreads(__tstate
); 
23042     if (PyErr_Occurred()) SWIG_fail
; 
23044   resultobj 
= SWIG_Py_Void(); 
23051 SWIGINTERN PyObject 
*_wrap_FontList_RemoveFont(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
23052   PyObject 
*resultobj 
= 0; 
23053   wxFontList 
*arg1 
= (wxFontList 
*) 0 ; 
23054   wxFont 
*arg2 
= (wxFont 
*) 0 ; 
23059   PyObject 
* obj0 
= 0 ; 
23060   PyObject 
* obj1 
= 0 ; 
23061   char *  kwnames
[] = { 
23062     (char *) "self",(char *) "font", NULL 
 
23065   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_RemoveFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
23066   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 |  0 ); 
23067   if (!SWIG_IsOK(res1
)) { 
23068     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_RemoveFont" "', expected argument " "1"" of type '" "wxFontList *""'");  
23070   arg1 
= reinterpret_cast< wxFontList 
* >(argp1
); 
23071   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 |  0 ); 
23072   if (!SWIG_IsOK(res2
)) { 
23073     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontList_RemoveFont" "', expected argument " "2"" of type '" "wxFont *""'");  
23075   arg2 
= reinterpret_cast< wxFont 
* >(argp2
); 
23077     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23078     (arg1
)->RemoveFont(arg2
); 
23079     wxPyEndAllowThreads(__tstate
); 
23080     if (PyErr_Occurred()) SWIG_fail
; 
23082   resultobj 
= SWIG_Py_Void(); 
23089 SWIGINTERN PyObject 
*FontList_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
23091   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
23092   SWIG_TypeNewClientData(SWIGTYPE_p_wxFontList
, SWIG_NewClientData(obj
)); 
23093   return SWIG_Py_Void(); 
23096 SWIGINTERN PyObject 
*_wrap_new_ColourDatabase(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
23097   PyObject 
*resultobj 
= 0; 
23098   wxColourDatabase 
*result 
= 0 ; 
23100   if (!SWIG_Python_UnpackTuple(args
,"new_ColourDatabase",0,0,0)) SWIG_fail
; 
23102     if (!wxPyCheckForApp()) SWIG_fail
; 
23103     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23104     result 
= (wxColourDatabase 
*)new wxColourDatabase(); 
23105     wxPyEndAllowThreads(__tstate
); 
23106     if (PyErr_Occurred()) SWIG_fail
; 
23108   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_NEW 
|  0 ); 
23115 SWIGINTERN PyObject 
*_wrap_delete_ColourDatabase(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
23116   PyObject 
*resultobj 
= 0; 
23117   wxColourDatabase 
*arg1 
= (wxColourDatabase 
*) 0 ; 
23120   PyObject 
*swig_obj
[1] ; 
23122   if (!args
) SWIG_fail
; 
23123   swig_obj
[0] = args
; 
23124   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_DISOWN 
|  0 ); 
23125   if (!SWIG_IsOK(res1
)) { 
23126     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ColourDatabase" "', expected argument " "1"" of type '" "wxColourDatabase *""'");  
23128   arg1 
= reinterpret_cast< wxColourDatabase 
* >(argp1
); 
23130     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23133     wxPyEndAllowThreads(__tstate
); 
23134     if (PyErr_Occurred()) SWIG_fail
; 
23136   resultobj 
= SWIG_Py_Void(); 
23143 SWIGINTERN PyObject 
*_wrap_ColourDatabase_Find(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
23144   PyObject 
*resultobj 
= 0; 
23145   wxColourDatabase 
*arg1 
= (wxColourDatabase 
*) 0 ; 
23146   wxString 
*arg2 
= 0 ; 
23150   bool temp2 
= false ; 
23151   PyObject 
* obj0 
= 0 ; 
23152   PyObject 
* obj1 
= 0 ; 
23153   char *  kwnames
[] = { 
23154     (char *) "self",(char *) "name", NULL 
 
23157   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_Find",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
23158   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 |  0 ); 
23159   if (!SWIG_IsOK(res1
)) { 
23160     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_Find" "', expected argument " "1"" of type '" "wxColourDatabase const *""'");  
23162   arg1 
= reinterpret_cast< wxColourDatabase 
* >(argp1
); 
23164     arg2 
= wxString_in_helper(obj1
); 
23165     if (arg2 
== NULL
) SWIG_fail
; 
23169     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23170     result 
= ((wxColourDatabase 
const *)arg1
)->Find((wxString 
const &)*arg2
); 
23171     wxPyEndAllowThreads(__tstate
); 
23172     if (PyErr_Occurred()) SWIG_fail
; 
23174   resultobj 
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN 
|  0 ); 
23189 SWIGINTERN PyObject 
*_wrap_ColourDatabase_FindName(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
23190   PyObject 
*resultobj 
= 0; 
23191   wxColourDatabase 
*arg1 
= (wxColourDatabase 
*) 0 ; 
23192   wxColour 
*arg2 
= 0 ; 
23197   PyObject 
* obj0 
= 0 ; 
23198   PyObject 
* obj1 
= 0 ; 
23199   char *  kwnames
[] = { 
23200     (char *) "self",(char *) "colour", NULL 
 
23203   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_FindName",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
23204   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 |  0 ); 
23205   if (!SWIG_IsOK(res1
)) { 
23206     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_FindName" "', expected argument " "1"" of type '" "wxColourDatabase const *""'");  
23208   arg1 
= reinterpret_cast< wxColourDatabase 
* >(argp1
); 
23211     if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
23214     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23215     result 
= ((wxColourDatabase 
const *)arg1
)->FindName((wxColour 
const &)*arg2
); 
23216     wxPyEndAllowThreads(__tstate
); 
23217     if (PyErr_Occurred()) SWIG_fail
; 
23221     resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
23223     resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
23232 SWIGINTERN PyObject 
*_wrap_ColourDatabase_AddColour(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
23233   PyObject 
*resultobj 
= 0; 
23234   wxColourDatabase 
*arg1 
= (wxColourDatabase 
*) 0 ; 
23235   wxString 
*arg2 
= 0 ; 
23236   wxColour 
*arg3 
= 0 ; 
23239   bool temp2 
= false ; 
23241   PyObject 
* obj0 
= 0 ; 
23242   PyObject 
* obj1 
= 0 ; 
23243   PyObject 
* obj2 
= 0 ; 
23244   char *  kwnames
[] = { 
23245     (char *) "self",(char *) "name",(char *) "colour", NULL 
 
23248   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourDatabase_AddColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
23249   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 |  0 ); 
23250   if (!SWIG_IsOK(res1
)) { 
23251     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_AddColour" "', expected argument " "1"" of type '" "wxColourDatabase *""'");  
23253   arg1 
= reinterpret_cast< wxColourDatabase 
* >(argp1
); 
23255     arg2 
= wxString_in_helper(obj1
); 
23256     if (arg2 
== NULL
) SWIG_fail
; 
23261     if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
; 
23264     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23265     (arg1
)->AddColour((wxString 
const &)*arg2
,(wxColour 
const &)*arg3
); 
23266     wxPyEndAllowThreads(__tstate
); 
23267     if (PyErr_Occurred()) SWIG_fail
; 
23269   resultobj 
= SWIG_Py_Void(); 
23284 SWIGINTERN PyObject 
*_wrap_ColourDatabase_Append(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
23285   PyObject 
*resultobj 
= 0; 
23286   wxColourDatabase 
*arg1 
= (wxColourDatabase 
*) 0 ; 
23287   wxString 
*arg2 
= 0 ; 
23293   bool temp2 
= false ; 
23300   PyObject 
* obj0 
= 0 ; 
23301   PyObject 
* obj1 
= 0 ; 
23302   PyObject 
* obj2 
= 0 ; 
23303   PyObject 
* obj3 
= 0 ; 
23304   PyObject 
* obj4 
= 0 ; 
23305   char *  kwnames
[] = { 
23306     (char *) "self",(char *) "name",(char *) "red",(char *) "green",(char *) "blue", NULL 
 
23309   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:ColourDatabase_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
; 
23310   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 |  0 ); 
23311   if (!SWIG_IsOK(res1
)) { 
23312     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_Append" "', expected argument " "1"" of type '" "wxColourDatabase *""'");  
23314   arg1 
= reinterpret_cast< wxColourDatabase 
* >(argp1
); 
23316     arg2 
= wxString_in_helper(obj1
); 
23317     if (arg2 
== NULL
) SWIG_fail
; 
23320   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
23321   if (!SWIG_IsOK(ecode3
)) { 
23322     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ColourDatabase_Append" "', expected argument " "3"" of type '" "int""'"); 
23324   arg3 
= static_cast< int >(val3
); 
23325   ecode4 
= SWIG_AsVal_int(obj3
, &val4
); 
23326   if (!SWIG_IsOK(ecode4
)) { 
23327     SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ColourDatabase_Append" "', expected argument " "4"" of type '" "int""'"); 
23329   arg4 
= static_cast< int >(val4
); 
23330   ecode5 
= SWIG_AsVal_int(obj4
, &val5
); 
23331   if (!SWIG_IsOK(ecode5
)) { 
23332     SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ColourDatabase_Append" "', expected argument " "5"" of type '" "int""'"); 
23334   arg5 
= static_cast< int >(val5
); 
23336     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23337     wxColourDatabase_Append(arg1
,(wxString 
const &)*arg2
,arg3
,arg4
,arg5
); 
23338     wxPyEndAllowThreads(__tstate
); 
23339     if (PyErr_Occurred()) SWIG_fail
; 
23341   resultobj 
= SWIG_Py_Void(); 
23356 SWIGINTERN PyObject 
*ColourDatabase_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
23358   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
23359   SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDatabase
, SWIG_NewClientData(obj
)); 
23360   return SWIG_Py_Void(); 
23363 SWIGINTERN PyObject 
*ColourDatabase_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
23364   return SWIG_Python_InitShadowInstance(args
); 
23367 SWIGINTERN PyObject 
*_wrap__wxPyInitTheFontList(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
23368   PyObject 
*resultobj 
= 0; 
23369   wxFontList 
*result 
= 0 ; 
23371   if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheFontList",0,0,0)) SWIG_fail
; 
23373     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23374     result 
= (wxFontList 
*)_wxPyInitTheFontList(); 
23375     wxPyEndAllowThreads(__tstate
); 
23376     if (PyErr_Occurred()) SWIG_fail
; 
23378   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontList
, 0 |  0 ); 
23385 SWIGINTERN PyObject 
*_wrap__wxPyInitThePenList(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
23386   PyObject 
*resultobj 
= 0; 
23387   wxPenList 
*result 
= 0 ; 
23389   if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitThePenList",0,0,0)) SWIG_fail
; 
23391     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23392     result 
= (wxPenList 
*)_wxPyInitThePenList(); 
23393     wxPyEndAllowThreads(__tstate
); 
23394     if (PyErr_Occurred()) SWIG_fail
; 
23396   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPenList
, 0 |  0 ); 
23403 SWIGINTERN PyObject 
*_wrap__wxPyInitTheBrushList(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
23404   PyObject 
*resultobj 
= 0; 
23405   wxBrushList 
*result 
= 0 ; 
23407   if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheBrushList",0,0,0)) SWIG_fail
; 
23409     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23410     result 
= (wxBrushList 
*)_wxPyInitTheBrushList(); 
23411     wxPyEndAllowThreads(__tstate
); 
23412     if (PyErr_Occurred()) SWIG_fail
; 
23414   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrushList
, 0 |  0 ); 
23421 SWIGINTERN PyObject 
*_wrap__wxPyInitTheColourDatabase(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
23422   PyObject 
*resultobj 
= 0; 
23423   wxColourDatabase 
*result 
= 0 ; 
23425   if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheColourDatabase",0,0,0)) SWIG_fail
; 
23427     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23428     result 
= (wxColourDatabase 
*)_wxPyInitTheColourDatabase(); 
23429     wxPyEndAllowThreads(__tstate
); 
23430     if (PyErr_Occurred()) SWIG_fail
; 
23432   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDatabase
, 0 |  0 ); 
23439 SWIGINTERN PyObject 
*_wrap_new_Effects(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
23440   PyObject 
*resultobj 
= 0; 
23441   wxEffects 
*result 
= 0 ; 
23443   if (!SWIG_Python_UnpackTuple(args
,"new_Effects",0,0,0)) SWIG_fail
; 
23445     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23446     result 
= (wxEffects 
*)new wxEffects(); 
23447     wxPyEndAllowThreads(__tstate
); 
23448     if (PyErr_Occurred()) SWIG_fail
; 
23450   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEffects
, SWIG_POINTER_NEW 
|  0 ); 
23457 SWIGINTERN PyObject 
*_wrap_Effects_GetHighlightColour(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
23458   PyObject 
*resultobj 
= 0; 
23459   wxEffects 
*arg1 
= (wxEffects 
*) 0 ; 
23463   PyObject 
*swig_obj
[1] ; 
23465   if (!args
) SWIG_fail
; 
23466   swig_obj
[0] = args
; 
23467   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 |  0 ); 
23468   if (!SWIG_IsOK(res1
)) { 
23469     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetHighlightColour" "', expected argument " "1"" of type '" "wxEffects const *""'");  
23471   arg1 
= reinterpret_cast< wxEffects 
* >(argp1
); 
23473     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23474     result 
= ((wxEffects 
const *)arg1
)->GetHighlightColour(); 
23475     wxPyEndAllowThreads(__tstate
); 
23476     if (PyErr_Occurred()) SWIG_fail
; 
23478   resultobj 
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN 
|  0 ); 
23485 SWIGINTERN PyObject 
*_wrap_Effects_GetLightShadow(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
23486   PyObject 
*resultobj 
= 0; 
23487   wxEffects 
*arg1 
= (wxEffects 
*) 0 ; 
23491   PyObject 
*swig_obj
[1] ; 
23493   if (!args
) SWIG_fail
; 
23494   swig_obj
[0] = args
; 
23495   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 |  0 ); 
23496   if (!SWIG_IsOK(res1
)) { 
23497     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetLightShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");  
23499   arg1 
= reinterpret_cast< wxEffects 
* >(argp1
); 
23501     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23502     result 
= ((wxEffects 
const *)arg1
)->GetLightShadow(); 
23503     wxPyEndAllowThreads(__tstate
); 
23504     if (PyErr_Occurred()) SWIG_fail
; 
23506   resultobj 
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN 
|  0 ); 
23513 SWIGINTERN PyObject 
*_wrap_Effects_GetFaceColour(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
23514   PyObject 
*resultobj 
= 0; 
23515   wxEffects 
*arg1 
= (wxEffects 
*) 0 ; 
23519   PyObject 
*swig_obj
[1] ; 
23521   if (!args
) SWIG_fail
; 
23522   swig_obj
[0] = args
; 
23523   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 |  0 ); 
23524   if (!SWIG_IsOK(res1
)) { 
23525     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetFaceColour" "', expected argument " "1"" of type '" "wxEffects const *""'");  
23527   arg1 
= reinterpret_cast< wxEffects 
* >(argp1
); 
23529     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23530     result 
= ((wxEffects 
const *)arg1
)->GetFaceColour(); 
23531     wxPyEndAllowThreads(__tstate
); 
23532     if (PyErr_Occurred()) SWIG_fail
; 
23534   resultobj 
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN 
|  0 ); 
23541 SWIGINTERN PyObject 
*_wrap_Effects_GetMediumShadow(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
23542   PyObject 
*resultobj 
= 0; 
23543   wxEffects 
*arg1 
= (wxEffects 
*) 0 ; 
23547   PyObject 
*swig_obj
[1] ; 
23549   if (!args
) SWIG_fail
; 
23550   swig_obj
[0] = args
; 
23551   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 |  0 ); 
23552   if (!SWIG_IsOK(res1
)) { 
23553     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetMediumShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");  
23555   arg1 
= reinterpret_cast< wxEffects 
* >(argp1
); 
23557     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23558     result 
= ((wxEffects 
const *)arg1
)->GetMediumShadow(); 
23559     wxPyEndAllowThreads(__tstate
); 
23560     if (PyErr_Occurred()) SWIG_fail
; 
23562   resultobj 
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN 
|  0 ); 
23569 SWIGINTERN PyObject 
*_wrap_Effects_GetDarkShadow(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
23570   PyObject 
*resultobj 
= 0; 
23571   wxEffects 
*arg1 
= (wxEffects 
*) 0 ; 
23575   PyObject 
*swig_obj
[1] ; 
23577   if (!args
) SWIG_fail
; 
23578   swig_obj
[0] = args
; 
23579   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 |  0 ); 
23580   if (!SWIG_IsOK(res1
)) { 
23581     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetDarkShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");  
23583   arg1 
= reinterpret_cast< wxEffects 
* >(argp1
); 
23585     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23586     result 
= ((wxEffects 
const *)arg1
)->GetDarkShadow(); 
23587     wxPyEndAllowThreads(__tstate
); 
23588     if (PyErr_Occurred()) SWIG_fail
; 
23590   resultobj 
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN 
|  0 ); 
23597 SWIGINTERN PyObject 
*_wrap_Effects_SetHighlightColour(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
23598   PyObject 
*resultobj 
= 0; 
23599   wxEffects 
*arg1 
= (wxEffects 
*) 0 ; 
23600   wxColour 
*arg2 
= 0 ; 
23604   PyObject 
* obj0 
= 0 ; 
23605   PyObject 
* obj1 
= 0 ; 
23606   char *  kwnames
[] = { 
23607     (char *) "self",(char *) "c", NULL 
 
23610   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetHighlightColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
23611   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 |  0 ); 
23612   if (!SWIG_IsOK(res1
)) { 
23613     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetHighlightColour" "', expected argument " "1"" of type '" "wxEffects *""'");  
23615   arg1 
= reinterpret_cast< wxEffects 
* >(argp1
); 
23618     if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
23621     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23622     (arg1
)->SetHighlightColour((wxColour 
const &)*arg2
); 
23623     wxPyEndAllowThreads(__tstate
); 
23624     if (PyErr_Occurred()) SWIG_fail
; 
23626   resultobj 
= SWIG_Py_Void(); 
23633 SWIGINTERN PyObject 
*_wrap_Effects_SetLightShadow(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
23634   PyObject 
*resultobj 
= 0; 
23635   wxEffects 
*arg1 
= (wxEffects 
*) 0 ; 
23636   wxColour 
*arg2 
= 0 ; 
23640   PyObject 
* obj0 
= 0 ; 
23641   PyObject 
* obj1 
= 0 ; 
23642   char *  kwnames
[] = { 
23643     (char *) "self",(char *) "c", NULL 
 
23646   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetLightShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
23647   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 |  0 ); 
23648   if (!SWIG_IsOK(res1
)) { 
23649     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetLightShadow" "', expected argument " "1"" of type '" "wxEffects *""'");  
23651   arg1 
= reinterpret_cast< wxEffects 
* >(argp1
); 
23654     if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
23657     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23658     (arg1
)->SetLightShadow((wxColour 
const &)*arg2
); 
23659     wxPyEndAllowThreads(__tstate
); 
23660     if (PyErr_Occurred()) SWIG_fail
; 
23662   resultobj 
= SWIG_Py_Void(); 
23669 SWIGINTERN PyObject 
*_wrap_Effects_SetFaceColour(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
23670   PyObject 
*resultobj 
= 0; 
23671   wxEffects 
*arg1 
= (wxEffects 
*) 0 ; 
23672   wxColour 
*arg2 
= 0 ; 
23676   PyObject 
* obj0 
= 0 ; 
23677   PyObject 
* obj1 
= 0 ; 
23678   char *  kwnames
[] = { 
23679     (char *) "self",(char *) "c", NULL 
 
23682   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetFaceColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
23683   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 |  0 ); 
23684   if (!SWIG_IsOK(res1
)) { 
23685     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetFaceColour" "', expected argument " "1"" of type '" "wxEffects *""'");  
23687   arg1 
= reinterpret_cast< wxEffects 
* >(argp1
); 
23690     if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
23693     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23694     (arg1
)->SetFaceColour((wxColour 
const &)*arg2
); 
23695     wxPyEndAllowThreads(__tstate
); 
23696     if (PyErr_Occurred()) SWIG_fail
; 
23698   resultobj 
= SWIG_Py_Void(); 
23705 SWIGINTERN PyObject 
*_wrap_Effects_SetMediumShadow(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
23706   PyObject 
*resultobj 
= 0; 
23707   wxEffects 
*arg1 
= (wxEffects 
*) 0 ; 
23708   wxColour 
*arg2 
= 0 ; 
23712   PyObject 
* obj0 
= 0 ; 
23713   PyObject 
* obj1 
= 0 ; 
23714   char *  kwnames
[] = { 
23715     (char *) "self",(char *) "c", NULL 
 
23718   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetMediumShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
23719   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 |  0 ); 
23720   if (!SWIG_IsOK(res1
)) { 
23721     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetMediumShadow" "', expected argument " "1"" of type '" "wxEffects *""'");  
23723   arg1 
= reinterpret_cast< wxEffects 
* >(argp1
); 
23726     if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
23729     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23730     (arg1
)->SetMediumShadow((wxColour 
const &)*arg2
); 
23731     wxPyEndAllowThreads(__tstate
); 
23732     if (PyErr_Occurred()) SWIG_fail
; 
23734   resultobj 
= SWIG_Py_Void(); 
23741 SWIGINTERN PyObject 
*_wrap_Effects_SetDarkShadow(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
23742   PyObject 
*resultobj 
= 0; 
23743   wxEffects 
*arg1 
= (wxEffects 
*) 0 ; 
23744   wxColour 
*arg2 
= 0 ; 
23748   PyObject 
* obj0 
= 0 ; 
23749   PyObject 
* obj1 
= 0 ; 
23750   char *  kwnames
[] = { 
23751     (char *) "self",(char *) "c", NULL 
 
23754   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetDarkShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
23755   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 |  0 ); 
23756   if (!SWIG_IsOK(res1
)) { 
23757     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetDarkShadow" "', expected argument " "1"" of type '" "wxEffects *""'");  
23759   arg1 
= reinterpret_cast< wxEffects 
* >(argp1
); 
23762     if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
23765     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23766     (arg1
)->SetDarkShadow((wxColour 
const &)*arg2
); 
23767     wxPyEndAllowThreads(__tstate
); 
23768     if (PyErr_Occurred()) SWIG_fail
; 
23770   resultobj 
= SWIG_Py_Void(); 
23777 SWIGINTERN PyObject 
*_wrap_Effects_Set(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
23778   PyObject 
*resultobj 
= 0; 
23779   wxEffects 
*arg1 
= (wxEffects 
*) 0 ; 
23780   wxColour 
*arg2 
= 0 ; 
23781   wxColour 
*arg3 
= 0 ; 
23782   wxColour 
*arg4 
= 0 ; 
23783   wxColour 
*arg5 
= 0 ; 
23784   wxColour 
*arg6 
= 0 ; 
23792   PyObject 
* obj0 
= 0 ; 
23793   PyObject 
* obj1 
= 0 ; 
23794   PyObject 
* obj2 
= 0 ; 
23795   PyObject 
* obj3 
= 0 ; 
23796   PyObject 
* obj4 
= 0 ; 
23797   PyObject 
* obj5 
= 0 ; 
23798   char *  kwnames
[] = { 
23799     (char *) "self",(char *) "highlightColour",(char *) "lightShadow",(char *) "faceColour",(char *) "mediumShadow",(char *) "darkShadow", NULL 
 
23802   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Effects_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
; 
23803   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 |  0 ); 
23804   if (!SWIG_IsOK(res1
)) { 
23805     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_Set" "', expected argument " "1"" of type '" "wxEffects *""'");  
23807   arg1 
= reinterpret_cast< wxEffects 
* >(argp1
); 
23810     if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
23814     if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
; 
23818     if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
; 
23822     if ( ! wxColour_helper(obj4
, &arg5
)) SWIG_fail
; 
23826     if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
; 
23829     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23830     (arg1
)->Set((wxColour 
const &)*arg2
,(wxColour 
const &)*arg3
,(wxColour 
const &)*arg4
,(wxColour 
const &)*arg5
,(wxColour 
const &)*arg6
); 
23831     wxPyEndAllowThreads(__tstate
); 
23832     if (PyErr_Occurred()) SWIG_fail
; 
23834   resultobj 
= SWIG_Py_Void(); 
23841 SWIGINTERN PyObject 
*_wrap_Effects_DrawSunkenEdge(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
23842   PyObject 
*resultobj 
= 0; 
23843   wxEffects 
*arg1 
= (wxEffects 
*) 0 ; 
23846   int arg4 
= (int) 1 ; 
23854   PyObject 
* obj0 
= 0 ; 
23855   PyObject 
* obj1 
= 0 ; 
23856   PyObject 
* obj2 
= 0 ; 
23857   PyObject 
* obj3 
= 0 ; 
23858   char *  kwnames
[] = { 
23859     (char *) "self",(char *) "dc",(char *) "rect",(char *) "borderSize", NULL 
 
23862   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Effects_DrawSunkenEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
; 
23863   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 |  0 ); 
23864   if (!SWIG_IsOK(res1
)) { 
23865     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "1"" of type '" "wxEffects *""'");  
23867   arg1 
= reinterpret_cast< wxEffects 
* >(argp1
); 
23868   res2 
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
,  0 ); 
23869   if (!SWIG_IsOK(res2
)) { 
23870     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "2"" of type '" "wxDC &""'");  
23873     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_DrawSunkenEdge" "', expected argument " "2"" of type '" "wxDC &""'");  
23875   arg2 
= reinterpret_cast< wxDC 
* >(argp2
); 
23878     if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
; 
23881     ecode4 
= SWIG_AsVal_int(obj3
, &val4
); 
23882     if (!SWIG_IsOK(ecode4
)) { 
23883       SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "4"" of type '" "int""'"); 
23885     arg4 
= static_cast< int >(val4
); 
23888     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23889     (arg1
)->DrawSunkenEdge(*arg2
,(wxRect 
const &)*arg3
,arg4
); 
23890     wxPyEndAllowThreads(__tstate
); 
23891     if (PyErr_Occurred()) SWIG_fail
; 
23893   resultobj 
= SWIG_Py_Void(); 
23900 SWIGINTERN PyObject 
*_wrap_Effects_TileBitmap(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
23901   PyObject 
*resultobj 
= 0; 
23902   wxEffects 
*arg1 
= (wxEffects 
*) 0 ; 
23905   wxBitmap 
*arg4 
= 0 ; 
23914   PyObject 
* obj0 
= 0 ; 
23915   PyObject 
* obj1 
= 0 ; 
23916   PyObject 
* obj2 
= 0 ; 
23917   PyObject 
* obj3 
= 0 ; 
23918   char *  kwnames
[] = { 
23919     (char *) "self",(char *) "rect",(char *) "dc",(char *) "bitmap", NULL 
 
23922   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Effects_TileBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
; 
23923   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 |  0 ); 
23924   if (!SWIG_IsOK(res1
)) { 
23925     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_TileBitmap" "', expected argument " "1"" of type '" "wxEffects *""'");  
23927   arg1 
= reinterpret_cast< wxEffects 
* >(argp1
); 
23930     if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
; 
23932   res3 
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
,  0 ); 
23933   if (!SWIG_IsOK(res3
)) { 
23934     SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Effects_TileBitmap" "', expected argument " "3"" of type '" "wxDC &""'");  
23937     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_TileBitmap" "', expected argument " "3"" of type '" "wxDC &""'");  
23939   arg3 
= reinterpret_cast< wxDC 
* >(argp3
); 
23940   res4 
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
,  0 ); 
23941   if (!SWIG_IsOK(res4
)) { 
23942     SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Effects_TileBitmap" "', expected argument " "4"" of type '" "wxBitmap &""'");  
23945     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_TileBitmap" "', expected argument " "4"" of type '" "wxBitmap &""'");  
23947   arg4 
= reinterpret_cast< wxBitmap 
* >(argp4
); 
23949     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23950     result 
= (bool)(arg1
)->TileBitmap((wxRect 
const &)*arg2
,*arg3
,*arg4
); 
23951     wxPyEndAllowThreads(__tstate
); 
23952     if (PyErr_Occurred()) SWIG_fail
; 
23955     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
23963 SWIGINTERN PyObject 
*Effects_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
23965   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
23966   SWIG_TypeNewClientData(SWIGTYPE_p_wxEffects
, SWIG_NewClientData(obj
)); 
23967   return SWIG_Py_Void(); 
23970 SWIGINTERN PyObject 
*Effects_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
23971   return SWIG_Python_InitShadowInstance(args
); 
23974 SWIGINTERN PyObject 
*_wrap_new_SplitterRenderParams(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
23975   PyObject 
*resultobj 
= 0; 
23979   wxSplitterRenderParams 
*result 
= 0 ; 
23986   PyObject 
* obj0 
= 0 ; 
23987   PyObject 
* obj1 
= 0 ; 
23988   PyObject 
* obj2 
= 0 ; 
23989   char *  kwnames
[] = { 
23990     (char *) "widthSash_",(char *) "border_",(char *) "isSens_", NULL 
 
23993   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_SplitterRenderParams",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
23994   ecode1 
= SWIG_AsVal_int(obj0
, &val1
); 
23995   if (!SWIG_IsOK(ecode1
)) { 
23996     SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SplitterRenderParams" "', expected argument " "1"" of type '" "int""'"); 
23998   arg1 
= static_cast< int >(val1
); 
23999   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
24000   if (!SWIG_IsOK(ecode2
)) { 
24001     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplitterRenderParams" "', expected argument " "2"" of type '" "int""'"); 
24003   arg2 
= static_cast< int >(val2
); 
24004   ecode3 
= SWIG_AsVal_bool(obj2
, &val3
); 
24005   if (!SWIG_IsOK(ecode3
)) { 
24006     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplitterRenderParams" "', expected argument " "3"" of type '" "bool""'"); 
24008   arg3 
= static_cast< bool >(val3
); 
24010     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24011     result 
= (wxSplitterRenderParams 
*)new wxSplitterRenderParams(arg1
,arg2
,arg3
); 
24012     wxPyEndAllowThreads(__tstate
); 
24013     if (PyErr_Occurred()) SWIG_fail
; 
24015   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_NEW 
|  0 ); 
24022 SWIGINTERN PyObject 
*_wrap_delete_SplitterRenderParams(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
24023   PyObject 
*resultobj 
= 0; 
24024   wxSplitterRenderParams 
*arg1 
= (wxSplitterRenderParams 
*) 0 ; 
24027   PyObject 
*swig_obj
[1] ; 
24029   if (!args
) SWIG_fail
; 
24030   swig_obj
[0] = args
; 
24031   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_DISOWN 
|  0 ); 
24032   if (!SWIG_IsOK(res1
)) { 
24033     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_SplitterRenderParams" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");  
24035   arg1 
= reinterpret_cast< wxSplitterRenderParams 
* >(argp1
); 
24037     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24040     wxPyEndAllowThreads(__tstate
); 
24041     if (PyErr_Occurred()) SWIG_fail
; 
24043   resultobj 
= SWIG_Py_Void(); 
24050 SWIGINTERN PyObject 
*_wrap_SplitterRenderParams_widthSash_get(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
24051   PyObject 
*resultobj 
= 0; 
24052   wxSplitterRenderParams 
*arg1 
= (wxSplitterRenderParams 
*) 0 ; 
24056   PyObject 
*swig_obj
[1] ; 
24058   if (!args
) SWIG_fail
; 
24059   swig_obj
[0] = args
; 
24060   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 |  0 ); 
24061   if (!SWIG_IsOK(res1
)) { 
24062     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_widthSash_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");  
24064   arg1 
= reinterpret_cast< wxSplitterRenderParams 
* >(argp1
); 
24065   result 
= (int)(int) ((arg1
)->widthSash
); 
24066   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
24073 SWIGINTERN PyObject 
*_wrap_SplitterRenderParams_border_get(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
24074   PyObject 
*resultobj 
= 0; 
24075   wxSplitterRenderParams 
*arg1 
= (wxSplitterRenderParams 
*) 0 ; 
24079   PyObject 
*swig_obj
[1] ; 
24081   if (!args
) SWIG_fail
; 
24082   swig_obj
[0] = args
; 
24083   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 |  0 ); 
24084   if (!SWIG_IsOK(res1
)) { 
24085     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_border_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");  
24087   arg1 
= reinterpret_cast< wxSplitterRenderParams 
* >(argp1
); 
24088   result 
= (int)(int) ((arg1
)->border
); 
24089   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
24096 SWIGINTERN PyObject 
*_wrap_SplitterRenderParams_isHotSensitive_get(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
24097   PyObject 
*resultobj 
= 0; 
24098   wxSplitterRenderParams 
*arg1 
= (wxSplitterRenderParams 
*) 0 ; 
24102   PyObject 
*swig_obj
[1] ; 
24104   if (!args
) SWIG_fail
; 
24105   swig_obj
[0] = args
; 
24106   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 |  0 ); 
24107   if (!SWIG_IsOK(res1
)) { 
24108     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_isHotSensitive_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");  
24110   arg1 
= reinterpret_cast< wxSplitterRenderParams 
* >(argp1
); 
24111   result 
= (bool)(bool) ((arg1
)->isHotSensitive
); 
24112   resultobj 
= SWIG_From_bool(static_cast< bool >(result
)); 
24119 SWIGINTERN PyObject 
*SplitterRenderParams_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
24121   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
24122   SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterRenderParams
, SWIG_NewClientData(obj
)); 
24123   return SWIG_Py_Void(); 
24126 SWIGINTERN PyObject 
*SplitterRenderParams_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
24127   return SWIG_Python_InitShadowInstance(args
); 
24130 SWIGINTERN PyObject 
*_wrap_new_RendererVersion(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
24131   PyObject 
*resultobj 
= 0; 
24134   wxRendererVersion 
*result 
= 0 ; 
24139   PyObject 
* obj0 
= 0 ; 
24140   PyObject 
* obj1 
= 0 ; 
24141   char *  kwnames
[] = { 
24142     (char *) "version_",(char *) "age_", NULL 
 
24145   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RendererVersion",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
24146   ecode1 
= SWIG_AsVal_int(obj0
, &val1
); 
24147   if (!SWIG_IsOK(ecode1
)) { 
24148     SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_RendererVersion" "', expected argument " "1"" of type '" "int""'"); 
24150   arg1 
= static_cast< int >(val1
); 
24151   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
24152   if (!SWIG_IsOK(ecode2
)) { 
24153     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RendererVersion" "', expected argument " "2"" of type '" "int""'"); 
24155   arg2 
= static_cast< int >(val2
); 
24157     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24158     result 
= (wxRendererVersion 
*)new wxRendererVersion(arg1
,arg2
); 
24159     wxPyEndAllowThreads(__tstate
); 
24160     if (PyErr_Occurred()) SWIG_fail
; 
24162   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_NEW 
|  0 ); 
24169 SWIGINTERN PyObject 
*_wrap_delete_RendererVersion(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
24170   PyObject 
*resultobj 
= 0; 
24171   wxRendererVersion 
*arg1 
= (wxRendererVersion 
*) 0 ; 
24174   PyObject 
*swig_obj
[1] ; 
24176   if (!args
) SWIG_fail
; 
24177   swig_obj
[0] = args
; 
24178   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_DISOWN 
|  0 ); 
24179   if (!SWIG_IsOK(res1
)) { 
24180     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RendererVersion" "', expected argument " "1"" of type '" "wxRendererVersion *""'");  
24182   arg1 
= reinterpret_cast< wxRendererVersion 
* >(argp1
); 
24184     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24187     wxPyEndAllowThreads(__tstate
); 
24188     if (PyErr_Occurred()) SWIG_fail
; 
24190   resultobj 
= SWIG_Py_Void(); 
24197 SWIGINTERN PyObject 
*_wrap_RendererVersion_IsCompatible(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
24198   PyObject 
*resultobj 
= 0; 
24199   wxRendererVersion 
*arg1 
= 0 ; 
24203   PyObject 
* obj0 
= 0 ; 
24204   char *  kwnames
[] = { 
24205     (char *) "ver", NULL 
 
24208   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererVersion_IsCompatible",kwnames
,&obj0
)) SWIG_fail
; 
24209   res1 
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxRendererVersion
,  0  | 0); 
24210   if (!SWIG_IsOK(res1
)) { 
24211     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_IsCompatible" "', expected argument " "1"" of type '" "wxRendererVersion const &""'");  
24214     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererVersion_IsCompatible" "', expected argument " "1"" of type '" "wxRendererVersion const &""'");  
24216   arg1 
= reinterpret_cast< wxRendererVersion 
* >(argp1
); 
24218     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24219     result 
= (bool)wxRendererVersion::IsCompatible((wxRendererVersion 
const &)*arg1
); 
24220     wxPyEndAllowThreads(__tstate
); 
24221     if (PyErr_Occurred()) SWIG_fail
; 
24224     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
24232 SWIGINTERN PyObject 
*_wrap_RendererVersion_version_get(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
24233   PyObject 
*resultobj 
= 0; 
24234   wxRendererVersion 
*arg1 
= (wxRendererVersion 
*) 0 ; 
24238   PyObject 
*swig_obj
[1] ; 
24240   if (!args
) SWIG_fail
; 
24241   swig_obj
[0] = args
; 
24242   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, 0 |  0 ); 
24243   if (!SWIG_IsOK(res1
)) { 
24244     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_version_get" "', expected argument " "1"" of type '" "wxRendererVersion *""'");  
24246   arg1 
= reinterpret_cast< wxRendererVersion 
* >(argp1
); 
24247   result 
= (int)(int) ((arg1
)->version
); 
24248   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
24255 SWIGINTERN PyObject 
*_wrap_RendererVersion_age_get(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
24256   PyObject 
*resultobj 
= 0; 
24257   wxRendererVersion 
*arg1 
= (wxRendererVersion 
*) 0 ; 
24261   PyObject 
*swig_obj
[1] ; 
24263   if (!args
) SWIG_fail
; 
24264   swig_obj
[0] = args
; 
24265   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, 0 |  0 ); 
24266   if (!SWIG_IsOK(res1
)) { 
24267     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_age_get" "', expected argument " "1"" of type '" "wxRendererVersion *""'");  
24269   arg1 
= reinterpret_cast< wxRendererVersion 
* >(argp1
); 
24270   result 
= (int)(int) ((arg1
)->age
); 
24271   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
24278 SWIGINTERN PyObject 
*RendererVersion_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
24280   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
24281   SWIG_TypeNewClientData(SWIGTYPE_p_wxRendererVersion
, SWIG_NewClientData(obj
)); 
24282   return SWIG_Py_Void(); 
24285 SWIGINTERN PyObject 
*RendererVersion_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
24286   return SWIG_Python_InitShadowInstance(args
); 
24289 SWIGINTERN PyObject 
*_wrap_RendererNative_DrawHeaderButton(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
24290   PyObject 
*resultobj 
= 0; 
24291   wxRendererNative 
*arg1 
= (wxRendererNative 
*) 0 ; 
24292   wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
24295   int arg5 
= (int) 0 ; 
24305   PyObject 
* obj0 
= 0 ; 
24306   PyObject 
* obj1 
= 0 ; 
24307   PyObject 
* obj2 
= 0 ; 
24308   PyObject 
* obj3 
= 0 ; 
24309   PyObject 
* obj4 
= 0 ; 
24310   char *  kwnames
[] = { 
24311     (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL 
 
24314   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawHeaderButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
; 
24315   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 |  0 ); 
24316   if (!SWIG_IsOK(res1
)) { 
24317     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");  
24319   arg1 
= reinterpret_cast< wxRendererNative 
* >(argp1
); 
24320   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
24321   if (!SWIG_IsOK(res2
)) { 
24322     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "2"" of type '" "wxWindow *""'");  
24324   arg2 
= reinterpret_cast< wxWindow 
* >(argp2
); 
24325   res3 
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
,  0 ); 
24326   if (!SWIG_IsOK(res3
)) { 
24327     SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "3"" of type '" "wxDC &""'");  
24330     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "3"" of type '" "wxDC &""'");  
24332   arg3 
= reinterpret_cast< wxDC 
* >(argp3
); 
24335     if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
; 
24338     ecode5 
= SWIG_AsVal_int(obj4
, &val5
); 
24339     if (!SWIG_IsOK(ecode5
)) { 
24340       SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "5"" of type '" "int""'"); 
24342     arg5 
= static_cast< int >(val5
); 
24345     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24346     (arg1
)->DrawHeaderButton(arg2
,*arg3
,(wxRect 
const &)*arg4
,arg5
); 
24347     wxPyEndAllowThreads(__tstate
); 
24348     if (PyErr_Occurred()) SWIG_fail
; 
24350   resultobj 
= SWIG_Py_Void(); 
24357 SWIGINTERN PyObject 
*_wrap_RendererNative_DrawTreeItemButton(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
24358   PyObject 
*resultobj 
= 0; 
24359   wxRendererNative 
*arg1 
= (wxRendererNative 
*) 0 ; 
24360   wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
24363   int arg5 
= (int) 0 ; 
24373   PyObject 
* obj0 
= 0 ; 
24374   PyObject 
* obj1 
= 0 ; 
24375   PyObject 
* obj2 
= 0 ; 
24376   PyObject 
* obj3 
= 0 ; 
24377   PyObject 
* obj4 
= 0 ; 
24378   char *  kwnames
[] = { 
24379     (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL 
 
24382   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawTreeItemButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
; 
24383   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 |  0 ); 
24384   if (!SWIG_IsOK(res1
)) { 
24385     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");  
24387   arg1 
= reinterpret_cast< wxRendererNative 
* >(argp1
); 
24388   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
24389   if (!SWIG_IsOK(res2
)) { 
24390     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "2"" of type '" "wxWindow *""'");  
24392   arg2 
= reinterpret_cast< wxWindow 
* >(argp2
); 
24393   res3 
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
,  0 ); 
24394   if (!SWIG_IsOK(res3
)) { 
24395     SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "3"" of type '" "wxDC &""'");  
24398     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "3"" of type '" "wxDC &""'");  
24400   arg3 
= reinterpret_cast< wxDC 
* >(argp3
); 
24403     if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
; 
24406     ecode5 
= SWIG_AsVal_int(obj4
, &val5
); 
24407     if (!SWIG_IsOK(ecode5
)) { 
24408       SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "5"" of type '" "int""'"); 
24410     arg5 
= static_cast< int >(val5
); 
24413     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24414     (arg1
)->DrawTreeItemButton(arg2
,*arg3
,(wxRect 
const &)*arg4
,arg5
); 
24415     wxPyEndAllowThreads(__tstate
); 
24416     if (PyErr_Occurred()) SWIG_fail
; 
24418   resultobj 
= SWIG_Py_Void(); 
24425 SWIGINTERN PyObject 
*_wrap_RendererNative_DrawSplitterBorder(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
24426   PyObject 
*resultobj 
= 0; 
24427   wxRendererNative 
*arg1 
= (wxRendererNative 
*) 0 ; 
24428   wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
24431   int arg5 
= (int) 0 ; 
24441   PyObject 
* obj0 
= 0 ; 
24442   PyObject 
* obj1 
= 0 ; 
24443   PyObject 
* obj2 
= 0 ; 
24444   PyObject 
* obj3 
= 0 ; 
24445   PyObject 
* obj4 
= 0 ; 
24446   char *  kwnames
[] = { 
24447     (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL 
 
24450   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawSplitterBorder",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
; 
24451   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 |  0 ); 
24452   if (!SWIG_IsOK(res1
)) { 
24453     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "1"" of type '" "wxRendererNative *""'");  
24455   arg1 
= reinterpret_cast< wxRendererNative 
* >(argp1
); 
24456   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
24457   if (!SWIG_IsOK(res2
)) { 
24458     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "2"" of type '" "wxWindow *""'");  
24460   arg2 
= reinterpret_cast< wxWindow 
* >(argp2
); 
24461   res3 
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
,  0 ); 
24462   if (!SWIG_IsOK(res3
)) { 
24463     SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "3"" of type '" "wxDC &""'");  
24466     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "3"" of type '" "wxDC &""'");  
24468   arg3 
= reinterpret_cast< wxDC 
* >(argp3
); 
24471     if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
; 
24474     ecode5 
= SWIG_AsVal_int(obj4
, &val5
); 
24475     if (!SWIG_IsOK(ecode5
)) { 
24476       SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "5"" of type '" "int""'"); 
24478     arg5 
= static_cast< int >(val5
); 
24481     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24482     (arg1
)->DrawSplitterBorder(arg2
,*arg3
,(wxRect 
const &)*arg4
,arg5
); 
24483     wxPyEndAllowThreads(__tstate
); 
24484     if (PyErr_Occurred()) SWIG_fail
; 
24486   resultobj 
= SWIG_Py_Void(); 
24493 SWIGINTERN PyObject 
*_wrap_RendererNative_DrawSplitterSash(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
24494   PyObject 
*resultobj 
= 0; 
24495   wxRendererNative 
*arg1 
= (wxRendererNative 
*) 0 ; 
24496   wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
24500   wxOrientation arg6 
; 
24501   int arg7 
= (int) 0 ; 
24515   PyObject 
* obj0 
= 0 ; 
24516   PyObject 
* obj1 
= 0 ; 
24517   PyObject 
* obj2 
= 0 ; 
24518   PyObject 
* obj3 
= 0 ; 
24519   PyObject 
* obj4 
= 0 ; 
24520   PyObject 
* obj5 
= 0 ; 
24521   PyObject 
* obj6 
= 0 ; 
24522   char *  kwnames
[] = { 
24523     (char *) "self",(char *) "win",(char *) "dc",(char *) "size",(char *) "position",(char *) "orient",(char *) "flags", NULL 
 
24526   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:RendererNative_DrawSplitterSash",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
; 
24527   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 |  0 ); 
24528   if (!SWIG_IsOK(res1
)) { 
24529     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "1"" of type '" "wxRendererNative *""'");  
24531   arg1 
= reinterpret_cast< wxRendererNative 
* >(argp1
); 
24532   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
24533   if (!SWIG_IsOK(res2
)) { 
24534     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "2"" of type '" "wxWindow *""'");  
24536   arg2 
= reinterpret_cast< wxWindow 
* >(argp2
); 
24537   res3 
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
,  0 ); 
24538   if (!SWIG_IsOK(res3
)) { 
24539     SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "3"" of type '" "wxDC &""'");  
24542     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "3"" of type '" "wxDC &""'");  
24544   arg3 
= reinterpret_cast< wxDC 
* >(argp3
); 
24547     if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
; 
24549   ecode5 
= SWIG_AsVal_int(obj4
, &val5
); 
24550   if (!SWIG_IsOK(ecode5
)) { 
24551     SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "5"" of type '" "int""'"); 
24553   arg5 
= static_cast< int >(val5
); 
24554   ecode6 
= SWIG_AsVal_int(obj5
, &val6
); 
24555   if (!SWIG_IsOK(ecode6
)) { 
24556     SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "6"" of type '" "wxOrientation""'"); 
24558   arg6 
= static_cast< wxOrientation 
>(val6
); 
24560     ecode7 
= SWIG_AsVal_int(obj6
, &val7
); 
24561     if (!SWIG_IsOK(ecode7
)) { 
24562       SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "7"" of type '" "int""'"); 
24564     arg7 
= static_cast< int >(val7
); 
24567     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24568     (arg1
)->DrawSplitterSash(arg2
,*arg3
,(wxSize 
const &)*arg4
,arg5
,arg6
,arg7
); 
24569     wxPyEndAllowThreads(__tstate
); 
24570     if (PyErr_Occurred()) SWIG_fail
; 
24572   resultobj 
= SWIG_Py_Void(); 
24579 SWIGINTERN PyObject 
*_wrap_RendererNative_DrawComboBoxDropButton(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
24580   PyObject 
*resultobj 
= 0; 
24581   wxRendererNative 
*arg1 
= (wxRendererNative 
*) 0 ; 
24582   wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
24585   int arg5 
= (int) 0 ; 
24595   PyObject 
* obj0 
= 0 ; 
24596   PyObject 
* obj1 
= 0 ; 
24597   PyObject 
* obj2 
= 0 ; 
24598   PyObject 
* obj3 
= 0 ; 
24599   PyObject 
* obj4 
= 0 ; 
24600   char *  kwnames
[] = { 
24601     (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL 
 
24604   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawComboBoxDropButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
; 
24605   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 |  0 ); 
24606   if (!SWIG_IsOK(res1
)) { 
24607     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");  
24609   arg1 
= reinterpret_cast< wxRendererNative 
* >(argp1
); 
24610   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
24611   if (!SWIG_IsOK(res2
)) { 
24612     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "2"" of type '" "wxWindow *""'");  
24614   arg2 
= reinterpret_cast< wxWindow 
* >(argp2
); 
24615   res3 
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
,  0 ); 
24616   if (!SWIG_IsOK(res3
)) { 
24617     SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "3"" of type '" "wxDC &""'");  
24620     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "3"" of type '" "wxDC &""'");  
24622   arg3 
= reinterpret_cast< wxDC 
* >(argp3
); 
24625     if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
; 
24628     ecode5 
= SWIG_AsVal_int(obj4
, &val5
); 
24629     if (!SWIG_IsOK(ecode5
)) { 
24630       SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "5"" of type '" "int""'"); 
24632     arg5 
= static_cast< int >(val5
); 
24635     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24636     (arg1
)->DrawComboBoxDropButton(arg2
,*arg3
,(wxRect 
const &)*arg4
,arg5
); 
24637     wxPyEndAllowThreads(__tstate
); 
24638     if (PyErr_Occurred()) SWIG_fail
; 
24640   resultobj 
= SWIG_Py_Void(); 
24647 SWIGINTERN PyObject 
*_wrap_RendererNative_DrawDropArrow(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
24648   PyObject 
*resultobj 
= 0; 
24649   wxRendererNative 
*arg1 
= (wxRendererNative 
*) 0 ; 
24650   wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
24653   int arg5 
= (int) 0 ; 
24663   PyObject 
* obj0 
= 0 ; 
24664   PyObject 
* obj1 
= 0 ; 
24665   PyObject 
* obj2 
= 0 ; 
24666   PyObject 
* obj3 
= 0 ; 
24667   PyObject 
* obj4 
= 0 ; 
24668   char *  kwnames
[] = { 
24669     (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL 
 
24672   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawDropArrow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
; 
24673   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 |  0 ); 
24674   if (!SWIG_IsOK(res1
)) { 
24675     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "1"" of type '" "wxRendererNative *""'");  
24677   arg1 
= reinterpret_cast< wxRendererNative 
* >(argp1
); 
24678   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
24679   if (!SWIG_IsOK(res2
)) { 
24680     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "2"" of type '" "wxWindow *""'");  
24682   arg2 
= reinterpret_cast< wxWindow 
* >(argp2
); 
24683   res3 
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
,  0 ); 
24684   if (!SWIG_IsOK(res3
)) { 
24685     SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "3"" of type '" "wxDC &""'");  
24688     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawDropArrow" "', expected argument " "3"" of type '" "wxDC &""'");  
24690   arg3 
= reinterpret_cast< wxDC 
* >(argp3
); 
24693     if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
; 
24696     ecode5 
= SWIG_AsVal_int(obj4
, &val5
); 
24697     if (!SWIG_IsOK(ecode5
)) { 
24698       SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "5"" of type '" "int""'"); 
24700     arg5 
= static_cast< int >(val5
); 
24703     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24704     (arg1
)->DrawDropArrow(arg2
,*arg3
,(wxRect 
const &)*arg4
,arg5
); 
24705     wxPyEndAllowThreads(__tstate
); 
24706     if (PyErr_Occurred()) SWIG_fail
; 
24708   resultobj 
= SWIG_Py_Void(); 
24715 SWIGINTERN PyObject 
*_wrap_RendererNative_DrawCheckBox(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
24716   PyObject 
*resultobj 
= 0; 
24717   wxRendererNative 
*arg1 
= (wxRendererNative 
*) 0 ; 
24718   wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
24721   int arg5 
= (int) 0 ; 
24731   PyObject 
* obj0 
= 0 ; 
24732   PyObject 
* obj1 
= 0 ; 
24733   PyObject 
* obj2 
= 0 ; 
24734   PyObject 
* obj3 
= 0 ; 
24735   PyObject 
* obj4 
= 0 ; 
24736   char *  kwnames
[] = { 
24737     (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL 
 
24740   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawCheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
; 
24741   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 |  0 ); 
24742   if (!SWIG_IsOK(res1
)) { 
24743     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "1"" of type '" "wxRendererNative *""'");  
24745   arg1 
= reinterpret_cast< wxRendererNative 
* >(argp1
); 
24746   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
24747   if (!SWIG_IsOK(res2
)) { 
24748     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "2"" of type '" "wxWindow *""'");  
24750   arg2 
= reinterpret_cast< wxWindow 
* >(argp2
); 
24751   res3 
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
,  0 ); 
24752   if (!SWIG_IsOK(res3
)) { 
24753     SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "3"" of type '" "wxDC &""'");  
24756     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawCheckBox" "', expected argument " "3"" of type '" "wxDC &""'");  
24758   arg3 
= reinterpret_cast< wxDC 
* >(argp3
); 
24761     if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
; 
24764     ecode5 
= SWIG_AsVal_int(obj4
, &val5
); 
24765     if (!SWIG_IsOK(ecode5
)) { 
24766       SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "5"" of type '" "int""'"); 
24768     arg5 
= static_cast< int >(val5
); 
24771     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24772     (arg1
)->DrawCheckBox(arg2
,*arg3
,(wxRect 
const &)*arg4
,arg5
); 
24773     wxPyEndAllowThreads(__tstate
); 
24774     if (PyErr_Occurred()) SWIG_fail
; 
24776   resultobj 
= SWIG_Py_Void(); 
24783 SWIGINTERN PyObject 
*_wrap_RendererNative_DrawPushButton(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
24784   PyObject 
*resultobj 
= 0; 
24785   wxRendererNative 
*arg1 
= (wxRendererNative 
*) 0 ; 
24786   wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
24789   int arg5 
= (int) 0 ; 
24799   PyObject 
* obj0 
= 0 ; 
24800   PyObject 
* obj1 
= 0 ; 
24801   PyObject 
* obj2 
= 0 ; 
24802   PyObject 
* obj3 
= 0 ; 
24803   PyObject 
* obj4 
= 0 ; 
24804   char *  kwnames
[] = { 
24805     (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL 
 
24808   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawPushButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
; 
24809   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 |  0 ); 
24810   if (!SWIG_IsOK(res1
)) { 
24811     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");  
24813   arg1 
= reinterpret_cast< wxRendererNative 
* >(argp1
); 
24814   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
24815   if (!SWIG_IsOK(res2
)) { 
24816     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "2"" of type '" "wxWindow *""'");  
24818   arg2 
= reinterpret_cast< wxWindow 
* >(argp2
); 
24819   res3 
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
,  0 ); 
24820   if (!SWIG_IsOK(res3
)) { 
24821     SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "3"" of type '" "wxDC &""'");  
24824     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawPushButton" "', expected argument " "3"" of type '" "wxDC &""'");  
24826   arg3 
= reinterpret_cast< wxDC 
* >(argp3
); 
24829     if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
; 
24832     ecode5 
= SWIG_AsVal_int(obj4
, &val5
); 
24833     if (!SWIG_IsOK(ecode5
)) { 
24834       SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "5"" of type '" "int""'"); 
24836     arg5 
= static_cast< int >(val5
); 
24839     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24840     (arg1
)->DrawPushButton(arg2
,*arg3
,(wxRect 
const &)*arg4
,arg5
); 
24841     wxPyEndAllowThreads(__tstate
); 
24842     if (PyErr_Occurred()) SWIG_fail
; 
24844   resultobj 
= SWIG_Py_Void(); 
24851 SWIGINTERN PyObject 
*_wrap_RendererNative_DrawItemSelectionRect(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
24852   PyObject 
*resultobj 
= 0; 
24853   wxRendererNative 
*arg1 
= (wxRendererNative 
*) 0 ; 
24854   wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
24857   int arg5 
= (int) 0 ; 
24867   PyObject 
* obj0 
= 0 ; 
24868   PyObject 
* obj1 
= 0 ; 
24869   PyObject 
* obj2 
= 0 ; 
24870   PyObject 
* obj3 
= 0 ; 
24871   PyObject 
* obj4 
= 0 ; 
24872   char *  kwnames
[] = { 
24873     (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL 
 
24876   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawItemSelectionRect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
; 
24877   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 |  0 ); 
24878   if (!SWIG_IsOK(res1
)) { 
24879     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "1"" of type '" "wxRendererNative *""'");  
24881   arg1 
= reinterpret_cast< wxRendererNative 
* >(argp1
); 
24882   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
24883   if (!SWIG_IsOK(res2
)) { 
24884     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "2"" of type '" "wxWindow *""'");  
24886   arg2 
= reinterpret_cast< wxWindow 
* >(argp2
); 
24887   res3 
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
,  0 ); 
24888   if (!SWIG_IsOK(res3
)) { 
24889     SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "3"" of type '" "wxDC &""'");  
24892     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "3"" of type '" "wxDC &""'");  
24894   arg3 
= reinterpret_cast< wxDC 
* >(argp3
); 
24897     if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
; 
24900     ecode5 
= SWIG_AsVal_int(obj4
, &val5
); 
24901     if (!SWIG_IsOK(ecode5
)) { 
24902       SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "5"" of type '" "int""'"); 
24904     arg5 
= static_cast< int >(val5
); 
24907     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24908     (arg1
)->DrawItemSelectionRect(arg2
,*arg3
,(wxRect 
const &)*arg4
,arg5
); 
24909     wxPyEndAllowThreads(__tstate
); 
24910     if (PyErr_Occurred()) SWIG_fail
; 
24912   resultobj 
= SWIG_Py_Void(); 
24919 SWIGINTERN PyObject 
*_wrap_RendererNative_GetSplitterParams(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
24920   PyObject 
*resultobj 
= 0; 
24921   wxRendererNative 
*arg1 
= (wxRendererNative 
*) 0 ; 
24922   wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
24923   SwigValueWrapper
<wxSplitterRenderParams 
> result
; 
24928   PyObject 
* obj0 
= 0 ; 
24929   PyObject 
* obj1 
= 0 ; 
24930   char *  kwnames
[] = { 
24931     (char *) "self",(char *) "win", NULL 
 
24934   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RendererNative_GetSplitterParams",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
24935   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 |  0 ); 
24936   if (!SWIG_IsOK(res1
)) { 
24937     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetSplitterParams" "', expected argument " "1"" of type '" "wxRendererNative *""'");  
24939   arg1 
= reinterpret_cast< wxRendererNative 
* >(argp1
); 
24940   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
24941   if (!SWIG_IsOK(res2
)) { 
24942     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_GetSplitterParams" "', expected argument " "2"" of type '" "wxWindow const *""'");  
24944   arg2 
= reinterpret_cast< wxWindow 
* >(argp2
); 
24946     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24947     result 
= (arg1
)->GetSplitterParams((wxWindow 
const *)arg2
); 
24948     wxPyEndAllowThreads(__tstate
); 
24949     if (PyErr_Occurred()) SWIG_fail
; 
24951   resultobj 
= SWIG_NewPointerObj((new wxSplitterRenderParams(static_cast< const wxSplitterRenderParams
& >(result
))), SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_OWN 
|  0 ); 
24958 SWIGINTERN PyObject 
*_wrap_RendererNative_Get(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
24959   PyObject 
*resultobj 
= 0; 
24960   wxRendererNative 
*result 
= 0 ; 
24962   if (!SWIG_Python_UnpackTuple(args
,"RendererNative_Get",0,0,0)) SWIG_fail
; 
24964     if (!wxPyCheckForApp()) SWIG_fail
; 
24965     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24967       wxRendererNative 
&_result_ref 
= wxRendererNative::Get(); 
24968       result 
= (wxRendererNative 
*) &_result_ref
; 
24970     wxPyEndAllowThreads(__tstate
); 
24971     if (PyErr_Occurred()) SWIG_fail
; 
24973   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 |  0 ); 
24980 SWIGINTERN PyObject 
*_wrap_RendererNative_GetGeneric(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
24981   PyObject 
*resultobj 
= 0; 
24982   wxRendererNative 
*result 
= 0 ; 
24984   if (!SWIG_Python_UnpackTuple(args
,"RendererNative_GetGeneric",0,0,0)) SWIG_fail
; 
24986     if (!wxPyCheckForApp()) SWIG_fail
; 
24987     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24989       wxRendererNative 
&_result_ref 
= wxRendererNative::GetGeneric(); 
24990       result 
= (wxRendererNative 
*) &_result_ref
; 
24992     wxPyEndAllowThreads(__tstate
); 
24993     if (PyErr_Occurred()) SWIG_fail
; 
24995   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 |  0 ); 
25002 SWIGINTERN PyObject 
*_wrap_RendererNative_GetDefault(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
25003   PyObject 
*resultobj 
= 0; 
25004   wxRendererNative 
*result 
= 0 ; 
25006   if (!SWIG_Python_UnpackTuple(args
,"RendererNative_GetDefault",0,0,0)) SWIG_fail
; 
25008     if (!wxPyCheckForApp()) SWIG_fail
; 
25009     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25011       wxRendererNative 
&_result_ref 
= wxRendererNative::GetDefault(); 
25012       result 
= (wxRendererNative 
*) &_result_ref
; 
25014     wxPyEndAllowThreads(__tstate
); 
25015     if (PyErr_Occurred()) SWIG_fail
; 
25017   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 |  0 ); 
25024 SWIGINTERN PyObject 
*_wrap_RendererNative_Set(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
25025   PyObject 
*resultobj 
= 0; 
25026   wxRendererNative 
*arg1 
= (wxRendererNative 
*) 0 ; 
25027   wxRendererNative 
*result 
= 0 ; 
25030   PyObject 
* obj0 
= 0 ; 
25031   char *  kwnames
[] = { 
25032     (char *) "renderer", NULL 
 
25035   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererNative_Set",kwnames
,&obj0
)) SWIG_fail
; 
25036   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 |  0 ); 
25037   if (!SWIG_IsOK(res1
)) { 
25038     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_Set" "', expected argument " "1"" of type '" "wxRendererNative *""'");  
25040   arg1 
= reinterpret_cast< wxRendererNative 
* >(argp1
); 
25042     if (!wxPyCheckForApp()) SWIG_fail
; 
25043     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25044     result 
= (wxRendererNative 
*)wxRendererNative::Set(arg1
); 
25045     wxPyEndAllowThreads(__tstate
); 
25046     if (PyErr_Occurred()) SWIG_fail
; 
25048   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 |  0 ); 
25055 SWIGINTERN PyObject 
*_wrap_RendererNative_GetVersion(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
25056   PyObject 
*resultobj 
= 0; 
25057   wxRendererNative 
*arg1 
= (wxRendererNative 
*) 0 ; 
25058   SwigValueWrapper
<wxRendererVersion 
> result
; 
25061   PyObject 
*swig_obj
[1] ; 
25063   if (!args
) SWIG_fail
; 
25064   swig_obj
[0] = args
; 
25065   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererNative
, 0 |  0 ); 
25066   if (!SWIG_IsOK(res1
)) { 
25067     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetVersion" "', expected argument " "1"" of type '" "wxRendererNative const *""'");  
25069   arg1 
= reinterpret_cast< wxRendererNative 
* >(argp1
); 
25071     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25072     result 
= ((wxRendererNative 
const *)arg1
)->GetVersion(); 
25073     wxPyEndAllowThreads(__tstate
); 
25074     if (PyErr_Occurred()) SWIG_fail
; 
25076   resultobj 
= SWIG_NewPointerObj((new wxRendererVersion(static_cast< const wxRendererVersion
& >(result
))), SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_OWN 
|  0 ); 
25083 SWIGINTERN PyObject 
*RendererNative_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
25085   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
25086   SWIG_TypeNewClientData(SWIGTYPE_p_wxRendererNative
, SWIG_NewClientData(obj
)); 
25087   return SWIG_Py_Void(); 
25090 SWIGINTERN PyObject 
*_wrap_new_PseudoDC(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
25091   PyObject 
*resultobj 
= 0; 
25092   wxPseudoDC 
*result 
= 0 ; 
25094   if (!SWIG_Python_UnpackTuple(args
,"new_PseudoDC",0,0,0)) SWIG_fail
; 
25096     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25097     result 
= (wxPseudoDC 
*)new wxPseudoDC(); 
25098     wxPyEndAllowThreads(__tstate
); 
25099     if (PyErr_Occurred()) SWIG_fail
; 
25101   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPseudoDC
, SWIG_POINTER_NEW 
|  0 ); 
25108 SWIGINTERN PyObject 
*_wrap_PseudoDC_BeginDrawing(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
25109   PyObject 
*resultobj 
= 0; 
25110   wxPseudoDC 
*arg1 
= (wxPseudoDC 
*) 0 ; 
25113   PyObject 
*swig_obj
[1] ; 
25115   if (!args
) SWIG_fail
; 
25116   swig_obj
[0] = args
; 
25117   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 |  0 ); 
25118   if (!SWIG_IsOK(res1
)) { 
25119     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_BeginDrawing" "', expected argument " "1"" of type '" "wxPseudoDC *""'");  
25121   arg1 
= reinterpret_cast< wxPseudoDC 
* >(argp1
); 
25123     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25124     (arg1
)->BeginDrawing(); 
25125     wxPyEndAllowThreads(__tstate
); 
25126     if (PyErr_Occurred()) SWIG_fail
; 
25128   resultobj 
= SWIG_Py_Void(); 
25135 SWIGINTERN PyObject 
*_wrap_PseudoDC_EndDrawing(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
25136   PyObject 
*resultobj 
= 0; 
25137   wxPseudoDC 
*arg1 
= (wxPseudoDC 
*) 0 ; 
25140   PyObject 
*swig_obj
[1] ; 
25142   if (!args
) SWIG_fail
; 
25143   swig_obj
[0] = args
; 
25144   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 |  0 ); 
25145   if (!SWIG_IsOK(res1
)) { 
25146     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_EndDrawing" "', expected argument " "1"" of type '" "wxPseudoDC *""'");  
25148   arg1 
= reinterpret_cast< wxPseudoDC 
* >(argp1
); 
25150     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25151     (arg1
)->EndDrawing(); 
25152     wxPyEndAllowThreads(__tstate
); 
25153     if (PyErr_Occurred()) SWIG_fail
; 
25155   resultobj 
= SWIG_Py_Void(); 
25162 SWIGINTERN PyObject 
*_wrap_delete_PseudoDC(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
25163   PyObject 
*resultobj 
= 0; 
25164   wxPseudoDC 
*arg1 
= (wxPseudoDC 
*) 0 ; 
25167   PyObject 
*swig_obj
[1] ; 
25169   if (!args
) SWIG_fail
; 
25170   swig_obj
[0] = args
; 
25171   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, SWIG_POINTER_DISOWN 
|  0 ); 
25172   if (!SWIG_IsOK(res1
)) { 
25173     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PseudoDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");  
25175   arg1 
= reinterpret_cast< wxPseudoDC 
* >(argp1
); 
25177     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25180     wxPyEndAllowThreads(__tstate
); 
25181     if (PyErr_Occurred()) SWIG_fail
; 
25183   resultobj 
= SWIG_Py_Void(); 
25190 SWIGINTERN PyObject 
*_wrap_PseudoDC_RemoveAll(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
25191   PyObject 
*resultobj 
= 0; 
25192   wxPseudoDC 
*arg1 
= (wxPseudoDC 
*) 0 ; 
25195   PyObject 
*swig_obj
[1] ; 
25197   if (!args
) SWIG_fail
; 
25198   swig_obj
[0] = args
; 
25199   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 |  0 ); 
25200   if (!SWIG_IsOK(res1
)) { 
25201     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_RemoveAll" "', expected argument " "1"" of type '" "wxPseudoDC *""'");  
25203   arg1 
= reinterpret_cast< wxPseudoDC 
* >(argp1
); 
25205     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25206     (arg1
)->RemoveAll(); 
25207     wxPyEndAllowThreads(__tstate
); 
25208     if (PyErr_Occurred()) SWIG_fail
; 
25210   resultobj 
= SWIG_Py_Void(); 
25217 SWIGINTERN PyObject 
*_wrap_PseudoDC_GetLen(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
25218   PyObject 
*resultobj 
= 0; 
25219   wxPseudoDC 
*arg1 
= (wxPseudoDC 
*) 0 ; 
25223   PyObject 
*swig_obj
[1] ; 
25225   if (!args
) SWIG_fail
; 
25226   swig_obj
[0] = args
; 
25227   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 |  0 ); 
25228   if (!SWIG_IsOK(res1
)) { 
25229     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetLen" "', expected argument " "1"" of type '" "wxPseudoDC *""'");  
25231   arg1 
= reinterpret_cast< wxPseudoDC 
* >(argp1
); 
25233     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25234     result 
= (int)(arg1
)->GetLen(); 
25235     wxPyEndAllowThreads(__tstate
); 
25236     if (PyErr_Occurred()) SWIG_fail
; 
25238   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
25245 SWIGINTERN PyObject 
*_wrap_PseudoDC_SetId(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
25246   PyObject 
*resultobj 
= 0; 
25247   wxPseudoDC 
*arg1 
= (wxPseudoDC 
*) 0 ; 
25253   PyObject 
* obj0 
= 0 ; 
25254   PyObject 
* obj1 
= 0 ; 
25255   char *  kwnames
[] = { 
25256     (char *) "self",(char *) "id", NULL 
 
25259   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
25260   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 |  0 ); 
25261   if (!SWIG_IsOK(res1
)) { 
25262     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");  
25264   arg1 
= reinterpret_cast< wxPseudoDC 
* >(argp1
); 
25265   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
25266   if (!SWIG_IsOK(ecode2
)) { 
25267     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetId" "', expected argument " "2"" of type '" "int""'"); 
25269   arg2 
= static_cast< int >(val2
); 
25271     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25272     (arg1
)->SetId(arg2
); 
25273     wxPyEndAllowThreads(__tstate
); 
25274     if (PyErr_Occurred()) SWIG_fail
; 
25276   resultobj 
= SWIG_Py_Void(); 
25283 SWIGINTERN PyObject 
*_wrap_PseudoDC_ClearId(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
25284   PyObject 
*resultobj 
= 0; 
25285   wxPseudoDC 
*arg1 
= (wxPseudoDC 
*) 0 ; 
25291   PyObject 
* obj0 
= 0 ; 
25292   PyObject 
* obj1 
= 0 ; 
25293   char *  kwnames
[] = { 
25294     (char *) "self",(char *) "id", NULL 
 
25297   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_ClearId",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
25298   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 |  0 ); 
25299   if (!SWIG_IsOK(res1
)) { 
25300     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_ClearId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");  
25302   arg1 
= reinterpret_cast< wxPseudoDC 
* >(argp1
); 
25303   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
25304   if (!SWIG_IsOK(ecode2
)) { 
25305     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_ClearId" "', expected argument " "2"" of type '" "int""'"); 
25307   arg2 
= static_cast< int >(val2
); 
25309     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25310     (arg1
)->ClearId(arg2
); 
25311     wxPyEndAllowThreads(__tstate
); 
25312     if (PyErr_Occurred()) SWIG_fail
; 
25314   resultobj 
= SWIG_Py_Void(); 
25321 SWIGINTERN PyObject 
*_wrap_PseudoDC_RemoveId(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
25322   PyObject 
*resultobj 
= 0; 
25323   wxPseudoDC 
*arg1 
= (wxPseudoDC 
*) 0 ; 
25329   PyObject 
* obj0 
= 0 ; 
25330   PyObject 
* obj1 
= 0 ; 
25331   char *  kwnames
[] = { 
25332     (char *) "self",(char *) "id", NULL 
 
25335   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_RemoveId",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
25336   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 |  0 ); 
25337   if (!SWIG_IsOK(res1
)) { 
25338     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_RemoveId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");  
25340   arg1 
= reinterpret_cast< wxPseudoDC 
* >(argp1
); 
25341   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
25342   if (!SWIG_IsOK(ecode2
)) { 
25343     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_RemoveId" "', expected argument " "2"" of type '" "int""'"); 
25345   arg2 
= static_cast< int >(val2
); 
25347     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25348     (arg1
)->RemoveId(arg2
); 
25349     wxPyEndAllowThreads(__tstate
); 
25350     if (PyErr_Occurred()) SWIG_fail
; 
25352   resultobj 
= SWIG_Py_Void(); 
25359 SWIGINTERN PyObject 
*_wrap_PseudoDC_TranslateId(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
25360   PyObject 
*resultobj 
= 0; 
25361   wxPseudoDC 
*arg1 
= (wxPseudoDC 
*) 0 ; 
25373   PyObject 
* obj0 
= 0 ; 
25374   PyObject 
* obj1 
= 0 ; 
25375   PyObject 
* obj2 
= 0 ; 
25376   PyObject 
* obj3 
= 0 ; 
25377   char *  kwnames
[] = { 
25378     (char *) "self",(char *) "id",(char *) "dx",(char *) "dy", NULL 
 
25381   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_TranslateId",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
; 
25382   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 |  0 ); 
25383   if (!SWIG_IsOK(res1
)) { 
25384     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_TranslateId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");  
25386   arg1 
= reinterpret_cast< wxPseudoDC 
* >(argp1
); 
25387   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
25388   if (!SWIG_IsOK(ecode2
)) { 
25389     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_TranslateId" "', expected argument " "2"" of type '" "int""'"); 
25391   arg2 
= static_cast< int >(val2
); 
25392   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
25393   if (!SWIG_IsOK(ecode3
)) { 
25394     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_TranslateId" "', expected argument " "3"" of type '" "int""'"); 
25396   arg3 
= static_cast< int >(val3
); 
25397   ecode4 
= SWIG_AsVal_int(obj3
, &val4
); 
25398   if (!SWIG_IsOK(ecode4
)) { 
25399     SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_TranslateId" "', expected argument " "4"" of type '" "int""'"); 
25401   arg4 
= static_cast< int >(val4
); 
25403     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25404     (arg1
)->TranslateId(arg2
,arg3
,arg4
); 
25405     wxPyEndAllowThreads(__tstate
); 
25406     if (PyErr_Occurred()) SWIG_fail
; 
25408   resultobj 
= SWIG_Py_Void(); 
25415 SWIGINTERN PyObject 
*_wrap_PseudoDC_DrawIdToDC(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
25416   PyObject 
*resultobj 
= 0; 
25417   wxPseudoDC 
*arg1 
= (wxPseudoDC 
*) 0 ; 
25419   wxDC 
*arg3 
= (wxDC 
*) 0 ; 
25426   PyObject 
* obj0 
= 0 ; 
25427   PyObject 
* obj1 
= 0 ; 
25428   PyObject 
* obj2 
= 0 ; 
25429   char *  kwnames
[] = { 
25430     (char *) "self",(char *) "id",(char *) "dc", NULL 
 
25433   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawIdToDC",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
25434   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 |  0 ); 
25435   if (!SWIG_IsOK(res1
)) { 
25436     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");  
25438   arg1 
= reinterpret_cast< wxPseudoDC 
* >(argp1
); 
25439   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
25440   if (!SWIG_IsOK(ecode2
)) { 
25441     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "2"" of type '" "int""'"); 
25443   arg2 
= static_cast< int >(val2
); 
25444   res3 
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
25445   if (!SWIG_IsOK(res3
)) { 
25446     SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "3"" of type '" "wxDC *""'");  
25448   arg3 
= reinterpret_cast< wxDC 
* >(argp3
); 
25450     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25451     (arg1
)->DrawIdToDC(arg2
,arg3
); 
25452     wxPyEndAllowThreads(__tstate
); 
25453     if (PyErr_Occurred()) SWIG_fail
; 
25455   resultobj 
= SWIG_Py_Void(); 
25462 SWIGINTERN PyObject 
*_wrap_PseudoDC_SetIdBounds(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
25463   PyObject 
*resultobj 
= 0; 
25464   wxPseudoDC 
*arg1 
= (wxPseudoDC 
*) 0 ; 
25472   PyObject 
* obj0 
= 0 ; 
25473   PyObject 
* obj1 
= 0 ; 
25474   PyObject 
* obj2 
= 0 ; 
25475   char *  kwnames
[] = { 
25476     (char *) "self",(char *) "id",(char *) "rect", NULL 
 
25479   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_SetIdBounds",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
25480   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 |  0 ); 
25481   if (!SWIG_IsOK(res1
)) { 
25482     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetIdBounds" "', expected argument " "1"" of type '" "wxPseudoDC *""'");  
25484   arg1 
= reinterpret_cast< wxPseudoDC 
* >(argp1
); 
25485   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
25486   if (!SWIG_IsOK(ecode2
)) { 
25487     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetIdBounds" "', expected argument " "2"" of type '" "int""'"); 
25489   arg2 
= static_cast< int >(val2
); 
25492     if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
; 
25495     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25496     (arg1
)->SetIdBounds(arg2
,*arg3
); 
25497     wxPyEndAllowThreads(__tstate
); 
25498     if (PyErr_Occurred()) SWIG_fail
; 
25500   resultobj 
= SWIG_Py_Void(); 
25507 SWIGINTERN PyObject 
*_wrap_PseudoDC_GetIdBounds(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
25508   PyObject 
*resultobj 
= 0; 
25509   wxPseudoDC 
*arg1 
= (wxPseudoDC 
*) 0 ; 
25516   PyObject 
* obj0 
= 0 ; 
25517   PyObject 
* obj1 
= 0 ; 
25518   char *  kwnames
[] = { 
25519     (char *) "self",(char *) "id", NULL 
 
25522   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_GetIdBounds",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
25523   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 |  0 ); 
25524   if (!SWIG_IsOK(res1
)) { 
25525     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetIdBounds" "', expected argument " "1"" of type '" "wxPseudoDC *""'");  
25527   arg1 
= reinterpret_cast< wxPseudoDC 
* >(argp1
); 
25528   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
25529   if (!SWIG_IsOK(ecode2
)) { 
25530     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_GetIdBounds" "', expected argument " "2"" of type '" "int""'"); 
25532   arg2 
= static_cast< int >(val2
); 
25534     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25535     result 
= wxPseudoDC_GetIdBounds(arg1
,arg2
); 
25536     wxPyEndAllowThreads(__tstate
); 
25537     if (PyErr_Occurred()) SWIG_fail
; 
25539   resultobj 
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN 
|  0 ); 
25546 SWIGINTERN PyObject 
*_wrap_PseudoDC_DrawToDCClipped(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
25547   PyObject 
*resultobj 
= 0; 
25548   wxPseudoDC 
*arg1 
= (wxPseudoDC 
*) 0 ; 
25549   wxDC 
*arg2 
= (wxDC 
*) 0 ; 
25556   PyObject 
* obj0 
= 0 ; 
25557   PyObject 
* obj1 
= 0 ; 
25558   PyObject 
* obj2 
= 0 ; 
25559   char *  kwnames
[] = { 
25560     (char *) "self",(char *) "dc",(char *) "rect", NULL 
 
25563   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawToDCClipped",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
25564   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 |  0 ); 
25565   if (!SWIG_IsOK(res1
)) { 
25566     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDCClipped" "', expected argument " "1"" of type '" "wxPseudoDC *""'");  
25568   arg1 
= reinterpret_cast< wxPseudoDC 
* >(argp1
); 
25569   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
25570   if (!SWIG_IsOK(res2
)) { 
25571     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDCClipped" "', expected argument " "2"" of type '" "wxDC *""'");  
25573   arg2 
= reinterpret_cast< wxDC 
* >(argp2
); 
25576     if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
; 
25579     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25580     (arg1
)->DrawToDCClipped(arg2
,(wxRect 
const &)*arg3
); 
25581     wxPyEndAllowThreads(__tstate
); 
25582     if (PyErr_Occurred()) SWIG_fail
; 
25584   resultobj 
= SWIG_Py_Void(); 
25591 SWIGINTERN PyObject 
*_wrap_PseudoDC_DrawToDCClippedRgn(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
25592   PyObject 
*resultobj 
= 0; 
25593   wxPseudoDC 
*arg1 
= (wxPseudoDC 
*) 0 ; 
25594   wxDC 
*arg2 
= (wxDC 
*) 0 ; 
25595   wxRegion 
*arg3 
= 0 ; 
25602   PyObject 
* obj0 
= 0 ; 
25603   PyObject 
* obj1 
= 0 ; 
25604   PyObject 
* obj2 
= 0 ; 
25605   char *  kwnames
[] = { 
25606     (char *) "self",(char *) "dc",(char *) "region", NULL 
 
25609   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawToDCClippedRgn",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
25610   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 |  0 ); 
25611   if (!SWIG_IsOK(res1
)) { 
25612     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "1"" of type '" "wxPseudoDC *""'");  
25614   arg1 
= reinterpret_cast< wxPseudoDC 
* >(argp1
); 
25615   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
25616   if (!SWIG_IsOK(res2
)) { 
25617     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "2"" of type '" "wxDC *""'");  
25619   arg2 
= reinterpret_cast< wxDC 
* >(argp2
); 
25620   res3 
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxRegion
,  0  | 0); 
25621   if (!SWIG_IsOK(res3
)) { 
25622     SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "3"" of type '" "wxRegion const &""'");  
25625     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "3"" of type '" "wxRegion const &""'");  
25627   arg3 
= reinterpret_cast< wxRegion 
* >(argp3
); 
25629     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25630     (arg1
)->DrawToDCClippedRgn(arg2
,(wxRegion 
const &)*arg3
); 
25631     wxPyEndAllowThreads(__tstate
); 
25632     if (PyErr_Occurred()) SWIG_fail
; 
25634   resultobj 
= SWIG_Py_Void(); 
25641 SWIGINTERN PyObject 
*_wrap_PseudoDC_DrawToDC(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
25642   PyObject 
*resultobj 
= 0; 
25643   wxPseudoDC 
*arg1 
= (wxPseudoDC 
*) 0 ; 
25644   wxDC 
*arg2 
= (wxDC 
*) 0 ; 
25649   PyObject 
* obj0 
= 0 ; 
25650   PyObject 
* obj1 
= 0 ; 
25651   char *  kwnames
[] = { 
25652     (char *) "self",(char *) "dc", NULL 
 
25655   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawToDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
25656   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 |  0 ); 
25657   if (!SWIG_IsOK(res1
)) { 
25658     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");  
25660   arg1 
= reinterpret_cast< wxPseudoDC 
* >(argp1
); 
25661   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
25662   if (!SWIG_IsOK(res2
)) { 
25663     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDC" "', expected argument " "2"" of type '" "wxDC *""'");  
25665   arg2 
= reinterpret_cast< wxDC 
* >(argp2
); 
25667     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25668     (arg1
)->DrawToDC(arg2
); 
25669     wxPyEndAllowThreads(__tstate
); 
25670     if (PyErr_Occurred()) SWIG_fail
; 
25672   resultobj 
= SWIG_Py_Void(); 
25679 SWIGINTERN PyObject 
*_wrap_PseudoDC_FloodFill(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
25680   PyObject 
*resultobj 
= 0; 
25681   wxPseudoDC 
*arg1 
= (wxPseudoDC 
*) 0 ; 
25684   wxColour 
*arg4 
= 0 ; 
25685   int arg5 
= (int) wxFLOOD_SURFACE 
; 
25695   PyObject 
* obj0 
= 0 ; 
25696   PyObject 
* obj1 
= 0 ; 
25697   PyObject 
* obj2 
= 0 ; 
25698   PyObject 
* obj3 
= 0 ; 
25699   PyObject 
* obj4 
= 0 ; 
25700   char *  kwnames
[] = { 
25701     (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL 
 
25704   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PseudoDC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
; 
25705   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 |  0 ); 
25706   if (!SWIG_IsOK(res1
)) { 
25707     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FloodFill" "', expected argument " "1"" of type '" "wxPseudoDC *""'");  
25709   arg1 
= reinterpret_cast< wxPseudoDC 
* >(argp1
); 
25710   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
25711   if (!SWIG_IsOK(ecode2
)) { 
25712     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FloodFill" "', expected argument " "2"" of type '" "int""'"); 
25714   arg2 
= static_cast< int >(val2
); 
25715   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
25716   if (!SWIG_IsOK(ecode3
)) { 
25717     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FloodFill" "', expected argument " "3"" of type '" "int""'"); 
25719   arg3 
= static_cast< int >(val3
); 
25722     if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
; 
25725     ecode5 
= SWIG_AsVal_int(obj4
, &val5
); 
25726     if (!SWIG_IsOK(ecode5
)) { 
25727       SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_FloodFill" "', expected argument " "5"" of type '" "int""'"); 
25729     arg5 
= static_cast< int >(val5
); 
25732     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25733     (arg1
)->FloodFill(arg2
,arg3
,(wxColour 
const &)*arg4
,arg5
); 
25734     wxPyEndAllowThreads(__tstate
); 
25735     if (PyErr_Occurred()) SWIG_fail
; 
25737   resultobj 
= SWIG_Py_Void(); 
25744 SWIGINTERN PyObject 
*_wrap_PseudoDC_FloodFillPoint(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
25745   PyObject 
*resultobj 
= 0; 
25746   wxPseudoDC 
*arg1 
= (wxPseudoDC 
*) 0 ; 
25747   wxPoint 
*arg2 
= 0 ; 
25748   wxColour 
*arg3 
= 0 ; 
25749   int arg4 
= (int) wxFLOOD_SURFACE 
; 
25756   PyObject 
* obj0 
= 0 ; 
25757   PyObject 
* obj1 
= 0 ; 
25758   PyObject 
* obj2 
= 0 ; 
25759   PyObject 
* obj3 
= 0 ; 
25760   char *  kwnames
[] = { 
25761     (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL 
 
25764   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PseudoDC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
; 
25765   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 |  0 ); 
25766   if (!SWIG_IsOK(res1
)) { 
25767     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FloodFillPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");  
25769   arg1 
= reinterpret_cast< wxPseudoDC 
* >(argp1
); 
25772     if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
25776     if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
; 
25779     ecode4 
= SWIG_AsVal_int(obj3
, &val4
); 
25780     if (!SWIG_IsOK(ecode4
)) { 
25781       SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_FloodFillPoint" "', expected argument " "4"" of type '" "int""'"); 
25783     arg4 
= static_cast< int >(val4
); 
25786     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25787     (arg1
)->FloodFill((wxPoint 
const &)*arg2
,(wxColour 
const &)*arg3
,arg4
); 
25788     wxPyEndAllowThreads(__tstate
); 
25789     if (PyErr_Occurred()) SWIG_fail
; 
25791   resultobj 
= SWIG_Py_Void(); 
25798 SWIGINTERN PyObject 
*_wrap_PseudoDC_DrawLine(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
25799   PyObject 
*resultobj 
= 0; 
25800   wxPseudoDC 
*arg1 
= (wxPseudoDC 
*) 0 ; 
25815   PyObject 
* obj0 
= 0 ; 
25816   PyObject 
* obj1 
= 0 ; 
25817   PyObject 
* obj2 
= 0 ; 
25818   PyObject 
* obj3 
= 0 ; 
25819   PyObject 
* obj4 
= 0 ; 
25820   char *  kwnames
[] = { 
25821     (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL 
 
25824   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
; 
25825   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 |  0 ); 
25826   if (!SWIG_IsOK(res1
)) { 
25827     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLine" "', expected argument " "1"" of type '" "wxPseudoDC *""'");  
25829   arg1 
= reinterpret_cast< wxPseudoDC 
* >(argp1
); 
25830   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
25831   if (!SWIG_IsOK(ecode2
)) { 
25832     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawLine" "', expected argument " "2"" of type '" "int""'"); 
25834   arg2 
= static_cast< int >(val2
); 
25835   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
25836   if (!SWIG_IsOK(ecode3
)) { 
25837     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawLine" "', expected argument " "3"" of type '" "int""'"); 
25839   arg3 
= static_cast< int >(val3
); 
25840   ecode4 
= SWIG_AsVal_int(obj3
, &val4
); 
25841   if (!SWIG_IsOK(ecode4
)) { 
25842     SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLine" "', expected argument " "4"" of type '" "int""'"); 
25844   arg4 
= static_cast< int >(val4
); 
25845   ecode5 
= SWIG_AsVal_int(obj4
, &val5
); 
25846   if (!SWIG_IsOK(ecode5
)) { 
25847     SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLine" "', expected argument " "5"" of type '" "int""'"); 
25849   arg5 
= static_cast< int >(val5
); 
25851     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25852     (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
); 
25853     wxPyEndAllowThreads(__tstate
); 
25854     if (PyErr_Occurred()) SWIG_fail
; 
25856   resultobj 
= SWIG_Py_Void(); 
25863 SWIGINTERN PyObject 
*_wrap_PseudoDC_DrawLinePoint(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
25864   PyObject 
*resultobj 
= 0; 
25865   wxPseudoDC 
*arg1 
= (wxPseudoDC 
*) 0 ; 
25866   wxPoint 
*arg2 
= 0 ; 
25867   wxPoint 
*arg3 
= 0 ; 
25872   PyObject 
* obj0 
= 0 ; 
25873   PyObject 
* obj1 
= 0 ; 
25874   PyObject 
* obj2 
= 0 ; 
25875   char *  kwnames
[] = { 
25876     (char *) "self",(char *) "pt1",(char *) "pt2", NULL 
 
25879   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
25880   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 |  0 ); 
25881   if (!SWIG_IsOK(res1
)) { 
25882     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLinePoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");  
25884   arg1 
= reinterpret_cast< wxPseudoDC 
* >(argp1
); 
25887     if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
25891     if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
; 
25894     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25895     (arg1
)->DrawLine((wxPoint 
const &)*arg2
,(wxPoint 
const &)*arg3
); 
25896     wxPyEndAllowThreads(__tstate
); 
25897     if (PyErr_Occurred()) SWIG_fail
; 
25899   resultobj 
= SWIG_Py_Void(); 
25906 SWIGINTERN PyObject 
*_wrap_PseudoDC_CrossHair(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
25907   PyObject 
*resultobj 
= 0; 
25908   wxPseudoDC 
*arg1 
= (wxPseudoDC 
*) 0 ; 
25917   PyObject 
* obj0 
= 0 ; 
25918   PyObject 
* obj1 
= 0 ; 
25919   PyObject 
* obj2 
= 0 ; 
25920   char *  kwnames
[] = { 
25921     (char *) "self",(char *) "x",(char *) "y", NULL 
 
25924   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
25925   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 |  0 ); 
25926   if (!SWIG_IsOK(res1
)) { 
25927     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_CrossHair" "', expected argument " "1"" of type '" "wxPseudoDC *""'");  
25929   arg1 
= reinterpret_cast< wxPseudoDC 
* >(argp1
); 
25930   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
25931   if (!SWIG_IsOK(ecode2
)) { 
25932     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_CrossHair" "', expected argument " "2"" of type '" "int""'"); 
25934   arg2 
= static_cast< int >(val2
); 
25935   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
25936   if (!SWIG_IsOK(ecode3
)) { 
25937     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_CrossHair" "', expected argument " "3"" of type '" "int""'"); 
25939   arg3 
= static_cast< int >(val3
); 
25941     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25942     (arg1
)->CrossHair(arg2
,arg3
); 
25943     wxPyEndAllowThreads(__tstate
); 
25944     if (PyErr_Occurred()) SWIG_fail
; 
25946   resultobj 
= SWIG_Py_Void(); 
25953 SWIGINTERN PyObject 
*_wrap_PseudoDC_CrossHairPoint(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
25954   PyObject 
*resultobj 
= 0; 
25955   wxPseudoDC 
*arg1 
= (wxPseudoDC 
*) 0 ; 
25956   wxPoint 
*arg2 
= 0 ; 
25960   PyObject 
* obj0 
= 0 ; 
25961   PyObject 
* obj1 
= 0 ; 
25962   char *  kwnames
[] = { 
25963     (char *) "self",(char *) "pt", NULL 
 
25966   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
25967   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 |  0 ); 
25968   if (!SWIG_IsOK(res1
)) { 
25969     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_CrossHairPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");  
25971   arg1 
= reinterpret_cast< wxPseudoDC 
* >(argp1
); 
25974     if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
25977     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25978     (arg1
)->CrossHair((wxPoint 
const &)*arg2
); 
25979     wxPyEndAllowThreads(__tstate
); 
25980     if (PyErr_Occurred()) SWIG_fail
; 
25982   resultobj 
= SWIG_Py_Void(); 
25989 SWIGINTERN PyObject 
*_wrap_PseudoDC_DrawArc(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
25990   PyObject 
*resultobj 
= 0; 
25991   wxPseudoDC 
*arg1 
= (wxPseudoDC 
*) 0 ; 
26012   PyObject 
* obj0 
= 0 ; 
26013   PyObject 
* obj1 
= 0 ; 
26014   PyObject 
* obj2 
= 0 ; 
26015   PyObject 
* obj3 
= 0 ; 
26016   PyObject 
* obj4 
= 0 ; 
26017   PyObject 
* obj5 
= 0 ; 
26018   PyObject 
* obj6 
= 0 ; 
26019   char *  kwnames
[] = { 
26020     (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL 
 
26023   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:PseudoDC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
; 
26024   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 |  0 ); 
26025   if (!SWIG_IsOK(res1
)) { 
26026     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawArc" "', expected argument " "1"" of type '" "wxPseudoDC *""'");  
26028   arg1 
= reinterpret_cast< wxPseudoDC 
* >(argp1
); 
26029   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
26030   if (!SWIG_IsOK(ecode2
)) { 
26031     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawArc" "', expected argument " "2"" of type '" "int""'"); 
26033   arg2 
= static_cast< int >(val2
); 
26034   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
26035   if (!SWIG_IsOK(ecode3
)) { 
26036     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawArc" "', expected argument " "3"" of type '" "int""'"); 
26038   arg3 
= static_cast< int >(val3
); 
26039   ecode4 
= SWIG_AsVal_int(obj3
, &val4
); 
26040   if (!SWIG_IsOK(ecode4
)) { 
26041     SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawArc" "', expected argument " "4"" of type '" "int""'"); 
26043   arg4 
= static_cast< int >(val4
); 
26044   ecode5 
= SWIG_AsVal_int(obj4
, &val5
); 
26045   if (!SWIG_IsOK(ecode5
)) { 
26046     SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawArc" "', expected argument " "5"" of type '" "int""'"); 
26048   arg5 
= static_cast< int >(val5
); 
26049   ecode6 
= SWIG_AsVal_int(obj5
, &val6
); 
26050   if (!SWIG_IsOK(ecode6
)) { 
26051     SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawArc" "', expected argument " "6"" of type '" "int""'"); 
26053   arg6 
= static_cast< int >(val6
); 
26054   ecode7 
= SWIG_AsVal_int(obj6
, &val7
); 
26055   if (!SWIG_IsOK(ecode7
)) { 
26056     SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PseudoDC_DrawArc" "', expected argument " "7"" of type '" "int""'"); 
26058   arg7 
= static_cast< int >(val7
); 
26060     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26061     (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
); 
26062     wxPyEndAllowThreads(__tstate
); 
26063     if (PyErr_Occurred()) SWIG_fail
; 
26065   resultobj 
= SWIG_Py_Void(); 
26072 SWIGINTERN PyObject 
*_wrap_PseudoDC_DrawArcPoint(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
26073   PyObject 
*resultobj 
= 0; 
26074   wxPseudoDC 
*arg1 
= (wxPseudoDC 
*) 0 ; 
26075   wxPoint 
*arg2 
= 0 ; 
26076   wxPoint 
*arg3 
= 0 ; 
26077   wxPoint 
*arg4 
= 0 ; 
26083   PyObject 
* obj0 
= 0 ; 
26084   PyObject 
* obj1 
= 0 ; 
26085   PyObject 
* obj2 
= 0 ; 
26086   PyObject 
* obj3 
= 0 ; 
26087   char *  kwnames
[] = { 
26088     (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL 
 
26091   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
; 
26092   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 |  0 ); 
26093   if (!SWIG_IsOK(res1
)) { 
26094     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawArcPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");  
26096   arg1 
= reinterpret_cast< wxPseudoDC 
* >(argp1
); 
26099     if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
26103     if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
; 
26107     if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
; 
26110     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26111     (arg1
)->DrawArc((wxPoint 
const &)*arg2
,(wxPoint 
const &)*arg3
,(wxPoint 
const &)*arg4
); 
26112     wxPyEndAllowThreads(__tstate
); 
26113     if (PyErr_Occurred()) SWIG_fail
; 
26115   resultobj 
= SWIG_Py_Void(); 
26122 SWIGINTERN PyObject 
*_wrap_PseudoDC_DrawCheckMark(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
26123   PyObject 
*resultobj 
= 0; 
26124   wxPseudoDC 
*arg1 
= (wxPseudoDC 
*) 0 ; 
26139   PyObject 
* obj0 
= 0 ; 
26140   PyObject 
* obj1 
= 0 ; 
26141   PyObject 
* obj2 
= 0 ; 
26142   PyObject 
* obj3 
= 0 ; 
26143   PyObject 
* obj4 
= 0 ; 
26144   char *  kwnames
[] = { 
26145     (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL 
 
26148   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
; 
26149   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 |  0 ); 
26150   if (!SWIG_IsOK(res1
)) { 
26151     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "1"" of type '" "wxPseudoDC *""'");  
26153   arg1 
= reinterpret_cast< wxPseudoDC 
* >(argp1
); 
26154   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
26155   if (!SWIG_IsOK(ecode2
)) { 
26156     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "2"" of type '" "int""'"); 
26158   arg2 
= static_cast< int >(val2
); 
26159   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
26160   if (!SWIG_IsOK(ecode3
)) { 
26161     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "3"" of type '" "int""'"); 
26163   arg3 
= static_cast< int >(val3
); 
26164   ecode4 
= SWIG_AsVal_int(obj3
, &val4
); 
26165   if (!SWIG_IsOK(ecode4
)) { 
26166     SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "4"" of type '" "int""'"); 
26168   arg4 
= static_cast< int >(val4
); 
26169   ecode5 
= SWIG_AsVal_int(obj4
, &val5
); 
26170   if (!SWIG_IsOK(ecode5
)) { 
26171     SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "5"" of type '" "int""'"); 
26173   arg5 
= static_cast< int >(val5
); 
26175     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26176     (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
); 
26177     wxPyEndAllowThreads(__tstate
); 
26178     if (PyErr_Occurred()) SWIG_fail
; 
26180   resultobj 
= SWIG_Py_Void(); 
26187 SWIGINTERN PyObject 
*_wrap_PseudoDC_DrawCheckMarkRect(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
26188   PyObject 
*resultobj 
= 0; 
26189   wxPseudoDC 
*arg1 
= (wxPseudoDC 
*) 0 ; 
26194   PyObject 
* obj0 
= 0 ; 
26195   PyObject 
* obj1 
= 0 ; 
26196   char *  kwnames
[] = { 
26197     (char *) "self",(char *) "rect", NULL 
 
26200   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
26201   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 |  0 ); 
26202   if (!SWIG_IsOK(res1
)) { 
26203     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCheckMarkRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");  
26205   arg1 
= reinterpret_cast< wxPseudoDC 
* >(argp1
); 
26208     if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
; 
26211     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26212     (arg1
)->DrawCheckMark((wxRect 
const &)*arg2
); 
26213     wxPyEndAllowThreads(__tstate
); 
26214     if (PyErr_Occurred()) SWIG_fail
; 
26216   resultobj 
= SWIG_Py_Void(); 
26223 SWIGINTERN PyObject 
*_wrap_PseudoDC_DrawEllipticArc(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
26224   PyObject 
*resultobj 
= 0; 
26225   wxPseudoDC 
*arg1 
= (wxPseudoDC 
*) 0 ; 
26246   PyObject 
* obj0 
= 0 ; 
26247   PyObject 
* obj1 
= 0 ; 
26248   PyObject 
* obj2 
= 0 ; 
26249   PyObject 
* obj3 
= 0 ; 
26250   PyObject 
* obj4 
= 0 ; 
26251   PyObject 
* obj5 
= 0 ; 
26252   PyObject 
* obj6 
= 0 ; 
26253   char *  kwnames
[] = { 
26254     (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL 
 
26257   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:PseudoDC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
; 
26258   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 |  0 ); 
26259   if (!SWIG_IsOK(res1
)) { 
26260     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "1"" of type '" "wxPseudoDC *""'");  
26262   arg1 
= reinterpret_cast< wxPseudoDC 
* >(argp1
); 
26263   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
26264   if (!SWIG_IsOK(ecode2
)) { 
26265     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "2"" of type '" "int""'"); 
26267   arg2 
= static_cast< int >(val2
); 
26268   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
26269   if (!SWIG_IsOK(ecode3
)) { 
26270     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "3"" of type '" "int""'"); 
26272   arg3 
= static_cast< int >(val3
); 
26273   ecode4 
= SWIG_AsVal_int(obj3
, &val4
); 
26274   if (!SWIG_IsOK(ecode4
)) { 
26275     SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "4"" of type '" "int""'"); 
26277   arg4 
= static_cast< int >(val4
); 
26278   ecode5 
= SWIG_AsVal_int(obj4
, &val5
); 
26279   if (!SWIG_IsOK(ecode5
)) { 
26280     SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "5"" of type '" "int""'"); 
26282   arg5 
= static_cast< int >(val5
); 
26283   ecode6 
= SWIG_AsVal_double(obj5
, &val6
); 
26284   if (!SWIG_IsOK(ecode6
)) { 
26285     SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "6"" of type '" "double""'"); 
26287   arg6 
= static_cast< double >(val6
); 
26288   ecode7 
= SWIG_AsVal_double(obj6
, &val7
); 
26289   if (!SWIG_IsOK(ecode7
)) { 
26290     SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "7"" of type '" "double""'"); 
26292   arg7 
= static_cast< double >(val7
); 
26294     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26295     (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
); 
26296     wxPyEndAllowThreads(__tstate
); 
26297     if (PyErr_Occurred()) SWIG_fail
; 
26299   resultobj 
= SWIG_Py_Void(); 
26306 SWIGINTERN PyObject 
*_wrap_PseudoDC_DrawEllipticArcPointSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
26307   PyObject 
*resultobj 
= 0; 
26308   wxPseudoDC 
*arg1 
= (wxPseudoDC 
*) 0 ; 
26309   wxPoint 
*arg2 
= 0 ; 
26321   PyObject 
* obj0 
= 0 ; 
26322   PyObject 
* obj1 
= 0 ; 
26323   PyObject 
* obj2 
= 0 ; 
26324   PyObject 
* obj3 
= 0 ; 
26325   PyObject 
* obj4 
= 0 ; 
26326   char *  kwnames
[] = { 
26327     (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL 
 
26330   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
; 
26331   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 |  0 ); 
26332   if (!SWIG_IsOK(res1
)) { 
26333     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");  
26335   arg1 
= reinterpret_cast< wxPseudoDC 
* >(argp1
); 
26338     if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
26342     if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
; 
26344   ecode4 
= SWIG_AsVal_double(obj3
, &val4
); 
26345   if (!SWIG_IsOK(ecode4
)) { 
26346     SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "4"" of type '" "double""'"); 
26348   arg4 
= static_cast< double >(val4
); 
26349   ecode5 
= SWIG_AsVal_double(obj4
, &val5
); 
26350   if (!SWIG_IsOK(ecode5
)) { 
26351     SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "5"" of type '" "double""'"); 
26353   arg5 
= static_cast< double >(val5
); 
26355     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26356     (arg1
)->DrawEllipticArc((wxPoint 
const &)*arg2
,(wxSize 
const &)*arg3
,arg4
,arg5
); 
26357     wxPyEndAllowThreads(__tstate
); 
26358     if (PyErr_Occurred()) SWIG_fail
; 
26360   resultobj 
= SWIG_Py_Void(); 
26367 SWIGINTERN PyObject 
*_wrap_PseudoDC_DrawPoint(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
26368   PyObject 
*resultobj 
= 0; 
26369   wxPseudoDC 
*arg1 
= (wxPseudoDC 
*) 0 ; 
26378   PyObject 
* obj0 
= 0 ; 
26379   PyObject 
* obj1 
= 0 ; 
26380   PyObject 
* obj2 
= 0 ; 
26381   char *  kwnames
[] = { 
26382     (char *) "self",(char *) "x",(char *) "y", NULL 
 
26385   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
26386   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 |  0 ); 
26387   if (!SWIG_IsOK(res1
)) { 
26388     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");  
26390   arg1 
= reinterpret_cast< wxPseudoDC 
* >(argp1
); 
26391   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
26392   if (!SWIG_IsOK(ecode2
)) { 
26393     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "2"" of type '" "int""'"); 
26395   arg2 
= static_cast< int >(val2
); 
26396   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
26397   if (!SWIG_IsOK(ecode3
)) { 
26398     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "3"" of type '" "int""'"); 
26400   arg3 
= static_cast< int >(val3
); 
26402     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26403     (arg1
)->DrawPoint(arg2
,arg3
); 
26404     wxPyEndAllowThreads(__tstate
); 
26405     if (PyErr_Occurred()) SWIG_fail
; 
26407   resultobj 
= SWIG_Py_Void(); 
26414 SWIGINTERN PyObject 
*_wrap_PseudoDC_DrawPointPoint(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
26415   PyObject 
*resultobj 
= 0; 
26416   wxPseudoDC 
*arg1 
= (wxPseudoDC 
*) 0 ; 
26417   wxPoint 
*arg2 
= 0 ; 
26421   PyObject 
* obj0 
= 0 ; 
26422   PyObject 
* obj1 
= 0 ; 
26423   char *  kwnames
[] = { 
26424     (char *) "self",(char *) "pt", NULL 
 
26427   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
26428   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 |  0 ); 
26429   if (!SWIG_IsOK(res1
)) { 
26430     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPointPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");  
26432   arg1 
= reinterpret_cast< wxPseudoDC 
* >(argp1
); 
26435     if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
26438     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26439     (arg1
)->DrawPoint((wxPoint 
const &)*arg2
); 
26440     wxPyEndAllowThreads(__tstate
); 
26441     if (PyErr_Occurred()) SWIG_fail
; 
26443   resultobj 
= SWIG_Py_Void(); 
26450 SWIGINTERN PyObject 
*_wrap_PseudoDC_DrawRectangle(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
26451   PyObject 
*resultobj 
= 0; 
26452   wxPseudoDC 
*arg1 
= (wxPseudoDC 
*) 0 ; 
26467   PyObject 
* obj0 
= 0 ; 
26468   PyObject 
* obj1 
= 0 ; 
26469   PyObject 
* obj2 
= 0 ; 
26470   PyObject 
* obj3 
= 0 ; 
26471   PyObject 
* obj4 
= 0 ; 
26472   char *  kwnames
[] = { 
26473     (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL 
 
26476   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
; 
26477   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 |  0 ); 
26478   if (!SWIG_IsOK(res1
)) { 
26479     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");  
26481   arg1 
= reinterpret_cast< wxPseudoDC 
* >(argp1
); 
26482   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
26483   if (!SWIG_IsOK(ecode2
)) { 
26484     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "2"" of type '" "int""'"); 
26486   arg2 
= static_cast< int >(val2
); 
26487   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
26488   if (!SWIG_IsOK(ecode3
)) { 
26489     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "3"" of type '" "int""'"); 
26491   arg3 
= static_cast< int >(val3
); 
26492   ecode4 
= SWIG_AsVal_int(obj3
, &val4
); 
26493   if (!SWIG_IsOK(ecode4
)) { 
26494     SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "4"" of type '" "int""'"); 
26496   arg4 
= static_cast< int >(val4
); 
26497   ecode5 
= SWIG_AsVal_int(obj4
, &val5
); 
26498   if (!SWIG_IsOK(ecode5
)) { 
26499     SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "5"" of type '" "int""'"); 
26501   arg5 
= static_cast< int >(val5
); 
26503     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26504     (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
); 
26505     wxPyEndAllowThreads(__tstate
); 
26506     if (PyErr_Occurred()) SWIG_fail
; 
26508   resultobj 
= SWIG_Py_Void(); 
26515 SWIGINTERN PyObject 
*_wrap_PseudoDC_DrawRectangleRect(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
26516   PyObject 
*resultobj 
= 0; 
26517   wxPseudoDC 
*arg1 
= (wxPseudoDC 
*) 0 ; 
26522   PyObject 
* obj0 
= 0 ; 
26523   PyObject 
* obj1 
= 0 ; 
26524   char *  kwnames
[] = { 
26525     (char *) "self",(char *) "rect", NULL 
 
26528   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
26529   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 |  0 ); 
26530   if (!SWIG_IsOK(res1
)) { 
26531     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectangleRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");  
26533   arg1 
= reinterpret_cast< wxPseudoDC 
* >(argp1
); 
26536     if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
; 
26539     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26540     (arg1
)->DrawRectangle((wxRect 
const &)*arg2
); 
26541     wxPyEndAllowThreads(__tstate
); 
26542     if (PyErr_Occurred()) SWIG_fail
; 
26544   resultobj 
= SWIG_Py_Void(); 
26551 SWIGINTERN PyObject 
*_wrap_PseudoDC_DrawRectanglePointSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
26552   PyObject 
*resultobj 
= 0; 
26553   wxPseudoDC 
*arg1 
= (wxPseudoDC 
*) 0 ; 
26554   wxPoint 
*arg2 
= 0 ; 
26560   PyObject 
* obj0 
= 0 ; 
26561   PyObject 
* obj1 
= 0 ; 
26562   PyObject 
* obj2 
= 0 ; 
26563   char *  kwnames
[] = { 
26564     (char *) "self",(char *) "pt",(char *) "sz", NULL 
 
26567   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
26568   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 |  0 ); 
26569   if (!SWIG_IsOK(res1
)) { 
26570     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectanglePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");  
26572   arg1 
= reinterpret_cast< wxPseudoDC 
* >(argp1
); 
26575     if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
26579     if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
; 
26582     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26583     (arg1
)->DrawRectangle((wxPoint 
const &)*arg2
,(wxSize 
const &)*arg3
); 
26584     wxPyEndAllowThreads(__tstate
); 
26585     if (PyErr_Occurred()) SWIG_fail
; 
26587   resultobj 
= SWIG_Py_Void(); 
26594 SWIGINTERN PyObject 
*_wrap_PseudoDC_DrawRoundedRectangle(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
26595   PyObject 
*resultobj 
= 0; 
26596   wxPseudoDC 
*arg1 
= (wxPseudoDC 
*) 0 ; 
26614   PyObject 
* obj0 
= 0 ; 
26615   PyObject 
* obj1 
= 0 ; 
26616   PyObject 
* obj2 
= 0 ; 
26617   PyObject 
* obj3 
= 0 ; 
26618   PyObject 
* obj4 
= 0 ; 
26619   PyObject 
* obj5 
= 0 ; 
26620   char *  kwnames
[] = { 
26621     (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL 
 
26624   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PseudoDC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
; 
26625   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 |  0 ); 
26626   if (!SWIG_IsOK(res1
)) { 
26627     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");  
26629   arg1 
= reinterpret_cast< wxPseudoDC 
* >(argp1
); 
26630   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
26631   if (!SWIG_IsOK(ecode2
)) { 
26632     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "2"" of type '" "int""'"); 
26634   arg2 
= static_cast< int >(val2
); 
26635   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
26636   if (!SWIG_IsOK(ecode3
)) { 
26637     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "3"" of type '" "int""'"); 
26639   arg3 
= static_cast< int >(val3
); 
26640   ecode4 
= SWIG_AsVal_int(obj3
, &val4
); 
26641   if (!SWIG_IsOK(ecode4
)) { 
26642     SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "4"" of type '" "int""'"); 
26644   arg4 
= static_cast< int >(val4
); 
26645   ecode5 
= SWIG_AsVal_int(obj4
, &val5
); 
26646   if (!SWIG_IsOK(ecode5
)) { 
26647     SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "5"" of type '" "int""'"); 
26649   arg5 
= static_cast< int >(val5
); 
26650   ecode6 
= SWIG_AsVal_double(obj5
, &val6
); 
26651   if (!SWIG_IsOK(ecode6
)) { 
26652     SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "6"" of type '" "double""'"); 
26654   arg6 
= static_cast< double >(val6
); 
26656     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26657     (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
); 
26658     wxPyEndAllowThreads(__tstate
); 
26659     if (PyErr_Occurred()) SWIG_fail
; 
26661   resultobj 
= SWIG_Py_Void(); 
26668 SWIGINTERN PyObject 
*_wrap_PseudoDC_DrawRoundedRectangleRect(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
26669   PyObject 
*resultobj 
= 0; 
26670   wxPseudoDC 
*arg1 
= (wxPseudoDC 
*) 0 ; 
26678   PyObject 
* obj0 
= 0 ; 
26679   PyObject 
* obj1 
= 0 ; 
26680   PyObject 
* obj2 
= 0 ; 
26681   char *  kwnames
[] = { 
26682     (char *) "self",(char *) "r",(char *) "radius", NULL 
 
26685   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
26686   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 |  0 ); 
26687   if (!SWIG_IsOK(res1
)) { 
26688     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectangleRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");  
26690   arg1 
= reinterpret_cast< wxPseudoDC 
* >(argp1
); 
26693     if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
; 
26695   ecode3 
= SWIG_AsVal_double(obj2
, &val3
); 
26696   if (!SWIG_IsOK(ecode3
)) { 
26697     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRoundedRectangleRect" "', expected argument " "3"" of type '" "double""'"); 
26699   arg3 
= static_cast< double >(val3
); 
26701     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26702     (arg1
)->DrawRoundedRectangle((wxRect 
const &)*arg2
,arg3
); 
26703     wxPyEndAllowThreads(__tstate
); 
26704     if (PyErr_Occurred()) SWIG_fail
; 
26706   resultobj 
= SWIG_Py_Void(); 
26713 SWIGINTERN PyObject 
*_wrap_PseudoDC_DrawRoundedRectanglePointSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
26714   PyObject 
*resultobj 
= 0; 
26715   wxPseudoDC 
*arg1 
= (wxPseudoDC 
*) 0 ; 
26716   wxPoint 
*arg2 
= 0 ; 
26725   PyObject 
* obj0 
= 0 ; 
26726   PyObject 
* obj1 
= 0 ; 
26727   PyObject 
* obj2 
= 0 ; 
26728   PyObject 
* obj3 
= 0 ; 
26729   char *  kwnames
[] = { 
26730     (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL 
 
26733   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
; 
26734   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 |  0 ); 
26735   if (!SWIG_IsOK(res1
)) { 
26736     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectanglePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");  
26738   arg1 
= reinterpret_cast< wxPseudoDC 
* >(argp1
); 
26741     if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
26745     if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
; 
26747   ecode4 
= SWIG_AsVal_double(obj3
, &val4
); 
26748   if (!SWIG_IsOK(ecode4
)) { 
26749     SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRoundedRectanglePointSize" "', expected argument " "4"" of type '" "double""'"); 
26751   arg4 
= static_cast< double >(val4
); 
26753     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26754     (arg1
)->DrawRoundedRectangle((wxPoint 
const &)*arg2
,(wxSize 
const &)*arg3
,arg4
); 
26755     wxPyEndAllowThreads(__tstate
); 
26756     if (PyErr_Occurred()) SWIG_fail
; 
26758   resultobj 
= SWIG_Py_Void(); 
26765 SWIGINTERN PyObject 
*_wrap_PseudoDC_DrawCircle(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
26766   PyObject 
*resultobj 
= 0; 
26767   wxPseudoDC 
*arg1 
= (wxPseudoDC 
*) 0 ; 
26779   PyObject 
* obj0 
= 0 ; 
26780   PyObject 
* obj1 
= 0 ; 
26781   PyObject 
* obj2 
= 0 ; 
26782   PyObject 
* obj3 
= 0 ; 
26783   char *  kwnames
[] = { 
26784     (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL 
 
26787   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
; 
26788   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 |  0 ); 
26789   if (!SWIG_IsOK(res1
)) { 
26790     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");  
26792   arg1 
= reinterpret_cast< wxPseudoDC 
* >(argp1
); 
26793   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
26794   if (!SWIG_IsOK(ecode2
)) { 
26795     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "2"" of type '" "int""'"); 
26797   arg2 
= static_cast< int >(val2
); 
26798   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
26799   if (!SWIG_IsOK(ecode3
)) { 
26800     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "3"" of type '" "int""'"); 
26802   arg3 
= static_cast< int >(val3
); 
26803   ecode4 
= SWIG_AsVal_int(obj3
, &val4
); 
26804   if (!SWIG_IsOK(ecode4
)) { 
26805     SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "4"" of type '" "int""'"); 
26807   arg4 
= static_cast< int >(val4
); 
26809     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26810     (arg1
)->DrawCircle(arg2
,arg3
,arg4
); 
26811     wxPyEndAllowThreads(__tstate
); 
26812     if (PyErr_Occurred()) SWIG_fail
; 
26814   resultobj 
= SWIG_Py_Void(); 
26821 SWIGINTERN PyObject 
*_wrap_PseudoDC_DrawCirclePoint(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
26822   PyObject 
*resultobj 
= 0; 
26823   wxPseudoDC 
*arg1 
= (wxPseudoDC 
*) 0 ; 
26824   wxPoint 
*arg2 
= 0 ; 
26831   PyObject 
* obj0 
= 0 ; 
26832   PyObject 
* obj1 
= 0 ; 
26833   PyObject 
* obj2 
= 0 ; 
26834   char *  kwnames
[] = { 
26835     (char *) "self",(char *) "pt",(char *) "radius", NULL 
 
26838   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
26839   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 |  0 ); 
26840   if (!SWIG_IsOK(res1
)) { 
26841     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCirclePoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");  
26843   arg1 
= reinterpret_cast< wxPseudoDC 
* >(argp1
); 
26846     if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
26848   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
26849   if (!SWIG_IsOK(ecode3
)) { 
26850     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCirclePoint" "', expected argument " "3"" of type '" "int""'"); 
26852   arg3 
= static_cast< int >(val3
); 
26854     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26855     (arg1
)->DrawCircle((wxPoint 
const &)*arg2
,arg3
); 
26856     wxPyEndAllowThreads(__tstate
); 
26857     if (PyErr_Occurred()) SWIG_fail
; 
26859   resultobj 
= SWIG_Py_Void(); 
26866 SWIGINTERN PyObject 
*_wrap_PseudoDC_DrawEllipse(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
26867   PyObject 
*resultobj 
= 0; 
26868   wxPseudoDC 
*arg1 
= (wxPseudoDC 
*) 0 ; 
26883   PyObject 
* obj0 
= 0 ; 
26884   PyObject 
* obj1 
= 0 ; 
26885   PyObject 
* obj2 
= 0 ; 
26886   PyObject 
* obj3 
= 0 ; 
26887   PyObject 
* obj4 
= 0 ; 
26888   char *  kwnames
[] = { 
26889     (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL 
 
26892   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
; 
26893   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 |  0 ); 
26894   if (!SWIG_IsOK(res1
)) { 
26895     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "1"" of type '" "wxPseudoDC *""'");  
26897   arg1 
= reinterpret_cast< wxPseudoDC 
* >(argp1
); 
26898   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
26899   if (!SWIG_IsOK(ecode2
)) { 
26900     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "2"" of type '" "int""'"); 
26902   arg2 
= static_cast< int >(val2
); 
26903   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
26904   if (!SWIG_IsOK(ecode3
)) { 
26905     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "3"" of type '" "int""'"); 
26907   arg3 
= static_cast< int >(val3
); 
26908   ecode4 
= SWIG_AsVal_int(obj3
, &val4
); 
26909   if (!SWIG_IsOK(ecode4
)) { 
26910     SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "4"" of type '" "int""'"); 
26912   arg4 
= static_cast< int >(val4
); 
26913   ecode5 
= SWIG_AsVal_int(obj4
, &val5
); 
26914   if (!SWIG_IsOK(ecode5
)) { 
26915     SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "5"" of type '" "int""'"); 
26917   arg5 
= static_cast< int >(val5
); 
26919     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26920     (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
); 
26921     wxPyEndAllowThreads(__tstate
); 
26922     if (PyErr_Occurred()) SWIG_fail
; 
26924   resultobj 
= SWIG_Py_Void(); 
26931 SWIGINTERN PyObject 
*_wrap_PseudoDC_DrawEllipseRect(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
26932   PyObject 
*resultobj 
= 0; 
26933   wxPseudoDC 
*arg1 
= (wxPseudoDC 
*) 0 ; 
26938   PyObject 
* obj0 
= 0 ; 
26939   PyObject 
* obj1 
= 0 ; 
26940   char *  kwnames
[] = { 
26941     (char *) "self",(char *) "rect", NULL 
 
26944   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
26945   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 |  0 ); 
26946   if (!SWIG_IsOK(res1
)) { 
26947     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipseRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");  
26949   arg1 
= reinterpret_cast< wxPseudoDC 
* >(argp1
); 
26952     if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
; 
26955     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26956     (arg1
)->DrawEllipse((wxRect 
const &)*arg2
); 
26957     wxPyEndAllowThreads(__tstate
); 
26958     if (PyErr_Occurred()) SWIG_fail
; 
26960   resultobj 
= SWIG_Py_Void(); 
26967 SWIGINTERN PyObject 
*_wrap_PseudoDC_DrawEllipsePointSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
26968   PyObject 
*resultobj 
= 0; 
26969   wxPseudoDC 
*arg1 
= (wxPseudoDC 
*) 0 ; 
26970   wxPoint 
*arg2 
= 0 ; 
26976   PyObject 
* obj0 
= 0 ; 
26977   PyObject 
* obj1 
= 0 ; 
26978   PyObject 
* obj2 
= 0 ; 
26979   char *  kwnames
[] = { 
26980     (char *) "self",(char *) "pt",(char *) "sz", NULL 
 
26983   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
26984   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 |  0 ); 
26985   if (!SWIG_IsOK(res1
)) { 
26986     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipsePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");  
26988   arg1 
= reinterpret_cast< wxPseudoDC 
* >(argp1
); 
26991     if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
26995     if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
; 
26998     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26999     (arg1
)->DrawEllipse((wxPoint 
const &)*arg2
,(wxSize 
const &)*arg3
); 
27000     wxPyEndAllowThreads(__tstate
); 
27001     if (PyErr_Occurred()) SWIG_fail
; 
27003   resultobj 
= SWIG_Py_Void(); 
27010 SWIGINTERN PyObject 
*_wrap_PseudoDC_DrawIcon(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
27011   PyObject 
*resultobj 
= 0; 
27012   wxPseudoDC 
*arg1 
= (wxPseudoDC 
*) 0 ; 
27024   PyObject 
* obj0 
= 0 ; 
27025   PyObject 
* obj1 
= 0 ; 
27026   PyObject 
* obj2 
= 0 ; 
27027   PyObject 
* obj3 
= 0 ; 
27028   char *  kwnames
[] = { 
27029     (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL 
 
27032   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
; 
27033   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 |  0 ); 
27034   if (!SWIG_IsOK(res1
)) { 
27035     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "1"" of type '" "wxPseudoDC *""'");  
27037   arg1 
= reinterpret_cast< wxPseudoDC 
* >(argp1
); 
27038   res2 
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
,  0  | 0); 
27039   if (!SWIG_IsOK(res2
)) { 
27040     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");  
27043     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");  
27045   arg2 
= reinterpret_cast< wxIcon 
* >(argp2
); 
27046   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
27047   if (!SWIG_IsOK(ecode3
)) { 
27048     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "3"" of type '" "int""'"); 
27050   arg3 
= static_cast< int >(val3
); 
27051   ecode4 
= SWIG_AsVal_int(obj3
, &val4
); 
27052   if (!SWIG_IsOK(ecode4
)) { 
27053     SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "4"" of type '" "int""'"); 
27055   arg4 
= static_cast< int >(val4
); 
27057     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27058     (arg1
)->DrawIcon((wxIcon 
const &)*arg2
,arg3
,arg4
); 
27059     wxPyEndAllowThreads(__tstate
); 
27060     if (PyErr_Occurred()) SWIG_fail
; 
27062   resultobj 
= SWIG_Py_Void(); 
27069 SWIGINTERN PyObject 
*_wrap_PseudoDC_DrawIconPoint(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
27070   PyObject 
*resultobj 
= 0; 
27071   wxPseudoDC 
*arg1 
= (wxPseudoDC 
*) 0 ; 
27073   wxPoint 
*arg3 
= 0 ; 
27079   PyObject 
* obj0 
= 0 ; 
27080   PyObject 
* obj1 
= 0 ; 
27081   PyObject 
* obj2 
= 0 ; 
27082   char *  kwnames
[] = { 
27083     (char *) "self",(char *) "icon",(char *) "pt", NULL 
 
27086   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
27087   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 |  0 ); 
27088   if (!SWIG_IsOK(res1
)) { 
27089     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");  
27091   arg1 
= reinterpret_cast< wxPseudoDC 
* >(argp1
); 
27092   res2 
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
,  0  | 0); 
27093   if (!SWIG_IsOK(res2
)) { 
27094     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");  
27097     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");  
27099   arg2 
= reinterpret_cast< wxIcon 
* >(argp2
); 
27102     if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
; 
27105     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27106     (arg1
)->DrawIcon((wxIcon 
const &)*arg2
,(wxPoint 
const &)*arg3
); 
27107     wxPyEndAllowThreads(__tstate
); 
27108     if (PyErr_Occurred()) SWIG_fail
; 
27110   resultobj 
= SWIG_Py_Void(); 
27117 SWIGINTERN PyObject 
*_wrap_PseudoDC_DrawBitmap(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
27118   PyObject 
*resultobj 
= 0; 
27119   wxPseudoDC 
*arg1 
= (wxPseudoDC 
*) 0 ; 
27120   wxBitmap 
*arg2 
= 0 ; 
27123   bool arg5 
= (bool) false ; 
27134   PyObject 
* obj0 
= 0 ; 
27135   PyObject 
* obj1 
= 0 ; 
27136   PyObject 
* obj2 
= 0 ; 
27137   PyObject 
* obj3 
= 0 ; 
27138   PyObject 
* obj4 
= 0 ; 
27139   char *  kwnames
[] = { 
27140     (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL 
 
27143   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PseudoDC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
; 
27144   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 |  0 ); 
27145   if (!SWIG_IsOK(res1
)) { 
27146     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "1"" of type '" "wxPseudoDC *""'");  
27148   arg1 
= reinterpret_cast< wxPseudoDC 
* >(argp1
); 
27149   res2 
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
,  0  | 0); 
27150   if (!SWIG_IsOK(res2
)) { 
27151     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");  
27154     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");  
27156   arg2 
= reinterpret_cast< wxBitmap 
* >(argp2
); 
27157   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
27158   if (!SWIG_IsOK(ecode3
)) { 
27159     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "3"" of type '" "int""'"); 
27161   arg3 
= static_cast< int >(val3
); 
27162   ecode4 
= SWIG_AsVal_int(obj3
, &val4
); 
27163   if (!SWIG_IsOK(ecode4
)) { 
27164     SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "4"" of type '" "int""'"); 
27166   arg4 
= static_cast< int >(val4
); 
27168     ecode5 
= SWIG_AsVal_bool(obj4
, &val5
); 
27169     if (!SWIG_IsOK(ecode5
)) { 
27170       SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "5"" of type '" "bool""'"); 
27172     arg5 
= static_cast< bool >(val5
); 
27175     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27176     (arg1
)->DrawBitmap((wxBitmap 
const &)*arg2
,arg3
,arg4
,arg5
); 
27177     wxPyEndAllowThreads(__tstate
); 
27178     if (PyErr_Occurred()) SWIG_fail
; 
27180   resultobj 
= SWIG_Py_Void(); 
27187 SWIGINTERN PyObject 
*_wrap_PseudoDC_DrawBitmapPoint(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
27188   PyObject 
*resultobj 
= 0; 
27189   wxPseudoDC 
*arg1 
= (wxPseudoDC 
*) 0 ; 
27190   wxBitmap 
*arg2 
= 0 ; 
27191   wxPoint 
*arg3 
= 0 ; 
27192   bool arg4 
= (bool) false ; 
27200   PyObject 
* obj0 
= 0 ; 
27201   PyObject 
* obj1 
= 0 ; 
27202   PyObject 
* obj2 
= 0 ; 
27203   PyObject 
* obj3 
= 0 ; 
27204   char *  kwnames
[] = { 
27205     (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL 
 
27208   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PseudoDC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
; 
27209   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 |  0 ); 
27210   if (!SWIG_IsOK(res1
)) { 
27211     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");  
27213   arg1 
= reinterpret_cast< wxPseudoDC 
* >(argp1
); 
27214   res2 
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
,  0  | 0); 
27215   if (!SWIG_IsOK(res2
)) { 
27216     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");  
27219     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");  
27221   arg2 
= reinterpret_cast< wxBitmap 
* >(argp2
); 
27224     if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
; 
27227     ecode4 
= SWIG_AsVal_bool(obj3
, &val4
); 
27228     if (!SWIG_IsOK(ecode4
)) { 
27229       SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "4"" of type '" "bool""'"); 
27231     arg4 
= static_cast< bool >(val4
); 
27234     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27235     (arg1
)->DrawBitmap((wxBitmap 
const &)*arg2
,(wxPoint 
const &)*arg3
,arg4
); 
27236     wxPyEndAllowThreads(__tstate
); 
27237     if (PyErr_Occurred()) SWIG_fail
; 
27239   resultobj 
= SWIG_Py_Void(); 
27246 SWIGINTERN PyObject 
*_wrap_PseudoDC_DrawText(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
27247   PyObject 
*resultobj 
= 0; 
27248   wxPseudoDC 
*arg1 
= (wxPseudoDC 
*) 0 ; 
27249   wxString 
*arg2 
= 0 ; 
27254   bool temp2 
= false ; 
27259   PyObject 
* obj0 
= 0 ; 
27260   PyObject 
* obj1 
= 0 ; 
27261   PyObject 
* obj2 
= 0 ; 
27262   PyObject 
* obj3 
= 0 ; 
27263   char *  kwnames
[] = { 
27264     (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL 
 
27267   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
; 
27268   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 |  0 ); 
27269   if (!SWIG_IsOK(res1
)) { 
27270     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawText" "', expected argument " "1"" of type '" "wxPseudoDC *""'");  
27272   arg1 
= reinterpret_cast< wxPseudoDC 
* >(argp1
); 
27274     arg2 
= wxString_in_helper(obj1
); 
27275     if (arg2 
== NULL
) SWIG_fail
; 
27278   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
27279   if (!SWIG_IsOK(ecode3
)) { 
27280     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawText" "', expected argument " "3"" of type '" "int""'"); 
27282   arg3 
= static_cast< int >(val3
); 
27283   ecode4 
= SWIG_AsVal_int(obj3
, &val4
); 
27284   if (!SWIG_IsOK(ecode4
)) { 
27285     SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawText" "', expected argument " "4"" of type '" "int""'"); 
27287   arg4 
= static_cast< int >(val4
); 
27289     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27290     (arg1
)->DrawText((wxString 
const &)*arg2
,arg3
,arg4
); 
27291     wxPyEndAllowThreads(__tstate
); 
27292     if (PyErr_Occurred()) SWIG_fail
; 
27294   resultobj 
= SWIG_Py_Void(); 
27309 SWIGINTERN PyObject 
*_wrap_PseudoDC_DrawTextPoint(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
27310   PyObject 
*resultobj 
= 0; 
27311   wxPseudoDC 
*arg1 
= (wxPseudoDC 
*) 0 ; 
27312   wxString 
*arg2 
= 0 ; 
27313   wxPoint 
*arg3 
= 0 ; 
27316   bool temp2 
= false ; 
27318   PyObject 
* obj0 
= 0 ; 
27319   PyObject 
* obj1 
= 0 ; 
27320   PyObject 
* obj2 
= 0 ; 
27321   char *  kwnames
[] = { 
27322     (char *) "self",(char *) "text",(char *) "pt", NULL 
 
27325   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
27326   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 |  0 ); 
27327   if (!SWIG_IsOK(res1
)) { 
27328     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawTextPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");  
27330   arg1 
= reinterpret_cast< wxPseudoDC 
* >(argp1
); 
27332     arg2 
= wxString_in_helper(obj1
); 
27333     if (arg2 
== NULL
) SWIG_fail
; 
27338     if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
; 
27341     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27342     (arg1
)->DrawText((wxString 
const &)*arg2
,(wxPoint 
const &)*arg3
); 
27343     wxPyEndAllowThreads(__tstate
); 
27344     if (PyErr_Occurred()) SWIG_fail
; 
27346   resultobj 
= SWIG_Py_Void(); 
27361 SWIGINTERN PyObject 
*_wrap_PseudoDC_DrawRotatedText(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
27362   PyObject 
*resultobj 
= 0; 
27363   wxPseudoDC 
*arg1 
= (wxPseudoDC 
*) 0 ; 
27364   wxString 
*arg2 
= 0 ; 
27370   bool temp2 
= false ; 
27377   PyObject 
* obj0 
= 0 ; 
27378   PyObject 
* obj1 
= 0 ; 
27379   PyObject 
* obj2 
= 0 ; 
27380   PyObject 
* obj3 
= 0 ; 
27381   PyObject 
* obj4 
= 0 ; 
27382   char *  kwnames
[] = { 
27383     (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL 
 
27386   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
; 
27387   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 |  0 ); 
27388   if (!SWIG_IsOK(res1
)) { 
27389     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "1"" of type '" "wxPseudoDC *""'");  
27391   arg1 
= reinterpret_cast< wxPseudoDC 
* >(argp1
); 
27393     arg2 
= wxString_in_helper(obj1
); 
27394     if (arg2 
== NULL
) SWIG_fail
; 
27397   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
27398   if (!SWIG_IsOK(ecode3
)) { 
27399     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "3"" of type '" "int""'"); 
27401   arg3 
= static_cast< int >(val3
); 
27402   ecode4 
= SWIG_AsVal_int(obj3
, &val4
); 
27403   if (!SWIG_IsOK(ecode4
)) { 
27404     SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "4"" of type '" "int""'"); 
27406   arg4 
= static_cast< int >(val4
); 
27407   ecode5 
= SWIG_AsVal_double(obj4
, &val5
); 
27408   if (!SWIG_IsOK(ecode5
)) { 
27409     SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "5"" of type '" "double""'"); 
27411   arg5 
= static_cast< double >(val5
); 
27413     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27414     (arg1
)->DrawRotatedText((wxString 
const &)*arg2
,arg3
,arg4
,arg5
); 
27415     wxPyEndAllowThreads(__tstate
); 
27416     if (PyErr_Occurred()) SWIG_fail
; 
27418   resultobj 
= SWIG_Py_Void(); 
27433 SWIGINTERN PyObject 
*_wrap_PseudoDC_DrawRotatedTextPoint(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
27434   PyObject 
*resultobj 
= 0; 
27435   wxPseudoDC 
*arg1 
= (wxPseudoDC 
*) 0 ; 
27436   wxString 
*arg2 
= 0 ; 
27437   wxPoint 
*arg3 
= 0 ; 
27441   bool temp2 
= false ; 
27445   PyObject 
* obj0 
= 0 ; 
27446   PyObject 
* obj1 
= 0 ; 
27447   PyObject 
* obj2 
= 0 ; 
27448   PyObject 
* obj3 
= 0 ; 
27449   char *  kwnames
[] = { 
27450     (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL 
 
27453   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
; 
27454   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 |  0 ); 
27455   if (!SWIG_IsOK(res1
)) { 
27456     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRotatedTextPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");  
27458   arg1 
= reinterpret_cast< wxPseudoDC 
* >(argp1
); 
27460     arg2 
= wxString_in_helper(obj1
); 
27461     if (arg2 
== NULL
) SWIG_fail
; 
27466     if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
; 
27468   ecode4 
= SWIG_AsVal_double(obj3
, &val4
); 
27469   if (!SWIG_IsOK(ecode4
)) { 
27470     SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRotatedTextPoint" "', expected argument " "4"" of type '" "double""'"); 
27472   arg4 
= static_cast< double >(val4
); 
27474     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27475     (arg1
)->DrawRotatedText((wxString 
const &)*arg2
,(wxPoint 
const &)*arg3
,arg4
); 
27476     wxPyEndAllowThreads(__tstate
); 
27477     if (PyErr_Occurred()) SWIG_fail
; 
27479   resultobj 
= SWIG_Py_Void(); 
27494 SWIGINTERN PyObject 
*_wrap_PseudoDC_DrawLines(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
27495   PyObject 
*resultobj 
= 0; 
27496   wxPseudoDC 
*arg1 
= (wxPseudoDC 
*) 0 ; 
27498   wxPoint 
*arg3 
= (wxPoint 
*) 0 ; 
27499   int arg4 
= (int) 0 ; 
27500   int arg5 
= (int) 0 ; 
27507   PyObject 
* obj0 
= 0 ; 
27508   PyObject 
* obj1 
= 0 ; 
27509   PyObject 
* obj2 
= 0 ; 
27510   PyObject 
* obj3 
= 0 ; 
27511   char *  kwnames
[] = { 
27512     (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL 
 
27515   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:PseudoDC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
; 
27516   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 |  0 ); 
27517   if (!SWIG_IsOK(res1
)) { 
27518     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLines" "', expected argument " "1"" of type '" "wxPseudoDC *""'");  
27520   arg1 
= reinterpret_cast< wxPseudoDC 
* >(argp1
); 
27522     arg3 
= wxPoint_LIST_helper(obj1
, &arg2
); 
27523     if (arg3 
== NULL
) SWIG_fail
; 
27526     ecode4 
= SWIG_AsVal_int(obj2
, &val4
); 
27527     if (!SWIG_IsOK(ecode4
)) { 
27528       SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLines" "', expected argument " "4"" of type '" "int""'"); 
27530     arg4 
= static_cast< int >(val4
); 
27533     ecode5 
= SWIG_AsVal_int(obj3
, &val5
); 
27534     if (!SWIG_IsOK(ecode5
)) { 
27535       SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLines" "', expected argument " "5"" of type '" "int""'"); 
27537     arg5 
= static_cast< int >(val5
); 
27540     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27541     (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
); 
27542     wxPyEndAllowThreads(__tstate
); 
27543     if (PyErr_Occurred()) SWIG_fail
; 
27545   resultobj 
= SWIG_Py_Void(); 
27547     if (arg3
) delete [] arg3
; 
27552     if (arg3
) delete [] arg3
; 
27558 SWIGINTERN PyObject 
*_wrap_PseudoDC_DrawPolygon(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
27559   PyObject 
*resultobj 
= 0; 
27560   wxPseudoDC 
*arg1 
= (wxPseudoDC 
*) 0 ; 
27562   wxPoint 
*arg3 
= (wxPoint 
*) 0 ; 
27563   int arg4 
= (int) 0 ; 
27564   int arg5 
= (int) 0 ; 
27565   int arg6 
= (int) wxODDEVEN_RULE 
; 
27574   PyObject 
* obj0 
= 0 ; 
27575   PyObject 
* obj1 
= 0 ; 
27576   PyObject 
* obj2 
= 0 ; 
27577   PyObject 
* obj3 
= 0 ; 
27578   PyObject 
* obj4 
= 0 ; 
27579   char *  kwnames
[] = { 
27580     (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL 
 
27583   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:PseudoDC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
; 
27584   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 |  0 ); 
27585   if (!SWIG_IsOK(res1
)) { 
27586     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "1"" of type '" "wxPseudoDC *""'");  
27588   arg1 
= reinterpret_cast< wxPseudoDC 
* >(argp1
); 
27590     arg3 
= wxPoint_LIST_helper(obj1
, &arg2
); 
27591     if (arg3 
== NULL
) SWIG_fail
; 
27594     ecode4 
= SWIG_AsVal_int(obj2
, &val4
); 
27595     if (!SWIG_IsOK(ecode4
)) { 
27596       SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "4"" of type '" "int""'"); 
27598     arg4 
= static_cast< int >(val4
); 
27601     ecode5 
= SWIG_AsVal_int(obj3
, &val5
); 
27602     if (!SWIG_IsOK(ecode5
)) { 
27603       SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "5"" of type '" "int""'"); 
27605     arg5 
= static_cast< int >(val5
); 
27608     ecode6 
= SWIG_AsVal_int(obj4
, &val6
); 
27609     if (!SWIG_IsOK(ecode6
)) { 
27610       SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "6"" of type '" "int""'"); 
27612     arg6 
= static_cast< int >(val6
); 
27615     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27616     (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
); 
27617     wxPyEndAllowThreads(__tstate
); 
27618     if (PyErr_Occurred()) SWIG_fail
; 
27620   resultobj 
= SWIG_Py_Void(); 
27622     if (arg3
) delete [] arg3
; 
27627     if (arg3
) delete [] arg3
; 
27633 SWIGINTERN PyObject 
*_wrap_PseudoDC_DrawLabel(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
27634   PyObject 
*resultobj 
= 0; 
27635   wxPseudoDC 
*arg1 
= (wxPseudoDC 
*) 0 ; 
27636   wxString 
*arg2 
= 0 ; 
27638   int arg4 
= (int) wxALIGN_LEFT
|wxALIGN_TOP 
; 
27639   int arg5 
= (int) -1 ; 
27642   bool temp2 
= false ; 
27648   PyObject 
* obj0 
= 0 ; 
27649   PyObject 
* obj1 
= 0 ; 
27650   PyObject 
* obj2 
= 0 ; 
27651   PyObject 
* obj3 
= 0 ; 
27652   PyObject 
* obj4 
= 0 ; 
27653   char *  kwnames
[] = { 
27654     (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL 
 
27657   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PseudoDC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
; 
27658   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 |  0 ); 
27659   if (!SWIG_IsOK(res1
)) { 
27660     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "1"" of type '" "wxPseudoDC *""'");  
27662   arg1 
= reinterpret_cast< wxPseudoDC 
* >(argp1
); 
27664     arg2 
= wxString_in_helper(obj1
); 
27665     if (arg2 
== NULL
) SWIG_fail
; 
27670     if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
; 
27673     ecode4 
= SWIG_AsVal_int(obj3
, &val4
); 
27674     if (!SWIG_IsOK(ecode4
)) { 
27675       SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "4"" of type '" "int""'"); 
27677     arg4 
= static_cast< int >(val4
); 
27680     ecode5 
= SWIG_AsVal_int(obj4
, &val5
); 
27681     if (!SWIG_IsOK(ecode5
)) { 
27682       SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "5"" of type '" "int""'"); 
27684     arg5 
= static_cast< int >(val5
); 
27687     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27688     (arg1
)->DrawLabel((wxString 
const &)*arg2
,(wxRect 
const &)*arg3
,arg4
,arg5
); 
27689     wxPyEndAllowThreads(__tstate
); 
27690     if (PyErr_Occurred()) SWIG_fail
; 
27692   resultobj 
= SWIG_Py_Void(); 
27707 SWIGINTERN PyObject 
*_wrap_PseudoDC_DrawImageLabel(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
27708   PyObject 
*resultobj 
= 0; 
27709   wxPseudoDC 
*arg1 
= (wxPseudoDC 
*) 0 ; 
27710   wxString 
*arg2 
= 0 ; 
27711   wxBitmap 
*arg3 
= 0 ; 
27713   int arg5 
= (int) wxALIGN_LEFT
|wxALIGN_TOP 
; 
27714   int arg6 
= (int) -1 ; 
27717   bool temp2 
= false ; 
27725   PyObject 
* obj0 
= 0 ; 
27726   PyObject 
* obj1 
= 0 ; 
27727   PyObject 
* obj2 
= 0 ; 
27728   PyObject 
* obj3 
= 0 ; 
27729   PyObject 
* obj4 
= 0 ; 
27730   PyObject 
* obj5 
= 0 ; 
27731   char *  kwnames
[] = { 
27732     (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL 
 
27735   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PseudoDC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
; 
27736   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 |  0 ); 
27737   if (!SWIG_IsOK(res1
)) { 
27738     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "1"" of type '" "wxPseudoDC *""'");  
27740   arg1 
= reinterpret_cast< wxPseudoDC 
* >(argp1
); 
27742     arg2 
= wxString_in_helper(obj1
); 
27743     if (arg2 
== NULL
) SWIG_fail
; 
27746   res3 
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
,  0  | 0); 
27747   if (!SWIG_IsOK(res3
)) { 
27748     SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");  
27751     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");  
27753   arg3 
= reinterpret_cast< wxBitmap 
* >(argp3
); 
27756     if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
; 
27759     ecode5 
= SWIG_AsVal_int(obj4
, &val5
); 
27760     if (!SWIG_IsOK(ecode5
)) { 
27761       SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "5"" of type '" "int""'"); 
27763     arg5 
= static_cast< int >(val5
); 
27766     ecode6 
= SWIG_AsVal_int(obj5
, &val6
); 
27767     if (!SWIG_IsOK(ecode6
)) { 
27768       SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "6"" of type '" "int""'"); 
27770     arg6 
= static_cast< int >(val6
); 
27773     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27774     (arg1
)->DrawLabel((wxString 
const &)*arg2
,(wxBitmap 
const &)*arg3
,(wxRect 
const &)*arg4
,arg5
,arg6
); 
27775     wxPyEndAllowThreads(__tstate
); 
27776     if (PyErr_Occurred()) SWIG_fail
; 
27778   resultobj 
= SWIG_Py_Void(); 
27793 SWIGINTERN PyObject 
*_wrap_PseudoDC_DrawSpline(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
27794   PyObject 
*resultobj 
= 0; 
27795   wxPseudoDC 
*arg1 
= (wxPseudoDC 
*) 0 ; 
27797   wxPoint 
*arg3 
= (wxPoint 
*) 0 ; 
27800   PyObject 
* obj0 
= 0 ; 
27801   PyObject 
* obj1 
= 0 ; 
27802   char *  kwnames
[] = { 
27803     (char *) "self",(char *) "points", NULL 
 
27806   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawSpline",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
27807   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 |  0 ); 
27808   if (!SWIG_IsOK(res1
)) { 
27809     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawSpline" "', expected argument " "1"" of type '" "wxPseudoDC *""'");  
27811   arg1 
= reinterpret_cast< wxPseudoDC 
* >(argp1
); 
27813     arg3 
= wxPoint_LIST_helper(obj1
, &arg2
); 
27814     if (arg3 
== NULL
) SWIG_fail
; 
27817     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27818     (arg1
)->DrawSpline(arg2
,arg3
); 
27819     wxPyEndAllowThreads(__tstate
); 
27820     if (PyErr_Occurred()) SWIG_fail
; 
27822   resultobj 
= SWIG_Py_Void(); 
27824     if (arg3
) delete [] arg3
; 
27829     if (arg3
) delete [] arg3
; 
27835 SWIGINTERN PyObject 
*_wrap_PseudoDC_Clear(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
27836   PyObject 
*resultobj 
= 0; 
27837   wxPseudoDC 
*arg1 
= (wxPseudoDC 
*) 0 ; 
27840   PyObject 
*swig_obj
[1] ; 
27842   if (!args
) SWIG_fail
; 
27843   swig_obj
[0] = args
; 
27844   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 |  0 ); 
27845   if (!SWIG_IsOK(res1
)) { 
27846     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_Clear" "', expected argument " "1"" of type '" "wxPseudoDC *""'");  
27848   arg1 
= reinterpret_cast< wxPseudoDC 
* >(argp1
); 
27850     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27852     wxPyEndAllowThreads(__tstate
); 
27853     if (PyErr_Occurred()) SWIG_fail
; 
27855   resultobj 
= SWIG_Py_Void(); 
27862 SWIGINTERN PyObject 
*_wrap_PseudoDC_SetFont(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
27863   PyObject 
*resultobj 
= 0; 
27864   wxPseudoDC 
*arg1 
= (wxPseudoDC 
*) 0 ; 
27870   PyObject 
* obj0 
= 0 ; 
27871   PyObject 
* obj1 
= 0 ; 
27872   char *  kwnames
[] = { 
27873     (char *) "self",(char *) "font", NULL 
 
27876   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
27877   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 |  0 ); 
27878   if (!SWIG_IsOK(res1
)) { 
27879     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetFont" "', expected argument " "1"" of type '" "wxPseudoDC *""'");  
27881   arg1 
= reinterpret_cast< wxPseudoDC 
* >(argp1
); 
27882   res2 
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
,  0  | 0); 
27883   if (!SWIG_IsOK(res2
)) { 
27884     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");  
27887     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");  
27889   arg2 
= reinterpret_cast< wxFont 
* >(argp2
); 
27891     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27892     (arg1
)->SetFont((wxFont 
const &)*arg2
); 
27893     wxPyEndAllowThreads(__tstate
); 
27894     if (PyErr_Occurred()) SWIG_fail
; 
27896   resultobj 
= SWIG_Py_Void(); 
27903 SWIGINTERN PyObject 
*_wrap_PseudoDC_SetPen(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
27904   PyObject 
*resultobj 
= 0; 
27905   wxPseudoDC 
*arg1 
= (wxPseudoDC 
*) 0 ; 
27911   PyObject 
* obj0 
= 0 ; 
27912   PyObject 
* obj1 
= 0 ; 
27913   char *  kwnames
[] = { 
27914     (char *) "self",(char *) "pen", NULL 
 
27917   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
27918   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 |  0 ); 
27919   if (!SWIG_IsOK(res1
)) { 
27920     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetPen" "', expected argument " "1"" of type '" "wxPseudoDC *""'");  
27922   arg1 
= reinterpret_cast< wxPseudoDC 
* >(argp1
); 
27923   res2 
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
,  0  | 0); 
27924   if (!SWIG_IsOK(res2
)) { 
27925     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");  
27928     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");  
27930   arg2 
= reinterpret_cast< wxPen 
* >(argp2
); 
27932     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27933     (arg1
)->SetPen((wxPen 
const &)*arg2
); 
27934     wxPyEndAllowThreads(__tstate
); 
27935     if (PyErr_Occurred()) SWIG_fail
; 
27937   resultobj 
= SWIG_Py_Void(); 
27944 SWIGINTERN PyObject 
*_wrap_PseudoDC_SetBrush(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
27945   PyObject 
*resultobj 
= 0; 
27946   wxPseudoDC 
*arg1 
= (wxPseudoDC 
*) 0 ; 
27947   wxBrush 
*arg2 
= 0 ; 
27952   PyObject 
* obj0 
= 0 ; 
27953   PyObject 
* obj1 
= 0 ; 
27954   char *  kwnames
[] = { 
27955     (char *) "self",(char *) "brush", NULL 
 
27958   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
27959   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 |  0 ); 
27960   if (!SWIG_IsOK(res1
)) { 
27961     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBrush" "', expected argument " "1"" of type '" "wxPseudoDC *""'");  
27963   arg1 
= reinterpret_cast< wxPseudoDC 
* >(argp1
); 
27964   res2 
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
,  0  | 0); 
27965   if (!SWIG_IsOK(res2
)) { 
27966     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");  
27969     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");  
27971   arg2 
= reinterpret_cast< wxBrush 
* >(argp2
); 
27973     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27974     (arg1
)->SetBrush((wxBrush 
const &)*arg2
); 
27975     wxPyEndAllowThreads(__tstate
); 
27976     if (PyErr_Occurred()) SWIG_fail
; 
27978   resultobj 
= SWIG_Py_Void(); 
27985 SWIGINTERN PyObject 
*_wrap_PseudoDC_SetBackground(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
27986   PyObject 
*resultobj 
= 0; 
27987   wxPseudoDC 
*arg1 
= (wxPseudoDC 
*) 0 ; 
27988   wxBrush 
*arg2 
= 0 ; 
27993   PyObject 
* obj0 
= 0 ; 
27994   PyObject 
* obj1 
= 0 ; 
27995   char *  kwnames
[] = { 
27996     (char *) "self",(char *) "brush", NULL 
 
27999   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
28000   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 |  0 ); 
28001   if (!SWIG_IsOK(res1
)) { 
28002     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBackground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");  
28004   arg1 
= reinterpret_cast< wxPseudoDC 
* >(argp1
); 
28005   res2 
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
,  0  | 0); 
28006   if (!SWIG_IsOK(res2
)) { 
28007     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");  
28010     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");  
28012   arg2 
= reinterpret_cast< wxBrush 
* >(argp2
); 
28014     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28015     (arg1
)->SetBackground((wxBrush 
const &)*arg2
); 
28016     wxPyEndAllowThreads(__tstate
); 
28017     if (PyErr_Occurred()) SWIG_fail
; 
28019   resultobj 
= SWIG_Py_Void(); 
28026 SWIGINTERN PyObject 
*_wrap_PseudoDC_SetBackgroundMode(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
28027   PyObject 
*resultobj 
= 0; 
28028   wxPseudoDC 
*arg1 
= (wxPseudoDC 
*) 0 ; 
28034   PyObject 
* obj0 
= 0 ; 
28035   PyObject 
* obj1 
= 0 ; 
28036   char *  kwnames
[] = { 
28037     (char *) "self",(char *) "mode", NULL 
 
28040   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
28041   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 |  0 ); 
28042   if (!SWIG_IsOK(res1
)) { 
28043     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBackgroundMode" "', expected argument " "1"" of type '" "wxPseudoDC *""'");  
28045   arg1 
= reinterpret_cast< wxPseudoDC 
* >(argp1
); 
28046   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
28047   if (!SWIG_IsOK(ecode2
)) { 
28048     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetBackgroundMode" "', expected argument " "2"" of type '" "int""'"); 
28050   arg2 
= static_cast< int >(val2
); 
28052     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28053     (arg1
)->SetBackgroundMode(arg2
); 
28054     wxPyEndAllowThreads(__tstate
); 
28055     if (PyErr_Occurred()) SWIG_fail
; 
28057   resultobj 
= SWIG_Py_Void(); 
28064 SWIGINTERN PyObject 
*_wrap_PseudoDC_SetPalette(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
28065   PyObject 
*resultobj 
= 0; 
28066   wxPseudoDC 
*arg1 
= (wxPseudoDC 
*) 0 ; 
28067   wxPalette 
*arg2 
= 0 ; 
28072   PyObject 
* obj0 
= 0 ; 
28073   PyObject 
* obj1 
= 0 ; 
28074   char *  kwnames
[] = { 
28075     (char *) "self",(char *) "palette", NULL 
 
28078   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
28079   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 |  0 ); 
28080   if (!SWIG_IsOK(res1
)) { 
28081     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetPalette" "', expected argument " "1"" of type '" "wxPseudoDC *""'");  
28083   arg1 
= reinterpret_cast< wxPseudoDC 
* >(argp1
); 
28084   res2 
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
,  0  | 0); 
28085   if (!SWIG_IsOK(res2
)) { 
28086     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");  
28089     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");  
28091   arg2 
= reinterpret_cast< wxPalette 
* >(argp2
); 
28093     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28094     (arg1
)->SetPalette((wxPalette 
const &)*arg2
); 
28095     wxPyEndAllowThreads(__tstate
); 
28096     if (PyErr_Occurred()) SWIG_fail
; 
28098   resultobj 
= SWIG_Py_Void(); 
28105 SWIGINTERN PyObject 
*_wrap_PseudoDC_SetTextForeground(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
28106   PyObject 
*resultobj 
= 0; 
28107   wxPseudoDC 
*arg1 
= (wxPseudoDC 
*) 0 ; 
28108   wxColour 
*arg2 
= 0 ; 
28112   PyObject 
* obj0 
= 0 ; 
28113   PyObject 
* obj1 
= 0 ; 
28114   char *  kwnames
[] = { 
28115     (char *) "self",(char *) "colour", NULL 
 
28118   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetTextForeground",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
28119   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 |  0 ); 
28120   if (!SWIG_IsOK(res1
)) { 
28121     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetTextForeground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");  
28123   arg1 
= reinterpret_cast< wxPseudoDC 
* >(argp1
); 
28126     if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
28129     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28130     (arg1
)->SetTextForeground((wxColour 
const &)*arg2
); 
28131     wxPyEndAllowThreads(__tstate
); 
28132     if (PyErr_Occurred()) SWIG_fail
; 
28134   resultobj 
= SWIG_Py_Void(); 
28141 SWIGINTERN PyObject 
*_wrap_PseudoDC_SetTextBackground(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
28142   PyObject 
*resultobj 
= 0; 
28143   wxPseudoDC 
*arg1 
= (wxPseudoDC 
*) 0 ; 
28144   wxColour 
*arg2 
= 0 ; 
28148   PyObject 
* obj0 
= 0 ; 
28149   PyObject 
* obj1 
= 0 ; 
28150   char *  kwnames
[] = { 
28151     (char *) "self",(char *) "colour", NULL 
 
28154   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetTextBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
28155   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 |  0 ); 
28156   if (!SWIG_IsOK(res1
)) { 
28157     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetTextBackground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");  
28159   arg1 
= reinterpret_cast< wxPseudoDC 
* >(argp1
); 
28162     if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
28165     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28166     (arg1
)->SetTextBackground((wxColour 
const &)*arg2
); 
28167     wxPyEndAllowThreads(__tstate
); 
28168     if (PyErr_Occurred()) SWIG_fail
; 
28170   resultobj 
= SWIG_Py_Void(); 
28177 SWIGINTERN PyObject 
*_wrap_PseudoDC_SetLogicalFunction(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
28178   PyObject 
*resultobj 
= 0; 
28179   wxPseudoDC 
*arg1 
= (wxPseudoDC 
*) 0 ; 
28185   PyObject 
* obj0 
= 0 ; 
28186   PyObject 
* obj1 
= 0 ; 
28187   char *  kwnames
[] = { 
28188     (char *) "self",(char *) "function", NULL 
 
28191   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
28192   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 |  0 ); 
28193   if (!SWIG_IsOK(res1
)) { 
28194     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetLogicalFunction" "', expected argument " "1"" of type '" "wxPseudoDC *""'");  
28196   arg1 
= reinterpret_cast< wxPseudoDC 
* >(argp1
); 
28197   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
28198   if (!SWIG_IsOK(ecode2
)) { 
28199     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetLogicalFunction" "', expected argument " "2"" of type '" "int""'"); 
28201   arg2 
= static_cast< int >(val2
); 
28203     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28204     (arg1
)->SetLogicalFunction(arg2
); 
28205     wxPyEndAllowThreads(__tstate
); 
28206     if (PyErr_Occurred()) SWIG_fail
; 
28208   resultobj 
= SWIG_Py_Void(); 
28215 SWIGINTERN PyObject 
*PseudoDC_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
28217   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
28218   SWIG_TypeNewClientData(SWIGTYPE_p_wxPseudoDC
, SWIG_NewClientData(obj
)); 
28219   return SWIG_Py_Void(); 
28222 SWIGINTERN PyObject 
*PseudoDC_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
28223   return SWIG_Python_InitShadowInstance(args
); 
28226 static PyMethodDef SwigMethods
[] = { 
28227          { (char *)"new_GDIObject", (PyCFunction
)_wrap_new_GDIObject
, METH_NOARGS
, NULL
}, 
28228          { (char *)"delete_GDIObject", (PyCFunction
)_wrap_delete_GDIObject
, METH_O
, NULL
}, 
28229          { (char *)"GDIObject_IsNull", (PyCFunction
)_wrap_GDIObject_IsNull
, METH_O
, NULL
}, 
28230          { (char *)"GDIObject_swigregister", GDIObject_swigregister
, METH_VARARGS
, NULL
}, 
28231          { (char *)"GDIObject_swiginit", GDIObject_swiginit
, METH_VARARGS
, NULL
}, 
28232          { (char *)"new_Colour", (PyCFunction
) _wrap_new_Colour
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28233          { (char *)"new_NamedColour", (PyCFunction
) _wrap_new_NamedColour
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28234          { (char *)"new_ColourRGB", (PyCFunction
) _wrap_new_ColourRGB
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28235          { (char *)"delete_Colour", (PyCFunction
)_wrap_delete_Colour
, METH_O
, NULL
}, 
28236          { (char *)"Colour_Red", (PyCFunction
)_wrap_Colour_Red
, METH_O
, NULL
}, 
28237          { (char *)"Colour_Green", (PyCFunction
)_wrap_Colour_Green
, METH_O
, NULL
}, 
28238          { (char *)"Colour_Blue", (PyCFunction
)_wrap_Colour_Blue
, METH_O
, NULL
}, 
28239          { (char *)"Colour_Ok", (PyCFunction
)_wrap_Colour_Ok
, METH_O
, NULL
}, 
28240          { (char *)"Colour_Set", (PyCFunction
) _wrap_Colour_Set
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28241          { (char *)"Colour_SetRGB", (PyCFunction
) _wrap_Colour_SetRGB
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28242          { (char *)"Colour_SetFromName", (PyCFunction
) _wrap_Colour_SetFromName
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28243          { (char *)"Colour_GetAsString", (PyCFunction
) _wrap_Colour_GetAsString
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28244          { (char *)"Colour_GetPixel", (PyCFunction
)_wrap_Colour_GetPixel
, METH_O
, NULL
}, 
28245          { (char *)"Colour___eq__", (PyCFunction
) _wrap_Colour___eq__
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28246          { (char *)"Colour___ne__", (PyCFunction
) _wrap_Colour___ne__
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28247          { (char *)"Colour_Get", (PyCFunction
)_wrap_Colour_Get
, METH_O
, NULL
}, 
28248          { (char *)"Colour_GetRGB", (PyCFunction
)_wrap_Colour_GetRGB
, METH_O
, NULL
}, 
28249          { (char *)"Colour_swigregister", Colour_swigregister
, METH_VARARGS
, NULL
}, 
28250          { (char *)"Colour_swiginit", Colour_swiginit
, METH_VARARGS
, NULL
}, 
28251          { (char *)"new_Palette", (PyCFunction
) _wrap_new_Palette
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28252          { (char *)"delete_Palette", (PyCFunction
)_wrap_delete_Palette
, METH_O
, NULL
}, 
28253          { (char *)"Palette_GetPixel", (PyCFunction
) _wrap_Palette_GetPixel
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28254          { (char *)"Palette_GetRGB", (PyCFunction
) _wrap_Palette_GetRGB
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28255          { (char *)"Palette_GetColoursCount", (PyCFunction
)_wrap_Palette_GetColoursCount
, METH_O
, NULL
}, 
28256          { (char *)"Palette_Ok", (PyCFunction
)_wrap_Palette_Ok
, METH_O
, NULL
}, 
28257          { (char *)"Palette_swigregister", Palette_swigregister
, METH_VARARGS
, NULL
}, 
28258          { (char *)"Palette_swiginit", Palette_swiginit
, METH_VARARGS
, NULL
}, 
28259          { (char *)"new_Pen", (PyCFunction
) _wrap_new_Pen
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28260          { (char *)"delete_Pen", (PyCFunction
)_wrap_delete_Pen
, METH_O
, NULL
}, 
28261          { (char *)"Pen_GetCap", (PyCFunction
)_wrap_Pen_GetCap
, METH_O
, NULL
}, 
28262          { (char *)"Pen_GetColour", (PyCFunction
)_wrap_Pen_GetColour
, METH_O
, NULL
}, 
28263          { (char *)"Pen_GetJoin", (PyCFunction
)_wrap_Pen_GetJoin
, METH_O
, NULL
}, 
28264          { (char *)"Pen_GetStyle", (PyCFunction
)_wrap_Pen_GetStyle
, METH_O
, NULL
}, 
28265          { (char *)"Pen_GetWidth", (PyCFunction
)_wrap_Pen_GetWidth
, METH_O
, NULL
}, 
28266          { (char *)"Pen_Ok", (PyCFunction
)_wrap_Pen_Ok
, METH_O
, NULL
}, 
28267          { (char *)"Pen_SetCap", (PyCFunction
) _wrap_Pen_SetCap
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28268          { (char *)"Pen_SetColour", (PyCFunction
) _wrap_Pen_SetColour
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28269          { (char *)"Pen_SetJoin", (PyCFunction
) _wrap_Pen_SetJoin
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28270          { (char *)"Pen_SetStyle", (PyCFunction
) _wrap_Pen_SetStyle
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28271          { (char *)"Pen_SetWidth", (PyCFunction
) _wrap_Pen_SetWidth
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28272          { (char *)"Pen_SetDashes", (PyCFunction
) _wrap_Pen_SetDashes
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28273          { (char *)"Pen_GetDashes", (PyCFunction
)_wrap_Pen_GetDashes
, METH_O
, NULL
}, 
28274          { (char *)"Pen__SetDashes", (PyCFunction
) _wrap_Pen__SetDashes
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28275          { (char *)"Pen___eq__", (PyCFunction
) _wrap_Pen___eq__
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28276          { (char *)"Pen___ne__", (PyCFunction
) _wrap_Pen___ne__
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28277          { (char *)"Pen_swigregister", Pen_swigregister
, METH_VARARGS
, NULL
}, 
28278          { (char *)"Pen_swiginit", Pen_swiginit
, METH_VARARGS
, NULL
}, 
28279          { (char *)"new_Brush", (PyCFunction
) _wrap_new_Brush
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28280          { (char *)"new_BrushFromBitmap", (PyCFunction
) _wrap_new_BrushFromBitmap
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28281          { (char *)"delete_Brush", (PyCFunction
)_wrap_delete_Brush
, METH_O
, NULL
}, 
28282          { (char *)"Brush_SetColour", (PyCFunction
) _wrap_Brush_SetColour
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28283          { (char *)"Brush_SetStyle", (PyCFunction
) _wrap_Brush_SetStyle
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28284          { (char *)"Brush_SetStipple", (PyCFunction
) _wrap_Brush_SetStipple
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28285          { (char *)"Brush_GetColour", (PyCFunction
)_wrap_Brush_GetColour
, METH_O
, NULL
}, 
28286          { (char *)"Brush_GetStyle", (PyCFunction
)_wrap_Brush_GetStyle
, METH_O
, NULL
}, 
28287          { (char *)"Brush_GetStipple", (PyCFunction
)_wrap_Brush_GetStipple
, METH_O
, NULL
}, 
28288          { (char *)"Brush_IsHatch", (PyCFunction
)_wrap_Brush_IsHatch
, METH_O
, NULL
}, 
28289          { (char *)"Brush_Ok", (PyCFunction
)_wrap_Brush_Ok
, METH_O
, NULL
}, 
28290          { (char *)"Brush_MacGetTheme", (PyCFunction
)_wrap_Brush_MacGetTheme
, METH_O
, NULL
}, 
28291          { (char *)"Brush_MacSetTheme", (PyCFunction
) _wrap_Brush_MacSetTheme
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28292          { (char *)"Brush_swigregister", Brush_swigregister
, METH_VARARGS
, NULL
}, 
28293          { (char *)"Brush_swiginit", Brush_swiginit
, METH_VARARGS
, NULL
}, 
28294          { (char *)"new_Bitmap", (PyCFunction
) _wrap_new_Bitmap
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28295          { (char *)"delete_Bitmap", (PyCFunction
)_wrap_delete_Bitmap
, METH_O
, NULL
}, 
28296          { (char *)"new_EmptyBitmap", (PyCFunction
) _wrap_new_EmptyBitmap
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28297          { (char *)"new_BitmapFromIcon", (PyCFunction
) _wrap_new_BitmapFromIcon
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28298          { (char *)"new_BitmapFromImage", (PyCFunction
) _wrap_new_BitmapFromImage
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28299          { (char *)"new_BitmapFromXPMData", (PyCFunction
) _wrap_new_BitmapFromXPMData
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28300          { (char *)"new_BitmapFromBits", (PyCFunction
) _wrap_new_BitmapFromBits
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28301          { (char *)"Bitmap_Ok", (PyCFunction
)_wrap_Bitmap_Ok
, METH_O
, NULL
}, 
28302          { (char *)"Bitmap_GetWidth", (PyCFunction
)_wrap_Bitmap_GetWidth
, METH_O
, NULL
}, 
28303          { (char *)"Bitmap_GetHeight", (PyCFunction
)_wrap_Bitmap_GetHeight
, METH_O
, NULL
}, 
28304          { (char *)"Bitmap_GetDepth", (PyCFunction
)_wrap_Bitmap_GetDepth
, METH_O
, NULL
}, 
28305          { (char *)"Bitmap_GetSize", (PyCFunction
)_wrap_Bitmap_GetSize
, METH_O
, NULL
}, 
28306          { (char *)"Bitmap_ConvertToImage", (PyCFunction
)_wrap_Bitmap_ConvertToImage
, METH_O
, NULL
}, 
28307          { (char *)"Bitmap_GetMask", (PyCFunction
)_wrap_Bitmap_GetMask
, METH_O
, NULL
}, 
28308          { (char *)"Bitmap_SetMask", (PyCFunction
) _wrap_Bitmap_SetMask
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28309          { (char *)"Bitmap_SetMaskColour", (PyCFunction
) _wrap_Bitmap_SetMaskColour
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28310          { (char *)"Bitmap_GetSubBitmap", (PyCFunction
) _wrap_Bitmap_GetSubBitmap
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28311          { (char *)"Bitmap_SaveFile", (PyCFunction
) _wrap_Bitmap_SaveFile
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28312          { (char *)"Bitmap_LoadFile", (PyCFunction
) _wrap_Bitmap_LoadFile
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28313          { (char *)"Bitmap_GetPalette", (PyCFunction
)_wrap_Bitmap_GetPalette
, METH_O
, NULL
}, 
28314          { (char *)"Bitmap_CopyFromIcon", (PyCFunction
) _wrap_Bitmap_CopyFromIcon
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28315          { (char *)"Bitmap_SetHeight", (PyCFunction
) _wrap_Bitmap_SetHeight
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28316          { (char *)"Bitmap_SetWidth", (PyCFunction
) _wrap_Bitmap_SetWidth
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28317          { (char *)"Bitmap_SetDepth", (PyCFunction
) _wrap_Bitmap_SetDepth
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28318          { (char *)"Bitmap_SetSize", (PyCFunction
) _wrap_Bitmap_SetSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28319          { (char *)"Bitmap___eq__", (PyCFunction
) _wrap_Bitmap___eq__
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28320          { (char *)"Bitmap___ne__", (PyCFunction
) _wrap_Bitmap___ne__
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28321          { (char *)"Bitmap_swigregister", Bitmap_swigregister
, METH_VARARGS
, NULL
}, 
28322          { (char *)"Bitmap_swiginit", Bitmap_swiginit
, METH_VARARGS
, NULL
}, 
28323          { (char *)"new_Mask", (PyCFunction
) _wrap_new_Mask
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28324          { (char *)"delete_Mask", (PyCFunction
)_wrap_delete_Mask
, METH_O
, NULL
}, 
28325          { (char *)"Mask_swigregister", Mask_swigregister
, METH_VARARGS
, NULL
}, 
28326          { (char *)"Mask_swiginit", Mask_swiginit
, METH_VARARGS
, NULL
}, 
28327          { (char *)"new_Icon", (PyCFunction
) _wrap_new_Icon
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28328          { (char *)"delete_Icon", (PyCFunction
)_wrap_delete_Icon
, METH_O
, NULL
}, 
28329          { (char *)"new_EmptyIcon", (PyCFunction
)_wrap_new_EmptyIcon
, METH_NOARGS
, NULL
}, 
28330          { (char *)"new_IconFromLocation", (PyCFunction
) _wrap_new_IconFromLocation
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28331          { (char *)"new_IconFromBitmap", (PyCFunction
) _wrap_new_IconFromBitmap
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28332          { (char *)"new_IconFromXPMData", (PyCFunction
) _wrap_new_IconFromXPMData
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28333          { (char *)"Icon_Ok", (PyCFunction
)_wrap_Icon_Ok
, METH_O
, NULL
}, 
28334          { (char *)"Icon_GetWidth", (PyCFunction
)_wrap_Icon_GetWidth
, METH_O
, NULL
}, 
28335          { (char *)"Icon_GetHeight", (PyCFunction
)_wrap_Icon_GetHeight
, METH_O
, NULL
}, 
28336          { (char *)"Icon_GetDepth", (PyCFunction
)_wrap_Icon_GetDepth
, METH_O
, NULL
}, 
28337          { (char *)"Icon_SetWidth", (PyCFunction
) _wrap_Icon_SetWidth
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28338          { (char *)"Icon_SetHeight", (PyCFunction
) _wrap_Icon_SetHeight
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28339          { (char *)"Icon_SetDepth", (PyCFunction
) _wrap_Icon_SetDepth
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28340          { (char *)"Icon_CopyFromBitmap", (PyCFunction
) _wrap_Icon_CopyFromBitmap
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28341          { (char *)"Icon_swigregister", Icon_swigregister
, METH_VARARGS
, NULL
}, 
28342          { (char *)"Icon_swiginit", Icon_swiginit
, METH_VARARGS
, NULL
}, 
28343          { (char *)"new_IconLocation", (PyCFunction
) _wrap_new_IconLocation
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28344          { (char *)"delete_IconLocation", (PyCFunction
)_wrap_delete_IconLocation
, METH_O
, NULL
}, 
28345          { (char *)"IconLocation_IsOk", (PyCFunction
)_wrap_IconLocation_IsOk
, METH_O
, NULL
}, 
28346          { (char *)"IconLocation_SetFileName", (PyCFunction
) _wrap_IconLocation_SetFileName
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28347          { (char *)"IconLocation_GetFileName", (PyCFunction
)_wrap_IconLocation_GetFileName
, METH_O
, NULL
}, 
28348          { (char *)"IconLocation_SetIndex", (PyCFunction
) _wrap_IconLocation_SetIndex
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28349          { (char *)"IconLocation_GetIndex", (PyCFunction
)_wrap_IconLocation_GetIndex
, METH_O
, NULL
}, 
28350          { (char *)"IconLocation_swigregister", IconLocation_swigregister
, METH_VARARGS
, NULL
}, 
28351          { (char *)"IconLocation_swiginit", IconLocation_swiginit
, METH_VARARGS
, NULL
}, 
28352          { (char *)"new_IconBundle", (PyCFunction
)_wrap_new_IconBundle
, METH_NOARGS
, NULL
}, 
28353          { (char *)"new_IconBundleFromFile", (PyCFunction
) _wrap_new_IconBundleFromFile
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28354          { (char *)"new_IconBundleFromIcon", (PyCFunction
) _wrap_new_IconBundleFromIcon
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28355          { (char *)"delete_IconBundle", (PyCFunction
)_wrap_delete_IconBundle
, METH_O
, NULL
}, 
28356          { (char *)"IconBundle_AddIcon", (PyCFunction
) _wrap_IconBundle_AddIcon
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28357          { (char *)"IconBundle_AddIconFromFile", (PyCFunction
) _wrap_IconBundle_AddIconFromFile
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28358          { (char *)"IconBundle_GetIcon", (PyCFunction
) _wrap_IconBundle_GetIcon
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28359          { (char *)"IconBundle_swigregister", IconBundle_swigregister
, METH_VARARGS
, NULL
}, 
28360          { (char *)"IconBundle_swiginit", IconBundle_swiginit
, METH_VARARGS
, NULL
}, 
28361          { (char *)"new_Cursor", (PyCFunction
) _wrap_new_Cursor
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28362          { (char *)"delete_Cursor", (PyCFunction
)_wrap_delete_Cursor
, METH_O
, NULL
}, 
28363          { (char *)"new_StockCursor", (PyCFunction
) _wrap_new_StockCursor
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28364          { (char *)"new_CursorFromImage", (PyCFunction
) _wrap_new_CursorFromImage
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28365          { (char *)"Cursor_Ok", (PyCFunction
)_wrap_Cursor_Ok
, METH_O
, NULL
}, 
28366          { (char *)"Cursor_swigregister", Cursor_swigregister
, METH_VARARGS
, NULL
}, 
28367          { (char *)"Cursor_swiginit", Cursor_swiginit
, METH_VARARGS
, NULL
}, 
28368          { (char *)"new_Region", (PyCFunction
) _wrap_new_Region
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28369          { (char *)"new_RegionFromBitmap", (PyCFunction
) _wrap_new_RegionFromBitmap
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28370          { (char *)"new_RegionFromBitmapColour", (PyCFunction
) _wrap_new_RegionFromBitmapColour
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28371          { (char *)"new_RegionFromPoints", (PyCFunction
) _wrap_new_RegionFromPoints
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28372          { (char *)"delete_Region", (PyCFunction
)_wrap_delete_Region
, METH_O
, NULL
}, 
28373          { (char *)"Region_Clear", (PyCFunction
)_wrap_Region_Clear
, METH_O
, NULL
}, 
28374          { (char *)"Region_Offset", (PyCFunction
) _wrap_Region_Offset
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28375          { (char *)"Region_Contains", (PyCFunction
) _wrap_Region_Contains
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28376          { (char *)"Region_ContainsPoint", (PyCFunction
) _wrap_Region_ContainsPoint
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28377          { (char *)"Region_ContainsRect", (PyCFunction
) _wrap_Region_ContainsRect
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28378          { (char *)"Region_ContainsRectDim", (PyCFunction
) _wrap_Region_ContainsRectDim
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28379          { (char *)"Region_GetBox", (PyCFunction
)_wrap_Region_GetBox
, METH_O
, NULL
}, 
28380          { (char *)"Region_Intersect", (PyCFunction
) _wrap_Region_Intersect
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28381          { (char *)"Region_IntersectRect", (PyCFunction
) _wrap_Region_IntersectRect
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28382          { (char *)"Region_IntersectRegion", (PyCFunction
) _wrap_Region_IntersectRegion
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28383          { (char *)"Region_IsEmpty", (PyCFunction
)_wrap_Region_IsEmpty
, METH_O
, NULL
}, 
28384          { (char *)"Region_Union", (PyCFunction
) _wrap_Region_Union
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28385          { (char *)"Region_UnionRect", (PyCFunction
) _wrap_Region_UnionRect
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28386          { (char *)"Region_UnionRegion", (PyCFunction
) _wrap_Region_UnionRegion
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28387          { (char *)"Region_Subtract", (PyCFunction
) _wrap_Region_Subtract
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28388          { (char *)"Region_SubtractRect", (PyCFunction
) _wrap_Region_SubtractRect
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28389          { (char *)"Region_SubtractRegion", (PyCFunction
) _wrap_Region_SubtractRegion
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28390          { (char *)"Region_Xor", (PyCFunction
) _wrap_Region_Xor
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28391          { (char *)"Region_XorRect", (PyCFunction
) _wrap_Region_XorRect
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28392          { (char *)"Region_XorRegion", (PyCFunction
) _wrap_Region_XorRegion
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28393          { (char *)"Region_ConvertToBitmap", (PyCFunction
)_wrap_Region_ConvertToBitmap
, METH_O
, NULL
}, 
28394          { (char *)"Region_UnionBitmap", (PyCFunction
) _wrap_Region_UnionBitmap
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28395          { (char *)"Region_UnionBitmapColour", (PyCFunction
) _wrap_Region_UnionBitmapColour
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28396          { (char *)"Region_swigregister", Region_swigregister
, METH_VARARGS
, NULL
}, 
28397          { (char *)"Region_swiginit", Region_swiginit
, METH_VARARGS
, NULL
}, 
28398          { (char *)"new_RegionIterator", (PyCFunction
) _wrap_new_RegionIterator
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28399          { (char *)"delete_RegionIterator", (PyCFunction
)_wrap_delete_RegionIterator
, METH_O
, NULL
}, 
28400          { (char *)"RegionIterator_GetX", (PyCFunction
)_wrap_RegionIterator_GetX
, METH_O
, NULL
}, 
28401          { (char *)"RegionIterator_GetY", (PyCFunction
)_wrap_RegionIterator_GetY
, METH_O
, NULL
}, 
28402          { (char *)"RegionIterator_GetW", (PyCFunction
)_wrap_RegionIterator_GetW
, METH_O
, NULL
}, 
28403          { (char *)"RegionIterator_GetWidth", (PyCFunction
)_wrap_RegionIterator_GetWidth
, METH_O
, NULL
}, 
28404          { (char *)"RegionIterator_GetH", (PyCFunction
)_wrap_RegionIterator_GetH
, METH_O
, NULL
}, 
28405          { (char *)"RegionIterator_GetHeight", (PyCFunction
)_wrap_RegionIterator_GetHeight
, METH_O
, NULL
}, 
28406          { (char *)"RegionIterator_GetRect", (PyCFunction
)_wrap_RegionIterator_GetRect
, METH_O
, NULL
}, 
28407          { (char *)"RegionIterator_HaveRects", (PyCFunction
)_wrap_RegionIterator_HaveRects
, METH_O
, NULL
}, 
28408          { (char *)"RegionIterator_Reset", (PyCFunction
)_wrap_RegionIterator_Reset
, METH_O
, NULL
}, 
28409          { (char *)"RegionIterator_Next", (PyCFunction
)_wrap_RegionIterator_Next
, METH_O
, NULL
}, 
28410          { (char *)"RegionIterator___nonzero__", (PyCFunction
)_wrap_RegionIterator___nonzero__
, METH_O
, NULL
}, 
28411          { (char *)"RegionIterator_swigregister", RegionIterator_swigregister
, METH_VARARGS
, NULL
}, 
28412          { (char *)"RegionIterator_swiginit", RegionIterator_swiginit
, METH_VARARGS
, NULL
}, 
28413          { (char *)"new_NativeFontInfo", (PyCFunction
)_wrap_new_NativeFontInfo
, METH_NOARGS
, NULL
}, 
28414          { (char *)"delete_NativeFontInfo", (PyCFunction
)_wrap_delete_NativeFontInfo
, METH_O
, NULL
}, 
28415          { (char *)"NativeFontInfo_Init", (PyCFunction
)_wrap_NativeFontInfo_Init
, METH_O
, NULL
}, 
28416          { (char *)"NativeFontInfo_InitFromFont", (PyCFunction
) _wrap_NativeFontInfo_InitFromFont
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28417          { (char *)"NativeFontInfo_GetPointSize", (PyCFunction
)_wrap_NativeFontInfo_GetPointSize
, METH_O
, NULL
}, 
28418          { (char *)"NativeFontInfo_GetStyle", (PyCFunction
)_wrap_NativeFontInfo_GetStyle
, METH_O
, NULL
}, 
28419          { (char *)"NativeFontInfo_GetWeight", (PyCFunction
)_wrap_NativeFontInfo_GetWeight
, METH_O
, NULL
}, 
28420          { (char *)"NativeFontInfo_GetUnderlined", (PyCFunction
)_wrap_NativeFontInfo_GetUnderlined
, METH_O
, NULL
}, 
28421          { (char *)"NativeFontInfo_GetFaceName", (PyCFunction
)_wrap_NativeFontInfo_GetFaceName
, METH_O
, NULL
}, 
28422          { (char *)"NativeFontInfo_GetFamily", (PyCFunction
)_wrap_NativeFontInfo_GetFamily
, METH_O
, NULL
}, 
28423          { (char *)"NativeFontInfo_GetEncoding", (PyCFunction
)_wrap_NativeFontInfo_GetEncoding
, METH_O
, NULL
}, 
28424          { (char *)"NativeFontInfo_SetPointSize", (PyCFunction
) _wrap_NativeFontInfo_SetPointSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28425          { (char *)"NativeFontInfo_SetStyle", (PyCFunction
) _wrap_NativeFontInfo_SetStyle
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28426          { (char *)"NativeFontInfo_SetWeight", (PyCFunction
) _wrap_NativeFontInfo_SetWeight
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28427          { (char *)"NativeFontInfo_SetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_SetUnderlined
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28428          { (char *)"NativeFontInfo_SetFaceName", (PyCFunction
) _wrap_NativeFontInfo_SetFaceName
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28429          { (char *)"NativeFontInfo_SetFamily", (PyCFunction
) _wrap_NativeFontInfo_SetFamily
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28430          { (char *)"NativeFontInfo_SetEncoding", (PyCFunction
) _wrap_NativeFontInfo_SetEncoding
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28431          { (char *)"NativeFontInfo_FromString", (PyCFunction
) _wrap_NativeFontInfo_FromString
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28432          { (char *)"NativeFontInfo_ToString", (PyCFunction
)_wrap_NativeFontInfo_ToString
, METH_O
, NULL
}, 
28433          { (char *)"NativeFontInfo___str__", (PyCFunction
)_wrap_NativeFontInfo___str__
, METH_O
, NULL
}, 
28434          { (char *)"NativeFontInfo_FromUserString", (PyCFunction
) _wrap_NativeFontInfo_FromUserString
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28435          { (char *)"NativeFontInfo_ToUserString", (PyCFunction
)_wrap_NativeFontInfo_ToUserString
, METH_O
, NULL
}, 
28436          { (char *)"NativeFontInfo_swigregister", NativeFontInfo_swigregister
, METH_VARARGS
, NULL
}, 
28437          { (char *)"NativeFontInfo_swiginit", NativeFontInfo_swiginit
, METH_VARARGS
, NULL
}, 
28438          { (char *)"NativeEncodingInfo_facename_set", _wrap_NativeEncodingInfo_facename_set
, METH_VARARGS
, NULL
}, 
28439          { (char *)"NativeEncodingInfo_facename_get", (PyCFunction
)_wrap_NativeEncodingInfo_facename_get
, METH_O
, NULL
}, 
28440          { (char *)"NativeEncodingInfo_encoding_set", _wrap_NativeEncodingInfo_encoding_set
, METH_VARARGS
, NULL
}, 
28441          { (char *)"NativeEncodingInfo_encoding_get", (PyCFunction
)_wrap_NativeEncodingInfo_encoding_get
, METH_O
, NULL
}, 
28442          { (char *)"new_NativeEncodingInfo", (PyCFunction
)_wrap_new_NativeEncodingInfo
, METH_NOARGS
, NULL
}, 
28443          { (char *)"delete_NativeEncodingInfo", (PyCFunction
)_wrap_delete_NativeEncodingInfo
, METH_O
, NULL
}, 
28444          { (char *)"NativeEncodingInfo_FromString", (PyCFunction
) _wrap_NativeEncodingInfo_FromString
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28445          { (char *)"NativeEncodingInfo_ToString", (PyCFunction
)_wrap_NativeEncodingInfo_ToString
, METH_O
, NULL
}, 
28446          { (char *)"NativeEncodingInfo_swigregister", NativeEncodingInfo_swigregister
, METH_VARARGS
, NULL
}, 
28447          { (char *)"NativeEncodingInfo_swiginit", NativeEncodingInfo_swiginit
, METH_VARARGS
, NULL
}, 
28448          { (char *)"GetNativeFontEncoding", (PyCFunction
) _wrap_GetNativeFontEncoding
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28449          { (char *)"TestFontEncoding", (PyCFunction
) _wrap_TestFontEncoding
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28450          { (char *)"new_FontMapper", (PyCFunction
)_wrap_new_FontMapper
, METH_NOARGS
, NULL
}, 
28451          { (char *)"delete_FontMapper", (PyCFunction
)_wrap_delete_FontMapper
, METH_O
, NULL
}, 
28452          { (char *)"FontMapper_Get", (PyCFunction
)_wrap_FontMapper_Get
, METH_NOARGS
, NULL
}, 
28453          { (char *)"FontMapper_Set", (PyCFunction
) _wrap_FontMapper_Set
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28454          { (char *)"FontMapper_CharsetToEncoding", (PyCFunction
) _wrap_FontMapper_CharsetToEncoding
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28455          { (char *)"FontMapper_GetSupportedEncodingsCount", (PyCFunction
)_wrap_FontMapper_GetSupportedEncodingsCount
, METH_NOARGS
, NULL
}, 
28456          { (char *)"FontMapper_GetEncoding", (PyCFunction
) _wrap_FontMapper_GetEncoding
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28457          { (char *)"FontMapper_GetEncodingName", (PyCFunction
) _wrap_FontMapper_GetEncodingName
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28458          { (char *)"FontMapper_GetEncodingDescription", (PyCFunction
) _wrap_FontMapper_GetEncodingDescription
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28459          { (char *)"FontMapper_GetEncodingFromName", (PyCFunction
) _wrap_FontMapper_GetEncodingFromName
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28460          { (char *)"FontMapper_SetConfigPath", (PyCFunction
) _wrap_FontMapper_SetConfigPath
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28461          { (char *)"FontMapper_GetDefaultConfigPath", (PyCFunction
)_wrap_FontMapper_GetDefaultConfigPath
, METH_NOARGS
, NULL
}, 
28462          { (char *)"FontMapper_GetAltForEncoding", (PyCFunction
) _wrap_FontMapper_GetAltForEncoding
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28463          { (char *)"FontMapper_IsEncodingAvailable", (PyCFunction
) _wrap_FontMapper_IsEncodingAvailable
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28464          { (char *)"FontMapper_SetDialogParent", (PyCFunction
) _wrap_FontMapper_SetDialogParent
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28465          { (char *)"FontMapper_SetDialogTitle", (PyCFunction
) _wrap_FontMapper_SetDialogTitle
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28466          { (char *)"FontMapper_swigregister", FontMapper_swigregister
, METH_VARARGS
, NULL
}, 
28467          { (char *)"FontMapper_swiginit", FontMapper_swiginit
, METH_VARARGS
, NULL
}, 
28468          { (char *)"new_Font", (PyCFunction
) _wrap_new_Font
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28469          { (char *)"delete_Font", (PyCFunction
)_wrap_delete_Font
, METH_O
, NULL
}, 
28470          { (char *)"new_FontFromNativeInfo", (PyCFunction
) _wrap_new_FontFromNativeInfo
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28471          { (char *)"new_FontFromNativeInfoString", (PyCFunction
) _wrap_new_FontFromNativeInfoString
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28472          { (char *)"new_FFont", (PyCFunction
) _wrap_new_FFont
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28473          { (char *)"new_FontFromPixelSize", (PyCFunction
) _wrap_new_FontFromPixelSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28474          { (char *)"new_FFontFromPixelSize", (PyCFunction
) _wrap_new_FFontFromPixelSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28475          { (char *)"Font_Ok", (PyCFunction
)_wrap_Font_Ok
, METH_O
, NULL
}, 
28476          { (char *)"Font___eq__", (PyCFunction
) _wrap_Font___eq__
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28477          { (char *)"Font___ne__", (PyCFunction
) _wrap_Font___ne__
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28478          { (char *)"Font_GetPointSize", (PyCFunction
)_wrap_Font_GetPointSize
, METH_O
, NULL
}, 
28479          { (char *)"Font_GetPixelSize", (PyCFunction
)_wrap_Font_GetPixelSize
, METH_O
, NULL
}, 
28480          { (char *)"Font_IsUsingSizeInPixels", (PyCFunction
)_wrap_Font_IsUsingSizeInPixels
, METH_O
, NULL
}, 
28481          { (char *)"Font_GetFamily", (PyCFunction
)_wrap_Font_GetFamily
, METH_O
, NULL
}, 
28482          { (char *)"Font_GetStyle", (PyCFunction
)_wrap_Font_GetStyle
, METH_O
, NULL
}, 
28483          { (char *)"Font_GetWeight", (PyCFunction
)_wrap_Font_GetWeight
, METH_O
, NULL
}, 
28484          { (char *)"Font_GetUnderlined", (PyCFunction
)_wrap_Font_GetUnderlined
, METH_O
, NULL
}, 
28485          { (char *)"Font_GetFaceName", (PyCFunction
)_wrap_Font_GetFaceName
, METH_O
, NULL
}, 
28486          { (char *)"Font_GetEncoding", (PyCFunction
)_wrap_Font_GetEncoding
, METH_O
, NULL
}, 
28487          { (char *)"Font_GetNativeFontInfo", (PyCFunction
)_wrap_Font_GetNativeFontInfo
, METH_O
, NULL
}, 
28488          { (char *)"Font_IsFixedWidth", (PyCFunction
)_wrap_Font_IsFixedWidth
, METH_O
, NULL
}, 
28489          { (char *)"Font_GetNativeFontInfoDesc", (PyCFunction
)_wrap_Font_GetNativeFontInfoDesc
, METH_O
, NULL
}, 
28490          { (char *)"Font_GetNativeFontInfoUserDesc", (PyCFunction
)_wrap_Font_GetNativeFontInfoUserDesc
, METH_O
, NULL
}, 
28491          { (char *)"Font_SetPointSize", (PyCFunction
) _wrap_Font_SetPointSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28492          { (char *)"Font_SetPixelSize", (PyCFunction
) _wrap_Font_SetPixelSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28493          { (char *)"Font_SetFamily", (PyCFunction
) _wrap_Font_SetFamily
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28494          { (char *)"Font_SetStyle", (PyCFunction
) _wrap_Font_SetStyle
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28495          { (char *)"Font_SetWeight", (PyCFunction
) _wrap_Font_SetWeight
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28496          { (char *)"Font_SetFaceName", (PyCFunction
) _wrap_Font_SetFaceName
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28497          { (char *)"Font_SetUnderlined", (PyCFunction
) _wrap_Font_SetUnderlined
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28498          { (char *)"Font_SetEncoding", (PyCFunction
) _wrap_Font_SetEncoding
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28499          { (char *)"Font_SetNativeFontInfo", (PyCFunction
) _wrap_Font_SetNativeFontInfo
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28500          { (char *)"Font_SetNativeFontInfoFromString", (PyCFunction
) _wrap_Font_SetNativeFontInfoFromString
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28501          { (char *)"Font_SetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_SetNativeFontInfoUserDesc
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28502          { (char *)"Font_GetFamilyString", (PyCFunction
)_wrap_Font_GetFamilyString
, METH_O
, NULL
}, 
28503          { (char *)"Font_GetStyleString", (PyCFunction
)_wrap_Font_GetStyleString
, METH_O
, NULL
}, 
28504          { (char *)"Font_GetWeightString", (PyCFunction
)_wrap_Font_GetWeightString
, METH_O
, NULL
}, 
28505          { (char *)"Font_SetNoAntiAliasing", (PyCFunction
) _wrap_Font_SetNoAntiAliasing
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28506          { (char *)"Font_GetNoAntiAliasing", (PyCFunction
)_wrap_Font_GetNoAntiAliasing
, METH_O
, NULL
}, 
28507          { (char *)"Font_GetDefaultEncoding", (PyCFunction
)_wrap_Font_GetDefaultEncoding
, METH_NOARGS
, NULL
}, 
28508          { (char *)"Font_SetDefaultEncoding", (PyCFunction
) _wrap_Font_SetDefaultEncoding
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28509          { (char *)"Font_swigregister", Font_swigregister
, METH_VARARGS
, NULL
}, 
28510          { (char *)"Font_swiginit", Font_swiginit
, METH_VARARGS
, NULL
}, 
28511          { (char *)"new_FontEnumerator", (PyCFunction
)_wrap_new_FontEnumerator
, METH_NOARGS
, NULL
}, 
28512          { (char *)"delete_FontEnumerator", (PyCFunction
)_wrap_delete_FontEnumerator
, METH_O
, NULL
}, 
28513          { (char *)"FontEnumerator__setCallbackInfo", (PyCFunction
) _wrap_FontEnumerator__setCallbackInfo
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28514          { (char *)"FontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_FontEnumerator_EnumerateFacenames
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28515          { (char *)"FontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_FontEnumerator_EnumerateEncodings
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28516          { (char *)"FontEnumerator_GetEncodings", (PyCFunction
)_wrap_FontEnumerator_GetEncodings
, METH_NOARGS
, NULL
}, 
28517          { (char *)"FontEnumerator_GetFacenames", (PyCFunction
)_wrap_FontEnumerator_GetFacenames
, METH_NOARGS
, NULL
}, 
28518          { (char *)"FontEnumerator_IsValidFacename", (PyCFunction
) _wrap_FontEnumerator_IsValidFacename
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28519          { (char *)"FontEnumerator_swigregister", FontEnumerator_swigregister
, METH_VARARGS
, NULL
}, 
28520          { (char *)"FontEnumerator_swiginit", FontEnumerator_swiginit
, METH_VARARGS
, NULL
}, 
28521          { (char *)"LanguageInfo_Language_set", _wrap_LanguageInfo_Language_set
, METH_VARARGS
, NULL
}, 
28522          { (char *)"LanguageInfo_Language_get", (PyCFunction
)_wrap_LanguageInfo_Language_get
, METH_O
, NULL
}, 
28523          { (char *)"LanguageInfo_CanonicalName_set", _wrap_LanguageInfo_CanonicalName_set
, METH_VARARGS
, NULL
}, 
28524          { (char *)"LanguageInfo_CanonicalName_get", (PyCFunction
)_wrap_LanguageInfo_CanonicalName_get
, METH_O
, NULL
}, 
28525          { (char *)"LanguageInfo_Description_set", _wrap_LanguageInfo_Description_set
, METH_VARARGS
, NULL
}, 
28526          { (char *)"LanguageInfo_Description_get", (PyCFunction
)_wrap_LanguageInfo_Description_get
, METH_O
, NULL
}, 
28527          { (char *)"LanguageInfo_swigregister", LanguageInfo_swigregister
, METH_VARARGS
, NULL
}, 
28528          { (char *)"new_Locale", (PyCFunction
) _wrap_new_Locale
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28529          { (char *)"delete_Locale", (PyCFunction
)_wrap_delete_Locale
, METH_O
, NULL
}, 
28530          { (char *)"Locale_Init1", (PyCFunction
) _wrap_Locale_Init1
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28531          { (char *)"Locale_Init2", (PyCFunction
) _wrap_Locale_Init2
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28532          { (char *)"Locale_GetSystemLanguage", (PyCFunction
)_wrap_Locale_GetSystemLanguage
, METH_NOARGS
, NULL
}, 
28533          { (char *)"Locale_GetSystemEncoding", (PyCFunction
)_wrap_Locale_GetSystemEncoding
, METH_NOARGS
, NULL
}, 
28534          { (char *)"Locale_GetSystemEncodingName", (PyCFunction
)_wrap_Locale_GetSystemEncodingName
, METH_NOARGS
, NULL
}, 
28535          { (char *)"Locale_IsOk", (PyCFunction
)_wrap_Locale_IsOk
, METH_O
, NULL
}, 
28536          { (char *)"Locale_GetLocale", (PyCFunction
)_wrap_Locale_GetLocale
, METH_O
, NULL
}, 
28537          { (char *)"Locale_GetLanguage", (PyCFunction
)_wrap_Locale_GetLanguage
, METH_O
, NULL
}, 
28538          { (char *)"Locale_GetSysName", (PyCFunction
)_wrap_Locale_GetSysName
, METH_O
, NULL
}, 
28539          { (char *)"Locale_GetCanonicalName", (PyCFunction
)_wrap_Locale_GetCanonicalName
, METH_O
, NULL
}, 
28540          { (char *)"Locale_AddCatalogLookupPathPrefix", (PyCFunction
) _wrap_Locale_AddCatalogLookupPathPrefix
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28541          { (char *)"Locale_AddCatalog", (PyCFunction
) _wrap_Locale_AddCatalog
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28542          { (char *)"Locale_IsLoaded", (PyCFunction
) _wrap_Locale_IsLoaded
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28543          { (char *)"Locale_GetLanguageInfo", (PyCFunction
) _wrap_Locale_GetLanguageInfo
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28544          { (char *)"Locale_GetLanguageName", (PyCFunction
) _wrap_Locale_GetLanguageName
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28545          { (char *)"Locale_FindLanguageInfo", (PyCFunction
) _wrap_Locale_FindLanguageInfo
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28546          { (char *)"Locale_AddLanguage", (PyCFunction
) _wrap_Locale_AddLanguage
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28547          { (char *)"Locale_GetString", (PyCFunction
) _wrap_Locale_GetString
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28548          { (char *)"Locale_GetName", (PyCFunction
)_wrap_Locale_GetName
, METH_O
, NULL
}, 
28549          { (char *)"Locale_swigregister", Locale_swigregister
, METH_VARARGS
, NULL
}, 
28550          { (char *)"Locale_swiginit", Locale_swiginit
, METH_VARARGS
, NULL
}, 
28551          { (char *)"GetLocale", (PyCFunction
)_wrap_GetLocale
, METH_NOARGS
, NULL
}, 
28552          { (char *)"GetTranslation", _wrap_GetTranslation
, METH_VARARGS
, NULL
}, 
28553          { (char *)"new_EncodingConverter", (PyCFunction
)_wrap_new_EncodingConverter
, METH_NOARGS
, NULL
}, 
28554          { (char *)"delete_EncodingConverter", (PyCFunction
)_wrap_delete_EncodingConverter
, METH_O
, NULL
}, 
28555          { (char *)"EncodingConverter_Init", (PyCFunction
) _wrap_EncodingConverter_Init
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28556          { (char *)"EncodingConverter_Convert", (PyCFunction
) _wrap_EncodingConverter_Convert
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28557          { (char *)"EncodingConverter_GetPlatformEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetPlatformEquivalents
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28558          { (char *)"EncodingConverter_GetAllEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetAllEquivalents
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28559          { (char *)"EncodingConverter_CanConvert", (PyCFunction
) _wrap_EncodingConverter_CanConvert
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28560          { (char *)"EncodingConverter_swigregister", EncodingConverter_swigregister
, METH_VARARGS
, NULL
}, 
28561          { (char *)"EncodingConverter_swiginit", EncodingConverter_swiginit
, METH_VARARGS
, NULL
}, 
28562          { (char *)"delete_DC", (PyCFunction
)_wrap_delete_DC
, METH_O
, NULL
}, 
28563          { (char *)"DC_FloodFill", (PyCFunction
) _wrap_DC_FloodFill
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28564          { (char *)"DC_FloodFillPoint", (PyCFunction
) _wrap_DC_FloodFillPoint
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28565          { (char *)"DC_GradientFillConcentric", (PyCFunction
) _wrap_DC_GradientFillConcentric
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28566          { (char *)"DC_GradientFillLinear", (PyCFunction
) _wrap_DC_GradientFillLinear
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28567          { (char *)"DC_GetPixel", (PyCFunction
) _wrap_DC_GetPixel
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28568          { (char *)"DC_GetPixelPoint", (PyCFunction
) _wrap_DC_GetPixelPoint
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28569          { (char *)"DC_DrawLine", (PyCFunction
) _wrap_DC_DrawLine
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28570          { (char *)"DC_DrawLinePoint", (PyCFunction
) _wrap_DC_DrawLinePoint
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28571          { (char *)"DC_CrossHair", (PyCFunction
) _wrap_DC_CrossHair
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28572          { (char *)"DC_CrossHairPoint", (PyCFunction
) _wrap_DC_CrossHairPoint
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28573          { (char *)"DC_DrawArc", (PyCFunction
) _wrap_DC_DrawArc
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28574          { (char *)"DC_DrawArcPoint", (PyCFunction
) _wrap_DC_DrawArcPoint
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28575          { (char *)"DC_DrawCheckMark", (PyCFunction
) _wrap_DC_DrawCheckMark
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28576          { (char *)"DC_DrawCheckMarkRect", (PyCFunction
) _wrap_DC_DrawCheckMarkRect
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28577          { (char *)"DC_DrawEllipticArc", (PyCFunction
) _wrap_DC_DrawEllipticArc
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28578          { (char *)"DC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_DC_DrawEllipticArcPointSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28579          { (char *)"DC_DrawPoint", (PyCFunction
) _wrap_DC_DrawPoint
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28580          { (char *)"DC_DrawPointPoint", (PyCFunction
) _wrap_DC_DrawPointPoint
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28581          { (char *)"DC_DrawRectangle", (PyCFunction
) _wrap_DC_DrawRectangle
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28582          { (char *)"DC_DrawRectangleRect", (PyCFunction
) _wrap_DC_DrawRectangleRect
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28583          { (char *)"DC_DrawRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRectanglePointSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28584          { (char *)"DC_DrawRoundedRectangle", (PyCFunction
) _wrap_DC_DrawRoundedRectangle
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28585          { (char *)"DC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_DC_DrawRoundedRectangleRect
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28586          { (char *)"DC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRoundedRectanglePointSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28587          { (char *)"DC_DrawCircle", (PyCFunction
) _wrap_DC_DrawCircle
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28588          { (char *)"DC_DrawCirclePoint", (PyCFunction
) _wrap_DC_DrawCirclePoint
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28589          { (char *)"DC_DrawEllipse", (PyCFunction
) _wrap_DC_DrawEllipse
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28590          { (char *)"DC_DrawEllipseRect", (PyCFunction
) _wrap_DC_DrawEllipseRect
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28591          { (char *)"DC_DrawEllipsePointSize", (PyCFunction
) _wrap_DC_DrawEllipsePointSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28592          { (char *)"DC_DrawIcon", (PyCFunction
) _wrap_DC_DrawIcon
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28593          { (char *)"DC_DrawIconPoint", (PyCFunction
) _wrap_DC_DrawIconPoint
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28594          { (char *)"DC_DrawBitmap", (PyCFunction
) _wrap_DC_DrawBitmap
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28595          { (char *)"DC_DrawBitmapPoint", (PyCFunction
) _wrap_DC_DrawBitmapPoint
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28596          { (char *)"DC_DrawText", (PyCFunction
) _wrap_DC_DrawText
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28597          { (char *)"DC_DrawTextPoint", (PyCFunction
) _wrap_DC_DrawTextPoint
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28598          { (char *)"DC_DrawRotatedText", (PyCFunction
) _wrap_DC_DrawRotatedText
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28599          { (char *)"DC_DrawRotatedTextPoint", (PyCFunction
) _wrap_DC_DrawRotatedTextPoint
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28600          { (char *)"DC_Blit", (PyCFunction
) _wrap_DC_Blit
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28601          { (char *)"DC_BlitPointSize", (PyCFunction
) _wrap_DC_BlitPointSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28602          { (char *)"DC_SetClippingRegion", (PyCFunction
) _wrap_DC_SetClippingRegion
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28603          { (char *)"DC_SetClippingRegionPointSize", (PyCFunction
) _wrap_DC_SetClippingRegionPointSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28604          { (char *)"DC_SetClippingRegionAsRegion", (PyCFunction
) _wrap_DC_SetClippingRegionAsRegion
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28605          { (char *)"DC_SetClippingRect", (PyCFunction
) _wrap_DC_SetClippingRect
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28606          { (char *)"DC_DrawLines", (PyCFunction
) _wrap_DC_DrawLines
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28607          { (char *)"DC_DrawPolygon", (PyCFunction
) _wrap_DC_DrawPolygon
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28608          { (char *)"DC_DrawLabel", (PyCFunction
) _wrap_DC_DrawLabel
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28609          { (char *)"DC_DrawImageLabel", (PyCFunction
) _wrap_DC_DrawImageLabel
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28610          { (char *)"DC_DrawSpline", (PyCFunction
) _wrap_DC_DrawSpline
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28611          { (char *)"DC_Clear", (PyCFunction
)_wrap_DC_Clear
, METH_O
, NULL
}, 
28612          { (char *)"DC_StartDoc", (PyCFunction
) _wrap_DC_StartDoc
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28613          { (char *)"DC_EndDoc", (PyCFunction
)_wrap_DC_EndDoc
, METH_O
, NULL
}, 
28614          { (char *)"DC_StartPage", (PyCFunction
)_wrap_DC_StartPage
, METH_O
, NULL
}, 
28615          { (char *)"DC_EndPage", (PyCFunction
)_wrap_DC_EndPage
, METH_O
, NULL
}, 
28616          { (char *)"DC_SetFont", (PyCFunction
) _wrap_DC_SetFont
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28617          { (char *)"DC_SetPen", (PyCFunction
) _wrap_DC_SetPen
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28618          { (char *)"DC_SetBrush", (PyCFunction
) _wrap_DC_SetBrush
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28619          { (char *)"DC_SetBackground", (PyCFunction
) _wrap_DC_SetBackground
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28620          { (char *)"DC_SetBackgroundMode", (PyCFunction
) _wrap_DC_SetBackgroundMode
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28621          { (char *)"DC_SetPalette", (PyCFunction
) _wrap_DC_SetPalette
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28622          { (char *)"DC_DestroyClippingRegion", (PyCFunction
)_wrap_DC_DestroyClippingRegion
, METH_O
, NULL
}, 
28623          { (char *)"DC_GetClippingBox", (PyCFunction
)_wrap_DC_GetClippingBox
, METH_O
, NULL
}, 
28624          { (char *)"DC_GetClippingRect", (PyCFunction
)_wrap_DC_GetClippingRect
, METH_O
, NULL
}, 
28625          { (char *)"DC_GetCharHeight", (PyCFunction
)_wrap_DC_GetCharHeight
, METH_O
, NULL
}, 
28626          { (char *)"DC_GetCharWidth", (PyCFunction
)_wrap_DC_GetCharWidth
, METH_O
, NULL
}, 
28627          { (char *)"DC_GetTextExtent", (PyCFunction
) _wrap_DC_GetTextExtent
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28628          { (char *)"DC_GetFullTextExtent", (PyCFunction
) _wrap_DC_GetFullTextExtent
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28629          { (char *)"DC_GetMultiLineTextExtent", (PyCFunction
) _wrap_DC_GetMultiLineTextExtent
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28630          { (char *)"DC_GetPartialTextExtents", (PyCFunction
) _wrap_DC_GetPartialTextExtents
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28631          { (char *)"DC_GetSize", (PyCFunction
)_wrap_DC_GetSize
, METH_O
, NULL
}, 
28632          { (char *)"DC_GetSizeTuple", (PyCFunction
)_wrap_DC_GetSizeTuple
, METH_O
, NULL
}, 
28633          { (char *)"DC_GetSizeMM", (PyCFunction
)_wrap_DC_GetSizeMM
, METH_O
, NULL
}, 
28634          { (char *)"DC_GetSizeMMTuple", (PyCFunction
)_wrap_DC_GetSizeMMTuple
, METH_O
, NULL
}, 
28635          { (char *)"DC_DeviceToLogicalX", (PyCFunction
) _wrap_DC_DeviceToLogicalX
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28636          { (char *)"DC_DeviceToLogicalY", (PyCFunction
) _wrap_DC_DeviceToLogicalY
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28637          { (char *)"DC_DeviceToLogicalXRel", (PyCFunction
) _wrap_DC_DeviceToLogicalXRel
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28638          { (char *)"DC_DeviceToLogicalYRel", (PyCFunction
) _wrap_DC_DeviceToLogicalYRel
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28639          { (char *)"DC_LogicalToDeviceX", (PyCFunction
) _wrap_DC_LogicalToDeviceX
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28640          { (char *)"DC_LogicalToDeviceY", (PyCFunction
) _wrap_DC_LogicalToDeviceY
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28641          { (char *)"DC_LogicalToDeviceXRel", (PyCFunction
) _wrap_DC_LogicalToDeviceXRel
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28642          { (char *)"DC_LogicalToDeviceYRel", (PyCFunction
) _wrap_DC_LogicalToDeviceYRel
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28643          { (char *)"DC_CanDrawBitmap", (PyCFunction
)_wrap_DC_CanDrawBitmap
, METH_O
, NULL
}, 
28644          { (char *)"DC_CanGetTextExtent", (PyCFunction
)_wrap_DC_CanGetTextExtent
, METH_O
, NULL
}, 
28645          { (char *)"DC_GetDepth", (PyCFunction
)_wrap_DC_GetDepth
, METH_O
, NULL
}, 
28646          { (char *)"DC_GetPPI", (PyCFunction
)_wrap_DC_GetPPI
, METH_O
, NULL
}, 
28647          { (char *)"DC_Ok", (PyCFunction
)_wrap_DC_Ok
, METH_O
, NULL
}, 
28648          { (char *)"DC_GetBackgroundMode", (PyCFunction
)_wrap_DC_GetBackgroundMode
, METH_O
, NULL
}, 
28649          { (char *)"DC_GetBackground", (PyCFunction
)_wrap_DC_GetBackground
, METH_O
, NULL
}, 
28650          { (char *)"DC_GetBrush", (PyCFunction
)_wrap_DC_GetBrush
, METH_O
, NULL
}, 
28651          { (char *)"DC_GetFont", (PyCFunction
)_wrap_DC_GetFont
, METH_O
, NULL
}, 
28652          { (char *)"DC_GetPen", (PyCFunction
)_wrap_DC_GetPen
, METH_O
, NULL
}, 
28653          { (char *)"DC_GetTextBackground", (PyCFunction
)_wrap_DC_GetTextBackground
, METH_O
, NULL
}, 
28654          { (char *)"DC_GetTextForeground", (PyCFunction
)_wrap_DC_GetTextForeground
, METH_O
, NULL
}, 
28655          { (char *)"DC_SetTextForeground", (PyCFunction
) _wrap_DC_SetTextForeground
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28656          { (char *)"DC_SetTextBackground", (PyCFunction
) _wrap_DC_SetTextBackground
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28657          { (char *)"DC_GetMapMode", (PyCFunction
)_wrap_DC_GetMapMode
, METH_O
, NULL
}, 
28658          { (char *)"DC_SetMapMode", (PyCFunction
) _wrap_DC_SetMapMode
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28659          { (char *)"DC_GetUserScale", (PyCFunction
)_wrap_DC_GetUserScale
, METH_O
, NULL
}, 
28660          { (char *)"DC_SetUserScale", (PyCFunction
) _wrap_DC_SetUserScale
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28661          { (char *)"DC_GetLogicalScale", (PyCFunction
)_wrap_DC_GetLogicalScale
, METH_O
, NULL
}, 
28662          { (char *)"DC_SetLogicalScale", (PyCFunction
) _wrap_DC_SetLogicalScale
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28663          { (char *)"DC_GetLogicalOrigin", (PyCFunction
)_wrap_DC_GetLogicalOrigin
, METH_O
, NULL
}, 
28664          { (char *)"DC_GetLogicalOriginTuple", (PyCFunction
)_wrap_DC_GetLogicalOriginTuple
, METH_O
, NULL
}, 
28665          { (char *)"DC_SetLogicalOrigin", (PyCFunction
) _wrap_DC_SetLogicalOrigin
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28666          { (char *)"DC_SetLogicalOriginPoint", (PyCFunction
) _wrap_DC_SetLogicalOriginPoint
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28667          { (char *)"DC_GetDeviceOrigin", (PyCFunction
)_wrap_DC_GetDeviceOrigin
, METH_O
, NULL
}, 
28668          { (char *)"DC_GetDeviceOriginTuple", (PyCFunction
)_wrap_DC_GetDeviceOriginTuple
, METH_O
, NULL
}, 
28669          { (char *)"DC_SetDeviceOrigin", (PyCFunction
) _wrap_DC_SetDeviceOrigin
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28670          { (char *)"DC_SetDeviceOriginPoint", (PyCFunction
) _wrap_DC_SetDeviceOriginPoint
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28671          { (char *)"DC_SetAxisOrientation", (PyCFunction
) _wrap_DC_SetAxisOrientation
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28672          { (char *)"DC_GetLogicalFunction", (PyCFunction
)_wrap_DC_GetLogicalFunction
, METH_O
, NULL
}, 
28673          { (char *)"DC_SetLogicalFunction", (PyCFunction
) _wrap_DC_SetLogicalFunction
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28674          { (char *)"DC_ComputeScaleAndOrigin", (PyCFunction
)_wrap_DC_ComputeScaleAndOrigin
, METH_O
, NULL
}, 
28675          { (char *)"DC_CalcBoundingBox", (PyCFunction
) _wrap_DC_CalcBoundingBox
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28676          { (char *)"DC_CalcBoundingBoxPoint", (PyCFunction
) _wrap_DC_CalcBoundingBoxPoint
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28677          { (char *)"DC_ResetBoundingBox", (PyCFunction
)_wrap_DC_ResetBoundingBox
, METH_O
, NULL
}, 
28678          { (char *)"DC_MinX", (PyCFunction
)_wrap_DC_MinX
, METH_O
, NULL
}, 
28679          { (char *)"DC_MaxX", (PyCFunction
)_wrap_DC_MaxX
, METH_O
, NULL
}, 
28680          { (char *)"DC_MinY", (PyCFunction
)_wrap_DC_MinY
, METH_O
, NULL
}, 
28681          { (char *)"DC_MaxY", (PyCFunction
)_wrap_DC_MaxY
, METH_O
, NULL
}, 
28682          { (char *)"DC_GetBoundingBox", (PyCFunction
)_wrap_DC_GetBoundingBox
, METH_O
, NULL
}, 
28683          { (char *)"DC__DrawPointList", (PyCFunction
) _wrap_DC__DrawPointList
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28684          { (char *)"DC__DrawLineList", (PyCFunction
) _wrap_DC__DrawLineList
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28685          { (char *)"DC__DrawRectangleList", (PyCFunction
) _wrap_DC__DrawRectangleList
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28686          { (char *)"DC__DrawEllipseList", (PyCFunction
) _wrap_DC__DrawEllipseList
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28687          { (char *)"DC__DrawPolygonList", (PyCFunction
) _wrap_DC__DrawPolygonList
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28688          { (char *)"DC__DrawTextList", (PyCFunction
) _wrap_DC__DrawTextList
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28689          { (char *)"DC_swigregister", DC_swigregister
, METH_VARARGS
, NULL
}, 
28690          { (char *)"new_MemoryDC", (PyCFunction
)_wrap_new_MemoryDC
, METH_NOARGS
, NULL
}, 
28691          { (char *)"new_MemoryDCFromDC", (PyCFunction
) _wrap_new_MemoryDCFromDC
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28692          { (char *)"MemoryDC_SelectObject", (PyCFunction
) _wrap_MemoryDC_SelectObject
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28693          { (char *)"MemoryDC_swigregister", MemoryDC_swigregister
, METH_VARARGS
, NULL
}, 
28694          { (char *)"MemoryDC_swiginit", MemoryDC_swiginit
, METH_VARARGS
, NULL
}, 
28695          { (char *)"new_BufferedDC", _wrap_new_BufferedDC
, METH_VARARGS
, NULL
}, 
28696          { (char *)"delete_BufferedDC", (PyCFunction
)_wrap_delete_BufferedDC
, METH_O
, NULL
}, 
28697          { (char *)"BufferedDC_UnMask", (PyCFunction
)_wrap_BufferedDC_UnMask
, METH_O
, NULL
}, 
28698          { (char *)"BufferedDC_swigregister", BufferedDC_swigregister
, METH_VARARGS
, NULL
}, 
28699          { (char *)"BufferedDC_swiginit", BufferedDC_swiginit
, METH_VARARGS
, NULL
}, 
28700          { (char *)"new_BufferedPaintDC", (PyCFunction
) _wrap_new_BufferedPaintDC
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28701          { (char *)"BufferedPaintDC_swigregister", BufferedPaintDC_swigregister
, METH_VARARGS
, NULL
}, 
28702          { (char *)"BufferedPaintDC_swiginit", BufferedPaintDC_swiginit
, METH_VARARGS
, NULL
}, 
28703          { (char *)"new_ScreenDC", (PyCFunction
)_wrap_new_ScreenDC
, METH_NOARGS
, NULL
}, 
28704          { (char *)"ScreenDC_StartDrawingOnTopWin", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTopWin
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28705          { (char *)"ScreenDC_StartDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTop
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28706          { (char *)"ScreenDC_EndDrawingOnTop", (PyCFunction
)_wrap_ScreenDC_EndDrawingOnTop
, METH_O
, NULL
}, 
28707          { (char *)"ScreenDC_swigregister", ScreenDC_swigregister
, METH_VARARGS
, NULL
}, 
28708          { (char *)"ScreenDC_swiginit", ScreenDC_swiginit
, METH_VARARGS
, NULL
}, 
28709          { (char *)"new_ClientDC", (PyCFunction
) _wrap_new_ClientDC
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28710          { (char *)"ClientDC_swigregister", ClientDC_swigregister
, METH_VARARGS
, NULL
}, 
28711          { (char *)"ClientDC_swiginit", ClientDC_swiginit
, METH_VARARGS
, NULL
}, 
28712          { (char *)"new_PaintDC", (PyCFunction
) _wrap_new_PaintDC
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28713          { (char *)"PaintDC_swigregister", PaintDC_swigregister
, METH_VARARGS
, NULL
}, 
28714          { (char *)"PaintDC_swiginit", PaintDC_swiginit
, METH_VARARGS
, NULL
}, 
28715          { (char *)"new_WindowDC", (PyCFunction
) _wrap_new_WindowDC
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28716          { (char *)"WindowDC_swigregister", WindowDC_swigregister
, METH_VARARGS
, NULL
}, 
28717          { (char *)"WindowDC_swiginit", WindowDC_swiginit
, METH_VARARGS
, NULL
}, 
28718          { (char *)"new_MirrorDC", (PyCFunction
) _wrap_new_MirrorDC
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28719          { (char *)"MirrorDC_swigregister", MirrorDC_swigregister
, METH_VARARGS
, NULL
}, 
28720          { (char *)"MirrorDC_swiginit", MirrorDC_swiginit
, METH_VARARGS
, NULL
}, 
28721          { (char *)"new_PostScriptDC", (PyCFunction
) _wrap_new_PostScriptDC
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28722          { (char *)"PostScriptDC_GetPrintData", (PyCFunction
)_wrap_PostScriptDC_GetPrintData
, METH_O
, NULL
}, 
28723          { (char *)"PostScriptDC_SetPrintData", (PyCFunction
) _wrap_PostScriptDC_SetPrintData
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28724          { (char *)"PostScriptDC_SetResolution", (PyCFunction
) _wrap_PostScriptDC_SetResolution
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28725          { (char *)"PostScriptDC_GetResolution", (PyCFunction
)_wrap_PostScriptDC_GetResolution
, METH_NOARGS
, NULL
}, 
28726          { (char *)"PostScriptDC_swigregister", PostScriptDC_swigregister
, METH_VARARGS
, NULL
}, 
28727          { (char *)"PostScriptDC_swiginit", PostScriptDC_swiginit
, METH_VARARGS
, NULL
}, 
28728          { (char *)"new_MetaFile", (PyCFunction
) _wrap_new_MetaFile
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28729          { (char *)"delete_MetaFile", (PyCFunction
)_wrap_delete_MetaFile
, METH_O
, NULL
}, 
28730          { (char *)"MetaFile_Ok", (PyCFunction
)_wrap_MetaFile_Ok
, METH_O
, NULL
}, 
28731          { (char *)"MetaFile_SetClipboard", (PyCFunction
) _wrap_MetaFile_SetClipboard
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28732          { (char *)"MetaFile_GetSize", (PyCFunction
)_wrap_MetaFile_GetSize
, METH_O
, NULL
}, 
28733          { (char *)"MetaFile_GetWidth", (PyCFunction
)_wrap_MetaFile_GetWidth
, METH_O
, NULL
}, 
28734          { (char *)"MetaFile_GetHeight", (PyCFunction
)_wrap_MetaFile_GetHeight
, METH_O
, NULL
}, 
28735          { (char *)"MetaFile_swigregister", MetaFile_swigregister
, METH_VARARGS
, NULL
}, 
28736          { (char *)"MetaFile_swiginit", MetaFile_swiginit
, METH_VARARGS
, NULL
}, 
28737          { (char *)"new_MetaFileDC", (PyCFunction
) _wrap_new_MetaFileDC
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28738          { (char *)"MetaFileDC_Close", (PyCFunction
)_wrap_MetaFileDC_Close
, METH_O
, NULL
}, 
28739          { (char *)"MetaFileDC_swigregister", MetaFileDC_swigregister
, METH_VARARGS
, NULL
}, 
28740          { (char *)"MetaFileDC_swiginit", MetaFileDC_swiginit
, METH_VARARGS
, NULL
}, 
28741          { (char *)"new_PrinterDC", (PyCFunction
) _wrap_new_PrinterDC
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28742          { (char *)"PrinterDC_swigregister", PrinterDC_swigregister
, METH_VARARGS
, NULL
}, 
28743          { (char *)"PrinterDC_swiginit", PrinterDC_swiginit
, METH_VARARGS
, NULL
}, 
28744          { (char *)"new_ImageList", (PyCFunction
) _wrap_new_ImageList
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28745          { (char *)"delete_ImageList", (PyCFunction
)_wrap_delete_ImageList
, METH_O
, NULL
}, 
28746          { (char *)"ImageList_Add", (PyCFunction
) _wrap_ImageList_Add
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28747          { (char *)"ImageList_AddWithColourMask", (PyCFunction
) _wrap_ImageList_AddWithColourMask
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28748          { (char *)"ImageList_AddIcon", (PyCFunction
) _wrap_ImageList_AddIcon
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28749          { (char *)"ImageList_GetBitmap", (PyCFunction
) _wrap_ImageList_GetBitmap
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28750          { (char *)"ImageList_GetIcon", (PyCFunction
) _wrap_ImageList_GetIcon
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28751          { (char *)"ImageList_Replace", (PyCFunction
) _wrap_ImageList_Replace
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28752          { (char *)"ImageList_Draw", (PyCFunction
) _wrap_ImageList_Draw
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28753          { (char *)"ImageList_GetImageCount", (PyCFunction
)_wrap_ImageList_GetImageCount
, METH_O
, NULL
}, 
28754          { (char *)"ImageList_Remove", (PyCFunction
) _wrap_ImageList_Remove
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28755          { (char *)"ImageList_RemoveAll", (PyCFunction
)_wrap_ImageList_RemoveAll
, METH_O
, NULL
}, 
28756          { (char *)"ImageList_GetSize", (PyCFunction
) _wrap_ImageList_GetSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28757          { (char *)"ImageList_swigregister", ImageList_swigregister
, METH_VARARGS
, NULL
}, 
28758          { (char *)"ImageList_swiginit", ImageList_swiginit
, METH_VARARGS
, NULL
}, 
28759          { (char *)"new_StockGDI", (PyCFunction
)_wrap_new_StockGDI
, METH_NOARGS
, NULL
}, 
28760          { (char *)"delete_StockGDI", (PyCFunction
)_wrap_delete_StockGDI
, METH_O
, NULL
}, 
28761          { (char *)"StockGDI_DeleteAll", (PyCFunction
)_wrap_StockGDI_DeleteAll
, METH_NOARGS
, NULL
}, 
28762          { (char *)"StockGDI_instance", (PyCFunction
)_wrap_StockGDI_instance
, METH_NOARGS
, NULL
}, 
28763          { (char *)"StockGDI_GetBrush", (PyCFunction
) _wrap_StockGDI_GetBrush
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28764          { (char *)"StockGDI_GetColour", (PyCFunction
) _wrap_StockGDI_GetColour
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28765          { (char *)"StockGDI_GetCursor", (PyCFunction
) _wrap_StockGDI_GetCursor
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28766          { (char *)"StockGDI_GetPen", (PyCFunction
) _wrap_StockGDI_GetPen
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28767          { (char *)"StockGDI_GetFont", (PyCFunction
) _wrap_StockGDI_GetFont
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28768          { (char *)"StockGDI_swigregister", StockGDI_swigregister
, METH_VARARGS
, NULL
}, 
28769          { (char *)"StockGDI_swiginit", StockGDI_swiginit
, METH_VARARGS
, NULL
}, 
28770          { (char *)"new_GDIObjListBase", (PyCFunction
)_wrap_new_GDIObjListBase
, METH_NOARGS
, NULL
}, 
28771          { (char *)"delete_GDIObjListBase", (PyCFunction
)_wrap_delete_GDIObjListBase
, METH_O
, NULL
}, 
28772          { (char *)"GDIObjListBase_swigregister", GDIObjListBase_swigregister
, METH_VARARGS
, NULL
}, 
28773          { (char *)"GDIObjListBase_swiginit", GDIObjListBase_swiginit
, METH_VARARGS
, NULL
}, 
28774          { (char *)"PenList_FindOrCreatePen", (PyCFunction
) _wrap_PenList_FindOrCreatePen
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28775          { (char *)"PenList_AddPen", (PyCFunction
) _wrap_PenList_AddPen
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28776          { (char *)"PenList_RemovePen", (PyCFunction
) _wrap_PenList_RemovePen
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28777          { (char *)"PenList_swigregister", PenList_swigregister
, METH_VARARGS
, NULL
}, 
28778          { (char *)"BrushList_FindOrCreateBrush", (PyCFunction
) _wrap_BrushList_FindOrCreateBrush
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28779          { (char *)"BrushList_AddBrush", (PyCFunction
) _wrap_BrushList_AddBrush
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28780          { (char *)"BrushList_RemoveBrush", (PyCFunction
) _wrap_BrushList_RemoveBrush
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28781          { (char *)"BrushList_swigregister", BrushList_swigregister
, METH_VARARGS
, NULL
}, 
28782          { (char *)"FontList_FindOrCreateFont", (PyCFunction
) _wrap_FontList_FindOrCreateFont
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28783          { (char *)"FontList_AddFont", (PyCFunction
) _wrap_FontList_AddFont
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28784          { (char *)"FontList_RemoveFont", (PyCFunction
) _wrap_FontList_RemoveFont
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28785          { (char *)"FontList_swigregister", FontList_swigregister
, METH_VARARGS
, NULL
}, 
28786          { (char *)"new_ColourDatabase", (PyCFunction
)_wrap_new_ColourDatabase
, METH_NOARGS
, NULL
}, 
28787          { (char *)"delete_ColourDatabase", (PyCFunction
)_wrap_delete_ColourDatabase
, METH_O
, NULL
}, 
28788          { (char *)"ColourDatabase_Find", (PyCFunction
) _wrap_ColourDatabase_Find
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28789          { (char *)"ColourDatabase_FindName", (PyCFunction
) _wrap_ColourDatabase_FindName
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28790          { (char *)"ColourDatabase_AddColour", (PyCFunction
) _wrap_ColourDatabase_AddColour
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28791          { (char *)"ColourDatabase_Append", (PyCFunction
) _wrap_ColourDatabase_Append
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28792          { (char *)"ColourDatabase_swigregister", ColourDatabase_swigregister
, METH_VARARGS
, NULL
}, 
28793          { (char *)"ColourDatabase_swiginit", ColourDatabase_swiginit
, METH_VARARGS
, NULL
}, 
28794          { (char *)"_wxPyInitTheFontList", (PyCFunction
)_wrap__wxPyInitTheFontList
, METH_NOARGS
, NULL
}, 
28795          { (char *)"_wxPyInitThePenList", (PyCFunction
)_wrap__wxPyInitThePenList
, METH_NOARGS
, NULL
}, 
28796          { (char *)"_wxPyInitTheBrushList", (PyCFunction
)_wrap__wxPyInitTheBrushList
, METH_NOARGS
, NULL
}, 
28797          { (char *)"_wxPyInitTheColourDatabase", (PyCFunction
)_wrap__wxPyInitTheColourDatabase
, METH_NOARGS
, NULL
}, 
28798          { (char *)"new_Effects", (PyCFunction
)_wrap_new_Effects
, METH_NOARGS
, NULL
}, 
28799          { (char *)"Effects_GetHighlightColour", (PyCFunction
)_wrap_Effects_GetHighlightColour
, METH_O
, NULL
}, 
28800          { (char *)"Effects_GetLightShadow", (PyCFunction
)_wrap_Effects_GetLightShadow
, METH_O
, NULL
}, 
28801          { (char *)"Effects_GetFaceColour", (PyCFunction
)_wrap_Effects_GetFaceColour
, METH_O
, NULL
}, 
28802          { (char *)"Effects_GetMediumShadow", (PyCFunction
)_wrap_Effects_GetMediumShadow
, METH_O
, NULL
}, 
28803          { (char *)"Effects_GetDarkShadow", (PyCFunction
)_wrap_Effects_GetDarkShadow
, METH_O
, NULL
}, 
28804          { (char *)"Effects_SetHighlightColour", (PyCFunction
) _wrap_Effects_SetHighlightColour
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28805          { (char *)"Effects_SetLightShadow", (PyCFunction
) _wrap_Effects_SetLightShadow
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28806          { (char *)"Effects_SetFaceColour", (PyCFunction
) _wrap_Effects_SetFaceColour
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28807          { (char *)"Effects_SetMediumShadow", (PyCFunction
) _wrap_Effects_SetMediumShadow
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28808          { (char *)"Effects_SetDarkShadow", (PyCFunction
) _wrap_Effects_SetDarkShadow
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28809          { (char *)"Effects_Set", (PyCFunction
) _wrap_Effects_Set
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28810          { (char *)"Effects_DrawSunkenEdge", (PyCFunction
) _wrap_Effects_DrawSunkenEdge
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28811          { (char *)"Effects_TileBitmap", (PyCFunction
) _wrap_Effects_TileBitmap
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28812          { (char *)"Effects_swigregister", Effects_swigregister
, METH_VARARGS
, NULL
}, 
28813          { (char *)"Effects_swiginit", Effects_swiginit
, METH_VARARGS
, NULL
}, 
28814          { (char *)"new_SplitterRenderParams", (PyCFunction
) _wrap_new_SplitterRenderParams
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28815          { (char *)"delete_SplitterRenderParams", (PyCFunction
)_wrap_delete_SplitterRenderParams
, METH_O
, NULL
}, 
28816          { (char *)"SplitterRenderParams_widthSash_get", (PyCFunction
)_wrap_SplitterRenderParams_widthSash_get
, METH_O
, NULL
}, 
28817          { (char *)"SplitterRenderParams_border_get", (PyCFunction
)_wrap_SplitterRenderParams_border_get
, METH_O
, NULL
}, 
28818          { (char *)"SplitterRenderParams_isHotSensitive_get", (PyCFunction
)_wrap_SplitterRenderParams_isHotSensitive_get
, METH_O
, NULL
}, 
28819          { (char *)"SplitterRenderParams_swigregister", SplitterRenderParams_swigregister
, METH_VARARGS
, NULL
}, 
28820          { (char *)"SplitterRenderParams_swiginit", SplitterRenderParams_swiginit
, METH_VARARGS
, NULL
}, 
28821          { (char *)"new_RendererVersion", (PyCFunction
) _wrap_new_RendererVersion
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28822          { (char *)"delete_RendererVersion", (PyCFunction
)_wrap_delete_RendererVersion
, METH_O
, NULL
}, 
28823          { (char *)"RendererVersion_IsCompatible", (PyCFunction
) _wrap_RendererVersion_IsCompatible
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28824          { (char *)"RendererVersion_version_get", (PyCFunction
)_wrap_RendererVersion_version_get
, METH_O
, NULL
}, 
28825          { (char *)"RendererVersion_age_get", (PyCFunction
)_wrap_RendererVersion_age_get
, METH_O
, NULL
}, 
28826          { (char *)"RendererVersion_swigregister", RendererVersion_swigregister
, METH_VARARGS
, NULL
}, 
28827          { (char *)"RendererVersion_swiginit", RendererVersion_swiginit
, METH_VARARGS
, NULL
}, 
28828          { (char *)"RendererNative_DrawHeaderButton", (PyCFunction
) _wrap_RendererNative_DrawHeaderButton
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28829          { (char *)"RendererNative_DrawTreeItemButton", (PyCFunction
) _wrap_RendererNative_DrawTreeItemButton
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28830          { (char *)"RendererNative_DrawSplitterBorder", (PyCFunction
) _wrap_RendererNative_DrawSplitterBorder
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28831          { (char *)"RendererNative_DrawSplitterSash", (PyCFunction
) _wrap_RendererNative_DrawSplitterSash
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28832          { (char *)"RendererNative_DrawComboBoxDropButton", (PyCFunction
) _wrap_RendererNative_DrawComboBoxDropButton
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28833          { (char *)"RendererNative_DrawDropArrow", (PyCFunction
) _wrap_RendererNative_DrawDropArrow
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28834          { (char *)"RendererNative_DrawCheckBox", (PyCFunction
) _wrap_RendererNative_DrawCheckBox
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28835          { (char *)"RendererNative_DrawPushButton", (PyCFunction
) _wrap_RendererNative_DrawPushButton
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28836          { (char *)"RendererNative_DrawItemSelectionRect", (PyCFunction
) _wrap_RendererNative_DrawItemSelectionRect
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28837          { (char *)"RendererNative_GetSplitterParams", (PyCFunction
) _wrap_RendererNative_GetSplitterParams
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28838          { (char *)"RendererNative_Get", (PyCFunction
)_wrap_RendererNative_Get
, METH_NOARGS
, NULL
}, 
28839          { (char *)"RendererNative_GetGeneric", (PyCFunction
)_wrap_RendererNative_GetGeneric
, METH_NOARGS
, NULL
}, 
28840          { (char *)"RendererNative_GetDefault", (PyCFunction
)_wrap_RendererNative_GetDefault
, METH_NOARGS
, NULL
}, 
28841          { (char *)"RendererNative_Set", (PyCFunction
) _wrap_RendererNative_Set
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28842          { (char *)"RendererNative_GetVersion", (PyCFunction
)_wrap_RendererNative_GetVersion
, METH_O
, NULL
}, 
28843          { (char *)"RendererNative_swigregister", RendererNative_swigregister
, METH_VARARGS
, NULL
}, 
28844          { (char *)"new_PseudoDC", (PyCFunction
)_wrap_new_PseudoDC
, METH_NOARGS
, NULL
}, 
28845          { (char *)"PseudoDC_BeginDrawing", (PyCFunction
)_wrap_PseudoDC_BeginDrawing
, METH_O
, NULL
}, 
28846          { (char *)"PseudoDC_EndDrawing", (PyCFunction
)_wrap_PseudoDC_EndDrawing
, METH_O
, NULL
}, 
28847          { (char *)"delete_PseudoDC", (PyCFunction
)_wrap_delete_PseudoDC
, METH_O
, NULL
}, 
28848          { (char *)"PseudoDC_RemoveAll", (PyCFunction
)_wrap_PseudoDC_RemoveAll
, METH_O
, NULL
}, 
28849          { (char *)"PseudoDC_GetLen", (PyCFunction
)_wrap_PseudoDC_GetLen
, METH_O
, NULL
}, 
28850          { (char *)"PseudoDC_SetId", (PyCFunction
) _wrap_PseudoDC_SetId
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28851          { (char *)"PseudoDC_ClearId", (PyCFunction
) _wrap_PseudoDC_ClearId
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28852          { (char *)"PseudoDC_RemoveId", (PyCFunction
) _wrap_PseudoDC_RemoveId
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28853          { (char *)"PseudoDC_TranslateId", (PyCFunction
) _wrap_PseudoDC_TranslateId
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28854          { (char *)"PseudoDC_DrawIdToDC", (PyCFunction
) _wrap_PseudoDC_DrawIdToDC
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28855          { (char *)"PseudoDC_SetIdBounds", (PyCFunction
) _wrap_PseudoDC_SetIdBounds
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28856          { (char *)"PseudoDC_GetIdBounds", (PyCFunction
) _wrap_PseudoDC_GetIdBounds
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28857          { (char *)"PseudoDC_DrawToDCClipped", (PyCFunction
) _wrap_PseudoDC_DrawToDCClipped
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28858          { (char *)"PseudoDC_DrawToDCClippedRgn", (PyCFunction
) _wrap_PseudoDC_DrawToDCClippedRgn
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28859          { (char *)"PseudoDC_DrawToDC", (PyCFunction
) _wrap_PseudoDC_DrawToDC
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28860          { (char *)"PseudoDC_FloodFill", (PyCFunction
) _wrap_PseudoDC_FloodFill
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28861          { (char *)"PseudoDC_FloodFillPoint", (PyCFunction
) _wrap_PseudoDC_FloodFillPoint
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28862          { (char *)"PseudoDC_DrawLine", (PyCFunction
) _wrap_PseudoDC_DrawLine
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28863          { (char *)"PseudoDC_DrawLinePoint", (PyCFunction
) _wrap_PseudoDC_DrawLinePoint
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28864          { (char *)"PseudoDC_CrossHair", (PyCFunction
) _wrap_PseudoDC_CrossHair
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28865          { (char *)"PseudoDC_CrossHairPoint", (PyCFunction
) _wrap_PseudoDC_CrossHairPoint
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28866          { (char *)"PseudoDC_DrawArc", (PyCFunction
) _wrap_PseudoDC_DrawArc
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28867          { (char *)"PseudoDC_DrawArcPoint", (PyCFunction
) _wrap_PseudoDC_DrawArcPoint
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28868          { (char *)"PseudoDC_DrawCheckMark", (PyCFunction
) _wrap_PseudoDC_DrawCheckMark
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28869          { (char *)"PseudoDC_DrawCheckMarkRect", (PyCFunction
) _wrap_PseudoDC_DrawCheckMarkRect
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28870          { (char *)"PseudoDC_DrawEllipticArc", (PyCFunction
) _wrap_PseudoDC_DrawEllipticArc
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28871          { (char *)"PseudoDC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_PseudoDC_DrawEllipticArcPointSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28872          { (char *)"PseudoDC_DrawPoint", (PyCFunction
) _wrap_PseudoDC_DrawPoint
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28873          { (char *)"PseudoDC_DrawPointPoint", (PyCFunction
) _wrap_PseudoDC_DrawPointPoint
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28874          { (char *)"PseudoDC_DrawRectangle", (PyCFunction
) _wrap_PseudoDC_DrawRectangle
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28875          { (char *)"PseudoDC_DrawRectangleRect", (PyCFunction
) _wrap_PseudoDC_DrawRectangleRect
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28876          { (char *)"PseudoDC_DrawRectanglePointSize", (PyCFunction
) _wrap_PseudoDC_DrawRectanglePointSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28877          { (char *)"PseudoDC_DrawRoundedRectangle", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectangle
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28878          { (char *)"PseudoDC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectangleRect
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28879          { (char *)"PseudoDC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectanglePointSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28880          { (char *)"PseudoDC_DrawCircle", (PyCFunction
) _wrap_PseudoDC_DrawCircle
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28881          { (char *)"PseudoDC_DrawCirclePoint", (PyCFunction
) _wrap_PseudoDC_DrawCirclePoint
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28882          { (char *)"PseudoDC_DrawEllipse", (PyCFunction
) _wrap_PseudoDC_DrawEllipse
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28883          { (char *)"PseudoDC_DrawEllipseRect", (PyCFunction
) _wrap_PseudoDC_DrawEllipseRect
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28884          { (char *)"PseudoDC_DrawEllipsePointSize", (PyCFunction
) _wrap_PseudoDC_DrawEllipsePointSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28885          { (char *)"PseudoDC_DrawIcon", (PyCFunction
) _wrap_PseudoDC_DrawIcon
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28886          { (char *)"PseudoDC_DrawIconPoint", (PyCFunction
) _wrap_PseudoDC_DrawIconPoint
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28887          { (char *)"PseudoDC_DrawBitmap", (PyCFunction
) _wrap_PseudoDC_DrawBitmap
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28888          { (char *)"PseudoDC_DrawBitmapPoint", (PyCFunction
) _wrap_PseudoDC_DrawBitmapPoint
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28889          { (char *)"PseudoDC_DrawText", (PyCFunction
) _wrap_PseudoDC_DrawText
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28890          { (char *)"PseudoDC_DrawTextPoint", (PyCFunction
) _wrap_PseudoDC_DrawTextPoint
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28891          { (char *)"PseudoDC_DrawRotatedText", (PyCFunction
) _wrap_PseudoDC_DrawRotatedText
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28892          { (char *)"PseudoDC_DrawRotatedTextPoint", (PyCFunction
) _wrap_PseudoDC_DrawRotatedTextPoint
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28893          { (char *)"PseudoDC_DrawLines", (PyCFunction
) _wrap_PseudoDC_DrawLines
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28894          { (char *)"PseudoDC_DrawPolygon", (PyCFunction
) _wrap_PseudoDC_DrawPolygon
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28895          { (char *)"PseudoDC_DrawLabel", (PyCFunction
) _wrap_PseudoDC_DrawLabel
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28896          { (char *)"PseudoDC_DrawImageLabel", (PyCFunction
) _wrap_PseudoDC_DrawImageLabel
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28897          { (char *)"PseudoDC_DrawSpline", (PyCFunction
) _wrap_PseudoDC_DrawSpline
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28898          { (char *)"PseudoDC_Clear", (PyCFunction
)_wrap_PseudoDC_Clear
, METH_O
, NULL
}, 
28899          { (char *)"PseudoDC_SetFont", (PyCFunction
) _wrap_PseudoDC_SetFont
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28900          { (char *)"PseudoDC_SetPen", (PyCFunction
) _wrap_PseudoDC_SetPen
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28901          { (char *)"PseudoDC_SetBrush", (PyCFunction
) _wrap_PseudoDC_SetBrush
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28902          { (char *)"PseudoDC_SetBackground", (PyCFunction
) _wrap_PseudoDC_SetBackground
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28903          { (char *)"PseudoDC_SetBackgroundMode", (PyCFunction
) _wrap_PseudoDC_SetBackgroundMode
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28904          { (char *)"PseudoDC_SetPalette", (PyCFunction
) _wrap_PseudoDC_SetPalette
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28905          { (char *)"PseudoDC_SetTextForeground", (PyCFunction
) _wrap_PseudoDC_SetTextForeground
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28906          { (char *)"PseudoDC_SetTextBackground", (PyCFunction
) _wrap_PseudoDC_SetTextBackground
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28907          { (char *)"PseudoDC_SetLogicalFunction", (PyCFunction
) _wrap_PseudoDC_SetLogicalFunction
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
28908          { (char *)"PseudoDC_swigregister", PseudoDC_swigregister
, METH_VARARGS
, NULL
}, 
28909          { (char *)"PseudoDC_swiginit", PseudoDC_swiginit
, METH_VARARGS
, NULL
}, 
28910          { NULL
, NULL
, 0, NULL 
} 
28914 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */ 
28916 static void *_p_wxBufferedDCTo_p_wxMemoryDC(void *x
) { 
28917     return (void *)((wxMemoryDC 
*)  ((wxBufferedDC 
*) x
)); 
28919 static void *_p_wxBufferedPaintDCTo_p_wxMemoryDC(void *x
) { 
28920     return (void *)((wxMemoryDC 
*) (wxBufferedDC 
*) ((wxBufferedPaintDC 
*) x
)); 
28922 static void *_p_wxIconTo_p_wxGDIObject(void *x
) { 
28923     return (void *)((wxGDIObject 
*)  ((wxIcon 
*) x
)); 
28925 static void *_p_wxPaletteTo_p_wxGDIObject(void *x
) { 
28926     return (void *)((wxGDIObject 
*)  ((wxPalette 
*) x
)); 
28928 static void *_p_wxPenTo_p_wxGDIObject(void *x
) { 
28929     return (void *)((wxGDIObject 
*)  ((wxPen 
*) x
)); 
28931 static void *_p_wxFontTo_p_wxGDIObject(void *x
) { 
28932     return (void *)((wxGDIObject 
*)  ((wxFont 
*) x
)); 
28934 static void *_p_wxCursorTo_p_wxGDIObject(void *x
) { 
28935     return (void *)((wxGDIObject 
*)  ((wxCursor 
*) x
)); 
28937 static void *_p_wxBitmapTo_p_wxGDIObject(void *x
) { 
28938     return (void *)((wxGDIObject 
*)  ((wxBitmap 
*) x
)); 
28940 static void *_p_wxRegionTo_p_wxGDIObject(void *x
) { 
28941     return (void *)((wxGDIObject 
*)  ((wxRegion 
*) x
)); 
28943 static void *_p_wxBrushTo_p_wxGDIObject(void *x
) { 
28944     return (void *)((wxGDIObject 
*)  ((wxBrush 
*) x
)); 
28946 static void *_p_wxBufferedDCTo_p_wxDC(void *x
) { 
28947     return (void *)((wxDC 
*) (wxMemoryDC 
*) ((wxBufferedDC 
*) x
)); 
28949 static void *_p_wxScreenDCTo_p_wxDC(void *x
) { 
28950     return (void *)((wxDC 
*)  ((wxScreenDC 
*) x
)); 
28952 static void *_p_wxMirrorDCTo_p_wxDC(void *x
) { 
28953     return (void *)((wxDC 
*)  ((wxMirrorDC 
*) x
)); 
28955 static void *_p_wxMemoryDCTo_p_wxDC(void *x
) { 
28956     return (void *)((wxDC 
*)  ((wxMemoryDC 
*) x
)); 
28958 static void *_p_wxWindowDCTo_p_wxDC(void *x
) { 
28959     return (void *)((wxDC 
*)  ((wxWindowDC 
*) x
)); 
28961 static void *_p_wxMetaFileDCTo_p_wxDC(void *x
) { 
28962     return (void *)((wxDC 
*)  ((wxMetaFileDC 
*) x
)); 
28964 static void *_p_wxBufferedPaintDCTo_p_wxDC(void *x
) { 
28965     return (void *)((wxDC 
*) (wxMemoryDC 
*)(wxBufferedDC 
*) ((wxBufferedPaintDC 
*) x
)); 
28967 static void *_p_wxClientDCTo_p_wxDC(void *x
) { 
28968     return (void *)((wxDC 
*)  ((wxClientDC 
*) x
)); 
28970 static void *_p_wxPaintDCTo_p_wxDC(void *x
) { 
28971     return (void *)((wxDC 
*)  ((wxPaintDC 
*) x
)); 
28973 static void *_p_wxPostScriptDCTo_p_wxDC(void *x
) { 
28974     return (void *)((wxDC 
*)  ((wxPostScriptDC 
*) x
)); 
28976 static void *_p_wxPrinterDCTo_p_wxDC(void *x
) { 
28977     return (void *)((wxDC 
*)  ((wxPrinterDC 
*) x
)); 
28979 static void *_p_wxBrushListTo_p_wxGDIObjListBase(void *x
) { 
28980     return (void *)((wxGDIObjListBase 
*)  ((wxBrushList 
*) x
)); 
28982 static void *_p_wxFontListTo_p_wxGDIObjListBase(void *x
) { 
28983     return (void *)((wxGDIObjListBase 
*)  ((wxFontList 
*) x
)); 
28985 static void *_p_wxPenListTo_p_wxGDIObjListBase(void *x
) { 
28986     return (void *)((wxGDIObjListBase 
*)  ((wxPenList 
*) x
)); 
28988 static void *_p_wxBufferedPaintDCTo_p_wxBufferedDC(void *x
) { 
28989     return (void *)((wxBufferedDC 
*)  ((wxBufferedPaintDC 
*) x
)); 
28991 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) { 
28992     return (void *)((wxObject 
*)  ((wxLayoutConstraints 
*) x
)); 
28994 static void *_p_wxPenTo_p_wxObject(void *x
) { 
28995     return (void *)((wxObject 
*) (wxGDIObject 
*) ((wxPen 
*) x
)); 
28997 static void *_p_wxRegionIteratorTo_p_wxObject(void *x
) { 
28998     return (void *)((wxObject 
*)  ((wxRegionIterator 
*) x
)); 
29000 static void *_p_wxSizerItemTo_p_wxObject(void *x
) { 
29001     return (void *)((wxObject 
*)  ((wxSizerItem 
*) x
)); 
29003 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) { 
29004     return (void *)((wxObject 
*) (wxSizerItem 
*) ((wxGBSizerItem 
*) x
)); 
29006 static void *_p_wxScrollEventTo_p_wxObject(void *x
) { 
29007     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxScrollEvent 
*) x
)); 
29009 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) { 
29010     return (void *)((wxObject 
*)  ((wxIndividualLayoutConstraint 
*) x
)); 
29012 static void *_p_wxIconTo_p_wxObject(void *x
) { 
29013     return (void *)((wxObject 
*) (wxGDIObject 
*) ((wxIcon 
*) x
)); 
29015 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) { 
29016     return (void *)((wxObject 
*) (wxSizer 
*)(wxBoxSizer 
*) ((wxStaticBoxSizer 
*) x
)); 
29018 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) { 
29019     return (void *)((wxObject 
*) (wxSizer 
*) ((wxBoxSizer 
*) x
)); 
29021 static void *_p_wxSizerTo_p_wxObject(void *x
) { 
29022     return (void *)((wxObject 
*)  ((wxSizer 
*) x
)); 
29024 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) { 
29025     return (void *)((wxObject 
*) (wxSizer 
*)(wxGridSizer 
*)(wxFlexGridSizer 
*) ((wxGridBagSizer 
*) x
)); 
29027 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) { 
29028     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxUpdateUIEvent 
*) x
)); 
29030 static void *_p_wxEventTo_p_wxObject(void *x
) { 
29031     return (void *)((wxObject 
*)  ((wxEvent 
*) x
)); 
29033 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) { 
29034     return (void *)((wxObject 
*) (wxSizer 
*)(wxGridSizer 
*) ((wxFlexGridSizer 
*) x
)); 
29036 static void *_p_wxGridSizerTo_p_wxObject(void *x
) { 
29037     return (void *)((wxObject 
*) (wxSizer 
*) ((wxGridSizer 
*) x
)); 
29039 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) { 
29040     return (void *)((wxObject 
*) (wxEvent 
*) ((wxInitDialogEvent 
*) x
)); 
29042 static void *_p_wxPseudoDCTo_p_wxObject(void *x
) { 
29043     return (void *)((wxObject 
*)  ((wxPseudoDC 
*) x
)); 
29045 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) { 
29046     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxClipboardTextEvent 
*) x
)); 
29048 static void *_p_wxPaintEventTo_p_wxObject(void *x
) { 
29049     return (void *)((wxObject 
*) (wxEvent 
*) ((wxPaintEvent 
*) x
)); 
29051 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) { 
29052     return (void *)((wxObject 
*) (wxEvent 
*) ((wxNcPaintEvent 
*) x
)); 
29054 static void *_p_wxDCTo_p_wxObject(void *x
) { 
29055     return (void *)((wxObject 
*)  ((wxDC 
*) x
)); 
29057 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) { 
29058     return (void *)((wxObject 
*) (wxEvent 
*) ((wxPaletteChangedEvent 
*) x
)); 
29060 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) { 
29061     return (void *)((wxObject 
*) (wxEvent 
*) ((wxDisplayChangedEvent 
*) x
)); 
29063 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) { 
29064     return (void *)((wxObject 
*) (wxEvent 
*) ((wxMouseCaptureChangedEvent 
*) x
)); 
29066 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) { 
29067     return (void *)((wxObject 
*) (wxEvent 
*) ((wxSysColourChangedEvent 
*) x
)); 
29069 static void *_p_wxControlTo_p_wxObject(void *x
) { 
29070     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*) ((wxControl 
*) x
)); 
29072 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) { 
29073     return (void *)((wxObject 
*) (wxEvent 
*) ((wxSetCursorEvent 
*) x
)); 
29075 static void *_p_wxClientDCTo_p_wxObject(void *x
) { 
29076     return (void *)((wxObject 
*) (wxDC 
*) ((wxClientDC 
*) x
)); 
29078 static void *_p_wxFSFileTo_p_wxObject(void *x
) { 
29079     return (void *)((wxObject 
*)  ((wxFSFile 
*) x
)); 
29081 static void *_p_wxMemoryDCTo_p_wxObject(void *x
) { 
29082     return (void *)((wxObject 
*) (wxDC 
*) ((wxMemoryDC 
*) x
)); 
29084 static void *_p_wxRegionTo_p_wxObject(void *x
) { 
29085     return (void *)((wxObject 
*) (wxGDIObject 
*) ((wxRegion 
*) x
)); 
29087 static void *_p_wxPySizerTo_p_wxObject(void *x
) { 
29088     return (void *)((wxObject 
*) (wxSizer 
*) ((wxPySizer 
*) x
)); 
29090 static void *_p_wxWindowDCTo_p_wxObject(void *x
) { 
29091     return (void *)((wxObject 
*) (wxDC 
*) ((wxWindowDC 
*) x
)); 
29093 static void *_p_wxGDIObjectTo_p_wxObject(void *x
) { 
29094     return (void *)((wxObject 
*)  ((wxGDIObject 
*) x
)); 
29096 static void *_p_wxEffectsTo_p_wxObject(void *x
) { 
29097     return (void *)((wxObject 
*)  ((wxEffects 
*) x
)); 
29099 static void *_p_wxPyEventTo_p_wxObject(void *x
) { 
29100     return (void *)((wxObject 
*) (wxEvent 
*) ((wxPyEvent 
*) x
)); 
29102 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) { 
29103     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxNotifyEvent 
*) x
)); 
29105 static void *_p_wxPostScriptDCTo_p_wxObject(void *x
) { 
29106     return (void *)((wxObject 
*) (wxDC 
*) ((wxPostScriptDC 
*) x
)); 
29108 static void *_p_wxShowEventTo_p_wxObject(void *x
) { 
29109     return (void *)((wxObject 
*) (wxEvent 
*) ((wxShowEvent 
*) x
)); 
29111 static void *_p_wxMenuItemTo_p_wxObject(void *x
) { 
29112     return (void *)((wxObject 
*)  ((wxMenuItem 
*) x
)); 
29114 static void *_p_wxDateEventTo_p_wxObject(void *x
) { 
29115     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxDateEvent 
*) x
)); 
29117 static void *_p_wxIdleEventTo_p_wxObject(void *x
) { 
29118     return (void *)((wxObject 
*) (wxEvent 
*) ((wxIdleEvent 
*) x
)); 
29120 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) { 
29121     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxWindowCreateEvent 
*) x
)); 
29123 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) { 
29124     return (void *)((wxObject 
*) (wxEvent 
*) ((wxQueryNewPaletteEvent 
*) x
)); 
29126 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) { 
29127     return (void *)((wxObject 
*) (wxEvent 
*) ((wxMaximizeEvent 
*) x
)); 
29129 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) { 
29130     return (void *)((wxObject 
*) (wxEvent 
*) ((wxIconizeEvent 
*) x
)); 
29132 static void *_p_wxSizeEventTo_p_wxObject(void *x
) { 
29133     return (void *)((wxObject 
*) (wxEvent 
*) ((wxSizeEvent 
*) x
)); 
29135 static void *_p_wxMoveEventTo_p_wxObject(void *x
) { 
29136     return (void *)((wxObject 
*) (wxEvent 
*) ((wxMoveEvent 
*) x
)); 
29138 static void *_p_wxActivateEventTo_p_wxObject(void *x
) { 
29139     return (void *)((wxObject 
*) (wxEvent 
*) ((wxActivateEvent 
*) x
)); 
29141 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) { 
29142     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxPNMHandler 
*) x
)); 
29144 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) { 
29145     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxJPEGHandler 
*) x
)); 
29147 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) { 
29148     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxPCXHandler 
*) x
)); 
29150 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) { 
29151     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxGIFHandler 
*) x
)); 
29153 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) { 
29154     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxPNGHandler 
*) x
)); 
29156 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) { 
29157     return (void *)((wxObject 
*) (wxImageHandler 
*)(wxBMPHandler 
*)(wxICOHandler 
*)(wxCURHandler 
*) ((wxANIHandler 
*) x
)); 
29159 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) { 
29160     return (void *)((wxObject 
*) (wxImageHandler 
*)(wxBMPHandler 
*)(wxICOHandler 
*) ((wxCURHandler 
*) x
)); 
29162 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) { 
29163     return (void *)((wxObject 
*) (wxImageHandler 
*)(wxBMPHandler 
*) ((wxICOHandler 
*) x
)); 
29165 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) { 
29166     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxBMPHandler 
*) x
)); 
29168 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) { 
29169     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxPyImageHandler 
*) x
)); 
29171 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) { 
29172     return (void *)((wxObject 
*)  ((wxImageHandler 
*) x
)); 
29174 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) { 
29175     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxXPMHandler 
*) x
)); 
29177 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) { 
29178     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxTIFFHandler 
*) x
)); 
29180 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) { 
29181     return (void *)((wxObject 
*)  ((wxEvtHandler 
*) x
)); 
29183 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x
) { 
29184     return (void *)((wxObject 
*) (wxEvent 
*) ((wxMouseCaptureLostEvent 
*) x
)); 
29186 static void *_p_wxBufferedPaintDCTo_p_wxObject(void *x
) { 
29187     return (void *)((wxObject 
*) (wxDC 
*)(wxMemoryDC 
*)(wxBufferedDC 
*) ((wxBufferedPaintDC 
*) x
)); 
29189 static void *_p_wxPaintDCTo_p_wxObject(void *x
) { 
29190     return (void *)((wxObject 
*) (wxDC 
*) ((wxPaintDC 
*) x
)); 
29192 static void *_p_wxPrinterDCTo_p_wxObject(void *x
) { 
29193     return (void *)((wxObject 
*) (wxDC 
*) ((wxPrinterDC 
*) x
)); 
29195 static void *_p_wxScreenDCTo_p_wxObject(void *x
) { 
29196     return (void *)((wxObject 
*) (wxDC 
*) ((wxScreenDC 
*) x
)); 
29198 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) { 
29199     return (void *)((wxObject 
*) (wxSizer 
*)(wxBoxSizer 
*) ((wxStdDialogButtonSizer 
*) x
)); 
29201 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) { 
29202     return (void *)((wxObject 
*)  ((wxAcceleratorTable 
*) x
)); 
29204 static void *_p_wxImageTo_p_wxObject(void *x
) { 
29205     return (void *)((wxObject 
*)  ((wxImage 
*) x
)); 
29207 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) { 
29208     return (void *)((wxObject 
*) (wxEvent 
*) ((wxScrollWinEvent 
*) x
)); 
29210 static void *_p_wxPaletteTo_p_wxObject(void *x
) { 
29211     return (void *)((wxObject 
*) (wxGDIObject 
*) ((wxPalette 
*) x
)); 
29213 static void *_p_wxBufferedDCTo_p_wxObject(void *x
) { 
29214     return (void *)((wxObject 
*) (wxDC 
*)(wxMemoryDC 
*) ((wxBufferedDC 
*) x
)); 
29216 static void *_p_wxImageListTo_p_wxObject(void *x
) { 
29217     return (void *)((wxObject 
*)  ((wxImageList 
*) x
)); 
29219 static void *_p_wxCursorTo_p_wxObject(void *x
) { 
29220     return (void *)((wxObject 
*) (wxGDIObject 
*) ((wxCursor 
*) x
)); 
29222 static void *_p_wxEncodingConverterTo_p_wxObject(void *x
) { 
29223     return (void *)((wxObject 
*)  ((wxEncodingConverter 
*) x
)); 
29225 static void *_p_wxMirrorDCTo_p_wxObject(void *x
) { 
29226     return (void *)((wxObject 
*) (wxDC 
*) ((wxMirrorDC 
*) x
)); 
29228 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) { 
29229     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxWindowDestroyEvent 
*) x
)); 
29231 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) { 
29232     return (void *)((wxObject 
*) (wxEvent 
*) ((wxNavigationKeyEvent 
*) x
)); 
29234 static void *_p_wxKeyEventTo_p_wxObject(void *x
) { 
29235     return (void *)((wxObject 
*) (wxEvent 
*) ((wxKeyEvent 
*) x
)); 
29237 static void *_p_wxWindowTo_p_wxObject(void *x
) { 
29238     return (void *)((wxObject 
*) (wxEvtHandler 
*) ((wxWindow 
*) x
)); 
29240 static void *_p_wxMenuTo_p_wxObject(void *x
) { 
29241     return (void *)((wxObject 
*) (wxEvtHandler 
*) ((wxMenu 
*) x
)); 
29243 static void *_p_wxMenuBarTo_p_wxObject(void *x
) { 
29244     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*) ((wxMenuBar 
*) x
)); 
29246 static void *_p_wxMetaFileDCTo_p_wxObject(void *x
) { 
29247     return (void *)((wxObject 
*) (wxDC 
*) ((wxMetaFileDC 
*) x
)); 
29249 static void *_p_wxFileSystemTo_p_wxObject(void *x
) { 
29250     return (void *)((wxObject 
*)  ((wxFileSystem 
*) x
)); 
29252 static void *_p_wxBitmapTo_p_wxObject(void *x
) { 
29253     return (void *)((wxObject 
*) (wxGDIObject 
*) ((wxBitmap 
*) x
)); 
29255 static void *_p_wxMaskTo_p_wxObject(void *x
) { 
29256     return (void *)((wxObject 
*)  ((wxMask 
*) x
)); 
29258 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) { 
29259     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxContextMenuEvent 
*) x
)); 
29261 static void *_p_wxMenuEventTo_p_wxObject(void *x
) { 
29262     return (void *)((wxObject 
*) (wxEvent 
*) ((wxMenuEvent 
*) x
)); 
29264 static void *_p_wxPyAppTo_p_wxObject(void *x
) { 
29265     return (void *)((wxObject 
*) (wxEvtHandler 
*) ((wxPyApp 
*) x
)); 
29267 static void *_p_wxCloseEventTo_p_wxObject(void *x
) { 
29268     return (void *)((wxObject 
*) (wxEvent 
*) ((wxCloseEvent 
*) x
)); 
29270 static void *_p_wxMouseEventTo_p_wxObject(void *x
) { 
29271     return (void *)((wxObject 
*) (wxEvent 
*) ((wxMouseEvent 
*) x
)); 
29273 static void *_p_wxEraseEventTo_p_wxObject(void *x
) { 
29274     return (void *)((wxObject 
*) (wxEvent 
*) ((wxEraseEvent 
*) x
)); 
29276 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) { 
29277     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxPyCommandEvent 
*) x
)); 
29279 static void *_p_wxCommandEventTo_p_wxObject(void *x
) { 
29280     return (void *)((wxObject 
*) (wxEvent 
*) ((wxCommandEvent 
*) x
)); 
29282 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) { 
29283     return (void *)((wxObject 
*) (wxEvent 
*) ((wxDropFilesEvent 
*) x
)); 
29285 static void *_p_wxFocusEventTo_p_wxObject(void *x
) { 
29286     return (void *)((wxObject 
*) (wxEvent 
*) ((wxFocusEvent 
*) x
)); 
29288 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) { 
29289     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxChildFocusEvent 
*) x
)); 
29291 static void *_p_wxFontTo_p_wxObject(void *x
) { 
29292     return (void *)((wxObject 
*) (wxGDIObject 
*) ((wxFont 
*) x
)); 
29294 static void *_p_wxBrushTo_p_wxObject(void *x
) { 
29295     return (void *)((wxObject 
*) (wxGDIObject 
*) ((wxBrush 
*) x
)); 
29297 static void *_p_wxMetaFileTo_p_wxObject(void *x
) { 
29298     return (void *)((wxObject 
*)  ((wxMetaFile 
*) x
)); 
29300 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) { 
29301     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxControl 
*) ((wxControlWithItems 
*) x
)); 
29303 static void *_p_wxColourTo_p_wxObject(void *x
) { 
29304     return (void *)((wxObject 
*)  ((wxColour 
*) x
)); 
29306 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) { 
29307     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxValidator 
*) ((wxPyValidator 
*) x
)); 
29309 static void *_p_wxValidatorTo_p_wxObject(void *x
) { 
29310     return (void *)((wxObject 
*) (wxEvtHandler 
*) ((wxValidator 
*) x
)); 
29312 static void *_p_wxControlTo_p_wxWindow(void *x
) { 
29313     return (void *)((wxWindow 
*)  ((wxControl 
*) x
)); 
29315 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) { 
29316     return (void *)((wxWindow 
*) (wxControl 
*) ((wxControlWithItems 
*) x
)); 
29318 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) { 
29319     return (void *)((wxWindow 
*)  ((wxMenuBar 
*) x
)); 
29321 static swig_type_info _swigt__p_char 
= {"_p_char", "char *", 0, 0, (void*)0, 0}; 
29322 static swig_type_info _swigt__p_double 
= {"_p_double", "double *", 0, 0, (void*)0, 0}; 
29323 static swig_type_info _swigt__p_form_ops_t 
= {"_p_form_ops_t", "enum form_ops_t *|form_ops_t *", 0, 0, (void*)0, 0}; 
29324 static swig_type_info _swigt__p_int 
= {"_p_int", "int *", 0, 0, (void*)0, 0}; 
29325 static swig_type_info _swigt__p_unsigned_char 
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0}; 
29326 static swig_type_info _swigt__p_unsigned_int 
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0}; 
29327 static swig_type_info _swigt__p_unsigned_long 
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0}; 
29328 static swig_type_info _swigt__p_wxBitmap 
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0}; 
29329 static swig_type_info _swigt__p_wxBrush 
= {"_p_wxBrush", "wxBrush *", 0, 0, (void*)0, 0}; 
29330 static swig_type_info _swigt__p_wxBrushList 
= {"_p_wxBrushList", "wxBrushList *", 0, 0, (void*)0, 0}; 
29331 static swig_type_info _swigt__p_wxBufferedDC 
= {"_p_wxBufferedDC", "wxBufferedDC *", 0, 0, (void*)0, 0}; 
29332 static swig_type_info _swigt__p_wxBufferedPaintDC 
= {"_p_wxBufferedPaintDC", "wxBufferedPaintDC *", 0, 0, (void*)0, 0}; 
29333 static swig_type_info _swigt__p_wxClientDC 
= {"_p_wxClientDC", "wxClientDC *", 0, 0, (void*)0, 0}; 
29334 static swig_type_info _swigt__p_wxColour 
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0}; 
29335 static swig_type_info _swigt__p_wxColourDatabase 
= {"_p_wxColourDatabase", "wxColourDatabase *", 0, 0, (void*)0, 0}; 
29336 static swig_type_info _swigt__p_wxCursor 
= {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0}; 
29337 static swig_type_info _swigt__p_wxDC 
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0}; 
29338 static swig_type_info _swigt__p_wxDash 
= {"_p_wxDash", "wxDash *", 0, 0, (void*)0, 0}; 
29339 static swig_type_info _swigt__p_wxDuplexMode 
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0}; 
29340 static swig_type_info _swigt__p_wxEffects 
= {"_p_wxEffects", "wxEffects *", 0, 0, (void*)0, 0}; 
29341 static swig_type_info _swigt__p_wxEncodingConverter 
= {"_p_wxEncodingConverter", "wxEncodingConverter *", 0, 0, (void*)0, 0}; 
29342 static swig_type_info _swigt__p_wxFont 
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0}; 
29343 static swig_type_info _swigt__p_wxFontList 
= {"_p_wxFontList", "wxFontList *", 0, 0, (void*)0, 0}; 
29344 static swig_type_info _swigt__p_wxFontMapper 
= {"_p_wxFontMapper", "wxFontMapper *", 0, 0, (void*)0, 0}; 
29345 static swig_type_info _swigt__p_wxGDIObjListBase 
= {"_p_wxGDIObjListBase", "wxGDIObjListBase *", 0, 0, (void*)0, 0}; 
29346 static swig_type_info _swigt__p_wxGDIObject 
= {"_p_wxGDIObject", "wxGDIObject *", 0, 0, (void*)0, 0}; 
29347 static swig_type_info _swigt__p_wxIcon 
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0}; 
29348 static swig_type_info _swigt__p_wxIconBundle 
= {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0}; 
29349 static swig_type_info _swigt__p_wxIconLocation 
= {"_p_wxIconLocation", "wxIconLocation *", 0, 0, (void*)0, 0}; 
29350 static swig_type_info _swigt__p_wxImage 
= {"_p_wxImage", "wxImage *", 0, 0, (void*)0, 0}; 
29351 static swig_type_info _swigt__p_wxImageList 
= {"_p_wxImageList", "wxImageList *", 0, 0, (void*)0, 0}; 
29352 static swig_type_info _swigt__p_wxLanguageInfo 
= {"_p_wxLanguageInfo", "wxLanguageInfo *", 0, 0, (void*)0, 0}; 
29353 static swig_type_info _swigt__p_wxLocale 
= {"_p_wxLocale", "wxLocale *", 0, 0, (void*)0, 0}; 
29354 static swig_type_info _swigt__p_wxMask 
= {"_p_wxMask", "wxMask *", 0, 0, (void*)0, 0}; 
29355 static swig_type_info _swigt__p_wxMemoryDC 
= {"_p_wxMemoryDC", "wxMemoryDC *", 0, 0, (void*)0, 0}; 
29356 static swig_type_info _swigt__p_wxMetaFile 
= {"_p_wxMetaFile", "wxMetaFile *", 0, 0, (void*)0, 0}; 
29357 static swig_type_info _swigt__p_wxMetaFileDC 
= {"_p_wxMetaFileDC", "wxMetaFileDC *", 0, 0, (void*)0, 0}; 
29358 static swig_type_info _swigt__p_wxMirrorDC 
= {"_p_wxMirrorDC", "wxMirrorDC *", 0, 0, (void*)0, 0}; 
29359 static swig_type_info _swigt__p_wxNativeEncodingInfo 
= {"_p_wxNativeEncodingInfo", "wxNativeEncodingInfo *", 0, 0, (void*)0, 0}; 
29360 static swig_type_info _swigt__p_wxNativeFontInfo 
= {"_p_wxNativeFontInfo", "wxNativeFontInfo *", 0, 0, (void*)0, 0}; 
29361 static swig_type_info _swigt__p_wxObject 
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0}; 
29362 static swig_type_info _swigt__p_wxLayoutConstraints 
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0}; 
29363 static swig_type_info _swigt__p_wxSizerItem 
= {"_p_wxSizerItem", 0, 0, 0, 0, 0}; 
29364 static swig_type_info _swigt__p_wxGBSizerItem 
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0}; 
29365 static swig_type_info _swigt__p_wxScrollEvent 
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0}; 
29366 static swig_type_info _swigt__p_wxIndividualLayoutConstraint 
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0}; 
29367 static swig_type_info _swigt__p_wxStaticBoxSizer 
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0}; 
29368 static swig_type_info _swigt__p_wxBoxSizer 
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0}; 
29369 static swig_type_info _swigt__p_wxSizer 
= {"_p_wxSizer", 0, 0, 0, 0, 0}; 
29370 static swig_type_info _swigt__p_wxGridBagSizer 
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0}; 
29371 static swig_type_info _swigt__p_wxUpdateUIEvent 
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0}; 
29372 static swig_type_info _swigt__p_wxMenu 
= {"_p_wxMenu", 0, 0, 0, 0, 0}; 
29373 static swig_type_info _swigt__p_wxEvent 
= {"_p_wxEvent", 0, 0, 0, 0, 0}; 
29374 static swig_type_info _swigt__p_wxFlexGridSizer 
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0}; 
29375 static swig_type_info _swigt__p_wxGridSizer 
= {"_p_wxGridSizer", 0, 0, 0, 0, 0}; 
29376 static swig_type_info _swigt__p_wxInitDialogEvent 
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0}; 
29377 static swig_type_info _swigt__p_wxClipboardTextEvent 
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0}; 
29378 static swig_type_info _swigt__p_wxPaintEvent 
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0}; 
29379 static swig_type_info _swigt__p_wxNcPaintEvent 
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0}; 
29380 static swig_type_info _swigt__p_wxPaletteChangedEvent 
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0}; 
29381 static swig_type_info _swigt__p_wxDisplayChangedEvent 
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0}; 
29382 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent 
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0}; 
29383 static swig_type_info _swigt__p_wxSysColourChangedEvent 
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0}; 
29384 static swig_type_info _swigt__p_wxControl 
= {"_p_wxControl", 0, 0, 0, 0, 0}; 
29385 static swig_type_info _swigt__p_wxSetCursorEvent 
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0}; 
29386 static swig_type_info _swigt__p_wxFSFile 
= {"_p_wxFSFile", 0, 0, 0, 0, 0}; 
29387 static swig_type_info _swigt__p_wxPySizer 
= {"_p_wxPySizer", 0, 0, 0, 0, 0}; 
29388 static swig_type_info _swigt__p_wxPyEvent 
= {"_p_wxPyEvent", 0, 0, 0, 0, 0}; 
29389 static swig_type_info _swigt__p_wxNotifyEvent 
= {"_p_wxNotifyEvent", 0, 0, 0, 0, 0}; 
29390 static swig_type_info _swigt__p_wxShowEvent 
= {"_p_wxShowEvent", 0, 0, 0, 0, 0}; 
29391 static swig_type_info _swigt__p_wxMenuItem 
= {"_p_wxMenuItem", 0, 0, 0, 0, 0}; 
29392 static swig_type_info _swigt__p_wxDateEvent 
= {"_p_wxDateEvent", 0, 0, 0, 0, 0}; 
29393 static swig_type_info _swigt__p_wxIdleEvent 
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0}; 
29394 static swig_type_info _swigt__p_wxWindowCreateEvent 
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0}; 
29395 static swig_type_info _swigt__p_wxQueryNewPaletteEvent 
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0}; 
29396 static swig_type_info _swigt__p_wxMaximizeEvent 
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0}; 
29397 static swig_type_info _swigt__p_wxIconizeEvent 
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0}; 
29398 static swig_type_info _swigt__p_wxSizeEvent 
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0}; 
29399 static swig_type_info _swigt__p_wxMoveEvent 
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0}; 
29400 static swig_type_info _swigt__p_wxActivateEvent 
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0}; 
29401 static swig_type_info _swigt__p_wxANIHandler 
= {"_p_wxANIHandler", 0, 0, 0, 0, 0}; 
29402 static swig_type_info _swigt__p_wxCURHandler 
= {"_p_wxCURHandler", 0, 0, 0, 0, 0}; 
29403 static swig_type_info _swigt__p_wxICOHandler 
= {"_p_wxICOHandler", 0, 0, 0, 0, 0}; 
29404 static swig_type_info _swigt__p_wxBMPHandler 
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0}; 
29405 static swig_type_info _swigt__p_wxPyImageHandler 
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0}; 
29406 static swig_type_info _swigt__p_wxImageHandler 
= {"_p_wxImageHandler", 0, 0, 0, 0, 0}; 
29407 static swig_type_info _swigt__p_wxXPMHandler 
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0}; 
29408 static swig_type_info _swigt__p_wxTIFFHandler 
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0}; 
29409 static swig_type_info _swigt__p_wxEvtHandler 
= {"_p_wxEvtHandler", 0, 0, 0, 0, 0}; 
29410 static swig_type_info _swigt__p_wxPNGHandler 
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0}; 
29411 static swig_type_info _swigt__p_wxGIFHandler 
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0}; 
29412 static swig_type_info _swigt__p_wxPCXHandler 
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0}; 
29413 static swig_type_info _swigt__p_wxJPEGHandler 
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0}; 
29414 static swig_type_info _swigt__p_wxPNMHandler 
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0}; 
29415 static swig_type_info _swigt__p_wxMouseCaptureLostEvent 
= {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0}; 
29416 static swig_type_info _swigt__p_wxStdDialogButtonSizer 
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0}; 
29417 static swig_type_info _swigt__p_wxAcceleratorTable 
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0}; 
29418 static swig_type_info _swigt__p_wxScrollWinEvent 
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0}; 
29419 static swig_type_info _swigt__p_wxWindowDestroyEvent 
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0}; 
29420 static swig_type_info _swigt__p_wxNavigationKeyEvent 
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0}; 
29421 static swig_type_info _swigt__p_wxKeyEvent 
= {"_p_wxKeyEvent", 0, 0, 0, 0, 0}; 
29422 static swig_type_info _swigt__p_wxMenuBar 
= {"_p_wxMenuBar", 0, 0, 0, 0, 0}; 
29423 static swig_type_info _swigt__p_wxFileSystem 
= {"_p_wxFileSystem", 0, 0, 0, 0, 0}; 
29424 static swig_type_info _swigt__p_wxContextMenuEvent 
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0}; 
29425 static swig_type_info _swigt__p_wxMenuEvent 
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0}; 
29426 static swig_type_info _swigt__p_wxPyApp 
= {"_p_wxPyApp", 0, 0, 0, 0, 0}; 
29427 static swig_type_info _swigt__p_wxCloseEvent 
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0}; 
29428 static swig_type_info _swigt__p_wxMouseEvent 
= {"_p_wxMouseEvent", 0, 0, 0, 0, 0}; 
29429 static swig_type_info _swigt__p_wxEraseEvent 
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0}; 
29430 static swig_type_info _swigt__p_wxPyCommandEvent 
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0}; 
29431 static swig_type_info _swigt__p_wxCommandEvent 
= {"_p_wxCommandEvent", 0, 0, 0, 0, 0}; 
29432 static swig_type_info _swigt__p_wxDropFilesEvent 
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0}; 
29433 static swig_type_info _swigt__p_wxFocusEvent 
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0}; 
29434 static swig_type_info _swigt__p_wxChildFocusEvent 
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0}; 
29435 static swig_type_info _swigt__p_wxControlWithItems 
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0}; 
29436 static swig_type_info _swigt__p_wxPyValidator 
= {"_p_wxPyValidator", 0, 0, 0, 0, 0}; 
29437 static swig_type_info _swigt__p_wxValidator 
= {"_p_wxValidator", 0, 0, 0, 0, 0}; 
29438 static swig_type_info _swigt__p_wxPaintDC 
= {"_p_wxPaintDC", "wxPaintDC *", 0, 0, (void*)0, 0}; 
29439 static swig_type_info _swigt__p_wxPalette 
= {"_p_wxPalette", "wxPalette *", 0, 0, (void*)0, 0}; 
29440 static swig_type_info _swigt__p_wxPaperSize 
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0}; 
29441 static swig_type_info _swigt__p_wxPen 
= {"_p_wxPen", "wxPen *", 0, 0, (void*)0, 0}; 
29442 static swig_type_info _swigt__p_wxPenList 
= {"_p_wxPenList", "wxPenList *", 0, 0, (void*)0, 0}; 
29443 static swig_type_info _swigt__p_wxPoint 
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0}; 
29444 static swig_type_info _swigt__p_wxPostScriptDC 
= {"_p_wxPostScriptDC", "wxPostScriptDC *", 0, 0, (void*)0, 0}; 
29445 static swig_type_info _swigt__p_wxPrintData 
= {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0}; 
29446 static swig_type_info _swigt__p_wxPrinterDC 
= {"_p_wxPrinterDC", "wxPrinterDC *", 0, 0, (void*)0, 0}; 
29447 static swig_type_info _swigt__p_wxPseudoDC 
= {"_p_wxPseudoDC", "wxPseudoDC *", 0, 0, (void*)0, 0}; 
29448 static swig_type_info _swigt__p_wxPyFontEnumerator 
= {"_p_wxPyFontEnumerator", "wxPyFontEnumerator *", 0, 0, (void*)0, 0}; 
29449 static swig_type_info _swigt__p_wxRect 
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0}; 
29450 static swig_type_info _swigt__p_wxRegion 
= {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0}; 
29451 static swig_type_info _swigt__p_wxRegionIterator 
= {"_p_wxRegionIterator", "wxRegionIterator *", 0, 0, (void*)0, 0}; 
29452 static swig_type_info _swigt__p_wxRendererNative 
= {"_p_wxRendererNative", "wxRendererNative *", 0, 0, (void*)0, 0}; 
29453 static swig_type_info _swigt__p_wxRendererVersion 
= {"_p_wxRendererVersion", "wxRendererVersion *", 0, 0, (void*)0, 0}; 
29454 static swig_type_info _swigt__p_wxScreenDC 
= {"_p_wxScreenDC", "wxScreenDC *", 0, 0, (void*)0, 0}; 
29455 static swig_type_info _swigt__p_wxSize 
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0}; 
29456 static swig_type_info _swigt__p_wxSplitterRenderParams 
= {"_p_wxSplitterRenderParams", "wxSplitterRenderParams *", 0, 0, (void*)0, 0}; 
29457 static swig_type_info _swigt__p_wxStockGDI 
= {"_p_wxStockGDI", "wxStockGDI *", 0, 0, (void*)0, 0}; 
29458 static swig_type_info _swigt__p_wxString 
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0}; 
29459 static swig_type_info _swigt__p_wxWindow 
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0}; 
29460 static swig_type_info _swigt__p_wxWindowDC 
= {"_p_wxWindowDC", "wxWindowDC *", 0, 0, (void*)0, 0}; 
29462 static swig_type_info 
*swig_type_initial
[] = { 
29465   &_swigt__p_form_ops_t
, 
29467   &_swigt__p_unsigned_char
, 
29468   &_swigt__p_unsigned_int
, 
29469   &_swigt__p_unsigned_long
, 
29470   &_swigt__p_wxANIHandler
, 
29471   &_swigt__p_wxAcceleratorTable
, 
29472   &_swigt__p_wxActivateEvent
, 
29473   &_swigt__p_wxBMPHandler
, 
29474   &_swigt__p_wxBitmap
, 
29475   &_swigt__p_wxBoxSizer
, 
29476   &_swigt__p_wxBrush
, 
29477   &_swigt__p_wxBrushList
, 
29478   &_swigt__p_wxBufferedDC
, 
29479   &_swigt__p_wxBufferedPaintDC
, 
29480   &_swigt__p_wxCURHandler
, 
29481   &_swigt__p_wxChildFocusEvent
, 
29482   &_swigt__p_wxClientDC
, 
29483   &_swigt__p_wxClipboardTextEvent
, 
29484   &_swigt__p_wxCloseEvent
, 
29485   &_swigt__p_wxColour
, 
29486   &_swigt__p_wxColourDatabase
, 
29487   &_swigt__p_wxCommandEvent
, 
29488   &_swigt__p_wxContextMenuEvent
, 
29489   &_swigt__p_wxControl
, 
29490   &_swigt__p_wxControlWithItems
, 
29491   &_swigt__p_wxCursor
, 
29494   &_swigt__p_wxDateEvent
, 
29495   &_swigt__p_wxDisplayChangedEvent
, 
29496   &_swigt__p_wxDropFilesEvent
, 
29497   &_swigt__p_wxDuplexMode
, 
29498   &_swigt__p_wxEffects
, 
29499   &_swigt__p_wxEncodingConverter
, 
29500   &_swigt__p_wxEraseEvent
, 
29501   &_swigt__p_wxEvent
, 
29502   &_swigt__p_wxEvtHandler
, 
29503   &_swigt__p_wxFSFile
, 
29504   &_swigt__p_wxFileSystem
, 
29505   &_swigt__p_wxFlexGridSizer
, 
29506   &_swigt__p_wxFocusEvent
, 
29508   &_swigt__p_wxFontList
, 
29509   &_swigt__p_wxFontMapper
, 
29510   &_swigt__p_wxGBSizerItem
, 
29511   &_swigt__p_wxGDIObjListBase
, 
29512   &_swigt__p_wxGDIObject
, 
29513   &_swigt__p_wxGIFHandler
, 
29514   &_swigt__p_wxGridBagSizer
, 
29515   &_swigt__p_wxGridSizer
, 
29516   &_swigt__p_wxICOHandler
, 
29518   &_swigt__p_wxIconBundle
, 
29519   &_swigt__p_wxIconLocation
, 
29520   &_swigt__p_wxIconizeEvent
, 
29521   &_swigt__p_wxIdleEvent
, 
29522   &_swigt__p_wxImage
, 
29523   &_swigt__p_wxImageHandler
, 
29524   &_swigt__p_wxImageList
, 
29525   &_swigt__p_wxIndividualLayoutConstraint
, 
29526   &_swigt__p_wxInitDialogEvent
, 
29527   &_swigt__p_wxJPEGHandler
, 
29528   &_swigt__p_wxKeyEvent
, 
29529   &_swigt__p_wxLanguageInfo
, 
29530   &_swigt__p_wxLayoutConstraints
, 
29531   &_swigt__p_wxLocale
, 
29533   &_swigt__p_wxMaximizeEvent
, 
29534   &_swigt__p_wxMemoryDC
, 
29536   &_swigt__p_wxMenuBar
, 
29537   &_swigt__p_wxMenuEvent
, 
29538   &_swigt__p_wxMenuItem
, 
29539   &_swigt__p_wxMetaFile
, 
29540   &_swigt__p_wxMetaFileDC
, 
29541   &_swigt__p_wxMirrorDC
, 
29542   &_swigt__p_wxMouseCaptureChangedEvent
, 
29543   &_swigt__p_wxMouseCaptureLostEvent
, 
29544   &_swigt__p_wxMouseEvent
, 
29545   &_swigt__p_wxMoveEvent
, 
29546   &_swigt__p_wxNativeEncodingInfo
, 
29547   &_swigt__p_wxNativeFontInfo
, 
29548   &_swigt__p_wxNavigationKeyEvent
, 
29549   &_swigt__p_wxNcPaintEvent
, 
29550   &_swigt__p_wxNotifyEvent
, 
29551   &_swigt__p_wxObject
, 
29552   &_swigt__p_wxPCXHandler
, 
29553   &_swigt__p_wxPNGHandler
, 
29554   &_swigt__p_wxPNMHandler
, 
29555   &_swigt__p_wxPaintDC
, 
29556   &_swigt__p_wxPaintEvent
, 
29557   &_swigt__p_wxPalette
, 
29558   &_swigt__p_wxPaletteChangedEvent
, 
29559   &_swigt__p_wxPaperSize
, 
29561   &_swigt__p_wxPenList
, 
29562   &_swigt__p_wxPoint
, 
29563   &_swigt__p_wxPostScriptDC
, 
29564   &_swigt__p_wxPrintData
, 
29565   &_swigt__p_wxPrinterDC
, 
29566   &_swigt__p_wxPseudoDC
, 
29567   &_swigt__p_wxPyApp
, 
29568   &_swigt__p_wxPyCommandEvent
, 
29569   &_swigt__p_wxPyEvent
, 
29570   &_swigt__p_wxPyFontEnumerator
, 
29571   &_swigt__p_wxPyImageHandler
, 
29572   &_swigt__p_wxPySizer
, 
29573   &_swigt__p_wxPyValidator
, 
29574   &_swigt__p_wxQueryNewPaletteEvent
, 
29576   &_swigt__p_wxRegion
, 
29577   &_swigt__p_wxRegionIterator
, 
29578   &_swigt__p_wxRendererNative
, 
29579   &_swigt__p_wxRendererVersion
, 
29580   &_swigt__p_wxScreenDC
, 
29581   &_swigt__p_wxScrollEvent
, 
29582   &_swigt__p_wxScrollWinEvent
, 
29583   &_swigt__p_wxSetCursorEvent
, 
29584   &_swigt__p_wxShowEvent
, 
29586   &_swigt__p_wxSizeEvent
, 
29587   &_swigt__p_wxSizer
, 
29588   &_swigt__p_wxSizerItem
, 
29589   &_swigt__p_wxSplitterRenderParams
, 
29590   &_swigt__p_wxStaticBoxSizer
, 
29591   &_swigt__p_wxStdDialogButtonSizer
, 
29592   &_swigt__p_wxStockGDI
, 
29593   &_swigt__p_wxString
, 
29594   &_swigt__p_wxSysColourChangedEvent
, 
29595   &_swigt__p_wxTIFFHandler
, 
29596   &_swigt__p_wxUpdateUIEvent
, 
29597   &_swigt__p_wxValidator
, 
29598   &_swigt__p_wxWindow
, 
29599   &_swigt__p_wxWindowCreateEvent
, 
29600   &_swigt__p_wxWindowDC
, 
29601   &_swigt__p_wxWindowDestroyEvent
, 
29602   &_swigt__p_wxXPMHandler
, 
29605 static swig_cast_info _swigc__p_char
[] = {  {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}}; 
29606 static swig_cast_info _swigc__p_double
[] = {  {&_swigt__p_double
, 0, 0, 0},{0, 0, 0, 0}}; 
29607 static swig_cast_info _swigc__p_form_ops_t
[] = {  {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}}; 
29608 static swig_cast_info _swigc__p_int
[] = {  {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}}; 
29609 static swig_cast_info _swigc__p_unsigned_char
[] = {  {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}}; 
29610 static swig_cast_info _swigc__p_unsigned_int
[] = {  {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}}; 
29611 static swig_cast_info _swigc__p_unsigned_long
[] = {  {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}}; 
29612 static swig_cast_info _swigc__p_wxBitmap
[] = {  {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}}; 
29613 static swig_cast_info _swigc__p_wxBrush
[] = {  {&_swigt__p_wxBrush
, 0, 0, 0},{0, 0, 0, 0}}; 
29614 static swig_cast_info _swigc__p_wxBrushList
[] = {  {&_swigt__p_wxBrushList
, 0, 0, 0},{0, 0, 0, 0}}; 
29615 static swig_cast_info _swigc__p_wxBufferedDC
[] = {  {&_swigt__p_wxBufferedDC
, 0, 0, 0},  {&_swigt__p_wxBufferedPaintDC
, _p_wxBufferedPaintDCTo_p_wxBufferedDC
, 0, 0},{0, 0, 0, 0}}; 
29616 static swig_cast_info _swigc__p_wxBufferedPaintDC
[] = {  {&_swigt__p_wxBufferedPaintDC
, 0, 0, 0},{0, 0, 0, 0}}; 
29617 static swig_cast_info _swigc__p_wxClientDC
[] = {  {&_swigt__p_wxClientDC
, 0, 0, 0},{0, 0, 0, 0}}; 
29618 static swig_cast_info _swigc__p_wxColour
[] = {  {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}}; 
29619 static swig_cast_info _swigc__p_wxColourDatabase
[] = {  {&_swigt__p_wxColourDatabase
, 0, 0, 0},{0, 0, 0, 0}}; 
29620 static swig_cast_info _swigc__p_wxCursor
[] = {  {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}}; 
29621 static swig_cast_info _swigc__p_wxDC
[] = {  {&_swigt__p_wxBufferedDC
, _p_wxBufferedDCTo_p_wxDC
, 0, 0},  {&_swigt__p_wxScreenDC
, _p_wxScreenDCTo_p_wxDC
, 0, 0},  {&_swigt__p_wxMirrorDC
, _p_wxMirrorDCTo_p_wxDC
, 0, 0},  {&_swigt__p_wxMemoryDC
, _p_wxMemoryDCTo_p_wxDC
, 0, 0},  {&_swigt__p_wxWindowDC
, _p_wxWindowDCTo_p_wxDC
, 0, 0},  {&_swigt__p_wxDC
, 0, 0, 0},  {&_swigt__p_wxMetaFileDC
, _p_wxMetaFileDCTo_p_wxDC
, 0, 0},  {&_swigt__p_wxBufferedPaintDC
, _p_wxBufferedPaintDCTo_p_wxDC
, 0, 0},  {&_swigt__p_wxClientDC
, _p_wxClientDCTo_p_wxDC
, 0, 0},  {&_swigt__p_wxPaintDC
, _p_wxPaintDCTo_p_wxDC
, 0, 0},  {&_swigt__p_wxPostScriptDC
, _p_wxPostScriptDCTo_p_wxDC
, 0, 0},  {&_swigt__p_wxPrinterDC
, _p_wxPrinterDCTo_p_wxDC
, 0, 0},{0, 0, 0, 0}}; 
29622 static swig_cast_info _swigc__p_wxDash
[] = {  {&_swigt__p_wxDash
, 0, 0, 0},{0, 0, 0, 0}}; 
29623 static swig_cast_info _swigc__p_wxDuplexMode
[] = {  {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}}; 
29624 static swig_cast_info _swigc__p_wxEffects
[] = {  {&_swigt__p_wxEffects
, 0, 0, 0},{0, 0, 0, 0}}; 
29625 static swig_cast_info _swigc__p_wxEncodingConverter
[] = {  {&_swigt__p_wxEncodingConverter
, 0, 0, 0},{0, 0, 0, 0}}; 
29626 static swig_cast_info _swigc__p_wxFont
[] = {  {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}}; 
29627 static swig_cast_info _swigc__p_wxFontList
[] = {  {&_swigt__p_wxFontList
, 0, 0, 0},{0, 0, 0, 0}}; 
29628 static swig_cast_info _swigc__p_wxFontMapper
[] = {  {&_swigt__p_wxFontMapper
, 0, 0, 0},{0, 0, 0, 0}}; 
29629 static swig_cast_info _swigc__p_wxGDIObjListBase
[] = {  {&_swigt__p_wxGDIObjListBase
, 0, 0, 0},  {&_swigt__p_wxBrushList
, _p_wxBrushListTo_p_wxGDIObjListBase
, 0, 0},  {&_swigt__p_wxFontList
, _p_wxFontListTo_p_wxGDIObjListBase
, 0, 0},  {&_swigt__p_wxPenList
, _p_wxPenListTo_p_wxGDIObjListBase
, 0, 0},{0, 0, 0, 0}}; 
29630 static swig_cast_info _swigc__p_wxGDIObject
[] = {  {&_swigt__p_wxIcon
, _p_wxIconTo_p_wxGDIObject
, 0, 0},  {&_swigt__p_wxPen
, _p_wxPenTo_p_wxGDIObject
, 0, 0},  {&_swigt__p_wxFont
, _p_wxFontTo_p_wxGDIObject
, 0, 0},  {&_swigt__p_wxPalette
, _p_wxPaletteTo_p_wxGDIObject
, 0, 0},  {&_swigt__p_wxGDIObject
, 0, 0, 0},  {&_swigt__p_wxCursor
, _p_wxCursorTo_p_wxGDIObject
, 0, 0},  {&_swigt__p_wxBitmap
, _p_wxBitmapTo_p_wxGDIObject
, 0, 0},  {&_swigt__p_wxRegion
, _p_wxRegionTo_p_wxGDIObject
, 0, 0},  {&_swigt__p_wxBrush
, _p_wxBrushTo_p_wxGDIObject
, 0, 0},{0, 0, 0, 0}}; 
29631 static swig_cast_info _swigc__p_wxIcon
[] = {  {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}}; 
29632 static swig_cast_info _swigc__p_wxIconBundle
[] = {  {&_swigt__p_wxIconBundle
, 0, 0, 0},{0, 0, 0, 0}}; 
29633 static swig_cast_info _swigc__p_wxIconLocation
[] = {  {&_swigt__p_wxIconLocation
, 0, 0, 0},{0, 0, 0, 0}}; 
29634 static swig_cast_info _swigc__p_wxImage
[] = {  {&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}}; 
29635 static swig_cast_info _swigc__p_wxImageList
[] = {  {&_swigt__p_wxImageList
, 0, 0, 0},{0, 0, 0, 0}}; 
29636 static swig_cast_info _swigc__p_wxLanguageInfo
[] = {  {&_swigt__p_wxLanguageInfo
, 0, 0, 0},{0, 0, 0, 0}}; 
29637 static swig_cast_info _swigc__p_wxLocale
[] = {  {&_swigt__p_wxLocale
, 0, 0, 0},{0, 0, 0, 0}}; 
29638 static swig_cast_info _swigc__p_wxMask
[] = {  {&_swigt__p_wxMask
, 0, 0, 0},{0, 0, 0, 0}}; 
29639 static swig_cast_info _swigc__p_wxMemoryDC
[] = {  {&_swigt__p_wxBufferedDC
, _p_wxBufferedDCTo_p_wxMemoryDC
, 0, 0},  {&_swigt__p_wxMemoryDC
, 0, 0, 0},  {&_swigt__p_wxBufferedPaintDC
, _p_wxBufferedPaintDCTo_p_wxMemoryDC
, 0, 0},{0, 0, 0, 0}}; 
29640 static swig_cast_info _swigc__p_wxMetaFile
[] = {  {&_swigt__p_wxMetaFile
, 0, 0, 0},{0, 0, 0, 0}}; 
29641 static swig_cast_info _swigc__p_wxMetaFileDC
[] = {  {&_swigt__p_wxMetaFileDC
, 0, 0, 0},{0, 0, 0, 0}}; 
29642 static swig_cast_info _swigc__p_wxMirrorDC
[] = {  {&_swigt__p_wxMirrorDC
, 0, 0, 0},{0, 0, 0, 0}}; 
29643 static swig_cast_info _swigc__p_wxNativeEncodingInfo
[] = {  {&_swigt__p_wxNativeEncodingInfo
, 0, 0, 0},{0, 0, 0, 0}}; 
29644 static swig_cast_info _swigc__p_wxNativeFontInfo
[] = {  {&_swigt__p_wxNativeFontInfo
, 0, 0, 0},{0, 0, 0, 0}}; 
29645 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}}; 
29646 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}}; 
29647 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}}; 
29648 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
29649 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}}; 
29650 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}}; 
29651 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}}; 
29652 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}}; 
29653 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}}; 
29654 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
29655 static swig_cast_info _swigc__p_wxMenu
[] = {{&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}}; 
29656 static swig_cast_info _swigc__p_wxEvent
[] = {{&_swigt__p_wxEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
29657 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}}; 
29658 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}}; 
29659 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
29660 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
29661 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
29662 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
29663 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
29664 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
29665 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
29666 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
29667 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}}; 
29668 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
29669 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}}; 
29670 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}}; 
29671 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
29672 static swig_cast_info _swigc__p_wxNotifyEvent
[] = {{&_swigt__p_wxNotifyEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
29673 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
29674 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}}; 
29675 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
29676 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
29677 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
29678 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
29679 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
29680 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
29681 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
29682 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
29683 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
29684 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}}; 
29685 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}}; 
29686 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}}; 
29687 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}}; 
29688 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}}; 
29689 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}}; 
29690 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}}; 
29691 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}}; 
29692 static swig_cast_info _swigc__p_wxEvtHandler
[] = {{&_swigt__p_wxEvtHandler
, 0, 0, 0},{0, 0, 0, 0}}; 
29693 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}}; 
29694 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}}; 
29695 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}}; 
29696 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}}; 
29697 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}}; 
29698 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent
[] = {{&_swigt__p_wxMouseCaptureLostEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
29699 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}}; 
29700 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}}; 
29701 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
29702 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
29703 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
29704 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
29705 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}}; 
29706 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}}; 
29707 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
29708 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
29709 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}}; 
29710 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
29711 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
29712 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
29713 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
29714 static swig_cast_info _swigc__p_wxCommandEvent
[] = {{&_swigt__p_wxCommandEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
29715 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
29716 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
29717 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
29718 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}}; 
29719 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}}; 
29720 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}}; 
29721 static swig_cast_info _swigc__p_wxObject
[] = {  {&_swigt__p_wxLayoutConstraints
, _p_wxLayoutConstraintsTo_p_wxObject
, 0, 0},  {&_swigt__p_wxRegionIterator
, _p_wxRegionIteratorTo_p_wxObject
, 0, 0},  {&_swigt__p_wxPen
, _p_wxPenTo_p_wxObject
, 0, 0},  {&_swigt__p_wxSizerItem
, _p_wxSizerItemTo_p_wxObject
, 0, 0},  {&_swigt__p_wxGBSizerItem
, _p_wxGBSizerItemTo_p_wxObject
, 0, 0},  {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxIndividualLayoutConstraint
, _p_wxIndividualLayoutConstraintTo_p_wxObject
, 0, 0},  {&_swigt__p_wxStaticBoxSizer
, _p_wxStaticBoxSizerTo_p_wxObject
, 0, 0},  {&_swigt__p_wxBoxSizer
, _p_wxBoxSizerTo_p_wxObject
, 0, 0},  {&_swigt__p_wxSizer
, _p_wxSizerTo_p_wxObject
, 0, 0},  {&_swigt__p_wxGridBagSizer
, _p_wxGridBagSizerTo_p_wxObject
, 0, 0},  {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxMenu
, _p_wxMenuTo_p_wxObject
, 0, 0},  {&_swigt__p_wxEvent
, _p_wxEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxFlexGridSizer
, _p_wxFlexGridSizerTo_p_wxObject
, 0, 0},  {&_swigt__p_wxGridSizer
, _p_wxGridSizerTo_p_wxObject
, 0, 0},  {&_swigt__p_wxInitDialogEvent
, _p_wxInitDialogEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxMask
, _p_wxMaskTo_p_wxObject
, 0, 0},  {&_swigt__p_wxPseudoDC
, _p_wxPseudoDCTo_p_wxObject
, 0, 0},  {&_swigt__p_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxPaintEvent
, _p_wxPaintEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxNcPaintEvent
, _p_wxNcPaintEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxPaletteChangedEvent
, _p_wxPaletteChangedEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxDisplayChangedEvent
, _p_wxDisplayChangedEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxMouseCaptureChangedEvent
, _p_wxMouseCaptureChangedEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxSysColourChangedEvent
, _p_wxSysColourChangedEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxControl
, _p_wxControlTo_p_wxObject
, 0, 0},  {&_swigt__p_wxFont
, _p_wxFontTo_p_wxObject
, 0, 0},  {&_swigt__p_wxSetCursorEvent
, _p_wxSetCursorEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxClientDC
, _p_wxClientDCTo_p_wxObject
, 0, 0},  {&_swigt__p_wxFSFile
, _p_wxFSFileTo_p_wxObject
, 0, 0},  {&_swigt__p_wxMemoryDC
, _p_wxMemoryDCTo_p_wxObject
, 0, 0},  {&_swigt__p_wxRegion
, _p_wxRegionTo_p_wxObject
, 0, 0},  {&_swigt__p_wxPySizer
, _p_wxPySizerTo_p_wxObject
, 0, 0},  {&_swigt__p_wxDC
, _p_wxDCTo_p_wxObject
, 0, 0},  {&_swigt__p_wxIcon
, _p_wxIconTo_p_wxObject
, 0, 0},  {&_swigt__p_wxWindowDC
, _p_wxWindowDCTo_p_wxObject
, 0, 0},  {&_swigt__p_wxGDIObject
, _p_wxGDIObjectTo_p_wxObject
, 0, 0},  {&_swigt__p_wxEffects
, _p_wxEffectsTo_p_wxObject
, 0, 0},  {&_swigt__p_wxPyEvent
, _p_wxPyEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxPostScriptDC
, _p_wxPostScriptDCTo_p_wxObject
, 0, 0},  {&_swigt__p_wxShowEvent
, _p_wxShowEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxMenuItem
, _p_wxMenuItemTo_p_wxObject
, 0, 0},  {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxIdleEvent
, _p_wxIdleEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxQueryNewPaletteEvent
, _p_wxQueryNewPaletteEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxMaximizeEvent
, _p_wxMaximizeEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxIconizeEvent
, _p_wxIconizeEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxSizeEvent
, _p_wxSizeEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxMoveEvent
, _p_wxMoveEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxActivateEvent
, _p_wxActivateEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxANIHandler
, _p_wxANIHandlerTo_p_wxObject
, 0, 0},  {&_swigt__p_wxCURHandler
, _p_wxCURHandlerTo_p_wxObject
, 0, 0},  {&_swigt__p_wxICOHandler
, _p_wxICOHandlerTo_p_wxObject
, 0, 0},  {&_swigt__p_wxBMPHandler
, _p_wxBMPHandlerTo_p_wxObject
, 0, 0},  {&_swigt__p_wxPyImageHandler
, _p_wxPyImageHandlerTo_p_wxObject
, 0, 0},  {&_swigt__p_wxImageHandler
, _p_wxImageHandlerTo_p_wxObject
, 0, 0},  {&_swigt__p_wxXPMHandler
, _p_wxXPMHandlerTo_p_wxObject
, 0, 0},  {&_swigt__p_wxTIFFHandler
, _p_wxTIFFHandlerTo_p_wxObject
, 0, 0},  {&_swigt__p_wxEvtHandler
, _p_wxEvtHandlerTo_p_wxObject
, 0, 0},  {&_swigt__p_wxPNGHandler
, _p_wxPNGHandlerTo_p_wxObject
, 0, 0},  {&_swigt__p_wxGIFHandler
, _p_wxGIFHandlerTo_p_wxObject
, 0, 0},  {&_swigt__p_wxPCXHandler
, _p_wxPCXHandlerTo_p_wxObject
, 0, 0},  {&_swigt__p_wxJPEGHandler
, _p_wxJPEGHandlerTo_p_wxObject
, 0, 0},  {&_swigt__p_wxPNMHandler
, _p_wxPNMHandlerTo_p_wxObject
, 0, 0},  {&_swigt__p_wxMouseCaptureLostEvent
, _p_wxMouseCaptureLostEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxPaintDC
, _p_wxPaintDCTo_p_wxObject
, 0, 0},  {&_swigt__p_wxBufferedPaintDC
, _p_wxBufferedPaintDCTo_p_wxObject
, 0, 0},  {&_swigt__p_wxPrinterDC
, _p_wxPrinterDCTo_p_wxObject
, 0, 0},  {&_swigt__p_wxScreenDC
, _p_wxScreenDCTo_p_wxObject
, 0, 0},  {&_swigt__p_wxStdDialogButtonSizer
, _p_wxStdDialogButtonSizerTo_p_wxObject
, 0, 0},  {&_swigt__p_wxAcceleratorTable
, _p_wxAcceleratorTableTo_p_wxObject
, 0, 0},  {&_swigt__p_wxImage
, _p_wxImageTo_p_wxObject
, 0, 0},  {&_swigt__p_wxScrollWinEvent
, _p_wxScrollWinEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxBufferedDC
, _p_wxBufferedDCTo_p_wxObject
, 0, 0},  {&_swigt__p_wxPalette
, _p_wxPaletteTo_p_wxObject
, 0, 0},  {&_swigt__p_wxImageList
, _p_wxImageListTo_p_wxObject
, 0, 0},  {&_swigt__p_wxCursor
, _p_wxCursorTo_p_wxObject
, 0, 0},  {&_swigt__p_wxObject
, 0, 0, 0},  {&_swigt__p_wxMirrorDC
, _p_wxMirrorDCTo_p_wxObject
, 0, 0},  {&_swigt__p_wxEncodingConverter
, _p_wxEncodingConverterTo_p_wxObject
, 0, 0},  {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxNavigationKeyEvent
, _p_wxNavigationKeyEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxKeyEvent
, _p_wxKeyEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxMetaFileDC
, _p_wxMetaFileDCTo_p_wxObject
, 0, 0},  {&_swigt__p_wxWindow
, _p_wxWindowTo_p_wxObject
, 0, 0},  {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxObject
, 0, 0},  {&_swigt__p_wxFileSystem
, _p_wxFileSystemTo_p_wxObject
, 0, 0},  {&_swigt__p_wxBitmap
, _p_wxBitmapTo_p_wxObject
, 0, 0},  {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxMenuEvent
, _p_wxMenuEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxPyApp
, _p_wxPyAppTo_p_wxObject
, 0, 0},  {&_swigt__p_wxCloseEvent
, _p_wxCloseEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxMouseEvent
, _p_wxMouseEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxEraseEvent
, _p_wxEraseEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxCommandEvent
, _p_wxCommandEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxDropFilesEvent
, _p_wxDropFilesEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxFocusEvent
, _p_wxFocusEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxBrush
, _p_wxBrushTo_p_wxObject
, 0, 0},  {&_swigt__p_wxMetaFile
, _p_wxMetaFileTo_p_wxObject
, 0, 0},  {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxObject
, 0, 0},  {&_swigt__p_wxColour
, _p_wxColourTo_p_wxObject
, 0, 0},  {&_swigt__p_wxPyValidator
, _p_wxPyValidatorTo_p_wxObject
, 0, 0},  {&_swigt__p_wxValidator
, _p_wxValidatorTo_p_wxObject
, 0, 0},{0, 0, 0, 0}}; 
29722 static swig_cast_info _swigc__p_wxPaintDC
[] = {  {&_swigt__p_wxPaintDC
, 0, 0, 0},{0, 0, 0, 0}}; 
29723 static swig_cast_info _swigc__p_wxPalette
[] = {  {&_swigt__p_wxPalette
, 0, 0, 0},{0, 0, 0, 0}}; 
29724 static swig_cast_info _swigc__p_wxPaperSize
[] = {  {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}}; 
29725 static swig_cast_info _swigc__p_wxPen
[] = {  {&_swigt__p_wxPen
, 0, 0, 0},{0, 0, 0, 0}}; 
29726 static swig_cast_info _swigc__p_wxPenList
[] = {  {&_swigt__p_wxPenList
, 0, 0, 0},{0, 0, 0, 0}}; 
29727 static swig_cast_info _swigc__p_wxPoint
[] = {  {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}}; 
29728 static swig_cast_info _swigc__p_wxPostScriptDC
[] = {  {&_swigt__p_wxPostScriptDC
, 0, 0, 0},{0, 0, 0, 0}}; 
29729 static swig_cast_info _swigc__p_wxPrintData
[] = {  {&_swigt__p_wxPrintData
, 0, 0, 0},{0, 0, 0, 0}}; 
29730 static swig_cast_info _swigc__p_wxPrinterDC
[] = {  {&_swigt__p_wxPrinterDC
, 0, 0, 0},{0, 0, 0, 0}}; 
29731 static swig_cast_info _swigc__p_wxPseudoDC
[] = {  {&_swigt__p_wxPseudoDC
, 0, 0, 0},{0, 0, 0, 0}}; 
29732 static swig_cast_info _swigc__p_wxPyFontEnumerator
[] = {  {&_swigt__p_wxPyFontEnumerator
, 0, 0, 0},{0, 0, 0, 0}}; 
29733 static swig_cast_info _swigc__p_wxRect
[] = {  {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}}; 
29734 static swig_cast_info _swigc__p_wxRegion
[] = {  {&_swigt__p_wxRegion
, 0, 0, 0},{0, 0, 0, 0}}; 
29735 static swig_cast_info _swigc__p_wxRegionIterator
[] = {  {&_swigt__p_wxRegionIterator
, 0, 0, 0},{0, 0, 0, 0}}; 
29736 static swig_cast_info _swigc__p_wxRendererNative
[] = {  {&_swigt__p_wxRendererNative
, 0, 0, 0},{0, 0, 0, 0}}; 
29737 static swig_cast_info _swigc__p_wxRendererVersion
[] = {  {&_swigt__p_wxRendererVersion
, 0, 0, 0},{0, 0, 0, 0}}; 
29738 static swig_cast_info _swigc__p_wxScreenDC
[] = {  {&_swigt__p_wxScreenDC
, 0, 0, 0},{0, 0, 0, 0}}; 
29739 static swig_cast_info _swigc__p_wxSize
[] = {  {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}}; 
29740 static swig_cast_info _swigc__p_wxSplitterRenderParams
[] = {  {&_swigt__p_wxSplitterRenderParams
, 0, 0, 0},{0, 0, 0, 0}}; 
29741 static swig_cast_info _swigc__p_wxStockGDI
[] = {  {&_swigt__p_wxStockGDI
, 0, 0, 0},{0, 0, 0, 0}}; 
29742 static swig_cast_info _swigc__p_wxString
[] = {  {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}}; 
29743 static swig_cast_info _swigc__p_wxWindow
[] = {  {&_swigt__p_wxControl
, _p_wxControlTo_p_wxWindow
, 0, 0},  {&_swigt__p_wxWindow
, 0, 0, 0},  {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxWindow
, 0, 0},  {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxWindow
, 0, 0},{0, 0, 0, 0}}; 
29744 static swig_cast_info _swigc__p_wxWindowDC
[] = {  {&_swigt__p_wxWindowDC
, 0, 0, 0},{0, 0, 0, 0}}; 
29746 static swig_cast_info 
*swig_cast_initial
[] = { 
29749   _swigc__p_form_ops_t
, 
29751   _swigc__p_unsigned_char
, 
29752   _swigc__p_unsigned_int
, 
29753   _swigc__p_unsigned_long
, 
29754   _swigc__p_wxANIHandler
, 
29755   _swigc__p_wxAcceleratorTable
, 
29756   _swigc__p_wxActivateEvent
, 
29757   _swigc__p_wxBMPHandler
, 
29758   _swigc__p_wxBitmap
, 
29759   _swigc__p_wxBoxSizer
, 
29761   _swigc__p_wxBrushList
, 
29762   _swigc__p_wxBufferedDC
, 
29763   _swigc__p_wxBufferedPaintDC
, 
29764   _swigc__p_wxCURHandler
, 
29765   _swigc__p_wxChildFocusEvent
, 
29766   _swigc__p_wxClientDC
, 
29767   _swigc__p_wxClipboardTextEvent
, 
29768   _swigc__p_wxCloseEvent
, 
29769   _swigc__p_wxColour
, 
29770   _swigc__p_wxColourDatabase
, 
29771   _swigc__p_wxCommandEvent
, 
29772   _swigc__p_wxContextMenuEvent
, 
29773   _swigc__p_wxControl
, 
29774   _swigc__p_wxControlWithItems
, 
29775   _swigc__p_wxCursor
, 
29778   _swigc__p_wxDateEvent
, 
29779   _swigc__p_wxDisplayChangedEvent
, 
29780   _swigc__p_wxDropFilesEvent
, 
29781   _swigc__p_wxDuplexMode
, 
29782   _swigc__p_wxEffects
, 
29783   _swigc__p_wxEncodingConverter
, 
29784   _swigc__p_wxEraseEvent
, 
29786   _swigc__p_wxEvtHandler
, 
29787   _swigc__p_wxFSFile
, 
29788   _swigc__p_wxFileSystem
, 
29789   _swigc__p_wxFlexGridSizer
, 
29790   _swigc__p_wxFocusEvent
, 
29792   _swigc__p_wxFontList
, 
29793   _swigc__p_wxFontMapper
, 
29794   _swigc__p_wxGBSizerItem
, 
29795   _swigc__p_wxGDIObjListBase
, 
29796   _swigc__p_wxGDIObject
, 
29797   _swigc__p_wxGIFHandler
, 
29798   _swigc__p_wxGridBagSizer
, 
29799   _swigc__p_wxGridSizer
, 
29800   _swigc__p_wxICOHandler
, 
29802   _swigc__p_wxIconBundle
, 
29803   _swigc__p_wxIconLocation
, 
29804   _swigc__p_wxIconizeEvent
, 
29805   _swigc__p_wxIdleEvent
, 
29807   _swigc__p_wxImageHandler
, 
29808   _swigc__p_wxImageList
, 
29809   _swigc__p_wxIndividualLayoutConstraint
, 
29810   _swigc__p_wxInitDialogEvent
, 
29811   _swigc__p_wxJPEGHandler
, 
29812   _swigc__p_wxKeyEvent
, 
29813   _swigc__p_wxLanguageInfo
, 
29814   _swigc__p_wxLayoutConstraints
, 
29815   _swigc__p_wxLocale
, 
29817   _swigc__p_wxMaximizeEvent
, 
29818   _swigc__p_wxMemoryDC
, 
29820   _swigc__p_wxMenuBar
, 
29821   _swigc__p_wxMenuEvent
, 
29822   _swigc__p_wxMenuItem
, 
29823   _swigc__p_wxMetaFile
, 
29824   _swigc__p_wxMetaFileDC
, 
29825   _swigc__p_wxMirrorDC
, 
29826   _swigc__p_wxMouseCaptureChangedEvent
, 
29827   _swigc__p_wxMouseCaptureLostEvent
, 
29828   _swigc__p_wxMouseEvent
, 
29829   _swigc__p_wxMoveEvent
, 
29830   _swigc__p_wxNativeEncodingInfo
, 
29831   _swigc__p_wxNativeFontInfo
, 
29832   _swigc__p_wxNavigationKeyEvent
, 
29833   _swigc__p_wxNcPaintEvent
, 
29834   _swigc__p_wxNotifyEvent
, 
29835   _swigc__p_wxObject
, 
29836   _swigc__p_wxPCXHandler
, 
29837   _swigc__p_wxPNGHandler
, 
29838   _swigc__p_wxPNMHandler
, 
29839   _swigc__p_wxPaintDC
, 
29840   _swigc__p_wxPaintEvent
, 
29841   _swigc__p_wxPalette
, 
29842   _swigc__p_wxPaletteChangedEvent
, 
29843   _swigc__p_wxPaperSize
, 
29845   _swigc__p_wxPenList
, 
29847   _swigc__p_wxPostScriptDC
, 
29848   _swigc__p_wxPrintData
, 
29849   _swigc__p_wxPrinterDC
, 
29850   _swigc__p_wxPseudoDC
, 
29852   _swigc__p_wxPyCommandEvent
, 
29853   _swigc__p_wxPyEvent
, 
29854   _swigc__p_wxPyFontEnumerator
, 
29855   _swigc__p_wxPyImageHandler
, 
29856   _swigc__p_wxPySizer
, 
29857   _swigc__p_wxPyValidator
, 
29858   _swigc__p_wxQueryNewPaletteEvent
, 
29860   _swigc__p_wxRegion
, 
29861   _swigc__p_wxRegionIterator
, 
29862   _swigc__p_wxRendererNative
, 
29863   _swigc__p_wxRendererVersion
, 
29864   _swigc__p_wxScreenDC
, 
29865   _swigc__p_wxScrollEvent
, 
29866   _swigc__p_wxScrollWinEvent
, 
29867   _swigc__p_wxSetCursorEvent
, 
29868   _swigc__p_wxShowEvent
, 
29870   _swigc__p_wxSizeEvent
, 
29872   _swigc__p_wxSizerItem
, 
29873   _swigc__p_wxSplitterRenderParams
, 
29874   _swigc__p_wxStaticBoxSizer
, 
29875   _swigc__p_wxStdDialogButtonSizer
, 
29876   _swigc__p_wxStockGDI
, 
29877   _swigc__p_wxString
, 
29878   _swigc__p_wxSysColourChangedEvent
, 
29879   _swigc__p_wxTIFFHandler
, 
29880   _swigc__p_wxUpdateUIEvent
, 
29881   _swigc__p_wxValidator
, 
29882   _swigc__p_wxWindow
, 
29883   _swigc__p_wxWindowCreateEvent
, 
29884   _swigc__p_wxWindowDC
, 
29885   _swigc__p_wxWindowDestroyEvent
, 
29886   _swigc__p_wxXPMHandler
, 
29890 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */ 
29892 static swig_const_info swig_const_table
[] = { 
29893 {0, 0, 0, 0.0, 0, 0}}; 
29898 /* ----------------------------------------------------------------------------- 
29899  * Type initialization: 
29900  * This problem is tough by the requirement that no dynamic  
29901  * memory is used. Also, since swig_type_info structures store pointers to  
29902  * swig_cast_info structures and swig_cast_info structures store pointers back 
29903  * to swig_type_info structures, we need some lookup code at initialization.  
29904  * The idea is that swig generates all the structures that are needed.  
29905  * The runtime then collects these partially filled structures.  
29906  * The SWIG_InitializeModule function takes these initial arrays out of  
29907  * swig_module, and does all the lookup, filling in the swig_module.types 
29908  * array with the correct data and linking the correct swig_cast_info 
29909  * structures together. 
29911  * The generated swig_type_info structures are assigned staticly to an initial  
29912  * array. We just loop though that array, and handle each type individually. 
29913  * First we lookup if this type has been already loaded, and if so, use the 
29914  * loaded structure instead of the generated one. Then we have to fill in the 
29915  * cast linked list. The cast data is initially stored in something like a 
29916  * two-dimensional array. Each row corresponds to a type (there are the same 
29917  * number of rows as there are in the swig_type_initial array). Each entry in 
29918  * a column is one of the swig_cast_info structures for that type. 
29919  * The cast_initial array is actually an array of arrays, because each row has 
29920  * a variable number of columns. So to actually build the cast linked list, 
29921  * we find the array of casts associated with the type, and loop through it  
29922  * adding the casts to the list. The one last trick we need to do is making 
29923  * sure the type pointer in the swig_cast_info struct is correct. 
29925  * First off, we lookup the cast->type name to see if it is already loaded.  
29926  * There are three cases to handle: 
29927  *  1) If the cast->type has already been loaded AND the type we are adding 
29928  *     casting info to has not been loaded (it is in this module), THEN we 
29929  *     replace the cast->type pointer with the type pointer that has already 
29931  *  2) If BOTH types (the one we are adding casting info to, and the  
29932  *     cast->type) are loaded, THEN the cast info has already been loaded by 
29933  *     the previous module so we just ignore it. 
29934  *  3) Finally, if cast->type has not already been loaded, then we add that 
29935  *     swig_cast_info to the linked list (because the cast->type) pointer will 
29937  * ----------------------------------------------------------------------------- */ 
29947 #define SWIGRUNTIME_DEBUG 
29951 SWIG_InitializeModule(void *clientdata
) { 
29953   swig_module_info 
*module_head
; 
29954   static int init_run 
= 0; 
29956   clientdata 
= clientdata
; 
29958   if (init_run
) return; 
29961   /* Initialize the swig_module */ 
29962   swig_module
.type_initial 
= swig_type_initial
; 
29963   swig_module
.cast_initial 
= swig_cast_initial
; 
29965   /* Try and load any already created modules */ 
29966   module_head 
= SWIG_GetModule(clientdata
); 
29968     swig_module
.next 
= module_head
->next
; 
29969     module_head
->next 
= &swig_module
; 
29971     /* This is the first module loaded */ 
29972     swig_module
.next 
= &swig_module
; 
29973     SWIG_SetModule(clientdata
, &swig_module
); 
29976   /* Now work on filling in swig_module.types */ 
29977 #ifdef SWIGRUNTIME_DEBUG 
29978   printf("SWIG_InitializeModule: size %d\n", swig_module
.size
); 
29980   for (i 
= 0; i 
< swig_module
.size
; ++i
) { 
29981     swig_type_info 
*type 
= 0; 
29982     swig_type_info 
*ret
; 
29983     swig_cast_info 
*cast
; 
29985 #ifdef SWIGRUNTIME_DEBUG 
29986     printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
); 
29989     /* if there is another module already loaded */ 
29990     if (swig_module
.next 
!= &swig_module
) { 
29991       type 
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
); 
29994       /* Overwrite clientdata field */ 
29995 #ifdef SWIGRUNTIME_DEBUG 
29996       printf("SWIG_InitializeModule: found type %s\n", type
->name
); 
29998       if (swig_module
.type_initial
[i
]->clientdata
) { 
29999         type
->clientdata 
= swig_module
.type_initial
[i
]->clientdata
; 
30000 #ifdef SWIGRUNTIME_DEBUG 
30001         printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
); 
30005       type 
= swig_module
.type_initial
[i
]; 
30008     /* Insert casting types */ 
30009     cast 
= swig_module
.cast_initial
[i
]; 
30010     while (cast
->type
) { 
30011       /* Don't need to add information already in the list */ 
30013 #ifdef SWIGRUNTIME_DEBUG 
30014       printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
); 
30016       if (swig_module
.next 
!= &swig_module
) { 
30017         ret 
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
); 
30018 #ifdef SWIGRUNTIME_DEBUG 
30019         if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
); 
30023         if (type 
== swig_module
.type_initial
[i
]) { 
30024 #ifdef SWIGRUNTIME_DEBUG 
30025           printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
); 
30030           /* Check for casting already in the list */ 
30031           swig_cast_info 
*ocast 
= SWIG_TypeCheck(ret
->name
, type
); 
30032 #ifdef SWIGRUNTIME_DEBUG 
30033           if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
); 
30035           if (!ocast
) ret 
= 0; 
30040 #ifdef SWIGRUNTIME_DEBUG 
30041         printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
); 
30044           type
->cast
->prev 
= cast
; 
30045           cast
->next 
= type
->cast
; 
30051     /* Set entry in modules->types array equal to the type */ 
30052     swig_module
.types
[i
] = type
; 
30054   swig_module
.types
[i
] = 0; 
30056 #ifdef SWIGRUNTIME_DEBUG 
30057   printf("**** SWIG_InitializeModule: Cast List ******\n"); 
30058   for (i 
= 0; i 
< swig_module
.size
; ++i
) { 
30060     swig_cast_info 
*cast 
= swig_module
.cast_initial
[i
]; 
30061     printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
); 
30062     while (cast
->type
) { 
30063       printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
); 
30067     printf("---- Total casts: %d\n",j
); 
30069   printf("**** SWIG_InitializeModule: Cast List ******\n"); 
30073 /* This function will propagate the clientdata field of type to 
30074 * any new swig_type_info structures that have been added into the list 
30075 * of equivalent types.  It is like calling 
30076 * SWIG_TypeClientData(type, clientdata) a second time. 
30079 SWIG_PropagateClientData(void) { 
30081   swig_cast_info 
*equiv
; 
30082   static int init_run 
= 0; 
30084   if (init_run
) return; 
30087   for (i 
= 0; i 
< swig_module
.size
; i
++) { 
30088     if (swig_module
.types
[i
]->clientdata
) { 
30089       equiv 
= swig_module
.types
[i
]->cast
; 
30091         if (!equiv
->converter
) { 
30092           if (equiv
->type 
&& !equiv
->type
->clientdata
) 
30093           SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
); 
30095         equiv 
= equiv
->next
; 
30115   /* Python-specific SWIG API */ 
30116 #define SWIG_newvarlink()                             SWIG_Python_newvarlink() 
30117 #define SWIG_addvarlink(p, name, get_attr, set_attr)  SWIG_Python_addvarlink(p, name, get_attr, set_attr) 
30118 #define SWIG_InstallConstants(d, constants)           SWIG_Python_InstallConstants(d, constants) 
30120   /* ----------------------------------------------------------------------------- 
30121    * global variable support code. 
30122    * ----------------------------------------------------------------------------- */ 
30124   typedef struct swig_globalvar 
{ 
30125     char       *name
;                  /* Name of global variable */ 
30126     PyObject 
*(*get_attr
)(void);       /* Return the current value */ 
30127     int       (*set_attr
)(PyObject 
*); /* Set the value */ 
30128     struct swig_globalvar 
*next
; 
30131   typedef struct swig_varlinkobject 
{ 
30133     swig_globalvar 
*vars
; 
30134   } swig_varlinkobject
; 
30136   SWIGINTERN PyObject 
* 
30137   swig_varlink_repr(swig_varlinkobject 
*SWIGUNUSEDPARM(v
)) { 
30138     return PyString_FromString("<Swig global variables>"); 
30141   SWIGINTERN PyObject 
* 
30142   swig_varlink_str(swig_varlinkobject 
*v
) { 
30143     PyObject 
*str 
= PyString_FromString("("); 
30144     swig_globalvar  
*var
; 
30145     for (var 
= v
->vars
; var
; var
=var
->next
) { 
30146       PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
)); 
30147       if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", ")); 
30149     PyString_ConcatAndDel(&str
,PyString_FromString(")")); 
30154   swig_varlink_print(swig_varlinkobject 
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) { 
30155     PyObject 
*str 
= swig_varlink_str(v
); 
30156     fprintf(fp
,"Swig global variables "); 
30157     fprintf(fp
,"%s\n", PyString_AsString(str
)); 
30163   swig_varlink_dealloc(swig_varlinkobject 
*v
) { 
30164     swig_globalvar 
*var 
= v
->vars
; 
30166       swig_globalvar 
*n 
= var
->next
; 
30173   SWIGINTERN PyObject 
* 
30174   swig_varlink_getattr(swig_varlinkobject 
*v
, char *n
) { 
30175     PyObject 
*res 
= NULL
; 
30176     swig_globalvar 
*var 
= v
->vars
; 
30178       if (strcmp(var
->name
,n
) == 0) { 
30179         res 
= (*var
->get_attr
)(); 
30184     if (res 
== NULL 
&& !PyErr_Occurred()) { 
30185       PyErr_SetString(PyExc_NameError
,"Unknown C global variable"); 
30191   swig_varlink_setattr(swig_varlinkobject 
*v
, char *n
, PyObject 
*p
) { 
30193     swig_globalvar 
*var 
= v
->vars
; 
30195       if (strcmp(var
->name
,n
) == 0) { 
30196         res 
= (*var
->set_attr
)(p
); 
30201     if (res 
== 1 && !PyErr_Occurred()) { 
30202       PyErr_SetString(PyExc_NameError
,"Unknown C global variable"); 
30207   SWIGINTERN PyTypeObject
* 
30208   swig_varlink_type(void) { 
30209     static char varlink__doc__
[] = "Swig var link object"; 
30210     static PyTypeObject varlink_type
; 
30211     static int type_init 
= 0;   
30213       const PyTypeObject tmp
 
30215         PyObject_HEAD_INIT(NULL
) 
30216         0,                                  /* Number of items in variable part (ob_size) */ 
30217         (char *)"swigvarlink",              /* Type name (tp_name) */ 
30218         sizeof(swig_varlinkobject
),         /* Basic size (tp_basicsize) */ 
30219         0,                                  /* Itemsize (tp_itemsize) */ 
30220         (destructor
) swig_varlink_dealloc
,   /* Deallocator (tp_dealloc) */  
30221         (printfunc
) swig_varlink_print
,     /* Print (tp_print) */ 
30222         (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */ 
30223         (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */ 
30224         0,                                  /* tp_compare */ 
30225         (reprfunc
) swig_varlink_repr
,       /* tp_repr */ 
30226         0,                                  /* tp_as_number */ 
30227         0,                                  /* tp_as_sequence */ 
30228         0,                                  /* tp_as_mapping */ 
30231         (reprfunc
)swig_varlink_str
,        /* tp_str */ 
30232         0,                                  /* tp_getattro */ 
30233         0,                                  /* tp_setattro */ 
30234         0,                                  /* tp_as_buffer */ 
30236         varlink__doc__
,                     /* tp_doc */ 
30237         0,                                  /* tp_traverse */ 
30239         0,                                  /* tp_richcompare */ 
30240         0,                                  /* tp_weaklistoffset */ 
30241 #if PY_VERSION_HEX >= 0x02020000 
30242         0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */ 
30244 #if PY_VERSION_HEX >= 0x02030000 
30247 #ifdef COUNT_ALLOCS 
30248         0,0,0,0                             /* tp_alloc -> tp_next */ 
30251       varlink_type 
= tmp
; 
30252       varlink_type
.ob_type 
= &PyType_Type
; 
30255     return &varlink_type
; 
30258   /* Create a variable linking object for use later */ 
30259   SWIGINTERN PyObject 
* 
30260   SWIG_Python_newvarlink(void) { 
30261     swig_varlinkobject 
*result 
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type()); 
30265     return ((PyObject
*) result
); 
30269   SWIG_Python_addvarlink(PyObject 
*p
, char *name
, PyObject 
*(*get_attr
)(void), int (*set_attr
)(PyObject 
*p
)) { 
30270     swig_varlinkobject 
*v 
= (swig_varlinkobject 
*) p
; 
30271     swig_globalvar 
*gv 
= (swig_globalvar 
*) malloc(sizeof(swig_globalvar
)); 
30273       size_t size 
= strlen(name
)+1; 
30274       gv
->name 
= (char *)malloc(size
); 
30276         strncpy(gv
->name
,name
,size
); 
30277         gv
->get_attr 
= get_attr
; 
30278         gv
->set_attr 
= set_attr
; 
30279         gv
->next 
= v
->vars
; 
30285   SWIGINTERN PyObject 
* 
30287     static PyObject 
*_SWIG_globals 
= 0;  
30288     if (!_SWIG_globals
) _SWIG_globals 
= SWIG_newvarlink();   
30289     return _SWIG_globals
; 
30292   /* ----------------------------------------------------------------------------- 
30293    * constants/methods manipulation 
30294    * ----------------------------------------------------------------------------- */ 
30296   /* Install Constants */ 
30298   SWIG_Python_InstallConstants(PyObject 
*d
, swig_const_info constants
[]) { 
30301     for (i 
= 0; constants
[i
].type
; ++i
) { 
30302       switch(constants
[i
].type
) { 
30303       case SWIG_PY_POINTER
: 
30304         obj 
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0); 
30306       case SWIG_PY_BINARY
: 
30307         obj 
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
)); 
30314         PyDict_SetItemString(d
, constants
[i
].name
, obj
); 
30320   /* -----------------------------------------------------------------------------*/ 
30321   /* Fix SwigMethods to carry the callback ptrs when needed */ 
30322   /* -----------------------------------------------------------------------------*/ 
30325   SWIG_Python_FixMethods(PyMethodDef 
*methods
, 
30326     swig_const_info 
*const_table
, 
30327     swig_type_info 
**types
, 
30328     swig_type_info 
**types_initial
) { 
30330     for (i 
= 0; methods
[i
].ml_name
; ++i
) { 
30331       const char *c 
= methods
[i
].ml_doc
; 
30332       if (c 
&& (c 
= strstr(c
, "swig_ptr: "))) { 
30334         swig_const_info 
*ci 
= 0; 
30335         const char *name 
= c 
+ 10; 
30336         for (j 
= 0; const_table
[j
].type
; ++j
) { 
30337           if (strncmp(const_table
[j
].name
, name
,  
30338               strlen(const_table
[j
].name
)) == 0) { 
30339             ci 
= &(const_table
[j
]); 
30344           size_t shift 
= (ci
->ptype
) - types
; 
30345           swig_type_info 
*ty 
= types_initial
[shift
]; 
30346           size_t ldoc 
= (c 
- methods
[i
].ml_doc
); 
30347           size_t lptr 
= strlen(ty
->name
)+2*sizeof(void*)+2; 
30348           char *ndoc 
= (char*)malloc(ldoc 
+ lptr 
+ 10); 
30351             void *ptr 
= (ci
->type 
== SWIG_PY_POINTER
) ? ci
->pvalue 
: 0; 
30353               strncpy(buff
, methods
[i
].ml_doc
, ldoc
); 
30355               strncpy(buff
, "swig_ptr: ", 10); 
30357               SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
); 
30358               methods
[i
].ml_doc 
= ndoc
; 
30370 /* -----------------------------------------------------------------------------* 
30371  *  Partial Init method 
30372  * -----------------------------------------------------------------------------*/ 
30377 SWIGEXPORT 
void SWIG_init(void) { 
30380   /* Fix SwigMethods to carry the callback ptrs when needed */ 
30381   SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
); 
30383   m 
= Py_InitModule((char *) SWIG_name
, SwigMethods
); 
30384   d 
= PyModule_GetDict(m
); 
30386   SWIG_InitializeModule(0); 
30387   SWIG_InstallConstants(d
,swig_const_table
); 
30390   SWIG_Python_SetConstant(d
, "C2S_NAME",SWIG_From_int(static_cast< int >(wxC2S_NAME
))); 
30391   SWIG_Python_SetConstant(d
, "C2S_CSS_SYNTAX",SWIG_From_int(static_cast< int >(wxC2S_CSS_SYNTAX
))); 
30392   SWIG_Python_SetConstant(d
, "C2S_HTML_SYNTAX",SWIG_From_int(static_cast< int >(wxC2S_HTML_SYNTAX
))); 
30393   SWIG_Python_SetConstant(d
, "OutRegion",SWIG_From_int(static_cast< int >(wxOutRegion
))); 
30394   SWIG_Python_SetConstant(d
, "PartRegion",SWIG_From_int(static_cast< int >(wxPartRegion
))); 
30395   SWIG_Python_SetConstant(d
, "InRegion",SWIG_From_int(static_cast< int >(wxInRegion
))); 
30396   SWIG_Python_SetConstant(d
, "FONTFAMILY_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTFAMILY_DEFAULT
))); 
30397   SWIG_Python_SetConstant(d
, "FONTFAMILY_DECORATIVE",SWIG_From_int(static_cast< int >(wxFONTFAMILY_DECORATIVE
))); 
30398   SWIG_Python_SetConstant(d
, "FONTFAMILY_ROMAN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_ROMAN
))); 
30399   SWIG_Python_SetConstant(d
, "FONTFAMILY_SCRIPT",SWIG_From_int(static_cast< int >(wxFONTFAMILY_SCRIPT
))); 
30400   SWIG_Python_SetConstant(d
, "FONTFAMILY_SWISS",SWIG_From_int(static_cast< int >(wxFONTFAMILY_SWISS
))); 
30401   SWIG_Python_SetConstant(d
, "FONTFAMILY_MODERN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_MODERN
))); 
30402   SWIG_Python_SetConstant(d
, "FONTFAMILY_TELETYPE",SWIG_From_int(static_cast< int >(wxFONTFAMILY_TELETYPE
))); 
30403   SWIG_Python_SetConstant(d
, "FONTFAMILY_MAX",SWIG_From_int(static_cast< int >(wxFONTFAMILY_MAX
))); 
30404   SWIG_Python_SetConstant(d
, "FONTFAMILY_UNKNOWN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_UNKNOWN
))); 
30405   SWIG_Python_SetConstant(d
, "FONTSTYLE_NORMAL",SWIG_From_int(static_cast< int >(wxFONTSTYLE_NORMAL
))); 
30406   SWIG_Python_SetConstant(d
, "FONTSTYLE_ITALIC",SWIG_From_int(static_cast< int >(wxFONTSTYLE_ITALIC
))); 
30407   SWIG_Python_SetConstant(d
, "FONTSTYLE_SLANT",SWIG_From_int(static_cast< int >(wxFONTSTYLE_SLANT
))); 
30408   SWIG_Python_SetConstant(d
, "FONTSTYLE_MAX",SWIG_From_int(static_cast< int >(wxFONTSTYLE_MAX
))); 
30409   SWIG_Python_SetConstant(d
, "FONTWEIGHT_NORMAL",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_NORMAL
))); 
30410   SWIG_Python_SetConstant(d
, "FONTWEIGHT_LIGHT",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_LIGHT
))); 
30411   SWIG_Python_SetConstant(d
, "FONTWEIGHT_BOLD",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_BOLD
))); 
30412   SWIG_Python_SetConstant(d
, "FONTWEIGHT_MAX",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_MAX
))); 
30413   SWIG_Python_SetConstant(d
, "FONTFLAG_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTFLAG_DEFAULT
))); 
30414   SWIG_Python_SetConstant(d
, "FONTFLAG_ITALIC",SWIG_From_int(static_cast< int >(wxFONTFLAG_ITALIC
))); 
30415   SWIG_Python_SetConstant(d
, "FONTFLAG_SLANT",SWIG_From_int(static_cast< int >(wxFONTFLAG_SLANT
))); 
30416   SWIG_Python_SetConstant(d
, "FONTFLAG_LIGHT",SWIG_From_int(static_cast< int >(wxFONTFLAG_LIGHT
))); 
30417   SWIG_Python_SetConstant(d
, "FONTFLAG_BOLD",SWIG_From_int(static_cast< int >(wxFONTFLAG_BOLD
))); 
30418   SWIG_Python_SetConstant(d
, "FONTFLAG_ANTIALIASED",SWIG_From_int(static_cast< int >(wxFONTFLAG_ANTIALIASED
))); 
30419   SWIG_Python_SetConstant(d
, "FONTFLAG_NOT_ANTIALIASED",SWIG_From_int(static_cast< int >(wxFONTFLAG_NOT_ANTIALIASED
))); 
30420   SWIG_Python_SetConstant(d
, "FONTFLAG_UNDERLINED",SWIG_From_int(static_cast< int >(wxFONTFLAG_UNDERLINED
))); 
30421   SWIG_Python_SetConstant(d
, "FONTFLAG_STRIKETHROUGH",SWIG_From_int(static_cast< int >(wxFONTFLAG_STRIKETHROUGH
))); 
30422   SWIG_Python_SetConstant(d
, "FONTFLAG_MASK",SWIG_From_int(static_cast< int >(wxFONTFLAG_MASK
))); 
30423   SWIG_Python_SetConstant(d
, "FONTENCODING_SYSTEM",SWIG_From_int(static_cast< int >(wxFONTENCODING_SYSTEM
))); 
30424   SWIG_Python_SetConstant(d
, "FONTENCODING_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTENCODING_DEFAULT
))); 
30425   SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_1",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_1
))); 
30426   SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_2",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_2
))); 
30427   SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_3",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_3
))); 
30428   SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_4",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_4
))); 
30429   SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_5",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_5
))); 
30430   SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_6",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_6
))); 
30431   SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_7",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_7
))); 
30432   SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_8",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_8
))); 
30433   SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_9",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_9
))); 
30434   SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_10",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_10
))); 
30435   SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_11",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_11
))); 
30436   SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_12",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_12
))); 
30437   SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_13",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_13
))); 
30438   SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_14",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_14
))); 
30439   SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_15",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_15
))); 
30440   SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_MAX
))); 
30441   SWIG_Python_SetConstant(d
, "FONTENCODING_KOI8",SWIG_From_int(static_cast< int >(wxFONTENCODING_KOI8
))); 
30442   SWIG_Python_SetConstant(d
, "FONTENCODING_KOI8_U",SWIG_From_int(static_cast< int >(wxFONTENCODING_KOI8_U
))); 
30443   SWIG_Python_SetConstant(d
, "FONTENCODING_ALTERNATIVE",SWIG_From_int(static_cast< int >(wxFONTENCODING_ALTERNATIVE
))); 
30444   SWIG_Python_SetConstant(d
, "FONTENCODING_BULGARIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_BULGARIAN
))); 
30445   SWIG_Python_SetConstant(d
, "FONTENCODING_CP437",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP437
))); 
30446   SWIG_Python_SetConstant(d
, "FONTENCODING_CP850",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP850
))); 
30447   SWIG_Python_SetConstant(d
, "FONTENCODING_CP852",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP852
))); 
30448   SWIG_Python_SetConstant(d
, "FONTENCODING_CP855",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP855
))); 
30449   SWIG_Python_SetConstant(d
, "FONTENCODING_CP866",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP866
))); 
30450   SWIG_Python_SetConstant(d
, "FONTENCODING_CP874",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP874
))); 
30451   SWIG_Python_SetConstant(d
, "FONTENCODING_CP932",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP932
))); 
30452   SWIG_Python_SetConstant(d
, "FONTENCODING_CP936",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP936
))); 
30453   SWIG_Python_SetConstant(d
, "FONTENCODING_CP949",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP949
))); 
30454   SWIG_Python_SetConstant(d
, "FONTENCODING_CP950",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP950
))); 
30455   SWIG_Python_SetConstant(d
, "FONTENCODING_CP1250",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1250
))); 
30456   SWIG_Python_SetConstant(d
, "FONTENCODING_CP1251",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1251
))); 
30457   SWIG_Python_SetConstant(d
, "FONTENCODING_CP1252",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1252
))); 
30458   SWIG_Python_SetConstant(d
, "FONTENCODING_CP1253",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1253
))); 
30459   SWIG_Python_SetConstant(d
, "FONTENCODING_CP1254",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1254
))); 
30460   SWIG_Python_SetConstant(d
, "FONTENCODING_CP1255",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1255
))); 
30461   SWIG_Python_SetConstant(d
, "FONTENCODING_CP1256",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1256
))); 
30462   SWIG_Python_SetConstant(d
, "FONTENCODING_CP1257",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1257
))); 
30463   SWIG_Python_SetConstant(d
, "FONTENCODING_CP12_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP12_MAX
))); 
30464   SWIG_Python_SetConstant(d
, "FONTENCODING_UTF7",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF7
))); 
30465   SWIG_Python_SetConstant(d
, "FONTENCODING_UTF8",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF8
))); 
30466   SWIG_Python_SetConstant(d
, "FONTENCODING_EUC_JP",SWIG_From_int(static_cast< int >(wxFONTENCODING_EUC_JP
))); 
30467   SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16BE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16BE
))); 
30468   SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16LE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16LE
))); 
30469   SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32BE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32BE
))); 
30470   SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32LE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32LE
))); 
30471   SWIG_Python_SetConstant(d
, "FONTENCODING_MACROMAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACROMAN
))); 
30472   SWIG_Python_SetConstant(d
, "FONTENCODING_MACJAPANESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACJAPANESE
))); 
30473   SWIG_Python_SetConstant(d
, "FONTENCODING_MACCHINESETRAD",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCHINESETRAD
))); 
30474   SWIG_Python_SetConstant(d
, "FONTENCODING_MACKOREAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKOREAN
))); 
30475   SWIG_Python_SetConstant(d
, "FONTENCODING_MACARABIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARABIC
))); 
30476   SWIG_Python_SetConstant(d
, "FONTENCODING_MACHEBREW",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACHEBREW
))); 
30477   SWIG_Python_SetConstant(d
, "FONTENCODING_MACGREEK",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGREEK
))); 
30478   SWIG_Python_SetConstant(d
, "FONTENCODING_MACCYRILLIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCYRILLIC
))); 
30479   SWIG_Python_SetConstant(d
, "FONTENCODING_MACDEVANAGARI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACDEVANAGARI
))); 
30480   SWIG_Python_SetConstant(d
, "FONTENCODING_MACGURMUKHI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGURMUKHI
))); 
30481   SWIG_Python_SetConstant(d
, "FONTENCODING_MACGUJARATI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGUJARATI
))); 
30482   SWIG_Python_SetConstant(d
, "FONTENCODING_MACORIYA",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACORIYA
))); 
30483   SWIG_Python_SetConstant(d
, "FONTENCODING_MACBENGALI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACBENGALI
))); 
30484   SWIG_Python_SetConstant(d
, "FONTENCODING_MACTAMIL",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTAMIL
))); 
30485   SWIG_Python_SetConstant(d
, "FONTENCODING_MACTELUGU",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTELUGU
))); 
30486   SWIG_Python_SetConstant(d
, "FONTENCODING_MACKANNADA",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKANNADA
))); 
30487   SWIG_Python_SetConstant(d
, "FONTENCODING_MACMALAJALAM",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMALAJALAM
))); 
30488   SWIG_Python_SetConstant(d
, "FONTENCODING_MACSINHALESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACSINHALESE
))); 
30489   SWIG_Python_SetConstant(d
, "FONTENCODING_MACBURMESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACBURMESE
))); 
30490   SWIG_Python_SetConstant(d
, "FONTENCODING_MACKHMER",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKHMER
))); 
30491   SWIG_Python_SetConstant(d
, "FONTENCODING_MACTHAI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTHAI
))); 
30492   SWIG_Python_SetConstant(d
, "FONTENCODING_MACLAOTIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACLAOTIAN
))); 
30493   SWIG_Python_SetConstant(d
, "FONTENCODING_MACGEORGIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGEORGIAN
))); 
30494   SWIG_Python_SetConstant(d
, "FONTENCODING_MACARMENIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARMENIAN
))); 
30495   SWIG_Python_SetConstant(d
, "FONTENCODING_MACCHINESESIMP",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCHINESESIMP
))); 
30496   SWIG_Python_SetConstant(d
, "FONTENCODING_MACTIBETAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTIBETAN
))); 
30497   SWIG_Python_SetConstant(d
, "FONTENCODING_MACMONGOLIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMONGOLIAN
))); 
30498   SWIG_Python_SetConstant(d
, "FONTENCODING_MACETHIOPIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACETHIOPIC
))); 
30499   SWIG_Python_SetConstant(d
, "FONTENCODING_MACCENTRALEUR",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCENTRALEUR
))); 
30500   SWIG_Python_SetConstant(d
, "FONTENCODING_MACVIATNAMESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACVIATNAMESE
))); 
30501   SWIG_Python_SetConstant(d
, "FONTENCODING_MACARABICEXT",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARABICEXT
))); 
30502   SWIG_Python_SetConstant(d
, "FONTENCODING_MACSYMBOL",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACSYMBOL
))); 
30503   SWIG_Python_SetConstant(d
, "FONTENCODING_MACDINGBATS",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACDINGBATS
))); 
30504   SWIG_Python_SetConstant(d
, "FONTENCODING_MACTURKISH",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTURKISH
))); 
30505   SWIG_Python_SetConstant(d
, "FONTENCODING_MACCROATIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCROATIAN
))); 
30506   SWIG_Python_SetConstant(d
, "FONTENCODING_MACICELANDIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACICELANDIC
))); 
30507   SWIG_Python_SetConstant(d
, "FONTENCODING_MACROMANIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACROMANIAN
))); 
30508   SWIG_Python_SetConstant(d
, "FONTENCODING_MACCELTIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCELTIC
))); 
30509   SWIG_Python_SetConstant(d
, "FONTENCODING_MACGAELIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGAELIC
))); 
30510   SWIG_Python_SetConstant(d
, "FONTENCODING_MACKEYBOARD",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKEYBOARD
))); 
30511   SWIG_Python_SetConstant(d
, "FONTENCODING_MACMIN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMIN
))); 
30512   SWIG_Python_SetConstant(d
, "FONTENCODING_MACMAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMAX
))); 
30513   SWIG_Python_SetConstant(d
, "FONTENCODING_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_MAX
))); 
30514   SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16
))); 
30515   SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32
))); 
30516   SWIG_Python_SetConstant(d
, "FONTENCODING_UNICODE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UNICODE
))); 
30517   SWIG_Python_SetConstant(d
, "FONTENCODING_GB2312",SWIG_From_int(static_cast< int >(wxFONTENCODING_GB2312
))); 
30518   SWIG_Python_SetConstant(d
, "FONTENCODING_BIG5",SWIG_From_int(static_cast< int >(wxFONTENCODING_BIG5
))); 
30519   SWIG_Python_SetConstant(d
, "FONTENCODING_SHIFT_JIS",SWIG_From_int(static_cast< int >(wxFONTENCODING_SHIFT_JIS
))); 
30521   wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator"); 
30523   SWIG_Python_SetConstant(d
, "LANGUAGE_DEFAULT",SWIG_From_int(static_cast< int >(wxLANGUAGE_DEFAULT
))); 
30524   SWIG_Python_SetConstant(d
, "LANGUAGE_UNKNOWN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UNKNOWN
))); 
30525   SWIG_Python_SetConstant(d
, "LANGUAGE_ABKHAZIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ABKHAZIAN
))); 
30526   SWIG_Python_SetConstant(d
, "LANGUAGE_AFAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_AFAR
))); 
30527   SWIG_Python_SetConstant(d
, "LANGUAGE_AFRIKAANS",SWIG_From_int(static_cast< int >(wxLANGUAGE_AFRIKAANS
))); 
30528   SWIG_Python_SetConstant(d
, "LANGUAGE_ALBANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ALBANIAN
))); 
30529   SWIG_Python_SetConstant(d
, "LANGUAGE_AMHARIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_AMHARIC
))); 
30530   SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC
))); 
30531   SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_ALGERIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_ALGERIA
))); 
30532   SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_BAHRAIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_BAHRAIN
))); 
30533   SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_EGYPT",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_EGYPT
))); 
30534   SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_IRAQ",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_IRAQ
))); 
30535   SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_JORDAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_JORDAN
))); 
30536   SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_KUWAIT",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_KUWAIT
))); 
30537   SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_LEBANON",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_LEBANON
))); 
30538   SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_LIBYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_LIBYA
))); 
30539   SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_MOROCCO",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_MOROCCO
))); 
30540   SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_OMAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_OMAN
))); 
30541   SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_QATAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_QATAR
))); 
30542   SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SAUDI_ARABIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SAUDI_ARABIA
))); 
30543   SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SUDAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SUDAN
))); 
30544   SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SYRIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SYRIA
))); 
30545   SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_TUNISIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_TUNISIA
))); 
30546   SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_UAE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_UAE
))); 
30547   SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_YEMEN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_YEMEN
))); 
30548   SWIG_Python_SetConstant(d
, "LANGUAGE_ARMENIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARMENIAN
))); 
30549   SWIG_Python_SetConstant(d
, "LANGUAGE_ASSAMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ASSAMESE
))); 
30550   SWIG_Python_SetConstant(d
, "LANGUAGE_AYMARA",SWIG_From_int(static_cast< int >(wxLANGUAGE_AYMARA
))); 
30551   SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI
))); 
30552   SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI_CYRILLIC
))); 
30553   SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI_LATIN
))); 
30554   SWIG_Python_SetConstant(d
, "LANGUAGE_BASHKIR",SWIG_From_int(static_cast< int >(wxLANGUAGE_BASHKIR
))); 
30555   SWIG_Python_SetConstant(d
, "LANGUAGE_BASQUE",SWIG_From_int(static_cast< int >(wxLANGUAGE_BASQUE
))); 
30556   SWIG_Python_SetConstant(d
, "LANGUAGE_BELARUSIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_BELARUSIAN
))); 
30557   SWIG_Python_SetConstant(d
, "LANGUAGE_BENGALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BENGALI
))); 
30558   SWIG_Python_SetConstant(d
, "LANGUAGE_BHUTANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BHUTANI
))); 
30559   SWIG_Python_SetConstant(d
, "LANGUAGE_BIHARI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BIHARI
))); 
30560   SWIG_Python_SetConstant(d
, "LANGUAGE_BISLAMA",SWIG_From_int(static_cast< int >(wxLANGUAGE_BISLAMA
))); 
30561   SWIG_Python_SetConstant(d
, "LANGUAGE_BRETON",SWIG_From_int(static_cast< int >(wxLANGUAGE_BRETON
))); 
30562   SWIG_Python_SetConstant(d
, "LANGUAGE_BULGARIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_BULGARIAN
))); 
30563   SWIG_Python_SetConstant(d
, "LANGUAGE_BURMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_BURMESE
))); 
30564   SWIG_Python_SetConstant(d
, "LANGUAGE_CAMBODIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CAMBODIAN
))); 
30565   SWIG_Python_SetConstant(d
, "LANGUAGE_CATALAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CATALAN
))); 
30566   SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE
))); 
30567   SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_SIMPLIFIED",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_SIMPLIFIED
))); 
30568   SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_TRADITIONAL",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_TRADITIONAL
))); 
30569   SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_HONGKONG",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_HONGKONG
))); 
30570   SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_MACAU",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_MACAU
))); 
30571   SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_SINGAPORE",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_SINGAPORE
))); 
30572   SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_TAIWAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_TAIWAN
))); 
30573   SWIG_Python_SetConstant(d
, "LANGUAGE_CORSICAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CORSICAN
))); 
30574   SWIG_Python_SetConstant(d
, "LANGUAGE_CROATIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CROATIAN
))); 
30575   SWIG_Python_SetConstant(d
, "LANGUAGE_CZECH",SWIG_From_int(static_cast< int >(wxLANGUAGE_CZECH
))); 
30576   SWIG_Python_SetConstant(d
, "LANGUAGE_DANISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_DANISH
))); 
30577   SWIG_Python_SetConstant(d
, "LANGUAGE_DUTCH",SWIG_From_int(static_cast< int >(wxLANGUAGE_DUTCH
))); 
30578   SWIG_Python_SetConstant(d
, "LANGUAGE_DUTCH_BELGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_DUTCH_BELGIAN
))); 
30579   SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH
))); 
30580   SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_UK",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_UK
))); 
30581   SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_US",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_US
))); 
30582   SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_AUSTRALIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_AUSTRALIA
))); 
30583   SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_BELIZE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_BELIZE
))); 
30584   SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_BOTSWANA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_BOTSWANA
))); 
30585   SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_CANADA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_CANADA
))); 
30586   SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_CARIBBEAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_CARIBBEAN
))); 
30587   SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_DENMARK",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_DENMARK
))); 
30588   SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_EIRE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_EIRE
))); 
30589   SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_JAMAICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_JAMAICA
))); 
30590   SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_NEW_ZEALAND",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_NEW_ZEALAND
))); 
30591   SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_PHILIPPINES",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_PHILIPPINES
))); 
30592   SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_SOUTH_AFRICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_SOUTH_AFRICA
))); 
30593   SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_TRINIDAD",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_TRINIDAD
))); 
30594   SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_ZIMBABWE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_ZIMBABWE
))); 
30595   SWIG_Python_SetConstant(d
, "LANGUAGE_ESPERANTO",SWIG_From_int(static_cast< int >(wxLANGUAGE_ESPERANTO
))); 
30596   SWIG_Python_SetConstant(d
, "LANGUAGE_ESTONIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ESTONIAN
))); 
30597   SWIG_Python_SetConstant(d
, "LANGUAGE_FAEROESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_FAEROESE
))); 
30598   SWIG_Python_SetConstant(d
, "LANGUAGE_FARSI",SWIG_From_int(static_cast< int >(wxLANGUAGE_FARSI
))); 
30599   SWIG_Python_SetConstant(d
, "LANGUAGE_FIJI",SWIG_From_int(static_cast< int >(wxLANGUAGE_FIJI
))); 
30600   SWIG_Python_SetConstant(d
, "LANGUAGE_FINNISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_FINNISH
))); 
30601   SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH
))); 
30602   SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_BELGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_BELGIAN
))); 
30603   SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_CANADIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_CANADIAN
))); 
30604   SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_LUXEMBOURG",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_LUXEMBOURG
))); 
30605   SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_MONACO",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_MONACO
))); 
30606   SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_SWISS
))); 
30607   SWIG_Python_SetConstant(d
, "LANGUAGE_FRISIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRISIAN
))); 
30608   SWIG_Python_SetConstant(d
, "LANGUAGE_GALICIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GALICIAN
))); 
30609   SWIG_Python_SetConstant(d
, "LANGUAGE_GEORGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GEORGIAN
))); 
30610   SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN
))); 
30611   SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_AUSTRIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_AUSTRIAN
))); 
30612   SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_BELGIUM",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_BELGIUM
))); 
30613   SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_LIECHTENSTEIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_LIECHTENSTEIN
))); 
30614   SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_LUXEMBOURG",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_LUXEMBOURG
))); 
30615   SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_SWISS
))); 
30616   SWIG_Python_SetConstant(d
, "LANGUAGE_GREEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_GREEK
))); 
30617   SWIG_Python_SetConstant(d
, "LANGUAGE_GREENLANDIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_GREENLANDIC
))); 
30618   SWIG_Python_SetConstant(d
, "LANGUAGE_GUARANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_GUARANI
))); 
30619   SWIG_Python_SetConstant(d
, "LANGUAGE_GUJARATI",SWIG_From_int(static_cast< int >(wxLANGUAGE_GUJARATI
))); 
30620   SWIG_Python_SetConstant(d
, "LANGUAGE_HAUSA",SWIG_From_int(static_cast< int >(wxLANGUAGE_HAUSA
))); 
30621   SWIG_Python_SetConstant(d
, "LANGUAGE_HEBREW",SWIG_From_int(static_cast< int >(wxLANGUAGE_HEBREW
))); 
30622   SWIG_Python_SetConstant(d
, "LANGUAGE_HINDI",SWIG_From_int(static_cast< int >(wxLANGUAGE_HINDI
))); 
30623   SWIG_Python_SetConstant(d
, "LANGUAGE_HUNGARIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_HUNGARIAN
))); 
30624   SWIG_Python_SetConstant(d
, "LANGUAGE_ICELANDIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_ICELANDIC
))); 
30625   SWIG_Python_SetConstant(d
, "LANGUAGE_INDONESIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_INDONESIAN
))); 
30626   SWIG_Python_SetConstant(d
, "LANGUAGE_INTERLINGUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_INTERLINGUA
))); 
30627   SWIG_Python_SetConstant(d
, "LANGUAGE_INTERLINGUE",SWIG_From_int(static_cast< int >(wxLANGUAGE_INTERLINGUE
))); 
30628   SWIG_Python_SetConstant(d
, "LANGUAGE_INUKTITUT",SWIG_From_int(static_cast< int >(wxLANGUAGE_INUKTITUT
))); 
30629   SWIG_Python_SetConstant(d
, "LANGUAGE_INUPIAK",SWIG_From_int(static_cast< int >(wxLANGUAGE_INUPIAK
))); 
30630   SWIG_Python_SetConstant(d
, "LANGUAGE_IRISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_IRISH
))); 
30631   SWIG_Python_SetConstant(d
, "LANGUAGE_ITALIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ITALIAN
))); 
30632   SWIG_Python_SetConstant(d
, "LANGUAGE_ITALIAN_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_ITALIAN_SWISS
))); 
30633   SWIG_Python_SetConstant(d
, "LANGUAGE_JAPANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_JAPANESE
))); 
30634   SWIG_Python_SetConstant(d
, "LANGUAGE_JAVANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_JAVANESE
))); 
30635   SWIG_Python_SetConstant(d
, "LANGUAGE_KANNADA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KANNADA
))); 
30636   SWIG_Python_SetConstant(d
, "LANGUAGE_KASHMIRI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KASHMIRI
))); 
30637   SWIG_Python_SetConstant(d
, "LANGUAGE_KASHMIRI_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KASHMIRI_INDIA
))); 
30638   SWIG_Python_SetConstant(d
, "LANGUAGE_KAZAKH",SWIG_From_int(static_cast< int >(wxLANGUAGE_KAZAKH
))); 
30639   SWIG_Python_SetConstant(d
, "LANGUAGE_KERNEWEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_KERNEWEK
))); 
30640   SWIG_Python_SetConstant(d
, "LANGUAGE_KINYARWANDA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KINYARWANDA
))); 
30641   SWIG_Python_SetConstant(d
, "LANGUAGE_KIRGHIZ",SWIG_From_int(static_cast< int >(wxLANGUAGE_KIRGHIZ
))); 
30642   SWIG_Python_SetConstant(d
, "LANGUAGE_KIRUNDI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KIRUNDI
))); 
30643   SWIG_Python_SetConstant(d
, "LANGUAGE_KONKANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KONKANI
))); 
30644   SWIG_Python_SetConstant(d
, "LANGUAGE_KOREAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_KOREAN
))); 
30645   SWIG_Python_SetConstant(d
, "LANGUAGE_KURDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_KURDISH
))); 
30646   SWIG_Python_SetConstant(d
, "LANGUAGE_LAOTHIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LAOTHIAN
))); 
30647   SWIG_Python_SetConstant(d
, "LANGUAGE_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LATIN
))); 
30648   SWIG_Python_SetConstant(d
, "LANGUAGE_LATVIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LATVIAN
))); 
30649   SWIG_Python_SetConstant(d
, "LANGUAGE_LINGALA",SWIG_From_int(static_cast< int >(wxLANGUAGE_LINGALA
))); 
30650   SWIG_Python_SetConstant(d
, "LANGUAGE_LITHUANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LITHUANIAN
))); 
30651   SWIG_Python_SetConstant(d
, "LANGUAGE_MACEDONIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MACEDONIAN
))); 
30652   SWIG_Python_SetConstant(d
, "LANGUAGE_MALAGASY",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAGASY
))); 
30653   SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY
))); 
30654   SWIG_Python_SetConstant(d
, "LANGUAGE_MALAYALAM",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAYALAM
))); 
30655   SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY_BRUNEI_DARUSSALAM",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY_BRUNEI_DARUSSALAM
))); 
30656   SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY_MALAYSIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY_MALAYSIA
))); 
30657   SWIG_Python_SetConstant(d
, "LANGUAGE_MALTESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALTESE
))); 
30658   SWIG_Python_SetConstant(d
, "LANGUAGE_MANIPURI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MANIPURI
))); 
30659   SWIG_Python_SetConstant(d
, "LANGUAGE_MAORI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MAORI
))); 
30660   SWIG_Python_SetConstant(d
, "LANGUAGE_MARATHI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MARATHI
))); 
30661   SWIG_Python_SetConstant(d
, "LANGUAGE_MOLDAVIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MOLDAVIAN
))); 
30662   SWIG_Python_SetConstant(d
, "LANGUAGE_MONGOLIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MONGOLIAN
))); 
30663   SWIG_Python_SetConstant(d
, "LANGUAGE_NAURU",SWIG_From_int(static_cast< int >(wxLANGUAGE_NAURU
))); 
30664   SWIG_Python_SetConstant(d
, "LANGUAGE_NEPALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_NEPALI
))); 
30665   SWIG_Python_SetConstant(d
, "LANGUAGE_NEPALI_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_NEPALI_INDIA
))); 
30666   SWIG_Python_SetConstant(d
, "LANGUAGE_NORWEGIAN_BOKMAL",SWIG_From_int(static_cast< int >(wxLANGUAGE_NORWEGIAN_BOKMAL
))); 
30667   SWIG_Python_SetConstant(d
, "LANGUAGE_NORWEGIAN_NYNORSK",SWIG_From_int(static_cast< int >(wxLANGUAGE_NORWEGIAN_NYNORSK
))); 
30668   SWIG_Python_SetConstant(d
, "LANGUAGE_OCCITAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_OCCITAN
))); 
30669   SWIG_Python_SetConstant(d
, "LANGUAGE_ORIYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ORIYA
))); 
30670   SWIG_Python_SetConstant(d
, "LANGUAGE_OROMO",SWIG_From_int(static_cast< int >(wxLANGUAGE_OROMO
))); 
30671   SWIG_Python_SetConstant(d
, "LANGUAGE_PASHTO",SWIG_From_int(static_cast< int >(wxLANGUAGE_PASHTO
))); 
30672   SWIG_Python_SetConstant(d
, "LANGUAGE_POLISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_POLISH
))); 
30673   SWIG_Python_SetConstant(d
, "LANGUAGE_PORTUGUESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_PORTUGUESE
))); 
30674   SWIG_Python_SetConstant(d
, "LANGUAGE_PORTUGUESE_BRAZILIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_PORTUGUESE_BRAZILIAN
))); 
30675   SWIG_Python_SetConstant(d
, "LANGUAGE_PUNJABI",SWIG_From_int(static_cast< int >(wxLANGUAGE_PUNJABI
))); 
30676   SWIG_Python_SetConstant(d
, "LANGUAGE_QUECHUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_QUECHUA
))); 
30677   SWIG_Python_SetConstant(d
, "LANGUAGE_RHAETO_ROMANCE",SWIG_From_int(static_cast< int >(wxLANGUAGE_RHAETO_ROMANCE
))); 
30678   SWIG_Python_SetConstant(d
, "LANGUAGE_ROMANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ROMANIAN
))); 
30679   SWIG_Python_SetConstant(d
, "LANGUAGE_RUSSIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_RUSSIAN
))); 
30680   SWIG_Python_SetConstant(d
, "LANGUAGE_RUSSIAN_UKRAINE",SWIG_From_int(static_cast< int >(wxLANGUAGE_RUSSIAN_UKRAINE
))); 
30681   SWIG_Python_SetConstant(d
, "LANGUAGE_SAMOAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SAMOAN
))); 
30682   SWIG_Python_SetConstant(d
, "LANGUAGE_SANGHO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SANGHO
))); 
30683   SWIG_Python_SetConstant(d
, "LANGUAGE_SANSKRIT",SWIG_From_int(static_cast< int >(wxLANGUAGE_SANSKRIT
))); 
30684   SWIG_Python_SetConstant(d
, "LANGUAGE_SCOTS_GAELIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SCOTS_GAELIC
))); 
30685   SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN
))); 
30686   SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN_CYRILLIC
))); 
30687   SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN_LATIN
))); 
30688   SWIG_Python_SetConstant(d
, "LANGUAGE_SERBO_CROATIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBO_CROATIAN
))); 
30689   SWIG_Python_SetConstant(d
, "LANGUAGE_SESOTHO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SESOTHO
))); 
30690   SWIG_Python_SetConstant(d
, "LANGUAGE_SETSWANA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SETSWANA
))); 
30691   SWIG_Python_SetConstant(d
, "LANGUAGE_SHONA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SHONA
))); 
30692   SWIG_Python_SetConstant(d
, "LANGUAGE_SINDHI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SINDHI
))); 
30693   SWIG_Python_SetConstant(d
, "LANGUAGE_SINHALESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SINHALESE
))); 
30694   SWIG_Python_SetConstant(d
, "LANGUAGE_SISWATI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SISWATI
))); 
30695   SWIG_Python_SetConstant(d
, "LANGUAGE_SLOVAK",SWIG_From_int(static_cast< int >(wxLANGUAGE_SLOVAK
))); 
30696   SWIG_Python_SetConstant(d
, "LANGUAGE_SLOVENIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SLOVENIAN
))); 
30697   SWIG_Python_SetConstant(d
, "LANGUAGE_SOMALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SOMALI
))); 
30698   SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH
))); 
30699   SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_ARGENTINA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_ARGENTINA
))); 
30700   SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_BOLIVIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_BOLIVIA
))); 
30701   SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_CHILE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_CHILE
))); 
30702   SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_COLOMBIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_COLOMBIA
))); 
30703   SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_COSTA_RICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_COSTA_RICA
))); 
30704   SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_DOMINICAN_REPUBLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_DOMINICAN_REPUBLIC
))); 
30705   SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_ECUADOR",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_ECUADOR
))); 
30706   SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_EL_SALVADOR",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_EL_SALVADOR
))); 
30707   SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_GUATEMALA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_GUATEMALA
))); 
30708   SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_HONDURAS",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_HONDURAS
))); 
30709   SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_MEXICAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_MEXICAN
))); 
30710   SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_MODERN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_MODERN
))); 
30711   SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_NICARAGUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_NICARAGUA
))); 
30712   SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PANAMA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PANAMA
))); 
30713   SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PARAGUAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PARAGUAY
))); 
30714   SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PERU",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PERU
))); 
30715   SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PUERTO_RICO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PUERTO_RICO
))); 
30716   SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_URUGUAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_URUGUAY
))); 
30717   SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_US",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_US
))); 
30718   SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_VENEZUELA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_VENEZUELA
))); 
30719   SWIG_Python_SetConstant(d
, "LANGUAGE_SUNDANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SUNDANESE
))); 
30720   SWIG_Python_SetConstant(d
, "LANGUAGE_SWAHILI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWAHILI
))); 
30721   SWIG_Python_SetConstant(d
, "LANGUAGE_SWEDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWEDISH
))); 
30722   SWIG_Python_SetConstant(d
, "LANGUAGE_SWEDISH_FINLAND",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWEDISH_FINLAND
))); 
30723   SWIG_Python_SetConstant(d
, "LANGUAGE_TAGALOG",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAGALOG
))); 
30724   SWIG_Python_SetConstant(d
, "LANGUAGE_TAJIK",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAJIK
))); 
30725   SWIG_Python_SetConstant(d
, "LANGUAGE_TAMIL",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAMIL
))); 
30726   SWIG_Python_SetConstant(d
, "LANGUAGE_TATAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_TATAR
))); 
30727   SWIG_Python_SetConstant(d
, "LANGUAGE_TELUGU",SWIG_From_int(static_cast< int >(wxLANGUAGE_TELUGU
))); 
30728   SWIG_Python_SetConstant(d
, "LANGUAGE_THAI",SWIG_From_int(static_cast< int >(wxLANGUAGE_THAI
))); 
30729   SWIG_Python_SetConstant(d
, "LANGUAGE_TIBETAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_TIBETAN
))); 
30730   SWIG_Python_SetConstant(d
, "LANGUAGE_TIGRINYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TIGRINYA
))); 
30731   SWIG_Python_SetConstant(d
, "LANGUAGE_TONGA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TONGA
))); 
30732   SWIG_Python_SetConstant(d
, "LANGUAGE_TSONGA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TSONGA
))); 
30733   SWIG_Python_SetConstant(d
, "LANGUAGE_TURKISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_TURKISH
))); 
30734   SWIG_Python_SetConstant(d
, "LANGUAGE_TURKMEN",SWIG_From_int(static_cast< int >(wxLANGUAGE_TURKMEN
))); 
30735   SWIG_Python_SetConstant(d
, "LANGUAGE_TWI",SWIG_From_int(static_cast< int >(wxLANGUAGE_TWI
))); 
30736   SWIG_Python_SetConstant(d
, "LANGUAGE_UIGHUR",SWIG_From_int(static_cast< int >(wxLANGUAGE_UIGHUR
))); 
30737   SWIG_Python_SetConstant(d
, "LANGUAGE_UKRAINIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UKRAINIAN
))); 
30738   SWIG_Python_SetConstant(d
, "LANGUAGE_URDU",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU
))); 
30739   SWIG_Python_SetConstant(d
, "LANGUAGE_URDU_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU_INDIA
))); 
30740   SWIG_Python_SetConstant(d
, "LANGUAGE_URDU_PAKISTAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU_PAKISTAN
))); 
30741   SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK
))); 
30742   SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK_CYRILLIC
))); 
30743   SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK_LATIN
))); 
30744   SWIG_Python_SetConstant(d
, "LANGUAGE_VIETNAMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_VIETNAMESE
))); 
30745   SWIG_Python_SetConstant(d
, "LANGUAGE_VOLAPUK",SWIG_From_int(static_cast< int >(wxLANGUAGE_VOLAPUK
))); 
30746   SWIG_Python_SetConstant(d
, "LANGUAGE_WELSH",SWIG_From_int(static_cast< int >(wxLANGUAGE_WELSH
))); 
30747   SWIG_Python_SetConstant(d
, "LANGUAGE_WOLOF",SWIG_From_int(static_cast< int >(wxLANGUAGE_WOLOF
))); 
30748   SWIG_Python_SetConstant(d
, "LANGUAGE_XHOSA",SWIG_From_int(static_cast< int >(wxLANGUAGE_XHOSA
))); 
30749   SWIG_Python_SetConstant(d
, "LANGUAGE_YIDDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_YIDDISH
))); 
30750   SWIG_Python_SetConstant(d
, "LANGUAGE_YORUBA",SWIG_From_int(static_cast< int >(wxLANGUAGE_YORUBA
))); 
30751   SWIG_Python_SetConstant(d
, "LANGUAGE_ZHUANG",SWIG_From_int(static_cast< int >(wxLANGUAGE_ZHUANG
))); 
30752   SWIG_Python_SetConstant(d
, "LANGUAGE_ZULU",SWIG_From_int(static_cast< int >(wxLANGUAGE_ZULU
))); 
30753   SWIG_Python_SetConstant(d
, "LANGUAGE_USER_DEFINED",SWIG_From_int(static_cast< int >(wxLANGUAGE_USER_DEFINED
))); 
30754   SWIG_Python_SetConstant(d
, "LOCALE_CAT_NUMBER",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_NUMBER
))); 
30755   SWIG_Python_SetConstant(d
, "LOCALE_CAT_DATE",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_DATE
))); 
30756   SWIG_Python_SetConstant(d
, "LOCALE_CAT_MONEY",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_MONEY
))); 
30757   SWIG_Python_SetConstant(d
, "LOCALE_CAT_MAX",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_MAX
))); 
30758   SWIG_Python_SetConstant(d
, "LOCALE_THOUSANDS_SEP",SWIG_From_int(static_cast< int >(wxLOCALE_THOUSANDS_SEP
))); 
30759   SWIG_Python_SetConstant(d
, "LOCALE_DECIMAL_POINT",SWIG_From_int(static_cast< int >(wxLOCALE_DECIMAL_POINT
))); 
30760   SWIG_Python_SetConstant(d
, "LOCALE_LOAD_DEFAULT",SWIG_From_int(static_cast< int >(wxLOCALE_LOAD_DEFAULT
))); 
30761   SWIG_Python_SetConstant(d
, "LOCALE_CONV_ENCODING",SWIG_From_int(static_cast< int >(wxLOCALE_CONV_ENCODING
))); 
30762   SWIG_Python_SetConstant(d
, "CONVERT_STRICT",SWIG_From_int(static_cast< int >(wxCONVERT_STRICT
))); 
30763   SWIG_Python_SetConstant(d
, "CONVERT_SUBSTITUTE",SWIG_From_int(static_cast< int >(wxCONVERT_SUBSTITUTE
))); 
30764   SWIG_Python_SetConstant(d
, "PLATFORM_CURRENT",SWIG_From_int(static_cast< int >(wxPLATFORM_CURRENT
))); 
30765   SWIG_Python_SetConstant(d
, "PLATFORM_UNIX",SWIG_From_int(static_cast< int >(wxPLATFORM_UNIX
))); 
30766   SWIG_Python_SetConstant(d
, "PLATFORM_WINDOWS",SWIG_From_int(static_cast< int >(wxPLATFORM_WINDOWS
))); 
30767   SWIG_Python_SetConstant(d
, "PLATFORM_OS2",SWIG_From_int(static_cast< int >(wxPLATFORM_OS2
))); 
30768   SWIG_Python_SetConstant(d
, "PLATFORM_MAC",SWIG_From_int(static_cast< int >(wxPLATFORM_MAC
))); 
30769   SWIG_Python_SetConstant(d
, "BUFFER_VIRTUAL_AREA",SWIG_From_int(static_cast< int >(wxBUFFER_VIRTUAL_AREA
))); 
30770   SWIG_Python_SetConstant(d
, "BUFFER_CLIENT_AREA",SWIG_From_int(static_cast< int >(wxBUFFER_CLIENT_AREA
))); 
30771   SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_NORMAL",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_NORMAL
))); 
30772   SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_TRANSPARENT",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_TRANSPARENT
))); 
30773   SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_SELECTED",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_SELECTED
))); 
30774   SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_FOCUSED",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_FOCUSED
))); 
30775   SWIG_Python_SetConstant(d
, "IMAGE_LIST_NORMAL",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_NORMAL
))); 
30776   SWIG_Python_SetConstant(d
, "IMAGE_LIST_SMALL",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_SMALL
))); 
30777   SWIG_Python_SetConstant(d
, "IMAGE_LIST_STATE",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_STATE
))); 
30778   SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_BLACK
))); 
30779   SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_BLUE",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_BLUE
))); 
30780   SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_CYAN
))); 
30781   SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_GREEN
))); 
30782   SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_GREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_GREY
))); 
30783   SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_LIGHTGREY
))); 
30784   SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_MEDIUMGREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_MEDIUMGREY
))); 
30785   SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_RED",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_RED
))); 
30786   SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_TRANSPARENT",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_TRANSPARENT
))); 
30787   SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_WHITE
))); 
30788   SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_BLACK
))); 
30789   SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_BLUE",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_BLUE
))); 
30790   SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_CYAN
))); 
30791   SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_GREEN
))); 
30792   SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_LIGHTGREY
))); 
30793   SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_RED",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_RED
))); 
30794   SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_WHITE
))); 
30795   SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_CROSS",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_CROSS
))); 
30796   SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_HOURGLASS",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_HOURGLASS
))); 
30797   SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_STANDARD",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_STANDARD
))); 
30798   SWIG_Python_SetConstant(d
, "StockGDI_FONT_ITALIC",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_ITALIC
))); 
30799   SWIG_Python_SetConstant(d
, "StockGDI_FONT_NORMAL",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_NORMAL
))); 
30800   SWIG_Python_SetConstant(d
, "StockGDI_FONT_SMALL",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_SMALL
))); 
30801   SWIG_Python_SetConstant(d
, "StockGDI_FONT_SWISS",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_SWISS
))); 
30802   SWIG_Python_SetConstant(d
, "StockGDI_PEN_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_BLACK
))); 
30803   SWIG_Python_SetConstant(d
, "StockGDI_PEN_BLACKDASHED",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_BLACKDASHED
))); 
30804   SWIG_Python_SetConstant(d
, "StockGDI_PEN_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_CYAN
))); 
30805   SWIG_Python_SetConstant(d
, "StockGDI_PEN_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_GREEN
))); 
30806   SWIG_Python_SetConstant(d
, "StockGDI_PEN_GREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_GREY
))); 
30807   SWIG_Python_SetConstant(d
, "StockGDI_PEN_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_LIGHTGREY
))); 
30808   SWIG_Python_SetConstant(d
, "StockGDI_PEN_MEDIUMGREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_MEDIUMGREY
))); 
30809   SWIG_Python_SetConstant(d
, "StockGDI_PEN_RED",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_RED
))); 
30810   SWIG_Python_SetConstant(d
, "StockGDI_PEN_TRANSPARENT",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_TRANSPARENT
))); 
30811   SWIG_Python_SetConstant(d
, "StockGDI_PEN_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_WHITE
))); 
30812   SWIG_Python_SetConstant(d
, "StockGDI_ITEMCOUNT",SWIG_From_int(static_cast< int >(wxStockGDI::ITEMCOUNT
))); 
30813   PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals()); 
30814   SWIG_addvarlink(SWIG_globals(),(char*)"NullBitmap",NullBitmap_get
, NullBitmap_set
); 
30815   SWIG_addvarlink(SWIG_globals(),(char*)"NullIcon",NullIcon_get
, NullIcon_set
); 
30816   SWIG_addvarlink(SWIG_globals(),(char*)"NullCursor",NullCursor_get
, NullCursor_set
); 
30817   SWIG_addvarlink(SWIG_globals(),(char*)"NullPen",NullPen_get
, NullPen_set
); 
30818   SWIG_addvarlink(SWIG_globals(),(char*)"NullBrush",NullBrush_get
, NullBrush_set
); 
30819   SWIG_addvarlink(SWIG_globals(),(char*)"NullPalette",NullPalette_get
, NullPalette_set
); 
30820   SWIG_addvarlink(SWIG_globals(),(char*)"NullFont",NullFont_get
, NullFont_set
); 
30821   SWIG_addvarlink(SWIG_globals(),(char*)"NullColour",NullColour_get
, NullColour_set
); 
30822   SWIG_Python_SetConstant(d
, "CONTROL_DISABLED",SWIG_From_int(static_cast< int >(wxCONTROL_DISABLED
))); 
30823   SWIG_Python_SetConstant(d
, "CONTROL_FOCUSED",SWIG_From_int(static_cast< int >(wxCONTROL_FOCUSED
))); 
30824   SWIG_Python_SetConstant(d
, "CONTROL_PRESSED",SWIG_From_int(static_cast< int >(wxCONTROL_PRESSED
))); 
30825   SWIG_Python_SetConstant(d
, "CONTROL_ISDEFAULT",SWIG_From_int(static_cast< int >(wxCONTROL_ISDEFAULT
))); 
30826   SWIG_Python_SetConstant(d
, "CONTROL_ISSUBMENU",SWIG_From_int(static_cast< int >(wxCONTROL_ISSUBMENU
))); 
30827   SWIG_Python_SetConstant(d
, "CONTROL_EXPANDED",SWIG_From_int(static_cast< int >(wxCONTROL_EXPANDED
))); 
30828   SWIG_Python_SetConstant(d
, "CONTROL_CURRENT",SWIG_From_int(static_cast< int >(wxCONTROL_CURRENT
))); 
30829   SWIG_Python_SetConstant(d
, "CONTROL_SELECTED",SWIG_From_int(static_cast< int >(wxCONTROL_SELECTED
))); 
30830   SWIG_Python_SetConstant(d
, "CONTROL_CHECKED",SWIG_From_int(static_cast< int >(wxCONTROL_CHECKED
))); 
30831   SWIG_Python_SetConstant(d
, "CONTROL_CHECKABLE",SWIG_From_int(static_cast< int >(wxCONTROL_CHECKABLE
))); 
30832   SWIG_Python_SetConstant(d
, "CONTROL_UNDETERMINED",SWIG_From_int(static_cast< int >(wxCONTROL_UNDETERMINED
))); 
30833   SWIG_Python_SetConstant(d
, "CONTROL_FLAGS_MASK",SWIG_From_int(static_cast< int >(wxCONTROL_FLAGS_MASK
))); 
30834   SWIG_Python_SetConstant(d
, "CONTROL_DIRTY",SWIG_From_int(static_cast< int >(wxCONTROL_DIRTY
))); 
30835   SWIG_Python_SetConstant(d
, "RendererVersion_Current_Version",SWIG_From_int(static_cast< int >(wxRendererVersion::Current_Version
))); 
30836   SWIG_Python_SetConstant(d
, "RendererVersion_Current_Age",SWIG_From_int(static_cast< int >(wxRendererVersion::Current_Age
))); 
30838   // Work around a chicken/egg problem in drawlist.cpp 
30839   wxPyDrawList_SetAPIPtr();